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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6b9521c12e4bafd99f03ae4db370ef7641e04e56 | 9,199 | py | Python | beaver/tests/test_sqs_transport.py | timstoop/python-beaver | 434e9560f0f6164d0739132f45ea01cded2eb8c2 | [
"MIT"
] | 129 | 2016-01-15T15:27:32.000Z | 2022-03-20T10:44:50.000Z | beaver/tests/test_sqs_transport.py | timstoop/python-beaver | 434e9560f0f6164d0739132f45ea01cded2eb8c2 | [
"MIT"
] | 136 | 2015-12-30T16:42:31.000Z | 2021-07-27T05:56:00.000Z | beaver/tests/test_sqs_transport.py | timstoop/python-beaver | 434e9560f0f6164d0739132f45ea01cded2eb8c2 | [
"MIT"
] | 45 | 2016-01-11T15:27:53.000Z | 2021-11-20T17:28:24.000Z | # -*- coding: utf-8 -*-
import sys
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
import unittest
import mock
import tempfile
import logging
import beaver
from beaver.config import BeaverConfig
from beaver.transports import create_transport
from beaver.unicode_dammit import unicode_dammit
f... | 35.380769 | 85 | 0.672899 | 1,172 | 9,199 | 4.959898 | 0.091297 | 0.148632 | 0.18321 | 0.179597 | 0.865646 | 0.862721 | 0.859109 | 0.859109 | 0.858421 | 0.858421 | 0 | 0.005956 | 0.215132 | 9,199 | 259 | 86 | 35.517375 | 0.799169 | 0.002283 | 0 | 0.794258 | 0 | 0 | 0.139712 | 0.002942 | 0 | 0 | 0 | 0 | 0.057416 | 0 | null | null | 0 | 0.062201 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
d84dad7c9892cf52b6ebc440fe41e1c324e5bd52 | 5,097 | py | Python | ixian_docker/tests/modules/docker/utils/snapshots/snap_test_images.py | kreneskyp/ixian-docker | ce7a6cee2f961b8446dc3d9429a809ab5a235467 | [
"Apache-2.0"
] | null | null | null | ixian_docker/tests/modules/docker/utils/snapshots/snap_test_images.py | kreneskyp/ixian-docker | ce7a6cee2f961b8446dc3d9429a809ab5a235467 | [
"Apache-2.0"
] | null | null | null | ixian_docker/tests/modules/docker/utils/snapshots/snap_test_images.py | kreneskyp/ixian-docker | ce7a6cee2f961b8446dc3d9429a809ab5a235467 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from pysnap import Snapshot
snapshots = Snapshot()
snapshots['TestPush.test_push 1'] = '''The push refers to repository [896552222739.dkr.ecr.us-west-2.amazonaws.com/lims/testing]
77cae8ab23bf: Preparing \x1b[... | 115.840909 | 953 | 0.561114 | 507 | 5,097 | 5.579882 | 0.21499 | 0.063627 | 0.114175 | 0.135737 | 0.908095 | 0.875574 | 0.866384 | 0.857547 | 0.830329 | 0.830329 | 0 | 0.211452 | 0.218756 | 5,097 | 43 | 954 | 118.534884 | 0.498995 | 0.012164 | 0 | 0.413793 | 0 | 0.310345 | 0.939587 | 0.518879 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
d8ae555e22f27e3cf9b91971b3e9c1d7ebb51d22 | 6,800 | py | Python | rubato/utils/color.py | mrElnekave/rubato | 462a5c8ffdea918dd9241ebc228140cd90b9da1d | [
"MIT"
] | null | null | null | rubato/utils/color.py | mrElnekave/rubato | 462a5c8ffdea918dd9241ebc228140cd90b9da1d | [
"MIT"
] | null | null | null | rubato/utils/color.py | mrElnekave/rubato | 462a5c8ffdea918dd9241ebc228140cd90b9da1d | [
"MIT"
] | null | null | null | """
A Color class
"""
from rubato.utils import PMath
class HSV:
"""
An HSV implementation.
"""
def __init__(self, h=0.0, s=0.0, v=0.0):
self.h: float = h
self.s: float = s
self.v: float = v
def set(self, value):
self.h = value
self.s = value
self.v... | 23.611111 | 77 | 0.453382 | 1,078 | 6,800 | 2.772727 | 0.091837 | 0.149883 | 0.058883 | 0.036802 | 0.804282 | 0.756775 | 0.756775 | 0.756775 | 0.701238 | 0.701238 | 0 | 0.087085 | 0.402206 | 6,800 | 287 | 78 | 23.69338 | 0.648216 | 0.065 | 0 | 0.814655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.00431 | 0.008621 | 0.232759 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8d35cbf1cac2ec60d217224cc5557a771d52cbf | 11,195 | py | Python | africanus/gridding/perleypolyhedron/degridder.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 13 | 2018-04-06T09:36:13.000Z | 2021-04-13T13:11:00.000Z | africanus/gridding/perleypolyhedron/degridder.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 153 | 2018-03-28T14:13:48.000Z | 2022-02-03T07:49:17.000Z | africanus/gridding/perleypolyhedron/degridder.py | JoshVStaden/codex-africanus | 4a38994431d51510b1749fa0e4b8b6190b8b530f | [
"BSD-3-Clause"
] | 14 | 2018-03-29T13:30:52.000Z | 2021-06-12T02:56:55.000Z | import numpy as np
from numba import literally, prange
from africanus.util.numba import jit
from africanus.gridding.perleypolyhedron.policies import (
baseline_transform_policies as btp)
from africanus.gridding.perleypolyhedron.policies import (
phase_transform_policies as ptp)
from africanus.gridding.perleypo... | 42.086466 | 79 | 0.537025 | 1,045 | 11,195 | 5.579904 | 0.152153 | 0.069971 | 0.045275 | 0.034985 | 0.889727 | 0.87978 | 0.844795 | 0.838621 | 0.811868 | 0.811868 | 0 | 0.010943 | 0.404109 | 11,195 | 265 | 80 | 42.245283 | 0.863139 | 0.248682 | 0 | 0.744898 | 0 | 0 | 0.067424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015306 | false | 0 | 0.035714 | 0 | 0.061224 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d8d825fa916e70de61553893fc8f4a59b5391526 | 54 | py | Python | odin/ml/poincare_embedding.py | tirkarthi/odin-ai | 7900bef82ad8801d0c73880330d5b24d9ff7cd06 | [
"MIT"
] | 7 | 2020-12-29T19:35:58.000Z | 2022-01-31T21:01:30.000Z | odin/ml/poincare_embedding.py | tirkarthi/odin-ai | 7900bef82ad8801d0c73880330d5b24d9ff7cd06 | [
"MIT"
] | 3 | 2020-02-06T16:44:17.000Z | 2020-09-26T05:26:14.000Z | odin/ml/poincare_embedding.py | tirkarthi/odin-ai | 7900bef82ad8801d0c73880330d5b24d9ff7cd06 | [
"MIT"
] | 6 | 2019-02-14T01:36:28.000Z | 2020-10-30T13:16:32.000Z | import numpy as np
def poincare_embedding():
pass
| 9 | 25 | 0.740741 | 8 | 54 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 54 | 5 | 26 | 10.8 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
d8f80bcaf4050723196a11354fc04b452a9deab6 | 8,472 | py | Python | segmentation_models_pytorch/unet/decoder.py | Soo95/segmentation_models.pytorch | 9131b336d6939dfabbadecd0d56d382283f46803 | [
"MIT"
] | null | null | null | segmentation_models_pytorch/unet/decoder.py | Soo95/segmentation_models.pytorch | 9131b336d6939dfabbadecd0d56d382283f46803 | [
"MIT"
] | null | null | null | segmentation_models_pytorch/unet/decoder.py | Soo95/segmentation_models.pytorch | 9131b336d6939dfabbadecd0d56d382283f46803 | [
"MIT"
] | 1 | 2020-04-03T10:50:41.000Z | 2020-04-03T10:50:41.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
from ..common.blocks import Conv2dReLU, ConvBn2d, sSE, cSE
from ..base.model import Model
class DecoderBlock(nn.Module):
def __init__(self, in_channels, out_channels, use_batchnorm=True):
super().__init__()
self.block = nn.Sequent... | 35.596639 | 106 | 0.616029 | 1,042 | 8,472 | 4.757198 | 0.095969 | 0.11862 | 0.066573 | 0.106516 | 0.88138 | 0.866855 | 0.860601 | 0.841638 | 0.825096 | 0.825096 | 0 | 0.036653 | 0.272191 | 8,472 | 238 | 107 | 35.596639 | 0.767272 | 0 | 0 | 0.743456 | 0 | 0 | 0.006373 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073298 | false | 0 | 0.026178 | 0.005236 | 0.17801 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b59346da29d2fc0eeca3cb8eccca3ae0679a255 | 89 | py | Python | annotator/__init__.py | quinnpertuit1/ml-annotate | 1fb5321db2168d118feb02d1d9d55f1a890e602b | [
"MIT"
] | 88 | 2017-08-08T08:00:20.000Z | 2022-02-03T18:18:01.000Z | annotator/__init__.py | quinnpertuit1/ml-annotate | 1fb5321db2168d118feb02d1d9d55f1a890e602b | [
"MIT"
] | 1 | 2020-04-10T17:59:11.000Z | 2020-04-12T14:07:03.000Z | annotator/__init__.py | quinnpertuit1/ml-annotate | 1fb5321db2168d118feb02d1d9d55f1a890e602b | [
"MIT"
] | 21 | 2018-02-10T15:56:39.000Z | 2021-08-13T05:30:29.000Z | from .app import app # noqa
import annotator.cli # noqa
import annotator.views # noqa
| 22.25 | 30 | 0.741573 | 13 | 89 | 5.076923 | 0.538462 | 0.30303 | 0.575758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191011 | 89 | 3 | 31 | 29.666667 | 0.916667 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2b61e947bb2b1dffd4af25610930bfcd399abb42 | 330 | py | Python | src/ostorlab/cli/scan/run/assets/__init__.py | ju-c/ostorlab | 92c6edc204f3a0c32d0f28a37010cbeddb1818db | [
"Apache-2.0"
] | null | null | null | src/ostorlab/cli/scan/run/assets/__init__.py | ju-c/ostorlab | 92c6edc204f3a0c32d0f28a37010cbeddb1818db | [
"Apache-2.0"
] | null | null | null | src/ostorlab/cli/scan/run/assets/__init__.py | ju-c/ostorlab | 92c6edc204f3a0c32d0f28a37010cbeddb1818db | [
"Apache-2.0"
] | null | null | null | """Module contains all the supported assets that we can pass to the scan command."""
from ostorlab.cli.scan.run.assets import android_apk
from ostorlab.cli.scan.run.assets import android_aab
from ostorlab.cli.scan.run.assets import ios_ipa
from ostorlab.cli.scan.run.assets import file
from ostorlab.cli.scan.run.assets ... | 47.142857 | 84 | 0.815152 | 57 | 330 | 4.666667 | 0.438596 | 0.225564 | 0.281955 | 0.357143 | 0.691729 | 0.691729 | 0.691729 | 0.308271 | 0 | 0 | 0 | 0 | 0.10303 | 330 | 6 | 85 | 55 | 0.898649 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
99160d31de189dece81d2ad05cb55f33b26bd0d9 | 340 | py | Python | NanoPush/Polish_Call_Function.py | KristinaUlicna/NanoPush | 7d9be1ea5b0c686920b33c2278fb9a7b30c0f7d0 | [
"MIT"
] | 2 | 2019-10-13T21:30:47.000Z | 2020-08-18T13:37:13.000Z | NanoPush/Polish_Call_Function.py | KristinaUlicna/NanoPush | 7d9be1ea5b0c686920b33c2278fb9a7b30c0f7d0 | [
"MIT"
] | null | null | null | NanoPush/Polish_Call_Function.py | KristinaUlicna/NanoPush | 7d9be1ea5b0c686920b33c2278fb9a7b30c0f7d0 | [
"MIT"
] | null | null | null | #Make a dictionary for Drone Nanopolish data:
from PolishClassif_Functions import ClassifyCpGsPolishDrone
ClassifyCpGsPolishDrone("/Users/kristinaulicna/Documents/Rotation_1/Archive/DRONE/NewSelectedFromRob/HelperFolder/Sorted_Drone_Sel_M_NoNone.txt", "/Users/kristinaulicna/Documents/Rotation_1/Archive/DRONE/Nanopolis... | 68 | 232 | 0.873529 | 38 | 340 | 7.605263 | 0.710526 | 0.103806 | 0.193772 | 0.249135 | 0.3391 | 0.3391 | 0.3391 | 0 | 0 | 0 | 0 | 0.015385 | 0.044118 | 340 | 4 | 233 | 85 | 0.873846 | 0.129412 | 0 | 0 | 0 | 0 | 0.664407 | 0.664407 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
997bbd74d96e9a1b553c517fd810cf56a3bae966 | 2,269 | py | Python | model_trainer/models/conv_layers.py | NeverendingNotification/nnlibs | 193344b0ae25040a75ef000ed629f4150991064c | [
"MIT"
] | null | null | null | model_trainer/models/conv_layers.py | NeverendingNotification/nnlibs | 193344b0ae25040a75ef000ed629f4150991064c | [
"MIT"
] | null | null | null | model_trainer/models/conv_layers.py | NeverendingNotification/nnlibs | 193344b0ae25040a75ef000ed629f4150991064c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Oct 3 07:09:54 2018
@author: nn
"""
import tensorflow as tf
def get_conv_layers(in_img, is_train, conv_layer_params,
var_name="conv"):
layer_type = conv_layer_params["layer_type"]
n_dim = conv_layer_params["n_dim"]
act =... | 39.807018 | 81 | 0.62803 | 368 | 2,269 | 3.722826 | 0.168478 | 0.056934 | 0.170803 | 0.164234 | 0.805109 | 0.805109 | 0.805109 | 0.805109 | 0.805109 | 0.805109 | 0 | 0.039776 | 0.21331 | 2,269 | 57 | 82 | 39.807018 | 0.727731 | 0.040547 | 0 | 0.74359 | 0 | 0 | 0.042416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.025641 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
99a8c4cfdfe8933fc64f63675a7cbb97ba7ab036 | 15,180 | py | Python | api/migrations/0001_initial.py | altest-com/siice-api | 322098b91a8dc22de1dddb5102a4c8beddd9a009 | [
"MIT"
] | null | null | null | api/migrations/0001_initial.py | altest-com/siice-api | 322098b91a8dc22de1dddb5102a4c8beddd9a009 | [
"MIT"
] | null | null | null | api/migrations/0001_initial.py | altest-com/siice-api | 322098b91a8dc22de1dddb5102a4c8beddd9a009 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.2 on 2020-04-21 15:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('drf_schemas', '0001_initial'),
]
operations = [
migrations.CreateModel(
nam... | 55.2 | 235 | 0.575692 | 1,443 | 15,180 | 5.895357 | 0.085932 | 0.041378 | 0.108616 | 0.088163 | 0.834842 | 0.810039 | 0.751499 | 0.733631 | 0.733631 | 0.733631 | 0 | 0.006857 | 0.269829 | 15,180 | 274 | 236 | 55.40146 | 0.760646 | 0.002964 | 0 | 0.681648 | 1 | 0 | 0.156677 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.022472 | 0.007491 | 0 | 0.022472 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
41fc38591cc5cd392b4c419721267ba95bab30ba | 169,418 | py | Python | angr/procedures/definitions/win32_wintrust.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_wintrust.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | angr/procedures/definitions/win32_wintrust.py | r4b3rt/angr | c133cfd4f83ffea2a1d9e064241e9459eaabc55f | [
"BSD-2-Clause"
] | null | null | null | # pylint:disable=line-too-long
import logging
from ...sim_type import SimTypeFunction, SimTypeShort, SimTypeInt, SimTypeLong, SimTypeLongLong, SimTypeDouble, SimTypeFloat, SimTypePointer, SimTypeChar, SimStruct, SimTypeFixedSizeArray, SimTypeBottom, SimUnion, SimTypeBool
from ...calling... | 1,193.084507 | 43,475 | 0.754755 | 18,537 | 169,418 | 6.840319 | 0.029185 | 0.140821 | 0.153526 | 0.19008 | 0.965441 | 0.961056 | 0.957121 | 0.952239 | 0.950063 | 0.946088 | 0 | 0.018898 | 0.054841 | 169,418 | 141 | 43,476 | 1,201.546099 | 0.772968 | 0.000165 | 0 | 0 | 0 | 0 | 0.270264 | 0.036918 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.054054 | 0.067568 | 0 | 0.067568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
511d04eaf8c460cc7046d62af0295d1b97ed62d7 | 4,587 | py | Python | KISSmetrics/tests/test_integration.py | kissmetrics/py-KISSmetrics | 11cfc589e623f0bab8bc450f6fd169715544e377 | [
"MIT"
] | 2 | 2015-07-23T13:33:05.000Z | 2016-08-19T16:02:25.000Z | KISSmetrics/tests/test_integration.py | kissmetrics/py-KISSmetrics | 11cfc589e623f0bab8bc450f6fd169715544e377 | [
"MIT"
] | 7 | 2015-03-27T15:18:33.000Z | 2020-06-17T20:58:54.000Z | KISSmetrics/tests/test_integration.py | kissmetrics/py-KISSmetrics | 11cfc589e623f0bab8bc450f6fd169715544e377 | [
"MIT"
] | 4 | 2015-04-21T14:50:13.000Z | 2016-04-23T08:48:59.000Z | # -*- coding: utf-8 -*-
import unittest
import json
import KISSmetrics
class KISSmetricsClientIntegrationTestCase(unittest.TestCase):
def setUp(self):
self.client = KISSmetrics.Client(key='foo', trk_host='httpbin.org')
def test_record_success(self):
response = self.client.record(person='bo... | 36.11811 | 84 | 0.616307 | 566 | 4,587 | 4.886926 | 0.100707 | 0.115691 | 0.130152 | 0.106291 | 0.919017 | 0.907086 | 0.907086 | 0.907086 | 0.871656 | 0.817787 | 0 | 0.008556 | 0.210159 | 4,587 | 126 | 85 | 36.404762 | 0.754899 | 0.004578 | 0 | 0.905263 | 0 | 0 | 0.091805 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.231579 | false | 0 | 0.031579 | 0 | 0.284211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5124d89eb06b54f055f4d1a3e59c29fae3eff2cf | 371 | py | Python | Exercicios-mundo-3/desafio108/teste.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null | Exercicios-mundo-3/desafio108/teste.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null | Exercicios-mundo-3/desafio108/teste.py | talitadeoa/Exercicios-Python | 6ffac5b403ef4636d8b7b37aba7998dade8a88b8 | [
"MIT"
] | null | null | null |
import moeda
p = float(input('Digite o preço: R$'))
print(f'A metade de {moeda.moeda(p)} é {moeda.moeda(moeda.metade(p))}')
print(f'O dobro de {moeda.moeda(p)} é {moeda.moeda(moeda.dobro(p))}')
print(f'Aumentado 13% de {moeda.moeda(p)}, temos {moeda.moeda(moeda.aumentar(p,13))}')
print(f'Diminuindo 14% de {moeda.moe... | 41.222222 | 87 | 0.684636 | 67 | 371 | 3.791045 | 0.343284 | 0.472441 | 0.188976 | 0.204724 | 0.488189 | 0.488189 | 0.488189 | 0.488189 | 0 | 0 | 0 | 0.023739 | 0.091644 | 371 | 9 | 87 | 41.222222 | 0.72997 | 0 | 0 | 0 | 0 | 0.666667 | 0.784367 | 0.347709 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
512ac868476abfd7dba5851f908d78d3f4d80152 | 161 | py | Python | grand_geckos/tui/core/actions/view.py | nikhiljohn10/codejam-grand-geckos | 54e808de5aba7a858303b47031f608131801387b | [
"0BSD"
] | 1 | 2021-08-02T20:19:56.000Z | 2021-08-02T20:19:56.000Z | grand_geckos/tui/core/actions/view.py | nikhiljohn10/codejam-grand-geckos | 54e808de5aba7a858303b47031f608131801387b | [
"0BSD"
] | null | null | null | grand_geckos/tui/core/actions/view.py | nikhiljohn10/codejam-grand-geckos | 54e808de5aba7a858303b47031f608131801387b | [
"0BSD"
] | null | null | null | from grand_geckos.tui.dashboard.state import ApplicationState
def do_status_bar():
ApplicationState.show_status_bar = not ApplicationState.show_status_bar
| 26.833333 | 75 | 0.84472 | 21 | 161 | 6.142857 | 0.666667 | 0.209302 | 0.403101 | 0.449612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 5 | 76 | 32.2 | 0.889655 | 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 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
5ada4e07196f7a1db0efc8f16a03271a0f36f4fe | 129 | py | Python | programming_skills/5.py | MiracleWong/aming_python | 88a8199a0a5e0db2c555e12c5add5dc4e230bd09 | [
"MIT"
] | null | null | null | programming_skills/5.py | MiracleWong/aming_python | 88a8199a0a5e0db2c555e12c5add5dc4e230bd09 | [
"MIT"
] | null | null | null | programming_skills/5.py | MiracleWong/aming_python | 88a8199a0a5e0db2c555e12c5add5dc4e230bd09 | [
"MIT"
] | null | null | null | #!/usr/bin/python
#-*- coding:utf-8 -*-
import sys
sys.stdout.write('this is a stdout\n')
sys.stdout.write('this is a stderr\n') | 21.5 | 38 | 0.674419 | 24 | 129 | 3.625 | 0.625 | 0.206897 | 0.321839 | 0.413793 | 0.482759 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.108527 | 129 | 6 | 39 | 21.5 | 0.747826 | 0.27907 | 0 | 0 | 0 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
51955b994db19ca40e9efd58284f7c587942678b | 47,717 | py | Python | src/genie/libs/parser/iosxe/c9600/c9606r/tests/ShowPlatformHardwareFedActiveTcamUtilization/cli/equal/golden_output_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/c9600/c9606r/tests/ShowPlatformHardwareFedActiveTcamUtilization/cli/equal/golden_output_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/c9600/c9606r/tests/ShowPlatformHardwareFedActiveTcamUtilization/cli/equal/golden_output_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | expected_output = {
'asic': {
'0': {
'table': {
'cts_cell_matrix_vpn_label': {
'subtype': {
'em': {
'dir': {
'o': {
'max': 32768,
... | 35.689604 | 60 | 0.124002 | 1,902 | 47,717 | 3.007886 | 0.062566 | 0.173047 | 0.146827 | 0.09806 | 0.987939 | 0.987939 | 0.987939 | 0.987939 | 0.987939 | 0.987939 | 0 | 0.132211 | 0.778402 | 47,717 | 1,337 | 61 | 35.689604 | 0.408833 | 0 | 0 | 0.724757 | 0 | 0 | 0.108093 | 0.002892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
cfb865931fa74d92290c3739be19b7713e0c7cf7 | 120 | py | Python | pysal/explore/spaghetti/__init__.py | martinfleis/pysal | d2e0667d825d403efe7182ecda210dc152ec206d | [
"BSD-3-Clause"
] | 941 | 2015-01-12T22:25:55.000Z | 2022-03-27T15:41:29.000Z | pysal/explore/spaghetti/__init__.py | anekekarina99/pysal | bd8c954d34b4694416830a852e26fe40d64424f2 | [
"BSD-3-Clause"
] | 589 | 2015-01-09T03:58:03.000Z | 2022-02-26T02:17:15.000Z | pysal/explore/spaghetti/__init__.py | anekekarina99/pysal | bd8c954d34b4694416830a852e26fe40d64424f2 | [
"BSD-3-Clause"
] | 303 | 2015-01-10T02:59:04.000Z | 2022-03-05T04:21:55.000Z | from spaghetti.network import Network, PointPattern, SimulatedPointPattern
from spaghetti.network import element_as_gdf
| 40 | 74 | 0.883333 | 14 | 120 | 7.428571 | 0.642857 | 0.25 | 0.384615 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 120 | 2 | 75 | 60 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
cfd5e5e1899de8bc8fe8b8c55a57e12f940d5047 | 12,324 | py | Python | data.py | vickyFox/IPN | a0b54040c7b7d5f69633add8252fca6fd5ce3059 | [
"MIT"
] | 4 | 2020-11-21T19:13:13.000Z | 2021-08-03T08:53:45.000Z | data.py | vickyFox/IPN | a0b54040c7b7d5f69633add8252fca6fd5ce3059 | [
"MIT"
] | null | null | null | data.py | vickyFox/IPN | a0b54040c7b7d5f69633add8252fca6fd5ce3059 | [
"MIT"
] | 1 | 2021-01-14T04:16:48.000Z | 2021-01-14T04:16:48.000Z | from __future__ import print_function
import random
import os
import cv2
from tqdm import tqdm
from PIL import Image as pil_image
import pickle
import torch.utils.data
from torchvision import transforms
from torchtools import *
class MiniImagenetLoader(torch.utils.data.Dataset):
def __init__(self, root, partiti... | 44.330935 | 118 | 0.544223 | 1,479 | 12,324 | 4.296146 | 0.114266 | 0.018886 | 0.017627 | 0.015109 | 0.853163 | 0.847655 | 0.823418 | 0.801857 | 0.801857 | 0.795404 | 0 | 0.02568 | 0.358569 | 12,324 | 277 | 119 | 44.490975 | 0.778115 | 0.080656 | 0 | 0.722222 | 0 | 0 | 0.030829 | 0.00815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.050505 | 0 | 0.121212 | 0.020202 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cfe4ff29b872d88db83974b177ac1df63e372f21 | 5,418 | py | Python | api/analytics/migrations/0003_auto_20181130_2359.py | c-r-e-a-t-e/aristotle | 4c0da027d6b2238b7c656bd7ee877283d76f54ed | [
"MIT"
] | 3 | 2020-06-27T18:17:02.000Z | 2021-04-21T15:27:29.000Z | api/analytics/migrations/0003_auto_20181130_2359.py | c-r-e-a-t-e/aristotle | 4c0da027d6b2238b7c656bd7ee877283d76f54ed | [
"MIT"
] | 15 | 2020-07-29T21:14:45.000Z | 2021-07-21T04:47:39.000Z | api/analytics/migrations/0003_auto_20181130_2359.py | TwenteCreates/aristotle | 4c0da027d6b2238b7c656bd7ee877283d76f54ed | [
"MIT"
] | 1 | 2019-02-06T18:18:57.000Z | 2019-02-06T18:18:57.000Z | # Generated by Django 2.1.3 on 2018-11-30 23:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('analytics', '0002_auto_20181130_2356'),
]
operations = [
migrations.AlterField(
model_name='pupil',
name='correct_la... | 36.362416 | 238 | 0.543005 | 526 | 5,418 | 5.43346 | 0.220532 | 0.188943 | 0.236179 | 0.273968 | 0.782365 | 0.728132 | 0.728132 | 0.712386 | 0.664101 | 0.664101 | 0 | 0.02015 | 0.313031 | 5,418 | 148 | 239 | 36.608108 | 0.747716 | 0.008306 | 0 | 0.725352 | 1 | 0 | 0.186185 | 0.056228 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007042 | 0 | 0.028169 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5c51b22768f3f2bc12b41b2da82254454d2db31a | 26,185 | py | Python | api/migrations/0037_auto_20200109_0902.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 11 | 2018-06-11T06:05:12.000Z | 2022-03-25T09:31:44.000Z | api/migrations/0037_auto_20200109_0902.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 498 | 2017-11-07T21:20:13.000Z | 2022-03-31T14:37:18.000Z | api/migrations/0037_auto_20200109_0902.py | IFRCGo/ifrcgo-api | c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a | [
"MIT"
] | 6 | 2018-04-11T13:29:50.000Z | 2020-07-16T16:52:11.000Z | # Generated by Django 2.0.12 on 2020-01-09 09:02
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0036_emergencyoperationsdataset'),
]
operations = [
migrations.CreateModel(
name='EmergencyOperationsEA',
fi... | 84.467742 | 118 | 0.660531 | 2,845 | 26,185 | 5.775044 | 0.046046 | 0.140779 | 0.1986 | 0.259708 | 0.966768 | 0.960864 | 0.956178 | 0.951613 | 0.938162 | 0.93311 | 0 | 0.001549 | 0.211266 | 26,185 | 309 | 119 | 84.7411 | 0.793977 | 0.001757 | 0 | 0.851485 | 1 | 0 | 0.30256 | 0.238321 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0033 | 0 | 0.013201 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5c92ef9856fcc395ca7b7fbbac5c0aed67127c09 | 19,950 | py | Python | scripts/sqlstatements.py | CDLUC3/uc3-etds | 055efd45aa7efe9c5b7ea99d3c0c599935cd6182 | [
"MIT"
] | 1 | 2020-01-28T23:05:08.000Z | 2020-01-28T23:05:08.000Z | scripts/sqlstatements.py | CDLUC3/uc3-etds | 055efd45aa7efe9c5b7ea99d3c0c599935cd6182 | [
"MIT"
] | null | null | null | scripts/sqlstatements.py | CDLUC3/uc3-etds | 055efd45aa7efe9c5b7ea99d3c0c599935cd6182 | [
"MIT"
] | null | null | null | upd_pq_metadata="""
INSERT OR REPLACE INTO pq_metadata
SELECT author, title, substr(accept_date,7,4) || '-' || substr(accept_date,1,2) || '-' || substr(accept_date,4,2), embargo_code, degree, dept, advisor, 'PQETD:' || SUBSTR(local_id, 1,LENGTH(local_id)-6) || SUBSTR(local_id,-5), student_... | 131.25 | 1,720 | 0.792431 | 3,076 | 19,950 | 4.814044 | 0.058192 | 0.115005 | 0.037817 | 0.047272 | 0.80362 | 0.775662 | 0.766613 | 0.741829 | 0.736629 | 0.712318 | 0 | 0.008491 | 0.090877 | 19,950 | 151 | 1,721 | 132.119205 | 0.807962 | 0 | 0 | 0.368794 | 0 | 0.184397 | 0.948622 | 0.452531 | 0.049645 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
5cc6e47108b128ddc796d6a18c97f3d19b96c523 | 20,575 | py | Python | crowdemotion_api_client_python/apis/metric_api.py | CrowdEmotion/crowdemotion-api-client-python | b5ec57030e36d2b2c32cc5a43b804d7a34401c16 | [
"Apache-2.0"
] | 1 | 2018-06-14T05:12:54.000Z | 2018-06-14T05:12:54.000Z | python/crowdemotion_api_client_python/apis/metric_api.py | CrowdEmotion/crowdemotion-api-clients-examples | 9e4bd38279399e5694cf3cec6cc7fb0b3149bc39 | [
"MIT"
] | null | null | null | python/crowdemotion_api_client_python/apis/metric_api.py | CrowdEmotion/crowdemotion-api-clients-examples | 9e4bd38279399e5694cf3cec6cc7fb0b3149bc39 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
CloudEmotion API v1
CrowdEmotion API
OpenAPI spec version: 1.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ... | 43.043933 | 550 | 0.568019 | 2,366 | 20,575 | 4.778107 | 0.101437 | 0.038213 | 0.016984 | 0.022645 | 0.894383 | 0.87908 | 0.878019 | 0.863777 | 0.850862 | 0.850862 | 0 | 0.003099 | 0.325541 | 20,575 | 477 | 551 | 43.134172 | 0.809829 | 0.42469 | 0 | 0.731481 | 1 | 0 | 0.143032 | 0.031492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.032407 | 0 | 0.134259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7a7a6c57db89b140a0f798d1322f3c53548d4b7c | 234 | py | Python | myproject.py | Mujtaba33/Remote-excess- | c029dc9905698e890cc1c5049a8a83ef2279b48f | [
"MIT"
] | null | null | null | myproject.py | Mujtaba33/Remote-excess- | c029dc9905698e890cc1c5049a8a83ef2279b48f | [
"MIT"
] | null | null | null | myproject.py | Mujtaba33/Remote-excess- | c029dc9905698e890cc1c5049a8a83ef2279b48f | [
"MIT"
] | null | null | null | >>> import pyautogui
>>> for i in range(10):
pyautogui.moveRel(100, 0, duration=0.25)
pyautogui.moveRel(0, 100, duration=0.25)
pyautogui.moveRel(-100, 0, duration=0.25)
pyautogui.moveRel(0, -100, duration=0.25) | 39 | 47 | 0.649573 | 35 | 234 | 4.342857 | 0.342857 | 0.421053 | 0.289474 | 0.394737 | 0.815789 | 0.815789 | 0.815789 | 0.815789 | 0.815789 | 0.815789 | 0 | 0.157068 | 0.183761 | 234 | 6 | 48 | 39 | 0.638743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
7a8b840e70b206c8c0d4a926c5a79a0450279452 | 146 | py | Python | python-experiments/excel_to_sqlite.py | stambuk-cl/Python-repo | eacc4610b53c55886e897d5191585bb5b8440eb4 | [
"MIT"
] | null | null | null | python-experiments/excel_to_sqlite.py | stambuk-cl/Python-repo | eacc4610b53c55886e897d5191585bb5b8440eb4 | [
"MIT"
] | null | null | null | python-experiments/excel_to_sqlite.py | stambuk-cl/Python-repo | eacc4610b53c55886e897d5191585bb5b8440eb4 | [
"MIT"
] | null | null | null | #Install pip installxls2db
#Script version
xls2db infile.xls outfile.db
#From python
from xls2db import xls2db
xls2db("infile.xls","outfile.db") | 18.25 | 33 | 0.794521 | 21 | 146 | 5.52381 | 0.619048 | 0.206897 | 0.258621 | 0.37931 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.109589 | 146 | 8 | 33 | 18.25 | 0.853846 | 0.342466 | 0 | 0 | 0 | 0 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7ab7bf72c470772d37854c7cf952236765eeaa08 | 2,329 | py | Python | model/dection.py | cersar/BasicNetwork | 119ebb745e67a9b74b72cc4635fea360db0ed43f | [
"MIT"
] | 4 | 2019-01-02T07:54:51.000Z | 2019-01-04T06:11:15.000Z | model/dection.py | cersar/BasicNetwork | 119ebb745e67a9b74b72cc4635fea360db0ed43f | [
"MIT"
] | null | null | null | model/dection.py | cersar/BasicNetwork | 119ebb745e67a9b74b72cc4635fea360db0ed43f | [
"MIT"
] | null | null | null | from util.dection_util import show_dection
import tensorflow as tf
from util.data_util import load_data,preprocess_data
import time
def dectionYolov1(net,path,labels,weights_file):
with net.as_default():
saver = tf.train.Saver()
with tf.Session() as sess:
saver.restore(sess, weights_fi... | 43.943396 | 90 | 0.572349 | 292 | 2,329 | 4.424658 | 0.212329 | 0.086687 | 0.080495 | 0.049536 | 0.812694 | 0.795666 | 0.795666 | 0.795666 | 0.795666 | 0.795666 | 0 | 0.022837 | 0.28553 | 2,329 | 53 | 91 | 43.943396 | 0.753606 | 0 | 0 | 0.734694 | 0 | 0 | 0.106438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.081633 | 0 | 0.122449 | 0.163265 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7ab9b80562f1d3c455b6d2f5eb2ee4a14abf42e7 | 1,831 | py | Python | layerserver/migrations/0031_auto_20190416_1503.py | aroiginfraplan/giscube-admin | b7f3131b0186f847f3902df97f982cb288b16a49 | [
"BSD-3-Clause"
] | 5 | 2018-06-07T12:54:35.000Z | 2022-01-14T10:38:38.000Z | layerserver/migrations/0031_auto_20190416_1503.py | aroiginfraplan/giscube-admin | b7f3131b0186f847f3902df97f982cb288b16a49 | [
"BSD-3-Clause"
] | 140 | 2018-06-18T10:27:28.000Z | 2022-03-23T09:53:15.000Z | layerserver/migrations/0031_auto_20190416_1503.py | aroiginfraplan/giscube-admin | b7f3131b0186f847f3902df97f982cb288b16a49 | [
"BSD-3-Clause"
] | 1 | 2021-04-13T11:20:54.000Z | 2021-04-13T11:20:54.000Z | # Generated by Django 2.1.7 on 2019-04-16 15:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('layerserver', '0030_auto_20190411_0621'),
]
operations = [
migrations.AlterField(
model_name='databaselayer',
name='... | 33.907407 | 86 | 0.586019 | 185 | 1,831 | 5.643243 | 0.259459 | 0.153257 | 0.191571 | 0.222222 | 0.85249 | 0.85249 | 0.812261 | 0.812261 | 0.812261 | 0.812261 | 0 | 0.039261 | 0.290552 | 1,831 | 53 | 87 | 34.54717 | 0.764434 | 0.024577 | 0 | 0.851064 | 1 | 0 | 0.136771 | 0.012892 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8f90868427dd738eccda56d28bac111a42e0f5c0 | 358,510 | py | Python | projects/src/main/python/CodeJam/Y14R5P1/smapson/generated_py_823a8eb6f0a9434aa5d7f8090b83b4a2.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y14R5P1/smapson/generated_py_823a8eb6f0a9434aa5d7f8090b83b4a2.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y14R5P1/smapson/generated_py_823a8eb6f0a9434aa5d7f8090b83b4a2.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y14R5P1.smapson.A import *
def func_975f2f69d9be431185c939abecb8443e(transistors):
firstsum += transistors[first]
first += 1
return firstsum
def func_0406ef77134f4588ae52c6a86733dac1(transistors... | 33.060679 | 86 | 0.588271 | 35,056 | 358,510 | 5.998117 | 0.01857 | 0.086365 | 0.086318 | 0.010082 | 0.908803 | 0.907081 | 0.906939 | 0.906282 | 0.90467 | 0.903714 | 0 | 0.063118 | 0.311924 | 358,510 | 10,843 | 87 | 33.063728 | 0.789275 | 0 | 0 | 0.938987 | 0 | 0 | 0.012192 | 0.003992 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.000207 | null | null | 0.010445 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8fc9b6cee511f69b0f7ac2fd3672ca68e45d08ae | 219 | py | Python | hdm/core/utils/generic_functions.py | hashmapinc/hdm | a77872bb7a7d151b2a3f7474b15009cea09aa98f | [
"Apache-2.0"
] | 1 | 2021-02-09T00:40:40.000Z | 2021-02-09T00:40:40.000Z | hdm/core/utils/generic_functions.py | hashmapinc/hdm | a77872bb7a7d151b2a3f7474b15009cea09aa98f | [
"Apache-2.0"
] | null | null | null | hdm/core/utils/generic_functions.py | hashmapinc/hdm | a77872bb7a7d151b2a3f7474b15009cea09aa98f | [
"Apache-2.0"
] | null | null | null | class GenericFunctions:
@classmethod
def folder_to_table(cls, name):
return name.replace("__", ".")
@classmethod
def table_to_folder(cls, name):
return name.replace(".", "__")
| 21.9 | 39 | 0.598174 | 22 | 219 | 5.590909 | 0.5 | 0.227642 | 0.211382 | 0.276423 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269406 | 219 | 9 | 40 | 24.333333 | 0.76875 | 0 | 0 | 0.285714 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
8f09dc5e55243f2a7fa0cbaddabdbbf723f242e5 | 131 | py | Python | invest_recreation_client_scenario.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | invest_recreation_client_scenario.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | invest_recreation_client_scenario.py | phargogh/invest-natcap.invest-3 | ee96055a4fa034d9a95fa8ccc6259ab03264e6c1 | [
"BSD-3-Clause"
] | null | null | null | import invest_natcap.iui.modelui
if __name__ == '__main__':
invest_natcap.iui.modelui.main('recreation-client-scenario.json')
| 26.2 | 69 | 0.778626 | 17 | 131 | 5.411765 | 0.705882 | 0.26087 | 0.326087 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 4 | 70 | 32.75 | 0.773109 | 0 | 0 | 0 | 0 | 0 | 0.29771 | 0.236641 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8f53e423a8e0755ac4e2391574ef8141516d45c5 | 11,211 | py | Python | src/genie/libs/parser/nxos/tests/ShowIpIgmpInterface/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/nxos/tests/ShowIpIgmpInterface/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/nxos/tests/ShowIpIgmpInterface/cli/equal/golden_output_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
"vrfs": {
"default": {
"groups_count": 2,
"interface": {
"Ethernet2/2": {
"query_max_response_time": 10,
"vrf_name": "default",
"statistics": {
"... | 43.119231 | 64 | 0.296405 | 680 | 11,211 | 4.561765 | 0.148529 | 0.05029 | 0.041264 | 0.05158 | 0.953578 | 0.914894 | 0.891683 | 0.855255 | 0.855255 | 0.841393 | 0 | 0.08341 | 0.610739 | 11,211 | 259 | 65 | 43.285714 | 0.627406 | 0 | 0 | 0.754864 | 0 | 0 | 0.272816 | 0.077081 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8f757bf6e315522aa2dabfbe418b9f44d2ac50c6 | 26,134 | py | Python | sdk/python/pulumi_oci/waas/protection_rule.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/waas/protection_rule.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/waas/protection_rule.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 56.689805 | 889 | 0.683745 | 3,264 | 26,134 | 5.328431 | 0.083027 | 0.06641 | 0.052323 | 0.036684 | 0.880577 | 0.863845 | 0.831532 | 0.824747 | 0.809625 | 0.796056 | 0 | 0.000049 | 0.220249 | 26,134 | 460 | 890 | 56.813043 | 0.85342 | 0.510599 | 0 | 0.587755 | 1 | 0 | 0.104125 | 0.037723 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159184 | false | 0.004082 | 0.028571 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
56ecfc52059d35bcfd5eaf524f4bc601aca4ae31 | 6,061 | py | Python | test/programytest/security/linking/accounlinker_asserts.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/security/linking/accounlinker_asserts.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | null | null | null | test/programytest/security/linking/accounlinker_asserts.py | motazsaad/fit-bot-fb-clt | 580477aa1ec91855b621d9ae276f2705962f6a87 | [
"MIT"
] | 4 | 2019-04-01T15:42:23.000Z | 2020-11-05T08:14:27.000Z | import unittest
class AccountLinkerAsserts(unittest.TestCase):
def assert_generate_key(self, linkerservice):
key = linkerservice._generate_key()
self.assertIsNotNone(key)
self.assertEqual(8, len(key))
key = linkerservice._generate_key(size=12)
self.assertIsNotNone(key... | 39.614379 | 125 | 0.721003 | 636 | 6,061 | 6.540881 | 0.092767 | 0.097837 | 0.105048 | 0.084615 | 0.852885 | 0.828846 | 0.824279 | 0.824279 | 0.8 | 0.797115 | 0 | 0.006595 | 0.199472 | 6,061 | 152 | 126 | 39.875 | 0.850783 | 0 | 0 | 0.776786 | 1 | 0 | 0.047847 | 0 | 0 | 0 | 0 | 0 | 0.446429 | 1 | 0.080357 | false | 0.0625 | 0.008929 | 0 | 0.098214 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
7104aeb6546ba8e4dd6bffc5c8805ea4edc6e850 | 122 | py | Python | discord/object.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/object.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | discord/object.py | kuzaku-developers/disnake | 61cc1ad4c2bafd39726a1447c85f7e469e41af10 | [
"MIT"
] | null | null | null | from disnake.object import *
from disnake.object import __dict__ as __original_dict__
locals().update(__original_dict__)
| 24.4 | 56 | 0.836066 | 16 | 122 | 5.5 | 0.5625 | 0.25 | 0.386364 | 0.522727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 122 | 4 | 57 | 30.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7107250b56eae559f28381081a3c0fb7756535ac | 3,084 | py | Python | tests/test_friction.py | ericfan489/rtreelib | dad4b4e3699306b3318f66cf9bc4ae00cdffdd34 | [
"MIT"
] | null | null | null | tests/test_friction.py | ericfan489/rtreelib | dad4b4e3699306b3318f66cf9bc4ae00cdffdd34 | [
"MIT"
] | null | null | null | tests/test_friction.py | ericfan489/rtreelib | dad4b4e3699306b3318f66cf9bc4ae00cdffdd34 | [
"MIT"
] | null | null | null | from rtreelib import RStarTree, Rect
from unittest import TestCase
from rtreelib.diagram import create_rtree_diagram
import psycopg2
class Test_friction(TestCase):
def test_10_points(self):
params = {
'dbname': 'nsf_roadtraffic_friction_v2',
'user': 'efan',
'password': '26May202... | 36.714286 | 153 | 0.5762 | 377 | 3,084 | 4.522546 | 0.241379 | 0.070381 | 0.010557 | 0.014076 | 0.847507 | 0.847507 | 0.847507 | 0.847507 | 0.847507 | 0.847507 | 0 | 0.050533 | 0.300584 | 3,084 | 83 | 154 | 37.156627 | 0.739917 | 0.309663 | 0 | 0.73913 | 0 | 0 | 0.228939 | 0.050452 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0.043478 | 0.086957 | 0 | 0.152174 | 0.086957 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
712a7065ee0e3b13fc03ae3599ec0140e55fc8f8 | 10,911 | py | Python | Algorithms/prio_queue/structures.py | matija94/show-me-the-code | 7e98b15da03712e28417f2c808c4324989ce9bd7 | [
"MIT"
] | 1 | 2017-07-10T21:05:46.000Z | 2017-07-10T21:05:46.000Z | Algorithms/prio_queue/structures.py | matija94/show-me-the-code | 7e98b15da03712e28417f2c808c4324989ce9bd7 | [
"MIT"
] | null | null | null | Algorithms/prio_queue/structures.py | matija94/show-me-the-code | 7e98b15da03712e28417f2c808c4324989ce9bd7 | [
"MIT"
] | null | null | null | from linked_lists.double_linked import PositionalList
class PriorityQueueBase:
''' abstract base class for a priority queue '''
class _Item:
__slots_ = '_key', '_value'
def __init__(self,k,v):
self._key = k
self._value = v
def __lt... | 30.224377 | 122 | 0.547338 | 1,395 | 10,911 | 4.057348 | 0.102509 | 0.118728 | 0.05053 | 0.029682 | 0.795406 | 0.777208 | 0.771555 | 0.771555 | 0.771555 | 0.771555 | 0 | 0.007129 | 0.3315 | 10,911 | 361 | 123 | 30.224377 | 0.768851 | 0.130969 | 0 | 0.75 | 0 | 0 | 0.018231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206349 | false | 0 | 0.003968 | 0.047619 | 0.357143 | 0.003968 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
859ef970c2aa177b6d8444cb4d4562fb373f5d6d | 186 | py | Python | conf/home/vagrant/.jupyter/jupyter_notebook_config.py | vais-ral/CCPi-VirtualMachine | 831e45ddbeecedbea8d4f2ed958dbcf60c41bb94 | [
"MIT"
] | 2 | 2019-01-28T10:10:46.000Z | 2019-03-22T16:25:41.000Z | conf/home/vagrant/.jupyter/jupyter_notebook_config.py | TomasKulhanek/CCPi-VirtualMachine | 8f83f0db96b77e86aedda58c0046f9eab1792f74 | [
"MIT"
] | 32 | 2018-11-15T09:51:53.000Z | 2022-03-09T11:18:44.000Z | conf/home/vagrant/.jupyter/jupyter_notebook_config.py | TomasKulhanek/CCPi-VirtualMachine | 8f83f0db96b77e86aedda58c0046f9eab1792f74 | [
"MIT"
] | 2 | 2019-01-14T10:11:13.000Z | 2021-05-05T11:15:01.000Z | c.NotebookApp.base_url = '/jupyter'
c.NotebookApp.iopub_data_rate_limit = 1000000000
c.NotebookApp.iopub_msg_rate_limit = 1000000000
c.NotebookApp.token = ''
c.NotebookApp.password = ''
| 31 | 48 | 0.801075 | 25 | 186 | 5.68 | 0.52 | 0.422535 | 0.239437 | 0.28169 | 0.43662 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 0.080645 | 186 | 5 | 49 | 37.2 | 0.71345 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
85a4db1b078cad3565b89f498feb6920f7c455ac | 54,011 | py | Python | tasks/broken-transmitter/flask/tokens.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks/broken-transmitter/flask/tokens.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | tasks/broken-transmitter/flask/tokens.py | chankruze/qctf-school-2018 | 1e732cf264ee0a94bc2fc1fd8cf3a20660d57605 | [
"MIT"
] | null | null | null | flags = {
'ebee8289545fc134ed28828cec99407e': 'QCTF{c0ngra7ulat10ns_y0u_c4n_hacK_eld3r_traN5m1tt3rs_PFaLd0UgjS}',
'a1782fb2a091f0dd78444e5054ba6ca7': 'QCTF{c0ngra7ulat10ns_y0u_c4n_hacK_eld3r_traN5m1tt3rs_Iy0qYo1SXM}',
'e22e6f3353b938b4320e681fee71fad3': 'QCTF{c0ngra7ulat10ns_y0u_c4n_hacK_eld3r_traN5m1tt3rs_... | 107.377734 | 107 | 0.870286 | 4,501 | 54,011 | 9.776716 | 0.22395 | 0.215885 | 0.249972 | 0.284059 | 0.522668 | 0.522668 | 0.522668 | 0 | 0 | 0 | 0 | 0.309467 | 0.055618 | 54,011 | 502 | 108 | 107.591633 | 0.553257 | 0 | 0 | 0 | 0 | 0 | 0.888708 | 0.888708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a457e7dafe13e03f18f2a6acd2a9cf17d3f48dc4 | 314 | py | Python | applications/CoSimulationApplication/tests/testing_utilities.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/CoSimulationApplication/tests/testing_utilities.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/CoSimulationApplication/tests/testing_utilities.py | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z |
class DummySolverWrapper(object):
'''dummy object used for testing to emulate the behavior of the SolverWrapper'''
def __init__(self, interface_data_dict):
self.interface_data_dict = interface_data_dict
def GetInterfaceData(self, data_name):
return self.interface_data_dict[data_name] | 39.25 | 84 | 0.757962 | 40 | 314 | 5.6 | 0.55 | 0.232143 | 0.303571 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171975 | 314 | 8 | 85 | 39.25 | 0.861538 | 0.235669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
a465e5fa4923ee4557799b756dca360294837bcb | 1,404 | py | Python | tests/test_lr.py | thautwarm/Ruiko | cceec88c90f7ec95c160cfda01bfc532610985e0 | [
"MIT"
] | 44 | 2018-06-08T04:52:02.000Z | 2021-08-06T04:59:56.000Z | tests/test_lr.py | thautwarm/Ruiko | cceec88c90f7ec95c160cfda01bfc532610985e0 | [
"MIT"
] | 2 | 2018-06-21T14:42:27.000Z | 2018-12-10T06:15:46.000Z | tests/test_lr.py | thautwarm/Ruiko | cceec88c90f7ec95c160cfda01bfc532610985e0 | [
"MIT"
] | 2 | 2018-06-18T10:43:20.000Z | 2019-05-06T13:51:51.000Z | from rbnf.core.Tokenizer import Tokenizer
from rbnf.easy import ze
from rbnf.core.AST import Named
def test_lr(fixed=False):
ze_exp = ze.compile("""A ::= A 'b' | 'a'""")
if fixed:
ze_exp.lang.as_fixed()
result: Named = ze_exp.match("""abbbb""").result
assert result.name == 'A'
result = re... | 21.9375 | 70 | 0.608974 | 197 | 1,404 | 4.263959 | 0.192893 | 0.142857 | 0.214286 | 0.261905 | 0.795238 | 0.795238 | 0.795238 | 0.735714 | 0.735714 | 0.735714 | 0 | 0.007456 | 0.235755 | 1,404 | 63 | 71 | 22.285714 | 0.775396 | 0 | 0 | 0.695652 | 0 | 0 | 0.049858 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.065217 | false | 0 | 0.065217 | 0 | 0.130435 | 0.173913 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a47dbc3ce2b7e4d776dd0acabf4b3c70979f2866 | 125 | py | Python | app/blueprints/organisations/__init__.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | null | null | null | app/blueprints/organisations/__init__.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | 1 | 2021-06-02T01:53:47.000Z | 2021-06-02T01:53:47.000Z | app/blueprints/organisations/__init__.py | Anioko/TestApp | 95fa8d27ca8e7a074e62f92609427a378844e621 | [
"MIT"
] | null | null | null | from app.blueprints.organisations import errors # noqa
from app.blueprints.organisations.views import organisations # noqa
| 41.666667 | 68 | 0.832 | 15 | 125 | 6.933333 | 0.533333 | 0.134615 | 0.326923 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 2 | 69 | 62.5 | 0.936937 | 0.072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 8 |
f11d785e6edc05d9ce9dbb5278c0f0842a6e6878 | 4,222 | py | Python | userbot/plugins/gmute.py | 4Applepen/Userbot | e40194b7ff7ef70708047305b0212881f5d3e8fa | [
"Apache-2.0"
] | null | null | null | userbot/plugins/gmute.py | 4Applepen/Userbot | e40194b7ff7ef70708047305b0212881f5d3e8fa | [
"Apache-2.0"
] | null | null | null | userbot/plugins/gmute.py | 4Applepen/Userbot | e40194b7ff7ef70708047305b0212881f5d3e8fa | [
"Apache-2.0"
] | null | null | null | from userbot.plugins.sql_helper.mute_sql import is_muted, mute, unmute
import asyncio
@command(outgoing=True, pattern=r"^.gmute ?(\d+)?")
async def startgmute(event):
private = False
if event.fwd_from:
return
elif event.is_private:
await event.edit("Possono verificarsi problemi imprevisti o... | 34.606557 | 97 | 0.653955 | 581 | 4,222 | 4.660929 | 0.151463 | 0.099705 | 0.103397 | 0.064993 | 0.925406 | 0.925406 | 0.915805 | 0.891433 | 0.891433 | 0.891433 | 0 | 0.003769 | 0.245855 | 4,222 | 121 | 98 | 34.892562 | 0.846734 | 0 | 0 | 0.87931 | 0 | 0 | 0.197063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017241 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
74b795c0b06f71fbf2e7914ff622f634be031d2b | 3,205 | py | Python | test/ci_app_tests/test_multichannel.py | rblake-llnl/Caliper | f958f45f5cf2dccc4529f2b27d8628981a60b012 | [
"BSD-3-Clause"
] | null | null | null | test/ci_app_tests/test_multichannel.py | rblake-llnl/Caliper | f958f45f5cf2dccc4529f2b27d8628981a60b012 | [
"BSD-3-Clause"
] | null | null | null | test/ci_app_tests/test_multichannel.py | rblake-llnl/Caliper | f958f45f5cf2dccc4529f2b27d8628981a60b012 | [
"BSD-3-Clause"
] | null | null | null | # Multi-channel tests
import unittest
import calipertest as cat
class CaliperMultiChannelTest(unittest.TestCase):
""" Caliper multi-channel case """
def test_multichannel_trace(self):
target_cmd = [ './ci_test_multichannel' ]
query_cmd = [ '../../src/tools/cali-query/cali-query', '-e' ]
... | 36.420455 | 85 | 0.527925 | 313 | 3,205 | 5.070288 | 0.233227 | 0.088217 | 0.079395 | 0.102079 | 0.817265 | 0.805293 | 0.805293 | 0.805293 | 0.805293 | 0.805293 | 0 | 0.011385 | 0.342278 | 3,205 | 87 | 86 | 36.83908 | 0.741461 | 0.014977 | 0 | 0.727273 | 0 | 0 | 0.168571 | 0.07746 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.045455 | false | 0 | 0.030303 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d024de3e6e00bdd7482ec465cd93ac166c4affd | 15,017 | py | Python | mediafeed/channels/tests/test_views.py | rennerocha/youtube-organizer | a267b3281f183cc4bcf37b3543324084540bfc25 | [
"MIT"
] | 11 | 2020-06-17T18:00:04.000Z | 2020-07-15T13:11:36.000Z | mediafeed/channels/tests/test_views.py | rennerocha/youtube-organizer | a267b3281f183cc4bcf37b3543324084540bfc25 | [
"MIT"
] | 12 | 2020-06-24T19:16:07.000Z | 2020-07-21T13:33:14.000Z | mediafeed/channels/tests/test_views.py | rennerocha/youtube-organizer | a267b3281f183cc4bcf37b3543324084540bfc25 | [
"MIT"
] | null | null | null | import datetime
from django.contrib.auth.models import User
from django.test import TestCase
from django.urls import reverse
from django.utils import timezone
from model_bakery import baker
from parsel import Selector
from channels.models import Category, Channel, Video
class CategoryDetailAccessTestCase(TestCase):... | 38.114213 | 85 | 0.666178 | 1,739 | 15,017 | 5.52904 | 0.078781 | 0.036401 | 0.052418 | 0.061154 | 0.836609 | 0.797088 | 0.781279 | 0.747686 | 0.734373 | 0.703692 | 0 | 0.006094 | 0.224213 | 15,017 | 393 | 86 | 38.211196 | 0.819227 | 0 | 0 | 0.548077 | 0 | 0 | 0.09723 | 0.05028 | 0 | 0 | 0 | 0 | 0.137821 | 1 | 0.102564 | false | 0.051282 | 0.025641 | 0 | 0.144231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
7479261d8ef25a2c2e0404ec48b32e24bd6ab4a1 | 51,137 | py | Python | infoblox_netmri/api/broker/v3_8_0/device_filter_set_broker.py | infobloxopen/infoblox_netmri | aa1c744df7e439dbe163bb9edd165e4e85a9771b | [
"Apache-2.0"
] | 12 | 2016-02-19T12:37:54.000Z | 2022-03-04T20:11:08.000Z | infoblox_netmri/api/broker/v3_8_0/device_filter_set_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2015-11-12T18:37:00.000Z | 2021-05-19T07:59:55.000Z | infoblox_netmri/api/broker/v3_8_0/device_filter_set_broker.py | azinfoblox/infoblox-netmri | 02372c5231e2677ab6299cb659a73c9a41b4b0f4 | [
"Apache-2.0"
] | 18 | 2016-01-07T12:04:34.000Z | 2022-03-31T11:05:41.000Z | from ..broker import Broker
class DeviceFilterSetBroker(Broker):
controller = "device_filter_sets"
def show(self, **kwargs):
"""Shows the details for the specified device filter set.
**Inputs**
| ``api version min:`` None
| ``api version max:`` None
... | 56.071272 | 652 | 0.6262 | 6,168 | 51,137 | 5.138781 | 0.050422 | 0.066254 | 0.043065 | 0.056316 | 0.935323 | 0.934187 | 0.904278 | 0.890333 | 0.877019 | 0.875536 | 0 | 0.003133 | 0.294796 | 51,137 | 911 | 653 | 56.132821 | 0.875797 | 0.830671 | 0 | 0 | 0 | 0 | 0.064286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.066667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
77c3b166af06a73fb2dee03c315c339fad45ec48 | 1,340 | py | Python | tests/test_90.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_90.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_90.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 90. Subsets II
"""
@pytest.fixture(scope="session")
def init_variables_90():
from src.leetcode_90_subsets_ii import Solution
solution = Solution()
def _init_variables_90():
return solution
yield _init_variables_90
class TestClass90:
def t... | 18.873239 | 67 | 0.576119 | 160 | 1,340 | 4.5375 | 0.1875 | 0.250689 | 0.289256 | 0.099174 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.075789 | 0.291045 | 1,340 | 70 | 68 | 19.142857 | 0.688421 | 0.029851 | 0 | 0.95 | 0 | 0 | 0.011254 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.2 | false | 0 | 0.1 | 0.05 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
24cc86ac57d801a9df1f8a9cb845be2566804549 | 18,279 | py | Python | tests/test_pandemessage.py | elr64/cyhy-mailer | b59b7fa27c6659d103b72ffff8672f724f5d6dd0 | [
"CC0-1.0"
] | null | null | null | tests/test_pandemessage.py | elr64/cyhy-mailer | b59b7fa27c6659d103b72ffff8672f724f5d6dd0 | [
"CC0-1.0"
] | null | null | null | tests/test_pandemessage.py | elr64/cyhy-mailer | b59b7fa27c6659d103b72ffff8672f724f5d6dd0 | [
"CC0-1.0"
] | null | null | null | """This module contains the tests for the PandEMessage class."""
import unittest
from cyhy.mailer.PandEMessage import PandEMessage
class Test(unittest.TestCase):
"""The tests for the PandEMessage class."""
def test_four_params_single_recipient(self):
"""Test the 4-parameter version of the construct... | 54.240356 | 474 | 0.728377 | 2,668 | 18,279 | 4.952024 | 0.08021 | 0.040872 | 0.033303 | 0.026642 | 0.985089 | 0.985089 | 0.980397 | 0.979942 | 0.979942 | 0.977142 | 0 | 0.006498 | 0.19175 | 18,279 | 336 | 475 | 54.401786 | 0.887776 | 0.045134 | 0 | 0.90535 | 0 | 0.098765 | 0.749828 | 0.057259 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.016461 | false | 0.032922 | 0.00823 | 0 | 0.028807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
24fa673e0a900168d5ea7fbcc4c5399e925b10ac | 8,883 | py | Python | tests/EVMContractTest.py | jiuen1115/SM-client-sdk-python | 88ffa77b196803fb141c0b4d27d2841aaebab800 | [
"MIT"
] | 7 | 2019-03-18T06:56:18.000Z | 2021-05-06T07:41:02.000Z | tests/EVMContractTest.py | jiuen1115/SM-client-sdk-python | 88ffa77b196803fb141c0b4d27d2841aaebab800 | [
"MIT"
] | 12 | 2020-09-18T05:46:27.000Z | 2021-12-24T09:38:31.000Z | tests/EVMContractTest.py | PlatONnetwork/client-sdk-python | 94ad57bb34b5ee7bb314ac858071686382c55402 | [
"MIT"
] | 16 | 2019-02-28T03:21:14.000Z | 2021-07-15T06:49:39.000Z | from hexbytes import HexBytes
from client_sdk_python import Web3, HTTPProvider
from client_sdk_python.eth import PlatON
from client_sdk_python.packages.platon_keys.utils import bech32,address
from client_sdk_python.packages.eth_utils import to_checksum_address
true = True
false = False
w3 = Web3(HTTPProvider("http://... | 118.44 | 3,927 | 0.792638 | 606 | 8,883 | 11.561056 | 0.222772 | 0.035969 | 0.080931 | 0.064231 | 0.320582 | 0.312875 | 0.312875 | 0.312875 | 0.312875 | 0.312875 | 0 | 0.338292 | 0.038951 | 8,883 | 75 | 3,928 | 118.44 | 0.482371 | 0.052797 | 0 | 0 | 0 | 0 | 0.647857 | 0.373333 | 0 | 1 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.108696 | 0 | 0.195652 | 0.195652 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7006073d37c7533815fd70ea0622079ec818be42 | 101 | py | Python | litterbox/layers/__init__.py | rwightman/tensorflow-litterbox | ddeeb3a6c7de64e5391050ffbb5948feca65ad3c | [
"Apache-2.0"
] | 49 | 2016-09-09T15:31:36.000Z | 2022-03-09T09:43:52.000Z | litterbox/layers/__init__.py | TangxinKevin/tensorflow-litterbox | ddeeb3a6c7de64e5391050ffbb5948feca65ad3c | [
"Apache-2.0"
] | 1 | 2017-06-09T07:24:16.000Z | 2017-06-09T15:28:11.000Z | litterbox/layers/__init__.py | TangxinKevin/tensorflow-litterbox | ddeeb3a6c7de64e5391050ffbb5948feca65ad3c | [
"Apache-2.0"
] | 29 | 2016-09-20T07:29:54.000Z | 2021-09-28T08:03:49.000Z | from .preact_conv import preact_conv2d
from .compact_bilinear_pooling import compact_bilinear_pooling | 50.5 | 62 | 0.910891 | 14 | 101 | 6.142857 | 0.571429 | 0.348837 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.069307 | 101 | 2 | 62 | 50.5 | 0.904255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
700b58d2a1f0abeadf509a6e9025c7c24dec971f | 33,717 | py | Python | mapping/test_filter_remapped_reads.py | bmvdgeijn/WASP | d3b8447fd7719fffa00b856fd1f27c845554693e | [
"Apache-2.0"
] | 72 | 2015-03-01T20:59:06.000Z | 2022-03-28T08:48:39.000Z | mapping/test_filter_remapped_reads.py | bmvdgeijn/WASP | d3b8447fd7719fffa00b856fd1f27c845554693e | [
"Apache-2.0"
] | 93 | 2015-01-14T23:49:12.000Z | 2022-03-26T16:31:52.000Z | mapping/test_filter_remapped_reads.py | bmvdgeijn/WASP | d3b8447fd7719fffa00b856fd1f27c845554693e | [
"Apache-2.0"
] | 51 | 2015-02-19T23:49:17.000Z | 2021-12-16T01:40:37.000Z | import sys
import os
import subprocess
import filter_remapped_reads
import util
#
# filter_remapped_reads.py
# INPUT FILES:
# to_remap_bam - input BAM file containing original set of reads
# that need to be remapped after having their alleles flipped
#
# remap_bam - input BAM file containing rem... | 61.527372 | 376 | 0.763888 | 4,507 | 33,717 | 5.583759 | 0.082538 | 0.020742 | 0.008106 | 0.012159 | 0.865175 | 0.853493 | 0.8314 | 0.827982 | 0.824803 | 0.819558 | 0 | 0.120493 | 0.153513 | 33,717 | 547 | 377 | 61.639854 | 0.761256 | 0.169114 | 0 | 0.581761 | 0 | 0.163522 | 0.677077 | 0.420249 | 0 | 0 | 0 | 0.003656 | 0.084906 | 1 | 0.022013 | false | 0 | 0.015723 | 0 | 0.040881 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7011a7cde9af2b72a2bcd3a2d618c9ed950a1db5 | 1,544 | py | Python | tests/exact_models/models.py | SABS-R3-projects/test-driven-development-practice | da48869c4758a8e325cc6b37090a1bc461304f1a | [
"BSD-3-Clause"
] | null | null | null | tests/exact_models/models.py | SABS-R3-projects/test-driven-development-practice | da48869c4758a8e325cc6b37090a1bc461304f1a | [
"BSD-3-Clause"
] | null | null | null | tests/exact_models/models.py | SABS-R3-projects/test-driven-development-practice | da48869c4758a8e325cc6b37090a1bc461304f1a | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
def logistic_growth_dimensionless(times, t_0=0.0, x_0=0.1, Lambda=1.0):
'''
Example to test numerical solution of ODEs. This version rescales N by C, i.e. x:= N/C.
args:
times: np.array of time points.
t_0: Initial time.
x_0: Initial population size.
Lambda: exponent... | 28.072727 | 91 | 0.637306 | 244 | 1,544 | 3.922131 | 0.209016 | 0.025078 | 0.065831 | 0.025078 | 0.835946 | 0.835946 | 0.784744 | 0.784744 | 0.784744 | 0.717868 | 0 | 0.041775 | 0.255829 | 1,544 | 55 | 92 | 28.072727 | 0.791123 | 0.579016 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
7068879add6cb80be155a9b49f2873424465f630 | 164 | py | Python | 0x09-python-everything_is_object/100-magic_string.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | 0x09-python-everything_is_object/100-magic_string.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | 0x09-python-everything_is_object/100-magic_string.py | ricardo1470/holbertonschool-higher_level_programming | aab73c8efee665b0215958ee7b338871f13634bc | [
"CNRI-Python"
] | null | null | null | #!/usr/bin/python3
def magic_string():
setattr(magic_string, "c", getattr(magic_string, "c", -1) + 1)
return ("Holberton" + ", Holberton" * magic_string.c)
| 32.8 | 66 | 0.652439 | 22 | 164 | 4.681818 | 0.545455 | 0.427184 | 0.349515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.152439 | 164 | 4 | 67 | 41 | 0.719424 | 0.103659 | 0 | 0 | 0 | 0 | 0.150685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
567b5c2f276a26b1ed0f8cff6a238d49ea507ef8 | 10,630 | py | Python | Core/Solvers/KDA/concrete_knapsackmodel.py | zztcok/SNAC_PSNAC | 9119c325c2114ac7034362b5349ffc5b2ce895d6 | [
"Apache-2.0"
] | 1 | 2020-12-22T23:04:59.000Z | 2020-12-22T23:04:59.000Z | Core/Solvers/KDA/concrete_knapsackmodel.py | zztcok/SNAC_PSNAC | 9119c325c2114ac7034362b5349ffc5b2ce895d6 | [
"Apache-2.0"
] | null | null | null | Core/Solvers/KDA/concrete_knapsackmodel.py | zztcok/SNAC_PSNAC | 9119c325c2114ac7034362b5349ffc5b2ce895d6 | [
"Apache-2.0"
] | 1 | 2020-12-21T21:46:04.000Z | 2020-12-21T21:46:04.000Z | #
# This is the knapsack general problem
#
import sys
import os
from os.path import abspath, dirname
sys.path.insert(0, dirname(dirname(dirname(dirname(abspath(__file__))))))
from pyomo.environ import *
from pyomo.opt import SolverFactory
#Information for the problem
def create_knapsackmodel(items,resources,v,w,w_max... | 31.731343 | 269 | 0.72794 | 1,667 | 10,630 | 4.546491 | 0.05099 | 0.064652 | 0.029555 | 0.034833 | 0.897216 | 0.890751 | 0.887452 | 0.865154 | 0.852751 | 0.836258 | 0 | 0.006335 | 0.138758 | 10,630 | 334 | 270 | 31.826347 | 0.821518 | 0.010724 | 0 | 0.721393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.174129 | false | 0 | 0.024876 | 0.114428 | 0.402985 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 8 |
3b0ab919a9b604181f59b00ef7237354c922e8a8 | 606 | py | Python | model/mipmap.py | vitorgodeiro/RenderGL | 66a2de32a3f6f8e2dbfb9d0e62173811c0c8d51b | [
"MIT"
] | 1 | 2019-05-13T01:08:52.000Z | 2019-05-13T01:08:52.000Z | model/mipmap.py | vitorgodeiro/RenderGL | 66a2de32a3f6f8e2dbfb9d0e62173811c0c8d51b | [
"MIT"
] | null | null | null | model/mipmap.py | vitorgodeiro/RenderGL | 66a2de32a3f6f8e2dbfb9d0e62173811c0c8d51b | [
"MIT"
] | 1 | 2021-10-10T06:00:58.000Z | 2021-10-10T06:00:58.000Z | import cv2
img = cv2.imread('mandrill_256.jpg')
lower_reso = cv2.pyrDown(img)
cv2.imwrite('mandrill_128.jpg', lower_reso)
lower_reso = cv2.pyrDown(lower_reso)
cv2.imwrite('mandrill_64.jpg', lower_reso)
lower_reso = cv2.pyrDown(lower_reso)
cv2.imwrite('mandrill_32.jpg', lower_reso)
lower_reso = cv2.pyrDown(lower_res... | 25.25 | 43 | 0.783828 | 98 | 606 | 4.561224 | 0.183673 | 0.402685 | 0.348993 | 0.297539 | 0.778523 | 0.778523 | 0.778523 | 0.778523 | 0.778523 | 0.778523 | 0 | 0.055456 | 0.077558 | 606 | 23 | 44 | 26.347826 | 0.744186 | 0 | 0 | 0.375 | 0 | 0 | 0.19637 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3b18793bcc19b62ee9722057d537e41c587f2c78 | 2,050 | py | Python | node/opcua/monitor/parse_tags.py | mabotech/mabo.io | 7f646db9d5ee3cd0b137866bf8eaf295890f134c | [
"MIT"
] | null | null | null | node/opcua/monitor/parse_tags.py | mabotech/mabo.io | 7f646db9d5ee3cd0b137866bf8eaf295890f134c | [
"MIT"
] | null | null | null | node/opcua/monitor/parse_tags.py | mabotech/mabo.io | 7f646db9d5ee3cd0b137866bf8eaf295890f134c | [
"MIT"
] | 1 | 2021-01-30T01:47:01.000Z | 2021-01-30T01:47:01.000Z |
filename = "cool_system.csv"
import json
import csv
with open(filename, 'rb') as f:
reader = csv.reader(f)
i = 0
y = []
z = []
for row in reader:
i = i +1
if i != 1:
x = "ns=2;s=CP_OP10C_D.cool_system.%s" % (row[0])
y.append(x)
z.append(row[0]... | 55.405405 | 1,552 | 0.738537 | 411 | 2,050 | 3.304136 | 0.150852 | 0.070692 | 0.094256 | 0.141384 | 0.749632 | 0.749632 | 0.740795 | 0.718704 | 0.693667 | 0.656848 | 0 | 0.06138 | 0.101951 | 2,050 | 37 | 1,553 | 55.405405 | 0.676263 | 0.009268 | 0 | 0 | 0 | 0 | 0.738166 | 0.720414 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.095238 | null | null | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3b57c731a875e894e52db453e8fbd078d5b68641 | 8,597 | py | Python | userbot/modules/messages.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/messages.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/messages.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Marshal By XVenom
#https://github.com/xvenom15
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00s\xb2\x00\x00\x00d\x00Z\x00d\x01d\x02l\x01m\x02Z\x02\x01\x00d\x01d\x03l\x03m\x04Z\x04\x01\x00d\x01d\x04l\x05m\x06Z\x06m\x07Z\x07m\x... | 2,149.25 | 8,526 | 0.762824 | 1,830 | 8,597 | 3.570492 | 0.187978 | 0.22865 | 0.151515 | 0.113866 | 0.41506 | 0.375727 | 0.330885 | 0.25375 | 0.215641 | 0.207377 | 0 | 0.339649 | 0.017797 | 8,597 | 4 | 8,526 | 2,149.25 | 0.434154 | 0.006049 | 0 | 0 | 0 | 1 | 0.764513 | 0.671114 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
3b90e682b63e1eeb1a8512a3b8928dea3cf3ae05 | 4,707 | py | Python | Bugs/Java/vuls4j/projects/tomcat/tomcat_exploit.py | Programming-Systems-Lab/bug-collection | bd13bcb505b0b0c33d8522fc00b5f4dc25eb40ba | [
"MIT"
] | null | null | null | Bugs/Java/vuls4j/projects/tomcat/tomcat_exploit.py | Programming-Systems-Lab/bug-collection | bd13bcb505b0b0c33d8522fc00b5f4dc25eb40ba | [
"MIT"
] | null | null | null | Bugs/Java/vuls4j/projects/tomcat/tomcat_exploit.py | Programming-Systems-Lab/bug-collection | bd13bcb505b0b0c33d8522fc00b5f4dc25eb40ba | [
"MIT"
] | null | null | null | #exploit for CVE-2014-0050
import sh
def exploit(url, username, password):
#4092 characters
boundary = "aasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfadsfasdfasdfasdfasdfasdfadsfasdfasdfasdfa... | 235.35 | 4,109 | 0.956235 | 82 | 4,707 | 54.756098 | 0.658537 | 0.01069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004357 | 0.024857 | 4,707 | 20 | 4,110 | 235.35 | 0.973856 | 0.027194 | 0 | 0 | 0 | 0 | 0.92417 | 0.901005 | 0 | 1 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.333333 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
3b9f9ae20c8722214e30f8e469052ae6b3e7fdc6 | 21,391 | py | Python | .ipynb_checkpoints/EC_data-checkpoint.py | jkcm/lagrangian-cset | 532526cbf9c3c788bf1db597b9e7a7e4ad799856 | [
"BSD-3-Clause"
] | null | null | null | .ipynb_checkpoints/EC_data-checkpoint.py | jkcm/lagrangian-cset | 532526cbf9c3c788bf1db597b9e7a7e4ad799856 | [
"BSD-3-Clause"
] | null | null | null | .ipynb_checkpoints/EC_data-checkpoint.py | jkcm/lagrangian-cset | 532526cbf9c3c788bf1db597b9e7a7e4ad799856 | [
"BSD-3-Clause"
] | 1 | 2020-03-30T10:53:15.000Z | 2020-03-30T10:53:15.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Oct 9 14:17:57 2017
@author: jkcm
"""
from ecmwfapi import ECMWFDataServer
import datetime as dt
from LoopTimer import LoopTimer
import cdsapi
def get_flux_forecast_data(date):
server = ECMWFDataServer()
server.retrieve({
"class": "ea... | 60.597734 | 234 | 0.626712 | 3,523 | 21,391 | 3.777746 | 0.083452 | 0.054399 | 0.021038 | 0.02735 | 0.942821 | 0.930423 | 0.924262 | 0.923886 | 0.917049 | 0.899166 | 0 | 0.125639 | 0.204479 | 21,391 | 353 | 235 | 60.597734 | 0.656461 | 0.534898 | 0 | 0.748879 | 0 | 0.125561 | 0.465538 | 0.30781 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049327 | false | 0 | 0.017937 | 0 | 0.067265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8ec49b2056a087594e6b72886b0aab2e7e317071 | 7,906 | py | Python | pbi_rest_client/dataflows.py | ChristianPresley/power-bi-python-api | f1bbb11986cfdabfd2ad0061e34fe74339a7dfe0 | [
"MS-PL"
] | null | null | null | pbi_rest_client/dataflows.py | ChristianPresley/power-bi-python-api | f1bbb11986cfdabfd2ad0061e34fe74339a7dfe0 | [
"MS-PL"
] | null | null | null | pbi_rest_client/dataflows.py | ChristianPresley/power-bi-python-api | f1bbb11986cfdabfd2ad0061e34fe74339a7dfe0 | [
"MS-PL"
] | null | null | null | #!/usr/bin/env python
import logging
import json
import requests
import os
from typing import List
from .utils.utils import Utils
from .workspaces import Workspaces
utils = Utils()
class Dataflows:
def __init__(self, client):
self.client = client
self.workspaces = Workspaces(client)
self... | 42.967391 | 155 | 0.638376 | 896 | 7,906 | 5.46317 | 0.121652 | 0.067416 | 0.058836 | 0.044127 | 0.80286 | 0.793871 | 0.786925 | 0.779367 | 0.770582 | 0.740143 | 0 | 0.001024 | 0.258917 | 7,906 | 184 | 156 | 42.967391 | 0.834443 | 0.065393 | 0 | 0.707143 | 0 | 0 | 0.146824 | 0.006095 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.05 | 0 | 0.207143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d90eb3a422b980c194eb1f710dc8bb55fae20a97 | 17,655 | py | Python | tests/unittests/_async/test_service_route_proxy.py | mardiros/blacksmith | c86a870da04b0d916f243cb51f8861529284337d | [
"BSD-3-Clause"
] | 15 | 2022-01-16T15:23:23.000Z | 2022-01-20T21:42:53.000Z | tests/unittests/_async/test_service_route_proxy.py | mardiros/blacksmith | c86a870da04b0d916f243cb51f8861529284337d | [
"BSD-3-Clause"
] | 9 | 2022-01-11T19:42:42.000Z | 2022-01-26T20:24:23.000Z | tests/unittests/_async/test_service_route_proxy.py | mardiros/blacksmith | c86a870da04b0d916f243cb51f8861529284337d | [
"BSD-3-Clause"
] | null | null | null | from typing import Any
import pytest
from blacksmith import Request
from blacksmith.domain.exceptions import (
HTTPError,
NoContractException,
UnregisteredRouteException,
WrongRequestTypeException,
)
from blacksmith.domain.model import (
CollectionParser,
HTTPRequest,
HTTPResponse,
HTT... | 27.759434 | 84 | 0.570263 | 1,517 | 17,655 | 6.484509 | 0.092287 | 0.069737 | 0.026837 | 0.06933 | 0.818542 | 0.808173 | 0.794246 | 0.785809 | 0.775338 | 0.765986 | 0 | 0.008323 | 0.299065 | 17,655 | 635 | 85 | 27.80315 | 0.786586 | 0 | 0 | 0.725979 | 0 | 0 | 0.09697 | 0.003682 | 0 | 0 | 0 | 0 | 0.051601 | 1 | 0.003559 | false | 0 | 0.023132 | 0 | 0.033808 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d91f8d3a57cbe0c1954b9abc7b44d7d8fcb271eb | 3,381 | py | Python | Brevet_US_4661747_Edwin_Gray_Power_Tube/Version_2/assembly_plant.py | Jay4C/Python-Macros-For_FreeCAD | 12ce5441a26731377fa43e86ccd2be675740d3a0 | [
"MIT"
] | null | null | null | Brevet_US_4661747_Edwin_Gray_Power_Tube/Version_2/assembly_plant.py | Jay4C/Python-Macros-For_FreeCAD | 12ce5441a26731377fa43e86ccd2be675740d3a0 | [
"MIT"
] | null | null | null | Brevet_US_4661747_Edwin_Gray_Power_Tube/Version_2/assembly_plant.py | Jay4C/Python-Macros-For_FreeCAD | 12ce5441a26731377fa43e86ccd2be675740d3a0 | [
"MIT"
] | null | null | null | import FreeCAD, Part, Drawing, math, Mesh
DOC = FreeCAD.activeDocument()
DOC_NAME = "assembly_plant"
def clear_doc():
# Clear the active document deleting all the objects
for obj in DOC.Objects:
DOC.removeObject(obj.Name)
def setview():
# Rearrange View
FreeCAD.Gui.SendMsgToActiveView("Vie... | 32.2 | 165 | 0.711624 | 439 | 3,381 | 5.437358 | 0.205011 | 0.206535 | 0.328027 | 0.111437 | 0.749057 | 0.708002 | 0.708002 | 0.708002 | 0.708002 | 0.66946 | 0.000296 | 0.055773 | 0.093168 | 3,381 | 104 | 166 | 32.509615 | 0.72244 | 0.043182 | 0 | 0.642857 | 0 | 0 | 0.113108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.014286 | 0 | 0.042857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 7 |
d92470ccbbc8140b45321f0b81d58e6a5937fd0f | 9,445 | py | Python | SSVQE.py | HirparaAmit/Qhack-2022 | 6da21841b7cfab0e646f9bac825bb10db2b39edc | [
"MIT"
] | 4 | 2022-03-10T09:53:38.000Z | 2022-03-26T00:45:00.000Z | SSVQE.py | HirparaAmit/Qhack-2022 | 6da21841b7cfab0e646f9bac825bb10db2b39edc | [
"MIT"
] | null | null | null | SSVQE.py | HirparaAmit/Qhack-2022 | 6da21841b7cfab0e646f9bac825bb10db2b39edc | [
"MIT"
] | 1 | 2022-03-28T08:44:57.000Z | 2022-03-28T08:44:57.000Z | import pennylane as qml
from pennylane import numpy as np
import matplotlib.pyplot as plt
def WEIGHTED_SSVQE(hamiltonian, ansatz, params, opt_name='Adam', stepsize=0.1, iterations=100, k=0, device_name='default.qubit'):
"""Calculates the kth excited state energy for of a given Hamiltonian.
Args:
... | 43.525346 | 164 | 0.657702 | 1,201 | 9,445 | 5.113239 | 0.1199 | 0.03094 | 0.026869 | 0.032568 | 0.938447 | 0.938447 | 0.928188 | 0.926885 | 0.926885 | 0.91858 | 0 | 0.006524 | 0.253467 | 9,445 | 217 | 165 | 43.525346 | 0.864416 | 0.484489 | 0 | 0.777778 | 0 | 0 | 0.029905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.027778 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d948f904647c70be38b936eb6a44e6d22372e4de | 15,721 | py | Python | elm.py | musicbiker/ANNT | 301f1090925c8937f0fd3b4955ec68ff772022ce | [
"MIT"
] | null | null | null | elm.py | musicbiker/ANNT | 301f1090925c8937f0fd3b4955ec68ff772022ce | [
"MIT"
] | null | null | null | elm.py | musicbiker/ANNT | 301f1090925c8937f0fd3b4955ec68ff772022ce | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Nov 26 12:48:31 2019
@author: jrodriguez119
Extreme Learning Machine
Función que realiza este tipo de red
"""
import numpy as np
import cupy as cp
from time import time
from keras.utils import to_categorical
#ELM básica que devuelve el modelo
def ELM(... | 38.531863 | 123 | 0.493289 | 1,837 | 15,721 | 4.015242 | 0.101252 | 0.04474 | 0.048807 | 0.020336 | 0.858595 | 0.843818 | 0.818736 | 0.810602 | 0.794062 | 0.773183 | 0 | 0.021883 | 0.412824 | 15,721 | 408 | 124 | 38.531863 | 0.777164 | 0.16672 | 0 | 0.838565 | 0 | 0 | 0.004516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008969 | false | 0 | 0.017937 | 0 | 0.035874 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
79b849b3eaa10732355e7b4984461722f406b2d4 | 10,540 | py | Python | Deep-Learning-with-Databricks/AGENDA.py | databricks-academy/deep-learning-with-databricks | b579a75e12cbd3df59894c1bfa917b5a14df9a8c | [
"CC0-1.0"
] | 2 | 2021-11-17T17:40:25.000Z | 2022-02-03T22:53:17.000Z | Deep-Learning-with-Databricks/AGENDA.py | databricks-academy/scalable-deep-learning-with-tensorflow-and-apache-spark | b579a75e12cbd3df59894c1bfa917b5a14df9a8c | [
"CC0-1.0"
] | null | null | null | Deep-Learning-with-Databricks/AGENDA.py | databricks-academy/scalable-deep-learning-with-tensorflow-and-apache-spark | b579a75e12cbd3df59894c1bfa917b5a14df9a8c | [
"CC0-1.0"
] | 2 | 2022-01-28T16:02:53.000Z | 2022-02-22T13:47:41.000Z | # Databricks notebook source
# MAGIC %md-sandbox
# MAGIC
# MAGIC <div style="text-align: center; line-height: 0; padding-top: 9px;">
# MAGIC <img src="https://databricks.com/wp-content/uploads/2018/03/db-academy-rgb-1200px.png" alt="Databricks Learning" style="width: 600px">
# MAGIC </div>
# COMMAND ----------
# M... | 121.149425 | 1,131 | 0.58444 | 1,362 | 10,540 | 4.522761 | 0.183554 | 0.8 | 1.184416 | 1.558442 | 0.562175 | 0.521429 | 0.506494 | 0.506494 | 0.492857 | 0.492857 | 0 | 0.017648 | 0.204364 | 10,540 | 86 | 1,132 | 122.55814 | 0.716909 | 0.983586 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
79dfef5540e4ac9cd1f6ab2c2952ca6b4905637c | 7,349 | py | Python | contrail/scr/helpers/parse_encounter_helpers.py | sisl/Contrail | 50bdb9800c882480fbb3070ae1926d1c55b5c186 | [
"MIT"
] | 2 | 2022-01-21T17:53:25.000Z | 2022-03-16T21:30:10.000Z | contrail/scr/helpers/parse_encounter_helpers.py | sisl/Contrail | 50bdb9800c882480fbb3070ae1926d1c55b5c186 | [
"MIT"
] | null | null | null | contrail/scr/helpers/parse_encounter_helpers.py | sisl/Contrail | 50bdb9800c882480fbb3070ae1926d1c55b5c186 | [
"MIT"
] | 1 | 2022-03-16T21:29:34.000Z | 2022-03-16T21:29:34.000Z | import struct
import pymap3d as pm
import base64
from helpers.constants import *
'''
Used when a user selects an enc from the dropdown and memory_data['type']
is either 'loaded' or 'generated'. The only difference between this function
and parse_enc_data_from_encounters_data is how the data is read in. In... | 51.034722 | 184 | 0.569057 | 968 | 7,349 | 3.953512 | 0.129132 | 0.065848 | 0.031356 | 0.045989 | 0.811863 | 0.78103 | 0.756206 | 0.742618 | 0.709172 | 0.653253 | 0 | 0.00999 | 0.318955 | 7,349 | 144 | 185 | 51.034722 | 0.754645 | 0.015104 | 0 | 0.72449 | 1 | 0 | 0.090978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030612 | false | 0 | 0.040816 | 0 | 0.112245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5c2f89f6e8690c98d2b95afa04f1f3f7d516210a | 4,652 | py | Python | data/datasets.py | frank-xwang/debiased-pseudo-labeling | a454dbc3a67eca323c57cba889a2828fca7dd72f | [
"MIT"
] | 13 | 2022-03-02T02:59:52.000Z | 2022-03-24T07:30:49.000Z | data/datasets.py | frank-xwang/debiased-pseudo-labeling | a454dbc3a67eca323c57cba889a2828fca7dd72f | [
"MIT"
] | null | null | null | data/datasets.py | frank-xwang/debiased-pseudo-labeling | a454dbc3a67eca323c57cba889a2828fca7dd72f | [
"MIT"
] | null | null | null | import numpy as np
from torchvision.datasets.folder import ImageFolder, default_loader
def get_keep_index(labels, percent, num_classes, shuffle=False):
labels = np.array(labels)
keep_indexs = []
for i in range(num_classes):
idx = np.where(labels == i)[0]
num_sample = len(idx)
label... | 41.535714 | 91 | 0.64166 | 580 | 4,652 | 4.896552 | 0.115517 | 0.110915 | 0.058099 | 0.059859 | 0.821479 | 0.821479 | 0.821479 | 0.821479 | 0.821479 | 0.821479 | 0 | 0.003221 | 0.265907 | 4,652 | 112 | 92 | 41.535714 | 0.828404 | 0 | 0 | 0.763441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021505 | 1 | 0.129032 | false | 0 | 0.021505 | 0.032258 | 0.27957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5c370505707d26dec01cffff891d3f86127b6d32 | 68,697 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/EightThreads_lbm/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/EightThreads_lbm/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/SystemIPC_2/EightThreads_lbm/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.160832 | 124 | 0.682257 | 8,098 | 68,697 | 5.781798 | 0.067671 | 0.123363 | 0.11277 | 0.093291 | 0.937699 | 0.930394 | 0.91743 | 0.886995 | 0.862006 | 0.842848 | 0 | 0.132781 | 0.224042 | 68,697 | 914 | 125 | 75.160832 | 0.745563 | 0 | 0 | 0.642232 | 0 | 0 | 0.656569 | 0.048036 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
308aa4c5895e180364c980dd8111406a40f8c718 | 7,605 | py | Python | verification/tests.py | CheckiO-Missions/checkio-mission-count-neighbours | fc0b75f63203c9d6b41a5269698f5c5c347f4dee | [
"MIT"
] | null | null | null | verification/tests.py | CheckiO-Missions/checkio-mission-count-neighbours | fc0b75f63203c9d6b41a5269698f5c5c347f4dee | [
"MIT"
] | null | null | null | verification/tests.py | CheckiO-Missions/checkio-mission-count-neighbours | fc0b75f63203c9d6b41a5269698f5c5c347f4dee | [
"MIT"
] | 5 | 2016-07-08T13:34:23.000Z | 2019-11-24T09:07:42.000Z | """
TESTS is a dict with all you tests.
Keys for this will be categories' names.
Each test is dict with
"input" -- input data for user function
"answer" -- your right answer
"explanation" -- not necessary key, it's using for additional info in animation.
"""
TESTS = {
"Basics": [
{
... | 47.236025 | 94 | 0.239053 | 1,487 | 7,605 | 1.222596 | 0.030935 | 0.426843 | 0.39604 | 0.371837 | 0.805281 | 0.793179 | 0.766777 | 0.765677 | 0.765127 | 0.754125 | 0 | 0.368407 | 0.498882 | 7,605 | 160 | 95 | 47.53125 | 0.108633 | 0.034451 | 0 | 0.214765 | 0 | 0 | 0.029993 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
30a391a67a897768a9caf7620790b791994b8239 | 3,864 | py | Python | match-maker-ces.py | carlyshipman/match-maker | db30a2078338f0b4dc567871ef85987cf3d7fdc4 | [
"MIT"
] | null | null | null | match-maker-ces.py | carlyshipman/match-maker | db30a2078338f0b4dc567871ef85987cf3d7fdc4 | [
"MIT"
] | null | null | null | match-maker-ces.py | carlyshipman/match-maker | db30a2078338f0b4dc567871ef85987cf3d7fdc4 | [
"MIT"
] | null | null | null | #Carly Shipman
#Matchmaker
QUESTION = [
'Ironman is the best MCU character',
'Calculus is dumb',
'Running is really fun',
'Matcha tastes like grass',
'Hippo Campus is the best band ever'
]
DESIRED_RESPONSE =[
5, #strongly agree
1, #strongly disagree
5, #srongly agree
... | 25.932886 | 76 | 0.709627 | 421 | 3,864 | 6.501188 | 0.266033 | 0.007307 | 0.013153 | 0.014615 | 0.802338 | 0.802338 | 0.786262 | 0.747534 | 0.747534 | 0.747534 | 0 | 0.028506 | 0.210145 | 3,864 | 148 | 77 | 26.108108 | 0.868283 | 0 | 0 | 0.857143 | 0 | 0 | 0.35124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
30de96addc5feb20b87eaa8052224b3725583312 | 104 | py | Python | vea/tools/__init__.py | AP-Atul/Video-Editing-Automation | cadf3e66f208737c1a273b958c4654a3d08f4f71 | [
"MIT"
] | 18 | 2020-01-14T08:25:02.000Z | 2021-12-31T02:04:11.000Z | vea/tools/__init__.py | AP-Atul/Video-Editing-Automation | cadf3e66f208737c1a273b958c4654a3d08f4f71 | [
"MIT"
] | null | null | null | vea/tools/__init__.py | AP-Atul/Video-Editing-Automation | cadf3e66f208737c1a273b958c4654a3d08f4f71 | [
"MIT"
] | 1 | 2021-02-06T21:39:15.000Z | 2021-02-06T21:39:15.000Z | from vea.tools.timestamps import *
from vea.tools.video_get import *
from vea.tools.video_show import *
| 26 | 34 | 0.798077 | 17 | 104 | 4.764706 | 0.470588 | 0.259259 | 0.444444 | 0.444444 | 0.567901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 35 | 34.666667 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
30f7beca4160ec44ad662d101ce409692c9014e0 | 196 | py | Python | mrbuilder/builders/pytorch/layer_registry.py | mrb1778/MrBuilder | c11a6ce263d7f53f388794f2794a8fcfb0bb3145 | [
"MIT"
] | 1 | 2019-06-15T02:34:16.000Z | 2019-06-15T02:34:16.000Z | mrbuilder/builders/pytorch/layer_registry.py | mrb1778/MrBuilder | c11a6ce263d7f53f388794f2794a8fcfb0bb3145 | [
"MIT"
] | null | null | null | mrbuilder/builders/pytorch/layer_registry.py | mrb1778/MrBuilder | c11a6ce263d7f53f388794f2794a8fcfb0bb3145 | [
"MIT"
] | null | null | null | from mrbuilder.layer_registry import register_layer_wrapper
registered_layers = {}
def register_layer(name: str, *aliases):
return register_layer_wrapper(registered_layers, name, *aliases)
| 24.5 | 68 | 0.811224 | 24 | 196 | 6.291667 | 0.583333 | 0.258278 | 0.264901 | 0.397351 | 0.476821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 196 | 7 | 69 | 28 | 0.867816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
30f8f6183106549561108c796f7c7393237a67b0 | 12,405 | py | Python | tests/test_experiment/test_training_history.py | mv1388/AIToolbox | c64ac4810a02d230ce471d86b758e82ea232a7e7 | [
"MIT"
] | 3 | 2019-10-12T12:24:09.000Z | 2020-08-02T02:42:43.000Z | tests/test_experiment/test_training_history.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | 3 | 2020-04-10T14:07:07.000Z | 2020-04-22T19:04:38.000Z | tests/test_experiment/test_training_history.py | mv1388/aitoolbox | 1060435e6cbdfd19abcb726c4080b663536b7467 | [
"MIT"
] | null | null | null | import unittest
from aitoolbox.experiment.training_history import TrainingHistory
class TestWrapPrePreparedTrainingHistory(unittest.TestCase):
def test_abstract_callback_has_hook_methods(self):
history = {'val_loss': [2.2513437271118164, 2.1482439041137695, 2.0187528133392334, 1.7953970432281494,
... | 50.426829 | 120 | 0.612253 | 1,470 | 12,405 | 4.9 | 0.098639 | 0.079967 | 0.080244 | 0.088574 | 0.839928 | 0.811051 | 0.784395 | 0.758295 | 0.72803 | 0.693878 | 0 | 0.218526 | 0.246352 | 12,405 | 245 | 121 | 50.632653 | 0.551931 | 0 | 0 | 0.535354 | 0 | 0 | 0.112616 | 0 | 0 | 0 | 0 | 0 | 0.252525 | 1 | 0.090909 | false | 0 | 0.010101 | 0 | 0.116162 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eb646ee88769da184a12410bb3abcba93e86dacb | 7,006 | py | Python | vuelos.py | wirms/katarina-remastered-electric-boogaloo | e5aafa6d1849b4643681bc181c662eb9aed190b8 | [
"MIT"
] | null | null | null | vuelos.py | wirms/katarina-remastered-electric-boogaloo | e5aafa6d1849b4643681bc181c662eb9aed190b8 | [
"MIT"
] | null | null | null | vuelos.py | wirms/katarina-remastered-electric-boogaloo | e5aafa6d1849b4643681bc181c662eb9aed190b8 | [
"MIT"
] | null | null | null | import datetime
import commands as cm
import time
def vuelo1(drone):
filename = datetime.datetime.now().strftime("Vuelo_recto_%y%m%d_%H%M%S.txt")
f = open(filename, "wb")
f.write("Vuelo tipo vuelo1, linea recta \n")
drone.takeoff()
i = 0except (KeyboardInterrupt, SystemExit):
self.drone.update(cmd = commands.... | 32.285714 | 89 | 0.596917 | 1,077 | 7,006 | 3.860724 | 0.087279 | 0.093795 | 0.084175 | 0.05772 | 0.86075 | 0.854978 | 0.828764 | 0.815055 | 0.804233 | 0.765272 | 0 | 0.034873 | 0.193691 | 7,006 | 216 | 90 | 32.435185 | 0.701186 | 0.022838 | 0 | 0.732984 | 0 | 0 | 0.2067 | 0.025746 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015707 | null | null | 0.13089 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
eb650c9ab6e8cd62821f65087a44fcb6d3ad153d | 52,594 | py | Python | tests/avs_client/fixtures.py | CuidaHealth/alexa-voice-service-client | 3b189b7039997251196956f13e365a4b83c36622 | [
"MIT"
] | 1 | 2019-01-16T01:38:40.000Z | 2019-01-16T01:38:40.000Z | tests/avs_client/fixtures.py | CuidaHealth/alexa-voice-service-client | 3b189b7039997251196956f13e365a4b83c36622 | [
"MIT"
] | null | null | null | tests/avs_client/fixtures.py | CuidaHealth/alexa-voice-service-client | 3b189b7039997251196956f13e365a4b83c36622 | [
"MIT"
] | 2 | 2018-07-12T19:56:42.000Z | 2018-07-20T23:56:35.000Z | # noqa
audio_response_multipart = b'--22b41228-f803-447b-9cde-f99d0a1652b1\r\nContent-Type: application/json; charset=UTF-8\r\n\r\n{"directive":{"header":{"namespace":"SpeechSynthesizer","name":"Speak","messageId":"3009890b-a556-48bd-87f6-cae9476f3cd8","dialogRequestId":"f3bd01b3-fb8b-4468-ba30-32bad766b3e6"},"payload"... | 10,518.8 | 26,659 | 0.740332 | 11,899 | 52,594 | 3.266577 | 0.128498 | 0.020685 | 0.023669 | 0.009262 | 0.991175 | 0.991175 | 0.989915 | 0.985618 | 0.983817 | 0.983817 | 0 | 0.227282 | 0.00173 | 52,594 | 4 | 26,660 | 13,148.5 | 0.513037 | 0.000076 | 0 | 0 | 0 | 22 | 0.654997 | 0.65243 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
eb7843b7d58da09b07f7284fb479a174f6834b66 | 2,810 | py | Python | pyoml/fuzzy/tests/test_membership.py | murilocamargos/pyefs | 1100fa970c9dfbc1b348168c8a4fbf2c8c48e435 | [
"MIT"
] | null | null | null | pyoml/fuzzy/tests/test_membership.py | murilocamargos/pyefs | 1100fa970c9dfbc1b348168c8a4fbf2c8c48e435 | [
"MIT"
] | null | null | null | pyoml/fuzzy/tests/test_membership.py | murilocamargos/pyefs | 1100fa970c9dfbc1b348168c8a4fbf2c8c48e435 | [
"MIT"
] | null | null | null | # Authors: Murilo Camargos <murilo.camargosf@gmail.com>
# License: MIT
import pytest
import numpy as np
from pyoml.fuzzy.membership import TriMF, TrapMF
def test_trimf_set_abc_params():
# Test getting/setting the parameters of the Triangular MF
with pytest.raises(ValueError) as err:
_ = TriMF(2, 1, ... | 31.931818 | 74 | 0.630249 | 471 | 2,810 | 3.624204 | 0.142251 | 0.093732 | 0.128881 | 0.179262 | 0.844171 | 0.826011 | 0.781488 | 0.725835 | 0.707674 | 0.676626 | 0 | 0.061596 | 0.237367 | 2,810 | 87 | 75 | 32.298851 | 0.734951 | 0.195374 | 0 | 0.436364 | 0 | 0 | 0.079626 | 0 | 0 | 0 | 0 | 0 | 0.436364 | 1 | 0.145455 | false | 0 | 0.054545 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
eb801d047b4ce210c956b9bc4cae8964ffceae1e | 181 | py | Python | tests/engine/__init__.py | gph03n1x/Hurricane | 629cc6838242a07f004773f243d3c4ce386ea3d8 | [
"MIT"
] | 1 | 2018-09-25T11:13:54.000Z | 2018-09-25T11:13:54.000Z | tests/engine/__init__.py | gph03n1x/Hurricane | 629cc6838242a07f004773f243d3c4ce386ea3d8 | [
"MIT"
] | null | null | null | tests/engine/__init__.py | gph03n1x/Hurricane | 629cc6838242a07f004773f243d3c4ce386ea3d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import tests.engine.test_filters
import tests.engine.test_utils
import tests.engine.test_nltk_wrappers
import tests.engine.test_storage | 30.166667 | 38 | 0.801105 | 28 | 181 | 5 | 0.571429 | 0.314286 | 0.485714 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005988 | 0.077348 | 181 | 6 | 39 | 30.166667 | 0.832335 | 0.232044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
eb9a6ee3718aaea7111f467b237286f80c3d7836 | 27,699 | py | Python | zemberek/tokenization/antlr/turkish_lexer.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 52 | 2020-08-24T09:52:58.000Z | 2022-03-19T05:02:06.000Z | zemberek/tokenization/antlr/turkish_lexer.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 7 | 2020-09-07T09:02:33.000Z | 2021-11-26T14:15:41.000Z | zemberek/tokenization/antlr/turkish_lexer.py | Loodos/zemberek-python | 4f6b47abda98ed5a4d440738d39a92374d50ef6b | [
"Apache-2.0"
] | 7 | 2020-09-23T19:27:55.000Z | 2022-03-14T09:02:41.000Z | import re
from pkg_resources import resource_filename
from typing import Set, List, TYPE_CHECKING
if TYPE_CHECKING:
from antlr4.atn.ATN import ATN
from antlr4.atn import ATNDeserializer
from antlr4.PredictionContext import PredictionContextCache
from antlr4.Lexer import Lexer
from antlr4.dfa.DFA import DFA
from ... | 95.513793 | 118 | 0.758764 | 4,279 | 27,699 | 4.938771 | 0.197943 | 0.268301 | 0.261203 | 0.10221 | 0.196707 | 0.152463 | 0.141154 | 0.129939 | 0.122273 | 0.106421 | 0 | 0.537758 | 0.068234 | 27,699 | 289 | 119 | 95.844291 | 0.273742 | 0 | 0 | 0.050725 | 0 | 0.65942 | 0.842913 | 0.840133 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007246 | false | 0 | 0.047101 | 0 | 0.09058 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
eba015aa26805f8c1d6fbc29526329465164d05c | 7,810 | py | Python | userbot/plugins/sarath.py | Aliensuniquebot/CatUserbot | 93561a620fc1198c6fe6c259412088f4bc81d97b | [
"MIT"
] | 1 | 2020-07-18T07:42:58.000Z | 2020-07-18T07:42:58.000Z | userbot/plugins/sarath.py | praveen368/CatUserbot | 4b0cd970551ffaf86b9fdd5da584c1b3882821ff | [
"MIT"
] | null | null | null | userbot/plugins/sarath.py | praveen368/CatUserbot | 4b0cd970551ffaf86b9fdd5da584c1b3882821ff | [
"MIT"
] | null | null | null | """Emoji
Available Commands:
.sarath"""
from telethon import events
import asyncio
from userbot.utils import admin_cmd
@borg.on(admin_cmd(pattern="sarath$"))
async def _(event):
if event.fwd_from:
return
animation_interval = 0.3
animation_ttl = range(0, 30)
animation_chars = [
... | 85.824176 | 473 | 0.302305 | 4,091 | 7,810 | 1.702029 | 0.013444 | 0.280052 | 0.466753 | 0.280052 | 0.947724 | 0.942697 | 0.942697 | 0.938101 | 0.938101 | 0.938101 | 0 | 0.00097 | 0.076184 | 7,810 | 90 | 474 | 86.777778 | 0.324879 | 0.004481 | 0 | 0 | 0 | 0.568182 | 0.873858 | 0.871412 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.068182 | 0 | 0.090909 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
ebd58c1e72d138947b456e308c670e3279d62f6c | 22,670 | py | Python | learning/migrations/0008_blooms_taxonomy.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/migrations/0008_blooms_taxonomy.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | learning/migrations/0008_blooms_taxonomy.py | dbcaturra/django-koala-azure | 7b79b7484e3530513b97ed148333ba0778f38a3e | [
"MIT"
] | null | null | null | # Generated by Django 2.2.12 on 2020-08-06 13:39
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import learning.permissions
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
... | 106.431925 | 2,090 | 0.614645 | 2,395 | 22,670 | 5.713987 | 0.145303 | 0.045817 | 0.019437 | 0.030544 | 0.874023 | 0.868761 | 0.861235 | 0.847863 | 0.836463 | 0.82996 | 0 | 0.002181 | 0.170622 | 22,670 | 212 | 2,091 | 106.933962 | 0.724072 | 0.002029 | 0 | 0.723301 | 1 | 0.009709 | 0.380205 | 0.041243 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019417 | 0 | 0.033981 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
cced40e24b515db1fc6563fe2d3e9eb04255fdf6 | 59 | py | Python | CodingBat/Python/List-1 > reverse3.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/List-1 > reverse3.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | CodingBat/Python/List-1 > reverse3.py | JLJTECH/TutorialTesting | f2dbbd49a86b3b086d0fc156ac3369fb74727f86 | [
"MIT"
] | null | null | null | def reverse3(nums):
return [nums[-1], nums[1], nums[0]] | 29.5 | 39 | 0.610169 | 10 | 59 | 3.6 | 0.6 | 0.277778 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.152542 | 59 | 2 | 39 | 29.5 | 0.64 | 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 | 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 | 7 |
69073497cb0a3bfc6f2b0ab40c3ed6ca440904e9 | 8,528 | py | Python | tests/parts/test_fields.py | peterandluc/PyHDB | 826539d06b8bcef74fe755e7489b8a8255628f12 | [
"Apache-2.0"
] | 332 | 2015-01-03T21:50:28.000Z | 2021-04-28T08:37:18.000Z | tests/parts/test_fields.py | peterandluc/PyHDB | 826539d06b8bcef74fe755e7489b8a8255628f12 | [
"Apache-2.0"
] | 132 | 2015-01-12T10:26:09.000Z | 2021-05-04T17:46:34.000Z | tests/parts/test_fields.py | peterandluc/PyHDB | 826539d06b8bcef74fe755e7489b8a8255628f12 | [
"Apache-2.0"
] | 147 | 2015-01-10T16:25:29.000Z | 2021-04-08T08:02:20.000Z | # Copyright 2014, 2015 SAP SE.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http: //www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
#... | 60.48227 | 77 | 0.681168 | 1,517 | 8,528 | 3.82004 | 0.079763 | 0.018637 | 0.009318 | 0.008283 | 0.901639 | 0.889215 | 0.883348 | 0.883348 | 0.86799 | 0.86799 | 0 | 0.436747 | 0.133326 | 8,528 | 140 | 78 | 60.914286 | 0.347314 | 0.064142 | 0 | 0.254237 | 0 | 0.661017 | 0.777708 | 0.775198 | 0 | 1 | 0 | 0 | 0.033898 | 1 | 0.033898 | false | 0 | 0.016949 | 0 | 0.050847 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
693b0f509dd0e74f7dd840dc4ca06787cab964ad | 15,421 | py | Python | tests/openid_op_tests/test_token_request.py | rerobins/django-openid-op | 96952a6d413718d0ed4c656265248b6f0d0c2e4e | [
"MIT"
] | 2 | 2020-02-15T20:20:36.000Z | 2020-05-12T02:39:42.000Z | tests/openid_op_tests/test_token_request.py | rerobins/django-openid-op | 96952a6d413718d0ed4c656265248b6f0d0c2e4e | [
"MIT"
] | 3 | 2021-11-24T21:28:52.000Z | 2021-11-24T23:07:57.000Z | tests/openid_op_tests/test_token_request.py | rerobins/django-openid-op | 96952a6d413718d0ed4c656265248b6f0d0c2e4e | [
"MIT"
] | 2 | 2019-11-25T07:40:28.000Z | 2021-11-29T16:06:59.000Z | import base64
import hashlib
import json
from urllib.parse import urlencode, splitquery, parse_qs
import pytest
import time
from django.contrib.auth.models import User
from django.core.management import call_command
from openid_connect_op.models import OpenIDClient, OpenIDToken
from openid_connect_op.utils.jwt import... | 42.365385 | 111 | 0.634135 | 1,751 | 15,421 | 5.324957 | 0.100514 | 0.074646 | 0.061776 | 0.061347 | 0.882776 | 0.859502 | 0.839661 | 0.839661 | 0.839661 | 0.835907 | 0 | 0.009898 | 0.246612 | 15,421 | 363 | 112 | 42.482094 | 0.792649 | 0.004864 | 0 | 0.792994 | 0 | 0 | 0.173403 | 0.001369 | 0 | 0 | 0 | 0 | 0.210191 | 1 | 0.076433 | false | 0 | 0.031847 | 0.006369 | 0.136943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
69492adcf543c28fc282063faa3f33fb06297827 | 15,442 | py | Python | mouse_detection/test_detect_mouse.py | aiporre/mouse_position_tracking | 446614ddb8ec1aab54dc8d21d44b16519d6c2427 | [
"MIT"
] | null | null | null | mouse_detection/test_detect_mouse.py | aiporre/mouse_position_tracking | 446614ddb8ec1aab54dc8d21d44b16519d6c2427 | [
"MIT"
] | null | null | null | mouse_detection/test_detect_mouse.py | aiporre/mouse_position_tracking | 446614ddb8ec1aab54dc8d21d44b16519d6c2427 | [
"MIT"
] | null | null | null | from unittest import TestCase
from mouse_detection.detect_mouse import MouseVideo
import matplotlib.pyplot as plt
import random
import os
from pathlib import Path
class TestMouseVideo(TestCase):
def setUp(self) -> None:
self.test_video_mock_up = 'resources/mouse_short_converted_mac.mov'
if not os.... | 38.508728 | 102 | 0.608535 | 2,193 | 15,442 | 4.067031 | 0.05244 | 0.14015 | 0.161677 | 0.057181 | 0.958628 | 0.948537 | 0.940352 | 0.930485 | 0.922525 | 0.920058 | 0 | 0.015766 | 0.281181 | 15,442 | 400 | 103 | 38.605 | 0.787748 | 0.046561 | 0 | 0.902208 | 0 | 0.012618 | 0.104354 | 0.006054 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132492 | false | 0.003155 | 0.018927 | 0.050473 | 0.208202 | 0.059937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
15c2345aa301239b5500386aac99d62cb418c703 | 12,304 | py | Python | src/onevision/nn/layer/conv_act.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/nn/layer/conv_act.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/nn/layer/conv_act.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Convolution + Activation Layer.
"""
from __future__ import annotations
from typing import Any
from typing import Optional
from typing import Union
from torch import nn
from onevision.factory import CONV_ACT_LAYERS
from onevision.nn.layer.act import create_act_layer
... | 33.16442 | 80 | 0.499675 | 1,165 | 12,304 | 5.080687 | 0.100429 | 0.057442 | 0.024159 | 0.035479 | 0.815509 | 0.815509 | 0.786957 | 0.778679 | 0.778679 | 0.778679 | 0 | 0.016942 | 0.414743 | 12,304 | 370 | 81 | 33.254054 | 0.805027 | 0.268205 | 0 | 0.731278 | 0 | 0 | 0.034976 | 0.00244 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022026 | false | 0 | 0.052863 | 0 | 0.096916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c64cc1bb6cd6a520e386a40e61dbff75e123b396 | 8,640 | py | Python | seaworthy/tests-testtools/test_testtools.py | praekeltfoundation/seaworthy | 6f10a19b45d4ea1dc3bd0553cc4d0438696c079c | [
"BSD-3-Clause"
] | 31 | 2017-11-21T12:21:31.000Z | 2021-11-16T11:50:42.000Z | seaworthy/tests-testtools/test_testtools.py | praekeltfoundation/seaworthy | 6f10a19b45d4ea1dc3bd0553cc4d0438696c079c | [
"BSD-3-Clause"
] | 91 | 2017-08-16T14:24:52.000Z | 2020-01-16T10:13:52.000Z | seaworthy/tests-testtools/test_testtools.py | praekeltfoundation/seaworthy | 6f10a19b45d4ea1dc3bd0553cc4d0438696c079c | [
"BSD-3-Clause"
] | 3 | 2018-10-13T07:56:02.000Z | 2019-02-14T12:29:53.000Z | import unittest
from testtools.assertions import assert_that
from testtools.matchers import Not
from seaworthy.ps import PsRow, PsTree
from seaworthy.testtools import MatchesPsTree
class TestMatchesPsTree(unittest.TestCase):
def test_minimal_tree_matches(self):
"""
MatchesPsTree can match a sing... | 39.272727 | 79 | 0.512963 | 872 | 8,640 | 5.026376 | 0.104358 | 0.147388 | 0.091262 | 0.061602 | 0.852156 | 0.821355 | 0.784394 | 0.752453 | 0.715948 | 0.683094 | 0 | 0.023533 | 0.321296 | 8,640 | 219 | 80 | 39.452055 | 0.723909 | 0.069329 | 0 | 0.777108 | 0 | 0 | 0.217016 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 1 | 0.042169 | false | 0 | 0.03012 | 0 | 0.078313 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d6678832d9619c74b2e87389828ac9fac29e630a | 1,473 | py | Python | stock-filters/TempHouse.py | Sebastianchr22/Minecraft-Settlement-Generation | 5c902595b47c3c75c96485b29c4e76a07470a431 | [
"0BSD"
] | null | null | null | stock-filters/TempHouse.py | Sebastianchr22/Minecraft-Settlement-Generation | 5c902595b47c3c75c96485b29c4e76a07470a431 | [
"0BSD"
] | null | null | null | stock-filters/TempHouse.py | Sebastianchr22/Minecraft-Settlement-Generation | 5c902595b47c3c75c96485b29c4e76a07470a431 | [
"0BSD"
] | null | null | null | block = (22,0)
empty = (0,0)
class TempHouse: #inheritance
blueprint = [
[
[block, block, block, block, block],
[block, block, block, block, block],
[block, block, block, block, block],
[block, block, block, block, block],
[block, block, block, bl... | 32.021739 | 48 | 0.484046 | 142 | 1,473 | 5.014085 | 0.084507 | 1.235955 | 1.643258 | 2.078652 | 0.877809 | 0.877809 | 0.877809 | 0.877809 | 0.877809 | 0.877809 | 0 | 0.00547 | 0.379498 | 1,473 | 45 | 49 | 32.733333 | 0.773523 | 0.007468 | 0 | 0.690476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0 | 0.02381 | 0.095238 | 0.071429 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d66c0bfbba6a74d9572e08f930a35b96ef9cc885 | 80,401 | py | Python | python/clx/tests/test_windows_event_parser.py | mdemoret-nv/clx | 3737706187d8f5720561e10b85cbd638c77b9267 | [
"Apache-2.0"
] | 143 | 2019-11-06T16:08:50.000Z | 2022-03-22T12:14:59.000Z | python/clx/tests/test_windows_event_parser.py | mdemoret-nv/clx | 3737706187d8f5720561e10b85cbd638c77b9267 | [
"Apache-2.0"
] | 361 | 2019-11-06T20:33:24.000Z | 2022-03-31T19:59:12.000Z | python/clx/tests/test_windows_event_parser.py | mdemoret-nv/clx | 3737706187d8f5720561e10b85cbd638c77b9267 | [
"Apache-2.0"
] | 82 | 2019-11-06T17:36:42.000Z | 2022-03-17T07:03:04.000Z | # Copyright (c) 2019, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 110.138356 | 5,743 | 0.73376 | 11,041 | 80,401 | 5.169459 | 0.079975 | 0.082627 | 0.129038 | 0.036618 | 0.869928 | 0.84009 | 0.806854 | 0.759496 | 0.736176 | 0.710141 | 0 | 0.067214 | 0.091616 | 80,401 | 729 | 5,744 | 110.289438 | 0.714274 | 0.006978 | 0 | 0.512346 | 0 | 0.04784 | 0.746211 | 0.50585 | 0 | 0 | 0.003833 | 0 | 0.759259 | 1 | 0.049383 | false | 0.013889 | 0.00463 | 0 | 0.054012 | 0.006173 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
d67c96c64c1aa309bc55bf076d06d377d89363ba | 115,857 | py | Python | cogs/nerd.py | alexyy802/chad-the-discord-bot | c1d121fcfa278f5cd0fa0242c4b0c760d1eebb85 | [
"Unlicense",
"MIT"
] | 1 | 2021-12-20T16:15:20.000Z | 2021-12-20T16:15:20.000Z | cogs/nerd.py | alexyy802/chad-the-discord-bot | c1d121fcfa278f5cd0fa0242c4b0c760d1eebb85 | [
"Unlicense",
"MIT"
] | 1 | 2021-10-04T16:00:35.000Z | 2021-10-04T16:00:35.000Z | cogs/nerd.py | alexyy802/chad-the-discord-bot | c1d121fcfa278f5cd0fa0242c4b0c760d1eebb85 | [
"Unlicense",
"MIT"
] | 2 | 2021-10-04T16:16:44.000Z | 2021-11-15T19:19:07.000Z | import os
import nextcord
from nextcord.ext import commands
import math
import wolframalpha
from modules import calculation_filter as cf
from discord_slash import cog_ext, SlashContext
from discord_slash.utils.manage_commands import create_option, create_choice
from discord_slash.model import ButtonStyle
from discord_s... | 61.009479 | 193 | 0.507237 | 12,875 | 115,857 | 4.521243 | 0.026252 | 0.031334 | 0.047001 | 0.061913 | 0.983319 | 0.973321 | 0.973321 | 0.968185 | 0.966845 | 0.965539 | 0 | 0.00536 | 0.391353 | 115,857 | 1,898 | 194 | 61.041623 | 0.82014 | 0 | 0 | 0.918964 | 0 | 0.046307 | 0.232088 | 0.021457 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003308 | false | 0 | 0.006064 | 0.002205 | 0.085998 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d683154ce4afca18f601c59c078ce00624df1fce | 4,656 | py | Python | tests/test_compu_methods.py | andlaus/odxtools | 8c4d806d7d23b9f87e571edffb3e90b7005688f4 | [
"MIT"
] | 11 | 2021-11-25T12:23:51.000Z | 2022-01-21T07:14:43.000Z | tests/test_compu_methods.py | andlaus/odxtools | 8c4d806d7d23b9f87e571edffb3e90b7005688f4 | [
"MIT"
] | 12 | 2021-11-12T08:20:48.000Z | 2022-01-21T12:46:03.000Z | tests/test_compu_methods.py | andlaus/odxtools | 8c4d806d7d23b9f87e571edffb3e90b7005688f4 | [
"MIT"
] | 13 | 2022-01-25T12:04:35.000Z | 2022-03-24T09:43:43.000Z | # SPDX-License-Identifier: MIT
# Copyright (c) 2022 MBition GmbH
import unittest
from odxtools.compumethods import Limit, LinearCompuMethod, IntervalType
class TestLinearCompuMethod(unittest.TestCase):
def test_linear_compu_method(self):
compu_method = LinearCompuMethod(1, 3, "A_INT32", "A_INT32")
... | 49.010526 | 101 | 0.710696 | 582 | 4,656 | 5.273196 | 0.135739 | 0.200717 | 0.144021 | 0.199413 | 0.862496 | 0.805148 | 0.768654 | 0.745846 | 0.467905 | 0.362659 | 0 | 0.043409 | 0.193514 | 4,656 | 94 | 102 | 49.531915 | 0.773901 | 0.027491 | 0 | 0.231884 | 0 | 0 | 0.027851 | 0 | 0 | 0 | 0 | 0 | 0.637681 | 1 | 0.086957 | false | 0 | 0.028986 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d6940f541969023e57107ecc488820ef79d35cb7 | 1,201 | py | Python | detr_tensorflow/models/default.py | Leonardo-Blanger/detr_tensorflow | 38fc3c586b6767deed09bd7ec6c2a2fd7002346e | [
"MIT"
] | 59 | 2020-07-04T19:14:31.000Z | 2022-03-08T14:30:27.000Z | detr_tensorflow/models/default.py | Leonardo-Blanger/detr_tensorflow | 38fc3c586b6767deed09bd7ec6c2a2fd7002346e | [
"MIT"
] | 7 | 2020-08-17T23:57:43.000Z | 2022-03-22T02:52:20.000Z | detr_tensorflow/models/default.py | Leonardo-Blanger/detr_tensorflow | 38fc3c586b6767deed09bd7ec6c2a2fd7002346e | [
"MIT"
] | 14 | 2020-08-17T04:10:16.000Z | 2022-02-06T05:48:33.000Z | from .detr import DETR
def build_detr_resnet50(num_classes=91, num_queries=100):
from .backbone import ResNet50Backbone
return DETR(num_classes=num_classes,
num_queries=num_queries,
backbone=ResNet50Backbone(name='backbone'))
def build_detr_resnet50_dc5(num_classes=91, num_qu... | 35.323529 | 70 | 0.672773 | 132 | 1,201 | 5.818182 | 0.181818 | 0.15625 | 0.135417 | 0.078125 | 0.940104 | 0.908854 | 0.838542 | 0.838542 | 0.838542 | 0.705729 | 0 | 0.057971 | 0.253122 | 1,201 | 33 | 71 | 36.393939 | 0.798216 | 0 | 0 | 0.64 | 0 | 0 | 0.026644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0 | 0.2 | 0 | 0.52 | 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 | 1 | 0 | 0 | 7 |
d698fafc48daccabbb481033ba5df5c6c614b7e7 | 9,335 | py | Python | tests/test_leef.py | ccDev-Labs/splunk-connect-for-syslog | 2b30c711b4e53135444b485623bfc610ac2f19e2 | [
"BSD-2-Clause",
"CC0-1.0"
] | 143 | 2019-09-09T16:16:12.000Z | 2022-03-24T13:39:48.000Z | tests/test_leef.py | ccDev-Labs/splunk-connect-for-syslog | 2b30c711b4e53135444b485623bfc610ac2f19e2 | [
"BSD-2-Clause",
"CC0-1.0"
] | 935 | 2019-08-12T22:02:48.000Z | 2022-03-31T19:22:13.000Z | tests/test_leef.py | ccDev-Labs/splunk-connect-for-syslog | 2b30c711b4e53135444b485623bfc610ac2f19e2 | [
"BSD-2-Clause",
"CC0-1.0"
] | 105 | 2019-09-30T12:57:22.000Z | 2022-03-28T20:58:33.000Z | # Copyright 2019 Splunk, Inc.
#
# Use of this source code is governed by a BSD-2-clause-style
# license that can be found in the LICENSE-BSD2 file or at
# https://opensource.org/licenses/BSD-2-Clause
import random
import pytest
from jinja2 import Environment
from .sendmessage import *
from .splunkutils import *
from .... | 64.826389 | 1,173 | 0.712051 | 1,543 | 9,335 | 4.270901 | 0.166559 | 0.01305 | 0.011836 | 0.035508 | 0.781639 | 0.777997 | 0.777997 | 0.773748 | 0.76434 | 0.76434 | 0 | 0.132006 | 0.10166 | 9,335 | 143 | 1,174 | 65.27972 | 0.653828 | 0.176111 | 0 | 0.55914 | 0 | 0.204301 | 0.623094 | 0.481168 | 0 | 0 | 0.003389 | 0 | 0.032258 | 1 | 0.032258 | false | 0 | 0.064516 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ba945d979915ca09149b16dbf415d619a470d03d | 3,542 | py | Python | test/code/test_explicit_cf_recommenders.py | IooHooI/RECOMMENDATION_SYSTEMS_1 | 00af7d99b5c74c7b1666c4103fd6261f56228b31 | [
"Unlicense"
] | null | null | null | test/code/test_explicit_cf_recommenders.py | IooHooI/RECOMMENDATION_SYSTEMS_1 | 00af7d99b5c74c7b1666c4103fd6261f56228b31 | [
"Unlicense"
] | 4 | 2020-03-24T15:44:08.000Z | 2021-12-13T19:47:09.000Z | test/code/test_explicit_cf_recommenders.py | IooHooI/RECOMMENDATION_SYSTEMS_1 | 00af7d99b5c74c7b1666c4103fd6261f56228b31 | [
"Unlicense"
] | 1 | 2018-04-19T08:13:49.000Z | 2018-04-19T08:13:49.000Z | import unittest
import pandas as pd
from sklearn.pipeline import Pipeline
from source.code.sparse import SparseMatrixCreator
from source.code.cfsvd import SVDRecommender
from source.code.cfnmf import NMFRecommender
from source.code.split import TrainTestSplitter
from source.code.utils import preprocessing
from sourc... | 27.889764 | 92 | 0.576793 | 390 | 3,542 | 4.997436 | 0.215385 | 0.049256 | 0.080041 | 0.052335 | 0.801437 | 0.801437 | 0.801437 | 0.801437 | 0.801437 | 0.801437 | 0 | 0.0139 | 0.30943 | 3,542 | 126 | 93 | 28.111111 | 0.782911 | 0 | 0 | 0.787879 | 0 | 0 | 0.064935 | 0.01694 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040404 | false | 0 | 0.090909 | 0 | 0.151515 | 0.020202 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bae62352e323c6b86dce27aaeba216da577be146 | 15,088 | py | Python | tests/datamigrations_facades/tests.py | samuelmaudo/yepes | 1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb | [
"BSD-3-Clause"
] | null | null | null | tests/datamigrations_facades/tests.py | samuelmaudo/yepes | 1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb | [
"BSD-3-Clause"
] | null | null | null | tests/datamigrations_facades/tests.py | samuelmaudo/yepes | 1ef9a42d4eaa70d9b3e6e7fa519396c1e1174fcb | [
"BSD-3-Clause"
] | null | null | null | # -*- coding:utf-8 -*-
from __future__ import unicode_literals
import os
from django.test import TestCase
from django.utils._os import upath
from yepes.apps import apps
from yepes.contrib.datamigrations import ModelMigration
from yepes.contrib.datamigrations.facades import (
MultipleExportFacade,
MultipleIm... | 42.74221 | 139 | 0.696448 | 1,695 | 15,088 | 5.953392 | 0.077286 | 0.058468 | 0.041621 | 0.056882 | 0.866416 | 0.855614 | 0.833911 | 0.824398 | 0.819939 | 0.819542 | 0 | 0.000415 | 0.20228 | 15,088 | 352 | 140 | 42.863636 | 0.837986 | 0.001326 | 0 | 0.716912 | 0 | 0 | 0.164686 | 0.063259 | 0 | 0 | 0 | 0 | 0.150735 | 1 | 0.125 | false | 0 | 0.172794 | 0 | 0.356618 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
033c0c2d3cfc236aa4d9d7e0dbbe7d5d6b84aa77 | 1,133 | py | Python | Packages/Patterns_Package/symbols/filled_symbols/Triangle_Piece_Taken_out_from_a_Rectangle.py | saribalarakeshreddy/Python-3.9.0 | 25b4c74feb2a27b91e69aa82becde23e356e82c4 | [
"MIT"
] | null | null | null | Packages/Patterns_Package/symbols/filled_symbols/Triangle_Piece_Taken_out_from_a_Rectangle.py | saribalarakeshreddy/Python-3.9.0 | 25b4c74feb2a27b91e69aa82becde23e356e82c4 | [
"MIT"
] | null | null | null | Packages/Patterns_Package/symbols/filled_symbols/Triangle_Piece_Taken_out_from_a_Rectangle.py | saribalarakeshreddy/Python-3.9.0 | 25b4c74feb2a27b91e69aa82becde23e356e82c4 | [
"MIT"
] | null | null | null | def for_Triangle_Piece_Taken_out_from_a_Rectangle():
""" pattern for :Triangle_Piece_Taken_out_from_a_Rectangle using for loop"""
for i in range(5):
for j in range(7):
if i+j<=3 or j-i>=3:
print('*',end=' ')
else:
print(' ',end=' ')
... | 28.325 | 83 | 0.406002 | 146 | 1,133 | 2.972603 | 0.19863 | 0.147465 | 0.165899 | 0.193548 | 0.841014 | 0.841014 | 0.841014 | 0.841014 | 0.834101 | 0.723502 | 0 | 0.03871 | 0.45278 | 1,133 | 40 | 84 | 28.325 | 0.66129 | 0.124448 | 0 | 0.842105 | 0 | 0 | 0.017003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.052632 | 0.315789 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
03491788b396bd51bdde9b977e7782ccf0e3395b | 2,327 | py | Python | tests/check_dependencies_test.py | madebr/conan-repo-actions | a0e0f59e45314ab0b36150406e574f60421c82da | [
"MIT"
] | null | null | null | tests/check_dependencies_test.py | madebr/conan-repo-actions | a0e0f59e45314ab0b36150406e574f60421c82da | [
"MIT"
] | null | null | null | tests/check_dependencies_test.py | madebr/conan-repo-actions | a0e0f59e45314ab0b36150406e574f60421c82da | [
"MIT"
] | 1 | 2019-07-05T10:38:39.000Z | 2019-07-05T10:38:39.000Z | # -*- coding: utf-8 -*-
import unittest
from conan_repo_actions.check_dependencies import CONAN_REF_REGEX_IN_SOURCE
class RefTests(unittest.TestCase):
def test_regex_basic(self):
match = CONAN_REF_REGEX_IN_SOURCE.match('"boost/1.70@myuser/mychannel"')
self.assertIsNotNone(match)
self.ass... | 43.90566 | 85 | 0.660937 | 274 | 2,327 | 5.467153 | 0.142336 | 0.250334 | 0.333778 | 0.096128 | 0.908545 | 0.894526 | 0.894526 | 0.894526 | 0.894526 | 0.839119 | 0 | 0.019211 | 0.172325 | 2,327 | 52 | 86 | 44.75 | 0.758567 | 0.009025 | 0 | 0.488372 | 0 | 0 | 0.244792 | 0.132813 | 0 | 0 | 0 | 0 | 0.697674 | 1 | 0.116279 | false | 0 | 0.046512 | 0 | 0.186047 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
03497880755d231080be15dcff97f86e3d33d1d9 | 1,560 | py | Python | tests/test_1864.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1864.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | tests/test_1864.py | sungho-joo/leetcode2github | ce7730ef40f6051df23681dd3c0e1e657abba620 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import pytest
"""
Test 1864. Minimum Number of Swaps to Make the Binary String Alternating
"""
@pytest.fixture(scope="session")
def init_variables_1864():
from src.leetcode_1864_minimum_number_of_swaps_to_make_the_binary_string_alternating import (
Solution,
)
solution = S... | 23.283582 | 97 | 0.723077 | 202 | 1,560 | 5.217822 | 0.20297 | 0.222011 | 0.290323 | 0.119545 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0.105181 | 0.183333 | 1,560 | 66 | 98 | 23.636364 | 0.722135 | 0.025641 | 0 | 0.941176 | 0 | 0 | 0.029455 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 1 | 0.294118 | false | 0 | 0.117647 | 0.058824 | 0.529412 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 11 |
302cb19b73d0d92cd6c0d8abc1fb54f1be90234c | 4,332 | py | Python | test/test_helix_getting_and_removing.py | rkretsch/arnie | 28251b4e96fe313475994dbf8780710776f4bf33 | [
"MIT"
] | null | null | null | test/test_helix_getting_and_removing.py | rkretsch/arnie | 28251b4e96fe313475994dbf8780710776f4bf33 | [
"MIT"
] | null | null | null | test/test_helix_getting_and_removing.py | rkretsch/arnie | 28251b4e96fe313475994dbf8780710776f4bf33 | [
"MIT"
] | null | null | null | from arnie.utils import *
s = "(((....)).)...(..)....(((..(((....))))))"
s_0_2 = ".((....)).............(((..(((....))))))"
s_0_3 = "......................(((..(((....))))))"
s_1_3 = "(((....)).)...........(((..(((....))))))"
s_2_3 = "(((....)).)...........(((..(((....))))))"
s_0_4 = "................................... | 47.086957 | 160 | 0.48615 | 600 | 4,332 | 3.111667 | 0.123333 | 0.167113 | 0.205678 | 0.209427 | 0.849491 | 0.802357 | 0.795394 | 0.777718 | 0.659347 | 0.653455 | 0 | 0.09893 | 0.201985 | 4,332 | 91 | 161 | 47.604396 | 0.441134 | 0.018929 | 0 | 0.240506 | 0 | 0 | 0.167137 | 0.165254 | 0 | 0 | 0 | 0 | 0.303797 | 1 | 0.025316 | false | 0 | 0.012658 | 0 | 0.037975 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3067ddc4de58cbff719f544c8e8255b0f935cf42 | 121 | py | Python | cflearn/models/cv/decoder/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 400 | 2020-07-05T18:55:49.000Z | 2022-02-21T02:33:08.000Z | cflearn/models/cv/decoder/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 82 | 2020-08-01T13:29:38.000Z | 2021-10-09T07:13:44.000Z | cflearn/models/cv/decoder/__init__.py | carefree0910/carefree-learn | 2043812afbe9c56f01ec1639961736313ee062ba | [
"MIT"
] | 34 | 2020-07-05T21:15:34.000Z | 2021-12-20T08:45:17.000Z | from .vqgan import *
from .vanilla import *
from .protocol import *
from .style_gan import *
from .style_gan_v2 import *
| 20.166667 | 27 | 0.752066 | 18 | 121 | 4.888889 | 0.444444 | 0.454545 | 0.340909 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.165289 | 121 | 5 | 28 | 24.2 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
06382e0227734dd578a451b0fc74ea5ab952e228 | 160 | py | Python | tests/__init__.py | tclh123/aio-openapi | 7c63eb628b7735501508aea6c83e458715fb070b | [
"BSD-3-Clause"
] | 19 | 2019-03-04T22:50:38.000Z | 2022-03-02T09:28:17.000Z | tests/__init__.py | tclh123/aio-openapi | 7c63eb628b7735501508aea6c83e458715fb070b | [
"BSD-3-Clause"
] | 116 | 2018-05-17T21:55:02.000Z | 2019-02-14T08:35:31.000Z | tests/__init__.py | tclh123/aio-openapi | 7c63eb628b7735501508aea6c83e458715fb070b | [
"BSD-3-Clause"
] | 3 | 2020-05-20T17:43:08.000Z | 2021-10-06T10:47:41.000Z | import os
import dotenv
dotenv.load_dotenv()
dotenv.load_dotenv("tests/test.env")
if not os.environ.get("PYTHON_ENV"):
os.environ["PYTHON_ENV"] = "test"
| 16 | 37 | 0.725 | 25 | 160 | 4.48 | 0.48 | 0.214286 | 0.285714 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11875 | 160 | 9 | 38 | 17.777778 | 0.794326 | 0 | 0 | 0 | 0 | 0 | 0.2375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
069f38a03fba96a36bc54402bf582288927087c0 | 284 | py | Python | queries/strategies/__init__.py | LexiconCode/PythonVoiceCodingPlugin | 2de7a6226a553313d922060d3be66dc0e94ea417 | [
"BSD-2-Clause"
] | null | null | null | queries/strategies/__init__.py | LexiconCode/PythonVoiceCodingPlugin | 2de7a6226a553313d922060d3be66dc0e94ea417 | [
"BSD-2-Clause"
] | null | null | null | queries/strategies/__init__.py | LexiconCode/PythonVoiceCodingPlugin | 2de7a6226a553313d922060d3be66dc0e94ea417 | [
"BSD-2-Clause"
] | null | null | null | from PythonVoiceCodingPlugin.queries.strategies.primitives import *
from PythonVoiceCodingPlugin.queries.strategies.adjective_strategy import *
from PythonVoiceCodingPlugin.queries.strategies.abstract_vertical import *
from PythonVoiceCodingPlugin.queries.strategies.obtain import *
| 47.333333 | 75 | 0.883803 | 26 | 284 | 9.576923 | 0.423077 | 0.433735 | 0.546185 | 0.706827 | 0.60241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059859 | 284 | 5 | 76 | 56.8 | 0.932584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.