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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7bad0e9cdfc1b8328f936a0493828a30860cbe25 | 37 | py | Python | homebrain/agents/loglistener/__init__.py | ErikBjare/Homebrain | 7e4dcc9d0e5f5ef6bde3d2cf31639527166ab124 | [
"MIT"
] | 1 | 2015-12-03T18:42:54.000Z | 2015-12-03T18:42:54.000Z | homebrain/agents/loglistener/__init__.py | ErikBjare/Homebrain | 7e4dcc9d0e5f5ef6bde3d2cf31639527166ab124 | [
"MIT"
] | 14 | 2015-12-02T22:21:12.000Z | 2019-11-06T10:26:08.000Z | homebrain/agents/loglistener/__init__.py | ErikBjare/Homebrain | 7e4dcc9d0e5f5ef6bde3d2cf31639527166ab124 | [
"MIT"
] | null | null | null | from .loglistener import LogListener
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8823c6fb81cda6bf647edd70953b70a508287fd | 2,926 | py | Python | tests/test_extras/test_filters/test_next_version_filter.py | insolite/mergeit | 27ca0eacab9b1d2fe6bafe5a43184a80e6169cb5 | [
"MIT"
] | 2 | 2016-07-04T13:32:30.000Z | 2016-07-16T02:51:54.000Z | tests/test_extras/test_filters/test_next_version_filter.py | insolite/mergeit | 27ca0eacab9b1d2fe6bafe5a43184a80e6169cb5 | [
"MIT"
] | 1 | 2016-08-06T12:47:28.000Z | 2016-08-06T12:47:28.000Z | tests/test_extras/test_filters/test_next_version_filter.py | insolite/mergeit | 27ca0eacab9b1d2fe6bafe5a43184a80e6169cb5 | [
"MIT"
] | null | null | null | import re
from unittest.mock import MagicMock, call
from mergeit.extras.filters import NextVersionFilter
from tests.common import RunnerTest
class NextVersionFilterTest(RunnerTest):
def setUp(self):
super().setUp()
self.next_version_filter = NextVersionFilter(self.push_handler_mock)
def tes... | 43.029412 | 189 | 0.725906 | 393 | 2,926 | 5.040712 | 0.206107 | 0.083291 | 0.075719 | 0.106007 | 0.791519 | 0.756184 | 0.756184 | 0.756184 | 0.721858 | 0.721858 | 0 | 0.011171 | 0.173958 | 2,926 | 67 | 190 | 43.671642 | 0.80844 | 0.076213 | 0 | 0.478261 | 0 | 0 | 0.043736 | 0 | 0 | 0 | 0 | 0.014925 | 0.195652 | 1 | 0.130435 | false | 0 | 0.086957 | 0 | 0.23913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c89c15044d81c28fb39af2dda615760aaec53d1f | 47 | py | Python | SantaEnv/Santa_env/envs/__init__.py | Kl0ven/Santa-2019-Kaggle | 32956801e7b23e035163aaa6eeab6eaaae863bcd | [
"MIT"
] | 1 | 2020-07-31T09:21:58.000Z | 2020-07-31T09:21:58.000Z | SantaEnv/Santa_env/envs/__init__.py | Kl0ven/Santa-2019-Kaggle | 32956801e7b23e035163aaa6eeab6eaaae863bcd | [
"MIT"
] | null | null | null | SantaEnv/Santa_env/envs/__init__.py | Kl0ven/Santa-2019-Kaggle | 32956801e7b23e035163aaa6eeab6eaaae863bcd | [
"MIT"
] | null | null | null | from Santa_env.envs.Santa_env import Santa_env
| 23.5 | 46 | 0.87234 | 9 | 47 | 4.222222 | 0.555556 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.883721 | 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 | 0 | 0 | 0 | 6 |
c8b15abe01ba5a118c8f942e45482ccdd11ab2da | 19 | py | Python | student_database/views/__init__.py | meranamvarun/restapi | 9a849169803c00024eae890bb08d23d0ece6bdb6 | [
"MIT"
] | 1 | 2015-11-09T22:09:43.000Z | 2015-11-09T22:09:43.000Z | halalar/legal/tests/__init__.py | jawaidss/halalar-web | abb5db6fa83aba7b7a280fcff1b880f36c0b4548 | [
"MIT"
] | null | null | null | halalar/legal/tests/__init__.py | jawaidss/halalar-web | abb5db6fa83aba7b7a280fcff1b880f36c0b4548 | [
"MIT"
] | null | null | null | from views import * | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8d1c5525bd0ef64024571cb4e2f7e6bc29ca4cf | 141 | py | Python | clara_bootstrap/utils/GeneralUtils.py | royarzun/clara-bootstrap | 039f619a840a77a350a751a61f72a6c512d2be44 | [
"MIT"
] | null | null | null | clara_bootstrap/utils/GeneralUtils.py | royarzun/clara-bootstrap | 039f619a840a77a350a751a61f72a6c512d2be44 | [
"MIT"
] | 3 | 2016-08-21T04:24:06.000Z | 2016-08-25T13:41:41.000Z | clara_bootstrap/utils/GeneralUtils.py | royarzun/clara-bootstrap | 039f619a840a77a350a751a61f72a6c512d2be44 | [
"MIT"
] | null | null | null | # coding=utf-8
from time import strftime
def create_log_filename(filename):
return filename + "_" + strftime("%Y%m%d%H%M%S") + ".log"
| 17.625 | 61 | 0.666667 | 22 | 141 | 4.136364 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.163121 | 141 | 7 | 62 | 20.142857 | 0.762712 | 0.085106 | 0 | 0 | 0 | 0 | 0.133858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cdc658589d214245bf4ad8cba58826e44e624f80 | 5,104 | py | Python | tests/dynamodb/test_dynamodb_paginators.py | paulhutchings/beartype-boto3-example | d69298d9444d578799e2a17cb63de11474b2278a | [
"MIT"
] | 3 | 2021-11-16T06:21:11.000Z | 2021-11-22T08:59:11.000Z | tests/dynamodb/test_dynamodb_paginators.py | paulhutchings/beartype-boto3-example | d69298d9444d578799e2a17cb63de11474b2278a | [
"MIT"
] | 9 | 2021-11-19T03:29:00.000Z | 2021-12-30T23:54:47.000Z | tests/dynamodb/test_dynamodb_paginators.py | paulhutchings/beartype-boto3-example | d69298d9444d578799e2a17cb63de11474b2278a | [
"MIT"
] | null | null | null | import pytest
from bearboto3.dynamodb import (
ListBackupsPaginator,
ListTablesPaginator,
QueryPaginator,
ScanPaginator,
ListTagsOfResourcePaginator,
)
from beartype import beartype
from beartype.roar import (
BeartypeCallHintPepParamException,
BeartypeCallHintPepReturnException,
Beartyp... | 22.191304 | 81 | 0.683582 | 478 | 5,104 | 6.889121 | 0.073222 | 0.042514 | 0.091102 | 0.065594 | 0.854844 | 0.778014 | 0.719405 | 0.58427 | 0.444579 | 0.223504 | 0 | 0.009107 | 0.203958 | 5,104 | 229 | 82 | 22.28821 | 0.801378 | 0.075823 | 0 | 0.731343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.298507 | false | 0.149254 | 0.029851 | 0.074627 | 0.402985 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cdfa01b85936b460c39fe704eee4d64bf58ce71c | 4,128 | py | Python | open_publishing/object_events.py | open-publishing/open-publishing-api | 0d1646bb2460c6f35cba610a355941d2e07bfefd | [
"BSD-3-Clause"
] | null | null | null | open_publishing/object_events.py | open-publishing/open-publishing-api | 0d1646bb2460c6f35cba610a355941d2e07bfefd | [
"BSD-3-Clause"
] | null | null | null | open_publishing/object_events.py | open-publishing/open-publishing-api | 0d1646bb2460c6f35cba610a355941d2e07bfefd | [
"BSD-3-Clause"
] | null | null | null | from .core.enums import EventTarget, EventAction, EventType, EventResult
class ObjectEvents(object):
def __init__(self,
database_object):
self._database_object = database_object
def last_event(self,
target = None,
action = None,
... | 50.962963 | 103 | 0.42999 | 372 | 4,128 | 4.696237 | 0.153226 | 0.088151 | 0.103034 | 0.06182 | 0.765884 | 0.765884 | 0.754436 | 0.709788 | 0.709788 | 0.660561 | 0 | 0.004407 | 0.505329 | 4,128 | 80 | 104 | 51.6 | 0.851126 | 0 | 0 | 0.56338 | 0 | 0 | 0.108285 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070423 | false | 0 | 0.014085 | 0.028169 | 0.126761 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b527d1f3290678b9178928436bc4e655dda8794e | 21,771 | py | Python | display_functions.py | Filippo95/SensorNetwork | f5129aefd6e12d078627628556ba666eb6aac67e | [
"MIT"
] | 2 | 2021-06-03T17:29:21.000Z | 2021-06-06T22:34:25.000Z | display_functions.py | Filippo95/SensorNetwork | f5129aefd6e12d078627628556ba666eb6aac67e | [
"MIT"
] | null | null | null | display_functions.py | Filippo95/SensorNetwork | f5129aefd6e12d078627628556ba666eb6aac67e | [
"MIT"
] | null | null | null | import branca
import folium
import random as rn
from branca.element import MacroElement, Template
from matplotlib import pyplot as plt
from deprecated import deprecated
from utility_functions import get_verbosity, find_sensor_by_id
# Inutilizzato.
# Metodo creato in origine per plottare il nostro scenario, ora si
# u... | 36.528523 | 144 | 0.536218 | 2,446 | 21,771 | 4.66435 | 0.123876 | 0.016829 | 0.021211 | 0.040494 | 0.783855 | 0.778333 | 0.758699 | 0.753879 | 0.748269 | 0.748269 | 0 | 0.038519 | 0.320288 | 21,771 | 595 | 145 | 36.589916 | 0.732464 | 0.012172 | 0 | 0.752456 | 0 | 0.064833 | 0.502396 | 0.09713 | 0 | 0 | 0 | 0.001681 | 0 | 1 | 0.011788 | false | 0 | 0.013752 | 0 | 0.02554 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b55f8059d5af00de8b219bccacde2e265f68710e | 30 | py | Python | PyML/__init__.py | louisdevie/PyML | 9b1c621116b4f852cd67dc4c4254c114fa17a739 | [
"MIT"
] | null | null | null | PyML/__init__.py | louisdevie/PyML | 9b1c621116b4f852cd67dc4c4254c114fa17a739 | [
"MIT"
] | null | null | null | PyML/__init__.py | louisdevie/PyML | 9b1c621116b4f852cd67dc4c4254c114fa17a739 | [
"MIT"
] | null | null | null | from PyML.main import Document | 30 | 30 | 0.866667 | 5 | 30 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b599e28a8ff9bdcb0eb38f7731088d656d5f0170 | 210 | py | Python | cogkge/data/processor/codexlprocessor.py | jinzhuoran/CogKGE | b0e819a1d34cf61a7d70c33808da3377b73c8fd6 | [
"MIT"
] | 18 | 2022-01-22T09:52:57.000Z | 2022-03-22T15:02:12.000Z | cogkge/data/processor/codexlprocessor.py | CogNLP/CogKGE | 70d851d6489600c1e90eb25b0388a3ceba2f078c | [
"MIT"
] | null | null | null | cogkge/data/processor/codexlprocessor.py | CogNLP/CogKGE | 70d851d6489600c1e90eb25b0388a3ceba2f078c | [
"MIT"
] | null | null | null | from .baseprocessor import BaseProcessor
class CODEXLProcessor(BaseProcessor):
def __init__(self, node_lut, relation_lut, reprocess):
super().__init__("CODEXL", node_lut, relation_lut, reprocess)
| 30 | 69 | 0.766667 | 23 | 210 | 6.478261 | 0.608696 | 0.09396 | 0.201342 | 0.241611 | 0.362416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138095 | 210 | 6 | 70 | 35 | 0.823204 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a922406d13f1fa575171948fcf81dd60245d579b | 2,506 | py | Python | src/genie/libs/parser/iosxe/tests/ShowLispEidTableServiceDatabase/cli/equal/golden_output_2_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowLispEidTableServiceDatabase/cli/equal/golden_output_2_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/iosxe/tests/ShowLispEidTableServiceDatabase/cli/equal/golden_output_2_expected.py | ykoehler/genieparser | b62cf622c3d8eab77c7b69e932c214ed04a2565a | [
"Apache-2.0"
] | null | null | null | expected_output = {
'lisp_id': {
0: {
'instance_id': {
101: {
'eid_table': 'Vlan 101',
'lsb': '0x1',
'entries': {
'total': 2,
'no_route': 0,
'inacti... | 43.964912 | 67 | 0.205906 | 121 | 2,506 | 4.140496 | 0.46281 | 0.047904 | 0.047904 | 0.063872 | 0.706587 | 0.706587 | 0.706587 | 0.706587 | 0.706587 | 0.706587 | 0 | 0.103359 | 0.691141 | 2,506 | 57 | 68 | 43.964912 | 0.543928 | 0 | 0 | 0.491228 | 0 | 0 | 0.206223 | 0 | 0 | 0 | 0.001197 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a92f41990cee194499929ad558e9449a4b7692ab | 49 | py | Python | data/indicator/GN1/__init__.py | simonzabrocki/Anticipe | ad0e0aa39217a7e38ed10e1b3eb5be8e47d0e965 | [
"MIT"
] | null | null | null | data/indicator/GN1/__init__.py | simonzabrocki/Anticipe | ad0e0aa39217a7e38ed10e1b3eb5be8e47d0e965 | [
"MIT"
] | 1 | 2022-01-27T07:44:44.000Z | 2022-01-27T07:44:44.000Z | data/indicator/GN1/__init__.py | simonzabrocki/Anticipe | ad0e0aa39217a7e38ed10e1b3eb5be8e47d0e965 | [
"MIT"
] | null | null | null | from data.indicator.GN1.preprocess import config
| 24.5 | 48 | 0.857143 | 7 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a965b119e713b2a5cd3dc9a6b9822939b53ee4cd | 2,179 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB3_0105_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/tepitopepan/mat/DRB3_0105_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/tepitopepan/mat/DRB3_0105_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB3_0105_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '... | 2,179 | 2,179 | 0.400642 | 525 | 2,179 | 1.659048 | 0.201905 | 0.112514 | 0.027555 | 0.036739 | 0.220436 | 0.140069 | 0.140069 | 0.140069 | 0.130884 | 0.130884 | 0 | 0.3815 | 0.161542 | 2,179 | 1 | 2,179 | 2,179 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0.07844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8d9ab5d168b52843659e3d1cce1668fe55d48dea | 60 | py | Python | utils/maths.py | amine-mrhari/ml4mgl | 780f763dccd3bb8daebdf7eb8dfa6e48c211cbfb | [
"MIT"
] | null | null | null | utils/maths.py | amine-mrhari/ml4mgl | 780f763dccd3bb8daebdf7eb8dfa6e48c211cbfb | [
"MIT"
] | null | null | null | utils/maths.py | amine-mrhari/ml4mgl | 780f763dccd3bb8daebdf7eb8dfa6e48c211cbfb | [
"MIT"
] | null | null | null | def numerical_lim(f, x, h):
return (f(x + h) - f(x)) / h | 30 | 32 | 0.516667 | 13 | 60 | 2.307692 | 0.538462 | 0.2 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 60 | 2 | 32 | 30 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a5f6db5a82091c1e802841298f4c0d882992992a | 57 | py | Python | tests/test_kerberos.py | slaclab/krtc | c5624a0e68e312df8ffe1b9eb0a37112f4ce503c | [
"MIT"
] | null | null | null | tests/test_kerberos.py | slaclab/krtc | c5624a0e68e312df8ffe1b9eb0a37112f4ce503c | [
"MIT"
] | 1 | 2019-12-11T23:20:54.000Z | 2020-03-17T17:49:12.000Z | tests/test_kerberos.py | slaclab/krtc | c5624a0e68e312df8ffe1b9eb0a37112f4ce503c | [
"MIT"
] | 6 | 2018-01-17T22:44:19.000Z | 2022-02-11T19:15:00.000Z |
def test_dependencies():
import krtc # noqa: F401
| 11.4 | 29 | 0.666667 | 7 | 57 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.245614 | 57 | 4 | 30 | 14.25 | 0.790698 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
572314d839872d8585fab32c7e63381c3d765a72 | 9,596 | py | Python | tests/dataset/crossvalidation_test.py | vishalbelsare/PyBNesian | 0190cd4cf6d133746741e2750004ccf0a9061fbd | [
"MIT"
] | 8 | 2021-06-22T19:21:12.000Z | 2022-03-26T13:08:05.000Z | tests/dataset/crossvalidation_test.py | vishalbelsare/PyBNesian | 0190cd4cf6d133746741e2750004ccf0a9061fbd | [
"MIT"
] | null | null | null | tests/dataset/crossvalidation_test.py | vishalbelsare/PyBNesian | 0190cd4cf6d133746741e2750004ccf0a9061fbd | [
"MIT"
] | 3 | 2021-08-20T13:44:46.000Z | 2022-03-27T02:57:02.000Z | import numpy as np
import pybnesian as pbn
import util_test
SIZE = 10000
df = util_test.generate_normal_data(SIZE)
def test_cv_disjoint_indices():
cv = pbn.CrossValidation(df)
for (train_df, test_df), (train_indices, test_indices) in zip(cv, cv.indices()):
nptrain = np.asarray(train_indices)
... | 55.468208 | 149 | 0.660067 | 1,404 | 9,596 | 4.341168 | 0.083333 | 0.064971 | 0.030681 | 0.039377 | 0.807383 | 0.777194 | 0.734044 | 0.723872 | 0.656276 | 0.616243 | 0 | 0.010777 | 0.216757 | 9,596 | 173 | 150 | 55.468208 | 0.80016 | 0 | 0 | 0.379845 | 1 | 0 | 0.279254 | 0 | 0 | 0 | 0 | 0 | 0.395349 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.069767 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
57422a62728ca7525c623037130cd6d409b00750 | 195 | py | Python | instagram/admin.py | Nancy-Muthinzi/ip2-instagram | cdfeb72b02dae35d5b6089386b5e61402a4b288b | [
"MIT"
] | null | null | null | instagram/admin.py | Nancy-Muthinzi/ip2-instagram | cdfeb72b02dae35d5b6089386b5e61402a4b288b | [
"MIT"
] | null | null | null | instagram/admin.py | Nancy-Muthinzi/ip2-instagram | cdfeb72b02dae35d5b6089386b5e61402a4b288b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Profile, Image, Comment, User
admin.site.register(Profile)
admin.site.register(Image)
admin.site.register(Comment)
admin.site.register(User)
| 24.375 | 49 | 0.810256 | 28 | 195 | 5.642857 | 0.428571 | 0.227848 | 0.43038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082051 | 195 | 7 | 50 | 27.857143 | 0.882682 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
575351f93338d15c00548dec006527a13237193b | 404 | py | Python | omoide/storage/repositories/__init__.py | IgorZyktin/omoide | 4dc92fc52e56963993dc6aa7abef85cea9b164ef | [
"MIT"
] | null | null | null | omoide/storage/repositories/__init__.py | IgorZyktin/omoide | 4dc92fc52e56963993dc6aa7abef85cea9b164ef | [
"MIT"
] | 1 | 2022-01-31T18:29:15.000Z | 2022-01-31T18:29:15.000Z | omoide/storage/repositories/__init__.py | IgorZyktin/omoide | 4dc92fc52e56963993dc6aa7abef85cea9b164ef | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from omoide.storage.repositories.base import BaseRepository
from omoide.storage.repositories.browse import BrowseRepository
from omoide.storage.repositories.upload import UploadRepository
from omoide.storage.repositories.items import ItemsRepository
from omoide.storage.repositories.preview impor... | 50.5 | 65 | 0.861386 | 45 | 404 | 7.733333 | 0.444444 | 0.172414 | 0.293103 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002667 | 0.071782 | 404 | 7 | 66 | 57.714286 | 0.925333 | 0.05198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
938db02cb1d15391e555446b3759bd29015da3bd | 2,281 | py | Python | tests/test_centos8_default/verify.d/test_mysql.py | exphost/exphost.mysql | f0cc6b97efc01af356684cbc76808e091a06a89d | [
"MIT"
] | null | null | null | tests/test_centos8_default/verify.d/test_mysql.py | exphost/exphost.mysql | f0cc6b97efc01af356684cbc76808e091a06a89d | [
"MIT"
] | 1 | 2021-09-23T23:33:57.000Z | 2021-09-23T23:33:57.000Z | tests/test_centos8_default/verify.d/test_mysql.py | exphost/exphost.mysql | f0cc6b97efc01af356684cbc76808e091a06a89d | [
"MIT"
] | null | null | null | def test_mysql_process(host):
assert host.service("my_db-mysql").is_running
assert host.service("my_db-mysql").is_enabled
def test_check_mysql_access(host):
assert host.run("mysql --protocol=tcp -h 127.0.0.1 -u u1 -P 13306 -ppassword1 db1").succeeded
assert host.run("mysql --protocol=tcp -h 127.0.0.1 -... | 60.026316 | 175 | 0.662429 | 386 | 2,281 | 3.841969 | 0.194301 | 0.103844 | 0.113284 | 0.141605 | 0.799056 | 0.730276 | 0.730276 | 0.692515 | 0.646662 | 0.646662 | 0 | 0.107952 | 0.16747 | 2,281 | 37 | 176 | 61.648649 | 0.672986 | 0 | 0 | 0.242424 | 0 | 0.424242 | 0.620342 | 0.03025 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.090909 | false | 0.424242 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
93b29a2f0211034b4ec7d32ce960df9b767503a5 | 164 | py | Python | src/artifice/paper/routes/basic/views.py | artifice-project/artifice-paper | c20e863ced5364fbdd9142d4e336067504c8341c | [
"MIT"
] | null | null | null | src/artifice/paper/routes/basic/views.py | artifice-project/artifice-paper | c20e863ced5364fbdd9142d4e336067504c8341c | [
"MIT"
] | null | null | null | src/artifice/paper/routes/basic/views.py | artifice-project/artifice-paper | c20e863ced5364fbdd9142d4e336067504c8341c | [
"MIT"
] | null | null | null | from flask import Blueprint
basic_blueprint = Blueprint('basic', __name__)
@basic_blueprint.route('/')
def index():
return '<h1>artifice paper homepage</h1>'
| 20.5 | 46 | 0.731707 | 20 | 164 | 5.7 | 0.7 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.128049 | 164 | 7 | 47 | 23.428571 | 0.783217 | 0 | 0 | 0 | 0 | 0 | 0.231707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
93cca4e1b2a7bfbccd618928d008d8b80f083b6c | 48 | py | Python | crslab/data/dataset/durecdial/__init__.py | Xiaolong-Qi/CRSLab | d507378c86f4996727bf062482e1f224486d4533 | [
"MIT"
] | 1 | 2021-01-06T10:39:10.000Z | 2021-01-06T10:39:10.000Z | crslab/data/dataset/durecdial/__init__.py | Xiaolong-Qi/CRSLab | d507378c86f4996727bf062482e1f224486d4533 | [
"MIT"
] | null | null | null | crslab/data/dataset/durecdial/__init__.py | Xiaolong-Qi/CRSLab | d507378c86f4996727bf062482e1f224486d4533 | [
"MIT"
] | null | null | null | from .durecdial_dataset import DuRecDialDataset
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e03e415133f1184677c48c45a4a196533cfd6ce | 179 | py | Python | nested.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | nested.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | nested.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | #!/usr/bin/python2
def outer():
print("outer function started")
def inner():
print("inner function execution")
print("outer function calling inner function")
inner()
outer() | 22.375 | 47 | 0.72067 | 23 | 179 | 5.608696 | 0.478261 | 0.155039 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.128492 | 179 | 8 | 48 | 22.375 | 0.820513 | 0.094972 | 0 | 0 | 0 | 0 | 0.512346 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0 | 0 | 0.285714 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9e264da9eadbbf36f1e6c6e647f9dceabcbb217c | 22 | py | Python | tasker/server/backends/__init__.py | adir-intsights/tasker | 7e7eb3b375a6f5317d0bcbbc40426baa676d51f5 | [
"Apache-2.0"
] | 9 | 2020-08-09T05:37:23.000Z | 2020-12-20T16:08:15.000Z | tasker/server/backends/__init__.py | adir-intsights/tasker | 7e7eb3b375a6f5317d0bcbbc40426baa676d51f5 | [
"Apache-2.0"
] | null | null | null | tasker/server/backends/__init__.py | adir-intsights/tasker | 7e7eb3b375a6f5317d0bcbbc40426baa676d51f5 | [
"Apache-2.0"
] | 1 | 2020-04-05T03:31:20.000Z | 2020-04-05T03:31:20.000Z | from . import rocksdb
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f50bc3d01dfceb9e7f7b9b5de954d2a075282f4e | 6,521 | py | Python | tests/conftest.py | datatriadian/stackshare | 494ddb4180930dcdcfeff42641020b7e70866041 | [
"MIT"
] | 1 | 2022-03-16T02:40:22.000Z | 2022-03-16T02:40:22.000Z | tests/conftest.py | datatriadian/stackshare | 494ddb4180930dcdcfeff42641020b7e70866041 | [
"MIT"
] | 1 | 2022-02-15T12:50:19.000Z | 2022-02-15T12:50:19.000Z | tests/conftest.py | datatriadian/stackshare | 494ddb4180930dcdcfeff42641020b7e70866041 | [
"MIT"
] | 1 | 2022-01-21T17:59:05.000Z | 2022-01-21T17:59:05.000Z | import csv
import pytest
from typer.testing import CliRunner
@pytest.fixture
def test_runner():
return CliRunner()
@pytest.fixture(scope="session")
def mock_data_directory(tmp_path_factory):
file_path = tmp_path_factory.mktemp("data")
with open(file_path / "Answers.csv", "w") as f:
field_names... | 34.68617 | 110 | 0.406379 | 596 | 6,521 | 4.416107 | 0.181208 | 0.097264 | 0.045593 | 0.054711 | 0.844605 | 0.844605 | 0.844605 | 0.837386 | 0.837386 | 0.805471 | 0 | 0.108511 | 0.423401 | 6,521 | 187 | 111 | 34.871658 | 0.591489 | 0 | 0 | 0.571429 | 0 | 0.022857 | 0.363441 | 0.013495 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011429 | false | 0 | 0.017143 | 0.005714 | 0.034286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f524e0c44ae5ac4325bbc6c8f52d4083b00c025b | 1,247 | py | Python | tests/pipe_proc_tests/rft.py | thegooglecodearchive/nmrglue | 34ffb5247f457c19b93c584e048df4042dea0482 | [
"BSD-3-Clause"
] | 1 | 2019-04-22T06:08:13.000Z | 2019-04-22T06:08:13.000Z | tests/pipe_proc_tests/rft.py | thegooglecodearchive/nmrglue | 34ffb5247f457c19b93c584e048df4042dea0482 | [
"BSD-3-Clause"
] | null | null | null | tests/pipe_proc_tests/rft.py | thegooglecodearchive/nmrglue | 34ffb5247f457c19b93c584e048df4042dea0482 | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/env python
import nmrglue.fileio.pipe as pipe
import nmrglue.process.pipe_proc as p
import shutil
d,a = pipe.read("1D_time_real.fid")
d,a = p.rft(d,a)
pipe.write("rft1.glue",d,a,overwrite=True)
d,a = pipe.read("1D_time.fid")
d,a = p.rft(d,a)
pipe.write("rft2.glue",d,a,overwrite=True)
d,a = pipe.read("ti... | 24.45098 | 43 | 0.684844 | 270 | 1,247 | 3.103704 | 0.159259 | 0.105012 | 0.107399 | 0.131265 | 0.795943 | 0.750597 | 0.72673 | 0.72673 | 0.72673 | 0.670644 | 0 | 0.018389 | 0.084202 | 1,247 | 50 | 44 | 24.94 | 0.715412 | 0.030473 | 0 | 0.527778 | 0 | 0 | 0.217067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f534f8251ef16545063fa437ab58b47c0f9aca8a | 31 | py | Python | sstcam_simulation/plotting/__init__.py | thomasarmstrong/sstcam-simulation | 1da5a1dd0ce23b2a2299db72b7f3a03114689ce5 | [
"BSD-3-Clause"
] | 1 | 2019-12-23T23:26:36.000Z | 2019-12-23T23:26:36.000Z | sstcam_simulation/plotting/__init__.py | thomasarmstrong/sstcam-simulation | 1da5a1dd0ce23b2a2299db72b7f3a03114689ce5 | [
"BSD-3-Clause"
] | 6 | 2020-09-18T10:59:41.000Z | 2022-03-15T11:01:49.000Z | sstcam_simulation/plotting/__init__.py | thomasarmstrong/sstcam-simulation | 1da5a1dd0ce23b2a2299db72b7f3a03114689ce5 | [
"BSD-3-Clause"
] | 2 | 2020-04-14T08:01:01.000Z | 2021-11-30T12:11:17.000Z | from .image import CameraImage
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
197ecc1a562bd50ba1f677cabc3ccb3ea1c4349a | 125 | py | Python | hint/admin.py | DisMosGit/Dodja | 0bcafede607df921b53f6ed501842d4cd03f65d6 | [
"Apache-2.0"
] | null | null | null | hint/admin.py | DisMosGit/Dodja | 0bcafede607df921b53f6ed501842d4cd03f65d6 | [
"Apache-2.0"
] | null | null | null | hint/admin.py | DisMosGit/Dodja | 0bcafede607df921b53f6ed501842d4cd03f65d6 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Hint
@admin.register(Hint)
class HintAdmin(admin.ModelAdmin):
pass | 17.857143 | 34 | 0.784 | 17 | 125 | 5.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 125 | 7 | 35 | 17.857143 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
5fef8286d3422be34af64973cee9426e27b5e2dd | 28 | py | Python | app/__init__.py | wolfinabox/Video-Tools | 64b24f1cbb6a0e79943c1cc4007ca88ae4f8e31c | [
"MIT"
] | null | null | null | app/__init__.py | wolfinabox/Video-Tools | 64b24f1cbb6a0e79943c1cc4007ca88ae4f8e31c | [
"MIT"
] | null | null | null | app/__init__.py | wolfinabox/Video-Tools | 64b24f1cbb6a0e79943c1cc4007ca88ae4f8e31c | [
"MIT"
] | null | null | null | from app.mainapp import main | 28 | 28 | 0.857143 | 5 | 28 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2737c271f32d8bc14519c53ce2c1ee075f724c8a | 2,160 | py | Python | floodsystem/plot.py | cued-ia-computing/flood-agh54-bjw68 | c77d82dca8c9962f8e0f3f6b9ed32cf6b39954a5 | [
"MIT"
] | null | null | null | floodsystem/plot.py | cued-ia-computing/flood-agh54-bjw68 | c77d82dca8c9962f8e0f3f6b9ed32cf6b39954a5 | [
"MIT"
] | null | null | null | floodsystem/plot.py | cued-ia-computing/flood-agh54-bjw68 | c77d82dca8c9962f8e0f3f6b9ed32cf6b39954a5 | [
"MIT"
] | null | null | null | """This module contains a collection of functions related to
plotting data.
"""
from .datafetcher import fetch_measure_levels
import matplotlib.pyplot as plt
from datetime import datetime, timedelta
from .analysis import polyfit
def plot_water_levels(station, dates, levels):
"""Plot water level with time"""
... | 27 | 88 | 0.700926 | 324 | 2,160 | 4.54321 | 0.265432 | 0.043478 | 0.040761 | 0.065217 | 0.72962 | 0.72962 | 0.72962 | 0.72962 | 0.72962 | 0.72962 | 0 | 0.004684 | 0.209259 | 2,160 | 80 | 89 | 27 | 0.857143 | 0.35787 | 0 | 0.764706 | 0 | 0 | 0.044248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
275d70a9d3800e3e87b846bd17f05627b3f33971 | 21 | py | Python | _ldapi/__init__.py | GeoscienceAustralia/surveys-api | 0937adf9c723e7d5a3a6e7961dbcb01cbbcfa179 | [
"CC-BY-4.0"
] | null | null | null | _ldapi/__init__.py | GeoscienceAustralia/surveys-api | 0937adf9c723e7d5a3a6e7961dbcb01cbbcfa179 | [
"CC-BY-4.0"
] | null | null | null | _ldapi/__init__.py | GeoscienceAustralia/surveys-api | 0937adf9c723e7d5a3a6e7961dbcb01cbbcfa179 | [
"CC-BY-4.0"
] | null | null | null | from _ldapi import * | 21 | 21 | 0.761905 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
276c674aad08a1c8daa3e7a40378dbe829b2c7b0 | 104 | py | Python | sample_side_informations.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | sample_side_informations.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | sample_side_informations.py | swapUniba/Elliot_refactor-tesi-Ventrella | 3ddffc041696c90a6f6d3e8906c212fc4f55f842 | [
"Apache-2.0"
] | null | null | null | from elliot.run import run_experiment
run_experiment("config_files/side_information_configuration.yml") | 34.666667 | 65 | 0.884615 | 14 | 104 | 6.214286 | 0.785714 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 104 | 3 | 65 | 34.666667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.447619 | 0.447619 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
27c38c318349e0089dbc4596c5cf25b388e201c2 | 123,645 | py | Python | signinghubapi/signinghubapi.py | erwinmintiens/signinghubapi | c1bca88d2d8feaca921158114aef54e5f4c0f348 | [
"MIT"
] | null | null | null | signinghubapi/signinghubapi.py | erwinmintiens/signinghubapi | c1bca88d2d8feaca921158114aef54e5f4c0f348 | [
"MIT"
] | null | null | null | signinghubapi/signinghubapi.py | erwinmintiens/signinghubapi | c1bca88d2d8feaca921158114aef54e5f4c0f348 | [
"MIT"
] | null | null | null | import requests
import json
class Connection:
def __init__(self, url: str, client_id: str = None, client_secret: str = None, username: str = None,
password: str = None, api_port: int = None, scope: str = None, api_version: int = 3,
access_token: str = None, refresh_token: str = N... | 44.782687 | 123 | 0.596935 | 13,812 | 123,645 | 5.176006 | 0.039096 | 0.051615 | 0.051083 | 0.022618 | 0.809766 | 0.779287 | 0.758137 | 0.738708 | 0.713838 | 0.697039 | 0 | 0.00116 | 0.281661 | 123,645 | 2,760 | 124 | 44.798913 | 0.803747 | 0.102058 | 0 | 0.636242 | 0 | 0.012021 | 0.292034 | 0.112278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0748 | false | 0.025378 | 0.00089 | 0.004898 | 0.146483 | 0.001781 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
27cd869f624e2ab3e202862c6947fc8c5e7e911d | 31 | py | Python | config/__init__.py | kingsd041/os_test | 5e5f173f4ef86e2388e0eac7fada05fc61d9892b | [
"Apache-2.0"
] | 2 | 2018-11-14T17:02:02.000Z | 2019-07-19T07:13:41.000Z | config/__init__.py | kingsd041/os_test | 5e5f173f4ef86e2388e0eac7fada05fc61d9892b | [
"Apache-2.0"
] | 13 | 2018-11-06T09:29:50.000Z | 2019-12-23T07:36:07.000Z | config/__init__.py | kingsd041/os_test | 5e5f173f4ef86e2388e0eac7fada05fc61d9892b | [
"Apache-2.0"
] | 1 | 2018-11-05T04:03:20.000Z | 2018-11-05T04:03:20.000Z | from config.os_config import *
| 15.5 | 30 | 0.806452 | 5 | 31 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd6781af8792d5844eb3ffee9fc619a61c8874d8 | 138 | py | Python | chpro/jinja_extensions/__init__.py | rapidpro/chpro | ece93e698a0811fb612c2815459f711f58f1070c | [
"BSD-3-Clause"
] | null | null | null | chpro/jinja_extensions/__init__.py | rapidpro/chpro | ece93e698a0811fb612c2815459f711f58f1070c | [
"BSD-3-Clause"
] | 37 | 2018-04-12T16:59:04.000Z | 2018-09-12T08:05:02.000Z | chpro/jinja_extensions/__init__.py | rapidpro/chpro | ece93e698a0811fb612c2815459f711f58f1070c | [
"BSD-3-Clause"
] | null | null | null | from . import permissions
def load():
"""
This is a no-op so that we don't need to rely on a dangling import.
"""
return
| 17.25 | 71 | 0.608696 | 23 | 138 | 3.652174 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297101 | 138 | 7 | 72 | 19.714286 | 0.865979 | 0.485507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd6e724d3801b5e0131625448e3fa33969cff6eb | 281 | py | Python | v1/accounts/tests/conftest.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 94 | 2020-07-12T23:08:47.000Z | 2022-03-05T14:00:01.000Z | v1/accounts/tests/conftest.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 84 | 2020-07-13T23:30:50.000Z | 2022-03-15T15:47:46.000Z | v1/accounts/tests/conftest.py | DucPhamTV/Bank | 4905ec7d63ef4daafe2119bf6b32928d4db2d4f2 | [
"MIT"
] | 63 | 2020-07-13T02:46:51.000Z | 2021-11-26T09:29:29.000Z | import pytest
from thenewboston.third_party.factory.utils import build_json
from ..factories.account import AccountFactory
@pytest.fixture
def account_fake_data():
yield build_json(AccountFactory)
@pytest.fixture
def accounts():
yield AccountFactory.create_batch(100)
| 18.733333 | 61 | 0.807829 | 35 | 281 | 6.314286 | 0.628571 | 0.081448 | 0.244344 | 0.271493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012097 | 0.117438 | 281 | 14 | 62 | 20.071429 | 0.879032 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd81178d2bdf56edc3baafc1baae370a27b3c71c | 46 | py | Python | control/__init__.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | 2 | 2020-10-15T22:12:17.000Z | 2020-10-26T07:17:17.000Z | control/__init__.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | control/__init__.py | xyla-io/almacen | 7b7f235dc7939777f971f1b5eadd5621e980c15e | [
"MIT"
] | null | null | null | from .control_company import CompanyController | 46 | 46 | 0.913043 | 5 | 46 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd83aec283aeb1359be30565fe93e6f3280d9ac8 | 45 | py | Python | models/__init__.py | Terminator8758/Precise-ICS-master | 9f4591fee6ab64d9dd91f551355d29562bf663cb | [
"MIT"
] | 4 | 2021-12-06T09:13:32.000Z | 2022-01-12T02:59:21.000Z | models/__init__.py | Terminator8758/Precise-ICS-master | 9f4591fee6ab64d9dd91f551355d29562bf663cb | [
"MIT"
] | null | null | null | models/__init__.py | Terminator8758/Precise-ICS-master | 9f4591fee6ab64d9dd91f551355d29562bf663cb | [
"MIT"
] | 1 | 2021-12-17T03:59:01.000Z | 2021-12-17T03:59:01.000Z | from .resnet import *
from .ics_net import *
| 15 | 22 | 0.733333 | 7 | 45 | 4.571429 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fdcd11ffa9c5fa6ecbd5f302b374f1eee80b6d1e | 34 | py | Python | tests/dataset/__init__.py | zbzhu99/malib | 5be07ac00761a34fb095adb2b3018a798ceea256 | [
"MIT"
] | null | null | null | tests/dataset/__init__.py | zbzhu99/malib | 5be07ac00761a34fb095adb2b3018a798ceea256 | [
"MIT"
] | null | null | null | tests/dataset/__init__.py | zbzhu99/malib | 5be07ac00761a34fb095adb2b3018a798ceea256 | [
"MIT"
] | null | null | null | from .utils import FakeDataServer
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fdd1d67190dc212e1f2ebe049f07700e1b240b1a | 4,039 | py | Python | simple_health_check/tests.py | pikhovkin/django-simple-health-check | 3793b223d4d7f9dffde8319b6428b23fc70c4b2f | [
"MIT"
] | 1 | 2021-09-08T09:53:56.000Z | 2021-09-08T09:53:56.000Z | simple_health_check/tests.py | pikhovkin/django-simple-health-check | 3793b223d4d7f9dffde8319b6428b23fc70c4b2f | [
"MIT"
] | null | null | null | simple_health_check/tests.py | pikhovkin/django-simple-health-check | 3793b223d4d7f9dffde8319b6428b23fc70c4b2f | [
"MIT"
] | null | null | null | from django.test import TestCase, override_settings
class SimpleTest(TestCase):
def test_liveness(self):
response = self.client.get('/liveness/')
self.assertContains(response, b'ok')
def test_readiness(self):
response = self.client.get('/readiness/')
self.assertContains(respon... | 33.658333 | 98 | 0.630106 | 434 | 4,039 | 5.603687 | 0.14977 | 0.113487 | 0.085526 | 0.117599 | 0.925576 | 0.891859 | 0.868832 | 0.868832 | 0.868832 | 0.868832 | 0 | 0.011427 | 0.241644 | 4,039 | 119 | 99 | 33.941176 | 0.782566 | 0 | 0 | 0.533333 | 0 | 0 | 0.221342 | 0.160188 | 0 | 0 | 0 | 0 | 0.12381 | 1 | 0.12381 | false | 0 | 0.009524 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fddab356bdf3bd8ff6c1d44046668f27eaf83e9a | 106 | py | Python | tools/DiversityTools/macroeco_distributions/__init__.py | klocey/simplex | 69fdb4951f5bd3181e3403ae91253f096e8ba7f3 | [
"MIT"
] | 7 | 2016-03-12T14:01:46.000Z | 2021-01-16T08:08:49.000Z | tools/DiversityTools/macroeco_distributions/__init__.py | klocey/simplex | 69fdb4951f5bd3181e3403ae91253f096e8ba7f3 | [
"MIT"
] | 29 | 2015-03-20T01:22:15.000Z | 2016-08-15T17:13:41.000Z | tools/DiversityTools/macroeco_distributions/__init__.py | klocey/simplex | 69fdb4951f5bd3181e3403ae91253f096e8ba7f3 | [
"MIT"
] | 10 | 2015-03-18T00:51:16.000Z | 2018-07-27T08:35:50.000Z | """macroeco_distributions: Common macroecological distributions"""
from .macroeco_distributions import *
| 26.5 | 66 | 0.830189 | 9 | 106 | 9.555556 | 0.666667 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084906 | 106 | 3 | 67 | 35.333333 | 0.886598 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3080c424184f15893ca0bd7403ee9fbe646848f | 41 | py | Python | iupdatable/util/weixin/__init__.py | IUpdatable/PyIUpdatable | 16ec28553a09b80021898403ff6411468ff31998 | [
"MIT"
] | null | null | null | iupdatable/util/weixin/__init__.py | IUpdatable/PyIUpdatable | 16ec28553a09b80021898403ff6411468ff31998 | [
"MIT"
] | null | null | null | iupdatable/util/weixin/__init__.py | IUpdatable/PyIUpdatable | 16ec28553a09b80021898403ff6411468ff31998 | [
"MIT"
] | null | null | null | from .WeiXinCrawler import WeiXinCrawler
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3278232c1f18d87db4c626326fdd3efd79831e7 | 164 | py | Python | src/rest_framework_api_key/__init__.py | shabie/djangorestframework-api-key | 0b5e3f2205b0a3cb5de5c7e46088051282e49dd0 | [
"MIT"
] | 462 | 2018-09-25T20:15:38.000Z | 2022-03-25T19:25:02.000Z | src/rest_framework_api_key/__init__.py | shabie/djangorestframework-api-key | 0b5e3f2205b0a3cb5de5c7e46088051282e49dd0 | [
"MIT"
] | 154 | 2018-09-22T14:55:27.000Z | 2022-03-22T21:07:54.000Z | src/rest_framework_api_key/__init__.py | shabie/djangorestframework-api-key | 0b5e3f2205b0a3cb5de5c7e46088051282e49dd0 | [
"MIT"
] | 89 | 2018-10-12T17:46:37.000Z | 2022-03-07T23:31:33.000Z | from .__version__ import __version__
default_app_config = "rest_framework_api_key.apps.RestFrameworkApiKeyConfig"
__all__ = ["__version__", "default_app_config"]
| 27.333333 | 76 | 0.835366 | 18 | 164 | 6.333333 | 0.722222 | 0.245614 | 0.298246 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079268 | 164 | 5 | 77 | 32.8 | 0.754967 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.323171 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e32be4d0375dbab4b294ce6b337463be8a96b3ed | 2,296 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_40_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_40_02_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_40_02_9 = {0: {'A': -0.303, 'C': -0.066, 'E': 0.386, 'D': 0.767, 'G': -0.239, 'F': -0.138, 'I': 0.023, 'H': -0.321, 'K': -0.515, 'M': -0.059, 'L': 0.016, 'N': 0.357, 'Q': 0.302, 'P': 0.911, 'S': -0.13, 'R': -0.376, 'T': 0.045, 'W': -0.118, 'V': 0.01, 'Y': -0.553}, 1: {'A': 0.141, 'C': -0.275, 'E': -1.719, 'D': -0.944... | 2,296 | 2,296 | 0.396777 | 557 | 2,296 | 1.630162 | 0.319569 | 0.019824 | 0.008811 | 0.011013 | 0.044053 | 0 | 0 | 0 | 0 | 0 | 0 | 0.376495 | 0.162456 | 2,296 | 1 | 2,296 | 2,296 | 0.095684 | 0 | 0 | 0 | 0 | 0 | 0.079669 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b682ef50c6ddae0ff999e2e628419963e921f9b | 123 | py | Python | test03/test_mytest.py | vogonsoft/pytest-tutorial | bc0608bdf425f14e0485a2bb45ee5bf41fbc85c6 | [
"Unlicense"
] | 1 | 2016-05-23T05:57:37.000Z | 2016-05-23T05:57:37.000Z | test03/test_mytest.py | vogonsoft/pytest-tutorial | bc0608bdf425f14e0485a2bb45ee5bf41fbc85c6 | [
"Unlicense"
] | null | null | null | test03/test_mytest.py | vogonsoft/pytest-tutorial | bc0608bdf425f14e0485a2bb45ee5bf41fbc85c6 | [
"Unlicense"
] | 2 | 2015-08-22T17:32:00.000Z | 2021-11-06T15:38:32.000Z | from mypkg.power import power
def test_mod(mod):
assert power(2, 4, 10000) == 16
assert power(2, 10, mod.modulus) == 0
| 17.571429 | 38 | 0.682927 | 22 | 123 | 3.772727 | 0.681818 | 0.26506 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 0.178862 | 123 | 6 | 39 | 20.5 | 0.693069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b6d8ccb4538dd463f0af9b43302cae222f0754f | 46 | py | Python | src/ipaparser/definitions.py | danmysak/ipa-parser | bb4f5fc1a8f95ef87793d2ffd79430a9a0ffbeaf | [
"MIT"
] | null | null | null | src/ipaparser/definitions.py | danmysak/ipa-parser | bb4f5fc1a8f95ef87793d2ffd79430a9a0ffbeaf | [
"MIT"
] | null | null | null | src/ipaparser/definitions.py | danmysak/ipa-parser | bb4f5fc1a8f95ef87793d2ffd79430a9a0ffbeaf | [
"MIT"
] | null | null | null | from ._code.definitions import * # noqa:F401
| 23 | 45 | 0.73913 | 6 | 46 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.152174 | 46 | 1 | 46 | 46 | 0.769231 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47c2bf493d1527a3130adf323cd67a75d19ad2c8 | 2,685 | py | Python | tests/requirements.py | zzzeek/calchipan | 86ef380c572b9c1b8186278446a9b4952a538f97 | [
"MIT"
] | 1 | 2021-02-04T15:02:40.000Z | 2021-02-04T15:02:40.000Z | tests/requirements.py | zzzeek/calchipan | 86ef380c572b9c1b8186278446a9b4952a538f97 | [
"MIT"
] | null | null | null | tests/requirements.py | zzzeek/calchipan | 86ef380c572b9c1b8186278446a9b4952a538f97 | [
"MIT"
] | null | null | null | from sqlalchemy.testing.requirements import SuiteRequirements
from sqlalchemy.testing import exclusions
class Requirements(SuiteRequirements):
@property
def foreign_key_ddl(self):
return exclusions.closed()
@property
def self_referential_foreign_keys(self):
return exclusions.closed()
... | 25.571429 | 71 | 0.664432 | 272 | 2,685 | 6.477941 | 0.224265 | 0.112372 | 0.224745 | 0.289444 | 0.784904 | 0.714529 | 0.540295 | 0.409762 | 0.378547 | 0.194098 | 0 | 0.003972 | 0.249907 | 2,685 | 104 | 72 | 25.817308 | 0.870904 | 0.311359 | 0 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.035088 | 0.140351 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9a1e817000ceb6e5cbdfe224670f6b4884b38eea | 86 | py | Python | avatar2/archs/__init__.py | jcnauta/avatar2 | 5f2a0b7b5336fcf6eafd6b7aa5ee632b84db1482 | [
"Apache-2.0"
] | 415 | 2017-06-14T07:49:50.000Z | 2022-03-31T12:32:58.000Z | avatar2/archs/__init__.py | HexHive/avatar2 | b406c3512f6bcf6f7635c6bd70a5951bde9ae0a2 | [
"Apache-2.0"
] | 58 | 2017-06-16T14:51:12.000Z | 2022-03-25T14:13:32.000Z | avatar2/archs/__init__.py | HexHive/avatar2 | b406c3512f6bcf6f7635c6bd70a5951bde9ae0a2 | [
"Apache-2.0"
] | 101 | 2017-06-16T09:05:12.000Z | 2022-03-23T12:23:19.000Z | from .x86 import *
from .arm import *
from .mips import *
from .architecture import *
| 17.2 | 27 | 0.72093 | 12 | 86 | 5.166667 | 0.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.186047 | 86 | 4 | 28 | 21.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9a42ecb062d611b72fdf9154579f552aee62e41e | 503 | py | Python | testeattr.py | flavio-casacurta/File-FixedS | a0435e52187af7b9a88f87644c76d0f611f1c3df | [
"MIT"
] | 1 | 2018-09-21T13:05:06.000Z | 2018-09-21T13:05:06.000Z | testeattr.py | flavio-casacurta/File-FixedS | a0435e52187af7b9a88f87644c76d0f611f1c3df | [
"MIT"
] | null | null | null | testeattr.py | flavio-casacurta/File-FixedS | a0435e52187af7b9a88f87644c76d0f611f1c3df | [
"MIT"
] | 1 | 2018-09-21T13:05:10.000Z | 2018-09-21T13:05:10.000Z | from attribute import Attribute
attr = Attribute()
line = '03 C-G-C-RB PIC S9(14)V(4) COMP-3.'
pic = line.split('PIC')[1].replace('.','').split()
att = attr.attribute_json(pic[0], pic[1])
print att
line = '03 C-G-C-RB PIC S9(4) COMP.'
pic = line.split('PIC')[1].replace('.','').split()
att = at... | 33.533333 | 56 | 0.586481 | 87 | 503 | 3.356322 | 0.287356 | 0.068493 | 0.071918 | 0.082192 | 0.773973 | 0.773973 | 0.773973 | 0.773973 | 0.712329 | 0.712329 | 0 | 0.055825 | 0.180915 | 503 | 14 | 57 | 35.928571 | 0.652913 | 0 | 0 | 0.571429 | 0 | 0.071429 | 0.264414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.214286 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a6d4d364f689127f8e19d5f71cd3b379239103f | 96 | py | Python | venv/lib/python3.8/site-packages/pyls_jsonrpc/streams.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/streams.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pyls_jsonrpc/streams.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e3/b7/f2/ec9066039058b18bfc041c5442a085254b131e872d5411a6d8c58f5b79 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d00cdf7443657811fd9df2a7a66397d91fa062d2 | 33,867 | py | Python | rnn_run_modular_g.py | dashirn/FAST_RNN_JAX | 38430694825fb3af95d27d4d934a166b60bc5c26 | [
"MIT"
] | null | null | null | rnn_run_modular_g.py | dashirn/FAST_RNN_JAX | 38430694825fb3af95d27d4d934a166b60bc5c26 | [
"MIT"
] | null | null | null | rnn_run_modular_g.py | dashirn/FAST_RNN_JAX | 38430694825fb3af95d27d4d934a166b60bc5c26 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Mon Mar 29 16:30:31 2021
@author: dashirn
Train modular network on task primitives & task-specific readouts.
Dependcies: pickle, jax, numpy, rnn_build_modular_g, rnn_tasks
"""
import pickle
import jax.numpy as np
from jax import random #https://jax.readt... | 47.499299 | 125 | 0.603626 | 4,098 | 33,867 | 4.653734 | 0.057833 | 0.076032 | 0.069372 | 0.042787 | 0.853495 | 0.819569 | 0.809816 | 0.801584 | 0.798437 | 0.792093 | 0 | 0.020198 | 0.283668 | 33,867 | 712 | 126 | 47.566011 | 0.765911 | 0.226208 | 0 | 0.597468 | 0 | 0 | 0.080576 | 0.008322 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002532 | false | 0 | 0.017722 | 0 | 0.020253 | 0.108861 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d073c341a9e838a1c059d48ca7a6d69f8d3bbb75 | 86 | py | Python | fem/base_app/model/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | 1 | 2019-08-03T21:40:26.000Z | 2019-08-03T21:40:26.000Z | fem/base_app/model/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | fem/base_app/model/__init__.py | mjredmond/FEMApp | dd8cc53acf80d0a1bb83ce9c89bcfd51e85c6be8 | [
"MIT"
] | null | null | null | from __future__ import print_function, absolute_import
from ._model import BaseModel
| 21.5 | 54 | 0.860465 | 11 | 86 | 6.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 86 | 3 | 55 | 28.666667 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d0a600302fdad771360a8b5ec5393c73146fcf4b | 49 | py | Python | nodes/__init__.py | Correct-Syntax/gsnodegraph | 03841900253807cdedb4e7844cc8637923b71a69 | [
"Apache-2.0"
] | 1 | 2021-04-06T03:46:44.000Z | 2021-04-06T03:46:44.000Z | nodes/__init__.py | Correct-Syntax/gsnodegraph | 03841900253807cdedb4e7844cc8637923b71a69 | [
"Apache-2.0"
] | null | null | null | nodes/__init__.py | Correct-Syntax/gsnodegraph | 03841900253807cdedb4e7844cc8637923b71a69 | [
"Apache-2.0"
] | null | null | null | from .nodes import OutputNode, MixNode, ImageNode | 49 | 49 | 0.836735 | 6 | 49 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0f8eae55de7d98f8d11d10249b1bd4a62e6898d | 20 | py | Python | eisen/ops/metrics/__init__.py | canerozer/eisen-core | 02ab7dc4cc7e3e21fd48da2bc1a91ce474922804 | [
"MIT"
] | 41 | 2020-04-11T02:57:43.000Z | 2021-06-12T17:57:54.000Z | eisen/ops/metrics/__init__.py | canerozer/eisen-core | 02ab7dc4cc7e3e21fd48da2bc1a91ce474922804 | [
"MIT"
] | 379 | 2019-03-03T12:16:05.000Z | 2022-03-29T13:44:46.000Z | eisen/ops/metrics/__init__.py | canerozer/eisen-core | 02ab7dc4cc7e3e21fd48da2bc1a91ce474922804 | [
"MIT"
] | 14 | 2020-04-30T18:34:34.000Z | 2021-01-29T13:37:43.000Z | from .dice import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef978688146c27c526011bc9aab4f87f4a6bcc4e | 1,799 | py | Python | pydgsrd1d/rk.py | andrewgiuliani/PyDGSRD | 25a166c2f80f497cb48bffcfe13736f115d911bd | [
"MIT"
] | null | null | null | pydgsrd1d/rk.py | andrewgiuliani/PyDGSRD | 25a166c2f80f497cb48bffcfe13736f115d911bd | [
"MIT"
] | null | null | null | pydgsrd1d/rk.py | andrewgiuliani/PyDGSRD | 25a166c2f80f497cb48bffcfe13736f115d911bd | [
"MIT"
] | 1 | 2021-02-20T06:53:51.000Z | 2021-02-20T06:53:51.000Z | import numpy as np
def RK(p):
if p==0:
a = np.array([0])
b = np.array([1])
c = np.array([0])
elif p==1:
a =np.array( [[0,0],[0.5,0]] )
b =np.array( [0,1] )
c =np.array( [0,0.5] )
elif p==2:
a = np.array([ [0,0,0],[0.5,0,0],[-1,2,0]])
b = np.ar... | 37.479167 | 77 | 0.314063 | 346 | 1,799 | 1.632948 | 0.17341 | 0.233628 | 0.228319 | 0.19823 | 0.423009 | 0.318584 | 0.217699 | 0.161062 | 0.127434 | 0.028319 | 0 | 0.300186 | 0.40189 | 1,799 | 47 | 78 | 38.276596 | 0.224907 | 0 | 0 | 0 | 0 | 0 | 0.019455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.022222 | 0 | 0.066667 | 0.022222 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
efd50cb0d18838e49ec808c2686dacdc6d86a69d | 163 | py | Python | inventory/admin.py | perimetro20/oso | 1ccc2cdb88eec3b8de2f5910878a30cc32be8010 | [
"MIT"
] | null | null | null | inventory/admin.py | perimetro20/oso | 1ccc2cdb88eec3b8de2f5910878a30cc32be8010 | [
"MIT"
] | null | null | null | inventory/admin.py | perimetro20/oso | 1ccc2cdb88eec3b8de2f5910878a30cc32be8010 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Entry, Item, Withdrawal
admin.site.register(Item)
admin.site.register(Entry)
admin.site.register(Withdrawal)
| 23.285714 | 43 | 0.815951 | 23 | 163 | 5.782609 | 0.478261 | 0.203008 | 0.383459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08589 | 163 | 6 | 44 | 27.166667 | 0.892617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4bd93830a1fb274eca937b2645c22260db5e2295 | 47 | py | Python | door_pass/src/door_pass/__init__.py | Jailander/strands_apps | 5bc380bfb37e5717bc9503506eba82c5d86a4d93 | [
"MIT"
] | null | null | null | door_pass/src/door_pass/__init__.py | Jailander/strands_apps | 5bc380bfb37e5717bc9503506eba82c5d86a4d93 | [
"MIT"
] | null | null | null | door_pass/src/door_pass/__init__.py | Jailander/strands_apps | 5bc380bfb37e5717bc9503506eba82c5d86a4d93 | [
"MIT"
] | null | null | null | # import door_utils
# __all__ = ['door_utils'] | 15.666667 | 26 | 0.702128 | 6 | 47 | 4.5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 26 | 15.666667 | 0.675 | 0.893617 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 1 | 0 | 0 | 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 | 6 |
4bf2f943e8f0189f78aeebbe1cee5bc138c307ac | 80 | py | Python | utils/__init__.py | WEYAI/NCRFpp | c205e742a674bbacea9f5047cfb03b396c50264b | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | WEYAI/NCRFpp | c205e742a674bbacea9f5047cfb03b396c50264b | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | WEYAI/NCRFpp | c205e742a674bbacea9f5047cfb03b396c50264b | [
"Apache-2.0"
] | null | null | null | '''
Author: WEY
Date: 2021-05-26 10:33:27
LastEditTime: 2021-06-14 20:36:17
'''
| 13.333333 | 33 | 0.6625 | 16 | 80 | 3.3125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.125 | 80 | 5 | 34 | 16 | 0.357143 | 0.8875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef0cef5deaca23919d6de0b6f85514edc15206ea | 175 | py | Python | ScotlandPYard/spyengine/humandetective.py | fkarg/ScotlandPYard | 768ecbf20357f5cde8d669f05d11cacaf3299dbb | [
"MIT"
] | 6 | 2017-12-12T08:45:16.000Z | 2020-05-15T19:34:09.000Z | ScotlandPYard/spyengine/humandetective.py | fkarg/ScotlandPYard | 768ecbf20357f5cde8d669f05d11cacaf3299dbb | [
"MIT"
] | 139 | 2017-12-15T22:29:27.000Z | 2022-03-01T15:01:24.000Z | ScotlandPYard/spyengine/humandetective.py | fkarg/ScotlandPYard | 768ecbf20357f5cde8d669f05d11cacaf3299dbb | [
"MIT"
] | 2 | 2018-10-09T17:38:55.000Z | 2020-06-21T21:28:28.000Z | from .abstractdetective import AbstractDetective
class HumanDetective(AbstractDetective):
def play_next(self):
"""TODO: insert human prompt here"""
pass
| 21.875 | 48 | 0.714286 | 17 | 175 | 7.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205714 | 175 | 7 | 49 | 25 | 0.892086 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
324712df1ffcd04b3391a44ce28815632433b759 | 7,652 | py | Python | plastid/test/unit/util/io/test_filters.py | joshuagryphon/plastid | e63a818e33766b01d84b3ac9bc9f55e6a1ece42f | [
"BSD-3-Clause"
] | 31 | 2016-04-05T09:58:29.000Z | 2022-01-18T11:58:30.000Z | plastid/test/unit/util/io/test_filters.py | joshuagryphon/plastid | e63a818e33766b01d84b3ac9bc9f55e6a1ece42f | [
"BSD-3-Clause"
] | 49 | 2015-09-15T19:50:13.000Z | 2022-01-06T18:17:35.000Z | plastid/test/unit/util/io/test_filters.py | joshuagryphon/plastid | e63a818e33766b01d84b3ac9bc9f55e6a1ece42f | [
"BSD-3-Clause"
] | 14 | 2017-02-08T09:38:57.000Z | 2020-09-16T02:32:46.000Z | #!/usr/bin/env python
"""Test suite for filters in :py:mod:`plastid.util.io.filters`
"""
import unittest
from nose.plugins.attrib import attr
from plastid.util.services.mini2to3 import cStringIO
from plastid.util.io.filters import SkipBlankReader, CommentReader, FunctionReader
#========================================... | 50.342105 | 143 | 0.687271 | 1,001 | 7,652 | 5.221778 | 0.244755 | 0.01607 | 0.018175 | 0.022001 | 0.782093 | 0.763727 | 0.763727 | 0.745743 | 0.745743 | 0.745743 | 0 | 0.021061 | 0.211971 | 7,652 | 151 | 144 | 50.675497 | 0.845771 | 0.07828 | 0 | 0.625 | 0 | 0.008929 | 0.715139 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 1 | 0.071429 | false | 0 | 0.035714 | 0.017857 | 0.151786 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
32557781a4118146356520c8ed1f5cb649e08b5a | 416 | py | Python | master.py | Ayush2007A/Code-master | fafe4a020adc3f8e78c78f6b8b2b08b5c3005613 | [
"Unlicense"
] | 1 | 2021-02-05T10:29:30.000Z | 2021-02-05T10:29:30.000Z | master.py | Ayush2007A/Code-master | fafe4a020adc3f8e78c78f6b8b2b08b5c3005613 | [
"Unlicense"
] | null | null | null | master.py | Ayush2007A/Code-master | fafe4a020adc3f8e78c78f6b8b2b08b5c3005613 | [
"Unlicense"
] | null | null | null | print("""
__ __ __ __
/ \ / \ / \ / \
____________________/ __\/ __\/ __\/ __\_____________________________
___________________/ /__/ /__/ /__/ /________________________________
| / \ / \ / \ / \ \___
... | 41.6 | 74 | 0.334135 | 2 | 416 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.528846 | 416 | 9 | 75 | 46.222222 | 0.030612 | 0 | 0 | 0 | 0 | 0 | 0.965602 | 0.211302 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
325f5ab84438ea39d28de4e4599ef573bbd9a6b8 | 52 | py | Python | har2python/__init__.py | MichalCab/har2python | da195215d4e9a522754cb8c8feabd20c58e551d9 | [
"Apache-2.0"
] | 5 | 2016-05-23T18:21:30.000Z | 2018-12-15T13:54:18.000Z | har2python/__init__.py | MichalCab/har2python | da195215d4e9a522754cb8c8feabd20c58e551d9 | [
"Apache-2.0"
] | 2 | 2015-02-12T00:33:07.000Z | 2021-08-04T21:22:58.000Z | har2python/__init__.py | MichalCab/har2python | da195215d4e9a522754cb8c8feabd20c58e551d9 | [
"Apache-2.0"
] | 1 | 2015-01-29T22:04:27.000Z | 2015-01-29T22:04:27.000Z | import har2python
def main():
har2python.main()
| 13 | 21 | 0.711538 | 6 | 52 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.173077 | 52 | 3 | 22 | 17.333333 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32612b44ac231be177a963dfd423193e1e6da7bb | 28 | py | Python | hello.py | qq727923587/silver-spork | b64d114133ab45c36167a6ab43c76a26aea9894a | [
"Apache-2.0"
] | null | null | null | hello.py | qq727923587/silver-spork | b64d114133ab45c36167a6ab43c76a26aea9894a | [
"Apache-2.0"
] | null | null | null | hello.py | qq727923587/silver-spork | b64d114133ab45c36167a6ab43c76a26aea9894a | [
"Apache-2.0"
] | null | null | null | print("hello")
import pytest | 14 | 14 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 2 | 15 | 14 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
328d5eec5df937afdc28b0c7c129e6a1778a4e96 | 286 | py | Python | python/Regularization.py | jakelong0509/Song_Detector | 57ac4b206b985f2c9e40423a9f79deacbc88f64e | [
"MIT"
] | 3 | 2018-11-09T17:56:58.000Z | 2019-05-15T19:43:58.000Z | python/Regularization.py | jakelong0509/Song_Detector | 57ac4b206b985f2c9e40423a9f79deacbc88f64e | [
"MIT"
] | 1 | 2018-11-09T17:45:12.000Z | 2018-11-09T23:12:21.000Z | python/Regularization.py | jakelong0509/Song_Detector | 57ac4b206b985f2c9e40423a9f79deacbc88f64e | [
"MIT"
] | null | null | null | import numpy as np
import os
import sys
class regularization():
def __init__(self, hidden_state):
# shape of hidden_state = (Tx, 2 * n_a)
self.hidden_state = hidden_state
def dropout(self, ):
shape = self.hidden_state.shape
eye = np.eye(shape)
| 22 | 47 | 0.643357 | 40 | 286 | 4.35 | 0.525 | 0.316092 | 0.258621 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.265734 | 286 | 12 | 48 | 23.833333 | 0.82381 | 0.129371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32b122bbca3b0916f8b658ea27ad8ca7914a6208 | 108 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/test/conftest.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/test/conftest.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/common/test/conftest.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """Code run by pylint before running any tests."""
from safe_lxml import defuse_xml_libs
defuse_xml_libs()
| 21.6 | 50 | 0.787037 | 18 | 108 | 4.444444 | 0.833333 | 0.225 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 108 | 4 | 51 | 27 | 0.851064 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
087e4d30f215534b4f3b29415649e10e44dfc5c5 | 26 | py | Python | __init__.py | ranchlai/melgan | 79a78ad0d4d32c2d8fbc868010088958f00f23ef | [
"BSD-3-Clause"
] | null | null | null | __init__.py | ranchlai/melgan | 79a78ad0d4d32c2d8fbc868010088958f00f23ef | [
"BSD-3-Clause"
] | null | null | null | __init__.py | ranchlai/melgan | 79a78ad0d4d32c2d8fbc868010088958f00f23ef | [
"BSD-3-Clause"
] | null | null | null | from .melgan import MelGAN | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08a9cf9b170369fcf8015267c80a1263f8ec892c | 30 | py | Python | mysite/media/test.py | davidefabbrico/Progetto_School | e32e345d154764725b96e2d22b441a17fae67ade | [
"MIT"
] | 1 | 2021-09-04T08:56:32.000Z | 2021-09-04T08:56:32.000Z | mysite/media/test.py | davidefabbrico/Progetto_School | e32e345d154764725b96e2d22b441a17fae67ade | [
"MIT"
] | null | null | null | mysite/media/test.py | davidefabbrico/Progetto_School | e32e345d154764725b96e2d22b441a17fae67ade | [
"MIT"
] | null | null | null | print('ciao mi chiamo davide') | 30 | 30 | 0.766667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
08d4e2c5f32f0b6084bc16576ec3825d0a117df5 | 782 | py | Python | test/test/test_operations.py | KaiserMovet/python_tutorial | f3c4e6a4e0ef2f544599504c99e7db7454111723 | [
"MIT"
] | 1 | 2021-01-20T10:56:54.000Z | 2021-01-20T10:56:54.000Z | test/test/test_operations.py | KaiserMovet/python_tutorial | f3c4e6a4e0ef2f544599504c99e7db7454111723 | [
"MIT"
] | null | null | null | test/test/test_operations.py | KaiserMovet/python_tutorial | f3c4e6a4e0ef2f544599504c99e7db7454111723 | [
"MIT"
] | null | null | null | from Calculator import Calculator
def test_add():
calc_obj = Calculator("Test")
error_list = []
test_numbers_list = [(1, 2, 5), (4, 5, 5)]
for test_numbers in test_numbers_list:
a, b, c = test_numbers
res = calc_obj.add(a, b)
if res != c:
error_list.append(F"ADD {a}... | 27.928571 | 69 | 0.574169 | 122 | 782 | 3.467213 | 0.270492 | 0.170213 | 0.141844 | 0.099291 | 0.822695 | 0.822695 | 0.822695 | 0.822695 | 0.822695 | 0.70922 | 0 | 0.022727 | 0.268542 | 782 | 27 | 70 | 28.962963 | 0.716783 | 0 | 0 | 0.571429 | 0 | 0 | 0.106138 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
08d5f2628cf638d300d413d16dbdb7601993990a | 28 | py | Python | wand/apps/__init__.py | phvalguima/kafka_charm_lib | 0062a277c12f5650f2a18b17eae8529500fafafe | [
"Apache-2.0"
] | null | null | null | wand/apps/__init__.py | phvalguima/kafka_charm_lib | 0062a277c12f5650f2a18b17eae8529500fafafe | [
"Apache-2.0"
] | null | null | null | wand/apps/__init__.py | phvalguima/kafka_charm_lib | 0062a277c12f5650f2a18b17eae8529500fafafe | [
"Apache-2.0"
] | null | null | null | from .kafka import * # noqa
| 14 | 27 | 0.678571 | 4 | 28 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 1 | 28 | 28 | 0.863636 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3e98a9490550ca9ad91119aa79de8c4b89a25cef | 17,269 | py | Python | utils/currency.py | Wilidon/mpetsbot | 14f3d7b81f0439fd3585a466fe68d327bdbfcd56 | [
"MIT"
] | null | null | null | utils/currency.py | Wilidon/mpetsbot | 14f3d7b81f0439fd3585a466fe68d327bdbfcd56 | [
"MIT"
] | null | null | null | utils/currency.py | Wilidon/mpetsbot | 14f3d7b81f0439fd3585a466fe68d327bdbfcd56 | [
"MIT"
] | null | null | null | import asyncio
import random
import bs4
from aiohttp import ClientTimeout, ClientSession
from bs4 import BeautifulSoup
from loguru import logger
from lxml import html
from vkwave.bots import SimpleLongPollBot
from config import get_settings
from mpets import MpetsApi
async def thread_popcorn(thread_id, page, cookie... | 40.728774 | 108 | 0.525334 | 1,985 | 17,269 | 4.483627 | 0.089169 | 0.053034 | 0.040449 | 0.038427 | 0.813146 | 0.783146 | 0.772921 | 0.753483 | 0.726854 | 0.716742 | 0 | 0.023166 | 0.355087 | 17,269 | 424 | 109 | 40.728774 | 0.774535 | 0.006659 | 0 | 0.670455 | 0 | 0 | 0.138179 | 0.001269 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.034091 | 0.028409 | 0 | 0.184659 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3ed6162db4ea716d71e22d31ed3d2f5173508821 | 102 | py | Python | backhaul/ui/scenes/base.py | tmacro/backhaul | 0e234b1ad5d0998d6a116051feb9087482dc8bb4 | [
"BSD-3-Clause"
] | 1 | 2019-05-13T20:10:57.000Z | 2019-05-13T20:10:57.000Z | backhaul/ui/scenes/base.py | tmacro/backhaul | 0e234b1ad5d0998d6a116051feb9087482dc8bb4 | [
"BSD-3-Clause"
] | 4 | 2021-03-18T23:26:46.000Z | 2022-03-11T23:44:27.000Z | backhaul/ui/scenes/base.py | tmacro/backhaul | 0e234b1ad5d0998d6a116051feb9087482dc8bb4 | [
"BSD-3-Clause"
] | null | null | null | class Scene:
@staticmethod
def handlers():
return {}
@classmethod
def build(cls, ui):
pass
| 11.333333 | 20 | 0.656863 | 12 | 102 | 5.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22549 | 102 | 9 | 21 | 11.333333 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
411e442894d5a835cb1b39476189e217c4adb358 | 18,879 | py | Python | BasinCMA_summary.py | Animadversio/Visual_Neuro_InSilico_Exp | 39b1e65e5613b064361c09c7d3f88496f3a7efd2 | [
"Apache-2.0"
] | 2 | 2020-02-03T18:16:26.000Z | 2020-05-01T18:27:01.000Z | BasinCMA_summary.py | Animadversio/Visual_Neuro_InSilico_Exp | 39b1e65e5613b064361c09c7d3f88496f3a7efd2 | [
"Apache-2.0"
] | null | null | null | BasinCMA_summary.py | Animadversio/Visual_Neuro_InSilico_Exp | 39b1e65e5613b064361c09c7d3f88496f3a7efd2 | [
"Apache-2.0"
] | 2 | 2020-01-24T17:27:33.000Z | 2020-08-30T02:54:13.000Z | import cma
import tqdm
from pytorch_pretrained_biggan import BigGAN, truncated_noise_sample, BigGANConfig
import torch
import torchvision
from torchvision.transforms import ToPILImage
from torchvision.utils import make_grid
from torch.optim import SGD, Adam
import os
import re
import sys
import numpy as np
import panda... | 57.911043 | 170 | 0.697601 | 3,195 | 18,879 | 3.947418 | 0.066354 | 0.098002 | 0.016651 | 0.038059 | 0.90517 | 0.892325 | 0.870996 | 0.857675 | 0.800428 | 0.725103 | 0 | 0.042802 | 0.115154 | 18,879 | 326 | 171 | 57.911043 | 0.712182 | 0.025637 | 0 | 0.472222 | 0 | 0.034722 | 0.16528 | 0.03991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0.006944 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f5bf24703055af297d6c4776235f76cc7470bb19 | 1,396 | py | Python | AutomationFramework/tests/routing_policy/test_rp_community_def.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 1 | 2020-04-23T15:22:16.000Z | 2020-04-23T15:22:16.000Z | AutomationFramework/tests/routing_policy/test_rp_community_def.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 44 | 2020-08-13T19:35:41.000Z | 2021-03-01T09:08:00.000Z | AutomationFramework/tests/routing_policy/test_rp_community_def.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 6 | 2020-04-23T15:29:38.000Z | 2022-03-03T14:23:38.000Z | import pytest
from AutomationFramework.page_objects.routing_policy.routing_policy import RoutingPolicy
from AutomationFramework.tests.base_test import BaseTest
class TestRPCommunityDef(BaseTest):
test_case_file = 'rp_community_def.yml'
@pytest.mark.parametrize('create_page_object_arg', [{'test_case_file': te... | 63.454545 | 117 | 0.701289 | 161 | 1,396 | 5.47205 | 0.248447 | 0.118048 | 0.181612 | 0.072645 | 0.77185 | 0.77185 | 0.758229 | 0.742338 | 0.742338 | 0.742338 | 0 | 0 | 0.234241 | 1,396 | 21 | 118 | 66.47619 | 0.824135 | 0 | 0 | 0.470588 | 0 | 0 | 0.164756 | 0.08596 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.117647 | false | 0 | 0.176471 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f5ce1ee7efff8172304376a69b54dfd34a11da23 | 372 | py | Python | day_5/test_day5_pt1.py | allisonhonold/advent_of_code | a0f19a7b23e3112698944512efa2d23794c02a82 | [
"MIT"
] | null | null | null | day_5/test_day5_pt1.py | allisonhonold/advent_of_code | a0f19a7b23e3112698944512efa2d23794c02a82 | [
"MIT"
] | null | null | null | day_5/test_day5_pt1.py | allisonhonold/advent_of_code | a0f19a7b23e3112698944512efa2d23794c02a82 | [
"MIT"
] | null | null | null | from day5_pt1 import parse_instruction
def test_parse_instruction0():
assert parse_instruction([12345, 1, 2], 0)[0] == '45', "Should be last two digits"
def test_parse_instruction1():
assert parse_instruction([12345, 1, 2], 0)[1] == [3, 2, 1], "Should be 3,2,1"
def test_parse_intruction2():
assert parse_... | 37.2 | 86 | 0.685484 | 60 | 372 | 4.066667 | 0.383333 | 0.262295 | 0.147541 | 0.331967 | 0.368852 | 0.368852 | 0.368852 | 0 | 0 | 0 | 0 | 0.133758 | 0.155914 | 372 | 10 | 87 | 37.2 | 0.643312 | 0 | 0 | 0 | 0 | 0 | 0.142091 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.428571 | true | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f5e45a320c0df5ebaf446550aa5b53e028c578af | 43 | py | Python | boa3/model/builtin/interop/storage/storagemap/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3/model/builtin/interop/storage/storagemap/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3/model/builtin/interop/storage/storagemap/__init__.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from .storagemaptype import StorageMapType
| 21.5 | 42 | 0.883721 | 4 | 43 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb025404ea76e20594e8c46d0b5e375c9a1f41fc | 3,087 | py | Python | src/FFEAT/test/scaling/ExponentialScaleTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/test/scaling/ExponentialScaleTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/test/scaling/ExponentialScaleTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | ###############################
#
# Created by Patrik Valkovic
# 3/16/2021
#
###############################
import unittest
import torch as t
from ffeat.utils import scaling
class ExponentialScaleTest(unittest.TestCase):
def test_zero_one(self):
s = scaling.ExponentialScale(0.0, 1.0)
f = t.arange... | 38.111111 | 82 | 0.598639 | 418 | 3,087 | 4.320574 | 0.169856 | 0.124031 | 0.053156 | 0.124031 | 0.821705 | 0.791251 | 0.719823 | 0.719823 | 0.719823 | 0.719823 | 0 | 0.104381 | 0.24587 | 3,087 | 80 | 83 | 38.5875 | 0.671392 | 0.011662 | 0 | 0.603175 | 0 | 0 | 0.010054 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 1 | 0.126984 | false | 0 | 0.047619 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de18dc9a7edee7462e01dc3791c5f31834fc0bec | 10,757 | py | Python | tests/test_config.py | ofek/hatch-mypyc | 356a01f2296102393127f6b5777a64d192589c6a | [
"MIT"
] | 5 | 2022-02-02T01:39:24.000Z | 2022-02-28T09:29:46.000Z | tests/test_config.py | ofek/hatch-mypyc | 356a01f2296102393127f6b5777a64d192589c6a | [
"MIT"
] | null | null | null | tests/test_config.py | ofek/hatch-mypyc | 356a01f2296102393127f6b5777a64d192589c6a | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2021-present Ofek Lev <oss@ofek.dev>
#
# SPDX-License-Identifier: MIT
import pytest
from hatchling.builders.config import BuilderConfig
from hatch_mypyc.plugin import MypycBuildHook
class TestMypyArgs:
def test_correct(self, new_project):
config = {'mypy-args': ['foo']}
... | 44.450413 | 118 | 0.669425 | 1,377 | 10,757 | 4.962237 | 0.068991 | 0.125128 | 0.084297 | 0.087516 | 0.896678 | 0.822772 | 0.809893 | 0.761891 | 0.746378 | 0.717401 | 0 | 0.004706 | 0.20991 | 10,757 | 241 | 119 | 44.634855 | 0.799271 | 0.008274 | 0 | 0.619565 | 0 | 0.005435 | 0.140098 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 1 | 0.125 | false | 0 | 0.016304 | 0 | 0.173913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de716d8590732ae5eee1d723eeb1d563e0a8604d | 104 | py | Python | 15/02/0.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 15/02/0.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 15/02/0.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | #!python3.6
import re
print('match', re.match("c", "abcdef"))
print('search', re.search("c", "abcdef"))
| 20.8 | 41 | 0.634615 | 16 | 104 | 4.125 | 0.5625 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.086538 | 104 | 4 | 42 | 26 | 0.673684 | 0.096154 | 0 | 0 | 0 | 0 | 0.268817 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
dea313a29d9b05aaee7fb6919e0a9181226bfcca | 2,127 | py | Python | tests/convert/test_common_functions.py | OneRaynyDay/treeno | ce11b8447f471c0b5ea596a211b3855625ec43eb | [
"MIT"
] | 1 | 2021-12-28T19:00:01.000Z | 2021-12-28T19:00:01.000Z | tests/convert/test_common_functions.py | OneRaynyDay/treeno | ce11b8447f471c0b5ea596a211b3855625ec43eb | [
"MIT"
] | null | null | null | tests/convert/test_common_functions.py | OneRaynyDay/treeno | ce11b8447f471c0b5ea596a211b3855625ec43eb | [
"MIT"
] | null | null | null | from treeno.expression import Array, wrap_literal
from treeno.functions.common import Concatenate
from treeno.grammar.gen.SqlBaseParser import SqlBaseParser
from .helpers import VisitorTest, get_parser
class TestFunction(VisitorTest):
def test_concatenate(self):
ast = get_parser("'2' || '3'").valueExpres... | 40.132075 | 80 | 0.638458 | 231 | 2,127 | 5.748918 | 0.164502 | 0.016566 | 0.04744 | 0.054217 | 0.8125 | 0.8125 | 0.8125 | 0.77259 | 0.77259 | 0.77259 | 0 | 0.025594 | 0.228491 | 2,127 | 52 | 81 | 40.903846 | 0.783668 | 0 | 0 | 0.413043 | 0 | 0 | 0.089328 | 0.012694 | 0 | 0 | 0 | 0 | 0.26087 | 1 | 0.021739 | false | 0 | 0.086957 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dec37a01d3bac9135339627f9e5f67e0cc5d881d | 873 | py | Python | Codewars/7kyu/order-of-weight/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/order-of-weight/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/order-of-weight/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
Test.describe('Basic tests')
Test.assert_equals(arrange(['200G', '300G', '150G', '100KG']), ['150G', '200G', '300G', '100KG'])
Test.assert_equals(arrange(['400G', '100T', '150KG', '100G']), ['100G', '400G', '150KG', '100T'])
Test.assert_equals(arrange(['4T', '300G', '450G', '900KG']), ['300G', '450G',... | 62.357143 | 99 | 0.601375 | 110 | 873 | 4.681818 | 0.281818 | 0.194175 | 0.31068 | 0.446602 | 0.149515 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220698 | 0.081329 | 873 | 13 | 100 | 67.153846 | 0.421446 | 0.016037 | 0 | 0 | 0 | 0 | 0.309218 | 0 | 0 | 0 | 0 | 0 | 0.909091 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
722ab173edb23687d0ee8cd05e95e6e03b59a53d | 474 | py | Python | django_cricket_statistics/views/__init__.py | drewyh/django-cricket-statistics | f5a9b112d83c1a0d2c974f8a8b491a87c92cf8de | [
"Apache-2.0"
] | null | null | null | django_cricket_statistics/views/__init__.py | drewyh/django-cricket-statistics | f5a9b112d83c1a0d2c974f8a8b491a87c92cf8de | [
"Apache-2.0"
] | 4 | 2020-08-28T06:20:10.000Z | 2020-09-22T13:42:06.000Z | django_cricket_statistics/views/__init__.py | drewyh/django-cricket-statistics | f5a9b112d83c1a0d2c974f8a8b491a87c92cf8de | [
"Apache-2.0"
] | null | null | null | """Views for cricket statistics."""
from django_cricket_statistics.views.common import *
from django_cricket_statistics.views.batting import *
from django_cricket_statistics.views.bowling import *
from django_cricket_statistics.views.wicketkeeping import *
from django_cricket_statistics.views.fielding import *
from dj... | 36.461538 | 59 | 0.852321 | 60 | 474 | 6.466667 | 0.25 | 0.39433 | 0.350515 | 0.556701 | 0.768041 | 0.685567 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 474 | 12 | 60 | 39.5 | 0.891954 | 0.061181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d4632e2a632bafbdf741129ae17c77863fc1d13 | 20,230 | py | Python | tests/unit/test_column_family.py | mf2199/python-bigtable | ee3a6c4c5f810fab08671db3407195864ecc1972 | [
"Apache-2.0"
] | 34 | 2020-07-27T19:14:01.000Z | 2022-03-31T14:46:53.000Z | tests/unit/test_column_family.py | mf2199/python-bigtable | ee3a6c4c5f810fab08671db3407195864ecc1972 | [
"Apache-2.0"
] | 254 | 2020-01-31T23:44:06.000Z | 2022-03-23T22:52:49.000Z | tests/unit/test_column_family.py | mf2199/python-bigtable | ee3a6c4c5f810fab08671db3407195864ecc1972 | [
"Apache-2.0"
] | 30 | 2020-01-31T20:45:34.000Z | 2022-03-23T19:56:42.000Z | # Copyright 2015 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, s... | 30.885496 | 88 | 0.744933 | 2,732 | 20,230 | 5.076501 | 0.073572 | 0.058836 | 0.044344 | 0.067993 | 0.862715 | 0.831278 | 0.791261 | 0.74598 | 0.717572 | 0.66508 | 0 | 0.015935 | 0.174839 | 20,230 | 654 | 89 | 30.932722 | 0.814892 | 0.052397 | 0 | 0.635955 | 0 | 0 | 0.022416 | 0 | 0 | 0 | 0 | 0 | 0.107865 | 1 | 0.121348 | false | 0.002247 | 0.137079 | 0 | 0.296629 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9d53cea107880b06936e7c9e6cda8a6707038c23 | 57 | py | Python | lib/net/__init__.py | Bazinga699/NCL | 8b1d1bfaa1cf4473c210e314c1bdc080c04f78d2 | [
"BSD-2-Clause"
] | 32 | 2022-03-19T08:03:54.000Z | 2022-03-31T17:34:51.000Z | lib/net/__init__.py | sce0022/NCL | 2bbf193d16c67ca8ec7784c88557abfab3114391 | [
"BSD-2-Clause"
] | 1 | 2022-03-21T08:32:43.000Z | 2022-03-21T08:32:43.000Z | lib/net/__init__.py | sce0022/NCL | 2bbf193d16c67ca8ec7784c88557abfab3114391 | [
"BSD-2-Clause"
] | 21 | 2022-03-19T08:15:48.000Z | 2022-03-28T15:00:03.000Z | from net.network import multi_Network, multi_Network_MOCO | 57 | 57 | 0.894737 | 9 | 57 | 5.333333 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d544c01a6a1b3626bd2a2761801b1831e925733 | 81 | py | Python | sap/conf/config.py | pletnes/cloud-pysec | 4f91e3875ee36cb3e9b361e8b598070ce9523128 | [
"Apache-2.0"
] | null | null | null | sap/conf/config.py | pletnes/cloud-pysec | 4f91e3875ee36cb3e9b361e8b598070ce9523128 | [
"Apache-2.0"
] | null | null | null | sap/conf/config.py | pletnes/cloud-pysec | 4f91e3875ee36cb3e9b361e8b598070ce9523128 | [
"Apache-2.0"
] | null | null | null | import os
USE_SAP_PY_JWT = os.getenv('USE_SAP_PY_JWT', 'true').lower() == 'true'
| 27 | 70 | 0.703704 | 15 | 81 | 3.4 | 0.6 | 0.235294 | 0.313725 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 2 | 71 | 40.5 | 0.69863 | 0 | 0 | 0 | 0 | 0 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
19c9eef4138c364f00f21bbd0644fc695a578a72 | 6,072 | py | Python | 3-qubit/model.py | ewellchen/Entanglement_detection | 6622ffbdfb09c12389af79e35a98b65b367f15f7 | [
"MIT"
] | 5 | 2020-09-16T08:12:43.000Z | 2021-12-04T12:57:54.000Z | 3-qubit/model.py | ewellchen/Entanglement_detection | 6622ffbdfb09c12389af79e35a98b65b367f15f7 | [
"MIT"
] | null | null | null | 3-qubit/model.py | ewellchen/Entanglement_detection | 6622ffbdfb09c12389af79e35a98b65b367f15f7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Construct the computational graph of model for training. """
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import torch
import torch.nn as nn
from complexLayers import ComplexBatchNorm2d, Compl... | 35.302326 | 99 | 0.52948 | 905 | 6,072 | 3.451934 | 0.099448 | 0.149808 | 0.082586 | 0.099872 | 0.798335 | 0.795775 | 0.784571 | 0.78169 | 0.766325 | 0.739437 | 0 | 0.083901 | 0.322793 | 6,072 | 171 | 100 | 35.508772 | 0.675827 | 0.161232 | 0 | 0.758929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.0625 | 0 | 0.205357 | 0.008929 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19d0eadcd0e94b0f0f4d32e1c33e267a78c353ad | 8,885 | py | Python | misc/layers.py | Aaron-Jin-Xu/hml | 31870d599ceea10fd7e3482097fa0d983c7d908c | [
"MIT"
] | 1 | 2018-07-31T10:16:15.000Z | 2018-07-31T10:16:15.000Z | misc/layers.py | jinxu06/hml | 31870d599ceea10fd7e3482097fa0d983c7d908c | [
"MIT"
] | null | null | null | misc/layers.py | jinxu06/hml | 31870d599ceea10fd7e3482097fa0d983c7d908c | [
"MIT"
] | 1 | 2018-09-04T02:57:57.000Z | 2018-09-04T02:57:57.000Z | """
Various tensorflow utilities
"""
import numpy as np
import tensorflow as tf
from tensorflow.contrib.framework.python.ops import add_arg_scope
from misc.helpers import int_shape, get_name
@add_arg_scope
def dense(inputs, num_outputs, W=None, b=None, nonlinearity=None, bn=False, kernel_initializer=None, kernel_reg... | 48.818681 | 206 | 0.640855 | 1,371 | 8,885 | 4.008753 | 0.110139 | 0.060044 | 0.032023 | 0.026201 | 0.813319 | 0.79385 | 0.763282 | 0.755095 | 0.728712 | 0.715066 | 0 | 0.031897 | 0.195498 | 8,885 | 181 | 207 | 49.088398 | 0.736989 | 0.077434 | 0 | 0.510949 | 0 | 0 | 0.027464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109489 | false | 0.014599 | 0.029197 | 0 | 0.255474 | 0.029197 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19d5f0b58742ecc38ae658550d21c968f3889042 | 35 | py | Python | src/logging/__init__.py | 2kodevs/Search-Engine | 840001f825d9632c6c7a5fd24151b79ca1a9a06b | [
"MIT"
] | null | null | null | src/logging/__init__.py | 2kodevs/Search-Engine | 840001f825d9632c6c7a5fd24151b79ca1a9a06b | [
"MIT"
] | null | null | null | src/logging/__init__.py | 2kodevs/Search-Engine | 840001f825d9632c6c7a5fd24151b79ca1a9a06b | [
"MIT"
] | null | null | null | from .logging import LoggerFactory
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19d9e7e4d0eb36896ba74011961f0d2b3f52993b | 356 | py | Python | Website/site/statements.py | NPPC-UK/Gravimetrics | a4a4bada6da5e2c3dd6f58e7fa4ca226fc374d86 | [
"MIT"
] | 4 | 2016-11-19T00:34:45.000Z | 2021-12-30T14:27:01.000Z | Website/site/statements.py | NPPC-UK/Gravimetrics | a4a4bada6da5e2c3dd6f58e7fa4ca226fc374d86 | [
"MIT"
] | null | null | null | Website/site/statements.py | NPPC-UK/Gravimetrics | a4a4bada6da5e2c3dd6f58e7fa4ca226fc374d86 | [
"MIT"
] | null | null | null | get_staff_sql = "select is_phen_staff from user_privileges inner join user_registrations on user_privileges.id_user=user_registrations.id_user where user_registrations.email='{0}'"
get_salt_sql = "select salt from user_registrations where email='{0}'"
get_name_passwd_sql = "select username from user_registrations whe... | 59.333333 | 180 | 0.811798 | 54 | 356 | 5.018519 | 0.444444 | 0.313653 | 0.066421 | 0.191882 | 0.236162 | 0.236162 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.095506 | 356 | 5 | 181 | 71.2 | 0.829193 | 0 | 0 | 0 | 0 | 0.333333 | 0.820225 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
c23b3fe81e8729a4979029a5d7e1c57aa61b76a0 | 7,740 | py | Python | data/build.py | huangzongheng/NAMA | e9bc5b9ca0c1dd5fff2f0613fdaac9fc5b038152 | [
"MIT"
] | null | null | null | data/build.py | huangzongheng/NAMA | e9bc5b9ca0c1dd5fff2f0613fdaac9fc5b038152 | [
"MIT"
] | null | null | null | data/build.py | huangzongheng/NAMA | e9bc5b9ca0c1dd5fff2f0613fdaac9fc5b038152 | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
@author: liaoxingyu
@contact: sherlockliao01@gmail.com
"""
from torch.utils.data import DataLoader
from .collate_batch import train_collate_fn, val_collate_fn, train_qg_collate_fn,\
train_ema_collate_fn, train_attr_collate_fn
from .datasets import init_dataset, ImageDataset, ImageDatasetEma... | 48.679245 | 135 | 0.725581 | 1,002 | 7,740 | 5.282435 | 0.083832 | 0.061213 | 0.037408 | 0.039675 | 0.87833 | 0.876063 | 0.853769 | 0.849046 | 0.833176 | 0.833176 | 0 | 0.001117 | 0.190568 | 7,740 | 158 | 136 | 48.987342 | 0.843735 | 0.152584 | 0 | 0.655462 | 0 | 0 | 0.005211 | 0 | 0 | 0 | 0 | 0.006329 | 0 | 1 | 0.033613 | false | 0 | 0.042017 | 0 | 0.109244 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dff5a22fcf1de17e4708072cdc7aec96f99ee727 | 229 | py | Python | {{cookiecutter.project_slug}}/pkg/{{cookiecutter.project_slug}}/test_{{cookiecutter.project_slug}}.py | asecurityteam/template-python-service | 4abaa8d91246f75fd0f66453fabedc0d9f6825b7 | [
"Apache-2.0"
] | null | null | null | {{cookiecutter.project_slug}}/pkg/{{cookiecutter.project_slug}}/test_{{cookiecutter.project_slug}}.py | asecurityteam/template-python-service | 4abaa8d91246f75fd0f66453fabedc0d9f6825b7 | [
"Apache-2.0"
] | null | null | null | {{cookiecutter.project_slug}}/pkg/{{cookiecutter.project_slug}}/test_{{cookiecutter.project_slug}}.py | asecurityteam/template-python-service | 4abaa8d91246f75fd0f66453fabedc0d9f6825b7 | [
"Apache-2.0"
] | null | null | null | '''Runs unit tests on {{cookiecutter.project_slug}}'''
from pkg.{{cookiecutter.project_slug}}.{{cookiecutter.project_slug}} import {{cookiecutter.project_slug}}
def test_init():
assert {{cookiecutter.project_slug}}() is None | 45.8 | 105 | 0.751092 | 28 | 229 | 5.928571 | 0.571429 | 0.572289 | 0.692771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082969 | 229 | 5 | 106 | 45.8 | 0.790476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a03c067ea0d1610cc34d911974b88b3f6292d667 | 440 | py | Python | scripts/hello_again/master_script.py | muhdamrullah/air-auth | c4a6238f9d7af9acb75321384618d7ad560cbe47 | [
"MIT"
] | null | null | null | scripts/hello_again/master_script.py | muhdamrullah/air-auth | c4a6238f9d7af9acb75321384618d7ad560cbe47 | [
"MIT"
] | null | null | null | scripts/hello_again/master_script.py | muhdamrullah/air-auth | c4a6238f9d7af9acb75321384618d7ad560cbe47 | [
"MIT"
] | null | null | null | import subprocess
import os
FNULL = open(os.devnull, 'w')
subprocess.Popen('python live_stream.py', shell=True, stdout=FNULL, stderr=subprocess.STDOUT)
subprocess.Popen('python processed_stream.py', shell=True, stdout=FNULL, stderr=subprocess.STDOUT)
subprocess.Popen('python database_lookup.py', shell=True, stdout=FNU... | 48.888889 | 98 | 0.8 | 60 | 440 | 5.816667 | 0.333333 | 0.17192 | 0.240688 | 0.194842 | 0.719198 | 0.719198 | 0.719198 | 0.719198 | 0.593123 | 0.593123 | 0 | 0 | 0.065909 | 440 | 8 | 99 | 55 | 0.849148 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a076ffd49475376c3bf65df290246bd1354de233 | 80 | py | Python | tests/web/redirect/internal_redirect.py | movermeyer/tangelo | 470034ee9b3d7a01becc1ce5fddc7adc1d5263ef | [
"Apache-2.0"
] | 40 | 2015-01-09T02:56:33.000Z | 2019-03-01T05:34:13.000Z | tests/web/redirect/internal_redirect.py | movermeyer/tangelo | 470034ee9b3d7a01becc1ce5fddc7adc1d5263ef | [
"Apache-2.0"
] | 98 | 2015-01-05T12:51:29.000Z | 2019-01-23T20:16:48.000Z | tests/web/redirect/internal_redirect.py | movermeyer/tangelo | 470034ee9b3d7a01becc1ce5fddc7adc1d5263ef | [
"Apache-2.0"
] | 21 | 2015-01-05T19:11:49.000Z | 2020-08-19T04:16:16.000Z | import tangelo
def run():
return tangelo.internal_redirect("content.txt")
| 13.333333 | 51 | 0.7375 | 10 | 80 | 5.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 5 | 52 | 16 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 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 | 0 | 0 | 0 | 6 |
a0858d8b520b7007563f067b17eb0c7b6c44f167 | 4,377 | py | Python | get_candidate_monomers.py | zhangtia/MSE482 | 843293b9f1e6a8d511dc340fef8a87dbccf7d9e5 | [
"MIT"
] | 2 | 2021-07-21T09:25:05.000Z | 2022-03-02T17:19:57.000Z | get_candidate_monomers.py | zhangtia/MSE482 | 843293b9f1e6a8d511dc340fef8a87dbccf7d9e5 | [
"MIT"
] | null | null | null | get_candidate_monomers.py | zhangtia/MSE482 | 843293b9f1e6a8d511dc340fef8a87dbccf7d9e5 | [
"MIT"
] | null | null | null | import pandas as pd
import matplotlib.pyplot as plt
from itertools import permutations
# Get the monomers found in the original dataset
old_df = pd.read_csv("featurized_4-block-polymer_data_SMILES.csv")
# Get a list of adjacent blocks in each monomer
bonds = []
for i, row in old_df.iterrows():
row_blocks = list(r... | 45.59375 | 165 | 0.692712 | 710 | 4,377 | 4.153521 | 0.176056 | 0.064429 | 0.140387 | 0.093252 | 0.810783 | 0.80468 | 0.784334 | 0.777213 | 0.754493 | 0.704985 | 0 | 0.0311 | 0.140507 | 4,377 | 95 | 166 | 46.073684 | 0.752791 | 0.119945 | 0 | 0.648649 | 0 | 0 | 0.299219 | 0.017188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013514 | false | 0 | 0.040541 | 0 | 0.081081 | 0.027027 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a0c41028aab20a323d33f3107ef6483557fb74bb | 36 | py | Python | mkgui/base/api/__init__.py | 10088/MockingBird | 6a793cea8488ad40fcad6ab30f9d82bc920ac114 | [
"MIT"
] | 2,642 | 2021-04-22T13:42:28.000Z | 2022-03-31T20:47:31.000Z | mkgui/base/api/__init__.py | 10088/MockingBird | 6a793cea8488ad40fcad6ab30f9d82bc920ac114 | [
"MIT"
] | 35 | 2021-04-23T06:06:03.000Z | 2022-03-18T19:49:48.000Z | mkgui/base/api/__init__.py | 10088/MockingBird | 6a793cea8488ad40fcad6ab30f9d82bc920ac114 | [
"MIT"
] | 125 | 2021-04-23T03:31:51.000Z | 2022-03-15T20:29:51.000Z | from .fastapi_app import create_api
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
260359d4a0d6103eac5a73a16f371e9068b9ca43 | 113 | py | Python | pypy/module/select/test/test_ztranslation.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | pypy/module/select/test/test_ztranslation.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | pypy/module/select/test/test_ztranslation.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z |
from pypy.objspace.fake.checkmodule import checkmodule
def test_select_translates():
checkmodule('select')
| 18.833333 | 54 | 0.79646 | 13 | 113 | 6.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 5 | 55 | 22.6 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
261f595e68ff49bbc9ff125cc62450bd7e16b61b | 162 | py | Python | dimcli/functions.py | lambdamusic/pydimensions | 22cf1da4b762a401db41f74a72ddd2c6da64896b | [
"MIT"
] | 18 | 2019-12-03T08:24:21.000Z | 2022-03-01T08:13:22.000Z | dimcli/functions.py | lambdamusic/pydimensions | 22cf1da4b762a401db41f74a72ddd2c6da64896b | [
"MIT"
] | 50 | 2019-03-06T09:30:09.000Z | 2019-10-25T16:24:25.000Z | dimcli/functions.py | lambdamusic/pydimensions | 22cf1da4b762a401db41f74a72ddd2c6da64896b | [
"MIT"
] | 5 | 2020-01-05T19:24:15.000Z | 2021-12-10T16:28:00.000Z | """
Utility module to facilitate import of .core.functions
``from dimcli.functions import extract_concepts``
"""
from . import *
from .core.functions import *
| 16.2 | 54 | 0.740741 | 20 | 162 | 5.95 | 0.6 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 9 | 55 | 18 | 0.862319 | 0.648148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd00e1b4a1c02e90f859c47b0fb379d3b07ba35d | 23,160 | py | Python | test/test_sparql_helper.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | 67 | 2021-01-17T20:12:44.000Z | 2022-03-07T06:57:01.000Z | test/test_sparql_helper.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | null | null | null | test/test_sparql_helper.py | gabrielmacedoanac/kgextension | 0551ca278bc3de5c39baf663467be3220ad20edd | [
"MIT"
] | 3 | 2021-04-17T09:19:31.000Z | 2021-10-03T21:29:56.000Z | from kgextension import __agent__
from SPARQLWrapper import __version__
from kgextension.sparql_helper import regex_string_generator, RemoteEndpoint, LocalEndpoint, endpoint_wrapper
from kgextension.endpoints import DBpedia, WikiData, EUOpenData
import pytest
import pandas as pd
import io
import sys
import pyparsing
im... | 48.964059 | 523 | 0.660147 | 2,752 | 23,160 | 5.417878 | 0.125363 | 0.04279 | 0.05446 | 0.078203 | 0.875386 | 0.856472 | 0.84279 | 0.825956 | 0.815359 | 0.814822 | 0 | 0.021251 | 0.185233 | 23,160 | 473 | 524 | 48.964059 | 0.768892 | 0 | 0 | 0.626761 | 0 | 0.088028 | 0.514572 | 0.027762 | 0 | 0 | 0 | 0 | 0.09507 | 1 | 0.112676 | false | 0 | 0.035211 | 0 | 0.161972 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cd405bf2b0dd4d8a72c8539938a0249372f8939a | 237 | py | Python | tasker/messages.py | ealang/rpi-adafruit-tasker | a691f3608c7a795016eff11db3e577b3746ae7e1 | [
"MIT"
] | null | null | null | tasker/messages.py | ealang/rpi-adafruit-tasker | a691f3608c7a795016eff11db3e577b3746ae7e1 | [
"MIT"
] | null | null | null | tasker/messages.py | ealang/rpi-adafruit-tasker | a691f3608c7a795016eff11db3e577b3746ae7e1 | [
"MIT"
] | null | null | null | class Message: pass
class AppStarted(Message): pass
class AppExited(Message): pass
class AppFailed(Message): pass
class ButtonPressed(Message):
def __init__(self, button: int):
super().__init__()
self.button = button
| 26.333333 | 36 | 0.7173 | 28 | 237 | 5.785714 | 0.464286 | 0.271605 | 0.395062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 237 | 8 | 37 | 29.625 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.5 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
cd6ab6cabbbc6dbb94d0fa9d1072a73ff37e68dd | 512 | py | Python | ui_auto/testcase/testsuits/run_all_tests.py | aoruilin/SeleniumBase | 304fd7a23661ebf561da47d4cd8f7365dba519ca | [
"MIT"
] | null | null | null | ui_auto/testcase/testsuits/run_all_tests.py | aoruilin/SeleniumBase | 304fd7a23661ebf561da47d4cd8f7365dba519ca | [
"MIT"
] | null | null | null | ui_auto/testcase/testsuits/run_all_tests.py | aoruilin/SeleniumBase | 304fd7a23661ebf561da47d4cd8f7365dba519ca | [
"MIT"
] | null | null | null | from ui_auto.testcase.edu_main_process import TestMainProcess
from ui_auto.testcase.course import TestCourse
from ui_auto.testcase.homework import TestHomework
from ui_auto.testcase.test_field_operation import TestFieldCase
from ui_auto.testcase.my_creation_work import TestMyCreation
from ui_auto.testcase.user_login_wr... | 51.2 | 63 | 0.894531 | 74 | 512 | 5.918919 | 0.459459 | 0.123288 | 0.205479 | 0.369863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 512 | 9 | 64 | 56.888889 | 0.920168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
269c508622b3ed69939d85dc4b1d25c043fe8b1a | 12,570 | py | Python | policyopt/functional.py | peterhj/arm-pytorch | d57f9a8ce76d9cc7b5e43929de8dec111e553e24 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-08-23T08:41:32.000Z | 2021-08-23T08:41:32.000Z | policyopt/functional.py | peterhj/arm-pytorch | d57f9a8ce76d9cc7b5e43929de8dec111e553e24 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | policyopt/functional.py | peterhj/arm-pytorch | d57f9a8ce76d9cc7b5e43929de8dec111e553e24 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from policyopt.autodiff import *
import numpy as np
import torch
import torch.cuda
import torch.nn.functional
# TODO
class ParamsBuilder(object):
def __init__(self):
self._keys = []
self._kvs = {}
def get_var(self, key, init_fn):
if key not in self._kvs:
self._keys.append(key)
self._kvs[... | 36.540698 | 101 | 0.667621 | 2,186 | 12,570 | 3.643641 | 0.069991 | 0.042938 | 0.084369 | 0.040678 | 0.842938 | 0.812053 | 0.79096 | 0.771751 | 0.758569 | 0.734589 | 0 | 0.053887 | 0.165871 | 12,570 | 343 | 102 | 36.64723 | 0.70577 | 0.09292 | 0 | 0.615385 | 0 | 0 | 0.009862 | 0 | 0 | 0 | 0 | 0.002915 | 0 | 1 | 0.153846 | false | 0 | 0.018315 | 0.021978 | 0.326007 | 0.003663 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
269c7eac4e5ea3849872ba93a2e0497c329d5234 | 80 | py | Python | torchsparse/__init__.py | collector-m/torchsparse | a41fe4b1f53f9ba27299a98162b679f9d6f449fe | [
"MIT"
] | 428 | 2020-08-30T02:00:57.000Z | 2022-03-31T05:49:42.000Z | torchsparse/__init__.py | collector-m/torchsparse | a41fe4b1f53f9ba27299a98162b679f9d6f449fe | [
"MIT"
] | 123 | 2020-08-31T10:22:39.000Z | 2022-03-31T15:57:13.000Z | torchsparse/__init__.py | collector-m/torchsparse | a41fe4b1f53f9ba27299a98162b679f9d6f449fe | [
"MIT"
] | 69 | 2020-09-01T14:53:05.000Z | 2022-03-25T05:26:34.000Z | from .operators import *
from .tensor import *
from .version import __version__
| 20 | 32 | 0.7875 | 10 | 80 | 5.9 | 0.5 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 80 | 3 | 33 | 26.666667 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.