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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f7c0cca37e5df83552df31144149e8f203cbab89 | 588 | py | Python | apis/tests/test_utils.py | laincloud/Console | 9d4fb68ad5378279697803ca45a4eda58d72d9a3 | [
"MIT"
] | 11 | 2016-05-04T11:55:01.000Z | 2018-09-29T01:00:05.000Z | apis/tests/test_utils.py | laincloud/Console | 9d4fb68ad5378279697803ca45a4eda58d72d9a3 | [
"MIT"
] | 21 | 2016-05-25T06:54:44.000Z | 2019-06-06T00:38:38.000Z | apis/tests/test_utils.py | laincloud/Console | 9d4fb68ad5378279697803ca45a4eda58d72d9a3 | [
"MIT"
] | 16 | 2016-05-13T08:20:43.000Z | 2021-12-31T09:23:14.000Z | # -*- coding: utf-8
import pytest
from apis.utils import get_meta_version_from_tag
def test_get_meta_version_from_tag():
assert get_meta_version_from_tag('meta-123-abc') == '123-abc'
assert get_meta_version_from_tag('release-123-abc') is None
assert get_meta_version_from_tag(None) is None
assert get... | 34.588235 | 65 | 0.768707 | 101 | 588 | 4.069307 | 0.207921 | 0.170316 | 0.340633 | 0.437956 | 0.827251 | 0.725061 | 0.659367 | 0.574209 | 0.333333 | 0.333333 | 0 | 0.037402 | 0.136054 | 588 | 16 | 66 | 36.75 | 0.771654 | 0.028912 | 0 | 0 | 0 | 0 | 0.12478 | 0 | 0 | 0 | 0 | 0 | 0.727273 | 1 | 0.090909 | true | 0 | 0.181818 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7dfe8e517bad53411f68c1a17ba623327da3556 | 37 | py | Python | detection/export/__init__.py | adamivora/ecg_arrhythmia_classification | 70f9a79c45c5b0315b496057dd8be6cf1f57b66a | [
"MIT"
] | 3 | 2020-07-19T07:01:36.000Z | 2021-12-06T06:29:54.000Z | detection/export/__init__.py | adamivora/ecg_arrhythmia_classification | 70f9a79c45c5b0315b496057dd8be6cf1f57b66a | [
"MIT"
] | null | null | null | detection/export/__init__.py | adamivora/ecg_arrhythmia_classification | 70f9a79c45c5b0315b496057dd8be6cf1f57b66a | [
"MIT"
] | null | null | null | from .onnx import export_onnx_models
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7fb59808ba0a6fc372d370b26c1fc45691c8bb2 | 111 | py | Python | applicationinsights/__init__.py | Rebeccalau/ApplicationInsights-Python | cc91fede2d6d6c48acaa5687aa13ca491a17025a | [
"MIT"
] | 89 | 2015-05-06T22:02:17.000Z | 2019-04-22T14:50:33.000Z | applicationinsights/__init__.py | Rebeccalau/ApplicationInsights-Python | cc91fede2d6d6c48acaa5687aa13ca491a17025a | [
"MIT"
] | 115 | 2015-04-29T17:44:52.000Z | 2019-04-25T21:39:02.000Z | applicationinsights/__init__.py | Rebeccalau/ApplicationInsights-Python | cc91fede2d6d6c48acaa5687aa13ca491a17025a | [
"MIT"
] | 59 | 2015-04-19T13:34:52.000Z | 2019-04-25T21:04:02.000Z | from .TelemetryClient import TelemetryClient
from . import channel
from . import logging
from . import requests | 27.75 | 44 | 0.828829 | 13 | 111 | 7.076923 | 0.461538 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 111 | 4 | 45 | 27.75 | 0.958333 | 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 |
f74419d29824f103711e979256d5dda0f65762b6 | 34,285 | py | Python | rhyme_init_tc.py | yuxiqian/ping-shui-rhymes | a22bf76c2690c6b0b482934c46e3df329dbe9197 | [
"MIT"
] | 1 | 2019-02-08T13:59:09.000Z | 2019-02-08T13:59:09.000Z | rhyme_init_tc.py | yuxiqian/ping-shui-rhymes | a22bf76c2690c6b0b482934c46e3df329dbe9197 | [
"MIT"
] | null | null | null | rhyme_init_tc.py | yuxiqian/ping-shui-rhymes | a22bf76c2690c6b0b482934c46e3df329dbe9197 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import rhyme_words_tc as rhyme_words
def PingShuiYunInit(sheet, mainIndex, secondIndex, Chars):
i = 0
while i < len(Chars):
oneChar = Chars[i]
if oneChar in "[]":
i += 1
continue
if i != len(Chars) - 1:
if Chars[i + 1] == '['... | 157.995392 | 1,350 | 0.865218 | 2,459 | 34,285 | 12.059374 | 0.772265 | 0.082215 | 0.02428 | 0.002125 | 0.006036 | 0.006036 | 0.006036 | 0.006036 | 0.006036 | 0.004114 | 0 | 0.008496 | 0.055914 | 34,285 | 216 | 1,351 | 158.726852 | 0.907656 | 0.000613 | 0 | 0.399038 | 0 | 0.322115 | 0.828761 | 0.828644 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009615 | false | 0 | 0.004808 | 0 | 0.019231 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f78d05dfb7f15e5f30c3b06f19b90ef91dbbe3ba | 224 | py | Python | reclib/data/fields/__init__.py | tingkai-zhang/reclib | 3c56dd7f811ab4d4f9f692efd0ee5e171a5f818b | [
"Apache-2.0"
] | 4 | 2019-09-16T08:33:19.000Z | 2020-12-15T09:06:38.000Z | reclib/data/fields/__init__.py | tingkai-zhang/reclib | 3c56dd7f811ab4d4f9f692efd0ee5e171a5f818b | [
"Apache-2.0"
] | null | null | null | reclib/data/fields/__init__.py | tingkai-zhang/reclib | 3c56dd7f811ab4d4f9f692efd0ee5e171a5f818b | [
"Apache-2.0"
] | 1 | 2020-03-04T21:33:44.000Z | 2020-03-04T21:33:44.000Z | """
A :class:`~reclib.data.fields.field.Field` is some piece of data instance
that ends up as an array in a model.
"""
from reclib.data.fields.field import Field
from reclib.data.fields.metadata_field import MetadataField
| 24.888889 | 73 | 0.772321 | 37 | 224 | 4.648649 | 0.621622 | 0.174419 | 0.27907 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129464 | 224 | 8 | 74 | 28 | 0.882051 | 0.491071 | 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 |
f79ec81f5cab59cf6be4dbc8ef74366b92ce49bf | 45 | py | Python | tests/roots/test-ext-viewcode-find/not_a_package/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 4,973 | 2015-01-03T15:44:00.000Z | 2022-03-31T03:11:51.000Z | tests/roots/test-ext-viewcode-find/not_a_package/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 7,850 | 2015-01-02T08:09:25.000Z | 2022-03-31T18:57:40.000Z | tests/roots/test-ext-viewcode-find/not_a_package/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 2,179 | 2015-01-03T15:26:53.000Z | 2022-03-31T12:22:44.000Z | from .submodule import Class1, func1 # NOQA
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.177778 | 45 | 1 | 45 | 45 | 0.864865 | 0.088889 | 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 |
e3993c6f2fd1ebba08370c3d4769235bdc9908a1 | 17,785 | py | Python | sdk/python/pulumi_oci/blockchain/peer.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/blockchain/peer.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/blockchain/peer.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 37.207113 | 137 | 0.625977 | 1,969 | 17,785 | 5.391569 | 0.087862 | 0.090147 | 0.094951 | 0.080821 | 0.827713 | 0.7922 | 0.750283 | 0.722494 | 0.686982 | 0.637999 | 0 | 0.000077 | 0.266629 | 17,785 | 477 | 138 | 37.285115 | 0.813847 | 0.266348 | 0 | 0.579151 | 1 | 0 | 0.113893 | 0.06171 | 0 | 0 | 0 | 0 | 0 | 1 | 0.158301 | false | 0.003861 | 0.027027 | 0 | 0.281853 | 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 |
e3e94b8a9aa8021da9ae64902fb39771a01f33fa | 236 | py | Python | thermo/chemutils/chemutils/obabelutils/__init__.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | null | null | null | thermo/chemutils/chemutils/obabelutils/__init__.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | null | null | null | thermo/chemutils/chemutils/obabelutils/__init__.py | mdhillmancmcl/TheWorldAvatar-CMCL-Fork | 011aee78c016b76762eaf511c78fabe3f98189f4 | [
"MIT"
] | null | null | null | from chemutils.obabelutils.obconverter import obConvert, \
obConvertWrapper
from chemutils.obabelutils.obutils import obGetMolBonds, \
obGetMolMolWt | 59 | 62 | 0.54661 | 14 | 236 | 9.214286 | 0.714286 | 0.20155 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.419492 | 236 | 4 | 63 | 59 | 0.941606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
540b3b13a08b577b0d2d1f62304bf216d7bbaa83 | 2,177 | py | Python | epytope/Data/pssms/tepitopepan/mat/DRB1_1470_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/DRB1_1470_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/DRB1_1470_9.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | DRB1_1470_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.98558, 'I': -0.014418, 'H': -999.0, 'K': -999.0, 'M': -0.014418, 'L': -0.014418, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.98558, 'V': -0.014418, 'Y': -0.98558}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, ... | 2,177 | 2,177 | 0.397336 | 525 | 2,177 | 1.64381 | 0.201905 | 0.113557 | 0.02781 | 0.03708 | 0.22248 | 0.141367 | 0.141367 | 0.141367 | 0.132097 | 0.132097 | 0 | 0.377534 | 0.16169 | 2,177 | 1 | 2,177 | 2,177 | 0.095342 | 0 | 0 | 0 | 0 | 0 | 0.078512 | 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 |
5423e52924b8690a9988a016ace10ebe64c608bd | 9,883 | py | Python | cifar10/models/resnet.py | ZhenyuZhangUSTC/loss-landscape | debe6373714372c040b29a55dffa96cff99e2b8f | [
"MIT"
] | 1,970 | 2018-09-21T18:41:00.000Z | 2022-03-31T11:49:35.000Z | cifar10/models/resnet.py | wenwenbalala/loss-landscape | a5eecfc8f8b983d074d4c4499a7e4b31265be33c | [
"MIT"
] | 33 | 2018-10-25T20:37:36.000Z | 2022-02-09T15:42:26.000Z | cifar10/models/resnet.py | wenwenbalala/loss-landscape | a5eecfc8f8b983d074d4c4499a7e4b31265be33c | [
"MIT"
] | 314 | 2018-09-25T14:44:55.000Z | 2022-03-30T02:17:04.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
class BasicBlock(nn.Module):
expansion = 1
def __init__(self, in_planes, planes, stride=1):
super(BasicBlock, self).__init__()
self.conv1 = nn.Conv2d(in_planes, planes, kernel_size=3, stride=stride, padding=1, bias=False)
... | 32.617162 | 102 | 0.622078 | 1,401 | 9,883 | 4.236974 | 0.072091 | 0.011456 | 0.020047 | 0.022911 | 0.916274 | 0.873652 | 0.83996 | 0.797675 | 0.788241 | 0.780997 | 0 | 0.057759 | 0.239705 | 9,883 | 302 | 103 | 32.725166 | 0.732233 | 0.003137 | 0 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.012397 | 0.041322 | 0.392562 | 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 |
5818ea4d27fe0002d9e5d0bf52bc38e16aa64848 | 21,812 | py | Python | scale/recipe/test/messages/test_update_recipe_metrics.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 121 | 2015-11-18T18:15:33.000Z | 2022-03-10T01:55:00.000Z | scale/recipe/test/messages/test_update_recipe_metrics.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 1,415 | 2015-12-23T23:36:04.000Z | 2022-01-07T14:10:09.000Z | scale/recipe/test/messages/test_update_recipe_metrics.py | kaydoh/scale | 1b6a3b879ffe83e10d3b9d9074835a4c3bf476ee | [
"Apache-2.0"
] | 66 | 2015-12-03T20:38:56.000Z | 2020-07-27T15:28:11.000Z | from __future__ import unicode_literals
import django
from django.test import TestCase
from batch.test import utils as batch_test_utils
from job.models import Job
from job.test import utils as job_test_utils
from recipe.diff.forced_nodes import ForcedNodes
from recipe.diff.json.forced_nodes_v6 import convert_forced_n... | 51.687204 | 120 | 0.714515 | 3,093 | 21,812 | 4.66311 | 0.041707 | 0.09152 | 0.145601 | 0.081536 | 0.894197 | 0.876586 | 0.860917 | 0.854607 | 0.850378 | 0.804202 | 0 | 0.032611 | 0.198652 | 21,812 | 421 | 121 | 51.809976 | 0.792551 | 0.057904 | 0 | 0.641399 | 0 | 0 | 0.020991 | 0.00205 | 0 | 0 | 0 | 0 | 0.381924 | 1 | 0.014577 | false | 0 | 0.03207 | 0 | 0.049563 | 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 |
583aa2ea470393e8393f0810eb4abd2dfbc3ac2b | 26,249 | py | Python | backend/tests/baserow/contrib/database/api/views/form/test_form_view_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 839 | 2020-07-20T13:29:34.000Z | 2022-03-31T21:09:16.000Z | backend/tests/baserow/contrib/database/api/views/form/test_form_view_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 28 | 2020-08-07T09:23:58.000Z | 2022-03-01T22:32:40.000Z | backend/tests/baserow/contrib/database/api/views/form/test_form_view_views.py | cjh0613/baserow | 62871f5bf53c9d25446976031aacb706c0abe584 | [
"MIT"
] | 79 | 2020-08-04T01:48:01.000Z | 2022-03-27T13:30:54.000Z | import pytest
from rest_framework.status import HTTP_200_OK, HTTP_400_BAD_REQUEST, HTTP_404_NOT_FOUND
from django.shortcuts import reverse
from baserow.contrib.database.views.models import FormView
@pytest.mark.django_db
def test_create_form_view(api_client, data_fixture):
user, token = data_fixture.create_use... | 38.319708 | 88 | 0.665663 | 3,414 | 26,249 | 4.820445 | 0.053017 | 0.095522 | 0.090782 | 0.047518 | 0.877195 | 0.85374 | 0.807438 | 0.798323 | 0.763809 | 0.753904 | 0 | 0.011382 | 0.203398 | 26,249 | 684 | 89 | 38.375731 | 0.775658 | 0.025525 | 0 | 0.591803 | 0 | 0 | 0.190722 | 0.093092 | 0 | 0 | 0 | 0 | 0.268852 | 1 | 0.011475 | false | 0.001639 | 0.006557 | 0 | 0.018033 | 0.001639 | 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 |
583fc04f4be191972f14757c743ac45d1fc034ec | 40 | py | Python | main_gas_pipeline/__init__.py | Buzovskiy/major-gas-pipeline | 117f9fe1d030002f155de098b69641d2396025b2 | [
"MIT"
] | null | null | null | main_gas_pipeline/__init__.py | Buzovskiy/major-gas-pipeline | 117f9fe1d030002f155de098b69641d2396025b2 | [
"MIT"
] | null | null | null | main_gas_pipeline/__init__.py | Buzovskiy/major-gas-pipeline | 117f9fe1d030002f155de098b69641d2396025b2 | [
"MIT"
] | null | null | null | from .main_gas_pipeline import Pipeline
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 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 |
5889316f686969a758074a90c3d7f8590f9fdc7b | 3,107 | py | Python | tests/unit_tests/bittensor_tests/test_receptor_pool.py | Zu019/bitTensor | ec0216b48a86086fdff072b312ff62184ad75359 | [
"MIT"
] | 88 | 2020-08-28T02:56:05.000Z | 2022-03-22T18:38:50.000Z | tests/unit_tests/bittensor_tests/test_receptor_pool.py | Zu019/bitTensor | ec0216b48a86086fdff072b312ff62184ad75359 | [
"MIT"
] | 285 | 2020-09-01T23:27:11.000Z | 2022-03-31T20:00:37.000Z | tests/unit_tests/bittensor_tests/test_receptor_pool.py | Zu019/bitTensor | ec0216b48a86086fdff072b312ff62184ad75359 | [
"MIT"
] | 30 | 2020-09-06T15:40:44.000Z | 2022-03-21T08:04:52.000Z | from sys import version
import grpc
import torch
import bittensor
import time
from unittest.mock import MagicMock
import unittest.mock as mock
# --- Receptor Pool ---
wallet = bittensor.wallet(
path = '/tmp/pytest',
name = 'pytest',
hotkey = 'pytest',
)
wallet.create_new_coldkey(use_password=False, ove... | 36.552941 | 110 | 0.70486 | 414 | 3,107 | 5.002415 | 0.198068 | 0.115886 | 0.046354 | 0.045872 | 0.83438 | 0.760502 | 0.737808 | 0.737808 | 0.737808 | 0.718493 | 0 | 0.027648 | 0.173479 | 3,107 | 85 | 111 | 36.552941 | 0.778816 | 0.006759 | 0 | 0.492958 | 0 | 0 | 0.019449 | 0 | 0 | 0 | 0 | 0 | 0.070423 | 1 | 0.098592 | false | 0.028169 | 0.098592 | 0 | 0.197183 | 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 |
5893eb4a97629e62c5a3296758516b8c3519ac12 | 80 | py | Python | pytorch_lightning/__init__.py | PeterouZh/pytorch-lightning | 6e32d00c8ca723c766ab6ff94adad1854bd89576 | [
"MIT"
] | null | null | null | pytorch_lightning/__init__.py | PeterouZh/pytorch-lightning | 6e32d00c8ca723c766ab6ff94adad1854bd89576 | [
"MIT"
] | 1 | 2019-07-25T03:05:05.000Z | 2019-07-25T03:05:05.000Z | pytorch_lightning/__init__.py | PeterouZh/pytorch-lightning | 6e32d00c8ca723c766ab6ff94adad1854bd89576 | [
"MIT"
] | null | null | null | from .models import Trainer
from .root_module.root_module import LightningModule | 40 | 52 | 0.875 | 11 | 80 | 6.181818 | 0.636364 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 2 | 52 | 40 | 0.931507 | 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 |
543ba47da28388de398d8b492205680336bb9aec | 659 | py | Python | tests/temperatures_kata_test.py | eliflores/coding-katas-python | db978c221d849483a4047e80dc843848fe38f05c | [
"MIT"
] | null | null | null | tests/temperatures_kata_test.py | eliflores/coding-katas-python | db978c221d849483a4047e80dc843848fe38f05c | [
"MIT"
] | 3 | 2022-03-24T20:30:30.000Z | 2022-03-24T22:00:33.000Z | tests/temperatures_kata_test.py | eliflores/coding-katas-python | db978c221d849483a4047e80dc843848fe38f05c | [
"MIT"
] | null | null | null | from katas.temperatures_kata import temperature_closest_to_zero
def test_returns_the_only_temperature_when_only_one_is_provided():
assert temperature_closest_to_zero([1]) == 1
def test_returns_zero_when_zero_is_given_in_the_temperatures():
assert temperature_closest_to_zero([1, -2, -8, 4, -1, 0]) == 0
def... | 36.611111 | 69 | 0.713202 | 107 | 659 | 3.962617 | 0.317757 | 0.339623 | 0.377358 | 0.45283 | 0.466981 | 0.396226 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0.080357 | 0.150228 | 659 | 17 | 70 | 38.764706 | 0.676786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 1 | 0.272727 | true | 0 | 0.090909 | 0 | 0.363636 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
544b2c59880a2f6ac85245170902f487e763fad8 | 12,336 | py | Python | src/app/test/api/http/unit/handlers/v1/instance_test.py | west270/beer-garden | bdd5c181b7e2c40f12c4003a50dcc163b5a2ea19 | [
"MIT"
] | null | null | null | src/app/test/api/http/unit/handlers/v1/instance_test.py | west270/beer-garden | bdd5c181b7e2c40f12c4003a50dcc163b5a2ea19 | [
"MIT"
] | null | null | null | src/app/test/api/http/unit/handlers/v1/instance_test.py | west270/beer-garden | bdd5c181b7e2c40f12c4003a50dcc163b5a2ea19 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import asyncio
import json
from unittest.mock import Mock
import pytest
from tornado.httpclient import HTTPError, HTTPRequest
import beer_garden.router
from beer_garden.api.http.authentication import issue_token_pair
from beer_garden.api.http.handlers.v1.instance import InstanceLogAPI
from bee... | 29.163121 | 87 | 0.65321 | 1,430 | 12,336 | 5.337063 | 0.102098 | 0.071279 | 0.083857 | 0.033412 | 0.778433 | 0.748166 | 0.744104 | 0.743711 | 0.731394 | 0.720388 | 0 | 0.008868 | 0.250405 | 12,336 | 422 | 88 | 29.232227 | 0.816481 | 0.001702 | 0 | 0.729651 | 0 | 0 | 0.128076 | 0.075774 | 0 | 0 | 0 | 0 | 0.084302 | 1 | 0.072674 | false | 0.002907 | 0.026163 | 0.002907 | 0.113372 | 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 |
49a8697dea6098f1294f82e6ca5105501c8b980d | 74 | py | Python | jsonclasses_cli/run/__init__.py | fillmula/jsonclasses-cli | 9b2224dde144d27c9a89faa4eb84173bd5cd7b70 | [
"MIT"
] | null | null | null | jsonclasses_cli/run/__init__.py | fillmula/jsonclasses-cli | 9b2224dde144d27c9a89faa4eb84173bd5cd7b70 | [
"MIT"
] | null | null | null | jsonclasses_cli/run/__init__.py | fillmula/jsonclasses-cli | 9b2224dde144d27c9a89faa4eb84173bd5cd7b70 | [
"MIT"
] | 3 | 2021-11-22T06:56:52.000Z | 2021-12-07T02:39:22.000Z | from os import system
def run():
system('uvicorn app:app --reload')
| 12.333333 | 38 | 0.662162 | 11 | 74 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 74 | 5 | 39 | 14.8 | 0.830508 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 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 |
49cd647dbc10c28490ca941554f66398716aea46 | 83 | py | Python | shopify/resources/shipping_zone.py | butlertron/shopify_python_api | 78329d0656a7dcd4aad9579b28509007d05ee5dc | [
"MIT"
] | 828 | 2015-01-08T16:03:55.000Z | 2022-03-25T16:58:37.000Z | shopify/resources/shipping_zone.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | 389 | 2015-02-01T03:33:49.000Z | 2022-03-23T08:42:33.000Z | shopify/resources/shipping_zone.py | whitehorse3513/PythonShopify | 245b9bad3779db9190e3786bffc07044afe216c6 | [
"MIT"
] | 267 | 2015-01-20T21:40:19.000Z | 2022-03-29T04:09:56.000Z | from ..base import ShopifyResource
class ShippingZone(ShopifyResource):
pass
| 13.833333 | 36 | 0.783133 | 8 | 83 | 8.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 5 | 37 | 16.6 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
49ed461b3d5b8ed27e23ee42f87708c2b1c07632 | 1,920 | py | Python | django_server/olmap/migrations/0011_auto_20210512_1138.py | ForumViriumHelsinki/OLMap | f700a8c84b87714af68840a37cfd8667dde6758c | [
"MIT"
] | null | null | null | django_server/olmap/migrations/0011_auto_20210512_1138.py | ForumViriumHelsinki/OLMap | f700a8c84b87714af68840a37cfd8667dde6758c | [
"MIT"
] | 39 | 2020-12-30T11:03:49.000Z | 2021-11-10T12:16:29.000Z | django_server/olmap/migrations/0011_auto_20210512_1138.py | ForumViriumHelsinki/OLMap | f700a8c84b87714af68840a37cfd8667dde6758c | [
"MIT"
] | 1 | 2020-12-08T13:19:33.000Z | 2020-12-08T13:19:33.000Z | # Generated by Django 3.1.7 on 2021-05-12 08:38
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('olmap', '0010_link_image_note_addresses'),
]
operations = [
migrations.AddField(
model_name='ba... | 38.4 | 128 | 0.623958 | 217 | 1,920 | 5.373272 | 0.225806 | 0.06175 | 0.096055 | 0.150943 | 0.7753 | 0.7753 | 0.7753 | 0.7753 | 0.7753 | 0.7753 | 0 | 0.013158 | 0.247917 | 1,920 | 49 | 129 | 39.183673 | 0.794321 | 0.023438 | 0 | 0.651163 | 1 | 0 | 0.147891 | 0.016017 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7018e2fdbaa87d75fbf8edabf906276dff5c8e4 | 49 | py | Python | yaml_config/ymlc/__init__.py | OhkuboSGMS/sandbox | 3056939cf2892e4993949523f736325c0b665f07 | [
"MIT"
] | null | null | null | yaml_config/ymlc/__init__.py | OhkuboSGMS/sandbox | 3056939cf2892e4993949523f736325c0b665f07 | [
"MIT"
] | null | null | null | yaml_config/ymlc/__init__.py | OhkuboSGMS/sandbox | 3056939cf2892e4993949523f736325c0b665f07 | [
"MIT"
] | null | null | null | from ymlc.main import update_config,write_config
| 24.5 | 48 | 0.877551 | 8 | 49 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b7045acc07b1c2184e697eeaaeac23301813fbea | 6,306 | py | Python | rdmo/projects/tests/test_view_integration.py | cbittner/rdmo | 1d6885ad2a69f6d24c9fca6446536e0c06de5486 | [
"Apache-2.0"
] | null | null | null | rdmo/projects/tests/test_view_integration.py | cbittner/rdmo | 1d6885ad2a69f6d24c9fca6446536e0c06de5486 | [
"Apache-2.0"
] | null | null | null | rdmo/projects/tests/test_view_integration.py | cbittner/rdmo | 1d6885ad2a69f6d24c9fca6446536e0c06de5486 | [
"Apache-2.0"
] | null | null | null | import hmac
import json
import pytest
from django.urls import reverse
from ..models import Integration, Issue
users = (
('owner', 'owner'),
('manager', 'manager'),
('author', 'author'),
('guest', 'guest'),
('user', 'user'),
('site', 'site'),
('anonymous', None),
)
status_map = {
'cre... | 35.033333 | 112 | 0.642245 | 703 | 6,306 | 5.627312 | 0.139403 | 0.109201 | 0.054601 | 0.065976 | 0.797776 | 0.771992 | 0.753286 | 0.747219 | 0.735086 | 0.722194 | 0 | 0.030393 | 0.201713 | 6,306 | 179 | 113 | 35.22905 | 0.755463 | 0 | 0 | 0.393103 | 0 | 0 | 0.17856 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0.062069 | false | 0.206897 | 0.034483 | 0 | 0.096552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3f8679bd54e023b475a00e7731cd41158e359217 | 48 | py | Python | src/amuse/community/rebound/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | src/amuse/community/rebound/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | 12 | 2021-11-15T09:13:03.000Z | 2022-02-02T14:53:04.000Z | src/amuse/community/rebound/__init__.py | sibonyves/amuse | 5557bf88d14df1aa02133a199b6d60c0c57dcab7 | [
"Apache-2.0"
] | null | null | null | # generated file
from .interface import Rebound
| 16 | 30 | 0.8125 | 6 | 48 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 31 | 24 | 0.95122 | 0.291667 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3ff3a86bf299ac883eb1ae844735a9a662204b06 | 31 | py | Python | pygame/symbian/lib/gfxdraw.py | CiubucAlexandra/Theremine-Projet-Micriprocesseurs | 7670d9cb468b060135dc5f057b734db970da0f0c | [
"BSD-3-Clause"
] | 3 | 2016-04-11T00:41:52.000Z | 2016-06-11T03:58:12.000Z | pygame/symbian/lib/gfxdraw.py | CiubucAlexandra/Theremine-Projet-Micriprocesseurs | 7670d9cb468b060135dc5f057b734db970da0f0c | [
"BSD-3-Clause"
] | 5 | 2016-02-11T01:16:51.000Z | 2016-04-08T06:10:28.000Z | pygame/symbian/lib/gfxdraw.py | CiubucAlexandra/Theremine-Projet-Micriprocesseurs | 7670d9cb468b060135dc5f057b734db970da0f0c | [
"BSD-3-Clause"
] | null | null | null | from pygame_gfxdraw import *
| 15.5 | 30 | 0.774194 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 1 | 31 | 31 | 0.92 | 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 |
b20a58b5c9428f4bf8a829148ea6c4730e82f423 | 582 | py | Python | star/validators/val_pystar.py | DanielAndreasen/pyStar | 7681d794df7430a18348645b90ce717148942474 | [
"MIT"
] | 4 | 2018-08-30T20:26:31.000Z | 2020-12-13T01:08:42.000Z | star/validators/val_pystar.py | DanielAndreasen/pyStar | 7681d794df7430a18348645b90ce717148942474 | [
"MIT"
] | null | null | null | star/validators/val_pystar.py | DanielAndreasen/pyStar | 7681d794df7430a18348645b90ce717148942474 | [
"MIT"
] | null | null | null | INPUT_ERROR = 'Please include spectroscopic informations: ' +\
'Teff, logg, and [Fe/H]'
def check_calibration_input(spectroscopicInformation, Teff, logg, feh):
cond1 = not spectroscopicInformation
cond2 = Teff is None or logg is None or feh is None
if cond1 and cond2:
raise V... | 34.235294 | 72 | 0.695876 | 73 | 582 | 5.452055 | 0.356164 | 0.090452 | 0.080402 | 0.18593 | 0.753769 | 0.753769 | 0.753769 | 0.753769 | 0.753769 | 0.753769 | 0 | 0.018182 | 0.243986 | 582 | 16 | 73 | 36.375 | 0.886364 | 0 | 0 | 0.666667 | 0 | 0 | 0.114841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7a72b5c31c74ac313a8b2a5f51dbf9e2ceeed02 | 1,637 | py | Python | lasaft/pretrained/load.py | YeongSeokJeong/LASAFT-Net-v2 | 30a490d6f48bad80a21a0668c41e5b88079eecb4 | [
"MIT"
] | 24 | 2021-10-16T01:35:52.000Z | 2022-02-10T23:26:17.000Z | lasaft/pretrained/load.py | kuielab/LASAFT-Net-v2 | 56ec6cc6908ab0ffc9dcdff97fcd1ed7c43a46d2 | [
"MIT"
] | 1 | 2022-02-28T21:17:56.000Z | 2022-02-28T21:17:58.000Z | lasaft/pretrained/load.py | kuielab/LASAFT-Net-v2 | 56ec6cc6908ab0ffc9dcdff97fcd1ed7c43a46d2 | [
"MIT"
] | 4 | 2021-11-15T16:51:52.000Z | 2022-02-22T09:16:03.000Z | from pathlib import Path
import pkg_resources
import hydra
import torch
from omegaconf import OmegaConf
def get_v2_large_709():
conf_path = pkg_resources.resource_filename('lasaft', 'pretrained/v2_large/')
conf_path = Path(conf_path)
ckpt_path = conf_path.joinpath('epoch=709.ckpt')
with open(conf_pat... | 32.098039 | 115 | 0.674404 | 212 | 1,637 | 4.981132 | 0.29717 | 0.075758 | 0.045455 | 0.037879 | 0.867424 | 0.867424 | 0.867424 | 0.867424 | 0.867424 | 0.765152 | 0 | 0.01548 | 0.210751 | 1,637 | 50 | 116 | 32.74 | 0.801858 | 0.031155 | 0 | 0.685714 | 0 | 0 | 0.176879 | 0.027795 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.142857 | 0 | 0.257143 | 0.114286 | 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 |
b7c197e44c5cfd948ef2906739b84bf2108581b2 | 311 | py | Python | functions/__init__.py | Reaper1221/2D-ActiveRender | 2ba764c671a62d12976adf0bf0cf6c79422169c0 | [
"Unlicense"
] | null | null | null | functions/__init__.py | Reaper1221/2D-ActiveRender | 2ba764c671a62d12976adf0bf0cf6c79422169c0 | [
"Unlicense"
] | null | null | null | functions/__init__.py | Reaper1221/2D-ActiveRender | 2ba764c671a62d12976adf0bf0cf6c79422169c0 | [
"Unlicense"
] | null | null | null | from . import *
# !D:\ActiveRender\ActiveRender\functions\onStartDecorator - directory of this file
from . import onStartDecorator # - basic ActiveRender function
# !D:\ActiveRender\ActiveRender\functions\onUpdateDecorator - directory of this file
from . import onUpdateDecorator # - basic ActiveRender function | 62.2 | 84 | 0.810289 | 32 | 311 | 7.875 | 0.40625 | 0.119048 | 0.198413 | 0.269841 | 0.230159 | 0.230159 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11254 | 311 | 5 | 85 | 62.2 | 0.913043 | 0.720257 | 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 |
b7d4dcc3f7576e4a8d3f4eb52a72559309ef9d0e | 26 | py | Python | gcld3/__init__.py | amykhuang/cld3 | 6b15e31d6d2840e5f34b1696f635cada9aff8f71 | [
"Apache-2.0"
] | 529 | 2016-06-26T16:47:17.000Z | 2022-03-31T01:07:32.000Z | gcld3/__init__.py | pkasting/cld3 | 006f75a2ab4c3b6cbfcf0a1a7924e67efb70e628 | [
"Apache-2.0"
] | 47 | 2017-06-06T10:38:03.000Z | 2022-02-10T12:42:25.000Z | gcld3/__init__.py | pkasting/cld3 | 006f75a2ab4c3b6cbfcf0a1a7924e67efb70e628 | [
"Apache-2.0"
] | 98 | 2016-08-21T12:23:57.000Z | 2022-03-28T18:25:08.000Z | from .pybind_ext import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 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 |
4d2660c05364e3f7b5ee4944dc8f78c48406acd0 | 8,383 | py | Python | onnxruntime/test/python/onnxruntime_test_python_iobinding.py | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 25 | 2019-05-28T09:07:15.000Z | 2022-03-09T21:24:29.000Z | onnxruntime/test/python/onnxruntime_test_python_iobinding.py | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 82 | 2019-06-21T20:03:46.000Z | 2022-03-27T07:33:51.000Z | onnxruntime/test/python/onnxruntime_test_python_iobinding.py | lchang20/onnxruntime | 97b8f6f394ae02c73ed775f456fd85639c91ced1 | [
"MIT"
] | 11 | 2019-06-08T15:50:39.000Z | 2022-03-09T21:24:29.000Z | import numpy as np
import onnxruntime as onnxrt
import unittest
from helper import get_name
class TestIOBinding(unittest.TestCase):
def create_ortvalue_input_on_gpu(self):
return onnxrt.OrtValue.ortvalue_from_numpy(np.array([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]], dtype=np.float32), 'cuda', 0)
def crea... | 40.302885 | 129 | 0.680305 | 1,150 | 8,383 | 4.694783 | 0.130435 | 0.080015 | 0.040934 | 0.045749 | 0.845157 | 0.818485 | 0.783664 | 0.783664 | 0.752732 | 0.752732 | 0 | 0.020034 | 0.225933 | 8,383 | 207 | 130 | 40.497585 | 0.81199 | 0.235715 | 0 | 0.536842 | 0 | 0 | 0.018565 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.115789 | false | 0 | 0.042105 | 0.063158 | 0.231579 | 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 |
4d355093e4edfb7e48047a3444c6bed596b770ba | 3,754 | py | Python | graphgallery/nn/layers/pytorch/conv/sat.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 300 | 2020-08-09T04:27:41.000Z | 2022-03-30T07:43:41.000Z | graphgallery/nn/layers/pytorch/conv/sat.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 5 | 2020-11-05T06:16:50.000Z | 2021-12-11T05:05:22.000Z | graphgallery/nn/layers/pytorch/conv/sat.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 51 | 2020-09-23T15:37:12.000Z | 2022-03-05T01:28:56.000Z | import torch
import torch.nn as nn
class SpectralEigenConv(nn.Module):
def __init__(self,
in_features,
out_features,
bias=False,
K=10,
alpha=0.1,
**kwargs):
super().__init__()
assert ... | 28.876923 | 117 | 0.464305 | 448 | 3,754 | 3.627232 | 0.133929 | 0.092308 | 0.077538 | 0.077538 | 0.812923 | 0.770462 | 0.770462 | 0.770462 | 0.770462 | 0.736 | 0 | 0.004165 | 0.424347 | 3,754 | 129 | 118 | 29.100775 | 0.747802 | 0.104422 | 0 | 0.7 | 0 | 0.022222 | 0.079527 | 0.044364 | 0 | 0 | 0 | 0 | 0.022222 | 1 | 0.133333 | false | 0 | 0.022222 | 0.033333 | 0.255556 | 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 |
4d764d806d733e3ff228c64b7de885ecfec434f0 | 18,141 | py | Python | test/alerters/reactive/test_blockchain.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 41 | 2020-01-22T14:37:17.000Z | 2021-12-30T16:12:20.000Z | test/alerters/reactive/test_blockchain.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 33 | 2020-01-31T15:04:03.000Z | 2022-02-27T11:23:13.000Z | test/alerters/reactive/test_blockchain.py | SimplyVC/panic_polkadot | 2c5517b0e01e27d4c54dc6a6609699471b833746 | [
"Apache-2.0"
] | 9 | 2020-04-16T07:59:03.000Z | 2021-10-09T04:35:35.000Z | import logging
import unittest
from redis import ConnectionError as RedisConnectionError
from src.alerters.reactive.blockchain import Blockchain
from src.alerts.alerts import *
from src.channels.channel import ChannelSet
from src.store.redis.redis_api import RedisApi
from src.store.store_keys import Keys
from test im... | 47.365535 | 86 | 0.66595 | 2,039 | 18,141 | 5.520353 | 0.072585 | 0.07516 | 0.063522 | 0.060768 | 0.828358 | 0.804726 | 0.785892 | 0.765636 | 0.759861 | 0.735075 | 0 | 0.007418 | 0.264318 | 18,141 | 382 | 87 | 47.489529 | 0.835981 | 0.010143 | 0 | 0.634304 | 0 | 0 | 0.019054 | 0.00585 | 0 | 0 | 0 | 0 | 0.190939 | 1 | 0.093851 | false | 0.012945 | 0.032362 | 0 | 0.132686 | 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 |
4d77fd733abf43089d3fc1e6298aa633a63974a1 | 99 | py | Python | sublime_cscope/tests/__init__.py | jgust/SublimeCscope | 8ae008f4805ad6edad7c8bf0d258eb7947da26a0 | [
"MIT"
] | 7 | 2015-05-19T15:11:11.000Z | 2019-10-22T19:16:39.000Z | sublime_cscope/tests/__init__.py | jgust/SublimeCscope | 8ae008f4805ad6edad7c8bf0d258eb7947da26a0 | [
"MIT"
] | 2 | 2017-03-12T16:23:06.000Z | 2021-08-24T18:53:29.000Z | sublime_cscope/tests/__init__.py | jgust/SublimeCscope | 8ae008f4805ad6edad7c8bf0d258eb7947da26a0 | [
"MIT"
] | 1 | 2016-03-24T09:15:39.000Z | 2016-03-24T09:15:39.000Z |
from .test_indexer import *
from .test_event_listener import *
from .test_cscope_results import *
| 19.8 | 34 | 0.808081 | 14 | 99 | 5.357143 | 0.571429 | 0.32 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 4 | 35 | 24.75 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4da771a2e0fd74fadba097fa47ce764c274bdf9c | 4,016 | py | Python | console.py | yemx21/ECG | e6dd9bc6e9537e8773494b48814e4686bba98bea | [
"BSD-3-Clause"
] | null | null | null | console.py | yemx21/ECG | e6dd9bc6e9537e8773494b48814e4686bba98bea | [
"BSD-3-Clause"
] | null | null | null | console.py | yemx21/ECG | e6dd9bc6e9537e8773494b48814e4686bba98bea | [
"BSD-3-Clause"
] | null | null | null | import pickle
from models.SVM import *
from models.RF import *
from models.DNN import *
from models.CNN import *
from models.GRU import *
from models.LSTM import *
import os
def loaddataset(path):
with open(path, 'rb') as handle:
dict = pickle.load(handle)
return dict['x'], dict['y'], dict['lens']
... | 49.580247 | 186 | 0.654382 | 508 | 4,016 | 4.964567 | 0.122047 | 0.029738 | 0.053529 | 0.059477 | 0.812054 | 0.800159 | 0.757335 | 0.757335 | 0.757335 | 0.757335 | 0 | 0.003478 | 0.2124 | 4,016 | 80 | 187 | 50.2 | 0.793867 | 0 | 0 | 0.453125 | 0 | 0 | 0.066235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.125 | 0 | 0.1875 | 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 |
4db0db637e7cc3bbb8768bec046a992d34912f7a | 33 | py | Python | westwallet_api/__init__.py | WestWallet/westwallet-python-api | f5080fca98e79d79762dc1a73e0dec37d2ac628b | [
"Apache-2.0"
] | 3 | 2020-12-26T21:43:11.000Z | 2021-07-15T12:07:15.000Z | westwallet_api/__init__.py | WestWallet/westwallet-python-api | f5080fca98e79d79762dc1a73e0dec37d2ac628b | [
"Apache-2.0"
] | null | null | null | westwallet_api/__init__.py | WestWallet/westwallet-python-api | f5080fca98e79d79762dc1a73e0dec37d2ac628b | [
"Apache-2.0"
] | null | null | null | from .client import WestWalletAPI | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
4dbd3d2532358280dd10d3f3f6c0beff37897168 | 182 | py | Python | thonnycontrib/calliope/api_stubs/time.py | thonny/thonny-calliope | e3950a63848ca1f950e14547f87ff5dfec7328b2 | [
"MIT"
] | 1 | 2020-03-30T20:32:42.000Z | 2020-03-30T20:32:42.000Z | thonnycontrib/calliope/api_stubs/utime.py | thonny/thonny-calliope | e3950a63848ca1f950e14547f87ff5dfec7328b2 | [
"MIT"
] | null | null | null | thonnycontrib/calliope/api_stubs/utime.py | thonny/thonny-calliope | e3950a63848ca1f950e14547f87ff5dfec7328b2 | [
"MIT"
] | null | null | null | def sleep():
pass
def sleep_ms():
pass
def sleep_us():
pass
def ticks_add():
pass
def ticks_diff():
pass
def ticks_ms():
pass
def ticks_us():
pass
| 8.272727 | 17 | 0.576923 | 27 | 182 | 3.666667 | 0.296296 | 0.424242 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 182 | 21 | 18 | 8.666667 | 0.785714 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4dc28ab46f5c7c46a9fe6f3d2855e65a5c8f29cd | 97 | py | Python | tests/basics/builtin_oct_intbig.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/builtin_oct_intbig.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/builtin_oct_intbig.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | # test builtin oct function
print(oct(12345678901234567890))
print(oct(0o12345670123456701234))
| 19.4 | 34 | 0.824742 | 10 | 97 | 8 | 0.7 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.460674 | 0.082474 | 97 | 4 | 35 | 24.25 | 0.438202 | 0.257732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
12cfdfad27a1774f6a90865cdba3bc1427adec42 | 1,205 | py | Python | tests/elixir/test_exunit.py | timfjord/AnyTest | 2d7cb530126a9b71db1ceb2a377db313782c053c | [
"MIT"
] | null | null | null | tests/elixir/test_exunit.py | timfjord/AnyTest | 2d7cb530126a9b71db1ceb2a377db313782c053c | [
"MIT"
] | null | null | null | tests/elixir/test_exunit.py | timfjord/AnyTest | 2d7cb530126a9b71db1ceb2a377db313782c053c | [
"MIT"
] | null | null | null | from AnyTest.tests import SublimeViewTestCase
class WithoutMixTestCase(SublimeViewTestCase):
def test_line(self):
yield from self._testFile('exunit', 'normal_test.exs', 6)
self.assertLastCommand('elixir normal_test.exs')
def test_file(self):
yield from self._testFile('exunit', 'normal... | 35.441176 | 74 | 0.684647 | 146 | 1,205 | 5.458904 | 0.184932 | 0.150565 | 0.195734 | 0.14931 | 0.811794 | 0.811794 | 0.809285 | 0.702635 | 0.61857 | 0.329987 | 0 | 0.004073 | 0.185062 | 1,205 | 33 | 75 | 36.515152 | 0.807536 | 0 | 0 | 0.333333 | 0 | 0 | 0.246473 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.291667 | false | 0 | 0.041667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12d2f3500485208aae35679a28ab97aeb35fabd7 | 40 | py | Python | world/__init__.py | mbed92/rl-physnet | 62b6e8a84a6704a50855434933a147f507f94263 | [
"MIT"
] | 1 | 2021-07-02T13:33:49.000Z | 2021-07-02T13:33:49.000Z | world/__init__.py | mbed92/dao-perception | 62b6e8a84a6704a50855434933a147f507f94263 | [
"MIT"
] | 3 | 2021-09-01T16:16:42.000Z | 2021-09-10T11:18:59.000Z | world/__init__.py | mbed92/dao-perception | 62b6e8a84a6704a50855434933a147f507f94263 | [
"MIT"
] | 1 | 2021-08-30T08:26:21.000Z | 2021-08-30T08:26:21.000Z | from . import action, elastica, physics
| 20 | 39 | 0.775 | 5 | 40 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 40 | 1 | 40 | 40 | 0.911765 | 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 |
12e39707108274dca68c7c1e1998e022a3f98dc6 | 96 | py | Python | venv/lib/python3.8/site-packages/urllib3/_collections.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/urllib3/_collections.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/urllib3/_collections.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/46/9d/66/57206073f52501ca7a3376add6c909057479278dcd6b0453bd6da0fd76 | 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 |
420c2b6328a7cef54dfd566319b7217a54653362 | 20 | py | Python | py1.py | js6778/demotest | da11e3e16332f6138fcd008b6aa5075e4a94e5be | [
"MIT"
] | null | null | null | py1.py | js6778/demotest | da11e3e16332f6138fcd008b6aa5075e4a94e5be | [
"MIT"
] | null | null | null | py1.py | js6778/demotest | da11e3e16332f6138fcd008b6aa5075e4a94e5be | [
"MIT"
] | null | null | null | import pandas as pd | 20 | 20 | 0.8 | 4 | 20 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 1 | 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 |
4226c49cddad3133058a61eabe33c88190ad177e | 171 | py | Python | djangoDemo/mysite/feeds/views.py | AirChen/PythonPractic | 676708237dc502ea9a60218a3ca134874bd18456 | [
"MIT"
] | null | null | null | djangoDemo/mysite/feeds/views.py | AirChen/PythonPractic | 676708237dc502ea9a60218a3ca134874bd18456 | [
"MIT"
] | null | null | null | djangoDemo/mysite/feeds/views.py | AirChen/PythonPractic | 676708237dc502ea9a60218a3ca134874bd18456 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def feeds(request):
return HttpResponse('<h1>Welcome Home View!</h1>') | 28.5 | 51 | 0.783626 | 24 | 171 | 5.583333 | 0.791667 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.116959 | 171 | 6 | 51 | 28.5 | 0.874172 | 0.134503 | 0 | 0 | 0 | 0 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
42569ca15dcc9f0354a2edb6880ddb5aae5c6adc | 29 | py | Python | donkey_gym/core/__init__.py | RoboCar-ai/donkey_gym | bfedc442ebbd193357f5faf16ea15bb72dad032d | [
"MIT"
] | 5 | 2018-11-01T18:48:03.000Z | 2021-03-11T14:36:22.000Z | donkey_gym/core/__init__.py | RoboCar-ai/donkey_gym | bfedc442ebbd193357f5faf16ea15bb72dad032d | [
"MIT"
] | null | null | null | donkey_gym/core/__init__.py | RoboCar-ai/donkey_gym | bfedc442ebbd193357f5faf16ea15bb72dad032d | [
"MIT"
] | 7 | 2018-10-13T19:48:14.000Z | 2021-10-31T15:10:52.000Z | from donkey_gym.core import * | 29 | 29 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 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 |
35ef178311e5120204c6d3701aa7c9ac08a2fbdb | 107 | py | Python | tests/testdata/diff.py | tirkarthi/dodgy | 403dc2678e27de7c247fbf2201edcfec7670bd3b | [
"MIT"
] | 89 | 2015-01-28T20:47:32.000Z | 2022-03-23T01:54:44.000Z | tests/testdata/diff.py | tirkarthi/dodgy | 403dc2678e27de7c247fbf2201edcfec7670bd3b | [
"MIT"
] | 23 | 2015-01-31T10:23:12.000Z | 2021-09-22T09:20:26.000Z | tests/testdata/diff.py | tirkarthi/dodgy | 403dc2678e27de7c247fbf2201edcfec7670bd3b | [
"MIT"
] | 22 | 2015-01-05T10:12:42.000Z | 2022-01-13T10:33:48.000Z | <<<<<<< HEAD
var = 'this is a test doncha know'
=======
var = 'this is a test of testyness'
>>>>>>> branch
| 17.833333 | 35 | 0.551402 | 16 | 107 | 3.6875 | 0.6875 | 0.237288 | 0.305085 | 0.338983 | 0.474576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 107 | 5 | 36 | 21.4 | 0.686047 | 0 | 0 | 0 | 0 | 0 | 0.495327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c400736b423d3e62e01d6b34a3de04eabf38aa93 | 6,933 | py | Python | mahjong/tests/tests_shanten.py | otamajakusi/mahjong | b3db40c270be9875bed8a1ee9316c12c1a9e6367 | [
"MIT"
] | null | null | null | mahjong/tests/tests_shanten.py | otamajakusi/mahjong | b3db40c270be9875bed8a1ee9316c12c1a9e6367 | [
"MIT"
] | null | null | null | mahjong/tests/tests_shanten.py | otamajakusi/mahjong | b3db40c270be9875bed8a1ee9316c12c1a9e6367 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from mahjong.shanten import Shanten
from mahjong.tests_mixin import TestMixin
class ShantenTestCase(unittest.TestCase, TestMixin):
def test_shanten_number(self):
shanten = Shanten()
tiles = self._string_to_34_array(sou="111234567", pin="11", man="567")
... | 48.482517 | 99 | 0.708351 | 939 | 6,933 | 4.889244 | 0.108626 | 0.078414 | 0.13069 | 0.148116 | 0.891745 | 0.851013 | 0.836855 | 0.813984 | 0.810499 | 0.588325 | 0 | 0.107015 | 0.154911 | 6,933 | 142 | 100 | 48.823944 | 0.676566 | 0.003029 | 0 | 0.212766 | 0 | 0 | 0.074096 | 0 | 0 | 0 | 0 | 0 | 0.425532 | 1 | 0.053191 | false | 0 | 0.031915 | 0 | 0.095745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c40d538b3b7d7a65cdd194989c92da1bf36fe2e5 | 6,093 | py | Python | pyark/subclients/entities_client.py | kevinpetersavage/pyark | d33275edada3beb3639b91e74e12e983b06109cc | [
"Apache-2.0"
] | 1 | 2021-07-13T16:29:55.000Z | 2021-07-13T16:29:55.000Z | pyark/subclients/entities_client.py | kevinpetersavage/pyark | d33275edada3beb3639b91e74e12e983b06109cc | [
"Apache-2.0"
] | 1 | 2019-06-26T21:17:18.000Z | 2019-06-26T21:17:18.000Z | pyark/subclients/entities_client.py | kevinpetersavage/pyark | d33275edada3beb3639b91e74e12e983b06109cc | [
"Apache-2.0"
] | 2 | 2020-02-05T10:57:31.000Z | 2021-07-22T13:50:33.000Z | import pyark.cva_client as cva_client
import pandas as pd
class EntitiesClient(cva_client.CvaClient):
def __init__(self, **params):
cva_client.CvaClient.__init__(self, **params)
def get_panels_summary(self, as_data_frame=False, **params):
"""
:param as_data_frame: return results in a... | 41.44898 | 119 | 0.655014 | 803 | 6,093 | 4.719801 | 0.117061 | 0.14248 | 0.145119 | 0.042216 | 0.740369 | 0.740369 | 0.726121 | 0.726121 | 0.667018 | 0.610026 | 0 | 0.001747 | 0.248646 | 6,093 | 146 | 120 | 41.732877 | 0.826125 | 0.357295 | 0 | 0.22 | 0 | 0 | 0.057186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.04 | 0 | 0.64 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
c45786db51c760735bf3a6a985f288d5b8f9c8f4 | 133,275 | py | Python | openconfig/ydk/models/openconfig/openconfig_routing_policy.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openconfig/ydk/models/openconfig/openconfig_routing_policy.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | openconfig/ydk/models/openconfig/openconfig_routing_policy.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ openconfig_routing_policy
This module describes a YANG model for routing policy
configuration. It is a limited subset of all of the policy
configuration parameters available in the variety of vendor
implementations, but supports widely used constructs for managing
how routes are imported, exported, and modified a... | 46.812434 | 520 | 0.439925 | 11,413 | 133,275 | 4.985543 | 0.037063 | 0.007311 | 0.06225 | 0.017996 | 0.826485 | 0.793445 | 0.762935 | 0.731845 | 0.695378 | 0.669701 | 0 | 0.023427 | 0.481771 | 133,275 | 2,846 | 521 | 46.828883 | 0.800411 | 0.294399 | 0 | 0.703892 | 0 | 0.011844 | 0.1258 | 0.091238 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.038917 | 0.00846 | 0.496616 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c483b8dee187846fde574d0891fcd1e5b29a5dc9 | 45 | py | Python | main.py | AGiljanovic/foundations-project | c66f0ded3d768ddbef2eb31a379dbfef1004fd96 | [
"MIT"
] | null | null | null | main.py | AGiljanovic/foundations-project | c66f0ded3d768ddbef2eb31a379dbfef1004fd96 | [
"MIT"
] | null | null | null | main.py | AGiljanovic/foundations-project | c66f0ded3d768ddbef2eb31a379dbfef1004fd96 | [
"MIT"
] | null | null | null | from stickybeak.app import app # noqa: F401
| 22.5 | 44 | 0.755556 | 7 | 45 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.177778 | 45 | 1 | 45 | 45 | 0.837838 | 0.222222 | 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 |
67367d13c1df494ae43a400217fa429b5d005b4d | 37 | py | Python | pal/model/armv8a/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 26 | 2020-01-06T23:53:17.000Z | 2022-02-01T08:58:21.000Z | pal/model/armv8a/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 30 | 2019-11-13T00:55:22.000Z | 2022-01-06T08:09:35.000Z | pal/model/armv8a/__init__.py | mars-research/pal | 5977394cda8750ff5dcb89c2bf193ec1ef4cd137 | [
"MIT"
] | 14 | 2019-11-15T16:56:22.000Z | 2021-12-22T10:14:17.000Z | from .register import ARMv8ARegister
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
67aba90524761538e1302d36100ca37f90a14093 | 56 | py | Python | scripts/run_wallet.py | scottbelden/iotawallet | 4b495b4a94ea7ad2ca593515e9dda10ffe8bb476 | [
"MIT"
] | null | null | null | scripts/run_wallet.py | scottbelden/iotawallet | 4b495b4a94ea7ad2ca593515e9dda10ffe8bb476 | [
"MIT"
] | null | null | null | scripts/run_wallet.py | scottbelden/iotawallet | 4b495b4a94ea7ad2ca593515e9dda10ffe8bb476 | [
"MIT"
] | null | null | null | import iotawallet.gui.wxapp
iotawallet.gui.wxapp.main()
| 18.666667 | 27 | 0.821429 | 8 | 56 | 5.75 | 0.625 | 0.565217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 56 | 2 | 28 | 28 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
67cdae94c988df30b4fe8d4d9141b406dfc47642 | 412 | py | Python | member_manager/admin/__init__.py | 4sfc/django-member-manager | b9ad955786b6ac7253f0d07d8784ff5b5d3371f8 | [
"MIT"
] | null | null | null | member_manager/admin/__init__.py | 4sfc/django-member-manager | b9ad955786b6ac7253f0d07d8784ff5b5d3371f8 | [
"MIT"
] | 21 | 2020-07-29T18:43:23.000Z | 2020-10-23T02:46:07.000Z | member_manager/admin/__init__.py | 4sfc/django-member-manager | b9ad955786b6ac7253f0d07d8784ff5b5d3371f8 | [
"MIT"
] | null | null | null | from django.contrib import admin
from member_manager.admin.availability import AvailabilityAdmin
from member_manager.admin.availability_inline import AvailabilityInline
from member_manager.admin.profile import ProfileAdmin
from member_manager.admin.profile_skill_inline import ProfileSkillInline
from member_manager.adm... | 45.777778 | 72 | 0.898058 | 51 | 412 | 7.058824 | 0.333333 | 0.166667 | 0.283333 | 0.366667 | 0.458333 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070388 | 412 | 8 | 73 | 51.5 | 0.939948 | 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 |
67fa492a8f74191520b880f87affcfd988344c8f | 55 | py | Python | pyad/tests/__init__.py | Docurated/pyad | 605486c13ac22f7af530902722c725d369991f5f | [
"Apache-2.0"
] | 145 | 2015-01-14T21:53:35.000Z | 2022-03-10T19:40:32.000Z | pyad/tests/__init__.py | Docurated/pyad | 605486c13ac22f7af530902722c725d369991f5f | [
"Apache-2.0"
] | 104 | 2015-01-12T21:14:10.000Z | 2022-03-02T12:38:41.000Z | pyad/tests/__init__.py | jcarswell/pyad | cc7455934bfab6aae1a760b0b5c2b3e6f609b5a3 | [
"Apache-2.0"
] | 73 | 2015-03-27T07:36:47.000Z | 2022-03-04T18:59:18.000Z | from tests_adbase import *
from tests_adquery import * | 27.5 | 27 | 0.818182 | 8 | 55 | 5.375 | 0.625 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 28 | 27.5 | 0.914894 | 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 |
db2941a77a9a55c9d3d3b0e236585b4ac34edc3a | 274 | py | Python | stable_baselines/td3/__init__.py | TinkTheBoush/stable-baselines | 1f1b7823c2ed5286a6aff516af365e37b37813d9 | [
"MIT"
] | null | null | null | stable_baselines/td3/__init__.py | TinkTheBoush/stable-baselines | 1f1b7823c2ed5286a6aff516af365e37b37813d9 | [
"MIT"
] | null | null | null | stable_baselines/td3/__init__.py | TinkTheBoush/stable-baselines | 1f1b7823c2ed5286a6aff516af365e37b37813d9 | [
"MIT"
] | null | null | null | from stable_baselines.common.noise import NormalActionNoise, OrnsteinUhlenbeckActionNoise
from stable_baselines.td3.td3 import TD3
from stable_baselines.td3.td3_dualing import TD3_DUAL
from stable_baselines.td3.policies import MlpPolicy, CnnPolicy, LnMlpPolicy, LnCnnPolicy
| 54.8 | 89 | 0.883212 | 34 | 274 | 6.941176 | 0.470588 | 0.169492 | 0.322034 | 0.279661 | 0.211864 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027559 | 0.072993 | 274 | 4 | 90 | 68.5 | 0.901575 | 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 |
e1d686848cd463663568415af94277ae1d39dc6b | 10,307 | py | Python | code/nsm_model/model_input.py | microsoft/flin-nl2web | ec8ec0c477df83ae95dde21b0922b91d049ed902 | [
"MIT"
] | 3 | 2021-05-28T23:29:23.000Z | 2021-10-14T17:59:08.000Z | code/nsm_model/model_input.py | microsoft/flin-nl2web | ec8ec0c477df83ae95dde21b0922b91d049ed902 | [
"MIT"
] | 2 | 2021-06-02T04:37:08.000Z | 2022-02-10T04:23:50.000Z | code/nsm_model/model_input.py | microsoft/flin-nl2web | ec8ec0c477df83ae95dde21b0922b91d049ed902 | [
"MIT"
] | 1 | 2021-09-13T12:17:00.000Z | 2021-09-13T12:17:00.000Z | import tensorflow as tf
from code.globals import max_no_dict, max_seq_len
def build_query_input_nodes(query_in):
query_in['q_words'] = tf.placeholder(shape=[None, max_seq_len['query']], dtype=tf.int32,
name='query_in') # 32 x 15
query_in['q_chars'] = tf.placeholder(... | 80.523438 | 140 | 0.511109 | 1,246 | 10,307 | 3.822632 | 0.05297 | 0.136469 | 0.092589 | 0.13227 | 0.937224 | 0.898383 | 0.862062 | 0.837077 | 0.770103 | 0.759605 | 0 | 0.02943 | 0.367032 | 10,307 | 127 | 141 | 81.15748 | 0.700644 | 0.023188 | 0 | 0.114286 | 0 | 0 | 0.226693 | 0.050498 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.019048 | 0 | 0.047619 | 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 |
e1f191f92b416a39d688ddc6c43163ab402cd5e0 | 6,725 | py | Python | networks/datagen.py | SnorlaxSE/AttentionConvLSTM | 6c130616ddd290ae98a731cbb0137e31860ac3e3 | [
"MIT"
] | null | null | null | networks/datagen.py | SnorlaxSE/AttentionConvLSTM | 6c130616ddd290ae98a731cbb0137e31860ac3e3 | [
"MIT"
] | null | null | null | networks/datagen.py | SnorlaxSE/AttentionConvLSTM | 6c130616ddd290ae98a731cbb0137e31860ac3e3 | [
"MIT"
] | null | null | null | import numpy as np
import tensorflow as tf
keras=tf.contrib.keras
import inputs as data
import threading
## Iteration
def minibatches(inputs=None, targets=None, batch_size=None, shuffle=False):
assert len(inputs) == len(targets)
if shuffle:
indices = np.arange(len(inputs))
np.random.shuffle(indices)
for ... | 41.006098 | 91 | 0.664981 | 976 | 6,725 | 4.230533 | 0.119877 | 0.037055 | 0.020344 | 0.036328 | 0.776459 | 0.776459 | 0.76435 | 0.76435 | 0.76435 | 0.76435 | 0 | 0.008903 | 0.231673 | 6,725 | 163 | 92 | 41.257669 | 0.790207 | 0.064684 | 0 | 0.757143 | 0 | 0 | 0.016637 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 1 | 0.05 | false | 0 | 0.028571 | 0 | 0.085714 | 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 |
c027ea956da0e24de166b638d884f8c12d271af5 | 162 | py | Python | test/input/033.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/input/033.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | test/input/033.py | EliRibble/pyfmt | e84a5531a7c06703eddd9dbc2072b0c8deae8c57 | [
"MIT"
] | null | null | null | # comment 1.1
# comment 1.2
def some_function():
pass
# Some post-comment
# post-facto comment 1
# post-facto comment 2
def another_function():
pass
| 14.727273 | 23 | 0.679012 | 25 | 162 | 4.32 | 0.4 | 0.222222 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.222222 | 162 | 10 | 24 | 16.2 | 0.809524 | 0.512346 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
fbe69e4566fcc0f6a3bc381b2b9d88b059d7fdbc | 8,439 | py | Python | pyzoo/test/zoo/automl/model/test_MTnet.py | henryliu00/analytics-zoo | a7d6ba84325cc54754852d8825601e79824e615d | [
"Apache-2.0"
] | null | null | null | pyzoo/test/zoo/automl/model/test_MTnet.py | henryliu00/analytics-zoo | a7d6ba84325cc54754852d8825601e79824e615d | [
"Apache-2.0"
] | null | null | null | pyzoo/test/zoo/automl/model/test_MTnet.py | henryliu00/analytics-zoo | a7d6ba84325cc54754852d8825601e79824e615d | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2018 Analytics Zoo Authors.
#
# 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... | 44.415789 | 91 | 0.580993 | 1,048 | 8,439 | 4.377863 | 0.168893 | 0.083697 | 0.09939 | 0.058849 | 0.781386 | 0.765911 | 0.751526 | 0.734743 | 0.734743 | 0.719486 | 0 | 0.014657 | 0.320891 | 8,439 | 189 | 92 | 44.650794 | 0.785901 | 0.104278 | 0 | 0.795918 | 0 | 0 | 0.07579 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 1 | 0.034014 | false | 0 | 0.040816 | 0 | 0.081633 | 0.013605 | 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 |
fbed19dd14123ff21f4d49d3653bdbf666d83f81 | 250 | py | Python | astroML/linear_model/__init__.py | DinoBektesevic/astroML | b4e699bf45a65e233b40d60323c05eafa1d4955e | [
"BSD-2-Clause"
] | 1 | 2020-10-28T14:45:48.000Z | 2020-10-28T14:45:48.000Z | astroML/linear_model/__init__.py | allenwangg/astroML | b4e699bf45a65e233b40d60323c05eafa1d4955e | [
"BSD-2-Clause"
] | 1 | 2018-05-18T19:32:15.000Z | 2018-05-18T19:32:15.000Z | astroML/linear_model/__init__.py | DinoBektesevic/astroML | b4e699bf45a65e233b40d60323c05eafa1d4955e | [
"BSD-2-Clause"
] | null | null | null | import warnings
from .linear_regression import LinearRegression, PolynomialRegression, BasisFunctionRegression
from .linear_regression_errors import LinearRegressionwithErrors
from .kernel_regression import NadarayaWatson
from .TLS import TLS_logL
| 31.25 | 94 | 0.888 | 25 | 250 | 8.68 | 0.56 | 0.092166 | 0.184332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 250 | 7 | 95 | 35.714286 | 0.951754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbee76f8f86dcc3d9fadedbde51300e6fe857a78 | 16,806 | py | Python | generateds/type_parser.py | Shivayogi123/contrail-api-client | 5cd4894c8651cf4525aa91709b413f42f2502a36 | [
"Apache-2.0"
] | 5 | 2015-02-01T04:19:03.000Z | 2019-06-26T13:18:11.000Z | generateds/type_parser.py | Shivayogi123/contrail-api-client | 5cd4894c8651cf4525aa91709b413f42f2502a36 | [
"Apache-2.0"
] | null | null | null | generateds/type_parser.py | Shivayogi123/contrail-api-client | 5cd4894c8651cf4525aa91709b413f42f2502a36 | [
"Apache-2.0"
] | 30 | 2015-04-29T20:47:22.000Z | 2021-08-31T20:45:24.000Z | #
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
class TypeParserGenerator(object):
def __init__(self, cTypeDict):
self._cTypeDict = cTypeDict
pass
def GenerateJsonTypeParser(self, file, ctype):
print "generating parser for %s" %ctype.getName()
start = """
b... | 42.872449 | 97 | 0.513745 | 1,762 | 16,806 | 4.81101 | 0.086833 | 0.100861 | 0.056624 | 0.067949 | 0.804884 | 0.763478 | 0.730919 | 0.709213 | 0.676301 | 0.66415 | 0 | 0.003757 | 0.334761 | 16,806 | 391 | 98 | 42.982097 | 0.754472 | 0.004641 | 0 | 0.679245 | 0 | 0 | 0.372361 | 0.135681 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.002695 | 0 | null | null | 0.010782 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
223db4ec911792376e25e023380361165377bef3 | 12,894 | py | Python | sdks/python/bjr4py/api/static_api.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | 2 | 2020-06-04T03:04:15.000Z | 2020-06-13T12:53:58.000Z | sdks/python/bjr4py/api/static_api.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | 6 | 2020-05-24T12:56:25.000Z | 2022-02-26T07:13:17.000Z | sdks/python/bjr4py/api/static_api.py | barryw/bjr | de56f22198b34a9d303ee43ac01134b5cf1ce863 | [
"BSD-3-Clause"
] | null | null | null | """
BJR API V1
API specification for the BJR job server. # noqa: E501
The version of the OpenAPI document: v1
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from bjr4py.api_client import ApiClient, Endpoint as _Endpoint
from bjr4py.model_utils imp... | 34.754717 | 106 | 0.469133 | 1,137 | 12,894 | 5.078276 | 0.16095 | 0.03585 | 0.027018 | 0.028057 | 0.757187 | 0.757187 | 0.757187 | 0.757187 | 0.744371 | 0.744371 | 0 | 0.005646 | 0.45052 | 12,894 | 370 | 107 | 34.848649 | 0.809315 | 0.352334 | 0 | 0.570213 | 1 | 0 | 0.200557 | 0.02714 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017021 | false | 0 | 0.029787 | 0 | 0.06383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97da5d6d31539aebdbea394e0358b3032438e202 | 132 | py | Python | tests/amqp/constants.py | Relrin/kurier | 1fd5593c4249a29943d3ee33e4491135ed0fde8d | [
"BSD-3-Clause"
] | 22 | 2019-03-03T11:48:11.000Z | 2022-01-13T19:13:37.000Z | tests/amqp/constants.py | Relrin/kurier | 1fd5593c4249a29943d3ee33e4491135ed0fde8d | [
"BSD-3-Clause"
] | 2 | 2018-07-04T18:52:05.000Z | 2019-10-02T09:01:34.000Z | tests/amqp/constants.py | Relrin/kurier | 1fd5593c4249a29943d3ee33e4491135ed0fde8d | [
"BSD-3-Clause"
] | 4 | 2019-05-27T09:45:29.000Z | 2021-09-10T15:08:57.000Z |
TEST_AMQP_URL = "amqp://user:password@127.0.0.1:5672/vhost"
TEST_ECHO_QUEUE = "test-echo-queue"
TEST_ECHO_EXCHANGE = "amq.direct"
| 22 | 59 | 0.75 | 23 | 132 | 4.043478 | 0.652174 | 0.258065 | 0.27957 | 0.365591 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 0.083333 | 132 | 5 | 60 | 26.4 | 0.68595 | 0 | 0 | 0 | 0 | 0 | 0.507692 | 0.315385 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
97ee61df8cd394666095c79021293f76cd5357dc | 119 | py | Python | REMARKs/BufferStockTheory/do_min.py | npalmer-professional/REMARK | eb97159ccac109b04467d716a6731888b60de00f | [
"Apache-2.0"
] | null | null | null | REMARKs/BufferStockTheory/do_min.py | npalmer-professional/REMARK | eb97159ccac109b04467d716a6731888b60de00f | [
"Apache-2.0"
] | null | null | null | REMARKs/BufferStockTheory/do_min.py | npalmer-professional/REMARK | eb97159ccac109b04467d716a6731888b60de00f | [
"Apache-2.0"
] | null | null | null | # do_all.py is required for a REMARK; in this case, it just runs BufferStockTheory.py
import BufferStockTheory.py
| 14.875 | 85 | 0.773109 | 19 | 119 | 4.789474 | 0.842105 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 119 | 7 | 86 | 17 | 0.928571 | 0.697479 | 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 |
97f2f5ca9930b8b0760a8c5cefa4bc4a96dcfc51 | 15,313 | py | Python | basicsr/archs/block_utils.py | hiterjoshua/BasicSR | 299b9459b5281d2d200bfd1d400515fe928a63c0 | [
"Apache-2.0",
"MIT"
] | null | null | null | basicsr/archs/block_utils.py | hiterjoshua/BasicSR | 299b9459b5281d2d200bfd1d400515fe928a63c0 | [
"Apache-2.0",
"MIT"
] | null | null | null | basicsr/archs/block_utils.py | hiterjoshua/BasicSR | 299b9459b5281d2d200bfd1d400515fe928a63c0 | [
"Apache-2.0",
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
def reparameter_13(s_1, s_2):
if isinstance(s_1, nn.Conv2d):
w_s_1 = s_1.weight # output# * input# * kernel * kernel
b_s_1 = s_1.bias
else:
w_s_1 = s_1['weight']
b_s_1 = s_1['bias']
if isinstance(s_2, nn.... | 39.365039 | 132 | 0.582969 | 2,363 | 15,313 | 3.549725 | 0.066864 | 0.01526 | 0.054244 | 0.052098 | 0.845732 | 0.816047 | 0.792322 | 0.773605 | 0.756319 | 0.736409 | 0 | 0.079416 | 0.280481 | 15,313 | 389 | 133 | 39.365039 | 0.681884 | 0.032717 | 0 | 0.670927 | 0 | 0 | 0.051421 | 0.010961 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041534 | false | 0 | 0.009585 | 0 | 0.099042 | 0.015974 | 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 |
97f4ce97a85eccacdb006ca1c45c29c5d878cd02 | 112 | py | Python | script/options/__init__.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | script/options/__init__.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | script/options/__init__.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | from script.options.change_prompt_char import change_prompt_char
from script.options.set_theme import set_theme
| 37.333333 | 64 | 0.892857 | 18 | 112 | 5.222222 | 0.5 | 0.212766 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 65 | 56 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
97f9f2c86d6845cbd6e4d03370f6070ce2420ddd | 80 | py | Python | test_code/python.py | ssebastianj/pywebtasks | 7596558ab806de2b4a48a01c6d324f21f22bdd0f | [
"MIT"
] | 7 | 2015-05-25T22:15:04.000Z | 2020-03-14T14:11:11.000Z | test_code/python.py | ssebastianj/pywebtasks | 7596558ab806de2b4a48a01c6d324f21f22bdd0f | [
"MIT"
] | null | null | null | test_code/python.py | ssebastianj/pywebtasks | 7596558ab806de2b4a48a01c6d324f21f22bdd0f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def main():
return "Hello, Python world!"
main()
| 10 | 33 | 0.5375 | 10 | 80 | 4.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.2375 | 80 | 7 | 34 | 11.428571 | 0.688525 | 0.2625 | 0 | 0 | 0 | 0 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
3f1ee6ecc7b1530c7dbd481e290eddc7cec81af8 | 158,987 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_infra_syslog_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_infra_syslog_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_infra_syslog_cfg.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 50.424041 | 266 | 0.52498 | 14,235 | 158,987 | 5.618265 | 0.029294 | 0.09983 | 0.124787 | 0.142355 | 0.897869 | 0.880439 | 0.860671 | 0.836088 | 0.786011 | 0.726781 | 0 | 0.010152 | 0.337675 | 158,987 | 3,152 | 267 | 50.440038 | 0.749347 | 0 | 0 | 0.57988 | 0 | 0.00248 | 0.448403 | 0.345992 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002834 | 0 | 0.002834 | 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 |
3f3a68331442c7976b4e04f38bc271081d6c7e12 | 27 | py | Python | shapeshiftio/__init__.py | cleavitt210/shapeshiftio | 89d57622a26a55312bea9f407f2d8682deeef974 | [
"MIT"
] | null | null | null | shapeshiftio/__init__.py | cleavitt210/shapeshiftio | 89d57622a26a55312bea9f407f2d8682deeef974 | [
"MIT"
] | null | null | null | shapeshiftio/__init__.py | cleavitt210/shapeshiftio | 89d57622a26a55312bea9f407f2d8682deeef974 | [
"MIT"
] | null | null | null | from shapeshiftio import *
| 13.5 | 26 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
3f5ee5fa2a8a74f86a6f218c557829a666487c84 | 16,252 | py | Python | python/climate_ae/data_generator/prec_psl_shorter_training_period.py | christinaheinze/latent-linear-adjustment-autoencoders- | 5ef94407ea9acfc90187645a6118f7d7eb141c77 | [
"MIT"
] | null | null | null | python/climate_ae/data_generator/prec_psl_shorter_training_period.py | christinaheinze/latent-linear-adjustment-autoencoders- | 5ef94407ea9acfc90187645a6118f7d7eb141c77 | [
"MIT"
] | null | null | null | python/climate_ae/data_generator/prec_psl_shorter_training_period.py | christinaheinze/latent-linear-adjustment-autoencoders- | 5ef94407ea9acfc90187645a6118f7d7eb141c77 | [
"MIT"
] | null | null | null | import os
import tensorflow as tf
from climate_ae.data_generator import utils
# dimensionality of annotations
DANNO1 = 1000
DANNO2 = 1
DANNO3 = 1
# image dimensions
HEIGHT = 128
WIDTH = 128
DEPTH = 1
# data type
DTYPE = tf.float64
def train(directory):
tfrecords_filename = 'train_prec_psl_short_ens_kba_kbc_kbe_... | 39.067308 | 110 | 0.762921 | 2,315 | 16,252 | 4.939957 | 0.044492 | 0.130815 | 0.04617 | 0.057712 | 0.954704 | 0.954704 | 0.954704 | 0.954704 | 0.954704 | 0.954704 | 0 | 0.036786 | 0.155304 | 16,252 | 415 | 111 | 39.161446 | 0.796256 | 0.004307 | 0 | 0.698113 | 0 | 0 | 0.284593 | 0.282367 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138365 | false | 0 | 0.009434 | 0 | 0.286164 | 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 |
58c01aa4202ecf863b3bcf99c33c0f7a6386d159 | 320 | py | Python | MagicTelecomAPILib/__init__.py | MagicTelecom/mt_python_api | b014760809cb1d0cab48a3376cbaface0c4bef66 | [
"MIT"
] | null | null | null | MagicTelecomAPILib/__init__.py | MagicTelecom/mt_python_api | b014760809cb1d0cab48a3376cbaface0c4bef66 | [
"MIT"
] | null | null | null | MagicTelecomAPILib/__init__.py | MagicTelecom/mt_python_api | b014760809cb1d0cab48a3376cbaface0c4bef66 | [
"MIT"
] | null | null | null | from MagicTelecomAPILib.APIException import *
from MagicTelecomAPILib.APIHelper import *
from MagicTelecomAPILib.Configuration import *
from MagicTelecomAPILib.Models import *
from MagicTelecomAPILib.Controllers import *
from MagicTelecomAPILib.Decorators import *
from MagicTelecomAPILib.MagicTelecomAPIClient import *
| 40 | 54 | 0.86875 | 28 | 320 | 9.928571 | 0.357143 | 0.553957 | 0.604317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 320 | 7 | 55 | 45.714286 | 0.952055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
58f9017ae4a38c7baada83b10a0f67029ed68d3b | 104 | py | Python | terrascript/circonus/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/circonus/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/circonus/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/circonus/__init__.py
import terrascript
class circonus(terrascript.Provider):
pass
| 13 | 37 | 0.788462 | 11 | 104 | 7.090909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 104 | 7 | 38 | 14.857143 | 0.866667 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4508416af0936df14cb99d3c9151a0d55b728f45 | 37 | py | Python | python/main.py | tamori2917/automation | 2c9024c95dba3db58dc00ce36775e89f188ec1ad | [
"MIT"
] | null | null | null | python/main.py | tamori2917/automation | 2c9024c95dba3db58dc00ce36775e89f188ec1ad | [
"MIT"
] | null | null | null | python/main.py | tamori2917/automation | 2c9024c95dba3db58dc00ce36775e89f188ec1ad | [
"MIT"
] | null | null | null |
import requests
import json
| 6.166667 | 17 | 0.648649 | 4 | 37 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 37 | 5 | 18 | 7.4 | 1 | 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 |
45295646b30ef05977005b0bc4c3f60d9d6cc7f1 | 8,781 | py | Python | tests/test_process_user_queries.py | moj-analytical-services/airflow-pdf2embeddings | d2d6f6c9bfefe61529e740e52c6967f27d82e532 | [
"MIT"
] | 18 | 2020-06-11T12:52:43.000Z | 2021-12-10T09:06:46.000Z | tests/test_process_user_queries.py | moj-analytical-services/airflow-pdf2embeddings | d2d6f6c9bfefe61529e740e52c6967f27d82e532 | [
"MIT"
] | 2 | 2021-12-21T17:24:35.000Z | 2021-12-21T17:26:29.000Z | tests/test_process_user_queries.py | moj-analytical-services/airflow-pdf2embeddings | d2d6f6c9bfefe61529e740e52c6967f27d82e532 | [
"MIT"
] | 4 | 2020-08-23T20:40:12.000Z | 2022-01-29T21:12:24.000Z | import os
import pytest
import logging
import numpy as np
import pandas as pd
import pandas.util.testing as pdt
from pdf2embeddings.process_user_queries import query_embeddings
def test_query_embeddings_with_word2vec_with_exact_query():
embedding, trained_df = query_embeddings(
"Michael went to the store ... | 46.707447 | 120 | 0.706298 | 1,193 | 8,781 | 4.93881 | 0.13663 | 0.065682 | 0.033944 | 0.040733 | 0.873897 | 0.865411 | 0.846741 | 0.81721 | 0.806008 | 0.795825 | 0 | 0.007421 | 0.186653 | 8,781 | 187 | 121 | 46.957219 | 0.817558 | 0.08917 | 0 | 0.670968 | 0 | 0.025806 | 0.307172 | 0.079109 | 0 | 0 | 0 | 0 | 0.154839 | 1 | 0.077419 | false | 0 | 0.045161 | 0 | 0.122581 | 0.012903 | 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 |
188f1cce3166234d8dd60309db0b675d467e02f4 | 261 | py | Python | app/classify/config.py | insaneyilin/latte | b30ea4ee95efdbf52a274f504cb9920c5695acf9 | [
"Apache-2.0"
] | 274 | 2019-04-22T06:57:31.000Z | 2022-03-27T03:45:36.000Z | app/classify/config.py | insaneyilin/latte | b30ea4ee95efdbf52a274f504cb9920c5695acf9 | [
"Apache-2.0"
] | 20 | 2019-04-22T23:40:50.000Z | 2021-09-17T16:51:09.000Z | app/classify/config.py | insaneyilin/latte | b30ea4ee95efdbf52a274f504cb9920c5695acf9 | [
"Apache-2.0"
] | 109 | 2019-04-22T06:57:34.000Z | 2022-02-26T06:10:18.000Z | #!/usr/bin/env python3
CALIBRATION_PATH = '/Users/berniewang/annotator/lidarAnnotator/app/classify/calib'
IMAGE_OUTPUT_PATH = '/Users/berniewang/annotator/lidarAnnotator/app/classify/inception'
INPUT_DIR = "/Users/berniewang/annotator/lidarAnnotator/app/input" | 52.2 | 87 | 0.827586 | 31 | 261 | 6.83871 | 0.580645 | 0.212264 | 0.339623 | 0.537736 | 0.693396 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0.004 | 0.042146 | 261 | 5 | 88 | 52.2 | 0.844 | 0.08046 | 0 | 0 | 0 | 0 | 0.741667 | 0.741667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
18c1eb6999521b673cd5a8ea91c5b568ffdfdab8 | 762 | py | Python | ISTp/2014/NEZAMOV_S_I/task_4_31.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | ISTp/2014/NEZAMOV_S_I/task_4_31.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | ISTp/2014/NEZAMOV_S_I/task_4_31.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | # Задача 3. Вариант 31.
# Напишите программу, которая выводит имя, под которым скрывается Анна Андреевна Горенко. Дополнительно необходимо вывести область интересов указанной личности, место рождения, годы рождения и смерти (если человек умер), вычислить возраст на данный момент (или момент смерти). Для хранения всех н... | 108.857143 | 443 | 0.801837 | 104 | 762 | 5.884615 | 0.894231 | 0.042484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042424 | 0.133858 | 762 | 6 | 444 | 127 | 0.883333 | 0.639108 | 0 | 0 | 0 | 0.5 | 0.903704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7a0d340843dee7c87308433a6c2f73d11e10127c | 68 | py | Python | ML_Algos/apps/logistic_regression_2.py | KiloSat/ML_Algos | 4375bdadeca91a8bfa5ca9dedf6202d3252b96d7 | [
"MIT"
] | null | null | null | ML_Algos/apps/logistic_regression_2.py | KiloSat/ML_Algos | 4375bdadeca91a8bfa5ca9dedf6202d3252b96d7 | [
"MIT"
] | null | null | null | ML_Algos/apps/logistic_regression_2.py | KiloSat/ML_Algos | 4375bdadeca91a8bfa5ca9dedf6202d3252b96d7 | [
"MIT"
] | null | null | null | import streamlit as st
def app():
st.subheader("Comming Soon") | 17 | 29 | 0.691176 | 10 | 68 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 68 | 4 | 29 | 17 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 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 |
e13e26196de2e4ed704a187d47d1af09824b463b | 8,865 | py | Python | codewof/tests/users/test_utils.py | jimbonothing64/codewof | 6f46576bdc512a2d107652f708a5e2c998f94996 | [
"MIT"
] | 3 | 2019-08-29T04:11:22.000Z | 2021-06-22T16:05:51.000Z | codewof/tests/users/test_utils.py | jimbonothing64/codewof | 6f46576bdc512a2d107652f708a5e2c998f94996 | [
"MIT"
] | 265 | 2019-05-30T03:51:46.000Z | 2022-03-31T01:05:12.000Z | codewof/tests/users/test_utils.py | samuelsandri/codewof | c9b8b378c06b15a0c42ae863b8f46581de04fdfc | [
"MIT"
] | 7 | 2019-06-29T12:13:37.000Z | 2021-09-06T06:49:14.000Z | from users.utils import send_invitation_email, create_invitation_plaintext, create_invitation_html
from tests.users.test_views import get_outbox_sorted
from django.test import TestCase
from django.contrib.auth import get_user_model
from django.http import HttpResponse
from django.urls import reverse
from tests.conftest... | 58.708609 | 119 | 0.642752 | 1,109 | 8,865 | 4.993688 | 0.13706 | 0.039003 | 0.032864 | 0.036836 | 0.886782 | 0.871073 | 0.861502 | 0.839834 | 0.839834 | 0.839834 | 0 | 0.003859 | 0.269261 | 8,865 | 150 | 120 | 59.1 | 0.851034 | 0.011393 | 0 | 0.624 | 0 | 0.12 | 0.301027 | 0.006621 | 0 | 0 | 0 | 0 | 0.104 | 1 | 0.128 | false | 0 | 0.08 | 0 | 0.232 | 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 |
e15ba1bfda2225350bf10ba3e562818c4b05c3f2 | 43 | py | Python | Pytorch/Nets/diffpool_net.py | acproject/learningTF2 | a39bea9e8d39c0142ea879fb5147208c751a0db1 | [
"MIT"
] | null | null | null | Pytorch/Nets/diffpool_net.py | acproject/learningTF2 | a39bea9e8d39c0142ea879fb5147208c751a0db1 | [
"MIT"
] | null | null | null | Pytorch/Nets/diffpool_net.py | acproject/learningTF2 | a39bea9e8d39c0142ea879fb5147208c751a0db1 | [
"MIT"
] | null | null | null | import torch.nn.functional as F
import dgl
| 14.333333 | 31 | 0.813953 | 8 | 43 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 2 | 32 | 21.5 | 0.945946 | 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 |
e16389e64387d4cabf04ec929f29f37f54154c93 | 3,594 | py | Python | liskpool3_unittest.py | liskmagazine/lisk-pool3 | 78774a1fcbcea95b49454949dff9286a3adc63c1 | [
"MIT"
] | 4 | 2021-08-03T18:39:59.000Z | 2021-09-03T01:16:50.000Z | liskpool3_unittest.py | liskmagazine/lisk-pool3 | 78774a1fcbcea95b49454949dff9286a3adc63c1 | [
"MIT"
] | 17 | 2021-08-04T13:13:54.000Z | 2021-09-29T05:51:43.000Z | liskpool3_unittest.py | liskmagazine/lisk-pool3 | 78774a1fcbcea95b49454949dff9286a3adc63c1 | [
"MIT"
] | 14 | 2021-08-03T15:41:15.000Z | 2021-09-13T18:48:46.000Z | import unittest
import liskpool3
class TestAddressToBinary(unittest.TestCase):
def __init__(self, *args, **kwargs):
super(TestAddressToBinary, self).__init__(*args, **kwargs)
def test_1(self):
self.assertEqual(liskpool3.addressToBinary("lsks4bdyynsyxxrxxgractch2v6jen8xxsrmc47b8"), "da4da8c4f... | 30.201681 | 168 | 0.454647 | 238 | 3,594 | 6.743697 | 0.205882 | 0.122118 | 0.069782 | 0.109657 | 0.809969 | 0.809969 | 0.773832 | 0.773832 | 0.721495 | 0.683489 | 0 | 0.081232 | 0.404007 | 3,594 | 118 | 169 | 30.457627 | 0.668067 | 0 | 0 | 0.617021 | 0 | 0 | 0.187257 | 0.022538 | 0 | 0 | 0 | 0 | 0.053191 | 1 | 0.117021 | false | 0 | 0.021277 | 0.042553 | 0.202128 | 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 |
e1a892f1f70c90130957be04d18cb97ecd0091e3 | 39 | py | Python | validation/__init__.py | StevenChumak/wcid-pytorch | c80257dbb8286c987b21dc63b62fcefcd5ebf8e5 | [
"MIT"
] | null | null | null | validation/__init__.py | StevenChumak/wcid-pytorch | c80257dbb8286c987b21dc63b62fcefcd5ebf8e5 | [
"MIT"
] | null | null | null | validation/__init__.py | StevenChumak/wcid-pytorch | c80257dbb8286c987b21dc63b62fcefcd5ebf8e5 | [
"MIT"
] | 1 | 2021-11-29T21:56:54.000Z | 2021-11-29T21:56:54.000Z | from .metrics import calculate_metrics
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
becaa2388196212a5e9897b91b483aadadd26ee8 | 6,769 | py | Python | test/test_markdown_emphasis_rule_11.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | 20 | 2021-01-14T17:39:09.000Z | 2022-03-14T08:35:22.000Z | test/test_markdown_emphasis_rule_11.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | 304 | 2020-08-15T23:24:00.000Z | 2022-03-31T23:34:03.000Z | test/test_markdown_emphasis_rule_11.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | 3 | 2021-08-11T10:26:26.000Z | 2021-11-02T20:41:27.000Z | """
https://github.github.com/gfm/#emphasis-and-strong-emphasis
"""
import pytest
from .utils import act_and_assert
@pytest.mark.gfm
def test_emphasis_445():
"""
Test case 445: (part 1) Rule 11
"""
# Arrange
source_markdown = """foo ***"""
expected_tokens = [
"[para(1,1):]",
... | 25.35206 | 191 | 0.542621 | 851 | 6,769 | 4.165687 | 0.088132 | 0.014669 | 0.025388 | 0.054161 | 0.899295 | 0.899295 | 0.891396 | 0.891396 | 0.878984 | 0.878984 | 0 | 0.045392 | 0.25144 | 6,769 | 266 | 192 | 25.447368 | 0.654233 | 0.241986 | 0 | 0.564935 | 0 | 0 | 0.304472 | 0.071951 | 0 | 0 | 0 | 0 | 0.084416 | 1 | 0.077922 | false | 0 | 0.012987 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bed73c2e3eb715f463bfa2d8ff71929b9075a2fd | 1,098 | py | Python | python/run_tests.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | 6 | 2020-04-19T11:26:18.000Z | 2021-06-21T18:42:51.000Z | python/run_tests.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | 31 | 2020-04-21T17:24:39.000Z | 2020-08-27T15:59:12.000Z | python/run_tests.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | null | null | null | import unittest
from tests.misc.lengthratios import *
from tests.scene.midpoint import *
from tests.explainer.altitudes import *
from tests.explainer.inside_triangle import *
from tests.explainer.perpendicular_bisector import *
from tests.explainer.rog4578 import *
from tests.explainer.rog4594 import *
from tests.ex... | 30.5 | 52 | 0.811475 | 140 | 1,098 | 6.285714 | 0.271429 | 0.265909 | 0.426136 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032753 | 0.1102 | 1,098 | 35 | 53 | 31.371429 | 0.867963 | 0 | 0 | 0 | 0 | 0 | 0.007286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.931034 | 0 | 0.931034 | 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 |
830b353b068aeea70dec3e58af5c9aad19aded90 | 102 | py | Python | rest/__main__.py | gintburg/autopy | ffad9fb43001468055ea42be80f404866727b13c | [
"Apache-2.0"
] | null | null | null | rest/__main__.py | gintburg/autopy | ffad9fb43001468055ea42be80f404866727b13c | [
"Apache-2.0"
] | null | null | null | rest/__main__.py | gintburg/autopy | ffad9fb43001468055ea42be80f404866727b13c | [
"Apache-2.0"
] | null | null | null | """Make package executable."""
from rest.flask_server import start_flask_server
start_flask_server()
| 20.4 | 48 | 0.813725 | 14 | 102 | 5.571429 | 0.642857 | 0.423077 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 102 | 4 | 49 | 25.5 | 0.83871 | 0.235294 | 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 |
83679c4a1e0ba77c47e7ac49f9131780ecdc8446 | 80 | py | Python | nes/bus/devices/apu/sq1_lo.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 1 | 2017-05-13T18:57:09.000Z | 2017-05-13T18:57:09.000Z | nes/bus/devices/apu/sq1_lo.py | Hexadorsimal/py6502 | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | 7 | 2020-10-24T17:16:56.000Z | 2020-11-01T14:10:23.000Z | nes/bus/devices/apu/sq1_lo.py | Hexadorsimal/pynes | dbb3d40c1240fa27f70fa798bcec09188755eec2 | [
"MIT"
] | null | null | null | from nes.processors.registers import Register
class Sq1Lo(Register):
pass
| 13.333333 | 45 | 0.775 | 10 | 80 | 6.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.1625 | 80 | 5 | 46 | 16 | 0.910448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
367a6d4c4c98ab206b3c96a1441189d11e33f30a | 32 | py | Python | cerebstats/test_mock_data/__init__.py | cerebunit/cerebstats | 10e02d7ba0168137bb4c304bc6d917013eaeb0f0 | [
"BSD-3-Clause"
] | null | null | null | cerebstats/test_mock_data/__init__.py | cerebunit/cerebstats | 10e02d7ba0168137bb4c304bc6d917013eaeb0f0 | [
"BSD-3-Clause"
] | null | null | null | cerebstats/test_mock_data/__init__.py | cerebunit/cerebstats | 10e02d7ba0168137bb4c304bc6d917013eaeb0f0 | [
"BSD-3-Clause"
] | 3 | 2021-03-20T13:11:50.000Z | 2021-08-18T10:58:50.000Z | from .mock_data import MockData
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
367fad7e30377c9db5f19f7ae25c2e1ccfb91dea | 31 | py | Python | python-hello-world.py | bescobarres/my-first-docker | ec9fb25f67d0ebd67174ce1795ff5799ac3f46ce | [
"Apache-2.0"
] | null | null | null | python-hello-world.py | bescobarres/my-first-docker | ec9fb25f67d0ebd67174ce1795ff5799ac3f46ce | [
"Apache-2.0"
] | null | null | null | python-hello-world.py | bescobarres/my-first-docker | ec9fb25f67d0ebd67174ce1795ff5799ac3f46ce | [
"Apache-2.0"
] | null | null | null | print('Hello world from pyhon') | 31 | 31 | 0.774194 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.6875 | 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 |
7fd50bd3ab538d1e5badf65a9651736ca5718ebd | 231 | py | Python | tests/beacon/types/test_deposits.py | Bhargavasomu/py-evm | ee8f72d5a70805575a967cde0a43942e1526264e | [
"MIT"
] | null | null | null | tests/beacon/types/test_deposits.py | Bhargavasomu/py-evm | ee8f72d5a70805575a967cde0a43942e1526264e | [
"MIT"
] | null | null | null | tests/beacon/types/test_deposits.py | Bhargavasomu/py-evm | ee8f72d5a70805575a967cde0a43942e1526264e | [
"MIT"
] | 2 | 2019-09-05T01:31:56.000Z | 2019-09-17T09:09:16.000Z | from eth.beacon.types.deposits import Deposit
def test_defaults(sample_deposit_params):
deposit = Deposit(**sample_deposit_params)
assert deposit.deposit_data.timestamp == sample_deposit_params['deposit_data'].timestamp
| 28.875 | 92 | 0.809524 | 29 | 231 | 6.137931 | 0.517241 | 0.219101 | 0.320225 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 231 | 7 | 93 | 33 | 0.859903 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7fef68818bc465929aaf7c24edad5c7b384446b4 | 39 | py | Python | linecache_light/__init__.py | cbaziotis/linecache_light | 2ccf83f4c5e6ef5fa9fd8ffc0d94226e1f3b291d | [
"MIT"
] | 20 | 2017-03-14T09:13:01.000Z | 2021-11-05T06:38:12.000Z | linecache_light/__init__.py | cbaziotis/linecache_light | 2ccf83f4c5e6ef5fa9fd8ffc0d94226e1f3b291d | [
"MIT"
] | 1 | 2021-09-16T14:18:42.000Z | 2021-09-16T14:18:42.000Z | linecache_light/__init__.py | cbaziotis/linecache_light | 2ccf83f4c5e6ef5fa9fd8ffc0d94226e1f3b291d | [
"MIT"
] | 5 | 2018-11-27T22:19:32.000Z | 2021-01-06T13:28:29.000Z | from .linecache_light import LineCache
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
7ff31e4e0c9e6bddfd1b01f0f42763222da8bc0b | 400 | py | Python | habanero/noworks.py | yurivict/habanero | 857897a88811153f7460472219fd78d4e68bdc12 | [
"MIT"
] | null | null | null | habanero/noworks.py | yurivict/habanero | 857897a88811153f7460472219fd78d4e68bdc12 | [
"MIT"
] | 1 | 2015-10-07T02:20:24.000Z | 2015-10-07T02:20:24.000Z | habanero/noworks.py | yurivict/habanero | 857897a88811153f7460472219fd78d4e68bdc12 | [
"MIT"
] | null | null | null | class NoWorks(object):
"""
Habanero: agency class
"""
def __init__(self, result):
self.result = result
def status(self):
return self.result["status"]
def message_type(self):
return self.result["message-type"]
def message_version(self):
return self.result["... | 20 | 45 | 0.61 | 45 | 400 | 5.288889 | 0.311111 | 0.252101 | 0.235294 | 0.336134 | 0.340336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265 | 400 | 19 | 46 | 21.052632 | 0.809524 | 0.055 | 0 | 0 | 0 | 0 | 0.110497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.363636 | 0.909091 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
7ff434aaef53f2fbb64351dc60fde1a6b254c1d3 | 247 | py | Python | source/bluetooth/test_Bluetooth.py | Takahiro55555/CameraSystem | 53a77b7a7bd0c34b486d73af8ef2a49201a0bdaa | [
"MIT"
] | 1 | 2019-12-03T05:28:35.000Z | 2019-12-03T05:28:35.000Z | source/bluetooth/test_Bluetooth.py | Takahiro55555/CameraSystem | 53a77b7a7bd0c34b486d73af8ef2a49201a0bdaa | [
"MIT"
] | 88 | 2019-07-01T09:11:35.000Z | 2021-09-08T01:13:16.000Z | source/bluetooth/test_Bluetooth.py | Takahiro55555/CameraSystem | 53a77b7a7bd0c34b486d73af8ef2a49201a0bdaa | [
"MIT"
] | 5 | 2019-05-22T06:44:38.000Z | 2019-09-18T05:20:30.000Z | """
@file: test_Bluetooth.py
@author: Futa HIRAKOBA
@brief: Bluetooth.pyのをテストするプログラム
"""
import pytest
import serial
from Bluetooth import Bluetooth
@pytest.fixture()
def bluetooth():
return Bluetooth()
def test_create():
Bluetooth()
| 13 | 32 | 0.732794 | 28 | 247 | 6.392857 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 247 | 18 | 33 | 13.722222 | 0.856459 | 0.323887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3d055e62f3d08409ec9c7445969c61805515340e | 22,796 | py | Python | onnxruntime/test/python/quantization/test_qdq.py | SiriusKY/onnxruntime | 3c5853dcbc9d5dda2476afa8c6105802d2b8e53d | [
"MIT"
] | 1 | 2022-03-09T21:24:30.000Z | 2022-03-09T21:24:30.000Z | onnxruntime/test/python/quantization/test_qdq.py | SiriusKY/onnxruntime | 3c5853dcbc9d5dda2476afa8c6105802d2b8e53d | [
"MIT"
] | null | null | null | onnxruntime/test/python/quantization/test_qdq.py | SiriusKY/onnxruntime | 3c5853dcbc9d5dda2476afa8c6105802d2b8e53d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# -----------------------------------------------... | 48.918455 | 209 | 0.612915 | 2,764 | 22,796 | 4.729016 | 0.082851 | 0.035957 | 0.022722 | 0.030985 | 0.814475 | 0.781119 | 0.742254 | 0.734221 | 0.719302 | 0.701477 | 0 | 0.027004 | 0.278733 | 22,796 | 465 | 210 | 49.023656 | 0.767972 | 0.109493 | 0 | 0.593023 | 0 | 0 | 0.078499 | 0.021926 | 0 | 0 | 0 | 0 | 0.031977 | 1 | 0.034884 | false | 0 | 0.031977 | 0 | 0.084302 | 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 |
3d2c674b464ccfce4b8c21ce76aad15cd93e008d | 3,670 | py | Python | pygithub3/tests/services/test_events.py | teamorchard/python-github3 | 321385860cb2ecaea1221612682c20e8069768b0 | [
"0BSD"
] | 107 | 2015-01-06T09:47:27.000Z | 2021-11-02T08:21:58.000Z | pygithub3/tests/services/test_events.py | mikiec84/python-github3 | 321385860cb2ecaea1221612682c20e8069768b0 | [
"0BSD"
] | 16 | 2015-02-17T08:00:58.000Z | 2019-09-17T17:23:44.000Z | pygithub3/tests/services/test_events.py | mikiec84/python-github3 | 321385860cb2ecaea1221612682c20e8069768b0 | [
"0BSD"
] | 69 | 2015-01-02T14:38:29.000Z | 2022-02-25T10:04:09.000Z | # -*- encoding: utf-8 -*-
import requests
from mock import patch
from pygithub3.tests.utils.core import TestCase
from pygithub3.services.events import Event
from pygithub3.tests.utils.base import (mock_response_result, dummy_json)
from pygithub3.tests.utils.services import _
@dummy_json
@patch.object(requests.sessi... | 35.631068 | 76 | 0.679292 | 429 | 3,670 | 5.55711 | 0.132867 | 0.147232 | 0.075503 | 0.090604 | 0.809564 | 0.795302 | 0.795302 | 0.795302 | 0.795302 | 0.754195 | 0 | 0.004728 | 0.193188 | 3,670 | 102 | 77 | 35.980392 | 0.800405 | 0.006267 | 0 | 0.546667 | 0 | 0 | 0.103155 | 0.052401 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.186667 | false | 0 | 0.08 | 0 | 0.333333 | 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 |
3d2f35651d335a98fcda24a4490c9b50dda87cad | 210 | py | Python | django_lightweight_queue/models.py | lamby/django-lightweight-queue | 31128a74211f46b8e5b52ab42c98c0f7d54c4a78 | [
"BSD-3-Clause"
] | null | null | null | django_lightweight_queue/models.py | lamby/django-lightweight-queue | 31128a74211f46b8e5b52ab42c98c0f7d54c4a78 | [
"BSD-3-Clause"
] | null | null | null | django_lightweight_queue/models.py | lamby/django-lightweight-queue | 31128a74211f46b8e5b52ab42c98c0f7d54c4a78 | [
"BSD-3-Clause"
] | null | null | null | from .utils import import_all_submodules
try:
import_all_submodules('tasks')
except RuntimeError:
# Initialisation tasks in latest versions of Django get run in AppConfig
# (see apps.py).
pass
| 23.333333 | 76 | 0.742857 | 28 | 210 | 5.428571 | 0.785714 | 0.118421 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195238 | 210 | 8 | 77 | 26.25 | 0.899408 | 0.404762 | 0 | 0 | 0 | 0 | 0.040984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
3d4a5be30ce33d8ddad16a98b3ffca7218c63fb5 | 10,348 | py | Python | examples/v2/project_creation/test_project.py | rkochman/deploymentmanager-samples | b214477e19de2d443ec28fbdbe4a4c0a15797b3d | [
"Apache-2.0"
] | null | null | null | examples/v2/project_creation/test_project.py | rkochman/deploymentmanager-samples | b214477e19de2d443ec28fbdbe4a4c0a15797b3d | [
"Apache-2.0"
] | null | null | null | examples/v2/project_creation/test_project.py | rkochman/deploymentmanager-samples | b214477e19de2d443ec28fbdbe4a4c0a15797b3d | [
"Apache-2.0"
] | 1 | 2018-10-07T05:11:03.000Z | 2018-10-07T05:11:03.000Z | """Unit tests for `project.py`"""
import copy
import unittest
import project as p
class Context:
def __init__(self, env, properties):
self.env = env
self.properties = properties
class ProjectTestCase(unittest.TestCase):
"""Tests for `project.py`."""
default_env = {'name': 'my-project',
... | 32.540881 | 79 | 0.567743 | 940 | 10,348 | 6.091489 | 0.160638 | 0.038596 | 0.035627 | 0.036675 | 0.810339 | 0.742752 | 0.723018 | 0.723018 | 0.712539 | 0.681802 | 0 | 0.01315 | 0.316583 | 10,348 | 317 | 80 | 32.643533 | 0.796521 | 0.092095 | 0 | 0.562044 | 0 | 0 | 0.21806 | 0.080077 | 0 | 0 | 0 | 0 | 0.065693 | 1 | 0.043796 | false | 0 | 0.010949 | 0 | 0.069343 | 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 |
e9fa4cd3c551722821b9f0472be9cf869be22113 | 181 | py | Python | __init__.py | bezova/fastml | 8d184fec3bb87a218cf2811ee99ae831408805ba | [
"Apache-2.0"
] | 1 | 2020-03-06T19:15:48.000Z | 2020-03-06T19:15:48.000Z | __init__.py | bezova/fastml | 8d184fec3bb87a218cf2811ee99ae831408805ba | [
"Apache-2.0"
] | null | null | null | __init__.py | bezova/fastml | 8d184fec3bb87a218cf2811ee99ae831408805ba | [
"Apache-2.0"
] | null | null | null | #print('executed_init_')
#import fastml.utils
#from fastml import utils
#from .utils import pp
__all__ = ['utils', 'data']
#__all__ = ['pp']
from . import utils
from . import data | 20.111111 | 27 | 0.707182 | 25 | 181 | 4.72 | 0.4 | 0.228814 | 0.254237 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149171 | 181 | 9 | 28 | 20.111111 | 0.766234 | 0.574586 | 0 | 0 | 0 | 0 | 0.123288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
180fb2f48c7181da41d4c06217fdf18374972347 | 45 | py | Python | scraper/spiders/reports/__init__.py | Darshan-AS/dopagent_scraper | 3457dda8b66e01cdce56e11425fc82f6db163005 | [
"MIT"
] | null | null | null | scraper/spiders/reports/__init__.py | Darshan-AS/dopagent_scraper | 3457dda8b66e01cdce56e11425fc82f6db163005 | [
"MIT"
] | 12 | 2020-11-07T16:41:58.000Z | 2021-01-24T09:58:29.000Z | scraper/spiders/reports/__init__.py | Darshan-AS/dopagent_scraper | 3457dda8b66e01cdce56e11425fc82f6db163005 | [
"MIT"
] | null | null | null | # flake8: noqa
from .reports_spider import *
| 15 | 29 | 0.755556 | 6 | 45 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.155556 | 45 | 2 | 30 | 22.5 | 0.842105 | 0.266667 | 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 |
1824aec09d610a1e939d3c8cb19306bf0dda5552 | 75 | py | Python | python/testData/refactoring/extractsuperclass/importNotBrokenManyFiles/source_module.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractsuperclass/importNotBrokenManyFiles/source_module.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractsuperclass/importNotBrokenManyFiles/source_module.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from shared_module import SharedClass
class MyClass(SharedClass):
pass | 18.75 | 37 | 0.813333 | 9 | 75 | 6.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 75 | 4 | 38 | 18.75 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
183809ec1d18bbabedd0f00f9edcfab95b5a63dc | 113 | py | Python | tests/from_bpy.py | ousttrue/io_scene_yup | bace0a1044ec31c4e3468dbe987af336c2e0d8a9 | [
"MIT"
] | 1 | 2018-07-31T21:48:57.000Z | 2018-07-31T21:48:57.000Z | tests/from_bpy.py | ousttrue/io_scene_yup | bace0a1044ec31c4e3468dbe987af336c2e0d8a9 | [
"MIT"
] | null | null | null | tests/from_bpy.py | ousttrue/io_scene_yup | bace0a1044ec31c4e3468dbe987af336c2e0d8a9 | [
"MIT"
] | null | null | null | import bpy
import bpy.utils
import io_scene_yup
io_scene_yup.register()
# run
bpy.ops.export_scene.yup()
| 14.125 | 27 | 0.752212 | 19 | 113 | 4.210526 | 0.526316 | 0.3 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159292 | 113 | 7 | 28 | 16.142857 | 0.842105 | 0.026549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a10780c4ec0583b180aeeb42851769fa94d1084c | 48 | py | Python | 10/01/03/1.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | 10/01/03/1.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | 46 | 2017-06-30T22:19:07.000Z | 2017-07-31T22:51:31.000Z | 10/01/03/1.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | class MyClass: pass
print(MyClass().__repr__())
| 16 | 27 | 0.75 | 6 | 48 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 2 | 28 | 24 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
a10a3a1ee6a021affd0f9f0faafe1cdb1c14ddb0 | 81 | py | Python | satlas/utilities/__init__.py | woutergins/SATLAS | 2f7a4be557165f8f7f12e5cace71881b0046c19d | [
"MIT"
] | 6 | 2015-08-26T14:58:45.000Z | 2022-03-09T02:37:21.000Z | satlas/utilities/__init__.py | eatradish/satlas | 29f01bc2994c45bb32bdcb63668ed9afab95dbda | [
"MIT"
] | 23 | 2015-06-02T13:13:39.000Z | 2020-07-15T08:28:06.000Z | satlas/utilities/__init__.py | eatradish/satlas | 29f01bc2994c45bb32bdcb63668ed9afab95dbda | [
"MIT"
] | 2 | 2019-11-18T01:13:24.000Z | 2020-11-25T21:52:04.000Z | from satlas.utilities.utilities import *
from satlas.utilities.plotting import *
| 27 | 40 | 0.82716 | 10 | 81 | 6.7 | 0.5 | 0.298507 | 0.567164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 2 | 41 | 40.5 | 0.917808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a11c995b4258664c41dd965c89148798d9f7e61d | 535 | py | Python | tests/run/argument_unpacking_closure_T736.py | minrk/cython | 9422a4b11d9410574a02112c0b54da2917501c9b | [
"Apache-2.0"
] | 2 | 2021-08-20T02:33:24.000Z | 2021-11-17T10:54:00.000Z | tests/run/argument_unpacking_closure_T736.py | felix-salfelder/cython | 5446ec2921d6247611978cd17c66e215421b20c4 | [
"Apache-2.0"
] | null | null | null | tests/run/argument_unpacking_closure_T736.py | felix-salfelder/cython | 5446ec2921d6247611978cd17c66e215421b20c4 | [
"Apache-2.0"
] | null | null | null | # mode: run
# ticket: 736
# tags: default arguments, closure
def default_args_for_closure(a=1, b=2):
"""
>>> default_args_for_closure()()
(1, 2)
>>> default_args_for_closure(1, 2)()
(1, 2)
>>> default_args_for_closure(2)()
(2, 2)
>>> default_args_for_closure(8,9)()
(8, 9)
>>> de... | 21.4 | 44 | 0.55514 | 82 | 535 | 3.329268 | 0.280488 | 0.322344 | 0.410256 | 0.615385 | 0.498169 | 0.25641 | 0.172161 | 0 | 0 | 0 | 0 | 0.075 | 0.252336 | 535 | 24 | 45 | 22.291667 | 0.6075 | 0.682243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a14129d77cb37561a18a329b950f35916ac16249 | 3,583 | py | Python | demo_controller.py | ChristophHoenes/EWoMan2 | c3a117ba1b217d8b4a8f678a5cb4fda471134bfa | [
"Apache-2.0"
] | null | null | null | demo_controller.py | ChristophHoenes/EWoMan2 | c3a117ba1b217d8b4a8f678a5cb4fda471134bfa | [
"Apache-2.0"
] | null | null | null | demo_controller.py | ChristophHoenes/EWoMan2 | c3a117ba1b217d8b4a8f678a5cb4fda471134bfa | [
"Apache-2.0"
] | null | null | null | from controller import Controller
import numpy as np
def sigmoid_activation(x):
return 1./(1.+np.exp(-x))
# implements controller structure for player
class player_controller(Controller):
def __init__(self, _n_hidden):
# Number of hidden neurons
self.n_hidden = [_n_hidden]
def control(self, inputs, controller... | 28.664 | 97 | 0.69746 | 533 | 3,583 | 4.589118 | 0.163227 | 0.068684 | 0.089943 | 0.078496 | 0.834015 | 0.834015 | 0.804579 | 0.804579 | 0.804579 | 0.804579 | 0 | 0.046934 | 0.18532 | 3,583 | 124 | 98 | 28.895161 | 0.791024 | 0.265699 | 0 | 0.644737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065789 | false | 0 | 0.026316 | 0.013158 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.