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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a40f78c9b724dee2dad6697353d5d6fda2e51928 | 10,048 | py | Python | check_gradients.py | garg-saurav/numpy-neural-net | 2590be0a042aeffc4634af81a52c51539b193082 | [
"MIT"
] | null | null | null | check_gradients.py | garg-saurav/numpy-neural-net | 2590be0a042aeffc4634af81a52c51539b193082 | [
"MIT"
] | null | null | null | check_gradients.py | garg-saurav/numpy-neural-net | 2590be0a042aeffc4634af81a52c51539b193082 | [
"MIT"
] | null | null | null | import numpy as np
import nn
import sys
from util import *
from layers import *
np.random.seed(42)
def check_fully_connected():
XTrain = np.random.randn(10, 100)
YTrain = np.random.randn(10, 2)
nn1 = nn.NeuralNetwork(10, 1)
nn1.addLayer(FullyConnectedLayer(100, 10, 'relu'))
nn1.addLayer(FullyCon... | 37.916981 | 69 | 0.585291 | 1,309 | 10,048 | 4.404889 | 0.07945 | 0.085848 | 0.108394 | 0.134409 | 0.882414 | 0.810614 | 0.80385 | 0.768644 | 0.73864 | 0.704128 | 0 | 0.070382 | 0.273189 | 10,048 | 265 | 70 | 37.916981 | 0.719157 | 0.006071 | 0 | 0.50885 | 0 | 0 | 0.016026 | 0 | 0 | 0 | 0 | 0 | 0.004425 | 1 | 0.013274 | false | 0.013274 | 0.022124 | 0 | 0.035398 | 0.061947 | 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 |
a47eb3b295280eaa2e5efac0f5493f5c09ac75c2 | 48 | py | Python | tests/files/package_dependency/b.py | ishikawa/modipyd | 30bd7df9e9babb29b848dac6a46b1c909ab1e180 | [
"MIT"
] | 1 | 2016-05-08T13:21:04.000Z | 2016-05-08T13:21:04.000Z | tests/files/package_dependency/b.py | ishikawa/modipyd | 30bd7df9e9babb29b848dac6a46b1c909ab1e180 | [
"MIT"
] | null | null | null | tests/files/package_dependency/b.py | ishikawa/modipyd | 30bd7df9e9babb29b848dac6a46b1c909ab1e180 | [
"MIT"
] | null | null | null | from package_dependency.a import STRING, NUMBER
| 24 | 47 | 0.854167 | 7 | 48 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f10af6e0553b44c9e98e2de6f4f75354af763d42 | 84 | py | Python | hubitatmaker/__init__.py | spectre3ooo/hubitatmaker | 0fd48022dfd7e4da294944fb37c4c7232ee3dade | [
"MIT"
] | null | null | null | hubitatmaker/__init__.py | spectre3ooo/hubitatmaker | 0fd48022dfd7e4da294944fb37c4c7232ee3dade | [
"MIT"
] | null | null | null | hubitatmaker/__init__.py | spectre3ooo/hubitatmaker | 0fd48022dfd7e4da294944fb37c4c7232ee3dade | [
"MIT"
] | null | null | null | from .hub import Hub
from .const import *
from .error import *
from .types import *
| 16.8 | 20 | 0.72619 | 13 | 84 | 4.692308 | 0.461538 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 84 | 4 | 21 | 21 | 0.897059 | 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 |
f1151a23a72e8dd374bba8b26f7d4ddb2094ffb4 | 90 | py | Python | service_catalog/forms/__init__.py | Sispheor/squest | f852fe7986521a9d8cd9fb5eb0b56aa15f22548c | [
"Apache-2.0"
] | 112 | 2021-04-21T08:52:55.000Z | 2022-03-01T15:09:19.000Z | service_catalog/forms/__init__.py | Sispheor/squest | f852fe7986521a9d8cd9fb5eb0b56aa15f22548c | [
"Apache-2.0"
] | 216 | 2021-04-21T09:06:47.000Z | 2022-03-30T14:21:28.000Z | service_catalog/forms/__init__.py | Sispheor/squest | f852fe7986521a9d8cd9fb5eb0b56aa15f22548c | [
"Apache-2.0"
] | 21 | 2021-04-20T13:53:54.000Z | 2022-03-30T21:43:04.000Z | from .admin_forms import *
from .customer_forms import *
from .announcement_form import *
| 22.5 | 32 | 0.8 | 12 | 90 | 5.75 | 0.583333 | 0.318841 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 3 | 33 | 30 | 0.884615 | 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 |
f11eaaa9782372bec05ae636332ae11faeab4912 | 5,236 | py | Python | tests/test_bucketlists_resource.py | brayoh/bucket-list-api | 5968dc4e9a8ac85ba9bc1ac40a49920d39a6ef97 | [
"MIT"
] | null | null | null | tests/test_bucketlists_resource.py | brayoh/bucket-list-api | 5968dc4e9a8ac85ba9bc1ac40a49920d39a6ef97 | [
"MIT"
] | 11 | 2017-07-14T08:41:19.000Z | 2019-08-21T18:04:28.000Z | tests/test_bucketlists_resource.py | brayoh/bucket-list-api | 5968dc4e9a8ac85ba9bc1ac40a49920d39a6ef97 | [
"MIT"
] | null | null | null | import json
from tests.base import Base
class TestBucketlistsResource(Base):
""" This class contains tests for BucketListsResource
"""
def test_creates_bucketlist(self):
response = self.client.post("/api/v1/bucketlists",
data=json.dumps({
... | 40.276923 | 79 | 0.496371 | 465 | 5,236 | 5.477419 | 0.191398 | 0.113074 | 0.087947 | 0.08245 | 0.864154 | 0.81861 | 0.810758 | 0.773459 | 0.738516 | 0.738516 | 0 | 0.016939 | 0.391138 | 5,236 | 129 | 80 | 40.589147 | 0.781995 | 0.023109 | 0 | 0.659794 | 0 | 0 | 0.1729 | 0.018406 | 0 | 0 | 0 | 0 | 0.185567 | 1 | 0.082474 | false | 0 | 0.020619 | 0 | 0.113402 | 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 |
f14efac4d513b4cd087967beb105cf01626d9689 | 89 | py | Python | app/main/__init__.py | AisaJ/Pitches-app | 2256e5a4da9c7d06f0eb3a3106dbe23841c85ae9 | [
"Unlicense"
] | null | null | null | app/main/__init__.py | AisaJ/Pitches-app | 2256e5a4da9c7d06f0eb3a3106dbe23841c85ae9 | [
"Unlicense"
] | null | null | null | app/main/__init__.py | AisaJ/Pitches-app | 2256e5a4da9c7d06f0eb3a3106dbe23841c85ae9 | [
"Unlicense"
] | null | null | null | from flask import Blueprint
main = Blueprint ('main',__name__)
from . import views,errors | 29.666667 | 34 | 0.786517 | 12 | 89 | 5.5 | 0.666667 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 3 | 35 | 29.666667 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f15647febc845803b459cc22c09d26de8b88670f | 26 | py | Python | bimap/__init__.py | sushobhit27/bimap | 067fc0da2fa64a8a09623c2c60beb9bb4c3d90b2 | [
"MIT"
] | 3 | 2018-11-09T14:46:03.000Z | 2020-03-04T09:39:13.000Z | bimap/__init__.py | sushobhit27/bimap | 067fc0da2fa64a8a09623c2c60beb9bb4c3d90b2 | [
"MIT"
] | null | null | null | bimap/__init__.py | sushobhit27/bimap | 067fc0da2fa64a8a09623c2c60beb9bb4c3d90b2 | [
"MIT"
] | null | null | null | from . bimap import Bimap
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.952381 | 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 |
f156cbfa094be0d7fb05d3c9c213a4196e3f8234 | 44 | py | Python | visualiser/__init__.py | possiblyhamzah/visualiser | 0e9f2670e6538e9931580d72712ddce4953809dd | [
"MIT"
] | null | null | null | visualiser/__init__.py | possiblyhamzah/visualiser | 0e9f2670e6538e9931580d72712ddce4953809dd | [
"MIT"
] | null | null | null | visualiser/__init__.py | possiblyhamzah/visualiser | 0e9f2670e6538e9931580d72712ddce4953809dd | [
"MIT"
] | null | null | null | from visualiser.Visualiser import Visualiser | 44 | 44 | 0.909091 | 5 | 44 | 8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 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 |
7436e6323980129bb9a6bdac24111c9cf90668a7 | 25 | py | Python | run.py | Tech-Dex/boilerplate-fastapi-mysql | 0cbdc9f6a171a6575c50659a1227579b577ff4dc | [
"MIT"
] | 2 | 2021-06-21T09:34:50.000Z | 2021-09-06T10:16:12.000Z | run.py | Tech-Dex/boilerplate-fastapi-mysql | 0cbdc9f6a171a6575c50659a1227579b577ff4dc | [
"MIT"
] | 1 | 2022-02-05T15:29:10.000Z | 2022-02-05T15:29:10.000Z | run.py | Tech-Dex/boilerplate-fastapi-mysql | 0cbdc9f6a171a6575c50659a1227579b577ff4dc | [
"MIT"
] | 1 | 2022-02-01T21:38:43.000Z | 2022-02-01T21:38:43.000Z | from app.main import app
| 12.5 | 24 | 0.8 | 5 | 25 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
77af253b352f647ee76b871342130625701e364b | 63,651 | py | Python | ImageNet/training-software/binarization_utils_birealnet.py | awai54st/Logic-Shrinkage | 0fa60201b9d55bb6804cf503731f1476b57ed48f | [
"BSD-2-Clause"
] | 11 | 2021-11-23T20:32:14.000Z | 2022-03-01T21:11:51.000Z | ImageNet/training-software/binarization_utils_birealnet.py | awai54st/Logic-Shrinkage | 0fa60201b9d55bb6804cf503731f1476b57ed48f | [
"BSD-2-Clause"
] | null | null | null | ImageNet/training-software/binarization_utils_birealnet.py | awai54st/Logic-Shrinkage | 0fa60201b9d55bb6804cf503731f1476b57ed48f | [
"BSD-2-Clause"
] | null | null | null | import numpy as np
import pickle
import matplotlib.pyplot as plt
import matplotlib
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras.models import Sequential, Model
from tensorflow.keras.layers import Dense, Convolution2D, Activation, Flatten, MaxPooling2D,Input,Dropout,GlobalAveragePooling2D
... | 72.330682 | 176 | 0.733846 | 11,364 | 63,651 | 3.854277 | 0.038631 | 0.084224 | 0.048402 | 0.098973 | 0.903493 | 0.87895 | 0.839475 | 0.832511 | 0.819132 | 0.812489 | 0 | 0.066669 | 0.103345 | 63,651 | 879 | 177 | 72.412969 | 0.700769 | 0.057061 | 0 | 0.275915 | 0 | 0 | 0.004681 | 0 | 0 | 0 | 0 | 0 | 0.003049 | 1 | 0.028963 | false | 0 | 0.028963 | 0.004573 | 0.085366 | 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 |
7ae0f2d5723036baf5da5294c3ad28a7246a70cc | 16,062 | py | Python | core/tests/test_api.py | AndrewADev/open-oni | 8a3a2564659eaf22b2bb3ad3be62504dfc151897 | [
"Apache-2.0"
] | 41 | 2015-10-12T15:27:35.000Z | 2021-11-19T02:20:38.000Z | core/tests/test_api.py | AndrewADev/open-oni | 8a3a2564659eaf22b2bb3ad3be62504dfc151897 | [
"Apache-2.0"
] | 402 | 2015-07-23T21:17:57.000Z | 2022-03-28T18:02:02.000Z | core/tests/test_api.py | AndrewADev/open-oni | 8a3a2564659eaf22b2bb3ad3be62504dfc151897 | [
"Apache-2.0"
] | 23 | 2016-01-20T16:45:44.000Z | 2021-12-21T00:23:40.000Z | import json
from django.test import TestCase
from django.conf import settings
class ApiTests(TestCase):
"""Tests the current API. Note URLs are hardwired instead of dynamic
using names from urls.py to help notice when we break our contract with
clients outside of LC.
"""
fixtures = [
'test/... | 65.559184 | 214 | 0.453368 | 1,466 | 16,062 | 4.901774 | 0.12824 | 0.046758 | 0.08767 | 0.105205 | 0.846646 | 0.823546 | 0.798219 | 0.782772 | 0.77317 | 0.772753 | 0 | 0.132335 | 0.388868 | 16,062 | 244 | 215 | 65.827869 | 0.599735 | 0.009961 | 0 | 0.587719 | 0 | 0.144737 | 0.450985 | 0.01851 | 0 | 0 | 0 | 0 | 0.061404 | 1 | 0.030702 | false | 0 | 0.013158 | 0 | 0.052632 | 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 |
7aeac728f77b057274b15345cecc8eee0ccb3660 | 287 | py | Python | PythonBasics/Python_DataTypes/PythonBoolean.py | abhinavsatheesh/Python | 9ae1a7a040522f5989c34f17d2d0764b301fa23a | [
"Apache-2.0"
] | null | null | null | PythonBasics/Python_DataTypes/PythonBoolean.py | abhinavsatheesh/Python | 9ae1a7a040522f5989c34f17d2d0764b301fa23a | [
"Apache-2.0"
] | null | null | null | PythonBasics/Python_DataTypes/PythonBoolean.py | abhinavsatheesh/Python | 9ae1a7a040522f5989c34f17d2d0764b301fa23a | [
"Apache-2.0"
] | null | null | null | #Boolean is a Data Type in Python which has 2 values - True and False
print (bool(0)) #Python will return False
print (bool(1)) #Python will return True
print (bool(1.5)) #Pyton will return True
print (bool(None)) #Python will return False
print (bool('')) #Python will return False | 47.833333 | 70 | 0.724739 | 49 | 287 | 4.244898 | 0.469388 | 0.216346 | 0.307692 | 0.302885 | 0.509615 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0.021008 | 0.170732 | 287 | 6 | 71 | 47.833333 | 0.852941 | 0.644599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
bb35984bfef8486616b17eeecd85d8008592cf9f | 360 | py | Python | vmraid/patches/v11_0/rename_workflow_action_to_workflow_action_master.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v11_0/rename_workflow_action_to_workflow_action_master.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v11_0/rename_workflow_action_to_workflow_action_master.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import vmraid
from vmraid.model.rename_doc import rename_doc
def execute():
if vmraid.db.table_exists("Workflow Action") and not vmraid.db.table_exists("Workflow Action Master"):
rename_doc('DocType', 'Workflow Action', 'Workflow Action Master')
vmraid.reload_doc('workflow... | 36 | 103 | 0.791667 | 49 | 360 | 5.55102 | 0.44898 | 0.257353 | 0.220588 | 0.139706 | 0.242647 | 0.242647 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 360 | 9 | 104 | 40 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0.327778 | 0.061111 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
247dbee90792a954f15431e62be8887deaf4a000 | 68 | py | Python | graphgallery/functional/tensor/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | 1 | 2020-07-29T08:00:32.000Z | 2020-07-29T08:00:32.000Z | graphgallery/functional/tensor/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | null | null | null | graphgallery/functional/tensor/__init__.py | dongzizhu/GraphGallery | c65eab42daeb52de5019609fe7b368e30863b4ae | [
"MIT"
] | null | null | null | from .ops import *
from .tensor import *
from .edge_ops import *
| 17 | 24 | 0.691176 | 10 | 68 | 4.6 | 0.5 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220588 | 68 | 3 | 25 | 22.666667 | 0.867925 | 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 |
24b2ee6844ae3fa5e13c7f43e24c3bb6c759a3c2 | 98 | py | Python | tottle/__init__.py | TheBakerCat/tottle | c7dbe741014caff1fadaa39d06db56d44886c31d | [
"MIT"
] | 1 | 2022-02-11T17:43:18.000Z | 2022-02-11T17:43:18.000Z | tottle/__init__.py | TheBakerCat/tottle | c7dbe741014caff1fadaa39d06db56d44886c31d | [
"MIT"
] | null | null | null | tottle/__init__.py | TheBakerCat/tottle | c7dbe741014caff1fadaa39d06db56d44886c31d | [
"MIT"
] | null | null | null | from tottle.api import API
from tottle.framework import Bot
from tottle.types.mini import Message
| 24.5 | 37 | 0.836735 | 16 | 98 | 5.125 | 0.5625 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 3 | 38 | 32.666667 | 0.953488 | 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 |
24d7fa3cb0a803015afffe05531fb19934e6ff2c | 1,895 | py | Python | cwm_worker_ingress/metrics.py | CloudWebManage/cwm-worker-ingress | 9f8a1c5871e5c75f351ebbe85b576dcba62a56ef | [
"MIT"
] | 2 | 2021-09-26T11:43:59.000Z | 2021-11-08T11:24:00.000Z | cwm_worker_ingress/metrics.py | CloudWebManage/cwm-worker-ingress | 9f8a1c5871e5c75f351ebbe85b576dcba62a56ef | [
"MIT"
] | 2 | 2021-04-18T07:09:30.000Z | 2021-10-09T07:40:48.000Z | cwm_worker_ingress/metrics.py | CloudWebManage/cwm-worker-ingress | 9f8a1c5871e5c75f351ebbe85b576dcba62a56ef | [
"MIT"
] | null | null | null | import datetime
from prometheus_client import Histogram
from cwm_worker_ingress import config
_h_resolver_request_latency = Histogram('resolver_request_latency', 'resolver request latency', ["protocol", "domain", "status"])
class Metrics:
def __init__(self, protocol):
self.labels = [protocol]
de... | 44.069767 | 154 | 0.727704 | 226 | 1,895 | 5.716814 | 0.172566 | 0.083591 | 0.153251 | 0.124613 | 0.754644 | 0.754644 | 0.754644 | 0.754644 | 0.718266 | 0.718266 | 0 | 0 | 0.159367 | 1,895 | 42 | 155 | 45.119048 | 0.811048 | 0 | 0 | 0.344828 | 0 | 0 | 0.074934 | 0.024274 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.103448 | 0 | 0.37931 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
702f3e74fb79ea5b26273418e046677b42a057f9 | 60 | py | Python | tests/__main__.py | limiear/solarbot | 2596f0b2bddceacf9d04bae134e30cec5c6fa965 | [
"MIT"
] | null | null | null | tests/__main__.py | limiear/solarbot | 2596f0b2bddceacf9d04bae134e30cec5c6fa965 | [
"MIT"
] | 10 | 2015-04-13T04:13:54.000Z | 2022-01-13T00:48:59.000Z | tests/__main__.py | limiear/solarbot | 2596f0b2bddceacf9d04bae134e30cec5c6fa965 | [
"MIT"
] | null | null | null | import unittest
from solarbot_test import *
unittest.main()
| 15 | 27 | 0.816667 | 8 | 60 | 6 | 0.75 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 3 | 28 | 20 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
7062450040d56322b408fa038f464c76b360374e | 55 | py | Python | app/user/__init__.py | sagaragarwal94/medqa | 992f4bf49a0137d82e9031b5d11fd84daa74fc35 | [
"MIT"
] | 4 | 2016-05-25T16:57:33.000Z | 2016-06-20T16:56:11.000Z | app/user/__init__.py | sagaragarwal94/medqa | 992f4bf49a0137d82e9031b5d11fd84daa74fc35 | [
"MIT"
] | 17 | 2016-07-02T05:49:06.000Z | 2016-09-24T07:22:36.000Z | app/user/__init__.py | sagaragarwal94/medqa | 992f4bf49a0137d82e9031b5d11fd84daa74fc35 | [
"MIT"
] | 8 | 2016-05-25T17:08:05.000Z | 2016-06-21T04:13:30.000Z | from usermodels import User
from userviews import user
| 18.333333 | 27 | 0.854545 | 8 | 55 | 5.875 | 0.625 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 28 | 27.5 | 1 | 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 |
5643dcdc84e61be97d11c2acd3b674946ae106eb | 7,603 | py | Python | Users/tests.py | gordiig/Un_RSOI_Curs_Users | c798c1640a8f9a286e5b09ffef788bbb28656f1d | [
"MIT"
] | null | null | null | Users/tests.py | gordiig/Un_RSOI_Curs_Users | c798c1640a8f9a286e5b09ffef788bbb28656f1d | [
"MIT"
] | 2 | 2021-03-19T01:16:56.000Z | 2021-03-30T12:58:56.000Z | Users/tests.py | gordiig/Un_RSOI_Curs_Users | c798c1640a8f9a286e5b09ffef788bbb28656f1d | [
"MIT"
] | null | null | null | from TestUtils.models import BaseTestCase
from Users.models import Profile
class LocalBaseTestCase(BaseTestCase):
def setUp(self):
super().setUp()
self.path_prefix = self.url_prefix + 'profiles/'
self.profile = Profile.objects.create(user_id=100)
class ProfilesListTestCase(LocalBaseTestC... | 38.39899 | 120 | 0.686308 | 1,009 | 7,603 | 4.819623 | 0.115956 | 0.065803 | 0.088834 | 0.122147 | 0.786346 | 0.767016 | 0.744602 | 0.714168 | 0.706971 | 0.705532 | 0 | 0.059733 | 0.20071 | 7,603 | 197 | 121 | 38.593909 | 0.740497 | 0.015652 | 0 | 0.471014 | 0 | 0 | 0.054948 | 0.020386 | 0 | 0 | 0 | 0 | 0.014493 | 1 | 0.23913 | false | 0 | 0.014493 | 0 | 0.297101 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5654f3300ee2a7069c310e3cf7b810ba7316de3b | 2,276 | py | Python | gwlfe/Output/Loading/StreamBankEros.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | null | null | null | gwlfe/Output/Loading/StreamBankEros.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 6 | 2018-07-24T22:46:28.000Z | 2018-07-29T19:13:09.000Z | gwlfe/Output/Loading/StreamBankEros.py | mudkipmaster/gwlf-e | 9e058445537dd32d1916f76c4b73ca64261771cd | [
"Apache-2.0"
] | 1 | 2018-07-24T18:22:01.000Z | 2018-07-24T18:22:01.000Z | from numpy import zeros
from gwlfe.Memoization import memoize
from gwlfe.MultiUse_Fxns.Erosion.LE import LE
from gwlfe.MultiUse_Fxns.Erosion.LE import LE_f
@memoize
def StreamBankEros(NYrs, DaysMonth, Temp, InitSnow_0, Prec, NRur, NUrb, Area, CNI_0, AntMoist_0, Grow_0, CNP_0, Imper,
ISRR, ISRA, CN... | 63.222222 | 120 | 0.689807 | 260 | 2,276 | 5.896154 | 0.253846 | 0.03392 | 0.044357 | 0.065232 | 0.854534 | 0.854534 | 0.854534 | 0.854534 | 0.804958 | 0.804958 | 0 | 0.031567 | 0.220562 | 2,276 | 35 | 121 | 65.028571 | 0.832582 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.266667 | 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 |
56633f4ae59f34d29c5cdc44d1d3850136e4c5bf | 196 | py | Python | python/msc/linear_algebra/ch1_c.py | gerritjvv/optimization_algorithms | eab2e8fff39eeab8d9be45af3dae3be1a62be3ba | [
"MIT"
] | null | null | null | python/msc/linear_algebra/ch1_c.py | gerritjvv/optimization_algorithms | eab2e8fff39eeab8d9be45af3dae3be1a62be3ba | [
"MIT"
] | null | null | null | python/msc/linear_algebra/ch1_c.py | gerritjvv/optimization_algorithms | eab2e8fff39eeab8d9be45af3dae3be1a62be3ba | [
"MIT"
] | null | null | null | import numpy as np
A = np.array([
[1 / 3, 1 / 3, 1 / 3],
[1 / 3, 1 / 3, 1 / 3],
[1 / 3, 1 / 3, 1 / 3],
])
print("A^2")
print(A**2)
print("A^3")
print(A**3)
print("A^4")
print(A**4) | 12.25 | 26 | 0.423469 | 43 | 196 | 1.930233 | 0.255814 | 0.216867 | 0.289157 | 0.385542 | 0.626506 | 0.216867 | 0.216867 | 0.216867 | 0.216867 | 0.216867 | 0 | 0.171429 | 0.285714 | 196 | 16 | 27 | 12.25 | 0.421429 | 0 | 0 | 0.25 | 0 | 0 | 0.045685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.5 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
566e7a57c0fefb414b09c66021c787a9ef91b2c6 | 1,664 | py | Python | selfdrive/car/modules/CFG_module.py | vandreykiv/openpilot | 34c495ad28c420854c59e824831124abac0cf1f4 | [
"MIT"
] | null | null | null | selfdrive/car/modules/CFG_module.py | vandreykiv/openpilot | 34c495ad28c420854c59e824831124abac0cf1f4 | [
"MIT"
] | null | null | null | selfdrive/car/modules/CFG_module.py | vandreykiv/openpilot | 34c495ad28c420854c59e824831124abac0cf1f4 | [
"MIT"
] | null | null | null |
#operate with params
OP_PARAMS_PATH = "/data/params/"
def save_bool_param(param_name,param_value):
try:
real_param_value = 1 if param_value else 0
with open(OP_PARAMS_PATH+"/"+param_name, "w") as outfile:
outfile.write(f'{real_param_value}')
except IOError:
print("Failed t... | 35.404255 | 76 | 0.647236 | 236 | 1,664 | 4.245763 | 0.177966 | 0.143713 | 0.103792 | 0.113772 | 0.823353 | 0.799401 | 0.774451 | 0.702595 | 0.702595 | 0.620758 | 0 | 0.0104 | 0.248798 | 1,664 | 46 | 77 | 36.173913 | 0.7912 | 0.08113 | 0 | 0.457143 | 0 | 0 | 0.105574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0 | 0 | 0.228571 | 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 |
8e7efe9294983e0f9b5270c6293ebad94f83281c | 5,251 | py | Python | pyelit/Geoparsing/preprocessing_gazetteer.py | Rickecr/PyElit | 83b7d5952b587388b119f7f42738cf69ff53a892 | [
"MIT"
] | 2 | 2020-06-20T15:30:57.000Z | 2020-07-02T16:14:34.000Z | pyelit/Geoparsing/preprocessing_gazetteer.py | Rickecr/PyElit | 83b7d5952b587388b119f7f42738cf69ff53a892 | [
"MIT"
] | 21 | 2019-10-22T12:38:29.000Z | 2020-07-24T22:24:35.000Z | pyelit/Geoparsing/preprocessing_gazetteer.py | richecr/PyElit | 83b7d5952b587388b119f7f42738cf69ff53a892 | [
"MIT"
] | 2 | 2019-10-18T10:39:09.000Z | 2020-07-03T19:22:59.000Z | from plpygis import Geometry
import csv
import sys
# Increasing the limit size of the CSV.
maxInt = sys.maxsize
csv.field_size_limit(maxInt)
def convert_geometry_point(geometry):
"""
Pre-processing function that turns a code into geometry(Point)
for a list of floats.
Params:
----------
geome... | 25.004762 | 88 | 0.557227 | 592 | 5,251 | 4.802365 | 0.16723 | 0.054872 | 0.050651 | 0.063313 | 0.868097 | 0.851214 | 0.832219 | 0.786845 | 0.760113 | 0.760113 | 0 | 0.003205 | 0.286993 | 5,251 | 209 | 89 | 25.124402 | 0.756143 | 0.263378 | 0 | 0.571429 | 0 | 0 | 0.187916 | 0.10061 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.026786 | 0 | 0.116071 | 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 |
8e811cfe001772ce5e0716ee799d1650e592c7b6 | 37 | py | Python | ssod/models/__init__.py | huimlight/SoftTeacher | 97064fbcce1ab87b40977544ba7a9c488274d66f | [
"MIT"
] | 604 | 2021-08-09T03:00:35.000Z | 2022-03-31T13:43:14.000Z | ssod/models/__init__.py | huimlight/SoftTeacher | 97064fbcce1ab87b40977544ba7a9c488274d66f | [
"MIT"
] | 158 | 2021-08-29T07:58:22.000Z | 2022-03-31T15:23:27.000Z | ssod/models/__init__.py | huimlight/SoftTeacher | 97064fbcce1ab87b40977544ba7a9c488274d66f | [
"MIT"
] | 92 | 2021-08-24T07:29:37.000Z | 2022-03-29T03:01:34.000Z | from .soft_teacher import SoftTeacher | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 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 |
8e9e8ccd91d7a68f4dc56a99e5a63c5b75c9bef2 | 79 | py | Python | sacrerouge/datasets/chaganty2018/__init__.py | danieldeutsch/decomposed-rouge | 0d723be8e3359f0bdcc9c7940336800895e46dbb | [
"Apache-2.0"
] | 81 | 2020-07-10T15:45:08.000Z | 2022-03-30T12:19:11.000Z | sacrerouge/datasets/chaganty2018/__init__.py | danieldeutsch/decomposed-rouge | 0d723be8e3359f0bdcc9c7940336800895e46dbb | [
"Apache-2.0"
] | 29 | 2020-08-03T21:50:45.000Z | 2022-02-23T14:34:16.000Z | sacrerouge/datasets/chaganty2018/__init__.py | danieldeutsch/decomposed-rouge | 0d723be8e3359f0bdcc9c7940336800895e46dbb | [
"Apache-2.0"
] | 7 | 2020-08-14T09:54:08.000Z | 2022-03-30T12:19:25.000Z | from sacrerouge.datasets.chaganty2018.subcommand import Chaganty2018Subcommand
| 39.5 | 78 | 0.911392 | 7 | 79 | 10.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 0.050633 | 79 | 1 | 79 | 79 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8edc43a2ce4d11a60e7b4a7bfe9bba3ddce397b2 | 14,581 | py | Python | CT_TIQUA/python_scripts/FSL_FLIRT.py | brosscle/CT-TIQUA | d56104cd60ffa962afae9506b6bc9d4afc0d0de9 | [
"Apache-2.0"
] | null | null | null | CT_TIQUA/python_scripts/FSL_FLIRT.py | brosscle/CT-TIQUA | d56104cd60ffa962afae9506b6bc9d4afc0d0de9 | [
"Apache-2.0"
] | null | null | null | CT_TIQUA/python_scripts/FSL_FLIRT.py | brosscle/CT-TIQUA | d56104cd60ffa962afae9506b6bc9d4afc0d0de9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Apr 17 19:59:31 2020
@author: cbrossard
"""
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Apr 9 18:05:46 2020
@author: cbrossard
"""
import bids
from nipype.interfaces import fsl
from multiprocessing import Pool
from shutil impo... | 45.565625 | 188 | 0.606543 | 1,721 | 14,581 | 4.948867 | 0.101685 | 0.069273 | 0.032054 | 0.039451 | 0.843842 | 0.810614 | 0.797816 | 0.795233 | 0.762358 | 0.733005 | 0 | 0.018065 | 0.255881 | 14,581 | 320 | 189 | 45.565625 | 0.766912 | 0.38996 | 0 | 0.539568 | 0 | 0 | 0.075545 | 0.028932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021583 | false | 0 | 0.028777 | 0 | 0.05036 | 0.014388 | 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 |
d904f6a1115dd1c95dd7d546a71636ca41b6621e | 45 | py | Python | src/secret_key.py | bpollakw/dnarchive | 3ffaa93a4ae5fa6443239ce2f083f051acf4f28f | [
"MIT"
] | null | null | null | src/secret_key.py | bpollakw/dnarchive | 3ffaa93a4ae5fa6443239ce2f083f051acf4f28f | [
"MIT"
] | null | null | null | src/secret_key.py | bpollakw/dnarchive | 3ffaa93a4ae5fa6443239ce2f083f051acf4f28f | [
"MIT"
] | null | null | null | import os
print os.urandom(24).encode('hex')
| 15 | 34 | 0.733333 | 8 | 45 | 4.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.088889 | 45 | 2 | 35 | 22.5 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d913c4a857678c09526f9fc37dbd58e3dc9a1bf6 | 43,492 | py | Python | mhd/python/paraview_scripts/video_maker_bu.py | FinMacDov/AMR_code | 36e25fab72cd86cdda25e4e70ea3afd584b7dbfd | [
"MIT"
] | null | null | null | mhd/python/paraview_scripts/video_maker_bu.py | FinMacDov/AMR_code | 36e25fab72cd86cdda25e4e70ea3afd584b7dbfd | [
"MIT"
] | 1 | 2018-08-14T12:29:07.000Z | 2018-08-14T12:29:07.000Z | mhd/python/paraview_scripts/video_maker_bu.py | FinMacDov/AMR_code | 36e25fab72cd86cdda25e4e70ea3afd584b7dbfd | [
"MIT"
] | null | null | null | # trace generated using paraview version 5.5.2
#### import the simple module from the paraview
from paraview.simple import *
#### disable automatic camera reset on 'Show'
paraview.simple._DisableFirstRenderCameraReset()
def render_view_func():
renderView = CreateView('RenderView')
renderView.ViewSize = [969, ... | 99.070615 | 27,790 | 0.813023 | 7,053 | 43,492 | 4.816107 | 0.074295 | 0.076307 | 0.114461 | 0.08876 | 0.690415 | 0.666833 | 0.664066 | 0.639219 | 0.630034 | 0.622262 | 0 | 0.116354 | 0.040996 | 43,492 | 438 | 27,791 | 99.296804 | 0.698051 | 0.05647 | 0 | 0.006711 | 1 | 0.674497 | 0.676434 | 0.662076 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003356 | false | 0 | 0.003356 | 0 | 0.010067 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d91b58d472ddd5f4bbfdbfae9051f0ef355d70c4 | 44 | py | Python | kamyroll_gui/settings_dialog/__init__.py | KorigamiK/kamyroll-gui | 7c151c2d02a53a11d9f0a17e9bdfa400f707a201 | [
"MIT"
] | 18 | 2020-11-21T11:11:27.000Z | 2021-12-26T03:45:42.000Z | kamyroll_gui/settings_dialog/__init__.py | KorigamiK/kamyroll-gui | 7c151c2d02a53a11d9f0a17e9bdfa400f707a201 | [
"MIT"
] | 2 | 2022-01-31T23:44:38.000Z | 2022-02-03T07:24:12.000Z | kamyroll_gui/settings_dialog/__init__.py | KorigamiK/kamyroll-gui | 7c151c2d02a53a11d9f0a17e9bdfa400f707a201 | [
"MIT"
] | 2 | 2020-11-21T07:46:25.000Z | 2020-12-20T21:09:13.000Z | from .settings_dialog import SettingsDialog
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 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 |
799d311dffed75522f9557a5781b204698e46608 | 39 | py | Python | app/__init__.py | andrefaranha/flask-blog | a491386bddc5b6d3cd4706347b497945d711a3ea | [
"MIT"
] | null | null | null | app/__init__.py | andrefaranha/flask-blog | a491386bddc5b6d3cd4706347b497945d711a3ea | [
"MIT"
] | null | null | null | app/__init__.py | andrefaranha/flask-blog | a491386bddc5b6d3cd4706347b497945d711a3ea | [
"MIT"
] | null | null | null | import app
import models
import routes
| 9.75 | 13 | 0.846154 | 6 | 39 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 39 | 3 | 14 | 13 | 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 |
30a8850eb950c453312f8a032888356f009f4699 | 8,990 | py | Python | models/u-nets.py | abhinav-2912/Polyp-Segmentation | 82f2a309bafb073dc7c12ec85d196c9367b4c702 | [
"MIT"
] | null | null | null | models/u-nets.py | abhinav-2912/Polyp-Segmentation | 82f2a309bafb073dc7c12ec85d196c9367b4c702 | [
"MIT"
] | null | null | null | models/u-nets.py | abhinav-2912/Polyp-Segmentation | 82f2a309bafb073dc7c12ec85d196c9367b4c702 | [
"MIT"
] | null | null | null | import os
import cv2
import keras
import numpy as np
import matplotlib.pyplot as plt
import albumentations as A
import tensorflow
import tensorflow as tf
from tensorflow.keras import *
from tensorflow.keras.models import Model
from tensorflow.keras.layers import Input, Conv2D, MaxPool2D, Activation, Conv2DTranspose, U... | 36.995885 | 116 | 0.648387 | 1,234 | 8,990 | 4.605348 | 0.091572 | 0.087102 | 0.058596 | 0.101355 | 0.831251 | 0.814887 | 0.803273 | 0.791659 | 0.791659 | 0.766673 | 0 | 0.09977 | 0.176085 | 8,990 | 243 | 117 | 36.995885 | 0.667477 | 0.015239 | 0 | 0.650602 | 0 | 0 | 0.044574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024096 | false | 0 | 0.150602 | 0 | 0.198795 | 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 |
30d607e28da1baa1dc1419a822c61ca806574de3 | 455 | py | Python | myapp/views.py | haominglfs/djmininTpl | 5bedcf7f3c45e7bf0a522777756378f38eae5d24 | [
"MIT"
] | null | null | null | myapp/views.py | haominglfs/djmininTpl | 5bedcf7f3c45e7bf0a522777756378f38eae5d24 | [
"MIT"
] | null | null | null | myapp/views.py | haominglfs/djmininTpl | 5bedcf7f3c45e7bf0a522777756378f38eae5d24 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request,'index.html')
# 返回某一特定页面 3层结构
def getPage1(request,path1,path2,path3,name):
return render(request, path1+'/'+path2+'/'+path3+'/'+name)
# 返回某一特定页面 2层结构
def getPage2(request,path1,path2,name):
return re... | 23.947368 | 62 | 0.712088 | 59 | 455 | 5.491525 | 0.423729 | 0.222222 | 0.234568 | 0.212963 | 0.385802 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12967 | 455 | 18 | 63 | 25.277778 | 0.772727 | 0.149451 | 0 | 0 | 0 | 0 | 0.041885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 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 |
ebacc04cdc28cd3f6cce11bfad0196c7b1df13bd | 39 | py | Python | pendulopodes/constants.py | nwunderly/pendulopodes | e9daa8c76625b806fe81d2c623a34493390a62d0 | [
"MIT"
] | 1 | 2021-05-06T00:19:52.000Z | 2021-05-06T00:19:52.000Z | pendulopodes/constants.py | nwunderly/pendulopodes | e9daa8c76625b806fe81d2c623a34493390a62d0 | [
"MIT"
] | null | null | null | pendulopodes/constants.py | nwunderly/pendulopodes | e9daa8c76625b806fe81d2c623a34493390a62d0 | [
"MIT"
] | null | null | null | g = 9.81
l1 = 1
l2 = 1
m1 = 1
m2 = 1
| 4.875 | 8 | 0.410256 | 11 | 39 | 1.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.435897 | 39 | 7 | 9 | 5.571429 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ccdff903d8905db39483de77a5f2cb2e94979f31 | 153 | py | Python | deco/layers/__init__.py | mfojtak/decor | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | 1 | 2019-09-05T07:23:19.000Z | 2019-09-05T07:23:19.000Z | deco/layers/__init__.py | mfojtak/decor | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | 2 | 2020-10-25T17:41:08.000Z | 2020-10-26T16:48:19.000Z | deco/layers/__init__.py | mfojtak/deco | 203979351635a6794c91200fca4a14296ec9bc37 | [
"MIT"
] | null | null | null | from deco.layers.sentencepiece_tokenizer import SentencepieceTokenizer
from deco.layers.bert_input import BertInput
from deco.layers.mapper import Mapper | 51 | 70 | 0.888889 | 20 | 153 | 6.7 | 0.55 | 0.179104 | 0.313433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 153 | 3 | 71 | 51 | 0.943662 | 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 |
695a890cae32dce592f3d9763f60d965982d32d6 | 100,337 | py | Python | Contest/HackerCup/ProblemB_Alchemy.py | AbhiSaphire/Codechef.Practice | f671292dad2695e37458866442a6b951ba4e1a71 | [
"MIT"
] | 27 | 2020-05-19T06:46:45.000Z | 2022-02-06T20:29:58.000Z | Contest/HackerCup/ProblemB_Alchemy.py | AbhiSaphire/Codechef.Practice | f671292dad2695e37458866442a6b951ba4e1a71 | [
"MIT"
] | 1 | 2020-06-23T13:08:08.000Z | 2020-10-06T06:27:15.000Z | Contest/HackerCup/ProblemB_Alchemy.py | AbhiSaphire/Codechef.Practice | f671292dad2695e37458866442a6b951ba4e1a71 | [
"MIT"
] | 4 | 2020-05-19T06:47:52.000Z | 2021-07-09T02:49:09.000Z | def Alchemy(C, N):
return 'N' if abs(C.count('A') - C.count('B')) > 1 else 'Y'
if __name__ == "__main__":
T = int(input())
for i in range(T):
N = int(input())
C = input()
print("Case #{}:".format(i+1), end=" ")
print(Alchemy(list(C), N))
# s = "ABBBBABAAABAABBBAABAAAAAABBB... | 6,271.0625 | 100,007 | 0.998236 | 54 | 100,337 | 1,854.666667 | 0.537037 | 0.00004 | 0.00022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00002 | 0.000907 | 100,337 | 15 | 100,008 | 6,689.133333 | 0.999042 | 0.99709 | 0 | 0 | 0 | 0 | 0.076389 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0.111111 | 0.222222 | 0.222222 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
c63a63a148ef844f02c958e777abad78cb1b7641 | 5,926 | py | Python | tests/clpy_tests/opencl_tests/headercvt_tests/test_headercvt_types.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | tests/clpy_tests/opencl_tests/headercvt_tests/test_headercvt_types.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | tests/clpy_tests/opencl_tests/headercvt_tests/test_headercvt_types.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | import unittest
import headercvt_test_utils as util
class TestHeadercvtTypes(unittest.TestCase):
def setUp(self):
util.check_existence_of_headercvt()
@util.with_temp_wd
def test_headercvt_typedef(self, wd):
util.kick_headercvt_and_get_results(wd, """
typedef int clpy_int;
... | 35.27381 | 79 | 0.629092 | 734 | 5,926 | 4.681199 | 0.126703 | 0.08149 | 0.052387 | 0.061118 | 0.849534 | 0.836438 | 0.792782 | 0.776775 | 0.719441 | 0.697031 | 0 | 0.003432 | 0.262403 | 5,926 | 167 | 80 | 35.48503 | 0.782658 | 0 | 0 | 0.641379 | 0 | 0 | 0.389995 | 0.070279 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.103448 | false | 0 | 0.013793 | 0 | 0.124138 | 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 |
d693269f19f189562a86ebb4660992dccc590e0e | 136 | py | Python | pytorch_pfn_extras/profiler/__init__.py | yasuyuky/pytorch-pfn-extras | febea6ded644d3b7a099ac557f06567a04b3b838 | [
"MIT"
] | null | null | null | pytorch_pfn_extras/profiler/__init__.py | yasuyuky/pytorch-pfn-extras | febea6ded644d3b7a099ac557f06567a04b3b838 | [
"MIT"
] | null | null | null | pytorch_pfn_extras/profiler/__init__.py | yasuyuky/pytorch-pfn-extras | febea6ded644d3b7a099ac557f06567a04b3b838 | [
"MIT"
] | null | null | null | from pytorch_pfn_extras.profiler.record import record # NOQA
from pytorch_pfn_extras.profiler.time_summary import time_summary # NOQA
| 45.333333 | 73 | 0.852941 | 20 | 136 | 5.5 | 0.5 | 0.2 | 0.254545 | 0.363636 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 136 | 2 | 74 | 68 | 0.901639 | 0.066176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d6cf3b6e37b91c972519e55833fa1e5e2cd8df22 | 274 | py | Python | zenithml/torch/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | zenithml/torch/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | 1 | 2022-03-07T16:29:32.000Z | 2022-03-07T16:29:32.000Z | zenithml/torch/__init__.py | zenith-ml/zenithml | b2e68d31f9649d5477f8321b4394822f6f3a8e0c | [
"MIT"
] | null | null | null | from zenithml.torch.nvt_dataset import TorchDataset
from zenithml.torch.model import concat_layers, get_preprocess_layers_and_dims, BaseTorchModel
from zenithml.torch.inference import batch_inference
from zenithml.torch.hvd import init_hvd
from zenithml.torch import recsys
| 45.666667 | 94 | 0.879562 | 39 | 274 | 5.974359 | 0.512821 | 0.257511 | 0.364807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080292 | 274 | 5 | 95 | 54.8 | 0.924603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6d10496f42d8051b362f390b187382e293dd66a | 60 | py | Python | slippi/__init__.py | NikhilNarayana/py-slippi | 0b7a2171b025403e4ed58df6541c4f5ee54493a5 | [
"MIT"
] | null | null | null | slippi/__init__.py | NikhilNarayana/py-slippi | 0b7a2171b025403e4ed58df6541c4f5ee54493a5 | [
"MIT"
] | null | null | null | slippi/__init__.py | NikhilNarayana/py-slippi | 0b7a2171b025403e4ed58df6541c4f5ee54493a5 | [
"MIT"
] | null | null | null | from slippi.game import Game
from slippi.parse import parse
| 20 | 30 | 0.833333 | 10 | 60 | 5 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 31 | 30 | 0.961538 | 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 |
d6ea43a7e3c02c66941ea37869952aa8f2efa469 | 22 | py | Python | dataset/__init__.py | vipulSharma18/Deep-Self-Supervised-Audio-Video-Cosegmentation-with-Adaptive-Noise-Cancellation | d52695be31a1552d0785f3b6634bde6ef9276a90 | [
"MIT"
] | null | null | null | dataset/__init__.py | vipulSharma18/Deep-Self-Supervised-Audio-Video-Cosegmentation-with-Adaptive-Noise-Cancellation | d52695be31a1552d0785f3b6634bde6ef9276a90 | [
"MIT"
] | null | null | null | dataset/__init__.py | vipulSharma18/Deep-Self-Supervised-Audio-Video-Cosegmentation-with-Adaptive-Noise-Cancellation | d52695be31a1552d0785f3b6634bde6ef9276a90 | [
"MIT"
] | null | null | null | from .music import *
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6f35275fb1f95732a79b3f76d647c0a398b09d2 | 14,340 | py | Python | api_tests/timestamp/test_timestamptoken_verify.py | shun-nakazawa/RDM-osf.io | cdf0101426e3a3637f76bd7f477897947f163366 | [
"Apache-2.0"
] | null | null | null | api_tests/timestamp/test_timestamptoken_verify.py | shun-nakazawa/RDM-osf.io | cdf0101426e3a3637f76bd7f477897947f163366 | [
"Apache-2.0"
] | 8 | 2018-11-09T05:57:09.000Z | 2019-07-25T10:27:55.000Z | api_tests/timestamp/test_timestamptoken_verify.py | shun-nakazawa/RDM-osf.io | cdf0101426e3a3637f76bd7f477897947f163366 | [
"Apache-2.0"
] | null | null | null | import datetime
import pytz
import os
from api.timestamp.add_timestamp import AddTimestamp
from api.timestamp.timestamptoken_verify import TimeStampTokenVerifyCheck
from api.base import settings as api_settings
from osf.models import RdmFileTimestamptokenVerifyResult, Guid
import shutil
from nose import tools as nt
fr... | 46.109325 | 144 | 0.702232 | 1,704 | 14,340 | 5.591549 | 0.09331 | 0.040302 | 0.025189 | 0.027708 | 0.876469 | 0.852225 | 0.841415 | 0.821054 | 0.792821 | 0.756402 | 0 | 0.002435 | 0.198257 | 14,340 | 310 | 145 | 46.258065 | 0.826303 | 0.187936 | 0 | 0.622754 | 0 | 0 | 0.08677 | 0.030504 | 0 | 0 | 0 | 0 | 0.143713 | 1 | 0.047904 | false | 0 | 0.08982 | 0 | 0.143713 | 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 |
baa4269e34fc8f3288674a29c4585b3be437d951 | 24 | py | Python | paicoin/restore_wallet.py | projectpai/paipass | 8b8e70b6808bf026cf957e240c7eed7bfcf4c55d | [
"MIT"
] | 3 | 2021-04-17T10:20:26.000Z | 2022-03-08T07:36:13.000Z | paicoin/restore_wallet.py | projectpai/paipass | 8b8e70b6808bf026cf957e240c7eed7bfcf4c55d | [
"MIT"
] | null | null | null | paicoin/restore_wallet.py | projectpai/paipass | 8b8e70b6808bf026cf957e240c7eed7bfcf4c55d | [
"MIT"
] | null | null | null | import os
import boto3
| 6 | 12 | 0.791667 | 4 | 24 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.208333 | 24 | 3 | 13 | 8 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
babe45646212f045914e91cf08d78165971e2d00 | 293 | py | Python | travis_test.py | pythonflaskserverapps/obscurecove | 58795ebd44109d9d60f2f0292d6d6dbd56d05c16 | [
"MIT"
] | null | null | null | travis_test.py | pythonflaskserverapps/obscurecove | 58795ebd44109d9d60f2f0292d6d6dbd56d05c16 | [
"MIT"
] | 4 | 2020-03-24T17:02:11.000Z | 2021-06-01T23:44:35.000Z | travis_test.py | pythonflaskserverapps/obscurecove | 58795ebd44109d9d60f2f0292d6d6dbd56d05c16 | [
"MIT"
] | null | null | null | from obscurecove import read_string_from_file
############################################################
def test_obscurecove():
print("testing obscurecove")
assert read_string_from_file(None, "default") == "default"
############################################################
| 24.416667 | 62 | 0.440273 | 21 | 293 | 5.809524 | 0.619048 | 0.163934 | 0.229508 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095563 | 293 | 11 | 63 | 26.636364 | 0.460377 | 0 | 0 | 0 | 0 | 0 | 0.190751 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bad5ca551a884257661f8f51231239874c03ab95 | 75 | py | Python | model_transfer/utils.py | ondrejba/model_transfer | e108d88f53614c014f0b85e8425cc4e2cee8c330 | [
"MIT"
] | 1 | 2019-06-13T13:14:27.000Z | 2019-06-13T13:14:27.000Z | model_transfer/utils.py | ondrejba/model_transfer | e108d88f53614c014f0b85e8425cc4e2cee8c330 | [
"MIT"
] | null | null | null | model_transfer/utils.py | ondrejba/model_transfer | e108d88f53614c014f0b85e8425cc4e2cee8c330 | [
"MIT"
] | null | null | null | import tensorflow as tf
def logit(x):
return - tf.log(1.0 / x - 1.0)
| 12.5 | 34 | 0.6 | 15 | 75 | 3 | 0.733333 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.253333 | 75 | 5 | 35 | 15 | 0.732143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
24178771a5e30dbd8692e86523707779322fd04f | 26 | py | Python | build/lib/Moo_NLP_test/__init__.py | Moomoo-pls/NLP_Logix_Challenge | 1e9789265a0c7fd9a448ccb8017aead91c05251b | [
"MIT"
] | null | null | null | build/lib/Moo_NLP_test/__init__.py | Moomoo-pls/NLP_Logix_Challenge | 1e9789265a0c7fd9a448ccb8017aead91c05251b | [
"MIT"
] | null | null | null | build/lib/Moo_NLP_test/__init__.py | Moomoo-pls/NLP_Logix_Challenge | 1e9789265a0c7fd9a448ccb8017aead91c05251b | [
"MIT"
] | null | null | null | from Moo_NLP_test import * | 26 | 26 | 0.846154 | 5 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 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 |
241a8b63ebf6ce5e5574c12940ab8b06c00ce4af | 6,359 | py | Python | pagesparse.py | icehelmetminer/my_butler_jeeves | b84617cb3a4df80c852299438eac82cf574b09c2 | [
"MIT"
] | null | null | null | pagesparse.py | icehelmetminer/my_butler_jeeves | b84617cb3a4df80c852299438eac82cf574b09c2 | [
"MIT"
] | null | null | null | pagesparse.py | icehelmetminer/my_butler_jeeves | b84617cb3a4df80c852299438eac82cf574b09c2 | [
"MIT"
] | null | null | null | pages = ["https://moodle2.brandeis.edu/mod/page/view.php?id=1618513","https://moodle2.brandeis.edu/mod/resource/view.php?id=1618514","https://moodle2.brandeis.edu/mod/page/view.php?id=1618515","https://moodle2.brandeis.edu/mod/resource/view.php?id=1618517","https://moodle2.brandeis.edu/mod/resource/view.php?id=1618518"... | 181.685714 | 4,162 | 0.782985 | 951 | 6,359 | 5.219769 | 0.225026 | 0.145044 | 0.241741 | 0.278002 | 0.692184 | 0.681305 | 0.663981 | 0.663981 | 0.641015 | 0.177075 | 0 | 0.089821 | 0.01431 | 6,359 | 35 | 4,163 | 181.685714 | 0.702138 | 0.011637 | 0 | 0.1 | 0 | 0.6 | 0.893017 | 0.006856 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.05 | 0.15 | 0 | 0.15 | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
241d74008b5f83c55da67dee3f0f22cc28f76a41 | 57 | py | Python | data/__init__.py | yhg0112/Hierarchical_Context_Encoder | 5d8f581d68920950a388ae628be4d92b3e0186dd | [
"Apache-2.0"
] | null | null | null | data/__init__.py | yhg0112/Hierarchical_Context_Encoder | 5d8f581d68920950a388ae628be4d92b3e0186dd | [
"Apache-2.0"
] | null | null | null | data/__init__.py | yhg0112/Hierarchical_Context_Encoder | 5d8f581d68920950a388ae628be4d92b3e0186dd | [
"Apache-2.0"
] | null | null | null | from . import corpus_dataset
from . import de_en_iwslt17
| 19 | 28 | 0.824561 | 9 | 57 | 4.888889 | 0.777778 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.140351 | 57 | 2 | 29 | 28.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2450f457524e0347b62a324b321eac3bd0860df8 | 124 | py | Python | discord_pfp_banner_generator/__init__.py | victorbnl/discord-pp-banner-generator | 7b72167010923b07e4a9c8dd6ea80979021f440b | [
"MIT"
] | 7 | 2021-08-22T12:38:38.000Z | 2021-11-22T05:46:53.000Z | discord_pfp_banner_generator/__init__.py | victorbnl/discord-pp-banner-generator | 7b72167010923b07e4a9c8dd6ea80979021f440b | [
"MIT"
] | 1 | 2022-01-07T19:43:32.000Z | 2022-01-07T22:26:43.000Z | discord_pfp_banner_generator/__init__.py | victorbnl/discord-pp-banner-generator | 7b72167010923b07e4a9c8dd6ea80979021f440b | [
"MIT"
] | null | null | null | """A script to generate a profile picture and a banner that show the same image on Discord"""
from .process import process
| 31 | 93 | 0.766129 | 21 | 124 | 4.52381 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 124 | 3 | 94 | 41.333333 | 0.931373 | 0.701613 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79e5980d1214d9f0a6d7c7bd155c0f84d80fa3bc | 1,396 | py | Python | load_data.py | adarshchbs/disentanglement | 77e74409cd0220dbfd9e2809688500dcb2ecf5a5 | [
"MIT"
] | null | null | null | load_data.py | adarshchbs/disentanglement | 77e74409cd0220dbfd9e2809688500dcb2ecf5a5 | [
"MIT"
] | null | null | null | load_data.py | adarshchbs/disentanglement | 77e74409cd0220dbfd9e2809688500dcb2ecf5a5 | [
"MIT"
] | null | null | null | import numpy as np
sketch_x_train = np.load('/home/adarsh/project/disentanglement/saved_features/da_sketchy_feature_train.npy',allow_pickle=True)
sketch_y_train = np.load('/home/adarsh/project/disentanglement/saved_features/da_sketchy_label_train.npy',allow_pickle=True)
print('1')
sketch_x_val = np.load('/home/adarsh... | 53.692308 | 133 | 0.825215 | 222 | 1,396 | 4.837838 | 0.207207 | 0.083799 | 0.142458 | 0.268156 | 0.809125 | 0.809125 | 0.749534 | 0.606145 | 0.606145 | 0.606145 | 0 | 0.006726 | 0.041547 | 1,396 | 26 | 134 | 53.692308 | 0.795964 | 0.303725 | 0 | 0 | 0 | 0 | 0.579275 | 0.57513 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
03183ec6d84fdecf8c32cbb13b6c805b39b6297c | 101 | py | Python | week09/code02.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | null | null | null | week09/code02.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | null | null | null | week09/code02.py | byeongal/KMUCP | 5bafe02c40aae67fc53d9e6cdcb727929368587e | [
"MIT"
] | 1 | 2019-11-27T20:28:19.000Z | 2019-11-27T20:28:19.000Z | def print_my_info():
print("안녕하세요.")
print("홍길동입니다.")
print("만나서반갑습니다.")
print_my_info() | 16.833333 | 22 | 0.623762 | 13 | 101 | 4.538462 | 0.538462 | 0.237288 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 6 | 23 | 16.833333 | 0.710843 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
300194d1b82175b31e4e961fb4cdac0bac3f9fd5 | 96 | py | Python | terrascript/http/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/http/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | terrascript/http/__init__.py | amlodzianowski/python-terrascript | 1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49 | [
"BSD-2-Clause"
] | null | null | null | # terrascript/http/__init__.py
import terrascript
class http(terrascript.Provider):
pass
| 12 | 33 | 0.770833 | 11 | 96 | 6.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 96 | 7 | 34 | 13.714286 | 0.853659 | 0.291667 | 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 |
302138780190d3a7e167cc35197080b89848da2f | 255 | py | Python | lighthouse/classes/event_properties/exceptions.py | sanger/lighthouse | ded48ed20829301f7a131e5711532ee237982050 | [
"MIT"
] | 1 | 2021-11-14T19:57:03.000Z | 2021-11-14T19:57:03.000Z | lighthouse/classes/event_properties/exceptions.py | sanger/lighthouse | ded48ed20829301f7a131e5711532ee237982050 | [
"MIT"
] | 496 | 2020-04-23T07:45:53.000Z | 2022-03-31T14:33:01.000Z | lighthouse/classes/event_properties/exceptions.py | sanger/lighthouse | ded48ed20829301f7a131e5711532ee237982050 | [
"MIT"
] | 3 | 2020-11-01T23:41:08.000Z | 2021-02-23T16:09:40.000Z | class EventPropertyError(Exception):
pass
class ValidationError(Exception):
def __init__(self, message: str):
self.message = message
class RetrievalError(Exception):
def __init__(self, message: str):
self.message = message
| 19.615385 | 37 | 0.701961 | 26 | 255 | 6.576923 | 0.423077 | 0.25731 | 0.187135 | 0.233918 | 0.561404 | 0.561404 | 0.561404 | 0.561404 | 0.561404 | 0 | 0 | 0 | 0.207843 | 255 | 12 | 38 | 21.25 | 0.846535 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
305f8d2b41b6d3fca0974413e00ada3b515f238a | 33 | py | Python | blackout_service.py | navoznov/PlannedElectricityBlackoutTelegramBot | 4037362613f0c4627b4b05c200492ca1628bd582 | [
"MIT"
] | null | null | null | blackout_service.py | navoznov/PlannedElectricityBlackoutTelegramBot | 4037362613f0c4627b4b05c200492ca1628bd582 | [
"MIT"
] | null | null | null | blackout_service.py | navoznov/PlannedElectricityBlackoutTelegramBot | 4037362613f0c4627b4b05c200492ca1628bd582 | [
"MIT"
] | null | null | null | from blackout import Blackout
| 11 | 30 | 0.787879 | 4 | 33 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 2 | 31 | 16.5 | 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 |
30675d29d92c5915e0d94ffd485837c6c59775f3 | 23,279 | py | Python | pyVmomi/_typeinfo_sps.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_sps.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_sps.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | # ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from .VmomiSupport import CreateDataType, CreateManagedType
from .VmomiSupport import CreateEnumType
from .VmomiSupport import AddVersion, AddVersionParent
from .VmomiSupport import AddBreakingChangesInfo
from .VmomiSupport import F_LINK, F_LINKABLE
from .Vm... | 157.290541 | 3,514 | 0.762103 | 2,298 | 23,279 | 7.68973 | 0.079199 | 0.167223 | 0.151774 | 0.054836 | 0.750948 | 0.710939 | 0.588591 | 0.462679 | 0.337898 | 0.271914 | 0 | 0.02076 | 0.046093 | 23,279 | 147 | 3,515 | 158.360544 | 0.775016 | 0.002534 | 0 | 0 | 1 | 0 | 0.663968 | 0.322465 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.055944 | 0 | 0.055944 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2315d1138ea9867fc4a3057488e768ef7c38968e | 156 | py | Python | security/admin.py | daniel5gh/django-security | 427b11b613a508df637a745cbceb3aaa505bed04 | [
"BSD-4-Clause"
] | 223 | 2015-02-10T15:22:37.000Z | 2022-03-07T03:45:11.000Z | security/admin.py | daniel5gh/django-security | 427b11b613a508df637a745cbceb3aaa505bed04 | [
"BSD-4-Clause"
] | 51 | 2015-01-01T17:46:20.000Z | 2022-03-22T14:18:19.000Z | security/admin.py | daniel5gh/django-security | 427b11b613a508df637a745cbceb3aaa505bed04 | [
"BSD-4-Clause"
] | 47 | 2015-01-01T15:46:38.000Z | 2022-03-17T14:36:13.000Z | from django.contrib import admin
from security.models import PasswordExpiry, CspReport
admin.site.register(PasswordExpiry)
admin.site.register(CspReport)
| 22.285714 | 53 | 0.846154 | 19 | 156 | 6.947368 | 0.578947 | 0.136364 | 0.257576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 156 | 6 | 54 | 26 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 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 |
234f691b99ec8edd765d64ab92960d9e4b9d58fd | 33 | py | Python | odoo-13.0/venv/lib/python3.8/site-packages/BmpImagePlugin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 2 | 2021-06-20T16:56:45.000Z | 2021-06-20T17:30:18.000Z | odoo-13.0/venv/lib/python3.8/site-packages/BmpImagePlugin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/venv/lib/python3.8/site-packages/BmpImagePlugin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | from PIL.BmpImagePlugin import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 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 |
88cd44770e19ffb6419cb41f200456e0e9d82bb4 | 23 | py | Python | falkon/la_helpers/__init__.py | mohamad-amin/falkon | 581c761b4a4cb7bf6a299613700db8414c419a52 | [
"MIT"
] | 130 | 2020-06-18T08:30:30.000Z | 2022-03-21T15:43:17.000Z | falkon/la_helpers/__init__.py | mohamad-amin/falkon | 581c761b4a4cb7bf6a299613700db8414c419a52 | [
"MIT"
] | 32 | 2020-06-26T09:24:45.000Z | 2022-03-20T10:37:36.000Z | falkon/la_helpers/__init__.py | mohamad-amin/falkon | 581c761b4a4cb7bf6a299613700db8414c419a52 | [
"MIT"
] | 64 | 2015-03-05T13:50:14.000Z | 2019-09-16T11:24:32.000Z | from .wrapper import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cc42e34d831e2ba27a198d904f08b9f4108ed8e6 | 91 | py | Python | entries/dal_views.py | acdh-oeaw/vhioe | 83c8bce83d7cb21150f404409477d2cd1c7ee240 | [
"MIT"
] | null | null | null | entries/dal_views.py | acdh-oeaw/vhioe | 83c8bce83d7cb21150f404409477d2cd1c7ee240 | [
"MIT"
] | 10 | 2020-02-11T23:56:16.000Z | 2021-12-13T19:45:38.000Z | entries/dal_views.py | acdh-oeaw/vhioe | 83c8bce83d7cb21150f404409477d2cd1c7ee240 | [
"MIT"
] | null | null | null | from dal import autocomplete
class EintragAC(autocomplete.Select2QuerySetView):
pass
| 15.166667 | 50 | 0.813187 | 9 | 91 | 8.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.142857 | 91 | 5 | 51 | 18.2 | 0.935897 | 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 |
cc86a295df1d7c52e28e5ea824bfb022af1fd32d | 224 | py | Python | learning/LearnPython3TheHardWay/ex48/tests/parser_tests.py | AlexanderTN/Python | b4896c5bc179f1ac95955719a9869795c7325319 | [
"Apache-2.0"
] | 1 | 2021-09-09T11:43:13.000Z | 2021-09-09T11:43:13.000Z | learning/LearnPython3TheHardWay/ex48/tests/parser_tests.py | AlexanderTN/Python | b4896c5bc179f1ac95955719a9869795c7325319 | [
"Apache-2.0"
] | null | null | null | learning/LearnPython3TheHardWay/ex48/tests/parser_tests.py | AlexanderTN/Python | b4896c5bc179f1ac95955719a9869795c7325319 | [
"Apache-2.0"
] | 1 | 2021-09-09T11:43:15.000Z | 2021-09-09T11:43:15.000Z | from nose.tools import *
from ex48 import parser
def test_parse():
# result = parser.parse("I want to go to the cabinet")
# print(result)
# assert_equal([(result.verb, result.obj)], [("go", "cabinet")])
pass | 28 | 68 | 0.647321 | 32 | 224 | 4.46875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.196429 | 224 | 8 | 69 | 28 | 0.783333 | 0.575893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
aebf7cb05124e348f35e3994fb5bc065f2b5b25d | 11,291 | py | Python | torch_rc/optim/ridge.py | danieleds/Reservoir-Computing-in-PyTorch | 949fdc890e2061be3643f1508634d641bd08724a | [
"MIT"
] | 9 | 2019-01-21T21:40:33.000Z | 2021-02-25T11:54:33.000Z | torch_rc/optim/ridge.py | danieleds/TorchRC | 949fdc890e2061be3643f1508634d641bd08724a | [
"MIT"
] | null | null | null | torch_rc/optim/ridge.py | danieleds/TorchRC | 949fdc890e2061be3643f1508634d641bd08724a | [
"MIT"
] | 4 | 2020-02-11T14:30:28.000Z | 2020-06-10T04:54:28.000Z | import torch
import torch.nn.functional
from typing import Iterable
@torch.jit.script
def _incremental_ridge_init(input_size: int, output_size: int, device: torch.device):
mat_a = torch.zeros(output_size, input_size + 1, device=device)
mat_b = torch.zeros(input_size + 1, input_size + 1, device=device)
ide... | 35.844444 | 118 | 0.632096 | 1,533 | 11,291 | 4.502935 | 0.138291 | 0.018832 | 0.022599 | 0.031291 | 0.815008 | 0.781544 | 0.750543 | 0.734029 | 0.734029 | 0.720556 | 0 | 0.010166 | 0.268178 | 11,291 | 314 | 119 | 35.958599 | 0.825245 | 0.400762 | 0 | 0.580645 | 0 | 0 | 0.068676 | 0 | 0 | 0 | 0 | 0 | 0.072581 | 1 | 0.177419 | false | 0 | 0.024194 | 0 | 0.290323 | 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 |
aed57913a30497fc8d217704078e5c7d478dd46b | 95 | py | Python | Python/Advanced OOP/Inheritance/Restaurant/Beverage/03. Cold beverage.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Advanced OOP/Inheritance/Restaurant/Beverage/03. Cold beverage.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Advanced OOP/Inheritance/Restaurant/Beverage/03. Cold beverage.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | from project.beverage.beverage import Beverage
class ColdBeverage(Beverage):
pass
| 13.571429 | 47 | 0.736842 | 10 | 95 | 7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 95 | 6 | 48 | 15.833333 | 0.933333 | 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 |
4e06fb5469c26d8e3cb64358de471ccd0649ca19 | 75 | py | Python | manage.py | Archie2k16/tsquant | ef5e26fc6cbaebecbd682ad38d749f58aaa45e34 | [
"WTFPL"
] | 1 | 2019-12-24T03:00:06.000Z | 2019-12-24T03:00:06.000Z | manage.py | Archie2k16/tsquant | ef5e26fc6cbaebecbd682ad38d749f58aaa45e34 | [
"WTFPL"
] | 2 | 2021-03-31T19:34:55.000Z | 2021-12-13T20:29:54.000Z | manage.py | Archie2k16/tsquant | ef5e26fc6cbaebecbd682ad38d749f58aaa45e34 | [
"WTFPL"
] | 1 | 2020-10-26T04:06:05.000Z | 2020-10-26T04:06:05.000Z | from cli.cli import arg_proc
import sys
print(arg_proc.process(sys.argv)) | 25 | 33 | 0.8 | 14 | 75 | 4.142857 | 0.642857 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 3 | 33 | 25 | 0.865672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 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 |
9d7e8bc81585d49eeefa4bef1c7f9bcd69ecd74a | 31 | py | Python | lib/senators/__init__.py | jayrav13/presidency | f18721d5df9af161cc01f503b6657d9b06fea0e9 | [
"MIT"
] | 14 | 2016-11-05T03:43:26.000Z | 2021-03-25T14:55:19.000Z | lib/senators/__init__.py | jayrav13/presidency | f18721d5df9af161cc01f503b6657d9b06fea0e9 | [
"MIT"
] | 5 | 2017-01-30T21:39:34.000Z | 2021-06-10T19:30:57.000Z | lib/senators/__init__.py | jayrav13/presidency | f18721d5df9af161cc01f503b6657d9b06fea0e9 | [
"MIT"
] | 2 | 2016-11-22T08:36:07.000Z | 2017-01-28T16:36:29.000Z | from .senators import Senators
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d846df43ec3944f1768fd38a586d5f4a1ac3409 | 26 | py | Python | events/__init__.py | amovah/python-events | edb109e1d6956cacd89415f2d12cb81a6258e6e7 | [
"MIT"
] | null | null | null | events/__init__.py | amovah/python-events | edb109e1d6956cacd89415f2d12cb81a6258e6e7 | [
"MIT"
] | 1 | 2018-09-13T17:38:37.000Z | 2018-09-15T15:17:23.000Z | events/__init__.py | amovah/python-events | edb109e1d6956cacd89415f2d12cb81a6258e6e7 | [
"MIT"
] | null | null | null | from .main import Events;
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 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 |
9d8dc22b0d12b89a7f09f013ef0fe01edebe9d19 | 172 | py | Python | web_interface/services/save_file_services.py | shifvb/GraduationProject | 08166b49c329014bf852faafa14db14a6231370a | [
"MIT"
] | 1 | 2018-04-27T15:25:01.000Z | 2018-04-27T15:25:01.000Z | web_interface/services/save_file_services.py | shifvb/Undergraduate_GraduationProject | 08166b49c329014bf852faafa14db14a6231370a | [
"MIT"
] | null | null | null | web_interface/services/save_file_services.py | shifvb/Undergraduate_GraduationProject | 08166b49c329014bf852faafa14db14a6231370a | [
"MIT"
] | null | null | null | from web_interface import persistents
def save_file_services(f, store_path: str, store_name: str):
return persistents.save_file_persistent(f, store_path, store_name)
| 28.666667 | 70 | 0.813953 | 26 | 172 | 5.038462 | 0.615385 | 0.122137 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 172 | 5 | 71 | 34.4 | 0.861842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9da04440fc01fba9ca43d4a3cae7de1f10381624 | 6,807 | py | Python | chemotherapy/views.py | fahimfarhan/cancer-web-app | 6c5d8c5c90b0909cbd161d2ae87b4f12549bdfef | [
"MIT"
] | null | null | null | chemotherapy/views.py | fahimfarhan/cancer-web-app | 6c5d8c5c90b0909cbd161d2ae87b4f12549bdfef | [
"MIT"
] | 5 | 2021-03-18T20:13:38.000Z | 2022-01-13T00:35:37.000Z | chemotherapy/views.py | fahimfarhan/cancer-web-app | 6c5d8c5c90b0909cbd161d2ae87b4f12549bdfef | [
"MIT"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.shortcuts import render, redirect, get_object_or_404
# Create your views here.
from chemotherapy.forms import ChemoTherapyForm
from chemotherapy.models import ChemoTherapy
from patientbasicinfo.controller import autocomplete
from patientbasicinfo.mo... | 41.254545 | 88 | 0.650948 | 850 | 6,807 | 4.991765 | 0.082353 | 0.025454 | 0.023568 | 0.037709 | 0.859298 | 0.859298 | 0.846571 | 0.839736 | 0.839736 | 0.839736 | 0 | 0.002854 | 0.228001 | 6,807 | 164 | 89 | 41.506098 | 0.804567 | 0.025121 | 0 | 0.671233 | 0 | 0 | 0.11086 | 0.067572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.041096 | 0 | 0.232877 | 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 |
9db2c281e75df476ad845d29892d1a0585e04c9e | 44 | py | Python | process_ble_data/__init__.py | WildflowerSchools/wf-process-ble-data | 3f52b5805fbc188eb5c61d37dbab4cd1704f365d | [
"MIT"
] | null | null | null | process_ble_data/__init__.py | WildflowerSchools/wf-process-ble-data | 3f52b5805fbc188eb5c61d37dbab4cd1704f365d | [
"MIT"
] | null | null | null | process_ble_data/__init__.py | WildflowerSchools/wf-process-ble-data | 3f52b5805fbc188eb5c61d37dbab4cd1704f365d | [
"MIT"
] | null | null | null | from process_ble_data.honeycomb_io import *
| 22 | 43 | 0.863636 | 7 | 44 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1b5ee1068898d1dbeab57d0ca1b6e2ef650164c | 17 | py | Python | tests/syntax/delete_expression.py | friendly-traceback/friendly-traceback | 4f6785f14c271a4d6412ef19c140f9d380cdbcbf | [
"MIT"
] | 45 | 2021-07-06T03:30:20.000Z | 2022-03-16T17:30:58.000Z | tests/syntax/delete_expression.py | friendly-traceback/friendly-traceback | 4f6785f14c271a4d6412ef19c140f9d380cdbcbf | [
"MIT"
] | 110 | 2021-06-28T11:48:46.000Z | 2022-03-25T20:41:25.000Z | tests/syntax/delete_expression.py | friendly-traceback/friendly-traceback | 4f6785f14c271a4d6412ef19c140f9d380cdbcbf | [
"MIT"
] | 4 | 2021-07-05T20:56:39.000Z | 2021-11-11T20:24:34.000Z | del a.b.c[0] + 2
| 8.5 | 16 | 0.470588 | 6 | 17 | 1.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.235294 | 17 | 1 | 17 | 17 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1b79764ecffa4c1a8d02fe329b52809de82d8b6 | 179 | py | Python | case/practice_questions/collect.041.py | YellowTulipShow/PythonScripts | 09bf756f08e6b66fe3b13206c3b972c3434e53ee | [
"Apache-2.0"
] | 1 | 2020-01-16T01:40:58.000Z | 2020-01-16T01:40:58.000Z | case/practice_questions/collect.041.py | YellowTulipShow/PythonScripts | 09bf756f08e6b66fe3b13206c3b972c3434e53ee | [
"Apache-2.0"
] | null | null | null | case/practice_questions/collect.041.py | YellowTulipShow/PythonScripts | 09bf756f08e6b66fe3b13206c3b972c3434e53ee | [
"Apache-2.0"
] | null | null | null | # coding: UTF-8
print(r'''
【程序41】题目:海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只猴子都是这样做的,问海滩上原来最少有多少个桃子?
''')
| 25.571429 | 144 | 0.798883 | 21 | 179 | 6.809524 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.044693 | 179 | 6 | 145 | 29.833333 | 0.818713 | 0.072626 | 0 | 0 | 0 | 0.333333 | 0.895706 | 0.883436 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d1e2bddc66501d33b9ef4bdd1f082d7ca3418b79 | 410 | py | Python | oarepo_model_builder_multilingual/invenio/__init__.py | oarepo/oarepo-model-builder-multilingual | 884da6667dfd6f4bb2c255b4f42d6d4de999d2e8 | [
"MIT"
] | null | null | null | oarepo_model_builder_multilingual/invenio/__init__.py | oarepo/oarepo-model-builder-multilingual | 884da6667dfd6f4bb2c255b4f42d6d4de999d2e8 | [
"MIT"
] | 2 | 2022-02-06T20:03:11.000Z | 2022-03-07T11:01:39.000Z | oarepo_model_builder_multilingual/invenio/__init__.py | oarepo/oarepo-model-builder-multilingual | 884da6667dfd6f4bb2c255b4f42d6d4de999d2e8 | [
"MIT"
] | null | null | null | TEMPLATES = {
"multilingual-record-dumper": "templates/invenio_record_dumper_multilingual.py.jinja2",
"record-multilingual": "templates/invenio_record_multilingual.py.jinja2",
"subschema-multilingual": "templates/invenio_schema_multilingual.py.jinja2",
"multi-search": "templates/invenio_record_search_mu... | 51.25 | 91 | 0.785366 | 44 | 410 | 7.045455 | 0.272727 | 0.258065 | 0.258065 | 0.187097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023936 | 0.082927 | 410 | 8 | 92 | 51.25 | 0.800532 | 0 | 0 | 0 | 0 | 0 | 0.812652 | 0.703163 | 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 |
ae0f93a06ec86395e3dcdebdb81a2f5f1f96dbdf | 341 | py | Python | yann/data/search/base.py | michalwols/yann | b3c0f35ec7515ddaeb1f04d365af7b6d136f56cf | [
"MIT"
] | 32 | 2019-04-13T11:03:38.000Z | 2022-01-24T03:00:56.000Z | yann/data/search/base.py | michalwols/yann | b3c0f35ec7515ddaeb1f04d365af7b6d136f56cf | [
"MIT"
] | 13 | 2019-09-29T00:51:24.000Z | 2021-12-12T15:06:00.000Z | yann/data/search/base.py | michalwols/yann | b3c0f35ec7515ddaeb1f04d365af7b6d136f56cf | [
"MIT"
] | 5 | 2020-01-01T10:27:26.000Z | 2021-12-20T18:33:08.000Z | class VectorIndex:
@property
def files(self):
return []
def save(self):
pass
def load(self):
pass
def build(self):
pass
def search(self):
pass
def search_index(self):
pass
def add(self, vector):
pass
def add_bulk(self, vectors):
pass
def set_bulk(self, indices... | 11.758621 | 39 | 0.607038 | 46 | 341 | 4.434783 | 0.413043 | 0.240196 | 0.269608 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 341 | 28 | 40 | 12.178571 | 0.842975 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.45 | false | 0.4 | 0 | 0.05 | 0.55 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ae8fcd53ba43c61bcc0737ee1f7e0ad47fb9ecc1 | 44 | py | Python | ManiSkill-Learn/mani_skill_learn/methods/mbrl/__init__.py | crtie/mani | 559abd0366cff5886557d9a602df3cc49dcd40c4 | [
"Apache-2.0"
] | null | null | null | ManiSkill-Learn/mani_skill_learn/methods/mbrl/__init__.py | crtie/mani | 559abd0366cff5886557d9a602df3cc49dcd40c4 | [
"Apache-2.0"
] | null | null | null | ManiSkill-Learn/mani_skill_learn/methods/mbrl/__init__.py | crtie/mani | 559abd0366cff5886557d9a602df3cc49dcd40c4 | [
"Apache-2.0"
] | null | null | null | from .mbpo import MBPO
print("initial mbrl") | 22 | 22 | 0.772727 | 7 | 44 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 2 | 23 | 22 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
882be3bff5c4ddd57bcb71b4566d145f12d7df3f | 1,409 | py | Python | tests/test_calculate_change.py | TiagoJLeandro/maquininha-de-troco | 1a9383d6705dbe0509f967c9385672b4d878caa7 | [
"MIT"
] | null | null | null | tests/test_calculate_change.py | TiagoJLeandro/maquininha-de-troco | 1a9383d6705dbe0509f967c9385672b4d878caa7 | [
"MIT"
] | null | null | null | tests/test_calculate_change.py | TiagoJLeandro/maquininha-de-troco | 1a9383d6705dbe0509f967c9385672b4d878caa7 | [
"MIT"
] | null | null | null | import pytest
from calculate_change import calculate_change
default_coins_list = [
200, 100, 50, 20, 10, 5,
2, 1, 0.5, 0.25, 0.10, 0.05, 0.01
]
@pytest.mark.parametrize('prod_value,received,expected',
[(100, 0, []),
(388.91, 777.82, [1,1,1,1,1... | 42.69697 | 71 | 0.379702 | 294 | 1,409 | 1.772109 | 0.139456 | 0.59501 | 0.754319 | 0.836852 | 0.527831 | 0.408829 | 0.408829 | 0.408829 | 0.408829 | 0.408829 | 0 | 0.331818 | 0.375444 | 1,409 | 32 | 72 | 44.03125 | 0.260227 | 0 | 0 | 0 | 0 | 0 | 0.019872 | 0.019872 | 0 | 0 | 0 | 0 | 0.035714 | 1 | 0.035714 | false | 0 | 0.071429 | 0 | 0.107143 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8835165330f83740b5d101181e03c87be3ff3b33 | 24 | py | Python | odoo-13.0/web_oca/web_responsive/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | odoo-13.0/web_oca/web_responsive/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/web_oca/web_responsive/models/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import res_users
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88495c8a4f33682d7e5497637c25e01707275a7b | 91 | py | Python | tests/conftest.py | josephsalimin/flask-router-wrapper | cc6414c82a5297d88decf3e587699de7298b3a97 | [
"MIT"
] | 6 | 2020-08-01T12:39:17.000Z | 2020-08-13T14:00:45.000Z | tests/conftest.py | josephsalimin/flask-router-wrapper | cc6414c82a5297d88decf3e587699de7298b3a97 | [
"MIT"
] | 2 | 2021-03-30T01:13:33.000Z | 2021-06-02T02:47:58.000Z | tests/conftest.py | josephsalimin/flask-router-wrapper | cc6414c82a5297d88decf3e587699de7298b3a97 | [
"MIT"
] | null | null | null | from flask import Flask
import pytest
@pytest.fixture
def app():
yield Flask(__name__)
| 11.375 | 23 | 0.758242 | 13 | 91 | 5 | 0.692308 | 0.338462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 7 | 24 | 13 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 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 |
886e1a175ecaccab81b288002ac2070b8d014def | 21,238 | py | Python | pykquery/KQueryLexer.py | lahiri-phdworks/KLEE-KQueryParser | a573951188f99746cd12da2f3f60e78ba78244e0 | [
"Apache-2.0"
] | null | null | null | pykquery/KQueryLexer.py | lahiri-phdworks/KLEE-KQueryParser | a573951188f99746cd12da2f3f60e78ba78244e0 | [
"Apache-2.0"
] | null | null | null | pykquery/KQueryLexer.py | lahiri-phdworks/KLEE-KQueryParser | a573951188f99746cd12da2f3f60e78ba78244e0 | [
"Apache-2.0"
] | null | null | null | # Generated from KQuery.g4 by ANTLR 4.9.2
from antlr4 import *
from io import StringIO
import sys
if sys.version_info[1] > 5:
from typing import TextIO
else:
from typing.io import TextIO
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2I"... | 58.027322 | 103 | 0.558716 | 4,615 | 21,238 | 2.566414 | 0.16468 | 0.13509 | 0.077254 | 0.081729 | 0.304458 | 0.211499 | 0.149443 | 0.12977 | 0.125887 | 0.121918 | 0 | 0.323114 | 0.159902 | 21,238 | 365 | 104 | 58.186301 | 0.340713 | 0.001836 | 0 | 0 | 1 | 0.573487 | 0.615758 | 0.551073 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005764 | false | 0 | 0.014409 | 0 | 0.253602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
887986f2c851d01a917ef0b0dd89b579783004cf | 9,128 | py | Python | analysis/pokemon_simple_correlation.py | aguerrero232/DataScienceGroupProject | f27bc29f5a3646d1e19474be821af08a347aecfe | [
"MIT"
] | null | null | null | analysis/pokemon_simple_correlation.py | aguerrero232/DataScienceGroupProject | f27bc29f5a3646d1e19474be821af08a347aecfe | [
"MIT"
] | null | null | null | analysis/pokemon_simple_correlation.py | aguerrero232/DataScienceGroupProject | f27bc29f5a3646d1e19474be821af08a347aecfe | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import helper_functions
import loaddata
separator = '---------------------------------------------------------------'
tab: str = "\t"
# ----------------------------------------------------------------------------------
print(f'{separator + separator}\n')
print(f'{tab * 7}- - - Pokemo... | 46.10101 | 127 | 0.549518 | 1,039 | 9,128 | 4.740135 | 0.085659 | 0.051168 | 0.082234 | 0.131574 | 0.847513 | 0.793503 | 0.764873 | 0.713503 | 0.667005 | 0.617259 | 0 | 0.003952 | 0.085123 | 9,128 | 197 | 128 | 46.335025 | 0.585798 | 0.292068 | 0 | 0.383459 | 0 | 0.082707 | 0.530739 | 0.009805 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022556 | 0 | 0.022556 | 0.406015 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
88b3a37374d940d2dece693f90e0e0ae956b3dcc | 134 | py | Python | tests/conftest.py | bohlinger/wavy | 8eefcce9112707ffd88617f6849663671fdb9d62 | [
"MIT"
] | 2 | 2021-05-28T08:39:16.000Z | 2021-12-09T09:17:25.000Z | tests/conftest.py | bohlinger/wavy | 8eefcce9112707ffd88617f6849663671fdb9d62 | [
"MIT"
] | 22 | 2021-05-28T08:58:40.000Z | 2022-03-28T09:01:41.000Z | tests/conftest.py | bohlinger/wavy | 8eefcce9112707ffd88617f6849663671fdb9d62 | [
"MIT"
] | 1 | 2021-05-28T08:41:04.000Z | 2021-05-28T08:41:04.000Z | import pytest
from pathlib import Path
@pytest.fixture
def test_data():
return Path(__file__).parent.resolve().joinpath('data')
| 16.75 | 59 | 0.753731 | 18 | 134 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126866 | 134 | 7 | 60 | 19.142857 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ee4313e876c39c4d60c1c7f6446e181bfcc7fff3 | 958 | py | Python | molecule/python/test/test_token_transfer_response.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | molecule/python/test/test_token_transfer_response.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | molecule/python/test/test_token_transfer_response.py | sumit4-ttn/SDK | b3ae385e5415e47ac70abd0b3fdeeaeee9aa7cff | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Molecule API Documentation
The Hydrogen Molecule API # noqa: E501
OpenAPI spec version: 1.3.0
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import molecule_api... | 23.365854 | 101 | 0.72547 | 105 | 958 | 6.419048 | 0.6 | 0.081602 | 0.04451 | 0.080119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016861 | 0.195198 | 958 | 40 | 102 | 23.95 | 0.857328 | 0.467641 | 0 | 0.214286 | 1 | 0 | 0.017094 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.214286 | false | 0.214286 | 0.357143 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ee63e2a39550d11240b73e6227cec9f7d743762c | 494 | py | Python | src/core_lib/__init__.py | josmejia2401/angox-media-api-speech-to-text | 576d19f859a646c8765d39ed37d6c909413027ff | [
"MIT"
] | null | null | null | src/core_lib/__init__.py | josmejia2401/angox-media-api-speech-to-text | 576d19f859a646c8765d39ed37d6c909413027ff | [
"MIT"
] | null | null | null | src/core_lib/__init__.py | josmejia2401/angox-media-api-speech-to-text | 576d19f859a646c8765d39ed37d6c909413027ff | [
"MIT"
] | null | null | null | import src.core_lib.cache_any_client
import src.core_lib.concurrency
import src.core_lib.config
import src.core_lib.db
import src.core_lib.dto
import src.core_lib.exception
import src.core_lib.utils
import src.core_lib.controller
import src.core_lib.logger
import src.core_lib.service
import src.core_lib.version
#from c... | 24.7 | 36 | 0.813765 | 81 | 494 | 4.802469 | 0.222222 | 0.254499 | 0.367609 | 0.452442 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109312 | 494 | 19 | 37 | 26 | 0.884091 | 0.334008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c98b2f52bfb3528268f76ea75281280879797e4b | 89 | py | Python | createdb.py | gpaOliveira/SuperDiffer | 1936ead7ab209994892f6bc29a33a47415fa95e8 | [
"MIT"
] | 2 | 2016-10-12T16:11:04.000Z | 2017-08-25T18:29:44.000Z | createdb.py | gpaOliveira/SuperDiffer | 1936ead7ab209994892f6bc29a33a47415fa95e8 | [
"MIT"
] | null | null | null | createdb.py | gpaOliveira/SuperDiffer | 1936ead7ab209994892f6bc29a33a47415fa95e8 | [
"MIT"
] | null | null | null | from SuperDiffer import db
from SuperDiffer.id import models as ID_models
db.create_all() | 29.666667 | 46 | 0.842697 | 15 | 89 | 4.866667 | 0.6 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 89 | 3 | 47 | 29.666667 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 |
c9a8fc433c440bb628cbe812dfa3243d2800f41b | 102 | py | Python | split_multiline_string.py | EliasPapachristos/Python_Snippets | ea7ed9c2baded690b320bfce5567d306b10b5a62 | [
"MIT"
] | 1 | 2020-05-01T10:29:02.000Z | 2020-05-01T10:29:02.000Z | split_multiline_string.py | EliasPapachristos/Python_Snippets | ea7ed9c2baded690b320bfce5567d306b10b5a62 | [
"MIT"
] | null | null | null | split_multiline_string.py | EliasPapachristos/Python_Snippets | ea7ed9c2baded690b320bfce5567d306b10b5a62 | [
"MIT"
] | null | null | null | def split_lines(el):
return el.split('\n')
split_lines('10\n is\n the\n perfect\n number')
| 17 | 48 | 0.637255 | 19 | 102 | 3.315789 | 0.578947 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.196078 | 102 | 5 | 49 | 20.4 | 0.743902 | 0 | 0 | 0 | 0 | 0 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c9dbc75cfdaf99aefb40f31878b5cebdd5ddf230 | 73 | py | Python | schainpy/model/data/__init__.py | LuisRondoCuevas/schainpy | ef41efe03993a6ae56e587334a1bfc529fccc2df | [
"BSD-3-Clause"
] | null | null | null | schainpy/model/data/__init__.py | LuisRondoCuevas/schainpy | ef41efe03993a6ae56e587334a1bfc529fccc2df | [
"BSD-3-Clause"
] | null | null | null | schainpy/model/data/__init__.py | LuisRondoCuevas/schainpy | ef41efe03993a6ae56e587334a1bfc529fccc2df | [
"BSD-3-Clause"
] | null | null | null | from .jrodata import *
from .jroheaderIO import *
from .jroamisr import * | 24.333333 | 26 | 0.767123 | 9 | 73 | 6.222222 | 0.555556 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 3 | 27 | 24.333333 | 0.903226 | 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 |
c9f33b42702c7fe16077e7d5db912b9ef8a387f8 | 1,499 | py | Python | python/tests/placement/mccme7.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | 6 | 2020-04-19T11:26:18.000Z | 2021-06-21T18:42:51.000Z | python/tests/placement/mccme7.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | 31 | 2020-04-21T17:24:39.000Z | 2020-08-27T15:59:12.000Z | python/tests/placement/mccme7.py | geometer/sandbox | 373ec96e69df76744a19b51f7caa865cbc6b58cd | [
"Apache-2.0"
] | null | null | null | # Problem 7 from http://zadachi.mccme.ru/2012/
import math
from sandbox import Scene, iterative_placement
from .base import PlacementTest
class TestMCCME7_long(PlacementTest):
def createPlacement(self):
scene = Scene()
O = scene.free_point(label='O')
circle = O.circle_through(scene.free... | 29.98 | 70 | 0.627085 | 202 | 1,499 | 4.514851 | 0.252475 | 0.108553 | 0.153509 | 0.153509 | 0.710526 | 0.710526 | 0.710526 | 0.710526 | 0.710526 | 0.710526 | 0 | 0.027241 | 0.240827 | 1,499 | 49 | 71 | 30.591837 | 0.774165 | 0.029353 | 0 | 0.702703 | 0 | 0 | 0.015829 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.108108 | false | 0 | 0.081081 | 0 | 0.297297 | 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 |
a01e0914be033f54294f92bbd816d82bcd7622f1 | 51 | py | Python | SearchAPI/CMR/Output/__init__.py | asfadmin/Discovery-SearchAPI | d5e0b3d3a6a74c7f243ddc74a2316cd7b7380edd | [
"BSD-3-Clause"
] | null | null | null | SearchAPI/CMR/Output/__init__.py | asfadmin/Discovery-SearchAPI | d5e0b3d3a6a74c7f243ddc74a2316cd7b7380edd | [
"BSD-3-Clause"
] | null | null | null | SearchAPI/CMR/Output/__init__.py | asfadmin/Discovery-SearchAPI | d5e0b3d3a6a74c7f243ddc74a2316cd7b7380edd | [
"BSD-3-Clause"
] | null | null | null | from .output_translators import output_translators
| 25.5 | 50 | 0.901961 | 6 | 51 | 7.333333 | 0.666667 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.93617 | 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 |
4e482f17f4dde69948aeee8d7c63b04d1f0cd357 | 10,647 | py | Python | assemblyline_client/v4_client/module/alert.py | IanLee1521/assemblyline_client | ed2394710b5dcd5b99b21d7352a8c5dff49b6463 | [
"MIT"
] | 21 | 2020-04-27T02:48:15.000Z | 2022-02-09T00:15:52.000Z | assemblyline_client/v4_client/module/alert.py | IanLee1521/assemblyline_client | ed2394710b5dcd5b99b21d7352a8c5dff49b6463 | [
"MIT"
] | 5 | 2020-05-11T12:44:49.000Z | 2022-03-23T11:43:38.000Z | assemblyline_client/v4_client/module/alert.py | IanLee1521/assemblyline_client | ed2394710b5dcd5b99b21d7352a8c5dff49b6463 | [
"MIT"
] | 8 | 2020-11-09T12:24:40.000Z | 2021-09-30T15:57:10.000Z | from assemblyline_client.v4_client.common.utils import api_path_by_module, get_function_kwargs, api_path
class Alert(object):
def __init__(self, connection):
self._connection = connection
self.batch = Batch(connection)
def __call__(self, alert_id):
"""\
Return the full alert for a giv... | 31.40708 | 104 | 0.637832 | 1,548 | 10,647 | 4.240956 | 0.090439 | 0.038385 | 0.05179 | 0.029703 | 0.83473 | 0.83473 | 0.83473 | 0.829703 | 0.780046 | 0.77182 | 0 | 0.000891 | 0.262046 | 10,647 | 338 | 105 | 31.5 | 0.83467 | 0.471119 | 0 | 0.624 | 0 | 0 | 0.076447 | 0.003822 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152 | false | 0 | 0.008 | 0 | 0.312 | 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 |
4e6b4418044edc103e8d4cf20457aaf0e78ab905 | 81 | py | Python | horch/__init__.py | sbl1996/pytorch-hrvvi-ext | f19abcbedd844a700b2e2596dd817ea80cbb6287 | [
"MIT"
] | 17 | 2019-05-14T10:47:25.000Z | 2021-06-09T05:39:47.000Z | horch/__init__.py | sbl1996/pytorch-hrvvi-ext | f19abcbedd844a700b2e2596dd817ea80cbb6287 | [
"MIT"
] | null | null | null | horch/__init__.py | sbl1996/pytorch-hrvvi-ext | f19abcbedd844a700b2e2596dd817ea80cbb6287 | [
"MIT"
] | 5 | 2019-08-08T07:04:38.000Z | 2020-07-04T08:58:32.000Z | from horch.common import cuda, cpu, detach
from horch._version import __version__ | 40.5 | 42 | 0.839506 | 12 | 81 | 5.25 | 0.666667 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 2 | 43 | 40.5 | 0.875 | 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 |
4e8d32e0bee91efd2884c8ef8eb1f69cfbfc4757 | 169,060 | py | Python | pirates/battle/CombatAnimations.py | ksmit799/POTCO-PS | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 8 | 2017-01-24T04:33:29.000Z | 2020-11-01T08:36:24.000Z | pirates/battle/CombatAnimations.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 1 | 2017-03-02T18:05:17.000Z | 2017-03-14T06:47:10.000Z | pirates/battle/CombatAnimations.py | ksmit799/Pirates-Online-Remake | 520d38935ae8df4b452c733a82c94dddac01e275 | [
"Apache-2.0"
] | 11 | 2017-03-02T18:46:07.000Z | 2020-11-01T08:36:26.000Z | # File: C (Python 2.4)
import WeaponGlobals
from direct.interval.IntervalGlobal import *
from direct.directnotify.DirectNotifyGlobal import directNotify
from pandac.PandaModules import *
from direct.actor import Actor
from pirates.uberdog.UberDogGlobals import InventoryType
from pirates.effects.DaggerProjectile import... | 55.465879 | 885 | 0.643198 | 17,344 | 169,060 | 6.250519 | 0.052468 | 0.100176 | 0.06029 | 0.04365 | 0.826786 | 0.804564 | 0.791853 | 0.770194 | 0.757077 | 0.737762 | 0 | 0.059576 | 0.249397 | 169,060 | 3,047 | 886 | 55.484083 | 0.794731 | 0.000118 | 0 | 0.627655 | 0 | 0.000452 | 0.020806 | 0.00168 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111613 | false | 0 | 0.037054 | 0.012201 | 0.282422 | 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 |
14c79cabdeb858b15821a249641c3a6c05ebdcfb | 237 | py | Python | ylearn/sklearn_ex/__init__.py | DataCanvasIO/YLearn | d65b5afb83deed154c710de9096317165d95014a | [
"Apache-2.0"
] | 3 | 2022-03-28T07:41:28.000Z | 2022-03-29T06:24:52.000Z | ylearn/sklearn_ex/__init__.py | DataCanvasIO/YLearn | d65b5afb83deed154c710de9096317165d95014a | [
"Apache-2.0"
] | null | null | null | ylearn/sklearn_ex/__init__.py | DataCanvasIO/YLearn | d65b5afb83deed154c710de9096317165d95014a | [
"Apache-2.0"
] | null | null | null | from ._data_cleaner import DataCleaner
from ._dataframe_mapper import DataFrameMapper
from ._transformer import SafeOrdinalEncoder, FeatureImportancesSelectionTransformer
from ._transformer import general_preprocessor, general_estimator
| 47.4 | 84 | 0.898734 | 22 | 237 | 9.318182 | 0.636364 | 0.146341 | 0.204878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 237 | 4 | 85 | 59.25 | 0.936073 | 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 |
14f0de8b40a597e87fd83af6f68da477912d6f12 | 33 | py | Python | backEnd/app/api/parent/__init__.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | null | null | null | backEnd/app/api/parent/__init__.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | 14 | 2022-03-27T13:34:58.000Z | 2022-03-31T14:37:19.000Z | backEnd/app/api/parent/__init__.py | HenryYDJ/flaskAPI | 9947fbad1050d6ba29c29e365c561689ea3e22d8 | [
"MIT"
] | null | null | null | from app.api.parent import parent | 33 | 33 | 0.848485 | 6 | 33 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.933333 | 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 |
0915b0ca7780859ae4da6e50062a99fd3cd36fcd | 38 | py | Python | opy/development/tests/builtin_bug/a.py | nm17/Opy | d7f4ab2c97fc9e307b741dbd9689554266b6ccac | [
"Apache-2.0"
] | 284 | 2016-10-16T20:07:52.000Z | 2022-03-11T00:54:42.000Z | opy/development/tests/builtin_bug/a.py | urantialife/Opy | d7f4ab2c97fc9e307b741dbd9689554266b6ccac | [
"Apache-2.0"
] | 32 | 2016-12-27T19:56:34.000Z | 2021-12-02T18:47:10.000Z | opy/development/tests/builtin_bug/a.py | urantialife/Opy | d7f4ab2c97fc9e307b741dbd9689554266b6ccac | [
"Apache-2.0"
] | 67 | 2016-10-19T02:38:23.000Z | 2022-01-25T04:32:55.000Z | import b
print ('a', type (builtins)) | 12.666667 | 28 | 0.657895 | 6 | 38 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 28 | 12.666667 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
09440cd1b664cf24c80caaf85b52e87740769b01 | 2,323 | py | Python | tests/test_consul.py | johnnoone/aiovault | 03e1bfb6f0404dcf97ce87a98c539027c4e78a37 | [
"BSD-3-Clause"
] | 1 | 2022-01-31T22:37:57.000Z | 2022-01-31T22:37:57.000Z | tests/test_consul.py | johnnoone/aiovault | 03e1bfb6f0404dcf97ce87a98c539027c4e78a37 | [
"BSD-3-Clause"
] | null | null | null | tests/test_consul.py | johnnoone/aiovault | 03e1bfb6f0404dcf97ce87a98c539027c4e78a37 | [
"BSD-3-Clause"
] | null | null | null | from aiovault import Vault
from conftest import async_test
from datetime import timedelta
import pytest
CONSUL_POLICY = """
key "" {
policy = "write"
}
"""
@async_test
def test_basic(dev_server, consul):
client = Vault(dev_server.addr, token=dev_server.root_token)
mounted, backend = yield from client.se... | 29.0375 | 78 | 0.650452 | 277 | 2,323 | 5.306859 | 0.187726 | 0.097959 | 0.12381 | 0.097959 | 0.821088 | 0.821088 | 0.821088 | 0.821088 | 0.821088 | 0.821088 | 0 | 0.001161 | 0.258717 | 2,323 | 79 | 79 | 29.405063 | 0.852497 | 0 | 0 | 0.672414 | 0 | 0 | 0.050366 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 1 | 0.051724 | false | 0 | 0.068966 | 0 | 0.12069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
095450bce76cf2b91981c3062aac46ad0b099e6f | 104 | py | Python | datasets/__init__.py | liamrahav/TopicBERT-PyTorch | e37e5185cf35d38275543ba1dc656f8496a4587d | [
"MIT"
] | 5 | 2021-04-08T03:25:47.000Z | 2022-01-10T05:17:32.000Z | datasets/__init__.py | liamrahav/TopicBERT-PyTorch | e37e5185cf35d38275543ba1dc656f8496a4587d | [
"MIT"
] | 1 | 2021-04-23T13:49:21.000Z | 2021-04-25T16:42:01.000Z | datasets/__init__.py | liamrahav/TopicBERT-PyTorch | e37e5185cf35d38275543ba1dc656f8496a4587d | [
"MIT"
] | null | null | null | from .bow import *
from .reuters8 import *
from .vocab import *
from .imdb import *
from .embed import * | 20.8 | 23 | 0.721154 | 15 | 104 | 5 | 0.466667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.182692 | 104 | 5 | 24 | 20.8 | 0.870588 | 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 |
1178429647f771c2c74a1db28aae517e937b6e3d | 169 | py | Python | Dashboard/organization/admin.py | jyothiprakashpanaik/DashBoard-BackEnd1 | a6aa85d9da0b0fc644f746898153c9c80433c68b | [
"Apache-2.0"
] | null | null | null | Dashboard/organization/admin.py | jyothiprakashpanaik/DashBoard-BackEnd1 | a6aa85d9da0b0fc644f746898153c9c80433c68b | [
"Apache-2.0"
] | null | null | null | Dashboard/organization/admin.py | jyothiprakashpanaik/DashBoard-BackEnd1 | a6aa85d9da0b0fc644f746898153c9c80433c68b | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import (Institute, Campus, Stream)
admin.site.register(Stream)
admin.site.register(Campus)
admin.site.register(Institute)
| 24.142857 | 47 | 0.810651 | 23 | 169 | 5.956522 | 0.478261 | 0.19708 | 0.372263 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 169 | 6 | 48 | 28.166667 | 0.883871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 6 |
eeb941a2d00eba44d8fb4143efb6c6e0bb7888d8 | 45 | py | Python | cupy_alias/linalg/eigenvalue.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/linalg/eigenvalue.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/linalg/eigenvalue.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.linalg.eigenvalue import * # NOQA
| 22.5 | 44 | 0.755556 | 6 | 45 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.894737 | 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 |
eef760700ef19145c62dab38a6e8a09a325a8c4f | 785 | py | Python | elasticroute/warnings/bean.py | detrack/elasticroute-python | dc8000afd8a33ffbbd5dde6dda12fe51388ea74d | [
"MIT"
] | 2 | 2020-10-15T02:53:23.000Z | 2021-01-27T06:10:37.000Z | elasticroute/warnings/bean.py | detrack/elasticroute-python | dc8000afd8a33ffbbd5dde6dda12fe51388ea74d | [
"MIT"
] | null | null | null | elasticroute/warnings/bean.py | detrack/elasticroute-python | dc8000afd8a33ffbbd5dde6dda12fe51388ea74d | [
"MIT"
] | null | null | null | import warnings
class NonStringKeyUsed(UserWarning):
message = "WARNING: You tried to use non-string keys to access data members of this object. Keys are always converted to string in any data member access operation (using []), so this may have unexpected effects especially if you accidentally pass in a list or ... | 49.0625 | 359 | 0.761783 | 118 | 785 | 4.974576 | 0.627119 | 0.061329 | 0.085179 | 0.0954 | 0.211244 | 0.211244 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189809 | 785 | 15 | 360 | 52.333333 | 0.922956 | 0 | 0 | 0.444444 | 0 | 0.222222 | 0.703185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
011d0af8158701e4b32f747d64d3542dc63c9302 | 172 | py | Python | python basics and applications/1/1-3/1-3-1.py | DzmitrySakalenka/stepik_courses | 7c43ac35cd921e8f6f96fb4f15f77ace38cc2d21 | [
"MIT"
] | null | null | null | python basics and applications/1/1-3/1-3-1.py | DzmitrySakalenka/stepik_courses | 7c43ac35cd921e8f6f96fb4f15f77ace38cc2d21 | [
"MIT"
] | null | null | null | python basics and applications/1/1-3/1-3-1.py | DzmitrySakalenka/stepik_courses | 7c43ac35cd921e8f6f96fb4f15f77ace38cc2d21 | [
"MIT"
] | null | null | null | #y больше или равно x
#y делится нацело на 5
import math
def closest_mod_5(x):
return math.ceil(x / 5) * 5
print(closest_mod_5(3),closest_mod_5(13),closest_mod_5(10)) | 21.5 | 59 | 0.732558 | 36 | 172 | 3.277778 | 0.555556 | 0.338983 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.151163 | 172 | 8 | 59 | 21.5 | 0.726027 | 0.238372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
01466bb453b83bc9ecf101c23581e53460cbf2bf | 28 | py | Python | strategies/gem/__init__.py | rmassidda/reproducible-continual-learning | ed7b7db634038d9d4312c2c54b15ca8eead1c07c | [
"MIT"
] | 53 | 2021-04-20T15:41:23.000Z | 2022-03-30T17:24:36.000Z | strategies/gem/__init__.py | rmassidda/reproducible-continual-learning | ed7b7db634038d9d4312c2c54b15ca8eead1c07c | [
"MIT"
] | 14 | 2021-10-08T10:35:31.000Z | 2022-03-29T14:00:06.000Z | strategies/gem/__init__.py | rmassidda/reproducible-continual-learning | ed7b7db634038d9d4312c2c54b15ca8eead1c07c | [
"MIT"
] | 7 | 2021-11-02T15:39:57.000Z | 2022-03-31T03:25:04.000Z | from .experiment import GEM
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
015b0711111c37e9a6a62078fbffa958d9d31b30 | 45 | py | Python | userSetup.py | arubertoson/maya-dynaimport | 5b9f688403c18632da70a01fd30686f83734a0b4 | [
"MIT"
] | null | null | null | userSetup.py | arubertoson/maya-dynaimport | 5b9f688403c18632da70a01fd30686f83734a0b4 | [
"MIT"
] | 1 | 2016-01-24T10:56:05.000Z | 2016-01-24T10:56:05.000Z | userSetup.py | arubertoson/maya-dynaimport | 5b9f688403c18632da70a01fd30686f83734a0b4 | [
"MIT"
] | null | null | null | import dynaimport
dynaimport.parse_paths()
| 15 | 25 | 0.822222 | 5 | 45 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 26 | 22.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0182dfb8c5fbe3232b7373f5881f4d8ac71a065a | 138 | py | Python | LuoguCodes/AT920.py | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | LuoguCodes/AT920.py | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | LuoguCodes/AT920.py | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | n = 2025 - int(raw_input())
for i in range(1,10):
for j in range(1,10):
if i * j == n:
print ';%d x %d'; % (i, j)
| 23 | 38 | 0.434783 | 27 | 138 | 2.185185 | 0.592593 | 0.237288 | 0.271186 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0.362319 | 138 | 5 | 39 | 27.6 | 0.556818 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.