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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
324260c88bea23764586a668ddc1efbe0053ddc4 | 41 | py | Python | src/nprintml/learn/__init__.py | nprint/nPrintML | 69e56036fd7ab6b050cbe81b31309c06f166f0f2 | [
"Apache-2.0"
] | 13 | 2020-11-04T14:57:12.000Z | 2021-11-18T08:50:00.000Z | src/nprintml/learn/__init__.py | nprint/nPrintML | 69e56036fd7ab6b050cbe81b31309c06f166f0f2 | [
"Apache-2.0"
] | 60 | 2020-10-22T16:08:14.000Z | 2021-12-14T23:00:36.000Z | src/nprintml/learn/__init__.py | nprint/nprintml | 69e56036fd7ab6b050cbe81b31309c06f166f0f2 | [
"Apache-2.0"
] | 1 | 2021-12-16T01:10:18.000Z | 2021-12-16T01:10:18.000Z | from .automl import AutoML # noqa: F401
| 20.5 | 40 | 0.731707 | 6 | 41 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.195122 | 41 | 1 | 41 | 41 | 0.818182 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08cde5bcc6f2417d6046eee9c51928ef6e711759 | 107 | py | Python | lambda_function.py | DallasPetsAlive/New_Digs_Automation | 60e63b3b0a562a83da6e0c6ff1710527473855e3 | [
"MIT"
] | null | null | null | lambda_function.py | DallasPetsAlive/New_Digs_Automation | 60e63b3b0a562a83da6e0c6ff1710527473855e3 | [
"MIT"
] | null | null | null | lambda_function.py | DallasPetsAlive/New_Digs_Automation | 60e63b3b0a562a83da6e0c6ff1710527473855e3 | [
"MIT"
] | null | null | null | from new_digs_automation import automations
def lambda_handler(event, context):
return automations()
| 17.833333 | 43 | 0.803738 | 13 | 107 | 6.384615 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 107 | 5 | 44 | 21.4 | 0.902174 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
08efad46a3852c784ff66ceb49863ad741b44168 | 74 | py | Python | src/cipr/commands/main.py | six8/corona-cipr | a2f45761080c874afa39bf95fd5c4467c8eae272 | [
"MIT"
] | 1 | 2015-04-19T20:53:15.000Z | 2015-04-19T20:53:15.000Z | src/cipr/commands/main.py | six8/corona-cipr | a2f45761080c874afa39bf95fd5c4467c8eae272 | [
"MIT"
] | null | null | null | src/cipr/commands/main.py | six8/corona-cipr | a2f45761080c874afa39bf95fd5c4467c8eae272 | [
"MIT"
] | 2 | 2016-04-11T15:35:10.000Z | 2020-04-13T10:42:32.000Z | from cipr.commands import app, core
def main():
app.command.main()
| 14.8 | 35 | 0.675676 | 11 | 74 | 4.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 74 | 5 | 36 | 14.8 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
412ba9d22d59540b6b8ccf827dcb5c9b099969db | 138 | py | Python | syft/core/frameworks/__init__.py | ceballosiker/PySyft | 9680f5ebddec9d4e31eefade8d0b9b19f30ba32c | [
"Apache-2.0"
] | 2 | 2018-12-24T14:46:16.000Z | 2018-12-24T16:53:47.000Z | syft/core/frameworks/__init__.py | ashgreat/PySyft | 41a525443881bfd94ccb488d7a24765c1778ac05 | [
"Apache-2.0"
] | null | null | null | syft/core/frameworks/__init__.py | ashgreat/PySyft | 41a525443881bfd94ccb488d7a24765c1778ac05 | [
"Apache-2.0"
] | 1 | 2018-11-12T10:59:30.000Z | 2018-11-12T10:59:30.000Z | from syft.core.frameworks import torch, tensorflow, numpy, encode, pandas
__all__ = ["torch", "tensorflow", "numpy", "encode", "pandas"]
| 34.5 | 73 | 0.717391 | 16 | 138 | 5.9375 | 0.6875 | 0.315789 | 0.421053 | 0.547368 | 0.673684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 3 | 74 | 46 | 0.778689 | 0 | 0 | 0 | 0 | 0 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f5ab54af88beb8823f00c21ccfad2a0871e06cd4 | 119 | py | Python | climi/uuuu/__init__.py | ahheo/climi | d51d8faedb9bf1b6554733af469d15e1cffdc4e2 | [
"MIT"
] | null | null | null | climi/uuuu/__init__.py | ahheo/climi | d51d8faedb9bf1b6554733af469d15e1cffdc4e2 | [
"MIT"
] | null | null | null | climi/uuuu/__init__.py | ahheo/climi | d51d8faedb9bf1b6554733af469d15e1cffdc4e2 | [
"MIT"
] | null | null | null | from .ffff import *
from .cccc import *
from .xxxx import *
from .bbbb import *
from .gggg import *
from .rgd import *
| 17 | 19 | 0.697479 | 18 | 119 | 4.611111 | 0.444444 | 0.60241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201681 | 119 | 6 | 20 | 19.833333 | 0.873684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f5b6a989abb860a141f151f1782c8b5ce7bde5b0 | 14,846 | py | Python | ewetasker/delivery/channels.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | ewetasker/delivery/channels.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | ewetasker/delivery/channels.py | gsi-upm/ewetasker_server | 70287385013834ba65b582a431eaf89520d86b12 | [
"Apache-2.0"
] | null | null | null | from data.sparql.channels import *
from data.sparql.actions import *
from data.sparql.parameters import *
from data.sparql.events import *
from rdflib import Graph, URIRef, Literal
import json
import logging
log = logging.getLogger('tester.sub')
#log.warning('warning test')
# get base channels
def get_base_channels():
... | 56.022642 | 248 | 0.679038 | 1,811 | 14,846 | 5.243512 | 0.052457 | 0.062342 | 0.032856 | 0.039806 | 0.867839 | 0.860783 | 0.854886 | 0.84425 | 0.84425 | 0.833614 | 0 | 0.006915 | 0.181732 | 14,846 | 265 | 249 | 56.022642 | 0.774778 | 0.014078 | 0 | 0.677419 | 0 | 0 | 0.164914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.051613 | 0.006452 | 0.187097 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eb0da6961a4cfffc2e8a11f66dd3ba03425761a9 | 61 | py | Python | attacks/__init__.py | SergioYF/NIPS-Adversarial-2017-CASIA | 8c680ad4a4ece76988f7563b4aed48691c415b01 | [
"Apache-2.0"
] | null | null | null | attacks/__init__.py | SergioYF/NIPS-Adversarial-2017-CASIA | 8c680ad4a4ece76988f7563b4aed48691c415b01 | [
"Apache-2.0"
] | null | null | null | attacks/__init__.py | SergioYF/NIPS-Adversarial-2017-CASIA | 8c680ad4a4ece76988f7563b4aed48691c415b01 | [
"Apache-2.0"
] | null | null | null | from .attacks_tf import fgsm
from .utils_tf import model_loss | 30.5 | 32 | 0.852459 | 11 | 61 | 4.454545 | 0.727273 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 2 | 32 | 30.5 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb32f6a071de65ee52f26882eebac4f084a67ec9 | 143 | py | Python | marcotools/__init__.py | marc0u/marcotools | 1ce099174c00f042e15dec17189ea7d144e6ff12 | [
"MIT"
] | null | null | null | marcotools/__init__.py | marc0u/marcotools | 1ce099174c00f042e15dec17189ea7d144e6ff12 | [
"MIT"
] | null | null | null | marcotools/__init__.py | marc0u/marcotools | 1ce099174c00f042e15dec17189ea7d144e6ff12 | [
"MIT"
] | null | null | null | import marcotools.schedule
import marcotools.filestools
import marcotools.generaltools
import marcotools.retools
import marcotools.telegrambot
| 23.833333 | 30 | 0.895105 | 15 | 143 | 8.533333 | 0.466667 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 143 | 5 | 31 | 28.6 | 0.962406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
de59939dc71ef7b89c627a57932e60b6fba1f19d | 4,049 | py | Python | geomechy/constitutive.py | cfgarciar/geomechy | 5452c705e7ae771e2f8f8a11277bd00c12707b8c | [
"Apache-2.0"
] | null | null | null | geomechy/constitutive.py | cfgarciar/geomechy | 5452c705e7ae771e2f8f8a11277bd00c12707b8c | [
"Apache-2.0"
] | 2 | 2021-09-28T05:34:32.000Z | 2022-02-26T10:00:57.000Z | geomechy/constitutive.py | cfgarciar/geomechy | 5452c705e7ae771e2f8f8a11277bd00c12707b8c | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: 02_constitutive.ipynb (unless otherwise specified).
__all__ = ['Elastic', 'PlaneStrain', 'PlaneStress', 'TransverseIsotropic', 'MMC']
# Cell
import numpy as np
from .base import BaseConstitutive, Properties
from .io import jsonReader
# Cell
class Elastic(BaseConstitutive):... | 27.358108 | 95 | 0.584095 | 570 | 4,049 | 4.070175 | 0.145614 | 0.051724 | 0.056034 | 0.02069 | 0.771983 | 0.768966 | 0.742672 | 0.742672 | 0.742672 | 0.719397 | 0 | 0.079349 | 0.256113 | 4,049 | 148 | 96 | 27.358108 | 0.690903 | 0.102 | 0 | 0.659341 | 1 | 0 | 0.014092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186813 | false | 0.010989 | 0.032967 | 0.065934 | 0.395604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de9d9c9daf7b68968fef7034e5af4df6e43a3b7d | 39 | py | Python | test/test.py | humbletest/lgbot | 6ec64ff1a925583839184820015f4a65a4ee924e | [
"MIT"
] | 3 | 2018-10-03T17:31:42.000Z | 2019-01-27T20:39:53.000Z | test/test.py | humbletest/lgbot | 6ec64ff1a925583839184820015f4a65a4ee924e | [
"MIT"
] | 2 | 2021-02-08T20:29:13.000Z | 2021-04-30T20:54:08.000Z | test/test.py | humbletest/lgbot | 6ec64ff1a925583839184820015f4a65a4ee924e | [
"MIT"
] | 2 | 2020-06-24T16:23:28.000Z | 2020-07-11T21:25:47.000Z | import module
print("foo", module.foo) | 13 | 24 | 0.74359 | 6 | 39 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 3 | 24 | 13 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a0d65ecc76294a351ef2d264139cda0eb4852a23 | 332 | py | Python | rofl/policies/__init__.py | Bobobert/RoLas | 75d601e7906e31c95ff3c574ebbed1142e220992 | [
"Apache-2.0"
] | 2 | 2021-11-02T16:33:08.000Z | 2021-11-05T23:57:31.000Z | rofl/policies/__init__.py | Bobobert/RoLas | 75d601e7906e31c95ff3c574ebbed1142e220992 | [
"Apache-2.0"
] | null | null | null | rofl/policies/__init__.py | Bobobert/RoLas | 75d601e7906e31c95ff3c574ebbed1142e220992 | [
"Apache-2.0"
] | null | null | null | from rofl.policies.base import Policy, dummyPolicy
from rofl.policies.dqn import dqnPolicy
from rofl.policies.pg import pgPolicy
from rofl.policies.dqnrollout import dqnRollPolicy
from rofl.policies.a2c import a2cPolicy, a2cWorkerPolicy
from rofl.policies.ppo import ppoPolicy, ppoWorkerPolicy
# TODO, include all polic... | 36.888889 | 56 | 0.843373 | 45 | 332 | 6.222222 | 0.533333 | 0.171429 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.105422 | 332 | 8 | 57 | 41.5 | 0.93266 | 0.10241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d0588560bab85c56115251f648cf036a82b0a6e | 97 | py | Python | snippets/matmul_python.py | srgrr/TFM | f6c302547fdfc9b1df3423cc4e927cd6bb83b345 | [
"MIT"
] | 6 | 2019-01-02T10:39:32.000Z | 2019-05-22T14:01:41.000Z | snippets/matmul_python.py | srgrr/TFM | f6c302547fdfc9b1df3423cc4e927cd6bb83b345 | [
"MIT"
] | null | null | null | snippets/matmul_python.py | srgrr/TFM | f6c302547fdfc9b1df3423cc4e927cd6bb83b345 | [
"MIT"
] | null | null | null | for i in range(N):
for j in range(N):
for k in range(N):
C[i, j] += A[i, k] * B[k, j] | 24.25 | 34 | 0.463918 | 24 | 97 | 1.875 | 0.416667 | 0.466667 | 0.533333 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.319588 | 97 | 4 | 34 | 24.25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d2b7ff529ebc5954732218e326a1c2516ed412d | 412 | py | Python | magpie/src/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null | magpie/src/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null | magpie/src/__init__.py | knaidoo29/magpie | efab3c2666aab2c928ca12a631758bc1b43c149c | [
"MIT"
] | null | null | null |
#from .utils import linspace
#from .utils import midpoint
from .remap_utils import get_remap_pix_len
from .remap_utils import which_pix
from .remap_utils import pix1dto2d
from .remap_utils import pix1dto3d
from .remap_utils import remap_1d_grid2grid_pixel
from .remap_1d_grid2grid import remap_1d_grid2grid
from .rema... | 29.428571 | 50 | 0.866505 | 64 | 412 | 5.203125 | 0.265625 | 0.216216 | 0.21021 | 0.3003 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.104369 | 412 | 13 | 51 | 31.692308 | 0.853659 | 0.131068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d386cf64736e3e513d85e5df2766e0aaf89a0c4 | 95 | py | Python | api/ansible_api/forms.py | 240325184/KubeOperator | 777774050b236abf938a5a9ef505124c26e4916e | [
"Apache-2.0"
] | 3 | 2019-11-29T03:49:08.000Z | 2020-07-29T02:52:51.000Z | api/ansible_api/forms.py | 240325184/KubeOperator | 777774050b236abf938a5a9ef505124c26e4916e | [
"Apache-2.0"
] | 27 | 2021-05-05T02:51:26.000Z | 2022-01-04T21:30:21.000Z | api/ansible_api/forms.py | 240325184/KubeOperator | 777774050b236abf938a5a9ef505124c26e4916e | [
"Apache-2.0"
] | 1 | 2020-11-22T01:15:05.000Z | 2020-11-22T01:15:05.000Z | import uuid
from django import forms
from django.utils.translation import ugettext_lazy as _
| 15.833333 | 55 | 0.831579 | 14 | 95 | 5.5 | 0.714286 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 56 | 19 | 0.950617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d3c979adcbda94eeb2af4d200e6d9da6f642657 | 69 | py | Python | 02_LinkedList/LinkedList/__init__.py | Chipdelmal/DataStructures | 426e30b91e8f27843be1d9385dc800e5d0dc8d3f | [
"MIT"
] | 1 | 2019-07-11T22:31:15.000Z | 2019-07-11T22:31:15.000Z | 02_LinkedList/LinkedList/__init__.py | Chipdelmal/DataStructures | 426e30b91e8f27843be1d9385dc800e5d0dc8d3f | [
"MIT"
] | null | null | null | 02_LinkedList/LinkedList/__init__.py | Chipdelmal/DataStructures | 426e30b91e8f27843be1d9385dc800e5d0dc8d3f | [
"MIT"
] | null | null | null |
from class_LinkedList import LinkedList
from class_Node import Node
| 17.25 | 39 | 0.869565 | 10 | 69 | 5.8 | 0.5 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 3 | 40 | 23 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19f5899e02e903e67c2592d17a15de3559732ec3 | 159 | py | Python | octavvs/pymcr_new/__init__.py | S73ph4n/octavvs | adbfa3f489b1928281a55de640c64d20afb4f9e1 | [
"MIT"
] | 7 | 2020-02-19T13:05:11.000Z | 2021-08-28T05:23:33.000Z | octavvs/pymcr_new/__init__.py | S73ph4n/octavvs | adbfa3f489b1928281a55de640c64d20afb4f9e1 | [
"MIT"
] | 2 | 2020-02-19T14:39:28.000Z | 2020-03-23T15:13:38.000Z | octavvs/pymcr_new/__init__.py | S73ph4n/octavvs | adbfa3f489b1928281a55de640c64d20afb4f9e1 | [
"MIT"
] | 2 | 2019-12-09T12:16:38.000Z | 2021-01-11T02:58:01.000Z | """ pyMCR: Pythonic Multivariate Curve Resolution - Alternating Least Squares """
from . import constraints
from . import metrics
from . import regressors
| 31.8 | 82 | 0.761006 | 17 | 159 | 7.117647 | 0.764706 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 159 | 4 | 83 | 39.75 | 0.916667 | 0.45912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dfc20d946a9d3b3987fc3441545246233a46ad7a | 15,137 | py | Python | vmware-ose-common-test-suites/prj/cases/test_bucket.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 6 | 2020-09-11T02:52:42.000Z | 2021-04-19T11:20:42.000Z | vmware-ose-common-test-suites/prj/cases/test_bucket.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 5 | 2020-12-21T20:14:59.000Z | 2022-03-21T14:35:43.000Z | vmware-ose-common-test-suites/prj/cases/test_bucket.py | csgtree/object-storage-extension-samples | 397f3033ddd4aa1bb1e2079a9e77309a78cc0b0d | [
"Apache-2.0"
] | 4 | 2021-07-20T09:07:52.000Z | 2022-03-21T14:33:44.000Z | # -*- coding:utf-8 -*-
from framework.addons.UnitTi import data_provider, group
from framework.core.Base import Base
from framework.libs.common.utils import get_group_list, get_doc_string_list
from prj.test_data.test_bucket.test_bucket import *
class TestBucket(Base):
@classmethod
def setUpClass(cls):
... | 36.474699 | 80 | 0.701724 | 1,997 | 15,137 | 4.807211 | 0.050075 | 0.068438 | 0.045 | 0.06 | 0.908125 | 0.899896 | 0.892604 | 0.875729 | 0.792083 | 0.752708 | 0 | 0.008972 | 0.219462 | 15,137 | 414 | 81 | 36.562802 | 0.803555 | 0.055691 | 0 | 0.549153 | 0 | 0 | 0.04845 | 0.028478 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118644 | false | 0.010169 | 0.013559 | 0 | 0.450847 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dfe01f543ddba240267933adeeb44d2e467ed803 | 43 | py | Python | trainer/__init__.py | syinari0123/tridepth | 5e7e90b537b82e731bb6beac1c8c93fc9187fee0 | [
"MIT"
] | 81 | 2019-10-27T13:50:52.000Z | 2022-02-22T18:15:45.000Z | trainer/__init__.py | syinari0123/tridepth | 5e7e90b537b82e731bb6beac1c8c93fc9187fee0 | [
"MIT"
] | 10 | 2019-11-21T09:56:59.000Z | 2022-03-12T00:03:55.000Z | trainer/__init__.py | syinari0123/tridepth | 5e7e90b537b82e731bb6beac1c8c93fc9187fee0 | [
"MIT"
] | 9 | 2019-11-16T04:02:47.000Z | 2021-05-27T06:40:44.000Z | from .trainer_depth import TriDepthTrainer
| 21.5 | 42 | 0.883721 | 5 | 43 | 7.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f30bdef5d3fe88d6b9aea945bb25378037b1b3b | 86 | py | Python | app.py | FAUSheppy/serien-ampel | ae8f332b22a8f236a3f248e5a793c2013eecd57d | [
"MIT"
] | null | null | null | app.py | FAUSheppy/serien-ampel | ae8f332b22a8f236a3f248e5a793c2013eecd57d | [
"MIT"
] | null | null | null | app.py | FAUSheppy/serien-ampel | ae8f332b22a8f236a3f248e5a793c2013eecd57d | [
"MIT"
] | null | null | null | import init
def createApp(envivorment=None, start_response=None):
return init.app
| 21.5 | 53 | 0.790698 | 12 | 86 | 5.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 3 | 54 | 28.666667 | 0.893333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
a0308a56f8b8b03a2bd6252980aec72e70b9fdc0 | 84,429 | py | Python | tests/test_Board.py | seungjaeryanlee/clarity | 93ea38e125d8a7761625ef75bfe4c2b6485bb065 | [
"Apache-2.0"
] | null | null | null | tests/test_Board.py | seungjaeryanlee/clarity | 93ea38e125d8a7761625ef75bfe4c2b6485bb065 | [
"Apache-2.0"
] | null | null | null | tests/test_Board.py | seungjaeryanlee/clarity | 93ea38e125d8a7761625ef75bfe4c2b6485bb065 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""
This file defines unit tests for the Board class.
"""
import unittest
from clarity import constants as const
from clarity.BitBoard import BitBoard
from clarity.Board import Board
from clarity.Color import Color
from clarity.Direction import Direction
from clarity.Move import Move
from clarity... | 51.924354 | 120 | 0.527603 | 10,844 | 84,429 | 3.98626 | 0.03993 | 0.021838 | 0.021653 | 0.017211 | 0.867907 | 0.847179 | 0.763921 | 0.718255 | 0.675064 | 0.624401 | 0 | 0.086016 | 0.344277 | 84,429 | 1,625 | 121 | 51.956308 | 0.694791 | 0.058226 | 0 | 0.546465 | 0 | 0 | 0.092175 | 0.044862 | 0 | 0 | 0 | 0.001846 | 0.428912 | 1 | 0.021446 | false | 0 | 0.007943 | 0 | 0.030183 | 0.003177 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a05ea4bf22a953ea753cfab9536c7c7653642c8b | 14,176 | py | Python | pytopkapi/results_analysis/sim_result_tools.py | scottza/PyTOPKAPI | 880735b03b00c3e304faf7125bc49b00a4179b9c | [
"BSD-3-Clause"
] | 17 | 2015-05-30T10:31:26.000Z | 2021-02-24T21:52:10.000Z | pytopkapi/results_analysis/sim_result_tools.py | scottza/PyTOPKAPI | 880735b03b00c3e304faf7125bc49b00a4179b9c | [
"BSD-3-Clause"
] | 7 | 2016-02-12T05:59:15.000Z | 2022-01-22T15:04:44.000Z | pytopkapi/results_analysis/sim_result_tools.py | scottza/PyTOPKAPI | 880735b03b00c3e304faf7125bc49b00a4179b9c | [
"BSD-3-Clause"
] | 10 | 2015-03-21T14:03:35.000Z | 2022-01-03T12:18:52.000Z | __all__ = ['extract_ssi', 'extract_ssi_to_file',
'extract_eta', 'extract_eta_to_file',
'extract_Q_channel', 'extract_Q_down',
'extract_overland_volume', 'extract_overland_volume_to_file']
from datetime import timedelta
from configparser import SafeConfigParser
import h5py
import numpy... | 30.486022 | 78 | 0.632195 | 1,879 | 14,176 | 4.624268 | 0.103779 | 0.033145 | 0.03913 | 0.025434 | 0.830475 | 0.812291 | 0.809759 | 0.773161 | 0.737829 | 0.723443 | 0 | 0.00951 | 0.26566 | 14,176 | 464 | 79 | 30.551724 | 0.825168 | 0.374154 | 0 | 0.694737 | 0 | 0 | 0.125228 | 0.006559 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042105 | false | 0 | 0.026316 | 0 | 0.094737 | 0.015789 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a05ffb3ec7022a1cb9e2a0cfdd94109aedc8e56f | 254 | py | Python | test.py | gtema/homeautomation-backend | 9453a3ad598d87b1b1a49fcb8238a6781c84e793 | [
"Apache-2.0"
] | 2 | 2017-04-14T15:19:09.000Z | 2020-09-17T21:27:06.000Z | test.py | gtema/homeautomation-backend | 9453a3ad598d87b1b1a49fcb8238a6781c84e793 | [
"Apache-2.0"
] | null | null | null | test.py | gtema/homeautomation-backend | 9453a3ad598d87b1b1a49fcb8238a6781c84e793 | [
"Apache-2.0"
] | null | null | null | import unittest
"""General entry point for the tests
"""
if __name__ == '__main__':
from tests.test_api_base import *
from tests.test_basic import *
from tests.test_stock_api import *
from tests.test_models import *
unittest.main()
| 21.166667 | 38 | 0.708661 | 35 | 254 | 4.742857 | 0.514286 | 0.216867 | 0.313253 | 0.343373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204724 | 254 | 11 | 39 | 23.090909 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0915408f11535cefb48b6cd42035d0a71fb00a5 | 23 | py | Python | src/corrcal/__init__.py | UKZN-Astronomy/corrcal | aa9b98bf8788fde5b92712eab5eccb4f7774bb60 | [
"BSD-2-Clause"
] | null | null | null | src/corrcal/__init__.py | UKZN-Astronomy/corrcal | aa9b98bf8788fde5b92712eab5eccb4f7774bb60 | [
"BSD-2-Clause"
] | 31 | 2019-10-07T13:29:32.000Z | 2020-02-17T08:58:26.000Z | src/corrcal/__init__.py | UKZN-Astronomy/corrcal2 | aa9b98bf8788fde5b92712eab5eccb4f7774bb60 | [
"BSD-2-Clause"
] | null | null | null | from .corrcal import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0c3eae210fe2a5fe242bafe042e5e2906386df6 | 96 | py | Python | venv/lib/python3.8/site-packages/future/backports/email/mime/text.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/backports/email/mime/text.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/backports/email/mime/text.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/cd/5f/7c/063a11e12fe75fc738ef1e372e7b2789f7868487cd1b0480879ef96ecd | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2631e0b700cb38e2cd6cd7e739c8df073ff9d3d5 | 146 | py | Python | modules/__init__.py | crivera31/Criptoteam | 91c3c99985883a375036c56c3693b77dc7bbe896 | [
"MIT"
] | null | null | null | modules/__init__.py | crivera31/Criptoteam | 91c3c99985883a375036c56c3693b77dc7bbe896 | [
"MIT"
] | null | null | null | modules/__init__.py | crivera31/Criptoteam | 91c3c99985883a375036c56c3693b77dc7bbe896 | [
"MIT"
] | null | null | null | """
The flask application package.
"""
# agregar numeros
from flask import Flask
#import admi_dash.app_admin as wapp
#app = wapp.server | 16.222222 | 36 | 0.705479 | 20 | 146 | 5.05 | 0.75 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205479 | 146 | 9 | 37 | 16.222222 | 0.87069 | 0.678082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
265eb158ea1846484229d854283e55d347b23d64 | 1,025 | py | Python | tests/save_noise.py | scicubator/countGauss | 7e744c3de1de342d72ef10da76c0c3b4605d70d4 | [
"BSD-2-Clause"
] | null | null | null | tests/save_noise.py | scicubator/countGauss | 7e744c3de1de342d72ef10da76c0c3b4605d70d4 | [
"BSD-2-Clause"
] | null | null | null | tests/save_noise.py | scicubator/countGauss | 7e744c3de1de342d72ef10da76c0c3b4605d70d4 | [
"BSD-2-Clause"
] | null | null | null | import pickle
import pylab as plt
D = pickle.load(open("tests/noise.pkl", "r"))
fig, ax = plt.subplots()
fig.canvas.draw()
plt.imshow(D['gauss'], cmap='gray_r', origin='lower')
# labels=[-5,0.01, 0.03, 0.08, 0.22,0.6,1]
labels = []
ax.set_xticklabels(labels)
ax.get_yticklabels()
ylabels = [-1, "", 40, ]
ax.set_ytickla... | 31.060606 | 80 | 0.705366 | 163 | 1,025 | 4.325153 | 0.319018 | 0.056738 | 0.09078 | 0.124823 | 0.848227 | 0.848227 | 0.763121 | 0.763121 | 0.763121 | 0.641135 | 0 | 0.056645 | 0.10439 | 1,025 | 32 | 81 | 32.03125 | 0.711329 | 0.039024 | 0 | 0.62069 | 0 | 0 | 0.126144 | 0.047813 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd40e1e41e019a1e6b4fb307a1409504fd80fe08 | 47 | py | Python | neslter/analysis/suna/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | 3 | 2019-01-24T16:32:50.000Z | 2021-11-05T02:18:12.000Z | neslter/analysis/suna/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | 45 | 2019-05-23T15:15:32.000Z | 2022-03-15T14:09:20.000Z | neslter/analysis/suna/__init__.py | WHOIGit/nes-lter-ims | d4cc96c10da56ca33286af84d669625b67170522 | [
"MIT"
] | null | null | null | from .ts_correction import ts_corrected_nitrate | 47 | 47 | 0.914894 | 7 | 47 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd8606c36907261e19b831952497b3723bb70e2d | 10,233 | py | Python | python/matrix_io/test/test_matrix_io.py | msteijaert/smurff | e6066d51e1640e9aad0118628ba72c9d662919fb | [
"MIT"
] | null | null | null | python/matrix_io/test/test_matrix_io.py | msteijaert/smurff | e6066d51e1640e9aad0118628ba72c9d662919fb | [
"MIT"
] | null | null | null | python/matrix_io/test/test_matrix_io.py | msteijaert/smurff | e6066d51e1640e9aad0118628ba72c9d662919fb | [
"MIT"
] | null | null | null | import os
import shutil
import unittest
import matrix_io
import numpy
import scipy
import scipy.io
class TestMatrixIO(unittest.TestCase):
TEMP_DIR_NAME = 'tmp'
@classmethod
def setUpClass(cls):
shutil.rmtree(cls.TEMP_DIR_NAME, ignore_errors=True)
os.makedirs(cls.TEMP_DIR_NAME)
@class... | 54.142857 | 133 | 0.709274 | 1,347 | 10,233 | 4.974759 | 0.063846 | 0.13789 | 0.145053 | 0.078794 | 0.952843 | 0.922997 | 0.878973 | 0.872556 | 0.860767 | 0.858379 | 0 | 0.028444 | 0.189192 | 10,233 | 188 | 134 | 54.430851 | 0.779197 | 0 | 0 | 0.582822 | 0 | 0 | 0.064399 | 0.046125 | 0 | 0 | 0 | 0 | 0.122699 | 1 | 0.134969 | false | 0 | 0.042945 | 0 | 0.190184 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
26a68ea9d0b6a92cfdd09ed01a483ef0e68817ba | 54 | py | Python | main.py | RaffeSagioro/AC3 | 225f501957d31baa00665e55a2919e7f2e1d1d0f | [
"Apache-2.0"
] | null | null | null | main.py | RaffeSagioro/AC3 | 225f501957d31baa00665e55a2919e7f2e1d1d0f | [
"Apache-2.0"
] | null | null | null | main.py | RaffeSagioro/AC3 | 225f501957d31baa00665e55a2919e7f2e1d1d0f | [
"Apache-2.0"
] | null | null | null | def Soma_numeros(num1, num2):
return (num1 + num2) | 27 | 29 | 0.685185 | 8 | 54 | 4.5 | 0.75 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.185185 | 54 | 2 | 30 | 27 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
26d39706d6418843e1540a0e0701f325d4fe8530 | 42 | py | Python | api_v3/views/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 13 | 2015-11-29T12:19:12.000Z | 2021-02-21T15:42:11.000Z | api_v3/views/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 23 | 2015-04-29T19:43:34.000Z | 2021-02-10T05:50:17.000Z | api_v3/views/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 11 | 2015-09-20T18:59:00.000Z | 2020-02-07T08:47:34.000Z | from .current_user import CurrentUserView
| 21 | 41 | 0.880952 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f841d32737d8d95009d6b6dac926ea1f5922ef68 | 11,660 | py | Python | pedsnetdcc/permissions.py | PEDSnet/pedsnetdcc | 76a32a09416956c9a0831ec05c14d490309d7b41 | [
"BSD-2-Clause"
] | null | null | null | pedsnetdcc/permissions.py | PEDSnet/pedsnetdcc | 76a32a09416956c9a0831ec05c14d490309d7b41 | [
"BSD-2-Clause"
] | 112 | 2016-06-14T21:03:38.000Z | 2021-02-16T16:08:12.000Z | pedsnetdcc/permissions.py | PEDSnet/pedsnetdcc | 76a32a09416956c9a0831ec05c14d490309d7b41 | [
"BSD-2-Clause"
] | null | null | null | import logging
import time
import re
from pedsnetdcc.db import Statement, StatementList
from pedsnetdcc.dict_logging import secs_since
from pedsnetdcc import SITES_AND_DCC, SITES_EXTERNAL_ADD_DCC
from pedsnetdcc.utils import check_stmt_err, combine_dicts, get_conn_info_dict
logger = logging.getLogger(__name__)
PREP... | 32.299169 | 141 | 0.679074 | 1,539 | 11,660 | 4.896036 | 0.089019 | 0.024154 | 0.00929 | 0.013006 | 0.902721 | 0.879628 | 0.868879 | 0.840743 | 0.832913 | 0.81566 | 0 | 0 | 0.230189 | 11,660 | 360 | 142 | 32.388889 | 0.839461 | 0.184134 | 0 | 0.648352 | 0 | 0.005495 | 0.30118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082418 | false | 0 | 0.038462 | 0 | 0.164835 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f874ecc858ceda841fccd1aad71c2e75c322f6d9 | 5,522 | py | Python | output/models/nist_data/list_pkg/nmtokens/schema_instance/nistschema_sv_iv_list_nmtokens_enumeration_4_xsd/nistschema_sv_iv_list_nmtokens_enumeration_4.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/list_pkg/nmtokens/schema_instance/nistschema_sv_iv_list_nmtokens_enumeration_4_xsd/nistschema_sv_iv_list_nmtokens_enumeration_4.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/list_pkg/nmtokens/schema_instance/nistschema_sv_iv_list_nmtokens_enumeration_4_xsd/nistschema_sv_iv_list_nmtokens_enumeration_4.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from enum import Enum
from typing import Optional
__NAMESPACE__ = "NISTSchema-SV-IV-list-NMTOKENS-enumeration-4-NS"
class NistschemaSvIvListNmtokensEnumeration4Type(Enum):
PARTNERS_ABLE_CAPABILITIES_TO_OF_MECHANISM_EACH_DOM_TECHNOL_IS_THE_REVIEW_MADE_COMPUTING_FOR_PROCESS... | 54.137255 | 404 | 0.725462 | 682 | 5,522 | 5.322581 | 0.31085 | 0.013223 | 0.009917 | 0.014876 | 0.921763 | 0.921763 | 0.921763 | 0.911295 | 0.911295 | 0.884298 | 0 | 0.001343 | 0.191235 | 5,522 | 101 | 405 | 54.673267 | 0.811464 | 0 | 0 | 0 | 0 | 0.010526 | 0.364723 | 0.328685 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031579 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8cb0b94ccf26ee1573a3c6810d2a6e1f0d336a9 | 7,787 | py | Python | prog_principale.py | Ignoramus-Sage/RBM-DBN_DNN | 175d722c4c9898a1a61e86ea164d80c17f4b7943 | [
"MIT"
] | null | null | null | prog_principale.py | Ignoramus-Sage/RBM-DBN_DNN | 175d722c4c9898a1a61e86ea164d80c17f4b7943 | [
"MIT"
] | null | null | null | prog_principale.py | Ignoramus-Sage/RBM-DBN_DNN | 175d722c4c9898a1a61e86ea164d80c17f4b7943 | [
"MIT"
] | null | null | null | from principal_DNN_MNIST import *
import matplotlib.pyplot as plt
import tensorflow as tf
import numpy as np
# Reloading modules just in case
if __name__ == "__main__" :
(x_train, y_train), (x_test, y_test) = tf.keras.datasets.mnist.load_data(path="mnist.npz")
data_mnist = scale_and_read_img(x_train)
... | 45.805882 | 127 | 0.660331 | 1,080 | 7,787 | 4.568519 | 0.15 | 0.042359 | 0.026753 | 0.028983 | 0.800365 | 0.755371 | 0.7424 | 0.731658 | 0.716052 | 0.672477 | 0 | 0.039203 | 0.226917 | 7,787 | 170 | 128 | 45.805882 | 0.780399 | 0.049441 | 0 | 0.533333 | 0 | 0 | 0.174962 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02963 | 0 | 0.02963 | 0.207407 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e2714f6df8152cc04e96961ee2d66c5b7f5ab41 | 759 | py | Python | test_phyton/pages/func.py | gergo1001/conduit | b4ea1c2a71a865c03812a0833a743fb2a7d03a8b | [
"MIT"
] | null | null | null | test_phyton/pages/func.py | gergo1001/conduit | b4ea1c2a71a865c03812a0833a743fb2a7d03a8b | [
"MIT"
] | null | null | null | test_phyton/pages/func.py | gergo1001/conduit | b4ea1c2a71a865c03812a0833a743fb2a7d03a8b | [
"MIT"
] | null | null | null | import random
import string
webpage_visible = False
def random_email():
return "".join([random.choice(string.ascii_lowercase) for _ in range(8)]) + '@testemail.hu'
def random_user():
return "".join([random.choice(string.ascii_letters) for _ in range(6)])
def random_pass():
return "".join([random.choi... | 27.107143 | 95 | 0.687747 | 99 | 759 | 5.080808 | 0.373737 | 0.119284 | 0.190855 | 0.262425 | 0.459245 | 0.405567 | 0.405567 | 0.405567 | 0.405567 | 0.405567 | 0 | 0.010989 | 0.160738 | 759 | 27 | 96 | 28.111111 | 0.77865 | 0 | 0 | 0 | 0 | 0 | 0.025033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.0625 | 0.125 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
3e2e6a1b4168e73c7e80be80e03e7a4d37075858 | 410 | py | Python | challenges/FizzBuzzTree/conftest.py | katcosgrove/data-structures-and-algorithms | 8683268183e79c6abeeb58187101cb140c65568d | [
"MIT"
] | 1 | 2021-04-02T12:12:20.000Z | 2021-04-02T12:12:20.000Z | challenges/FizzBuzzTree/conftest.py | katcosgrove/data-structures-and-algorithms | 8683268183e79c6abeeb58187101cb140c65568d | [
"MIT"
] | 2 | 2018-03-21T17:34:34.000Z | 2018-03-26T16:46:07.000Z | challenges/FizzBuzzTree/conftest.py | katcosgrove/data-structures-and-algorithms | 8683268183e79c6abeeb58187101cb140c65568d | [
"MIT"
] | 2 | 2018-08-29T18:59:59.000Z | 2019-04-12T21:16:14.000Z | from .bst import BST
from .bst import Node
import pytest
@pytest.fixture
def small_bst():
return BST([20, 15, 9, 11])
@pytest.fixture
def empty_bst():
return BST()
@pytest.fixture
def no_fizzbuzz():
return BST([1, 4, 7, 11])
@pytest.fixture
def fizz_node():
return Node(3)
@pytest.fixture
def b... | 12.058824 | 31 | 0.668293 | 63 | 410 | 4.253968 | 0.365079 | 0.291045 | 0.358209 | 0.134328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.2 | 410 | 33 | 32 | 12.424242 | 0.768293 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3e6011de0576253b8523ef08cc7a1e337e5aebba | 120 | py | Python | templar/exceptions.py | Cal-CS-61A-Staff/templar | 2c2a5a544da377e3c311750fadd6606bba3b7e75 | [
"MIT"
] | 6 | 2015-05-04T06:17:49.000Z | 2021-09-11T00:13:14.000Z | templar/exceptions.py | albert12132/templar | 39851c89730ab69e5c73d0a46adca2a44ecc4165 | [
"MIT"
] | 17 | 2015-01-07T03:25:47.000Z | 2016-10-08T03:53:44.000Z | templar/exceptions.py | Cal-CS-61A-Staff/templar | 2c2a5a544da377e3c311750fadd6606bba3b7e75 | [
"MIT"
] | 6 | 2015-10-08T11:37:17.000Z | 2019-06-03T21:27:52.000Z | """Base exception for Templar."""
class TemplarError(Exception):
"""Top-level exception for Templar."""
pass
| 15 | 42 | 0.666667 | 13 | 120 | 6.153846 | 0.692308 | 0.3 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 120 | 7 | 43 | 17.142857 | 0.816327 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e41c61f329970e499675ba8d58beb7f06af3223e | 13,826 | py | Python | exam.py | SizeLee/Industry-big-data-time-sequence-process | 0e5f870ff4bc15a9a3217ccb706345ee034bc379 | [
"MIT"
] | 1 | 2020-04-18T05:08:03.000Z | 2020-04-18T05:08:03.000Z | exam.py | SizeLee/Industry-big-data-time-sequence-process | 0e5f870ff4bc15a9a3217ccb706345ee034bc379 | [
"MIT"
] | null | null | null | exam.py | SizeLee/Industry-big-data-time-sequence-process | 0e5f870ff4bc15a9a3217ccb706345ee034bc379 | [
"MIT"
] | null | null | null | import numpy as np
import BPNN_model, KNN_sequence_Model
import RNN_models, CNN_models, AttentionModel, Incremental_Learning_models
import configparser
import json
import time
def rnn_exams(sequence_fix_length, foresight_steps, class_num, data, training_sample_ids, test_sample_ids, cell_type, random_seed=None):
p... | 51.589552 | 157 | 0.661507 | 1,870 | 13,826 | 4.550802 | 0.069519 | 0.092009 | 0.071798 | 0.072385 | 0.850294 | 0.818449 | 0.810341 | 0.783784 | 0.764512 | 0.730082 | 0 | 0.010329 | 0.201721 | 13,826 | 267 | 158 | 51.782772 | 0.760714 | 0.25575 | 0 | 0.472222 | 0 | 0 | 0.167385 | 0.015092 | 0 | 0 | 0 | 0.003745 | 0 | 1 | 0.055556 | false | 0 | 0.041667 | 0 | 0.131944 | 0.1875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e492dc5dbcfc8d53771bb8a08232bc09b7aab3a2 | 154 | py | Python | utime/dataset/queue/__init__.py | learning310/U-Time | f7c8e3f1368f43226872a69b0fbb8c29990e4bd9 | [
"MIT"
] | 138 | 2019-11-20T02:31:17.000Z | 2022-03-23T04:31:51.000Z | utime/dataset/queue/__init__.py | amiyapatanaik/U-Time | a9ed4892da77d165a71dbfef1d069d782c909757 | [
"MIT"
] | 46 | 2019-12-04T03:13:28.000Z | 2022-03-31T13:10:48.000Z | utime/dataset/queue/__init__.py | amiyapatanaik/U-Time | a9ed4892da77d165a71dbfef1d069d782c909757 | [
"MIT"
] | 42 | 2019-11-26T16:02:26.000Z | 2022-01-06T11:01:32.000Z | from .study_loader import StudyLoader
from .limitation_queue import LimitationQueue
from .lazy_queue import LazyQueue
from .eager_queue import EagerQueue
| 30.8 | 45 | 0.87013 | 20 | 154 | 6.5 | 0.6 | 0.253846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 154 | 4 | 46 | 38.5 | 0.942029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4a0087c40617faf803a9b051de1bc0df33d06cd | 74 | py | Python | Dinos/Achatina/PrimalItemResource_SnailPaste.PrimalItemResource_SnailPaste.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/Achatina/PrimalItemResource_SnailPaste.PrimalItemResource_SnailPaste.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | Dinos/Achatina/PrimalItemResource_SnailPaste.PrimalItemResource_SnailPaste.py | cutec-chris/sce-PrimalEarth | 4e7a45acffc57a455a7668af1a954004668c3085 | [
"MIT"
] | null | null | null | import sys,sce
class PrimalItemResource_SnailPaste(sce.Resources):
pass | 24.666667 | 51 | 0.837838 | 9 | 74 | 6.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 3 | 52 | 24.666667 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e4a8fe0733a651e1ab21324b7a6b33167b29e314 | 214 | py | Python | randomtesting.py | ManderaGeneral/generalbrowser | 2cbbb3c4e2b45a3d8523c0e7dd071d66a962e5ed | [
"MIT"
] | null | null | null | randomtesting.py | ManderaGeneral/generalbrowser | 2cbbb3c4e2b45a3d8523c0e7dd071d66a962e5ed | [
"MIT"
] | null | null | null | randomtesting.py | ManderaGeneral/generalbrowser | 2cbbb3c4e2b45a3d8523c0e7dd071d66a962e5ed | [
"MIT"
] | null | null | null |
from generalbrowser.assets.account.client import AccountClient
from generalbrowser.assets.account.clientpage import GeneralSigninPage
client = AccountClient(domain="http://127.0.0.1:8000")
client.create_page()
| 23.777778 | 70 | 0.82243 | 26 | 214 | 6.730769 | 0.653846 | 0.205714 | 0.274286 | 0.354286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 0.074766 | 214 | 8 | 71 | 26.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.099057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e4c0bdeed0a670a1c56d63a18d195fbf5901a3ce | 3,789 | py | Python | seh/tests/unit/test_query.py | xu1991/seartest | beb2d5e282d88b29544d2d17add2be6b97454ec1 | [
"CC0-1.0"
] | 1 | 2020-12-24T16:24:31.000Z | 2020-12-24T16:24:31.000Z | seh/tests/unit/test_query.py | xu1991/seartest | beb2d5e282d88b29544d2d17add2be6b97454ec1 | [
"CC0-1.0"
] | 6 | 2021-03-31T19:23:49.000Z | 2021-12-13T20:17:36.000Z | seh/tests/unit/test_query.py | xu1991/seartest | beb2d5e282d88b29544d2d17add2be6b97454ec1 | [
"CC0-1.0"
] | 1 | 2020-09-05T11:45:21.000Z | 2020-09-05T11:45:21.000Z | from searx.query import RawTextQuery
from searx.testing import SearxTestCase
class TestQuery(SearxTestCase):
def test_simple_query(self):
query_text = 'the query'
query = RawTextQuery(query_text, [])
query.parse_query()
self.assertEquals(query.getFullQuery(), query_text)
... | 35.411215 | 68 | 0.651623 | 427 | 3,789 | 5.592506 | 0.133489 | 0.174204 | 0.123116 | 0.120603 | 0.801926 | 0.780988 | 0.780988 | 0.718593 | 0.657035 | 0.65201 | 0 | 0.012781 | 0.235946 | 3,789 | 106 | 69 | 35.745283 | 0.81209 | 0.015307 | 0 | 0.658824 | 0 | 0 | 0.03808 | 0 | 0 | 0 | 0 | 0 | 0.447059 | 1 | 0.105882 | false | 0 | 0.023529 | 0 | 0.141176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
902bc96b363fc1a23c95abf6ff5896f9d01de328 | 44 | py | Python | main.py | kiminza/TestGit | b450572ab1a244472306acbd087b54b126f179b9 | [
"MIT"
] | null | null | null | main.py | kiminza/TestGit | b450572ab1a244472306acbd087b54b126f179b9 | [
"MIT"
] | null | null | null | main.py | kiminza/TestGit | b450572ab1a244472306acbd087b54b126f179b9 | [
"MIT"
] | null | null | null | print("git is my vcs of choice")
# its wow!! | 22 | 32 | 0.659091 | 9 | 44 | 3.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 33 | 22 | 0.805556 | 0.204545 | 0 | 0 | 0 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5f5496e976920f524654e9c29d93e98dce288911 | 141 | py | Python | __init__.py | SunYanCN/tendecomlib | 3473d05855c87e39c162c3fea6fe59f94344735b | [
"MIT"
] | null | null | null | __init__.py | SunYanCN/tendecomlib | 3473d05855c87e39c162c3fea6fe59f94344735b | [
"MIT"
] | null | null | null | __init__.py | SunYanCN/tendecomlib | 3473d05855c87e39c162c3fea6fe59f94344735b | [
"MIT"
] | null | null | null | from tensorcomlib import *
from .matrix import *
from .base import *
from .random import *
from .tools import *
from .decomposition import *
| 20.142857 | 28 | 0.751773 | 18 | 141 | 5.888889 | 0.444444 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 141 | 6 | 29 | 23.5 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f91b00f9ba9a5d385b8c3809943d29527bb9be4 | 135 | py | Python | math_lib.py | cu-swe4s-fall-2019/version-control-adziulko | b5d3f35f3c3397f80cfe6eb3605c34ce02f34db6 | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2019/version-control-adziulko | b5d3f35f3c3397f80cfe6eb3605c34ce02f34db6 | [
"MIT"
] | null | null | null | math_lib.py | cu-swe4s-fall-2019/version-control-adziulko | b5d3f35f3c3397f80cfe6eb3605c34ce02f34db6 | [
"MIT"
] | null | null | null | def div(a, b):
if b == 0:
return 'Please use non-zero integer'
else:
return a/b
def add(a, b):
return a+b
| 15 | 44 | 0.511111 | 24 | 135 | 2.875 | 0.583333 | 0.115942 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.362963 | 135 | 8 | 45 | 16.875 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5fa355a1dc1c6f54f59821fdf08f9e9db59d54c7 | 2,485 | py | Python | SciDataTool/GUI/Resources/SDT_rc.py | enjoyneer87/SciDataTool | 37ddc4071f1edb1270ee03e43595c3f943fb9bd8 | [
"Apache-2.0"
] | null | null | null | SciDataTool/GUI/Resources/SDT_rc.py | enjoyneer87/SciDataTool | 37ddc4071f1edb1270ee03e43595c3f943fb9bd8 | [
"Apache-2.0"
] | null | null | null | SciDataTool/GUI/Resources/SDT_rc.py | enjoyneer87/SciDataTool | 37ddc4071f1edb1270ee03e43595c3f943fb9bd8 | [
"Apache-2.0"
] | null | null | null | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.15.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x00\x01q\
\x89\
PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\
\x00\x00 \x00\x00\... | 31.0625 | 82 | 0.692958 | 482 | 2,485 | 3.533195 | 0.410788 | 0.338227 | 0.364651 | 0.345273 | 0.244862 | 0.244862 | 0.234292 | 0.230769 | 0.230769 | 0.214915 | 0 | 0.297189 | 0.098189 | 2,485 | 79 | 83 | 31.455696 | 0.46274 | 0.065996 | 0 | 0.123077 | 0 | 0.353846 | 0 | 0 | 0 | 0 | 0.003576 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.015385 | 0 | 0.046154 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5fbc97411e6554a4c9906879416462c7be1a8f68 | 131 | py | Python | 04 - IWAE/vae.py | wrongu/vae-tutorial | f1a652905c11a06e9c037f0542b6545360d95916 | [
"MIT"
] | 5 | 2019-01-20T07:07:29.000Z | 2022-03-12T20:45:41.000Z | 04 - IWAE/vae.py | wrongu/vae-tutorial | f1a652905c11a06e9c037f0542b6545360d95916 | [
"MIT"
] | null | null | null | 04 - IWAE/vae.py | wrongu/vae-tutorial | f1a652905c11a06e9c037f0542b6545360d95916 | [
"MIT"
] | 2 | 2020-10-15T17:47:20.000Z | 2021-12-22T02:58:38.000Z | import keras.backend as K
from keras.engine import Model
class IWAE(object):
# YOUR CODE HERE
class VAE(IWAE):
# YOUR CODE HERE
| 13.1 | 30 | 0.748092 | 22 | 131 | 4.454545 | 0.681818 | 0.163265 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175573 | 131 | 9 | 31 | 14.555556 | 0.907407 | 0.221374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
395b8c8a3e4cd76270cfec929f4f8502ec8a2930 | 196 | py | Python | common/views.py | IvanParvanovski/petstagram-repository | 03f1464d4f5919712446f812fad044056f9a15f6 | [
"MIT"
] | 2 | 2021-06-10T08:18:00.000Z | 2021-06-12T19:10:49.000Z | common/views.py | IvanParvanovski/petstagram-repository | 03f1464d4f5919712446f812fad044056f9a15f6 | [
"MIT"
] | null | null | null | common/views.py | IvanParvanovski/petstagram-repository | 03f1464d4f5919712446f812fad044056f9a15f6 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def landing_page(req):
return render(req, 'landing_page.html')
def original(req):
return render(req, 'landing_page.html')
# Create your views here.
| 17.818182 | 43 | 0.734694 | 28 | 196 | 5.035714 | 0.571429 | 0.234043 | 0.212766 | 0.255319 | 0.468085 | 0.468085 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0.158163 | 196 | 10 | 44 | 19.6 | 0.854545 | 0.117347 | 0 | 0.4 | 0 | 0 | 0.19883 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
3990695a1585edd7605ed880e5bb75a2271da0cf | 21,012 | py | Python | tests/test_selection.py | kexinchenn/LEAP | 97ba277dae29f1111c03dce6484d4104a575ea21 | [
"AFL-3.0"
] | 53 | 2018-10-04T18:01:22.000Z | 2022-03-24T05:24:37.000Z | tests/test_selection.py | kexinchenn/LEAP | 97ba277dae29f1111c03dce6484d4104a575ea21 | [
"AFL-3.0"
] | 180 | 2018-10-11T21:36:57.000Z | 2022-03-25T17:38:33.000Z | tests/test_selection.py | kexinchenn/LEAP | 97ba277dae29f1111c03dce6484d4104a575ea21 | [
"AFL-3.0"
] | 8 | 2019-09-27T23:11:26.000Z | 2021-09-29T21:15:35.000Z | """
Unit test for selection operators.
"""
import random
from math import nan
import numpy as np
import pytest
from leap_ec import Individual
from leap_ec import ops, statistical_helpers
from leap_ec.binary_rep.problems import MaxOnes
from leap_ec.data import test_population
from leap_ec.real_rep.problems import ... | 35.373737 | 108 | 0.663906 | 2,836 | 21,012 | 4.843089 | 0.102609 | 0.010775 | 0.051984 | 0.053003 | 0.80466 | 0.773062 | 0.750273 | 0.732508 | 0.72763 | 0.705133 | 0 | 0.022871 | 0.209261 | 21,012 | 593 | 109 | 35.43339 | 0.803792 | 0.342519 | 0 | 0.7 | 0 | 0 | 0.020221 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.082759 | false | 0 | 0.031034 | 0 | 0.12069 | 0.034483 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39a06336e8ca04a247b0fe30fb5ab3a5c0dd8996 | 229 | py | Python | main/PluginDemos/connectivity_global_fast/Simulation/connectivity_global_fast.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/connectivity_global_fast/Simulation/connectivity_global_fast.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/PluginDemos/connectivity_global_fast/Simulation/connectivity_global_fast.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z | from cc3d import CompuCellSetup
from connectivity_global_fastSteppables import connectivity_global_fastSteppable
CompuCellSetup.register_steppable(steppable=connectivity_global_fastSteppable(frequency=1))
CompuCellSetup.run()
| 28.625 | 91 | 0.899563 | 23 | 229 | 8.652174 | 0.565217 | 0.271357 | 0.311558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.056769 | 229 | 7 | 92 | 32.714286 | 0.912037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
39a9bf478c6361d5d109e7383e1d1532b484b5fa | 1,657 | py | Python | datacode/summarize/subset/missing/detail/textfuncs.py | nickderobertis/data-code | b4649a1702ccd6b68995e58cc53d74544ff34294 | [
"MIT"
] | null | null | null | datacode/summarize/subset/missing/detail/textfuncs.py | nickderobertis/data-code | b4649a1702ccd6b68995e58cc53d74544ff34294 | [
"MIT"
] | 44 | 2020-02-01T03:28:59.000Z | 2022-03-12T00:35:17.000Z | datacode/summarize/subset/missing/detail/textfuncs.py | nickderobertis/data-code | b4649a1702ccd6b68995e58cc53d74544ff34294 | [
"MIT"
] | 1 | 2021-08-09T11:10:57.000Z | 2021-08-09T11:10:57.000Z | from datacode.typing import IntOrNone, FloatOrNone, Union
def missing_more_than_str(missing_tolerance: IntOrNone, missing_quantile: FloatOrNone,
missing_display_str: str, id_var: str) -> str:
return f'More than {_t_or_q(missing_tolerance, missing_quantile)} {missing_display_str} {id_var}'... | 41.425 | 112 | 0.72239 | 218 | 1,657 | 5.133028 | 0.174312 | 0.201072 | 0.15639 | 0.200179 | 0.743521 | 0.720286 | 0.67471 | 0.624665 | 0.593387 | 0.593387 | 0 | 0.002239 | 0.19131 | 1,657 | 40 | 113 | 41.425 | 0.832836 | 0 | 0 | 0.25 | 0 | 0 | 0.204463 | 0.086852 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.035714 | 0.142857 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
39a9e0220c9082d6ffae3648151d4c0946af5b9b | 161 | py | Python | lambdata/__init__.py | kevmanning/lambdata-dspt11 | 6f7e0d80d9bd3e698c4443f786dc0765ce3e1f6e | [
"MIT"
] | null | null | null | lambdata/__init__.py | kevmanning/lambdata-dspt11 | 6f7e0d80d9bd3e698c4443f786dc0765ce3e1f6e | [
"MIT"
] | null | null | null | lambdata/__init__.py | kevmanning/lambdata-dspt11 | 6f7e0d80d9bd3e698c4443f786dc0765ce3e1f6e | [
"MIT"
] | null | null | null | """collection of data science helper functions"""
import pandas
import numpy
def df_cleanser(df):
"""cleans dataframe"""
# TODO - implement
pass
| 13.416667 | 49 | 0.677019 | 19 | 161 | 5.684211 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 161 | 11 | 50 | 14.636364 | 0.857143 | 0.484472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
39c720ead49987060b7be70bdd2007dc09c7b171 | 24 | py | Python | netforce_sale/netforce_sale/controllers/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 27 | 2015-09-30T23:53:30.000Z | 2021-06-07T04:56:25.000Z | netforce_sale/netforce_sale/controllers/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 191 | 2015-10-08T11:46:30.000Z | 2019-11-14T02:24:36.000Z | netforce_sale/netforce_sale/controllers/__init__.py | nfco/netforce | 35252eecd0a6633ab9d82162e9e3ff57d4da029a | [
"MIT"
] | 32 | 2015-10-01T03:59:43.000Z | 2022-01-13T07:31:05.000Z | from . import view_quot
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
844125889fb1cacf63c605be69a756b750060f16 | 209 | py | Python | soundfleet/accounts/admin.py | Soundfleet/soundfleet | d2d8a6ac875372884e6494d618c54613f2fcd725 | [
"BSD-3-Clause"
] | null | null | null | soundfleet/accounts/admin.py | Soundfleet/soundfleet | d2d8a6ac875372884e6494d618c54613f2fcd725 | [
"BSD-3-Clause"
] | null | null | null | soundfleet/accounts/admin.py | Soundfleet/soundfleet | d2d8a6ac875372884e6494d618c54613f2fcd725 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from . import models
class UserAdmin(BaseUserAdmin):
pass
admin.site.register(models.User, UserAdmin)
| 17.416667 | 64 | 0.799043 | 27 | 209 | 6.185185 | 0.555556 | 0.11976 | 0.203593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133971 | 209 | 11 | 65 | 19 | 0.922652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8457478a367755818c76020b5d847b1448d9bcad | 27,238 | py | Python | ownership/test_views.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | ownership/test_views.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | 138 | 2016-09-23T18:09:18.000Z | 2022-03-03T15:50:19.000Z | ownership/test_views.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | import uuid
from django.core.urlresolvers import reverse
from rest_framework import status
from django.test.testcases import TestCase
from ownership.views import MISSING_TRANSFER_ID_MSG, TRANSFER_ID_NOT_FOUND, REASON_REQUIRED_MSG, NOT_RECIPIENT_MSG
from switchboard.dds_util import SHARE_IN_RESPONSE_TO_DELIVERY_MSG
from... | 56.27686 | 151 | 0.719436 | 3,252 | 27,238 | 5.652522 | 0.076568 | 0.081602 | 0.067893 | 0.051137 | 0.822272 | 0.811609 | 0.792242 | 0.782015 | 0.772604 | 0.766184 | 0 | 0.007519 | 0.189441 | 27,238 | 483 | 152 | 56.393375 | 0.825075 | 0.012079 | 0 | 0.635266 | 0 | 0 | 0.124559 | 0.04007 | 0 | 0 | 0 | 0 | 0.183575 | 1 | 0.096618 | false | 0.012077 | 0.036232 | 0.002415 | 0.161836 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ffe06aa86e3a06dcf73541a692851e853ca40f17 | 4,101 | py | Python | error_solver/solvers/error_solver_test.py | line-mind/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | null | null | null | error_solver/solvers/error_solver_test.py | line-mind/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | 5 | 2018-12-22T20:59:42.000Z | 2019-06-04T22:10:08.000Z | error_solver/solvers/error_solver_test.py | mpewsey/error_solver | 472d086157e49cbe3e7d5b3278ddee6792cf676b | [
"BSD-3-Clause"
] | null | null | null | import os
import time
import pytest
from ..data import get_file_path
from .error_solver import *
def test_repr():
path = get_file_path('wire_load.ef')
solver = ErrorSolver.from_file(path)
repr(solver)
def test_from_file():
path = get_file_path('wire_load.ef')
solver = ErrorSolver.from_file(path)... | 20.505 | 67 | 0.576689 | 510 | 4,101 | 4.47451 | 0.154902 | 0.087642 | 0.062664 | 0.078878 | 0.825153 | 0.777826 | 0.753287 | 0.726117 | 0.704645 | 0.704645 | 0 | 0.070998 | 0.271885 | 4,101 | 199 | 68 | 20.60804 | 0.693235 | 0 | 0 | 0.589041 | 0 | 0 | 0.125823 | 0.005365 | 0 | 0 | 0 | 0 | 0.10274 | 1 | 0.082192 | false | 0 | 0.034247 | 0 | 0.116438 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08173733b6dade43d978daa4e42c8e520137deb2 | 30 | py | Python | aipack/__init__.py | heewinkim/aipack | df2ff6db0ede07b5e5a779b2679841e34f2e0f10 | [
"Apache-2.0"
] | 1 | 2020-10-20T01:31:38.000Z | 2020-10-20T01:31:38.000Z | aipack/__init__.py | heewinkim/aipack | df2ff6db0ede07b5e5a779b2679841e34f2e0f10 | [
"Apache-2.0"
] | 5 | 2020-09-25T22:15:45.000Z | 2022-02-10T01:58:10.000Z | aipack/__init__.py | heewinkim/aipack | df2ff6db0ede07b5e5a779b2679841e34f2e0f10 | [
"Apache-2.0"
] | null | null | null | from .tf import TensorflowPack | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
083c56a67040a6b88ccf87ddf916112833dbbae1 | 28,832 | py | Python | adlibre_tms/apps/tms/tests/__init__.py | adlibre/Adlibre-TMS | 4c8de1e4448203fb267d38ec0f4ec9e64d58a21d | [
"BSD-3-Clause"
] | 26 | 2015-01-06T11:09:18.000Z | 2022-03-16T06:20:53.000Z | adlibre_tms/apps/tms/tests/__init__.py | adlibre/Adlibre-TMS | 4c8de1e4448203fb267d38ec0f4ec9e64d58a21d | [
"BSD-3-Clause"
] | 4 | 2015-02-26T11:00:35.000Z | 2020-06-05T18:02:02.000Z | adlibre_tms/apps/tms/tests/__init__.py | adlibre/Adlibre-TMS | 4c8de1e4448203fb267d38ec0f4ec9e64d58a21d | [
"BSD-3-Clause"
] | 16 | 2015-02-08T05:24:38.000Z | 2021-06-13T14:45:30.000Z | from django.test import TestCase
import unittest
from django.test import Client
from test_settings import *
from helpers import *
from django.core.urlresolvers import reverse
from tms.forms import *
from tms.models import Timesheet, Expense, Job, Employee
from django_any import any_model
import datetime
from django.sho... | 44.356923 | 103 | 0.548453 | 2,947 | 28,832 | 5.230064 | 0.099762 | 0.028547 | 0.037371 | 0.055667 | 0.809901 | 0.796795 | 0.761305 | 0.719068 | 0.687277 | 0.655356 | 0 | 0.023487 | 0.341392 | 28,832 | 649 | 104 | 44.42527 | 0.788193 | 0.181084 | 0 | 0.723744 | 0 | 0.002283 | 0.382059 | 0.039699 | 0 | 0 | 0 | 0 | 0.068493 | 1 | 0.047945 | false | 0 | 0.027397 | 0 | 0.084475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0846e2918fb1afe4badda15c28a6e0a09afcca79 | 234 | py | Python | masq/cms/models/__init__.py | tehdiplomat/hidden-role-games | e6fdc132700db8d12fd57f08200a499cdc5bef7d | [
"MIT"
] | null | null | null | masq/cms/models/__init__.py | tehdiplomat/hidden-role-games | e6fdc132700db8d12fd57f08200a499cdc5bef7d | [
"MIT"
] | null | null | null | masq/cms/models/__init__.py | tehdiplomat/hidden-role-games | e6fdc132700db8d12fd57f08200a499cdc5bef7d | [
"MIT"
] | null | null | null | from cms.models.Base import BaseModel
from cms.models.Game import Game
from cms.models.GameSession import GameSession
from cms.models.Player import Player
from cms.models.Role import Role
from cms.models.Affiliation import Affiliation | 39 | 46 | 0.850427 | 36 | 234 | 5.527778 | 0.305556 | 0.211055 | 0.39196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098291 | 234 | 6 | 47 | 39 | 0.943128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f22fa400c243d73c8d36858f6e9512a406655b00 | 166 | py | Python | pswalker/__init__.py | ZLLentz/pswalker | 9642489e6add37906998f09cc88290bc95686ac9 | [
"BSD-3-Clause-LBNL"
] | null | null | null | pswalker/__init__.py | ZLLentz/pswalker | 9642489e6add37906998f09cc88290bc95686ac9 | [
"BSD-3-Clause-LBNL"
] | 8 | 2018-04-20T21:26:02.000Z | 2021-01-11T19:31:08.000Z | pswalker/__init__.py | ZLLentz/pswalker | 9642489e6add37906998f09cc88290bc95686ac9 | [
"BSD-3-Clause-LBNL"
] | 2 | 2018-06-26T00:09:27.000Z | 2018-11-29T19:40:04.000Z | import os.path
import pcdsdevices # Pick up ophyd 1.2.0 hotfix via import
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
| 27.666667 | 58 | 0.801205 | 26 | 166 | 4.807692 | 0.653846 | 0.264 | 0.288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.126506 | 166 | 5 | 59 | 33.2 | 0.841379 | 0.222892 | 0 | 0 | 0 | 0 | 0.055118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f27447e6818266ee2ddd022f5fab2bd63d05e69d | 120 | py | Python | greydot/tests/test_wallet.py | TralahM/greydot-api | 34982c34bf878b2728e934147ca4ea38a78523e4 | [
"MIT"
] | null | null | null | greydot/tests/test_wallet.py | TralahM/greydot-api | 34982c34bf878b2728e934147ca4ea38a78523e4 | [
"MIT"
] | null | null | null | greydot/tests/test_wallet.py | TralahM/greydot-api | 34982c34bf878b2728e934147ca4ea38a78523e4 | [
"MIT"
] | null | null | null | from sms import parse_xml_response
from wallet import SAMPLE
def test_wallet():
print(parse_xml_response(SAMPLE))
| 17.142857 | 37 | 0.8 | 18 | 120 | 5.055556 | 0.611111 | 0.175824 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 6 | 38 | 20 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f2bf3f5afd346f146f40c4d9543b2cc8710e5b7e | 89 | py | Python | tests/test_version.py | Kludex/package-list | 7724b657547d5286a1d5cc0e00f86dfd57c9ecbf | [
"MIT"
] | null | null | null | tests/test_version.py | Kludex/package-list | 7724b657547d5286a1d5cc0e00f86dfd57c9ecbf | [
"MIT"
] | null | null | null | tests/test_version.py | Kludex/package-list | 7724b657547d5286a1d5cc0e00f86dfd57c9ecbf | [
"MIT"
] | null | null | null | import package_list
def test_version():
assert package_list.__version__ == "0.2.0"
| 14.833333 | 46 | 0.730337 | 13 | 89 | 4.461538 | 0.692308 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.157303 | 89 | 5 | 47 | 17.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.05618 | 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 | 0 | 0 | 0 | 6 |
4b2fda57c214b90c15902fa7f760cc097e68f983 | 23 | py | Python | xsearch/__init__.py | e2dubba/py-xsearch | 5da8dd90ae00fb261f0c80868cfdc2b8fa5d4a34 | [
"MIT"
] | null | null | null | xsearch/__init__.py | e2dubba/py-xsearch | 5da8dd90ae00fb261f0c80868cfdc2b8fa5d4a34 | [
"MIT"
] | null | null | null | xsearch/__init__.py | e2dubba/py-xsearch | 5da8dd90ae00fb261f0c80868cfdc2b8fa5d4a34 | [
"MIT"
] | null | null | null | from .xsearch import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b4a110dc99ea87b539cc72e84e1320deaea67d9 | 106 | py | Python | hex/domain/test_IReturnHelloWorld.py | demorose/hexashell_python | 13d5efa166ea9699cae70cf6b9eb50e27feb1ef6 | [
"MIT"
] | null | null | null | hex/domain/test_IReturnHelloWorld.py | demorose/hexashell_python | 13d5efa166ea9699cae70cf6b9eb50e27feb1ef6 | [
"MIT"
] | null | null | null | hex/domain/test_IReturnHelloWorld.py | demorose/hexashell_python | 13d5efa166ea9699cae70cf6b9eb50e27feb1ef6 | [
"MIT"
] | null | null | null | from hex.domain.IReturnHelloWorld import helloWorld
def test():
assert helloWorld() == 'Hello World'
| 21.2 | 51 | 0.745283 | 12 | 106 | 6.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 4 | 52 | 26.5 | 0.877778 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b60b312901e2cbe8d206ed1b2245bf2f3bbd096 | 144 | py | Python | tess/summarization/abstractive/__init__.py | ashishbaghudana/tess | b7ba6c6cd79cb22c04c584988a718f43679c4e9c | [
"MIT"
] | 1 | 2019-04-19T18:19:33.000Z | 2019-04-19T18:19:33.000Z | tess/summarization/abstractive/__init__.py | ashishbaghudana/tess | b7ba6c6cd79cb22c04c584988a718f43679c4e9c | [
"MIT"
] | 5 | 2021-03-18T23:27:03.000Z | 2022-03-11T23:44:49.000Z | tess/summarization/abstractive/__init__.py | ashishbaghudana/tess | b7ba6c6cd79cb22c04c584988a718f43679c4e9c | [
"MIT"
] | null | null | null | from abc import ABC
from tess.summarization import SummarizationModel
class AbstractiveSummarizationModel(SummarizationModel, ABC):
pass
| 18 | 61 | 0.833333 | 14 | 144 | 8.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131944 | 144 | 7 | 62 | 20.571429 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4b8113bdad5c4f85ddd8fca143aeaacfcb9ecc71 | 145 | py | Python | webcontentdownloader/__init__.py | hail-kang/module-webcontent-downloader | 93d9fa209c8a14540f10298e5b483edd692021c6 | [
"MIT"
] | null | null | null | webcontentdownloader/__init__.py | hail-kang/module-webcontent-downloader | 93d9fa209c8a14540f10298e5b483edd692021c6 | [
"MIT"
] | null | null | null | webcontentdownloader/__init__.py | hail-kang/module-webcontent-downloader | 93d9fa209c8a14540f10298e5b483edd692021c6 | [
"MIT"
] | null | null | null | from .interface import *
from .simpledownloader import *
from .utils import *
from .complexdownloader import *
from .downloadmanager import * | 29 | 33 | 0.772414 | 15 | 145 | 7.466667 | 0.466667 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158621 | 145 | 5 | 34 | 29 | 0.918033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29a2695fb04c4da69126c5401d964308b1450b4e | 41 | py | Python | torchsummaryDynamic/__init__.py | chenbong/torchsummaryDynamic | 48ad7e46c4c762dda335b496313ed63b76507b59 | [
"MIT"
] | 1 | 2022-01-05T07:28:23.000Z | 2022-01-05T07:28:23.000Z | torchsummaryDynamic/__init__.py | chenbong/torchsummaryDynamic | 48ad7e46c4c762dda335b496313ed63b76507b59 | [
"MIT"
] | null | null | null | torchsummaryDynamic/__init__.py | chenbong/torchsummaryDynamic | 48ad7e46c4c762dda335b496313ed63b76507b59 | [
"MIT"
] | null | null | null | from .torchsummaryDynamic import summary
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
29e883b4eaafdda5eedde7da523db3f7e0769bbc | 179 | py | Python | libraries/python/telstra_data_usage/tests/test_sample.py | tvlfyi/ghuntley | 8bf49dd414b93185a5eeb9981c52051b2d7b33db | [
"BlueOak-1.0.0",
"Apache-2.0"
] | 48 | 2018-10-07T05:01:50.000Z | 2022-03-08T07:58:51.000Z | libraries/python/telstra_data_usage/tests/test_sample.py | BenjaminAbt/ghuntley | d614f88a2c900101aa2d6097328f3f8bc8e5fc44 | [
"BlueOak-1.0.0",
"Apache-2.0"
] | 61 | 2018-07-15T03:15:25.000Z | 2022-02-27T11:36:20.000Z | libraries/python/telstra_data_usage/tests/test_sample.py | BenjaminAbt/ghuntley | d614f88a2c900101aa2d6097328f3f8bc8e5fc44 | [
"BlueOak-1.0.0",
"Apache-2.0"
] | 15 | 2017-07-07T05:14:19.000Z | 2022-03-25T08:35:21.000Z | # Copyright (c) 2020 Geoffrey Huntley <ghuntley@ghuntley.com>. All rights reserved.
# SPDX-License-Identifier: Proprietary
def test_pass():
assert True, "dummy sample test"
| 25.571429 | 83 | 0.748603 | 23 | 179 | 5.782609 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.145251 | 179 | 6 | 84 | 29.833333 | 0.843137 | 0.659218 | 0 | 0 | 0 | 0 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4b07bb05675a5215427f2858c9a1cdd5318f7099 | 45 | py | Python | visigoth/charts/table/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | visigoth/charts/table/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | 1 | 2021-01-26T16:55:48.000Z | 2021-09-03T15:29:14.000Z | visigoth/charts/table/__init__.py | visigoths/visigoth | c5297148209d630f6668f0e5ba3039a8856d8320 | [
"MIT"
] | null | null | null | from visigoth.charts.table.table import Table | 45 | 45 | 0.866667 | 7 | 45 | 5.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b167786427c6fb55f2276fa1af5ad702efa2099 | 49 | py | Python | oligo/__init__.py | think-free/python-oligo | 1a7c9b81fb358f15ab53e3160d5d7b4dade4052e | [
"MIT"
] | 2 | 2019-10-01T20:06:49.000Z | 2019-10-01T20:13:03.000Z | oligo/__init__.py | think-free/python-oligo | 1a7c9b81fb358f15ab53e3160d5d7b4dade4052e | [
"MIT"
] | null | null | null | oligo/__init__.py | think-free/python-oligo | 1a7c9b81fb358f15ab53e3160d5d7b4dade4052e | [
"MIT"
] | 2 | 2019-10-01T21:48:36.000Z | 2020-04-29T23:11:11.000Z | from .iber import Iber, watthourmeter, icpstatus
| 24.5 | 48 | 0.816327 | 6 | 49 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9dd077cb59e6bc8af8fec882148943d40182aa4 | 156 | py | Python | CodeWars/7 Kyu/How far will I go.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/How far will I go.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/How far will I go.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def travel(total_time, run_time, rest_time, speed):
q, r = divmod(total_time, run_time + rest_time)
return (q * run_time + min(r, run_time)) * speed | 52 | 52 | 0.692308 | 27 | 156 | 3.703704 | 0.444444 | 0.28 | 0.24 | 0.32 | 0.48 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 156 | 3 | 52 | 52 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a0aac9a0273dd07bfdb3f2a88fde832068f7d54 | 72 | py | Python | examples/Shape Example/run.py | josepic99/mesas | 8453fe36b8536795ce5b80975fc9dbc604da42df | [
"Apache-2.0"
] | 27 | 2015-10-19T13:08:27.000Z | 2021-03-22T19:50:28.000Z | examples/Shape Example/run.py | josepic99/mesas | 8453fe36b8536795ce5b80975fc9dbc604da42df | [
"Apache-2.0"
] | 9 | 2016-10-04T22:53:30.000Z | 2021-03-05T16:48:23.000Z | examples/Shape Example/run.py | josepic99/mesas | 8453fe36b8536795ce5b80975fc9dbc604da42df | [
"Apache-2.0"
] | 50 | 2015-09-23T08:46:18.000Z | 2021-09-15T09:38:10.000Z | from shape_model.server import launch_shape_model
launch_shape_model()
| 18 | 49 | 0.875 | 11 | 72 | 5.272727 | 0.545455 | 0.517241 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 3 | 50 | 24 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8a4768e1543150c197203689f27aeaacf4d29fcc | 4,414 | py | Python | skyfield/tests/test_strs_and_reprs.py | facorazza/python-skyfield | 8d3dc132f43656766a58e3e1984363592aa1f11a | [
"MIT"
] | 765 | 2015-04-15T22:54:43.000Z | 2022-03-31T10:02:16.000Z | skyfield/tests/test_strs_and_reprs.py | facorazza/python-skyfield | 8d3dc132f43656766a58e3e1984363592aa1f11a | [
"MIT"
] | 589 | 2015-04-18T16:32:35.000Z | 2022-03-31T09:35:33.000Z | skyfield/tests/test_strs_and_reprs.py | facorazza/python-skyfield | 8d3dc132f43656766a58e3e1984363592aa1f11a | [
"MIT"
] | 169 | 2015-04-15T19:47:38.000Z | 2022-03-11T13:15:44.000Z | import textwrap
from ..api import Topos, load, wgs84
from ..sgp4lib import EarthSatellite
lines = [
'ISS (ZARYA) ',
'1 25544U 98067A 13330.58127943 .00000814 00000-0 21834-4 0 1064',
'2 25544 51.6484 23.7537 0001246 74.1647 18.7420 15.50540527859894',
]
def dedent(s):
return text... | 34.217054 | 105 | 0.628002 | 603 | 4,414 | 4.542289 | 0.167496 | 0.081782 | 0.064257 | 0.061336 | 0.805403 | 0.79226 | 0.760497 | 0.714859 | 0.714859 | 0.714859 | 0 | 0.148936 | 0.243996 | 4,414 | 128 | 106 | 34.484375 | 0.671861 | 0 | 0 | 0.675439 | 0 | 0.061404 | 0.53285 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 1 | 0.087719 | false | 0 | 0.026316 | 0.008772 | 0.122807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a695c14aab91f5b5f881e7bda1721db13e1c449 | 15,909 | py | Python | tests/test_command_handler.py | vdonga/FCR | 59c4c27d6974f55730cd9f6d219214c090928c7c | [
"BSD-3-Clause"
] | null | null | null | tests/test_command_handler.py | vdonga/FCR | 59c4c27d6974f55730cd9f6d219214c090928c7c | [
"BSD-3-Clause"
] | null | null | null | tests/test_command_handler.py | vdonga/FCR | 59c4c27d6974f55730cd9f6d219214c090928c7c | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file ... | 34.964835 | 88 | 0.598843 | 1,885 | 15,909 | 4.875862 | 0.10504 | 0.060385 | 0.045697 | 0.053748 | 0.814601 | 0.791209 | 0.768034 | 0.732129 | 0.713415 | 0.684365 | 0 | 0.016138 | 0.29499 | 15,909 | 454 | 89 | 35.04185 | 0.803317 | 0.028537 | 0 | 0.592486 | 0 | 0.00289 | 0.164033 | 0.00136 | 0 | 0 | 0 | 0 | 0.150289 | 1 | 0.011561 | false | 0 | 0.017341 | 0.00289 | 0.043353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
76dee53569e48ae7a7753b829def8d90ef41cd96 | 137 | py | Python | Profile & Portfolio Showcasing/services/views.py | Rajan917/Python-Django-Projects | e47ac342bf4a047931ed6a1784dbc3d4321aac59 | [
"MIT"
] | 3 | 2022-03-20T10:50:04.000Z | 2022-03-20T10:50:15.000Z | SUC/my_profile/services/views.py | Rajan917/Python-Django-Projects | e47ac342bf4a047931ed6a1784dbc3d4321aac59 | [
"MIT"
] | null | null | null | SUC/my_profile/services/views.py | Rajan917/Python-Django-Projects | e47ac342bf4a047931ed6a1784dbc3d4321aac59 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def services(request):
return render(request,'services/services.html') | 27.4 | 51 | 0.781022 | 18 | 137 | 5.944444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 137 | 5 | 51 | 27.4 | 0.891667 | 0.167883 | 0 | 0 | 0 | 0 | 0.19469 | 0.19469 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
76df4129e5de865d815a67ca36e121d2d0dc9777 | 63 | py | Python | backend/app/views/predict_bad_clone_rates/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 15 | 2018-02-12T13:12:13.000Z | 2021-08-15T11:37:59.000Z | backend/app/views/predict_bad_clone_rates/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 9 | 2020-06-05T17:54:54.000Z | 2022-02-12T12:03:19.000Z | backend/app/views/predict_bad_clone_rates/__init__.py | Edinburgh-Genome-Foundry/CUBA | d57565951ead619ef9263e8b356b451001fb910f | [
"MIT"
] | 3 | 2018-10-18T13:08:50.000Z | 2020-08-17T14:09:46.000Z | from .PredictBadCloneRatesView import PredictBadCloneRatesView
| 31.5 | 62 | 0.920635 | 4 | 63 | 14.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.983051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a45bddc730d6703b8a412ddb4a9cbb4f0bd5c09 | 22 | py | Python | hasan/app/models.py | ibrahimediz/flaskrest | e0d52d35dc5b3aff8a7a15832c84e1c3882c4f36 | [
"MIT"
] | null | null | null | hasan/app/models.py | ibrahimediz/flaskrest | e0d52d35dc5b3aff8a7a15832c84e1c3882c4f36 | [
"MIT"
] | null | null | null | hasan/app/models.py | ibrahimediz/flaskrest | e0d52d35dc5b3aff8a7a15832c84e1c3882c4f36 | [
"MIT"
] | null | null | null | from app import app,db | 22 | 22 | 0.818182 | 5 | 22 | 3.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a627520d64a15cc571ac29da99cae5ca4d56fae | 6,759 | py | Python | code/policies.py | Rayckey/ARS | 5613a6b9817b70af498ccc72fc1210dec35f9adc | [
"BSD-2-Clause"
] | null | null | null | code/policies.py | Rayckey/ARS | 5613a6b9817b70af498ccc72fc1210dec35f9adc | [
"BSD-2-Clause"
] | null | null | null | code/policies.py | Rayckey/ARS | 5613a6b9817b70af498ccc72fc1210dec35f9adc | [
"BSD-2-Clause"
] | null | null | null | '''
Policy class for computing action from weights and observation vector.
Horia Mania --- hmania@berkeley.edu
Aurelia Guy
Benjamin Recht
'''
import numpy as np
from ARS.code.filter import get_filter
class Policy(object):
def __init__(self, policy_params):
self.ob_dim = policy_params['ob_dim']
... | 35.761905 | 126 | 0.650096 | 1,012 | 6,759 | 4.079051 | 0.12747 | 0.044089 | 0.04094 | 0.031492 | 0.80814 | 0.781735 | 0.764535 | 0.744428 | 0.731831 | 0.730378 | 0 | 0.0127 | 0.231099 | 6,759 | 188 | 127 | 35.952128 | 0.781605 | 0.0975 | 0 | 0.698413 | 0 | 0 | 0.022347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.18254 | false | 0 | 0.015873 | 0.015873 | 0.333333 | 0.015873 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a69f66ed2420c6a0e7ed798e229af040bf61ce5 | 27 | py | Python | src/euler_python_package/euler_python/medium/p326.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p326.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p326.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem326():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6a91fcd1459677781a12e3e74f64879ca48ec088 | 104 | py | Python | integration/tests/multilines.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 1,013 | 2020-08-27T12:38:48.000Z | 2022-03-31T23:12:23.000Z | integration/tests/multilines.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 217 | 2020-08-31T11:18:10.000Z | 2022-03-30T17:50:30.000Z | integration/tests/multilines.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 54 | 2020-09-02T09:41:06.000Z | 2022-03-19T15:33:05.000Z | from tests import app
@app.route("/multilines")
def multilines():
return 'line1\nline2\nline3\n'
| 13 | 34 | 0.701923 | 14 | 104 | 5.214286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.153846 | 104 | 7 | 35 | 14.857143 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.313725 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6ad7b4330532db584e1ef655fe160d7ef732d096 | 115 | py | Python | post/admin.py | jatingupta14/cruzz | 9a00f1555cdd5c76c9ef250d7037d72d725de367 | [
"MIT"
] | 7 | 2018-11-09T14:40:54.000Z | 2019-12-20T08:10:17.000Z | post/admin.py | jatingupta14/cruzz | 9a00f1555cdd5c76c9ef250d7037d72d725de367 | [
"MIT"
] | 25 | 2018-11-30T17:38:36.000Z | 2018-12-27T17:21:09.000Z | post/admin.py | jatingupta14/cruzz | 9a00f1555cdd5c76c9ef250d7037d72d725de367 | [
"MIT"
] | 6 | 2018-12-03T14:44:29.000Z | 2018-12-26T11:49:43.000Z | # django
from django.contrib import admin
# local django
from post.models import Post
admin.site.register(Post)
| 12.777778 | 32 | 0.782609 | 17 | 115 | 5.294118 | 0.588235 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 8 | 33 | 14.375 | 0.918367 | 0.165217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a86b4fc5fcd07a0177ef8ecd01139e73c576574 | 795 | gyp | Python | deps/libgdal/gyp-formats/sdts.gyp | jimgambale/node-gdal | dc5c89fb23f1004732106250c8b7d57f380f9b61 | [
"Apache-2.0"
] | 1 | 2015-07-04T20:09:20.000Z | 2015-07-04T20:09:20.000Z | deps/libgdal/gyp-formats/sdts.gyp | jimgambale/node-gdal | dc5c89fb23f1004732106250c8b7d57f380f9b61 | [
"Apache-2.0"
] | null | null | null | deps/libgdal/gyp-formats/sdts.gyp | jimgambale/node-gdal | dc5c89fb23f1004732106250c8b7d57f380f9b61 | [
"Apache-2.0"
] | 2 | 2019-03-31T06:51:24.000Z | 2019-06-07T01:56:42.000Z | {
"includes": [
"../common.gypi"
],
"targets": [
{
"target_name": "libgdal_sdts_frmt",
"type": "static_library",
"sources": [
"../gdal/frmts/sdts/sdts2shp.cpp",
"../gdal/frmts/sdts/sdtsattrreader.cpp",
"../gdal/frmts/sdts/sdtscatd.cpp",
"../gdal/frmts/sdts/sdtsdataset.cpp",
"../gdal/... | 25.645161 | 47 | 0.606289 | 86 | 795 | 5.546512 | 0.372093 | 0.283019 | 0.381551 | 0.402516 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007452 | 0.155975 | 795 | 30 | 48 | 26.5 | 0.703428 | 0 | 0 | 0.066667 | 0 | 0 | 0.738365 | 0.597484 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0adee0afc64f65e7bf2d777a538e7f71d080d76f | 13,635 | py | Python | tests/integration/test_quorum_inserts/test.py | maqroll/ClickHouse | 85cf3e798a075ea42c14b868dc1fa911b2ae06fe | [
"Apache-2.0"
] | 1 | 2020-11-03T01:50:06.000Z | 2020-11-03T01:50:06.000Z | tests/integration/test_quorum_inserts/test.py | maqroll/ClickHouse | 85cf3e798a075ea42c14b868dc1fa911b2ae06fe | [
"Apache-2.0"
] | null | null | null | tests/integration/test_quorum_inserts/test.py | maqroll/ClickHouse | 85cf3e798a075ea42c14b868dc1fa911b2ae06fe | [
"Apache-2.0"
] | null | null | null | import time
import pytest
from helpers.cluster import ClickHouseCluster
from helpers.test_tools import TSV
cluster = ClickHouseCluster(__file__)
zero = cluster.add_instance("zero", user_configs=["configs/users.d/settings.xml"],
macros={"cluster": "anime", "shard": "0", "replica": "zero"},... | 45.149007 | 156 | 0.686542 | 1,808 | 13,635 | 4.893252 | 0.095133 | 0.059681 | 0.072341 | 0.090426 | 0.860631 | 0.835651 | 0.806714 | 0.785012 | 0.705663 | 0.683056 | 0 | 0.033094 | 0.2044 | 13,635 | 301 | 157 | 45.299003 | 0.782448 | 0.008874 | 0 | 0.417431 | 0 | 0 | 0.544815 | 0.253793 | 0 | 0 | 0 | 0.003322 | 0.12844 | 1 | 0.03211 | false | 0 | 0.018349 | 0 | 0.050459 | 0.151376 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e402f4ac017043a10a0a1b3ab8ac8a83969daf41 | 5,408 | py | Python | test/api/test_snapshot.py | WagPTech/grafana_api | 8a61bf64784947a3956b75c9d8326a679457d7bd | [
"MIT"
] | 107 | 2017-12-29T13:18:44.000Z | 2022-01-06T09:34:35.000Z | test/api/test_snapshot.py | WagPTech/grafana_api | 8a61bf64784947a3956b75c9d8326a679457d7bd | [
"MIT"
] | 75 | 2018-03-31T15:45:42.000Z | 2022-03-21T10:20:31.000Z | test/api/test_snapshot.py | WagPTech/grafana_api | 8a61bf64784947a3956b75c9d8326a679457d7bd | [
"MIT"
] | 76 | 2018-03-31T15:18:02.000Z | 2022-03-16T20:12:38.000Z | import unittest
import requests_mock
from grafana_api.grafana_face import GrafanaFace
class SnapshotTestCase(unittest.TestCase):
def setUp(self):
self.cli = GrafanaFace(
("admin", "admin"), host="localhost", url_path_prefix="", protocol="http"
)
@requests_mock.Mocker()
def t... | 35.116883 | 122 | 0.43676 | 452 | 5,408 | 5.103982 | 0.230089 | 0.034677 | 0.046814 | 0.054616 | 0.826181 | 0.819679 | 0.791938 | 0.781101 | 0.730819 | 0.698743 | 0 | 0.039935 | 0.435096 | 5,408 | 153 | 123 | 35.346405 | 0.715221 | 0 | 0 | 0.642857 | 0 | 0 | 0.259478 | 0.053264 | 0 | 0 | 0 | 0 | 0.042857 | 1 | 0.05 | false | 0 | 0.021429 | 0 | 0.078571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4030b4aea2f04ae8e4fc24f8e8f32ca53363ccd | 27 | py | Python | src/staticlocal/__init__.py | billsix/staticlocal | fe99ec9008a0c248830b17551ffd9ae1e4a0ca3e | [
"MIT"
] | null | null | null | src/staticlocal/__init__.py | billsix/staticlocal | fe99ec9008a0c248830b17551ffd9ae1e4a0ca3e | [
"MIT"
] | null | null | null | src/staticlocal/__init__.py | billsix/staticlocal | fe99ec9008a0c248830b17551ffd9ae1e4a0ca3e | [
"MIT"
] | null | null | null | from .staticlocal import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c5bb3a53679ff8c1a39b8c521e9d18078902e15 | 137 | py | Python | tests/conftest.py | StarfishPlatform/starfish-shells | 402f42770d57c83abe70122c621a0407f33cb2f4 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | StarfishPlatform/starfish-shells | 402f42770d57c83abe70122c621a0407f33cb2f4 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | StarfishPlatform/starfish-shells | 402f42770d57c83abe70122c621a0407f33cb2f4 | [
"Apache-2.0"
] | null | null | null | from .mock import mock_server, mock_starfish
# Noop, prevent "not used" cleanup
mock_server = mock_server
mock_starfish = mock_starfish
| 22.833333 | 44 | 0.810219 | 20 | 137 | 5.25 | 0.5 | 0.285714 | 0.4 | 0.419048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 137 | 5 | 45 | 27.4 | 0.882353 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7c7211ee2e54290f43b9f39573ea2aeba98c8b27 | 156 | py | Python | IMQ_server/src/main/python/db/topic_entity.py | snehseel/imq | 13bf0ef4a0c2f38cba9173b09d69248ee6ec51d7 | [
"MIT"
] | null | null | null | IMQ_server/src/main/python/db/topic_entity.py | snehseel/imq | 13bf0ef4a0c2f38cba9173b09d69248ee6ec51d7 | [
"MIT"
] | null | null | null | IMQ_server/src/main/python/db/topic_entity.py | snehseel/imq | 13bf0ef4a0c2f38cba9173b09d69248ee6ec51d7 | [
"MIT"
] | null | null | null | class Topic_entity:
def topic_name(self, value):
self.topic_name = value
def topic_status(self, value):
self.topic_status = value
| 19.5 | 34 | 0.660256 | 21 | 156 | 4.666667 | 0.380952 | 0.163265 | 0.265306 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25641 | 156 | 7 | 35 | 22.285714 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7c9d37a0083fe0f315c2f6b7e8debf228550347f | 6,524 | py | Python | BrainMaGe/models/networks.py | Terf/BrainMaGe | a824baf39404afd4e79a13ae7ea1c9e603b0469e | [
"BSD-3-Clause"
] | null | null | null | BrainMaGe/models/networks.py | Terf/BrainMaGe | a824baf39404afd4e79a13ae7ea1c9e603b0469e | [
"BSD-3-Clause"
] | null | null | null | BrainMaGe/models/networks.py | Terf/BrainMaGe | a824baf39404afd4e79a13ae7ea1c9e603b0469e | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun May 24 06:16:01 2020
@author: siddhesh
"""
import torch.nn as nn
import torch
from BrainMaGe.models.seg_modules import in_conv, DownsamplingModule, EncodingModule
from BrainMaGe.models.seg_modules import UpsamplingModule, DecodingModule
from BrainMaGe.... | 40.775 | 100 | 0.645616 | 994 | 6,524 | 3.980885 | 0.104628 | 0.24463 | 0.063685 | 0.040435 | 0.791509 | 0.788729 | 0.735911 | 0.718221 | 0.718221 | 0.718221 | 0 | 0.059677 | 0.23973 | 6,524 | 159 | 101 | 41.031447 | 0.738105 | 0.015021 | 0 | 0.635037 | 0 | 0 | 0.014025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051095 | false | 0 | 0.036496 | 0 | 0.138686 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b0b01553f84f3f70d1e6adef28c41ac1866ddca | 85 | py | Python | subrename/main.py | kevinzg/subrename | 1785ea2112f34c8cfaeabcf3e2d8faa52dc2bec9 | [
"MIT"
] | null | null | null | subrename/main.py | kevinzg/subrename | 1785ea2112f34c8cfaeabcf3e2d8faa52dc2bec9 | [
"MIT"
] | 3 | 2020-03-31T09:51:49.000Z | 2021-06-02T00:41:03.000Z | subrename/main.py | kevinzg/subrename | 1785ea2112f34c8cfaeabcf3e2d8faa52dc2bec9 | [
"MIT"
] | null | null | null | import fire
from .subrename import Subrename
def main():
fire.Fire(Subrename)
| 10.625 | 32 | 0.729412 | 11 | 85 | 5.636364 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 7 | 33 | 12.142857 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
860d6cd6674b59bb72c2c6c38fa086d390c46f32 | 106 | py | Python | Lab_2/bae.py | gradampl/MONTY | db8646b0fdb1f7220b0417ee1e2d72da2e07bfd0 | [
"MIT"
] | null | null | null | Lab_2/bae.py | gradampl/MONTY | db8646b0fdb1f7220b0417ee1e2d72da2e07bfd0 | [
"MIT"
] | null | null | null | Lab_2/bae.py | gradampl/MONTY | db8646b0fdb1f7220b0417ee1e2d72da2e07bfd0 | [
"MIT"
] | null | null | null | numbers = [1,2,3,1,2,5,6,7,3,9,2,8,11,7]
print(list(set(numbers)))
# Result: [1, 2, 3, 5, 6, 7, 8, 9, 11] | 26.5 | 40 | 0.537736 | 29 | 106 | 1.965517 | 0.482759 | 0.105263 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274725 | 0.141509 | 106 | 4 | 41 | 26.5 | 0.351648 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
861b9873378c4b279e41c69ad5bc8369572c456a | 170,866 | py | Python | tests/adapters/test_kraken_trading_adapter.py | SwamyDev/datums-warehouse | ee7530d4e11d40932328ae2513dd205d2c563491 | [
"MIT"
] | null | null | null | tests/adapters/test_kraken_trading_adapter.py | SwamyDev/datums-warehouse | ee7530d4e11d40932328ae2513dd205d2c563491 | [
"MIT"
] | null | null | null | tests/adapters/test_kraken_trading_adapter.py | SwamyDev/datums-warehouse | ee7530d4e11d40932328ae2513dd205d2c563491 | [
"MIT"
] | null | null | null | import pytest
from datums_warehouse.broker.adapters import KrakenAdapter
from datums_warehouse.broker.source import get_trades
from datums_warehouse.broker.validation import DataError
EXPECTED_OHLC = "timestamp,open,high,low,close,vwap,volume,count\n" \
"1571122800,7537.3,7564.8,7533.9,7557.6,7556.0,5... | 1,817.723404 | 58,204 | 0.625045 | 24,481 | 170,866 | 4.360279 | 0.243168 | 0.016938 | 0.009387 | 0.003607 | 0.541614 | 0.494182 | 0.484898 | 0.481517 | 0.481142 | 0.480374 | 0 | 0.581725 | 0.003693 | 170,866 | 93 | 58,205 | 1,837.268817 | 0.045314 | 0 | 0 | 0.276923 | 0 | 0.2 | 0.985339 | 0.98524 | 0 | 0 | 0 | 0 | 0.107692 | 1 | 0.2 | false | 0 | 0.123077 | 0.061538 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8629e2f8a075165876d107f2641c13f60663eccd | 14,035 | py | Python | dcase_util/datasets/dcase2013.py | ankitshah009/dcase_util | 738571ce78faf60b0fdfa1d59fd42f42c8944f3d | [
"MIT"
] | null | null | null | dcase_util/datasets/dcase2013.py | ankitshah009/dcase_util | 738571ce78faf60b0fdfa1d59fd42f42c8944f3d | [
"MIT"
] | null | null | null | dcase_util/datasets/dcase2013.py | ankitshah009/dcase_util | 738571ce78faf60b0fdfa1d59fd42f42c8944f3d | [
"MIT"
] | null | null | null | # !/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function, absolute_import
import os
import numpy
from dcase_util.datasets import AcousticSceneDataset
from dcase_util.containers import MetaDataContainer, MetaDataItem
from dcase_util.utils import Path
class DCASE2013_Scenes_DevelopmentSe... | 32.413395 | 133 | 0.516779 | 1,284 | 14,035 | 5.419003 | 0.172897 | 0.016384 | 0.032768 | 0.038804 | 0.860736 | 0.844352 | 0.838316 | 0.830555 | 0.830555 | 0.830555 | 0 | 0.018435 | 0.400926 | 14,035 | 432 | 134 | 32.488426 | 0.80911 | 0.132882 | 0 | 0.654676 | 0 | 0 | 0.146794 | 0.024678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014388 | false | 0 | 0.028777 | 0 | 0.057554 | 0.003597 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
863f5bc4ee8947bd82afd245ff3717e82937c705 | 11,593 | py | Python | tests/components/homekit/test_type_switches.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 1 | 2021-07-08T20:09:55.000Z | 2021-07-08T20:09:55.000Z | tests/components/homekit/test_type_switches.py | pcaston/core | e74d946cef7a9d4e232ae9e0ba150d18018cfe33 | [
"Apache-2.0"
] | 47 | 2021-02-21T23:43:07.000Z | 2022-03-31T06:07:10.000Z | tests/components/homekit/test_type_switches.py | OpenPeerPower/core | f673dfac9f2d0c48fa30af37b0a99df9dd6640ee | [
"Apache-2.0"
] | null | null | null | """Test different accessory types: Switches."""
from datetime import timedelta
import pytest
from openpeerpower.components.homekit.const import (
ATTR_VALUE,
TYPE_FAUCET,
TYPE_SHOWER,
TYPE_SPRINKLER,
TYPE_VALVE,
)
from openpeerpower.components.homekit.type_switches import Outlet, Switch, Vacuum, V... | 32.564607 | 88 | 0.717933 | 1,785 | 11,593 | 4.337815 | 0.071709 | 0.064058 | 0.088984 | 0.095312 | 0.850058 | 0.830686 | 0.803565 | 0.780834 | 0.753455 | 0.73589 | 0 | 0.009729 | 0.184335 | 11,593 | 355 | 89 | 32.656338 | 0.809116 | 0.020357 | 0 | 0.680147 | 0 | 0 | 0.02826 | 0 | 0 | 0 | 0 | 0 | 0.356618 | 1 | 0 | false | 0 | 0.033088 | 0 | 0.033088 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86b5138622d3dc4d2082778ceebeb85ad8b327b3 | 36,570 | py | Python | sdk/textanalytics/azure-ai-textanalytics/tests/test_batch.py | leonardbf/azure-sdk-for-python | efa43f4db6a97506ed0c6780c0bd4475a396db10 | [
"MIT"
] | 1 | 2021-06-02T08:01:35.000Z | 2021-06-02T08:01:35.000Z | sdk/textanalytics/azure-ai-textanalytics/tests/test_batch.py | montgomp/azure-sdk-for-python | 0ffb0b0de095b97cbc5b69309bbce0a3b91d3eb4 | [
"MIT"
] | null | null | null | sdk/textanalytics/azure-ai-textanalytics/tests/test_batch.py | montgomp/azure-sdk-for-python | 0ffb0b0de095b97cbc5b69309bbce0a3b91d3eb4 | [
"MIT"
] | null | null | null | # coding=utf-8
# ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
import pytest
from azure.core.exceptions import HttpResponseError
from azure.ai.textanalytics import (
TextAnalyticsClient,
DetectLanguageInput,
... | 51.075419 | 147 | 0.667979 | 4,130 | 36,570 | 5.669249 | 0.068039 | 0.143248 | 0.143504 | 0.086102 | 0.91031 | 0.89502 | 0.862305 | 0.854489 | 0.848595 | 0.837832 | 0 | 0.01167 | 0.215012 | 36,570 | 715 | 148 | 51.146853 | 0.80395 | 0.004238 | 0 | 0.679279 | 0 | 0.001802 | 0.15054 | 0 | 0 | 0 | 0 | 0 | 0.230631 | 1 | 0.111712 | false | 0.003604 | 0.007207 | 0 | 0.120721 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86beeefb54903309a4be77da503d0f28d22ad218 | 137 | py | Python | diff_gpmp2/learning/__init__.py | mhmukadam/dgpmp2 | b55c10f2a2fcff2cbf0e3291e0fff97fefa86661 | [
"BSD-3-Clause"
] | 31 | 2020-08-12T19:07:29.000Z | 2022-02-22T10:52:53.000Z | diff_gpmp2/learning/__init__.py | mhmukadam/dgpmp2 | b55c10f2a2fcff2cbf0e3291e0fff97fefa86661 | [
"BSD-3-Clause"
] | null | null | null | diff_gpmp2/learning/__init__.py | mhmukadam/dgpmp2 | b55c10f2a2fcff2cbf0e3291e0fff97fefa86661 | [
"BSD-3-Clause"
] | 7 | 2020-08-14T14:41:39.000Z | 2021-11-03T08:17:09.000Z | from .initialization_network import InitNet
from .learn_module_fcn import LearnModuleFCN
from .learn_module_conv import LearnModuleConv
| 34.25 | 46 | 0.883212 | 17 | 137 | 6.823529 | 0.647059 | 0.155172 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 3 | 47 | 45.666667 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86bf6b6e43425723a8452bc7ec7a946c673348ff | 65 | py | Python | curve_analysis/curve_analysis/__init__.py | Cozieee/mlpp-playground | 89aa4294cbd8715a5901accc3e6953d2edfcc267 | [
"MIT"
] | null | null | null | curve_analysis/curve_analysis/__init__.py | Cozieee/mlpp-playground | 89aa4294cbd8715a5901accc3e6953d2edfcc267 | [
"MIT"
] | 1 | 2020-06-09T16:43:25.000Z | 2020-06-09T16:43:25.000Z | curve_analysis/curve_analysis/__init__.py | Cozieee/mlpp-playground | 89aa4294cbd8715a5901accc3e6953d2edfcc267 | [
"MIT"
] | 1 | 2020-06-05T20:27:20.000Z | 2020-06-05T20:27:20.000Z | from .curves import *
from .formulas import *
from .lex import *
| 16.25 | 23 | 0.723077 | 9 | 65 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 24 | 21.666667 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86c01dfeaedd6f0060d7581c7247d13242e3a6ae | 16,739 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/community/hrobot/tests/unit/plugins/modules/test_boot.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/community/hrobot/tests/unit/plugins/modules/test_boot.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/community/hrobot/tests/unit/plugins/modules/test_boot.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | # (c) 2021 Felix Fontein <felix@fontein.de>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
from ansible_collections.community.internal_test_tools.tests.unit.utils.fetch_url_module_fra... | 35.463983 | 137 | 0.52542 | 1,651 | 16,739 | 5.067838 | 0.118716 | 0.063105 | 0.027489 | 0.038485 | 0.797538 | 0.760249 | 0.741484 | 0.719254 | 0.698339 | 0.689853 | 0 | 0.029915 | 0.332995 | 16,739 | 471 | 138 | 35.539278 | 0.719481 | 0.013442 | 0 | 0.75174 | 0 | 0 | 0.232419 | 0.008723 | 0 | 0 | 0 | 0 | 0.102088 | 1 | 0.053364 | false | 0.081207 | 0.009281 | 0.011601 | 0.085847 | 0.00232 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
86e53ec262227421bf7d7bda7ce0ad9086e3bdc6 | 12,662 | py | Python | tests/cvrp/classical_operators.py | fberanizo/sin5006 | 96f7980b5ff61bd4af7852c9d733521edde540eb | [
"BSD-2-Clause"
] | null | null | null | tests/cvrp/classical_operators.py | fberanizo/sin5006 | 96f7980b5ff61bd4af7852c9d733521edde540eb | [
"BSD-2-Clause"
] | null | null | null | tests/cvrp/classical_operators.py | fberanizo/sin5006 | 96f7980b5ff61bd4af7852c9d733521edde540eb | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import sys, os
sys.path.insert(0, os.path.abspath('../..'))
import unittest, ga, cvrp, grid_search, re, math, numpy, itertools, matplotlib.pyplot as plt
class ClassicalOperators(unittest.TestCase):
"""Test cases for CVRP problem."""
grid_search = False
def test_1(self):
"... | 46.551471 | 186 | 0.60338 | 1,496 | 12,662 | 5.006016 | 0.130348 | 0.050741 | 0.053412 | 0.035252 | 0.893844 | 0.883563 | 0.874616 | 0.872213 | 0.863266 | 0.860729 | 0 | 0.038746 | 0.262123 | 12,662 | 272 | 187 | 46.551471 | 0.762817 | 0.114753 | 0 | 0.625 | 0 | 0.045455 | 0.205708 | 0.092847 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.028409 | false | 0 | 0.011364 | 0 | 0.056818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4a94dd1cf53df8e498ba7a8529ed73ac08b195b | 18 | py | Python | src/iqapt/model/__init__.py | winterYANGWT/IQAPT-Image_Quality_Assessment_Pytorch | 11711fea8b5376373706fcb5f1ec48e108483f08 | [
"MIT"
] | 1 | 2021-11-10T08:30:40.000Z | 2021-11-10T08:30:40.000Z | src/iqapt/model/__init__.py | winterYANGWT/IQAPT-Image_Quality_Assessment_Pytorch | 11711fea8b5376373706fcb5f1ec48e108483f08 | [
"MIT"
] | null | null | null | src/iqapt/model/__init__.py | winterYANGWT/IQAPT-Image_Quality_Assessment_Pytorch | 11711fea8b5376373706fcb5f1ec48e108483f08 | [
"MIT"
] | 1 | 2022-02-05T03:18:38.000Z | 2022-02-05T03:18:38.000Z | from . import fid
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4e812f4d804d69eef8c253b3d2f6cd70c248e8f | 154 | py | Python | bonus2/collateral/filters_role/roles/my_role/filter_plugins/my_filter.py | kinther/ansible_course | 5ff96b857d7b1ddb359526fed128feefba8ebb90 | [
"Apache-2.0"
] | 14 | 2020-01-24T21:52:51.000Z | 2021-05-24T01:58:08.000Z | bonus2/collateral/filters_role/roles/my_role/filter_plugins/my_filter.py | kinther/ansible_course | 5ff96b857d7b1ddb359526fed128feefba8ebb90 | [
"Apache-2.0"
] | null | null | null | bonus2/collateral/filters_role/roles/my_role/filter_plugins/my_filter.py | kinther/ansible_course | 5ff96b857d7b1ddb359526fed128feefba8ebb90 | [
"Apache-2.0"
] | 26 | 2020-03-29T20:17:29.000Z | 2022-03-28T19:13:40.000Z | def some_filter(my_string):
return my_string.upper()
class FilterModule(object):
def filters(self):
return {"some_filter": some_filter}
| 19.25 | 43 | 0.701299 | 20 | 154 | 5.15 | 0.6 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188312 | 154 | 7 | 44 | 22 | 0.824 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
07b2ef269fe69281762487e6f53ca6d1fb686fa2 | 46 | py | Python | cblearn/embedding/wrapper/__init__.py | Conzel/cblearn | 4e75ba5533796607d7c182b37d2ab108324f2b54 | [
"MIT"
] | 7 | 2021-11-19T13:53:56.000Z | 2022-03-28T18:39:04.000Z | cblearn/embedding/wrapper/__init__.py | Conzel/cblearn | 4e75ba5533796607d7c182b37d2ab108324f2b54 | [
"MIT"
] | 20 | 2021-09-24T11:39:06.000Z | 2022-03-17T15:50:06.000Z | cblearn/embedding/wrapper/__init__.py | Conzel/cblearn | 4e75ba5533796607d7c182b37d2ab108324f2b54 | [
"MIT"
] | 3 | 2021-11-24T13:23:17.000Z | 2022-03-24T08:57:20.000Z | from ._mlds import MLDS
from ._soe import SOE
| 15.333333 | 23 | 0.782609 | 8 | 46 | 4.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 24 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.