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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46319fe06fdcde470c38c4ab3bc771fc7eb81445 | 328 | py | Python | Validation/EcalDigis/python/ecalUnsuppressedMixingModuleValidation_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/EcalDigis/python/ecalUnsuppressedMixingModuleValidation_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/EcalDigis/python/ecalUnsuppressedMixingModuleValidation_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Validation.EcalDigis.ecalMixingModuleValidation_cfi import *
ecalMixingModuleValidation.EBdigiCollection = 'simEcalUnsuppressedDigis'
ecalMixingModuleValidation.EEdigiCollection = 'simEcalUnsuppressedDigis'
ecalMixingModuleValidation.ESdigiCollection = 'simEcalUnsuppressed... | 41 | 72 | 0.890244 | 21 | 328 | 13.857143 | 0.714286 | 0.343643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057927 | 328 | 7 | 73 | 46.857143 | 0.941748 | 0 | 0 | 0 | 0 | 0 | 0.220183 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | 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 |
463397c3271e9fb2ca65bd63b7e12d66fb684309 | 304 | py | Python | phidl/__init__.py | giumc/phidl | 396030ec78c8e9d12634d2fec5ad7bf21bacdb89 | [
"MIT"
] | 102 | 2017-06-05T11:42:12.000Z | 2022-03-23T17:39:27.000Z | phidl/__init__.py | giumc/phidl | 396030ec78c8e9d12634d2fec5ad7bf21bacdb89 | [
"MIT"
] | 66 | 2018-07-19T13:59:59.000Z | 2022-03-16T02:23:13.000Z | phidl/__init__.py | giumc/phidl | 396030ec78c8e9d12634d2fec5ad7bf21bacdb89 | [
"MIT"
] | 45 | 2018-03-27T23:19:50.000Z | 2022-03-29T08:00:39.000Z | from phidl.device_layout import Device, Group, Path, CrossSection, Port, Layer, LayerSet
from phidl.device_layout import make_device
from phidl.quickplotter import quickplot, quickplot2, set_quickplot_options
from phidl.device_layout import __version__, reset
from phidl.geometry import device_lru_cache
| 50.666667 | 88 | 0.858553 | 42 | 304 | 5.928571 | 0.52381 | 0.180723 | 0.180723 | 0.253012 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003636 | 0.095395 | 304 | 5 | 89 | 60.8 | 0.901818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
464563d008ed73070e6bbe17ebf32079f8948051 | 4,931 | py | Python | tests/core/templatetags/test_navigation.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 27 | 2015-03-30T14:17:26.000Z | 2022-02-19T17:30:44.000Z | tests/core/templatetags/test_navigation.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 483 | 2015-03-09T16:58:03.000Z | 2022-03-14T09:29:06.000Z | tests/core/templatetags/test_navigation.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 6 | 2015-04-07T07:38:30.000Z | 2020-04-01T12:45:53.000Z | import logging
import pytest
from django.test import override_settings
from osmaxx.core.templatetags.navigation import siteabsoluteurl, logger
@override_settings(
OSMAXX=dict(
)
)
def test_siteabsoluteurl_without_secured_proxy_adds_scheme_and_netloc_and_path_prefix(rf, log_warning_mock):
relative_url = ... | 32.019481 | 119 | 0.756236 | 646 | 4,931 | 5.391641 | 0.111455 | 0.071777 | 0.100488 | 0.078094 | 0.896641 | 0.884582 | 0.884582 | 0.884582 | 0.88085 | 0.88085 | 0 | 0 | 0.133644 | 4,931 | 153 | 120 | 32.228758 | 0.815309 | 0 | 0 | 0.56 | 0 | 0.008 | 0.163658 | 0.033867 | 0 | 0 | 0 | 0 | 0.192 | 1 | 0.104 | false | 0 | 0.032 | 0 | 0.136 | 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 |
46558c2071d018f8bafafc4b81999ab6efada20a | 2,218 | py | Python | quarkc/test/ffi/expected/py/org_example_foo/org_example_foo_md/__init__.py | datawire/quark | df0058a148b077c0aff535eb6ee382605c556273 | [
"Apache-2.0"
] | 112 | 2015-10-02T19:51:51.000Z | 2022-03-07T06:29:44.000Z | quarkc/test/ffi/expected/py/org_example_foo/org_example_foo_md/__init__.py | datawire/quark | df0058a148b077c0aff535eb6ee382605c556273 | [
"Apache-2.0"
] | 181 | 2015-10-01T20:23:38.000Z | 2016-12-07T17:21:26.000Z | quarkc/test/ffi/expected/py/org_example_foo/org_example_foo_md/__init__.py | datawire/quark | df0058a148b077c0aff535eb6ee382605c556273 | [
"Apache-2.0"
] | 31 | 2015-10-13T22:10:00.000Z | 2020-08-03T02:50:12.000Z | from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function
from builtins import str as unicode
from quark_runtime import *
_lazyImport.plug("org_example_foo_md.org_example_foo_Foo_test_Method")
import quark.reflect
class org_exa... | 27.04878 | 97 | 0.68936 | 297 | 2,218 | 4.717172 | 0.20202 | 0.149893 | 0.194861 | 0.171306 | 0.533904 | 0.422555 | 0.359029 | 0.327623 | 0.327623 | 0.327623 | 0 | 0 | 0.202435 | 2,218 | 81 | 98 | 27.382716 | 0.791973 | 0 | 0 | 0.416667 | 0 | 0 | 0.083859 | 0.045086 | 0 | 0 | 0 | 0 | 0 | 1 | 0.316667 | false | 0.066667 | 0.2 | 0.133333 | 0.716667 | 0.016667 | 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 |
46ac0a724e653ea5dea5269b5eb03811f92574db | 3,715 | py | Python | tests/python_frontend/default_argument_test.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T13:36:34.000Z | 2022-03-11T13:36:34.000Z | tests/python_frontend/default_argument_test.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | null | null | null | tests/python_frontend/default_argument_test.py | Walon1998/dace | 95ddfd3e9a5c654f0f0d66d026e0b64ec0f028a0 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2019-2022 ETH Zurich and the DaCe authors. All rights reserved.
""" Tests for using default arguments (mutable or not) in different contexts. """
import dace
import numpy as np
def test_default_arg():
@dace.program
def tester(arr: dace.float64[20], qmin: float = 0.0):
arr[:] = qmin
my... | 23.512658 | 90 | 0.60969 | 534 | 3,715 | 4.069288 | 0.127341 | 0.073631 | 0.09572 | 0.09572 | 0.846295 | 0.802577 | 0.746434 | 0.734008 | 0.679705 | 0.640589 | 0 | 0.058653 | 0.256528 | 3,715 | 157 | 91 | 23.66242 | 0.728096 | 0.040108 | 0 | 0.681416 | 0 | 0 | 0.002248 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 1 | 0.230089 | false | 0 | 0.017699 | 0 | 0.300885 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3d2bf78b5cf9c424431ea5bfbc3e6e6c5152b4f | 125,949 | py | Python | tests/python_client/testcases/test_collection.py | BearerPipelineTest/milvus | 0a953948afe3d491f0b3b2d54de21885194f7136 | [
"Apache-2.0"
] | null | null | null | tests/python_client/testcases/test_collection.py | BearerPipelineTest/milvus | 0a953948afe3d491f0b3b2d54de21885194f7136 | [
"Apache-2.0"
] | 38 | 2021-11-22T11:15:27.000Z | 2022-03-30T08:14:12.000Z | tests/python_client/testcases/test_collection.py | BearerPipelineTest/milvus | 0a953948afe3d491f0b3b2d54de21885194f7136 | [
"Apache-2.0"
] | 2 | 2021-11-22T11:09:33.000Z | 2021-11-25T07:08:18.000Z | from functools import reduce
import numpy
import pandas as pd
import pytest
from base.client_base import TestcaseBase
from common import common_func as cf
from common import common_type as ct
from common.common_type import CaseLabel, CheckTasks
from utils.util_pymilvus import *
from utils.util_log import test_log as ... | 46.441372 | 131 | 0.638766 | 15,393 | 125,949 | 4.939843 | 0.030793 | 0.016768 | 0.026513 | 0.043557 | 0.847302 | 0.807757 | 0.756796 | 0.734873 | 0.703652 | 0.665027 | 0 | 0.009672 | 0.269419 | 125,949 | 2,711 | 132 | 46.458502 | 0.816695 | 0.187576 | 0 | 0.653893 | 0 | 0.014599 | 0.055027 | 0.002891 | 0 | 0 | 0 | 0.001107 | 0.054745 | 1 | 0.096715 | false | 0.002433 | 0.006083 | 0.000608 | 0.114355 | 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 |
3133810a202022e101c58a251727c0d364de71b3 | 118 | py | Python | mtools/mlogmerge/mlogmerge.py | gianpaj/mtools | 023135cb95a20ebe77d744d4ae732cb503058e8e | [
"Apache-2.0"
] | null | null | null | mtools/mlogmerge/mlogmerge.py | gianpaj/mtools | 023135cb95a20ebe77d744d4ae732cb503058e8e | [
"Apache-2.0"
] | null | null | null | mtools/mlogmerge/mlogmerge.py | gianpaj/mtools | 023135cb95a20ebe77d744d4ae732cb503058e8e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
print "deprecated since version 1.1.0 of mtools. Use 'mlogfilter <logfile> <logfile> ...' instead." | 39.333333 | 99 | 0.711864 | 17 | 118 | 4.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028846 | 0.118644 | 118 | 3 | 99 | 39.333333 | 0.778846 | 0.135593 | 0 | 0 | 0 | 1 | 0.892157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3196c078e64da6443b77276706da48ccdf3e4fdc | 12,840 | py | Python | spkrepo/tests/test_admin.py | publicarray/spkrepo | 0e919074320d51c1012c16f8449e35d820bab5eb | [
"MIT"
] | 1 | 2019-11-04T10:52:57.000Z | 2019-11-04T10:52:57.000Z | spkrepo/tests/test_admin.py | publicarray/spkrepo | 0e919074320d51c1012c16f8449e35d820bab5eb | [
"MIT"
] | 3 | 2018-02-17T07:13:02.000Z | 2021-06-23T20:15:56.000Z | spkrepo/tests/test_admin.py | ymartin59/spkrepo | 3e3268007e266f0ea1869251ffbac32e916873b5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
from unittest import TestLoader, TestSuite
from flask import current_app, url_for
from spkrepo.ext import db
from spkrepo.models import Package, Version
from spkrepo.tests.common import (
BaseTestCase,
BuildFactory,
PackageFactory,
VersionFactory,
create_image,
)
... | 37.002882 | 87 | 0.613941 | 1,430 | 12,840 | 5.346154 | 0.082517 | 0.035317 | 0.065925 | 0.084761 | 0.819097 | 0.803401 | 0.776586 | 0.752387 | 0.742577 | 0.726357 | 0 | 0.017479 | 0.264798 | 12,840 | 346 | 88 | 37.109827 | 0.792373 | 0.001636 | 0 | 0.593857 | 0 | 0 | 0.112507 | 0.009909 | 0 | 0 | 0 | 0 | 0.249147 | 1 | 0.150171 | false | 0 | 0.020478 | 0 | 0.194539 | 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 |
31a90a6a625c2c0c464cf70d29f82beb00ae4aa4 | 179 | py | Python | datasets/__init__.py | rootadminWalker/autoencoder-siamese-experiments | 4f3584dea08eefe70dc3383a09a7baf5d2588f00 | [
"MIT"
] | null | null | null | datasets/__init__.py | rootadminWalker/autoencoder-siamese-experiments | 4f3584dea08eefe70dc3383a09a7baf5d2588f00 | [
"MIT"
] | null | null | null | datasets/__init__.py | rootadminWalker/autoencoder-siamese-experiments | 4f3584dea08eefe70dc3383a09a7baf5d2588f00 | [
"MIT"
] | null | null | null | from .MNISTSiamese import SiameseMNISTLoader
from .MNISTTriplet import TripletMNISTLoader
from .Market1501TripletDataset import TripletMarket1501Dataset, SiameseMarket1501Dataset
| 44.75 | 88 | 0.905028 | 13 | 179 | 12.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 0.072626 | 179 | 3 | 89 | 59.666667 | 0.903614 | 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 |
31be472f8fc01904158ade9794ecb58060e77743 | 194 | py | Python | Data Structure/Binary Tree/437. Path Sum III.py | smsubham/Data-Structure-Algorithms-Questions | 45da68231907068ef4e4a0444ffdac69b337fa7c | [
"Apache-2.0"
] | null | null | null | Data Structure/Binary Tree/437. Path Sum III.py | smsubham/Data-Structure-Algorithms-Questions | 45da68231907068ef4e4a0444ffdac69b337fa7c | [
"Apache-2.0"
] | null | null | null | Data Structure/Binary Tree/437. Path Sum III.py | smsubham/Data-Structure-Algorithms-Questions | 45da68231907068ef4e4a0444ffdac69b337fa7c | [
"Apache-2.0"
] | null | null | null | # https://leetcode.com/problems/path-sum-iii/
# https://leetcode.com/problems/path-sum-iii/discuss/141424/Python-step-by-step-walk-through.-Easy-to-understand.-Two-solutions-comparison.-%3A-)
| 38.8 | 145 | 0.762887 | 29 | 194 | 5.103448 | 0.724138 | 0.175676 | 0.216216 | 0.324324 | 0.459459 | 0.459459 | 0.459459 | 0 | 0 | 0 | 0 | 0.037234 | 0.030928 | 194 | 4 | 146 | 48.5 | 0.75 | 0.963918 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31e2fb5035fc4e073d58e7c5cd50ec240395549c | 147 | py | Python | core/contexts/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | 3 | 2017-10-28T11:28:38.000Z | 2018-09-12T09:47:00.000Z | core/contexts/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | core/contexts/__init__.py | ChrisLR/BasicDungeonRL | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | [
"MIT"
] | null | null | null | from core.contexts.action import Action, TwoTargetAction, MultipleTargetAction
from core.contexts.combat import Combat, RangedCombat, WeaponCombat
| 49 | 78 | 0.863946 | 16 | 147 | 7.9375 | 0.625 | 0.125984 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 147 | 2 | 79 | 73.5 | 0.940741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9edc3750bd7b71d1ec103520603f8aebe80fa289 | 160 | py | Python | main/admin.py | WorkShoft/IkeaScraper | f4f61e765c0978cbdab4128e8f389f6f01183725 | [
"Apache-2.0"
] | 1 | 2020-07-10T04:17:27.000Z | 2020-07-10T04:17:27.000Z | main/admin.py | WorkShoft/IkeaScraper | f4f61e765c0978cbdab4128e8f389f6f01183725 | [
"Apache-2.0"
] | 3 | 2021-03-30T13:51:37.000Z | 2021-06-10T19:42:39.000Z | main/admin.py | WorkShoft/ikeascraper | f4f61e765c0978cbdab4128e8f389f6f01183725 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import SofaType, Sofa, Color
admin.site.register(SofaType)
admin.site.register(Sofa)
admin.site.register(Color)
| 20 | 41 | 0.80625 | 23 | 160 | 5.608696 | 0.478261 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 160 | 7 | 42 | 22.857143 | 0.889655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9ee84256e120880e6190ee612ad891558c8415e1 | 36 | py | Python | rlgym_compat/__init__.py | VirxEC/rlgym-compat | db7b0a41492dcbb1aaa2dbfa5385dae3b9e10558 | [
"Apache-2.0"
] | 1 | 2021-10-18T15:54:44.000Z | 2021-10-18T15:54:44.000Z | rlgym_compat/__init__.py | VirxEC/rlgym-compat | db7b0a41492dcbb1aaa2dbfa5385dae3b9e10558 | [
"Apache-2.0"
] | null | null | null | rlgym_compat/__init__.py | VirxEC/rlgym-compat | db7b0a41492dcbb1aaa2dbfa5385dae3b9e10558 | [
"Apache-2.0"
] | null | null | null | from .obs_builders import ObsBuilder | 36 | 36 | 0.888889 | 5 | 36 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9eeb374901fdb36c7816bb87a233c6acc8f6d31c | 49 | py | Python | pong/__init__.py | abhishekchandra2522k/PongPong | e3fe4419dfaa91676f4118dd3f9c9ddd651e6592 | [
"MIT"
] | null | null | null | pong/__init__.py | abhishekchandra2522k/PongPong | e3fe4419dfaa91676f4118dd3f9c9ddd651e6592 | [
"MIT"
] | null | null | null | pong/__init__.py | abhishekchandra2522k/PongPong | e3fe4419dfaa91676f4118dd3f9c9ddd651e6592 | [
"MIT"
] | null | null | null | from . import rectangle, ball ,load, paddle, util | 49 | 49 | 0.755102 | 7 | 49 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 1 | 49 | 49 | 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 |
731246bc0ade7b3ecc3ab0d68d871f7944b82570 | 446 | py | Python | db/validators/__init__.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 1 | 2022-03-03T09:55:57.000Z | 2022-03-03T09:55:57.000Z | db/validators/__init__.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | 7 | 2022-02-09T10:44:53.000Z | 2022-03-28T03:29:43.000Z | db/validators/__init__.py | matchd-ch/matchd-backend | 84be4aab1b4708cae50a8988301b15df877c8db0 | [
"Apache-2.0"
] | null | null | null | from .password import PasswordValidator
from .nickname import NicknameValidator
from .student_profile import ProfileFormStepValidator
from .student_type import StudentTypeValidator
from .company_type import CompanyTypeValidator
from .attachment import AttachmentKeyValidator, AttachmentKeyNumFilesValidator, AttachmentFi... | 49.555556 | 103 | 0.901345 | 39 | 446 | 10.179487 | 0.564103 | 0.055416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076233 | 446 | 8 | 104 | 55.75 | 0.963592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 1 | 0 | 1 | 0 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
731296ed03172b1422886eb0e43c43fc0c6a150e | 6,050 | py | Python | insights/tests/client/apps/test_compliance.py | akshay196/insights-core | 598865e6563119089c77152599300de38a77c72c | [
"Apache-2.0"
] | null | null | null | insights/tests/client/apps/test_compliance.py | akshay196/insights-core | 598865e6563119089c77152599300de38a77c72c | [
"Apache-2.0"
] | null | null | null | insights/tests/client/apps/test_compliance.py | akshay196/insights-core | 598865e6563119089c77152599300de38a77c72c | [
"Apache-2.0"
] | null | null | null | # -*- coding: UTF-8 -*-
from insights.client.apps.compliance import ComplianceClient, COMPLIANCE_CONTENT_TYPE
from mock.mock import patch, Mock
from pytest import raises
import os
PATH = '/usr/share/xml/scap/ref_id.xml'
@patch("insights.client.apps.compliance.ComplianceClient._assert_oscap_rpms_exist")
@patch("insi... | 48.015873 | 155 | 0.755372 | 769 | 6,050 | 5.697009 | 0.145644 | 0.17165 | 0.086738 | 0.068478 | 0.828806 | 0.808948 | 0.800502 | 0.749829 | 0.749829 | 0.709427 | 0 | 0.004245 | 0.104463 | 6,050 | 125 | 156 | 48.4 | 0.804356 | 0.003471 | 0 | 0.612245 | 0 | 0 | 0.26149 | 0.167911 | 0 | 0 | 0 | 0 | 0.153061 | 1 | 0.122449 | false | 0 | 0.040816 | 0 | 0.163265 | 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 |
b42228818bba9221c1e9f0ba8d164f65da2dbe18 | 4,422 | py | Python | tests/SphereVoxelization_fft.py | SyedZiaul/freud | 04bcf9b3bcf45c14b05872205eb16205b2dbcf60 | [
"BSD-3-Clause"
] | 172 | 2018-11-24T03:07:53.000Z | 2022-02-24T17:18:15.000Z | tests/SphereVoxelization_fft.py | SyedZiaul/freud | 04bcf9b3bcf45c14b05872205eb16205b2dbcf60 | [
"BSD-3-Clause"
] | 631 | 2019-01-23T17:49:33.000Z | 2022-03-28T19:46:36.000Z | tests/SphereVoxelization_fft.py | SyedZiaul/freud | 04bcf9b3bcf45c14b05872205eb16205b2dbcf60 | [
"BSD-3-Clause"
] | 30 | 2019-07-24T07:57:06.000Z | 2022-02-25T10:58:19.000Z | import numpy as np
def compute_3d(box_size, width, points, r_max, periodic=True):
"""
Does voxelization by doing an aperiodic fft of the sphere over the
points on the grid in 3 dimensions
Args:
box_size (float):
Length of the (assuemd cubic) box for the calculation.
width ... | 33.755725 | 83 | 0.634555 | 727 | 4,422 | 3.708391 | 0.188446 | 0.044139 | 0.035608 | 0.041543 | 0.871662 | 0.871662 | 0.847923 | 0.816395 | 0.776335 | 0.776335 | 0 | 0.013763 | 0.277024 | 4,422 | 130 | 84 | 34.015385 | 0.829528 | 0.426504 | 0 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096154 | false | 0 | 0.019231 | 0 | 0.211538 | 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 |
b43ad4a93ba062796f32f17c8701b2575efac3ab | 40 | py | Python | src/optimizers/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | 8 | 2021-11-13T19:21:36.000Z | 2021-12-14T15:00:16.000Z | src/optimizers/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | 6 | 2021-11-11T13:05:21.000Z | 2021-12-13T09:59:05.000Z | src/optimizers/__init__.py | data-sachez-2511/pl_classification | 637b85c58d723925ae4d3fce08db2842786c750a | [
"MIT"
] | null | null | null | from optimizers.wrapper import Optimizer | 40 | 40 | 0.9 | 5 | 40 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b47d94737bf53015aad85566fbe131b6aeb7f51c | 37 | py | Python | spec/example/quux.py | joe81/rak | 21a64636b40ebd5dbf81b9cc451ac6fa2999ebd7 | [
"MIT",
"Unlicense"
] | 13 | 2015-07-24T01:32:59.000Z | 2021-12-30T02:47:27.000Z | spec/example/quux.py | joe81/rak | 21a64636b40ebd5dbf81b9cc451ac6fa2999ebd7 | [
"MIT",
"Unlicense"
] | 2 | 2016-05-11T12:31:53.000Z | 2017-06-02T21:04:07.000Z | spec/example/quux.py | joe81/rak | 21a64636b40ebd5dbf81b9cc451ac6fa2999ebd7 | [
"MIT",
"Unlicense"
] | 3 | 2015-04-03T19:17:22.000Z | 2016-09-09T07:02:12.000Z | quux quux quux quux Virgon quux quux
| 18.5 | 36 | 0.810811 | 7 | 37 | 4.285714 | 0.285714 | 1.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c335e4ad9b4828d20d1cf5c12d6e27f316b170e8 | 57 | py | Python | extra_tests/snippets/os_info.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 11,058 | 2018-05-29T07:40:06.000Z | 2022-03-31T11:38:42.000Z | extra_tests/snippets/os_info.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 2,105 | 2018-06-01T10:07:16.000Z | 2022-03-31T14:56:42.000Z | extra_tests/snippets/os_info.py | dbrgn/RustPython | 6d371cea8a62d84dbbeec5a53cfd040f45899211 | [
"CC-BY-4.0",
"MIT"
] | 914 | 2018-07-27T09:36:14.000Z | 2022-03-31T19:56:34.000Z | import os
assert os.name == 'posix' or os.name == 'nt'
| 14.25 | 44 | 0.614035 | 10 | 57 | 3.5 | 0.7 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 3 | 45 | 19 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c3440ffb2198f6e2231aef02ad1468cbd269fbc3 | 16,390 | py | Python | app/tests/client_tests/test_handle_compliance_event.py | AirWalk-Digital/airview-api | 1c4ce3569a5e3834d53f937a35ec5d8b0e991cdb | [
"Apache-2.0"
] | 2 | 2021-11-29T13:28:42.000Z | 2021-12-21T14:37:58.000Z | app/tests/client_tests/test_handle_compliance_event.py | AirWalk-Digital/airview-api | 1c4ce3569a5e3834d53f937a35ec5d8b0e991cdb | [
"Apache-2.0"
] | 2 | 2021-11-04T10:24:10.000Z | 2021-11-12T15:16:20.000Z | app/tests/client_tests/test_handle_compliance_event.py | AirWalk-Digital/airview-api | 1c4ce3569a5e3834d53f937a35ec5d8b0e991cdb | [
"Apache-2.0"
] | null | null | null | from airview_api.models import MonitoredResourceState
from tests.client_tests.common import *
from airview_api import app
from airview_api.database import db
from airview_api import models as api_models
from tests.common import client, instance
from tests.factories import *
import requests_mock
from requests_flask_adap... | 31.702128 | 102 | 0.648566 | 1,867 | 16,390 | 5.526513 | 0.098018 | 0.058151 | 0.032564 | 0.036635 | 0.842121 | 0.824094 | 0.811688 | 0.798604 | 0.795794 | 0.787362 | 0 | 0.029 | 0.242587 | 16,390 | 516 | 103 | 31.763566 | 0.802159 | 0.119646 | 0 | 0.676166 | 0 | 0 | 0.160837 | 0.08699 | 0 | 0 | 0 | 0 | 0.126943 | 1 | 0.033679 | false | 0 | 0.028497 | 0 | 0.062176 | 0.002591 | 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 |
c352a0b78b3a600ea736c0d8ee024c88918c850e | 99 | py | Python | app/Todo.py | GuMarYae/penguin_masonite_todos_backend | 870dc8e619cdd4364ea4e10cdec2023c7296c533 | [
"MIT"
] | null | null | null | app/Todo.py | GuMarYae/penguin_masonite_todos_backend | 870dc8e619cdd4364ea4e10cdec2023c7296c533 | [
"MIT"
] | null | null | null | app/Todo.py | GuMarYae/penguin_masonite_todos_backend | 870dc8e619cdd4364ea4e10cdec2023c7296c533 | [
"MIT"
] | null | null | null | """Todo Model."""
from masoniteorm.models import Model
class Todo(Model):
__table__="todos"
| 12.375 | 36 | 0.69697 | 12 | 99 | 5.416667 | 0.75 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 7 | 37 | 14.142857 | 0.783133 | 0.111111 | 0 | 0 | 0 | 0 | 0.060976 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c35df5968d3aa5e891533bfa8290dac86be6891a | 124 | py | Python | utilities/prev_projects/DATAFIT/TESTS/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | utilities/prev_projects/DATAFIT/TESTS/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | utilities/prev_projects/DATAFIT/TESTS/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | from .TESTS_models import *
from .TESTS_controllers import *
from .TESTS_configuration import *
from .TESTS_openers import * | 31 | 34 | 0.814516 | 16 | 124 | 6.0625 | 0.4375 | 0.371134 | 0.463918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 4 | 35 | 31 | 0.889908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c37bb922f60efafaccb31e706c9bb0b6c6f74162 | 1,185 | py | Python | expenses_trasker/expenses_tracker/main_app/urls.py | ivailoiliev84/Web_basic_exams_preparation_and_exam | 411cc7b737fc5044029a52bd14a5d75ce79cd39e | [
"MIT"
] | null | null | null | expenses_trasker/expenses_tracker/main_app/urls.py | ivailoiliev84/Web_basic_exams_preparation_and_exam | 411cc7b737fc5044029a52bd14a5d75ce79cd39e | [
"MIT"
] | null | null | null | expenses_trasker/expenses_tracker/main_app/urls.py | ivailoiliev84/Web_basic_exams_preparation_and_exam | 411cc7b737fc5044029a52bd14a5d75ce79cd39e | [
"MIT"
] | null | null | null | from django.urls import path
from expenses_tracker.main_app.views import *
"""urlpatterns = (
path('', home_page, name='home page'),
path('create/', create_expense_page, name='create expense page'),
path('edit/<int:pk>', edit_expense_page, name='edit expense page'),
path('delete<int:pk>', delete_expe... | 35.909091 | 77 | 0.689451 | 155 | 1,185 | 5.090323 | 0.135484 | 0.141952 | 0.114068 | 0.08365 | 0.873257 | 0.873257 | 0.859316 | 0.762991 | 0.762991 | 0.762991 | 0 | 0 | 0.135865 | 1,185 | 32 | 78 | 37.03125 | 0.770508 | 0 | 0 | 0 | 0 | 0 | 0.322169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
5ef0b8096618d25a3a0e3d52e440dc6f76f5ab34 | 11,969 | py | Python | test/test_kripke.py | ocnkr/pycubexr | ca17f0afcb01a0688a08b90949183089433112df | [
"BSD-3-Clause"
] | 5 | 2020-07-11T22:45:41.000Z | 2020-11-20T16:06:26.000Z | test/test_kripke.py | ocnkr/pycubexr | ca17f0afcb01a0688a08b90949183089433112df | [
"BSD-3-Clause"
] | 2 | 2020-07-16T08:54:16.000Z | 2022-03-19T05:24:58.000Z | test/test_kripke.py | ocnkr/pycubexr | ca17f0afcb01a0688a08b90949183089433112df | [
"BSD-3-Clause"
] | 3 | 2020-07-14T14:39:38.000Z | 2022-01-05T07:02:51.000Z | import unittest
from pathlib import Path
from pycubexr import CubexParser
from pycubexr.utils.exceptions import MissingMetricError
class TestMetricValuesKripke(unittest.TestCase):
cubex: CubexParser = None
@classmethod
def setUpClass(cls) -> None:
cubex_file_path = Path("../data/kripke.p8.d2.g32... | 59.845 | 120 | 0.703735 | 1,520 | 11,969 | 5.242763 | 0.145395 | 0.014556 | 0.09035 | 0.070021 | 0.792571 | 0.749655 | 0.739992 | 0.733718 | 0.714895 | 0.714895 | 0 | 0.210058 | 0.202523 | 11,969 | 199 | 121 | 60.145729 | 0.62483 | 0.010694 | 0 | 0.368098 | 0 | 0 | 0.033705 | 0.003463 | 0 | 0 | 0 | 0 | 0.184049 | 1 | 0.177914 | false | 0 | 0.02454 | 0 | 0.220859 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
5ef6578f378caba4b83e04c9cbf1c86e3258587b | 101 | py | Python | CodeHS/Creating and Altering Data Structures/DivingContest.py | Kev-in123/ICS2O7 | 425c59975d4ce6aa0937fd8715b51d04487e4fa9 | [
"MIT"
] | 2 | 2021-08-10T18:16:08.000Z | 2021-09-26T19:49:26.000Z | CodeHS/Creating and Altering Data Structures/DivingContest.py | Kev-in123/ICS2O7 | 425c59975d4ce6aa0937fd8715b51d04487e4fa9 | [
"MIT"
] | null | null | null | CodeHS/Creating and Altering Data Structures/DivingContest.py | Kev-in123/ICS2O7 | 425c59975d4ce6aa0937fd8715b51d04487e4fa9 | [
"MIT"
] | null | null | null | def calculate_score (judges_scores):
return judges_scores[0]+judges_scores[1]+judges_scores[2] | 33.666667 | 61 | 0.782178 | 15 | 101 | 4.933333 | 0.6 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.108911 | 101 | 3 | 61 | 33.666667 | 0.788889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 |
6f0f35d579c9066f25dd5b242cd614ac8ac84562 | 19 | py | Python | examples/pow/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/pow/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/pow/ex2.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print(pow(10, -2))
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.105263 | 19 | 1 | 19 | 19 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6f459588d169f229475293054371fc4404d9ebc9 | 53 | py | Python | config_script.py | ethanabrooks/oyster | 08b758b15ca19c50c43a137cba733b79be55654a | [
"MIT"
] | null | null | null | config_script.py | ethanabrooks/oyster | 08b758b15ca19c50c43a137cba733b79be55654a | [
"MIT"
] | null | null | null | config_script.py | ethanabrooks/oyster | 08b758b15ca19c50c43a137cba733b79be55654a | [
"MIT"
] | null | null | null | #! /usr/bin/env python3.8
print("--log-dir=LOG_DIR")
| 17.666667 | 26 | 0.660377 | 10 | 53 | 3.4 | 0.8 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.075472 | 53 | 2 | 27 | 26.5 | 0.653061 | 0.45283 | 0 | 0 | 0 | 0 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d2d0fe49db2b34180fa25c6e1b45c2a875f14c07 | 8,353 | py | Python | pccm/targets/cuda.py | FindDefinition/PCCM | fa0cc4e41f886f288bbacf92cea1625d927a54ad | [
"MIT"
] | 3 | 2021-10-21T06:26:46.000Z | 2022-03-10T11:14:40.000Z | pccm/targets/cuda.py | FindDefinition/PCCM | fa0cc4e41f886f288bbacf92cea1625d927a54ad | [
"MIT"
] | 1 | 2021-09-13T02:25:05.000Z | 2021-09-13T02:27:50.000Z | pccm/targets/cuda.py | FindDefinition/PCCM | fa0cc4e41f886f288bbacf92cea1625d927a54ad | [
"MIT"
] | null | null | null | import contextlib
import enum
from typing import Dict, List, Optional, Set, Tuple, Union
from ccimport import compat
from pccm.core import (Argument, ConstructorMeta, DestructorMeta,
ExternalFunctionMeta, FunctionCode, MemberFunctionMeta,
StaticMemberFunctionMeta, markers... | 40.158654 | 81 | 0.511912 | 757 | 8,353 | 5.34214 | 0.122853 | 0.059347 | 0.085312 | 0.067507 | 0.757418 | 0.740356 | 0.724777 | 0.715628 | 0.706726 | 0.706726 | 0 | 0.000819 | 0.4153 | 8,353 | 207 | 82 | 40.352657 | 0.827191 | 0 | 0 | 0.782609 | 0 | 0 | 0.048486 | 0.002514 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.054348 | false | 0 | 0.032609 | 0.027174 | 0.168478 | 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 |
d2daae0de32e8806ef9e4076b7077caef6c07fac | 299 | py | Python | unittest/person.py | MahanBi/python-tests | b7d8b8a1b6176bd991bd81fdc357203abc6c5288 | [
"Apache-2.0"
] | null | null | null | unittest/person.py | MahanBi/python-tests | b7d8b8a1b6176bd991bd81fdc357203abc6c5288 | [
"Apache-2.0"
] | null | null | null | unittest/person.py | MahanBi/python-tests | b7d8b8a1b6176bd991bd81fdc357203abc6c5288 | [
"Apache-2.0"
] | null | null | null | class person:
def __init__(self, first_name, last_name):
self.first_name = first_name
self.last_name = last_name
def fullname(self):
return f"{self.first_name} {self.last_name}"
def email(self):
return f"{self.first_name}{self.last_name}@gmail.com"
| 27.181818 | 61 | 0.648829 | 43 | 299 | 4.186047 | 0.325581 | 0.25 | 0.288889 | 0.283333 | 0.516667 | 0.4 | 0.4 | 0.4 | 0.4 | 0 | 0 | 0 | 0.237458 | 299 | 10 | 62 | 29.9 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.257525 | 0.143813 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.75 | 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 |
d2f36e2e3afc35b1fc3093ca3b2fefb4d7039d72 | 62 | py | Python | datasets/__init__.py | msr-fiddle/folded-cnns | c87ac633b0b700f6085018f1aeb2c3ca615d73bf | [
"MIT"
] | 2 | 2021-08-30T05:55:39.000Z | 2021-10-04T17:31:06.000Z | datasets/__init__.py | msr-fiddle/folded-cnns | c87ac633b0b700f6085018f1aeb2c3ca615d73bf | [
"MIT"
] | null | null | null | datasets/__init__.py | msr-fiddle/folded-cnns | c87ac633b0b700f6085018f1aeb2c3ca615d73bf | [
"MIT"
] | null | null | null | import datasets.distilled
import datasets.subset_image_folder
| 20.666667 | 35 | 0.903226 | 8 | 62 | 6.75 | 0.75 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 62 | 2 | 36 | 31 | 0.931034 | 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 |
d2fc504a61ce966b545fd4c3bd0be40acf497261 | 6,299 | py | Python | src/tests/TestNoteName.py | ytyaru/Python.MusicTheory.Pitch.Key.i18n.201709181544 | 606030e3c86ccf4302b5fcef1b1ba36207ded999 | [
"CC0-1.0"
] | null | null | null | src/tests/TestNoteName.py | ytyaru/Python.MusicTheory.Pitch.Key.i18n.201709181544 | 606030e3c86ccf4302b5fcef1b1ba36207ded999 | [
"CC0-1.0"
] | null | null | null | src/tests/TestNoteName.py | ytyaru/Python.MusicTheory.Pitch.Key.i18n.201709181544 | 606030e3c86ccf4302b5fcef1b1ba36207ded999 | [
"CC0-1.0"
] | null | null | null | #!python3.6
import unittest
from MusicTheory.pitch.NoteName import NoteName
from MusicTheory.pitch.NoteNumber import NoteNumber
from MusicTheory.pitch.Key import Key
from MusicTheory.pitch.PitchClass import PitchClass
import Framework.ConstMeta
"""
NoteNameのテスト。
"""
class TestNoteName(unittest.TestCase):
def test_G... | 48.829457 | 110 | 0.610414 | 740 | 6,299 | 5.140541 | 0.117568 | 0.089642 | 0.068349 | 0.047844 | 0.869611 | 0.841483 | 0.782072 | 0.782072 | 0.756046 | 0.755521 | 0 | 0.02173 | 0.254802 | 6,299 | 128 | 111 | 49.210938 | 0.787388 | 0.001588 | 0 | 0.567568 | 0 | 0 | 0.098931 | 0.067177 | 0 | 0 | 0 | 0 | 0.396396 | 1 | 0.108108 | false | 0 | 0.054054 | 0 | 0.171171 | 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 |
8248e116b3c71914668178132869ccf3d3599f33 | 31,154 | py | Python | tests/licensedcode/test_index.py | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2 | 2021-04-08T07:04:55.000Z | 2021-05-14T04:20:33.000Z | tests/licensedcode/test_index.py | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | tests/licensedcode/test_index.py | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | #
# Copyright (c) nexB Inc. and others. All rights reserved.
# ScanCode is a trademark of nexB Inc.
# SPDX-License-Identifier: Apache-2.0
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
# See https://github.com/nexB/scancode-toolkit for support or download.
# See https://aboutcode.org for more in... | 44.761494 | 158 | 0.612634 | 4,158 | 31,154 | 4.491823 | 0.098365 | 0.006211 | 0.012957 | 0.016277 | 0.808642 | 0.791615 | 0.777427 | 0.762221 | 0.748835 | 0.726776 | 0 | 0.014228 | 0.289369 | 31,154 | 695 | 159 | 44.825899 | 0.829396 | 0.038679 | 0 | 0.555957 | 0 | 0.00361 | 0.43863 | 0.006917 | 0 | 0 | 0 | 0 | 0.128159 | 1 | 0.045126 | false | 0 | 0.018051 | 0.001805 | 0.083032 | 0.001805 | 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 |
82a9a6beea9ff2c4324cd8f23199253668d656c9 | 194 | py | Python | backtracking/bits_clean.py | massimo-nocentini/PhD-thesis | f30ec2cb9cdf1e93532935448c3438700b9fcbba | [
"MIT"
] | null | null | null | backtracking/bits_clean.py | massimo-nocentini/PhD-thesis | f30ec2cb9cdf1e93532935448c3438700b9fcbba | [
"MIT"
] | null | null | null | backtracking/bits_clean.py | massimo-nocentini/PhD-thesis | f30ec2cb9cdf1e93532935448c3438700b9fcbba | [
"MIT"
] | null | null | null | def is_on(S, j):
return (S & (1 << j)) >> j
def set_all(n):
return (1 << n) - 1
def low_bit(S):
return (S & (-S)).bit_length() - 1
def clear_bit(S, j):
return S & ~(1 << j)
| 16.166667 | 38 | 0.479381 | 37 | 194 | 2.378378 | 0.378378 | 0.238636 | 0.181818 | 0.204545 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0.293814 | 194 | 11 | 39 | 17.636364 | 0.605839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
82ddaf16dcdb53c2818baf1b0b9729f88771b6ee | 846 | py | Python | src/tf_transformers/utils/__init__.py | ashishpatel26/tf-transformers | 2a1128247898f6222544ecda0f1bcea9b0576ce2 | [
"Apache-2.0"
] | 2 | 2021-03-31T17:48:16.000Z | 2021-08-22T11:52:19.000Z | src/tf_transformers/utils/__init__.py | ashishpatel26/tf-transformers | 2a1128247898f6222544ecda0f1bcea9b0576ce2 | [
"Apache-2.0"
] | null | null | null | src/tf_transformers/utils/__init__.py | ashishpatel26/tf-transformers | 2a1128247898f6222544ecda0f1bcea9b0576ce2 | [
"Apache-2.0"
] | null | null | null | from tf_transformers.utils.convert.convert_albert import \
convert_albert_hf_to_tf_transformers
from tf_transformers.utils.convert.convert_bert import \
convert_bert_hf_to_tf_transformers
from tf_transformers.utils.convert.convert_gpt2 import \
convert_gpt2_hf_to_tf_transformers
from tf_transformers.utils.c... | 49.764706 | 71 | 0.830969 | 116 | 846 | 5.594828 | 0.215517 | 0.323575 | 0.249615 | 0.318952 | 0.543914 | 0.543914 | 0.486903 | 0.486903 | 0.423729 | 0.423729 | 0 | 0.008141 | 0.128842 | 846 | 16 | 72 | 52.875 | 0.872456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5625 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d8fc1f000b070c202b53e0fdcc61bb494451e61 | 138 | py | Python | index_based/metrics.py | paulsbrookes/subcipher | 80a8ffe1753af542e76b62080d891a0a982d8d99 | [
"Apache-2.0"
] | null | null | null | index_based/metrics.py | paulsbrookes/subcipher | 80a8ffe1753af542e76b62080d891a0a982d8d99 | [
"Apache-2.0"
] | null | null | null | index_based/metrics.py | paulsbrookes/subcipher | 80a8ffe1753af542e76b62080d891a0a982d8d99 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def pair_metric(rates, natural_rates):
metric = -np.sum(rates.rates*(natural_rates.rates+1e-8))
return metric
| 23 | 60 | 0.731884 | 22 | 138 | 4.454545 | 0.590909 | 0.244898 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0.152174 | 138 | 5 | 61 | 27.6 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
81a36d115a4d5e5854f0257244afe4e9509a9e13 | 183 | py | Python | tests/test_module.py | willrayeo/sentinel3-olci | c4fa8a831c1b229ea38c8067a2bca6d0dadc47e3 | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | willrayeo/sentinel3-olci | c4fa8a831c1b229ea38c8067a2bca6d0dadc47e3 | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | willrayeo/sentinel3-olci | c4fa8a831c1b229ea38c8067a2bca6d0dadc47e3 | [
"Apache-2.0"
] | null | null | null | import unittest
import stactools.sentinel3_olci
class TestModule(unittest.TestCase):
def test_version(self):
self.assertIsNotNone(stactools.sentinel3_olci.__version__)
| 20.333333 | 66 | 0.797814 | 20 | 183 | 6.95 | 0.65 | 0.258993 | 0.316547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.131148 | 183 | 8 | 67 | 22.875 | 0.861635 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81b43fba13edd53c7e45ee1c6394cf32849bed3f | 86 | py | Python | tests/test_expr.py | eltonn/toki | 22efd9ce84414380904e3a5ac84e84de9bdb5bce | [
"Apache-2.0"
] | 1 | 2020-04-27T11:55:25.000Z | 2020-04-27T11:55:25.000Z | tests/test_expr.py | eltonn/toki | 22efd9ce84414380904e3a5ac84e84de9bdb5bce | [
"Apache-2.0"
] | 7 | 2020-05-29T23:22:21.000Z | 2020-11-30T20:49:37.000Z | tests/test_expr.py | eltonn/toki | 22efd9ce84414380904e3a5ac84e84de9bdb5bce | [
"Apache-2.0"
] | 1 | 2020-04-29T21:59:25.000Z | 2020-04-29T21:59:25.000Z | from .backend_example import TokiExample
def test_expr_compile():
TokiExample()
| 14.333333 | 40 | 0.77907 | 10 | 86 | 6.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 5 | 41 | 17.2 | 0.876712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4932b6221e1508d169ca8049c405ae85a3280b2 | 26 | py | Python | nama/ayya1.py | Ghani280706/introducing-yourself | 64a0931e147d115f08e0a50c882d7af3fc9cfe61 | [
"Unlicense"
] | 6 | 2021-10-03T14:17:05.000Z | 2021-11-22T07:12:39.000Z | nama/ayya1.py | Ghani280706/introducing-yourself | 64a0931e147d115f08e0a50c882d7af3fc9cfe61 | [
"Unlicense"
] | null | null | null | nama/ayya1.py | Ghani280706/introducing-yourself | 64a0931e147d115f08e0a50c882d7af3fc9cfe61 | [
"Unlicense"
] | 34 | 2021-10-03T00:47:02.000Z | 2021-11-22T07:07:32.000Z | print('Vitria Widiasari')
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c4aab8e5cf3034e049d2ea7c10cc361517a58fe8 | 18 | py | Python | odoo-13.0/odoo/addons/base/controllers/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 12 | 2021-03-26T08:39:40.000Z | 2022-03-16T02:20:10.000Z | odoo-13.0/odoo/addons/base/controllers/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 13 | 2020-12-20T16:00:21.000Z | 2022-03-14T14:55:30.000Z | odoo-13.0/odoo/addons/base/controllers/__init__.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 17 | 2020-08-31T11:18:49.000Z | 2022-02-09T05:57:31.000Z | from . import rpc
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4afee0cda7608a7e157098fe9e7b9028a07846d | 15,264 | py | Python | library/sources/core/yepCore_Add_Haswell.py | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | 1 | 2020-11-07T13:33:14.000Z | 2020-11-07T13:33:14.000Z | library/sources/core/yepCore_Add_Haswell.py | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | null | null | null | library/sources/core/yepCore_Add_Haswell.py | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | null | null | null | from peachpy.x86_64 import *
from peachpy import *
from kernels.binop.binop_VV_V import binop_VV_V
from kernels.binop.binop_VS_V import binop_VS_V
from kernels.binop.binop_IVV_IV import binop_IVV_IV
from kernels.add.add_IVS_IV_generic import add_IVS_IV_generic
from common.YepStatus import *
# =========================... | 37.048544 | 75 | 0.654678 | 2,268 | 15,264 | 4.090829 | 0.044092 | 0.046562 | 0.054322 | 0.062082 | 0.922828 | 0.916254 | 0.910541 | 0.906338 | 0.903535 | 0.903535 | 0 | 0.048153 | 0.134696 | 15,264 | 411 | 76 | 37.138686 | 0.6543 | 0.08222 | 0 | 0.667845 | 0 | 0 | 0.145267 | 0.064627 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024735 | 0 | 0.024735 | 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 |
c4c33f7af14428514aa054ee5db133f96cdac371 | 217 | py | Python | blog/admin.py | FarhadurFahim/HomeLand | 5236f46fd99bcf97cddf7cf222836dff9ed9c305 | [
"MIT"
] | null | null | null | blog/admin.py | FarhadurFahim/HomeLand | 5236f46fd99bcf97cddf7cf222836dff9ed9c305 | [
"MIT"
] | null | null | null | blog/admin.py | FarhadurFahim/HomeLand | 5236f46fd99bcf97cddf7cf222836dff9ed9c305 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post
#from blog.models import UserProfile
from .models import UserProfile
# Register your models here.
admin.site.register(UserProfile)
admin.site.register(Post)
| 21.7 | 36 | 0.815668 | 30 | 217 | 5.9 | 0.433333 | 0.20339 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115207 | 217 | 9 | 37 | 24.111111 | 0.921875 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4c8a02c8583b668071cf0f1e311b28879d853cc | 37 | py | Python | m4/trainers/__init__.py | autoliuweijie/m3py | a4c6209d7266cf226699f73bb6ebb52146856ac1 | [
"MIT"
] | 1 | 2021-07-22T04:58:53.000Z | 2021-07-22T04:58:53.000Z | m4/trainers/__init__.py | autoliuweijie/m3py | a4c6209d7266cf226699f73bb6ebb52146856ac1 | [
"MIT"
] | 2 | 2022-01-30T07:26:48.000Z | 2022-03-16T10:04:06.000Z | m4/trainers/__init__.py | autoliuweijie/m4 | a4c6209d7266cf226699f73bb6ebb52146856ac1 | [
"MIT"
] | null | null | null | from .trainer import FineTuneTrainer
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f2096ca17d2f8c906065ecc571b68d51a6478477 | 204 | py | Python | brew/selection/pruning/base.py | va26/brew | 3531560df785fa44b39094f3ffad83d3b795b15b | [
"MIT"
] | 344 | 2015-10-02T19:35:15.000Z | 2022-03-23T07:18:50.000Z | brew/selection/pruning/base.py | va26/brew | 3531560df785fa44b39094f3ffad83d3b795b15b | [
"MIT"
] | 19 | 2015-03-24T01:26:51.000Z | 2018-07-26T20:11:32.000Z | brew/selection/pruning/base.py | va26/brew | 3531560df785fa44b39094f3ffad83d3b795b15b | [
"MIT"
] | 93 | 2015-03-13T18:23:51.000Z | 2021-12-11T11:14:38.000Z |
class Prunner(object):
def __init__(self):
pass
def fit(self, ensemble, X, y):
return self
def get(self, p=0.1):
return self.ensemble[:int(p * len(self.ensemble))]
| 17 | 58 | 0.573529 | 29 | 204 | 3.896552 | 0.62069 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.289216 | 204 | 11 | 59 | 18.545455 | 0.765517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
1ee95eb48d53e49c3ff1f805687705cc394a170e | 29,006 | py | Python | slac_tf/slac/agents/slac/ablation_model_distribution_network.py | alfaevc/vlRLstack | 6413c9bbed188b1b2365c2d96e76c3764755b9aa | [
"MIT"
] | 147 | 2019-07-02T14:26:04.000Z | 2022-03-12T11:37:51.000Z | slac/agents/slac/ablation_model_distribution_network.py | xinleipan/slac | 58fb526057afb69be626552932fbddae09ae71f8 | [
"MIT"
] | 3 | 2019-09-18T02:02:20.000Z | 2020-02-14T02:35:56.000Z | slac/agents/slac/ablation_model_distribution_network.py | xinleipan/slac | 58fb526057afb69be626552932fbddae09ae71f8 | [
"MIT"
] | 35 | 2019-08-20T12:39:55.000Z | 2022-03-28T02:52:44.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import functools
import gin
import numpy as np
from slac.agents.slac.model_distribution_network import Bernoulli
from slac.agents.slac.model_distribution_network import Compressor
from slac.agents.slac.model_d... | 46.114467 | 162 | 0.712646 | 3,781 | 29,006 | 5.107643 | 0.056334 | 0.005696 | 0.00435 | 0.018641 | 0.874379 | 0.828086 | 0.795153 | 0.759424 | 0.687604 | 0.653117 | 0 | 0.024109 | 0.193477 | 29,006 | 628 | 163 | 46.187898 | 0.801402 | 0.063987 | 0 | 0.719298 | 0 | 0 | 0.016839 | 0.008567 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023392 | false | 0 | 0.031189 | 0.003899 | 0.077973 | 0.001949 | 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 |
4806f2fb8ee152fb015ec64ee13378de9a018814 | 41 | py | Python | src/tests/test_sanity.py | DmytroKaminskiy/ltt | d08df4d102e678651cd42928e2343733c3308d71 | [
"Apache-2.0"
] | null | null | null | src/tests/test_sanity.py | DmytroKaminskiy/ltt | d08df4d102e678651cd42928e2343733c3308d71 | [
"Apache-2.0"
] | null | null | null | src/tests/test_sanity.py | DmytroKaminskiy/ltt | d08df4d102e678651cd42928e2343733c3308d71 | [
"Apache-2.0"
] | null | null | null | def test_sanity():
assert 200 == 200
| 13.666667 | 21 | 0.634146 | 6 | 41 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0.243902 | 41 | 2 | 22 | 20.5 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4809f10c72907ec78d4de831915f882936027b39 | 41,959 | py | Python | tests/test_codebase/test_mmdet/test_mmdet_models.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | null | null | null | tests/test_codebase/test_mmdet/test_mmdet_models.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | null | null | null | tests/test_codebase/test_mmdet/test_mmdet_models.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
import copy
import os
import random
from typing import Dict, List
import mmcv
import numpy as np
import pytest
import torch
from mmdeploy.codebase import import_codebase
from mmdeploy.utils import Backend, Codebase
from mmdeploy.utils.test import (WrapModel, check_backe... | 33.620994 | 79 | 0.582926 | 5,338 | 41,959 | 4.304796 | 0.068565 | 0.030463 | 0.016102 | 0.018495 | 0.806606 | 0.784499 | 0.758736 | 0.737238 | 0.708952 | 0.687367 | 0 | 0.054426 | 0.301556 | 41,959 | 1,247 | 80 | 33.647955 | 0.72968 | 0.0735 | 0 | 0.684363 | 0 | 0 | 0.062749 | 0.002842 | 0 | 0 | 0 | 0 | 0.023166 | 1 | 0.027992 | false | 0 | 0.023166 | 0 | 0.063707 | 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 |
4821710b642b7ec6cb7d4217a235111959b6cbc2 | 119 | py | Python | ghtorrent/__init__.py | eddie-chiang/prca | c74c21034a4fcb785faedc8069470a70a74342e6 | [
"MIT"
] | null | null | null | ghtorrent/__init__.py | eddie-chiang/prca | c74c21034a4fcb785faedc8069470a70a74342e6 | [
"MIT"
] | 40 | 2020-09-01T06:25:35.000Z | 2022-03-01T03:00:59.000Z | ghtorrent/__init__.py | eddie-chiang/prca | c74c21034a4fcb785faedc8069470a70a74342e6 | [
"MIT"
] | null | null | null | from .BigQueryCsvFileProcessor import BigQueryCsvFileProcessor
from .CommentResourceAccess import CommentResourceAccess | 59.5 | 62 | 0.92437 | 8 | 119 | 13.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 119 | 2 | 63 | 59.5 | 0.982143 | 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 |
484ccaec07ddec26944d2f1a9a34af3efeaebe48 | 272 | py | Python | metaworld/metaworld/benchmarks/base.py | prasoongoyal/pixl2r | b0691be6b27e705a62534b58f97ff7b8b6655c7d | [
"MIT"
] | 46 | 2020-12-05T21:40:47.000Z | 2022-03-26T04:15:03.000Z | metaworld/metaworld/benchmarks/base.py | prasoongoyal/pixl2r | b0691be6b27e705a62534b58f97ff7b8b6655c7d | [
"MIT"
] | 12 | 2021-02-02T22:53:59.000Z | 2022-03-12T00:41:30.000Z | metaworld/metaworld/benchmarks/base.py | prasoongoyal/pixl2r | b0691be6b27e705a62534b58f97ff7b8b6655c7d | [
"MIT"
] | 10 | 2021-01-24T14:24:20.000Z | 2022-03-23T17:58:52.000Z |
class Benchmark:
@classmethod
def get_train_tasks(cls, sample_all=False):
return cls(env_type='train', sample_all=sample_all)
@classmethod
def get_test_tasks(cls, sample_all=False):
return cls(env_type='test', sample_all=sample_all)
| 24.727273 | 59 | 0.698529 | 38 | 272 | 4.684211 | 0.394737 | 0.303371 | 0.191011 | 0.191011 | 0.426966 | 0.426966 | 0.426966 | 0.426966 | 0.426966 | 0 | 0 | 0 | 0.202206 | 272 | 10 | 60 | 27.2 | 0.820277 | 0 | 0 | 0.285714 | 0 | 0 | 0.03321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.714286 | 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 |
4862c73741cbf247ad74e6ff91c1564ebb1860d5 | 179 | py | Python | solver/__init__.py | jackie840129/CF-AAN | 2b357bf5823837908f0fe04a22b47deaf9e3da4e | [
"MIT"
] | 16 | 2021-05-31T09:15:55.000Z | 2022-03-04T14:24:54.000Z | solver/__init__.py | jackie840129/CF-AAN | 2b357bf5823837908f0fe04a22b47deaf9e3da4e | [
"MIT"
] | 2 | 2021-06-09T07:15:00.000Z | 2022-03-16T09:42:03.000Z | solver/__init__.py | jackie840129/CF-AAN | 2b357bf5823837908f0fe04a22b47deaf9e3da4e | [
"MIT"
] | 4 | 2021-06-29T04:14:24.000Z | 2022-03-04T14:24:57.000Z | # encoding: utf-8
from .build import make_optimizer, make_optimizer_with_center
from .lr_scheduler import WarmupMultiStepLR
from torch.optim.lr_scheduler import StepLR,MultiStepLR | 44.75 | 61 | 0.865922 | 25 | 179 | 5.96 | 0.68 | 0.174497 | 0.228188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.083799 | 179 | 4 | 62 | 44.75 | 0.902439 | 0.083799 | 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 |
486d6aecf3c90be90c1d322c8088ccd2b9041fc5 | 92 | py | Python | tests/test_skforecast.py | anderitur-cepsa/skforecast | 8ecee6a4493f93d5e44cb5f5ea5020af38ef7659 | [
"CC-BY-4.0"
] | null | null | null | tests/test_skforecast.py | anderitur-cepsa/skforecast | 8ecee6a4493f93d5e44cb5f5ea5020af38ef7659 | [
"CC-BY-4.0"
] | null | null | null | tests/test_skforecast.py | anderitur-cepsa/skforecast | 8ecee6a4493f93d5e44cb5f5ea5020af38ef7659 | [
"CC-BY-4.0"
] | null | null | null | from skforecast import __version__
def test_version():
assert __version__ == '0.1.8.1' | 23 | 36 | 0.728261 | 13 | 92 | 4.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.163043 | 92 | 4 | 36 | 23 | 0.701299 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
486eb967f72924d93f9f6dbc457dae4e8a56b1a1 | 35 | py | Python | dodgy/__main__.py | tirkarthi/dodgy | 403dc2678e27de7c247fbf2201edcfec7670bd3b | [
"MIT"
] | 89 | 2015-01-28T20:47:32.000Z | 2022-03-23T01:54:44.000Z | dodgy/__main__.py | tirkarthi/dodgy | 403dc2678e27de7c247fbf2201edcfec7670bd3b | [
"MIT"
] | 23 | 2015-01-31T10:23:12.000Z | 2021-09-22T09:20:26.000Z | dodgy/__main__.py | tirkarthi/dodgy | 403dc2678e27de7c247fbf2201edcfec7670bd3b | [
"MIT"
] | 22 | 2015-01-05T10:12:42.000Z | 2022-01-13T10:33:48.000Z | import dodgy.run
dodgy.run.main()
| 8.75 | 16 | 0.742857 | 6 | 35 | 4.333333 | 0.666667 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 3 | 17 | 11.666667 | 0.83871 | 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 |
6fb7443cc54c22ce6cdedb7d47264ea79d8246cc | 79,060 | py | Python | weipa/test/python/run_savesilo_tests.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null | weipa/test/python/run_savesilo_tests.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | 1 | 2019-01-14T03:07:43.000Z | 2019-01-14T03:07:43.000Z | weipa/test/python/run_savesilo_tests.py | markendr/esys-escript.github.io | 0023eab09cd71f830ab098cb3a468e6139191e8d | [
"Apache-2.0"
] | null | null | null |
##############################################################################
#
# Copyright (c) 2003-2018 by The University of Queensland
# http://www.uq.edu.au
#
# Primary Business: Queensland, Australia
# Licensed under the Apache License, version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Development unt... | 51.910703 | 110 | 0.612294 | 11,925 | 79,060 | 3.789099 | 0.030776 | 0.023105 | 0.056103 | 0.067279 | 0.896337 | 0.889919 | 0.885028 | 0.884143 | 0.875246 | 0.874759 | 0 | 0.075535 | 0.198394 | 79,060 | 1,522 | 111 | 51.944809 | 0.637444 | 0.030799 | 0 | 0.671053 | 0 | 0 | 0.102986 | 0.02909 | 0 | 0 | 0 | 0.000657 | 0.009868 | 1 | 0.174342 | false | 0 | 0.014803 | 0.001645 | 0.203947 | 0.000822 | 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 |
6ff211584b24dd7bb8fd3ffc7554a1ced831e76f | 7,580 | py | Python | Papadikis-2010/kinetics.py | Lyle-zhang/literature | c1266d326ee8a733e801c23aca89ab34edc09b6e | [
"MIT"
] | 1 | 2020-05-23T15:38:54.000Z | 2020-05-23T15:38:54.000Z | Papadikis-2010/kinetics.py | Lyle-zhang/literature | c1266d326ee8a733e801c23aca89ab34edc09b6e | [
"MIT"
] | null | null | null | Papadikis-2010/kinetics.py | Lyle-zhang/literature | c1266d326ee8a733e801c23aca89ab34edc09b6e | [
"MIT"
] | 1 | 2021-08-14T13:39:25.000Z | 2021-08-14T13:39:25.000Z | """
Kinetic Reaction Scheme Functions for Fast Pyrolysis of Biomass.
Each function is for a particular kinetic scheme.
Reference for each scheme is provided as main author and publication year.
"""
# modules
# -----------------------------------------------------------------------------
import numpy as np
# Sadhukha... | 40.752688 | 79 | 0.475198 | 1,136 | 7,580 | 3.170775 | 0.139965 | 0.027762 | 0.021099 | 0.019989 | 0.827318 | 0.738201 | 0.716269 | 0.700722 | 0.672404 | 0.672404 | 0 | 0.074742 | 0.334565 | 7,580 | 186 | 80 | 40.752688 | 0.639374 | 0.460818 | 0 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.01 | 0 | 0.09 | 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 |
82ef00ff1245d8223c653c27dc24c2a25c2e21a1 | 585 | py | Python | src/the_tale/the_tale/accounts/jinjaglobals.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/accounts/jinjaglobals.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/accounts/jinjaglobals.py | al-arz/the-tale | 542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5 | [
"BSD-3-Clause"
] | null | null | null |
import smart_imports
smart_imports.all()
@utils_jinja2.jinjaglobal
def login_page_url(next_url='/'):
return utils_jinja2.Markup(logic.login_page_url(next_url))
@utils_jinja2.jinjaglobal
def login_url(next_url='/'):
return utils_jinja2.Markup(logic.login_url(next_url))
@utils_jinja2.jinjaglobal
def logou... | 19.5 | 62 | 0.791453 | 81 | 585 | 5.358025 | 0.271605 | 0.228111 | 0.253456 | 0.288018 | 0.730415 | 0.502304 | 0.359447 | 0.198157 | 0.198157 | 0 | 0 | 0.017143 | 0.102564 | 585 | 29 | 63 | 20.172414 | 0.809524 | 0 | 0 | 0.294118 | 0 | 0 | 0.003425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0.294118 | 0.705882 | 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 |
82f6751e314f2754a1a262f0744dbdda133f43c8 | 24 | py | Python | addition_module/DMUE/preprocess/mtcnn/__init__.py | weihaoxie/FaceX-Zoo | db0b087e4f4d28152e172d6c8d3767a8870733b4 | [
"Apache-2.0"
] | 1,329 | 2021-01-13T07:06:30.000Z | 2022-03-31T07:23:39.000Z | addition_module/DMUE/preprocess/mtcnn/__init__.py | weihaoxie/FaceX-Zoo | db0b087e4f4d28152e172d6c8d3767a8870733b4 | [
"Apache-2.0"
] | 115 | 2021-01-13T10:42:57.000Z | 2022-03-28T03:57:52.000Z | addition_module/DMUE/preprocess/mtcnn/__init__.py | weihaoxie/FaceX-Zoo | db0b087e4f4d28152e172d6c8d3767a8870733b4 | [
"Apache-2.0"
] | 351 | 2021-01-13T07:21:00.000Z | 2022-03-29T14:11:39.000Z | from .mtcnn import MTCNN | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d236145a92f67ae103ebd15fe558992900888481 | 167 | py | Python | tests/test_main.py | ronhanson/python-jobmanager-client | b59e3d5e29ee4312ca6c4bfc3c7bc953e2478b37 | [
"MIT"
] | 1 | 2017-05-05T16:07:46.000Z | 2017-05-05T16:07:46.000Z | tests/test_main.py | ronhanson/python-jobmanager-client | b59e3d5e29ee4312ca6c4bfc3c7bc953e2478b37 | [
"MIT"
] | null | null | null | tests/test_main.py | ronhanson/python-jobmanager-client | b59e3d5e29ee4312ca6c4bfc3c7bc953e2478b37 | [
"MIT"
] | null | null | null | import pytest
def f():
raise SystemExit(1)
def test_mytest():
import jobmanager
import jobmanager.client
with pytest.raises(SystemExit):
f()
| 15.181818 | 35 | 0.664671 | 20 | 167 | 5.5 | 0.65 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.245509 | 167 | 10 | 36 | 16.7 | 0.865079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d243641ebdb12d7c64609538757d4cf3ee2bf8d8 | 431 | py | Python | ex108/ex108.py | jefernathan/Python | 2f840a625e8d46d41ab36df07ef50ae15a03c5ab | [
"MIT"
] | null | null | null | ex108/ex108.py | jefernathan/Python | 2f840a625e8d46d41ab36df07ef50ae15a03c5ab | [
"MIT"
] | null | null | null | ex108/ex108.py | jefernathan/Python | 2f840a625e8d46d41ab36df07ef50ae15a03c5ab | [
"MIT"
] | null | null | null | # Adapte o código do desafio #107, criando uma função adicional chamada moeda() que consiga mostrar os números como um valor monetário formatado.
import moeda
n = input('Digite um preço: R$')
print(f'Com 10% de aumento fica {moeda.moeda(moeda.aumentar(n, 10))}')
print(f'Com 10% de desconto fica {moeda.moeda(moeda.dim... | 47.888889 | 145 | 0.728538 | 75 | 431 | 4.186667 | 0.573333 | 0.254777 | 0.191083 | 0.070064 | 0.082803 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029333 | 0.12993 | 431 | 8 | 146 | 53.875 | 0.808 | 0.329466 | 0 | 0 | 0 | 0.2 | 0.77972 | 0.416084 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d2836e1a5330cc77cf15ecb576f0323416feab2e | 111 | py | Python | keris/activations/__init__.py | arrizalamin/keris | d6925cfc5ec918355fcc41351799ef419e233a2c | [
"MIT"
] | 4 | 2018-02-01T00:32:37.000Z | 2018-06-28T07:09:47.000Z | keris/activations/__init__.py | arrizalamin/keris | d6925cfc5ec918355fcc41351799ef419e233a2c | [
"MIT"
] | null | null | null | keris/activations/__init__.py | arrizalamin/keris | d6925cfc5ec918355fcc41351799ef419e233a2c | [
"MIT"
] | 1 | 2018-08-29T23:39:06.000Z | 2018-08-29T23:39:06.000Z | from keris.activations.rectifier import ReLU, LeakyReLU, ELU
from keris.activations.probability import Softmax
| 37 | 60 | 0.855856 | 14 | 111 | 6.785714 | 0.714286 | 0.189474 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 2 | 61 | 55.5 | 0.940594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96364001095e9ce6ed383d5c005ce6e1287795f7 | 111 | py | Python | keras/datasets/boston_housing.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 5 | 2020-11-30T22:26:03.000Z | 2020-12-01T22:34:25.000Z | keras/datasets/boston_housing.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 10 | 2020-12-01T22:55:29.000Z | 2020-12-11T18:31:46.000Z | keras/datasets/boston_housing.py | ikingye/keras | 1a3ee8441933fc007be6b2beb47af67998d50737 | [
"MIT"
] | 15 | 2020-11-30T22:12:22.000Z | 2020-12-09T01:32:48.000Z | """Boston housing price regression dataset."""
from tensorflow.keras.datasets.boston_housing import load_data
| 27.75 | 62 | 0.81982 | 14 | 111 | 6.357143 | 0.857143 | 0.292135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 111 | 3 | 63 | 37 | 0.881188 | 0.36036 | 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 |
96391360bbc5c47eb92026d3da51c1512a345610 | 6,939 | py | Python | django/sso/tests/test_user_roles.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | null | null | null | django/sso/tests/test_user_roles.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | null | null | null | django/sso/tests/test_user_roles.py | ArnaudGallardo/boss | c0d3bbca31575ac5442822b8d7f962def32d9072 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The Johns Hopkins University Applied Physics Laboratory
#
# 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 ... | 42.054545 | 97 | 0.696498 | 874 | 6,939 | 5.300915 | 0.160183 | 0.06648 | 0.074466 | 0.047701 | 0.812648 | 0.812648 | 0.812001 | 0.790417 | 0.780056 | 0.780056 | 0 | 0.007867 | 0.175674 | 6,939 | 164 | 98 | 42.310976 | 0.802098 | 0.100735 | 0 | 0.683168 | 0 | 0 | 0.164765 | 0.11429 | 0 | 0 | 0 | 0 | 0.217822 | 1 | 0.118812 | false | 0 | 0.049505 | 0 | 0.178218 | 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 |
963f1cc3fb1b4180d0392ba99ee6d6e807ae1459 | 12,511 | py | Python | src/datadog/azext_datadog/generated/_params.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 207 | 2017-11-29T06:59:41.000Z | 2022-03-31T10:00:53.000Z | src/datadog/azext_datadog/generated/_params.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 4,061 | 2017-10-27T23:19:56.000Z | 2022-03-31T23:18:30.000Z | src/datadog/azext_datadog/generated/_params.py | haroonf/azure-cli-extensions | 61c044d34c224372f186934fa7c9313f1cd3a525 | [
"MIT"
] | 802 | 2017-10-11T17:36:26.000Z | 2022-03-31T22:24:32.000Z | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 63.831633 | 120 | 0.673967 | 1,604 | 12,511 | 5.068579 | 0.106608 | 0.08524 | 0.094096 | 0.057196 | 0.851907 | 0.839729 | 0.812177 | 0.782042 | 0.773555 | 0.773555 | 0 | 0.000497 | 0.195908 | 12,511 | 195 | 121 | 64.158974 | 0.807654 | 0.040444 | 0 | 0.643312 | 0 | 0 | 0.411073 | 0.014258 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006369 | false | 0.006369 | 0.019108 | 0 | 0.025478 | 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 |
9671859b9a8e653e44bf1b10efec73bfb886ed5b | 233 | py | Python | selection/algorithms/api.py | Xiaoying-Tian/selective-inference | a20c5ad3f527beb709d5b8d7301016640738b092 | [
"BSD-3-Clause"
] | null | null | null | selection/algorithms/api.py | Xiaoying-Tian/selective-inference | a20c5ad3f527beb709d5b8d7301016640738b092 | [
"BSD-3-Clause"
] | null | null | null | selection/algorithms/api.py | Xiaoying-Tian/selective-inference | a20c5ad3f527beb709d5b8d7301016640738b092 | [
"BSD-3-Clause"
] | 1 | 2019-07-13T04:14:12.000Z | 2019-07-13T04:14:12.000Z | from .lasso import lasso, data_carving as data_carving_lasso
from .sqrt_lasso import (sqrt_lasso,
choose_lambda as choose_lambda_sqrt_lasso,
data_carving as data_carving_sqrt_lasso)
| 46.6 | 67 | 0.678112 | 30 | 233 | 4.833333 | 0.3 | 0.303448 | 0.22069 | 0.248276 | 0.4 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291845 | 233 | 4 | 68 | 58.25 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
96b4a51961735d8f06e9a21d565462f9089bb8b6 | 99 | py | Python | inventory/views.py | piiok/ciberc | 0b90c3786aeb817e2e164ade8924d4d12d84a266 | [
"MIT"
] | null | null | null | inventory/views.py | piiok/ciberc | 0b90c3786aeb817e2e164ade8924d4d12d84a266 | [
"MIT"
] | null | null | null | inventory/views.py | piiok/ciberc | 0b90c3786aeb817e2e164ade8924d4d12d84a266 | [
"MIT"
] | null | null | null | from django.shortcuts import redirect
def login_redirect(request):
return redirect('admin/')
| 16.5 | 37 | 0.767677 | 12 | 99 | 6.25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 5 | 38 | 19.8 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
7388428a0b38e68ab96708a740fde5d5044152b0 | 12,780 | py | Python | scikits/odes/tests/test_on_funcs_ida.py | cklb/odes | 945a461754c8155bca88aa83d725f77720a40539 | [
"BSD-3-Clause"
] | 95 | 2015-02-12T15:33:24.000Z | 2022-03-07T12:57:46.000Z | scikits/odes/tests/test_on_funcs_ida.py | cklb/odes | 945a461754c8155bca88aa83d725f77720a40539 | [
"BSD-3-Clause"
] | 89 | 2015-01-22T12:42:26.000Z | 2022-01-09T17:02:49.000Z | scikits/odes/tests/test_on_funcs_ida.py | cklb/odes | 945a461754c8155bca88aa83d725f77720a40539 | [
"BSD-3-Clause"
] | 29 | 2015-01-30T09:20:56.000Z | 2022-02-23T03:50:15.000Z | # Authors: B. Malengier, russel (scipy trac)
from __future__ import print_function
"""
Tests for differential algebraic equation solvers.
Here we test onroot and ontstop
"""
import numpy as np
from numpy import (arange, zeros, array, dot, sqrt, cos, sin, allclose,
empty, alen)
from numpy.testing ... | 39.323077 | 87 | 0.566667 | 1,892 | 12,780 | 3.749471 | 0.12685 | 0.011841 | 0.050747 | 0.033831 | 0.806879 | 0.77784 | 0.77333 | 0.739357 | 0.702988 | 0.666338 | 0 | 0.076338 | 0.300939 | 12,780 | 324 | 88 | 39.444444 | 0.717708 | 0.154538 | 0 | 0.621739 | 0 | 0 | 0.057455 | 0 | 0 | 0 | 0 | 0 | 0.178261 | 1 | 0.1 | false | 0 | 0.030435 | 0 | 0.191304 | 0.004348 | 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 |
739d254024c10f35b9e4147520126a8fb18b9e33 | 105 | py | Python | urls_and_templates/main_app/views.py | nrgxtra/web_basics | 073ccb361af666c9fe2b3fa0b5cf74d721acb1b4 | [
"MIT"
] | null | null | null | urls_and_templates/main_app/views.py | nrgxtra/web_basics | 073ccb361af666c9fe2b3fa0b5cf74d721acb1b4 | [
"MIT"
] | null | null | null | urls_and_templates/main_app/views.py | nrgxtra/web_basics | 073ccb361af666c9fe2b3fa0b5cf74d721acb1b4 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(req):
return render(req, 'main_app/index.html')
| 17.5 | 46 | 0.704762 | 15 | 105 | 4.866667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 105 | 5 | 47 | 21 | 0.858824 | 0 | 0 | 0 | 0 | 0 | 0.19 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
73b62e8b2ee761e369ea8246dfe80069a336e724 | 75 | py | Python | multi-output-glucose-forecasting/lib/__init__.py | LinjianMa/neuralODE-282 | 28d7b520beeeeb773e651110d1faedda6cb835e7 | [
"MIT"
] | null | null | null | multi-output-glucose-forecasting/lib/__init__.py | LinjianMa/neuralODE-282 | 28d7b520beeeeb773e651110d1faedda6cb835e7 | [
"MIT"
] | null | null | null | multi-output-glucose-forecasting/lib/__init__.py | LinjianMa/neuralODE-282 | 28d7b520beeeeb773e651110d1faedda6cb835e7 | [
"MIT"
] | null | null | null | from .glucose_dataset import *
from .trainer import *
from .model import *
| 18.75 | 30 | 0.76 | 10 | 75 | 5.6 | 0.6 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 31 | 25 | 0.888889 | 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 |
73eca7476e43a6541882788ecd71b4711fb40035 | 104 | py | Python | run.py | cygnus-dev/le-hamster | ae60c189076aca133b3717d850e19849400fb0c7 | [
"MIT"
] | null | null | null | run.py | cygnus-dev/le-hamster | ae60c189076aca133b3717d850e19849400fb0c7 | [
"MIT"
] | null | null | null | run.py | cygnus-dev/le-hamster | ae60c189076aca133b3717d850e19849400fb0c7 | [
"MIT"
] | null | null | null | import main
from dotenv import load_dotenv
import os
load_dotenv()
main.ham.run(os.getenv("BOT_TOKEN")) | 17.333333 | 36 | 0.798077 | 18 | 104 | 4.444444 | 0.611111 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 104 | 6 | 36 | 17.333333 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73fdf074009b55eb5f6154788922f341009e547e | 31 | py | Python | mould/__init__.py | ramk95/mould-it | 884db51715587dd79dd08fb09f0fe70e552a09fe | [
"MIT"
] | null | null | null | mould/__init__.py | ramk95/mould-it | 884db51715587dd79dd08fb09f0fe70e552a09fe | [
"MIT"
] | null | null | null | mould/__init__.py | ramk95/mould-it | 884db51715587dd79dd08fb09f0fe70e552a09fe | [
"MIT"
] | null | null | null | from mould._executor import it
| 15.5 | 30 | 0.83871 | 5 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb47ff3ef691dd83fb75a5d3040be83c6d7298fc | 10,102 | py | Python | causalimpact/tests/test_inferences.py | cdutr/causalimpact-1 | 73b4b8f077626ae2999a88f5acf1731cce121407 | [
"Apache-2.0"
] | 152 | 2016-11-02T20:39:43.000Z | 2022-03-30T16:26:30.000Z | causalimpact/tests/test_inferences.py | cdutr/causalimpact-1 | 73b4b8f077626ae2999a88f5acf1731cce121407 | [
"Apache-2.0"
] | 21 | 2016-12-07T16:44:42.000Z | 2022-01-05T12:06:54.000Z | causalimpact/tests/test_inferences.py | cdutr/causalimpact-1 | 73b4b8f077626ae2999a88f5acf1731cce121407 | [
"Apache-2.0"
] | 44 | 2016-10-06T18:59:45.000Z | 2022-03-18T08:45:56.000Z | """Unit Tests for inferences module"""
import pytest
import numpy as np
import pandas as pd
from pandas.testing import assert_series_equal
from statsmodels.tsa.statespace.structural import UnobservedComponents
from statsmodels.tsa.arima_process import ArmaProcess
import causalimpact
compile_posterior = causalimpact... | 26.938667 | 78 | 0.653633 | 1,237 | 10,102 | 4.95958 | 0.088116 | 0.05379 | 0.080359 | 0.114099 | 0.866341 | 0.862755 | 0.843195 | 0.831296 | 0.831296 | 0.831296 | 0 | 0.009197 | 0.235795 | 10,102 | 374 | 79 | 27.010695 | 0.785492 | 0.003168 | 0 | 0.666667 | 0 | 0 | 0.092617 | 0 | 0 | 0 | 0 | 0 | 0.094771 | 1 | 0.009804 | false | 0 | 0.022876 | 0 | 0.035948 | 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 |
fb49122c19d9943f8d4e04362df2ec0fabefd1d0 | 199 | py | Python | sign_app/models.py | ACienZ/DjangoWeb_eiheiheiProject | 0d55637d8c71092279ebde9e1c486560f47b9e1a | [
"MIT"
] | 1 | 2018-06-22T11:13:05.000Z | 2018-06-22T11:13:05.000Z | sign_app/models.py | ACienZ/DjangoWeb_eiheiheiProject | 0d55637d8c71092279ebde9e1c486560f47b9e1a | [
"MIT"
] | null | null | null | sign_app/models.py | ACienZ/DjangoWeb_eiheiheiProject | 0d55637d8c71092279ebde9e1c486560f47b9e1a | [
"MIT"
] | 1 | 2018-06-22T11:14:03.000Z | 2018-06-22T11:14:03.000Z | from django.db import models
# Create your models here.
class UserModel(models.Model):
username=models.CharField(max_length=20,blank=False)
passwd=models.CharField(max_length=20,blank=False) | 33.166667 | 56 | 0.788945 | 29 | 199 | 5.344828 | 0.655172 | 0.193548 | 0.232258 | 0.309677 | 0.464516 | 0.464516 | 0.464516 | 0 | 0 | 0 | 0 | 0.022472 | 0.105528 | 199 | 6 | 57 | 33.166667 | 0.848315 | 0.120603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
fb6c460dd51c64fedee2e27c2cbda9d433767f9a | 49 | py | Python | app/data/usecases/getters/__init__.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | 2 | 2022-02-14T23:53:00.000Z | 2022-03-24T12:19:49.000Z | app/data/usecases/getters/__init__.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | null | null | null | app/data/usecases/getters/__init__.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | null | null | null | # Created by Kelvin_Clark on 1/31/2022, 12:59 PM
| 24.5 | 48 | 0.734694 | 11 | 49 | 3.181818 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 0.163265 | 49 | 1 | 49 | 49 | 0.585366 | 0.938776 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb87953a045395fdad4c2bba9ece2a360414346b | 127 | py | Python | app/blueprints/admin/__init__.py | neurothrone/project-dot | 20889075611bed645689a76a30257f96e4b55988 | [
"MIT"
] | null | null | null | app/blueprints/admin/__init__.py | neurothrone/project-dot | 20889075611bed645689a76a30257f96e4b55988 | [
"MIT"
] | null | null | null | app/blueprints/admin/__init__.py | neurothrone/project-dot | 20889075611bed645689a76a30257f96e4b55988 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp_admin = Blueprint(name="admin", import_name=__name__)
from app.blueprints.admin import routes
| 21.166667 | 56 | 0.811024 | 18 | 127 | 5.388889 | 0.555556 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 127 | 5 | 57 | 25.4 | 0.858407 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
83c5e5b85240e7ec3a8a0d166a7ff427445f2e88 | 91 | py | Python | src/sage/combinat/ncsf_qsym/all.py | bopopescu/sage-5 | 9d85b34956ca2edd55af307f99c5d3859acd30bf | [
"BSL-1.0"
] | 5 | 2015-01-04T07:15:06.000Z | 2022-03-04T15:15:18.000Z | src/sage/combinat/ncsf_qsym/all.py | bopopescu/sage-5 | 9d85b34956ca2edd55af307f99c5d3859acd30bf | [
"BSL-1.0"
] | null | null | null | src/sage/combinat/ncsf_qsym/all.py | bopopescu/sage-5 | 9d85b34956ca2edd55af307f99c5d3859acd30bf | [
"BSL-1.0"
] | 10 | 2016-09-28T13:12:40.000Z | 2022-02-12T09:28:34.000Z | from qsym import QuasiSymmetricFunctions
from ncsf import NonCommutativeSymmetricFunctions
| 30.333333 | 49 | 0.912088 | 8 | 91 | 10.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 2 | 50 | 45.5 | 1 | 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 |
83ed787f6fb7e60dd2b3e3c5990ce9988a577196 | 22 | py | Python | tests/__init__.py | friedi1/panama-dv | 19bef7966d5f482c2ebd8ec5adb3d9f79ef30c94 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | friedi1/panama-dv | 19bef7966d5f482c2ebd8ec5adb3d9f79ef30c94 | [
"Apache-2.0"
] | 1 | 2015-09-03T22:18:30.000Z | 2015-09-03T22:18:30.000Z | tests/__init__.py | Vauxoo/panama-dv | 19bef7966d5f482c2ebd8ec5adb3d9f79ef30c94 | [
"Apache-2.0"
] | 2 | 2016-04-27T04:02:24.000Z | 2018-04-10T04:07:58.000Z | from . import test_ruc | 22 | 22 | 0.818182 | 4 | 22 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83f67d500026cb2ed1c305c71d41cd425e43fe48 | 147 | py | Python | calculator.py | utsav-walia/Coding-Blocks-Python- | 2343d4934e9685f6ccf41eb091161b488c42e7a9 | [
"MIT"
] | null | null | null | calculator.py | utsav-walia/Coding-Blocks-Python- | 2343d4934e9685f6ccf41eb091161b488c42e7a9 | [
"MIT"
] | null | null | null | calculator.py | utsav-walia/Coding-Blocks-Python- | 2343d4934e9685f6ccf41eb091161b488c42e7a9 | [
"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):
return a/b
print(__name__) | 11.307692 | 15 | 0.52381 | 30 | 147 | 2.433333 | 0.333333 | 0.219178 | 0.438356 | 0.493151 | 0.671233 | 0.534247 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 147 | 13 | 16 | 11.307692 | 0.737374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.444444 | 0.888889 | 0.111111 | 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 |
f7cf37824237d1c4580bdd201bab20c65f967f09 | 248 | py | Python | stoys/deps/common.py | stoys-io/stoys-python | c2095ff74152690b1d8ea799c5bc8910a71921fb | [
"Apache-2.0"
] | 1 | 2021-11-01T19:22:33.000Z | 2021-11-01T19:22:33.000Z | stoys/deps/common.py | stoys-io/stoys-python | c2095ff74152690b1d8ea799c5bc8910a71921fb | [
"Apache-2.0"
] | null | null | null | stoys/deps/common.py | stoys-io/stoys-python | c2095ff74152690b1d8ea799c5bc8910a71921fb | [
"Apache-2.0"
] | null | null | null | import pathlib
from ..config import STOYS_EMBEDDED_DEPENDENCIES_PACKAGE
_repository_dir = pathlib.Path(__file__).parent.parent.parent.resolve()
embedded_dependencies_dir = _repository_dir.joinpath(*STOYS_EMBEDDED_DEPENDENCIES_PACKAGE.split("."))
| 35.428571 | 101 | 0.850806 | 29 | 248 | 6.724138 | 0.551724 | 0.307692 | 0.25641 | 0.328205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 248 | 6 | 102 | 41.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f7ea90f5a56b6fa290e860e6180c7fc20ff42110 | 2,208 | py | Python | Environment/sire/testRandomNet.py | Mariaojruiz/Sibling-Rewiring | d70b96c33766d6177407e64bd733a004044351e1 | [
"MIT"
] | null | null | null | Environment/sire/testRandomNet.py | Mariaojruiz/Sibling-Rewiring | d70b96c33766d6177407e64bd733a004044351e1 | [
"MIT"
] | 164 | 2020-11-01T09:21:12.000Z | 2021-07-07T19:06:28.000Z | Environment/sire/testRandomNet.py | Mariaojruiz/Sibling-Rewiring | d70b96c33766d6177407e64bd733a004044351e1 | [
"MIT"
] | 3 | 2021-07-08T15:11:48.000Z | 2021-07-08T18:01:09.000Z | import networkx as nx
def test_same_graph_graphml():
f1 = nx.read_graphml("net.graphml")
f2 = nx.read_graphml("../Environment/sire/uploads/netUploaded.graphml")
edges1 = f1.edges()
edges2 = f2.edges()
nodes1 = f1.nodes()
nodes2 = f2.nodes()
assert (nx.get_node_a... | 49.066667 | 131 | 0.662138 | 325 | 2,208 | 4.326154 | 0.206154 | 0.056899 | 0.102418 | 0.216216 | 0.786629 | 0.786629 | 0.786629 | 0.786629 | 0.786629 | 0.786629 | 0 | 0.028698 | 0.179348 | 2,208 | 45 | 132 | 49.066667 | 0.747241 | 0 | 0 | 0.645161 | 0 | 0 | 0.28067 | 0.05206 | 0 | 0 | 0 | 0 | 0.387097 | 1 | 0.064516 | false | 0 | 0.032258 | 0 | 0.096774 | 0.032258 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79111c1fb6e4f1481046a422568be7c96c589604 | 444 | py | Python | Geometry/CMSCommonData/python/cmsRecoIdealGeometryXML_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Geometry/CMSCommonData/python/cmsRecoIdealGeometryXML_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Geometry/CMSCommonData/python/cmsRecoIdealGeometryXML_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Geometry.CMSCommonData.cmsRecoIdealGeometryXML_cfi import *
from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *
from Geometry.EcalCommonData.ecalSimulationParameters_cff import *
from Geometry.HcalCommonData.hcalDDDSimConstants_cff import *
from Geo... | 44.4 | 75 | 0.887387 | 42 | 444 | 9.238095 | 0.5 | 0.185567 | 0.231959 | 0.162371 | 0.180412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067568 | 444 | 9 | 76 | 49.333333 | 0.937198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7930903859be754fa0c69ff9e3f68d2181e6a7be | 177 | py | Python | python/8kyu/convert_a_string_to_an_array.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/convert_a_string_to_an_array.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/convert_a_string_to_an_array.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/57e76bc428d6fbc2d500036d."""
from typing import List
def string_to_array(s: str) -> List[str]:
return s.split() if s else ['']
| 22.125 | 71 | 0.689266 | 26 | 177 | 4.615385 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098684 | 0.141243 | 177 | 7 | 72 | 25.285714 | 0.690789 | 0.367232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
793a69c4516be50126a081abb979084240e7b97b | 369 | py | Python | hw/denis_asipenko/test_da_hw.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 9 | 2021-12-10T21:30:07.000Z | 2022-02-25T21:32:34.000Z | hw/denis_asipenko/test_da_hw.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 22 | 2021-12-11T08:46:58.000Z | 2022-02-02T15:56:37.000Z | hw/denis_asipenko/test_da_hw.py | alexander-sidorov/qap-05 | 6db7c0a1eeadd15f7d3f826e7f0ac4be3949ec8c | [
"MIT"
] | 8 | 2021-12-11T09:15:45.000Z | 2022-02-02T08:09:09.000Z | from hw.denis_asipenko.func_da_hw import d
from hw.denis_asipenko.func_da_hw import e
from hw.denis_asipenko.func_da_hw import i
from hw.denis_asipenko.func_da_hw import n
from hw.denis_asipenko.func_da_hw import s
def test_denis() -> None:
assert d() is True
assert e() is False
assert n() is None # type... | 26.357143 | 42 | 0.723577 | 68 | 369 | 3.691176 | 0.323529 | 0.119522 | 0.219124 | 0.378486 | 0.657371 | 0.657371 | 0.657371 | 0.657371 | 0 | 0 | 0 | 0.003344 | 0.189702 | 369 | 13 | 43 | 28.384615 | 0.83612 | 0.03252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 1 | 0.090909 | true | 0 | 0.454545 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f7022f7075bdd6537b307688382d872a3f7fd177 | 53 | py | Python | Interfaces/__init__.py | ahmadryan/TurbAn | b8866d103a2ca2f5fbad73bcd4416f19299f22b2 | [
"BSD-2-Clause-Patent"
] | null | null | null | Interfaces/__init__.py | ahmadryan/TurbAn | b8866d103a2ca2f5fbad73bcd4416f19299f22b2 | [
"BSD-2-Clause-Patent"
] | null | null | null | Interfaces/__init__.py | ahmadryan/TurbAn | b8866d103a2ca2f5fbad73bcd4416f19299f22b2 | [
"BSD-2-Clause-Patent"
] | 10 | 2019-03-22T15:30:12.000Z | 2021-02-10T02:55:50.000Z | from . import Simulations
from . import Spacecraft
| 17.666667 | 26 | 0.773585 | 6 | 53 | 6.833333 | 0.666667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 53 | 2 | 27 | 26.5 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f725abd59251190289dabcf79ac0661b33697890 | 1,839 | py | Python | alembic/versions/4f53ec506661_add_study_template.py | jonathanzong/dmca | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | 2 | 2022-02-16T22:50:06.000Z | 2022-02-21T19:38:02.000Z | alembic/versions/4f53ec506661_add_study_template.py | jonathanzong/dmca | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | 2 | 2022-02-01T05:48:07.000Z | 2022-02-01T05:49:29.000Z | alembic/versions/4f53ec506661_add_study_template.py | jonathanzong/bartleby | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | null | null | null | """add study template
Revision ID: 4f53ec506661
Revises: 4302608638bc
Create Date: 2018-05-23 15:44:01.450488
"""
# revision identifiers, used by Alembic.
revision = '4f53ec506661'
down_revision = '4302608638bc'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade(engi... | 28.292308 | 125 | 0.712887 | 221 | 1,839 | 5.701357 | 0.276018 | 0.072222 | 0.1 | 0.109524 | 0.734127 | 0.734127 | 0.734127 | 0.734127 | 0.734127 | 0.694444 | 0 | 0.041184 | 0.154976 | 1,839 | 64 | 126 | 28.734375 | 0.769627 | 0.330614 | 0 | 0.272727 | 0 | 0 | 0.314864 | 0.200528 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7926a108322aa714971a30131061866c4350a0f | 70 | py | Python | skcv/image/__init__.py | guillempalou/scikit-cv | 66b5455f0097a158f0498b5cade4e8e8a0094c08 | [
"BSD-3-Clause"
] | 6 | 2015-03-22T18:54:17.000Z | 2021-02-25T02:11:36.000Z | skcv/image/__init__.py | guillempalou/scikit-cv | 66b5455f0097a158f0498b5cade4e8e8a0094c08 | [
"BSD-3-Clause"
] | null | null | null | skcv/image/__init__.py | guillempalou/scikit-cv | 66b5455f0097a158f0498b5cade4e8e8a0094c08 | [
"BSD-3-Clause"
] | 1 | 2016-06-05T04:22:57.000Z | 2016-06-05T04:22:57.000Z | from . import features
from . import segmentation
from . import filter | 23.333333 | 26 | 0.8 | 9 | 70 | 6.222222 | 0.555556 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 3 | 27 | 23.333333 | 0.949153 | 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 |
e3abdc4715e428a8ad0d9f8a2b835fb5ff2c60cc | 588 | py | Python | Modulo 2/lista07/1.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 2 | 2021-08-17T14:02:13.000Z | 2021-08-19T02:37:28.000Z | Modulo 2/lista07/1.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | null | null | null | Modulo 2/lista07/1.py | BelfortJoao/Programacao-1 | 2d463744379ad3e4b0f5882ad923aae7ff80197a | [
"MIT"
] | 1 | 2021-09-05T20:18:45.000Z | 2021-09-05T20:18:45.000Z | L = int(input())
Tot = 0
Med = 0
T = str(input()).upper()
M = [[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,... | 36.75 | 317 | 0.479592 | 195 | 588 | 1.446154 | 0.112821 | 1.014184 | 1.510638 | 2 | 0.602837 | 0.510638 | 0.510638 | 0.510638 | 0.510638 | 0.510638 | 0 | 0.299424 | 0.113946 | 588 | 15 | 318 | 39.2 | 0.241843 | 0 | 0 | 0.133333 | 0 | 0 | 0.022109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3da780313ab383b5252272e344eeea548cf03bc | 2,788 | py | Python | _unittests/ut_talk_examples/test_pydata2016.py | sdpython/jupytalk | 34abdf128de24becb21a9f08f243c3a74dadbfd9 | [
"MIT"
] | null | null | null | _unittests/ut_talk_examples/test_pydata2016.py | sdpython/jupytalk | 34abdf128de24becb21a9f08f243c3a74dadbfd9 | [
"MIT"
] | 16 | 2016-11-13T19:52:35.000Z | 2021-12-29T10:59:41.000Z | _unittests/ut_talk_examples/test_pydata2016.py | sdpython/jupytalk | 34abdf128de24becb21a9f08f243c3a74dadbfd9 | [
"MIT"
] | 4 | 2016-09-10T10:44:50.000Z | 2021-09-22T16:28:56.000Z | """
@brief test log(time=35s)
"""
import sys
import os
import unittest
import warnings
from pyquickhelper.loghelper import fLOG
from pyquickhelper.pycode import get_temp_folder, fix_tkinter_issues_virtualenv, ExtTestCase
from jupytalk.talk_examples.pydata2016 import example_networkx, example_confidence_interval, ... | 30.637363 | 108 | 0.598278 | 317 | 2,788 | 4.867508 | 0.246057 | 0.036293 | 0.033701 | 0.067401 | 0.737524 | 0.737524 | 0.737524 | 0.737524 | 0.737524 | 0.737524 | 0 | 0.011358 | 0.305237 | 2,788 | 90 | 109 | 30.977778 | 0.785235 | 0.01076 | 0 | 0.810127 | 0 | 0 | 0.085818 | 0.022909 | 0 | 0 | 0 | 0 | 0.075949 | 1 | 0.037975 | false | 0 | 0.240506 | 0 | 0.329114 | 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 |
e3fec3a0f4b26fe3fe830abf8f89408eeb9ef174 | 128 | py | Python | models/__init__.py | xinyandai/structural-nn | 373cec9ca2ee766ddb1d2a09eac4dd551d57e648 | [
"MIT"
] | 2 | 2020-01-01T05:21:58.000Z | 2020-01-02T02:06:19.000Z | models/__init__.py | xinyandai/structural-nn | 373cec9ca2ee766ddb1d2a09eac4dd551d57e648 | [
"MIT"
] | null | null | null | models/__init__.py | xinyandai/structural-nn | 373cec9ca2ee766ddb1d2a09eac4dd551d57e648 | [
"MIT"
] | null | null | null | from .fcn import *
from .cnn import *
from .resnet import *
from .vgg import *
from .densenet import *
from .wideresnet import * | 21.333333 | 25 | 0.726563 | 18 | 128 | 5.166667 | 0.444444 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179688 | 128 | 6 | 25 | 21.333333 | 0.885714 | 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 |
587d248745a485a125a18c8a437d0cae29e87553 | 41 | py | Python | monitor/dump_daily.py | mikroncoin/mikron_restapi_py | 79cd47c8f26615ccd27c9764c92299f8cebd578a | [
"BSD-2-Clause"
] | null | null | null | monitor/dump_daily.py | mikroncoin/mikron_restapi_py | 79cd47c8f26615ccd27c9764c92299f8cebd578a | [
"BSD-2-Clause"
] | 6 | 2018-09-27T07:12:28.000Z | 2019-08-14T10:13:13.000Z | monitor/dump_daily.py | mikroncoin/mikron_restapi_py | 79cd47c8f26615ccd27c9764c92299f8cebd578a | [
"BSD-2-Clause"
] | null | null | null | import dump
dump.dump_compressed(86400)
| 10.25 | 27 | 0.829268 | 6 | 41 | 5.5 | 0.666667 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.097561 | 41 | 3 | 28 | 13.666667 | 0.756757 | 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 |
587efceddf89b43943d2b187c37dd2a627e9df51 | 31 | py | Python | torch_kalman/kalman_filter/__init__.py | strongio/torch_kalman | 9b6632687ddc6705a991cce85e17b163eb227c63 | [
"MIT"
] | 105 | 2018-04-07T23:51:37.000Z | 2022-03-29T11:51:31.000Z | torch_kalman/kalman_filter/__init__.py | strongio/torch-kalman | 9b6632687ddc6705a991cce85e17b163eb227c63 | [
"MIT"
] | 26 | 2018-04-01T17:02:51.000Z | 2020-02-07T22:31:43.000Z | torch_kalman/kalman_filter/__init__.py | strongio/torch_kalman | 9b6632687ddc6705a991cce85e17b163eb227c63 | [
"MIT"
] | 14 | 2019-06-21T15:11:47.000Z | 2021-12-02T15:40:02.000Z | from .base import KalmanFilter
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58a739c9a45b6f10a554f30be57e319c4089cdf3 | 211 | py | Python | qqbot/model/ws_context.py | tencent-connect/botpy | 275f96f0859b63110b095711838c738ad6a9cc1e | [
"MIT"
] | 63 | 2021-12-27T05:55:07.000Z | 2022-03-28T12:28:53.000Z | qqbot/model/ws_context.py | tencent-connect/botpy | 275f96f0859b63110b095711838c738ad6a9cc1e | [
"MIT"
] | 9 | 2022-01-06T03:33:30.000Z | 2022-03-27T10:49:36.000Z | qqbot/model/ws_context.py | tencent-connect/botpy | 275f96f0859b63110b095711838c738ad6a9cc1e | [
"MIT"
] | 12 | 2021-12-31T07:46:12.000Z | 2022-03-28T13:34:09.000Z | class WsContext:
"""
被动事件里携带的上下文信息,目前仅有部分事件支持
"""
def __init__(self, event_type: str, event_id: str):
self.event_type = str(event_type or "")
self.event_id = str(event_id or "")
| 23.444444 | 55 | 0.616114 | 27 | 211 | 4.444444 | 0.444444 | 0.225 | 0.216667 | 0.266667 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255924 | 211 | 8 | 56 | 26.375 | 0.764331 | 0.113744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
546cc5fb6359a952da186649665199a4b83b2e0c | 371 | py | Python | spam_v1/key_file.py | Alpha-Demon404/RE-14 | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 39 | 2020-02-26T09:44:36.000Z | 2022-03-23T00:18:25.000Z | spam_v1/key_file.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 15 | 2020-05-14T10:07:26.000Z | 2022-01-06T02:55:32.000Z | spam_v1/key_file.py | B4BY-DG/reverse-enginnering | b5b46a9f0eee218f2a642b615c77135c33c6f4ad | [
"MIT"
] | 41 | 2020-03-16T22:36:38.000Z | 2022-03-17T14:47:19.000Z | # Time Succses Parser : Mon Jun 15 19:45:42 2020
# Auto Parser Dis Version : 1.1.0
# Source : https://www.github.com/Datez-Kun
import hashlib
#return hashlib.sha512(__file__).hexdigest()
print(hashlib.sha512('spam.py').hexdigest())
#e20e1040eb5b81e3db7a14b6cab2754c575ccbeb6c1405d67088e9434c699ce9ea601e8ec14357b66b7bfd... | 41.222222 | 137 | 0.822102 | 39 | 371 | 7.717949 | 0.846154 | 0.086379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 0.078167 | 371 | 8 | 138 | 46.375 | 0.599415 | 0.803235 | 0 | 0 | 0 | 0 | 0.106061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5495880822d5ee1c688c8fb4abbbf0d8a68d419e | 148 | py | Python | examples/more/ED/30orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | examples/more/ED/30orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | examples/more/ED/30orb/get_fock.py | danielballan/edrixs | 57fbd11ba9aaeaa393c3e2f06af41e4e386749e4 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
from edrixs.fock_basis import write_fock_dec_by_N
if __name__ == "__main__":
write_fock_dec_by_N(30, 15, "fock_i.in")
| 21.142857 | 51 | 0.736486 | 27 | 148 | 3.37037 | 0.740741 | 0.197802 | 0.263736 | 0.307692 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 0.141892 | 148 | 6 | 52 | 24.666667 | 0.685039 | 0.135135 | 0 | 0 | 0 | 0 | 0.133858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
54a7e85a24b7f6910ba9b36c90bfa982c423715e | 229 | py | Python | bin/deps/pydocstyle/__init__.py | keplersj/linter-pylama | 3e8e3ffd34195ad705b7a4bb6b12b3af44fdf3bc | [
"MIT"
] | null | null | null | bin/deps/pydocstyle/__init__.py | keplersj/linter-pylama | 3e8e3ffd34195ad705b7a4bb6b12b3af44fdf3bc | [
"MIT"
] | null | null | null | bin/deps/pydocstyle/__init__.py | keplersj/linter-pylama | 3e8e3ffd34195ad705b7a4bb6b12b3af44fdf3bc | [
"MIT"
] | null | null | null | from .checker import check
from .violations import Error, conventions
from .utils import __version__
# Temporary hotfix for flake8-docstrings
from .checker import PEP257Checker, tokenize_open
from .parser import AllError
| 28.625 | 50 | 0.80786 | 28 | 229 | 6.428571 | 0.678571 | 0.122222 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.152838 | 229 | 7 | 51 | 32.714286 | 0.907216 | 0.165939 | 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 |
54b34f23ba9f5d3892ec38454bcf2f6b351595c2 | 15,151 | py | Python | app/mapproxy_webconf/test/test_geojson.py | mapproxy/mapproxy-webconf | b1010c9bf3aa04dd95b893912bbec20438d29116 | [
"Apache-2.0"
] | 12 | 2015-10-03T01:49:34.000Z | 2020-10-20T20:06:20.000Z | app/mapproxy_webconf/test/test_geojson.py | mapproxy/mapproxy-webconf | b1010c9bf3aa04dd95b893912bbec20438d29116 | [
"Apache-2.0"
] | 2 | 2015-05-21T21:14:56.000Z | 2017-07-19T08:22:28.000Z | app/mapproxy_webconf/test/test_geojson.py | mapproxy/mapproxy-webconf | b1010c9bf3aa04dd95b893912bbec20438d29116 | [
"Apache-2.0"
] | 6 | 2015-05-06T08:12:16.000Z | 2020-11-30T05:37:46.000Z | from nose.tools import assert_almost_equal, assert_raises
from mapproxy_webconf import defaults
from mapproxy_webconf.lib.geojson import ConfigGeoJSONGrid, polygons, \
point_feature, polygon_feature, features, \
InvalidGridBBoxTransformationException, InvalidTileBBoxTransformationException
GLOBAL_BBOX_4326 = ... | 46.333333 | 84 | 0.549271 | 1,683 | 15,151 | 4.620915 | 0.071301 | 0.084351 | 0.059406 | 0.046805 | 0.850585 | 0.823711 | 0.796837 | 0.771377 | 0.750932 | 0.698084 | 0 | 0.158327 | 0.34968 | 15,151 | 326 | 85 | 46.47546 | 0.630975 | 0.001518 | 0 | 0.636704 | 0 | 0 | 0.060963 | 0 | 0 | 0 | 0 | 0 | 0.228464 | 1 | 0.037453 | false | 0 | 0.011236 | 0 | 0.05618 | 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 |
54b9173b64d7528ac99a206321a34dd2a20875e5 | 93 | py | Python | nxcl/rich/__init__.py | yuneg11/NXCL | 98a0f39071d7ae97aaf9dc5f1284faecfb7663ce | [
"MIT"
] | null | null | null | nxcl/rich/__init__.py | yuneg11/NXCL | 98a0f39071d7ae97aaf9dc5f1284faecfb7663ce | [
"MIT"
] | 1 | 2022-03-26T19:50:17.000Z | 2022-03-26T19:51:41.000Z | nxcl/rich/__init__.py | yuneg11/NXCL | 98a0f39071d7ae97aaf9dc5f1284faecfb7663ce | [
"MIT"
] | null | null | null | from . import logging
from . import progress
from .logging import *
from .progress import *
| 15.5 | 23 | 0.752688 | 12 | 93 | 5.833333 | 0.333333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 93 | 5 | 24 | 18.6 | 0.921053 | 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 |
3f8896fa2ae4b4265f1b23a1544acd414a9efa45 | 30 | py | Python | automatewithpython/.practicecode/snippets/xkcd.py | Coalemus/Python-Projects | 4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c | [
"MIT"
] | null | null | null | automatewithpython/.practicecode/snippets/xkcd.py | Coalemus/Python-Projects | 4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c | [
"MIT"
] | null | null | null | automatewithpython/.practicecode/snippets/xkcd.py | Coalemus/Python-Projects | 4b0e0c12a2fdcfbaf491df5715885c61f44bdb1c | [
"MIT"
] | null | null | null | #!/bin/zsh
import antigravity | 10 | 18 | 0.766667 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 3 | 18 | 10 | 0.851852 | 0.3 | 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 |
3f8b44d0caf39e75470ecbb318c0e036405998d6 | 85 | py | Python | S9/gradcam/__init__.py | abishek-raju/EVA4B2 | 189f4062c85d91f43c1381087a9c89ff794e5428 | [
"Apache-2.0"
] | 2 | 2020-09-04T18:34:19.000Z | 2020-09-04T18:34:26.000Z | S9/gradcam/__init__.py | abishek-raju/EVA4B2 | 189f4062c85d91f43c1381087a9c89ff794e5428 | [
"Apache-2.0"
] | null | null | null | S9/gradcam/__init__.py | abishek-raju/EVA4B2 | 189f4062c85d91f43c1381087a9c89ff794e5428 | [
"Apache-2.0"
] | 1 | 2020-07-18T18:58:08.000Z | 2020-07-18T18:58:08.000Z | from .gradcam import GradCAM
from .gradcam_pp import GradCAMPP
from .visual import *
| 21.25 | 33 | 0.811765 | 12 | 85 | 5.666667 | 0.5 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 3 | 34 | 28.333333 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f9df986e8fe45a1ce1e87a5ec0b010cccf03a36 | 158 | py | Python | PSNN/loss/__init__.py | Lukas0025/PSNN | 00577851e1fe1a70410c29ae4b5f024bc8b9b598 | [
"Apache-2.0"
] | 3 | 2020-01-30T21:33:37.000Z | 2022-01-18T21:25:33.000Z | PSNN/loss/__init__.py | Lukas0025/PSNN | 00577851e1fe1a70410c29ae4b5f024bc8b9b598 | [
"Apache-2.0"
] | 4 | 2019-08-27T19:16:25.000Z | 2019-11-09T21:53:43.000Z | PSNN/loss/__init__.py | Lukas0025/PYSNN | 00577851e1fe1a70410c29ae4b5f024bc8b9b598 | [
"Apache-2.0"
] | 1 | 2019-12-11T13:36:56.000Z | 2019-12-11T13:36:56.000Z | ## @package PSNN.loss
# @author Lukáš Plevač <lukasplevac@gmail.com>
# @date 22.12.2019
#
# loss functions
from .basic import mse
from .basic import mae
| 17.555556 | 47 | 0.708861 | 23 | 158 | 4.869565 | 0.826087 | 0.160714 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.177215 | 158 | 8 | 48 | 19.75 | 0.8 | 0.626582 | 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 |
b7defea338914a355888ebf25b9d917931b06b61 | 182 | py | Python | paxes_nova/virt/ibmpowervm/vif/ivm/__init__.py | windskyer/k_nova | 63579dbfcfcda5def5b588a6728bfff85ad4564e | [
"Apache-2.0"
] | null | null | null | paxes_nova/virt/ibmpowervm/vif/ivm/__init__.py | windskyer/k_nova | 63579dbfcfcda5def5b588a6728bfff85ad4564e | [
"Apache-2.0"
] | null | null | null | paxes_nova/virt/ibmpowervm/vif/ivm/__init__.py | windskyer/k_nova | 63579dbfcfcda5def5b588a6728bfff85ad4564e | [
"Apache-2.0"
] | null | null | null | # vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# =================================================================
# =================================================================
| 36.4 | 67 | 0.186813 | 7 | 182 | 4.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 0.054945 | 182 | 4 | 68 | 45.5 | 0.180233 | 0.950549 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7f8d54e745f55a78246088770aeb8167eeff2ce | 117 | py | Python | project/carlos/__init__.py | ArturoMorales93/Plataformas_II_Project | 7dd54c8c5159a1eb8c761a3a8e4f4bfb96a078eb | [
"Unlicense"
] | 1 | 2021-01-29T15:16:49.000Z | 2021-01-29T15:16:49.000Z | project/carlos/__init__.py | ArturoMorales93/Plataformas_II_Project | 7dd54c8c5159a1eb8c761a3a8e4f4bfb96a078eb | [
"Unlicense"
] | 12 | 2021-02-01T20:31:31.000Z | 2021-04-15T07:34:54.000Z | project/carlos/__init__.py | ArturoMorales93/Plataformas_II_Project | 7dd54c8c5159a1eb8c761a3a8e4f4bfb96a078eb | [
"Unlicense"
] | 1 | 2021-03-08T23:34:37.000Z | 2021-03-08T23:34:37.000Z | from flask import Blueprint
carlos = Blueprint('carlos',__name__, template_folder='templates')
from . import routes | 23.4 | 66 | 0.794872 | 14 | 117 | 6.285714 | 0.714286 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 117 | 5 | 67 | 23.4 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.