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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a2694ba8dccf786223043d4f9f44e990f3fa074 | 31 | py | Python | tests/__init__.py | DaSch17/fileminer | fe202f39407a52ef0b8970ba10d7059b05bcaade | [
"MIT"
] | null | null | null | tests/__init__.py | DaSch17/fileminer | fe202f39407a52ef0b8970ba10d7059b05bcaade | [
"MIT"
] | null | null | null | tests/__init__.py | DaSch17/fileminer | fe202f39407a52ef0b8970ba10d7059b05bcaade | [
"MIT"
] | 1 | 2021-12-14T15:08:40.000Z | 2021-12-14T15:08:40.000Z | from .test_fileminer import *
| 15.5 | 30 | 0.774194 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a2a6178152f84e18c5f77c9e75bec6bc2a0eb17 | 9,003 | py | Python | hdidx/indexer/hamming.py | aagnone3/hdidx | 81866ceabca8094c5c947926d938d87632c518b3 | [
"MIT"
] | 77 | 2015-10-15T13:16:28.000Z | 2021-11-01T03:33:38.000Z | hdidx/indexer/hamming.py | Neurocomputing/NEUCOM-D-15-02269 | 7b816f651cdb7791e8761ad14b943153a94d4f0a | [
"Python-2.0",
"RSA-MD"
] | 9 | 2016-03-16T03:40:12.000Z | 2021-01-18T14:22:06.000Z | hdidx/indexer/hamming.py | Neurocomputing/NEUCOM-D-15-02269 | 7b816f651cdb7791e8761ad14b943153a94d4f0a | [
"Python-2.0",
"RSA-MD"
] | 23 | 2015-10-07T12:52:01.000Z | 2021-04-29T07:04:04.000Z | #!/usr/bin/env python
# coding: utf-8
"""
File Name: hamming.py
Author: Wan Ji
E-mail: wanji@live.com
Created on: Mon Jul 27 10:22:06 2015 CST
"""
DESCRIPTION = """
Indexers for binary codes in Hamming space.
"""
import os
import logging
import numpy as np
import hdidx.encoder
from hdidx.indexer im... | 32.039146 | 80 | 0.574919 | 1,157 | 9,003 | 4.338807 | 0.191011 | 0.030677 | 0.014343 | 0.023904 | 0.758367 | 0.719124 | 0.70239 | 0.70239 | 0.70239 | 0.684861 | 0 | 0.033355 | 0.307342 | 9,003 | 280 | 81 | 32.153571 | 0.771648 | 0.169166 | 0 | 0.711765 | 0 | 0 | 0.056656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094118 | false | 0.011765 | 0.052941 | 0 | 0.182353 | 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 |
8a54a93118be817f30965711d94bea41e02ead2a | 99 | py | Python | src/env.py | fabiob/wwwsqldesigner-aws | 5518eae682e8228be30b094c6015054b3cddf8f3 | [
"MIT"
] | null | null | null | src/env.py | fabiob/wwwsqldesigner-aws | 5518eae682e8228be30b094c6015054b3cddf8f3 | [
"MIT"
] | null | null | null | src/env.py | fabiob/wwwsqldesigner-aws | 5518eae682e8228be30b094c6015054b3cddf8f3 | [
"MIT"
] | 1 | 2021-04-04T09:41:51.000Z | 2021-04-04T09:41:51.000Z | import os
S3_BUCKET = os.environ['STORAGE_S3_BUCKET']
S3_PREFIX = os.environ['STORAGE_S3_PREFIX']
| 19.8 | 43 | 0.787879 | 16 | 99 | 4.5 | 0.4375 | 0.222222 | 0.444444 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.090909 | 99 | 4 | 44 | 24.75 | 0.755556 | 0 | 0 | 0 | 0 | 0 | 0.343434 | 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 |
8a56782435f0ac37c5433aa0fa86beaa8ff465b3 | 69,019 | py | Python | tests/unit/modules/boto_vpc_test.py | konradstarzyk/salt | 9ef4bb3b464661480cb7c455186870cdfc640f0d | [
"Apache-2.0"
] | null | null | null | tests/unit/modules/boto_vpc_test.py | konradstarzyk/salt | 9ef4bb3b464661480cb7c455186870cdfc640f0d | [
"Apache-2.0"
] | null | null | null | tests/unit/modules/boto_vpc_test.py | konradstarzyk/salt | 9ef4bb3b464661480cb7c455186870cdfc640f0d | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# TODO: Update skipped tests to expect dictionary results from the execution
# module functions.
# Import Python libs
from __future__ import absolute_import
from distutils.version import LooseVersion # pylint: disable=import-error,no-name-in-module
# Import Salt Testing libs
from saltt... | 41.552679 | 180 | 0.680334 | 8,720 | 69,019 | 4.96078 | 0.041858 | 0.046465 | 0.026192 | 0.033635 | 0.871723 | 0.846826 | 0.809885 | 0.753941 | 0.706968 | 0.652249 | 0 | 0.007956 | 0.240586 | 69,019 | 1,660 | 181 | 41.577711 | 0.817358 | 0.121416 | 0 | 0.569717 | 0 | 0.001089 | 0.104042 | 0.007077 | 0 | 0 | 0 | 0.000602 | 0.12963 | 1 | 0.139434 | false | 0.002179 | 0.021786 | 0 | 0.190632 | 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 |
8a8922f76a5fc834d14193aa41f49796f5edd961 | 19,311 | py | Python | test/core_tests/test_indexing.py | joshuawall/amuse | c2034074ee76c08057c4faa96c32044ab40952e9 | [
"Apache-2.0"
] | 1 | 2019-12-28T22:47:51.000Z | 2019-12-28T22:47:51.000Z | test/core_tests/test_indexing.py | joshuawall/amuse | c2034074ee76c08057c4faa96c32044ab40952e9 | [
"Apache-2.0"
] | null | null | null | test/core_tests/test_indexing.py | joshuawall/amuse | c2034074ee76c08057c4faa96c32044ab40952e9 | [
"Apache-2.0"
] | 2 | 2021-11-19T04:41:37.000Z | 2021-11-20T02:11:17.000Z | from amuse.test import amusetest
from amuse.support.interface import InCodeComponentImplementation
from amuse.datamodel.indexing import *
from amuse.datamodel import indexing
class TestIndexing(amusetest.TestCase):
def test1(self):
self.assertEquals(2, number_of_dimensions_after_index(3, 1))
self... | 42.535242 | 122 | 0.56605 | 2,740 | 19,311 | 3.855474 | 0.058759 | 0.116622 | 0.070049 | 0.062476 | 0.844661 | 0.807175 | 0.779913 | 0.73883 | 0.656286 | 0.625142 | 0 | 0.07786 | 0.251774 | 19,311 | 453 | 123 | 42.629139 | 0.653263 | 0.005075 | 0 | 0.537037 | 0 | 0 | 0.000833 | 0 | 0 | 0 | 0 | 0 | 0.269841 | 0 | null | null | 0 | 0.018519 | null | null | 0.002646 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a9f8452f56f340bc318c78d3f521d9ae982b0f4 | 37,930 | py | Python | nni/algorithms/compression/v2/pytorch/pruning/basic_pruner.py | Why1005/nni | 3c1e5b7acd564a80bfc3d442ee5e23e2869195ba | [
"MIT"
] | 1 | 2021-12-19T08:45:45.000Z | 2021-12-19T08:45:45.000Z | nni/algorithms/compression/v2/pytorch/pruning/basic_pruner.py | Micheallei/nni | 29fd8cfae4fe99b08a91f9a67be4297093483832 | [
"MIT"
] | null | null | null | nni/algorithms/compression/v2/pytorch/pruning/basic_pruner.py | Micheallei/nni | 29fd8cfae4fe99b08a91f9a67be4297093483832 | [
"MIT"
] | 2 | 2021-12-17T07:32:47.000Z | 2021-12-19T08:45:05.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from copy import deepcopy
import logging
from typing import List, Dict, Tuple, Callable, Optional
from schema import And, Or, Optional as SchemaOptional
import torch
from torch import Tensor
import torch.nn as nn
from torch.nn import Module
from... | 47.891414 | 140 | 0.659056 | 4,540 | 37,930 | 5.368062 | 0.08326 | 0.022568 | 0.016085 | 0.02068 | 0.810759 | 0.798367 | 0.788109 | 0.771039 | 0.756309 | 0.734397 | 0 | 0.002959 | 0.260585 | 37,930 | 791 | 141 | 47.95196 | 0.866006 | 0.452201 | 0 | 0.607735 | 0 | 0 | 0.053061 | 0.004753 | 0 | 0 | 0 | 0.001264 | 0 | 1 | 0.121547 | false | 0.002762 | 0.038674 | 0.008287 | 0.229282 | 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 |
8ab3d19b88e25eb3312d07dbb47b453da103893a | 39 | py | Python | article_26/true_false_as_variables.py | tisnik/go-fedora | 53243bc4c84209cc9ab582ccf5ef3b73e53fe676 | [
"Apache-2.0"
] | 18 | 2018-11-20T08:52:20.000Z | 2022-03-02T19:28:04.000Z | article_26/true_false_as_variables.py | tisnik/go-fedora | 53243bc4c84209cc9ab582ccf5ef3b73e53fe676 | [
"Apache-2.0"
] | 426 | 2019-12-18T13:45:43.000Z | 2021-01-22T12:16:40.000Z | article_26/true_false_as_variables.py | tisnik/go-fedora | 53243bc4c84209cc9ab582ccf5ef3b73e53fe676 | [
"Apache-2.0"
] | 7 | 2019-06-04T10:15:45.000Z | 2022-02-12T11:48:11.000Z | print(True)
True = False
print(True)
| 6.5 | 12 | 0.692308 | 6 | 39 | 4.5 | 0.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 5 | 13 | 7.8 | 0.84375 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.666667 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8ab6926904c7267483005e36fc5fe63e620fd7cd | 203 | py | Python | src/url2io_client/api/__init__.py | url2io/url2io-python-client | 6df57541e345da809e2bdf415e5822e1b27a0257 | [
"MIT"
] | 10 | 2020-12-04T17:33:10.000Z | 2022-03-08T09:19:26.000Z | src/url2io_client/api/__init__.py | url2io/url2io-python-client | 6df57541e345da809e2bdf415e5822e1b27a0257 | [
"MIT"
] | null | null | null | src/url2io_client/api/__init__.py | url2io/url2io-python-client | 6df57541e345da809e2bdf415e5822e1b27a0257 | [
"MIT"
] | 3 | 2020-12-22T08:17:02.000Z | 2021-08-02T02:36:23.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from url2io_client.api.url2_article_api import URL2ArticleApi
from url2io_client.api.url2_nlp_api import URL2NLPApi
| 25.375 | 61 | 0.852217 | 30 | 203 | 5.4 | 0.566667 | 0.123457 | 0.197531 | 0.234568 | 0.283951 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038889 | 0.1133 | 203 | 7 | 62 | 29 | 0.861111 | 0.20197 | 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 |
8ab728a6eac03d06ec200872c1bfdafea9a50d28 | 22,776 | py | Python | tools/c7n_azure/tests/test_storage.py | Seabreg/cloud-custodian | 133ee7fe6e3835b81bcabb8ea4bca07f8ea201aa | [
"Apache-2.0"
] | null | null | null | tools/c7n_azure/tests/test_storage.py | Seabreg/cloud-custodian | 133ee7fe6e3835b81bcabb8ea4bca07f8ea201aa | [
"Apache-2.0"
] | null | null | null | tools/c7n_azure/tests/test_storage.py | Seabreg/cloud-custodian | 133ee7fe6e3835b81bcabb8ea4bca07f8ea201aa | [
"Apache-2.0"
] | null | null | null | # Copyright 2015-2018 Capital One Services, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 39.541667 | 100 | 0.564981 | 2,243 | 22,776 | 5.489077 | 0.0963 | 0.045809 | 0.035088 | 0.024366 | 0.831709 | 0.821394 | 0.765838 | 0.722141 | 0.692739 | 0.676007 | 0 | 0.01289 | 0.308527 | 22,776 | 575 | 101 | 39.610435 | 0.768874 | 0.035256 | 0 | 0.704365 | 0 | 0 | 0.222794 | 0.046053 | 0 | 0 | 0 | 0 | 0.10119 | 1 | 0.05754 | false | 0 | 0.019841 | 0.001984 | 0.081349 | 0.001984 | 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 |
8ad661dc4c77a08c6047862ae0d18d51ebc241b7 | 33 | py | Python | src/python/trust_network_backend/tnb/apps/core/models.py | vladiibine/trust-network | 10d7c2f9082e9ad1944b2fb68206cb7657f63bde | [
"MIT"
] | 2 | 2017-02-06T10:31:34.000Z | 2018-02-21T09:06:09.000Z | src/python/trust_network_backend/tnb/apps/core/models.py | vladiibine/trust-network | 10d7c2f9082e9ad1944b2fb68206cb7657f63bde | [
"MIT"
] | null | null | null | src/python/trust_network_backend/tnb/apps/core/models.py | vladiibine/trust-network | 10d7c2f9082e9ad1944b2fb68206cb7657f63bde | [
"MIT"
] | null | null | null | from tnb.contrib.db import Model
| 16.5 | 32 | 0.818182 | 6 | 33 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76e7d9d47a3ae6eff3b24747c2f875ac68860096 | 27 | py | Python | src/euler_python_package/euler_python/medium/p288.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p288.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p288.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem288():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
76e92812669ffd190865b1c60d6a55014b14ae71 | 23 | py | Python | regym/environments/envs/__init__.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 2 | 2020-09-13T15:53:20.000Z | 2020-12-08T15:57:05.000Z | regym/environments/envs/__init__.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | null | null | null | regym/environments/envs/__init__.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 1 | 2021-09-20T13:48:30.000Z | 2021-09-20T13:48:30.000Z | from .gym_envs import * | 23 | 23 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.85 | 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 |
76f1bc349e36105ec3f4b4d8fdd72cc82c4c7560 | 64 | py | Python | python/airsim/__init__.py | meurissemax/autonomous-drone | e6b4288af18be7dcf136121e73454e08f3277c88 | [
"MIT"
] | 3 | 2022-01-13T15:24:48.000Z | 2022-03-08T16:51:12.000Z | python/airsim/__init__.py | meurissemax/autonomous-drone | e6b4288af18be7dcf136121e73454e08f3277c88 | [
"MIT"
] | null | null | null | python/airsim/__init__.py | meurissemax/autonomous-drone | e6b4288af18be7dcf136121e73454e08f3277c88 | [
"MIT"
] | null | null | null | from .client import *
from .utils import *
from .types import *
| 16 | 21 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 22 | 21.333333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
0a0484393b6f27c07e54cee8ce076b7f99c92dde | 20 | py | Python | loglizer/models/__init__.py | nikile/loglizer | e37c661a7837fb30cd1dae1ba8cc2cd309c73333 | [
"MIT"
] | 103 | 2021-02-10T18:01:56.000Z | 2022-03-30T21:35:05.000Z | loglizer/models/__init__.py | nikile/loglizer | e37c661a7837fb30cd1dae1ba8cc2cd309c73333 | [
"MIT"
] | 9 | 2021-05-28T14:52:33.000Z | 2022-03-03T13:09:25.000Z | loglizer/models/__init__.py | nikile/loglizer | e37c661a7837fb30cd1dae1ba8cc2cd309c73333 | [
"MIT"
] | 10 | 2021-04-24T04:25:24.000Z | 2022-02-24T07:30:42.000Z | from .PCA import PCA | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 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 |
0a107d7a6b461474e0dfec71581ac0fd32592bdb | 160 | py | Python | iqps/frontend/views.py | pasthorizon/iqps | 6d9b027432615338c97b95fb0ef4da52c9794554 | [
"MIT"
] | 1 | 2020-07-05T21:32:42.000Z | 2020-07-05T21:32:42.000Z | iqps/frontend/views.py | pasthorizon/iqps | 6d9b027432615338c97b95fb0ef4da52c9794554 | [
"MIT"
] | null | null | null | iqps/frontend/views.py | pasthorizon/iqps | 6d9b027432615338c97b95fb0ef4da52c9794554 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from .forms import FilterForm
def index(request):
return render(request, "index.html", {'filter_form': FilterForm()})
| 22.857143 | 71 | 0.75 | 20 | 160 | 5.95 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13125 | 160 | 6 | 72 | 26.666667 | 0.856115 | 0 | 0 | 0 | 0 | 0 | 0.13125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0a2e900fcd3424792b9ac60a6f5d4da152414387 | 190 | py | Python | inclearn/lib/losses/__init__.py | Zotkin/incremental_learning.pytorch | 6a0d7385d209abcd40a402dcad42293dd4e8b362 | [
"MIT"
] | null | null | null | inclearn/lib/losses/__init__.py | Zotkin/incremental_learning.pytorch | 6a0d7385d209abcd40a402dcad42293dd4e8b362 | [
"MIT"
] | null | null | null | inclearn/lib/losses/__init__.py | Zotkin/incremental_learning.pytorch | 6a0d7385d209abcd40a402dcad42293dd4e8b362 | [
"MIT"
] | null | null | null | # flake8: noqa
from .base import *
from .distillation import *
from .metrics import *
from .regularizations import *
from .unsupervised import *
from .nt_xent import *
from .sv_reg import *
| 21.111111 | 30 | 0.752632 | 25 | 190 | 5.64 | 0.52 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.163158 | 190 | 8 | 31 | 23.75 | 0.880503 | 0.063158 | 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 |
0a57e2ff32ec172b85562554c104ae5fc4bc48a2 | 64 | py | Python | headmouse/output_drivers/null.py | aranchelk/headmouse | 1c6f304d4dc2bc8a5b377de1649f7208975c6323 | [
"BSD-3-Clause"
] | 9 | 2016-06-27T16:43:33.000Z | 2021-05-19T04:29:24.000Z | headmouse/output_drivers/null.py | aranchelk/headmouse | 1c6f304d4dc2bc8a5b377de1649f7208975c6323 | [
"BSD-3-Clause"
] | null | null | null | headmouse/output_drivers/null.py | aranchelk/headmouse | 1c6f304d4dc2bc8a5b377de1649f7208975c6323 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function
def send_xy(xy):
pass | 16 | 37 | 0.78125 | 10 | 64 | 4.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 4 | 38 | 16 | 0.830189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6a9fd0e1618514dc075803593a3987159eab6e2a | 131 | py | Python | src/app/tests/clients/test_client_exception.py | ferdn4ndo/candlestick-data-lake | 93dab21740fcdd3807c23d9cc4b99e0420c76a02 | [
"MIT"
] | null | null | null | src/app/tests/clients/test_client_exception.py | ferdn4ndo/candlestick-data-lake | 93dab21740fcdd3807c23d9cc4b99e0420c76a02 | [
"MIT"
] | 15 | 2021-03-17T22:22:30.000Z | 2022-02-08T23:09:00.000Z | src/app/tests/clients/test_client_exception.py | ferdn4ndo/candlestick-data-lake | 93dab21740fcdd3807c23d9cc4b99e0420c76a02 | [
"MIT"
] | null | null | null | import unittest
from app.clients.client_exception import ClientException
class TestClientException(unittest.TestCase):
pass
| 16.375 | 56 | 0.832061 | 14 | 131 | 7.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 131 | 7 | 57 | 18.714286 | 0.93913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6ad9bfb8c81b6a02c78cac834d8d7f2d7fddbf4e | 84 | py | Python | cloudmesh/burn/burner/ubuntu.py | cloudmesh/cloudmesh_pi_burn | 0d080c0b6057e2c761e90ebd4144d04b4dff6d6b | [
"Apache-2.0"
] | 16 | 2021-01-16T16:18:08.000Z | 2022-03-07T16:09:18.000Z | cloudmesh/burn/burner/ubuntu.py | cloudmesh/cloudmesh-pi-burn | ad76a310e3ebe2b6111b00de0d2a80693ceeb6f4 | [
"Apache-2.0"
] | 11 | 2021-01-16T12:39:56.000Z | 2021-05-06T21:57:43.000Z | cloudmesh/burn/burner/ubuntu.py | cloudmesh/cloudmesh-pi-burn | ad76a310e3ebe2b6111b00de0d2a80693ceeb6f4 | [
"Apache-2.0"
] | 3 | 2021-02-07T16:35:05.000Z | 2021-04-03T04:48:10.000Z | # class Burner(AbstractBurner):
class Burner:
def __init__(self):
pass
| 14 | 31 | 0.654762 | 9 | 84 | 5.666667 | 0.777778 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 84 | 5 | 32 | 16.8 | 0.809524 | 0.345238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
0abb34c3b0af123c465c9d454db87cdba2593d78 | 17,300 | py | Python | nanobrok/blueprints/resources/resourcesCommands.py | retr0-13/nanobroK | 6e01e385c6c0c7c231609faedb76c0337de90dc0 | [
"Apache-2.0"
] | 142 | 2021-09-18T11:25:28.000Z | 2022-03-30T13:44:58.000Z | nanobrok/blueprints/resources/resourcesCommands.py | retr0-13/nanobroK | 6e01e385c6c0c7c231609faedb76c0337de90dc0 | [
"Apache-2.0"
] | 1 | 2021-09-19T14:31:17.000Z | 2021-09-21T00:47:04.000Z | nanobrok/blueprints/resources/resourcesCommands.py | retr0-13/nanobroK | 6e01e385c6c0c7c231609faedb76c0337de90dc0 | [
"Apache-2.0"
] | 31 | 2021-09-19T03:52:13.000Z | 2022-03-31T14:19:12.000Z | from flask_restplus import Resource
from flask import request
from nanobrok.models import (
PacketData,
PacketType,
PacketDataSchema,
Event,
SecCommandType,
ClipboardSchema,
MessageToastSchema,
AlarmSchema,
TimeLookSchema,
)
from nanobrok.exceptions import (
ValidationError as VE... | 35.162602 | 88 | 0.606821 | 1,899 | 17,300 | 5.35387 | 0.120063 | 0.089505 | 0.033048 | 0.045441 | 0.792269 | 0.786564 | 0.776827 | 0.769155 | 0.765909 | 0.765909 | 0 | 0.01528 | 0.300173 | 17,300 | 491 | 89 | 35.234216 | 0.824482 | 0.038613 | 0 | 0.709756 | 0 | 0 | 0.14339 | 0.00355 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031707 | false | 0 | 0.031707 | 0 | 0.092683 | 0.102439 | 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 |
0ad9d75fb736a4f2c255cce57cf29417f4f859dc | 37 | py | Python | pylocalc/__init__.py | daurenmuratov/pylocalc | 9e8b2727fd17272b73382b8e4ed7cb29eb4b6d19 | [
"MIT"
] | 2 | 2021-01-13T12:57:51.000Z | 2021-04-16T13:01:09.000Z | pylocalc/__init__.py | daurenmuratov/pylocalc | 9e8b2727fd17272b73382b8e4ed7cb29eb4b6d19 | [
"MIT"
] | null | null | null | pylocalc/__init__.py | daurenmuratov/pylocalc | 9e8b2727fd17272b73382b8e4ed7cb29eb4b6d19 | [
"MIT"
] | 1 | 2021-12-04T00:04:29.000Z | 2021-12-04T00:04:29.000Z | from pylocalc.models import Document
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.4 | 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 |
0ae25a930f510f894ee0f5cdd0f5bd8d0aab8029 | 46 | py | Python | lino_book/projects/adg/settings/__init__.py | khchine5/book | b6272d33d49d12335d25cf0a2660f7996680b1d1 | [
"BSD-2-Clause"
] | 1 | 2018-01-12T14:09:58.000Z | 2018-01-12T14:09:58.000Z | lino_book/projects/adg/settings/__init__.py | khchine5/book | b6272d33d49d12335d25cf0a2660f7996680b1d1 | [
"BSD-2-Clause"
] | 4 | 2018-02-06T19:53:10.000Z | 2019-08-01T21:47:44.000Z | lino_book/projects/adg/settings/__init__.py | khchine5/book | b6272d33d49d12335d25cf0a2660f7996680b1d1 | [
"BSD-2-Clause"
] | null | null | null | from lino_avanti.lib.avanti.settings import *
| 23 | 45 | 0.826087 | 7 | 46 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.880952 | 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 |
0aea7478a8c9f1dc3585e524fc767d7b1a8a9b90 | 16,681 | py | Python | tests/test_graphqlview.py | jrbeilke/chalice-graphql | deb1167ec319700a38e60f853dfaf635b7bcdc8b | [
"MIT"
] | 9 | 2021-03-11T04:57:53.000Z | 2022-01-25T01:33:20.000Z | tests/test_graphqlview.py | jrbeilke/chalice-graphql | deb1167ec319700a38e60f853dfaf635b7bcdc8b | [
"MIT"
] | 1 | 2020-11-18T15:15:46.000Z | 2020-11-18T15:15:46.000Z | tests/test_graphqlview.py | jrbeilke/chalice-graphql | deb1167ec319700a38e60f853dfaf635b7bcdc8b | [
"MIT"
] | 1 | 2021-05-12T12:00:52.000Z | 2021-05-12T12:00:52.000Z | import json
from io import StringIO
from urllib.parse import urlencode
from chalice.test import Client
import pytest
from .app import app
@pytest.fixture
def test_client():
with Client(app) as client:
yield client
def url_string(path, **url_params):
if url_params:
path += "?" + urlencode(ur... | 30.164557 | 117 | 0.589173 | 1,799 | 16,681 | 5.240689 | 0.105614 | 0.075308 | 0.066822 | 0.081672 | 0.848324 | 0.832944 | 0.802927 | 0.772168 | 0.758379 | 0.732605 | 0 | 0.010298 | 0.266531 | 16,681 | 552 | 118 | 30.219203 | 0.760278 | 0.04628 | 0 | 0.551069 | 0 | 0 | 0.281226 | 0.007618 | 0 | 0 | 0 | 0.001812 | 0.15677 | 1 | 0.090261 | false | 0.002375 | 0.014252 | 0.004751 | 0.111639 | 0.002375 | 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 |
e407d896ee72fda30ed70570567a49ede6de1a6d | 3,774 | py | Python | tests/parsers/java_idx.py | CNR-ITTIG/plasodfaxp | 923797fc00664fa9e3277781b0334d6eed5664fd | [
"Apache-2.0"
] | 1 | 2019-09-26T08:16:30.000Z | 2019-09-26T08:16:30.000Z | tests/parsers/java_idx.py | CNR-ITTIG/plasodfaxp | 923797fc00664fa9e3277781b0334d6eed5664fd | [
"Apache-2.0"
] | null | null | null | tests/parsers/java_idx.py | CNR-ITTIG/plasodfaxp | 923797fc00664fa9e3277781b0334d6eed5664fd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""Tests for Java Cache IDX file parser."""
import unittest
from plaso.formatters import java_idx as _ # pylint: disable=unused-import
from plaso.lib import eventdata
from plaso.lib import timelib
from plaso.parsers import java_idx
from tests.parsers import test_lib
class... | 35.271028 | 75 | 0.763381 | 482 | 3,774 | 5.711618 | 0.251037 | 0.095895 | 0.145296 | 0.188885 | 0.800581 | 0.800581 | 0.800581 | 0.74101 | 0.68725 | 0.68725 | 0 | 0.035858 | 0.142819 | 3,774 | 106 | 76 | 35.603774 | 0.815147 | 0.112878 | 0 | 0.584615 | 0 | 0 | 0.085895 | 0.012658 | 0 | 0 | 0 | 0 | 0.338462 | 1 | 0.046154 | false | 0 | 0.092308 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 |
7c1c3f18cb7a5a25b15163bbd9ac58654c12d78c | 26,304 | py | Python | qml/fchl.py | mikstr/qml | 552e273da080a3a1fb9f8c466e4562b7d64ed6bd | [
"MIT"
] | 185 | 2017-04-26T19:57:43.000Z | 2022-03-22T03:50:14.000Z | qml/fchl.py | FarnazH/qml | 552e273da080a3a1fb9f8c466e4562b7d64ed6bd | [
"MIT"
] | 61 | 2017-06-04T11:28:20.000Z | 2021-08-02T15:36:07.000Z | qml/fchl.py | FarnazH/qml | 552e273da080a3a1fb9f8c466e4562b7d64ed6bd | [
"MIT"
] | 78 | 2017-04-25T10:10:17.000Z | 2022-03-31T06:51:47.000Z | # MIT License
#
# Copyright (c) 2017 Felix Faber and Anders Steen Christensen
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# ... | 42.494346 | 195 | 0.667921 | 3,832 | 26,304 | 4.421712 | 0.079071 | 0.029745 | 0.023017 | 0.014873 | 0.855583 | 0.849799 | 0.848796 | 0.846671 | 0.835694 | 0.831917 | 0 | 0.024146 | 0.226924 | 26,304 | 618 | 196 | 42.563107 | 0.809098 | 0.511025 | 0 | 0.69378 | 0 | 0 | 0.047862 | 0 | 0 | 0 | 0 | 0 | 0.062201 | 1 | 0.033493 | false | 0 | 0.043062 | 0 | 0.110048 | 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 |
7c41dede719bf2d37068528ef9598306983296ba | 180 | py | Python | dvc/dependency/gs.py | yfarjoun/dvc | eaca7dc80c765dd3a8dbe4c8fb3b206656bbc5e2 | [
"Apache-2.0"
] | 2 | 2019-06-23T14:24:48.000Z | 2019-07-08T12:22:53.000Z | dvc/dependency/gs.py | yfarjoun/dvc | eaca7dc80c765dd3a8dbe4c8fb3b206656bbc5e2 | [
"Apache-2.0"
] | null | null | null | dvc/dependency/gs.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.output.gs import OutputGS
from dvc.dependency.base import DependencyBase
class DependencyGS(DependencyBase, OutputGS):
pass
| 20 | 46 | 0.827778 | 22 | 180 | 6.545455 | 0.681818 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127778 | 180 | 8 | 47 | 22.5 | 0.917197 | 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 |
7c74f5135e7889dff58011dcb1f3cec49a6f6950 | 7,268 | py | Python | bot/util/messages/buttons/music.py | abindent/Utility-Bot | a11b790e7930a035fdca2b153950e624e3abafe4 | [
"MIT"
] | 2 | 2022-03-20T13:12:35.000Z | 2022-03-27T08:52:37.000Z | bot/util/messages/buttons/music.py | abindent/Nextcord-Utility-Bot | a11b790e7930a035fdca2b153950e624e3abafe4 | [
"MIT"
] | 2 | 2022-03-07T01:10:21.000Z | 2022-03-08T07:33:06.000Z | bot/util/messages/buttons/music.py | abindent/Utility-Bot | a11b790e7930a035fdca2b153950e624e3abafe4 | [
"MIT"
] | 1 | 2022-03-08T07:41:46.000Z | 2022-03-08T07:41:46.000Z | import nextcord, wavelink
from util.constants import Emojis
class MusicController(nextcord.ui.View):
def __init__(self, ctx):
super().__init__(timeout=None)
self.ctx = ctx
self.paused =True
async def interaction_check(self, interaction):
if interaction.user != self.ctx.author:
... | 44.864198 | 106 | 0.651348 | 846 | 7,268 | 5.559102 | 0.111111 | 0.08165 | 0.112269 | 0.13098 | 0.863066 | 0.832873 | 0.810546 | 0.792686 | 0.792686 | 0.780353 | 0 | 0.013736 | 0.248762 | 7,268 | 161 | 107 | 45.142857 | 0.844322 | 0 | 0 | 0.625 | 0 | 0 | 0.103054 | 0 | 0 | 0 | 0.017611 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.015625 | 0 | 0.078125 | 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 |
7c9169ecdeb0990ab980c47e404693b8b20d0808 | 8,253 | py | Python | src/SimCSE/SentEval/senteval/sst.py | roronoayhd/2021daguan | 132380c55c54de08ec44c2c4161f962312c50a29 | [
"Apache-2.0"
] | 24 | 2021-09-02T10:50:13.000Z | 2021-11-03T10:06:36.000Z | src/SimCSE/SentEval/senteval/sst.py | roronoayhd/2021daguan | 132380c55c54de08ec44c2c4161f962312c50a29 | [
"Apache-2.0"
] | 2 | 2021-09-16T02:12:06.000Z | 2021-12-03T06:50:18.000Z | src/SimCSE/SentEval/senteval/sst.py | roronoayhd/2021daguan | 132380c55c54de08ec44c2c4161f962312c50a29 | [
"Apache-2.0"
] | 7 | 2021-09-02T15:25:21.000Z | 2021-09-18T17:09:24.000Z | # Copyright (c) 2017-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
'''
SST - binary classification
'''
from __future__ import absolute_import, division, unicode_literals
import json
import os
... | 42.107143 | 97 | 0.508421 | 984 | 8,253 | 4.134146 | 0.156504 | 0.072271 | 0.064897 | 0.048181 | 0.834808 | 0.806785 | 0.781219 | 0.737709 | 0.666175 | 0.666175 | 0 | 0.013686 | 0.327154 | 8,253 | 195 | 98 | 42.323077 | 0.718891 | 0.038047 | 0 | 0.705479 | 0 | 0 | 0.097589 | 0.010352 | 0 | 0 | 0 | 0 | 0.027397 | 1 | 0.054795 | false | 0 | 0.047945 | 0 | 0.157534 | 0.006849 | 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 |
7cd9f906bccc1a2f4aec8c1ebd0470973ee8e239 | 6,158 | py | Python | tests/test_metadata.py | carj/pyPreservica | 0b07b67971e89e366964a22d44066c30c42cc5cc | [
"Apache-2.0"
] | 8 | 2020-07-01T12:20:59.000Z | 2022-02-22T09:11:38.000Z | tests/test_metadata.py | carj/pyPreservica | 0b07b67971e89e366964a22d44066c30c42cc5cc | [
"Apache-2.0"
] | 5 | 2020-11-13T13:38:36.000Z | 2022-02-21T09:12:20.000Z | tests/test_metadata.py | carj/pyPreservica | 0b07b67971e89e366964a22d44066c30c42cc5cc | [
"Apache-2.0"
] | null | null | null | import os
import uuid
import xml
import xml.etree.ElementTree
from xml.etree import ElementTree
import pytest
from pyPreservica import *
FOLDER_ID = "ebd977f6-bebd-4ecf-99be-e054989f9af4"
ASSET_ID = "683f9db7-ff81-4859-9c03-f68cfa5d9c3d"
CO_ID = "0f2997f7-728c-4e55-9f92-381ed1260d70"
XML_DOCUMENT = "<person:Person ... | 43.366197 | 119 | 0.697467 | 824 | 6,158 | 5.088592 | 0.128641 | 0.053661 | 0.066778 | 0.081088 | 0.812545 | 0.77367 | 0.755068 | 0.733842 | 0.708323 | 0.686859 | 0 | 0.025425 | 0.150536 | 6,158 | 141 | 120 | 43.673759 | 0.776142 | 0 | 0 | 0.590164 | 0 | 0 | 0.24391 | 0.033452 | 0 | 0 | 0 | 0 | 0.204918 | 1 | 0.065574 | false | 0 | 0.057377 | 0 | 0.122951 | 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 |
6b03997f329a7403742a2610a78d05d4d3bcfaa6 | 7,994 | py | Python | test/unit/test_coverage.py | Izecson/sockeye-1.16.6 | f84044d4a64b2bcf744ccd4f94b16f8133d1f383 | [
"Apache-2.0"
] | 16 | 2018-05-29T04:45:00.000Z | 2020-05-23T15:45:47.000Z | test/unit/test_coverage.py | Izecson/sockeye-1.16.6 | f84044d4a64b2bcf744ccd4f94b16f8133d1f383 | [
"Apache-2.0"
] | 1 | 2018-05-18T10:27:09.000Z | 2018-05-18T14:49:39.000Z | test/unit/test_coverage.py | Izecson/sockeye-1.16.6 | f84044d4a64b2bcf744ccd4f94b16f8133d1f383 | [
"Apache-2.0"
] | 3 | 2018-05-29T04:45:05.000Z | 2019-12-11T08:30:18.000Z | # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not
# use this file except in compliance with the License. A copy of the License
# is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... | 54.013514 | 120 | 0.72717 | 1,052 | 7,994 | 5.181559 | 0.184411 | 0.07705 | 0.039626 | 0.039626 | 0.762612 | 0.746652 | 0.706292 | 0.706292 | 0.706292 | 0.706292 | 0 | 0.005239 | 0.188141 | 7,994 | 147 | 121 | 54.380952 | 0.834669 | 0.2338 | 0 | 0.701031 | 0 | 0 | 0.046454 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 1 | 0.072165 | false | 0 | 0.061856 | 0.010309 | 0.14433 | 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 |
6b092775577a58fd462f503025263476dcf158e0 | 8,302 | py | Python | models/backbone.py | Max-luo-song/fs-map-project | 4e9d86e182d9a4b969e86b12d72f227e4fd4fd09 | [
"Apache-2.0"
] | 1 | 2021-08-20T06:22:57.000Z | 2021-08-20T06:22:57.000Z | models/backbone.py | Max-luo-song/fs-map-project | 4e9d86e182d9a4b969e86b12d72f227e4fd4fd09 | [
"Apache-2.0"
] | null | null | null | models/backbone.py | Max-luo-song/fs-map-project | 4e9d86e182d9a4b969e86b12d72f227e4fd4fd09 | [
"Apache-2.0"
] | 4 | 2021-08-20T06:23:02.000Z | 2022-01-06T12:09:07.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import pretrainedmodels
from models.utils import conv2DBatchNormRelu, deconv2DBatchNormRelu
class resnet_encoder(nn.Module):
def __init__(self, n_classes=21, in_channels=3):
super(resnet_encoder, self).__init__()
feat_chn = 256
... | 36.253275 | 116 | 0.605999 | 1,081 | 8,302 | 4.458834 | 0.100833 | 0.068465 | 0.118257 | 0.047718 | 0.842531 | 0.83112 | 0.79917 | 0.782573 | 0.751452 | 0.742739 | 0 | 0.080729 | 0.259937 | 8,302 | 228 | 117 | 36.412281 | 0.703776 | 0.258371 | 0 | 0.644068 | 0 | 0 | 0.005251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118644 | false | 0 | 0.042373 | 0 | 0.279661 | 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 |
6b3c1d8a07e268a18b08211e3dee8a308ba8a690 | 144 | py | Python | main/context_processors.py | Aaron1011/texting_wall | c20b421652fbdaef927e9d206fc17d8f1f40ae46 | [
"MIT"
] | null | null | null | main/context_processors.py | Aaron1011/texting_wall | c20b421652fbdaef927e9d206fc17d8f1f40ae46 | [
"MIT"
] | null | null | null | main/context_processors.py | Aaron1011/texting_wall | c20b421652fbdaef927e9d206fc17d8f1f40ae46 | [
"MIT"
] | null | null | null | from texting_wall import settings as django_settings
def analytics(request):
return {'GOOGLE_ANALYTICS': django_settings.GOOGLE_ANALYTICS}
| 28.8 | 65 | 0.826389 | 18 | 144 | 6.333333 | 0.666667 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 144 | 4 | 66 | 36 | 0.890625 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
861f9ce242dd9d3e9e75600d17eb03d48b047cbf | 43 | py | Python | python/testData/refactoring/move/moveFileDoesntReorderImports/before/src/mod.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/moveFileDoesntReorderImports/before/src/mod.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/moveFileDoesntReorderImports/before/src/mod.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import c
import b
import a
print(a, b, c)
| 7.166667 | 14 | 0.674419 | 10 | 43 | 2.9 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 43 | 5 | 15 | 8.6 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 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 |
862f18c824384ceff6f6969b255de77c40d2ffc4 | 10,916 | py | Python | Variable_Coefficient/Evaluation/Plot_Class_Loss.py | nw2190/ConvPDE | 86f3fa67d64a6c56f3dff4d32999fe70db30795e | [
"MIT"
] | 22 | 2019-05-21T16:35:49.000Z | 2022-03-28T06:27:48.000Z | Poisson_Varying_Domain/Evaluation/Plot_Class_Loss.py | nw2190/ConvPDE | 86f3fa67d64a6c56f3dff4d32999fe70db30795e | [
"MIT"
] | null | null | null | Poisson_Varying_Domain/Evaluation/Plot_Class_Loss.py | nw2190/ConvPDE | 86f3fa67d64a6c56f3dff4d32999fe70db30795e | [
"MIT"
] | 5 | 2019-05-22T05:19:21.000Z | 2022-03-08T07:20:21.000Z | import numpy as np
import matplotlib.pyplot as plt
import csv
def main():
legend_entries = []
filename = "class_losses.csv"
alt_filename = "noprob_class_losses.csv"
classes = 20
length_scales = [0.2, 0.2125, 0.225, 0.24, 0.25, 0.2625, 0.275, 0.2875, 0.3, 0.325,
0.35, 0.375, 0... | 37.771626 | 146 | 0.620923 | 1,622 | 10,916 | 4.037608 | 0.125771 | 0.024584 | 0.017865 | 0.02382 | 0.910979 | 0.885173 | 0.864101 | 0.845167 | 0.834784 | 0.793251 | 0 | 0.070276 | 0.23351 | 10,916 | 288 | 147 | 37.902778 | 0.712442 | 0.223067 | 0 | 0.675862 | 0 | 0 | 0.054425 | 0.006785 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027586 | false | 0 | 0.02069 | 0 | 0.062069 | 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 |
864f27a79f5fd11bcb3221577d795e86ace0b033 | 19,576 | py | Python | pybind/slxos/v17r_2_00/telemetry/profile/mpls_traffic_fec/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/telemetry/profile/mpls_traffic_fec/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/telemetry/profile/mpls_traffic_fec/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 83.302128 | 971 | 0.736718 | 2,743 | 19,576 | 5.02953 | 0.073277 | 0.069368 | 0.044651 | 0.031313 | 0.841041 | 0.817846 | 0.804654 | 0.791679 | 0.789214 | 0.774427 | 0 | 0.005452 | 0.11933 | 19,576 | 234 | 972 | 83.65812 | 0.79478 | 0.109215 | 0 | 0.415584 | 0 | 0.025974 | 0.419196 | 0.171125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097403 | false | 0 | 0.064935 | 0 | 0.285714 | 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 |
8652120951426ad09a0a0d67910381fd1298d3ce | 174 | py | Python | netmiko/raisecom/__init__.py | mtuska/netmiko | 90ae69a7c251c13e483f7c52629dbbe4356e7a6d | [
"MIT"
] | 2,833 | 2015-01-04T20:04:10.000Z | 2022-03-31T13:03:17.000Z | netmiko/raisecom/__init__.py | MrPaulAR/netmiko | bc9700a803ccd89e29672dbe544368b946352aa0 | [
"MIT"
] | 2,137 | 2015-01-28T17:33:41.000Z | 2022-03-31T18:41:21.000Z | netmiko/raisecom/__init__.py | georgesnow/netmiko | 185f51ca5c24ea2977d6ca31db1ae263aa72cc12 | [
"MIT"
] | 1,367 | 2015-01-04T20:04:10.000Z | 2022-03-31T19:13:28.000Z | from netmiko.raisecom.raisecom_roap import RaisecomRoapSSH
from netmiko.raisecom.raisecom_roap import RaisecomRoapTelnet
__all__ = ["RaisecomRoapSSH", "RaisecomRoapTelnet"]
| 34.8 | 61 | 0.856322 | 17 | 174 | 8.411765 | 0.470588 | 0.153846 | 0.265734 | 0.377622 | 0.517483 | 0.517483 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074713 | 174 | 4 | 62 | 43.5 | 0.888199 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86774f829be05233a23a0fb058504072225f3b18 | 113 | py | Python | frosted/test/__init__.py | magro11/frosted | bd05f782d9bee62379b8447dd4dcb2818f7f2142 | [
"MIT"
] | 59 | 2015-01-05T19:23:58.000Z | 2018-05-11T09:42:53.000Z | scripts/__init__.py | timothycrosley/frosted_original_fork | 54056e5d85759b286bcb199ff174df370cff2ada | [
"MIT"
] | 5 | 2015-09-15T03:57:22.000Z | 2017-12-27T16:17:53.000Z | scripts/__init__.py | timothycrosley/frosted_original_fork | 54056e5d85759b286bcb199ff174df370cff2ada | [
"MIT"
] | 10 | 2015-01-27T10:37:10.000Z | 2018-03-05T19:10:44.000Z | from __future__ import absolute_import, division, print_function, unicode_literals
from pies.overrides import *
| 28.25 | 82 | 0.849558 | 14 | 113 | 6.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 113 | 3 | 83 | 37.666667 | 0.881188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
86b8602fb82fbc86bd01d40e67f047a24c452753 | 742 | py | Python | bot/py/r3340/__init__.py | sonoprob/0x56 | fa4cf9365696b1461492244a016e3fb57a33ce7a | [
"Artistic-2.0"
] | null | null | null | bot/py/r3340/__init__.py | sonoprob/0x56 | fa4cf9365696b1461492244a016e3fb57a33ce7a | [
"Artistic-2.0"
] | null | null | null | bot/py/r3340/__init__.py | sonoprob/0x56 | fa4cf9365696b1461492244a016e3fb57a33ce7a | [
"Artistic-2.0"
] | null | null | null | """r3340_____________________"""
"""r3340___------___------___"""
"""r3340__--------_--------__"""
"""r3340__-----------------__"""
"""r3340___---------------___"""
"""r3340_____-----------_____"""
"""r3340_______-------_______"""
"""r3340_________---_________"""
"""r3340__________-__________"""
"""r3340_______________... | 27.481481 | 32 | 0.570081 | 32 | 742 | 5.21875 | 0.21875 | 1.077844 | 1.437126 | 1.676647 | 0.598802 | 0.598802 | 0.598802 | 0.598802 | 0.598802 | 0.598802 | 0 | 0.117397 | 0.04717 | 742 | 26 | 33 | 28.538462 | 0.118812 | 0.03504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86cbc6b937590fd8d170bfaa083617e2f56a9739 | 65 | py | Python | latex/slides/resources/08_unpacking_lambda/lamda_syntax.py | Bizarious/python-lessons | 24144f03d70d9ed52b0430d4cc2aca9dcded14a3 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/08_unpacking_lambda/lamda_syntax.py | Bizarious/python-lessons | 24144f03d70d9ed52b0430d4cc2aca9dcded14a3 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/08_unpacking_lambda/lamda_syntax.py | Bizarious/python-lessons | 24144f03d70d9ed52b0430d4cc2aca9dcded14a3 | [
"CC-BY-4.0"
] | null | null | null | def funktion(a1, a2):
return a1 + a2
lambda a1, a2: a1 + a2
| 13 | 22 | 0.6 | 12 | 65 | 3.25 | 0.5 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0.276923 | 65 | 4 | 23 | 16.25 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
86e719a8ba0356a4a65010275dfda97abc3ae722 | 6,051 | py | Python | Encrypt_Text_Into_Image.py | JackieChenssh/TextEmbeddingImage | 03939af48c9f1ad993efdfd4b90541ed78cac096 | [
"MIT"
] | null | null | null | Encrypt_Text_Into_Image.py | JackieChenssh/TextEmbeddingImage | 03939af48c9f1ad993efdfd4b90541ed78cac096 | [
"MIT"
] | null | null | null | Encrypt_Text_Into_Image.py | JackieChenssh/TextEmbeddingImage | 03939af48c9f1ad993efdfd4b90541ed78cac096 | [
"MIT"
] | null | null | null | from RandomCorEnc4Text import RandomCorEnc4Text
from waterMarkEmbedding import waterMarkEmbedding
from ImageProcess import imageScrambling
from ImageAttacker import ImageAttacker,FilterType,NoiseType
from PIL import Image
import numpy as np
text_key = 'happy_sugar_life'
test_text = 'You must - there are over 200,000... | 67.233333 | 189 | 0.809949 | 757 | 6,051 | 6.200793 | 0.11889 | 0.066042 | 0.05539 | 0.038347 | 0.83447 | 0.792714 | 0.792714 | 0.785897 | 0.785897 | 0.785897 | 0 | 0.007911 | 0.05999 | 6,051 | 90 | 190 | 67.233333 | 0.817335 | 0 | 0 | 0.461538 | 0 | 0.153846 | 0.143424 | 0.103767 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.092308 | 0 | 0.092308 | 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 |
86f8b70034a09fcb6ed80e05bee1ad0869f8179a | 11,821 | py | Python | plaidcloud/utilities/xray.py | PlaidCloud/public-utilities | 663e94f2657a02a4249177945e0880bb968c3439 | [
"Apache-2.0"
] | null | null | null | plaidcloud/utilities/xray.py | PlaidCloud/public-utilities | 663e94f2657a02a4249177945e0880bb968c3439 | [
"Apache-2.0"
] | 48 | 2020-10-30T10:15:39.000Z | 2022-03-25T17:23:57.000Z | plaidcloud/utilities/xray.py | PlaidCloud/plaid-utilities | 1031cb87580bbe110f56455925e483a0ae177fe1 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
"""
For development and debugging purposes
"""
from __future__ import absolute_import
__author__ = "Michael Rea"
__copyright__ = "© Copyright 2010-2011, Tartan Solutions, Inc"
__credits__ = ["Michael Rea, Paul Morel"]
__license__ = "Apache 2.0"
__maintainer__ = "Michael Rea"
__em... | 42.369176 | 266 | 0.547416 | 1,439 | 11,821 | 4.236275 | 0.134121 | 0.119094 | 0.059055 | 0.071358 | 0.806102 | 0.78855 | 0.745735 | 0.723917 | 0.712434 | 0.692093 | 0 | 0.006987 | 0.273581 | 11,821 | 278 | 267 | 42.521583 | 0.702807 | 0.193215 | 0 | 0.473684 | 0 | 0 | 0.083333 | 0.003308 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046053 | false | 0.039474 | 0.006579 | 0 | 0.098684 | 0.013158 | 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 |
811c2ee73ff0b5c2a997113197c7bab1f34dee88 | 14,144 | py | Python | model/train_models.py | keiradams/ChIRo | 2686d3a1801db8fb3dec10b61fb0cb0cec047c7c | [
"MIT"
] | 12 | 2021-10-19T21:57:07.000Z | 2022-03-16T20:32:19.000Z | model/train_models.py | keiradams/ChIRo | 2686d3a1801db8fb3dec10b61fb0cb0cec047c7c | [
"MIT"
] | null | null | null | model/train_models.py | keiradams/ChIRo | 2686d3a1801db8fb3dec10b61fb0cb0cec047c7c | [
"MIT"
] | 4 | 2021-11-05T12:10:30.000Z | 2022-03-09T19:52:31.000Z | import torch
import torch.nn as nn
import torch_geometric
import datetime
import numpy as np
from tqdm import tqdm
from copy import deepcopy
from .train_functions import classification_loop_alpha, contrastive_loop_alpha, binary_ranking_regression_loop_alpha
def train_binary_ranking_regression_model(model, train_loade... | 63.711712 | 383 | 0.670532 | 1,841 | 14,144 | 4.75774 | 0.0478 | 0.079461 | 0.062108 | 0.069414 | 0.890855 | 0.849983 | 0.811166 | 0.764357 | 0.758991 | 0.742436 | 0 | 0.00367 | 0.229355 | 14,144 | 221 | 384 | 64 | 0.799908 | 0.010747 | 0 | 0.6 | 0 | 0 | 0.090649 | 0.025093 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017143 | false | 0 | 0.045714 | 0 | 0.08 | 0.074286 | 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 |
81264769fe02bb428fa5e0b37316775468648183 | 107 | py | Python | by-session/ta-921/j8/variables.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | 2 | 2015-04-29T20:59:35.000Z | 2018-09-26T13:33:43.000Z | by-session/ta-921/j8/variables.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | null | null | null | by-session/ta-921/j8/variables.py | amiraliakbari/sharif-mabani-python | 5d14a08d165267fe71c28389ddbafe29af7078c5 | [
"MIT"
] | null | null | null | a = 2
print 'Salam a'
print 'Salam', a
print 'Salam ' + str(a)
x = '3'
y = 4
print int(x) + y
| 9.727273 | 24 | 0.485981 | 20 | 107 | 2.6 | 0.5 | 0.576923 | 0.423077 | 0.615385 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.345794 | 107 | 10 | 25 | 10.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.197917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8137da863d892bad8b0facf6c8eb6ca1024861f9 | 46 | py | Python | hydra/io/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 28 | 2015-12-30T22:38:16.000Z | 2021-03-21T07:52:39.000Z | hydra/io/__init__.py | JimBoonie/hydra | 63665090812e4e209c67d5dc0b84b5bb35a57ead | [
"MIT"
] | 33 | 2020-05-12T01:21:05.000Z | 2021-12-07T16:13:42.000Z | hypertools/io/__init__.py | jeremymanning/hypertools | 1b39b41aaa634e816d73635e0b9b773f1ed6e709 | [
"MIT"
] | 7 | 2017-02-23T09:43:24.000Z | 2022-01-10T12:17:36.000Z | from .load import load
from .save import save
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4c19b956c3791217c71c8e7bf4d23762ef119e5 | 19,098 | py | Python | day05/day05_puz2.py | KirstieJane/advent-code-2019 | 3aafb08a99d7fdd989a4a7e7b171bf19ac5aaca1 | [
"MIT"
] | 2 | 2019-12-20T04:59:19.000Z | 2020-11-22T13:40:01.000Z | day05/day05_puz2.py | KirstieJane/advent-code-2019 | 3aafb08a99d7fdd989a4a7e7b171bf19ac5aaca1 | [
"MIT"
] | 6 | 2019-12-02T17:12:36.000Z | 2019-12-27T21:41:39.000Z | day05/day05_puz2.py | KirstieJane/advent-code-2019 | 3aafb08a99d7fdd989a4a7e7b171bf19ac5aaca1 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
def run_opcode(code_list, programme_input=1):
"""Run the opcode as determined by the values in code_list
Before you enter the next loop, check to see if the opcode
(the first number in the sequence) is 99. If it is, then
you can stop and return the code as it stands.
Param... | 33.388112 | 89 | 0.633469 | 2,698 | 19,098 | 4.358784 | 0.097109 | 0.076871 | 0.060714 | 0.036139 | 0.804422 | 0.790986 | 0.771088 | 0.761139 | 0.748469 | 0.723724 | 0 | 0.02157 | 0.308147 | 19,098 | 571 | 90 | 33.446585 | 0.868463 | 0.557283 | 0 | 0.648485 | 0 | 0 | 0.059981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.012121 | 0 | 0 | 0.145455 | 0.036364 | 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 |
d4c4bea218e269f3b05f0cf2db62ab90c94b8300 | 60 | py | Python | reinhardt/models/__init__.py | cceit/reinhardt | 80cacb3c7d81c7128d3567bb42b75c277f05a53f | [
"BSD-3-Clause"
] | 8 | 2016-06-23T14:41:26.000Z | 2018-07-06T17:54:08.000Z | reinhardt/models/__init__.py | cceit/reinhardt | 80cacb3c7d81c7128d3567bb42b75c277f05a53f | [
"BSD-3-Clause"
] | null | null | null | reinhardt/models/__init__.py | cceit/reinhardt | 80cacb3c7d81c7128d3567bb42b75c277f05a53f | [
"BSD-3-Clause"
] | null | null | null | from .models import * # NOQA
from .mixins import * # NOQA
| 20 | 29 | 0.666667 | 8 | 60 | 5 | 0.625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233333 | 60 | 2 | 30 | 30 | 0.869565 | 0.15 | 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 |
d4d839ebad2692b2c592bf555a2d54ccdfab81dc | 145 | py | Python | kafkaSchemaManager/decorator/__init__.py | YendiyarovSV/kafka-avro-producer-topkrabbensteam | d7a318b465ff38897150a4a4db267309793373bc | [
"Apache-2.0"
] | null | null | null | kafkaSchemaManager/decorator/__init__.py | YendiyarovSV/kafka-avro-producer-topkrabbensteam | d7a318b465ff38897150a4a4db267309793373bc | [
"Apache-2.0"
] | null | null | null | kafkaSchemaManager/decorator/__init__.py | YendiyarovSV/kafka-avro-producer-topkrabbensteam | d7a318b465ff38897150a4a4db267309793373bc | [
"Apache-2.0"
] | null | null | null | from .commandCenter import CommandCenter
from .commandCenterEnum import CommandCenterEnum
from .CommandCenterFactory import CommandCenterFactory
| 36.25 | 54 | 0.896552 | 12 | 145 | 10.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 55 | 48.333333 | 0.977444 | 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 |
d4fc1a0fc9d8b08292fc60579e3d61c1b39209c3 | 1,445 | py | Python | docs/source/tutorials/scripts/composing_multipanel_figures_examples.py | emthanh/svg_utils | 1ebd8e5a8cae067ed3f1d40939997eeed0a2d4fb | [
"MIT"
] | 195 | 2015-01-08T16:57:14.000Z | 2022-03-08T10:08:01.000Z | docs/source/tutorials/scripts/composing_multipanel_figures_examples.py | emthanh/svg_utils | 1ebd8e5a8cae067ed3f1d40939997eeed0a2d4fb | [
"MIT"
] | 61 | 2015-12-16T17:22:11.000Z | 2022-03-07T02:03:30.000Z | docs/source/tutorials/scripts/composing_multipanel_figures_examples.py | emthanh/svg_utils | 1ebd8e5a8cae067ed3f1d40939997eeed0a2d4fb | [
"MIT"
] | 58 | 2015-04-08T17:00:51.000Z | 2022-02-27T20:06:13.000Z | #!/usr/bin/env python3
# coding=utf-8
from svgutils.compose import *
CONFIG["figure.save_path"] = "composing_multipanel_figures"
Figure("16cm", "6.5cm", SVG("sigmoid_fit.svg")).save("ex1.svg")
Figure("16cm", "6.5cm", Text("A", 25, 20), SVG("sigmoid_fit.svg")).save("ex1a.svg")
Figure(
"16cm", "6.5cm", Text("A", ... | 25.350877 | 88 | 0.594464 | 237 | 1,445 | 3.565401 | 0.232068 | 0.130178 | 0.143195 | 0.182249 | 0.753846 | 0.72071 | 0.72071 | 0.72071 | 0.666272 | 0.604734 | 0 | 0.099206 | 0.128028 | 1,445 | 56 | 89 | 25.803571 | 0.571429 | 0.023529 | 0 | 0.333333 | 0 | 0 | 0.350603 | 0.019872 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.025641 | 0 | 0.025641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
077cb03408425c0a9f0096b26e9e40cf7c3ad071 | 11,366 | py | Python | tests/test_catboost.py | a-wozniakowski/scikit-physlearn | 3d4530fca1a7c997d4d6fc463fd8082d4ddc0e73 | [
"MIT"
] | 8 | 2020-10-20T08:25:32.000Z | 2022-02-17T10:27:20.000Z | tests/test_catboost.py | tzislam/scikit-physlearn | 1241bbc4e3cedd581a1753b660a4d23d2e4f0ef4 | [
"MIT"
] | 2 | 2021-07-14T16:25:08.000Z | 2021-07-20T03:05:14.000Z | tests/test_catboost.py | tzislam/scikit-physlearn | 1241bbc4e3cedd581a1753b660a4d23d2e4f0ef4 | [
"MIT"
] | 3 | 2020-07-16T04:20:51.000Z | 2021-06-23T21:22:43.000Z | """
Unit tests for CatBoost compatibility.
"""
# Author: Alex Wozniakowski
# License: MIT
import unittest
import pandas as pd
from scipy.stats import randint
from sklearn import __version__ as sk_version
from sklearn.base import clone
from sklearn.datasets import load_boston, load_linnerud
from sklearn.decompositi... | 50.741071 | 98 | 0.633908 | 1,416 | 11,366 | 4.810028 | 0.106638 | 0.008222 | 0.013361 | 0.021142 | 0.838937 | 0.830128 | 0.796506 | 0.785347 | 0.770959 | 0.751138 | 0 | 0.025845 | 0.257874 | 11,366 | 223 | 99 | 50.96861 | 0.781624 | 0.045399 | 0 | 0.659341 | 0 | 0 | 0.09373 | 0.015791 | 0 | 0 | 0 | 0 | 0.203297 | 1 | 0.06044 | false | 0 | 0.065934 | 0 | 0.131868 | 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 |
077d6f7a2e0235db1d998ad0ad2e2792d76b6ce0 | 4,662 | py | Python | tests/sentry/models/test_monitor.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/models/test_monitor.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | tests/sentry/models/test_monitor.py | pierredup/sentry | 0145e4b3bc0e775bf3482fe65f5e1a689d0dbb80 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, print_function
import six
from datetime import datetime
from django.utils import timezone
from mock import patch
from sentry.models import Monitor, MonitorFailure, MonitorType, ScheduleType
from sentry.testutils import TestCase
class MonitorTestCase(TestCase):
def test_ne... | 37.902439 | 86 | 0.541613 | 463 | 4,662 | 5.24406 | 0.203024 | 0.012356 | 0.062603 | 0.065898 | 0.839374 | 0.806425 | 0.806425 | 0.796952 | 0.748764 | 0.748764 | 0 | 0.030468 | 0.331188 | 4,662 | 122 | 87 | 38.213115 | 0.748236 | 0 | 0 | 0.641509 | 0 | 0 | 0.151652 | 0.023166 | 0 | 0 | 0 | 0 | 0.103774 | 1 | 0.04717 | false | 0 | 0.066038 | 0 | 0.122642 | 0.028302 | 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 |
07b2df559d6842598f04f99caad2c539b578bbf6 | 23,323 | py | Python | test/unit/test_class_snapshot_list.py | lgdop/elastic-curator | fe186c24a28eecf2c8284ddc7c43b7cd94b65847 | [
"Apache-2.0"
] | 1 | 2019-04-11T17:42:04.000Z | 2019-04-11T17:42:04.000Z | test/unit/test_class_snapshot_list.py | lgdop/elastic-curator | fe186c24a28eecf2c8284ddc7c43b7cd94b65847 | [
"Apache-2.0"
] | null | null | null | test/unit/test_class_snapshot_list.py | lgdop/elastic-curator | fe186c24a28eecf2c8284ddc7c43b7cd94b65847 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase
from mock import Mock, patch
import elasticsearch
import yaml
import curator
# Get test variables and constants from a single source
from . import testvars as testvars
class TestSnapshotListClientAndInit(TestCase):
def test_init_bad_client(self):
client = 'not a real client'
... | 46.927565 | 88 | 0.676199 | 2,730 | 23,323 | 5.548352 | 0.05641 | 0.085958 | 0.104377 | 0.072886 | 0.89417 | 0.884334 | 0.866706 | 0.854097 | 0.842477 | 0.8265 | 0 | 0.021209 | 0.217639 | 23,323 | 496 | 89 | 47.022177 | 0.8089 | 0.002272 | 0 | 0.644033 | 0 | 0 | 0.06004 | 0 | 0 | 0 | 0 | 0 | 0.121399 | 1 | 0.098765 | false | 0 | 0.012346 | 0 | 0.12963 | 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 |
07cf3ba334257d1613f71f2f937520edea323681 | 23,134 | py | Python | tests/unit/cli/commands/test_deployment_location.py | rajahaidar/lmctl | 48984047d3656eca51a382bdfb936304cf48d5aa | [
"Apache-2.0"
] | null | null | null | tests/unit/cli/commands/test_deployment_location.py | rajahaidar/lmctl | 48984047d3656eca51a382bdfb936304cf48d5aa | [
"Apache-2.0"
] | null | null | null | tests/unit/cli/commands/test_deployment_location.py | rajahaidar/lmctl | 48984047d3656eca51a382bdfb936304cf48d5aa | [
"Apache-2.0"
] | null | null | null | import tests.unit.cli.commands.command_testing as command_testing
import lmctl.drivers.lm.base as lm_drivers
import lmctl.cli.commands.deployment_location as deployment_cmds
import tempfile
import shutil
import os
import json
import yaml
from unittest.mock import patch
from tests.common.simulations.lm_simulator import ... | 63.554945 | 214 | 0.595963 | 2,521 | 23,134 | 5.132487 | 0.059897 | 0.122266 | 0.063761 | 0.03957 | 0.896901 | 0.874874 | 0.866373 | 0.856326 | 0.836 | 0.826494 | 0 | 0.030223 | 0.230527 | 23,134 | 363 | 215 | 63.730028 | 0.696646 | 0.001859 | 0 | 0.690476 | 0 | 0 | 0.304474 | 0.092728 | 0 | 0 | 0 | 0 | 0.232143 | 1 | 0.074405 | false | 0 | 0.029762 | 0 | 0.107143 | 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 |
07f312ac8e7b3cc93af1f83b5c0fabf75b0aff0b | 14,592 | py | Python | ipware/tests/tests_v1/tests_ipv4.py | Karimerto/django-ipware | 640431b23a0927eedcf08af01ef08ae235dc7f0e | [
"MIT"
] | null | null | null | ipware/tests/tests_v1/tests_ipv4.py | Karimerto/django-ipware | 640431b23a0927eedcf08af01ef08ae235dc7f0e | [
"MIT"
] | null | null | null | ipware/tests/tests_v1/tests_ipv4.py | Karimerto/django-ipware | 640431b23a0927eedcf08af01ef08ae235dc7f0e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import warnings
from django.conf import settings
from django.http import HttpRequest
from django.test import TestCase
from ipware.ip import get_ip
from ipware.ip import get_real_ip
from ipware.ip import get_trusted_ip
warnings.simplefilter('ignore')
class IPv4TestCase(TestCase):
"""IP add... | 36.208437 | 117 | 0.599438 | 2,017 | 14,592 | 4.051562 | 0.044125 | 0.072687 | 0.095815 | 0.152594 | 0.954723 | 0.945179 | 0.92768 | 0.924988 | 0.916544 | 0.892438 | 0 | 0.181091 | 0.262815 | 14,592 | 402 | 118 | 36.298507 | 0.5786 | 0.004934 | 0 | 0.649573 | 0 | 0.059829 | 0.265697 | 0 | 0 | 0 | 0 | 0 | 0.122507 | 1 | 0.122507 | false | 0 | 0.019943 | 0 | 0.148148 | 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 |
ed2d2f47922b695c340772766084a13625166242 | 20,002 | py | Python | client-libraries/sd-python-library/tests/tests_sd_discovery.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | client-libraries/sd-python-library/tests/tests_sd_discovery.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | client-libraries/sd-python-library/tests/tests_sd_discovery.py | ealogar/servicedirectory | fb4f4bfa8b499b93c03af589ef2f34c08a830b17 | [
"Apache-2.0"
] | null | null | null | '''
(c) Copyright 2013 Telefonica, I+D. Printed in Spain (Europe). All Rights
Reserved.
The copyright to the software program(s) is property of Telefonica I+D.
The program(s) may be used and or copied only with the express written
consent of Telefonica I+D or in accordance with the terms and conditions
stipulated in t... | 52.088542 | 119 | 0.675082 | 2,394 | 20,002 | 5.439432 | 0.109023 | 0.083551 | 0.048149 | 0.045922 | 0.833436 | 0.806174 | 0.778145 | 0.74904 | 0.703041 | 0.680003 | 0 | 0.026951 | 0.217178 | 20,002 | 383 | 120 | 52.224543 | 0.8047 | 0.066793 | 0 | 0.626168 | 0 | 0 | 0.149442 | 0.003863 | 0 | 0 | 0 | 0 | 0.302181 | 1 | 0.084112 | false | 0 | 0.024922 | 0 | 0.121495 | 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 |
ed3baf66f5e0371345123af5016ed8ff2b002a8f | 40 | py | Python | src/log_mine/__init__.py | nr-blablacar/logmine | 6ac777a41bbb870707a6f1471b6b78f1af17e127 | [
"MIT"
] | null | null | null | src/log_mine/__init__.py | nr-blablacar/logmine | 6ac777a41bbb870707a6f1471b6b78f1af17e127 | [
"MIT"
] | null | null | null | src/log_mine/__init__.py | nr-blablacar/logmine | 6ac777a41bbb870707a6f1471b6b78f1af17e127 | [
"MIT"
] | null | null | null | from logmine_pkg.log_mine import LogMine | 40 | 40 | 0.9 | 7 | 40 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 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 |
ed66d66b1b13b63736606d5265f31f69dd513549 | 103 | py | Python | src/moncash/exceptions/payment_error.py | MLHaiti/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 15 | 2021-03-02T01:25:37.000Z | 2022-03-12T14:20:07.000Z | src/moncash/exceptions/payment_error.py | Wadprog/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 6 | 2021-03-04T17:22:11.000Z | 2022-03-12T16:54:43.000Z | src/moncash/exceptions/payment_error.py | Wadprog/moncash_python | 3b8677312306379020c36b774bbfbf39c085a7be | [
"MIT"
] | 3 | 2022-03-07T15:54:41.000Z | 2022-03-12T14:24:27.000Z | from moncash.exceptions.moncash_error import MoncashError
class PaymentError(MoncashError):
pass
| 20.6 | 58 | 0.825243 | 11 | 103 | 7.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 4 | 59 | 25.75 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ed7dd9d29c00190d229cad13da4368336391ae2e | 1,196 | py | Python | decapodcli/decapodcli/__init__.py | angry-tony/ceph-lcm-decapod | 535944d3ee384c3a7c4af82f74041b0a7792433f | [
"Apache-2.0"
] | 41 | 2016-11-03T16:40:17.000Z | 2019-05-23T08:39:17.000Z | decapodcli/decapodcli/__init__.py | Mirantis/ceph-lcm | fad9bad0b94f2ef608362953583b10a54a841d24 | [
"Apache-2.0"
] | 30 | 2016-10-14T10:54:46.000Z | 2017-10-20T15:58:01.000Z | decapodcli/decapodcli/__init__.py | angry-tony/ceph-lcm-decapod | 535944d3ee384c3a7c4af82f74041b0a7792433f | [
"Apache-2.0"
] | 28 | 2016-09-17T01:17:36.000Z | 2019-07-05T03:32:54.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2016 Mirantis 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 ... | 31.473684 | 69 | 0.774247 | 165 | 1,196 | 5.575758 | 0.587879 | 0.152174 | 0.217391 | 0.234783 | 0.069565 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008991 | 0.163043 | 1,196 | 37 | 70 | 32.324324 | 0.91009 | 0.545987 | 0 | 0 | 0 | 0 | 0.011696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.071429 | 0.857143 | 0 | 0.857143 | 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 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9c3858b9db4e8f716d3f69d9f2a054fa03d6811e | 16 | py | Python | src/load/load.py | aaronwinter/graph-politics | afb240f8f37475fe38fe9f1d036666044984538e | [
"MIT"
] | 9 | 2016-11-27T06:07:57.000Z | 2021-04-02T04:38:47.000Z | src/load/load.py | aaronwinter/graph-politics | afb240f8f37475fe38fe9f1d036666044984538e | [
"MIT"
] | null | null | null | src/load/load.py | aaronwinter/graph-politics | afb240f8f37475fe38fe9f1d036666044984538e | [
"MIT"
] | 2 | 2016-11-01T22:17:15.000Z | 2018-03-23T01:11:25.000Z | import py2neo
| 4 | 13 | 0.75 | 2 | 16 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.25 | 16 | 3 | 14 | 5.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c5dff0d2339ddf4c874429906af10991c50fa24 | 135 | py | Python | classifier/source/connector.py | YeongHyeon/GNN_with_MNIST | 260c5c9a73348aeac9da868f3327c4687ac5895b | [
"MIT"
] | 1 | 2021-12-13T06:15:50.000Z | 2021-12-13T06:15:50.000Z | classifier/source/connector.py | YeongHyeon/GNN_with_MNIST | 260c5c9a73348aeac9da868f3327c4687ac5895b | [
"MIT"
] | null | null | null | classifier/source/connector.py | YeongHyeon/GNN_with_MNIST | 260c5c9a73348aeac9da868f3327c4687ac5895b | [
"MIT"
] | null | null | null | def connect(nn):
if(nn == 0): import neuralnet.net00_gcn as nn
elif(nn == 1): import neuralnet.net01_gat as nn
return nn
| 19.285714 | 51 | 0.651852 | 23 | 135 | 3.73913 | 0.652174 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.237037 | 135 | 6 | 52 | 22.5 | 0.776699 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c6aab52fbb68971912b929435db9f5f61b39fb4 | 411 | py | Python | PyPowerDNS/exceptions.py | TheDJVG/PyPowerDNS | 2e0e47c3bb7a7b20c08ddfa6f0cd93e663d02dc7 | [
"MIT"
] | 1 | 2021-04-05T21:40:34.000Z | 2021-04-05T21:40:34.000Z | PyPowerDNS/exceptions.py | TheDJVG/PyPowerDNS | 2e0e47c3bb7a7b20c08ddfa6f0cd93e663d02dc7 | [
"MIT"
] | 1 | 2020-09-21T15:00:44.000Z | 2020-09-22T00:38:15.000Z | PyPowerDNS/exceptions.py | TheDJVG/PyPowerDNS | 2e0e47c3bb7a7b20c08ddfa6f0cd93e663d02dc7 | [
"MIT"
] | null | null | null | class PDNSApiException(Exception):
def __init__(self, status, message):
self.status = status
self.message = message
super(PDNSApiException, self).__init__()
def __str__(self):
return f"status_code={self.status}: {self.message})"
def __repr__(self):
return f"{type(se... | 25.6875 | 70 | 0.656934 | 45 | 411 | 5.533333 | 0.4 | 0.160643 | 0.204819 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211679 | 411 | 15 | 71 | 27.4 | 0.768519 | 0 | 0 | 0 | 0 | 0 | 0.22871 | 0.150852 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0 | 0.181818 | 0.636364 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
92dbbc93a9e62a38a7a69b19ec2decb89c860d46 | 23,829 | py | Python | pypika/tests/test_inserts.py | jmaschad/pypika | 48fcac96e4ba54856c53f8047bc18f99baebf00c | [
"Apache-2.0"
] | null | null | null | pypika/tests/test_inserts.py | jmaschad/pypika | 48fcac96e4ba54856c53f8047bc18f99baebf00c | [
"Apache-2.0"
] | null | null | null | pypika/tests/test_inserts.py | jmaschad/pypika | 48fcac96e4ba54856c53f8047bc18f99baebf00c | [
"Apache-2.0"
] | null | null | null | import unittest
from pypika import (
Field as F,
MySQLQuery,
PostgreSQLQuery,
Query,
Table,
Tables,
functions as fn,
)
from pypika.functions import Avg
from pypika.terms import Values
from pypika.utils import QueryException
__author__ = "Timothy Heys"
__email__ = "theys@kayak.com"
class ... | 33.188022 | 108 | 0.573923 | 2,860 | 23,829 | 4.545105 | 0.053147 | 0.117009 | 0.130164 | 0.073852 | 0.8993 | 0.879452 | 0.854296 | 0.821679 | 0.755674 | 0.712593 | 0 | 0.010305 | 0.29141 | 23,829 | 717 | 109 | 33.23431 | 0.75955 | 0.001301 | 0 | 0.493934 | 0 | 0.013865 | 0.154396 | 0.027189 | 0 | 0 | 0 | 0.001395 | 0.117851 | 1 | 0.117851 | false | 0 | 0.008666 | 0 | 0.147314 | 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 |
92f29573f51e634fe1c57a284e2f105cc6404b45 | 27,233 | py | Python | workflows/coverage_simulations_and_bias_reduction/gw/pipeline.py | montefiore-ai/averting-a-crisis-in-simulation-based-inference | 9dca4a508a19c514422a9b177d4fcf1dad6ea693 | [
"BSD-3-Clause"
] | 1 | 2021-10-13T12:35:48.000Z | 2021-10-13T12:35:48.000Z | workflows/coverage_simulations_and_bias_reduction/gw/pipeline.py | montefiore-ai/averting-a-crisis-in-simulation-based-inference | 9dca4a508a19c514422a9b177d4fcf1dad6ea693 | [
"BSD-3-Clause"
] | null | null | null | workflows/coverage_simulations_and_bias_reduction/gw/pipeline.py | montefiore-ai/averting-a-crisis-in-simulation-based-inference | 9dca4a508a19c514422a9b177d4fcf1dad6ea693 | [
"BSD-3-Clause"
] | null | null | null | import argparse
import glob
import hypothesis as h
import hypothesis.workflow as w
import logging
import matplotlib.pyplot as plt
import numpy as np
import os
import papermill as pm
import shutil
from hypothesis.workflow import shell
from ratio_estimation import load_estimator, train_flow_sbi
from tqdm import tqdm
fro... | 44.864909 | 150 | 0.656777 | 3,424 | 27,233 | 5.04118 | 0.076227 | 0.030242 | 0.029546 | 0.020856 | 0.854238 | 0.830079 | 0.793233 | 0.75772 | 0.733329 | 0.718556 | 0 | 0.023323 | 0.203356 | 27,233 | 606 | 151 | 44.938944 | 0.772298 | 0.027503 | 0 | 0.614481 | 0 | 0.007828 | 0.247168 | 0.086801 | 0 | 0 | 0 | 0 | 0.003914 | 1 | 0.064579 | false | 0 | 0.031311 | 0 | 0.09589 | 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 |
131c645858d9005c9d51675dc835c8184b8ac595 | 255 | py | Python | gathernomics/models/__init__.py | SuperOxigen/CanDev-Finance-Canada | 6c46b1fd62c31094b01d95397324ca64d19a06ac | [
"MIT"
] | 1 | 2018-10-21T20:14:45.000Z | 2018-10-21T20:14:45.000Z | gathernomics/models/__init__.py | SuperOxigen/CanDev-Finance-Canada | 6c46b1fd62c31094b01d95397324ca64d19a06ac | [
"MIT"
] | null | null | null | gathernomics/models/__init__.py | SuperOxigen/CanDev-Finance-Canada | 6c46b1fd62c31094b01d95397324ca64d19a06ac | [
"MIT"
] | null | null | null | """Restaurant Site - Gathernomics Model Init.
Copyright (c) 2018 Alex Dale
See LICENSE for information.
"""
from gathernomics.models.factor import TemporalFrequency, FinancialFactor
from gathernomics.models.sourcetbl import SourceTableType, SourceTable
| 28.333333 | 73 | 0.823529 | 28 | 255 | 7.5 | 0.821429 | 0.152381 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017621 | 0.109804 | 255 | 8 | 74 | 31.875 | 0.907489 | 0.396078 | 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 |
1320efd0b549d7b0c0ef436433ad19310534e568 | 3,069 | py | Python | active_rl/utils/KGW_memory.py | Tony-Cheng/Active-Reinforcement-Learning | 50bb65106ae1f957d8cb6cb5706ce1285519e6b4 | [
"MIT"
] | null | null | null | active_rl/utils/KGW_memory.py | Tony-Cheng/Active-Reinforcement-Learning | 50bb65106ae1f957d8cb6cb5706ce1285519e6b4 | [
"MIT"
] | null | null | null | active_rl/utils/KGW_memory.py | Tony-Cheng/Active-Reinforcement-Learning | 50bb65106ae1f957d8cb6cb5706ce1285519e6b4 | [
"MIT"
] | null | null | null | from collections import namedtuple
import random
import torch
import cv2
class ReplayMemory(object):
def __init__(self, capacity, state_shape, n_actions, device):
c, h, w = state_shape
self.capacity = capacity
self.device = device
self.m_states = torch.zeros((capacity, c, h, w), dty... | 39.857143 | 111 | 0.6116 | 438 | 3,069 | 4.152968 | 0.171233 | 0.074217 | 0.054426 | 0.062672 | 0.805937 | 0.739967 | 0.702584 | 0.702584 | 0.702584 | 0.655305 | 0 | 0.019965 | 0.249267 | 3,069 | 77 | 112 | 39.857143 | 0.769531 | 0.034213 | 0 | 0.575758 | 0 | 0 | 0.001355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.060606 | 0.030303 | 0.272727 | 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 |
133cbdd9e9f65b5a260e890a56937bc2b4583393 | 83 | py | Python | DMOJ/saoj.py | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | 1 | 2017-10-01T00:51:39.000Z | 2017-10-01T00:51:39.000Z | DMOJ/saoj.py | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | DMOJ/saoj.py | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | print((lambda n:n*(n+1)*(2*n+1)*(3*n**4+6*n**3-3*n+1)//42)(int(input()))%int(1e99)) | 83 | 83 | 0.53012 | 23 | 83 | 1.913043 | 0.521739 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 0.012048 | 83 | 1 | 83 | 83 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1359ba3f9bc763fb1faf34cbc0528c65794848e7 | 790 | py | Python | app/tests/test_timestamp.py | require-id/core | 63415602106c0d742cd868050654272d58109e74 | [
"MIT"
] | 2 | 2020-04-02T09:57:10.000Z | 2021-03-26T05:40:12.000Z | app/tests/test_timestamp.py | require-id/core | 63415602106c0d742cd868050654272d58109e74 | [
"MIT"
] | null | null | null | app/tests/test_timestamp.py | require-id/core | 63415602106c0d742cd868050654272d58109e74 | [
"MIT"
] | null | null | null | import datetime
import pytest
from app.shared.utils import convert_timestamp
@pytest.mark.asyncio
async def test_timestamp(loop):
assert convert_timestamp('1984-08-01T22:30:20.004711Z') == datetime.datetime(1984, 8, 1, 22, 30, 20, 4711)
assert convert_timestamp('2019-02-28 10:22:30') == datetime.datetime(20... | 46.470588 | 110 | 0.710127 | 132 | 790 | 4.181818 | 0.348485 | 0.231884 | 0.278986 | 0.188406 | 0.355072 | 0.355072 | 0.355072 | 0.228261 | 0.134058 | 0.134058 | 0 | 0.267936 | 0.135443 | 790 | 16 | 111 | 49.375 | 0.540264 | 0 | 0 | 0 | 0 | 0 | 0.211392 | 0.102532 | 0 | 0 | 0 | 0 | 0.583333 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
135f58b301fddf1b14c3125d581eff16126e44b9 | 38 | py | Python | src/lib/xmllib.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/xmllib.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/xmllib.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("xmllib")
| 19 | 37 | 0.763158 | 6 | 38 | 4 | 0.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
136b101b48418dab6dbff447803055f5353801df | 1,857 | py | Python | packages/pyright-internal/src/tests/samples/protocol3.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/protocol3.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/protocol3.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests the assignment of protocols that
# include property declarations.
from typing import Protocol
class Foo1(Protocol):
@property
def batch_shape(self) -> int:
return 0
class MockFoo1:
def __init__(self, batch_shape: int):
self._batch_shape = batch_shape
@property
... | 19.34375 | 53 | 0.668282 | 250 | 1,857 | 4.728 | 0.22 | 0.296108 | 0.142132 | 0.158206 | 0.677665 | 0.677665 | 0.677665 | 0.677665 | 0.677665 | 0.677665 | 0 | 0.017192 | 0.24825 | 1,857 | 95 | 54 | 19.547368 | 0.829513 | 0.180398 | 0 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.055556 | 0.018519 | 0.148148 | 0.592593 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
136c9d79e9fa0434077aa9119ea504a8dbb5fa4b | 29 | py | Python | tests/__init__.py | jugla/pyAtome | a05accc4aa33586a55008b8c24bed102ece448e7 | [
"Apache-2.0"
] | 2 | 2021-05-12T07:31:51.000Z | 2021-11-15T18:13:51.000Z | tests/__init__.py | jugla/pyAtome | a05accc4aa33586a55008b8c24bed102ece448e7 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | jugla/pyAtome | a05accc4aa33586a55008b8c24bed102ece448e7 | [
"Apache-2.0"
] | null | null | null | from pyatome.client import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
138d268aa9873dbe0fe7931e77a579f61ac69b87 | 70 | py | Python | navi/__init__.py | RimorRes/MDRS_Rover | a46f9a2482febd588d621a51a784bee648198c4d | [
"MIT"
] | 7 | 2021-09-18T11:18:53.000Z | 2022-02-17T21:57:58.000Z | navi/__init__.py | RimorRes/MDRS_Rover | a46f9a2482febd588d621a51a784bee648198c4d | [
"MIT"
] | 8 | 2021-10-29T19:27:00.000Z | 2022-02-04T15:32:03.000Z | navi/__init__.py | RimorRes/MDRS_Rover | a46f9a2482febd588d621a51a784bee648198c4d | [
"MIT"
] | 3 | 2021-09-24T13:56:33.000Z | 2021-11-27T08:54:10.000Z | # flake8: noqa
from navi.pathfinder import *
from navi.a_star import * | 23.333333 | 29 | 0.771429 | 11 | 70 | 4.818182 | 0.727273 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.142857 | 70 | 3 | 30 | 23.333333 | 0.866667 | 0.171429 | 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 |
13de54d34b9287cb47507de4d32c15ae03e043c6 | 287 | py | Python | how_to_use.py | Othergreengrasses/TextGrid-SyllableTier-Injector | 18f5744a9f9c2b73a220077163dcd08cf7ae61ca | [
"MIT"
] | null | null | null | how_to_use.py | Othergreengrasses/TextGrid-SyllableTier-Injector | 18f5744a9f9c2b73a220077163dcd08cf7ae61ca | [
"MIT"
] | null | null | null | how_to_use.py | Othergreengrasses/TextGrid-SyllableTier-Injector | 18f5744a9f9c2b73a220077163dcd08cf7ae61ca | [
"MIT"
] | null | null | null | # Sample python script to demonstrate how to use the Text Grid Syllable Tier Injector Tool
from textGridSyllableTierInjector import insertSyllableTierInTextGrid
insertSyllableTierInTextGrid('TextGrid/sample-librispeech.TextGrid','TextGrid/sample-librispeech.withSyllableTier.TextGrid')
| 57.4 | 124 | 0.87108 | 29 | 287 | 8.62069 | 0.724138 | 0.112 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076655 | 287 | 4 | 125 | 71.75 | 0.943396 | 0.30662 | 0 | 0 | 0 | 0 | 0.451777 | 0.451777 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
13ece80a92a151a7827ccd371ae7bad289b86321 | 146 | py | Python | entrega2.py | maariagarrcia/calentamiento | e21105049b6ae5d8c15f65a2d65199a96768c87a | [
"Apache-2.0"
] | null | null | null | entrega2.py | maariagarrcia/calentamiento | e21105049b6ae5d8c15f65a2d65199a96768c87a | [
"Apache-2.0"
] | null | null | null | entrega2.py | maariagarrcia/calentamiento | e21105049b6ae5d8c15f65a2d65199a96768c87a | [
"Apache-2.0"
] | null | null | null | print("Hola Mundo")
# Introducimos un código para que sólo la línea 4 esté en verde
print(chr(27)+"[0;32m"+"Hola Mundo")
print(chr(27)+"[0;37m")
| 24.333333 | 63 | 0.691781 | 27 | 146 | 3.740741 | 0.740741 | 0.178218 | 0.19802 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 0.130137 | 146 | 5 | 64 | 29.2 | 0.708661 | 0.417808 | 0 | 0 | 0 | 0 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
b91818dd1c7fd0042e0ffd6366e044087e3c262a | 25,182 | py | Python | sdk/storage/azure-storage-queue/tests/test_queue_client.py | anuchandy/azure-sdk-for-python | 589b9890554ebf261aa2184e8f1c6507f01a207c | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-queue/tests/test_queue_client.py | anuchandy/azure-sdk-for-python | 589b9890554ebf261aa2184e8f1c6507f01a207c | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-queue/tests/test_queue_client.py | anuchandy/azure-sdk-for-python | 589b9890554ebf261aa2184e8f1c6507f01a207c | [
"MIT"
] | null | null | null | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
import uni... | 50.163347 | 141 | 0.668295 | 2,593 | 25,182 | 6.209024 | 0.081373 | 0.127826 | 0.065466 | 0.048137 | 0.828696 | 0.799752 | 0.785031 | 0.75646 | 0.707516 | 0.69528 | 0 | 0.004753 | 0.214558 | 25,182 | 501 | 142 | 50.263473 | 0.809242 | 0.04396 | 0 | 0.6 | 0 | 0 | 0.106879 | 0.044835 | 0 | 0 | 0 | 0 | 0.305882 | 1 | 0.102941 | false | 0 | 0.017647 | 0 | 0.123529 | 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 |
b92827b6cadbc2d1cd0b71b80019debadaba97bf | 234 | py | Python | simulation/summary_functions/summary_function_base.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 2 | 2019-01-05T02:33:38.000Z | 2020-04-22T16:57:50.000Z | simulation/summary_functions/summary_function_base.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 3 | 2019-04-17T18:13:08.000Z | 2021-04-23T22:40:23.000Z | simulation/summary_functions/summary_function_base.py | LBNL-ETA/LPDM | 3384a784b97e49cd7a801b758717a7107a51119f | [
"BSD-3-Clause-LBNL"
] | 1 | 2019-01-31T08:37:44.000Z | 2019-01-31T08:37:44.000Z |
class SummaryFunction(object):
def __init__(self):
pass
def __repr__(self):
pass
def file_match(self, file_name):
pass
def process_line(self):
pass
def end(self):
pass
| 13 | 36 | 0.559829 | 27 | 234 | 4.444444 | 0.518519 | 0.266667 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 234 | 17 | 37 | 13.764706 | 0.8 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0.454545 | 0 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b94e04050d6d9250ebea3da301afbcc1b63b9780 | 29 | py | Python | aniko/__init__.py | FilmBee/Aniko | 209c8e84fbeb293d06de85c0af31b529c8ccb8b5 | [
"MIT"
] | 11 | 2022-02-02T00:29:52.000Z | 2022-03-18T10:32:36.000Z | aniko/__init__.py | Doctorstra/Aniko | 7f2305a88d6d3a98cd1f002ff66931d68871fd9d | [
"MIT"
] | 2 | 2022-02-02T12:23:43.000Z | 2022-02-03T01:44:32.000Z | aniko/__init__.py | Doctorstra/Aniko | 7f2305a88d6d3a98cd1f002ff66931d68871fd9d | [
"MIT"
] | 13 | 2022-02-02T00:29:56.000Z | 2022-03-31T11:09:53.000Z | from aniko.aniko import Aniko | 29 | 29 | 0.862069 | 5 | 29 | 5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 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 |
b97b8ea8404a94d39807b9f6ce12775b4d6fe5bf | 102 | py | Python | malt/__init__.py | Anavros/malt | d972ce9851f0174160c1ae73b9d54b56575fe5c0 | [
"MIT"
] | null | null | null | malt/__init__.py | Anavros/malt | d972ce9851f0174160c1ae73b9d54b56575fe5c0 | [
"MIT"
] | 8 | 2015-12-05T17:28:39.000Z | 2016-12-09T18:41:25.000Z | malt/__init__.py | Anavros/malt | d972ce9851f0174160c1ae73b9d54b56575fe5c0 | [
"MIT"
] | null | null | null |
from malt.cmd import parse, offer, read, load
try:
import readline
except ImportError:
pass
| 12.75 | 45 | 0.715686 | 14 | 102 | 5.214286 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22549 | 102 | 7 | 46 | 14.571429 | 0.924051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b9813302732764c32a5c79a0c783adf8a1d17aa0 | 37 | py | Python | tests/integrations/providers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | tests/integrations/providers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | tests/integrations/providers/__init__.py | cercos/masonite | f7f220efa7fae833683e9f07ce13c3795a87d3b8 | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from .AppProvider import AppProvider
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b992a8470876154b3565ad489f61d3d787ccca42 | 16,210 | py | Python | tests/actions.py | uhavin/slacken | be45af974029bc16ad34a0d73c9952cd1821678b | [
"MIT"
] | 56 | 2019-11-08T22:46:34.000Z | 2022-03-27T21:53:13.000Z | tests/actions.py | uhavin/slacken | be45af974029bc16ad34a0d73c9952cd1821678b | [
"MIT"
] | 18 | 2019-09-16T10:40:01.000Z | 2022-03-16T16:30:29.000Z | tests/actions.py | uhavin/slacken | be45af974029bc16ad34a0d73c9952cd1821678b | [
"MIT"
] | 12 | 2020-01-17T14:43:57.000Z | 2022-03-15T21:33:39.000Z | import json
import pytest
from starlette.status import HTTP_200_OK
from starlette.testclient import TestClient
from slackers.hooks import actions
from slackers.models import SlackAction
from slackers.registry import R
@pytest.fixture(autouse=True)
def reset_registry():
R.callbacks = {}
@pytest.fixture
def act... | 32.48497 | 96 | 0.70074 | 1,875 | 16,210 | 5.6816 | 0.088 | 0.049564 | 0.042242 | 0.039895 | 0.84502 | 0.830189 | 0.795926 | 0.734816 | 0.72205 | 0.717732 | 0 | 0.007906 | 0.196299 | 16,210 | 498 | 97 | 32.550201 | 0.809794 | 0.019186 | 0 | 0.592689 | 0 | 0 | 0.150894 | 0.059716 | 0 | 0 | 0 | 0 | 0.099217 | 1 | 0.120104 | false | 0.044386 | 0.041775 | 0 | 0.18799 | 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 |
b9d71178397011781d81c30056287a5676fdb3cf | 70 | py | Python | python/testData/refactoring/extractsuperclass/moveExtendsCheckReference/source_module.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/extractsuperclass/moveExtendsCheckReference/source_module.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractsuperclass/moveExtendsCheckReference/source_module.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from dest_module import NewParent
class MyClass(NewParent):
pass | 14 | 33 | 0.785714 | 9 | 70 | 6 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 5 | 34 | 14 | 0.931034 | 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 |
b9d7c044d9317438cde9def730f9be708ecb7ce2 | 3,300 | py | Python | nssrc/com/citrix/netscaler/nitro/resource/config/authentication/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 1 | 2015-04-05T21:21:26.000Z | 2015-04-05T21:21:26.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/authentication/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 1 | 2017-01-20T22:56:58.000Z | 2017-01-20T22:56:58.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/authentication/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 6 | 2015-04-21T13:14:08.000Z | 2020-12-03T07:27:52.000Z | __all__ = ['authenticationauthnprofile', 'authenticationcertaction', 'authenticationcertpolicy', 'authenticationcertpolicy_authenticationvserver_binding', 'authenticationcertpolicy_binding', 'authenticationcertpolicy_systemglobal_binding', 'authenticationcertpolicy_vpnglobal_binding', 'authenticationcertpolicy_vpnvserv... | 3,300 | 3,300 | 0.909394 | 170 | 3,300 | 17.070588 | 0.170588 | 0.135079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 3,300 | 1 | 3,300 | 3,300 | 0.899845 | 0 | 0 | 0 | 0 | 0 | 0.906998 | 0.900939 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9e39a0cff047fe28ba7c09e98b1bfb5ade812b6 | 183 | py | Python | lab07/tienda/admin.py | AlexanderRod/TECSUP-DAE-2021-2 | 47b2cce717ff012c1b40394955388d8b2a8beb63 | [
"MIT"
] | null | null | null | lab07/tienda/admin.py | AlexanderRod/TECSUP-DAE-2021-2 | 47b2cce717ff012c1b40394955388d8b2a8beb63 | [
"MIT"
] | null | null | null | lab07/tienda/admin.py | AlexanderRod/TECSUP-DAE-2021-2 | 47b2cce717ff012c1b40394955388d8b2a8beb63 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Categoria
from .models import Producto
admin.site.register(Categoria)
admin.site.register(Producto) | 22.875 | 32 | 0.819672 | 25 | 183 | 6 | 0.48 | 0.133333 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10929 | 183 | 8 | 33 | 22.875 | 0.920245 | 0.142077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
b9e5ba737f5d7b29b3320b97c44e8447ddc008bf | 50,729 | py | Python | test/test_scrapbook_convert_wsb2sb.py | clach04/PyWebScrapBook | 310e8f20cc5337336875679246b9269265b4476a | [
"MIT"
] | 39 | 2019-04-10T18:07:40.000Z | 2022-02-07T07:11:30.000Z | test/test_scrapbook_convert_wsb2sb.py | clach04/PyWebScrapBook | 310e8f20cc5337336875679246b9269265b4476a | [
"MIT"
] | 56 | 2019-05-07T23:29:14.000Z | 2022-02-24T10:33:43.000Z | test/test_scrapbook_convert_wsb2sb.py | clach04/PyWebScrapBook | 310e8f20cc5337336875679246b9269265b4476a | [
"MIT"
] | 15 | 2019-06-12T05:16:43.000Z | 2022-01-16T13:24:11.000Z | from unittest import mock
import unittest
import os
import shutil
import glob
import zipfile
import time
from base64 import b64decode
from datetime import datetime, timezone
from lxml import etree
from webscrapbook import WSB_DIR
from webscrapbook import util
from webscrapbook.scrapbook.host import Host
from webscrap... | 39.570203 | 850 | 0.623588 | 6,386 | 50,729 | 4.836674 | 0.06984 | 0.059831 | 0.053939 | 0.039887 | 0.846343 | 0.825331 | 0.804934 | 0.793311 | 0.787807 | 0.782044 | 0 | 0.092229 | 0.208539 | 50,729 | 1,281 | 851 | 39.601093 | 0.677061 | 0.031087 | 0 | 0.693625 | 0 | 0.026641 | 0.405156 | 0.135066 | 0 | 0 | 0 | 0 | 0.052331 | 1 | 0.039962 | false | 0.037108 | 0.016175 | 0 | 0.058991 | 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 |
6a2c5892af24c1eef0f50b8db3d48fb9322f987a | 32 | py | Python | Modulo_1/semana4/Modulos_Paquetes/Modulo/main-import-as.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana4/Modulos_Paquetes/Modulo/main-import-as.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | null | null | null | Modulo_1/semana4/Modulos_Paquetes/Modulo/main-import-as.py | rubens233/cocid_python | 492ebdf21817e693e5eb330ee006397272f2e0cc | [
"MIT"
] | 1 | 2022-03-04T00:57:18.000Z | 2022-03-04T00:57:18.000Z | import fibo as fib
fib.fib(500)
| 10.666667 | 18 | 0.75 | 7 | 32 | 3.428571 | 0.714286 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.15625 | 32 | 2 | 19 | 16 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6a4d8cebae3cfab8f4c54f5058919b3c2756518a | 28 | py | Python | legofy/__init__.py | oliveirarodolfo/legofy | 6653e5cb6257bd89b8e660bd206afbaaedbff7e0 | [
"MIT"
] | 2 | 2015-11-05T02:11:44.000Z | 2015-11-07T15:30:28.000Z | legofy/__init__.py | oliveirarodolfo/legofy | 6653e5cb6257bd89b8e660bd206afbaaedbff7e0 | [
"MIT"
] | 1 | 2015-12-02T07:37:30.000Z | 2015-12-03T00:24:03.000Z | legofy/__init__.py | oliveirarodolfo/legofy | 6653e5cb6257bd89b8e660bd206afbaaedbff7e0 | [
"MIT"
] | null | null | null |
from .legofy import legofy
| 9.333333 | 26 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a4db4a458aab22ccb9e635e5e4503a78b9bccc7 | 36,905 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/arista/eos/plugins/modules/eos_prefix_lists.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/arista/eos/plugins/modules/eos_prefix_lists.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/arista/eos/plugins/modules/eos_prefix_lists.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2021 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
"""
The module file for eos_prefix_lists
"""
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = """
---... | 30.857023 | 115 | 0.299851 | 2,611 | 36,905 | 4.198008 | 0.100345 | 0.028191 | 0.066691 | 0.021348 | 0.727762 | 0.719734 | 0.704042 | 0.698203 | 0.694097 | 0.6847 | 0 | 0.111977 | 0.579434 | 36,905 | 1,195 | 116 | 30.882845 | 0.594227 | 0.00737 | 0 | 0.856392 | 0 | 0.001751 | 0.974701 | 0.009071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000876 | false | 0 | 0.003503 | 0 | 0.004378 | 0.000876 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dbf7f2610343a281c47720fc6010428ba5bcf218 | 7,068 | py | Python | tests/layers/test_misc.py | VarunBal/keras-retinanet | c45b6316515f058feed68808c548fa477523f707 | [
"Apache-2.0"
] | null | null | null | tests/layers/test_misc.py | VarunBal/keras-retinanet | c45b6316515f058feed68808c548fa477523f707 | [
"Apache-2.0"
] | null | null | null | tests/layers/test_misc.py | VarunBal/keras-retinanet | c45b6316515f058feed68808c548fa477523f707 | [
"Apache-2.0"
] | null | null | null | """
Copyright 2017-2018 Fizyr (https://fizyr.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | 33.183099 | 85 | 0.549802 | 845 | 7,068 | 4.537278 | 0.171598 | 0.106416 | 0.084507 | 0.073031 | 0.809338 | 0.783255 | 0.743871 | 0.703704 | 0.649452 | 0.633803 | 0 | 0.074339 | 0.326259 | 7,068 | 212 | 86 | 33.339623 | 0.730785 | 0.174731 | 0 | 0.729323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045113 | 1 | 0.045113 | false | 0 | 0.030075 | 0 | 0.097744 | 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 |
e00c2fcd6259fe36a100f999f63a29b4005e4601 | 63 | py | Python | src/Recursive_Symmetry_Aware_Materials_Microstructure_Explorer/__init__.py | m3-learning/Recursive_Symmetry_Aware_Materials_Microstructure_Explorer | 93f4b568998a28ff474e98d8c68f3fefb4365232 | [
"BSD-3-Clause"
] | 2 | 2021-10-15T15:50:46.000Z | 2022-02-04T17:56:30.000Z | src/Recursive_Symmetry_Aware_Materials_Microstructure_Explorer/__init__.py | m3-learning/Recursive_Symmetry_Aware_Materials_Microstructure_Explorer | 93f4b568998a28ff474e98d8c68f3fefb4365232 | [
"BSD-3-Clause"
] | null | null | null | src/Recursive_Symmetry_Aware_Materials_Microstructure_Explorer/__init__.py | m3-learning/Recursive_Symmetry_Aware_Materials_Microstructure_Explorer | 93f4b568998a28ff474e98d8c68f3fefb4365232 | [
"BSD-3-Clause"
] | null | null | null | from . import util
from . import viz
from . import select_model | 21 | 26 | 0.777778 | 10 | 63 | 4.8 | 0.6 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 26 | 21 | 0.923077 | 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 |
e0594517b86688d17a482691b76586f3876f78bf | 176 | py | Python | lokahi_dropbox/wall_post/models.py | y4ahmed/Crowdfunding-Web-Application | 52beab945ee88f8fd773f942577137c770a601c1 | [
"MIT"
] | 4 | 2017-09-28T04:26:33.000Z | 2022-01-04T22:51:17.000Z | lokahi_dropbox/wall_post/models.py | y4ahmed/Crowdfunding-Web-Application | 52beab945ee88f8fd773f942577137c770a601c1 | [
"MIT"
] | null | null | null | lokahi_dropbox/wall_post/models.py | y4ahmed/Crowdfunding-Web-Application | 52beab945ee88f8fd773f942577137c770a601c1 | [
"MIT"
] | 1 | 2021-01-17T23:11:21.000Z | 2021-01-17T23:11:21.000Z | from django.db import models
# Create your models here.
class Post(models.Model):
message = models.CharField(max_length=255)
sender = models.CharField(max_length=255)
| 25.142857 | 46 | 0.755682 | 25 | 176 | 5.24 | 0.68 | 0.229008 | 0.274809 | 0.366412 | 0.412214 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.147727 | 176 | 6 | 47 | 29.333333 | 0.833333 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e071c7306d7aa4b1659f4489b2d5581951f990eb | 23 | py | Python | pylsci/__init__.py | pkeilbach/pylsci | c57d0e60b80b65eb85cbc949e2d4c18fb371d378 | [
"MIT"
] | 5 | 2021-06-09T11:24:11.000Z | 2022-03-04T08:24:23.000Z | pylsci/__init__.py | pkeilbach/pylsci | c57d0e60b80b65eb85cbc949e2d4c18fb371d378 | [
"MIT"
] | 1 | 2021-01-26T21:11:14.000Z | 2021-01-26T21:11:14.000Z | pylsci/__init__.py | pkeilbach/pylsci | c57d0e60b80b65eb85cbc949e2d4c18fb371d378 | [
"MIT"
] | 2 | 2021-09-17T08:21:09.000Z | 2022-02-09T12:40:11.000Z | from .lsci import Lsci
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0779799e1bda7fb27f75912efcceaf57c657bf0 | 154,028 | py | Python | tests/track/loader_test.py | karmi/rally | 51a83d7ad2b94de90b135749956b354cb50bcffc | [
"Apache-2.0"
] | null | null | null | tests/track/loader_test.py | karmi/rally | 51a83d7ad2b94de90b135749956b354cb50bcffc | [
"Apache-2.0"
] | null | null | null | tests/track/loader_test.py | karmi/rally | 51a83d7ad2b94de90b135749956b354cb50bcffc | [
"Apache-2.0"
] | null | null | null | # Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this f... | 43.024581 | 140 | 0.466149 | 12,007 | 154,028 | 5.792454 | 0.055884 | 0.054565 | 0.014479 | 0.0155 | 0.827247 | 0.794177 | 0.766341 | 0.73294 | 0.70706 | 0.683781 | 0 | 0.018505 | 0.430591 | 154,028 | 3,579 | 141 | 43.036602 | 0.774494 | 0.026047 | 0 | 0.57032 | 0 | 0.007762 | 0.239974 | 0.032806 | 0 | 0 | 0 | 0 | 0.113008 | 1 | 0.028873 | false | 0.00031 | 0.004657 | 0.001242 | 0.041602 | 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 |
0eb535bddeb2ef571a82f06270e5074ec93b058c | 118 | py | Python | threeML/catalogs/__init__.py | BjoernBiltzinger/threeML | fc3d989173b1613a199633455f260e67fdb50369 | [
"BSD-3-Clause"
] | null | null | null | threeML/catalogs/__init__.py | BjoernBiltzinger/threeML | fc3d989173b1613a199633455f260e67fdb50369 | [
"BSD-3-Clause"
] | null | null | null | threeML/catalogs/__init__.py | BjoernBiltzinger/threeML | fc3d989173b1613a199633455f260e67fdb50369 | [
"BSD-3-Clause"
] | null | null | null | from Fermi import FermiGBMBurstCatalog, FermiLATSourceCatalog, FermiLLEBurstCatalog
from Swift import SwiftGRBCatalog
| 39.333333 | 83 | 0.898305 | 10 | 118 | 10.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 118 | 2 | 84 | 59 | 0.981481 | 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 |
0ebbbfc1e7bc967c7c2cc91af09eeaac4462d7ab | 162 | py | Python | scitbx/wigner/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-03-18T12:31:57.000Z | 2022-03-14T06:27:06.000Z | scitbx/wigner/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | null | null | null | scitbx/wigner/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-03-26T12:52:30.000Z | 2021-03-26T12:52:30.000Z | from __future__ import absolute_import, division, print_function
import boost.python
boost.python.import_ext("scitbx_wigner_ext")
from scitbx_wigner_ext import *
| 32.4 | 64 | 0.858025 | 23 | 162 | 5.565217 | 0.521739 | 0.171875 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 162 | 4 | 65 | 40.5 | 0.85906 | 0 | 0 | 0 | 0 | 0 | 0.104938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
0ec2ebfea47a87c23614feb58c14446f1fbb4b90 | 221 | py | Python | analyzer/parser/object_parser.py | ltthacker/bdi_final | d2758cc00670d0f2eae3f468f36731a25e9a30bc | [
"MIT"
] | null | null | null | analyzer/parser/object_parser.py | ltthacker/bdi_final | d2758cc00670d0f2eae3f468f36731a25e9a30bc | [
"MIT"
] | null | null | null | analyzer/parser/object_parser.py | ltthacker/bdi_final | d2758cc00670d0f2eae3f468f36731a25e9a30bc | [
"MIT"
] | null | null | null | from .object_parser_util import getObject
from .object_parser_fakenew_util import checkObject
def parse(new):
return getObject(new['content'],new['timestamp'])
def fakenew(content):
return checkObject(content)
| 22.1 | 53 | 0.782805 | 28 | 221 | 6 | 0.5 | 0.119048 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122172 | 221 | 9 | 54 | 24.555556 | 0.865979 | 0 | 0 | 0 | 0 | 0 | 0.072398 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
0eda4935027ffc79b5c425eff0a70a6d492b21d1 | 16,294 | py | Python | pytdx/reader/gbbq_reader.py | AtlantixJJ/vnpy | 28992c7d5391f6dd42a14b481d01ceafde048b5f | [
"MIT"
] | 13 | 2019-06-07T04:34:09.000Z | 2022-03-21T07:46:01.000Z | pytdx/reader/gbbq_reader.py | AtlantixJJ/vnpy | 28992c7d5391f6dd42a14b481d01ceafde048b5f | [
"MIT"
] | 1 | 2020-04-21T02:42:32.000Z | 2020-04-21T02:42:32.000Z | venv/lib/python3.7/site-packages/pytdx/reader/gbbq_reader.py | CatTiger/vnpy | 7901a0fb80a5b44d6fc752bd4b2b64ec62c8f84b | [
"MIT"
] | 2 | 2021-07-08T03:44:41.000Z | 2021-09-15T00:41:19.000Z | #encoding=utf-8
import struct
from ctypes import *
import pandas as pd
import sys
### take ref this article :http://blog.csdn.net/fangle6688/article/details/50956609
### and this http://blog.sina.com.cn/s/blog_6b2f87db0102uxo3.html
class GbbqReader(object):
def get_df(self, fname):
if sys.version_info.... | 169.729167 | 12,548 | 0.612434 | 4,565 | 16,294 | 2.171742 | 0.084995 | 0.013315 | 0.013113 | 0.011297 | 0.045289 | 0.043272 | 0.034093 | 0.01856 | 0.01856 | 0.006859 | 0 | 0.516175 | 0.360685 | 16,294 | 95 | 12,549 | 171.515789 | 0.435538 | 0.011354 | 0 | 0.108108 | 0 | 0.013514 | 0.789206 | 0.003975 | 0 | 1 | 0.004596 | 0 | 0 | 1 | 0.013514 | false | 0 | 0.054054 | 0 | 0.108108 | 0.013514 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
160078949dbf2532f034fe96599aa212f61df315 | 15,988 | py | Python | ore/tests/tests_visibility.py | lukegb/Ore-python | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | 1 | 2016-05-24T14:49:42.000Z | 2016-05-24T14:49:42.000Z | ore/tests/tests_visibility.py | gratimax/ore-old | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | null | null | null | ore/tests/tests_visibility.py | gratimax/ore-old | 1d1c73795406fa52ae969726feb89f7aedbc4afc | [
"MIT"
] | null | null | null | from django.contrib.auth.models import AnonymousUser
from ore.accounts.models import OreUser
from ore.core.models import Organization
from django.test import TestCase as TestCase
from ore.projects.models import Project
from ore.teams.models import OrganizationTeam, ProjectTeam
from ore.versions.models import Version, F... | 44.044077 | 124 | 0.701339 | 1,822 | 15,988 | 5.845225 | 0.055982 | 0.080376 | 0.034085 | 0.04507 | 0.814178 | 0.804789 | 0.765164 | 0.728357 | 0.700094 | 0.655869 | 0 | 0.000079 | 0.205467 | 15,988 | 362 | 125 | 44.165746 | 0.838306 | 0.003002 | 0 | 0.578767 | 0 | 0 | 0.033066 | 0.001506 | 0 | 0 | 0 | 0 | 0.14726 | 1 | 0.174658 | false | 0.006849 | 0.023973 | 0.006849 | 0.260274 | 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 |
16141c105531a3e68c7cb0828fb8d7d38e7da49c | 81 | py | Python | test/__init__.py | mbdevpl/lidar-playground | f5e8d2f105f116b4bd389553c58b67d3d6488aa3 | [
"Apache-2.0"
] | null | null | null | test/__init__.py | mbdevpl/lidar-playground | f5e8d2f105f116b4bd389553c58b67d3d6488aa3 | [
"Apache-2.0"
] | null | null | null | test/__init__.py | mbdevpl/lidar-playground | f5e8d2f105f116b4bd389553c58b67d3d6488aa3 | [
"Apache-2.0"
] | null | null | null | """Tests for lidar-playground package."""
from lidar_playground import _logging
| 20.25 | 41 | 0.790123 | 10 | 81 | 6.2 | 0.8 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 81 | 3 | 42 | 27 | 0.861111 | 0.432099 | 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 |
1621ccbe4860a9270b854050234439ae4544ad28 | 192 | py | Python | djrest_wrapper/exceptions/services/exceptions.py | almohress/djrest-wrapper | 48f6e413fc9d8c8e22585133af7b344185398c4a | [
"MIT"
] | null | null | null | djrest_wrapper/exceptions/services/exceptions.py | almohress/djrest-wrapper | 48f6e413fc9d8c8e22585133af7b344185398c4a | [
"MIT"
] | null | null | null | djrest_wrapper/exceptions/services/exceptions.py | almohress/djrest-wrapper | 48f6e413fc9d8c8e22585133af7b344185398c4a | [
"MIT"
] | null | null | null | from .base import BaseServiceExp
class DoesNotExistsExp(BaseServiceExp):
pass
class DuplicateModelExp(BaseServiceExp):
pass
class InvalidCredentialsExp(BaseServiceExp):
pass
| 13.714286 | 44 | 0.786458 | 16 | 192 | 9.4375 | 0.5625 | 0.357616 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161458 | 192 | 13 | 45 | 14.769231 | 0.937888 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
1664d58bf96073096531afeb0d5e32e834ea2311 | 20,141 | py | Python | monk/pytorch/transforms/transforms.py | Sanskar329/monk_v1 | 51a497a925ec1fb2c8fef1d51245ea7040a5a65a | [
"Apache-2.0"
] | 7 | 2020-07-26T08:37:29.000Z | 2020-10-30T10:23:11.000Z | monk/pytorch/transforms/transforms.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | monk/pytorch/transforms/transforms.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | from pytorch.transforms.imports import *
from system.imports import *
@accepts(dict, int, bool, bool, bool, retrieve=bool, post_trace=False)
#@TraceFunction(trace_args=False, trace_rv=False)
def transform_center_crop(system_dict, input_size, train, val, test, retrieve=False):
'''
Apply Center Cropping transf... | 41.786307 | 154 | 0.659153 | 2,306 | 20,141 | 5.631396 | 0.05941 | 0.101648 | 0.056291 | 0.080856 | 0.861928 | 0.839365 | 0.825812 | 0.776683 | 0.750886 | 0.734945 | 0 | 0.000622 | 0.201926 | 20,141 | 481 | 155 | 41.873181 | 0.807266 | 0.30217 | 0 | 0.567901 | 0 | 0 | 0.175941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0 | 0.00823 | 0 | 0.106996 | 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 |
bc4f19c4229067ab546c82fde4b1d9f4dd0e26e5 | 154 | py | Python | Advanced/Unit-Test/main.py | Alperencode/Python | 6cd1ce6afb76011ec25d567a988367f8522e7461 | [
"MIT"
] | 1 | 2022-03-07T18:57:40.000Z | 2022-03-07T18:57:40.000Z | Advanced/Unit-Test/main.py | Alperencode/Python | 6cd1ce6afb76011ec25d567a988367f8522e7461 | [
"MIT"
] | null | null | null | Advanced/Unit-Test/main.py | Alperencode/Python | 6cd1ce6afb76011ec25d567a988367f8522e7461 | [
"MIT"
] | null | null | null | def add(a,b):
return a+b
def sub(a,b):
return a-b
def mul(a,b):
return a*b
def div(a,b):
if b==0:
return "error"
return a/b | 11.846154 | 22 | 0.512987 | 33 | 154 | 2.393939 | 0.333333 | 0.202532 | 0.405063 | 0.341772 | 0.493671 | 0.493671 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.324675 | 154 | 13 | 23 | 11.846154 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.3 | 0.9 | 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 |
bc620406a1c86e1dcf6485a33afd5a65f59dcec3 | 23 | py | Python | zwende/__init__.py | daxm/zwende | 013d7f918ce3a3dbe8b525046d03c68c75e5cc4f | [
"BSD-3-Clause"
] | 2 | 2018-04-27T09:14:54.000Z | 2020-02-13T15:59:23.000Z | zwende/__init__.py | daxm/zwende | 013d7f918ce3a3dbe8b525046d03c68c75e5cc4f | [
"BSD-3-Clause"
] | null | null | null | zwende/__init__.py | daxm/zwende | 013d7f918ce3a3dbe8b525046d03c68c75e5cc4f | [
"BSD-3-Clause"
] | null | null | null |
from .zwende import *
| 7.666667 | 21 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.