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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a350541e53a4860842d8c22c293de549e943254 | 24,655 | py | Python | test/geometry/subpix/test_spatial_softargmax.py | lferraz/kornia | c30ef6149bd92054d482339a2b0cd18f8272f5f5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/geometry/subpix/test_spatial_softargmax.py | lferraz/kornia | c30ef6149bd92054d482339a2b0cd18f8272f5f5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | test/geometry/subpix/test_spatial_softargmax.py | lferraz/kornia | c30ef6149bd92054d482339a2b0cd18f8272f5f5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | import pytest
import torch
from torch.nn.functional import mse_loss
from torch.autograd import gradcheck
from torch.testing import assert_allclose
import kornia as kornia
import kornia.testing as utils # test utils
from kornia.geometry.subpix.spatial_soft_argmax import _get_center_kernel2d, _get_center_kernel3d
cl... | 47.141491 | 112 | 0.437234 | 3,242 | 24,655 | 3.243985 | 0.049969 | 0.09014 | 0.110963 | 0.122849 | 0.856233 | 0.831891 | 0.815632 | 0.79652 | 0.768185 | 0.752781 | 0 | 0.126922 | 0.388035 | 24,655 | 522 | 113 | 47.231801 | 0.570122 | 0.005111 | 0 | 0.692308 | 0 | 0 | 0.000326 | 0 | 0 | 0 | 0 | 0 | 0.140659 | 1 | 0.079121 | false | 0 | 0.017582 | 0 | 0.10989 | 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 |
4a981cc07a82519d0f1b3462f59f3c4a95df0ccf | 124 | py | Python | blog/admin.py | Developer-R-7/CaffeineCode | 1a489ef0da669dd6f7e5b1d80a3c6046e2e7b2fe | [
"MIT"
] | 1 | 2022-02-03T18:42:52.000Z | 2022-02-03T18:42:52.000Z | blog/admin.py | Developer-R-7/CaffeineCode | 1a489ef0da669dd6f7e5b1d80a3c6046e2e7b2fe | [
"MIT"
] | null | null | null | blog/admin.py | Developer-R-7/CaffeineCode | 1a489ef0da669dd6f7e5b1d80a3c6046e2e7b2fe | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Category, Post
admin.site.register(Post)
admin.site.register(Category) | 24.8 | 34 | 0.822581 | 18 | 124 | 5.666667 | 0.555556 | 0.176471 | 0.254902 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08871 | 124 | 5 | 35 | 24.8 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
434d66c624b5ccfb4ee901b6c0af7a5db1f24960 | 86 | py | Python | util.py | midasvo/nec-bot | 7a73e376675a8b6d616f8b42d8d996586b8af69a | [
"MIT"
] | null | null | null | util.py | midasvo/nec-bot | 7a73e376675a8b6d616f8b42d8d996586b8af69a | [
"MIT"
] | null | null | null | util.py | midasvo/nec-bot | 7a73e376675a8b6d616f8b42d8d996586b8af69a | [
"MIT"
] | null | null | null | import random
def get_random_time(seed):
return random.uniform(1.0, 3.0) * seed
| 14.333333 | 42 | 0.709302 | 15 | 86 | 3.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.174419 | 86 | 5 | 43 | 17.2 | 0.774648 | 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 |
436f638b2712ca8b86377a0ff8795a6c643406af | 353 | py | Python | opennmt/models/__init__.py | mfomicheva/OpenNMT-tf | a367676a16f9e77f76bc58e138e78614eb4add1e | [
"MIT"
] | 4 | 2020-06-21T13:56:27.000Z | 2021-05-07T06:03:35.000Z | opennmt/models/__init__.py | mfomicheva/OpenNMT-tf | a367676a16f9e77f76bc58e138e78614eb4add1e | [
"MIT"
] | 1 | 2020-06-22T23:38:33.000Z | 2020-06-23T02:06:45.000Z | opennmt/models/__init__.py | mfomicheva/OpenNMT-tf | a367676a16f9e77f76bc58e138e78614eb4add1e | [
"MIT"
] | 2 | 2021-04-15T08:51:30.000Z | 2022-03-08T07:44:32.000Z | """Module defining models."""
from opennmt.models.language_model import LanguageModel
from opennmt.models.transformer import Transformer
from opennmt.models.sequence_to_sequence import SequenceToSequence, EmbeddingsSharingLevel
from opennmt.models.sequence_tagger import SequenceTagger
from opennmt.models.sequence_clas... | 44.125 | 90 | 0.878187 | 39 | 353 | 7.820513 | 0.461538 | 0.180328 | 0.278689 | 0.245902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070822 | 353 | 7 | 91 | 50.428571 | 0.929878 | 0.065156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
601e8cdfb6d91f141a28f678f370ba72274c9ac7 | 3,761 | py | Python | custom/intrahealth/tests/reports/test_fiche_consommation_report_v2.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | custom/intrahealth/tests/reports/test_fiche_consommation_report_v2.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T14:00:14.000Z | 2019-12-09T14:00:14.000Z | custom/intrahealth/tests/reports/test_fiche_consommation_report_v2.py | MaciejChoromanski/commcare-hq | fd7f65362d56d73b75a2c20d2afeabbc70876867 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | # coding=utf-8
from __future__ import absolute_import
from __future__ import unicode_literals
import datetime
from mock.mock import MagicMock
from custom.intrahealth.tests.utils import YeksiTestCase
from custom.intrahealth.reports import FicheConsommationReport2
from dimagi.utils.dates import DateSpan
class TestFi... | 46.432099 | 114 | 0.504653 | 525 | 3,761 | 3.514286 | 0.175238 | 0.092141 | 0.138211 | 0.162602 | 0.762602 | 0.719241 | 0.719241 | 0.719241 | 0.719241 | 0.719241 | 0 | 0.139652 | 0.312683 | 3,761 | 80 | 115 | 47.0125 | 0.574081 | 0.003191 | 0 | 0.470588 | 0 | 0 | 0.150254 | 0.00854 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.029412 | false | 0 | 0.102941 | 0 | 0.147059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60547cc67cd7474bffa6836260e8ca26c0c87936 | 15,104 | py | Python | tests/python/unit/test_timeseries_preparation.py | dataiku/dss-plugin-timeseries-preparation | bdb662c909a0ad6d7845325a70e3dac2bdcc6b28 | [
"Apache-2.0"
] | 2 | 2021-03-12T10:48:20.000Z | 2021-04-23T09:37:18.000Z | tests/python/unit/test_timeseries_preparation.py | dataiku/dss-plugin-timeseries-preparation | bdb662c909a0ad6d7845325a70e3dac2bdcc6b28 | [
"Apache-2.0"
] | 27 | 2020-07-22T15:49:25.000Z | 2021-06-18T09:40:48.000Z | tests/python/unit/test_timeseries_preparation.py | dataiku/dss-plugin-timeseries-preparation | bdb662c909a0ad6d7845325a70e3dac2bdcc6b28 | [
"Apache-2.0"
] | 1 | 2021-06-01T12:49:53.000Z | 2021-06-01T12:49:53.000Z | import sys
import numpy as np
import pandas as pd
import pytest
if sys.version_info >= (3, 0):
from dku_config.stl_config import DecompositionConfig
from timeseries_preparation.preparation import TimeseriesPreparator
@pytest.fixture
def time_column_name():
return "date"
@pytest.fixture
def timeseries_... | 44.163743 | 122 | 0.620299 | 1,708 | 15,104 | 5.169204 | 0.09719 | 0.09095 | 0.084041 | 0.03262 | 0.81221 | 0.786726 | 0.782308 | 0.759882 | 0.744705 | 0.725903 | 0 | 0.065186 | 0.266684 | 15,104 | 341 | 123 | 44.293255 | 0.731943 | 0 | 0 | 0.545161 | 0 | 0 | 0.1346 | 0.016155 | 0 | 0 | 0 | 0 | 0.074194 | 1 | 0.048387 | false | 0 | 0.019355 | 0.006452 | 0.083871 | 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 |
606b0de794fee90fcd4b1e167240168ef0ca2868 | 7,386 | py | Python | datasets/datasets.py | wjun0830/Out-of-Distribution-Baseline | 33ffc8c719dcd1705fca1f53cce977e9d18b56bb | [
"MIT"
] | null | null | null | datasets/datasets.py | wjun0830/Out-of-Distribution-Baseline | 33ffc8c719dcd1705fca1f53cce977e9d18b56bb | [
"MIT"
] | null | null | null | datasets/datasets.py | wjun0830/Out-of-Distribution-Baseline | 33ffc8c719dcd1705fca1f53cce977e9d18b56bb | [
"MIT"
] | 1 | 2021-12-08T02:38:17.000Z | 2021-12-08T02:38:17.000Z | import os
import torch
import torchvision
from torch.utils.data import DataLoader
from torchvision.datasets import ImageFolder
from torch.nn import functional as F
import torchvision.transforms as transforms
from torchvision.datasets import MNIST, KMNIST
# import transform_layers as TL
import numpy as np
from PIL impor... | 32.826667 | 118 | 0.630923 | 786 | 7,386 | 5.753181 | 0.127226 | 0.059708 | 0.034056 | 0.066342 | 0.86621 | 0.858691 | 0.858691 | 0.8295 | 0.8295 | 0.8295 | 0 | 0.009925 | 0.263336 | 7,386 | 225 | 119 | 32.826667 | 0.821173 | 0.016789 | 0 | 0.668712 | 0 | 0 | 0.040138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04908 | false | 0 | 0.06135 | 0 | 0.171779 | 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 |
607154e37f1a0a0e95a307253f2e7dc3c332fc20 | 3,521 | py | Python | tests/integration/test_distributed_format/test.py | mikhno-s/ClickHouse | 83e95cd0120da00a60506fcf2f4d23d908c45977 | [
"Apache-2.0"
] | 2 | 2021-03-25T06:53:00.000Z | 2021-04-29T07:32:51.000Z | tests/integration/test_distributed_format/test.py | mikhno-s/ClickHouse | 83e95cd0120da00a60506fcf2f4d23d908c45977 | [
"Apache-2.0"
] | 1 | 2020-03-26T01:50:51.000Z | 2020-03-26T01:50:51.000Z | tests/integration/test_distributed_format/test.py | mikhno-s/ClickHouse | 83e95cd0120da00a60506fcf2f4d23d908c45977 | [
"Apache-2.0"
] | null | null | null | import pytest
from helpers.cluster import ClickHouseCluster
cluster = ClickHouseCluster(__file__)
node = cluster.add_instance('node', main_configs=['configs/remote_servers.xml'])
cluster_param = pytest.mark.parametrize("cluster", [
('test_cluster'),
('test_cluster_2'),
])
@pytest.fixture(scope="module")
de... | 40.471264 | 154 | 0.658336 | 499 | 3,521 | 4.48497 | 0.186373 | 0.064343 | 0.042895 | 0.037534 | 0.828418 | 0.828418 | 0.802502 | 0.792225 | 0.773458 | 0.684987 | 0 | 0.030529 | 0.162738 | 3,521 | 86 | 155 | 40.94186 | 0.72863 | 0 | 0 | 0.389831 | 0 | 0.135593 | 0.549844 | 0.205907 | 0 | 0 | 0 | 0 | 0.101695 | 1 | 0.067797 | false | 0 | 0.033898 | 0 | 0.101695 | 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 |
60744146a7c4403f2b2a8eee0e9a0e56d2b12f25 | 26,503 | py | Python | test/recon/test_utils.py | DobromirM/swim-system-python | a5b4f05457f1eb2739a920c42dfc721c83a1226a | [
"Apache-2.0"
] | 8 | 2019-11-11T19:38:59.000Z | 2022-01-06T11:13:04.000Z | test/recon/test_utils.py | swimos/swim-system-python | 727c09b6e7300b063e320364373ff724d9b8af90 | [
"Apache-2.0"
] | 40 | 2019-10-29T10:35:49.000Z | 2021-05-14T22:18:35.000Z | test/recon/test_utils.py | DobromirM/swim-system-python | a5b4f05457f1eb2739a920c42dfc721c83a1226a | [
"Apache-2.0"
] | 3 | 2020-01-31T18:28:58.000Z | 2021-08-25T08:53:13.000Z | # Copyright 2015-2021 SWIM.AI inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 30.817442 | 90 | 0.628419 | 2,836 | 26,503 | 5.479549 | 0.07158 | 0.082625 | 0.044337 | 0.059459 | 0.911068 | 0.869434 | 0.845496 | 0.83314 | 0.777735 | 0.698327 | 0 | 0.007371 | 0.283364 | 26,503 | 859 | 91 | 30.853318 | 0.810825 | 0.074369 | 0 | 0.579592 | 0 | 0 | 0.026636 | 0 | 0 | 0 | 0 | 0 | 0.373469 | 1 | 0.179592 | false | 0 | 0.006122 | 0 | 0.187755 | 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 |
607c968f0b95092734f013b0b90bde2ae32a1204 | 23,155 | py | Python | src/genie/libs/parser/iosxr/tests/ShowPlacementProgramAll/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowPlacementProgramAll/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowPlacementProgramAll/cli/equal/golden_output_2_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z |
expected_output = {
"program": {
"auto_ip_ring": {
"instance": {
"default": {
"active": "0/RSP1/CPU0",
"active_state": "RUNNING",
"group": "central-services",
"jid": "1156",
"sta... | 32.384615 | 48 | 0.306672 | 1,375 | 23,155 | 5.031273 | 0.123636 | 0.208153 | 0.095403 | 0.130095 | 0.908933 | 0.908933 | 0.908933 | 0.711622 | 0.593813 | 0.587598 | 0 | 0.061643 | 0.546707 | 23,155 | 714 | 49 | 32.429972 | 0.597466 | 0 | 0 | 0.574438 | 0 | 0 | 0.318836 | 0.002203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60b6b84ab230556ae1607517486df38f09fd5b48 | 69,577 | py | Python | coremltools/converters/mil/mil/passes/test_reduce_transposes_pass.py | seibert/coremltools | 609188ebcfee2178293f0d4e93a5af2995c88645 | [
"BSD-3-Clause"
] | null | null | null | coremltools/converters/mil/mil/passes/test_reduce_transposes_pass.py | seibert/coremltools | 609188ebcfee2178293f0d4e93a5af2995c88645 | [
"BSD-3-Clause"
] | null | null | null | coremltools/converters/mil/mil/passes/test_reduce_transposes_pass.py | seibert/coremltools | 609188ebcfee2178293f0d4e93a5af2995c88645 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2020, Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can be
# found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
from coremltools.converters.mil.mil import Builder as mb
from coremltools.converters.mil.testing_util... | 37.978712 | 164 | 0.39983 | 7,730 | 69,577 | 3.4511 | 0.028461 | 0.011021 | 0.045882 | 0.034637 | 0.925854 | 0.908236 | 0.887731 | 0.861604 | 0.842598 | 0.80039 | 0 | 0.071548 | 0.432514 | 69,577 | 1,831 | 165 | 37.999454 | 0.604093 | 0.006755 | 0 | 0.651121 | 0 | 0 | 0.0754 | 0.021845 | 0 | 0 | 0 | 0 | 0.128251 | 1 | 0.068161 | false | 0.036771 | 0.004484 | 0 | 0.107623 | 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 |
60badf36df1ebd2ae661d265f51549a384bd6cfe | 25 | py | Python | backend/apps/authentication/__init__.py | apopovidis/speechex | e38da51d8b3e58cbaf5965a832de4e14fa0a73db | [
"MIT"
] | null | null | null | backend/apps/authentication/__init__.py | apopovidis/speechex | e38da51d8b3e58cbaf5965a832de4e14fa0a73db | [
"MIT"
] | null | null | null | backend/apps/authentication/__init__.py | apopovidis/speechex | e38da51d8b3e58cbaf5965a832de4e14fa0a73db | [
"MIT"
] | null | null | null | from ...settings import * | 25 | 25 | 0.72 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.818182 | 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 |
60ee197ecac98cd2aa48ab62c72e28451c3962d8 | 15,992 | py | Python | resources/tests.py | wencakisa/freesource | 7f33b337fe92ac4b675d2194266920779b13cdb8 | [
"MIT"
] | null | null | null | resources/tests.py | wencakisa/freesource | 7f33b337fe92ac4b675d2194266920779b13cdb8 | [
"MIT"
] | null | null | null | resources/tests.py | wencakisa/freesource | 7f33b337fe92ac4b675d2194266920779b13cdb8 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.shortcuts import reverse
from rest_framework.test import APITestCase, APIClient
from rest_framework import status
from .models import Category, Resource, Comment
class AbstractTestCase(APITestCase):
def setUp(self):
self.client = APIClient()
... | 33.386221 | 85 | 0.628502 | 1,705 | 15,992 | 5.641056 | 0.076246 | 0.093575 | 0.136307 | 0.090455 | 0.830318 | 0.807548 | 0.765856 | 0.729466 | 0.717613 | 0.717613 | 0 | 0.010421 | 0.273949 | 15,992 | 478 | 86 | 33.456067 | 0.817931 | 0 | 0 | 0.57377 | 0 | 0 | 0.063657 | 0.012569 | 0 | 0 | 0 | 0 | 0.169399 | 1 | 0.103825 | false | 0.010929 | 0.013661 | 0 | 0.13388 | 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 |
60fb124c084a07c8fb48054bec97a15188c12f3d | 192 | py | Python | dvc/dependency/local.py | yfarjoun/dvc | eaca7dc80c765dd3a8dbe4c8fb3b206656bbc5e2 | [
"Apache-2.0"
] | 2 | 2019-06-23T14:24:48.000Z | 2019-07-08T12:22:53.000Z | dvc/dependency/local.py | yfarjoun/dvc | eaca7dc80c765dd3a8dbe4c8fb3b206656bbc5e2 | [
"Apache-2.0"
] | null | null | null | dvc/dependency/local.py | yfarjoun/dvc | eaca7dc80c765dd3a8dbe4c8fb3b206656bbc5e2 | [
"Apache-2.0"
] | 1 | 2019-09-02T00:29:40.000Z | 2019-09-02T00:29:40.000Z | from __future__ import unicode_literals
from dvc.dependency.base import DependencyBase
from dvc.output.local import OutputLOCAL
class DependencyLOCAL(DependencyBase, OutputLOCAL):
pass
| 21.333333 | 51 | 0.838542 | 22 | 192 | 7.090909 | 0.681818 | 0.089744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119792 | 192 | 8 | 52 | 24 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
88063efe36a7f0fc1588166734ca233ccbd273ac | 14,465 | py | Python | eagleeye/riemann/protobuf.py | hawkowl/eagleeye | 7f0cbad5e001b879180d37b06a8f98a879f9dc0a | [
"MIT"
] | 5 | 2016-06-15T13:16:34.000Z | 2017-05-26T12:34:01.000Z | eagleeye/riemann/protobuf.py | hawkowl/eagleeye | 7f0cbad5e001b879180d37b06a8f98a879f9dc0a | [
"MIT"
] | null | null | null | eagleeye/riemann/protobuf.py | hawkowl/eagleeye | 7f0cbad5e001b879180d37b06a8f98a879f9dc0a | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
from google.protobuf import descriptor
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)
DESCRIPTOR = descriptor.FileDescriptor(
name='proto.proto',
... | 41.09375 | 1,221 | 0.645627 | 1,810 | 14,465 | 4.932597 | 0.092818 | 0.077061 | 0.064516 | 0.060484 | 0.787186 | 0.74888 | 0.700045 | 0.700045 | 0.695789 | 0.695789 | 0 | 0.050645 | 0.228759 | 14,465 | 352 | 1,222 | 41.09375 | 0.749641 | 0.024265 | 0 | 0.696203 | 1 | 0.003165 | 0.122785 | 0.07472 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012658 | 0 | 0.060127 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
714813dfda71aa14d9c2ae76c853fff9a97ba212 | 79,322 | py | Python | tests/test_sd.py | afflux/someip | b08a17260e934afa4c2f150023be690b25f9add9 | [
"MIT"
] | null | null | null | tests/test_sd.py | afflux/someip | b08a17260e934afa4c2f150023be690b25f9add9 | [
"MIT"
] | null | null | null | tests/test_sd.py | afflux/someip | b08a17260e934afa4c2f150023be690b25f9add9 | [
"MIT"
] | null | null | null | # vim:foldmethod=marker:foldlevel=0
import asyncio
import ipaddress
import itertools
import logging
import os
import socket
import struct
import sys
import typing
import unittest
import unittest.mock
from dataclasses import replace
import someip.header as hdr
import someip.config as cfg
import someip.sd as sd
logging... | 32.535685 | 88 | 0.603011 | 9,170 | 79,322 | 4.940131 | 0.063359 | 0.031964 | 0.032582 | 0.022251 | 0.825986 | 0.799364 | 0.77548 | 0.752345 | 0.72643 | 0.69334 | 0 | 0.051898 | 0.297975 | 79,322 | 2,437 | 89 | 32.549036 | 0.76161 | 0.032513 | 0 | 0.649869 | 0 | 0.007874 | 0.033466 | 0.01824 | 0 | 0 | 0.009433 | 0 | 0.099738 | 1 | 0.006824 | false | 0.00105 | 0.007874 | 0.000525 | 0.054593 | 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 |
715fdf490c3a92297f8da446941513fde6f5f97a | 5,524 | py | Python | tests/features/scheduling/test_scheduling.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 35 | 2018-01-08T01:20:16.000Z | 2018-02-06T02:37:14.000Z | tests/features/scheduling/test_scheduling.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 55 | 2018-01-03T02:42:03.000Z | 2018-02-06T13:35:54.000Z | tests/features/scheduling/test_scheduling.py | josephmancuso/masonite | e9ed31331268bd4966609fbc1e5c55afa5cb0a79 | [
"MIT"
] | 4 | 2018-01-08T13:13:14.000Z | 2018-01-12T19:35:32.000Z | import pendulum
from src.masonite.tests import TestCase
from src.masonite.scheduling import Task
class MockTask(Task):
run_every = "5 minutes"
timezone = "America/New_York"
class TestScheduler(TestCase):
def setUp(self):
super().setUp()
self.task = MockTask()
def test_scheduler_shou... | 32.686391 | 78 | 0.590333 | 837 | 5,524 | 3.740741 | 0.0908 | 0.176302 | 0.129352 | 0.146599 | 0.875439 | 0.833919 | 0.773555 | 0.752475 | 0.73427 | 0.695624 | 0 | 0.078094 | 0.262853 | 5,524 | 168 | 79 | 32.880952 | 0.690815 | 0 | 0 | 0.603175 | 0 | 0 | 0.033128 | 0 | 0 | 0 | 0 | 0 | 0.230159 | 1 | 0.103175 | false | 0 | 0.02381 | 0 | 0.15873 | 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 |
7163ecf8c2e93e5428add81ad62e4da2dccca8e4 | 24 | py | Python | tests/test_mypkg.py | RamizRzayev/pycounts | dd0e7e46d69b6b25b2ea041c5a679c2ab66f99b7 | [
"MIT"
] | null | null | null | tests/test_mypkg.py | RamizRzayev/pycounts | dd0e7e46d69b6b25b2ea041c5a679c2ab66f99b7 | [
"MIT"
] | null | null | null | tests/test_mypkg.py | RamizRzayev/pycounts | dd0e7e46d69b6b25b2ea041c5a679c2ab66f99b7 | [
"MIT"
] | null | null | null | from mypkg import mypkg
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
7176c26a76e32225bb900d07b6f8fbce5dacd4bb | 138 | py | Python | src/app/admin/__init__.py | Ezequiel-Vega/peg | ff5c41c91df7885e0fd3d4c750497dd2d8290b67 | [
"MIT"
] | null | null | null | src/app/admin/__init__.py | Ezequiel-Vega/peg | ff5c41c91df7885e0fd3d4c750497dd2d8290b67 | [
"MIT"
] | null | null | null | src/app/admin/__init__.py | Ezequiel-Vega/peg | ff5c41c91df7885e0fd3d4c750497dd2d8290b67 | [
"MIT"
] | null | null | null | from flask import Blueprint
admin_bp : Blueprint = Blueprint("admin", __name__, template_folder='templates/admin')
from . import routes
| 23 | 86 | 0.782609 | 17 | 138 | 6 | 0.647059 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123188 | 138 | 5 | 87 | 27.6 | 0.842975 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e0e9115f513a386f0246351c12de5d915cef6833 | 88 | py | Python | toolsrequests/__init__.py | gboacloth/toolsrequests | b392f8e5506db6e78173ee6dc1d2ac137580b739 | [
"MIT"
] | null | null | null | toolsrequests/__init__.py | gboacloth/toolsrequests | b392f8e5506db6e78173ee6dc1d2ac137580b739 | [
"MIT"
] | null | null | null | toolsrequests/__init__.py | gboacloth/toolsrequests | b392f8e5506db6e78173ee6dc1d2ac137580b739 | [
"MIT"
] | null | null | null | try:
from TraceyShellClient import *
except:
from .TraceyShellClient import * | 22 | 36 | 0.715909 | 8 | 88 | 7.875 | 0.625 | 0.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 88 | 4 | 37 | 22 | 0.926471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e0ee98e9cb9824df2049646118fc1efba2211842 | 62 | py | Python | test_main.py | autoscatto/mastojeppetto | c343b95cf6d8f7e79225d5055759d27d141dfa01 | [
"MIT"
] | 1 | 2019-11-16T02:10:16.000Z | 2019-11-16T02:10:16.000Z | test_main.py | autoscatto/mastojeppetto | c343b95cf6d8f7e79225d5055759d27d141dfa01 | [
"MIT"
] | 2 | 2019-11-15T10:08:28.000Z | 2019-11-15T10:08:30.000Z | test_main.py | autoscatto/mastojeppetto | c343b95cf6d8f7e79225d5055759d27d141dfa01 | [
"MIT"
] | null | null | null | def test_import():
from mastojeppetto import download_all
| 20.666667 | 42 | 0.790323 | 8 | 62 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 2 | 43 | 31 | 0.903846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0f8bff52611242b65b6653d36c2749a0db10a06 | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/depends.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/depends.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/depends.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/41/84/08/69daf90f02f13f3904ae136de6199186f1a15b1a1764c4570a6fe3710d | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
460082f14f5cf0a254fe43ec27c2d8800d0540c6 | 17,527 | py | Python | packages/esp32_LoBo/frozen/display/fonts/ubuntu_mono_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 18 | 2019-07-11T13:31:09.000Z | 2022-01-27T06:38:40.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_mono_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 9 | 2019-09-01T21:44:49.000Z | 2022-02-04T20:55:08.000Z | packages/esp32_LoBo/frozen/display/fonts/ubuntu_mono_20.py | TheVinhLuong102/micropy-stubs | 55ff1773008f7c4dfc3d70a403986486226eb6b3 | [
"MIT"
] | 6 | 2019-10-08T05:31:21.000Z | 2021-04-22T10:21:01.000Z | _FONT = {
32: [10, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575, 1048575],
33: [10, 1048575, 1048575, 1048575, 1048575, 1044735, 1044735, 1044735, 1044735, 1044735, 1044735, 1044735, 1048575, 104... | 178.846939 | 190 | 0.750271 | 2,091 | 17,527 | 6.288379 | 0.0923 | 0.727204 | 0.811316 | 0.717621 | 0.730474 | 0.657845 | 0.582174 | 0.521028 | 0.451441 | 0.329303 | 0 | 0.851746 | 0.119473 | 17,527 | 97 | 191 | 180.690722 | 0.000259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4604333b6e8eadfa7c35aec2acacece0f69cefd8 | 19,105 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ncs1k_macsec_ea_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ncs1k_macsec_ea_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ncs1k_macsec_ea_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 55.057637 | 266 | 0.55865 | 1,625 | 19,105 | 6.332923 | 0.078769 | 0.071519 | 0.089399 | 0.107861 | 0.895831 | 0.878437 | 0.8591 | 0.828977 | 0.766009 | 0.736663 | 0 | 0.04336 | 0.307092 | 19,105 | 346 | 267 | 55.216763 | 0.734023 | 0 | 0 | 0.604651 | 0 | 0.003322 | 0.483369 | 0.372988 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026578 | 0 | 0.026578 | 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 |
4606f4e422cac3728119b4c8a654488c48898ed9 | 35,293 | py | Python | test/test_electrophysiology.py | GMattheisen/fairgraph | 4b60e2b03869ff8276ad9c74147064af947dc282 | [
"Apache-2.0"
] | null | null | null | test/test_electrophysiology.py | GMattheisen/fairgraph | 4b60e2b03869ff8276ad9c74147064af947dc282 | [
"Apache-2.0"
] | null | null | null | test/test_electrophysiology.py | GMattheisen/fairgraph | 4b60e2b03869ff8276ad9c74147064af947dc282 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
"""
Tests of fairgraph.electrophysiology module, using a mock Http client
which returns data loaded from the files in the test_data directory.
"""
from fairgraph.base import KGQuery, KGProxy, as_list, Distribution
from fairgraph.commons import BrainRegion, CellType, QuantitativeValue
from fairgraph.c... | 60.536878 | 218 | 0.7287 | 4,057 | 35,293 | 6.117821 | 0.074193 | 0.041579 | 0.034327 | 0.029009 | 0.819581 | 0.800967 | 0.775141 | 0.76394 | 0.711966 | 0.701853 | 0 | 0.033637 | 0.165217 | 35,293 | 582 | 219 | 60.640893 | 0.808805 | 0.009152 | 0 | 0.514831 | 0 | 0.014831 | 0.391503 | 0.330883 | 0 | 0 | 0 | 0.001718 | 0.194915 | 1 | 0.127119 | false | 0 | 0.016949 | 0 | 0.213983 | 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 |
e80f07205b6386ce286468c5d915f0920fb97094 | 15,001 | py | Python | instances/simulation/inst-20210422-1717/timetabling_closed-SV/inst-20210422-1717-c50-pas4e-1_optDelivery_9h-3h.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/simulation/inst-20210422-1717/timetabling_closed-SV/inst-20210422-1717-c50-pas4e-1_optDelivery_9h-3h.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/simulation/inst-20210422-1717/timetabling_closed-SV/inst-20210422-1717-c50-pas4e-1_optDelivery_9h-3h.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PERIODS
"""
numPeriods = 180
"""
STOPS
"""
numStations = 13
station_names = (
"Hamburg Hbf", # 0
"Landwehr", # 1
"Hasselbrook", # 2
"Wansbeker Chaussee*", # 3
"Friedrichsberg*", # 4
"Barmbek*", # 5
"Alte Woehr (Stadtpark)", # 6
"Ruebenkamp (City Nord)", # 7
"Ohlsdorf*", # 8
"Kornweg", # 9
... | 32.260215 | 190 | 0.461636 | 3,867 | 15,001 | 1.775537 | 0.073959 | 0.325663 | 0.462715 | 0.584911 | 0.590009 | 0.545441 | 0.544713 | 0.524177 | 0.523595 | 0.519225 | 0 | 0.506292 | 0.263716 | 15,001 | 464 | 191 | 32.329741 | 0.115346 | 0.10006 | 0 | 0.464286 | 0 | 0 | 0.018537 | 0.001931 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.012755 | 0 | 0 | 0 | 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 |
1c0a1d8865120ed0b658142cfd39906a7715a293 | 18,996 | py | Python | src/ipycbm/plugins/foi/foi_panel.py | VP-GEO/cbm | 4ed229f6b6455435b6d032deb8a39dba4ecee7a2 | [
"BSD-3-Clause"
] | null | null | null | src/ipycbm/plugins/foi/foi_panel.py | VP-GEO/cbm | 4ed229f6b6455435b6d032deb8a39dba4ecee7a2 | [
"BSD-3-Clause"
] | null | null | null | src/ipycbm/plugins/foi/foi_panel.py | VP-GEO/cbm | 4ed229f6b6455435b6d032deb8a39dba4ecee7a2 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This file is part of CbM (https://github.com/ec-jrc/cbm).
# Author : Konstantinos Anastasakis
# Credits : GTCAP Team
# Copyright : 2021 European Commission, Joint Research Centre
# License : 3-Clause BSD
import os
import glob
from ipywidgets import (Text, Label... | 33.151832 | 218 | 0.584439 | 2,287 | 18,996 | 4.668561 | 0.135549 | 0.03531 | 0.035029 | 0.015828 | 0.783834 | 0.776716 | 0.755081 | 0.747307 | 0.736817 | 0.718273 | 0 | 0.008463 | 0.303327 | 18,996 | 572 | 219 | 33.20979 | 0.798323 | 0.042377 | 0 | 0.70303 | 0 | 0.00202 | 0.240145 | 0.013874 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042424 | false | 0 | 0.016162 | 0 | 0.062626 | 0.00404 | 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 |
1c600349997b469f77f1570725a81f12a07a96b4 | 132 | py | Python | lekcja_w06d.py | pawel-gbr/pawel-gbr.github.io | 69cae413b21ed59509751432929bb42a1991bd1c | [
"BSD-2-Clause"
] | null | null | null | lekcja_w06d.py | pawel-gbr/pawel-gbr.github.io | 69cae413b21ed59509751432929bb42a1991bd1c | [
"BSD-2-Clause"
] | 1 | 2018-09-26T16:20:08.000Z | 2018-09-26T16:50:03.000Z | lekcja_w06d.py | pawel-gbr/pawel-gbr.github.io | 69cae413b21ed59509751432929bb42a1991bd1c | [
"BSD-2-Clause"
] | null | null | null | print("Podaj a:")
a = int(input())
print("Podaj b:")
b = int(input())
print("A") if a > b else print("=") if a == b else print("B")
| 22 | 61 | 0.55303 | 25 | 132 | 2.92 | 0.32 | 0.273973 | 0.356164 | 0.219178 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174242 | 132 | 5 | 62 | 26.4 | 0.669725 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
98c6607d490e7afdcbeea840c64f42ba524fa26b | 37 | py | Python | h5Nastran/h5Nastran/h5/nastran/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 293 | 2015-03-22T20:22:01.000Z | 2022-03-14T20:28:24.000Z | h5Nastran/h5Nastran/h5/nastran/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 512 | 2015-03-14T18:39:27.000Z | 2022-03-31T16:15:43.000Z | h5Nastran/h5Nastran/h5/nastran/__init__.py | ACea15/pyNastran | 5ffc37d784b52c882ea207f832bceb6b5eb0e6d4 | [
"BSD-3-Clause"
] | 136 | 2015-03-19T03:26:06.000Z | 2022-03-25T22:14:54.000Z | from .nastran_node import NastranNode | 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 |
c70230752f13e55c3d6b044565190468f11c2e73 | 5,204 | py | Python | tests/unit/dataactvalidator/test_fabs37_detached_award_financial_assistance_1.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_fabs37_detached_award_financial_assistance_1.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_fabs37_detached_award_financial_assistance_1.py | brianherman/data-act-broker-backend | 80eb055b9d245046192f7ad4fd0be7d0e11d2dec | [
"CC0-1.0"
] | 1 | 2020-07-17T23:50:56.000Z | 2020-07-17T23:50:56.000Z | from tests.unit.dataactcore.factories.staging import DetachedAwardFinancialAssistanceFactory
from dataactcore.models.domainModels import CFDAProgram
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'fabs37_detached_award_financial_assistance_1'
def test_column_headers(database):
... | 69.386667 | 113 | 0.637202 | 524 | 5,204 | 5.975191 | 0.183206 | 0.076653 | 0.122645 | 0.244331 | 0.783136 | 0.763015 | 0.763015 | 0.759182 | 0.759182 | 0.759182 | 0 | 0.073818 | 0.276326 | 5,204 | 74 | 114 | 70.324324 | 0.757568 | 0.091084 | 0 | 0.326923 | 0 | 0 | 0.08984 | 0.023316 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.057692 | false | 0 | 0.057692 | 0 | 0.115385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c711a9281c3787b4fa0eb6834942fcc0e7d904a8 | 46 | py | Python | src/python/rodney/__init__.py | mesnardo/petibm-decoupledibpm | 675615a882cc8418b15a34e1100ccfb421f1d9d1 | [
"BSD-3-Clause"
] | null | null | null | src/python/rodney/__init__.py | mesnardo/petibm-decoupledibpm | 675615a882cc8418b15a34e1100ccfb421f1d9d1 | [
"BSD-3-Clause"
] | null | null | null | src/python/rodney/__init__.py | mesnardo/petibm-decoupledibpm | 675615a882cc8418b15a34e1100ccfb421f1d9d1 | [
"BSD-3-Clause"
] | null | null | null | from .lietal2016 import *
from .misc import *
| 15.333333 | 25 | 0.73913 | 6 | 46 | 5.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.173913 | 46 | 2 | 26 | 23 | 0.789474 | 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 |
c72417352c408dabec2d4e7865ca4250806a6b80 | 30 | py | Python | alsa_tooltip/__init__.py | theelous3/alsa-tooltip | b8e96b742d5a133f5e8e57781802812b2eca9084 | [
"MIT"
] | null | null | null | alsa_tooltip/__init__.py | theelous3/alsa-tooltip | b8e96b742d5a133f5e8e57781802812b2eca9084 | [
"MIT"
] | null | null | null | alsa_tooltip/__init__.py | theelous3/alsa-tooltip | b8e96b742d5a133f5e8e57781802812b2eca9084 | [
"MIT"
] | null | null | null | from .alsa_tooltip import main | 30 | 30 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 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 |
c76c534f136d9aee58b843eeabbaacdf39f27b43 | 205 | py | Python | machineLearning/api/socketServer/src/config/__init__.py | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | machineLearning/api/socketServer/src/config/__init__.py | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | machineLearning/api/socketServer/src/config/__init__.py | guilhermeKodama/Closetinn | 44d6792cfb0db9cce56db83f2e8c4b8777530f68 | [
"MIT"
] | null | null | null | import os
if os.getenv('CLOSETINN_ENV', 'development') == 'development':
from development import *
elif os.getenv('CLOSETINN_ENV') == 'production':
print 'PRODUCTION'
from production import *
| 25.625 | 62 | 0.702439 | 23 | 205 | 6.173913 | 0.478261 | 0.112676 | 0.239437 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165854 | 205 | 7 | 63 | 29.285714 | 0.830409 | 0 | 0 | 0 | 0 | 0 | 0.331707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c7be6f288664ac7715733f6bd85b56ac9e4f6357 | 122 | py | Python | app/project/__init__.py | MashSoftware/flux-api | 8763f752d44868b53a351f44f243ae760b28be31 | [
"MIT"
] | 1 | 2021-06-19T18:06:34.000Z | 2021-06-19T18:06:34.000Z | app/project/__init__.py | MashSoftware/flux-api | 8763f752d44868b53a351f44f243ae760b28be31 | [
"MIT"
] | null | null | null | app/project/__init__.py | MashSoftware/flux-api | 8763f752d44868b53a351f44f243ae760b28be31 | [
"MIT"
] | null | null | null | from flask import Blueprint
project = Blueprint("project", __name__)
from app.project import routes # noqa: E402, F401
| 20.333333 | 50 | 0.762295 | 16 | 122 | 5.5625 | 0.6875 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.155738 | 122 | 5 | 51 | 24.4 | 0.805825 | 0.131148 | 0 | 0 | 0 | 0 | 0.067308 | 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 |
4070742e277cd53474765332c944e9da1da29e95 | 4,889 | py | Python | AutomationFramework/tests/qos/test_qos_scheduler.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 1 | 2020-04-23T15:22:16.000Z | 2020-04-23T15:22:16.000Z | AutomationFramework/tests/qos/test_qos_scheduler.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 44 | 2020-08-13T19:35:41.000Z | 2021-03-01T09:08:00.000Z | AutomationFramework/tests/qos/test_qos_scheduler.py | sbarguil/Testing-framework | f3ef69f1c4f0aeafd02e222d846162c711783b15 | [
"Apache-2.0"
] | 6 | 2020-04-23T15:29:38.000Z | 2022-03-03T14:23:38.000Z | import pytest
from AutomationFramework.page_objects.qos.qos import QOS
from AutomationFramework.tests.base_test import BaseTest
class TestQOSScheduler(BaseTest):
test_case_file = 'qos_scheduler.yml'
@pytest.mark.parametrize('create_page_object_arg', [{'test_case_file': test_case_file,
... | 71.897059 | 122 | 0.635713 | 539 | 4,889 | 5.148423 | 0.096475 | 0.144144 | 0.201802 | 0.092252 | 0.859099 | 0.838919 | 0.8 | 0.8 | 0.69982 | 0.664505 | 0 | 0.002309 | 0.291266 | 4,889 | 67 | 123 | 72.970149 | 0.798557 | 0 | 0 | 0.491228 | 0 | 0 | 0.154428 | 0.059726 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.140351 | false | 0 | 0.052632 | 0 | 0.22807 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 0 | 0 | 6 |
40d3f4875fbb175940229321cb61ab5959f2c22f | 38 | py | Python | python/testData/formatter/spacesBeforeFromImportSource_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/formatter/spacesBeforeFromImportSource_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/spacesBeforeFromImportSource_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from sys import path
print(sys.path)
| 9.5 | 20 | 0.763158 | 7 | 38 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 3 | 21 | 12.666667 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
40ec1fb276682d9b007fb24bdc29b75cbec9bb10 | 38 | py | Python | replaybuffer/__init__.py | mattbev/replaybuffer | ed2f2bd8e10ab6f118bda49d8c4b26d257bcb5c5 | [
"MIT"
] | null | null | null | replaybuffer/__init__.py | mattbev/replaybuffer | ed2f2bd8e10ab6f118bda49d8c4b26d257bcb5c5 | [
"MIT"
] | null | null | null | replaybuffer/__init__.py | mattbev/replaybuffer | ed2f2bd8e10ab6f118bda49d8c4b26d257bcb5c5 | [
"MIT"
] | null | null | null | from .replaybuffer import ReplayBuffer | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 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 |
40fbe4ea8abc7bd803bfe7e42f0814470c5ff971 | 320 | py | Python | toontown/coghq/DistributedSellbotHQDoorAI.py | TrueBlueDogemon/Toontown | ebed7fc3f2ef06a529cf02eda7ab46361aceef9d | [
"MIT"
] | 1 | 2021-02-25T06:22:49.000Z | 2021-02-25T06:22:49.000Z | toontown/coghq/DistributedSellbotHQDoorAI.py | journeyfan/toontown-journey | 7a4db507e5c1c38a014fc65588086d9655aaa5b4 | [
"MIT"
] | null | null | null | toontown/coghq/DistributedSellbotHQDoorAI.py | journeyfan/toontown-journey | 7a4db507e5c1c38a014fc65588086d9655aaa5b4 | [
"MIT"
] | 2 | 2020-09-26T20:37:18.000Z | 2020-11-15T20:55:33.000Z | from direct.directnotify import DirectNotifyGlobal
from toontown.coghq.DistributedCogHQDoorAI import DistributedCogHQDoorAI
class DistributedSellbotHQDoorAI(DistributedCogHQDoorAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedSellbotHQDoorAI")
def informPlayer(self, todo0):
pass
| 32 | 86 | 0.834375 | 24 | 320 | 11.125 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003521 | 0.1125 | 320 | 9 | 87 | 35.555556 | 0.93662 | 0 | 0 | 0 | 0 | 0 | 0.081505 | 0.081505 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.833333 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9076935ffd8b2ebbae7f02ff6322f92fb6ea59e7 | 96 | py | Python | venv/lib/python3.8/site-packages/requests_toolbelt/adapters/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/adapters/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/adapters/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/68/77/c0/07b1ade470edaef35669139b72653725395fc112cb5d7c5920e6bd0569 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90af3837824055232c7aa3f0afef3a3394468fe9 | 104 | py | Python | tests/conftest.py | sethmccombs/tau-intro-to-pytest | a4e8983841e6afcae6b0264ff48e47c37778b443 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | sethmccombs/tau-intro-to-pytest | a4e8983841e6afcae6b0264ff48e47c37778b443 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | sethmccombs/tau-intro-to-pytest | a4e8983841e6afcae6b0264ff48e47c37778b443 | [
"Apache-2.0"
] | null | null | null | import pytest
from stuff.accum import Accumulator
@pytest.fixture
def accum():
return Accumulator() | 17.333333 | 35 | 0.778846 | 13 | 104 | 6.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 6 | 36 | 17.333333 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
90f9b168505ebf6376594befb0593270974245eb | 81 | py | Python | xquantum/qdk/__init__.py | caccio/CrossQuantumClassifier | eede8a2d46220d9a9f2fbe8977abd98801c11d5a | [
"Apache-2.0"
] | null | null | null | xquantum/qdk/__init__.py | caccio/CrossQuantumClassifier | eede8a2d46220d9a9f2fbe8977abd98801c11d5a | [
"Apache-2.0"
] | null | null | null | xquantum/qdk/__init__.py | caccio/CrossQuantumClassifier | eede8a2d46220d9a9f2fbe8977abd98801c11d5a | [
"Apache-2.0"
] | null | null | null | from .qdk import testModel, classifiedLableProbability, circuitDerivativeByParams | 81 | 81 | 0.901235 | 6 | 81 | 12.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 81 | 1 | 81 | 81 | 0.960526 | 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 |
290856475e810b21bcc547989d14e51c999c556a | 761 | py | Python | mini-apps/tic-tac-toe-full/tic_tac_toe_module.py | CrtomirJuren/python-delavnica | db96470d2cb1870390545cfbe511552a9ef08720 | [
"MIT"
] | null | null | null | mini-apps/tic-tac-toe-full/tic_tac_toe_module.py | CrtomirJuren/python-delavnica | db96470d2cb1870390545cfbe511552a9ef08720 | [
"MIT"
] | null | null | null | mini-apps/tic-tac-toe-full/tic_tac_toe_module.py | CrtomirJuren/python-delavnica | db96470d2cb1870390545cfbe511552a9ef08720 | [
"MIT"
] | null | null | null | import random
# def generate_board():
# """
# funkcija ki generira naključno tic tac toe board - igralno ploščo
# vzorci = ['X','O']
# nakljucen_vzorec = random.choice(vzorci)
# """
# return board
# def print_board(board):
# """ funkcija za lepši terminal print board """
# pass
#... | 15.854167 | 71 | 0.584757 | 83 | 761 | 5.192771 | 0.445783 | 0.092807 | 0.157773 | 0.185615 | 0.194896 | 0.194896 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262812 | 761 | 48 | 72 | 15.854167 | 0.768271 | 0.881735 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2921605405b3945fb53689ec7975f3876770448c | 48 | py | Python | safe/src/ManSite_vseukr/python/scripts/script4.py | Valentyn-coder/Manproject | e2f73fa82f3878ed424e603e0a859969ffa1c308 | [
"MIT"
] | null | null | null | safe/src/ManSite_vseukr/python/scripts/script4.py | Valentyn-coder/Manproject | e2f73fa82f3878ed424e603e0a859969ffa1c308 | [
"MIT"
] | null | null | null | safe/src/ManSite_vseukr/python/scripts/script4.py | Valentyn-coder/Manproject | e2f73fa82f3878ed424e603e0a859969ffa1c308 | [
"MIT"
] | null | null | null | import sys
print(str(sys.argv[1])[::3], end='') | 24 | 36 | 0.604167 | 9 | 48 | 3.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.083333 | 48 | 2 | 36 | 24 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2937f90faea482387318fd770284e4a0703f0297 | 57,156 | py | Python | tests/test_h3.py | vranem1/aioquic | f3904da6022bdf687e476d74b7d4799dc4f92eca | [
"BSD-3-Clause"
] | null | null | null | tests/test_h3.py | vranem1/aioquic | f3904da6022bdf687e476d74b7d4799dc4f92eca | [
"BSD-3-Clause"
] | null | null | null | tests/test_h3.py | vranem1/aioquic | f3904da6022bdf687e476d74b7d4799dc4f92eca | [
"BSD-3-Clause"
] | 1 | 2022-03-06T10:04:52.000Z | 2022-03-06T10:04:52.000Z | import binascii
from unittest import TestCase
from aioquic.buffer import Buffer, encode_uint_var
from aioquic.h3.connection import (
H3_ALPN,
ErrorCode,
FrameType,
FrameUnexpected,
H3Connection,
MessageError,
Setting,
SettingsError,
StreamType,
encode_frame,
encode_settings,... | 34.327928 | 90 | 0.496151 | 5,270 | 57,156 | 5.129791 | 0.059203 | 0.067175 | 0.036251 | 0.03196 | 0.872605 | 0.837686 | 0.815714 | 0.797884 | 0.783532 | 0.755419 | 0 | 0.036518 | 0.407831 | 57,156 | 1,664 | 91 | 34.348558 | 0.762217 | 0.04367 | 0 | 0.672155 | 0 | 0 | 0.101539 | 0.020083 | 0 | 0 | 0.000111 | 0 | 0.068719 | 1 | 0.03078 | false | 0 | 0.007158 | 0.000716 | 0.044381 | 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 |
2979c55b3c459f9d5967bc8549f6e865008a1332 | 16,532 | py | Python | src/loss/discriminator.py | Aitical/ECL-SISR | 6dc4bdbb115cac65b9083cd974d5882be0bba746 | [
"MIT"
] | 3 | 2022-03-08T14:53:36.000Z | 2022-03-23T06:56:17.000Z | src/loss/discriminator.py | Aitical/ECL-SISR | 6dc4bdbb115cac65b9083cd974d5882be0bba746 | [
"MIT"
] | null | null | null | src/loss/discriminator.py | Aitical/ECL-SISR | 6dc4bdbb115cac65b9083cd974d5882be0bba746 | [
"MIT"
] | null | null | null | from model import common
from pytorch_wavelets import DWTForward
import torch.nn as nn
import torch
import random
import torch.nn.functional as F
from collections import OrderedDict
class Discriminator(nn.Module):
'''
output is not normalized
'''
def __init__(self, args):
super(Discriminato... | 33.946612 | 128 | 0.523954 | 2,140 | 16,532 | 3.819626 | 0.096262 | 0.014191 | 0.023856 | 0.038537 | 0.784316 | 0.758747 | 0.749205 | 0.738928 | 0.731343 | 0.703939 | 0 | 0.020865 | 0.362207 | 16,532 | 486 | 129 | 34.016461 | 0.754363 | 0.031878 | 0 | 0.751295 | 0 | 0 | 0.022142 | 0.004227 | 0 | 0 | 0 | 0.002058 | 0 | 1 | 0.059585 | false | 0 | 0.018135 | 0.007772 | 0.139896 | 0.005181 | 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 |
2985b9c498a6d978e045c04c0b8035a07919dc19 | 40 | py | Python | fastapi_dream_core/pagination/__init__.py | yurihartmann/fastapi_dream_core | 7c3667e5350b7000d2329b8888bf9a00400939aa | [
"MIT"
] | 4 | 2021-10-01T18:33:44.000Z | 2022-01-11T21:33:25.000Z | fastapi_dream_core/pagination/__init__.py | yurihartmann/fastapi_dream_core | 7c3667e5350b7000d2329b8888bf9a00400939aa | [
"MIT"
] | null | null | null | fastapi_dream_core/pagination/__init__.py | yurihartmann/fastapi_dream_core | 7c3667e5350b7000d2329b8888bf9a00400939aa | [
"MIT"
] | null | null | null | from .pagination import Page, PageQuery
| 20 | 39 | 0.825 | 5 | 40 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
465689d968285b263b73721d693e5c8ed311b362 | 8,992 | py | Python | pytissueoptics/scalars.py | DCC-Lab/PyTissueOptics | 2e1920a970d62c1e2aeca25749ba88969c300325 | [
"MIT"
] | 3 | 2021-02-01T19:30:35.000Z | 2021-06-14T20:08:10.000Z | pytissueoptics/scalars.py | DCC-Lab/PyTissueOptics | 2e1920a970d62c1e2aeca25749ba88969c300325 | [
"MIT"
] | 25 | 2021-02-03T15:53:18.000Z | 2022-03-30T22:53:29.000Z | pytissueoptics/scalars.py | DCC-Lab/PyTissueOptics | 2e1920a970d62c1e2aeca25749ba88969c300325 | [
"MIT"
] | 2 | 2022-02-12T03:51:53.000Z | 2022-02-14T04:52:28.000Z | import numpy as np
try:
import cupy as cp
except:
cp = np
#CupyScalars = NumpyScalars
import pytissueoptics.vectors as vc
class NativeScalars:
""" An array of scalars that is compatible with operations on Vectors
There is a reason for not using numpy.array directly: we want to
add new functi... | 29.873754 | 90 | 0.578737 | 1,149 | 8,992 | 4.373368 | 0.130548 | 0.068657 | 0.047761 | 0.050149 | 0.789851 | 0.776119 | 0.773333 | 0.710846 | 0.66806 | 0.568358 | 0 | 0.013479 | 0.29871 | 8,992 | 300 | 91 | 29.973333 | 0.783381 | 0.053714 | 0 | 0.585586 | 0 | 0 | 0.012682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.243243 | false | 0 | 0.013514 | 0.103604 | 0.567568 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
465b213303f62d399c6a2932daf01cf18c75106b | 26 | py | Python | Python_Day9/flask/sampleA/sampleA.py | dchaurangi/pro1 | 0c0c9f53749fb9857f69f5d564718fd3acbec7b0 | [
"MIT"
] | 1 | 2020-01-16T08:54:52.000Z | 2020-01-16T08:54:52.000Z | Python_Day9/flask/sampleA/sampleA.py | dchaurangi/pro1 | 0c0c9f53749fb9857f69f5d564718fd3acbec7b0 | [
"MIT"
] | null | null | null | Python_Day9/flask/sampleA/sampleA.py | dchaurangi/pro1 | 0c0c9f53749fb9857f69f5d564718fd3acbec7b0 | [
"MIT"
] | null | null | null | from hbdRahul import app
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 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 |
465b6be3da2ce8c8e0cb7c3b9091cf47afb51fc7 | 189 | py | Python | discordmenu/emoji/emoji.py | RheingoldRiver/discord-menu | cde194b3ec86c15a975b34fd815cc5999cc6f8de | [
"Apache-2.0"
] | null | null | null | discordmenu/emoji/emoji.py | RheingoldRiver/discord-menu | cde194b3ec86c15a975b34fd815cc5999cc6f8de | [
"Apache-2.0"
] | null | null | null | discordmenu/emoji/emoji.py | RheingoldRiver/discord-menu | cde194b3ec86c15a975b34fd815cc5999cc6f8de | [
"Apache-2.0"
] | null | null | null | from typing import Union
from discord import Emoji
def discord_emoji_to_emoji_name(emoji_obj: Union[str, Emoji]):
return emoji_obj if isinstance(emoji_obj, str) else emoji_obj.name
| 21 | 70 | 0.798942 | 31 | 189 | 4.612903 | 0.483871 | 0.223776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 189 | 8 | 71 | 23.625 | 0.882716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
d3b89bc31256e2d9b508dfbb8ba61a9bbd87167d | 10,731 | py | Python | test/test_md037.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 20 | 2021-01-14T17:39:09.000Z | 2022-03-14T08:35:22.000Z | test/test_md037.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 304 | 2020-08-15T23:24:00.000Z | 2022-03-31T23:34:03.000Z | test/test_md037.py | jackdewinter/pymarkdown | 7ae408ba0b24506fa07552ffe520750bbff38c53 | [
"MIT"
] | 3 | 2021-08-11T10:26:26.000Z | 2021-11-02T20:41:27.000Z | """
Module to provide tests related to the MD037 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
@pytest.mark.rules
def test_md037_good_valid_emphasis():
"""
Test to make sure this rule does not trigger with a document that
contains one or more valid emphasis sequences.
"""
... | 33.851735 | 146 | 0.715963 | 1,352 | 10,731 | 5.471154 | 0.076923 | 0.044342 | 0.090037 | 0.115047 | 0.9612 | 0.956334 | 0.946059 | 0.941868 | 0.936731 | 0.92862 | 0 | 0.036687 | 0.192247 | 10,731 | 316 | 147 | 33.958861 | 0.816682 | 0.158606 | 0 | 0.568182 | 0 | 0.153409 | 0.45614 | 0.331625 | 0 | 0 | 0 | 0 | 0.056818 | 1 | 0.056818 | false | 0 | 0.011364 | 0 | 0.068182 | 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 |
310a0974b9540fbc4c8cc23bd99919d6c7c88156 | 83 | py | Python | ox/target/python/__init__.py | fabiommendes/ox | 40265441e0ce84feda71e7a5f6b1d6f3e9e152cb | [
"MIT"
] | 10 | 2017-08-18T02:01:33.000Z | 2020-08-15T00:52:43.000Z | ox/target/python/__init__.py | fabiommendes/ox | 40265441e0ce84feda71e7a5f6b1d6f3e9e152cb | [
"MIT"
] | 2 | 2019-04-17T23:36:42.000Z | 2019-10-15T08:09:29.000Z | ox/target/python/__init__.py | fabiommendes/ox | 40265441e0ce84feda71e7a5f6b1d6f3e9e152cb | [
"MIT"
] | 6 | 2017-09-21T13:26:43.000Z | 2021-01-12T02:41:27.000Z | from .wrapper import py, unwrap, S
from .expr_ast import *
from .stmt_ast import *
| 20.75 | 34 | 0.746988 | 14 | 83 | 4.285714 | 0.642857 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 3 | 35 | 27.666667 | 0.869565 | 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 |
311fa87e528ff9f62458939f611de1d5a9c0519f | 407 | py | Python | snakemake/configs/gallus_gallus_SRP007412_single.py | saketkc/EE-546-project | fb7eacd90f6c0a2cb3061837ec5427a14f521aa5 | [
"BSD-2-Clause"
] | 1 | 2020-11-02T07:05:09.000Z | 2020-11-02T07:05:09.000Z | snakemake/configs/gallus_gallus_SRP007412_single.py | saketkc/EE-546-project | fb7eacd90f6c0a2cb3061837ec5427a14f521aa5 | [
"BSD-2-Clause"
] | null | null | null | snakemake/configs/gallus_gallus_SRP007412_single.py | saketkc/EE-546-project | fb7eacd90f6c0a2cb3061837ec5427a14f521aa5 | [
"BSD-2-Clause"
] | null | null | null |
RAWDATA_DIR = '/staging/as/skchoudh/rna-seq-datasets/single/gallus_gallus/SRP007412'
OUT_DIR = '/staging/as/skchoudh/rna-seq-output/gallus_gallus/SRP007412'
CDNA_FA_GZ = '/home/cmb-panasas2/skchoudh/genomes/gallus_gallus/cdna/Gallus_gallus.Gallus_gallus-5.0.cdna.all.fa.gz'
CDNA_IDX = '/home/cmb-panasas2/skchoudh/g... | 67.833333 | 127 | 0.80344 | 64 | 407 | 4.90625 | 0.40625 | 0.382166 | 0.229299 | 0.127389 | 0.66879 | 0.66879 | 0.503185 | 0.503185 | 0.503185 | 0.503185 | 0 | 0.046632 | 0.051597 | 407 | 5 | 128 | 81.4 | 0.766839 | 0 | 0 | 0 | 0 | 0.5 | 0.832512 | 0.832512 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3120898bf7ae01732572b13ce892078ef7ce99c7 | 17,776 | py | Python | pirates/leveleditor/worldData/interior_spanish_store.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/interior_spanish_store.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/interior_spanish_store.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Objects': {'1156268617.43dzlu0m': {'Type': 'Building Interior','Name': '','Instanced': True,'Objects': {'1178149803.79kmuller': {'Type': 'Furniture','DisableCollision': False,'Hpr': VBase3(-1.039, 0.0, 0.0),'Pos': Point3(-1.554, -6.614, 0.0),'S... | 5,925.333333 | 17,597 | 0.685587 | 2,421 | 17,776 | 4.962412 | 0.158612 | 0.019311 | 0.017729 | 0.122524 | 0.625936 | 0.535542 | 0.501665 | 0.459714 | 0.426003 | 0.399534 | 0 | 0.259644 | 0.047761 | 17,776 | 3 | 17,598 | 5,925.333333 | 0.450109 | 0 | 0 | 0 | 0 | 0 | 0.577769 | 0.331552 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
313f1dded3512f7b35f595eea2252ae0b4f7e243 | 125 | py | Python | code/st_gcn/feeder/__init__.py | nvski/ST-TR | 75aa9fb872af217f8616c01cee7ca6548846260b | [
"MIT"
] | null | null | null | code/st_gcn/feeder/__init__.py | nvski/ST-TR | 75aa9fb872af217f8616c01cee7ca6548846260b | [
"MIT"
] | null | null | null | code/st_gcn/feeder/__init__.py | nvski/ST-TR | 75aa9fb872af217f8616c01cee7ca6548846260b | [
"MIT"
] | null | null | null | from .feeder import Feeder
from .feeder_kinetics import Feeder_kinetics
from .feeder_hdm import Feeder_hdm05, hdm_collate_fn
| 31.25 | 52 | 0.864 | 19 | 125 | 5.368421 | 0.421053 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.104 | 125 | 3 | 53 | 41.666667 | 0.892857 | 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 |
3150fb41fd2487706b837a7cad76b5de39db7370 | 121 | py | Python | run.py | kwilson21/PS5Tracker | d3a8fb8638838fe99fb3a3b4e3ddb6973816d75b | [
"MIT"
] | null | null | null | run.py | kwilson21/PS5Tracker | d3a8fb8638838fe99fb3a3b4e3ddb6973816d75b | [
"MIT"
] | null | null | null | run.py | kwilson21/PS5Tracker | d3a8fb8638838fe99fb3a3b4e3ddb6973816d75b | [
"MIT"
] | null | null | null | from gevent import monkey # isort:skip # noqa
monkey.patch_all() # isort:skip # noqa
from app.app import app # noqa
| 20.166667 | 46 | 0.710744 | 19 | 121 | 4.473684 | 0.526316 | 0.211765 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198347 | 121 | 5 | 47 | 24.2 | 0.876289 | 0.31405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
317f5213efe86a8c5cebfdde7754ea407841915b | 76 | py | Python | src/main.py | Anne-and-Walter/ship-it | 17878ad00b82e3fe57dd8be738036450c5bd6d91 | [
"MIT"
] | null | null | null | src/main.py | Anne-and-Walter/ship-it | 17878ad00b82e3fe57dd8be738036450c5bd6d91 | [
"MIT"
] | null | null | null | src/main.py | Anne-and-Walter/ship-it | 17878ad00b82e3fe57dd8be738036450c5bd6d91 | [
"MIT"
] | null | null | null | def return_true():
return True
if __name__ == "__main__":
print("shipit") | 15.2 | 26 | 0.697368 | 10 | 76 | 4.4 | 0.8 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 76 | 5 | 27 | 15.2 | 0.676923 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
31882ddd87e53f22e9c43b45bedcf1d8962f45e2 | 150 | py | Python | kth_timeoutdecorator/__init__.py | Angel-Hair/th-timeoutdecorator | 4b86a010d2eadb076eddfd661863b597c3e56014 | [
"MIT"
] | 2 | 2020-05-19T13:09:44.000Z | 2021-02-03T06:39:13.000Z | kth_timeoutdecorator/__init__.py | Angel-Hair/th-timeoutdecorator | 4b86a010d2eadb076eddfd661863b597c3e56014 | [
"MIT"
] | null | null | null | kth_timeoutdecorator/__init__.py | Angel-Hair/th-timeoutdecorator | 4b86a010d2eadb076eddfd661863b597c3e56014 | [
"MIT"
] | 1 | 2021-11-13T11:14:16.000Z | 2021-11-13T11:14:16.000Z | from .kth_timeoutdecorator import timeout
from .kth_timeoutdecorator import TimeoutException
__title__ = 'kth_timeoutdecorator'
__version__ = '0.0.5' | 30 | 50 | 0.84 | 17 | 150 | 6.764706 | 0.588235 | 0.495652 | 0.4 | 0.504348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.093333 | 150 | 5 | 51 | 30 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.165563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
31b74565af7daffcb59af8e42a76bf8f6d7b895c | 16,744 | py | Python | APiLexer.py | AILab-FOI/APi | 2571c52edf6f296c883d94e2f67fb18b42860b91 | [
"MIT"
] | null | null | null | APiLexer.py | AILab-FOI/APi | 2571c52edf6f296c883d94e2f67fb18b42860b91 | [
"MIT"
] | 27 | 2021-03-30T15:19:43.000Z | 2021-04-26T09:29:41.000Z | APiLexer.py | AILab-FOI/APi | 2571c52edf6f296c883d94e2f67fb18b42860b91 | [
"MIT"
] | null | null | null | # Generated from APi.g4 by ANTLR 4.9
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\63")
buf.write("\u018f\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6... | 57.937716 | 103 | 0.553989 | 3,745 | 16,744 | 2.451535 | 0.1498 | 0.134626 | 0.074502 | 0.080601 | 0.26642 | 0.184838 | 0.109356 | 0.094434 | 0.081255 | 0.074066 | 0 | 0.346148 | 0.156474 | 16,744 | 288 | 104 | 58.138889 | 0.30388 | 0.002031 | 0 | 0 | 1 | 0.459259 | 0.61882 | 0.563151 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007407 | false | 0 | 0.02963 | 0 | 0.255556 | 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 |
9ec4275ee16cebb952fae4317b678b14551a986e | 55 | py | Python | chopperhack19/mock_obs/tests/__init__.py | ArgonneCPAC/bnlhack19 | d399b2e200ec7dbd733c754b06c4bd368eb00e67 | [
"BSD-3-Clause"
] | null | null | null | chopperhack19/mock_obs/tests/__init__.py | ArgonneCPAC/bnlhack19 | d399b2e200ec7dbd733c754b06c4bd368eb00e67 | [
"BSD-3-Clause"
] | 4 | 2019-09-23T18:56:16.000Z | 2019-10-06T03:33:09.000Z | chopperhack19/mock_obs/tests/__init__.py | ArgonneCPAC/bnlhack19 | d399b2e200ec7dbd733c754b06c4bd368eb00e67 | [
"BSD-3-Clause"
] | 1 | 2019-09-25T19:13:30.000Z | 2019-09-25T19:13:30.000Z | from .generate_test_data import random_weighted_points
| 27.5 | 54 | 0.909091 | 8 | 55 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 55 | 1 | 55 | 55 | 0.901961 | 0 | 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 |
73001002efc809f70983029cdc3d32e7e80a716f | 38 | py | Python | odss/http/__init__.py | odss/py-odss | b35838bba89f4dffc0dadd0b3821d8b38c0ca497 | [
"MIT"
] | null | null | null | odss/http/__init__.py | odss/py-odss | b35838bba89f4dffc0dadd0b3821d8b38c0ca497 | [
"MIT"
] | null | null | null | odss/http/__init__.py | odss/py-odss | b35838bba89f4dffc0dadd0b3821d8b38c0ca497 | [
"MIT"
] | null | null | null | from .decorators import route # noqa
| 19 | 37 | 0.763158 | 5 | 38 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.935484 | 0.105263 | 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 |
731c250173288664701c1d9b3cb1cc1facb1659d | 16,681 | py | Python | tests/test_01_users.py | Fastex007/api_yamdb | 93fd2054111b86d392f5d5769dbe125c16b06126 | [
"BSD-3-Clause"
] | null | null | null | tests/test_01_users.py | Fastex007/api_yamdb | 93fd2054111b86d392f5d5769dbe125c16b06126 | [
"BSD-3-Clause"
] | null | null | null | tests/test_01_users.py | Fastex007/api_yamdb | 93fd2054111b86d392f5d5769dbe125c16b06126 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
from .common import auth_client, create_users_api
class Test01UserAPI:
@pytest.mark.django_db(transaction=True)
def test_01_users_not_auth(self, client):
response = client.get('/api/v1/users/')
assert response.status_code != 404, ... | 46.988732 | 119 | 0.607877 | 1,923 | 16,681 | 5.154966 | 0.073323 | 0.045395 | 0.09079 | 0.099465 | 0.87239 | 0.857662 | 0.820438 | 0.8046 | 0.730455 | 0.693029 | 0 | 0.026595 | 0.265152 | 16,681 | 354 | 120 | 47.121469 | 0.782101 | 0 | 0 | 0.44713 | 0 | 0.033233 | 0.434326 | 0.052575 | 0 | 0 | 0 | 0 | 0.190332 | 1 | 0.036254 | false | 0 | 0.009063 | 0 | 0.048338 | 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 |
7359d4a476740dc1005410090ee2113da28c6a7b | 179 | py | Python | pyplottr/__init__.py | toaarnio/pyplottr | 6bc811ff5851ae8b6274b2d062449b8cb543356d | [
"Apache-2.0"
] | null | null | null | pyplottr/__init__.py | toaarnio/pyplottr | 6bc811ff5851ae8b6274b2d062449b8cb543356d | [
"Apache-2.0"
] | null | null | null | pyplottr/__init__.py | toaarnio/pyplottr | 6bc811ff5851ae8b6274b2d062449b8cb543356d | [
"Apache-2.0"
] | null | null | null | """
https://github.com/toaarnio/pyplottr
"""
from .pyplottr import Figure, DummyFigure, plot, plot3d
__version__ = "0.2.4"
__all__ = ["Figure", "DummyFigure", "plot", "plot3d"]
| 19.888889 | 55 | 0.687151 | 21 | 179 | 5.47619 | 0.761905 | 0.295652 | 0.365217 | 0.469565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031646 | 0.117318 | 179 | 8 | 56 | 22.375 | 0.696203 | 0.201117 | 0 | 0 | 0 | 0 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b40fddf8569982281a73a857b38bf2b06dcf7b09 | 190 | py | Python | lib/pymedphys/trf.py | ethanio12345/pymedphys | cb34c992de8d442eced3385018a194364060092d | [
"Apache-2.0"
] | 207 | 2019-01-29T09:53:04.000Z | 2022-03-26T10:34:03.000Z | lib/pymedphys/trf.py | ethanio12345/pymedphys | cb34c992de8d442eced3385018a194364060092d | [
"Apache-2.0"
] | 1,209 | 2019-01-29T07:52:27.000Z | 2022-03-31T20:11:24.000Z | lib/pymedphys/trf.py | ethanio12345/pymedphys | cb34c992de8d442eced3385018a194364060092d | [
"Apache-2.0"
] | 58 | 2019-03-29T09:06:18.000Z | 2022-03-24T07:44:22.000Z | # pylint: disable = unused-import, missing-docstring
from pymedphys._trf.decode.trf2pandas import trf2pandas as read
from pymedphys._trf.manage.identify import identify_logfile as identify
| 38 | 71 | 0.836842 | 25 | 190 | 6.24 | 0.64 | 0.166667 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.1 | 190 | 4 | 72 | 47.5 | 0.900585 | 0.263158 | 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 |
b4852865debfe5ad46a3216d1c9329ca99b558df | 1,860 | py | Python | app.py | Abdifatah135/New | 588841ae6548a3101184e13cf6b84fde02e1afcd | [
"Unlicense"
] | null | null | null | app.py | Abdifatah135/New | 588841ae6548a3101184e13cf6b84fde02e1afcd | [
"Unlicense"
] | 1 | 2021-06-02T00:53:50.000Z | 2021-06-02T00:53:50.000Z | app.py | Abdifatah135/New | 588841ae6548a3101184e13cf6b84fde02e1afcd | [
"Unlicense"
] | null | null | null | from flask import Flask, render_template
from newsapi import NewsApiClient
app = Flask(__name__)
@app.route('/')
def Index():
newsapi = NewsApiClient(api_key="6788abcbf60f48dc9cee181b96f275d3")
topheadlines = newsapi.get_top_headlines(sources="al-jazeera-english")
articles = topheadlines['... | 21.37931 | 74 | 0.64086 | 191 | 1,860 | 6.109948 | 0.26178 | 0.123393 | 0.059126 | 0.066838 | 0.829477 | 0.788346 | 0.788346 | 0.788346 | 0.788346 | 0.788346 | 0 | 0.037422 | 0.224194 | 1,860 | 87 | 75 | 21.37931 | 0.77131 | 0 | 0 | 0.66 | 0 | 0 | 0.151531 | 0.051585 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.04 | 0 | 0.16 | 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 |
81ef953dc4a4920d41aaaccc13b5f11fb975e48c | 1,213 | py | Python | test/test_unit_construct_hostname.py | Saad-K/snowflake-connector-python | 38d123700313690ef65103368007f1cff06d4318 | [
"Apache-2.0"
] | 1 | 2020-08-04T08:30:42.000Z | 2020-08-04T08:30:42.000Z | test/test_unit_construct_hostname.py | Saad-K/snowflake-connector-python | 38d123700313690ef65103368007f1cff06d4318 | [
"Apache-2.0"
] | null | null | null | test/test_unit_construct_hostname.py | Saad-K/snowflake-connector-python | 38d123700313690ef65103368007f1cff06d4318 | [
"Apache-2.0"
] | 1 | 2021-02-09T17:52:35.000Z | 2021-02-09T17:52:35.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2012-2019 Snowflake Computing Inc. All right reserved.
#
from snowflake.connector.util_text import construct_hostname
def test_construct_hostname_basic():
assert construct_hostname('eu-central-1', 'account1') == \
'account1.eu-central-1.s... | 35.676471 | 93 | 0.694971 | 126 | 1,213 | 6.587302 | 0.31746 | 0.204819 | 0.221687 | 0.303614 | 0.626506 | 0.614458 | 0.614458 | 0.518072 | 0.518072 | 0.212048 | 0 | 0.045545 | 0.167354 | 1,213 | 33 | 94 | 36.757576 | 0.776238 | 0.091509 | 0 | 0.388889 | 0 | 0 | 0.475843 | 0.419325 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.055556 | true | 0 | 0.055556 | 0 | 0.111111 | 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 | 1 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c306e6b4df050d36627ce3fee7183e2ac27e09e1 | 47 | py | Python | es_stats_zabbix/__init__.py | jameskirsop/es_stats_zabbix | 3e56282377332023dbbde4c4df5835acaf603acc | [
"Apache-2.0"
] | 13 | 2015-11-17T17:17:25.000Z | 2019-10-11T06:34:42.000Z | es_stats_zabbix/__init__.py | jameskirsop/es_stats_zabbix | 3e56282377332023dbbde4c4df5835acaf603acc | [
"Apache-2.0"
] | 5 | 2016-05-03T19:56:13.000Z | 2018-10-23T14:03:08.000Z | es_stats_zabbix/__init__.py | jameskirsop/es_stats_zabbix | 3e56282377332023dbbde4c4df5835acaf603acc | [
"Apache-2.0"
] | 9 | 2015-11-19T09:05:50.000Z | 2019-08-29T11:43:10.000Z | from es_stats_zabbix.version import __version__ | 47 | 47 | 0.914894 | 7 | 47 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.840909 | 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 |
c3307df2c1d9d0b3b639afb57423b9c3d7c3eb82 | 104 | py | Python | src/datepicker/views.py | uakora/webplugins-bydjango | 63d2d6e2a71dd88330fb30dd43df7298c1c8b04b | [
"MIT"
] | null | null | null | src/datepicker/views.py | uakora/webplugins-bydjango | 63d2d6e2a71dd88330fb30dd43df7298c1c8b04b | [
"MIT"
] | null | null | null | src/datepicker/views.py | uakora/webplugins-bydjango | 63d2d6e2a71dd88330fb30dd43df7298c1c8b04b | [
"MIT"
] | null | null | null | from django.shortcuts import render
def learn_my97(request):
return render(request, 'my97.html')
| 14.857143 | 39 | 0.75 | 14 | 104 | 5.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 104 | 6 | 40 | 17.333333 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 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 |
c3389a7a1b384d46d0eee457b25fd9e526d0a270 | 8,046 | py | Python | mumbleroni/tests/test_settings_datastructure.py | Peter-Morawski/MumbleRoni | b1c6119a91b720f1a04b51d65b337ee94df3a6ac | [
"MIT"
] | 1 | 2021-03-28T17:21:53.000Z | 2021-03-28T17:21:53.000Z | mumbleroni/tests/test_settings_datastructure.py | Peter-Morawski/MumbleRoni | b1c6119a91b720f1a04b51d65b337ee94df3a6ac | [
"MIT"
] | null | null | null | mumbleroni/tests/test_settings_datastructure.py | Peter-Morawski/MumbleRoni | b1c6119a91b720f1a04b51d65b337ee94df3a6ac | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import unittest
from ..settings.datastructure import Settings
class SettingsDataStructureTests(unittest.TestCase):
def setUp(self):
self._host = "example.domain.com"
self._port = 1337
self._user = "MumbleRoni"
self._password = "123456"
sel... | 28.83871 | 81 | 0.561646 | 760 | 8,046 | 5.65 | 0.081579 | 0.068933 | 0.068468 | 0.08803 | 0.833256 | 0.816255 | 0.789008 | 0.759898 | 0.736609 | 0.714951 | 0 | 0.004719 | 0.341536 | 8,046 | 278 | 82 | 28.942446 | 0.805776 | 0.00261 | 0 | 0.560538 | 0 | 0 | 0.060327 | 0 | 0 | 0 | 0 | 0 | 0.139013 | 1 | 0.09417 | false | 0.03139 | 0.013453 | 0 | 0.112108 | 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 |
6f07b1e6dd52db107d74ed2e6da84f7edff620de | 167 | py | Python | entrypoint.py | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | null | null | null | entrypoint.py | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | null | null | null | entrypoint.py | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | null | null | null |
import os
from flask import send_from_directory
from app import create_app
settings_module = os.getenv('APP_SETTINGS_MODULE')
app = create_app(settings_module)
| 12.846154 | 50 | 0.808383 | 25 | 167 | 5.08 | 0.44 | 0.259843 | 0.401575 | 0.362205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137725 | 167 | 12 | 51 | 13.916667 | 0.881944 | 0 | 0 | 0 | 0 | 0 | 0.115854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f2fb186d50bbb17dc58de68aad0edd4909659ba | 76 | py | Python | app/controllers/controller.py | anujaku/is601finalproject | 705bf2dbf4ab005079027ca6de5d07af74e9bec3 | [
"MIT"
] | null | null | null | app/controllers/controller.py | anujaku/is601finalproject | 705bf2dbf4ab005079027ca6de5d07af74e9bec3 | [
"MIT"
] | null | null | null | app/controllers/controller.py | anujaku/is601finalproject | 705bf2dbf4ab005079027ca6de5d07af74e9bec3 | [
"MIT"
] | 1 | 2021-12-12T03:42:23.000Z | 2021-12-12T03:42:23.000Z | class ControllerBase:
@staticmethod
def base():
return True
| 15.2 | 21 | 0.631579 | 7 | 76 | 6.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302632 | 76 | 4 | 22 | 19 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6f69afd5a92c53a2d8157a8bd6b0d7096089bb76 | 37 | py | Python | pywren_ibm_cloud/storage/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | 1 | 2020-08-04T08:16:31.000Z | 2020-08-04T08:16:31.000Z | pywren_ibm_cloud/storage/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | null | null | null | pywren_ibm_cloud/storage/__init__.py | class-euproject/lithops | acf381817673c29db0e9e143001029357890a39b | [
"Apache-2.0"
] | null | null | null | from .storage import InternalStorage
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48933de2e7aeeb2629f6727e321c749ca7a62c09 | 1,893 | py | Python | utils/data_manager.py | stu1130/deeplearning-benchmark | cdf816f92c9425ef1928f3149eaa544077a0c1b2 | [
"Apache-2.0"
] | 131 | 2016-11-30T05:34:28.000Z | 2022-01-13T20:33:03.000Z | utils/data_manager.py | stu1130/deeplearning-benchmark | cdf816f92c9425ef1928f3149eaa544077a0c1b2 | [
"Apache-2.0"
] | 35 | 2017-04-02T02:12:00.000Z | 2020-04-21T22:59:45.000Z | utils/data_manager.py | stu1130/deeplearning-benchmark | cdf816f92c9425ef1928f3149eaa544077a0c1b2 | [
"Apache-2.0"
] | 102 | 2016-11-30T05:34:46.000Z | 2022-03-10T11:00:00.000Z | import os
def getImagenetData(dataset):
if dataset == 'imagenet' or dataset == 'imagenet-256px-q90':
os.system('mkdir -p data')
if not os.path.exists('./data/imagenet1k-train.rec'):
os.system("aws s3 cp s3://imagenet-rec/imagenet1k-train.rec data/")
if not os.path.exists('./dat... | 65.275862 | 132 | 0.643423 | 280 | 1,893 | 4.35 | 0.160714 | 0.068966 | 0.045977 | 0.07225 | 0.844828 | 0.768473 | 0.768473 | 0.767652 | 0.665846 | 0.635468 | 0 | 0.068484 | 0.166931 | 1,893 | 28 | 133 | 67.607143 | 0.703868 | 0 | 0 | 0.307692 | 0 | 0.230769 | 0.545166 | 0.17327 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0.038462 | 0.038462 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
489c483137af9974722b611792d1c872adf443ba | 26 | py | Python | backend/app/app/api/api_v1/router/home/__init__.py | PY-GZKY/Tplan | 9f5335f9a9a28afce608744bebed1d9827068e6d | [
"MIT"
] | 121 | 2021-10-29T20:21:37.000Z | 2022-03-21T03:33:52.000Z | backend/app/app/api/api_v1/router/home/__init__.py | GZKY-PY/Tplan | 425ca8a497cdb3438bdbf6c72ed8dc234479dd00 | [
"MIT"
] | null | null | null | backend/app/app/api/api_v1/router/home/__init__.py | GZKY-PY/Tplan | 425ca8a497cdb3438bdbf6c72ed8dc234479dd00 | [
"MIT"
] | 8 | 2021-11-06T07:02:11.000Z | 2022-02-28T11:53:23.000Z | from .index import router
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48a5d9ae9540d9303d5f469b49fa44fdde50cd0f | 18 | py | Python | ipa/gui/__init__.py | liepa-project/liepa_ipa | f53e6895df97e8965f59b0a4e0e62704189f1993 | [
"BSD-2-Clause"
] | null | null | null | ipa/gui/__init__.py | liepa-project/liepa_ipa | f53e6895df97e8965f59b0a4e0e62704189f1993 | [
"BSD-2-Clause"
] | null | null | null | ipa/gui/__init__.py | liepa-project/liepa_ipa | f53e6895df97e8965f59b0a4e0e62704189f1993 | [
"BSD-2-Clause"
] | null | null | null | from .ipa import * | 18 | 18 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
48b09a0e5d57676a5304c1ee9b091d9b884e97f9 | 330,962 | py | Python | steam/protobufs/rendermessages_pb2.py | ivicel/steamkit-python | 0a3f250e432cf890965db5e7245841aa512bca22 | [
"Apache-2.0"
] | 5 | 2018-11-16T08:59:41.000Z | 2021-04-03T05:32:18.000Z | steam/protobufs/rendermessages_pb2.py | ivicel/steamkit-python | 0a3f250e432cf890965db5e7245841aa512bca22 | [
"Apache-2.0"
] | null | null | null | steam/protobufs/rendermessages_pb2.py | ivicel/steamkit-python | 0a3f250e432cf890965db5e7245841aa512bca22 | [
"Apache-2.0"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: steam/protobufs/rendermessages.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf impo... | 46.46385 | 32,201 | 0.760755 | 40,372 | 330,962 | 5.936491 | 0.025661 | 0.05571 | 0.04679 | 0.041462 | 0.781514 | 0.744993 | 0.730435 | 0.698053 | 0.669685 | 0.657297 | 0 | 0.044785 | 0.122996 | 330,962 | 7,122 | 32,202 | 46.470373 | 0.780931 | 0.018845 | 0 | 0.723369 | 1 | 0.003714 | 0.193725 | 0.149855 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.000446 | 0.000743 | 0 | 0.000743 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48bd2d352a29708bf89a7f8397a3545b254ae37d | 6,834 | py | Python | tests/test_arr_to_mat.py | avilchess/carma | 32857b2ab70a0338d15c81fdaf30945ba238a32e | [
"Apache-2.0"
] | null | null | null | tests/test_arr_to_mat.py | avilchess/carma | 32857b2ab70a0338d15c81fdaf30945ba238a32e | [
"Apache-2.0"
] | null | null | null | tests/test_arr_to_mat.py | avilchess/carma | 32857b2ab70a0338d15c81fdaf30945ba238a32e | [
"Apache-2.0"
] | null | null | null | """Test numpy array to matrix conversion function."""
import numpy as np
import libs.test_carma as carma
test_flags = {
1: 'Number of elements between array and matrix are not the same',
2: 'Number of rows between array and matrix are not the same',
3: 'Number of columns between array and matrix are not t... | 31.493088 | 79 | 0.641206 | 1,050 | 6,834 | 3.94381 | 0.069524 | 0.076069 | 0.091282 | 0.102632 | 0.944216 | 0.944216 | 0.924656 | 0.921758 | 0.887467 | 0.885293 | 0 | 0.027486 | 0.190811 | 6,834 | 216 | 80 | 31.638889 | 0.721338 | 0.095698 | 0 | 0.57037 | 0 | 0 | 0.051059 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 1 | 0.185185 | false | 0 | 0.014815 | 0 | 0.2 | 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 |
48f2abcb11e690d91d9d45faf49f4ae5d187b746 | 53 | py | Python | taxi/ui/tty.py | jeanmonod/taxi | fcfd13a756824bb9657dff3965ac7739487790c4 | [
"WTFPL"
] | 17 | 2016-02-02T14:10:49.000Z | 2021-11-30T00:04:29.000Z | taxi/ui/tty.py | jeanmonod/taxi | fcfd13a756824bb9657dff3965ac7739487790c4 | [
"WTFPL"
] | 70 | 2015-01-08T17:02:42.000Z | 2021-09-21T20:08:07.000Z | taxi/ui/tty.py | jeanmonod/taxi | fcfd13a756824bb9657dff3965ac7739487790c4 | [
"WTFPL"
] | 8 | 2015-08-23T12:50:36.000Z | 2021-11-26T10:33:45.000Z | from . import BaseUi
class TtyUi(BaseUi):
pass
| 8.833333 | 20 | 0.679245 | 7 | 53 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 53 | 5 | 21 | 10.6 | 0.9 | 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 |
48f5165fbc4a2d4f985f7fbd4ef4512748627168 | 94 | py | Python | server/src/shares/__init__.py | sz-piotr/fioletowe-pomarancze | 14e748041b8022709999a39f1a70788981f5ef14 | [
"MIT"
] | null | null | null | server/src/shares/__init__.py | sz-piotr/fioletowe-pomarancze | 14e748041b8022709999a39f1a70788981f5ef14 | [
"MIT"
] | null | null | null | server/src/shares/__init__.py | sz-piotr/fioletowe-pomarancze | 14e748041b8022709999a39f1a70788981f5ef14 | [
"MIT"
] | null | null | null | from flask import Blueprint
shares = Blueprint('shares', __name__)
from shares import views
| 15.666667 | 38 | 0.787234 | 12 | 94 | 5.833333 | 0.583333 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 5 | 39 | 18.8 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 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 |
5b0400be1ffeda269114d06c81e13ad56f396552 | 13,491 | py | Python | tests/document_service_test.py | GRM-VisualVault/vvPyRest | 59c15d3377b9955f575cfdb1362facc48f253442 | [
"MIT"
] | 1 | 2019-01-31T10:41:35.000Z | 2019-01-31T10:41:35.000Z | tests/document_service_test.py | GRM-VisualVault/vvPyRest | 59c15d3377b9955f575cfdb1362facc48f253442 | [
"MIT"
] | 5 | 2018-12-30T03:15:20.000Z | 2021-06-30T21:49:41.000Z | tests/document_service_test.py | GRM-VisualVault/vvPyRest | 59c15d3377b9955f575cfdb1362facc48f253442 | [
"MIT"
] | null | null | null | import unittest
from vvrest.services.document_service import DocumentService
from vvrest.services.file_service import FileService
from .settings import test_file_path
from .utilities import get_vault_object, generate_random_uuid, get_parameters_json
class DocumentServiceTest(unittest.TestCase):
vault = None
... | 45.271812 | 122 | 0.673708 | 1,538 | 13,491 | 5.645644 | 0.080624 | 0.126108 | 0.131291 | 0.079466 | 0.836001 | 0.802948 | 0.76287 | 0.726938 | 0.688817 | 0.671427 | 0 | 0.01112 | 0.206805 | 13,491 | 297 | 123 | 45.424242 | 0.800299 | 0.107924 | 0 | 0.645833 | 0 | 0 | 0.105407 | 0.0041 | 0 | 0 | 0 | 0.003367 | 0.432292 | 1 | 0.072917 | false | 0 | 0.026042 | 0 | 0.109375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b0cae180910d5d6bc22d6347143b88e1fea397f | 175 | py | Python | bpcs/__init__.py | BburnN123/bpcs | f53caede7e202ce07b51890f028b9caf73a22937 | [
"MIT"
] | 20 | 2017-04-25T21:07:24.000Z | 2022-03-30T11:11:47.000Z | bpcs/__init__.py | BburnN123/bpcs | f53caede7e202ce07b51890f028b9caf73a22937 | [
"MIT"
] | 4 | 2016-04-06T01:19:27.000Z | 2020-09-26T18:38:29.000Z | bpcs/__init__.py | BburnN123/bpcs | f53caede7e202ce07b51890f028b9caf73a22937 | [
"MIT"
] | 12 | 2017-04-02T23:10:46.000Z | 2022-03-21T03:43:55.000Z | from .bpcs_steg_decode import decode
from .bpcs_steg_encode import encode
from .bpcs_steg_capacity import capacity
from .bpcs_steg_test import test_all
__version__ = '0.0.2'
| 25 | 40 | 0.834286 | 29 | 175 | 4.586207 | 0.413793 | 0.240602 | 0.360902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019355 | 0.114286 | 175 | 6 | 41 | 29.166667 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2d98bc9242b2421468d751d1aefc3b671a78266 | 46 | py | Python | OP-GAN/box_generation/seq2seq/loss/__init__.py | ts170/OP-GAN | b9a6227aaa7befa2025ea1f07e62e7a7e9c7ce1e | [
"MIT"
] | 1 | 2021-08-25T02:36:02.000Z | 2021-08-25T02:36:02.000Z | OP-GAN/box_generation/seq2seq/loss/__init__.py | ts170/OP-GAN | b9a6227aaa7befa2025ea1f07e62e7a7e9c7ce1e | [
"MIT"
] | null | null | null | OP-GAN/box_generation/seq2seq/loss/__init__.py | ts170/OP-GAN | b9a6227aaa7befa2025ea1f07e62e7a7e9c7ce1e | [
"MIT"
] | null | null | null | from .loss import NLLLoss, Perplexity, BBLoss
| 23 | 45 | 0.804348 | 6 | 46 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 1 | 46 | 46 | 0.925 | 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 |
82b349f86ba270454743263a3dc785c4e3019478 | 41 | py | Python | tests/apimodels/__init__.py | j-000/ezresbackend | 999e37dace994a50fdcd89724410e8dd77fe4f1b | [
"MIT"
] | null | null | null | tests/apimodels/__init__.py | j-000/ezresbackend | 999e37dace994a50fdcd89724410e8dd77fe4f1b | [
"MIT"
] | null | null | null | tests/apimodels/__init__.py | j-000/ezresbackend | 999e37dace994a50fdcd89724410e8dd77fe4f1b | [
"MIT"
] | null | null | null | from .. import UserModel, db, DEVELOPMENT | 41 | 41 | 0.780488 | 5 | 41 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82c578a502c477220f79c30eaebac734c2436337 | 4,055 | py | Python | build/blocks.py | fourpoints/plusMarkup | 0b8ef4b871044c5bf83fa7f867bad953e938d603 | [
"MIT"
] | 1 | 2017-07-10T18:26:15.000Z | 2017-07-10T18:26:15.000Z | build/blocks.py | fourpoints/plusMarkup | 0b8ef4b871044c5bf83fa7f867bad953e938d603 | [
"MIT"
] | null | null | null | build/blocks.py | fourpoints/plusMarkup | 0b8ef4b871044c5bf83fa7f867bad953e938d603 | [
"MIT"
] | null | null | null | """
Blocks
TODO:
* Avoid newline/indent on certain tags, like Blank/Pre: self.__class__.__name__ != "Pre" (necessary?)
* Fixed: () popped len(token) twice
"""
## +block
def indented_block(self):
print(f"Indent-dependent {self.tag} block started")
start_O_line = self.O.line_number
block_indent = self.I.... | 22.527778 | 102 | 0.645129 | 614 | 4,055 | 4.118893 | 0.140065 | 0.071174 | 0.039146 | 0.05694 | 0.785291 | 0.765125 | 0.765125 | 0.765125 | 0.765125 | 0.733492 | 0 | 0.00414 | 0.225647 | 4,055 | 179 | 103 | 22.653631 | 0.801274 | 0.167448 | 0 | 0.783333 | 0 | 0 | 0.04902 | 0 | 0 | 0 | 0 | 0.005587 | 0 | 1 | 0.033333 | false | 0 | 0 | 0 | 0.033333 | 0.033333 | 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 |
7d9cfc3ab6417716a502297f4fac7ac368d2e7b2 | 5,250 | py | Python | tests/test_winterbloom_voltageio.py | theacodes/Winterbloom_VoltageIO | 91af1043d5c1ac7a2bd863bc71a83779017efb47 | [
"MIT"
] | 2 | 2020-01-14T00:09:01.000Z | 2020-01-30T02:24:49.000Z | tests/test_winterbloom_voltageio.py | theacodes/Winterbloom_VoltageIO | 91af1043d5c1ac7a2bd863bc71a83779017efb47 | [
"MIT"
] | null | null | null | tests/test_winterbloom_voltageio.py | theacodes/Winterbloom_VoltageIO | 91af1043d5c1ac7a2bd863bc71a83779017efb47 | [
"MIT"
] | null | null | null | # Copyright (c) 2019 Alethea Flowers for Winterbloom
# Licensed under the MIT License
import math
import pytest
import winterbloom_voltageio
@pytest.mark.parametrize(
("target", "expected"),
[
(-1, (0, 0)),
(0, (0, 1)),
(1, (1, 2)),
(4, (4, 5)),
(5, (5, 5)),
... | 21.169355 | 66 | 0.543048 | 673 | 5,250 | 4.052006 | 0.121843 | 0.022736 | 0.014301 | 0.071874 | 0.861386 | 0.831316 | 0.808214 | 0.755042 | 0.734873 | 0.676201 | 0 | 0.12635 | 0.294476 | 5,250 | 247 | 67 | 21.255061 | 0.609881 | 0.046286 | 0 | 0.550265 | 0 | 0 | 0.02524 | 0 | 0 | 0 | 0 | 0 | 0.05291 | 1 | 0.063492 | false | 0 | 0.015873 | 0 | 0.089947 | 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 |
816ecbe5f5afa761ad15a2740c6d39c914861c24 | 13,296 | py | Python | migration/test/test_migrate_environment_up.py | xypnox/Submitty | 6f858e0891e610f9b6ebcb716ee135c7a6b57407 | [
"BSD-3-Clause"
] | null | null | null | migration/test/test_migrate_environment_up.py | xypnox/Submitty | 6f858e0891e610f9b6ebcb716ee135c7a6b57407 | [
"BSD-3-Clause"
] | null | null | null | migration/test/test_migrate_environment_up.py | xypnox/Submitty | 6f858e0891e610f9b6ebcb716ee135c7a6b57407 | [
"BSD-3-Clause"
] | null | null | null | from argparse import Namespace
from io import StringIO
from pathlib import Path
import shutil
import sys
import tempfile
from types import SimpleNamespace
import unittest
from .helpers import create_migration
import migrator
class TestMigrateEnvironmentUp(unittest.TestCase):
def setUp(self):
self.stdout =... | 40.048193 | 88 | 0.636282 | 1,613 | 13,296 | 5.090515 | 0.074396 | 0.078919 | 0.059189 | 0.078919 | 0.847765 | 0.822068 | 0.810133 | 0.810133 | 0.802704 | 0.802704 | 0 | 0.026438 | 0.240448 | 13,296 | 331 | 89 | 40.169184 | 0.786613 | 0 | 0 | 0.64 | 0 | 0 | 0.121916 | 0.003309 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.04 | false | 0 | 0.036667 | 0 | 0.08 | 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 |
81abc9407002a109a22755547f97734ff4574488 | 44 | py | Python | Pluto/Libraries/GLM/__init__.py | n8vm/Foton | eacec2de9bf53d8fecff387b60604e6227baea28 | [
"MIT"
] | 10 | 2019-12-16T18:04:48.000Z | 2021-05-06T00:40:11.000Z | Pluto/Libraries/GLM/__init__.py | natevm/Foton | eacec2de9bf53d8fecff387b60604e6227baea28 | [
"MIT"
] | 35 | 2019-01-29T21:57:44.000Z | 2019-04-29T02:40:20.000Z | Pluto/Libraries/GLM/__init__.py | natevm/Foton | eacec2de9bf53d8fecff387b60604e6227baea28 | [
"MIT"
] | 1 | 2019-01-19T22:34:00.000Z | 2019-01-19T22:34:00.000Z | from Pluto.Libraries.Libraries.GLM import *
| 22 | 43 | 0.818182 | 6 | 44 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 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 |
c4a070e911c6345d60b07ab969e9daf914b32beb | 7,797 | py | Python | pi_vision/pi_face_tracker/src/pi_face_tracker/srv/_SetROI.py | openrobotics/openrobotics_thunderbot | b3cee7f29a5e41dd162e72b876d66a10a6e5135b | [
"MIT"
] | 1 | 2015-01-23T21:03:47.000Z | 2015-01-23T21:03:47.000Z | pi_vision/pi_face_tracker/src/pi_face_tracker/srv/_SetROI.py | openrobotics/openrobotics_thunderbot | b3cee7f29a5e41dd162e72b876d66a10a6e5135b | [
"MIT"
] | null | null | null | pi_vision/pi_face_tracker/src/pi_face_tracker/srv/_SetROI.py | openrobotics/openrobotics_thunderbot | b3cee7f29a5e41dd162e72b876d66a10a6e5135b | [
"MIT"
] | null | null | null | """autogenerated by genpy from pi_face_tracker/SetROIRequest.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import sensor_msgs.msg
class SetROIRequest(genpy.Message):
_md5sum = "9586986cb2458d45fdbda6087252affd"
_type = "pi_face_tracker/SetROIRe... | 34.964126 | 126 | 0.674747 | 1,089 | 7,797 | 4.685032 | 0.171717 | 0.01568 | 0.01568 | 0.029792 | 0.78185 | 0.764994 | 0.757938 | 0.743434 | 0.743434 | 0.743434 | 0 | 0.017761 | 0.212902 | 7,797 | 222 | 127 | 35.121622 | 0.81359 | 0.284981 | 0 | 0.674603 | 1 | 0 | 0.278281 | 0.065716 | 0 | 0 | 0.003854 | 0 | 0 | 1 | 0.095238 | false | 0.015873 | 0.055556 | 0 | 0.349206 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4d8d1b2889ae52acc9b000629e3d6c7c7592c2b | 9,556 | py | Python | restapi/app/routes/answer.py | ninjadotorg/KPI | 430617a1e85304a254cc7364d524d721b8d45b11 | [
"MIT"
] | 2 | 2020-06-30T18:03:12.000Z | 2021-09-02T11:31:59.000Z | restapi/app/routes/answer.py | ninjadotorg/KPI | 430617a1e85304a254cc7364d524d721b8d45b11 | [
"MIT"
] | 10 | 2020-09-05T23:29:52.000Z | 2022-03-11T23:36:59.000Z | restapi/app/routes/answer.py | ninjadotorg/KPI | 430617a1e85304a254cc7364d524d721b8d45b11 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import hashlib
import json
import app.constants as CONST
import logging
import app.bl.answer as answer_bl
import app.bl.people as people_bl
from flask import Blueprint, request, g
from app import db
from datetime import datetime
from sqlalchemy import and_, func
from app.m... | 33.647887 | 175 | 0.717769 | 1,388 | 9,556 | 4.720461 | 0.09438 | 0.04533 | 0.052198 | 0.055556 | 0.770452 | 0.762515 | 0.733364 | 0.730159 | 0.726038 | 0.722222 | 0 | 0.002823 | 0.147342 | 9,556 | 284 | 176 | 33.647887 | 0.801301 | 0.005546 | 0 | 0.66087 | 0 | 0 | 0.04293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.008696 | 0.073913 | null | null | 0.008696 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4e6f066be1a89a704e61116eb309c8611194782 | 463 | py | Python | packages/python/yap_kernel/yap_ipython/utils/tests/test_imports.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 90 | 2015-03-09T01:24:15.000Z | 2022-02-24T13:56:25.000Z | packages/python/yap_kernel/yap_ipython/utils/tests/test_imports.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 52 | 2016-02-14T08:59:37.000Z | 2022-03-14T16:39:35.000Z | packages/python/yap_kernel/yap_ipython/utils/tests/test_imports.py | ryandesign/yap | 9a50d1a3d985ec559ebfbb8e9f4d4c6b88b30214 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | 27 | 2015-11-19T02:45:49.000Z | 2021-11-25T19:47:58.000Z | # encoding: utf-8
def test_import_coloransi():
from yap_ipython.utils import coloransi
def test_import_generics():
from yap_ipython.utils import generics
def test_import_ipstruct():
from yap_ipython.utils import ipstruct
def test_import_PyColorize():
from yap_ipython.utils import PyColorize
def tes... | 22.047619 | 45 | 0.790497 | 63 | 463 | 5.52381 | 0.253968 | 0.12069 | 0.224138 | 0.327586 | 0.431034 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002545 | 0.151188 | 463 | 20 | 46 | 23.15 | 0.882952 | 0.032397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f21635bd98489675f8016ec89583fd8ea2e62090 | 18,160 | py | Python | src/layers.py | AlexHeffner/DropEdge | d981b779be330d5ff4dd557d6db1615391bfc249 | [
"MIT"
] | 380 | 2019-10-09T16:18:52.000Z | 2022-03-23T11:47:18.000Z | src/layers.py | AlexHeffner/DropEdge | d981b779be330d5ff4dd557d6db1615391bfc249 | [
"MIT"
] | 16 | 2019-10-17T16:47:50.000Z | 2022-03-04T13:02:32.000Z | src/layers.py | AlexHeffner/DropEdge | d981b779be330d5ff4dd557d6db1615391bfc249 | [
"MIT"
] | 72 | 2019-10-13T08:03:37.000Z | 2022-03-24T21:42:24.000Z | import math
import torch
from torch.nn.parameter import Parameter
from torch.nn.modules.module import Module
from torch import nn
import torch.nn.functional as F
class GraphConvolutionBS(Module):
"""
GCN Layer with BN, Self-loop and Res connection.
"""
def __init__(self, in_feature... | 41.272727 | 120 | 0.540804 | 1,819 | 18,160 | 5.24354 | 0.08961 | 0.06343 | 0.049801 | 0.035228 | 0.809813 | 0.774481 | 0.749843 | 0.735584 | 0.692388 | 0.667121 | 0 | 0.001238 | 0.377258 | 18,160 | 439 | 121 | 41.366743 | 0.842161 | 0.206993 | 0 | 0.703571 | 0 | 0 | 0.037882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.021429 | 0.053571 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f21e897b8da4b0595a315adfacf5f43cee540d57 | 14,586 | py | Python | tests.py | OpenReasoning/TruthTables | 3a10bce0f94759d31227c7409ce0eccb8b2e6faa | [
"MIT"
] | 1 | 2017-07-20T14:53:55.000Z | 2017-07-20T14:53:55.000Z | tests.py | MasterOdin/TruthTables | 3a10bce0f94759d31227c7409ce0eccb8b2e6faa | [
"MIT"
] | null | null | null | tests.py | MasterOdin/TruthTables | 3a10bce0f94759d31227c7409ce0eccb8b2e6faa | [
"MIT"
] | 1 | 2019-01-16T21:11:55.000Z | 2019-01-16T21:11:55.000Z | # -*- coding: utf-8 -*-
# pylint: disable=missing-docstring
from __future__ import unicode_literals
from forseti.formula import Symbol, Not, And, Or, If, Iff, Predicate
from nose import runmodule
from nose.tools import assert_equal, raises
from parameterized import parameterized
import sys
import truthtables
PYTHON_... | 46.900322 | 113 | 0.580214 | 1,801 | 14,586 | 4.548584 | 0.052193 | 0.15979 | 0.089355 | 0.0625 | 0.857056 | 0.825317 | 0.787598 | 0.734497 | 0.670166 | 0.620239 | 0 | 0.004996 | 0.217743 | 14,586 | 310 | 114 | 47.051613 | 0.711569 | 0.005005 | 0 | 0.369231 | 0 | 0 | 0.076711 | 0.003653 | 0 | 0 | 0 | 0 | 0.457692 | 1 | 0.076923 | false | 0 | 0.026923 | 0 | 0.115385 | 0.015385 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f22177288dd5c331378b397470b307c6c721844f | 74 | py | Python | airtable/__init__.py | shikumiya/airtable_client | e6045623178b8fce8961bcd37fa40589d6c1299c | [
"MIT"
] | 1 | 2021-02-26T06:06:12.000Z | 2021-02-26T06:06:12.000Z | airtable/__init__.py | shikumiya/airtable_client | e6045623178b8fce8961bcd37fa40589d6c1299c | [
"MIT"
] | null | null | null | airtable/__init__.py | shikumiya/airtable_client | e6045623178b8fce8961bcd37fa40589d6c1299c | [
"MIT"
] | null | null | null | from .airtable import AirtableClientFactory, AirtableSorter, SortDirection | 74 | 74 | 0.891892 | 6 | 74 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 74 | 1 | 74 | 74 | 0.956522 | 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 |
4858a90ab7fcb69c462d1e8e6611374fe39f0bce | 110,310 | py | Python | utils/reinforcement.py | Tiger767/Hackathon-LunarLanderV2 | 20fb264274b291af5a7e432b574694918d79f055 | [
"MIT"
] | null | null | null | utils/reinforcement.py | Tiger767/Hackathon-LunarLanderV2 | 20fb264274b291af5a7e432b574694918d79f055 | [
"MIT"
] | null | null | null | utils/reinforcement.py | Tiger767/Hackathon-LunarLanderV2 | 20fb264274b291af5a7e432b574694918d79f055 | [
"MIT"
] | null | null | null | """
Author: Travis Hammond
Version: 1_4_2020-Modified
"""
import os
from datetime import datetime
from time import sleep
from collections import deque
import h5py
import numpy as np
import tensorflow as tf
import tensorflow.keras.backend as K
from tensorflow import keras
from tensorflow.keras.models import model_fro... | 43.687129 | 79 | 0.5548 | 12,792 | 110,310 | 4.663149 | 0.048077 | 0.017602 | 0.023805 | 0.029689 | 0.813264 | 0.78686 | 0.762401 | 0.740759 | 0.714422 | 0.698865 | 0 | 0.004231 | 0.374427 | 110,310 | 2,524 | 80 | 43.704437 | 0.860188 | 0.372088 | 0 | 0.57578 | 0 | 0 | 0.042716 | 0.001052 | 0 | 0 | 0 | 0 | 0.009658 | 1 | 0.089153 | false | 0.007429 | 0.008172 | 0.002972 | 0.156761 | 0.017831 | 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 |
485c4df839b7a73db4114cb5e6e096d7902d8ff4 | 693 | py | Python | scripts/fundamentals/scrp_Logical_if_statement.py | duttashi/learnpy | c08b76b173b06d66187e51a6939d55d5dd12cb5a | [
"MIT"
] | null | null | null | scripts/fundamentals/scrp_Logical_if_statement.py | duttashi/learnpy | c08b76b173b06d66187e51a6939d55d5dd12cb5a | [
"MIT"
] | 77 | 2019-04-20T06:54:19.000Z | 2022-01-16T08:15:20.000Z | scripts/fundamentals/scrp_Logical_if_statement.py | duttashi/learnpy | c08b76b173b06d66187e51a6939d55d5dd12cb5a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Jul 14 16:15:05 2020
Logical condition: If statement
@author: Ashish
"""
day_of_week = input("What day of the week is it today? ")
if day_of_week == "Monday":
print("Have a great start to your week!")
elif day_of_week == "Friday":
print("It's ok to finish a... | 24.75 | 66 | 0.630592 | 114 | 693 | 3.72807 | 0.464912 | 0.094118 | 0.127059 | 0.065882 | 0.729412 | 0.729412 | 0.729412 | 0.729412 | 0.729412 | 0.729412 | 0 | 0.024436 | 0.232323 | 693 | 27 | 67 | 25.666667 | 0.774436 | 0.222222 | 0 | 0.571429 | 0 | 0 | 0.499002 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
485cff93f4c5897bca0e48491c18d6fb6067db95 | 300 | py | Python | 0733 Peekable Iterator.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 1 | 2020-12-29T21:17:26.000Z | 2020-12-29T21:17:26.000Z | 0733 Peekable Iterator.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | null | null | null | 0733 Peekable Iterator.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 4 | 2021-09-09T17:42:43.000Z | 2022-03-18T04:54:03.000Z | class PeekableIterator:
def __init__(self, nums):
self.nums = nums
self.i = 0
def peek(self):
return self.nums[self.i]
def next(self):
self.i += 1
return self.nums[self.i-1]
def hasnext(self):
return self.i < len(self.nums)
| 18.75 | 38 | 0.536667 | 41 | 300 | 3.829268 | 0.341463 | 0.254777 | 0.229299 | 0.229299 | 0.242038 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015306 | 0.346667 | 300 | 15 | 39 | 20 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.181818 | 0.727273 | 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 |
487cc069c7d320759fd2272e555c78e9fb43f58f | 57 | py | Python | CAAPR/CAAPR_Photom/__init__.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 7 | 2016-05-20T21:56:39.000Z | 2022-02-07T21:09:48.000Z | CAAPR/CAAPR_Photom/__init__.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 1 | 2019-03-21T16:10:04.000Z | 2019-03-22T17:21:56.000Z | CAAPR/CAAPR_Photom/__init__.py | wdobbels/CAAPR | 50d0b32642a61af614c22f1c6dc3c4a00a1e71a3 | [
"MIT"
] | 1 | 2020-05-19T16:17:17.000Z | 2020-05-19T16:17:17.000Z | from . import CAAPR_Photom
from .CAAPR_Photom import *
| 19 | 28 | 0.77193 | 8 | 57 | 5.25 | 0.5 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 57 | 2 | 29 | 28.5 | 0.893617 | 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 |
6f9c6aec874d67394922d584a31cf415da12cc40 | 49 | py | Python | src/image/video/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | src/image/video/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | src/image/video/__init__.py | fronovics/AI_playground | ac302c0694fa2182af343c257b28a033bc4cf5b9 | [
"Apache-2.0"
] | null | null | null | from src.image.video.video_loop import VideoLoop
| 24.5 | 48 | 0.857143 | 8 | 49 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f9f4a5b6c8223f54d05fab7db84f79b8957394c | 10,423 | py | Python | src/pds_doi_service/core/db/test/doi_database_test.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | 2 | 2020-11-03T19:29:11.000Z | 2021-09-26T01:42:41.000Z | src/pds_doi_service/core/db/test/doi_database_test.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | 222 | 2020-05-07T21:05:23.000Z | 2021-12-16T22:14:54.000Z | src/pds_doi_service/core/db/test/doi_database_test.py | NASA-PDS/pds-doi-service | b994381a5757700229865e8fe905553559684e0d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
import datetime
import os
import unittest
from datetime import timedelta
from datetime import timezone
from os.path import exists
from pds_doi_service.core.db.doi_database import DOIDataBase
from pds_doi_service.core.entities.doi import DoiStatus
from pds_doi_service.core.entities.doi import Prod... | 36.444056 | 109 | 0.627938 | 1,225 | 10,423 | 5.083265 | 0.168163 | 0.102457 | 0.077084 | 0.100209 | 0.797816 | 0.781436 | 0.772121 | 0.759435 | 0.732777 | 0.718805 | 0 | 0.01858 | 0.27708 | 10,423 | 285 | 110 | 36.57193 | 0.80783 | 0.131728 | 0 | 0.715686 | 0 | 0 | 0.110059 | 0.053359 | 0 | 0 | 0 | 0 | 0.181373 | 1 | 0.02451 | false | 0 | 0.053922 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ff9c44a44b50f4552f3fdda6f7c53417d34cbcb | 48 | py | Python | dev_original.py | halbert04/pynet | cae300f0e2dd6f24336a5a97d53685ba1a7e60d4 | [
"Apache-2.0"
] | null | null | null | dev_original.py | halbert04/pynet | cae300f0e2dd6f24336a5a97d53685ba1a7e60d4 | [
"Apache-2.0"
] | null | null | null | dev_original.py | halbert04/pynet | cae300f0e2dd6f24336a5a97d53685ba1a7e60d4 | [
"Apache-2.0"
] | null | null | null | print "this is a file original from dev branch"
| 24 | 47 | 0.770833 | 9 | 48 | 4.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 48 | 1 | 48 | 48 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6ffec84f318bf38c68b1a11b7e3818d670628f49 | 1,219 | py | Python | py/tests/problems/hashtable/sparse_matrix.py | bmoretz/Daily-Coding-Problem | f79e062e9f6e7b18b7e95c071fbe71ad104affcb | [
"MIT"
] | 1 | 2020-06-26T13:28:43.000Z | 2020-06-26T13:28:43.000Z | py/tests/problems/hashtable/sparse_matrix.py | bmoretz/Daily-Coding-Problem | f79e062e9f6e7b18b7e95c071fbe71ad104affcb | [
"MIT"
] | 7 | 2021-11-18T19:46:08.000Z | 2022-03-12T01:03:01.000Z | py/tests/problems/hashtable/sparse_matrix.py | bmoretz/Daily-Coding-Problem | f79e062e9f6e7b18b7e95c071fbe71ad104affcb | [
"MIT"
] | null | null | null | import unittest
from dcp.problems.hashtable.sparse_matrix import SparseMatrix
class Test_SparseMatrix(unittest.TestCase):
def setUp(self):
pass
def test_case1(self):
mat = [[0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], \
[0, 0, 0, 0... | 36.939394 | 106 | 0.364233 | 230 | 1,219 | 1.904348 | 0.165217 | 0.479452 | 0.582192 | 0.593607 | 0.474886 | 0.474886 | 0.410959 | 0.410959 | 0.410959 | 0.410959 | 0 | 0.27551 | 0.437244 | 1,219 | 33 | 107 | 36.939394 | 0.362974 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.083333 | false | 0.041667 | 0.083333 | 0 | 0.208333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.