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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3722278525943e13431e4309420538b23b041a0d | 17,986 | py | Python | pytests/eventing/eventing_sanity.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | pytests/eventing/eventing_sanity.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | pytests/eventing/eventing_sanity.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | from lib.membase.api.rest_client import RestConnection
from lib.testconstants import STANDARD_BUCKET_PORT
from pytests.eventing.eventing_constants import HANDLER_CODE
from pytests.eventing.eventing_base import EventingBaseTest, log
from membase.helper.cluster_helper import ClusterOperationHelper
class EventingSanity(... | 65.882784 | 124 | 0.712387 | 2,456 | 17,986 | 4.868485 | 0.070033 | 0.045915 | 0.058878 | 0.038638 | 0.887179 | 0.886175 | 0.880488 | 0.871038 | 0.867693 | 0.866689 | 0 | 0.013522 | 0.214667 | 17,986 | 272 | 125 | 66.125 | 0.832991 | 0.14906 | 0 | 0.673077 | 0 | 0 | 0.014938 | 0.001572 | 0 | 0 | 0 | 0 | 0.004808 | 1 | 0.100962 | false | 0 | 0.024038 | 0 | 0.129808 | 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 |
2e9c244c8c44db995eaad0123cd01c19da348f8b | 176 | py | Python | cart/admin.py | todorpetkov11/riddance_ecom | 79dc1a566f32a696122d99eac23a100cac22e558 | [
"MIT"
] | null | null | null | cart/admin.py | todorpetkov11/riddance_ecom | 79dc1a566f32a696122d99eac23a100cac22e558 | [
"MIT"
] | null | null | null | cart/admin.py | todorpetkov11/riddance_ecom | 79dc1a566f32a696122d99eac23a100cac22e558 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib import admin
from cart.models import Cart, CartProduct
admin.site.register(Cart)
admin.site.register(CartProduct)
| 22 | 42 | 0.795455 | 24 | 176 | 5.833333 | 0.416667 | 0.142857 | 0.242857 | 0.328571 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 176 | 7 | 43 | 25.142857 | 0.921053 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
2ecd0c5e3a74edaad35a88f12238eba66510a14c | 22,957 | py | Python | EDP_solver_tools.py | truejulosdu13/Electrochemistry | 183914d75f7d8ec8fdaa03a1f5133f24afaf6f38 | [
"MIT"
] | null | null | null | EDP_solver_tools.py | truejulosdu13/Electrochemistry | 183914d75f7d8ec8fdaa03a1f5133f24afaf6f38 | [
"MIT"
] | null | null | null | EDP_solver_tools.py | truejulosdu13/Electrochemistry | 183914d75f7d8ec8fdaa03a1f5133f24afaf6f38 | [
"MIT"
] | null | null | null | # this programmes numerically solves the partial derivative equations of the diffusion problem with bulk and electrode conditions with the Crank-Nicolson technique
import math
import numpy as np
## Calculate the n+1 concentration profile
# temporal propagation of the concentration profile for the E mechanism
def com... | 40.417254 | 237 | 0.589624 | 4,743 | 22,957 | 2.622391 | 0.043011 | 0.11095 | 0.034571 | 0.027014 | 0.886075 | 0.877955 | 0.873533 | 0.87104 | 0.857212 | 0.849735 | 0 | 0.044491 | 0.235353 | 22,957 | 567 | 238 | 40.488536 | 0.664065 | 0.204731 | 0 | 0.676796 | 0 | 0 | 0.041008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.124309 | false | 0 | 0.005525 | 0 | 0.129834 | 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 |
2efd74c711e060331a787ce52902421a4e61278e | 29,550 | py | Python | tests/test_inlineparser_std.py | dkuhlman/docutils_asciidoc | a29087585a5fb5e5abd38d5efe48c3d03e77ba37 | [
"MIT"
] | 4 | 2020-01-28T15:18:53.000Z | 2022-01-21T06:57:52.000Z | tests/test_inlineparser_std.py | dkuhlman/docutils_asciidoc | a29087585a5fb5e5abd38d5efe48c3d03e77ba37 | [
"MIT"
] | 2 | 2022-01-13T19:36:45.000Z | 2022-01-24T20:11:40.000Z | tests/test_inlineparser_std.py | dkuhlman/docutils_asciidoc | a29087585a5fb5e5abd38d5efe48c3d03e77ba37 | [
"MIT"
] | 2 | 2019-03-20T17:29:34.000Z | 2020-12-28T13:57:19.000Z | """
test_inlineparser_std
~~~~~~~~~~~~~~~~~~~~~
:copyright: Copyright 2017-2019 by Takeshi KOMIYA
:license: Apache License 2.0, see LICENSE for details.
"""
from docutils import nodes
from utils import publish, assert_node
from pycmark import addnodes
def test_example_289():
text = r"""\!\"\#\$... | 34.805654 | 118 | 0.518883 | 3,066 | 29,550 | 4.836921 | 0.102087 | 0.098449 | 0.15644 | 0.191167 | 0.807485 | 0.776264 | 0.742886 | 0.697235 | 0.683682 | 0.653338 | 0.000034 | 0.026461 | 0.311946 | 29,550 | 848 | 119 | 34.846698 | 0.702341 | 0.006802 | 0 | 0.202509 | 0 | 0.071685 | 0.145252 | 0.014017 | 0 | 0 | 0 | 0.001179 | 0.261649 | 1 | 0.243728 | false | 0 | 0.005376 | 0 | 0.249104 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c1301fa90bc6d7e21c577fca6119ebb64c49d10 | 87 | py | Python | tests/__init__.py | 207leftovers/cs207project | 817b0d26490d9c6e70d932544d685af4049a83bd | [
"MIT"
] | null | null | null | tests/__init__.py | 207leftovers/cs207project | 817b0d26490d9c6e70d932544d685af4049a83bd | [
"MIT"
] | null | null | null | tests/__init__.py | 207leftovers/cs207project | 817b0d26490d9c6e70d932544d685af4049a83bd | [
"MIT"
] | null | null | null | import pkg_resources
from timeseries.TimeSeries import *
from timeseries.lazy import * | 21.75 | 35 | 0.83908 | 11 | 87 | 6.545455 | 0.545455 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 4 | 36 | 21.75 | 0.935065 | 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 |
259db82d580a7eec390b9214d2973f4b661e6d07 | 3,588 | py | Python | tests/test_subsidence.py | sequence-dev/sequence | 3806974b3c6a5b4ecec870c9fba5bd2e2ccac108 | [
"MIT"
] | 1 | 2021-06-30T21:54:23.000Z | 2021-06-30T21:54:23.000Z | tests/test_subsidence.py | sequence-dev/sequence | 3806974b3c6a5b4ecec870c9fba5bd2e2ccac108 | [
"MIT"
] | 2 | 2019-02-12T04:28:56.000Z | 2021-07-27T20:55:25.000Z | tests/test_subsidence.py | sequence-dev/sequence | 3806974b3c6a5b4ecec870c9fba5bd2e2ccac108 | [
"MIT"
] | 3 | 2020-06-25T21:08:44.000Z | 2021-08-22T02:22:26.000Z | import pytest
from numpy.testing import assert_array_equal
from sequence.subsidence import SubsidenceTimeSeries
from landlab import RasterModelGrid
def test_bad_filepath(tmpdir):
grid = RasterModelGrid((3, 5))
grid.add_full("bedrock_surface__elevation", 0.0, at="node")
grid.add_full("topographic__elevati... | 34.834951 | 88 | 0.607302 | 510 | 3,588 | 4.031373 | 0.127451 | 0.02821 | 0.085603 | 0.097276 | 0.802529 | 0.793288 | 0.76751 | 0.76751 | 0.750973 | 0.750973 | 0 | 0.084808 | 0.244147 | 3,588 | 102 | 89 | 35.176471 | 0.673304 | 0 | 0 | 0.555556 | 0 | 0 | 0.208751 | 0.1466 | 0 | 0 | 0 | 0 | 0.135802 | 1 | 0.049383 | false | 0 | 0.049383 | 0 | 0.098765 | 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 |
25d9b50e7c2c94801f3d8a09035b02aca96474cf | 29 | py | Python | apps/rosetta/python/pysetta/devel/__init__.py | YaoYinYing/rifdock | cbde6bbeefd29a066273bdf2937cf36b0d2e6335 | [
"Apache-2.0"
] | 25 | 2019-07-23T01:03:48.000Z | 2022-03-31T04:16:08.000Z | apps/rosetta/python/pysetta/devel/__init__.py | YaoYinYing/rifdock | cbde6bbeefd29a066273bdf2937cf36b0d2e6335 | [
"Apache-2.0"
] | 13 | 2018-01-30T17:45:57.000Z | 2022-03-28T11:02:44.000Z | apps/rosetta/python/pysetta/devel/__init__.py | YaoYinYing/rifdock | cbde6bbeefd29a066273bdf2937cf36b0d2e6335 | [
"Apache-2.0"
] | 14 | 2018-02-08T01:42:28.000Z | 2022-03-31T12:56:17.000Z | from _pysetta_devel import *
| 14.5 | 28 | 0.827586 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
25ddfadf09f5fc9a3208661ddf29226fa846b2f8 | 181 | py | Python | server/hotdesk/main/__init__.py | arianmonti/Hotdesk-Indicator | 496036d53682c8a89636f0a29c5ee8e38dc9b604 | [
"MIT"
] | 3 | 2020-09-25T16:55:34.000Z | 2021-03-02T11:59:48.000Z | server/hotdesk/main/__init__.py | arianmonti/Hotdesk-Indicator | 496036d53682c8a89636f0a29c5ee8e38dc9b604 | [
"MIT"
] | 17 | 2020-04-03T15:34:32.000Z | 2021-06-02T09:26:38.000Z | server/hotdesk/main/__init__.py | arianmonti/Hotdesk-Indicator | 496036d53682c8a89636f0a29c5ee8e38dc9b604 | [
"MIT"
] | 4 | 2020-09-30T18:01:38.000Z | 2021-09-30T19:46:00.000Z | """Main subapp."""
from flask import Blueprint
main = Blueprint("main", __name__)
from . import views, forms, errors # noqa: E402
__all__ = ["main", "views", "forms", "errors"]
| 20.111111 | 48 | 0.662983 | 22 | 181 | 5.090909 | 0.590909 | 0.232143 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019737 | 0.160221 | 181 | 8 | 49 | 22.625 | 0.717105 | 0.132597 | 0 | 0 | 0 | 0 | 0.15894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 6 |
25e895ef1576b38064a273ed2555aadf89a92262 | 138 | py | Python | tests/admin.py | caplena/django-hashid-field | 2d24c166f2c5b03db56c23078ab3619823f7b159 | [
"MIT"
] | 310 | 2016-10-04T20:26:01.000Z | 2022-03-30T05:10:20.000Z | tests/admin.py | caplena/django-hashid-field | 2d24c166f2c5b03db56c23078ab3619823f7b159 | [
"MIT"
] | 64 | 2016-12-27T18:29:01.000Z | 2022-02-12T01:37:20.000Z | tests/admin.py | caplena/django-hashid-field | 2d24c166f2c5b03db56c23078ab3619823f7b159 | [
"MIT"
] | 35 | 2017-06-05T14:48:31.000Z | 2022-03-17T14:34:00.000Z | from django.contrib import admin
from tests.models import Record
@admin.register(Record)
class RecordAdmin(admin.ModelAdmin):
pass
| 15.333333 | 36 | 0.789855 | 18 | 138 | 6.055556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 138 | 8 | 37 | 17.25 | 0.915966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d321148ee4ca115fc30202d1f3e9ad0f6e07cb3e | 320 | py | Python | examples/OpenFPGA/config_chain/extract_configuration_order.py | talashilkarraj/spydrnet-physical | d13bcbb0feef7d5c93aa60af4a916f837128a5ad | [
"BSD-3-Clause"
] | 3 | 2021-11-05T18:25:21.000Z | 2022-03-02T22:03:02.000Z | examples/OpenFPGA/config_chain/extract_configuration_order.py | talashilkarraj/spydrnet-physical | d13bcbb0feef7d5c93aa60af4a916f837128a5ad | [
"BSD-3-Clause"
] | null | null | null | examples/OpenFPGA/config_chain/extract_configuration_order.py | talashilkarraj/spydrnet-physical | d13bcbb0feef7d5c93aa60af4a916f837128a5ad | [
"BSD-3-Clause"
] | 2 | 2022-01-10T14:27:59.000Z | 2022-03-13T08:21:33.000Z | """
=================================
Extract configuration chain order
=================================
This example demonstrate how to extract configuration chain order from
the restructured netlist
"""
from os import path
import spydrnet as sdn
import spydrnet_physical as sdnphy
# TODO
print("NotImplemented")
| 18.823529 | 70 | 0.63125 | 33 | 320 | 6.090909 | 0.727273 | 0.199005 | 0.248756 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128125 | 320 | 16 | 71 | 20 | 0.72043 | 0.640625 | 0 | 0 | 0 | 0 | 0.132075 | 0 | 0 | 0 | 0 | 0.0625 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d33f039ec98dd93ac7a4ef3b257032a838bdaf4e | 42 | py | Python | sdepend/__init__.py | estcube/sdepend | c26fe9975ceccd02299eff82d30efb46e9da3ade | [
"MIT"
] | null | null | null | sdepend/__init__.py | estcube/sdepend | c26fe9975ceccd02299eff82d30efb46e9da3ade | [
"MIT"
] | null | null | null | sdepend/__init__.py | estcube/sdepend | c26fe9975ceccd02299eff82d30efb46e9da3ade | [
"MIT"
] | null | null | null | from .sdepend import TagValue, DependNode
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3887ce5b101a3bf3475074ff39b19d1ad3752ad | 10,896 | py | Python | pipeline_plugins/tests/components/utils/test_cc_get_ips_info_by_str.py | wkma/bk-sops | 8fb5609c0c4495c28d588fbafa9d9f5f2976929b | [
"Apache-2.0"
] | 2 | 2021-07-28T01:48:31.000Z | 2021-11-17T11:02:26.000Z | pipeline_plugins/tests/components/utils/test_cc_get_ips_info_by_str.py | wkma/bk-sops | 8fb5609c0c4495c28d588fbafa9d9f5f2976929b | [
"Apache-2.0"
] | null | null | null | pipeline_plugins/tests/components/utils/test_cc_get_ips_info_by_str.py | wkma/bk-sops | 8fb5609c0c4495c28d588fbafa9d9f5f2976929b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
Edition) available.
Copyright (C) 2017-2020 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except in co... | 44.839506 | 115 | 0.51395 | 1,374 | 10,896 | 3.732897 | 0.111354 | 0.014428 | 0.014623 | 0.06317 | 0.805615 | 0.798986 | 0.795672 | 0.786703 | 0.785143 | 0.785143 | 0 | 0.045273 | 0.333058 | 10,896 | 242 | 116 | 45.024793 | 0.66052 | 0.066263 | 0 | 0.652778 | 0 | 0.013889 | 0.288806 | 0.058037 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.018519 | false | 0 | 0.013889 | 0 | 0.037037 | 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 |
d39658d80fe0b2e9e624130ffbce3a21ed214ef7 | 31 | py | Python | tests/config.py | zesk06/pykscores | 3148b3ec023a2b526685255d01896991415c6730 | [
"Apache-2.0"
] | null | null | null | tests/config.py | zesk06/pykscores | 3148b3ec023a2b526685255d01896991415c6730 | [
"Apache-2.0"
] | null | null | null | tests/config.py | zesk06/pykscores | 3148b3ec023a2b526685255d01896991415c6730 | [
"Apache-2.0"
] | null | null | null | print('config.py file loaded')
| 15.5 | 30 | 0.741935 | 5 | 31 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 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 |
d39a3aef4172c4792959c009fe7ec400b31d2c03 | 179 | py | Python | state.py | Kunalmighty/BlueJaysGame | 76936cea8a57542bf7ea3d546f851f9f9771931f | [
"MIT"
] | null | null | null | state.py | Kunalmighty/BlueJaysGame | 76936cea8a57542bf7ea3d546f851f9f9771931f | [
"MIT"
] | null | null | null | state.py | Kunalmighty/BlueJaysGame | 76936cea8a57542bf7ea3d546f851f9f9771931f | [
"MIT"
] | null | null | null | class State(object):
def __init__(self):
pass
def render(self):
pass
def update(self, time):
pass
def event(self, event):
pass
| 12.785714 | 27 | 0.52514 | 21 | 179 | 4.285714 | 0.52381 | 0.233333 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.379888 | 179 | 13 | 28 | 13.769231 | 0.810811 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
d3aa77298e312562d153b1a2d5af95658d568623 | 97 | py | Python | alternatives/server-flask/src/core/resolvers/__init__.py | TaitoUnited/full-stack-template | 58529515c2f3dd765074b4c5f326f6336646f4e7 | [
"MIT"
] | 21 | 2019-10-12T06:04:43.000Z | 2022-03-31T06:03:34.000Z | alternatives/server-flask/src/core/resolvers/__init__.py | TaitoUnited/server-template | 67f370f212adefd96da2404077e575764f6a1b11 | [
"MIT"
] | 64 | 2018-04-22T09:39:19.000Z | 2019-06-14T12:32:08.000Z | alternatives/server-flask/src/core/resolvers/__init__.py | TaitoUnited/full-stack-template | 58529515c2f3dd765074b4c5f326f6336646f4e7 | [
"MIT"
] | 4 | 2019-11-03T22:47:56.000Z | 2022-01-09T11:52:15.000Z | # GraphQL API resolvers
from . import media_resolver # noqa
from . import post_resolver # noqa
| 24.25 | 36 | 0.762887 | 13 | 97 | 5.538462 | 0.692308 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185567 | 97 | 3 | 37 | 32.333333 | 0.911392 | 0.319588 | 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 |
6c9d6ac8e14b4524b1ead2538381e76e21adf35f | 8,785 | py | Python | tests/test_resource_tracker/test_resource_group_text_attribute_views.py | Sispheor/squest | f852fe7986521a9d8cd9fb5eb0b56aa15f22548c | [
"Apache-2.0"
] | 112 | 2021-04-21T08:52:55.000Z | 2022-03-01T15:09:19.000Z | tests/test_resource_tracker/test_resource_group_text_attribute_views.py | Sispheor/squest | f852fe7986521a9d8cd9fb5eb0b56aa15f22548c | [
"Apache-2.0"
] | 216 | 2021-04-21T09:06:47.000Z | 2022-03-30T14:21:28.000Z | tests/test_resource_tracker/test_resource_group_text_attribute_views.py | Sispheor/squest | f852fe7986521a9d8cd9fb5eb0b56aa15f22548c | [
"Apache-2.0"
] | 21 | 2021-04-20T13:53:54.000Z | 2022-03-30T21:43:04.000Z | from copy import copy
from django.urls import reverse
from resource_tracker.models import ResourceGroupTextAttributeDefinition, Resource
from tests.test_resource_tracker.base_test_resource_tracker import BaseTestResourceTracker
class TestResourceGroupTextAttributeViews(BaseTestResourceTracker):
def setUp(self)... | 42.439614 | 126 | 0.668298 | 962 | 8,785 | 5.782744 | 0.086279 | 0.079454 | 0.072982 | 0.109473 | 0.877225 | 0.862844 | 0.856732 | 0.781772 | 0.781772 | 0.773324 | 0 | 0.010093 | 0.244394 | 8,785 | 206 | 127 | 42.645631 | 0.82796 | 0.021969 | 0 | 0.698113 | 0 | 0 | 0.138144 | 0.096759 | 0 | 0 | 0 | 0 | 0.213836 | 1 | 0.062893 | false | 0 | 0.025157 | 0 | 0.09434 | 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 |
6ca8d5b2f9615458cce3d9312bd389fd0cb4712f | 300,176 | py | Python | PySide2/QtCore.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | PySide2/QtCore.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | PySide2/QtCore.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | null | null | null | class ClassInfo(object):
def __call__(*args, **kwargs):
"""
x.__call__(...) <==> x(...)
"""
pass
def __init__(*args, **kwargs):
"""
x.__init__(...) initializes x; see help(type(x)) for signature
"""
pass
__new__ = ... | 13.620219 | 70 | 0.436621 | 23,828 | 300,176 | 5.241355 | 0.171269 | 0.212265 | 0.233836 | 0.267882 | 0.448399 | 0.44257 | 0.434795 | 0.427821 | 0.413785 | 0.320311 | 0 | 0.002728 | 0.461486 | 300,176 | 22,038 | 71 | 13.620837 | 0.769878 | 0.060271 | 0 | 0.547329 | 0 | 0 | 0.000048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314062 | false | 0.31501 | 0.000237 | 0 | 0.685108 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6caa8e65548cfe60b1b6ac7a62cb876806b19083 | 7,034 | py | Python | tests/test_models/test_basic_conditional_gan.py | plutoyuxie/mmgeneration | 0a7f5d16c970de1766ebf049d7a0264fe506504b | [
"Apache-2.0"
] | 718 | 2021-04-15T11:26:20.000Z | 2022-03-31T03:11:56.000Z | tests/test_models/test_basic_conditional_gan.py | plutoyuxie/mmgeneration | 0a7f5d16c970de1766ebf049d7a0264fe506504b | [
"Apache-2.0"
] | 191 | 2021-04-15T12:13:34.000Z | 2022-03-31T16:04:36.000Z | tests/test_models/test_basic_conditional_gan.py | plutoyuxie/mmgeneration | 0a7f5d16c970de1766ebf049d7a0264fe506504b | [
"Apache-2.0"
] | 107 | 2021-04-15T12:38:41.000Z | 2022-03-27T02:47:16.000Z | from copy import deepcopy
import pytest
import torch
import torch.nn as nn
from mmgen.models import BasicConditionalGAN, build_model
class TestBasicConditionalGAN(object):
@classmethod
def setup_class(cls):
cls.default_config = dict(
type='BasicConditionalGAN',
generator=dic... | 38.861878 | 78 | 0.624396 | 835 | 7,034 | 4.99521 | 0.158084 | 0.069048 | 0.046991 | 0.034524 | 0.824263 | 0.812755 | 0.802685 | 0.770559 | 0.754256 | 0.754256 | 0 | 0.020776 | 0.28149 | 7,034 | 180 | 79 | 39.077778 | 0.804511 | 0.040944 | 0 | 0.671233 | 0 | 0 | 0.084806 | 0.007129 | 0 | 0 | 0 | 0 | 0.212329 | 1 | 0.020548 | false | 0 | 0.034247 | 0 | 0.061644 | 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 |
9f4d313e9b485efce8be3bcbacfb2cea581dc08e | 111 | py | Python | centroidnet/__init__.py | kdijkstra13/OpenCentroidNetV2 | ee013581476db4c37f0184bf176d8071b3c07ac8 | [
"MIT"
] | null | null | null | centroidnet/__init__.py | kdijkstra13/OpenCentroidNetV2 | ee013581476db4c37f0184bf176d8071b3c07ac8 | [
"MIT"
] | null | null | null | centroidnet/__init__.py | kdijkstra13/OpenCentroidNetV2 | ee013581476db4c37f0184bf176d8071b3c07ac8 | [
"MIT"
] | null | null | null | from .dataloaders import *
from .backbones import *
from .centroidnet_core import *
from .postprocess import *
| 22.2 | 31 | 0.783784 | 13 | 111 | 6.615385 | 0.538462 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 32 | 27.75 | 0.905263 | 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 |
9f570d2804f069a0770576366af61cfc07d57a7c | 19 | py | Python | ever/api/preprocess/__init__.py | Bobholamovic/ever | f38060674a40ed53072b9d9be99cc656a830398f | [
"Apache-2.0"
] | 22 | 2021-08-21T00:13:18.000Z | 2022-03-28T19:38:10.000Z | ever/api/preprocess/__init__.py | Bobholamovic/ever | f38060674a40ed53072b9d9be99cc656a830398f | [
"Apache-2.0"
] | 2 | 2021-09-01T06:28:38.000Z | 2021-12-06T07:17:57.000Z | ever/api/preprocess/__init__.py | Bobholamovic/ever | f38060674a40ed53072b9d9be99cc656a830398f | [
"Apache-2.0"
] | 6 | 2021-08-21T06:32:47.000Z | 2022-02-10T07:41:29.000Z | from . import albu
| 9.5 | 18 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9f801c03e02977b1430db2d3b95ca86615e5c52c | 194 | py | Python | src/Products/Five/metaconfigure.py | hitotsunorb1/Zope | 6beac6385e1a302903889561385013874ef94cb1 | [
"ZPL-2.1"
] | null | null | null | src/Products/Five/metaconfigure.py | hitotsunorb1/Zope | 6beac6385e1a302903889561385013874ef94cb1 | [
"ZPL-2.1"
] | 1 | 2020-11-11T07:11:31.000Z | 2020-11-11T07:11:31.000Z | src/Products/Five/metaconfigure.py | hitotsunorb1/Zope | 6beac6385e1a302903889561385013874ef94cb1 | [
"ZPL-2.1"
] | null | null | null | # BBB Zope 5.0
from zope.deferredimport import deprecated
deprecated(
'Please import from AccessControl.metaconfigure',
ClassDirective='AccessControl.metaconfigure:ClassDirective',
)
| 19.4 | 64 | 0.78866 | 19 | 194 | 8.052632 | 0.631579 | 0.339869 | 0.522876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.134021 | 194 | 9 | 65 | 21.555556 | 0.89881 | 0.061856 | 0 | 0 | 0 | 0 | 0.488889 | 0.383333 | 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 |
9f970249b62415b0f3aa968e1dfe93c46fffc126 | 706 | py | Python | plaso/formatters/__init__.py | nflexfo/plaso | 5da7aa51c39b593773687fdf20a93ba35fc492b4 | [
"Apache-2.0"
] | 1 | 2020-12-04T10:26:34.000Z | 2020-12-04T10:26:34.000Z | plaso/formatters/__init__.py | nflexfo/plaso | 5da7aa51c39b593773687fdf20a93ba35fc492b4 | [
"Apache-2.0"
] | null | null | null | plaso/formatters/__init__.py | nflexfo/plaso | 5da7aa51c39b593773687fdf20a93ba35fc492b4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""This file contains an import statement for each formatter."""
from plaso.formatters import asl
from plaso.formatters import chrome
from plaso.formatters import chrome_preferences
from plaso.formatters import file_system
from plaso.formatters import firefox
from plaso.formatters import gdrive... | 35.3 | 64 | 0.842776 | 97 | 706 | 6.082474 | 0.350515 | 0.244068 | 0.515254 | 0.677966 | 0.105085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001595 | 0.111898 | 706 | 19 | 65 | 37.157895 | 0.939394 | 0.114731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cdd31b0f0a257c64035ba91419ead0983ebaf88 | 9,496 | py | Python | tests/test_gen_schema.py | bigfang/horn-py | a4ad99491d81bd9f8e5d55bd07350b3eea6d1608 | [
"MIT"
] | 30 | 2019-05-22T16:37:01.000Z | 2021-06-14T20:31:23.000Z | tests/test_gen_schema.py | bigfang/horn-py | a4ad99491d81bd9f8e5d55bd07350b3eea6d1608 | [
"MIT"
] | 6 | 2019-06-02T13:07:49.000Z | 2020-04-08T13:18:50.000Z | tests/test_gen_schema.py | bigfang/horn-py | a4ad99491d81bd9f8e5d55bd07350b3eea6d1608 | [
"MIT"
] | 4 | 2019-06-02T13:05:36.000Z | 2019-11-14T11:23:48.000Z | import re
import pytest
from . import execli, lint
class TestGenSchema:
@pytest.mark.parametrize('module,model,fields',
[('Post', 'Post', 'title:string content:string author:nest:user'),
('Post', '', 'title:string content:string author:nest:user'),
... | 53.348315 | 118 | 0.567397 | 1,103 | 9,496 | 4.796011 | 0.110607 | 0.060302 | 0.065217 | 0.05293 | 0.839509 | 0.804915 | 0.780151 | 0.746314 | 0.733459 | 0.70397 | 0 | 0.001169 | 0.279591 | 9,496 | 177 | 119 | 53.649718 | 0.772109 | 0 | 0 | 0.585526 | 0 | 0 | 0.325821 | 0.050864 | 0 | 0 | 0 | 0 | 0.217105 | 1 | 0.065789 | false | 0 | 0.026316 | 0 | 0.098684 | 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 |
e24fafa4e08e8e04594bf374c060f14a14dcc3da | 2,093 | py | Python | tests/bin/test_delete_files.py | olaaustine/igsr_archive | 7cca14a2ed58845e2101968098859dddeab627fc | [
"Apache-2.0"
] | 1 | 2020-04-16T12:44:24.000Z | 2020-04-16T12:44:24.000Z | tests/bin/test_delete_files.py | olaaustine/igsr_archive | 7cca14a2ed58845e2101968098859dddeab627fc | [
"Apache-2.0"
] | null | null | null | tests/bin/test_delete_files.py | olaaustine/igsr_archive | 7cca14a2ed58845e2101968098859dddeab627fc | [
"Apache-2.0"
] | 2 | 2022-01-11T12:26:52.000Z | 2022-02-22T16:22:34.000Z | import pytest
import os
import pdb
import subprocess
def test_single_file(load_file):
print('Delete a single file using -f and --dry False options')
settings_f = os.getenv("DATADIR")+"/settings.ini"
cmd = f"{os.getenv('SCRIPTSDIR')}/delete_files.py -f {load_file} --dry False --settings {settings_f}" \
... | 33.222222 | 112 | 0.589107 | 275 | 2,093 | 4.407273 | 0.225455 | 0.052805 | 0.039604 | 0.059406 | 0.830033 | 0.830033 | 0.830033 | 0.830033 | 0.830033 | 0.790429 | 0 | 0.005158 | 0.258958 | 2,093 | 63 | 113 | 33.222222 | 0.776273 | 0.0172 | 0 | 0.590909 | 0 | 0.045455 | 0.391727 | 0.060341 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.136364 | 0.181818 | 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 |
e29dcbaa3b124229320e185f63d94e57d73851a6 | 47 | py | Python | python/reverse_engineering/da_zhong/da_zhong.py | edgells/dev_coms | a7e50c32bcb45c6b6781e6d0514fda6ddf8aef02 | [
"MIT"
] | null | null | null | python/reverse_engineering/da_zhong/da_zhong.py | edgells/dev_coms | a7e50c32bcb45c6b6781e6d0514fda6ddf8aef02 | [
"MIT"
] | null | null | null | python/reverse_engineering/da_zhong/da_zhong.py | edgells/dev_coms | a7e50c32bcb45c6b6781e6d0514fda6ddf8aef02 | [
"MIT"
] | null | null | null | import base64
import hashlib
import requests
| 7.833333 | 15 | 0.829787 | 6 | 47 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.170213 | 47 | 5 | 16 | 9.4 | 0.948718 | 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 |
2c3376fbfb9146068670c0d6fbc1a06389d29f98 | 193 | py | Python | preprocess/pseudowords/ioutils.py | a1da4/pmi-semantic-difference | c5d9caf6793ba418bce27498e93f7bf2f0970e53 | [
"MIT"
] | null | null | null | preprocess/pseudowords/ioutils.py | a1da4/pmi-semantic-difference | c5d9caf6793ba418bce27498e93f7bf2f0970e53 | [
"MIT"
] | null | null | null | preprocess/pseudowords/ioutils.py | a1da4/pmi-semantic-difference | c5d9caf6793ba418bce27498e93f7bf2f0970e53 | [
"MIT"
] | null | null | null | import _pickle
def write_pickle(data, filename):
fp = open(filename, 'wb')
_pickle.dump(data, fp)
def load_pickle(filename):
fp = open(filename, 'rb')
return _pickle.load(fp)
| 19.3 | 33 | 0.673575 | 27 | 193 | 4.62963 | 0.481481 | 0.16 | 0.224 | 0.352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19171 | 193 | 9 | 34 | 21.444444 | 0.801282 | 0 | 0 | 0 | 0 | 0 | 0.020725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
2c4dc0603078afae773467dde93da389273a4f03 | 169 | py | Python | moff/__init__.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/__init__.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | moff/__init__.py | Tikubonn/moff | 1c363f60959138311068177fca177d0f0dc97380 | [
"MIT"
] | null | null | null | from . import node
from . import builder
from . import stream
from . import parser
from . import util
from . import unit
from . import attribute
from . import mimetypes
| 18.777778 | 23 | 0.763314 | 24 | 169 | 5.375 | 0.416667 | 0.620155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189349 | 169 | 8 | 24 | 21.125 | 0.941606 | 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 |
2c698ff8b87827033bd73a413887622c859c5192 | 658,471 | py | Python | code.py | HaginCodes/BinarySearch | 48cc7a00648dff16086fc8447a221b42ed5aa20a | [
"MIT"
] | null | null | null | code.py | HaginCodes/BinarySearch | 48cc7a00648dff16086fc8447a221b42ed5aa20a | [
"MIT"
] | null | null | null | code.py | HaginCodes/BinarySearch | 48cc7a00648dff16086fc8447a221b42ed5aa20a | [
"MIT"
] | null | null | null | List = ["((2s,3s,5s)-2-(2-(2,6-dimethylphenoxy)acetamido)-5-((s)-3-methyl-2-(2-oxotetrahydropyrimidin-1(2h)-yl)butanamido)-1,6-diphenylhexan-3-yl) 3-methyl-2-(2-oxotetrahydropyrimidin-1(2h)-yl)butanoate, (s)-", "(1-743)-(1638-2332)-blood-coagulation factor viii (synthetic human) fusion protein with immunoglobulin g1 (s... | 82,308.875 | 658,214 | 0.757544 | 68,865 | 658,471 | 7.243462 | 0.220097 | 0.008877 | 0.003194 | 0.002706 | 0.143807 | 0.116669 | 0.099563 | 0.087591 | 0.079317 | 0.073427 | 0 | 0.015356 | 0.109654 | 658,471 | 8 | 658,215 | 82,308.875 | 0.835486 | 0.000161 | 0 | 0 | 0 | 38.428571 | 0.853439 | 0.01871 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.142857 | 0 | 0.142857 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2cbcb87dff03fc95a45d101dddeba6378893a54c | 247 | py | Python | dp_conceptual_search/ons/search/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 3 | 2018-05-10T16:49:27.000Z | 2022-03-29T15:23:04.000Z | dp_conceptual_search/ons/search/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 2 | 2018-09-20T06:37:27.000Z | 2018-11-12T12:05:08.000Z | dp_conceptual_search/ons/search/__init__.py | flaxandteal/dp-conceptual-search | 16c6383a61ba5b7069337c2626a0dc243bfe9d35 | [
"MIT"
] | 3 | 2018-06-25T10:48:43.000Z | 2021-04-11T08:01:27.000Z | from dp_conceptual_search.ons.search.sort_fields import SortField
from dp_conceptual_search.ons.search.type_filter import AvailableTypeFilters, TypeFilter
from dp_conceptual_search.ons.search.content_type import ContentType, AvailableContentTypes
| 61.75 | 91 | 0.898785 | 32 | 247 | 6.65625 | 0.5 | 0.084507 | 0.225352 | 0.309859 | 0.43662 | 0.43662 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05668 | 247 | 3 | 92 | 82.333333 | 0.914163 | 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 |
390bca068dc067566eb6a47f60d040d782362b02 | 18,358 | py | Python | qm3/actions/genetic.py | SinHouse/qm3 | b2436ad813dd13c0c14bdee5d95f30436bc0a04d | [
"MIT"
] | 13 | 2020-12-19T02:37:39.000Z | 2022-02-09T11:26:38.000Z | qm3/actions/genetic.py | zhenglz/qm3 | 356a26baf990391597bd75b971a95952e52fb977 | [
"MIT"
] | 2 | 2021-01-07T02:53:27.000Z | 2021-07-02T17:58:42.000Z | qm3/actions/genetic.py | zhenglz/qm3 | 356a26baf990391597bd75b971a95952e52fb977 | [
"MIT"
] | 3 | 2020-12-20T11:30:52.000Z | 2021-07-12T02:51:44.000Z | # -*- coding: iso-8859-1 -*-
from __future__ import print_function, division
import sys
if( sys.version_info[0] == 2 ):
range = xrange
import math
import qm3.maths.rand
import qm3.utils.queue
import threading
try:
import cPickle as pickle
except:
import pickle
def default_log( txt ):
sys.stdout.... | 46.593909 | 147 | 0.453263 | 2,135 | 18,358 | 3.740047 | 0.10726 | 0.066124 | 0.035817 | 0.031684 | 0.782718 | 0.751284 | 0.747151 | 0.74402 | 0.720726 | 0.712336 | 0 | 0.034219 | 0.352108 | 18,358 | 393 | 148 | 46.712468 | 0.637128 | 0.099303 | 0 | 0.776074 | 0 | 0 | 0.074453 | 0.010425 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015337 | false | 0.003067 | 0.027607 | 0 | 0.042945 | 0.039877 | 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 |
3927faa7c4589182730fad8b4652353dc5b548a5 | 114 | py | Python | Class 1_Helloworld.py | favanso/Python_Projects | b5be3d067f89abe27b15fb8b359ae8e96f45c52e | [
"MIT"
] | null | null | null | Class 1_Helloworld.py | favanso/Python_Projects | b5be3d067f89abe27b15fb8b359ae8e96f45c52e | [
"MIT"
] | null | null | null | Class 1_Helloworld.py | favanso/Python_Projects | b5be3d067f89abe27b15fb8b359ae8e96f45c52e | [
"MIT"
] | null | null | null | # This is my first program
# Name: Hello World
print('Hello World')
print("This is \n my first \n program")
| 19 | 40 | 0.666667 | 19 | 114 | 4 | 0.526316 | 0.157895 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219298 | 114 | 5 | 41 | 22.8 | 0.853933 | 0.368421 | 0 | 0 | 0 | 0 | 0.650794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1a2ff90b8b9115aeed04b0e1d7443a0af43ffa46 | 33 | py | Python | caixa/metaclasses/__init__.py | wstlabs/caixa | 7ce02640598a4261202196089a6bd1df8a9da344 | [
"Apache-2.0"
] | null | null | null | caixa/metaclasses/__init__.py | wstlabs/caixa | 7ce02640598a4261202196089a6bd1df8a9da344 | [
"Apache-2.0"
] | null | null | null | caixa/metaclasses/__init__.py | wstlabs/caixa | 7ce02640598a4261202196089a6bd1df8a9da344 | [
"Apache-2.0"
] | null | null | null | from .flyweight import Flyweight
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 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 |
1aba5121c2358ab630a23f6e90442bb0f06682d5 | 29 | py | Python | pipenv/patched/contoml/file/__init__.py | Enzime/pipenv | d4f710be4a39e09a82a5133b7b3a277ee9bfb13a | [
"MIT"
] | 4 | 2018-10-01T08:56:14.000Z | 2020-01-04T19:47:45.000Z | pipenv/patched/contoml/file/__init__.py | Enzime/pipenv | d4f710be4a39e09a82a5133b7b3a277ee9bfb13a | [
"MIT"
] | 4 | 2020-03-24T16:06:51.000Z | 2021-06-10T20:48:41.000Z | pipenv/patched/contoml/file/__init__.py | Enzime/pipenv | d4f710be4a39e09a82a5133b7b3a277ee9bfb13a | [
"MIT"
] | 2 | 2018-04-06T05:36:25.000Z | 2018-12-30T22:58:58.000Z |
from .file import TOMLFile
| 7.25 | 26 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 3 | 27 | 9.666667 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46c792f7460307a039f22c1228cbda93648793c5 | 111 | py | Python | pyramda/logic/not_func_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 124 | 2015-07-30T21:34:25.000Z | 2022-02-19T08:45:50.000Z | pyramda/logic/not_func_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 37 | 2015-08-31T23:02:20.000Z | 2022-02-04T04:45:28.000Z | ramda/not_func_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 20 | 2015-08-04T18:59:09.000Z | 2021-12-13T08:08:59.000Z | from .not_func import not_func
def not_func_test():
assert not not_func(True)
assert not_func(False)
| 15.857143 | 30 | 0.738739 | 19 | 111 | 4 | 0.473684 | 0.460526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 111 | 6 | 31 | 18.5 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46cd82aff901ad4a18e07cb71585f80a9e29c421 | 25,471 | py | Python | core/argo/core/keras_models/BayesianInception.py | szokejokepu/natural-rws | bb1ad4ca3ec714e6bf071d2136593dc853492b68 | [
"MIT"
] | 4 | 2020-12-07T19:13:13.000Z | 2022-01-30T18:52:18.000Z | core/argo/core/keras_models/BayesianInception.py | szokejokepu/natural-rws | bb1ad4ca3ec714e6bf071d2136593dc853492b68 | [
"MIT"
] | 12 | 2020-09-25T22:41:28.000Z | 2022-02-09T23:46:34.000Z | core/argo/core/keras_models/BayesianInception.py | szokejokepu/natural-rws | bb1ad4ca3ec714e6bf071d2136593dc853492b68 | [
"MIT"
] | 2 | 2021-03-02T18:31:04.000Z | 2021-03-02T21:56:43.000Z | import tensorflow as tf
import tensorflow_probability as tfp
from .keras_utils import get_renorm_clipping
from tensorflow.keras.layers import Concatenate
#from tensorflow.keras.layers import MaxPooling2D,AveragePooling2D
class BayesianInception(tf.keras.Model):
"""Constructs a ResNet model.
"""
def __init__... | 38.887023 | 107 | 0.581642 | 2,726 | 25,471 | 5.12179 | 0.062729 | 0.053073 | 0.033878 | 0.018622 | 0.832975 | 0.794585 | 0.7842 | 0.777038 | 0.762928 | 0.760851 | 0 | 0.045384 | 0.31314 | 25,471 | 654 | 108 | 38.946483 | 0.752672 | 0.103569 | 0 | 0.684105 | 0 | 0 | 0.013929 | 0.0029 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088531 | false | 0 | 0.008048 | 0.060362 | 0.185111 | 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 |
46d72dcc220515a1594ce4669661621e3df8e1c2 | 37 | py | Python | example.py | VJ0216/fraud_detection | 92a2f8bc6062c4d5f92ba8ddd785b45f5b22d3eb | [
"Unlicense"
] | null | null | null | example.py | VJ0216/fraud_detection | 92a2f8bc6062c4d5f92ba8ddd785b45f5b22d3eb | [
"Unlicense"
] | null | null | null | example.py | VJ0216/fraud_detection | 92a2f8bc6062c4d5f92ba8ddd785b45f5b22d3eb | [
"Unlicense"
] | null | null | null | ##
print("This is an example script") | 18.5 | 34 | 0.702703 | 6 | 37 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 34 | 18.5 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.694444 | 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 |
20069f95a1e39d13b65746474e92af67c14631be | 131 | py | Python | elvis/modeling/models/__init__.py | seo-95/elvis | a89c759acdf6ce64c7e6863aeb68dc0ba3293fed | [
"Apache-2.0"
] | 1 | 2021-08-01T13:55:27.000Z | 2021-08-01T13:55:27.000Z | elvis/modeling/models/__init__.py | seo-95/elvis | a89c759acdf6ce64c7e6863aeb68dc0ba3293fed | [
"Apache-2.0"
] | null | null | null | elvis/modeling/models/__init__.py | seo-95/elvis | a89c759acdf6ce64c7e6863aeb68dc0ba3293fed | [
"Apache-2.0"
] | null | null | null | from .base import *
from .build import *
from .cnn_bert import *
from .layers import *
from .vilt import *
from .vit_bert import *
| 18.714286 | 23 | 0.725191 | 20 | 131 | 4.65 | 0.45 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183206 | 131 | 6 | 24 | 21.833333 | 0.869159 | 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 |
201fc7ea242634075bf3e6aae3259bd66f7c3d07 | 2,443 | py | Python | models/mlp.py | amayuelas/NNKGReasoning | 0e3623b344fd4e3088ece897f898ddbb1f80888d | [
"MIT"
] | 1 | 2022-03-16T22:20:12.000Z | 2022-03-16T22:20:12.000Z | models/mlp.py | amayuelas/NNKGReasoning | 0e3623b344fd4e3088ece897f898ddbb1f80888d | [
"MIT"
] | 2 | 2022-03-22T23:34:38.000Z | 2022-03-24T17:35:53.000Z | models/mlp.py | amayuelas/NNKGReasoning | 0e3623b344fd4e3088ece897f898ddbb1f80888d | [
"MIT"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
class ProjectionMLP(nn.Module):
def __init__(self, n_layers, entity_dim):
super(ProjectionMLP, self).__init__()
self.n_layers = n_layers
for i in range(1, self.n_layers+1):
setattr(self, "proj_... | 34.9 | 95 | 0.591077 | 376 | 2,443 | 3.585106 | 0.119681 | 0.103858 | 0.130564 | 0.089021 | 0.899852 | 0.873145 | 0.860534 | 0.799703 | 0.799703 | 0.799703 | 0 | 0.022259 | 0.264429 | 2,443 | 69 | 96 | 35.405797 | 0.72788 | 0 | 0 | 0.62069 | 0 | 0 | 0.039296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137931 | false | 0 | 0.068966 | 0 | 0.344828 | 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 |
2022c4aa0b4d59aa54f4b7a61697433e2081c04d | 24 | py | Python | insultgen/__init__.py | CantSayIHave/OllieBotCore_v3 | bec7b8bcfbd550bec11a85bfcead8478605998af | [
"MIT"
] | 4 | 2018-01-16T10:08:49.000Z | 2019-07-28T07:48:08.000Z | insultgen/__init__.py | CantSayIHave/OllieBotCore | bec7b8bcfbd550bec11a85bfcead8478605998af | [
"MIT"
] | null | null | null | insultgen/__init__.py | CantSayIHave/OllieBotCore | bec7b8bcfbd550bec11a85bfcead8478605998af | [
"MIT"
] | null | null | null | from .insultgen import * | 24 | 24 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.904762 | 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 |
2041f2efaaa2abd711012af995f3899fd7b11171 | 9,708 | py | Python | pyogp/lib/client/tests/test_objects.py | grobertson/PyOGP.lib.Client | 681492d95b9a901a79071b70c77bfdd55cdb02db | [
"Apache-2.0"
] | null | null | null | pyogp/lib/client/tests/test_objects.py | grobertson/PyOGP.lib.Client | 681492d95b9a901a79071b70c77bfdd55cdb02db | [
"Apache-2.0"
] | null | null | null | pyogp/lib/client/tests/test_objects.py | grobertson/PyOGP.lib.Client | 681492d95b9a901a79071b70c77bfdd55cdb02db | [
"Apache-2.0"
] | null | null | null |
"""
Contributors can be viewed at:
http://svn.secondlife.com/svn/linden/projects/2008/pyogp/lib/base/trunk/CONTRIBUTORS.txt
$LicenseInfo:firstyear=2008&license=apachev2$
Copyright 2009, Linden Research, Inc.
Licensed under the Apache License, Version 2.0.
You may obtain a copy of the License at:
http://www.apa... | 63.45098 | 2,079 | 0.749691 | 559 | 9,708 | 12.921288 | 0.423971 | 0.013291 | 0.016752 | 0.009968 | 0.08736 | 0.084176 | 0.075869 | 0.075869 | 0.075869 | 0.075869 | 0 | 0.478117 | 0.190358 | 9,708 | 152 | 2,080 | 63.868421 | 0.44084 | 0.052637 | 0 | 0.104167 | 0 | 0 | 0.492267 | 0.485515 | 0 | 1 | 0.000327 | 0 | 0.03125 | 1 | 0.072917 | false | 0.010417 | 0.125 | 0 | 0.21875 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
646d9075b9c738236a0d74bfdceaf06dfdef9616 | 32 | py | Python | run.py | bpines/SelfConsistentCFBRanker | 2b742c5a43de7e5a163a83a8d904540bbd81814e | [
"Unlicense"
] | null | null | null | run.py | bpines/SelfConsistentCFBRanker | 2b742c5a43de7e5a163a83a8d904540bbd81814e | [
"Unlicense"
] | null | null | null | run.py | bpines/SelfConsistentCFBRanker | 2b742c5a43de7e5a163a83a8d904540bbd81814e | [
"Unlicense"
] | null | null | null | from app.flask_app import server | 32 | 32 | 0.875 | 6 | 32 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64796e71e8a9f8afa5e4e08e4cbbf6a3ed1e0d5a | 135 | py | Python | hello/helloworld.py | mattiamatrix/pypackage | 0bfc1f87388707ea77923ac9a3033d1765a560a6 | [
"MIT"
] | null | null | null | hello/helloworld.py | mattiamatrix/pypackage | 0bfc1f87388707ea77923ac9a3033d1765a560a6 | [
"MIT"
] | null | null | null | hello/helloworld.py | mattiamatrix/pypackage | 0bfc1f87388707ea77923ac9a3033d1765a560a6 | [
"MIT"
] | null | null | null | def print_hello_world():
"""
:return:
"""
return "Hello, World!"
if __name__ == "__main__":
print_hello_world()
| 12.272727 | 26 | 0.57037 | 14 | 135 | 4.642857 | 0.571429 | 0.461538 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 135 | 10 | 27 | 13.5 | 0.656566 | 0.059259 | 0 | 0 | 0 | 0 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
64a327b620c48b5edbfbaaedb6432cfb3c10aa17 | 11,247 | py | Python | ckanext-hdx_pages/ckanext/hdx_pages/tests/test_api.py | OCHA-DAP/hdx-ckan | 202e0c44adc4ea8d0b90141e69365b65cce68672 | [
"Apache-2.0"
] | 58 | 2015-01-11T09:05:15.000Z | 2022-03-17T23:44:07.000Z | ckanext-hdx_pages/ckanext/hdx_pages/tests/test_api.py | OCHA-DAP/hdx-ckan | 202e0c44adc4ea8d0b90141e69365b65cce68672 | [
"Apache-2.0"
] | 1,467 | 2015-01-01T16:47:44.000Z | 2022-02-28T16:51:20.000Z | ckanext-hdx_pages/ckanext/hdx_pages/tests/test_api.py | OCHA-DAP/hdx-ckan | 202e0c44adc4ea8d0b90141e69365b65cce68672 | [
"Apache-2.0"
] | 17 | 2015-05-06T14:04:21.000Z | 2021-11-11T19:58:16.000Z | '''
Created on March 19, 2019
@author: Dan
'''
import pytest
import ckan.model as model
import ckan.plugins.toolkit as tk
import logging as logging
import ckan.logic as logic
from ckanext.hdx_dataviz.tests import USER, SYSADMIN, LOCATION
_get_action = tk.get_action
NotAuthorized = tk.NotAuthorized
log = logging.... | 45.350806 | 477 | 0.628079 | 1,382 | 11,247 | 4.934877 | 0.122287 | 0.03695 | 0.043842 | 0.033431 | 0.816862 | 0.792082 | 0.7739 | 0.753372 | 0.702493 | 0.685337 | 0 | 0.027696 | 0.242376 | 11,247 | 247 | 478 | 45.534413 | 0.772679 | 0.003468 | 0 | 0.564103 | 0 | 0.041026 | 0.340418 | 0.008216 | 0 | 0 | 0 | 0 | 0.25641 | 1 | 0.020513 | false | 0 | 0.030769 | 0 | 0.071795 | 0.025641 | 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 |
b3820483cdcb084c45ddd0c6f94cb68de41f7fc7 | 47 | py | Python | src/mlsquare/layers/__init__.py | leoninekev/mlsquare | ff9442c6e155cd8c891adb4ecdc80cad38a50506 | [
"MIT"
] | 1 | 2020-04-02T04:25:49.000Z | 2020-04-02T04:25:49.000Z | src/mlsquare/layers/__init__.py | leoninekev/mlsquare | ff9442c6e155cd8c891adb4ecdc80cad38a50506 | [
"MIT"
] | 2 | 2019-09-24T01:55:02.000Z | 2019-12-02T17:52:17.000Z | src/mlsquare/layers/__init__.py | leoninekev/mlsquare | ff9442c6e155cd8c891adb4ecdc80cad38a50506 | [
"MIT"
] | 2 | 2019-08-01T10:54:00.000Z | 2019-11-12T12:09:39.000Z | from .keras import DecisionTree, Bin, KronProd
| 23.5 | 46 | 0.808511 | 6 | 47 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.926829 | 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 |
b3e68cb41652f732b83483668541a2776d8f2f96 | 201 | py | Python | app/Util.py | shyamTum/CrowdNav | 93015712f42d6aafc217f3c0362b209134ac5cb1 | [
"MIT"
] | 15 | 2018-04-27T15:39:57.000Z | 2021-05-19T20:58:23.000Z | app/Util.py | shyamTum/CrowdNav | 93015712f42d6aafc217f3c0362b209134ac5cb1 | [
"MIT"
] | null | null | null | app/Util.py | shyamTum/CrowdNav | 93015712f42d6aafc217f3c0362b209134ac5cb1 | [
"MIT"
] | 15 | 2018-02-03T14:45:48.000Z | 2020-04-08T07:25:43.000Z | """ Helper functions """
def addToAverage(totalCount, totalValue, newValue):
""" simple sliding average calculation """
return ((1.0 * totalCount * totalValue) + newValue) / (totalCount + 1)
| 28.714286 | 74 | 0.676617 | 19 | 201 | 7.157895 | 0.736842 | 0.294118 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.179104 | 201 | 6 | 75 | 33.5 | 0.806061 | 0.258706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
b3eb76db9bf35caf0dfaed8d4b1441517d37352e | 188 | py | Python | syntactic_analysis/__init__.py | Esukhia/bo-constituency-analysis | 8a24302249ed7da2cf4b674ad74b982244ffe3f3 | [
"MIT"
] | 1 | 2019-07-11T12:11:28.000Z | 2019-07-11T12:11:28.000Z | syntactic_analysis/__init__.py | Esukhia/bo-constituency-analysis | 8a24302249ed7da2cf4b674ad74b982244ffe3f3 | [
"MIT"
] | null | null | null | syntactic_analysis/__init__.py | Esukhia/bo-constituency-analysis | 8a24302249ed7da2cf4b674ad74b982244ffe3f3 | [
"MIT"
] | 1 | 2020-12-08T10:10:31.000Z | 2020-12-08T10:10:31.000Z | from .prepare import prepare_file
from .analysis import generate_analysis, analyze_constituency
from .spreadsheet_utils import translate_trees, translate_tsv_dir, xlsx_to_tsv, tsv_to_xlsx
| 47 | 91 | 0.87766 | 27 | 188 | 5.703704 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 3 | 92 | 62.666667 | 0.895349 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
379851439594cb04dd65de5fde67994cfbedde65 | 110 | py | Python | _game_chats/settings/test.py | cansarigol/game-chats | 4b58e368cbb68126cfeeea2297c8b9bae5679916 | [
"MIT"
] | 1 | 2018-03-28T10:38:59.000Z | 2018-03-28T10:38:59.000Z | _game_chats/settings/test.py | cansarigol/game-chats | 4b58e368cbb68126cfeeea2297c8b9bae5679916 | [
"MIT"
] | 1 | 2018-02-21T14:11:15.000Z | 2018-02-28T13:54:26.000Z | _game_chats/settings/test.py | cansarigol/game-chats | 4b58e368cbb68126cfeeea2297c8b9bae5679916 | [
"MIT"
] | null | null | null | from .base import *
DATABASES['default']['USER'] = 'gamechats_user'
DATABASES['default']['PASSWORD'] = '1234' | 27.5 | 47 | 0.690909 | 12 | 110 | 6.25 | 0.75 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.090909 | 110 | 4 | 48 | 27.5 | 0.71 | 0 | 0 | 0 | 0 | 0 | 0.396396 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
37a43e5506537a4f4542c67432cd0aa5c213d95e | 3,217 | py | Python | tests/distances_tests.py | shoshijak/abcpy | ad12808782fa72c0428122fc659fd3ff22d3e854 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/distances_tests.py | shoshijak/abcpy | ad12808782fa72c0428122fc659fd3ff22d3e854 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/distances_tests.py | shoshijak/abcpy | ad12808782fa72c0428122fc659fd3ff22d3e854 | [
"BSD-3-Clause-Clear"
] | null | null | null | import unittest
import numpy as np
from abcpy.distances import Euclidean, PenLogReg, LogReg
from abcpy.statistics import Identity
class EuclideanTests(unittest.TestCase):
def setUp(self):
self.stat_calc = Identity(degree = 1, cross = 0)
self.distancefunc = Euclidean(self.stat_calc)
def te... | 37.406977 | 124 | 0.634753 | 427 | 3,217 | 4.721311 | 0.196721 | 0.15873 | 0.166667 | 0.011905 | 0.819444 | 0.816468 | 0.74752 | 0.732143 | 0.732143 | 0.732143 | 0 | 0.058775 | 0.243705 | 3,217 | 85 | 125 | 37.847059 | 0.769831 | 0.151383 | 0 | 0.576923 | 0 | 0 | 0.002942 | 0 | 0 | 0 | 0 | 0 | 0.326923 | 1 | 0.173077 | false | 0 | 0.076923 | 0 | 0.307692 | 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 |
8066c96d3f8e7c85756bf33c170720d5e2e0385d | 32 | py | Python | src/rl/np/input/__init__.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | 1 | 2019-10-06T11:45:52.000Z | 2019-10-06T11:45:52.000Z | src/rl/tf/input/__init__.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | null | null | null | src/rl/tf/input/__init__.py | djjh/reinforcement-learning-labs | 22706dab9e7f16e364ee4ed79c0bd67a343e5b08 | [
"MIT"
] | null | null | null | from .box_input import BoxInput
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80a35f90e28d527b5bd583f1f4ac04b675846358 | 2,705 | py | Python | listdraw.py | gkfthddk/keras | 46d96c65d69c39df298800336bbb4d867a2561fb | [
"MIT"
] | null | null | null | listdraw.py | gkfthddk/keras | 46d96c65d69c39df298800336bbb4d867a2561fb | [
"MIT"
] | null | null | null | listdraw.py | gkfthddk/keras | 46d96c65d69c39df298800336bbb4d867a2561fb | [
"MIT"
] | null | null | null | import os
import sys
import subprocess
import numpy as np
from datetime import datetime
import matplotlib.pyplot as plt
plt.tick_params(labelsize=15)
import random
import ROOT as rt
ptmin=0
ptmax=0
now=datetime.now()
fs=25
for pt in [100,200,500,1000]:
plt.figure(figsize=(12,8))
for sample in ["zq","qq","zg","gg"]:... | 39.779412 | 150 | 0.65841 | 450 | 2,705 | 3.935556 | 0.251111 | 0.033879 | 0.031621 | 0.08131 | 0.868436 | 0.868436 | 0.868436 | 0.868436 | 0.868436 | 0.868436 | 0 | 0.050659 | 0.102403 | 2,705 | 67 | 151 | 40.373134 | 0.678748 | 0.062847 | 0 | 0.655172 | 0 | 0 | 0.157708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.137931 | 0 | 0.137931 | 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 |
80dc0b2169af53378b5c1df89a6b4ba300903395 | 15,316 | py | Python | test.py | nKolja/SIKE-zero-value-attacks | f53496b382740a02556e07df2e1afd4c62f03ddb | [
"MIT"
] | null | null | null | test.py | nKolja/SIKE-zero-value-attacks | f53496b382740a02556e07df2e1afd4c62f03ddb | [
"MIT"
] | null | null | null | test.py | nKolja/SIKE-zero-value-attacks | f53496b382740a02556e07df2e1afd4c62f03ddb | [
"MIT"
] | null | null | null |
import os
import subprocess
import math
import random
def numberToBase(n, b):
if(b == 16):
return hex(n)[2:]
if n == 0:
return '0'
digits = []
while n:
digits.append(int(n % b))
n //= b
digits = [str(a) for a in digits][::-1]
return ''.join(digits)
def attack... | 42.076923 | 188 | 0.683142 | 2,304 | 15,316 | 4.178385 | 0.067708 | 0.099096 | 0.066272 | 0.07479 | 0.87587 | 0.858627 | 0.833074 | 0.814065 | 0.785395 | 0.781136 | 0 | 0.021527 | 0.162902 | 15,316 | 363 | 189 | 42.192837 | 0.72935 | 0.005027 | 0 | 0.607143 | 0 | 0 | 0.15179 | 0.003218 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043651 | false | 0 | 0.015873 | 0 | 0.071429 | 0.34127 | 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 |
ff03da98f44e8c1c8f8d47d0030ee5445ef02f58 | 319 | py | Python | scrapy/contrib/linkextractors/htmlparser.py | jesuslosada/scrapy | 8be28fe4ca8b1cd011d5f7e03661da8a6bb3217b | [
"BSD-3-Clause"
] | 22 | 2018-03-13T13:51:41.000Z | 2022-02-19T07:27:48.000Z | scrapy/contrib/linkextractors/htmlparser.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 10 | 2020-02-11T23:34:28.000Z | 2022-03-11T23:16:12.000Z | scrapy/contrib/linkextractors/htmlparser.py | EnjoyLifeFund/Debian_py36_packages | 1985d4c73fabd5f08f54b922e73a9306e09c77a5 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | 6 | 2017-12-28T03:59:54.000Z | 2020-02-26T16:01:45.000Z | import warnings
from scrapy.exceptions import ScrapyDeprecationWarning
warnings.warn("Module `scrapy.contrib.linkextractors.htmlparser` is deprecated, "
"use `scrapy.linkextractors.htmlparser` instead",
ScrapyDeprecationWarning, stacklevel=2)
from scrapy.linkextractors.htmlparser import *
| 39.875 | 81 | 0.77116 | 29 | 319 | 8.482759 | 0.586207 | 0.292683 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003704 | 0.153605 | 319 | 7 | 82 | 45.571429 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0.347962 | 0.238245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
20687711c986df9cdec9ad8786c066a6abff8b7a | 24,669 | py | Python | hallo/test/modules/dailys/fields/test_dailys_sleep_field.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2022-01-27T13:25:01.000Z | 2022-01-27T13:25:01.000Z | hallo/test/modules/dailys/fields/test_dailys_sleep_field.py | joshcoales/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 75 | 2015-09-26T18:07:18.000Z | 2022-01-04T07:15:11.000Z | hallo/test/modules/dailys/fields/test_dailys_sleep_field.py | SpangleLabs/Hallo | 17145d8f76552ecd4cbc5caef8924bd2cf0cbf24 | [
"MIT"
] | 1 | 2021-04-10T12:02:47.000Z | 2021-04-10T12:02:47.000Z | from datetime import datetime, timedelta, date
import dateutil.parser
import pytest
from hallo.events import EventMessage, RawDataTelegram
from hallo.modules.dailys.field_sleep import DailysSleepField
from hallo.test.modules.dailys.dailys_spreadsheet_mock import DailysSpreadsheetMock
class Obj:
pass
def get_t... | 41.460504 | 99 | 0.693907 | 3,251 | 24,669 | 4.974469 | 0.042141 | 0.07513 | 0.100482 | 0.053611 | 0.923077 | 0.91003 | 0.898899 | 0.873423 | 0.866374 | 0.85345 | 0 | 0.036485 | 0.197819 | 24,669 | 594 | 100 | 41.530303 | 0.780737 | 0.084276 | 0 | 0.699789 | 0 | 0 | 0.109177 | 0 | 0 | 0 | 0 | 0 | 0.247357 | 1 | 0.023256 | false | 0.048626 | 0.012685 | 0 | 0.040169 | 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 |
2093b013ce994a5e08ed75bd5961c2e8ce3b1adb | 30 | py | Python | build/lib/git_test/__init__.py | d-giles/git_test | 07a59215385d67dc9e2491433ea0f5e1c9483271 | [
"MIT"
] | null | null | null | build/lib/git_test/__init__.py | d-giles/git_test | 07a59215385d67dc9e2491433ea0f5e1c9483271 | [
"MIT"
] | null | null | null | build/lib/git_test/__init__.py | d-giles/git_test | 07a59215385d67dc9e2491433ea0f5e1c9483271 | [
"MIT"
] | 1 | 2018-11-06T20:49:00.000Z | 2018-11-06T20:49:00.000Z | from .code import do_something | 30 | 30 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2098507532939c0c7777c7a9c35cc6136a500cc8 | 215 | py | Python | docs/examples/return_args.py | cclauss/python-devtools | 54b2b2b672bb76dfb14f875b4b41957162bb257f | [
"MIT"
] | 487 | 2017-08-21T11:59:24.000Z | 2022-03-30T09:39:55.000Z | docs/examples/return_args.py | sthagen/python-devtools | 43d3796f9d2e2d38d94f0fffa23d986f1c22b4d7 | [
"MIT"
] | 92 | 2017-09-08T17:50:50.000Z | 2022-02-28T09:22:19.000Z | docs/examples/return_args.py | sthagen/python-devtools | 43d3796f9d2e2d38d94f0fffa23d986f1c22b4d7 | [
"MIT"
] | 26 | 2019-07-26T15:36:00.000Z | 2022-03-31T11:59:39.000Z | from devtools import debug
assert debug('foo') == 'foo'
assert debug('foo', 'bar') == ('foo', 'bar')
assert debug('foo', 'bar', spam=123) == ('foo', 'bar', {'spam': 123})
assert debug(spam=123) == ({'spam': 123},)
| 30.714286 | 69 | 0.581395 | 30 | 215 | 4.166667 | 0.3 | 0.352 | 0.336 | 0.272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.134884 | 215 | 6 | 70 | 35.833333 | 0.607527 | 0 | 0 | 0 | 0 | 0 | 0.176744 | 0 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20ef006eefc7b99067bd31750cabf76998c256fe | 260,234 | py | Python | instances/passenger_demand/pas-20210422-1717-int18e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int18e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 34511
passenger_arriving = (
(10, 9, 11, 6, 8, 3, 6, 1, 7, 1, 0, 0, 0, 3, 7, 8, 7, 7, 2, 4, 2, 3, 3, 1, 0, 0), # 0
(6, 12, 8, 11, 5, 3, 4, 3, 3, 2, 1, 1, 0, 10, 10, 10, 6, 7, 4, 2, 2, 3, 7, 3, 4, 0), # 1
(14, 5, 8, 8, 7, 2, 7, 5, 5, 0, 0, 1, 0, 13, 15, 6, 5, 12, 7, 5, 5, 3, 4,... | 278.325134 | 490 | 0.771267 | 32,987 | 260,234 | 6.084185 | 0.234395 | 0.355159 | 0.340809 | 0.645743 | 0.366016 | 0.361108 | 0.360809 | 0.36066 | 0.36066 | 0.36066 | 0 | 0.85104 | 0.095045 | 260,234 | 934 | 491 | 278.623126 | 0.001185 | 0.015413 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4586bdde1959fd933965c8142f7eef70f0f37618 | 11,960 | py | Python | escnn/group/groups/factory.py | QUVA-Lab/escnn | 59ed6b96f61f8616f87b3f25aa2f8abdb6f1a882 | [
"BSD-3-Clause"
] | 4 | 2022-03-16T22:51:39.000Z | 2022-03-18T18:45:49.000Z | escnn/group/groups/factory.py | QUVA-Lab/escnn | 59ed6b96f61f8616f87b3f25aa2f8abdb6f1a882 | [
"BSD-3-Clause"
] | null | null | null | escnn/group/groups/factory.py | QUVA-Lab/escnn | 59ed6b96f61f8616f87b3f25aa2f8abdb6f1a882 | [
"BSD-3-Clause"
] | null | null | null |
from escnn.group import direct_product
from .cyclicgroup import CyclicGroup
from .dihedralgroup import DihedralGroup
from .so2group import SO2
from .o2group import O2
from .so3group import SO3
from .o3group import O3
from .ico import Icosahedral
from .octa import Octahedral
__all__ = [
"trivial_group",
"cyc... | 35.384615 | 121 | 0.706689 | 1,746 | 11,960 | 4.769759 | 0.091638 | 0.041306 | 0.034582 | 0.03074 | 0.835134 | 0.824328 | 0.813401 | 0.798511 | 0.773775 | 0.723583 | 0 | 0.010785 | 0.216973 | 11,960 | 337 | 122 | 35.489614 | 0.878484 | 0.741388 | 0 | 0.072289 | 0 | 0 | 0.130906 | 0.032076 | 0 | 0 | 0 | 0 | 0 | 1 | 0.180723 | false | 0 | 0.108434 | 0 | 0.46988 | 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 |
b31980544a8c6bdb44fd75319e827904194cc674 | 111 | py | Python | my_app/main/__init__.py | yeswanth928/College-Results-Website | 48a41fcbf0f46804bf98ccfb878c7ffa742beb93 | [
"MIT"
] | 2 | 2020-07-20T18:36:49.000Z | 2020-07-21T06:40:19.000Z | my_app/main/__init__.py | yeswanth928/College-Results-Website | 48a41fcbf0f46804bf98ccfb878c7ffa742beb93 | [
"MIT"
] | null | null | null | my_app/main/__init__.py | yeswanth928/College-Results-Website | 48a41fcbf0f46804bf98ccfb878c7ffa742beb93 | [
"MIT"
] | null | null | null | from flask import Blueprint
main=Blueprint('main',__name__,template_folder='/./templates')
from . import views
| 27.75 | 62 | 0.792793 | 14 | 111 | 5.928571 | 0.714286 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 111 | 3 | 63 | 37 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 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 |
b344c624395f6c148e43ae9f8c7189ffa953e07f | 976 | py | Python | blueque/task.py | ustudio/Blueque | f973c470d6558856bbd7f3bf4d6a3e42d38fce85 | [
"Apache-2.0"
] | 5 | 2016-12-03T23:10:45.000Z | 2018-06-06T17:06:27.000Z | blueque/task.py | ustudio/Blueque | f973c470d6558856bbd7f3bf4d6a3e42d38fce85 | [
"Apache-2.0"
] | 8 | 2015-06-19T21:32:48.000Z | 2021-01-08T19:27:45.000Z | blueque/task.py | ustudio/Blueque | f973c470d6558856bbd7f3bf4d6a3e42d38fce85 | [
"Apache-2.0"
] | 1 | 2017-05-18T06:15:17.000Z | 2017-05-18T06:15:17.000Z | class Task(object):
def __init__(self, id, redis_task):
super(Task, self).__init__()
self._id = id
self._attributes = redis_task.get_task_data()
@property
def id(self):
return self._id
@property
def status(self):
return self._attributes.get("status")
@... | 20.765957 | 53 | 0.61168 | 111 | 976 | 5.162162 | 0.207207 | 0.244328 | 0.244328 | 0.376963 | 0.424084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269467 | 976 | 46 | 54 | 21.217391 | 0.803647 | 0 | 0 | 0.285714 | 0 | 0 | 0.054303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314286 | false | 0 | 0 | 0.285714 | 0.628571 | 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 |
b36c876d3f4c9fc4fa5a401d27e447b6c5a120d5 | 96 | py | Python | pytorch_autograd_checkpointing/__init__.py | shirazb/pytorch-autograd-checkpointing | a31513208fe085365db6d8d7a4a4fad72e18d95b | [
"MIT"
] | 1 | 2019-10-14T16:52:02.000Z | 2019-10-14T16:52:02.000Z | pytorch_autograd_checkpointing/__init__.py | shirazb/pytorch-autograd-checkpointing | a31513208fe085365db6d8d7a4a4fad72e18d95b | [
"MIT"
] | null | null | null | pytorch_autograd_checkpointing/__init__.py | shirazb/pytorch-autograd-checkpointing | a31513208fe085365db6d8d7a4a4fad72e18d95b | [
"MIT"
] | 1 | 2019-08-31T22:00:27.000Z | 2019-08-31T22:00:27.000Z | from .checkpoint_sequential import *
from .CheckpointedSequential import CheckpointedSequential
| 32 | 58 | 0.885417 | 8 | 96 | 10.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 59 | 48 | 0.954545 | 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 |
2fcfac46c233b5723d500f6a2375cc3f34a8fbed | 85 | py | Python | notebooks/Skew_T/solutions/skewt_bulk_shear.py | DEVESHTARASIA/unidata-python-workshop | 6ce194a0515effbd0cddb50c2302d5160494747e | [
"MIT"
] | 1 | 2020-01-18T20:34:33.000Z | 2020-01-18T20:34:33.000Z | notebooks/Skew_T/solutions/skewt_bulk_shear.py | DEVESHTARASIA/unidata-python-workshop | 6ce194a0515effbd0cddb50c2302d5160494747e | [
"MIT"
] | null | null | null | notebooks/Skew_T/solutions/skewt_bulk_shear.py | DEVESHTARASIA/unidata-python-workshop | 6ce194a0515effbd0cddb50c2302d5160494747e | [
"MIT"
] | 1 | 2020-11-07T12:42:54.000Z | 2020-11-07T12:42:54.000Z | shr_u, shr_v = mpcalc.bulk_shear(p, u, v, depth=200 * units.hPa)
print(shr_u, shr_v)
| 28.333333 | 64 | 0.705882 | 19 | 85 | 2.894737 | 0.631579 | 0.145455 | 0.254545 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.129412 | 85 | 2 | 65 | 42.5 | 0.702703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
64320797fe6297dd95b1d8853bcf73f9c5751e3c | 20 | py | Python | clientbot/__init__.py | abrohit/Hackathon | f5abfa884b50a52c8285f5d4c2a7c15b27575ad5 | [
"MIT"
] | 4 | 2020-08-08T21:58:24.000Z | 2020-08-11T20:16:53.000Z | clientbot/__init__.py | abrohit/Hackathon | f5abfa884b50a52c8285f5d4c2a7c15b27575ad5 | [
"MIT"
] | null | null | null | clientbot/__init__.py | abrohit/Hackathon | f5abfa884b50a52c8285f5d4c2a7c15b27575ad5 | [
"MIT"
] | 4 | 2020-08-11T21:42:25.000Z | 2020-09-17T13:24:05.000Z | from .mongo import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6432f772e067ac5c3e3c448502a821cd3775054e | 71 | py | Python | __init__.py | yamasampo/invasion | 12e349d7a0f90017de41be9f643624decee22621 | [
"Apache-2.0"
] | null | null | null | __init__.py | yamasampo/invasion | 12e349d7a0f90017de41be9f643624decee22621 | [
"Apache-2.0"
] | null | null | null | __init__.py | yamasampo/invasion | 12e349d7a0f90017de41be9f643624decee22621 | [
"Apache-2.0"
] | null | null | null | from . import population
from . import settings
from . import simulate
| 17.75 | 24 | 0.788732 | 9 | 71 | 6.222222 | 0.555556 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 25 | 23.666667 | 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 |
ff4171aecac8bc799aa1f122fcb019aa4fbe7993 | 65 | py | Python | pyMusicSync/__init__.py | tuankiet65/pyMusicSync | 98cfea6fa1efa82c35755d42832cd8db9f76e05f | [
"MIT"
] | 2 | 2016-12-10T08:34:20.000Z | 2017-05-02T11:57:58.000Z | pyMusicSync/__init__.py | tuankiet65/pyMusicSync | 98cfea6fa1efa82c35755d42832cd8db9f76e05f | [
"MIT"
] | 2 | 2016-12-10T08:34:54.000Z | 2017-04-10T10:37:14.000Z | pyMusicSync/__init__.py | tuankiet65/pyMusicSync | 98cfea6fa1efa82c35755d42832cd8db9f76e05f | [
"MIT"
] | null | null | null | import logging
import pyMusicSync.config
import pyMusicSync.sync
| 16.25 | 25 | 0.876923 | 8 | 65 | 7.125 | 0.625 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 3 | 26 | 21.666667 | 0.966102 | 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 |
ff5a9d6a69e328bdbd09290d36faafc034940560 | 100 | py | Python | lobotomy/_clients/__init__.py | rocketboosters/lobotomy | 209817120d3a1fd11c218d2f243acbbdd17d8b0f | [
"MIT"
] | null | null | null | lobotomy/_clients/__init__.py | rocketboosters/lobotomy | 209817120d3a1fd11c218d2f243acbbdd17d8b0f | [
"MIT"
] | null | null | null | lobotomy/_clients/__init__.py | rocketboosters/lobotomy | 209817120d3a1fd11c218d2f243acbbdd17d8b0f | [
"MIT"
] | null | null | null | from ._casting import InternalStreamer # noqa: F401
from ._definitions import Client # noqa: F401
| 33.333333 | 52 | 0.78 | 12 | 100 | 6.333333 | 0.666667 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0.16 | 100 | 2 | 53 | 50 | 0.833333 | 0.21 | 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 |
ff660035051a23a883afffd6c8ae1d7ed5c85946 | 32,466 | py | Python | endpoints/campaign_endpoint.py | iTecAI/XL3 | 17cc30288d6d5f53e5a269c3bff619cb65f6e1d1 | [
"MIT"
] | null | null | null | endpoints/campaign_endpoint.py | iTecAI/XL3 | 17cc30288d6d5f53e5a269c3bff619cb65f6e1d1 | [
"MIT"
] | null | null | null | endpoints/campaign_endpoint.py | iTecAI/XL3 | 17cc30288d6d5f53e5a269c3bff619cb65f6e1d1 | [
"MIT"
] | null | null | null | from pickle import load
from endpoints.character_endpoint import decache
from fastapi import APIRouter, status, Request, Response
from util import *
from classes import *
from _runtime import server, CONFIG
import logging, random, hashlib
from pydantic import BaseModel
from models import *
from _api import *
import os,... | 59.244526 | 230 | 0.656502 | 3,756 | 32,466 | 5.580405 | 0.071086 | 0.028626 | 0.045515 | 0.060687 | 0.848903 | 0.819561 | 0.800573 | 0.754151 | 0.739074 | 0.731059 | 0 | 0.0123 | 0.201195 | 32,466 | 548 | 231 | 59.244526 | 0.795905 | 0 | 0 | 0.61597 | 0 | 0.013308 | 0.299689 | 0.012105 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001901 | false | 0.022814 | 0.024715 | 0 | 0.153992 | 0.142586 | 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 |
441c30c46389146344e31b10a9c3e0c866bda0a8 | 115 | py | Python | templategen.py | JJL772/ek9000-util | 73d919a8f820e00733c5c7687eb74d6c08371557 | [
"BSD-3-Clause-LBNL"
] | null | null | null | templategen.py | JJL772/ek9000-util | 73d919a8f820e00733c5c7687eb74d6c08371557 | [
"BSD-3-Clause-LBNL"
] | null | null | null | templategen.py | JJL772/ek9000-util | 73d919a8f820e00733c5c7687eb74d6c08371557 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #!/usr/bin/python3
#
# Utility script to generate a bunch of template/subs
#
import EpicsTk, sys, os, argparse
| 11.5 | 53 | 0.713043 | 17 | 115 | 4.823529 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.182609 | 115 | 9 | 54 | 12.777778 | 0.861702 | 0.6 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44276cb533f7416e29648edd48fe6d04a73dd6c5 | 173 | py | Python | mayan/apps/documents/runtime.py | Dave360-crypto/mayan-edms | 9cd37537461347f79ff0429e4b8b16fd2446798d | [
"Apache-2.0"
] | 3 | 2020-02-03T11:58:51.000Z | 2020-10-20T03:52:21.000Z | mayan/apps/documents/runtime.py | Dave360-crypto/mayan-edms | 9cd37537461347f79ff0429e4b8b16fd2446798d | [
"Apache-2.0"
] | null | null | null | mayan/apps/documents/runtime.py | Dave360-crypto/mayan-edms | 9cd37537461347f79ff0429e4b8b16fd2446798d | [
"Apache-2.0"
] | 2 | 2020-10-24T11:10:06.000Z | 2021-03-03T20:05:38.000Z | from __future__ import absolute_import
from common.utils import load_backend
from .conf.settings import STORAGE_BACKEND
storage_backend = load_backend(STORAGE_BACKEND)()
| 21.625 | 49 | 0.849711 | 23 | 173 | 5.956522 | 0.478261 | 0.306569 | 0.306569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 173 | 7 | 50 | 24.714286 | 0.883871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
44536cff167113f50e4a07f83de8425679fe6ff4 | 136 | py | Python | scripts/npc/autogen_test1.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_test1.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | scripts/npc/autogen_test1.py | doriyan13/doristory | 438caf3b123922da3f5f3b16fcc98a26a8ab85ce | [
"MIT"
] | null | null | null | # ObjectID: 1000006
# ParentID: 9090008
# Character field ID when accessed: 180000000
# Object Position Y: -93
# Object Position X: -71
| 22.666667 | 45 | 0.742647 | 18 | 136 | 5.611111 | 0.888889 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238938 | 0.169118 | 136 | 5 | 46 | 27.2 | 0.654867 | 0.919118 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 |
923baa64119f3a451d7c3da0d3d112059c577e1f | 108 | py | Python | app/main/__init__.py | Saitore973/blog_app | 2f9f4fd1498260c25049fd79e16dc595a1cd0219 | [
"MIT"
] | null | null | null | app/main/__init__.py | Saitore973/blog_app | 2f9f4fd1498260c25049fd79e16dc595a1cd0219 | [
"MIT"
] | null | null | null | app/main/__init__.py | Saitore973/blog_app | 2f9f4fd1498260c25049fd79e16dc595a1cd0219 | [
"MIT"
] | null | null | null | from flask import Blueprint
#create blueprint
main=Blueprint('main', __name__)
from . import views, errors
| 18 | 32 | 0.787037 | 14 | 108 | 5.785714 | 0.642857 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 108 | 5 | 33 | 21.6 | 0.861702 | 0.148148 | 0 | 0 | 0 | 0 | 0.043956 | 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 |
2b9f4aa24d07524f15fc458967775b915cc72f5c | 26,604 | py | Python | tests/communities/test_thread.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 1 | 2019-10-18T05:57:13.000Z | 2019-10-18T05:57:13.000Z | tests/communities/test_thread.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 11 | 2019-12-02T13:59:22.000Z | 2021-04-24T08:52:19.000Z | tests/communities/test_thread.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | null | null | null | from core.response import Response
from communities.tests import TestCase
class ThreadPermissionTest(TestCase):
def setUp(self):
self.create_user(is_staff=True)
def test_permission_inactive_forum(self):
option = self.create_option(is_active=False)
self.create_forum(option=option)
... | 30.095023 | 79 | 0.49985 | 2,811 | 26,604 | 4.605478 | 0.041622 | 0.062568 | 0.085355 | 0.103816 | 0.918199 | 0.887147 | 0.871157 | 0.852541 | 0.832844 | 0.802256 | 0 | 0.012247 | 0.3616 | 26,604 | 883 | 80 | 30.129105 | 0.75 | 0 | 0 | 0.610825 | 0 | 0 | 0.160089 | 0.08416 | 0 | 0 | 0 | 0 | 0.10567 | 1 | 0.032216 | false | 0 | 0.002577 | 0 | 0.042526 | 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 |
92140c9cd218493f8bd22a34913fb5d028d477a0 | 155 | py | Python | app/__init__.py | jasparkatt/flask_fishing | 3b55a8b1ebdccdfd908ab5ef2658d1958b4f0a2d | [
"MIT"
] | 1 | 2021-02-01T20:21:22.000Z | 2021-02-01T20:21:22.000Z | app/__init__.py | jasparkatt/flask_fishing | 3b55a8b1ebdccdfd908ab5ef2658d1958b4f0a2d | [
"MIT"
] | 1 | 2020-11-12T02:10:58.000Z | 2020-11-14T02:40:11.000Z | app/__init__.py | jasparkatt/flask_fishing | 3b55a8b1ebdccdfd908ab5ef2658d1958b4f0a2d | [
"MIT"
] | null | null | null | import os
from flask import Flask
app = Flask(__name__)
from app import views
from app import admin_views
from app import database
from app import maps
| 14.090909 | 27 | 0.8 | 26 | 155 | 4.576923 | 0.384615 | 0.235294 | 0.436975 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180645 | 155 | 10 | 28 | 15.5 | 0.937008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9216bf2dee9470110e03260d8ea30781d5112555 | 294 | py | Python | tests/conftest.py | samnimoh/pydapper | 28e02a82339c4373aae043483868c84946e4aca9 | [
"MIT"
] | 19 | 2022-01-19T15:30:57.000Z | 2022-03-10T15:15:56.000Z | tests/conftest.py | samnimoh/pydapper | 28e02a82339c4373aae043483868c84946e4aca9 | [
"MIT"
] | 17 | 2022-01-19T06:23:35.000Z | 2022-03-06T17:09:25.000Z | tests/conftest.py | samnimoh/pydapper | 28e02a82339c4373aae043483868c84946e4aca9 | [
"MIT"
] | 2 | 2022-02-05T02:18:02.000Z | 2022-02-17T08:39:54.000Z | from pathlib import Path
import pytest
@pytest.fixture(scope="session")
def setup_sql_dir():
return Path(__file__).parent / "databases"
@pytest.fixture(scope="session")
def database_name():
return f"pydapper"
@pytest.fixture(scope="session")
def server():
return "localhost"
| 15.473684 | 46 | 0.721088 | 37 | 294 | 5.540541 | 0.594595 | 0.190244 | 0.263415 | 0.365854 | 0.409756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 294 | 18 | 47 | 16.333333 | 0.813492 | 0 | 0 | 0.272727 | 0 | 0 | 0.159864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | true | 0 | 0.181818 | 0.272727 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a63c0883450f937afea18d6d2e21827b0562fa73 | 1,518 | py | Python | BPt/extensions/tests/test_residualizer.py | sahahn/BPt | 1a2967f4ca3fa070b7417a4f59a218ae171daadd | [
"MIT"
] | 6 | 2020-11-06T15:45:28.000Z | 2022-03-08T19:15:35.000Z | BPt/extensions/tests/test_residualizer.py | sahahn/BPt | 1a2967f4ca3fa070b7417a4f59a218ae171daadd | [
"MIT"
] | 14 | 2020-10-20T13:55:23.000Z | 2022-01-25T17:36:07.000Z | BPt/extensions/tests/test_residualizer.py | sahahn/BPt | 1a2967f4ca3fa070b7417a4f59a218ae171daadd | [
"MIT"
] | 2 | 2020-10-23T19:48:53.000Z | 2020-11-06T15:46:04.000Z | import pandas as pd
from ..residualizer import LinearResidualizer
from sklearn.preprocessing import OneHotEncoder
from sklearn.linear_model import LinearRegression
import numpy as np
def test_base():
covars = pd.DataFrame()
covars['1'] = [1, 1, 1]
covars['2'] = [1, 2, 3]
covars['2'] = covars['2'].as... | 25.728814 | 57 | 0.590909 | 207 | 1,518 | 4.227053 | 0.280193 | 0.013714 | 0.013714 | 0.036571 | 0.713143 | 0.713143 | 0.713143 | 0.713143 | 0.713143 | 0.713143 | 0 | 0.04792 | 0.27141 | 1,518 | 58 | 58 | 26.172414 | 0.743219 | 0.041502 | 0 | 0.736842 | 0 | 0 | 0.016529 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 1 | 0.052632 | false | 0 | 0.131579 | 0 | 0.184211 | 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 |
a6401d0ba114cba9eb3d197ae4c7bf82d567db41 | 17 | py | Python | multifil/__init__.py | akschroer/multifil | 870201b3c759035e1df8689703412b4fabf548ee | [
"MIT"
] | 1 | 2019-04-17T20:09:27.000Z | 2019-04-17T20:09:27.000Z | multifil/__init__.py | akschroer/multifil | 870201b3c759035e1df8689703412b4fabf548ee | [
"MIT"
] | 1 | 2021-11-24T16:05:31.000Z | 2021-11-24T16:05:31.000Z | multifil/__init__.py | akschroer/multifil | 870201b3c759035e1df8689703412b4fabf548ee | [
"MIT"
] | 3 | 2017-01-20T23:58:40.000Z | 2019-04-19T15:55:10.000Z | from . import hs
| 8.5 | 16 | 0.705882 | 3 | 17 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 17 | 1 | 17 | 17 | 0.923077 | 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 |
a6a44c62d5299962bcc99de326f811d0469d0d0f | 4,961 | py | Python | tests/test_examples.py | anthony-aylward/ftscursor | 7d67e75c13f65f81f1c9b5b0444ac8fa4d0328e5 | [
"MIT"
] | 2 | 2021-01-10T22:46:36.000Z | 2022-03-24T11:28:56.000Z | tests/test_examples.py | anthony-aylward/ftscursor | 7d67e75c13f65f81f1c9b5b0444ac8fa4d0328e5 | [
"MIT"
] | null | null | null | tests/test_examples.py | anthony-aylward/ftscursor | 7d67e75c13f65f81f1c9b5b0444ac8fa4d0328e5 | [
"MIT"
] | null | null | null | import pytest
import sqlite3
from ftscursor import FTSCursor
@pytest.fixture(scope="module")
def example_connection():
conn = sqlite3.connect(':memory:')
c = conn.cursor(factory=FTSCursor)
c.attach_source_db(':memory:')
c.executescript('''
CREATE TABLE source.posts(id INTEGER, title TEXT, body ... | 35.184397 | 115 | 0.700665 | 675 | 4,961 | 4.936296 | 0.118519 | 0.193878 | 0.132053 | 0.148259 | 0.92587 | 0.92587 | 0.92587 | 0.891056 | 0.891056 | 0.863145 | 0 | 0.015081 | 0.171336 | 4,961 | 140 | 116 | 35.435714 | 0.795427 | 0 | 0 | 0.601942 | 0 | 0.038835 | 0.261842 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 1 | 0.194175 | false | 0 | 0.029126 | 0 | 0.242718 | 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 |
47072394cb02e4010521f224d49aed9cccb51609 | 1,606 | py | Python | tests/test_sort.py | atviriduomenys/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 2 | 2019-03-14T06:41:14.000Z | 2019-03-26T11:48:14.000Z | tests/test_sort.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 44 | 2019-04-05T15:52:45.000Z | 2022-03-30T07:41:33.000Z | tests/test_sort.py | sirex/spinta | 77a10e201f8cdc63143fce7996fd0898acb1ff58 | [
"MIT"
] | 1 | 2019-04-01T09:54:27.000Z | 2019-04-01T09:54:27.000Z | import pytest
@pytest.mark.models(
'backends/mongo/report',
'backends/postgres/report',
)
def test_sort(model, app):
app.authmodel(model, ['insert', 'search'])
resp = app.post('/', json={'_data': [
{'_op': 'insert', '_type': model, 'count': 10},
{'_op': 'insert', '_type': model, 'count... | 28.175439 | 69 | 0.521793 | 191 | 1,606 | 4.256545 | 0.235602 | 0.110701 | 0.061501 | 0.067651 | 0.846248 | 0.813038 | 0.742927 | 0.742927 | 0.742927 | 0.742927 | 0 | 0.021497 | 0.217933 | 1,606 | 56 | 70 | 28.678571 | 0.625796 | 0 | 0 | 0.565217 | 0 | 0 | 0.309465 | 0.174969 | 0 | 0 | 0 | 0 | 0.152174 | 1 | 0.043478 | false | 0 | 0.021739 | 0 | 0.065217 | 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 |
5b476f443ac1615cc930a88e6ed431d6ca48b47b | 1,850 | py | Python | Pytorch_API/01torch.max.py | HuangCongQing/pytorch | 2b2b01d74b45cbe4e467da229798609e79cec97c | [
"MIT"
] | 12 | 2020-12-12T03:45:53.000Z | 2022-02-25T03:31:50.000Z | Pytorch_API/01torch.max.py | HuangCongQing/pytorch | 2b2b01d74b45cbe4e467da229798609e79cec97c | [
"MIT"
] | 2 | 2019-03-03T11:40:11.000Z | 2019-03-04T05:47:38.000Z | Pytorch_API/01torch.max.py | HuangCongQing/pytorch | 2b2b01d74b45cbe4e467da229798609e79cec97c | [
"MIT"
] | 7 | 2020-08-08T02:44:15.000Z | 2022-01-23T00:03:16.000Z | '''
Description: https://blog.csdn.net/weixin_43255962/article/details/84402586?
Author: HCQ
Company(School): UCAS
Email: 1756260160@qq.com
Date: 2021-06-16 16:19:46
LastEditTime: 2021-06-16 16:23:47
FilePath: /pytorch/Pytorch_API/01torch.max.py
'''
import torch
x = torch.rand(4,4)
print('x:\n',x)
print('torch.max(x,1... | 30.327869 | 93 | 0.624865 | 379 | 1,850 | 3.039578 | 0.197889 | 0.208333 | 0.234375 | 0.234375 | 0.694444 | 0.650174 | 0.586806 | 0.466146 | 0.153646 | 0.131076 | 0 | 0.21522 | 0.090811 | 1,850 | 61 | 94 | 30.327869 | 0.469679 | 0.13027 | 0 | 0 | 0 | 0 | 0.409357 | 0.295322 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.846154 | 0 | 0 | 0 | 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 | 1 | 0 | 6 |
5b52e299f9986a0cb2263bb32ff8d18565d8208d | 129 | py | Python | utils/utils.py | LordRonz/telemogus | b3090bfa45e2272ec41d3ffe120a4e61f14944ab | [
"WTFPL"
] | 1 | 2022-03-03T15:03:03.000Z | 2022-03-03T15:03:03.000Z | utils/utils.py | LordRonz/telemogus | b3090bfa45e2272ec41d3ffe120a4e61f14944ab | [
"WTFPL"
] | 4 | 2022-03-14T03:35:04.000Z | 2022-03-21T03:54:21.000Z | utils/utils.py | LordRonz/telemogus | b3090bfa45e2272ec41d3ffe120a4e61f14944ab | [
"WTFPL"
] | null | null | null | from itertools import groupby
def sus_in_string(s: str) -> bool:
return "sus" in "".join(c for c, _ in groupby(s.lower()))
| 21.5 | 61 | 0.666667 | 22 | 129 | 3.772727 | 0.727273 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 129 | 5 | 62 | 25.8 | 0.790476 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 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 |
5bb98cdaeaf7a6cfe3cb28ce2e8fc35b8ebc621b | 22 | py | Python | controller/__init__.py | moshebeeri/datap | 9ff99bb435728cd69f2589e3ee858a06768ea85e | [
"Apache-2.0"
] | null | null | null | controller/__init__.py | moshebeeri/datap | 9ff99bb435728cd69f2589e3ee858a06768ea85e | [
"Apache-2.0"
] | null | null | null | controller/__init__.py | moshebeeri/datap | 9ff99bb435728cd69f2589e3ee858a06768ea85e | [
"Apache-2.0"
] | null | null | null | from .control import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 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 |
5bbf7a58742313a8ab1151e0e91584338811cfc4 | 143 | py | Python | test/spec/test_utils.py | Bauble/bauble.api | 183c97fda076ea870e21e70ecf89a2a94a7f5722 | [
"BSD-3-Clause"
] | null | null | null | test/spec/test_utils.py | Bauble/bauble.api | 183c97fda076ea870e21e70ecf89a2a94a7f5722 | [
"BSD-3-Clause"
] | 1 | 2015-02-05T13:15:00.000Z | 2015-02-05T13:15:00.000Z | test/spec/test_utils.py | Bauble/bauble.api | 183c97fda076ea870e21e70ecf89a2a94a7f5722 | [
"BSD-3-Clause"
] | null | null | null |
import bauble.db as db
from bauble.model import Family
import bauble.utils as utils
import test.api as api
from test.utils import random_str
| 17.875 | 33 | 0.811189 | 26 | 143 | 4.423077 | 0.461538 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 143 | 7 | 34 | 20.428571 | 0.950413 | 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 |
5bf364ac76bb9250354b882d9f93be70adc229df | 172 | py | Python | Ex111/teste.py | andrade-lcs/ex_curso_em_video_python | f2d029efe7a20cdf0fcb5b602f9992e27d37c263 | [
"MIT"
] | null | null | null | Ex111/teste.py | andrade-lcs/ex_curso_em_video_python | f2d029efe7a20cdf0fcb5b602f9992e27d37c263 | [
"MIT"
] | null | null | null | Ex111/teste.py | andrade-lcs/ex_curso_em_video_python | f2d029efe7a20cdf0fcb5b602f9992e27d37c263 | [
"MIT"
] | null | null | null | #from Ex111.utilidadecv import moeda
#from Ex111.utilidadecv import dado
from Ex111.utilidadecv import moeda
p = float(input('Digite o preço: R$'))
moeda.resumo(p, 20, 12) | 28.666667 | 38 | 0.767442 | 27 | 172 | 4.888889 | 0.592593 | 0.204545 | 0.454545 | 0.590909 | 0.469697 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086093 | 0.122093 | 172 | 6 | 39 | 28.666667 | 0.788079 | 0.401163 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7506dab17afd16a30160560108c4b9696effc3e2 | 325 | py | Python | hardy/handling/__init__.py | kyleniemeyer/hardy | 35e2141466a972a291082cb031b8393b4b395d84 | [
"MIT"
] | 15 | 2020-04-11T00:49:41.000Z | 2022-01-28T05:03:44.000Z | hardy/handling/__init__.py | kyleniemeyer/hardy | 35e2141466a972a291082cb031b8393b4b395d84 | [
"MIT"
] | 15 | 2020-06-17T17:33:01.000Z | 2022-02-11T17:34:41.000Z | hardy/handling/__init__.py | kyleniemeyer/hardy | 35e2141466a972a291082cb031b8393b4b395d84 | [
"MIT"
] | 7 | 2020-08-28T18:46:17.000Z | 2022-03-16T22:29:06.000Z | from .version import __version__ # noqa: F401
from .handling import * # noqa: F401, F403
from .to_catalogue import * # noqa: F401, F403
from .visualization import * # noqa: F401, F403
from .pre_processing import * # noqa: F401, F403
# __all__ = [__version__]
name = 'handl... | 32.5 | 56 | 0.618462 | 36 | 325 | 5.194444 | 0.388889 | 0.213904 | 0.299465 | 0.385027 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 0.289231 | 325 | 9 | 57 | 36.111111 | 0.692641 | 0.313846 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
751dfbf1d9dd299c4e0ac93884557889b462e151 | 29 | py | Python | src/TSMRS/__init__.py | muntazir-halim/TSMRS | 726e6b9ba0b02088cc729f81663cab0aa0580abf | [
"MIT"
] | 6 | 2021-09-30T13:24:54.000Z | 2022-01-03T15:32:40.000Z | src/TSMRS/__init__.py | muntazir-halim/TSMRS | 726e6b9ba0b02088cc729f81663cab0aa0580abf | [
"MIT"
] | null | null | null | src/TSMRS/__init__.py | muntazir-halim/TSMRS | 726e6b9ba0b02088cc729f81663cab0aa0580abf | [
"MIT"
] | 1 | 2021-12-30T17:27:00.000Z | 2021-12-30T17:27:00.000Z | from .checkerUS import check | 29 | 29 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
753beac0179797c4ad19eb88d976510fbe93a4c6 | 1,472 | py | Python | social_core/tests/backends/test_yandex.py | shnaqawi/social-core | 402e15bd2854ade0b8f0d19663966473f0e1c6ff | [
"BSD-3-Clause"
] | 745 | 2016-12-03T16:38:37.000Z | 2022-03-29T17:18:52.000Z | social_core/tests/backends/test_yandex.py | shnaqawi/social-core | 402e15bd2854ade0b8f0d19663966473f0e1c6ff | [
"BSD-3-Clause"
] | 624 | 2016-12-06T16:01:46.000Z | 2022-03-29T15:50:35.000Z | virtual/lib/python3.6/site-packages/social_core/tests/backends/test_yandex.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 583 | 2016-12-03T16:40:38.000Z | 2022-03-28T05:32:37.000Z | import json
from .oauth import OAuth2Test
class YandexOAuth2Test(OAuth2Test):
backend_path = 'social_core.backends.yandex.YandexOAuth2'
user_data_url = 'https://login.yandex.ru/info'
expected_username = 'foobar'
access_token_body = json.dumps({
'access_token': 'foobar',
'token_type': ... | 26.285714 | 72 | 0.61481 | 167 | 1,472 | 5.173653 | 0.389222 | 0.037037 | 0.060185 | 0.048611 | 0.726852 | 0.726852 | 0.726852 | 0.726852 | 0.726852 | 0.726852 | 0 | 0.022624 | 0.249321 | 1,472 | 55 | 73 | 26.763636 | 0.759276 | 0.077446 | 0 | 0.809524 | 0 | 0 | 0.286996 | 0.059791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.428571 | 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 |
7550747522763aa7a8664e7e2eedf3751c034c7e | 85 | py | Python | tests/__init__.py | sovaai/sova-bls-http-api | 9da627d6cb7586eb2bb59528d6e4411a9bbfe7fc | [
"Apache-2.0"
] | 42 | 2020-10-28T08:36:23.000Z | 2020-10-29T12:37:55.000Z | tests/__init__.py | sovaai/sova-bls-http-api | 9da627d6cb7586eb2bb59528d6e4411a9bbfe7fc | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | sovaai/sova-bls-http-api | 9da627d6cb7586eb2bb59528d6e4411a9bbfe7fc | [
"Apache-2.0"
] | 1 | 2021-01-18T00:55:35.000Z | 2021-01-18T00:55:35.000Z | from .test_init import TestInitEndpoint
from .test_request import TestRequestEndpoint | 42.5 | 45 | 0.894118 | 10 | 85 | 7.4 | 0.7 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 85 | 2 | 45 | 42.5 | 0.948718 | 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 |
f367693ada0befc087c72b0ab123d8fb8625fffa | 63 | py | Python | src/scenes/__init__.py | kadir014/2d-minecraft-clone | 1407b89111fa852a8c98d8b30ec5e9d94dedcf3c | [
"MIT"
] | 5 | 2020-12-26T11:54:54.000Z | 2022-01-06T23:28:35.000Z | src/scenes/__init__.py | kadir014/2d-minecraft-clone | 1407b89111fa852a8c98d8b30ec5e9d94dedcf3c | [
"MIT"
] | 2 | 2020-12-27T08:51:18.000Z | 2021-07-22T20:22:37.000Z | src/scenes/__init__.py | kadir014/2d-minecraft-clone | 1407b89111fa852a8c98d8b30ec5e9d94dedcf3c | [
"MIT"
] | 1 | 2022-01-05T04:24:14.000Z | 2022-01-05T04:24:14.000Z | from . import base
from . import game
from . import titlescreen | 21 | 25 | 0.777778 | 9 | 63 | 5.444444 | 0.555556 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 25 | 21 | 0.942308 | 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 |
f3788b14361a271994dbbb28cd0c50186c825af9 | 13,899 | py | Python | contents/character/generator/CharacterPersonality.py | jakenjarvis/Lakshmi | de805f7488c1a6b3a4e0d3804be7ecd6c814b446 | [
"Apache-2.0"
] | 1 | 2020-08-24T01:31:20.000Z | 2020-08-24T01:31:20.000Z | contents/character/generator/CharacterPersonality.py | jakenjarvis/Lakshmi | de805f7488c1a6b3a4e0d3804be7ecd6c814b446 | [
"Apache-2.0"
] | null | null | null | contents/character/generator/CharacterPersonality.py | jakenjarvis/Lakshmi | de805f7488c1a6b3a4e0d3804be7ecd6c814b446 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import List, Dict, Callable
import math
import random
class CharacterPersonality(): # individuality?
def __init__(self):
# 性格
# https://mysuki.jp/english-personality-5486
# https://harahara.net/English/resources/personalit... | 58.64557 | 138 | 0.571768 | 1,537 | 13,899 | 4.927131 | 0.078725 | 0.010036 | 0.071834 | 0.130199 | 0.867556 | 0.861746 | 0.85171 | 0.835996 | 0.835996 | 0.826885 | 0 | 0.043336 | 0.317649 | 13,899 | 236 | 139 | 58.894068 | 0.755167 | 0.197784 | 0 | 0.319444 | 0 | 0 | 0.333487 | 0.25704 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.020833 | 0.048611 | 0.138889 | 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 |
3432db53430271ab05711be2af34e6435e753ece | 30 | py | Python | abstractions/python/kiota/abstractions/__init__.py | jasonjoh/kiota | d1ac436e01e0e1527403d819c2773e4dc33058b1 | [
"MIT"
] | null | null | null | abstractions/python/kiota/abstractions/__init__.py | jasonjoh/kiota | d1ac436e01e0e1527403d819c2773e4dc33058b1 | [
"MIT"
] | null | null | null | abstractions/python/kiota/abstractions/__init__.py | jasonjoh/kiota | d1ac436e01e0e1527403d819c2773e4dc33058b1 | [
"MIT"
] | null | null | null | from ._version import VERSION
| 15 | 29 | 0.833333 | 4 | 30 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
cae07a39c00113ffd1d00f8e2ca08c79276c4151 | 159 | py | Python | tests/__init__.py | beczkowb/csvparser | f9f9bd37e10e3c1c223d559194367b25900a822a | [
"MIT"
] | null | null | null | tests/__init__.py | beczkowb/csvparser | f9f9bd37e10e3c1c223d559194367b25900a822a | [
"MIT"
] | 8 | 2016-09-17T09:56:31.000Z | 2017-02-21T22:41:22.000Z | tests/__init__.py | beczkowb/csvparser | f9f9bd37e10e3c1c223d559194367b25900a822a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function, unicode_literals
from . import test_fields
from . import test_parser | 31.8 | 82 | 0.786164 | 21 | 159 | 5.52381 | 0.714286 | 0.172414 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.125786 | 159 | 5 | 83 | 31.8 | 0.827338 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
cae5f3b2a3cc835f9a6d7d553c823247e62aa284 | 7,109 | py | Python | pred_diff/tools/mnist_lightning.py | PredDiff/PredDiffTabular | ae116c5179615d8163c1421e1feb7dcfbd1c2b5e | [
"BSD-3-Clause"
] | 1 | 2021-05-04T15:09:25.000Z | 2021-05-04T15:09:25.000Z | pred_diff/tools/mnist_lightning.py | PredDiff/PredDiffTabular | ae116c5179615d8163c1421e1feb7dcfbd1c2b5e | [
"BSD-3-Clause"
] | null | null | null | pred_diff/tools/mnist_lightning.py | PredDiff/PredDiffTabular | ae116c5179615d8163c1421e1feb7dcfbd1c2b5e | [
"BSD-3-Clause"
] | null | null | null | #https://colab.research.google.com/drive/1-_LKx4HwAxl5M6xPJmqAAu444LTDQoa3
import torch
from torch.nn import functional as F
import torch.nn as nn
from torch.utils.data import DataLoader, TensorDataset
# from torchvision.datasets import MNIST
# from torchvision import transforms
import pytorch_lightning as pl
import ... | 34.678049 | 127 | 0.600366 | 971 | 7,109 | 4.256437 | 0.167868 | 0.045729 | 0.030486 | 0.036777 | 0.812727 | 0.812727 | 0.777885 | 0.777885 | 0.773288 | 0.760223 | 0 | 0.029191 | 0.267548 | 7,109 | 204 | 128 | 34.848039 | 0.764548 | 0.097763 | 0 | 0.697183 | 0 | 0 | 0.007814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098592 | false | 0 | 0.06338 | 0.014085 | 0.267606 | 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 |
1baf402c0b185404d7152f10efa5d3d93636ab0c | 172 | py | Python | database/admin.py | jkhlr/immobot | 64cc73569db3f935dcd280ad55753c2b5aa01e73 | [
"MIT"
] | 1 | 2021-11-06T04:58:56.000Z | 2021-11-06T04:58:56.000Z | database/admin.py | jkhlr/immobot | 64cc73569db3f935dcd280ad55753c2b5aa01e73 | [
"MIT"
] | null | null | null | database/admin.py | jkhlr/immobot | 64cc73569db3f935dcd280ad55753c2b5aa01e73 | [
"MIT"
] | null | null | null | from django.contrib import admin
from database.models import Job, Subscriber, Result
admin.site.register(Job)
admin.site.register(Result)
admin.site.register(Subscriber)
| 21.5 | 51 | 0.819767 | 24 | 172 | 5.875 | 0.5 | 0.191489 | 0.361702 | 0.326241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087209 | 172 | 7 | 52 | 24.571429 | 0.898089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
59f24bf421c30ec1ae9715a30c799a5471c01374 | 2,028 | py | Python | features/steps/get-by-alias.py | bsc-dom/functional-testing | ac5b209b80d1431bc1db0119d378a8b11b8d3538 | [
"BSD-3-Clause"
] | null | null | null | features/steps/get-by-alias.py | bsc-dom/functional-testing | ac5b209b80d1431bc1db0119d378a8b11b8d3538 | [
"BSD-3-Clause"
] | null | null | null | features/steps/get-by-alias.py | bsc-dom/functional-testing | ac5b209b80d1431bc1db0119d378a8b11b8d3538 | [
"BSD-3-Clause"
] | null | null | null |
from steps.execution import call_method
from steps.steps import *
import traceback
@then('"{user_name}" creates "{obj_from_alias_ref}" of class "{classname}" using alias "{alias}"')
@given('"{user_name}" creates "{obj_from_alias_ref}" of class "{classname}" using alias "{alias}"')
@when('"{user_name}" creates "{obj_f... | 50.7 | 117 | 0.715976 | 293 | 2,028 | 4.631399 | 0.194539 | 0.08843 | 0.070744 | 0.070744 | 0.835667 | 0.789978 | 0.770818 | 0.770818 | 0.709654 | 0.619013 | 0 | 0.002312 | 0.146943 | 2,028 | 40 | 118 | 50.7 | 0.782081 | 0 | 0 | 0.361111 | 0 | 0 | 0.426036 | 0.092702 | 0 | 0 | 0 | 0 | 0.027778 | 1 | 0.083333 | false | 0 | 0.083333 | 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 |
9434b64196fee126472758ded777bb15bee2f851 | 230 | py | Python | optim/__init__.py | ChengIC/ryan-sad | 09a93245ae6917911bd0f9d39d533d825c23c259 | [
"MIT"
] | null | null | null | optim/__init__.py | ChengIC/ryan-sad | 09a93245ae6917911bd0f9d39d533d825c23c259 | [
"MIT"
] | null | null | null | optim/__init__.py | ChengIC/ryan-sad | 09a93245ae6917911bd0f9d39d533d825c23c259 | [
"MIT"
] | null | null | null | from .DeepSAD_trainer import DeepSADTrainer
from .ae_trainer import AETrainer
from .SemiDGM_trainer import SemiDeepGenerativeTrainer
from .vae_trainer import VAETrainer
from .variational import SVI, ImportanceWeightedSampler
| 38.333333 | 56 | 0.86087 | 25 | 230 | 7.76 | 0.56 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 230 | 5 | 57 | 46 | 0.95098 | 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 |
943c065ab9dca9ce2b96833c275ec00880e02ee2 | 27 | py | Python | TSPSolver/Greedy/__init__.py | Akasan/TSPSolver.py | f21b57ce3ecc08ffdce0c5d2fa1f3ce90469e23e | [
"MIT"
] | null | null | null | TSPSolver/Greedy/__init__.py | Akasan/TSPSolver.py | f21b57ce3ecc08ffdce0c5d2fa1f3ce90469e23e | [
"MIT"
] | null | null | null | TSPSolver/Greedy/__init__.py | Akasan/TSPSolver.py | f21b57ce3ecc08ffdce0c5d2fa1f3ce90469e23e | [
"MIT"
] | null | null | null | from .Greedy import Greedy
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84af97682294b99649270326bceada195fdbb8f2 | 4,736 | py | Python | src/credentials_rotators/npm/lambda_functions/npm_utils.py | jhockett/amplify-ci-support | 3d93278063762fe5c8a9241a6fe4d593b70dd6eb | [
"Apache-2.0"
] | 9 | 2020-06-09T21:59:02.000Z | 2021-06-27T07:15:18.000Z | src/credentials_rotators/npm/lambda_functions/npm_utils.py | jhockett/amplify-ci-support | 3d93278063762fe5c8a9241a6fe4d593b70dd6eb | [
"Apache-2.0"
] | 27 | 2020-05-06T13:48:06.000Z | 2022-02-14T10:10:33.000Z | src/credentials_rotators/npm/lambda_functions/npm_utils.py | jhockett/amplify-ci-support | 3d93278063762fe5c8a9241a6fe4d593b70dd6eb | [
"Apache-2.0"
] | 12 | 2020-05-15T11:51:41.000Z | 2022-02-11T18:07:15.000Z | import json
import pyotp
import requests
def generate_otp(username, otp_seed):
"""Generate a time based OTP using the OTP_SEED for the npm user
It is used in 2 Factor Authentication for the user account
Args:
username (string): The username of the npm user
otp_seed (string): The seed genera... | 36.430769 | 96 | 0.68011 | 640 | 4,736 | 4.921875 | 0.145313 | 0.042222 | 0.050794 | 0.033016 | 0.800952 | 0.752698 | 0.713651 | 0.688254 | 0.677778 | 0.642222 | 0 | 0.003267 | 0.224451 | 4,736 | 129 | 97 | 36.713178 | 0.854343 | 0.437289 | 0 | 0.55 | 1 | 0 | 0.212602 | 0.021951 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.183333 | 0.05 | 0 | 0.183333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
84d4dc133043d7b53dd75854ff9d4eaa435996aa | 32 | py | Python | __init__.py | BobbyL2k/tensorflowhelper | 3b33a1d4bdb6aa795b4f9e74622212400dbb3d5e | [
"MIT"
] | 1 | 2018-06-25T10:15:19.000Z | 2018-06-25T10:15:19.000Z | __init__.py | BobbyL2k/tensorflowhelper | 3b33a1d4bdb6aa795b4f9e74622212400dbb3d5e | [
"MIT"
] | null | null | null | __init__.py | BobbyL2k/tensorflowhelper | 3b33a1d4bdb6aa795b4f9e74622212400dbb3d5e | [
"MIT"
] | null | null | null | from .tensorflowhelper import *
| 16 | 31 | 0.8125 | 3 | 32 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84e5d463add1b79b394765de33a0b97017fdc539 | 18 | py | Python | pytrain/HMM/__init__.py | pytrain/pytrain-shallow | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 20 | 2016-09-03T10:56:06.000Z | 2020-08-21T01:43:47.000Z | pytrain/HMM/__init__.py | pytrain/pytrain | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 8 | 2016-11-14T12:33:38.000Z | 2017-07-14T15:43:53.000Z | pytrain/HMM/__init__.py | pytrain/pytrain | c873a6f11f1dd940da12e7c9a3c961507d064d9a | [
"MIT"
] | 7 | 2017-02-09T16:50:37.000Z | 2022-01-02T01:18:56.000Z | from HMM import *
| 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 |
ca184c36494e1b9d23e821a28faaf3780e3ed3b3 | 617,712 | py | Python | Models/Plant-disease-detection-CNN-Model.py | Apurva-tech/chlorophyll | 2c9ed947e54489ed5434ac69db37bc30b854d880 | [
"MIT"
] | 17 | 2021-03-21T19:13:05.000Z | 2021-12-23T10:19:37.000Z | Models/Plant-disease-detection-CNN-Model.py | Apurva-tech/chlorophyll | 2c9ed947e54489ed5434ac69db37bc30b854d880 | [
"MIT"
] | null | null | null | Models/Plant-disease-detection-CNN-Model.py | Apurva-tech/chlorophyll | 2c9ed947e54489ed5434ac69db37bc30b854d880 | [
"MIT"
] | 1 | 2021-06-08T08:18:16.000Z | 2021-06-08T08:18:16.000Z | # -*- coding: utf-8 -*-
"""plant-disease-detection.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1Sd0dBPtvXcR_Y214gmZjYosWkAQ46RXn
<a href="https://colab.research.google.com/github/Manikanta-Munnangi/CROP---Plant-Disease-Identification-Using-Ap... | 1,806.175439 | 408,212 | 0.962049 | 20,881 | 617,712 | 28.441885 | 0.881854 | 0.000303 | 0.000318 | 0.000283 | 0.006941 | 0.006035 | 0.005801 | 0.00573 | 0.005343 | 0.005322 | 0 | 0.153953 | 0.002953 | 617,712 | 342 | 408,213 | 1,806.175439 | 0.810337 | 0.001612 | 0 | 0.360976 | 1 | 0.039024 | 0.229012 | 0.140093 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.117073 | null | null | 0.04878 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca54b1c372ce187ea1c9dfbcbe79693cbd736fe6 | 115 | py | Python | run.py | nanome-ai/plugin-knime-docking-WIP | 5eef98e274b7b2794b5732c25111d37e922781e0 | [
"MIT"
] | null | null | null | run.py | nanome-ai/plugin-knime-docking-WIP | 5eef98e274b7b2794b5732c25111d37e922781e0 | [
"MIT"
] | null | null | null | run.py | nanome-ai/plugin-knime-docking-WIP | 5eef98e274b7b2794b5732c25111d37e922781e0 | [
"MIT"
] | null | null | null | from nanome_knime_removehs_poc import KNIME_removeHs_POC
if __name__ == '__main__':
KNIME_removeHs_POC.main()
| 23 | 56 | 0.808696 | 16 | 115 | 4.875 | 0.5625 | 0.5 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 4 | 57 | 28.75 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0.069565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.