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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11fbeaa0cdadcae10084a5b3b7d7792a3d86cf42 | 103 | py | Python | scripts/pymarkovchain_dynamic/__init__.py | jfahrg/augentbot | 2f26f9287928bb405696366c60f1193b6f34ab4a | [
"CC-BY-2.0",
"MIT"
] | 3 | 2017-10-16T14:05:47.000Z | 2017-10-23T07:18:46.000Z | scripts/pymarkovchain_dynamic/__init__.py | jfahrg/augentbot | 2f26f9287928bb405696366c60f1193b6f34ab4a | [
"CC-BY-2.0",
"MIT"
] | 1 | 2017-10-24T18:11:14.000Z | 2017-10-24T18:11:14.000Z | scripts/pymarkovchain_dynamic/__init__.py | jfde/augentbot | 2f26f9287928bb405696366c60f1193b6f34ab4a | [
"CC-BY-2.0",
"MIT"
] | null | null | null | from pymarkovchain_dynamic.MarkovChain import *
from pymarkovchain_dynamic.DynamicMarkovChain import *
| 34.333333 | 54 | 0.883495 | 10 | 103 | 8.9 | 0.6 | 0.382022 | 0.539326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07767 | 103 | 2 | 55 | 51.5 | 0.936842 | 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 |
0153baca680ffab8056f0a843270c4080b86ff69 | 74,403 | py | Python | tests/test_model_factory.py | TForce1/pcg_gazebo | 9ff88016b7b6903236484958ca7c6ed9f8ffb346 | [
"ECL-2.0",
"Apache-2.0"
] | 40 | 2020-02-04T18:16:49.000Z | 2022-02-22T11:36:34.000Z | tests/test_model_factory.py | awesomebytes/pcg_gazebo | 4f335dd460ef7c771f1df78b46a92fad4a62cedc | [
"ECL-2.0",
"Apache-2.0"
] | 75 | 2020-01-23T13:40:50.000Z | 2022-02-09T07:26:01.000Z | tests/test_model_factory.py | GimpelZhang/gazebo_world_generator | eb7215499d0ddc972d804c988fadab1969579b1b | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2020-09-10T06:35:41.000Z | 2022-02-20T19:08:17.000Z | #!/usr/bin/env python
# Copyright (c) 2019 - The Procedural Generation for Gazebo authors
# For information on the respective copyright owner see the NOTICE file
#
# 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... | 41.705717 | 79 | 0.51342 | 7,545 | 74,403 | 4.894897 | 0.038171 | 0.084886 | 0.034117 | 0.044189 | 0.949312 | 0.940187 | 0.935638 | 0.925972 | 0.920936 | 0.919447 | 0 | 0.020484 | 0.380616 | 74,403 | 1,783 | 80 | 41.729108 | 0.780922 | 0.040254 | 0 | 0.877378 | 0 | 0 | 0.04839 | 0.015331 | 0 | 0 | 0 | 0 | 0.246653 | 1 | 0.018323 | false | 0 | 0.022551 | 0 | 0.042283 | 0.000705 | 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 |
018eb361eddd592309fff69045cb98d9066ea2e0 | 39,647 | py | Python | hallo/test/modules/channel_control/test_de_operator.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2018-05-19T22:27:20.000Z | 2018-05-19T22:27:20.000Z | hallo/test/modules/channel_control/test_de_operator.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/test/modules/channel_control/test_de_operator.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | from hallo.events import EventMessage, EventMode
from hallo.server import Server
from hallo.test.server_mock import ServerMock
def test_deop_not_irc(hallo_getter):
test_hallo = hallo_getter({"channel_control"})
serv1 = ServerMock(test_hallo)
serv1.name = "test_serv1"
serv1.type = "NOT_IRC"
test_ha... | 41.042443 | 90 | 0.70762 | 5,685 | 39,647 | 4.570097 | 0.014248 | 0.066818 | 0.048535 | 0.062161 | 0.991109 | 0.990916 | 0.990916 | 0.990916 | 0.990916 | 0.990916 | 0 | 0.048383 | 0.180493 | 39,647 | 965 | 91 | 41.084974 | 0.751254 | 0 | 0 | 0.913812 | 0 | 0 | 0.099705 | 0 | 0 | 0 | 0 | 0 | 0.099448 | 1 | 0.033149 | false | 0 | 0.003315 | 0 | 0.036464 | 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 |
6defac8f1015dd7e947197dcda96dec8473101d6 | 199 | py | Python | autodisc/representations/static/pytorchnnrepresentation/models/__init__.py | flowersteam/holmes | e38fb8417ec56cfde8142eddd0f751e319e35d8c | [
"MIT"
] | 6 | 2020-12-19T00:16:16.000Z | 2022-01-28T14:59:21.000Z | autodisc/representations/static/pytorchnnrepresentation/models/__init__.py | Evolutionary-Intelligence/holmes | e38fb8417ec56cfde8142eddd0f751e319e35d8c | [
"MIT"
] | null | null | null | autodisc/representations/static/pytorchnnrepresentation/models/__init__.py | Evolutionary-Intelligence/holmes | e38fb8417ec56cfde8142eddd0f751e319e35d8c | [
"MIT"
] | 1 | 2021-05-24T14:58:26.000Z | 2021-05-24T14:58:26.000Z | from autodisc.representations.static.pytorchnnrepresentation.models.encoders import EncoderBurgess
from autodisc.representations.static.pytorchnnrepresentation.models.decoders import DecoderBurgess
| 49.75 | 98 | 0.904523 | 18 | 199 | 10 | 0.611111 | 0.133333 | 0.3 | 0.366667 | 0.688889 | 0.688889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045226 | 199 | 3 | 99 | 66.333333 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6df14879b950933abacc38dea90c26ad6c6515c2 | 97 | py | Python | component_tests/tests/features/steps/__init__.py | Cobalt0s/sommelier | d64943a5d7be4ecdf08aa18e9f184b757e408425 | [
"MIT"
] | null | null | null | component_tests/tests/features/steps/__init__.py | Cobalt0s/sommelier | d64943a5d7be4ecdf08aa18e9f184b757e408425 | [
"MIT"
] | null | null | null | component_tests/tests/features/steps/__init__.py | Cobalt0s/sommelier | d64943a5d7be4ecdf08aa18e9f184b757e408425 | [
"MIT"
] | null | null | null | from sommelier.steps.response_processing import *
from sommelier.steps.event_processing import *
| 32.333333 | 49 | 0.85567 | 12 | 97 | 6.75 | 0.583333 | 0.320988 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 50 | 48.5 | 0.910112 | 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 |
096a75b1219f50f0c996c46826203e3429895949 | 15,833 | py | Python | model.py | lei-wang-github/unet | 1dcf41a2956b58358f14e00c0df4daf366d272b8 | [
"MIT"
] | null | null | null | model.py | lei-wang-github/unet | 1dcf41a2956b58358f14e00c0df4daf366d272b8 | [
"MIT"
] | null | null | null | model.py | lei-wang-github/unet | 1dcf41a2956b58358f14e00c0df4daf366d272b8 | [
"MIT"
] | null | null | null | import numpy as np
import os
import skimage.io as io
import skimage.transform as trans
import numpy as np
from tensorflow.keras.models import *
from tensorflow.keras.layers import *
from tensorflow.keras.optimizers import *
from tensorflow.keras.callbacks import ModelCheckpoint, LearningRateScheduler
from keras import... | 68.541126 | 169 | 0.718373 | 2,014 | 15,833 | 5.483615 | 0.069017 | 0.122419 | 0.178921 | 0.181094 | 0.914343 | 0.884462 | 0.882561 | 0.878577 | 0.875317 | 0.870337 | 0 | 0.05702 | 0.118297 | 15,833 | 230 | 170 | 68.83913 | 0.734097 | 0.015916 | 0 | 0.368132 | 0 | 0 | 0.118161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0 | 0.065934 | 0 | 0.10989 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
098ecd46fb3c22e9788a5fea3f7f90c4783dd2f7 | 59,170 | py | Python | tests/test_certdb.py | crocs-muni/cert-validataion-stats | bd61968c0487e634c160f6e25b7bb0eb1bab64fc | [
"MIT"
] | 3 | 2020-06-26T09:31:35.000Z | 2020-06-26T09:32:17.000Z | tests/test_certdb.py | crocs-muni/cert-validataion-stats | bd61968c0487e634c160f6e25b7bb0eb1bab64fc | [
"MIT"
] | null | null | null | tests/test_certdb.py | crocs-muni/cert-validataion-stats | bd61968c0487e634c160f6e25b7bb0eb1bab64fc | [
"MIT"
] | null | null | null | """
This module contains white-box unit tests of CertDB package
"""
# pylint: disable=W0212, C0103, C0302
import sys
import os
import subprocess
import time
import shutil
import string
import random
import unittest
import unittest.mock
from collections import OrderedDict
import toml
from cevast.utils import make_PEM_fi... | 43.86212 | 112 | 0.65905 | 7,530 | 59,170 | 4.946879 | 0.046082 | 0.042523 | 0.034228 | 0.016107 | 0.888886 | 0.859275 | 0.807597 | 0.75557 | 0.714765 | 0.676027 | 0 | 0.008334 | 0.255805 | 59,170 | 1,348 | 113 | 43.894659 | 0.837603 | 0.182491 | 0 | 0.722995 | 0 | 0 | 0.0258 | 0.004802 | 0 | 0 | 0 | 0 | 0.374332 | 1 | 0.040642 | false | 0 | 0.013904 | 0.00107 | 0.070588 | 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 |
113f460e7a9bae8c1f88a8e62410ca63e38c1751 | 62,843 | py | Python | pyls/extra/mclass.py | nemethf/bess-language-server | 25768bfabd3b2f194c14c383e13c96a2c35ab096 | [
"MIT"
] | null | null | null | pyls/extra/mclass.py | nemethf/bess-language-server | 25768bfabd3b2f194c14c383e13c96a2c35ab096 | [
"MIT"
] | null | null | null | pyls/extra/mclass.py | nemethf/bess-language-server | 25768bfabd3b2f194c14c383e13c96a2c35ab096 | [
"MIT"
] | null | null | null | # This file is auto-genereated by bess-gen-doc.
# See https://github.com/nemethf/bess-gen-doc
#
# It is based on bess/protobuf/module_msg.proto, which has the following copyright.
# Copyright (c) 2016-2017, Nefeli Networks, Inc.
# Copyright (c) 2017, The Regents of the University of California.
# All rights reserved.
... | 32.095506 | 260 | 0.70926 | 9,250 | 62,843 | 4.674703 | 0.097838 | 0.020259 | 0.021369 | 0.031452 | 0.766449 | 0.742952 | 0.7328 | 0.720312 | 0.698018 | 0.686201 | 0 | 0.010896 | 0.217192 | 62,843 | 1,957 | 261 | 32.111906 | 0.868094 | 0.800407 | 0 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001533 | 0 | 1 | 0.404181 | false | 0.407666 | 0.006969 | 0 | 0.592334 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
116356ed291907faf2d830bb75f61d5e69fb9f8d | 12,534 | py | Python | tests/test_OptionList.py | CrsiX/dhcppython | c442c3f6eca8244667df8a19d370f7569d81f08f | [
"Apache-2.0"
] | 2 | 2021-09-13T13:35:46.000Z | 2021-11-15T15:33:24.000Z | tests/test_OptionList.py | CrsiX/dhcppython | c442c3f6eca8244667df8a19d370f7569d81f08f | [
"Apache-2.0"
] | 2 | 2021-11-12T08:25:02.000Z | 2021-12-04T02:28:38.000Z | tests/test_OptionList.py | CrsiX/dhcppython | c442c3f6eca8244667df8a19d370f7569d81f08f | [
"Apache-2.0"
] | 3 | 2021-09-08T08:48:30.000Z | 2022-01-21T03:14:11.000Z | import unittest
from dhcppython import options
class OptionListTestCases(unittest.TestCase):
def gen_optionslist(self):
return options.OptionList(
[
options.options.short_value_to_object(61, {'hwtype': 1, 'hwaddr': "8c:45:00:1d:48:16"}),
options.options.short_va... | 40.827362 | 245 | 0.564704 | 1,545 | 12,534 | 4.309385 | 0.066667 | 0.189246 | 0.256834 | 0.324422 | 0.898618 | 0.882097 | 0.872184 | 0.86948 | 0.825924 | 0.776209 | 0 | 0.1023 | 0.309797 | 12,534 | 306 | 246 | 40.960784 | 0.667322 | 0 | 0 | 0.526882 | 0 | 0.003584 | 0.108744 | 0.01093 | 0 | 0 | 0 | 0 | 0.078853 | 1 | 0.082437 | false | 0 | 0.007168 | 0.003584 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fecede72453f312f65abb3c7e2bbaa8b798ac96a | 352 | py | Python | telethon/client/telegramclient.py | chrizrobert/Telethon | 99711457213a2bb1a844830a3c57536c5fa9b1c2 | [
"MIT"
] | 1 | 2018-10-07T08:31:49.000Z | 2018-10-07T08:31:49.000Z | telethon/client/telegramclient.py | chrizrobert/Telethon | 99711457213a2bb1a844830a3c57536c5fa9b1c2 | [
"MIT"
] | null | null | null | telethon/client/telegramclient.py | chrizrobert/Telethon | 99711457213a2bb1a844830a3c57536c5fa9b1c2 | [
"MIT"
] | 1 | 2018-09-05T14:59:27.000Z | 2018-09-05T14:59:27.000Z | from . import (
UpdateMethods, AuthMethods, DownloadMethods, DialogMethods,
ChatMethods, MessageMethods, UploadMethods, MessageParseMethods,
UserMethods
)
class TelegramClient(
UpdateMethods, AuthMethods, DownloadMethods, DialogMethods,
ChatMethods, MessageMethods, UploadMethods, MessageParseMetho... | 25.142857 | 68 | 0.775568 | 23 | 352 | 11.869565 | 0.608696 | 0.175824 | 0.285714 | 0.380952 | 0.879121 | 0.879121 | 0.879121 | 0.879121 | 0.879121 | 0 | 0 | 0 | 0.161932 | 352 | 13 | 69 | 27.076923 | 0.925424 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.090909 | 0.090909 | 0 | 0.181818 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 11 |
3a3672cb76e143ae0a5005d6285eaadd341c12b6 | 34,698 | py | Python | SAI/bm/sai_adapter/test/ptf_tests/tests/sail2_new.py | bocon13/stratum-sonic | 9be75505869ee81d30ef9b65276f7d55f495658f | [
"Apache-2.0"
] | null | null | null | SAI/bm/sai_adapter/test/ptf_tests/tests/sail2_new.py | bocon13/stratum-sonic | 9be75505869ee81d30ef9b65276f7d55f495658f | [
"Apache-2.0"
] | null | null | null | SAI/bm/sai_adapter/test/ptf_tests/tests/sail2_new.py | bocon13/stratum-sonic | 9be75505869ee81d30ef9b65276f7d55f495658f | [
"Apache-2.0"
] | null | null | null | # Copyright 2013-present Barefoot Networks, Inc.
#
# 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 agr... | 49.357041 | 136 | 0.645426 | 4,777 | 34,698 | 4.263345 | 0.043333 | 0.10164 | 0.0683 | 0.099823 | 0.932829 | 0.927281 | 0.923304 | 0.912158 | 0.899637 | 0.89124 | 0 | 0.053055 | 0.275895 | 34,698 | 702 | 137 | 49.42735 | 0.757532 | 0.046516 | 0 | 0.86819 | 0 | 0 | 0.044501 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.008787 | null | null | 0.031634 | 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 |
28dbb5cd57af3255c8b54220ea75b7137d701b5b | 5,338 | py | Python | game/game_code/tests/test_level_1.py | RDGT/adventure-poc | e211491e5958d12a3347b3e279006d915d691d20 | [
"MIT"
] | 2 | 2018-04-23T15:03:41.000Z | 2018-07-18T06:36:51.000Z | game/game_code/tests/test_level_1.py | RDGT/adventure-poc | e211491e5958d12a3347b3e279006d915d691d20 | [
"MIT"
] | 6 | 2018-03-25T12:04:27.000Z | 2018-09-14T09:08:34.000Z | game/game_code/tests/test_level_1.py | RDGT/adventure-poc | e211491e5958d12a3347b3e279006d915d691d20 | [
"MIT"
] | 1 | 2018-07-22T09:46:55.000Z | 2018-07-22T09:46:55.000Z | import unittest
import logging
import game_code
log = logging.getLogger('test.level_1')
class TestAdventureLevelOne(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.game = game_code.main.start_game(interface='python')
def test_outside_slowly(self):
outside = self.game.interfac... | 40.439394 | 104 | 0.680592 | 693 | 5,338 | 5.050505 | 0.137085 | 0.126286 | 0.160286 | 0.097143 | 0.808571 | 0.808571 | 0.780286 | 0.756 | 0.743143 | 0.729143 | 0 | 0.007818 | 0.209254 | 5,338 | 131 | 105 | 40.748092 | 0.821369 | 0 | 0 | 0.550459 | 0 | 0 | 0.105845 | 0 | 0 | 0 | 0 | 0 | 0.449541 | 1 | 0.165138 | false | 0 | 0.027523 | 0 | 0.201835 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
28f9b230456479c535d2d51167428a69e99f40fe | 1,448 | py | Python | src/super_gradients/training/models/__init__.py | karndeepsingh/super-gradients | bfed440ecaf485af183570bf965eb5b74cb9f832 | [
"Apache-2.0"
] | 1 | 2022-01-15T19:33:06.000Z | 2022-01-15T19:33:06.000Z | src/super_gradients/training/models/__init__.py | karndeepsingh/super-gradients | bfed440ecaf485af183570bf965eb5b74cb9f832 | [
"Apache-2.0"
] | null | null | null | src/super_gradients/training/models/__init__.py | karndeepsingh/super-gradients | bfed440ecaf485af183570bf965eb5b74cb9f832 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa # FIXME: find sol for F403 error (caused by import *), most likely need to import everything by hand
from .sg_module import *
from super_gradients.training.models.classification_models.densenet import *
from super_gradients.training.models.classification_models.dpn import *
from super_gradients.training.... | 68.952381 | 115 | 0.870166 | 177 | 1,448 | 6.915254 | 0.248588 | 0.138889 | 0.208333 | 0.333333 | 0.78268 | 0.78268 | 0.720588 | 0.720588 | 0.104575 | 0 | 0 | 0.004435 | 0.065608 | 1,448 | 20 | 116 | 72.4 | 0.900222 | 0.077348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
e903d12f8a04e71c8c2140ed40144f3db69c7ec2 | 7,249 | py | Python | app/sso/tests/providers/test_oauth2_google_views.py | getmetamapper/metamapper | 0b2f67eec03fbf7ece35ff9f58ea9bb2dde4d85f | [
"BSD-2-Clause"
] | 53 | 2020-07-01T23:11:59.000Z | 2022-03-31T19:10:28.000Z | app/sso/tests/providers/test_oauth2_google_views.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-11-25T19:48:57.000Z | 2022-02-27T23:50:18.000Z | app/sso/tests/providers/test_oauth2_google_views.py | metamapper-io/metamapper | 376716e72bcaca62f1ec09ca9a13a0346e5502f9 | [
"BSD-2-Clause"
] | 5 | 2020-08-29T16:43:59.000Z | 2022-01-17T19:05:30.000Z | # -*- coding: utf-8 -*-
from base64 import b64encode, b64decode
from unittest import mock
from django.conf import settings
from django.http import HttpResponseRedirect
from django.test import TestCase, Client
from django.urls import reverse
from testutils import factories
from urllib.parse import urlparse, parse_qs
... | 36.611111 | 116 | 0.626983 | 768 | 7,249 | 5.786458 | 0.179688 | 0.036004 | 0.032403 | 0.041404 | 0.817282 | 0.80108 | 0.80108 | 0.80108 | 0.785329 | 0.765977 | 0 | 0.013482 | 0.242792 | 7,249 | 197 | 117 | 36.796954 | 0.796138 | 0.054628 | 0 | 0.727273 | 0 | 0.013986 | 0.210804 | 0.083823 | 0 | 0 | 0 | 0 | 0.083916 | 1 | 0.055944 | false | 0 | 0.055944 | 0 | 0.125874 | 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 |
e921b1bc0cceec8b113f393fdb06b057357e8848 | 24,410 | py | Python | packages/robotframework-test-assistant/robotframework-test-assistant.py | jg8481/leon | b94a6c753cee79f4568ab7a83932351f7c949791 | [
"MIT"
] | 3 | 2020-01-15T20:49:42.000Z | 2020-11-22T01:41:33.000Z | packages/robotframework-test-assistant/robotframework-test-assistant.py | jg8481/leon | b94a6c753cee79f4568ab7a83932351f7c949791 | [
"MIT"
] | null | null | null | packages/robotframework-test-assistant/robotframework-test-assistant.py | jg8481/leon | b94a6c753cee79f4568ab7a83932351f7c949791 | [
"MIT"
] | 3 | 2020-01-18T17:06:56.000Z | 2020-12-16T16:03:57.000Z | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
import utils
import os
import os.path
import sys
import subprocess
import re
import time
filepath = os.path.dirname(os.path.realpath(__file__))
small_time_delay = 5 ##--> Use this to set up your small time delay. This time delay is in seconds.
medium_time_delay = 20 ##--... | 70.549133 | 292 | 0.7712 | 3,307 | 24,410 | 5.541578 | 0.056849 | 0.07563 | 0.114046 | 0.18662 | 0.94205 | 0.937302 | 0.924261 | 0.910019 | 0.88339 | 0.870184 | 0 | 0.000368 | 0.109709 | 24,410 | 345 | 293 | 70.753623 | 0.842904 | 0.213273 | 0 | 0.570136 | 0 | 0.085973 | 0.407523 | 0.26193 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253394 | false | 0 | 0.031674 | 0 | 0.538462 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
3a83a000f0a9ae9cf8e818fa8a8f6b2e52f61077 | 2,014 | py | Python | Leetcode/Python/_1207.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | 1 | 2021-11-28T15:03:32.000Z | 2021-11-28T15:03:32.000Z | Leetcode/Python/_1207.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | Leetcode/Python/_1207.py | Xrenya/algorithms | aded82cacde2f4f2114241907861251e0e2e5638 | [
"MIT"
] | null | null | null | class Solution:
def uniqueOccurrences(self, arr: List[int]) -> bool:
hashMap = {}
for num in arr:
if num not in hashMap:
hashMap[num] = 1
else:
hashMap[num] += 1
array = hashMap.values()
unique = {}
for num in array:
... | 27.589041 | 57 | 0.456802 | 214 | 2,014 | 4.299065 | 0.135514 | 0.052174 | 0.119565 | 0.076087 | 0.811957 | 0.811957 | 0.811957 | 0.811957 | 0.811957 | 0.811957 | 0 | 0.01086 | 0.451341 | 2,014 | 72 | 58 | 27.972222 | 0.821719 | 0 | 0 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073529 | false | 0 | 0 | 0 | 0.264706 | 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 |
3a95ae559435a30a68aba572eee4bea130369136 | 12,225 | py | Python | models/context.py | Hilbert70403/Infrared-Small-Target | 0b7bddc13ed3b2362735ea858af6e7d18d4374cd | [
"MIT"
] | 21 | 2021-11-08T08:06:36.000Z | 2022-03-26T14:22:35.000Z | models/context.py | Hilbert70403/Infrared-Small-Target | 0b7bddc13ed3b2362735ea858af6e7d18d4374cd | [
"MIT"
] | 4 | 2022-01-19T11:37:13.000Z | 2022-02-28T07:45:19.000Z | models/context.py | Hilbert70403/Infrared-Small-Target | 0b7bddc13ed3b2362735ea858af6e7d18d4374cd | [
"MIT"
] | 9 | 2021-11-15T09:24:41.000Z | 2022-03-24T08:11:00.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
__all__ = ['NonLocalBlock', 'GCA_Channel', 'GCA_Element', 'AGCB_Element', 'AGCB_Patch', 'CPM']
class NonLocalBlock(nn.Module):
def __init__(self, planes, reduce_ratio=8):
super(NonLocalBlock, self).__init__()
inter_planes = plan... | 35.641399 | 109 | 0.558937 | 1,589 | 12,225 | 4.081812 | 0.078037 | 0.055504 | 0.02806 | 0.029602 | 0.825624 | 0.812673 | 0.790163 | 0.751773 | 0.744064 | 0.72803 | 0 | 0.015867 | 0.319509 | 12,225 | 343 | 110 | 35.641399 | 0.763794 | 0.01865 | 0 | 0.740741 | 0 | 0 | 0.01669 | 0 | 0 | 0 | 0 | 0 | 0.025926 | 1 | 0.051852 | false | 0 | 0.011111 | 0 | 0.114815 | 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 |
a34d8a9377344d0edaae44dd4947affb31816584 | 189 | py | Python | src/miu/colorbilding.py | memowe/miniciti-user | ce1cbccdb693c4916217e1395eacb14f06d536a1 | [
"MIT"
] | null | null | null | src/miu/colorbilding.py | memowe/miniciti-user | ce1cbccdb693c4916217e1395eacb14f06d536a1 | [
"MIT"
] | null | null | null | src/miu/colorbilding.py | memowe/miniciti-user | ce1cbccdb693c4916217e1395eacb14f06d536a1 | [
"MIT"
] | null | null | null | from miniciti.bilding import Bilding
class ColorBilding(Bilding):
def __init__(self, color="bli"):
self.color = color
def isBli(self):
return self.color == "bli"
| 18.9 | 36 | 0.650794 | 23 | 189 | 5.173913 | 0.565217 | 0.226891 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 189 | 9 | 37 | 21 | 0.826389 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 |
a35c7cddf46b7abcc142f392526fdba0c6a3aa7e | 112 | py | Python | test/python/test_utils.py | AdityaSidharta/docker_base | ccdbe7f10e4ddb329dfc106734b3e58226cd0b05 | [
"MIT"
] | null | null | null | test/python/test_utils.py | AdityaSidharta/docker_base | ccdbe7f10e4ddb329dfc106734b3e58226cd0b05 | [
"MIT"
] | null | null | null | test/python/test_utils.py | AdityaSidharta/docker_base | ccdbe7f10e4ddb329dfc106734b3e58226cd0b05 | [
"MIT"
] | null | null | null | from app.python.utils import get_datetime
def test_get_datetime():
assert isinstance(get_datetime(), str)
| 18.666667 | 42 | 0.776786 | 16 | 112 | 5.1875 | 0.75 | 0.39759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 5 | 43 | 22.4 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a3741285d787f895d330b0560df8e8e215121b8a | 1,701 | py | Python | examples/plotter/lego.py | adamfazzari/pylgbst | 1ae2b761a9da3d8983a8d3cd9dd3dfd7a0b7540b | [
"MIT"
] | 468 | 2017-09-19T16:59:55.000Z | 2022-03-09T11:52:02.000Z | examples/plotter/lego.py | adamfazzari/pylgbst | 1ae2b761a9da3d8983a8d3cd9dd3dfd7a0b7540b | [
"MIT"
] | 110 | 2017-12-28T14:53:17.000Z | 2022-02-20T12:29:46.000Z | examples/plotter/lego.py | adamfazzari/pylgbst | 1ae2b761a9da3d8983a8d3cd9dd3dfd7a0b7540b | [
"MIT"
] | 120 | 2017-10-09T20:16:52.000Z | 2022-03-29T13:14:28.000Z | def lego(plotter, t):
h = t * 5.0
w = t * 3.0
plotter.move(-t * 2.0, 0)
l(h, plotter, t, w)
plotter.move(0, w + t)
e(h, plotter, t, w)
plotter.move(0, w + t)
g(plotter, t)
plotter.move(0, w + t)
o(plotter, t)
def o(plotter, t):
# O
plotter.move(t, 0)
plotter.line(3... | 20.743902 | 30 | 0.522046 | 304 | 1,701 | 2.921053 | 0.0625 | 0.606982 | 0.310811 | 0.278153 | 0.869369 | 0.793919 | 0.793919 | 0.724099 | 0.724099 | 0.670045 | 0 | 0.063778 | 0.281011 | 1,701 | 81 | 31 | 21 | 0.662306 | 0.004115 | 0 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.073529 | false | 0 | 0 | 0 | 0.073529 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a38a03f634375d52713a25701814579ff7b6e33e | 92,070 | py | Python | cryptoapis/api/unified_endpoints_api.py | Crypto-APIs/Crypto_APIs_2.0_SDK_Python | c59ebd914850622b2c6500c4c30af31fb9cecf0e | [
"MIT"
] | 5 | 2021-05-17T04:45:03.000Z | 2022-03-23T12:51:46.000Z | cryptoapis/api/unified_endpoints_api.py | Crypto-APIs/Crypto_APIs_2.0_SDK_Python | c59ebd914850622b2c6500c4c30af31fb9cecf0e | [
"MIT"
] | null | null | null | cryptoapis/api/unified_endpoints_api.py | Crypto-APIs/Crypto_APIs_2.0_SDK_Python | c59ebd914850622b2c6500c4c30af31fb9cecf0e | [
"MIT"
] | 2 | 2021-06-02T07:32:26.000Z | 2022-02-12T02:36:23.000Z | """
CryptoAPIs
Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei... | 42.704082 | 484 | 0.514945 | 8,247 | 92,070 | 5.586153 | 0.059779 | 0.019927 | 0.023921 | 0.02442 | 0.838156 | 0.820487 | 0.808787 | 0.800538 | 0.774621 | 0.765569 | 0 | 0.009585 | 0.399403 | 92,070 | 2,155 | 485 | 42.723898 | 0.823535 | 0.364038 | 0 | 0.744082 | 0 | 0 | 0.233386 | 0.034729 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008317 | false | 0 | 0.039028 | 0 | 0.055662 | 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 |
6e61986199cea39f158bd8be59e6773d5f58be23 | 8,979 | py | Python | serve_tiny_performance_mdrnn.py | cpmpercussion/robojam | 8f9524be0ad850bdfc0c3459b0e4b677f5f70a84 | [
"MIT"
] | 10 | 2017-11-18T04:01:03.000Z | 2022-03-06T21:07:09.000Z | serve_tiny_performance_mdrnn.py | cpmpercussion/robojam | 8f9524be0ad850bdfc0c3459b0e4b677f5f70a84 | [
"MIT"
] | 17 | 2018-06-12T20:54:40.000Z | 2022-02-09T23:27:24.000Z | serve_tiny_performance_mdrnn.py | cpmpercussion/robojam | 8f9524be0ad850bdfc0c3459b0e4b677f5f70a84 | [
"MIT"
] | 2 | 2017-12-05T23:39:42.000Z | 2018-06-13T13:46:33.000Z | #!/usr/bin/env python3
"""A flask server for Robojam"""
import json
import time
from io import StringIO
import pandas as pd
import tensorflow as tf
import robojam
from tensorflow.compat.v1.keras import backend as K
from flask import Flask, request
from flask_cors import CORS
# Start server.
tf.compat.v1.logging.set_v... | 121.337838 | 1,670 | 0.702639 | 1,711 | 8,979 | 3.642899 | 0.209234 | 0.089844 | 0.089524 | 0.049414 | 0.777635 | 0.752126 | 0.752126 | 0.752126 | 0.752126 | 0.752126 | 0 | 0.529831 | 0.109589 | 8,979 | 73 | 1,671 | 123 | 0.249781 | 0.766232 | 0 | 0.098039 | 0 | 0.019608 | 0.133301 | 0.036891 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.176471 | 0 | 0.215686 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
42cb33c39eef7cfef0c1bffc6049d2b0b685ecd4 | 2,879 | py | Python | src/metrics/metrics.py | koonn/bunseki | deb397e40a02bb709825c70c9be81f54449ac195 | [
"BSD-3-Clause"
] | null | null | null | src/metrics/metrics.py | koonn/bunseki | deb397e40a02bb709825c70c9be81f54449ac195 | [
"BSD-3-Clause"
] | null | null | null | src/metrics/metrics.py | koonn/bunseki | deb397e40a02bb709825c70c9be81f54449ac195 | [
"BSD-3-Clause"
] | null | null | null | """精度評価指標を計算するモジュール
y_trueと、y_pred_probaから精度評価指標を計算するための関数群
"""
import sklearn.metrics as skm
import numpy as np
def auc(y_true, y_pred_proba):
"""AUCを計算する関数
Args:
y_true(1-D array-like shape of [n_samples, ]): 2値の目的ラベルの配列(ラベルは0または1)
y_pred_proba(1-D array-like shape of [n_samples, ]): 陽性(ラ... | 27.951456 | 91 | 0.688086 | 398 | 2,879 | 4.738693 | 0.143216 | 0.07158 | 0.09544 | 0.063627 | 0.889714 | 0.88176 | 0.839343 | 0.778367 | 0.778367 | 0.778367 | 0 | 0.032216 | 0.202154 | 2,879 | 102 | 92 | 28.22549 | 0.788855 | 0.598819 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.777778 | 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 |
6e25342e23a32ed5b961b03bb3584a54058a2d5c | 156 | py | Python | tests/test_get_filesize.py | zevaverbach/zev | 7330718f4eee28695fe57fb1107e506e6b0c9e4e | [
"MIT"
] | null | null | null | tests/test_get_filesize.py | zevaverbach/zev | 7330718f4eee28695fe57fb1107e506e6b0c9e4e | [
"MIT"
] | 1 | 2019-07-20T09:26:46.000Z | 2019-07-20T09:26:46.000Z | tests/test_get_filesize.py | zevaverbach/zev | 7330718f4eee28695fe57fb1107e506e6b0c9e4e | [
"MIT"
] | null | null | null | from pytest import fixture
from zev.get_filesize import get_filesize
def test_get_filesize(empty_filepath):
assert get_filesize(empty_filepath) == 0
| 19.5 | 44 | 0.814103 | 23 | 156 | 5.217391 | 0.565217 | 0.366667 | 0.266667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.134615 | 156 | 7 | 45 | 22.285714 | 0.881481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
284f52f9892227b12c3c28dae697a2873a90c1e7 | 34 | py | Python | my_script.py | jeroenpijpker/easy_CD_tutorial | 2827508a7060c74ff937d7820c5b0f5cdfa4d6a4 | [
"MIT"
] | null | null | null | my_script.py | jeroenpijpker/easy_CD_tutorial | 2827508a7060c74ff937d7820c5b0f5cdfa4d6a4 | [
"MIT"
] | null | null | null | my_script.py | jeroenpijpker/easy_CD_tutorial | 2827508a7060c74ff937d7820c5b0f5cdfa4d6a4 | [
"MIT"
] | null | null | null | print("x")
print("x")
print("x")
| 6.8 | 10 | 0.529412 | 6 | 34 | 3 | 0.333333 | 1 | 1.222222 | 1.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 4 | 11 | 8.5 | 0.6 | 0 | 0 | 1 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
2856b66bfd0e689f82a8cb47b06e0b491d804f30 | 3,555 | py | Python | tests/test_random.py | xadrnd/display_sdk_ios | f8a140d1cf3d1e8f63b915caf8c723d771dac13f | [
"BSD-3-Clause"
] | null | null | null | tests/test_random.py | xadrnd/display_sdk_ios | f8a140d1cf3d1e8f63b915caf8c723d771dac13f | [
"BSD-3-Clause"
] | null | null | null | tests/test_random.py | xadrnd/display_sdk_ios | f8a140d1cf3d1e8f63b915caf8c723d771dac13f | [
"BSD-3-Clause"
] | null | null | null | from test_base import DisplaySDKTest
from utils import *
class RandomTest(DisplaySDKTest):
def test_banner_random(self):
click_btn(self, "All Errors")
for i in range(10):
click_load_ad_btn(self, "Banner")
accept_location(self)
webview = block_until_webvie... | 25.76087 | 106 | 0.501547 | 361 | 3,555 | 4.756233 | 0.216066 | 0.087362 | 0.083867 | 0.0629 | 0.802563 | 0.802563 | 0.783925 | 0.783925 | 0.738497 | 0.738497 | 0 | 0.012177 | 0.422504 | 3,555 | 138 | 107 | 25.76087 | 0.82416 | 0.108861 | 0 | 0.794118 | 0 | 0 | 0.090594 | 0.024644 | 0 | 0 | 0 | 0.007246 | 0 | 1 | 0.058824 | false | 0.088235 | 0.029412 | 0 | 0.102941 | 0.058824 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
28738d283bf4868349454e25d748bec7dc9a9c6f | 33,650 | py | Python | sdk/python/pulumi_gcp/dataloss/prevention_deidentify_template.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | sdk/python/pulumi_gcp/dataloss/prevention_deidentify_template.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | sdk/python/pulumi_gcp/dataloss/prevention_deidentify_template.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.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.841216 | 422 | 0.624101 | 2,370 | 33,650 | 8.677637 | 0.114768 | 0.035836 | 0.031995 | 0.029952 | 0.889235 | 0.875523 | 0.868035 | 0.854323 | 0.849703 | 0.842361 | 0 | 0.001658 | 0.300832 | 33,650 | 591 | 423 | 56.937394 | 0.872487 | 0.633076 | 0 | 0.618557 | 1 | 0 | 0.144527 | 0.066418 | 0 | 0 | 0 | 0 | 0 | 1 | 0.154639 | false | 0.005155 | 0.036082 | 0 | 0.283505 | 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 |
2876ee5a4ee75e47b6a9d9c1abc057001acf18bc | 1,114 | py | Python | FEniCSUI/AnalysesHub/models.py | nasserarbabi/FEniCSUI-dev | f8f161e1b49932843e01301212e7d031fff4f6c8 | [
"MIT"
] | null | null | null | FEniCSUI/AnalysesHub/models.py | nasserarbabi/FEniCSUI-dev | f8f161e1b49932843e01301212e7d031fff4f6c8 | [
"MIT"
] | 8 | 2021-03-10T21:59:52.000Z | 2021-09-22T19:12:57.000Z | FEniCSUI/AnalysesHub/models.py | nasserarbabi/FEniCSUI | f8f161e1b49932843e01301212e7d031fff4f6c8 | [
"MIT"
] | null | null | null | from django.db import models
from dashboard.models import projects
class AnalysisConfig(models.Model):
project = models.OneToOneField(
projects,
on_delete=models.CASCADE,
primary_key=True)
mesh = models.TextField()
visualizationMesh = models.TextField()
config = models.TextFiel... | 23.208333 | 42 | 0.672352 | 119 | 1,114 | 6.092437 | 0.285714 | 0.144828 | 0.09931 | 0.132414 | 0.715862 | 0.715862 | 0.715862 | 0.715862 | 0.715862 | 0.652414 | 0 | 0 | 0.236086 | 1,114 | 48 | 43 | 23.208333 | 0.851939 | 0 | 0 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.054054 | 0.108108 | 0.675676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
95a45f4832007319ba41671ba4a21dd2a62ab0fc | 202 | py | Python | models/__init__.py | mikuh/bert-tf2-keras | e361a0e7dc9fa0d64c48ac41320d302599dba025 | [
"MIT"
] | 4 | 2020-06-21T15:48:40.000Z | 2022-01-24T05:10:59.000Z | models/__init__.py | mikuh/bert-tf2-keras | e361a0e7dc9fa0d64c48ac41320d302599dba025 | [
"MIT"
] | null | null | null | models/__init__.py | mikuh/bert-tf2-keras | e361a0e7dc9fa0d64c48ac41320d302599dba025 | [
"MIT"
] | 3 | 2020-07-20T07:11:27.000Z | 2022-01-24T05:11:21.000Z | from models.base_model import BaseModel
from models.classifier import BertClassifier
from models.sequence_labeling import BertSequenceLabeling
from models.sequence_embedding import BertSequenceEmbedding | 50.5 | 59 | 0.905941 | 23 | 202 | 7.826087 | 0.565217 | 0.222222 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074257 | 202 | 4 | 59 | 50.5 | 0.962567 | 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 |
255fc1c3062c1fbdf6dc873744212e8248b03800 | 190,066 | py | Python | openshift/client/apis/build_openshift_io_v1_api.py | asetty/openshift-restclient-python | c6f2168d7a02a24c030fb67959919fd4a9eb260d | [
"Apache-2.0"
] | null | null | null | openshift/client/apis/build_openshift_io_v1_api.py | asetty/openshift-restclient-python | c6f2168d7a02a24c030fb67959919fd4a9eb260d | [
"Apache-2.0"
] | null | null | null | openshift/client/apis/build_openshift_io_v1_api.py | asetty/openshift-restclient-python | c6f2168d7a02a24c030fb67959919fd4a9eb260d | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
OpenShift API (with Kubernetes)
OpenShift provides builds, application lifecycle, image content management, and administrative policy on top of Kubernetes. The API allows consistent management of those objects. All API operations are authenticated via an Authorization bearer token that is... | 61.470246 | 3,325 | 0.643066 | 22,934 | 190,066 | 5.175111 | 0.026772 | 0.017525 | 0.018477 | 0.015773 | 0.965211 | 0.96297 | 0.961057 | 0.957628 | 0.955269 | 0.954097 | 0 | 0.001913 | 0.284848 | 190,066 | 3,091 | 3,326 | 61.490133 | 0.871253 | 0.452885 | 0 | 0.825378 | 0 | 0.000604 | 0.233174 | 0.080398 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032024 | false | 0 | 0.003625 | 0 | 0.083384 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c29faa589f518d5f02ac893b18dc08fe8e171da1 | 19,174 | py | Python | sdk/python/pulumiverse_astra/cdc.py | mapped/pulumi-astra | 0d12cb616ed0eeb0d9e7dd9001b94f10bd4c3e8d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumiverse_astra/cdc.py | mapped/pulumi-astra | 0d12cb616ed0eeb0d9e7dd9001b94f10bd4c3e8d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumiverse_astra/cdc.py | mapped/pulumi-astra | 0d12cb616ed0eeb0d9e7dd9001b94f10bd4c3e8d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 38.119284 | 134 | 0.625222 | 2,150 | 19,174 | 5.322791 | 0.083721 | 0.090353 | 0.096645 | 0.073051 | 0.833362 | 0.797448 | 0.763981 | 0.727019 | 0.710154 | 0.668735 | 0 | 0.004489 | 0.268019 | 19,174 | 502 | 135 | 38.195219 | 0.810901 | 0.271305 | 0 | 0.578755 | 1 | 0 | 0.105811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157509 | false | 0.003663 | 0.018315 | 0 | 0.271062 | 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 |
c2bdcfb6eaabd65b263df02b6c6aceda6e9c5099 | 3,153 | py | Python | test/cp_request/test_entity.py | aquariumbio/experiment-request | 026e3eb767c47f980a35004e9ded5e4e33553693 | [
"MIT"
] | null | null | null | test/cp_request/test_entity.py | aquariumbio/experiment-request | 026e3eb767c47f980a35004e9ded5e4e33553693 | [
"MIT"
] | null | null | null | test/cp_request/test_entity.py | aquariumbio/experiment-request | 026e3eb767c47f980a35004e9ded5e4e33553693 | [
"MIT"
] | null | null | null | import json
from cp_request import Attribute, NamedEntity, Unit, Value
from cp_request.named_entity import NamedEntityEncoder, NamedEntityDecoder
class TestNamedEntity:
def test_entity(self):
e1 = NamedEntity(name="one", reference="http://one.one")
e2 = NamedEntity(name="one", reference="http://... | 35.829545 | 214 | 0.567396 | 323 | 3,153 | 5.448916 | 0.154799 | 0.125568 | 0.1125 | 0.16875 | 0.827841 | 0.827841 | 0.827841 | 0.827841 | 0.804545 | 0.73125 | 0 | 0.038932 | 0.299397 | 3,153 | 87 | 215 | 36.241379 | 0.757809 | 0 | 0 | 0.653333 | 0 | 0.026667 | 0.259753 | 0.074215 | 0 | 0 | 0 | 0 | 0.173333 | 1 | 0.066667 | false | 0 | 0.04 | 0 | 0.12 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c2d600c10308080eab8bee5be84ed3ffe2e71757 | 151 | py | Python | test.py | Imagio/enigma | 31c84a40cabe6ed7fc75743dbe9292a1bb622c4e | [
"MIT"
] | null | null | null | test.py | Imagio/enigma | 31c84a40cabe6ed7fc75743dbe9292a1bb622c4e | [
"MIT"
] | null | null | null | test.py | Imagio/enigma | 31c84a40cabe6ed7fc75743dbe9292a1bb622c4e | [
"MIT"
] | null | null | null | import unittest
from rotor_tests import *
from rotor_settings_tests import *
from reflector_tests import *
from enigma_tests import *
unittest.main()
| 18.875 | 34 | 0.821192 | 21 | 151 | 5.666667 | 0.428571 | 0.369748 | 0.378151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13245 | 151 | 7 | 35 | 21.571429 | 0.908397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 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 |
c2f1a3b7771e7491e2a518b145a7443aeabf7658 | 81 | py | Python | corehq/util/tests/__init__.py | bglar/commcare-hq | 972129fc26864c08c7bef07874bd2a7218550bff | [
"BSD-3-Clause"
] | 1 | 2017-02-10T03:14:51.000Z | 2017-02-10T03:14:51.000Z | corehq/util/tests/__init__.py | bglar/commcare-hq | 972129fc26864c08c7bef07874bd2a7218550bff | [
"BSD-3-Clause"
] | null | null | null | corehq/util/tests/__init__.py | bglar/commcare-hq | 972129fc26864c08c7bef07874bd2a7218550bff | [
"BSD-3-Clause"
] | null | null | null | from test_couch import *
from test_toggle import *
from test_quickcache import *
| 20.25 | 29 | 0.814815 | 12 | 81 | 5.25 | 0.5 | 0.380952 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 30 | 27 | 0.913043 | 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 |
6c8a1fd6e1a402d55f7841fa1d528a488bdf0b86 | 49,401 | py | Python | tests/subsystem_tests.py | Goodpaster/QSoME | 8b24d58dfab5ac0d90fd84b8519b25864eee6f74 | [
"Apache-2.0"
] | 7 | 2018-09-28T21:40:08.000Z | 2021-06-10T10:44:39.000Z | tests/subsystem_tests.py | Goodpaster/QSoME | 8b24d58dfab5ac0d90fd84b8519b25864eee6f74 | [
"Apache-2.0"
] | 1 | 2021-07-06T12:28:32.000Z | 2021-07-29T20:34:13.000Z | tests/subsystem_tests.py | Goodpaster/QSoME | 8b24d58dfab5ac0d90fd84b8519b25864eee6f74 | [
"Apache-2.0"
] | 1 | 2021-04-08T12:28:44.000Z | 2021-04-08T12:28:44.000Z | # A module to tests the methods of the Subsystem
import unittest
import os
import shutil
import re
from copy import copy
from qsome import cluster_subsystem, cluster_supersystem
from pyscf import gto, lib, scf, dft, cc, mp, mcscf, tools
from pyscf.cc import ccsd_t, uccsd_t
import numpy as np
import tempfile
clas... | 43.182692 | 172 | 0.638125 | 7,011 | 49,401 | 4.165597 | 0.034375 | 0.018695 | 0.03294 | 0.03561 | 0.940901 | 0.92806 | 0.910255 | 0.895737 | 0.888992 | 0.873172 | 0 | 0.022727 | 0.250926 | 49,401 | 1,143 | 173 | 43.220472 | 0.766491 | 0.044412 | 0 | 0.81523 | 0 | 0 | 0.021651 | 0.000446 | 0 | 0 | 0 | 0 | 0.092945 | 1 | 0.033595 | false | 0.010078 | 0.019037 | 0 | 0.054871 | 0.003359 | 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 |
665956b19edea097158d528d01890795f973fee1 | 19,404 | py | Python | app/apps/address/migrations/0001_initial.py | brsrtc/mini-erp-docker | f5c37c71384c76e029a26e89f4771a59ed02f925 | [
"MIT"
] | 1 | 2021-01-18T07:11:31.000Z | 2021-01-18T07:11:31.000Z | app/apps/address/migrations/0001_initial.py | brsrtc/mini-erp-docker | f5c37c71384c76e029a26e89f4771a59ed02f925 | [
"MIT"
] | null | null | null | app/apps/address/migrations/0001_initial.py | brsrtc/mini-erp-docker | f5c37c71384c76e029a26e89f4771a59ed02f925 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2020-12-05 17:27
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
import core.cache
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODE... | 59.521472 | 93 | 0.44563 | 1,549 | 19,404 | 5.371207 | 0.071014 | 0.108413 | 0.047596 | 0.055168 | 0.895673 | 0.892788 | 0.872596 | 0.855409 | 0.844591 | 0.838702 | 0 | 0.007177 | 0.454236 | 19,404 | 325 | 94 | 59.704615 | 0.77847 | 0.002319 | 0 | 0.713836 | 1 | 0 | 0.109314 | 0.023712 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012579 | 0 | 0.025157 | 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 |
66a6d482011b0d35775a7523319647c543ff9fb5 | 11,829 | py | Python | src/algo/baselines/randomP/randomP.py | Lukeeeeee/CE7490-Group-Project-Python | 840a655bcb8cebbe3d39e5d3f3d68a01936a6283 | [
"MIT"
] | null | null | null | src/algo/baselines/randomP/randomP.py | Lukeeeeee/CE7490-Group-Project-Python | 840a655bcb8cebbe3d39e5d3f3d68a01936a6283 | [
"MIT"
] | null | null | null | src/algo/baselines/randomP/randomP.py | Lukeeeeee/CE7490-Group-Project-Python | 840a655bcb8cebbe3d39e5d3f3d68a01936a6283 | [
"MIT"
] | 1 | 2020-10-20T07:06:18.000Z | 2020-10-20T07:06:18.000Z | from src.core import Basic
import networkx as nx
class RandomP(Basic):
def __init__(self, server_list, network_dataset, node_list):
super().__init__()
self.server_list = server_list
self.network_dataset = network_dataset
self.node_list = node_list
def add_new_primary_node(self... | 37.792332 | 95 | 0.481951 | 1,565 | 11,829 | 3.377636 | 0.060703 | 0.157019 | 0.214529 | 0.143776 | 0.8042 | 0.78793 | 0.750284 | 0.750284 | 0.74877 | 0.747068 | 0 | 0.0306 | 0.43089 | 11,829 | 312 | 96 | 37.913462 | 0.754605 | 0 | 0 | 0.786232 | 0 | 0 | 0.015809 | 0.00186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036232 | false | 0 | 0.007246 | 0 | 0.047101 | 0.014493 | 0 | 0 | 0 | null | 0 | 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 | 8 |
66b95f7f1063980cc02f05f543cab0abf0bce28b | 199 | py | Python | tests/test_mmhelloworld.py | manasm11/mmhelloworld | 2e6907ac0962de90764a036d14046861b5f47521 | [
"MIT"
] | null | null | null | tests/test_mmhelloworld.py | manasm11/mmhelloworld | 2e6907ac0962de90764a036d14046861b5f47521 | [
"MIT"
] | null | null | null | tests/test_mmhelloworld.py | manasm11/mmhelloworld | 2e6907ac0962de90764a036d14046861b5f47521 | [
"MIT"
] | null | null | null | from mmhelloworld import say_hello
def test_say_hello_no_params():
assert say_hello() == "Hello! World"
def test_say_hello_with_param():
assert say_hello("Everyone") == "Hello! Everyone"
| 19.9 | 53 | 0.738693 | 28 | 199 | 4.857143 | 0.5 | 0.294118 | 0.147059 | 0.220588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150754 | 199 | 9 | 54 | 22.111111 | 0.804734 | 0 | 0 | 0 | 0 | 0 | 0.175879 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
66be0ddd5abfb03dffd9214bd347839460bf60b7 | 39,732 | py | Python | pyreach/impl/logs_directory_client_test.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | 13 | 2021-09-01T01:10:22.000Z | 2022-03-05T10:01:52.000Z | pyreach/impl/logs_directory_client_test.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | null | null | null | pyreach/impl/logs_directory_client_test.py | google-research/pyreach | f91753ce7a26e77e122eb02a9fdd5a1ce3ce0159 | [
"Apache-2.0"
] | 6 | 2021-09-20T21:17:53.000Z | 2022-03-14T18:42:48.000Z | # Copyright 2021 Google LLC
#
# 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, ... | 39.652695 | 80 | 0.55892 | 4,753 | 39,732 | 4.448138 | 0.04797 | 0.03065 | 0.023082 | 0.089869 | 0.859285 | 0.841831 | 0.805222 | 0.764261 | 0.747517 | 0.727888 | 0 | 0.017774 | 0.328803 | 39,732 | 1,001 | 81 | 39.692308 | 0.775011 | 0.014648 | 0 | 0.749738 | 0 | 0 | 0.080727 | 0.005929 | 0 | 0 | 0 | 0 | 0.132984 | 1 | 0.018848 | false | 0 | 0.013613 | 0.003141 | 0.042932 | 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 |
dd0710c4323697be4edfde027a5e9419170be224 | 1,818 | py | Python | migrations/versions/281362c70f34_.py | TobiasPrt/Smartphoniker-shop | 6b74a3cc1c81db7a56d70609dbca29ddeec3053f | [
"MIT"
] | 2 | 2020-05-11T08:46:45.000Z | 2020-05-11T09:09:57.000Z | migrations/versions/281362c70f34_.py | TobiasPrt/Smartphoniker-shop | 6b74a3cc1c81db7a56d70609dbca29ddeec3053f | [
"MIT"
] | 4 | 2021-02-19T13:31:53.000Z | 2022-02-20T13:34:10.000Z | migrations/versions/281362c70f34_.py | TobiasPrt/Smartphoniker-shop | 6b74a3cc1c81db7a56d70609dbca29ddeec3053f | [
"MIT"
] | 5 | 2020-04-27T16:25:39.000Z | 2020-06-07T16:03:15.000Z | """empty message
Revision ID: 281362c70f34
Revises: acff3391146d
Create Date: 2020-05-27 16:58:11.029790
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '281362c70f34'
down_revision = 'acff3391146d'
branch_labels = None
depends_on = None
def... | 31.894737 | 65 | 0.60011 | 200 | 1,818 | 5.31 | 0.3 | 0.065913 | 0.122411 | 0.19774 | 0.727872 | 0.727872 | 0.723164 | 0.723164 | 0.723164 | 0.713748 | 0 | 0.059361 | 0.277228 | 1,818 | 56 | 66 | 32.464286 | 0.748858 | 0.162266 | 0 | 0.789474 | 0 | 0 | 0.119015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dd3c2fd0cab5262a11100e98979113701b2c65bd | 2,828 | py | Python | Projects_Django/MyPets/tienda_mascotas/models.py | JuanCasanovaQ/Frameworks_8A | 353838473b275d366cac8364ef4df72578c0aed8 | [
"Apache-2.0"
] | null | null | null | Projects_Django/MyPets/tienda_mascotas/models.py | JuanCasanovaQ/Frameworks_8A | 353838473b275d366cac8364ef4df72578c0aed8 | [
"Apache-2.0"
] | null | null | null | Projects_Django/MyPets/tienda_mascotas/models.py | JuanCasanovaQ/Frameworks_8A | 353838473b275d366cac8364ef4df72578c0aed8 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.db.models.fields.related import ForeignKey
# Create your models here.
class Country(models.Model):
code = models.CharField(max_length=10)
name = models.CharField(max_length=150)
abrev = models.CharField(max_length=4)
status = models.BooleanField()
created_... | 32.883721 | 54 | 0.724187 | 355 | 2,828 | 5.583099 | 0.140845 | 0.096872 | 0.205853 | 0.266398 | 0.802725 | 0.789102 | 0.75782 | 0.75782 | 0.75782 | 0.75782 | 0 | 0.021213 | 0.166549 | 2,828 | 85 | 55 | 33.270588 | 0.819686 | 0.008487 | 0 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.014286 | 0.028571 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
dd3fd65b348e0bcff47a6b9cda24ca0e585cfa0c | 6,749 | py | Python | pirates/leveleditor/worldData/tortuga_building_int_10.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/tortuga_building_int_10.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/tortuga_building_int_10.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.tortuga_building_int_10
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Ambien... | 964.142857 | 6,298 | 0.676397 | 780 | 6,749 | 5.825641 | 0.435897 | 0.007923 | 0.007923 | 0.010563 | 0.37654 | 0.330106 | 0.305458 | 0.231514 | 0.215889 | 0.215889 | 0 | 0.26852 | 0.077937 | 6,749 | 7 | 6,299 | 964.142857 | 0.461674 | 0.033931 | 0 | 0 | 0 | 0 | 0.631829 | 0.134285 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
dd6374321202c04d2e14fb1f005b96daccd1a28b | 36 | py | Python | csv_json/__init__.py | Rerice/Csv_json_converter | 54bf0f839d8fff203c1cf96812b96af915449fef | [
"MIT"
] | 3 | 2021-06-02T15:32:45.000Z | 2021-12-13T10:12:25.000Z | csv_json/__init__.py | Rerice/Csv_json_converter | 54bf0f839d8fff203c1cf96812b96af915449fef | [
"MIT"
] | null | null | null | csv_json/__init__.py | Rerice/Csv_json_converter | 54bf0f839d8fff203c1cf96812b96af915449fef | [
"MIT"
] | 2 | 2021-06-02T15:30:42.000Z | 2021-06-02T17:28:41.000Z | from csv_json.csv_json_conv import * | 36 | 36 | 0.861111 | 7 | 36 | 4 | 0.714286 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dd67b0be318886c07c1697a2ac8415ae63718592 | 71,403 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/alert_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/alert_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/monitoring/v1/alert_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: spaceone/api/monitoring/v1/alert.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _m... | 50.676366 | 7,646 | 0.759086 | 9,370 | 71,403 | 5.489541 | 0.04365 | 0.046348 | 0.083111 | 0.084511 | 0.829792 | 0.792387 | 0.778895 | 0.729941 | 0.692945 | 0.677645 | 0 | 0.044397 | 0.113273 | 71,403 | 1,408 | 7,647 | 50.712358 | 0.768001 | 0.020475 | 0 | 0.696307 | 1 | 0.01055 | 0.238772 | 0.202815 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006782 | 0 | 0.006782 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dd793146f92f3801277eeab8ef75d59d722ca146 | 5,581 | py | Python | rdmo/questions/tests/test_validator_locked_questions.py | berkerY/rdmo | c0500f9b6caff9106a254a05e0d0e8018fc8db28 | [
"Apache-2.0"
] | 77 | 2016-08-09T11:40:20.000Z | 2022-03-06T11:03:26.000Z | rdmo/questions/tests/test_validator_locked_questions.py | MSpenger/rdmo | c0500f9b6caff9106a254a05e0d0e8018fc8db28 | [
"Apache-2.0"
] | 377 | 2016-07-01T13:59:36.000Z | 2022-03-30T13:53:19.000Z | rdmo/questions/tests/test_validator_locked_questions.py | MSpenger/rdmo | c0500f9b6caff9106a254a05e0d0e8018fc8db28 | [
"Apache-2.0"
] | 47 | 2016-06-23T11:32:19.000Z | 2022-03-01T11:34:37.000Z | import pytest
from django.core.exceptions import ValidationError
from rest_framework.exceptions import \
ValidationError as RestFameworkValidationError
from ..models import Question, QuestionSet
from ..serializers.v1 import QuestionSerializer
from ..validators import QuestionLockedValidator
def test_create(db):
... | 25.600917 | 64 | 0.689124 | 486 | 5,581 | 7.783951 | 0.088477 | 0.170764 | 0.105736 | 0.092519 | 0.924927 | 0.924927 | 0.913296 | 0.897965 | 0.85752 | 0.836638 | 0 | 0.000227 | 0.209281 | 5,581 | 217 | 65 | 25.718894 | 0.857013 | 0 | 0 | 0.840764 | 0 | 0 | 0.054829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.11465 | false | 0 | 0.038217 | 0 | 0.152866 | 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 |
b0767a0c923e3d01ffc014eff24c6e6e510dea0d | 118 | py | Python | ilexconf/console/__init__.py | vduseev/holly-config | 92b7f902d92a4bae0f9fef6241b5ef3e11b44082 | [
"MIT"
] | 9 | 2020-10-04T15:55:08.000Z | 2020-10-09T11:48:44.000Z | ilexconf/console/__init__.py | vduseev/holly-config | 92b7f902d92a4bae0f9fef6241b5ef3e11b44082 | [
"MIT"
] | 47 | 2020-10-10T23:19:15.000Z | 2021-04-02T21:29:36.000Z | ilexconf/console/__init__.py | ilexconf/ilexconf | 92b7f902d92a4bae0f9fef6241b5ef3e11b44082 | [
"MIT"
] | null | null | null | from ilexconf.console.application import Application
def main(): # pragma: no cover
return Application().run()
| 19.666667 | 52 | 0.737288 | 14 | 118 | 6.214286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 118 | 5 | 53 | 23.6 | 0.878788 | 0.135593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
9fd914093a9d2ec4b79940394bc875e521269c52 | 6,659 | py | Python | src/mhealth/data_analysis_tests/cross_correlator_test.py | hirsch-lab/mhealth | ad4287483cee206c7b8ff6216293f19d71296129 | [
"MIT"
] | 2 | 2021-01-05T10:53:57.000Z | 2021-02-26T09:15:14.000Z | src/mhealth/data_analysis_tests/cross_correlator_test.py | hirsch-lab/mhealth | ad4287483cee206c7b8ff6216293f19d71296129 | [
"MIT"
] | 3 | 2020-12-15T11:29:25.000Z | 2021-05-07T09:18:43.000Z | src/mhealth/data_analysis_tests/cross_correlator_test.py | hirsch-lab/mhealth | ad4287483cee206c7b8ff6216293f19d71296129 | [
"MIT"
] | null | null | null | import os
import glob
import unittest
from ..utils import testing
from ..utils import everion_keys
from ..utils.file_helper import FileHelper
from ..utils.data_aggregator import Normalization
from ..visualization.vis_properties import VisProperties
from ..data_analysis.cross_correlator import CrossCorrelator
_MHEALTH... | 44.691275 | 78 | 0.565851 | 746 | 6,659 | 4.613941 | 0.112601 | 0.10982 | 0.083672 | 0.051133 | 0.830331 | 0.821034 | 0.809413 | 0.789076 | 0.778036 | 0.778036 | 0 | 0.012363 | 0.35621 | 6,659 | 148 | 79 | 44.993243 | 0.79053 | 0 | 0 | 0.753968 | 0 | 0 | 0.036192 | 0.010512 | 0 | 0 | 0 | 0 | 0.063492 | 1 | 0.063492 | false | 0 | 0.071429 | 0 | 0.174603 | 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 |
9fe5a28b405ba0411a5720a42bbe49f07b08a96f | 8,697 | py | Python | core/data/collators.py | manzar96/st7 | 8dac6fa3497e5a3594766a232a9e8436120e9563 | [
"MIT"
] | null | null | null | core/data/collators.py | manzar96/st7 | 8dac6fa3497e5a3594766a232a9e8436120e9563 | [
"MIT"
] | null | null | null | core/data/collators.py | manzar96/st7 | 8dac6fa3497e5a3594766a232a9e8436120e9563 | [
"MIT"
] | null | null | null | import torch
from torch.nn.utils.rnn import pad_sequence, pack_padded_sequence
from core.utils.masks import pad_mask, subsequent_mask
from core.utils.tensors import mktensor
class Task71aCollator(object):
def __init__(self, pad_indx=0, device='cpu'):
self.pad_indx = pad_indx
self.device = device
... | 33.321839 | 77 | 0.609176 | 1,060 | 8,697 | 4.671698 | 0.066038 | 0.056543 | 0.06664 | 0.03433 | 0.929523 | 0.929523 | 0.923263 | 0.917407 | 0.914984 | 0.914984 | 0 | 0.005117 | 0.303438 | 8,697 | 261 | 78 | 33.321839 | 0.812314 | 0.043578 | 0 | 0.878613 | 0 | 0 | 0.003615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115607 | false | 0 | 0.023121 | 0 | 0.254335 | 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 |
b048467d0a750345394b6d343d01156aad3e1cef | 109 | py | Python | pylib/gna/graph/__init__.py | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | 5 | 2019-10-14T01:06:57.000Z | 2021-02-02T16:33:06.000Z | pylib/gna/graph/__init__.py | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | pylib/gna/graph/__init__.py | gnafit/gna | c1a58dac11783342c97a2da1b19c97b85bce0394 | [
"MIT"
] | null | null | null | from gna.graph.walk import GraphWalker
from gna.graph.timeit import *
from gna.graph.walk_functions import *
| 27.25 | 38 | 0.816514 | 17 | 109 | 5.176471 | 0.470588 | 0.238636 | 0.409091 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 39 | 36.333333 | 0.907216 | 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 |
c6929965a631981dae06929029921384cdc65b4d | 2,156 | py | Python | test.py | adrianlazar-personal/py-jwt-validator | 1d586129a1279f90b4b326aa29f40b9302004e43 | [
"MIT"
] | 6 | 2020-05-28T20:22:23.000Z | 2021-09-21T06:26:52.000Z | test.py | adrianlazar-personal/py-jwt-validator | 1d586129a1279f90b4b326aa29f40b9302004e43 | [
"MIT"
] | 4 | 2020-11-09T23:12:38.000Z | 2021-03-03T16:39:59.000Z | test.py | adrianlazar-personal/py-jwt-validator | 1d586129a1279f90b4b326aa29f40b9302004e43 | [
"MIT"
] | 1 | 2020-12-07T15:00:35.000Z | 2020-12-07T15:00:35.000Z | from py_jwt_validator import PyJwtValidator, PyJwtException
import requests
jwt = 'eyJraWQiOiIyMjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdF9oYXNoIjoic2pvdjVKajlXLXdkblBZUDd3djZ0USIsInN1YiI6Imh0dHBzOi8vbG9naW4uc2FsZXNmb3JjZS5jb20vaWQvMDBEMXQwMDAwMDBEVUo2RUFPLzAwNTF0MDAwMDAwRHlhUEFBUyIsInpvbmVpbmZvIjoiRXVyb3BlL0R1Ymx... | 269.5 | 1,920 | 0.967532 | 57 | 2,156 | 36.350877 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113829 | 0.013915 | 2,156 | 8 | 1,921 | 269.5 | 0.860771 | 0 | 0 | 0 | 0 | 0.142857 | 0.899397 | 0.886416 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.285714 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c6a59cf0b7d0aebf7e2f62e142e7553ec2e18c60 | 32,332 | py | Python | IRIS_data_download/IRIS_download_support/obspy/io/ascii/tests/test_ascii.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 2 | 2020-03-05T01:03:01.000Z | 2020-12-17T05:04:07.000Z | IRIS_data_download/IRIS_download_support/obspy/io/ascii/tests/test_ascii.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 4 | 2021-03-31T19:25:55.000Z | 2021-12-13T20:32:46.000Z | IRIS_data_download/IRIS_download_support/obspy/io/ascii/tests/test_ascii.py | earthinversion/Fnet_IRIS_data_automated_download | 09a6e0c992662feac95744935e038d1c68539fa1 | [
"MIT"
] | 2 | 2020-09-08T19:33:40.000Z | 2021-04-05T09:47:50.000Z | # -*- coding: utf-8 -*-
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from future.builtins import * # NOQA @UnusedWildImport
import os
import unittest
import numpy as np
from obspy import Trace, UTCDateTime, read
from obspy.io.ascii.core import (_determ... | 45.346424 | 79 | 0.578034 | 3,899 | 32,332 | 4.674019 | 0.074635 | 0.158856 | 0.180915 | 0.149693 | 0.874945 | 0.860459 | 0.843503 | 0.836315 | 0.825944 | 0.814036 | 0 | 0.095058 | 0.287115 | 32,332 | 712 | 80 | 45.410112 | 0.695605 | 0.079704 | 0 | 0.773764 | 0 | 0.003802 | 0.097221 | 0.044151 | 0 | 0 | 0 | 0 | 0.43346 | 1 | 0.045627 | false | 0 | 0.015209 | 0.001901 | 0.064639 | 0.001901 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c6b714242593972ca83e47dd6c36c7d8b16188e4 | 41,780 | py | Python | venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_rule_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_rule_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_rule_pb2.py | choonho/plugin-prometheus-mon-webhook | afa7d65d12715fd0480fb4f92a9c62da2d6128e0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: spaceone/api/power_scheduler/v1/schedule_rule.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import ... | 50.035928 | 4,517 | 0.769196 | 5,439 | 41,780 | 5.586137 | 0.056076 | 0.042655 | 0.064773 | 0.068163 | 0.814304 | 0.787579 | 0.754929 | 0.736267 | 0.67936 | 0.655301 | 0 | 0.041287 | 0.108401 | 41,780 | 834 | 4,518 | 50.095923 | 0.774342 | 0.024725 | 0 | 0.661519 | 1 | 0.001287 | 0.257268 | 0.226822 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011583 | 0 | 0.011583 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c6dd53889ed24a20c2e564119c4f2587d1b0b030 | 12,891 | py | Python | Functions/learning_models.py | goyalpike/RK4_SinDy | 7a53b03611f28915244a86f11de6552e513d0dbb | [
"MIT"
] | null | null | null | Functions/learning_models.py | goyalpike/RK4_SinDy | 7a53b03611f28915244a86f11de6552e513d0dbb | [
"MIT"
] | null | null | null | Functions/learning_models.py | goyalpike/RK4_SinDy | 7a53b03611f28915244a86f11de6552e513d0dbb | [
"MIT"
] | null | null | null | """ Training of a network """
import torch
import sys
import torch_optimizer as optim_all
import numpy as np
from .modules import rk4th_onestep_SparseId, rk4th_onestep_SparseId_parameter
def learning_sparse_model(dictionary, Coeffs, dataloaders, Params,lr_reduction = 10, quite = False):
'''
Parameters
... | 44.298969 | 135 | 0.581258 | 1,551 | 12,891 | 4.672469 | 0.132818 | 0.017387 | 0.024838 | 0.020698 | 0.9259 | 0.915413 | 0.909066 | 0.899683 | 0.899683 | 0.872085 | 0 | 0.012262 | 0.291444 | 12,891 | 290 | 136 | 44.451724 | 0.781147 | 0.276937 | 0 | 0.709677 | 0 | 0.024194 | 0.054795 | 0.003831 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024194 | false | 0 | 0.040323 | 0 | 0.08871 | 0.096774 | 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 |
05a1b225db67c9294be8ffcb48b01e142b5fd38c | 51,802 | py | Python | python source files/trainer.py | barneyga/A-Recurrent-Model-of-Approximate-Enumeration | 8a0ca5094a2e180939c25e55f376f30dfa1095bd | [
"MIT"
] | null | null | null | python source files/trainer.py | barneyga/A-Recurrent-Model-of-Approximate-Enumeration | 8a0ca5094a2e180939c25e55f376f30dfa1095bd | [
"MIT"
] | 1 | 2021-12-08T00:52:53.000Z | 2021-12-08T00:52:53.000Z | python source files/trainer.py | barneyga/A-Recurrent-Model-of-Approximate-Enumeration | 8a0ca5094a2e180939c25e55f376f30dfa1095bd | [
"MIT"
] | null | null | null | import os
import time
import shutil
import pickle
import torch
import torch.nn.functional as F
from tqdm import tqdm
from torch.optim.lr_scheduler import ReduceLROnPlateau
from tensorboard_logger import configure, log_value
import pandas as pd
from model import RecurrentAttention
from stop_model import StopRecurren... | 40.032457 | 154 | 0.572661 | 6,403 | 51,802 | 4.395752 | 0.06044 | 0.020891 | 0.034108 | 0.01478 | 0.875684 | 0.873659 | 0.871136 | 0.863604 | 0.861188 | 0.859518 | 0 | 0.010113 | 0.322381 | 51,802 | 1,293 | 155 | 40.063418 | 0.791721 | 0.256148 | 0 | 0.708211 | 0 | 0.001466 | 0.055751 | 0.003088 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024927 | false | 0 | 0.019062 | 0 | 0.055718 | 0.029326 | 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 |
af03e1bca2e6bcaf4e2f161d2b4078d32b20e402 | 421 | py | Python | tests/parser/aggregates.count.assignment.17.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.count.assignment.17.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/aggregates.count.assignment.17.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a(S,T,Z) :- #count{X: r(T,X)} = Z, #count{W: q(W,S)} = T, #count{K: p(K,Y)} = S.
q(1,1).
q(2,2).
r(1,1).
r(1,2).
r(1,3).
r(2,2).
r(3,3).
p(1,1).
p(2,2).
%out{ a(2,1,3) }
%repository error
"""
output = """
a(S,T,Z) :- #count{X: r(T,X)} = Z, #count{W: q(W,S)} = T, #count{K: p(K,Y)} = S.
q(1,1).
q(2,2)... | 10.268293 | 80 | 0.420428 | 114 | 421 | 1.552632 | 0.175439 | 0.067797 | 0.067797 | 0.045198 | 0.937853 | 0.937853 | 0.937853 | 0.937853 | 0.937853 | 0.937853 | 0 | 0.121739 | 0.180523 | 421 | 40 | 81 | 10.525 | 0.391304 | 0 | 0 | 0.928571 | 0 | 0.071429 | 0.926366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
af16e083f971bbc4e21d58523158391bc67070fb | 7,669 | py | Python | pwbs/tests/TTTTTT_test_6.py | paip-web/pwbs | 21622712b6975ab68b7f5d7c1a944fa826ea87ba | [
"MIT"
] | 2 | 2020-01-07T16:07:56.000Z | 2020-02-15T05:57:58.000Z | pwbs/tests/TTTTTT_test_6.py | paip-web/pwbs | 21622712b6975ab68b7f5d7c1a944fa826ea87ba | [
"MIT"
] | 3 | 2020-07-03T21:28:02.000Z | 2021-06-25T15:29:18.000Z | pwbs/tests/TTTTTT_test_6.py | paip-web/pwbs | 21622712b6975ab68b7f5d7c1a944fa826ea87ba | [
"MIT"
] | 1 | 2020-02-15T06:00:08.000Z | 2020-02-15T06:00:08.000Z | """
This for future test of Event Manager.
For now it's just contain snippets for it.
"""
test(PWBS_EM)
def test(PWBS_EM: PWBSEventManager):
funct = lambda event_name, *args, **kwargs: print("{0}: {1} | {2}".format(event_name, args, kwargs))
# PWBS Event Called in pwbs.__init__.main() when PWBS class is initi... | 78.255102 | 144 | 0.784978 | 1,101 | 7,669 | 5.273388 | 0.090827 | 0.136411 | 0.113676 | 0.151567 | 0.893558 | 0.887702 | 0.886324 | 0.857217 | 0.771271 | 0.635722 | 0 | 0.000445 | 0.121528 | 7,669 | 97 | 145 | 79.061856 | 0.861363 | 0.500587 | 0 | 0 | 0 | 0 | 0.507806 | 0.495369 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0 | 0 | 0 | 0.021277 | 0.021277 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
afc59e6ec8b3a8d303a471a47f51dc9d406f4096 | 222 | py | Python | rastervision/analyzer/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 4 | 2019-03-11T12:38:15.000Z | 2021-04-06T14:57:52.000Z | rastervision/analyzer/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | null | null | null | rastervision/analyzer/__init__.py | carderne/raster-vision | 915fbcd3263d8f2193e65c2cd0eb53e050a47a01 | [
"Apache-2.0"
] | 1 | 2021-02-25T18:23:27.000Z | 2021-02-25T18:23:27.000Z | # flake8: noqa
from rastervision.analyzer.analyzer import *
from rastervision.analyzer.analyzer_config import *
from rastervision.analyzer.stats_analyzer import *
from rastervision.analyzer.stats_analyzer_config import *
| 31.714286 | 57 | 0.846847 | 26 | 222 | 7.076923 | 0.307692 | 0.347826 | 0.521739 | 0.48913 | 0.673913 | 0.467391 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.09009 | 222 | 6 | 58 | 37 | 0.905941 | 0.054054 | 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 |
bb85cd6b9000d3cdaff7738f7a55a4fc05c3ab98 | 89 | py | Python | guillotina_volto/blocks/__init__.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 5 | 2018-11-11T07:19:06.000Z | 2020-01-18T11:04:15.000Z | guillotina_volto/blocks/__init__.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 4 | 2021-05-14T20:21:03.000Z | 2021-11-18T01:27:04.000Z | guillotina_volto/blocks/__init__.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 2 | 2019-06-14T10:42:22.000Z | 2020-05-09T13:09:09.000Z | from . import default # noqa
from . import types # noqa
from . import standard # noqa
| 22.25 | 30 | 0.696629 | 12 | 89 | 5.166667 | 0.5 | 0.483871 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235955 | 89 | 3 | 31 | 29.666667 | 0.911765 | 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 |
bbb782cb3b44f4866569b38680bb03a8e7730b26 | 10,441 | py | Python | pgtrigger/tests/test_multi_db.py | tiholic/django-pgtrigger | ef8878115bef1a933405ab86d7f7c117252d970c | [
"BSD-3-Clause"
] | 135 | 2020-06-27T14:02:46.000Z | 2021-05-27T01:07:41.000Z | pgtrigger/tests/test_multi_db.py | tiholic/django-pgtrigger | ef8878115bef1a933405ab86d7f7c117252d970c | [
"BSD-3-Clause"
] | 25 | 2021-06-19T20:28:52.000Z | 2022-03-22T23:14:59.000Z | pgtrigger/tests/test_multi_db.py | tiholic/django-pgtrigger | ef8878115bef1a933405ab86d7f7c117252d970c | [
"BSD-3-Clause"
] | 7 | 2020-06-29T02:26:05.000Z | 2021-04-25T14:42:33.000Z | """Tests multi-database support"""
import contextlib
import io
import sys
from django.core.management import call_command
import django.test
import pgtrigger
import pgtrigger.tests.models as test_models
@contextlib.contextmanager
def capture_stdout():
old_stdout = sys.stdout
sys.stdout = out = io.StringIO(... | 37.422939 | 79 | 0.514702 | 1,007 | 10,441 | 5.201589 | 0.136048 | 0.058037 | 0.070638 | 0.119702 | 0.805842 | 0.794005 | 0.791142 | 0.791142 | 0.775296 | 0.735013 | 0 | 0.05681 | 0.359353 | 10,441 | 278 | 80 | 37.557554 | 0.726267 | 0.048846 | 0 | 0.792531 | 0 | 0 | 0.421319 | 0.34583 | 0 | 0 | 0 | 0 | 0.029046 | 1 | 0.041494 | false | 0 | 0.029046 | 0 | 0.095436 | 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 |
bbd055bb557e945cf33d02d1ba1783662b82c31f | 63 | py | Python | bot/exchange/__init__.py | colticol/bold-arbitrager | aef6683a3f41d47a51d24367819d183ecacea3a0 | [
"Apache-2.0"
] | null | null | null | bot/exchange/__init__.py | colticol/bold-arbitrager | aef6683a3f41d47a51d24367819d183ecacea3a0 | [
"Apache-2.0"
] | null | null | null | bot/exchange/__init__.py | colticol/bold-arbitrager | aef6683a3f41d47a51d24367819d183ecacea3a0 | [
"Apache-2.0"
] | null | null | null | from . import exchange_controller
from . import exchange_client | 31.5 | 33 | 0.857143 | 8 | 63 | 6.5 | 0.625 | 0.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 63 | 2 | 34 | 31.5 | 0.928571 | 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 |
a5559dfa11b05a0a8b6fa50b10ff68e791bc3b1c | 4,577 | py | Python | mobilenet_v3_configs.py | 1e100/mobilenet_v3 | 4c5058db6960741e849294c7701e7fddfa241a15 | [
"BSD-3-Clause"
] | 8 | 2019-09-25T08:41:27.000Z | 2020-07-26T12:49:41.000Z | mobilenet_v3_configs.py | 1e100/mobilenet_v3 | 4c5058db6960741e849294c7701e7fddfa241a15 | [
"BSD-3-Clause"
] | null | null | null | mobilenet_v3_configs.py | 1e100/mobilenet_v3 | 4c5058db6960741e849294c7701e7fddfa241a15 | [
"BSD-3-Clause"
] | 4 | 2019-10-04T21:32:56.000Z | 2020-08-05T12:36:52.000Z | """ Configurations shared between PyTorch and Keras. """
CONFIG = {
"large": [
# in_ch, exp, out_ch, ks, stride, dilation, se, activation
[16, 16, 16, 3, 1, 1, None, "relu"],
[16, 64, 24, 3, 2, 1, None, "relu"],
[24, 72, 24, 3, 1, 1, None, "relu"],
[24, 72, 40, 5, 2, 1, 0.25... | 44.436893 | 66 | 0.444614 | 768 | 4,577 | 2.628906 | 0.070313 | 0.07578 | 0.089153 | 0.212481 | 0.963843 | 0.963843 | 0.960872 | 0.955919 | 0.955919 | 0.955919 | 0 | 0.299167 | 0.317894 | 4,577 | 102 | 67 | 44.872549 | 0.347534 | 0.102687 | 0 | 0.858696 | 0 | 0 | 0.157097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 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 | 10 |
a58be826db80a8cc6c893e8f64d3265192b6d0a2 | 27,777 | py | Python | tests/test_utils.py | grantsrb/langpractice | 59cf8f53b85fa8b4d639ffc6e175ec22c0d2362c | [
"MIT"
] | null | null | null | tests/test_utils.py | grantsrb/langpractice | 59cf8f53b85fa8b4d639ffc6e175ec22c0d2362c | [
"MIT"
] | null | null | null | tests/test_utils.py | grantsrb/langpractice | 59cf8f53b85fa8b4d639ffc6e175ec22c0d2362c | [
"MIT"
] | null | null | null | from langpractice.utils.utils import *
import unittest
import torch.nn.functional as F
class TestUtils(unittest.TestCase):
def test_zipfian1(self):
n_loops = 5000
low = 1
high = 10
order = 1
counts = {i:0 for i in range(low, high+1)}
tot = 0
for i in range(n_... | 31.89093 | 86 | 0.464161 | 3,275 | 27,777 | 3.757557 | 0.045802 | 0.07411 | 0.069722 | 0.013652 | 0.922477 | 0.913863 | 0.907362 | 0.888591 | 0.87372 | 0.848692 | 0 | 0.059794 | 0.393095 | 27,777 | 870 | 87 | 31.927586 | 0.670186 | 0.00918 | 0 | 0.820732 | 0 | 0 | 0.019784 | 0 | 0 | 0 | 0 | 0 | 0.078049 | 1 | 0.020732 | false | 0 | 0.003659 | 0 | 0.02561 | 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 |
a5a5088a8ab15596ca84187c9c0e0627828850f9 | 683 | py | Python | CondTools/L1Trigger/python/L1ConfigTSCKeys_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CondTools/L1Trigger/python/L1ConfigTSCKeys_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CondTools/L1Trigger/python/L1ConfigTSCKeys_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from L1TriggerConfig.CSCTFConfigProducers.CSCTFObjectKeysOnline_cfi import *
from L1TriggerConfig.DTTrackFinder.L1DTTFTSCObjectKeysOnline_cfi import *
from L1TriggerConfig.RPCTriggerConfig.L1RPCObjectKeysOnline_cfi import *
from L1TriggerConfig.GMTConfigProducers.L1MuGMTParametersKeysOnlineProd_cfi import *
from L1Trig... | 68.3 | 84 | 0.90776 | 51 | 683 | 12 | 0.431373 | 0.248366 | 0.127451 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.051245 | 683 | 9 | 85 | 75.888889 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.013177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3c42183d7ca6ff665b6de8859306ffa82f1f09f2 | 1,667 | py | Python | legacy/functional_code/pulson440/__init__.py | jjimmykang/bwsi-backprojection | 440e21f90e2a1d0d1c28bfd9a0faaf97129378a5 | [
"MIT"
] | 1 | 2020-02-09T19:09:27.000Z | 2020-02-09T19:09:27.000Z | legacy/functional_code/pulson440/__init__.py | jjimmykang/bwsi-backprojection | 440e21f90e2a1d0d1c28bfd9a0faaf97129378a5 | [
"MIT"
] | null | null | null | legacy/functional_code/pulson440/__init__.py | jjimmykang/bwsi-backprojection | 440e21f90e2a1d0d1c28bfd9a0faaf97129378a5 | [
"MIT"
] | null | null | null | __pyarmor__(__name__, __file__, b'\xe2\x50\x8c\x64\x26\x42\xd6\x01\x5c\x5c\xf8\xa8\x85\x0c\x21\xe7\x0a\xa2\x45\x58\x6e\xc9\x3c\xd5\x55\x40\x64\x69\x7d\x5f\x63\xcb\x41\xdc\x71\xdf\x4d\x82\x99\xc8\xc1\x98\xfd\x46\x67\x20\x2f\xed\x4b\xf6\xf9\x41\x55\x5c\x47\x3c\x78\x07\x75\x5d\x9b\x88\xa2\x6e\x5e\x78\xf3\x9c\x88\xba\xed\x... | 1,667 | 1,667 | 0.74985 | 412 | 1,667 | 3.004854 | 0.51699 | 0.009693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.301683 | 0.0018 | 1,667 | 1 | 1,667 | 1,667 | 0.442308 | 0 | 0 | 0 | 0 | 1 | 0.976019 | 0.976019 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3c8c318c871167bf3f056e1a05ea008558ab1c56 | 78 | py | Python | tests/test_test.py | Smirenost/volga | 109191ee994e99a831d90f3e8aa1d82fc766ca8b | [
"MIT"
] | 1 | 2020-11-05T23:40:02.000Z | 2020-11-05T23:40:02.000Z | tests/test_test.py | Smirenost/volga | 109191ee994e99a831d90f3e8aa1d82fc766ca8b | [
"MIT"
] | 3 | 2020-11-05T23:46:34.000Z | 2020-11-12T22:42:12.000Z | tests/test_test.py | Smirenost/volga | 109191ee994e99a831d90f3e8aa1d82fc766ca8b | [
"MIT"
] | null | null | null | from volga.json import foo_test
def test_mock():
assert 1 == foo_test()
| 13 | 31 | 0.692308 | 13 | 78 | 3.923077 | 0.769231 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.205128 | 78 | 5 | 32 | 15.6 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b1cf5ce6c13872161132303618fee46973f05973 | 7,588 | py | Python | culpable/fault_projections.py | cossatot/at_fault | 63beba4d616e89ebb4c2eaf48230717a4179d4e2 | [
"MIT"
] | 3 | 2019-12-09T05:25:04.000Z | 2021-04-25T14:55:25.000Z | culpable/fault_projections.py | cossatot/culpable | 63beba4d616e89ebb4c2eaf48230717a4179d4e2 | [
"MIT"
] | 9 | 2016-10-11T16:11:42.000Z | 2017-01-04T21:17:27.000Z | culpable/fault_projections.py | cossatot/culpable | 63beba4d616e89ebb4c2eaf48230717a4179d4e2 | [
"MIT"
] | null | null | null | import numpy as np
from numpy import sin, cos, tan, degrees, radians, arctan, arcsin
# Slip projections
## To/From offset
def offset_from_vert_sep(vert_sep, dip, rake=90.):
dip_slip = dip_slip_from_vert_sep(vert_sep, dip, rake)
return offset_from_dip_slip(dip_slip, dip, rake)
def vert_sep_from_offset(offset,... | 32.289362 | 78 | 0.741566 | 1,240 | 7,588 | 4.135484 | 0.03629 | 0.154251 | 0.085803 | 0.093604 | 0.896646 | 0.88319 | 0.86564 | 0.821568 | 0.728159 | 0.510725 | 0 | 0.00773 | 0.147601 | 7,588 | 234 | 79 | 32.42735 | 0.785096 | 0.019373 | 0 | 0.308824 | 0 | 0 | 0.036418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.279412 | false | 0 | 0.014706 | 0.066176 | 0.573529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
b1de66542e990852570d0825e181d49c32975991 | 48 | py | Python | python/testData/intentions/PyConvertToFStringIntentionTest/percentOperatorWidthAndPrecision_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyConvertToFStringIntentionTest/percentOperatorWidthAndPrecision_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyConvertToFStringIntentionTest/percentOperatorWidthAndPrecision_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | f'{1:.5d} {2:3.5d} {3:3d} {"spam":>20} {4:<#d}'
| 24 | 47 | 0.395833 | 12 | 48 | 1.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0.104167 | 48 | 1 | 48 | 48 | 0.209302 | 0 | 0 | 0 | 0 | 1 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
59253833cbcb18241d731edddc82a7004e814b3e | 3,163 | py | Python | catkin_ws/build/baxter_core_msgs/cmake/baxter_core_msgs-genmsg-context.py | roop-pal/robotic-folding | a0e062ac6d23cd07fe10e3f45abc4ba50e533141 | [
"RSA-MD"
] | null | null | null | catkin_ws/build/baxter_core_msgs/cmake/baxter_core_msgs-genmsg-context.py | roop-pal/robotic-folding | a0e062ac6d23cd07fe10e3f45abc4ba50e533141 | [
"RSA-MD"
] | null | null | null | catkin_ws/build/baxter_core_msgs/cmake/baxter_core_msgs-genmsg-context.py | roop-pal/robotic-folding | a0e062ac6d23cd07fe10e3f45abc4ba50e533141 | [
"RSA-MD"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/parallels/catkin_ws/src/baxter_common/baxter_core_msgs/msg/AnalogIOState.msg;/home/parallels/catkin_ws/src/baxter_common/baxter_core_msgs/msg/AnalogIOStates.msg;/home/parallels/catkin_ws/src/baxter_common/baxter_core_msgs/msg/AnalogOutputCommand... | 263.583333 | 2,159 | 0.863737 | 482 | 3,163 | 5.358921 | 0.170124 | 0.123887 | 0.173442 | 0.243902 | 0.674797 | 0.649245 | 0.649245 | 0.649245 | 0.649245 | 0.649245 | 0 | 0 | 0.010749 | 3,163 | 11 | 2,160 | 287.545455 | 0.825503 | 0.015492 | 0 | 0 | 1 | 0.333333 | 0.934769 | 0.923522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3ca2ace31bf9ede1d629dd5fbae03c55bc75f2bf | 71 | py | Python | labs/py3code.py | turing4ever/illustrated-python-3-course | d1faff57590713fcd1c6a9215529d6f9c629b046 | [
"MIT"
] | 57 | 2018-04-25T21:57:07.000Z | 2021-12-21T19:09:00.000Z | labs/py3code.py | radovankavicky/illustrated-python-3-course | d1faff57590713fcd1c6a9215529d6f9c629b046 | [
"MIT"
] | 4 | 2018-04-30T05:32:46.000Z | 2021-12-06T17:55:36.000Z | labs/py3code.py | radovankavicky/illustrated-python-3-course | d1faff57590713fcd1c6a9215529d6f9c629b046 | [
"MIT"
] | 26 | 2018-04-27T06:11:35.000Z | 2021-04-11T12:07:37.000Z |
# place super_test.py code here
# place keyword_test.py code here
| 8.875 | 33 | 0.732394 | 12 | 71 | 4.166667 | 0.583333 | 0.24 | 0.4 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 71 | 7 | 34 | 10.142857 | 0.892857 | 0.859155 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3cc66fc74313d0ecd7ced030e26d629577fa26a1 | 74 | py | Python | Level1/count_p_and_y.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | Level1/count_p_and_y.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | Level1/count_p_and_y.py | chae-heechan/Programmers_Python_Algorithm_Study | c61af0b1b97d790e2332581eb0b7da42c3e510fa | [
"MIT"
] | null | null | null | def solution(s):
return (s.lower().count('p') == s.lower().count('y')) | 37 | 57 | 0.567568 | 12 | 74 | 3.5 | 0.666667 | 0.285714 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 2 | 57 | 37 | 0.646154 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 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 |
596187b54ca231442ef296c49a1a09d46c903d01 | 2,843 | py | Python | tests/org_group_tests.py | JonLMyers/MetroTransitAPI | d8f467570368cd563d69564b680cfdd47ad6b622 | [
"MIT"
] | null | null | null | tests/org_group_tests.py | JonLMyers/MetroTransitAPI | d8f467570368cd563d69564b680cfdd47ad6b622 | [
"MIT"
] | null | null | null | tests/org_group_tests.py | JonLMyers/MetroTransitAPI | d8f467570368cd563d69564b680cfdd47ad6b622 | [
"MIT"
] | null | null | null | import requests
import json
token = ''
email_token = ''
print("######## Pass ########")
target = 'http://127.0.0.1:5000/login'
headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
data = {'username': 'jon@aaxus.com', 'password': 'password125'}
r = requests.post(target, data=json.dumps(data), headers... | 33.05814 | 106 | 0.638762 | 378 | 2,843 | 4.753968 | 0.15873 | 0.046745 | 0.058431 | 0.074012 | 0.84808 | 0.84808 | 0.84808 | 0.812465 | 0.785754 | 0.785754 | 0 | 0.029107 | 0.117833 | 2,843 | 86 | 107 | 33.05814 | 0.6874 | 0 | 0 | 0.675325 | 0 | 0 | 0.432489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.103896 | 0.025974 | 0 | 0.025974 | 0.285714 | 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 |
5980640bb02c2631ecc30d2c519d9ed76e0a3bab | 2,422 | py | Python | genomics_data_index/test/unit/variant/service/test_SQLQueryInBatcher.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | 12 | 2021-05-03T20:56:05.000Z | 2022-01-04T14:52:19.000Z | genomics_data_index/test/unit/variant/service/test_SQLQueryInBatcher.py | apetkau/thesis-index | 6c96e9ed75d8e661437effe62a939727a0b473fc | [
"Apache-2.0"
] | 30 | 2021-04-26T23:03:40.000Z | 2022-02-25T18:41:14.000Z | genomics_data_index/test/unit/variant/service/test_SQLQueryInBatcher.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | null | null | null | from genomics_data_index.storage.service import SQLQueryInBatcherDict, SQLQueryInBatcherList
def test_sql_query_in_batcher_dict():
in_data = ['A', 'B', 'C', 'D', 'E']
# Test batch size 1
batcher = SQLQueryInBatcherDict(in_data=in_data, batch_size=1)
results = batcher.process(lambda in_batch: {x: True... | 36.69697 | 92 | 0.676301 | 345 | 2,422 | 4.57971 | 0.113043 | 0.083544 | 0.065823 | 0.060759 | 0.942405 | 0.938608 | 0.908228 | 0.908228 | 0.771519 | 0.771519 | 0 | 0.012327 | 0.196119 | 2,422 | 65 | 93 | 37.261538 | 0.799178 | 0.059042 | 0 | 0.733333 | 0 | 0 | 0.013216 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 1 | 0.044444 | false | 0 | 0.022222 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
59c742adf96364dce950bb712608164f85d74648 | 3,548 | py | Python | action_hero/__init__.py | sobolevn/action-hero | 75ff10dc8b01ee8d00367c63e8eccbbee9cc7d42 | [
"MIT"
] | 91 | 2019-09-26T20:55:55.000Z | 2021-10-19T22:27:21.000Z | action_hero/__init__.py | kadimisetty/action-heroes | f203e2e130dce970db803d6447bf7518c5e54285 | [
"MIT"
] | 1 | 2020-02-07T02:51:40.000Z | 2020-02-07T02:51:40.000Z | action_hero/__init__.py | kadimisetty/action-heroes | f203e2e130dce970db803d6447bf7518c5e54285 | [
"MIT"
] | 5 | 2020-02-02T03:40:47.000Z | 2020-11-05T10:53:11.000Z | from action_hero.utils import PipelineAction, DebugAction
from action_hero.net import (
EmailIsValidAction,
IPIsValidIPAddressAction,
IPIsValidIPv4AddressAction,
IPIsValidIPv6AddressAction,
URLIsNotReachableAction,
URLIsReachableAction,
URLWithHTTPResponseStatusCodeAction,
)
from action_hero... | 26.477612 | 57 | 0.748027 | 149 | 3,548 | 17.751678 | 0.469799 | 0.018904 | 0.026465 | 0.071078 | 0.917958 | 0.840832 | 0.840832 | 0.710775 | 0.710775 | 0.710775 | 0 | 0.001375 | 0.17982 | 3,548 | 133 | 58 | 26.676692 | 0.90756 | 0.009301 | 0 | 0 | 0 | 0 | 0.357937 | 0.248219 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039683 | 0 | 0.039683 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
59d7bc70d0cd6ce2ad0e48f732a97f7f77c87753 | 476 | py | Python | mongo_test/utils/dal/__init__.py | Vuong02011996/data_base_test | a57940970ce52a25e10f2262fb94530b1ae2681c | [
"MIT"
] | null | null | null | mongo_test/utils/dal/__init__.py | Vuong02011996/data_base_test | a57940970ce52a25e10f2262fb94530b1ae2681c | [
"MIT"
] | null | null | null | mongo_test/utils/dal/__init__.py | Vuong02011996/data_base_test | a57940970ce52a25e10f2262fb94530b1ae2681c | [
"MIT"
] | null | null | null | from mongo_test.utils.dal.identity_dal import *
from mongo_test.utils.dal.object_dal import *
from mongo_test.utils.dal.detection_dal import *
from mongo_test.utils.dal.user_dal import *
from mongo_test.utils.dal.process_dal import *
from mongo_test.utils.dal.camera_dal import *
from mongo_test.utils.dal.logger_dal imp... | 47.6 | 54 | 0.834034 | 81 | 476 | 4.641975 | 0.197531 | 0.239362 | 0.345745 | 0.478723 | 0.81117 | 0.755319 | 0.755319 | 0.196809 | 0 | 0 | 0 | 0 | 0.081933 | 476 | 10 | 55 | 47.6 | 0.860412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
ab8027d182e0e15b016e3b8845f76c6510fbe065 | 296,545 | bzl | Python | obj/.cache/build/azfkn5bh.4tg/cuwh0ddu.bzl | Kvble/sorting-visualizer | e5c3fc04c4fc342d673140817713540909fd7e7a | [
"MIT"
] | 2 | 2021-12-03T21:43:39.000Z | 2021-12-24T13:29:11.000Z | obj/.cache/build/azfkn5bh.4tg/cuwh0ddu.bzl | Kvble/sorting-visualizer | e5c3fc04c4fc342d673140817713540909fd7e7a | [
"MIT"
] | null | null | null | obj/.cache/build/azfkn5bh.4tg/cuwh0ddu.bzl | Kvble/sorting-visualizer | e5c3fc04c4fc342d673140817713540909fd7e7a | [
"MIT"
] | null | null | null | {"Item1":[{"from":{"sourceType":"file","value":"~/obj/api/SortingVisualizer.yml"},"to":{"sourceType":"file","value":"~/obj/api/SortingVisualizer.FrmMain.yml"},"reportedBy":{"sourceType":"file","value":"~/obj/api/SortingVisualizer.yml"},"type":"children"},{"from":{"sourceType":"file","value":"~/obj/api/SortingVisualizer... | 296,545 | 296,545 | 0.718259 | 33,017 | 296,545 | 6.450677 | 0.018203 | 0.24757 | 0.234879 | 0.305096 | 0.997338 | 0.996854 | 0.996399 | 0.996023 | 0.996023 | 0.995718 | 0 | 0.000658 | 0 | 296,545 | 1 | 296,545 | 296,545 | 0.717554 | 0 | 0 | 0 | 0 | 68 | 0.783811 | 0.482957 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 17 |
aba3ca3cb2abe792a4ee6dcd8344c35aa3650122 | 430 | py | Python | donkeycar/parts/model_wrappers/__init__.py | augustin-barillec/tortue-rapide | 92dbde0a98bfabbedf3bc3502fc648d254ac330a | [
"MIT"
] | 12 | 2019-05-28T17:57:57.000Z | 2022-01-14T14:46:30.000Z | donkeycar/parts/model_wrappers/__init__.py | augustin-barillec/tortue-rapide | 92dbde0a98bfabbedf3bc3502fc648d254ac330a | [
"MIT"
] | 7 | 2019-12-16T22:09:49.000Z | 2021-09-12T15:35:41.000Z | donkeycar/parts/model_wrappers/__init__.py | augustin-barillec/tortue-rapide | 92dbde0a98bfabbedf3bc3502fc648d254ac330a | [
"MIT"
] | 2 | 2021-01-24T15:31:57.000Z | 2021-07-28T17:23:29.000Z | from donkeycar.parts.model_wrappers.Angle5FlipSharpThrottleOn import Angle5FlipSharpThrottleOn
from donkeycar.parts.model_wrappers.Angle5ifelse import Angle5ifelse
from donkeycar.parts.model_wrappers.Angle3ifelse import Angle3ifelse
from donkeycar.parts.model_wrappers.Angle3speedy import SpeedyFranklin3choices
from don... | 61.428571 | 94 | 0.902326 | 48 | 430 | 7.958333 | 0.270833 | 0.204188 | 0.282723 | 0.361257 | 0.486911 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039409 | 0.055814 | 430 | 6 | 95 | 71.666667 | 0.901478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
abca83db476237da93239ae54ed493e9e869002d | 48 | py | Python | randomForestRules/__init__.py | lukassykora/randomForestRules | 9da3b510a488a2453f48c220bbc289854917a86a | [
"MIT"
] | 3 | 2020-01-08T14:49:47.000Z | 2021-07-24T17:53:32.000Z | randomForestRules/__init__.py | lukassykora/randomForestRules | 9da3b510a488a2453f48c220bbc289854917a86a | [
"MIT"
] | 2 | 2020-11-01T17:00:22.000Z | 2021-08-22T17:13:06.000Z | randomForestRules/__init__.py | lukassykora/randomForestRules | 9da3b510a488a2453f48c220bbc289854917a86a | [
"MIT"
] | 4 | 2020-01-08T14:49:49.000Z | 2021-07-24T17:53:38.000Z | from .randomForestRules import RandomForestRules | 48 | 48 | 0.916667 | 4 | 48 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
055b1e351a5242b821e047dfcb5c1f7591a3c693 | 509 | py | Python | id.py | txkodo/pyDatapack | f647e0043d09e3d456a8019fb00cb945c0d6b6a7 | [
"MIT"
] | null | null | null | id.py | txkodo/pyDatapack | f647e0043d09e3d456a8019fb00cb945c0d6b6a7 | [
"MIT"
] | null | null | null | id.py | txkodo/pyDatapack | f647e0043d09e3d456a8019fb00cb945c0d6b6a7 | [
"MIT"
] | null | null | null | import string
import secrets
def gen_objective_id():
return ''.join(secrets.choice(string.ascii_lowercase + string.digits) for _ in range(16))
def gen_scoreholder_id():
return ''.join(secrets.choice(string.ascii_lowercase + string.digits) for _ in range(16))
def gen_function_id():
return ''.join(secr... | 36.357143 | 92 | 0.740668 | 72 | 509 | 5.013889 | 0.277778 | 0.066482 | 0.132964 | 0.210526 | 0.814404 | 0.814404 | 0.814404 | 0.814404 | 0.814404 | 0.814404 | 0 | 0.018141 | 0.133595 | 509 | 14 | 93 | 36.357143 | 0.800454 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
057c9190ccad439b376e3bce3f11d837eb5a4576 | 42 | py | Python | tests/test_modules/simple_test_package/aa.py | ajylee/call_map | 21e7684b0814eae6f16cd4bc75597dc4e9239ec0 | [
"BSD-2-Clause"
] | 20 | 2017-12-24T00:19:15.000Z | 2021-11-15T07:42:25.000Z | tests/test_modules/simple_test_package/aa.py | ajylee/call_map | 21e7684b0814eae6f16cd4bc75597dc4e9239ec0 | [
"BSD-2-Clause"
] | 1 | 2017-10-22T21:03:41.000Z | 2017-12-24T04:26:22.000Z | tests/test_modules/simple_test_package/aa.py | ajylee/call_map | 21e7684b0814eae6f16cd4bc75597dc4e9239ec0 | [
"BSD-2-Clause"
] | 2 | 2017-11-04T10:06:59.000Z | 2019-08-01T22:24:49.000Z | from . import bb
def foo():
bb.bar()
| 8.4 | 16 | 0.547619 | 7 | 42 | 3.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 42 | 4 | 17 | 10.5 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
5529bf458e89cd64db669da48d12a440dd5e7310 | 14,095 | py | Python | tests/grammar/test_data_type.py | Daniihh/sqlpyparser | aad1d613c02d4f8fa6b833c060a683cf7e194b1c | [
"MIT"
] | 28 | 2016-02-13T10:20:21.000Z | 2022-03-10T02:41:58.000Z | tests/grammar/test_data_type.py | Daniihh/sqlpyparser | aad1d613c02d4f8fa6b833c060a683cf7e194b1c | [
"MIT"
] | 22 | 2016-02-15T15:55:09.000Z | 2017-09-12T13:49:17.000Z | tests/grammar/test_data_type.py | Daniihh/sqlpyparser | aad1d613c02d4f8fa6b833c060a683cf7e194b1c | [
"MIT"
] | 16 | 2016-02-15T16:41:23.000Z | 2021-05-18T04:51:52.000Z | # -*- encoding:utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
import unittest
import pyparsing
from mysqlparse.grammar.data_type import data_type_syntax
class DataTypeSyntaxTest(unittest.TestCase):
def test_bit(self):
self.assertEquals(data_type_syntax.par... | 40.386819 | 122 | 0.57602 | 1,430 | 14,095 | 5.353147 | 0.068531 | 0.157805 | 0.140823 | 0.248204 | 0.915741 | 0.901372 | 0.885304 | 0.847028 | 0.823514 | 0.818811 | 0 | 0.016511 | 0.316779 | 14,095 | 348 | 123 | 40.502874 | 0.778401 | 0.001561 | 0 | 0.557377 | 0 | 0 | 0.162462 | 0.010945 | 0 | 0 | 0 | 0 | 0.24918 | 1 | 0.036066 | false | 0 | 0.013115 | 0 | 0.052459 | 0.003279 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
559bff5f8a9189b7032f820f194b11e430ff84ea | 24,336 | py | Python | sdk/python/pulumi_digitalocean/database_connection_pool.py | mikealgj/pulumi-digitalocean | 77c109ab364eb69b7668b007c29413f5d2c95209 | [
"ECL-2.0",
"Apache-2.0"
] | 53 | 2019-04-25T14:43:12.000Z | 2022-03-14T15:51:44.000Z | sdk/python/pulumi_digitalocean/database_connection_pool.py | mikealgj/pulumi-digitalocean | 77c109ab364eb69b7668b007c29413f5d2c95209 | [
"ECL-2.0",
"Apache-2.0"
] | 158 | 2019-04-15T21:47:18.000Z | 2022-03-29T21:21:57.000Z | sdk/python/pulumi_digitalocean/database_connection_pool.py | mikealgj/pulumi-digitalocean | 77c109ab364eb69b7668b007c29413f5d2c95209 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-04-15T20:16:11.000Z | 2021-05-28T19:08:32.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 ... | 39.764706 | 166 | 0.623973 | 2,900 | 24,336 | 5.056552 | 0.068966 | 0.088516 | 0.092608 | 0.079514 | 0.832856 | 0.803191 | 0.764048 | 0.723609 | 0.709083 | 0.681533 | 0 | 0.003896 | 0.27223 | 24,336 | 611 | 167 | 39.829787 | 0.824064 | 0.344921 | 0 | 0.579882 | 1 | 0 | 0.076085 | 0.009302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162722 | false | 0.04142 | 0.014793 | 0 | 0.278107 | 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 |
e965d671abefc6771ef8f31d4904d2ca170eeb5c | 84 | py | Python | EKF/swig/python/test.py | fx815/EKF | ac33a6500d6cedd441758cae2f9aa7192f0f2a87 | [
"BSD-3-Clause"
] | 38 | 2017-09-03T18:27:48.000Z | 2022-01-25T04:56:57.000Z | EKF/swig/python/test.py | fx815/EKF | ac33a6500d6cedd441758cae2f9aa7192f0f2a87 | [
"BSD-3-Clause"
] | 1 | 2020-08-24T03:28:49.000Z | 2020-08-24T03:28:49.000Z | EKF/swig/python/test.py | fx815/EKF | ac33a6500d6cedd441758cae2f9aa7192f0f2a87 | [
"BSD-3-Clause"
] | 10 | 2018-05-11T18:57:27.000Z | 2022-03-10T02:53:54.000Z | import swig_example
swig_example.swig_example_hello()
swig_example.link_liba_hello() | 28 | 33 | 0.892857 | 13 | 84 | 5.230769 | 0.461538 | 0.647059 | 0.441176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 84 | 3 | 34 | 28 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e971243f262537809157c1b4baa49f7bcb8914f9 | 88 | py | Python | xallennlp/training/__init__.py | himkt/xallennlp | 073a1475398e59c70230623016f4036432b9c186 | [
"MIT"
] | null | null | null | xallennlp/training/__init__.py | himkt/xallennlp | 073a1475398e59c70230623016f4036432b9c186 | [
"MIT"
] | null | null | null | xallennlp/training/__init__.py | himkt/xallennlp | 073a1475398e59c70230623016f4036432b9c186 | [
"MIT"
] | null | null | null | import xallennlp.training.mlflow_callback
import xallennlp.training.mlflow_checkpointer
| 29.333333 | 45 | 0.909091 | 10 | 88 | 7.8 | 0.6 | 0.384615 | 0.589744 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 88 | 2 | 46 | 44 | 0.928571 | 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 |
e98ead08452c6bd2e01e97b70008a25d1afdf8fe | 4,494 | py | Python | examples/FasterRCNN/dataset/data_configs_dict.py | ruodingt/tensorpack | 026006457f3ecdedf23d1bb57c8610591d936b3e | [
"Apache-2.0"
] | null | null | null | examples/FasterRCNN/dataset/data_configs_dict.py | ruodingt/tensorpack | 026006457f3ecdedf23d1bb57c8610591d936b3e | [
"Apache-2.0"
] | null | null | null | examples/FasterRCNN/dataset/data_configs_dict.py | ruodingt/tensorpack | 026006457f3ecdedf23d1bb57c8610591d936b3e | [
"Apache-2.0"
] | null | null | null | import os
from dataset.data_config import DataConfig
images_data_base_dir = os.path.abspath('../../../data/datasets_coco/')
data_conf = {
DataConfig.IMAGE_BASEDIR: images_data_base_dir,
DataConfig.TRAIN: [
{
DataConfig.NICKNAME: 'decay_train',
DataConfig.AN... | 36.536585 | 99 | 0.459947 | 396 | 4,494 | 4.949495 | 0.111111 | 0.094898 | 0.12602 | 0.164796 | 0.905102 | 0.905102 | 0.905102 | 0.905102 | 0.905102 | 0.905102 | 0 | 0.011786 | 0.395861 | 4,494 | 122 | 100 | 36.836066 | 0.710129 | 0.015576 | 0 | 0.423423 | 0 | 0 | 0.213493 | 0.146932 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018018 | 0 | 0.018018 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
758282c4a758ece35ff671a6c5cb62d706708b74 | 2,903 | py | Python | game/tests/node_test.py | madvid/42_Gomoku | e57ac625d977d874dc5791e5455d7c145669c6d8 | [
"MIT"
] | null | null | null | game/tests/node_test.py | madvid/42_Gomoku | e57ac625d977d874dc5791e5455d7c145669c6d8 | [
"MIT"
] | null | null | null | game/tests/node_test.py | madvid/42_Gomoku | e57ac625d977d874dc5791e5455d7c145669c6d8 | [
"MIT"
] | null | null | null | from board import Node
from metrics import *
parent = Node(None, np.zeros((5,5)), 1)
parent.nb_free_three = 0
def test_node1():
g = np.array([
[1, -1, -1],
[1, -1, -1],
[1, 1, 0]
])
n = Node(parent, g, BLACK)
next_mv = n.generate_next_moves()
assert (next_mv[0].grid ... | 23.224 | 41 | 0.349983 | 445 | 2,903 | 2.195506 | 0.083146 | 0.397134 | 0.515865 | 0.581372 | 0.87001 | 0.87001 | 0.87001 | 0.87001 | 0.859775 | 0.856704 | 0 | 0.15703 | 0.434034 | 2,903 | 124 | 42 | 23.41129 | 0.437614 | 0 | 0 | 0.791304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 1 | 0.06087 | false | 0 | 0.017391 | 0 | 0.078261 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 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 | 11 |
75a788822e459f07f9a702bbea56e3b4f3a259e6 | 16,405 | py | Python | select-utxos.py | The-New-Fork/python-blocknotify | 56733218c0231044e859a967f767a6674b4ac85e | [
"Apache-2.0"
] | 1 | 2021-10-01T15:54:51.000Z | 2021-10-01T15:54:51.000Z | select-utxos.py | The-New-Fork/python-blocknotify | 56733218c0231044e859a967f767a6674b4ac85e | [
"Apache-2.0"
] | null | null | null | select-utxos.py | The-New-Fork/python-blocknotify | 56733218c0231044e859a967f767a6674b4ac85e | [
"Apache-2.0"
] | 1 | 2021-07-22T08:11:50.000Z | 2021-07-22T08:11:50.000Z | from lib import rpclib
from slickrpc import Proxy
from lib import transaction, bitcoin, util
from lib.util import bfh, bh2u
from lib.transaction import Transaction
import requests
import pytest
import subprocess
import json
import sys
import os
from dotenv import load_dotenv
load_dotenv(verbose=True)
IMPORT_API_HOST... | 132.298387 | 13,219 | 0.820055 | 1,244 | 16,405 | 10.721865 | 0.209807 | 0.150622 | 0.165317 | 0.17079 | 0.47166 | 0.44377 | 0.380192 | 0.358 | 0.358 | 0.358 | 0 | 0.327852 | 0.039866 | 16,405 | 123 | 13,220 | 133.373984 | 0.518951 | 0.005913 | 0 | 0.170455 | 0 | 0.011364 | 0.65532 | 0.465808 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.056818 | false | 0.022727 | 0.170455 | 0 | 0.306818 | 0.034091 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 7 |
75de5bb6fec2ff1e86bf17bc2c0b9b36441cdf30 | 211 | py | Python | reverse_geocode_test.py | falcaopetri/trajectory-data | 7f81343086ccd00d3d9f52899a7032d987fc0a66 | [
"MIT"
] | 1 | 2019-05-21T15:52:28.000Z | 2019-05-21T15:52:28.000Z | reverse_geocode_test.py | falcaopetri/trajectory-data | 7f81343086ccd00d3d9f52899a7032d987fc0a66 | [
"MIT"
] | null | null | null | reverse_geocode_test.py | falcaopetri/trajectory-data | 7f81343086ccd00d3d9f52899a7032d987fc0a66 | [
"MIT"
] | 1 | 2020-08-18T14:38:52.000Z | 2020-08-18T14:38:52.000Z | import reverse_geocode
reverse_geocode.search([(35.6963860567411,139.686436661882)])
reverse_geocode.search([(-33.8236171057086,151.021885871887)])
reverse_geocode.search([(47.3111740195794,8.52681624913163)])
| 35.166667 | 62 | 0.824645 | 24 | 211 | 7.083333 | 0.666667 | 0.329412 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.439024 | 0.028436 | 211 | 5 | 63 | 42.2 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2f028c07302e47df287d4dc5d37f771ec2181806 | 30,394 | py | Python | tb_api_client/swagger_client/apis/user_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | 5 | 2017-11-27T15:48:16.000Z | 2020-09-21T04:18:47.000Z | tb_api_client/swagger_client/apis/user_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | null | null | null | tb_api_client/swagger_client/apis/user_controller_api.py | MOSAIC-LoPoW/oss7-thingsboard-backend-example | 9b289dd7fdbb6e932ca338ad497a7bb1fc84d010 | [
"Apache-2.0"
] | 6 | 2018-01-14T17:23:46.000Z | 2019-06-24T13:38:54.000Z | # coding: utf-8
"""
Thingsboard REST API
For instructions how to authorize requests please visit <a href='http://thingsboard.io/docs/reference/rest-api/'>REST API documentation page</a>.
OpenAPI spec version: 2.0
Contact: info@thingsboard.io
Generated by: https://github.com/swagger-api/swagger-co... | 40.471372 | 149 | 0.560012 | 3,170 | 30,394 | 5.078233 | 0.058675 | 0.016772 | 0.024351 | 0.031308 | 0.936141 | 0.918748 | 0.907877 | 0.886259 | 0.874767 | 0.854205 | 0 | 0.000255 | 0.354741 | 30,394 | 750 | 150 | 40.525333 | 0.820569 | 0.032046 | 0 | 0.775819 | 0 | 0 | 0.171837 | 0.047267 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015113 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f933130df8fe669a9af1c9efd51088775e210fbc | 99 | py | Python | stable_baselines3/bear/__init__.py | mjyoo2/stable-baselines3 | ef7a580219df6d977b56fb99e503890bd5211195 | [
"MIT"
] | null | null | null | stable_baselines3/bear/__init__.py | mjyoo2/stable-baselines3 | ef7a580219df6d977b56fb99e503890bd5211195 | [
"MIT"
] | null | null | null | stable_baselines3/bear/__init__.py | mjyoo2/stable-baselines3 | ef7a580219df6d977b56fb99e503890bd5211195 | [
"MIT"
] | null | null | null | from stable_baselines3.bear.policies import BearPolicy
from stable_baselines3.bear.bear import BEAR | 49.5 | 54 | 0.888889 | 14 | 99 | 6.142857 | 0.5 | 0.232558 | 0.465116 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.070707 | 99 | 2 | 55 | 49.5 | 0.913043 | 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 |
f96ca18e0cac4358cc1ae51e86890db7bc505477 | 1,550 | py | Python | src/pySUMOQt/Designer/css_rc.py | pySUMO/pysumo | 889969f94bd45e2b67e25ff46452378351ca5186 | [
"BSD-2-Clause"
] | 7 | 2015-08-21T17:17:35.000Z | 2021-03-02T21:40:00.000Z | src/pySUMOQt/Designer/css_rc.py | pySUMO/pysumo | 889969f94bd45e2b67e25ff46452378351ca5186 | [
"BSD-2-Clause"
] | 2 | 2015-04-14T12:40:37.000Z | 2015-04-14T12:44:03.000Z | src/pySUMOQt/Designer/css_rc.py | pySUMO/pysumo | 889969f94bd45e2b67e25ff46452378351ca5186 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created: Di. Feb 3 12:11:53 2015
# by: The Resource Compiler for PySide (Qt v4.8.4)
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore
qt_resource_data = b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x009QStatusBar::... | 70.454545 | 488 | 0.75871 | 300 | 1,550 | 3.86 | 0.32 | 0.373057 | 0.396373 | 0.331606 | 0.43696 | 0.421416 | 0.380829 | 0.354922 | 0.274611 | 0.119171 | 0 | 0.298222 | 0.056774 | 1,550 | 21 | 489 | 73.809524 | 0.493844 | 0.117419 | 0 | 0 | 0 | 0.333333 | 0.731618 | 0.678676 | 0 | 0 | 0.005882 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f9e2a6cf566ceeaab2c7f9874c63accbd13dbe53 | 88 | py | Python | project/server/main/__init__.py | ardikabs/dnsmanager | 4d2f302ea9f54fd4d5416328dc46a1c47b573e5b | [
"MIT"
] | 1 | 2019-01-15T10:33:04.000Z | 2019-01-15T10:33:04.000Z | project/server/main/__init__.py | ardikabs/dnsmanager | 4d2f302ea9f54fd4d5416328dc46a1c47b573e5b | [
"MIT"
] | null | null | null | project/server/main/__init__.py | ardikabs/dnsmanager | 4d2f302ea9f54fd4d5416328dc46a1c47b573e5b | [
"MIT"
] | null | null | null |
from . import modules
def init_app(app, **kwargs):
modules.init_app(app, **kwargs) | 17.6 | 35 | 0.693182 | 13 | 88 | 4.538462 | 0.538462 | 0.237288 | 0.338983 | 0.542373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 5 | 35 | 17.6 | 0.797297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
dda43962342edb0739a7efdbd01b8d80c87c5e19 | 26,474 | py | Python | libica/openapi/libgds/api/volumes_api.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | null | null | null | libica/openapi/libgds/api/volumes_api.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | 4 | 2021-11-15T10:47:51.000Z | 2022-02-22T04:43:20.000Z | libica/openapi/libgds/api/volumes_api.py | umccr-illumina/libica | 916d27eea499f29bee590268b84208effb0cc576 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Genomic Data Store Service
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
im... | 49.116883 | 261 | 0.619136 | 3,087 | 26,474 | 5.082604 | 0.088111 | 0.04385 | 0.069598 | 0.022945 | 0.914532 | 0.899809 | 0.893435 | 0.888273 | 0.875398 | 0.855577 | 0 | 0.014802 | 0.310984 | 26,474 | 538 | 262 | 49.208178 | 0.845348 | 0.480018 | 0 | 0.660232 | 1 | 0.007722 | 0.196854 | 0.042631 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034749 | false | 0 | 0.019305 | 0 | 0.088803 | 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 |
ddf3aa22469fb9543ce65c54187ad310deed6e44 | 67,701 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpBgpDetail/cli/equal/golden_output2_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/iosxe/tests/ShowIpBgpDetail/cli/equal/golden_output2_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/iosxe/tests/ShowIpBgpDetail/cli/equal/golden_output2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"instance": {
"default": {
"vrf": {
"L3VPN-0050": {
"address_family": {
"vpnv4": {
"default_vrf": "L3VPN-0050",
"prefixes": {
"1... | 60.936994 | 86 | 0.203084 | 3,139 | 67,701 | 4.192737 | 0.05575 | 0.053339 | 0.071119 | 0.097789 | 0.926601 | 0.926601 | 0.926601 | 0.926601 | 0.926601 | 0.924246 | 0 | 0.184565 | 0.706208 | 67,701 | 1,110 | 87 | 60.991892 | 0.477124 | 0 | 0 | 0.736937 | 0 | 0 | 0.214487 | 0 | 0 | 0 | 0.001728 | 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 |
fb2b12951a9311d135394c012f89a0e99ed10eee | 13,425 | py | Python | mtp_cashbook/apps/disbursements/tests/test_functional.py | uk-gov-mirror/ministryofjustice.money-to-prisoners-cashbook | d35a621e21631e577faacaeacb5ab9f883c9b4f4 | [
"MIT"
] | 4 | 2016-01-05T12:21:39.000Z | 2016-12-22T15:56:37.000Z | mtp_cashbook/apps/disbursements/tests/test_functional.py | uk-gov-mirror/ministryofjustice.money-to-prisoners-cashbook | d35a621e21631e577faacaeacb5ab9f883c9b4f4 | [
"MIT"
] | 132 | 2015-06-10T09:53:14.000Z | 2022-02-01T17:35:54.000Z | mtp_cashbook/apps/disbursements/tests/test_functional.py | uk-gov-mirror/ministryofjustice.money-to-prisoners-cashbook | d35a621e21631e577faacaeacb5ab9f883c9b4f4 | [
"MIT"
] | 3 | 2015-07-07T14:40:33.000Z | 2021-04-11T06:20:14.000Z | from django.utils.crypto import get_random_string
from cashbook.tests.test_functional import CashbookTestCase
from disbursements.templatetags.disbursements import format_sortcode
class DisbursementTestCase(CashbookTestCase):
def tearDown(self):
self.click_logout()
def click_button(self, text=None):
... | 39.60177 | 104 | 0.659367 | 1,438 | 13,425 | 5.874826 | 0.111961 | 0.067116 | 0.165009 | 0.042614 | 0.901042 | 0.890033 | 0.864702 | 0.85902 | 0.846946 | 0.845881 | 0 | 0.008657 | 0.225624 | 13,425 | 338 | 105 | 39.718935 | 0.803578 | 0.009609 | 0 | 0.805054 | 0 | 0 | 0.263186 | 0.111429 | 0 | 0 | 0 | 0 | 0.397112 | 1 | 0.01444 | false | 0.00722 | 0.01083 | 0 | 0.028881 | 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 |
3491ecdf0d743d67d90929ff69bd755f765fc9ba | 44,309 | py | Python | src/module_factions.py | faycalki/medieval-conquests | 113e13e2b166b79517c14f2c13f7561307a89f75 | [
"MIT"
] | 7 | 2019-08-11T14:20:20.000Z | 2021-11-21T06:48:24.000Z | src/module_factions.py | faycalki/medieval-conquests | 113e13e2b166b79517c14f2c13f7561307a89f75 | [
"MIT"
] | null | null | null | src/module_factions.py | faycalki/medieval-conquests | 113e13e2b166b79517c14f2c13f7561307a89f75 | [
"MIT"
] | null | null | null | # -*- coding: utf8 -*-
from header_factions import *
####################################################################################################################
# Each faction record contains the following fields:
# 1) Faction id: used for referencing factions in other files.
# The prefix fac_ is automa... | 131.091716 | 1,080 | 0.608296 | 6,674 | 44,309 | 3.876236 | 0.080611 | 0.074913 | 0.132199 | 0.106378 | 0.774256 | 0.758678 | 0.746463 | 0.740356 | 0.733939 | 0.732741 | 0 | 0.156141 | 0.075515 | 44,309 | 338 | 1,081 | 131.091716 | 0.475405 | 0.398068 | 0 | 0 | 0 | 0 | 0.474925 | 0.00768 | 0 | 0 | 0.03536 | 0 | 0 | 1 | 0 | false | 0 | 0.007634 | 0 | 0.007634 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3499539f373f9ce023ee2fc68de3748959a132f3 | 5,190 | py | Python | install.py | mrobraven/majestic-pi | 8ebe001a0e2f2eca475c2a390228e7810630f62e | [
"MIT"
] | null | null | null | install.py | mrobraven/majestic-pi | 8ebe001a0e2f2eca475c2a390228e7810630f62e | [
"MIT"
] | null | null | null | install.py | mrobraven/majestic-pi | 8ebe001a0e2f2eca475c2a390228e7810630f62e | [
"MIT"
] | null | null | null | import os
os.mkdir("3D")
os.chdir("3D")
print("Configuring 3D...")
print("Fetching Intro...")
os.system("wget https://raw.githubusercontent.com/mrobraven/majestic-pi/master/majestic-pi/intro.mp4")
print("Fetching 3D Feature...")
os.system("wget https://raw.githubusercontent.com/mrobraven/majestic-pi/master/majestic-pi/... | 55.212766 | 129 | 0.773796 | 782 | 5,190 | 5.081841 | 0.054987 | 0.161047 | 0.096628 | 0.13689 | 0.979366 | 0.977604 | 0.97232 | 0.97232 | 0.97232 | 0.97232 | 0 | 0.015091 | 0.029672 | 5,190 | 93 | 130 | 55.806452 | 0.774027 | 0 | 0 | 0.913978 | 0 | 0.344086 | 0.764355 | 0.047013 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.010753 | 0 | 0.010753 | 0.16129 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
34b7a38557b1f2eeaa8850899a55b7d31360dad9 | 13,534 | py | Python | test/unit_tests/braket/jobs/local/test_local_job_container.py | orclassiq/amazon-braket-sdk-python | 69acaf54237ecbee14b5b5f0549fa28e32eba83b | [
"Apache-2.0"
] | null | null | null | test/unit_tests/braket/jobs/local/test_local_job_container.py | orclassiq/amazon-braket-sdk-python | 69acaf54237ecbee14b5b5f0549fa28e32eba83b | [
"Apache-2.0"
] | null | null | null | test/unit_tests/braket/jobs/local/test_local_job_container.py | orclassiq/amazon-braket-sdk-python | 69acaf54237ecbee14b5b5f0549fa28e32eba83b | [
"Apache-2.0"
] | null | null | null | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompan... | 37.079452 | 98 | 0.69935 | 1,709 | 13,534 | 5.177882 | 0.103569 | 0.083286 | 0.089841 | 0.057973 | 0.869929 | 0.864956 | 0.862922 | 0.858402 | 0.843372 | 0.822805 | 0 | 0.005118 | 0.177036 | 13,534 | 364 | 99 | 37.181319 | 0.78937 | 0.03953 | 0 | 0.720635 | 0 | 0 | 0.166487 | 0.050593 | 0 | 0 | 0 | 0 | 0.136508 | 1 | 0.053968 | false | 0.015873 | 0.019048 | 0.006349 | 0.08254 | 0.003175 | 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 |
34f37aac957cd2dcc7bd8c099147d678a15c4634 | 160 | py | Python | pythran/tests/user_defined_import/simple_case_main.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,647 | 2015-01-13T01:45:38.000Z | 2022-03-28T01:23:41.000Z | pythran/tests/user_defined_import/simple_case_main.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 1,116 | 2015-01-01T09:52:05.000Z | 2022-03-18T21:06:40.000Z | pythran/tests/user_defined_import/simple_case_main.py | davidbrochart/pythran | 24b6c8650fe99791a4091cbdc2c24686e86aa67c | [
"BSD-3-Clause"
] | 180 | 2015-02-12T02:47:28.000Z | 2022-03-14T10:28:18.000Z | #pythran export entry()
#runas entry()
import simple_case_import
def forward(a):
return simple_case_import.imported(a)
def entry():
return forward(1)
| 16 | 41 | 0.7375 | 23 | 160 | 4.956522 | 0.565217 | 0.175439 | 0.280702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.15625 | 160 | 9 | 42 | 17.777778 | 0.837037 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.4 | 0.4 | 1.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
9b3a30a350d4766ec5248befbf7cb18770423342 | 10,867 | py | Python | molsysmt/forms/viewers/api_nglview_NGLWidget.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 3 | 2020-06-02T03:55:52.000Z | 2022-03-21T04:43:52.000Z | molsysmt/forms/viewers/api_nglview_NGLWidget.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 28 | 2020-06-24T00:55:53.000Z | 2021-07-16T22:09:19.000Z | molsysmt/forms/viewers/api_nglview_NGLWidget.py | uibcdf/MolSysMT | 9866a6fb090df9fff36af113a45164da4b674c09 | [
"MIT"
] | 1 | 2021-06-17T18:55:25.000Z | 2021-06-17T18:55:25.000Z | from molsysmt._private_tools.exceptions import *
from molsysmt.forms.common_gets import *
import numpy as np
from nglview import widget as _nglview_widget
import importlib
import sys
from molsysmt.molecular_system import molecular_system_components
form_name='nglview.NGLWidget'
is_form = {
_nglview_widget.NGLWidg... | 33.334356 | 164 | 0.767829 | 1,555 | 10,867 | 5.015434 | 0.082315 | 0.247724 | 0.25093 | 0.157969 | 0.792666 | 0.775612 | 0.763944 | 0.739967 | 0.730735 | 0.718425 | 0 | 0.000421 | 0.125058 | 10,867 | 325 | 165 | 33.436923 | 0.819836 | 0.005705 | 0 | 0.418605 | 0 | 0 | 0.052715 | 0.003805 | 0 | 0 | 0 | 0 | 0 | 1 | 0.331395 | false | 0 | 0.069767 | 0.27907 | 0.709302 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
9b56838a87136d14ec040f4d65ab94a7e2ebd723 | 146,532 | py | Python | V1/R1/N2HF_armors_v1_r1.py | N2HF-OFFICIAL/n2hf | de4a26a3b70082cd2375cc3fe7a5c2fd09cec085 | [
"MIT"
] | null | null | null | V1/R1/N2HF_armors_v1_r1.py | N2HF-OFFICIAL/n2hf | de4a26a3b70082cd2375cc3fe7a5c2fd09cec085 | [
"MIT"
] | null | null | null | V1/R1/N2HF_armors_v1_r1.py | N2HF-OFFICIAL/n2hf | de4a26a3b70082cd2375cc3fe7a5c2fd09cec085 | [
"MIT"
] | null | null | null |
from PIL import Image
import os
import numpy as np
import pandas as pd
from random import seed
from random import randint
dirname = os.path.dirname('')
dimensions = 600, 600
def make_armors(ma, ma2, ma3):
count_doojunggap = 0
count_gyungbyungap = 0
count_chalgap = 0
... | 163.175947 | 364 | 0.591611 | 37,180 | 146,532 | 1.977838 | 0.007477 | 0.188588 | 0.309372 | 0.302219 | 0.959435 | 0.957232 | 0.948637 | 0.946965 | 0.945224 | 0.940002 | 0 | 0.306069 | 0.236481 | 146,532 | 897 | 365 | 163.35786 | 0.351207 | 0.005296 | 0 | 0.220452 | 0 | 0 | 0.001423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001328 | false | 0 | 0.007968 | 0 | 0.009296 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.