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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dca3af2fcd2c78c6548cc6382661f7d0e31dd10b | 8,474 | py | Python | tasks-deploy/it-knows/check.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | 3 | 2021-03-30T06:27:58.000Z | 2021-04-03T17:56:35.000Z | tasks-deploy/it-knows/check.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | tasks-deploy/it-knows/check.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | def check(attempt, context):
if attempt.answer == flags[attempt.participant.id % len(flags)]:
return Checked(True)
if attempt.answer in flags:
return CheckedPlagiarist(False, flags.index(attempt.answer))
return Checked(False)
flags = ['LKL{U5E_STR1NG5_UT1LITY_jwUOzL5ymvjO}', 'LKL... | 1,059.25 | 8,208 | 0.847652 | 1,032 | 8,474 | 6.378876 | 0.214147 | 0.182288 | 0.394957 | 0.607626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14404 | 0.0308 | 8,474 | 8 | 8,208 | 1,059.25 | 0.657494 | 0 | 0 | 0 | 0 | 0 | 0.873878 | 0.873878 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
f4adcbd98de6ed21b8fde3c3d28f2194eb7d9706 | 14,594 | py | Python | python_module/test/unit/distributed/test_functional.py | 1321024918/MegEngine | 19568f67e9e80ae729272f56f19b739a72e5b889 | [
"Apache-2.0"
] | 1 | 2020-10-12T11:09:46.000Z | 2020-10-12T11:09:46.000Z | python_module/test/unit/distributed/test_functional.py | coincoming/MegEngine | 19568f67e9e80ae729272f56f19b739a72e5b889 | [
"Apache-2.0"
] | null | null | null | python_module/test/unit/distributed/test_functional.py | coincoming/MegEngine | 19568f67e9e80ae729272f56f19b739a72e5b889 | [
"Apache-2.0"
] | 1 | 2022-02-21T10:41:55.000Z | 2022-02-21T10:41:55.000Z | # 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 ARRANTIES OR CONDITIONS OF ANY ... | 31.183761 | 88 | 0.602919 | 2,016 | 14,594 | 4.257937 | 0.073413 | 0.057665 | 0.041007 | 0.06151 | 0.924161 | 0.915541 | 0.911463 | 0.907269 | 0.907269 | 0.903075 | 0 | 0.033229 | 0.255584 | 14,594 | 467 | 89 | 31.250535 | 0.756904 | 0.02316 | 0 | 0.80109 | 0 | 0 | 0.079309 | 0 | 0 | 0 | 0 | 0 | 0.065395 | 1 | 0.092643 | false | 0 | 0.019074 | 0 | 0.141689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4bacfbff1708b283316ec0446718d9d09232933 | 103 | py | Python | src/aesara_theano_fallback/tensor.py | dfm/aesara-theano-fallback | 9b7ba725ed9c25fa0ec457b183d4dfa3ad6874ab | [
"MIT"
] | null | null | null | src/aesara_theano_fallback/tensor.py | dfm/aesara-theano-fallback | 9b7ba725ed9c25fa0ec457b183d4dfa3ad6874ab | [
"MIT"
] | null | null | null | src/aesara_theano_fallback/tensor.py | dfm/aesara-theano-fallback | 9b7ba725ed9c25fa0ec457b183d4dfa3ad6874ab | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from theano.tensor import * # noqa
from theano.tensor import slinalg # noqa
| 20.6 | 41 | 0.669903 | 14 | 103 | 4.928571 | 0.642857 | 0.289855 | 0.463768 | 0.637681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.194175 | 103 | 4 | 42 | 25.75 | 0.819277 | 0.300971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f4c087cda429650ce0eb2a0fa1536cc33c929437 | 8,237 | py | Python | rebalance.py | ShirleyPaul/revive | 15d22062a2deb5f6f5308ce1439d236d9543a5e2 | [
"Apache-2.0"
] | 46 | 2017-11-08T22:54:32.000Z | 2019-11-23T10:55:35.000Z | rebalance.py | Riocloud/Qtum_Revive | bf4aed953ddec24c4b92897968d59903b3536643 | [
"MIT"
] | 2 | 2018-06-01T16:08:41.000Z | 2018-06-05T09:43:27.000Z | rebalance.py | Riocloud/Qtum_Revive | bf4aed953ddec24c4b92897968d59903b3536643 | [
"MIT"
] | 11 | 2017-11-08T22:53:40.000Z | 2019-07-22T02:38:59.000Z | from ethereum import tester
from ethereum import utils
from ethereum._solidity import get_solidity
SOLIDITY_AVAILABLE = get_solidity() is not None
from player import PaymentChannelPlayer
from protocol import getstatus, completeRound, init_contracts, init_channel_players, init_subnet_participants
from participant import... | 38.853774 | 127 | 0.721501 | 994 | 8,237 | 5.784708 | 0.17002 | 0.054261 | 0.012522 | 0.022957 | 0.818087 | 0.818087 | 0.805217 | 0.805217 | 0.805217 | 0.805217 | 0 | 0.02193 | 0.186233 | 8,237 | 212 | 128 | 38.853774 | 0.835894 | 0.177249 | 0 | 0.789474 | 0 | 0 | 0.035226 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 1 | 0.015038 | false | 0.015038 | 0.06015 | 0 | 0.075188 | 0.045113 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4d53d861967024a3793d21ec7ed0815832545bb | 186 | py | Python | vlne/keras/models/__init__.py | usert5432/vlne | e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d | [
"MIT"
] | null | null | null | vlne/keras/models/__init__.py | usert5432/vlne | e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d | [
"MIT"
] | null | null | null | vlne/keras/models/__init__.py | usert5432/vlne | e3cafd30ecce3a2dbc4a37cc4257d07fb1a1785d | [
"MIT"
] | null | null | null | """Definitions of `keras` models for the `vlne` training"""
from .models_flat import *
from .models_slice import *
from .models_lstm import *
from .models_atten import model_trans_v1
| 26.571429 | 59 | 0.763441 | 27 | 186 | 5.037037 | 0.62963 | 0.294118 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.145161 | 186 | 6 | 60 | 31 | 0.849057 | 0.284946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f4dc3fe47234043232bd6af8b83104406efd2862 | 1,486 | py | Python | badx12/utils/errors.py | agaddis02/badX12 | 7362a4d9629e570be8cd3b42af5210cda39e0efc | [
"MIT"
] | null | null | null | badx12/utils/errors.py | agaddis02/badX12 | 7362a4d9629e570be8cd3b42af5210cda39e0efc | [
"MIT"
] | null | null | null | badx12/utils/errors.py | agaddis02/badX12 | 7362a4d9629e570be8cd3b42af5210cda39e0efc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class FieldValidationError(Exception):
"""Exception raised for errors in the input.
Attributes:
segment -- segment in which the error occurred
msg -- explanation of the error
"""
def __init__(self, segment, msg):
self.segment = segment
self.msg =... | 25.62069 | 61 | 0.618439 | 163 | 1,486 | 5.515337 | 0.184049 | 0.080089 | 0.133482 | 0.150167 | 0.820912 | 0.79644 | 0.79644 | 0.754171 | 0.715239 | 0.715239 | 0 | 0.000959 | 0.298116 | 1,486 | 57 | 62 | 26.070175 | 0.860978 | 0.467026 | 0 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4eec3904f961be93c6768c9b60ff82ac5390fd5 | 5,399 | py | Python | steering-models/community-models/rambo/preprocess_train_data.py | vaibhav-s/self-driving-car | eb5865d50499f90b3eeace869c1f8a65cf9e2c46 | [
"MIT"
] | null | null | null | steering-models/community-models/rambo/preprocess_train_data.py | vaibhav-s/self-driving-car | eb5865d50499f90b3eeace869c1f8a65cf9e2c46 | [
"MIT"
] | null | null | null | steering-models/community-models/rambo/preprocess_train_data.py | vaibhav-s/self-driving-car | eb5865d50499f90b3eeace869c1f8a65cf9e2c46 | [
"MIT"
] | null | null | null | from keras.preprocessing.image import load_img, img_to_array
import pandas as pd
import numpy as np
from skimage.exposure import rescale_intensity
from matplotlib.colors import rgb_to_hsv
from config import DataConfig
def make_hsv_data(path):
df = pd.read_csv(path)
num_rows = df.shape[0]
... | 40.901515 | 103 | 0.582145 | 794 | 5,399 | 3.707809 | 0.117128 | 0.057065 | 0.040761 | 0.040761 | 0.837636 | 0.825068 | 0.804008 | 0.802649 | 0.802649 | 0.790421 | 0 | 0.037484 | 0.27857 | 5,399 | 132 | 104 | 40.901515 | 0.718357 | 0 | 0 | 0.638889 | 0 | 0 | 0.103815 | 0.050674 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.055556 | null | null | 0.064815 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f4ef082e8eea9c25eefeaa40118243ca17252563 | 504 | py | Python | src/make_allpopbamlists.py | silastittes/parv_local | 67d0a804af320bc50024fd1e6e2190b0c55fb388 | [
"MIT"
] | null | null | null | src/make_allpopbamlists.py | silastittes/parv_local | 67d0a804af320bc50024fd1e6e2190b0c55fb388 | [
"MIT"
] | null | null | null | src/make_allpopbamlists.py | silastittes/parv_local | 67d0a804af320bc50024fd1e6e2190b0c55fb388 | [
"MIT"
] | null | null | null | grep Teo pop_key | awk '{print "data/bams/til11-alignments/deduped-bam/" $3 ".deduped.bam"}' > data/bamlist/til11-Teo-allBams.txt
grep LR pop_key | awk '{print "data/bams/til11-alignments/deduped-bam/" $3 ".deduped.bam"}' > data/bamlist/til11-LR-allBams.txt
grep Teo pop_key | awk '{print "data/bams/v5-alignments/dedupe... | 100.8 | 129 | 0.722222 | 84 | 504 | 4.285714 | 0.214286 | 0.222222 | 0.1 | 0.155556 | 0.933333 | 0.933333 | 0.933333 | 0.933333 | 0.894444 | 0.894444 | 0 | 0.034783 | 0.087302 | 504 | 4 | 130 | 126 | 0.747826 | 0 | 0 | 0 | 0 | 1 | 0.519841 | 0.313492 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 12 |
7607db8a86f5e59e45e253ec71556cf71c168f5d | 140 | py | Python | tests/test_models/test_alembic.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 59 | 2019-10-31T10:50:10.000Z | 2021-11-26T04:32:25.000Z | tests/test_models/test_alembic.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 5 | 2019-10-31T10:37:30.000Z | 2020-03-02T06:45:46.000Z | tests/test_models/test_alembic.py | mowangdk/huskar | 7692fbc5672a5ae6e2a33616c493466a7137f8cd | [
"MIT"
] | 9 | 2019-10-31T10:35:00.000Z | 2019-12-01T14:13:58.000Z | from __future__ import absolute_import
from huskar_api.models.alembic import get_metadata
def test_metadata():
assert get_metadata()
| 17.5 | 50 | 0.814286 | 19 | 140 | 5.526316 | 0.684211 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135714 | 140 | 7 | 51 | 20 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
76115180dcde38d342a0b8fbe891e375efcf94d3 | 108 | py | Python | problem-001/sol_3.py | memset0/naive-toys | be12745d268722351935414187ea06635d95c81a | [
"MIT"
] | 4 | 2021-09-10T08:51:40.000Z | 2021-10-07T03:00:48.000Z | problem-001/sol_3.py | memset0/naive-toys | be12745d268722351935414187ea06635d95c81a | [
"MIT"
] | null | null | null | problem-001/sol_3.py | memset0/naive-toys | be12745d268722351935414187ea06635d95c81a | [
"MIT"
] | null | null | null | print('\n'.join(__import__('random').sample(open('bh.csv', 'r+').read().splitlines(), int(input('m = ')))))
| 54 | 107 | 0.601852 | 15 | 108 | 4.066667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 108 | 1 | 108 | 108 | 0.592233 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 7 |
7624ae713b80d5111e6d79da9341c4d4ab0334c9 | 51,421 | py | Python | hata/discord/http/urls.py | m0nk3ybraindead/hata | f87ed3d7009eeae31d6ea158772efd33775c7b1c | [
"0BSD"
] | 1 | 2022-03-02T03:59:57.000Z | 2022-03-02T03:59:57.000Z | hata/discord/http/urls.py | m0nk3ybraindead/hata | f87ed3d7009eeae31d6ea158772efd33775c7b1c | [
"0BSD"
] | null | null | null | hata/discord/http/urls.py | m0nk3ybraindead/hata | f87ed3d7009eeae31d6ea158772efd33775c7b1c | [
"0BSD"
] | null | null | null | __all__ = (
'API_ENDPOINT', 'CDN_ENDPOINT', 'DISCORD_ENDPOINT', 'INVITE_URL_RP', 'MESSAGE_JUMP_URL_RP', 'STATUS_ENDPOINT',
'VALID_ICON_FORMATS', 'VALID_ICON_FORMATS_EXTENDED', 'VALID_ICON_MEDIA_TYPES', 'VALID_ICON_MEDIA_TYPES_EXTENDED',
'VALID_STICKER_IMAGE_MEDIA_TYPES', 'is_media_url'
)
import re
from sc... | 28.775042 | 118 | 0.581436 | 6,872 | 51,421 | 4.199942 | 0.034197 | 0.049893 | 0.041577 | 0.03638 | 0.886425 | 0.867438 | 0.845576 | 0.832132 | 0.824163 | 0.807221 | 0 | 0.004658 | 0.29029 | 51,421 | 1,786 | 119 | 28.791153 | 0.786211 | 0.333755 | 0 | 0.79646 | 0 | 0.041719 | 0.271009 | 0.167754 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063211 | false | 0.001264 | 0.005057 | 0 | 0.192162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5232d0be308082bfaa9062b5edf8609c57f9bc33 | 1,304 | py | Python | 08_largest_product_in_a_series.py | benjiyo/EulerProject | 47b6c5cc0ff969c050320efed98f5769cdc25c6e | [
"MIT"
] | null | null | null | 08_largest_product_in_a_series.py | benjiyo/EulerProject | 47b6c5cc0ff969c050320efed98f5769cdc25c6e | [
"MIT"
] | null | null | null | 08_largest_product_in_a_series.py | benjiyo/EulerProject | 47b6c5cc0ff969c050320efed98f5769cdc25c6e | [
"MIT"
] | null | null | null | number = """73167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294949545950173795833195285320880551112540698747158523863050715693290963295227443043557668966489504452445231617318564030987111217223831136222989342338030813533627661428280644448664523874930358907... | 81.5 | 1,015 | 0.897239 | 43 | 1,304 | 27.116279 | 0.465116 | 0.037736 | 0.013722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.83804 | 0.076687 | 1,304 | 15 | 1,016 | 86.933333 | 0.130399 | 0.016871 | 0 | 0 | 0 | 0 | 0.78125 | 0.78125 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5254737873b3b6c06d8b4266180d6e1f4a94418f | 582 | py | Python | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v2/queue/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 2 | 2020-09-30T00:11:09.000Z | 2021-10-04T13:00:38.000Z | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v2/queue/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | null | null | null | ProgettoLube/WebInspector/venv/Lib/site-packages/tensorflow/_api/v2/compat/v2/queue/__init__.py | Lube-Project/ProgettoLube | cbf33971e2c2e865783ec1a2302625539186a338 | [
"MIT"
] | 1 | 2021-01-28T01:57:41.000Z | 2021-01-28T01:57:41.000Z | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.queue namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.ops.data_flow_ops import FIFOQueue
from tensor... | 34.235294 | 82 | 0.843643 | 86 | 582 | 5.453488 | 0.44186 | 0.204691 | 0.21322 | 0.245203 | 0.426439 | 0.426439 | 0.426439 | 0.426439 | 0 | 0 | 0 | 0 | 0.09622 | 582 | 16 | 83 | 36.375 | 0.891635 | 0.276632 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
bff64f98c86b5561662cf07cedfc116c2f3e2fdb | 79 | py | Python | tests/parser/true_negation.5.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/true_negation.5.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/true_negation.5.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
x | -f(1).
x | f(1).
"""
output = """
x | -f(1).
x | f(1).
"""
| 8.777778 | 12 | 0.291139 | 14 | 79 | 1.642857 | 0.357143 | 0.347826 | 0.521739 | 0.347826 | 0.521739 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.303797 | 79 | 8 | 13 | 9.875 | 0.345455 | 0 | 0 | 0.75 | 0 | 0 | 0.586667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
871ff1617497c2267e7a8a8848da1cf6b879ddea | 248 | py | Python | vulnerable_people_form/form_pages/accessibility_statement.py | uk-gov-mirror/alphagov.govuk-shielded-vulnerable-people-service | 5b191980dec554155e9d431a514a945072032e7c | [
"MIT"
] | 3 | 2020-08-16T19:36:26.000Z | 2020-10-29T14:35:01.000Z | vulnerable_people_form/form_pages/accessibility_statement.py | uk-gov-mirror/alphagov.govuk-shielded-vulnerable-people-service | 5b191980dec554155e9d431a514a945072032e7c | [
"MIT"
] | 101 | 2020-09-03T11:10:00.000Z | 2021-10-01T03:03:46.000Z | vulnerable_people_form/form_pages/accessibility_statement.py | alphagov-mirror/govuk-shielded-vulnerable-people-service | f9cb4ae9046fc402f0878503733a23d42546cc53 | [
"MIT"
] | 6 | 2020-07-28T09:03:20.000Z | 2021-04-10T18:04:56.000Z | from .default import app_default
from .shared.render import render_template_with_title
@app_default.route("/accessibility-statement", methods=["GET"])
def get_accessibility_statement():
return render_template_with_title("accessibility.html")
| 31 | 63 | 0.818548 | 31 | 248 | 6.225806 | 0.548387 | 0.103627 | 0.186529 | 0.238342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 248 | 7 | 64 | 35.428571 | 0.846491 | 0 | 0 | 0 | 0 | 0 | 0.181452 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
876ac1de2c6898c2e5bc07e0aa5ba853a5baab77 | 92 | py | Python | unicorn_binance_rest_api/__init__.py | flo-rian/unicorn-binance-rest-api | 81fb358464dea486fe4096f8590f1df511142469 | [
"MIT"
] | 18 | 2021-04-03T16:59:36.000Z | 2021-12-30T21:12:09.000Z | unicorn_binance_rest_api/__init__.py | flo-rian/unicorn-binance-rest-api | 81fb358464dea486fe4096f8590f1df511142469 | [
"MIT"
] | 12 | 2021-04-30T10:02:05.000Z | 2022-01-01T19:52:18.000Z | unicorn_binance_rest_api/__init__.py | flo-rian/unicorn-binance-rest-api | 81fb358464dea486fe4096f8590f1df511142469 | [
"MIT"
] | 7 | 2021-05-14T23:50:08.000Z | 2021-12-16T21:38:50.000Z | from unicorn_binance_rest_api.unicorn_binance_rest_api_manager import BinanceRestApiManager
| 46 | 91 | 0.945652 | 12 | 92 | 6.666667 | 0.666667 | 0.35 | 0.45 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 92 | 1 | 92 | 92 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5e5c9093d304c4eada50a2ad18c7ae4617fff29a | 181 | py | Python | tests/transactions/builder/test_delegate_resignation.py | supaiku0/python-crypto | 112bfe2f7f581d317d6be65c0c38dad5c9689f5c | [
"MIT"
] | null | null | null | tests/transactions/builder/test_delegate_resignation.py | supaiku0/python-crypto | 112bfe2f7f581d317d6be65c0c38dad5c9689f5c | [
"MIT"
] | null | null | null | tests/transactions/builder/test_delegate_resignation.py | supaiku0/python-crypto | 112bfe2f7f581d317d6be65c0c38dad5c9689f5c | [
"MIT"
] | 1 | 2019-11-26T15:37:56.000Z | 2019-11-26T15:37:56.000Z | import pytest
@pytest.mark.skip(reason='not implemented')
def test_delegate_resignation_transaction():
"""Test if delegate resignation transaction gets built
"""
pass
| 20.111111 | 58 | 0.745856 | 21 | 181 | 6.285714 | 0.761905 | 0.287879 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160221 | 181 | 8 | 59 | 22.625 | 0.868421 | 0.281768 | 0 | 0 | 0 | 0 | 0.12605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
5ea074644ea06d3b698156ffd3bb4aae07fb453f | 4,095 | py | Python | detector.py | mouhcineToumi/face-recognition | c203fd2faf5273c4d036f3d967398d1365d1ce6c | [
"Apache-2.0"
] | 1 | 2019-10-18T21:29:50.000Z | 2019-10-18T21:29:50.000Z | detector.py | mouhcineToumi/face-recognition | c203fd2faf5273c4d036f3d967398d1365d1ce6c | [
"Apache-2.0"
] | null | null | null | detector.py | mouhcineToumi/face-recognition | c203fd2faf5273c4d036f3d967398d1365d1ce6c | [
"Apache-2.0"
] | null | null | null | import numpy as np
import cv2
import os
# face cropping from the image
class FaceDetector:
def __init__(self, confid = 0.5, prototxt="deploy.prototxt.txt", model="res10_300x300_ssd_iter_140000.caffemodel"):
self.confid = 0.5
self.net = cv2.dnn.readNetFromCaffe(prototxt, model)
... | 41.785714 | 120 | 0.540659 | 504 | 4,095 | 4.353175 | 0.265873 | 0.007293 | 0.027347 | 0.023701 | 0.818596 | 0.818596 | 0.818596 | 0.818596 | 0.818596 | 0.818596 | 0 | 0.067603 | 0.357021 | 4,095 | 97 | 121 | 42.216495 | 0.765667 | 0.330403 | 0 | 0.772727 | 0 | 0 | 0.03028 | 0.015332 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068182 | false | 0 | 0.068182 | 0 | 0.204545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0d77311ab7ec3b2967a51942a3b7af01251125b0 | 60 | py | Python | resumen_declaracion_iva/reports/report_xlsx/report/__init__.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | resumen_declaracion_iva/reports/report_xlsx/report/__init__.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | resumen_declaracion_iva/reports/report_xlsx/report/__init__.py | Chief0-0/Localizacion_ERP_V12 | f59e56564e29525f772b59db7fef7c7cde347336 | [
"Apache-2.0"
] | null | null | null | from . import report_xlsx
from . import report_partner_xlsx
| 20 | 33 | 0.833333 | 9 | 60 | 5.222222 | 0.555556 | 0.425532 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 34 | 30 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0d7f41e02c05fa71ef2e57939043521f5ce2a5e3 | 14,632 | py | Python | opponents/nugi-chan/nugi_images.py | beatea/SPNI-Prizes | 485bd948f03678eee168cf4d987df89b421c1e14 | [
"MIT"
] | 1 | 2020-10-03T13:56:50.000Z | 2020-10-03T13:56:50.000Z | opponents/nugi-chan/nugi_images.py | beatea/spni-p.github.io | 485bd948f03678eee168cf4d987df89b421c1e14 | [
"MIT"
] | null | null | null | opponents/nugi-chan/nugi_images.py | beatea/spni-p.github.io | 485bd948f03678eee168cf4d987df89b421c1e14 | [
"MIT"
] | null | null | null | import sys
#colours:
#orange FF813E
#yellow FFDB39
#green 00D791
#test yellow FFE73C
#emotions:
#happy
#calm
#sad
#loss
#interested
#horny
#shocked
#awkward
#
#clothes = shoes, gloves, stockings, top, skirt, bra, panties
#9 total stages
#36**aa7.89.1.28.80.7.89.1.28.80_ab_ac_ba50_bb5.1_bc150.500.0.0.1_bd5_be180_ca... | 59.722449 | 1,180 | 0.730864 | 3,726 | 14,632 | 2.571122 | 0.098765 | 0.066388 | 0.056054 | 0.054697 | 0.710125 | 0.701253 | 0.697495 | 0.696033 | 0.69238 | 0.69238 | 0 | 0.319224 | 0.069984 | 14,632 | 245 | 1,181 | 59.722449 | 0.384774 | 0.188833 | 0 | 0.066667 | 0 | 0.133333 | 0.738722 | 0.694287 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046667 | false | 0 | 0.006667 | 0.006667 | 0.086667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0d95c957182531b9f37a1e53d02693feea73af0f | 8,109 | py | Python | p_tqdm/tests/tests.py | wassname/p_tqdm | 542416388f276cce02d7ee5d4a1d6abff9520e05 | [
"MIT"
] | null | null | null | p_tqdm/tests/tests.py | wassname/p_tqdm | 542416388f276cce02d7ee5d4a1d6abff9520e05 | [
"MIT"
] | null | null | null | p_tqdm/tests/tests.py | wassname/p_tqdm | 542416388f276cce02d7ee5d4a1d6abff9520e05 | [
"MIT"
] | null | null | null | import unittest
import p_tqdm
def add_1(a):
return a + 1
def add_2(a, b):
return a + b
def add_3(a, b, c):
return a + b + c
def _test_one_list(self):
array = [1, 2, 3]
result = self.func(add_1, array)
if self.generator:
result = list(result)
correct_array = [2, 3, 4]
if sel... | 26.413681 | 68 | 0.681095 | 1,180 | 8,109 | 4.202542 | 0.05339 | 0.079048 | 0.093164 | 0.078645 | 0.961887 | 0.942125 | 0.925791 | 0.915104 | 0.893729 | 0.775156 | 0 | 0.014186 | 0.226292 | 8,109 | 306 | 69 | 26.5 | 0.776219 | 0 | 0 | 0.774892 | 0 | 0 | 0.000987 | 0 | 0 | 0 | 0 | 0 | 0.069264 | 1 | 0.281385 | false | 0 | 0.008658 | 0.012987 | 0.329004 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d9688857a9e50f82e5a0cadff02217309032d7a | 13,910 | py | Python | NMF_Heat_PDE.py | Jmaihuire/MTH_9821 | faf921ddbb2875962885ddfc75231889d0cceb3b | [
"FSFAP"
] | 9 | 2018-04-13T03:53:54.000Z | 2022-03-26T17:15:23.000Z | NMF_Heat_PDE.py | noisyoscillator/MTH_9821 | faf921ddbb2875962885ddfc75231889d0cceb3b | [
"FSFAP"
] | null | null | null | NMF_Heat_PDE.py | noisyoscillator/MTH_9821 | faf921ddbb2875962885ddfc75231889d0cceb3b | [
"FSFAP"
] | 7 | 2018-03-19T09:00:55.000Z | 2022-01-19T07:26:11.000Z | from __future__ import division
import numpy as np
import NMF_linear_solve as lis
import NMF_Iter_solve as its
from Heat_PDE_settings import *
from time import *
np.set_printoptions(precision=12, linewidth=300)
def proj_SOR(alpha, A, b, x0, tol, omega, res_cri = 1, show_ic = False):
N_entry = len(x0)
x = x0.co... | 42.538226 | 178 | 0.554421 | 2,533 | 13,910 | 2.883143 | 0.069483 | 0.092017 | 0.059154 | 0.048062 | 0.874435 | 0.849788 | 0.832945 | 0.819252 | 0.819252 | 0.816103 | 0 | 0.047806 | 0.285694 | 13,910 | 326 | 179 | 42.668712 | 0.687198 | 0.166786 | 0 | 0.696809 | 0 | 0 | 0.003561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031915 | null | null | 0.010638 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0db543aad0bc96cf969207dc8cdc599717eb6147 | 5,567 | py | Python | mygraph.py | HongyiZhu/EHI | 9fbbc6046546dd7fc6de5d831b4c941bc4404e02 | [
"MIT"
] | null | null | null | mygraph.py | HongyiZhu/EHI | 9fbbc6046546dd7fc6de5d831b4c941bc4404e02 | [
"MIT"
] | null | null | null | mygraph.py | HongyiZhu/EHI | 9fbbc6046546dd7fc6de5d831b4c941bc4404e02 | [
"MIT"
] | null | null | null | """Graph utilities."""
# from time import time
import openne.graph
import networkx as nx
import numpy as np
class Graph_Int(openne.graph.Graph):
def __init__(self):
super(Graph_Int, self).__init__()
def encode_node(self):
super(Graph_Int, self).encode_node()
def read_g(self, g):
... | 32.940828 | 79 | 0.508532 | 728 | 5,567 | 3.710165 | 0.111264 | 0.071085 | 0.04739 | 0.048871 | 0.958904 | 0.937431 | 0.937431 | 0.937431 | 0.871529 | 0.871529 | 0 | 0.007345 | 0.36411 | 5,567 | 169 | 80 | 32.940828 | 0.75565 | 0.06305 | 0 | 0.827068 | 0 | 0 | 0.017728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.195489 | false | 0 | 0.022556 | 0 | 0.233083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
21a1d3057c899cc6d153ba86b7087b6bb7247ef2 | 172 | py | Python | muimock/ui/__init__.py | bcdev/multiply-uimock | 3b2b41a71d9085ee2ee01a2ecbc53760e9035bf7 | [
"MIT"
] | null | null | null | muimock/ui/__init__.py | bcdev/multiply-uimock | 3b2b41a71d9085ee2ee01a2ecbc53760e9035bf7 | [
"MIT"
] | null | null | null | muimock/ui/__init__.py | bcdev/multiply-uimock | 3b2b41a71d9085ee2ee01a2ecbc53760e9035bf7 | [
"MIT"
] | null | null | null | # noinspection PyUnresolvedReferences
from .data import data_ui
# noinspection PyUnresolvedReferences
from .exec import exec_ui, job_monitor, Job, JobStatus, JobStatusList
| 34.4 | 69 | 0.848837 | 19 | 172 | 7.526316 | 0.578947 | 0.475524 | 0.531469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104651 | 172 | 4 | 70 | 43 | 0.928571 | 0.412791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
21bd1830d593fa9948b9d7f6b7d15e79dc963c39 | 19,896 | py | Python | sitegeist/data/census/models.py | parthkhatri1998/sitegeist | 231b18dfb3a5a0fce32c1c5e01227dcf9bb18010 | [
"BSD-3-Clause"
] | 15 | 2015-01-29T12:51:14.000Z | 2021-07-23T17:11:25.000Z | sitegeist/data/census/models.py | parthkhatri1998/sitegeist | 231b18dfb3a5a0fce32c1c5e01227dcf9bb18010 | [
"BSD-3-Clause"
] | 2 | 2015-04-22T17:30:51.000Z | 2015-08-03T22:05:56.000Z | sitegeist/data/census/models.py | modern-resilience/sitegeist | a0922c61239fad8e5b9ed9c0e423a127a4d5b82c | [
"BSD-3-Clause"
] | 10 | 2015-04-10T19:47:03.000Z | 2022-03-25T06:18:58.000Z | from django.db import models
class Tract(models.Model):
state = models.CharField(max_length=2)
county = models.CharField(max_length=3)
tract = models.CharField(max_length=12)
B01001_001E = models.DecimalField(max_digits=12, decimal_places=2, blank=True, null=True)
B01001_002E = models.DecimalFie... | 85.758621 | 93 | 0.773271 | 2,963 | 19,896 | 4.980425 | 0.053662 | 0.25249 | 0.294572 | 0.378736 | 0.964898 | 0.964898 | 0.964898 | 0.964898 | 0.964898 | 0.964898 | 0 | 0.130072 | 0.109318 | 19,896 | 231 | 94 | 86.12987 | 0.702669 | 0.003116 | 0 | 0 | 0 | 0 | 0.00121 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00463 | false | 0 | 0.00463 | 0.00463 | 0.99537 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
21c248214b4f4f0b33523d42d35cdceb0df530eb | 918 | py | Python | exer009.py | fabionunesdeparis/Fundamentos-em-python3 | b21d06b44d5b18e99419cd06b4e08363c1f7a7ce | [
"MIT"
] | null | null | null | exer009.py | fabionunesdeparis/Fundamentos-em-python3 | b21d06b44d5b18e99419cd06b4e08363c1f7a7ce | [
"MIT"
] | null | null | null | exer009.py | fabionunesdeparis/Fundamentos-em-python3 | b21d06b44d5b18e99419cd06b4e08363c1f7a7ce | [
"MIT"
] | null | null | null | # @Fábio C. Nunes 04/05/2020
# Escreva um programa que leia um número inteiro qualquer e mostre na tela a sua tabuada.
valor = int(input('Digite um valor inteiro: '))
tab = 0
print('-' *12)
print('{} x {:2} = {}'.format(valor,tab,valor*tab))
tab = (tab+1)
print('{} x {:2} = {}'.format(valor,tab,valor*tab))
tab = (tab+... | 31.655172 | 89 | 0.577342 | 153 | 918 | 3.464052 | 0.215686 | 0.332075 | 0.145283 | 0.269811 | 0.733962 | 0.733962 | 0.733962 | 0.733962 | 0.733962 | 0.733962 | 0 | 0.042714 | 0.132898 | 918 | 28 | 90 | 32.785714 | 0.623116 | 0.124183 | 0 | 0.92 | 0 | 0 | 0.225968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.52 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
21f834d92e9d8d468cf4ed672e2835cc974723b9 | 21,467 | py | Python | backend/initiatives/admin/initiative_admin.py | danesjenovdan/izboljsajmo-maribor | cd2f388ceb89d7989952ab05154fd8e7341c2b2b | [
"CC0-1.0"
] | null | null | null | backend/initiatives/admin/initiative_admin.py | danesjenovdan/izboljsajmo-maribor | cd2f388ceb89d7989952ab05154fd8e7341c2b2b | [
"CC0-1.0"
] | null | null | null | backend/initiatives/admin/initiative_admin.py | danesjenovdan/izboljsajmo-maribor | cd2f388ceb89d7989952ab05154fd8e7341c2b2b | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
from django import forms
from django.shortcuts import render
from django.contrib.admin import SimpleListFilter
from django.contrib.gis import admin as gis_admin
from django.db.models import Q
from django.utils.translation import gettext as _
from behaviors.models import Published
from ... | 32.975422 | 244 | 0.656869 | 1,904 | 21,467 | 7.192752 | 0.091387 | 0.028112 | 0.022782 | 0.028039 | 0.805549 | 0.794304 | 0.790434 | 0.77218 | 0.743264 | 0.734429 | 0 | 0.000179 | 0.219593 | 21,467 | 650 | 245 | 33.026154 | 0.817286 | 0.003214 | 0 | 0.84486 | 0 | 0 | 0.206787 | 0.025661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091589 | false | 0 | 0.020561 | 0.06729 | 0.454206 | 0.08972 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df3bd7a348ea03af52a7f5ec17c54b876be0a6c0 | 7,853 | py | Python | tests/helpers/TwitterProjectTestEntities.py | AdamSwenson/TwitterProject | 8c5dc7a57eac611b555058736d609f2f204cb836 | [
"MIT"
] | null | null | null | tests/helpers/TwitterProjectTestEntities.py | AdamSwenson/TwitterProject | 8c5dc7a57eac611b555058736d609f2f204cb836 | [
"MIT"
] | 6 | 2020-03-24T17:34:24.000Z | 2021-12-13T20:14:34.000Z | tests/helpers/TwitterProjectTestEntities.py | AdamSwenson/TwitterProject | 8c5dc7a57eac611b555058736d609f2f204cb836 | [
"MIT"
] | null | null | null | """
This holds entities like sample tweets which are used throughout the testsuite
"""
test_tweet = {
"_id": "401352093598253056",
"_rev": "2-64861d45d1696f848786975706ad3bf9",
"truncated": 'false',
"text": "I might have vulvodynia. Reminds me of Charlotte #satc #sexology #vulvodynia @ Ganzenplein http... | 34.143478 | 148 | 0.386094 | 584 | 7,853 | 5.039384 | 0.263699 | 0.030921 | 0.026164 | 0.027183 | 0.928984 | 0.928984 | 0.928984 | 0.928984 | 0.928984 | 0.928984 | 0 | 0.10455 | 0.473832 | 7,853 | 230 | 149 | 34.143478 | 0.606244 | 0 | 0 | 0.660465 | 0 | 0.013953 | 0.374837 | 0.046545 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df6f1f4e5d2804439071ab3be7c52ceab9535434 | 2,596 | py | Python | perf-analysis/get_ci_tlb.py | DSouzaM/mesh-testsuite | 8fb4a0a97a81183f0920e55042ea96c4a994ed27 | [
"Apache-2.0"
] | null | null | null | perf-analysis/get_ci_tlb.py | DSouzaM/mesh-testsuite | 8fb4a0a97a81183f0920e55042ea96c4a994ed27 | [
"Apache-2.0"
] | null | null | null | perf-analysis/get_ci_tlb.py | DSouzaM/mesh-testsuite | 8fb4a0a97a81183f0920e55042ea96c4a994ed27 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy as np
import sys
from matplotlib import pyplot
import math
df = pd.read_csv(sys.argv[1])
print(df.head())
print('-'*30)
print("dTLB-load-misses statistics")
stats = df.groupby(['memlib'])['dTLB-load-misses'].agg(['mean', 'count', 'std'])
ci95_hi = []
ci95_lo = []
for i in stats... | 24.490566 | 80 | 0.703775 | 458 | 2,596 | 3.792576 | 0.161572 | 0.11399 | 0.041451 | 0.044905 | 0.864709 | 0.864709 | 0.799079 | 0.753022 | 0.753022 | 0.753022 | 0 | 0.042516 | 0.112096 | 2,596 | 105 | 81 | 24.72381 | 0.711063 | 0.011171 | 0 | 0.794521 | 0 | 0 | 0.104483 | 0.017154 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068493 | 0 | 0.068493 | 0.150685 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df71ccdf4fab0fcb45599cda87b48ee29207e4d5 | 35,977 | py | Python | sdk/python/pulumi_sumologic/cse_threshold_rule.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-10-13T03:50:41.000Z | 2021-10-13T03:50:41.000Z | sdk/python/pulumi_sumologic/cse_threshold_rule.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | 28 | 2021-05-21T11:00:45.000Z | 2022-03-31T15:47:13.000Z | sdk/python/pulumi_sumologic/cse_threshold_rule.py | pulumi/pulumi-sumologic | 962fa056ee4b96e61a200e7bf2308bfad723c3af | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 43.13789 | 167 | 0.645663 | 4,128 | 35,977 | 5.436531 | 0.05499 | 0.110284 | 0.066126 | 0.044114 | 0.908163 | 0.88731 | 0.861376 | 0.830675 | 0.824837 | 0.809242 | 0 | 0.004634 | 0.250271 | 35,977 | 833 | 168 | 43.189676 | 0.827383 | 0.300359 | 0 | 0.756356 | 1 | 0 | 0.105793 | 0.016991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163136 | false | 0.002119 | 0.014831 | 0 | 0.275424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8016bc92a806838fbaee4c2824f17eeb199d742d | 171 | py | Python | winter/core/utils/__init__.py | maximluzinqs/winter | 4fc6d23e60849400f148618e4a90d1d549144dcf | [
"MIT"
] | null | null | null | winter/core/utils/__init__.py | maximluzinqs/winter | 4fc6d23e60849400f148618e4a90d1d549144dcf | [
"MIT"
] | null | null | null | winter/core/utils/__init__.py | maximluzinqs/winter | 4fc6d23e60849400f148618e4a90d1d549144dcf | [
"MIT"
] | null | null | null | from .cached_property import cached_property
from .nested_types import TypeWrapper
from .nested_types import has_nested_type
from .positive_integer import PositiveInteger
| 34.2 | 45 | 0.883041 | 23 | 171 | 6.26087 | 0.521739 | 0.194444 | 0.208333 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093567 | 171 | 4 | 46 | 42.75 | 0.929032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
33febde5f89ed205e8fa6af1b2fffe78c63332d5 | 317 | py | Python | platform/core/polyaxon/tracker/events/experiment_job.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/tracker/events/experiment_job.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/tracker/events/experiment_job.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | import tracker
from events.registry import experiment_job
tracker.subscribe(experiment_job.ExperimentJobViewedEvent)
tracker.subscribe(experiment_job.ExperimentJobResourcesViewedEvent)
tracker.subscribe(experiment_job.ExperimentJobLogsViewedEvent)
tracker.subscribe(experiment_job.ExperimentJobStatusesViewedEvent)
| 35.222222 | 67 | 0.908517 | 28 | 317 | 10.107143 | 0.428571 | 0.229682 | 0.367491 | 0.409894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037855 | 317 | 8 | 68 | 39.625 | 0.927869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | 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 | 8 |
1d66aaa11c2ea883fdcdc6246ab4a53c849ae4fc | 26,936 | py | Python | darling_ansible/python_venv/lib/python3.7/site-packages/oci/dns/dns_client_composite_operations.py | revnav/sandbox | f9c8422233d093b76821686b6c249417502cf61d | [
"Apache-2.0"
] | null | null | null | darling_ansible/python_venv/lib/python3.7/site-packages/oci/dns/dns_client_composite_operations.py | revnav/sandbox | f9c8422233d093b76821686b6c249417502cf61d | [
"Apache-2.0"
] | null | null | null | darling_ansible/python_venv/lib/python3.7/site-packages/oci/dns/dns_client_composite_operations.py | revnav/sandbox | f9c8422233d093b76821686b6c249417502cf61d | [
"Apache-2.0"
] | 1 | 2020-06-25T03:12:58.000Z | 2020-06-25T03:12:58.000Z | # coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 50.918715 | 245 | 0.682841 | 3,542 | 26,936 | 4.939582 | 0.060136 | 0.040409 | 0.053498 | 0.016461 | 0.931527 | 0.927126 | 0.917124 | 0.905864 | 0.894547 | 0.888146 | 0 | 0.001619 | 0.243429 | 26,936 | 528 | 246 | 51.015152 | 0.856912 | 0.441305 | 0 | 0.813278 | 0 | 0 | 0.02632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053942 | false | 0 | 0.008299 | 0 | 0.182573 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1d82895ac7b9702219cbb8bdc4d8802f09854cf7 | 8,182 | py | Python | tests/test_ignore_file_entry.py | ozyildirim/rulecheck | 6c3a8ef79abe0e4a6c2af66e60e88794c96e78b1 | [
"MIT"
] | 1 | 2021-01-30T17:16:51.000Z | 2021-01-30T17:16:51.000Z | tests/test_ignore_file_entry.py | ozyildirim/rulecheck | 6c3a8ef79abe0e4a6c2af66e60e88794c96e78b1 | [
"MIT"
] | 23 | 2020-06-27T20:07:10.000Z | 2020-11-28T21:09:31.000Z | tests/test_ignore_file_entry.py | ozyildirim/rulecheck | 6c3a8ef79abe0e4a6c2af66e60e88794c96e78b1 | [
"MIT"
] | 1 | 2021-04-26T20:04:39.000Z | 2021-04-26T20:04:39.000Z | import pytest
from rulecheck.ignore import IgnoreFileEntry
from rulecheck.rule import LogType
def test_line_with_all_parts():
""" Test parsing of line with all elements """
entry = IgnoreFileEntry("b0b91dbc35617b55b5620613f8e79bee: ./../rulecheck/return-256.c:2:4: ERROR: example_rules.file_based_rule: Visit... | 50.196319 | 170 | 0.73405 | 1,094 | 8,182 | 5.252285 | 0.078611 | 0.15315 | 0.170553 | 0.077967 | 0.892099 | 0.889488 | 0.856248 | 0.822137 | 0.809781 | 0.767316 | 0 | 0.093263 | 0.145563 | 8,182 | 162 | 171 | 50.506173 | 0.728651 | 0.114886 | 0 | 0.725664 | 0 | 0.097345 | 0.407722 | 0.298857 | 0 | 0 | 0 | 0 | 0.752212 | 1 | 0.088496 | false | 0 | 0.026549 | 0 | 0.115044 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1d86ac153d56fa1300d3eaf394ffd22a42c7baf8 | 6,234 | py | Python | components/migrations/0001_initial.py | cfarm/wagtail-design-system | 529ae1498f8434adca3aa6ceebb7c7939efba76a | [
"CC0-1.0"
] | 1 | 2019-05-30T16:19:14.000Z | 2019-05-30T16:19:14.000Z | components/migrations/0001_initial.py | cfarm/wagtail-design-system | 529ae1498f8434adca3aa6ceebb7c7939efba76a | [
"CC0-1.0"
] | 2 | 2019-06-04T20:30:51.000Z | 2019-06-07T18:26:05.000Z | components/migrations/0001_initial.py | cfarm/wagtail-design-system | 529ae1498f8434adca3aa6ceebb7c7939efba76a | [
"CC0-1.0"
] | 3 | 2019-05-17T14:41:40.000Z | 2019-06-04T16:00:01.000Z | # Generated by Django 2.2.1 on 2019-05-15 16:13
from django.db import migrations, models
import django.db.models.deletion
import wagtail.core.blocks
import wagtail.core.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtailcore', '0041_group_collection_permissions_v... | 132.638298 | 924 | 0.6718 | 782 | 6,234 | 5.292839 | 0.18798 | 0.085045 | 0.106789 | 0.050737 | 0.827495 | 0.827495 | 0.827495 | 0.81928 | 0.81928 | 0.81928 | 0 | 0.005791 | 0.141322 | 6,234 | 46 | 925 | 135.521739 | 0.76742 | 0.007218 | 0 | 0.358974 | 1 | 0.153846 | 0.39583 | 0.008566 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.102564 | 0 | 0.205128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1d95a44139d71cdf1751f37ba44b567831d1e48f | 14,472 | py | Python | manual_tests/manual_test_intervals.py | virocon-organization/viroconcom | 186d768a7f39788b827173467febb038044199c7 | [
"MIT"
] | 7 | 2018-08-03T17:43:45.000Z | 2021-03-07T16:51:37.000Z | manual_tests/manual_test_intervals.py | virocon-organization/viroconcom | 186d768a7f39788b827173467febb038044199c7 | [
"MIT"
] | 65 | 2018-10-09T16:22:14.000Z | 2021-05-21T15:06:26.000Z | manual_tests/manual_test_intervals.py | virocon-organization/viroconcom | 186d768a7f39788b827173467febb038044199c7 | [
"MIT"
] | 7 | 2018-10-16T19:23:26.000Z | 2021-03-16T11:50:22.000Z | import numpy as np
from virocon import (
WidthOfIntervalSlicer,
NumberOfIntervalsSlicer,
PointsPerIntervalSlicer,
)
test_data = np.array([1.2, 1.5, 2.4, 2.5, 2.6, 3.1, 3.5, 3.6, 4.0, 5.0])
# %% test PointsPerIntervalSlicer()
# n_points= 2
ref_intervals = [[1.2, 1.5], [2.4, 2.5], [2.6, 3.1], [3.5, 3.6], ... | 49.561644 | 88 | 0.733347 | 2,627 | 14,472 | 3.773887 | 0.030072 | 0.079887 | 0.081703 | 0.090781 | 0.951684 | 0.942001 | 0.934335 | 0.930401 | 0.928888 | 0.924148 | 0 | 0.060557 | 0.108831 | 14,472 | 291 | 89 | 49.731959 | 0.708149 | 0.055832 | 0 | 0.763713 | 0 | 0 | 0.00088 | 0 | 0 | 0 | 0 | 0 | 0.303797 | 1 | 0 | false | 0.004219 | 0.008439 | 0 | 0.008439 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1da0d37d4a8dd1053cdc3b0ffe5d4fc99117b821 | 14,691 | py | Python | asv_bench/benchmarks/join_merge.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 2 | 2017-05-07T02:08:12.000Z | 2017-12-14T01:47:47.000Z | asv_bench/benchmarks/join_merge.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | asv_bench/benchmarks/join_merge.py | springcoil/pandas | 945075ad78cef652039feb50d60092b0580604e6 | [
"PSF-2.0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2020-12-09T12:02:39.000Z | 2020-12-09T12:02:39.000Z | from .pandas_vb_common import *
class append_frame_single_homogenous(object):
goal_time = 0.2
def setup(self):
self.df1 = pd.DataFrame(np.random.randn(10000, 4), columns=['A', 'B', 'C', 'D'])
self.df2 = self.df1.copy()
self.df2.index = np.arange(10000, 20000)
self.mdf1 = self.... | 40.922006 | 214 | 0.621809 | 2,109 | 14,691 | 4.241347 | 0.093409 | 0.032197 | 0.046506 | 0.031861 | 0.807937 | 0.803689 | 0.781778 | 0.769927 | 0.757406 | 0.749581 | 0 | 0.079227 | 0.206997 | 14,691 | 359 | 215 | 40.922006 | 0.688584 | 0 | 0 | 0.704626 | 0 | 0 | 0.02777 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142349 | false | 0.035587 | 0.003559 | 0 | 0.288256 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d561fce0935ed105033c0ec4df8f6c71b875dbb3 | 99 | py | Python | grayscale/math/pow.py | KennethanCeyer/grayscale | 646a11ea47f2120f317e554c736d8054aa55c4c4 | [
"MIT"
] | null | null | null | grayscale/math/pow.py | KennethanCeyer/grayscale | 646a11ea47f2120f317e554c736d8054aa55c4c4 | [
"MIT"
] | null | null | null | grayscale/math/pow.py | KennethanCeyer/grayscale | 646a11ea47f2120f317e554c736d8054aa55c4c4 | [
"MIT"
] | null | null | null | from math import pow as math_pow
def pow(x: float, y: float) -> float:
return math_pow(x, y)
| 16.5 | 37 | 0.666667 | 19 | 99 | 3.368421 | 0.526316 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 99 | 5 | 38 | 19.8 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d5aa1cdb2a0164d7440cb8dc29f430a3155f1dce | 72,128 | py | Python | exampleLaplaceRun.py | eugenewickett/logistigateanalysis | 5174f40db5f79bfd12491850cef53edde825b71b | [
"MIT"
] | null | null | null | exampleLaplaceRun.py | eugenewickett/logistigateanalysis | 5174f40db5f79bfd12491850cef53edde825b71b | [
"MIT"
] | null | null | null | exampleLaplaceRun.py | eugenewickett/logistigateanalysis | 5174f40db5f79bfd12491850cef53edde825b71b | [
"MIT"
] | null | null | null | import numpy as np
import scipy.optimize as spo
import scipy.special as sps
# Workaround for the 'methods' file not being able to locate the 'mcmcsamplers' folder for importing
import sys
import os
SCRIPT_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
sys.path.append(o... | 66.661738 | 132 | 0.657318 | 8,413 | 72,128 | 5.541543 | 0.045049 | 0.033976 | 0.052165 | 0.050449 | 0.949572 | 0.94747 | 0.943974 | 0.942773 | 0.93711 | 0.93608 | 0 | 0.057784 | 0.199104 | 72,128 | 1,081 | 133 | 66.723404 | 0.749269 | 0.109056 | 0 | 0.869258 | 0 | 0.014134 | 0.128066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005889 | false | 0 | 0.030624 | 0 | 0.042403 | 0.053004 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
63ad77170c34a05436889c92a4c1294a38ffd5d1 | 193 | py | Python | pkg/gcp/features/__init__.py | christus02/citrix-cloud-controller | 9f6d3d6e009efbc2943588bc42b13cb309d053b5 | [
"Apache-2.0"
] | 6 | 2020-05-19T06:22:47.000Z | 2020-10-19T07:46:06.000Z | pkg/gcp/features/__init__.py | christus02/citrix-cloud-controller | 9f6d3d6e009efbc2943588bc42b13cb309d053b5 | [
"Apache-2.0"
] | null | null | null | pkg/gcp/features/__init__.py | christus02/citrix-cloud-controller | 9f6d3d6e009efbc2943588bc42b13cb309d053b5 | [
"Apache-2.0"
] | null | null | null | from . import forwardingrules # noqa
from . import helper # noqa
from . import instances # noqa
from . import metadata # noqa
from . import targetinstances # noqa
from . import clouddns # noqa
| 27.571429 | 36 | 0.751295 | 24 | 193 | 6.041667 | 0.375 | 0.413793 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186529 | 193 | 6 | 37 | 32.166667 | 0.923567 | 0.150259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
63b8f62e6705777bb9aa51431fdce6c909368dcc | 155 | py | Python | utils.py | HaeckelK/connected-cards-api | 97efbece2aac038a1380208f8dc3bf092023c78c | [
"MIT"
] | null | null | null | utils.py | HaeckelK/connected-cards-api | 97efbece2aac038a1380208f8dc3bf092023c78c | [
"MIT"
] | 20 | 2021-09-10T07:55:03.000Z | 2021-09-15T15:30:56.000Z | utils.py | HaeckelK/connected-cards-api | 97efbece2aac038a1380208f8dc3bf092023c78c | [
"MIT"
] | null | null | null | import time
def timestamp() -> int:
return int(time.time())
def yesterday_midnight() -> int:
return (int(time.time() // 86400)) * 86400 - 86400
| 17.222222 | 54 | 0.632258 | 20 | 155 | 4.85 | 0.45 | 0.14433 | 0.247423 | 0.329897 | 0.412371 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 0.2 | 155 | 8 | 55 | 19.375 | 0.66129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
89823e4d535f8ca599fb60c09e98bee13c56d5b7 | 10,761 | py | Python | tests/test_pbo_reader.py | tjensen/dayz-dev-tools | e88c7f4d169778737f2299b6cb10dac9b1a29127 | [
"MIT"
] | 4 | 2021-07-26T00:27:01.000Z | 2022-03-20T16:39:42.000Z | tests/test_pbo_reader.py | tjensen/dayz-dev-tools | e88c7f4d169778737f2299b6cb10dac9b1a29127 | [
"MIT"
] | 19 | 2021-08-04T21:56:12.000Z | 2022-02-27T22:25:19.000Z | tests/test_pbo_reader.py | tjensen/dayz-dev-tools | e88c7f4d169778737f2299b6cb10dac9b1a29127 | [
"MIT"
] | 2 | 2021-09-17T01:11:44.000Z | 2022-01-28T16:43:01.000Z | import io
import os
import unittest
from dayz_dev_tools import pbo_reader
class TestPBOReader(unittest.TestCase):
def test_files_returns_empty_list_when_pbo_is_empty(self) -> None:
reader = pbo_reader.PBOReader(io.BytesIO(b"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"))
assert reader.files() == [... | 40.152985 | 100 | 0.586191 | 1,982 | 10,761 | 3.063068 | 0.075681 | 0.14001 | 0.185801 | 0.215451 | 0.863779 | 0.844342 | 0.830176 | 0.811728 | 0.785867 | 0.785044 | 0 | 0.19001 | 0.240963 | 10,761 | 267 | 101 | 40.303371 | 0.553257 | 0.006319 | 0 | 0.737089 | 0 | 0.230047 | 0.371715 | 0.301375 | 0 | 0 | 0.005425 | 0 | 0.159624 | 1 | 0.084507 | false | 0 | 0.018779 | 0 | 0.107981 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
982deb4bea80f53f73c63709e2f298c9fa5d75fd | 22,699 | py | Python | tests/test_dataframe/test_get.py | bearsh/raccoon | bd7a59c3dcf7ad7b995194a4a49631759d9e565c | [
"MIT"
] | 62 | 2016-07-11T01:23:15.000Z | 2022-01-14T17:42:17.000Z | tests/test_dataframe/test_get.py | bearsh/raccoon | bd7a59c3dcf7ad7b995194a4a49631759d9e565c | [
"MIT"
] | 13 | 2016-07-11T01:24:02.000Z | 2021-05-17T14:51:58.000Z | tests/test_dataframe/test_get.py | bearsh/raccoon | bd7a59c3dcf7ad7b995194a4a49631759d9e565c | [
"MIT"
] | 14 | 2017-03-22T17:23:02.000Z | 2021-05-08T05:16:30.000Z | import pytest
import raccoon as rc
from raccoon.utils import assert_frame_equal
def test_get_cell():
actual = rc.DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6], 'c': [7, 8, 9]}, index=[10, 11, 13], columns=['a', 'b', 'c'],
sort=False)
assert actual.get(10, 'a') == 1
assert actual.ge... | 43.072106 | 120 | 0.515573 | 3,571 | 22,699 | 3.177261 | 0.033324 | 0.04495 | 0.124097 | 0.104707 | 0.925701 | 0.884541 | 0.856954 | 0.841266 | 0.822669 | 0.796757 | 0 | 0.066713 | 0.241905 | 22,699 | 526 | 121 | 43.153992 | 0.592631 | 0.102648 | 0 | 0.555556 | 0 | 0 | 0.033606 | 0 | 0 | 0 | 0 | 0 | 0.428105 | 1 | 0.058824 | false | 0 | 0.009804 | 0 | 0.068627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
988997daa383528a1ba48fa105dcae37fe5e576e | 111 | py | Python | tests/utils/__init__.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 6 | 2017-06-05T07:30:46.000Z | 2022-03-07T00:47:22.000Z | tests/utils/__init__.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 1 | 2017-12-14T05:40:42.000Z | 2017-12-14T05:40:42.000Z | tests/utils/__init__.py | ComplexCity/policosm | 548d4d694df49603f91cd45af7fe50ced79aea68 | [
"MIT"
] | 1 | 2020-10-22T19:18:30.000Z | 2020-10-22T19:18:30.000Z | from . import test_access
from . import test_bicycles
from . import test_levels
from . import test_projections
| 22.2 | 30 | 0.81982 | 16 | 111 | 5.4375 | 0.4375 | 0.45977 | 0.643678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 31 | 27.75 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
98a8f23e873a997d5576bc773e4a7d6c8b8ca0ae | 41,841 | py | Python | dace/frontend/common/distr.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | 1 | 2022-03-11T13:36:34.000Z | 2022-03-11T13:36:34.000Z | dace/frontend/common/distr.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | null | null | null | dace/frontend/common/distr.py | meshtag/dace | e6751ee6a4f6356b47b93065d43cefb3fd54ebaa | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2019-2021 ETH Zurich and the DaCe authors. All rights reserved.
from numbers import Integral, Number
from typing import Sequence, Union
import dace
from dace import dtypes, symbolic
from dace.frontend.common import op_repository as oprepo
from dace.memlet import Memlet
from dace.sdfg import SDFG, SDFGState... | 39.472642 | 189 | 0.659162 | 5,739 | 41,841 | 4.518557 | 0.056456 | 0.053679 | 0.032855 | 0.022829 | 0.814939 | 0.77387 | 0.746761 | 0.728251 | 0.703764 | 0.677001 | 0 | 0.00407 | 0.230683 | 41,841 | 1,059 | 190 | 39.509915 | 0.801547 | 0.100834 | 0 | 0.720535 | 0 | 0 | 0.074468 | 0.0147 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024301 | false | 0 | 0.037667 | 0 | 0.08627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7f2fd4ed0ceeac138c53082df47ef8dee32ea612 | 9,026 | py | Python | plugins/proofpoint_tap/komand_proofpoint_tap/actions/parse_tap_alert/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/proofpoint_tap/komand_proofpoint_tap/actions/parse_tap_alert/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/proofpoint_tap/komand_proofpoint_tap/actions/parse_tap_alert/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
import insightconnect_plugin_runtime
import json
class Component:
DESCRIPTION = "Parses a TAP alert"
class Input:
TAP_ALERT = "tap_alert"
class Output:
RESULTS = "results"
class ParseTapAlertInput(insightconnect_plugin_runtime.Input):
schema = json... | 25.7151 | 65 | 0.402725 | 638 | 9,026 | 5.595611 | 0.137931 | 0.109244 | 0.163866 | 0.036975 | 0.803922 | 0.803922 | 0.803922 | 0.803922 | 0.776471 | 0.776471 | 0 | 0.012785 | 0.436738 | 9,026 | 350 | 66 | 25.788571 | 0.689418 | 0.004099 | 0 | 0.715134 | 1 | 0 | 0.94136 | 0.015689 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005935 | false | 0 | 0.005935 | 0 | 0.041543 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7f5b4e84e63b5bfd61a80c60ab0eb7316ba0c5d8 | 2,593 | py | Python | tick/survival/survival.py | sumau/tick | 1b56924a35463e12f7775bc0aec182364f26f2c6 | [
"BSD-3-Clause"
] | 411 | 2017-03-30T15:22:05.000Z | 2022-03-27T01:58:34.000Z | tick/survival/survival.py | saurabhdash/tick | bbc561804eb1fdcb4c71b9e3e2d83a66e7b13a48 | [
"BSD-3-Clause"
] | 345 | 2017-04-13T14:53:20.000Z | 2022-03-26T00:46:22.000Z | tick/survival/survival.py | saurabhdash/tick | bbc561804eb1fdcb4c71b9e3e2d83a66e7b13a48 | [
"BSD-3-Clause"
] | 102 | 2017-04-25T11:47:53.000Z | 2022-02-15T11:45:49.000Z | # License: BSD 3 clause
def kaplan_meier(timestamps, event_observed):
"""Computes the Kaplan-Meier survival function estimation
given by:
.. math::
S{(t)} = \\prod_{i:t_{(i)}<t}^n \\left(1 - \\frac{d_i}{n_i} \\right)
where
- :math:`d_i` are the number of deaths at :math:`t_{i}`
... | 29.134831 | 79 | 0.6344 | 325 | 2,593 | 4.913846 | 0.246154 | 0.097683 | 0.120225 | 0.035066 | 0.876644 | 0.7464 | 0.7464 | 0.7464 | 0.712586 | 0.712586 | 0 | 0.004604 | 0.246047 | 2,593 | 88 | 80 | 29.465909 | 0.812276 | 0.438103 | 0 | 0.740741 | 0 | 0 | 0.007686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f6b4ea2542b5996a0487453a26b6b399f605181b | 150 | py | Python | tests/__init__.py | Python-Tools/schema_entry | 5884843607a44cc6de5943e2be04c1a5c48f1886 | [
"MIT"
] | null | null | null | tests/__init__.py | Python-Tools/schema_entry | 5884843607a44cc6de5943e2be04c1a5c48f1886 | [
"MIT"
] | null | null | null | tests/__init__.py | Python-Tools/schema_entry | 5884843607a44cc6de5943e2be04c1a5c48f1886 | [
"MIT"
] | null | null | null | def setUpModule() -> None:
print("[SetUp Module entry_tree Test]")
def tearDownModule() -> None:
print("[TearDown Module entry_tree Test]")
| 21.428571 | 46 | 0.68 | 18 | 150 | 5.555556 | 0.611111 | 0.18 | 0.3 | 0.38 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 150 | 6 | 47 | 25 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
f6f14167e083748c2737c75d91b2160f51e6acda | 13,769 | py | Python | english/migrations/0001_initial.py | moumou1/English-Pronunciation | 99f6fa231feb8e614ee5dc10ceaf536a77fc45cd | [
"MIT"
] | null | null | null | english/migrations/0001_initial.py | moumou1/English-Pronunciation | 99f6fa231feb8e614ee5dc10ceaf536a77fc45cd | [
"MIT"
] | null | null | null | english/migrations/0001_initial.py | moumou1/English-Pronunciation | 99f6fa231feb8e614ee5dc10ceaf536a77fc45cd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.Create... | 47.643599 | 114 | 0.534607 | 1,268 | 13,769 | 5.642744 | 0.100158 | 0.30608 | 0.367296 | 0.489727 | 0.937107 | 0.921454 | 0.910552 | 0.897135 | 0.897135 | 0.894899 | 0 | 0.05585 | 0.314692 | 13,769 | 288 | 115 | 47.809028 | 0.702416 | 0.001525 | 0 | 0.865248 | 0 | 0 | 0.094282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010638 | 0 | 0.021277 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
f6fba97dc0f445dda9e357555e783bda11ce2ca2 | 90 | py | Python | apps/core/roles/__init__.py | Praetorian-Defence/praetorian-api | 181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4 | [
"MIT"
] | 2 | 2020-06-29T15:12:04.000Z | 2020-10-13T14:18:21.000Z | apps/core/roles/__init__.py | Praetorian-Defence/praetorian-api | 181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4 | [
"MIT"
] | 10 | 2021-01-04T11:33:38.000Z | 2021-05-07T10:23:48.000Z | apps/core/roles/__init__.py | zurek11/praetorian-api | 181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4 | [
"MIT"
] | null | null | null | from apps.core.roles.devops import Devops
from apps.core.roles.temporary import Temporary
| 30 | 47 | 0.844444 | 14 | 90 | 5.428571 | 0.5 | 0.210526 | 0.315789 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 48 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
63e058d8935d528c13d3ca6ee1183ca377c54d8a | 240 | py | Python | acousticsim/distance/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 5 | 2018-01-15T22:06:20.000Z | 2022-02-21T07:02:40.000Z | acousticsim/distance/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | null | null | null | acousticsim/distance/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 2 | 2019-11-28T17:06:27.000Z | 2019-12-05T22:57:28.000Z | from acousticsim.distance.dtw import dtw_distance
from acousticsim.distance.dct import dct_distance
from acousticsim.distance.xcorr import xcorr_distance
from acousticsim.distance.point import vowel_midpoint_distance, vowel_third_distance
| 40 | 84 | 0.8875 | 32 | 240 | 6.4375 | 0.34375 | 0.291262 | 0.446602 | 0.451456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 240 | 5 | 85 | 48 | 0.927928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
12401ceb50975adb194298573f43a65c08d622f7 | 77 | py | Python | 2 Operations with Data Types/2_slices.py | narayanants/python-mega-course | 2ba2980ab21dfbed5f86f00695559f7831b5c566 | [
"MIT"
] | null | null | null | 2 Operations with Data Types/2_slices.py | narayanants/python-mega-course | 2ba2980ab21dfbed5f86f00695559f7831b5c566 | [
"MIT"
] | null | null | null | 2 Operations with Data Types/2_slices.py | narayanants/python-mega-course | 2ba2980ab21dfbed5f86f00695559f7831b5c566 | [
"MIT"
] | null | null | null | num = [1,2,3,4,5,5,6,7,8]
print(num[:2])
print(num[2:])
print(num[-5:-1])
| 9.625 | 25 | 0.519481 | 20 | 77 | 2 | 0.5 | 0.6 | 0.45 | 0.7 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 0.116883 | 77 | 7 | 26 | 11 | 0.397059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1245916a5bafcc423590e07321618413a8aa3eeb | 4,804 | py | Python | django_log_entry_audit/receivers.py | dukic-dev/django-log-entry-audit | bd1031fd7ec2daa09e36aa902ca645cc1072184e | [
"MIT"
] | null | null | null | django_log_entry_audit/receivers.py | dukic-dev/django-log-entry-audit | bd1031fd7ec2daa09e36aa902ca645cc1072184e | [
"MIT"
] | null | null | null | django_log_entry_audit/receivers.py | dukic-dev/django-log-entry-audit | bd1031fd7ec2daa09e36aa902ca645cc1072184e | [
"MIT"
] | null | null | null | import json
from django.conf import settings
from django.core import serializers
from django.dispatch import receiver
from django_log_entry_audit.encoders import ModelEncoder
from django_log_entry_audit.models import LogEntry, StatusEnum
from django_log_entry_audit.settings import AUDIT_SIGNALS
def _get_object_seri... | 25.827957 | 66 | 0.533514 | 487 | 4,804 | 4.975359 | 0.125257 | 0.052827 | 0.070574 | 0.09286 | 0.865043 | 0.82501 | 0.82501 | 0.808089 | 0.789517 | 0.789517 | 0 | 0.001344 | 0.380308 | 4,804 | 185 | 67 | 25.967568 | 0.812563 | 0 | 0 | 0.765957 | 0 | 0 | 0.020192 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049645 | false | 0.042553 | 0.049645 | 0.007092 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
89c8593b602603f86a24fc94f4a98892d5482852 | 112 | py | Python | custom_classifier/__init__.py | jasperhajonides/Supervised_Learning_TB | 80a163c43cb30ac698a411d7fcb327d3f5de954e | [
"MIT"
] | 1 | 2022-01-17T10:50:26.000Z | 2022-01-17T10:50:26.000Z | custom_classifier/__init__.py | jasperhajonides/Supervised_Learning_TB | 80a163c43cb30ac698a411d7fcb327d3f5de954e | [
"MIT"
] | null | null | null | custom_classifier/__init__.py | jasperhajonides/Supervised_Learning_TB | 80a163c43cb30ac698a411d7fcb327d3f5de954e | [
"MIT"
] | 3 | 2020-09-11T11:52:42.000Z | 2022-01-17T10:50:29.000Z | #!/usr/bin/python
from custom_classifier import custom_classification
From custom_classifier import sample_data
| 28 | 51 | 0.875 | 15 | 112 | 6.266667 | 0.666667 | 0.212766 | 0.425532 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 112 | 3 | 52 | 37.333333 | 0.912621 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
89e9d1cda7e5475554c1deee3d334781bcd4c9f2 | 1,840 | py | Python | features/steps/book.py | TestowanieAutomatyczneUG/laboratorium_14-maciejSzcz | b92186c574d3f21acd9f3e913e1a8ddcb5ec81fd | [
"MIT"
] | null | null | null | features/steps/book.py | TestowanieAutomatyczneUG/laboratorium_14-maciejSzcz | b92186c574d3f21acd9f3e913e1a8ddcb5ec81fd | [
"MIT"
] | null | null | null | features/steps/book.py | TestowanieAutomatyczneUG/laboratorium_14-maciejSzcz | b92186c574d3f21acd9f3e913e1a8ddcb5ec81fd | [
"MIT"
] | null | null | null | from behave import *
from src.zad4.Book import Book
from src.zad4.BookStorage import BookStorage
use_step_matcher("re")
@given("Database")
def step_impl(context):
context.Book = Book(BookStorage())
@given("Baze danych")
def step_impl(context):
context.Book = Book(BookStorage())
@given("a book with a correct... | 31.724138 | 130 | 0.714674 | 269 | 1,840 | 4.769517 | 0.252788 | 0.065472 | 0.102884 | 0.168355 | 0.762276 | 0.740452 | 0.740452 | 0.740452 | 0.740452 | 0.664069 | 0 | 0.039851 | 0.127174 | 1,840 | 57 | 131 | 32.280702 | 0.759029 | 0 | 0 | 0.619048 | 0 | 0 | 0.313587 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.357143 | 0.047619 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d63fcbc5b631dc62a2129da9295d720c4aaabe6c | 918 | py | Python | test/EMA_test.py | Ren634/GAN_zoo | 2fa6c98be89aef70832a0e905737f2f4ada21e95 | [
"MIT"
] | null | null | null | test/EMA_test.py | Ren634/GAN_zoo | 2fa6c98be89aef70832a0e905737f2f4ada21e95 | [
"MIT"
] | null | null | null | test/EMA_test.py | Ren634/GAN_zoo | 2fa6c98be89aef70832a0e905737f2f4ada21e95 | [
"MIT"
] | null | null | null | from SAGAN import SAGAN
from gan_modules import EMA
# %%
sagan = SAGAN(
n_dims=128,
n_dis=2,
max_resolutions=128,
g_lr = 1e-5,#now 1e-6,
d_lr = 3e-5,#now 1.5e-6
g_betas=(0,0.999),
d_betas=(0,0.999),
initial_layer="linear",
upsampling_mode="pooling",
downsampling_mod... | 21.857143 | 42 | 0.599129 | 143 | 918 | 3.636364 | 0.356643 | 0.086538 | 0.053846 | 0.076923 | 0.823077 | 0.823077 | 0.823077 | 0.823077 | 0.823077 | 0.65 | 0 | 0.079251 | 0.244009 | 918 | 41 | 43 | 22.390244 | 0.670029 | 0.051198 | 0 | 0.722222 | 0 | 0 | 0.060901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3b4257e8f9e9bff091c0fc9de7679ea72fd71bf | 108 | py | Python | easyidp/io/__init__.py | HowcanoeWang/EasyRIC | a3420bc7b1e0f1013411565cf0e66dd2d2ba5371 | [
"MIT"
] | 12 | 2021-01-25T07:11:52.000Z | 2022-02-14T11:57:03.000Z | easyidp/io/__init__.py | HowcanoeWang/EasyRIC | a3420bc7b1e0f1013411565cf0e66dd2d2ba5371 | [
"MIT"
] | null | null | null | easyidp/io/__init__.py | HowcanoeWang/EasyRIC | a3420bc7b1e0f1013411565cf0e66dd2d2ba5371 | [
"MIT"
] | null | null | null | from easyidp.io.tests import test
import easyidp.io.metashape
import easyidp.io.pix4d
import easyidp.io.pcd | 21.6 | 33 | 0.833333 | 18 | 108 | 5 | 0.5 | 0.4 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.092593 | 108 | 5 | 34 | 21.6 | 0.908163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
c3c8f285df2bbe331555387f620d3a6575125b15 | 3,170 | py | Python | boxdb/auth_boxdb.py | kshitij1235/boxdb | 4aa121f856c148c5136368041a610a584fb1dbc6 | [
"MIT"
] | 1 | 2022-01-31T17:21:02.000Z | 2022-01-31T17:21:02.000Z | boxdb/auth_boxdb.py | kshitij1235/boxdb | 4aa121f856c148c5136368041a610a584fb1dbc6 | [
"MIT"
] | null | null | null | boxdb/auth_boxdb.py | kshitij1235/boxdb | 4aa121f856c148c5136368041a610a584fb1dbc6 | [
"MIT"
] | null | null | null | '''
boxdb/auth_boxbd -> v0.4
This file contain code for
1)single row auth, and all row auth
[ ]auth_details() improved speed
'''
from filemod import word_search_line, read_specific_line
from boxdb.support_litebase import get_columns, get_primary_column
def chech_rows(table_name, rowname, user_input):
"""
th... | 33.723404 | 119 | 0.660883 | 437 | 3,170 | 4.590389 | 0.231121 | 0.07677 | 0.024925 | 0.03988 | 0.703888 | 0.703888 | 0.703888 | 0.703888 | 0.703888 | 0.703888 | 0 | 0.004218 | 0.25205 | 3,170 | 94 | 120 | 33.723404 | 0.841839 | 0.235962 | 0 | 0.716981 | 0 | 0 | 0.114358 | 0.076662 | 0 | 0 | 0 | 0.021277 | 0 | 1 | 0.056604 | false | 0 | 0.037736 | 0 | 0.264151 | 0.037736 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3d30aa743c173b954476f7b197b192a1c2c4880 | 8,438 | py | Python | client/test/unit_tests/test_recording.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 80 | 2019-01-30T13:14:11.000Z | 2022-02-14T08:51:01.000Z | client/test/unit_tests/test_recording.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 8 | 2019-02-03T18:21:36.000Z | 2020-10-23T00:51:30.000Z | client/test/unit_tests/test_recording.py | tbienhoff/carla-rl | 51960c8ce3b7e90cdd6c3ab5e18721d1969e1b50 | [
"MIT"
] | 27 | 2019-03-15T08:22:19.000Z | 2022-03-20T05:37:48.000Z |
import unittest
from carla.driving_benchmark.recording import Recording
class testRecording(unittest.TestCase):
def test_init(self):
import os
"""
The recording should have a reasonable full name
"""
recording = Recording(name_to_save='Test1'
... | 35.906383 | 95 | 0.58995 | 925 | 8,438 | 5.181622 | 0.139459 | 0.097016 | 0.027123 | 0.054246 | 0.838306 | 0.831629 | 0.819528 | 0.778218 | 0.727311 | 0.683705 | 0 | 0.034344 | 0.323655 | 8,438 | 235 | 96 | 35.906383 | 0.805502 | 0.083788 | 0 | 0.71875 | 0 | 0 | 0.014664 | 0 | 0 | 0 | 0 | 0 | 0.257813 | 1 | 0.046875 | false | 0 | 0.09375 | 0 | 0.148438 | 0.023438 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3e3e030a43122b0dac26563cebf7c0c14779e98 | 6,011 | py | Python | tests/endtoend/test_blob_functions.py | gohar94/azure-functions-python-worker | 4322e53ddbcc1eea40c1b061b42653336d9003f6 | [
"MIT"
] | null | null | null | tests/endtoend/test_blob_functions.py | gohar94/azure-functions-python-worker | 4322e53ddbcc1eea40c1b061b42653336d9003f6 | [
"MIT"
] | null | null | null | tests/endtoend/test_blob_functions.py | gohar94/azure-functions-python-worker | 4322e53ddbcc1eea40c1b061b42653336d9003f6 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import time
from datetime import datetime
from azure_functions_worker import testutils
class TestBlobFunctions(testutils.WebHostTestCase):
@classmethod
def get_script_dir(cls):
return testutils.E2E_TESTS_FO... | 35.994012 | 76 | 0.58343 | 724 | 6,011 | 4.661602 | 0.153315 | 0.173333 | 0.175407 | 0.112593 | 0.891259 | 0.891259 | 0.891259 | 0.883556 | 0.848889 | 0.746667 | 0 | 0.028934 | 0.304275 | 6,011 | 166 | 77 | 36.210843 | 0.778097 | 0.064715 | 0 | 0.706349 | 0 | 0 | 0.108913 | 0.014617 | 0 | 0 | 0 | 0 | 0.325397 | 1 | 0.071429 | false | 0 | 0.02381 | 0.007937 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3fb1f937bbb1a1c85c7d4202bc1da54ba1f5783 | 78,919 | py | Python | tests/archives.py | UuuNyaa/x7zipfile | 5701758d39878a23bd0eae9a64cfabf7d1504c15 | [
"BSD-3-Clause"
] | null | null | null | tests/archives.py | UuuNyaa/x7zipfile | 5701758d39878a23bd0eae9a64cfabf7d1504c15 | [
"BSD-3-Clause"
] | null | null | null | tests/archives.py | UuuNyaa/x7zipfile | 5701758d39878a23bd0eae9a64cfabf7d1504c15 | [
"BSD-3-Clause"
] | 1 | 2021-08-05T04:40:42.000Z | 2021-08-05T04:40:42.000Z | # -*- coding: utf-8 -*-
# Copyright 2021 UuuNyaa <UuuNyaa@gmail.com>
# This file is part of x7zipfile.
import dataclasses
import os
from datetime import datetime, timezone
from operator import attrgetter
from tests import x7ZipInfo
ARCHIVES_PATH = os.path.join(os.path.dirname(__file__), 'archives')
# The time zone ... | 158.154309 | 483 | 0.669813 | 12,486 | 78,919 | 4.077046 | 0.06207 | 0.058461 | 0.148922 | 0.096374 | 0.876046 | 0.869171 | 0.855813 | 0.836169 | 0.825305 | 0.788119 | 0 | 0.159389 | 0.117488 | 78,919 | 498 | 484 | 158.471888 | 0.571525 | 0.002129 | 0 | 0.268994 | 0 | 0.004107 | 0.194095 | 0.053565 | 0.034908 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010267 | 0 | 0.010267 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
61aa1d3adbf7944f1cb7fa4bd3fc18573a6ac72e | 38,392 | py | Python | sdk/python/pulumi_sakuracloud/database.py | sacloud/pulumi-sakuracloud | 3eff14c6ec8ef4ad6422e0cdf15585df67eb4d6e | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2019-12-07T07:46:05.000Z | 2020-12-19T02:41:42.000Z | sdk/python/pulumi_sakuracloud/database.py | sacloud/pulumi-sakuracloud | 3eff14c6ec8ef4ad6422e0cdf15585df67eb4d6e | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2019-09-11T04:41:06.000Z | 2021-10-19T07:50:34.000Z | sdk/python/pulumi_sakuracloud/database.py | sacloud/pulumi-sakuracloud | 3eff14c6ec8ef4ad6422e0cdf15585df67eb4d6e | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-09-08T05:38:16.000Z | 2021-06-24T01:32:47.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 44.955504 | 197 | 0.627318 | 4,544 | 38,392 | 5.151188 | 0.050616 | 0.099628 | 0.094502 | 0.078951 | 0.921007 | 0.912505 | 0.893109 | 0.878113 | 0.871833 | 0.859743 | 0 | 0.010738 | 0.25771 | 38,392 | 853 | 198 | 45.008206 | 0.810618 | 0.366196 | 0 | 0.826923 | 1 | 0 | 0.095258 | 0.015461 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16453 | false | 0.108974 | 0.014957 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
f60423cab00c86fbe56f600023d2ba99248c166d | 135 | py | Python | rl/online_learners/__init__.py | Leonardo-H/DR-PG | dc5467ddd73a7b89938aac9d44735b019a3fd7d7 | [
"Apache-2.0"
] | 2 | 2019-11-25T01:56:49.000Z | 2021-05-20T03:22:59.000Z | rl/online_learners/__init__.py | Leonardo-H/DR-PG | dc5467ddd73a7b89938aac9d44735b019a3fd7d7 | [
"Apache-2.0"
] | null | null | null | rl/online_learners/__init__.py | Leonardo-H/DR-PG | dc5467ddd73a7b89938aac9d44735b019a3fd7d7 | [
"Apache-2.0"
] | 1 | 2019-11-24T02:30:38.000Z | 2019-11-24T02:30:38.000Z | from rl.online_learners.online_optimizer import rlOnlineOptimizer
from rl.online_learners.online_optimizer import BasicOnlineOptimizer
| 45 | 68 | 0.911111 | 16 | 135 | 7.4375 | 0.5 | 0.10084 | 0.201681 | 0.336134 | 0.689076 | 0.689076 | 0.689076 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 135 | 2 | 69 | 67.5 | 0.937008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1424e141b73154c45c20c42b2137a231077e11df | 37 | py | Python | src/lib/email/__init__.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/email/__init__.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/email/__init__.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("email")
| 18.5 | 36 | 0.756757 | 6 | 37 | 3.833333 | 0.666667 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
147c66967d4425be4eb6fe4c88aba64d37c98de2 | 10,832 | py | Python | tests/test_hyperband_stopping.py | ashzblum/sweeps | b05b9ead042569c157b95fae53177f8fabbf9760 | [
"MIT"
] | null | null | null | tests/test_hyperband_stopping.py | ashzblum/sweeps | b05b9ead042569c157b95fae53177f8fabbf9760 | [
"MIT"
] | null | null | null | tests/test_hyperband_stopping.py | ashzblum/sweeps | b05b9ead042569c157b95fae53177f8fabbf9760 | [
"MIT"
] | null | null | null | from .. import stop_runs, next_run, RunState, SweepRun
def test_hyperband_min_iter_bands():
sweep_config = {
"method": "grid",
"metric": {"name": "loss", "goal": "minimize"},
"early_terminate": {
"type": "hyperband",
"min_iter": 3,
"eta": 3,
},
... | 26.54902 | 99 | 0.426699 | 1,089 | 10,832 | 4.110193 | 0.089991 | 0.045576 | 0.084227 | 0.075961 | 0.966265 | 0.964924 | 0.946828 | 0.929625 | 0.920912 | 0.920912 | 0 | 0.041575 | 0.409343 | 10,832 | 407 | 100 | 26.614251 | 0.658018 | 0.058807 | 0 | 0.861496 | 0 | 0 | 0.123796 | 0 | 0 | 0 | 0 | 0 | 0.038781 | 1 | 0.027701 | false | 0.00277 | 0.00277 | 0 | 0.030471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
14aa938784f32d09230b31734bffa0e89b116aab | 14,892 | py | Python | lib/installed_clients/AbstractHandleClient.py | Tianhao-Gu/kb_gtdbtk | 41ea2c98f2553e6ef795ea703ffa34b703058720 | [
"MIT"
] | 3 | 2020-03-27T09:55:53.000Z | 2021-12-08T07:44:57.000Z | lib/installed_clients/AbstractHandleClient.py | Tianhao-Gu/kb_gtdbtk | 41ea2c98f2553e6ef795ea703ffa34b703058720 | [
"MIT"
] | 32 | 2020-02-06T01:10:08.000Z | 2021-10-15T05:44:07.000Z | lib/installed_clients/AbstractHandleClient.py | Tianhao-Gu/kb_gtdbtk | 41ea2c98f2553e6ef795ea703ffa34b703058720 | [
"MIT"
] | 5 | 2020-02-04T22:22:35.000Z | 2020-10-30T19:07:54.000Z | # -*- coding: utf-8 -*-
############################################################
#
# Autogenerated by the KBase type compiler -
# any changes made here will be overwritten
#
############################################################
from __future__ import print_function
from .baseclient import BaseClient as _Bas... | 59.095238 | 141 | 0.648402 | 2,049 | 14,892 | 4.636896 | 0.090776 | 0.023155 | 0.02084 | 0.025471 | 0.820124 | 0.802337 | 0.78097 | 0.78097 | 0.770129 | 0.762025 | 0 | 0.003523 | 0.294722 | 14,892 | 251 | 142 | 59.330677 | 0.901076 | 0.690975 | 0 | 0.081633 | 1 | 0.020408 | 0.126067 | 0.099146 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244898 | false | 0.040816 | 0.040816 | 0.020408 | 0.530612 | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
210e2bb2574a26237312c87319ce6a7e243b4fdb | 153 | py | Python | sendfilestome/utils.py | gpocentek/sendfilestome | ea41b220ad702350c20690a475c1de0a00702d32 | [
"Apache-2.0"
] | null | null | null | sendfilestome/utils.py | gpocentek/sendfilestome | ea41b220ad702350c20690a475c1de0a00702d32 | [
"Apache-2.0"
] | 1 | 2019-05-01T16:28:38.000Z | 2019-05-01T16:28:38.000Z | sendfilestome/utils.py | gpocentek/sendfilestome | ea41b220ad702350c20690a475c1de0a00702d32 | [
"Apache-2.0"
] | null | null | null | from django.conf import settings
def auth_enabled():
return (settings.SFTM_UPLOAD_AUTH_ENABLED or
settings.SFTM_DOWNLOAD_AUTH_ENABLED)
| 21.857143 | 48 | 0.764706 | 20 | 153 | 5.5 | 0.65 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183007 | 153 | 6 | 49 | 25.5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
21143d56199f7bd4245ae25e033f2bd8ed606782 | 118 | py | Python | integers/tests/test_reverse_number.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | integers/tests/test_reverse_number.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | null | null | null | integers/tests/test_reverse_number.py | ahcode0919/python-ds-algorithms | 0d617b78c50b6c18da40d9fa101438749bfc82e1 | [
"MIT"
] | 3 | 2020-10-07T20:24:45.000Z | 2020-12-16T04:53:19.000Z | from integers.reverse_number import reverse_number
def test_reverse_number():
assert reverse_number(123) == 321
| 19.666667 | 50 | 0.79661 | 16 | 118 | 5.5625 | 0.625 | 0.58427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.135593 | 118 | 5 | 51 | 23.6 | 0.813725 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2121446b3fde005fd228f7804fda24fb08695744 | 1,628 | py | Python | tests/test_dataloader.py | chris4540/DT2119-Final-Project | a9e665d2fcc91442bcd80171fe557b09fcd71d00 | [
"MIT"
] | 1 | 2020-08-19T17:29:53.000Z | 2020-08-19T17:29:53.000Z | tests/test_dataloader.py | chris4540/DT2119-Final-Project | a9e665d2fcc91442bcd80171fe557b09fcd71d00 | [
"MIT"
] | null | null | null | tests/test_dataloader.py | chris4540/DT2119-Final-Project | a9e665d2fcc91442bcd80171fe557b09fcd71d00 | [
"MIT"
] | null | null | null | from utils.dataloader import pad_seqs_to_batch
from utils.dataloader import TIMITDataset
from torch.utils.data import DataLoader
from torch.nn.utils.rnn import pad_packed_sequence
if __name__ == "__main__":
# make data set
print("==============================================")
dataset = TIMITDataset(root=... | 50.875 | 105 | 0.668305 | 184 | 1,628 | 5.581522 | 0.222826 | 0.061344 | 0.115871 | 0.134372 | 0.817916 | 0.817916 | 0.781889 | 0.781889 | 0.781889 | 0.781889 | 0 | 0.008734 | 0.15602 | 1,628 | 32 | 106 | 50.875 | 0.738719 | 0.007985 | 0 | 0.724138 | 0 | 0 | 0.110285 | 0.085502 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.137931 | 0 | 0.137931 | 0.310345 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2155152ffc769c09ffe15bf9b0dd13912fc5703e | 185 | py | Python | plugins/confluence/komand_confluence/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/confluence/komand_confluence/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/confluence/komand_confluence/actions/__init__.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .get_page.action import GetPage
from .get_page_content.action import GetPageContent
from .store_page_content.action import StorePageContent
| 37 | 55 | 0.843243 | 27 | 185 | 5.592593 | 0.62963 | 0.238411 | 0.145695 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113514 | 185 | 4 | 56 | 46.25 | 0.920732 | 0.2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
2161caa71244149c02317a5d3859412cf83a99a9 | 35,209 | py | Python | tests/test_configuration.py | sergey-aganezov-jr/gos | fb4d210284f3037c5321250cb95f3901754feb6b | [
"MIT"
] | null | null | null | tests/test_configuration.py | sergey-aganezov-jr/gos | fb4d210284f3037c5321250cb95f3901754feb6b | [
"MIT"
] | null | null | null | tests/test_configuration.py | sergey-aganezov-jr/gos | fb4d210284f3037c5321250cb95f3901754feb6b | [
"MIT"
] | null | null | null | import os
import unittest
from copy import deepcopy
from gos.configuration import Configuration
class ConfigurationTestCase(unittest.TestCase):
def setUp(self):
self.init_config = Configuration()
def test_initialization_top_level(self):
""" in simple initialization the top level section must ... | 59.879252 | 155 | 0.68616 | 4,318 | 35,209 | 5.243168 | 0.039138 | 0.216608 | 0.379064 | 0.158127 | 0.895495 | 0.841299 | 0.798277 | 0.742624 | 0.715283 | 0.690857 | 0 | 0.00254 | 0.217274 | 35,209 | 587 | 156 | 59.981261 | 0.81897 | 0.020137 | 0 | 0.408829 | 0 | 0 | 0.022325 | 0.003426 | 0 | 0 | 0 | 0 | 0.236084 | 1 | 0.092131 | false | 0 | 0.007678 | 0.003839 | 0.105566 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0d013e57ff4d47d38f1e451d5a25719e25f5b941 | 147,934 | py | Python | tests/testflows/datetime64_extended_range/requirements/requirements.py | mga-chka/ClickHouse | 4fe722d1a460aea63de883299790ae8671424fae | [
"Apache-2.0"
] | 5 | 2021-05-14T02:46:44.000Z | 2021-11-23T04:58:20.000Z | tests/testflows/datetime64_extended_range/requirements/requirements.py | mga-chka/ClickHouse | 4fe722d1a460aea63de883299790ae8671424fae | [
"Apache-2.0"
] | 5 | 2021-05-21T06:26:01.000Z | 2021-08-04T04:57:36.000Z | tests/testflows/datetime64_extended_range/requirements/requirements.py | mga-chka/ClickHouse | 4fe722d1a460aea63de883299790ae8671424fae | [
"Apache-2.0"
] | 8 | 2021-05-12T01:38:18.000Z | 2022-02-10T06:08:41.000Z | # These requirements were auto generated
# from software requirements specification (SRS)
# document by TestFlows v1.6.210505.1133630.
# Do not edit by hand but re-generate instead
# using 'tfs requirements generate' command.
from testflows.core import Specification
from testflows.core import Requirement
Heading = Spe... | 55.426752 | 366 | 0.755344 | 18,245 | 147,934 | 6.05607 | 0.03464 | 0.032418 | 0.043007 | 0.096766 | 0.92748 | 0.926231 | 0.918004 | 0.847176 | 0.776945 | 0.741024 | 0 | 0.062948 | 0.130808 | 147,934 | 2,668 | 367 | 55.447526 | 0.796365 | 0.001453 | 0 | 0.554222 | 1 | 0.210459 | 0.718962 | 0.242964 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000857 | 0 | 0.000857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b48f30405ca98473352a06f11c02c20bb12c0e5a | 1,869 | py | Python | Full_Project/main.py | RGGH/API-1 | 210f5f1349693f64e1301812492fed4ff5ddd036 | [
"MIT"
] | null | null | null | Full_Project/main.py | RGGH/API-1 | 210f5f1349693f64e1301812492fed4ff5ddd036 | [
"MIT"
] | null | null | null | Full_Project/main.py | RGGH/API-1 | 210f5f1349693f64e1301812492fed4ff5ddd036 | [
"MIT"
] | null | null | null | import uvicorn
from fastapi import FastAPI
from pydantic import BaseModel
from sklearn.neural_network import MLPRegressor
import numpy as np
app = FastAPI()
output = {}
## questionaire data from csv
data = np.loadtxt(open("questions.csv", "rb"), delimiter=",", skiprows=1)
## one liner
# fit first 4 v 5th(last)
# st... | 22.792683 | 93 | 0.695024 | 267 | 1,869 | 4.745318 | 0.29588 | 0.009471 | 0.047356 | 0.037885 | 0.992897 | 0.992897 | 0.992897 | 0.92502 | 0.92502 | 0.92502 | 0 | 0.035533 | 0.156768 | 1,869 | 81 | 94 | 23.074074 | 0.768401 | 0.127876 | 0 | 0.956522 | 0 | 0 | 0.065716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.217391 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b49b9cc5aaf652fe6d471a6a37ba756d3e7e38b9 | 160 | py | Python | changelogs/custom/pypi/django_haystack.py | cclauss/changelogs | 734763fa320d5fbf71016f74f188c5a51e60c45f | [
"MIT"
] | 54 | 2017-01-12T09:44:49.000Z | 2022-02-01T18:15:07.000Z | changelogs/custom/pypi/django_haystack.py | cclauss/changelogs | 734763fa320d5fbf71016f74f188c5a51e60c45f | [
"MIT"
] | 254 | 2016-12-23T12:53:52.000Z | 2021-11-23T14:59:01.000Z | changelogs/custom/pypi/django_haystack.py | cclauss/changelogs | 734763fa320d5fbf71016f74f188c5a51e60c45f | [
"MIT"
] | 26 | 2017-02-25T08:21:05.000Z | 2022-01-10T15:46:24.000Z | URL = 'https://raw.githubusercontent.com/django-haystack/django-haystack/master/docs/changelog.rst'
def get_urls(releases, **kwargs):
return {URL}, set()
| 26.666667 | 99 | 0.7375 | 21 | 160 | 5.571429 | 0.857143 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 160 | 5 | 100 | 32 | 0.806897 | 0 | 0 | 0 | 0 | 0.333333 | 0.56875 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
b4fb728bb7894204f4f705c32ea3ead327f413ba | 6,908 | py | Python | model_tf.py | sontung/vacuum_world | 17684f120e5c6935168c52001dfc8b1256b42375 | [
"MIT"
] | null | null | null | model_tf.py | sontung/vacuum_world | 17684f120e5c6935168c52001dfc8b1256b42375 | [
"MIT"
] | null | null | null | model_tf.py | sontung/vacuum_world | 17684f120e5c6935168c52001dfc8b1256b42375 | [
"MIT"
] | null | null | null | import tensorflow as tf
slim = tf.contrib.slim
class DoubleQnetwork:
def __init__(self, h_size=512, nb_actions=5):
# The network receives a frame from the game, flattened into an array.
# It then resizes it and processes it through four convolutional layers.
self.scalarInput = tf.placeho... | 58.542373 | 119 | 0.646642 | 958 | 6,908 | 4.556367 | 0.17119 | 0.032073 | 0.047652 | 0.045819 | 0.85063 | 0.824055 | 0.817869 | 0.810997 | 0.791294 | 0.760825 | 0 | 0.039161 | 0.227417 | 6,908 | 117 | 120 | 59.042735 | 0.778715 | 0.119427 | 0 | 0.719512 | 0 | 0 | 0.010707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036585 | false | 0 | 0.012195 | 0 | 0.085366 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
370ec8ef96a7c55b77ddd4eed9860c5668f23b8e | 200 | py | Python | calculator.py | bhavnesh2211/Calculator | 2f08e85b09c9445b94a52640f3b8b9243b327551 | [
"MIT"
] | 2 | 2019-03-03T06:08:35.000Z | 2019-03-03T06:11:49.000Z | calculator.py | bhavnesh2211/Calculator | 2f08e85b09c9445b94a52640f3b8b9243b327551 | [
"MIT"
] | null | null | null | calculator.py | bhavnesh2211/Calculator | 2f08e85b09c9445b94a52640f3b8b9243b327551 | [
"MIT"
] | null | null | null | def add(num1,num2,oparation):
return num1 + num2
def sub(num1,num2,oparation):
return num1 - num2
def mul(num1,num2,oparation):
return num1 * num2
def div(num1,num2,oparation):
return num1 / num2 | 25 | 29 | 0.74 | 32 | 200 | 4.625 | 0.28125 | 0.432432 | 0.459459 | 0.621622 | 0.898649 | 0.898649 | 0.689189 | 0 | 0 | 0 | 0 | 0.093023 | 0.14 | 200 | 8 | 30 | 25 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 9 |
2eaa5af3de4e2f0c715c48698ebe75b34ddc7f4a | 29,110 | py | Python | test-common/integrationtest/testcase/test_ns_client_changeleader.py | lotabout/OpenMLDB | 432da3afbed240eb0b8d0571c05f233b1a5a1cd4 | [
"Apache-2.0"
] | 2,659 | 2021-06-07T12:59:15.000Z | 2022-03-30T15:29:37.000Z | test-common/integrationtest/testcase/test_ns_client_changeleader.py | wei20024/OpenMLDB | 16b426bcba18f70e083179f82db51e71e65d1bf6 | [
"Apache-2.0"
] | 1,396 | 2021-05-28T09:50:13.000Z | 2022-03-31T16:37:49.000Z | test-common/integrationtest/testcase/test_ns_client_changeleader.py | wei20024/OpenMLDB | 16b426bcba18f70e083179f82db51e71e65d1bf6 | [
"Apache-2.0"
] | 499 | 2021-05-31T07:36:48.000Z | 2022-03-31T15:10:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2021 4Paradigm
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 47.799672 | 125 | 0.567537 | 3,366 | 29,110 | 4.789661 | 0.07962 | 0.032006 | 0.046148 | 0.033743 | 0.860129 | 0.840715 | 0.820494 | 0.790845 | 0.765848 | 0.730244 | 0 | 0.039689 | 0.253899 | 29,110 | 608 | 126 | 47.878289 | 0.702611 | 0.044418 | 0 | 0.719512 | 0 | 0 | 0.187892 | 0 | 0 | 0 | 0 | 0 | 0.193089 | 1 | 0.022358 | false | 0 | 0.018293 | 0 | 0.042683 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ed8b331b0dae5b4f66b3a17f25e21939cf7cda3 | 28,641 | py | Python | levels.py | StefanAvra/madlove | 2cc2cbfcd98df7283b6425c711e4bf767d4a127b | [
"MIT"
] | 1 | 2021-12-15T23:18:41.000Z | 2021-12-15T23:18:41.000Z | levels.py | StefanAvra/madlove | 2cc2cbfcd98df7283b6425c711e4bf767d4a127b | [
"MIT"
] | null | null | null | levels.py | StefanAvra/madlove | 2cc2cbfcd98df7283b6425c711e4bf767d4a127b | [
"MIT"
] | null | null | null | TILE_MAP = (17, 62)
TILE = (25, 7)
TILE_PADDING = 3
_levels = {
0: {
'bricks': [' ',
' ',
' ',
' ',
' ',
' ',
... | 42.305761 | 59 | 0.275793 | 1,828 | 28,641 | 4.175602 | 0.075492 | 0.191799 | 0.11673 | 0.169789 | 0.881567 | 0.836368 | 0.825364 | 0.824053 | 0.800734 | 0.789598 | 0 | 0.100025 | 0.572745 | 28,641 | 676 | 60 | 42.368343 | 0.523739 | 0.040327 | 0 | 0.876369 | 0 | 0 | 0.381906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00313 | false | 0 | 0 | 0.001565 | 0.00626 | 0.001565 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2c31a72df76d13769b4d03f601d00ba7cfe513e9 | 3,679 | py | Python | tests/test_egi.py | Open-EO/openeo-aggregator | 88bc1ef44b700dd1b13b29e6c50eda0f197280eb | [
"Apache-2.0"
] | 1 | 2021-05-19T10:17:45.000Z | 2021-05-19T10:17:45.000Z | tests/test_egi.py | Open-EO/openeo-aggregator | 88bc1ef44b700dd1b13b29e6c50eda0f197280eb | [
"Apache-2.0"
] | 32 | 2021-07-19T13:11:26.000Z | 2022-03-24T16:42:05.000Z | tests/test_egi.py | Open-EO/openeo-aggregator | 88bc1ef44b700dd1b13b29e6c50eda0f197280eb | [
"Apache-2.0"
] | 1 | 2021-10-21T08:20:12.000Z | 2021-10-21T08:20:12.000Z | import pytest
from openeo_aggregator.egi import parse_eduperson_entitlement, Entitlement, is_early_adopter, is_free_tier
def test_parse_eduperson_entitlement():
assert parse_eduperson_entitlement(
"urn:mace:egi.eu:group:vo.openeo.cloud#aai.egi.eu"
) == Entitlement(
namespace="urn:mace:egi.eu"... | 49.053333 | 118 | 0.730633 | 589 | 3,679 | 4.397284 | 0.091681 | 0.088803 | 0.092664 | 0.101931 | 0.833205 | 0.773745 | 0.759073 | 0.700386 | 0.665637 | 0.650193 | 0 | 0 | 0.116336 | 3,679 | 74 | 119 | 49.716216 | 0.796678 | 0 | 0 | 0.20339 | 0 | 0.355932 | 0.48274 | 0.39277 | 0 | 0 | 0 | 0 | 0.440678 | 1 | 0.084746 | false | 0 | 0.033898 | 0 | 0.118644 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
25784fb46056ca41386b24f682866fa2ab6773df | 4,375 | py | Python | test/test_SepiaLogLik.py | lanl/SEPIA | 0a1e606e1d1072f49e4f3f358962bd8918a5d3a3 | [
"BSD-3-Clause"
] | 19 | 2020-06-22T16:37:07.000Z | 2022-02-18T22:50:59.000Z | test/test_SepiaLogLik.py | lanl/SEPIA | 0a1e606e1d1072f49e4f3f358962bd8918a5d3a3 | [
"BSD-3-Clause"
] | 41 | 2020-07-07T22:52:33.000Z | 2021-11-04T14:05:03.000Z | test/test_SepiaLogLik.py | lanl/SEPIA | 0a1e606e1d1072f49e4f3f358962bd8918a5d3a3 | [
"BSD-3-Clause"
] | 6 | 2020-08-14T18:58:45.000Z | 2022-03-01T21:00:14.000Z | import unittest
import numpy as np
import generate_data
from sepia.SepiaData import SepiaData
from sepia.SepiaModel import SepiaModel
np.random.seed(42)
class SepiaLogLikTestCase(unittest.TestCase):
def setUp(self, m=100, n=1, nt_sim=50, nt_obs=20, n_theta=3, n_basis=5, sig_n=0.1, seed=42):
self.multi_d... | 33.143939 | 111 | 0.607086 | 612 | 4,375 | 4.076797 | 0.133987 | 0.064128 | 0.072946 | 0.095391 | 0.824449 | 0.79479 | 0.781964 | 0.757515 | 0.717836 | 0.702204 | 0 | 0.006055 | 0.282743 | 4,375 | 131 | 112 | 33.396947 | 0.789038 | 0.0624 | 0 | 0.688312 | 1 | 0 | 0.08415 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077922 | false | 0 | 0.064935 | 0 | 0.155844 | 0.12987 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
25a97acfd941b5f7d8f55ba7fe188444fd9736c4 | 3,183 | py | Python | data/__init__.py | huangzh13/ReID.template.pytorch | 34ce8318bbd35db5a21e0914b429a71a4ea26998 | [
"MIT"
] | 4 | 2019-10-06T15:00:40.000Z | 2020-02-24T14:23:31.000Z | data/__init__.py | huangzh13/ReID.template.pytorch | 34ce8318bbd35db5a21e0914b429a71a4ea26998 | [
"MIT"
] | null | null | null | data/__init__.py | huangzh13/ReID.template.pytorch | 34ce8318bbd35db5a21e0914b429a71a4ea26998 | [
"MIT"
] | null | null | null | """
-------------------------------------------------
File Name: __init__.py.py
Author: Zhonghao Huang
Date: 2019/9/2
Description:
-------------------------------------------------
"""
from torch.utils.data import DataLoader
from data.cuhk01 import CUHK01
from data.dataset import ReIDData... | 45.471429 | 114 | 0.633993 | 342 | 3,183 | 5.602339 | 0.160819 | 0.122129 | 0.083507 | 0.121086 | 0.817328 | 0.813152 | 0.813152 | 0.776618 | 0.776618 | 0.776618 | 0 | 0.007608 | 0.256676 | 3,183 | 69 | 115 | 46.130435 | 0.802198 | 0.064405 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.119048 | 0 | 0.261905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
25e6c9bfdbed7819447be22d4367e1d0751bea27 | 74 | py | Python | 01_Language/01_Functions/python/log10.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 3 | 2020-06-28T07:42:51.000Z | 2021-01-15T10:32:11.000Z | 01_Language/01_Functions/python/log10.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 9 | 2021-03-10T22:45:40.000Z | 2022-02-27T06:53:20.000Z | 01_Language/01_Functions/python/log10.py | cliff363825/TwentyFour | 09df59bd5d275e66463e343647f46027397d1233 | [
"MIT"
] | 1 | 2021-01-15T10:51:24.000Z | 2021-01-15T10:51:24.000Z | # coding: utf-8
import math
def log10(arg):
return math.log10(arg)
| 9.25 | 26 | 0.662162 | 12 | 74 | 4.083333 | 0.75 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0.216216 | 74 | 7 | 27 | 10.571429 | 0.758621 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
d363aa43e98b74fc2d682d2ebac14f2f6fd031b3 | 58,465 | py | Python | hourglass.py | Paul-C137/Hourglass | 5073bec3f24775cfb0074e4c0ea5ffa50af43f49 | [
"MIT"
] | null | null | null | hourglass.py | Paul-C137/Hourglass | 5073bec3f24775cfb0074e4c0ea5ffa50af43f49 | [
"MIT"
] | null | null | null | hourglass.py | Paul-C137/Hourglass | 5073bec3f24775cfb0074e4c0ea5ffa50af43f49 | [
"MIT"
] | null | null | null | ###############################################################################
# Title: hourglass.py #
# Author: Paul Lack #
# Date Created: 4/2/21 #
... | 66.893593 | 126 | 0.186163 | 3,180 | 58,465 | 3.312893 | 0.056918 | 0.158519 | 0.228666 | 0.292738 | 0.833982 | 0.798576 | 0.778548 | 0.746369 | 0.713431 | 0.637684 | 0 | 0.010798 | 0.624596 | 58,465 | 874 | 127 | 66.893593 | 0.4692 | 0.174857 | 0 | 0.8 | 0 | 0 | 0.638763 | 0.088926 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021053 | false | 0 | 0.004511 | 0 | 0.025564 | 0.039098 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
9f5413fa555201a6e81de3a409bfa5b0eb58a00b | 28,272 | py | Python | tests/test_streamingresources.py | betcode-org/betfair | 9126dcec91a1941f03cc58e4fd75818f36de9013 | [
"MIT"
] | 2 | 2022-03-25T20:33:11.000Z | 2022-03-29T17:13:58.000Z | tests/test_streamingresources.py | betcode-org/betfair | 9126dcec91a1941f03cc58e4fd75818f36de9013 | [
"MIT"
] | 4 | 2022-03-22T08:27:32.000Z | 2022-03-28T10:33:35.000Z | tests/test_streamingresources.py | betcode-org/betfair | 9126dcec91a1941f03cc58e4fd75818f36de9013 | [
"MIT"
] | 1 | 2022-03-30T07:10:48.000Z | 2022-03-30T07:10:48.000Z | import unittest
from betfairlightweight.resources.streamingresources import (
CricketMatch,
MarketDefinition,
MarketDefinitionRunner,
Race,
RaceProgress,
RaceChange,
)
from tests.tools import create_mock_json
class TestMarketDefinition(unittest.TestCase):
def setUp(self):
self.moc... | 48 | 141 | 0.69514 | 3,636 | 28,272 | 5.053905 | 0.064081 | 0.142577 | 0.21158 | 0.286134 | 0.8947 | 0.871191 | 0.864171 | 0.851001 | 0.843165 | 0.837669 | 0 | 0.034091 | 0.223932 | 28,272 | 588 | 142 | 48.081633 | 0.803427 | 0 | 0 | 0.605027 | 0 | 0.001795 | 0.050403 | 0.011708 | 0 | 0 | 0 | 0 | 0.482944 | 1 | 0.037702 | false | 0 | 0.005386 | 0 | 0.059246 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9f7a240ba32ec05774b2b1d7ff19b73a2fc8799d | 732 | py | Python | hw2/q8_run_ablation.py | hsilva664/Reinforcement_Learning_Course | 6a250bc017965bec76b6fe909068e40127e62fa7 | [
"MIT"
] | null | null | null | hw2/q8_run_ablation.py | hsilva664/Reinforcement_Learning_Course | 6a250bc017965bec76b6fe909068e40127e62fa7 | [
"MIT"
] | null | null | null | hw2/q8_run_ablation.py | hsilva664/Reinforcement_Learning_Course | 6a250bc017965bec76b6fe909068e40127e62fa7 | [
"MIT"
] | null | null | null | import os
lr = 0.02
bs = 50000
os.system("cd code && python3 train_pg_f18.py HalfCheetah-v2 -ep 150 --discount 0.95 -n 100 -e 3 -l 2 -s 32 -b %d -lr %f --exp_name hc_b%d_r%f"%(bs,lr,bs,lr))
os.system("cd code && python3 train_pg_f18.py HalfCheetah-v2 -ep 150 --discount 0.95 -n 100 -e 3 -l 2 -s 32 -b %d -lr %f -rtg --... | 81.333333 | 190 | 0.669399 | 173 | 732 | 2.682081 | 0.225434 | 0.034483 | 0.086207 | 0.12069 | 0.905172 | 0.823276 | 0.823276 | 0.823276 | 0.823276 | 0.762931 | 0 | 0.12199 | 0.148907 | 732 | 9 | 190 | 81.333333 | 0.622793 | 0 | 0 | 0 | 0 | 0.571429 | 0.802183 | 0.031378 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9f8edceb90c6f099d2af3601e5e60ea6328f155b | 9,869 | py | Python | appendix_figS1.py | mcolacino57/elevators | f4408496a53877d6b57e8e65338c537d0fb16b47 | [
"MIT"
] | 1 | 2020-11-24T20:51:43.000Z | 2020-11-24T20:51:43.000Z | appendix_figS1.py | mcolacino57/elevators | f4408496a53877d6b57e8e65338c537d0fb16b47 | [
"MIT"
] | 1 | 2021-05-07T17:55:56.000Z | 2021-05-14T14:59:10.000Z | appendix_figS1.py | mcolacino57/elevators | f4408496a53877d6b57e8e65338c537d0fb16b47 | [
"MIT"
] | 1 | 2021-05-07T18:04:37.000Z | 2021-05-07T18:04:37.000Z | """
This python code generates figure S1 (appendix) in the paper.
"""
from matplotlib import pyplot as plt
import pandas as pd
import numpy as np
import random
import math
from collections import Counter
import itertools
"Small Sized building configuration"
# building information: floor 1-7, pax destination 2-6
nu... | 39.318725 | 121 | 0.756814 | 1,464 | 9,869 | 5.002049 | 0.182377 | 0.030725 | 0.019664 | 0.056534 | 0.937048 | 0.917384 | 0.903728 | 0.882425 | 0.871091 | 0.871091 | 0 | 0.040804 | 0.128382 | 9,869 | 250 | 122 | 39.476 | 0.810509 | 0.343196 | 0 | 0.634328 | 1 | 0 | 0.135524 | 0.003597 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052239 | 0 | 0.052239 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4ccb9c7d1e93356b26450a4bb1568ac1f4b6a56b | 25,670 | py | Python | tests/test_entity_extraction.py | NHSDigital/medicines-text-mining-tool | bea1efddd832b614fdb00ae8df5f8dc206ba81b0 | [
"MIT"
] | 1 | 2022-03-31T13:04:05.000Z | 2022-03-31T13:04:05.000Z | tests/test_entity_extraction.py | NHSDigital/medicines-text-mining-tool | bea1efddd832b614fdb00ae8df5f8dc206ba81b0 | [
"MIT"
] | null | null | null | tests/test_entity_extraction.py | NHSDigital/medicines-text-mining-tool | bea1efddd832b614fdb00ae8df5f8dc206ba81b0 | [
"MIT"
] | null | null | null | # Databricks notebook source
# MAGIC %run ../notebooks/_modules/epma_global/functions
# COMMAND ----------
# MAGIC %run ../notebooks/2_entity_extraction/functions/entity_extraction_functions
# COMMAND ----------
# MAGIC %run ../notebooks/_modules/epma_global/function_test_suite
# COMMAND ----------
import warning... | 48.34275 | 174 | 0.666693 | 3,138 | 25,670 | 5.254302 | 0.083174 | 0.176613 | 0.230713 | 0.262009 | 0.848981 | 0.809437 | 0.759643 | 0.739993 | 0.700995 | 0.639738 | 0 | 0.033343 | 0.15411 | 25,670 | 531 | 175 | 48.34275 | 0.725983 | 0.030347 | 0 | 0.520384 | 0 | 0 | 0.263926 | 0.032217 | 0 | 0 | 0 | 0 | 0.074341 | 1 | 0.035971 | false | 0 | 0.004796 | 0 | 0.040767 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4cfc8b0bb4505bf91eeaf5e842a734dc2a8ec641 | 7,393 | py | Python | invoicer/migrations/0003_auto__add_field_lineitem_item.py | gabrielhurley/django-invoicer | 11674908995104a029b3073ceda2787460ff2d8e | [
"BSD-3-Clause"
] | 3 | 2016-07-26T13:56:59.000Z | 2019-09-26T06:56:51.000Z | invoicer/migrations/0003_auto__add_field_lineitem_item.py | gabrielhurley/django-invoicer | 11674908995104a029b3073ceda2787460ff2d8e | [
"BSD-3-Clause"
] | null | null | null | invoicer/migrations/0003_auto__add_field_lineitem_item.py | gabrielhurley/django-invoicer | 11674908995104a029b3073ceda2787460ff2d8e | [
"BSD-3-Clause"
] | null | null | null | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'LineItem.item'
db.add_column('invoicer_lineitem', 'item', self.gf('django.db.models.fields... | 70.409524 | 173 | 0.561748 | 762 | 7,393 | 5.329396 | 0.15748 | 0.112288 | 0.193056 | 0.275794 | 0.779365 | 0.766806 | 0.766806 | 0.747353 | 0.715587 | 0.651564 | 0 | 0.017788 | 0.193967 | 7,393 | 104 | 174 | 71.086538 | 0.663702 | 0.010145 | 0 | 0.369565 | 0 | 0 | 0.567268 | 0.30886 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.043478 | 0 | 0.097826 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e27cc31b75505ef8b7d85957eb503bb0de8552fb | 180 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/margay/calculators/calc_utilities.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 69 | 2021-12-16T01:34:09.000Z | 2022-03-31T08:27:39.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/margay/calculators/calc_utilities.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/margay/calculators/calc_utilities.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 21 | 2021-12-20T09:05:45.000Z | 2022-03-28T02:52:28.000Z | from pyradioconfig.parts.ocelot.calculators.calc_utilities import CALC_Utilities_Ocelot
class CALC_Utilities_Margay(CALC_Utilities_Ocelot):
#Inherit all from Ocelot
pass
| 25.714286 | 87 | 0.838889 | 23 | 180 | 6.26087 | 0.565217 | 0.361111 | 0.263889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 180 | 6 | 88 | 30 | 0.90566 | 0.127778 | 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 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
2ca378addb464328f21686ccc172d00bdc8d49ac | 97 | py | Python | src/fortresstools/commander/__init__.py | gembcior/FortressTools | 0230a9625034038ad6839c8dfab7f6b6a7f2108b | [
"MIT"
] | null | null | null | src/fortresstools/commander/__init__.py | gembcior/FortressTools | 0230a9625034038ad6839c8dfab7f6b6a7f2108b | [
"MIT"
] | null | null | null | src/fortresstools/commander/__init__.py | gembcior/FortressTools | 0230a9625034038ad6839c8dfab7f6b6a7f2108b | [
"MIT"
] | null | null | null | from .base import Commander
from .base import NoScriptDefinition
from .base import WrongArgument
| 24.25 | 36 | 0.845361 | 12 | 97 | 6.833333 | 0.5 | 0.292683 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 3 | 37 | 32.333333 | 0.964706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e2e983db5d8798f1eb9a7365b82b8371b42a4ffb | 2,122 | py | Python | Topological.py | dokren/SSSP | 68b777e59eb860a87baf72888d92f5cb0b90b47c | [
"MIT"
] | null | null | null | Topological.py | dokren/SSSP | 68b777e59eb860a87baf72888d92f5cb0b90b47c | [
"MIT"
] | null | null | null | Topological.py | dokren/SSSP | 68b777e59eb860a87baf72888d92f5cb0b90b47c | [
"MIT"
] | null | null | null | import collections
GRAY, BLACK = 0, 1
# Topological algorithm
def topological1(graph, start):
order = collections.deque()
enter = set(graph)
state = {}
def dfs(root):
state[root] = GRAY
for k in graph[root]:
sk = state.get(k, None)
if sk == GRAY:
... | 23.577778 | 74 | 0.529218 | 227 | 2,122 | 4.920705 | 0.211454 | 0.037601 | 0.046553 | 0.046553 | 0.880931 | 0.825425 | 0.825425 | 0.825425 | 0.759176 | 0.759176 | 0 | 0.004422 | 0.360509 | 2,122 | 90 | 75 | 23.577778 | 0.818718 | 0.009896 | 0 | 0.865672 | 0 | 0 | 0.01619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.014925 | 0 | 0.104478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
393938dda583b6717323ee645164007d12831045 | 114 | py | Python | info/moduls/passport/__init__.py | qwer5785933/flask-web | 5af25fa419ab12714d0421f285ef176c39fee544 | [
"BSD-2-Clause"
] | 5 | 2019-06-09T03:56:14.000Z | 2020-06-16T02:04:49.000Z | info/moduls/passport/__init__.py | qwer5785933/flask-web | 5af25fa419ab12714d0421f285ef176c39fee544 | [
"BSD-2-Clause"
] | 6 | 2019-06-11T02:47:13.000Z | 2022-03-11T23:51:16.000Z | info/moduls/passport/__init__.py | qwer5785933/flask-web | 5af25fa419ab12714d0421f285ef176c39fee544 | [
"BSD-2-Clause"
] | 1 | 2019-06-11T02:23:17.000Z | 2019-06-11T02:23:17.000Z | from flask import Blueprint
passport_=Blueprint('passport',__name__,url_prefix='/passport')
from .views import * | 22.8 | 63 | 0.798246 | 14 | 114 | 6.071429 | 0.642857 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 114 | 5 | 64 | 22.8 | 0.817308 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 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 | 1 | 1 | 0 | 1 | 1 | 0 | 7 |
393a74c82877d6c2fa3a9244cddbc79bb06a97bc | 9,040 | py | Python | pc/migrations/0001_initial.py | RainYang0925/testcase_web | 6698190c426be56bfc54e92b6f99a3de335d5e82 | [
"CC-BY-4.0"
] | 7 | 2017-08-03T08:02:11.000Z | 2021-02-22T02:25:03.000Z | pc/migrations/0001_initial.py | kian11/testcase_web | 6698190c426be56bfc54e92b6f99a3de335d5e82 | [
"CC-BY-4.0"
] | null | null | null | pc/migrations/0001_initial.py | kian11/testcase_web | 6698190c426be56bfc54e92b6f99a3de335d5e82 | [
"CC-BY-4.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-10-14 09:13
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='PCTestC... | 52.865497 | 98 | 0.551549 | 926 | 9,040 | 5.265659 | 0.117711 | 0.090443 | 0.063167 | 0.073216 | 0.929861 | 0.892125 | 0.892125 | 0.867514 | 0.84557 | 0.745078 | 0 | 0.065523 | 0.290929 | 9,040 | 170 | 99 | 53.176471 | 0.695164 | 0.007412 | 0 | 0.734568 | 1 | 0 | 0.191973 | 0.096767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012346 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
39472fa7c0b581030c7eadbedb6c098dd60a4f4a | 1,555 | py | Python | tools/fileinfo/bugs/dot-net-detection-1/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2017-12-14T14:25:17.000Z | 2019-03-09T03:29:12.000Z | tools/fileinfo/bugs/dot-net-detection-1/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 10 | 2019-06-14T09:12:55.000Z | 2021-10-01T12:15:43.000Z | tools/fileinfo/bugs/dot-net-detection-1/test.py | xbabka01/retdec-regression-tests | 1ac40cca5165740364e6f7fb72b20820eac9bc7c | [
"MIT"
] | 8 | 2019-05-10T14:59:48.000Z | 2022-03-07T16:34:23.000Z | from regression_tests import *
class DotNetTest(Test):
settings = TestSettings(
tool='fileinfo',
args='--json --verbose',
input=files_in_dir('inputs')
)
def test_fileinfo_json_output_is_correctly_parsed(self):
assert self.fileinfo.succeeded
self.assertEqual(self.fil... | 47.121212 | 123 | 0.682958 | 161 | 1,555 | 6.484472 | 0.31677 | 0.149425 | 0.189655 | 0.181034 | 0.873563 | 0.873563 | 0.859195 | 0.859195 | 0.592912 | 0.592912 | 0 | 0.013647 | 0.151768 | 1,555 | 32 | 124 | 48.59375 | 0.777862 | 0 | 0 | 0.571429 | 0 | 0 | 0.250161 | 0.014791 | 0 | 0 | 0 | 0 | 0.464286 | 1 | 0.071429 | false | 0 | 0.035714 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1a37182b0f64521ae63fd19ea4e658caaeb4cb91 | 158 | py | Python | cw02/zad9.py | BartoszHolubowicz/projekt-psi | e1d753e543ed2676a21ba1d99191e36dbe484ae5 | [
"bzip2-1.0.6"
] | null | null | null | cw02/zad9.py | BartoszHolubowicz/projekt-psi | e1d753e543ed2676a21ba1d99191e36dbe484ae5 | [
"bzip2-1.0.6"
] | null | null | null | cw02/zad9.py | BartoszHolubowicz/projekt-psi | e1d753e543ed2676a21ba1d99191e36dbe484ae5 | [
"bzip2-1.0.6"
] | null | null | null | from cw02.file_manager import FileManager
print(FileManager.read_file("file_manager_test.txt"))
FileManager.update_file("file_manager_test.txt", "\nBardzo")
| 31.6 | 60 | 0.829114 | 22 | 158 | 5.636364 | 0.545455 | 0.266129 | 0.241935 | 0.306452 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.050633 | 158 | 4 | 61 | 39.5 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.316456 | 0.265823 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
1a641dd3892c0f2dc93cdf2746ca0ae70d28d896 | 17,611 | py | Python | zcrmsdk/src/com/zoho/crm/api/tags/tags_operations.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/tags/tags_operations.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | zcrmsdk/src/com/zoho/crm/api/tags/tags_operations.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | try:
from zcrmsdk.src.com.zoho.crm.api.exception import SDKException
from zcrmsdk.src.com.zoho.crm.api.parameter_map import ParameterMap
from zcrmsdk.src.com.zoho.crm.api.util import APIResponse, CommonAPIHandler, Constants
from zcrmsdk.src.com.zoho.crm.api.param import Param
except Exception:
from ..exception imp... | 36.162218 | 111 | 0.782977 | 2,302 | 17,611 | 5.726759 | 0.049957 | 0.04832 | 0.077828 | 0.056285 | 0.920049 | 0.907001 | 0.881817 | 0.865964 | 0.855875 | 0.82174 | 0 | 0.000719 | 0.131395 | 17,611 | 486 | 112 | 36.236626 | 0.861084 | 0.168134 | 0 | 0.783088 | 0 | 0 | 0.147187 | 0.05408 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0.003676 | 0.139706 | 0 | 0.3125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1ab9a6fc5bfbb90c4ab603ce0a273484a3d4b52b | 22,913 | py | Python | pysnmp/BLADESPPALT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/BLADESPPALT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/BLADESPPALT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module BLADESPPALT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BLADESPPALT-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:22:04 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27... | 301.486842 | 1,357 | 0.720115 | 2,207 | 22,913 | 7.476212 | 0.077028 | 0.322424 | 0.008727 | 0.011636 | 0.821636 | 0.809636 | 0.773636 | 0.773636 | 0.772424 | 0.771152 | 0 | 0.036487 | 0.070615 | 22,913 | 75 | 1,358 | 305.506667 | 0.738342 | 0.01414 | 0 | 0 | 0 | 0 | 0.517892 | 0.001949 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.088235 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2011317c2d42a405fd95c8c1f635618c881d50d1 | 239,385 | py | Python | tests/adapters/switches/juniper_test.py | idjaw/netman | 58ba898de6e450a24b4f1721ce274ad3e12f9d33 | [
"Apache-2.0"
] | 1 | 2016-01-28T17:56:51.000Z | 2016-01-28T17:56:51.000Z | tests/adapters/switches/juniper_test.py | idjaw/netman | 58ba898de6e450a24b4f1721ce274ad3e12f9d33 | [
"Apache-2.0"
] | 2 | 2021-12-13T20:55:50.000Z | 2022-03-29T22:07:13.000Z | tests/adapters/switches/juniper_test.py | idjaw/netman | 58ba898de6e450a24b4f1721ce274ad3e12f9d33 | [
"Apache-2.0"
] | null | null | null | # Copyright 2015 Internap.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 36.12268 | 219 | 0.452104 | 20,469 | 239,385 | 5.093752 | 0.028433 | 0.007788 | 0.015 | 0.050957 | 0.931683 | 0.916376 | 0.902219 | 0.884946 | 0.864929 | 0.85412 | 0 | 0.026153 | 0.425131 | 239,385 | 6,626 | 220 | 36.128132 | 0.731497 | 0.002281 | 0 | 0.906476 | 0 | 0.006903 | 0.702058 | 0.09262 | 0 | 0 | 0 | 0 | 0.044214 | 0 | null | null | 0.000986 | 0.003287 | null | null | 0.000329 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
202b6473f3efb39edf7d57515bb51bc743ba4960 | 3,374 | py | Python | src/CRKSPH/gradientCRKSPHInst.cc.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 1 | 2020-10-21T01:56:55.000Z | 2020-10-21T01:56:55.000Z | src/CRKSPH/gradientCRKSPHInst.cc.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | null | null | null | src/CRKSPH/gradientCRKSPHInst.cc.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | null | null | null | text = """
//------------------------------------------------------------------------------
// Explicit instantiation.
//------------------------------------------------------------------------------
#include "gradientCRKSPH.cc"
#include "Geometry/Dimension.hh"
#include "SPH/NodeCoupling.hh"
namespace Spheral {
templ... | 73.347826 | 128 | 0.421458 | 296 | 3,374 | 4.804054 | 0.135135 | 0.265823 | 0.303797 | 0.185654 | 0.919831 | 0.919831 | 0.919831 | 0.902954 | 0.843882 | 0.793249 | 0 | 0 | 0.385299 | 3,374 | 45 | 129 | 74.977778 | 0.685632 | 0 | 0 | 0.714286 | 0 | 0.52381 | 0.995851 | 0.075282 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
2037c0cb7e6589d57c63c36d0b4e21c82fa2620b | 250,834 | py | Python | iengage_client/apis/complaint_api.py | iEngage/python-sdk | 76cc6ed697d7599ce9af74124c12d33ad5aff419 | [
"Apache-2.0"
] | null | null | null | iengage_client/apis/complaint_api.py | iEngage/python-sdk | 76cc6ed697d7599ce9af74124c12d33ad5aff419 | [
"Apache-2.0"
] | null | null | null | iengage_client/apis/complaint_api.py | iEngage/python-sdk | 76cc6ed697d7599ce9af74124c12d33ad5aff419 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Stakeholder engagement API
This API enables Intelligent Engagement for your Business. iEngage is a platform that combines process, augmented intelligence and rewards to help you intelligently engage customers.
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger... | 58.633474 | 437 | 0.640236 | 29,233 | 250,834 | 5.277153 | 0.011015 | 0.022169 | 0.035004 | 0.040838 | 0.990691 | 0.988287 | 0.984157 | 0.98089 | 0.977319 | 0.971173 | 0 | 0.00543 | 0.269477 | 250,834 | 4,277 | 438 | 58.647183 | 0.836455 | 0.401812 | 0 | 0.81422 | 0 | 0 | 0.259338 | 0.054065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027982 | false | 0 | 0.003211 | 0 | 0.072936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.