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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e0e17e9d808021df1c7dc02f3aaf5b5169776f25 | 975 | py | Python | variants/admin.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 14 | 2019-09-30T12:44:17.000Z | 2022-02-04T14:45:16.000Z | variants/admin.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 244 | 2021-03-26T15:13:15.000Z | 2022-03-31T15:48:04.000Z | variants/admin.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 8 | 2020-05-19T21:55:13.000Z | 2022-03-31T07:02:58.000Z | from django.contrib import admin
from .models import (
Case,
CaddSubmissionBgJob,
DistillerSubmissionBgJob,
SmallVariant,
ExportFileBgJob,
ExportFileJobResult,
SmallVariantFlags,
SmallVariantQuery,
SmallVariantComment,
FilterBgJob,
ProjectCasesFilterBgJob,
SyncCaseListBg... | 21.666667 | 33 | 0.68 | 49 | 975 | 13.530612 | 0.55102 | 0.069382 | 0.14178 | 0.177979 | 0.874811 | 0.874811 | 0.874811 | 0.874811 | 0.874811 | 0.874811 | 0 | 0 | 0.272821 | 975 | 44 | 34 | 22.159091 | 0.93512 | 0.026667 | 0 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.097561 | 0 | 0.097561 | 0 | 0 | 0 | 1 | null | 0 | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1cf28db28a1dc3de6e86d312ee7fdec3325eb23d | 281 | py | Python | src/genie/libs/parser/ios/tests/ShowBootvar/cli/equal/golden_output_iosv_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/ios/tests/ShowBootvar/cli/equal/golden_output_iosv_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/ios/tests/ShowBootvar/cli/equal/golden_output_iosv_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"active": {
"boot_variable": "disk0:s72033-adventerprisek9-mz.122-33.SRE0a-ssr-nxos-76k-1,12;",
"configuration_register": "0x2012",
},
"next_reload_boot_variable": "disk0:s72033-adventerprisek9-mz.122-33.SRE0a-ssr-nxos-76k-1,12;",
}
| 35.125 | 99 | 0.672598 | 36 | 281 | 5.083333 | 0.611111 | 0.131148 | 0.185792 | 0.251366 | 0.688525 | 0.688525 | 0.688525 | 0.688525 | 0.688525 | 0.688525 | 0 | 0.170833 | 0.145907 | 281 | 7 | 100 | 40.142857 | 0.591667 | 0 | 0 | 0 | 0 | 0.285714 | 0.704626 | 0.615658 | 0 | 0 | 0.021352 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1cf3912f179efb363e5dcd36f26591a27715c59c | 5,848 | py | Python | tests/unit/executors/encoders/nlp/test_transformer.py | YueLiu-jina/jina | f3e860313f26edc6d9f6e6ecc74cf6c2a3c65bff | [
"Apache-2.0"
] | null | null | null | tests/unit/executors/encoders/nlp/test_transformer.py | YueLiu-jina/jina | f3e860313f26edc6d9f6e6ecc74cf6c2a3c65bff | [
"Apache-2.0"
] | null | null | null | tests/unit/executors/encoders/nlp/test_transformer.py | YueLiu-jina/jina | f3e860313f26edc6d9f6e6ecc74cf6c2a3c65bff | [
"Apache-2.0"
] | null | null | null | from jina.executors.encoders.nlp.transformer import TransformerTFEncoder, TransformerTorchEncoder
from tests.unit.executors.encoders.nlp import NlpTestCase
class PytorchTestCase(NlpTestCase):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.target_output_dim = 768
d... | 30.617801 | 97 | 0.655609 | 597 | 5,848 | 5.973199 | 0.097152 | 0.089736 | 0.080763 | 0.09871 | 0.854459 | 0.854459 | 0.854459 | 0.854459 | 0.854459 | 0.854459 | 0 | 0.010784 | 0.238885 | 5,848 | 190 | 98 | 30.778947 | 0.790384 | 0 | 0 | 0.873239 | 0 | 0 | 0.051984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225352 | false | 0 | 0.014085 | 0.112676 | 0.464789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
1cf739a55673db18ad1d0927361d02c03bde91b6 | 26 | py | Python | Python .py | yosefsadek/Progect_1 | f3b14f542990a0b226b4611c76d69e6e36c66d78 | [
"BSL-1.0"
] | 2 | 2021-03-15T19:36:21.000Z | 2021-03-15T19:58:53.000Z | Python .py | yosefsadek/Progect_1 | f3b14f542990a0b226b4611c76d69e6e36c66d78 | [
"BSL-1.0"
] | 1 | 2021-03-15T19:29:40.000Z | 2021-03-15T19:29:40.000Z | Python .py | yosefsadek/Progect_1 | f3b14f542990a0b226b4611c76d69e6e36c66d78 | [
"BSL-1.0"
] | 1 | 2021-03-15T19:27:02.000Z | 2021-03-15T19:27:02.000Z | print('hello') 12121212121 | 26 | 26 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.44 | 0.038462 | 26 | 1 | 26 | 26 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
1c0f8d53f8833568d271899c8f0265cb0938b544 | 22,280 | py | Python | sdk/python/pulumi_gcp/networkconnectivity/hub.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/networkconnectivity/hub.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/networkconnectivity/hub.py | pjbizon/pulumi-gcp | 0d09cbc1dcf50093a177531f7596c27db11a2e58 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 44.118812 | 257 | 0.642908 | 2,691 | 22,280 | 5.160907 | 0.082869 | 0.083165 | 0.078629 | 0.068116 | 0.859807 | 0.835541 | 0.814084 | 0.794715 | 0.785858 | 0.752736 | 0 | 0.00006 | 0.249686 | 22,280 | 504 | 258 | 44.206349 | 0.830711 | 0.41333 | 0 | 0.634615 | 1 | 0 | 0.0777 | 0.00445 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161538 | false | 0.003846 | 0.026923 | 0 | 0.288462 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1c196bb27f15a06305b449b289cfb51415691cf4 | 176 | py | Python | evennia/contrib/rpg/dice/__init__.py | davidrideout/evennia | 879eea55acdf4fe5cdc96ba8fd0ab5ccca4ae84b | [
"BSD-3-Clause"
] | null | null | null | evennia/contrib/rpg/dice/__init__.py | davidrideout/evennia | 879eea55acdf4fe5cdc96ba8fd0ab5ccca4ae84b | [
"BSD-3-Clause"
] | null | null | null | evennia/contrib/rpg/dice/__init__.py | davidrideout/evennia | 879eea55acdf4fe5cdc96ba8fd0ab5ccca4ae84b | [
"BSD-3-Clause"
] | null | null | null | """
Rolling dice - Griatch, 2012
"""
from .dice import roll # noqa
from .dice import roll_dice # noqa
from .dice import CmdDice # noqa
from .dice import DiceCmdSet # noqa
| 17.6 | 35 | 0.704545 | 25 | 176 | 4.92 | 0.4 | 0.260163 | 0.455285 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.204545 | 176 | 9 | 36 | 19.555556 | 0.85 | 0.278409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
1c5d995fe0dd8ddee34272aade20414895eb17cc | 30,854 | py | Python | jasmin/protocols/cli/test/test_filtersm.py | pyghassen/jasmin | d6bf0b40bb72e406bcb0dd3a56064a28efd7c6b3 | [
"Apache-2.0"
] | null | null | null | jasmin/protocols/cli/test/test_filtersm.py | pyghassen/jasmin | d6bf0b40bb72e406bcb0dd3a56064a28efd7c6b3 | [
"Apache-2.0"
] | null | null | null | jasmin/protocols/cli/test/test_filtersm.py | pyghassen/jasmin | d6bf0b40bb72e406bcb0dd3a56064a28efd7c6b3 | [
"Apache-2.0"
] | null | null | null | import os
import re
from test_jcli import jCliWithoutAuthTestCases
from test.test_support import unlink
class FiltersTestCases(jCliWithoutAuthTestCases):
def add_filter(self, finalPrompt, extraCommands = []):
sessionTerminated = False
commands = []
commands.append({'command': 'filter -a... | 43.951567 | 110 | 0.490115 | 2,810 | 30,854 | 5.206762 | 0.076868 | 0.056319 | 0.04511 | 0.071424 | 0.854145 | 0.839997 | 0.837195 | 0.829335 | 0.829335 | 0.802269 | 0 | 0.005792 | 0.36206 | 30,854 | 702 | 111 | 43.951567 | 0.73754 | 0.038407 | 0 | 0.810651 | 0 | 0 | 0.307755 | 0.004562 | 0 | 0 | 0 | 0 | 0.003945 | 1 | 0.072978 | false | 0 | 0.00789 | 0 | 0.114398 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
98f6c50b1725b61a1f601ce9dab394a4b62ca341 | 8,454 | py | Python | sympy_bot/tests/test_get_changelog.py | asmeurer/sympy-bot-1 | 08e16763f7c15f70366af91b8fb022aa6c962115 | [
"BSD-3-Clause"
] | 25 | 2015-10-06T18:50:26.000Z | 2022-03-12T07:36:25.000Z | sympy_bot/tests/test_get_changelog.py | asmeurer/sympy-bot-1 | 08e16763f7c15f70366af91b8fb022aa6c962115 | [
"BSD-3-Clause"
] | 73 | 2018-07-14T17:34:30.000Z | 2021-05-23T03:54:10.000Z | sympy_bot/tests/test_get_changelog.py | asmeurer/sympy-bot-1 | 08e16763f7c15f70366af91b8fb022aa6c962115 | [
"BSD-3-Clause"
] | 23 | 2015-10-30T06:01:01.000Z | 2021-04-16T00:59:46.000Z | from ..changelog import get_changelog
def test_no_marker():
desc = """
* solvers
* add a new solver
"""
status, message, changelogs = get_changelog(desc)
assert not status
assert '<!-- BEGIN RELEASE NOTES -->' in message
assert not changelogs
desc = """
NO ENTRY
"""
status, message, c... | 23.881356 | 158 | 0.638041 | 1,034 | 8,454 | 5.148936 | 0.174081 | 0.103681 | 0.08302 | 0.112322 | 0.805597 | 0.770849 | 0.758828 | 0.736101 | 0.721826 | 0.711119 | 0 | 0.002956 | 0.23965 | 8,454 | 353 | 159 | 23.949009 | 0.825296 | 0.00343 | 0 | 0.723183 | 0 | 0.010381 | 0.483553 | 0 | 0 | 0 | 0 | 0 | 0.259516 | 1 | 0.051903 | false | 0.00692 | 0.00346 | 0 | 0.055363 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c7060557f0f393f9a30f347cda9d048a16417669 | 8,684 | py | Python | tests/st/control/inner/test_030_for_in_if.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/control/inner/test_030_for_in_if.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/control/inner/test_030_for_in_if.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2021 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 31.350181 | 92 | 0.60479 | 1,174 | 8,684 | 4.218058 | 0.13799 | 0.067246 | 0.040388 | 0.042407 | 0.802706 | 0.793417 | 0.793417 | 0.747577 | 0.747577 | 0.740913 | 0 | 0.025568 | 0.274873 | 8,684 | 276 | 93 | 31.463768 | 0.760838 | 0.079802 | 0 | 0.807692 | 0 | 0 | 0.010789 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 1 | 0.134615 | false | 0 | 0.038462 | 0.024038 | 0.288462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c70c3d4f630ddab5bb9f5e02268461cba69c48b3 | 16,156 | py | Python | molsysmt/tests_to_be_reviewed/test_get_from_component.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 3 | 2020-06-02T03:55:52.000Z | 2022-03-21T04:43:52.000Z | molsysmt/tests_to_be_reviewed/test_get_from_component.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 28 | 2020-06-24T00:55:53.000Z | 2021-07-16T22:09:19.000Z | molsysmt/tests_to_be_reviewed/test_get_from_component.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | 1 | 2021-06-17T18:55:25.000Z | 2021-06-17T18:55:25.000Z | import pytest
from molsysmt.multitool import get_form as get_form
from molsysmt import get
from molsysmt import convert
import numpy as np
import pickle
with open('data/1tcd.pickle', 'rb') as f:
expected_values = pickle.load(f)
args = [
# 'data/1tcd.pdb',
# convert('data/1tcd.pdb', to_form='molsysmt.MolSys'... | 49.558282 | 124 | 0.766898 | 2,479 | 16,156 | 4.700686 | 0.028237 | 0.133871 | 0.07689 | 0.128722 | 0.978375 | 0.978375 | 0.976315 | 0.962413 | 0.955891 | 0.955891 | 0 | 0.011983 | 0.090864 | 16,156 | 325 | 125 | 49.710769 | 0.781386 | 0.022592 | 0 | 0.269841 | 0 | 0 | 0.159843 | 0.10559 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.238095 | false | 0 | 0.02381 | 0 | 0.261905 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c74fbca2907ca72fca701f387960fc4874461329 | 73,076 | py | Python | TweakApi/apis/portal_template_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/portal_template_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | TweakApi/apis/portal_template_api.py | tweak-com-public/tweak-api-client-python | 019f86da11fdb12683d516f8f37db5d717380bcc | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
tweak-api
Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak.
OpenAPI spec version: 1.0.8-beta.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 40.801787 | 165 | 0.564864 | 7,382 | 73,076 | 5.369818 | 0.035221 | 0.064581 | 0.034309 | 0.029062 | 0.967407 | 0.963421 | 0.960923 | 0.950101 | 0.946796 | 0.946544 | 0 | 0.000991 | 0.3511 | 73,076 | 1,790 | 166 | 40.824581 | 0.834961 | 0.320871 | 0 | 0.826139 | 0 | 0 | 0.176298 | 0.066739 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039568 | false | 0 | 0.008393 | 0 | 0.106715 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c76e12753d3fa054323e7dd653e2e9faf8e17013 | 47,737 | py | Python | graylog/apis/searchuniversalabsolute_api.py | yumimobi/graylog.py | 3118f4a49c91c2cbbd660523b0ab99e56fbfd861 | [
"Apache-2.0"
] | 10 | 2016-09-27T08:13:22.000Z | 2018-09-04T13:15:42.000Z | graylog/apis/searchuniversalabsolute_api.py | yumimobi/graylog.py | 3118f4a49c91c2cbbd660523b0ab99e56fbfd861 | [
"Apache-2.0"
] | 1 | 2019-08-28T16:16:09.000Z | 2019-08-28T16:16:09.000Z | graylog/apis/searchuniversalabsolute_api.py | yumimobi/graylog.py | 3118f4a49c91c2cbbd660523b0ab99e56fbfd861 | [
"Apache-2.0"
] | 5 | 2016-11-03T07:45:18.000Z | 2021-08-19T14:21:49.000Z | # coding: utf-8
"""
No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 2.1.1+01d50e5
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you m... | 47.311199 | 193 | 0.599577 | 5,294 | 47,737 | 5.249717 | 0.054023 | 0.037205 | 0.041595 | 0.032132 | 0.943041 | 0.933758 | 0.926022 | 0.907959 | 0.900079 | 0.893926 | 0 | 0.002533 | 0.313635 | 47,737 | 1,008 | 194 | 47.358135 | 0.845689 | 0.388148 | 0 | 0.746392 | 1 | 0 | 0.204205 | 0.043064 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030928 | false | 0 | 0.014433 | 0 | 0.090722 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c775ce66df23d7193265634ebd17da7e47630aec | 852,456 | py | Python | coniii/ising_eqn/ising_eqn_9.py | bcdaniels/coniii | 50218dc571135dd08b441361da33fed64a8eebc4 | [
"MIT"
] | 10 | 2018-01-26T09:52:17.000Z | 2019-04-02T13:34:53.000Z | coniii/ising_eqn/ising_eqn_9.py | bcdaniels/coniii | 50218dc571135dd08b441361da33fed64a8eebc4 | [
"MIT"
] | 19 | 2017-04-19T17:05:50.000Z | 2019-01-20T20:54:06.000Z | coniii/ising_eqn/ising_eqn_9.py | bcdaniels/coniii | 50218dc571135dd08b441361da33fed64a8eebc4 | [
"MIT"
] | 3 | 2017-04-19T16:58:05.000Z | 2018-10-22T19:14:04.000Z | # Equations of 9-spin Ising model.
# 30/12/2017
from numpy import zeros, exp
def calc_observables(params):
"""
Give each set of parameters concatenated into one array.
"""
Cout = zeros((45))
H = params[0:9]
J = params[9:45]
Z = +exp(+0)+exp(+H[8]+0)+exp(+H[7]+0)+exp(+H[7]+H[8]+J[35])+exp(+H[6]+0)+exp(+H[6]+H[8... | 1,452.224872 | 40,985 | 0.45792 | 298,236 | 852,456 | 1.308883 | 0.001821 | 0.086536 | 0.062302 | 0.074701 | 0.994953 | 0.99482 | 0.994797 | 0.993877 | 0.992443 | 0.992389 | 0 | 0.256384 | 0.002729 | 852,456 | 586 | 40,986 | 1,454.703072 | 0.202788 | 0.000185 | 0 | 0.017452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00349 | false | 0 | 0.001745 | 0 | 0.005236 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c78adbe72a068061f2072001d354ce63c845d4a6 | 283 | py | Python | serialization/src/json-datetime-loads.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | 1 | 2019-01-02T15:04:08.000Z | 2019-01-02T15:04:08.000Z | serialization/src/json-datetime-loads.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | serialization/src/json-datetime-loads.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | import json
DATA = '{"email": "jose.jimenez@nasa.gov", "date": "1961-04-12", "datetime": "1969-07-21T14:56:15.000Z"}'
output = json.loads(DATA)
print(output)
# {
# 'email': 'jose.jimenez@nasa.gov',
# 'date': '1961-04-12',
# 'datetime': '1969-07-21T14:56:15.000Z',
# }
| 21.769231 | 105 | 0.59364 | 41 | 283 | 4.097561 | 0.536585 | 0.107143 | 0.190476 | 0.238095 | 0.738095 | 0.738095 | 0.738095 | 0.738095 | 0.738095 | 0.738095 | 0 | 0.207469 | 0.14841 | 283 | 12 | 106 | 23.583333 | 0.489627 | 0.392226 | 0 | 0 | 0 | 0.25 | 0.578313 | 0.307229 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c7b777730bbc93ba1476ad5d7b3d3f981bb9b9a8 | 7,977 | py | Python | test/TestVerifyAndCorrectCollectionDate.py | ruchidesai/redi | 562706805fb6bb472f38ba79094a57c72848492e | [
"BSD-3-Clause"
] | null | null | null | test/TestVerifyAndCorrectCollectionDate.py | ruchidesai/redi | 562706805fb6bb472f38ba79094a57c72848492e | [
"BSD-3-Clause"
] | null | null | null | test/TestVerifyAndCorrectCollectionDate.py | ruchidesai/redi | 562706805fb6bb472f38ba79094a57c72848492e | [
"BSD-3-Clause"
] | null | null | null | '''
@author : Mohan
email : mohan88@ufl.edu
This file tests for the function verify_and_correct_collection_date
'''
import unittest
import os
import sys
file_dir = os.path.dirname(os.path.realpath(__file__))
goal_dir = os.path.join(file_dir, "../")
proj_root = os.path.abspath(goal_dir)+'/'
sys.path.append(proj_root +... | 35.611607 | 109 | 0.60336 | 981 | 7,977 | 4.630989 | 0.124363 | 0.071319 | 0.062954 | 0.062954 | 0.898085 | 0.891481 | 0.891481 | 0.883337 | 0.883337 | 0.883337 | 0 | 0.071064 | 0.26263 | 7,977 | 223 | 110 | 35.7713 | 0.701292 | 0.027955 | 0 | 0.854271 | 0 | 0.01005 | 0.616219 | 0.321281 | 0 | 0 | 0 | 0 | 0.025126 | 1 | 0.035176 | false | 0 | 0.025126 | 0.005025 | 0.065327 | 0.025126 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1bef34f30baf8dc4fe87506fdd1a434dce7440e5 | 4,609 | py | Python | Utils/modelStatsRecord.py | purist180/SSRN | 23ddfcef20d52cb20ee56710273855169eacb095 | [
"MIT"
] | 189 | 2017-10-09T01:06:55.000Z | 2022-03-23T10:50:02.000Z | Utils/modelStatsRecord.py | purist180/SSRN | 23ddfcef20d52cb20ee56710273855169eacb095 | [
"MIT"
] | 26 | 2018-04-14T07:36:45.000Z | 2022-03-31T23:50:40.000Z | Utils/modelStatsRecord.py | purist180/SSRN | 23ddfcef20d52cb20ee56710273855169eacb095 | [
"MIT"
] | 69 | 2017-12-14T11:04:00.000Z | 2022-02-05T04:48:57.000Z | # -*- coding: utf-8 -*-
import numpy as np
import time
import keras.callbacks as kcallbacks
import collections
from sklearn import metrics
import averageAccuracy
def outputStats(KAPPA_AE, OA_AE, AA_AE, ELEMENT_ACC_AE, TRAINING_TIME_AE, TESTING_TIME_AE, history, loss_and_metrics, CATEGORY, path1, path2):
f = open... | 43.895238 | 152 | 0.652853 | 731 | 4,609 | 3.968536 | 0.123119 | 0.048259 | 0.045846 | 0.040331 | 0.901758 | 0.901758 | 0.901758 | 0.901758 | 0.901758 | 0.89314 | 0 | 0.017329 | 0.186158 | 4,609 | 105 | 153 | 43.895238 | 0.750467 | 0.004556 | 0 | 0.844156 | 0 | 0 | 0.209505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038961 | false | 0 | 0.077922 | 0 | 0.116883 | 0.155844 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
1bf4d12a9fc3309f0495e7028ae9fc65d523ed4c | 16,718 | py | Python | openmdao.lib/src/openmdao/lib/drivers/test/test_doedriver.py | JustinSGray/OpenMDAO-Framework | 7ebd7fda0b10fbe8a86ae938dc4f135396dd9759 | [
"Apache-2.0"
] | 3 | 2015-06-02T00:36:28.000Z | 2018-11-03T00:35:21.000Z | openmdao.lib/src/openmdao/lib/drivers/test/test_doedriver.py | JustinSGray/OpenMDAO-Framework | 7ebd7fda0b10fbe8a86ae938dc4f135396dd9759 | [
"Apache-2.0"
] | null | null | null | openmdao.lib/src/openmdao/lib/drivers/test/test_doedriver.py | JustinSGray/OpenMDAO-Framework | 7ebd7fda0b10fbe8a86ae938dc4f135396dd9759 | [
"Apache-2.0"
] | null | null | null | """
Test DOEdriver.
"""
import glob
import logging
import os.path
import pkg_resources
import platform
import sys
import unittest
from openmdao.lib.datatypes.api import Event
from openmdao.main.api import Assembly, Component, Case, set_as_top
from openmdao.main.exceptions import RunStopped
from openmdao.main.resourc... | 36.823789 | 105 | 0.595107 | 1,908 | 16,718 | 5.098532 | 0.139937 | 0.059211 | 0.074013 | 0.0331 | 0.841694 | 0.834087 | 0.827303 | 0.827303 | 0.827303 | 0.827303 | 0 | 0.011885 | 0.285321 | 16,718 | 454 | 106 | 36.823789 | 0.80231 | 0.042768 | 0 | 0.843195 | 0 | 0 | 0.128796 | 0.005486 | 0 | 0 | 0 | 0 | 0.094675 | 0 | null | null | 0 | 0.050296 | null | null | 0.005917 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
400270ae3ef9ba0aa75bebc8ff3c12d3192a1c11 | 81,995 | py | Python | ghostwriter/reporting/tests/test_views.py | bbhunter/Ghostwriter | 1b684ddd119feed9891e83b39c9b314b41d086ca | [
"BSD-3-Clause"
] | 1 | 2022-02-04T20:24:35.000Z | 2022-02-04T20:24:35.000Z | ghostwriter/reporting/tests/test_views.py | bbhunter/Ghostwriter | 1b684ddd119feed9891e83b39c9b314b41d086ca | [
"BSD-3-Clause"
] | null | null | null | ghostwriter/reporting/tests/test_views.py | bbhunter/Ghostwriter | 1b684ddd119feed9891e83b39c9b314b41d086ca | [
"BSD-3-Clause"
] | null | null | null | # Standard Libraries
import json
import logging
import os
from datetime import datetime
# Django Imports
from django.contrib.messages import get_messages
from django.test import Client, TestCase
from django.urls import reverse
from django.utils import dateformat
from django.utils.encoding import force_str
# 3rd Party... | 38.137209 | 150 | 0.673663 | 9,354 | 81,995 | 5.713171 | 0.052598 | 0.06306 | 0.062611 | 0.055575 | 0.834547 | 0.813158 | 0.777942 | 0.729683 | 0.706068 | 0.668775 | 0 | 0.007319 | 0.215196 | 81,995 | 2,149 | 151 | 38.154956 | 0.823124 | 0.041478 | 0 | 0.649366 | 0 | 0.001811 | 0.111298 | 0.042944 | 0 | 0 | 0 | 0 | 0.19312 | 1 | 0.150272 | false | 0.076645 | 0.009053 | 0 | 0.183464 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
403fe26f6689583cf86d18572e2178e245bb7b80 | 25,742 | py | Python | tests/test_router_users.py | hotteshen/fastapi-users | d814b48280a52d27425f06c9027388a761aec909 | [
"MIT"
] | null | null | null | tests/test_router_users.py | hotteshen/fastapi-users | d814b48280a52d27425f06c9027388a761aec909 | [
"MIT"
] | null | null | null | tests/test_router_users.py | hotteshen/fastapi-users | d814b48280a52d27425f06c9027388a761aec909 | [
"MIT"
] | null | null | null | from typing import cast, Dict, Any
from unittest.mock import MagicMock
import asynctest
import httpx
import jwt
import pytest
from fastapi import FastAPI
from starlette import status
from starlette.requests import Request
from fastapi_users.authentication import Authenticator
from fastapi_users.router import ErrorCod... | 38.136296 | 88 | 0.671548 | 3,176 | 25,742 | 5.180416 | 0.05699 | 0.045524 | 0.084544 | 0.057983 | 0.876861 | 0.867562 | 0.854008 | 0.832614 | 0.817662 | 0.808728 | 0 | 0.011918 | 0.224225 | 25,742 | 674 | 89 | 38.192878 | 0.811968 | 0 | 0 | 0.692171 | 0 | 0 | 0.090164 | 0.009595 | 0 | 0 | 0 | 0 | 0.227758 | 1 | 0.008897 | false | 0.101423 | 0.023132 | 0.005338 | 0.060498 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
4066cc731cc3f3fcd66dec98192289418190db5f | 204 | py | Python | codegen/python/fixtures/method/special_chars/server/handlers/__init__.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | codegen/python/fixtures/method/special_chars/server/handlers/__init__.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | codegen/python/fixtures/method/special_chars/server/handlers/__init__.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | # DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.
from .escape_type_postHandler import escape_type_postHandler
from .uri_users_id_getHandler import uri_users_id_getHandler
| 34 | 79 | 0.848039 | 33 | 204 | 4.939394 | 0.666667 | 0.09816 | 0.257669 | 0.245399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 204 | 5 | 80 | 40.8 | 0.905556 | 0.377451 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4091d34deb50383af59a5c6b2d8272192fa45661 | 5,898 | py | Python | src/graiax/silkcoder/__init__.py | Wybxc/graiax-silkcoder | 8f12d4eeb1d7a8070f1c91aa6f0596bae46893e0 | [
"BSD-3-Clause"
] | null | null | null | src/graiax/silkcoder/__init__.py | Wybxc/graiax-silkcoder | 8f12d4eeb1d7a8070f1c91aa6f0596bae46893e0 | [
"BSD-3-Clause"
] | null | null | null | src/graiax/silkcoder/__init__.py | Wybxc/graiax-silkcoder | 8f12d4eeb1d7a8070f1c91aa6f0596bae46893e0 | [
"BSD-3-Clause"
] | null | null | null | """
一个不占GIL锁的SilkV3编解码器
注:单个音频压制还是单线程,但是压制时不占用GIL锁
"""
import os
from io import BytesIO
from pathlib import Path
from typing import Optional, Union
from .utils import iswave, output_transform, input_transform
from .ffmpeg import *
from .silkv3 import *
from .wav import *
async def async_encode(input_voice: Union[os.... | 38.298701 | 100 | 0.649034 | 716 | 5,898 | 5.187151 | 0.138268 | 0.048465 | 0.063005 | 0.08616 | 0.901454 | 0.901454 | 0.901454 | 0.901454 | 0.901454 | 0.884222 | 0 | 0.007328 | 0.25958 | 5,898 | 153 | 101 | 38.54902 | 0.843142 | 0.172431 | 0 | 0.72973 | 0 | 0 | 0.001658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.108108 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40a761a0993e28b11400a2614de2739f12f293e1 | 5,139 | py | Python | pre-processing scripts/dicom_png_majority_voting-middle-testing.py | rajahaseeb147/Alzheimers_final | dd9b8607ec47b4317cb139e8c78c3c0b3c8ca1b8 | [
"MIT"
] | null | null | null | pre-processing scripts/dicom_png_majority_voting-middle-testing.py | rajahaseeb147/Alzheimers_final | dd9b8607ec47b4317cb139e8c78c3c0b3c8ca1b8 | [
"MIT"
] | null | null | null | pre-processing scripts/dicom_png_majority_voting-middle-testing.py | rajahaseeb147/Alzheimers_final | dd9b8607ec47b4317cb139e8c78c3c0b3c8ca1b8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[31]:
import pydicom as dicom
import matplotlib.pyplot as plt
from PIL import Image
import glob
import os
import imageio
import numpy as np
import re
import nums_from_string
# In[40]:
CATEGORIES = ['AD', 'CN', 'MCI']
inDir = 'F:/LAB WORK/RIT/LAB/dataset_large/dicom_data/... | 27.929348 | 87 | 0.518778 | 692 | 5,139 | 3.722543 | 0.144509 | 0.046584 | 0.068323 | 0.079193 | 0.826475 | 0.820264 | 0.80823 | 0.767857 | 0.767857 | 0.745342 | 0 | 0.034576 | 0.352792 | 5,139 | 183 | 88 | 28.081967 | 0.739928 | 0.129403 | 0 | 0.82906 | 0 | 0 | 0.042342 | 0.022523 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.068376 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40be2bbe00d4c2976b016b4d4a481bd078c832bf | 5,279 | py | Python | VU_Annotation_ImageJ/Read_annotation_ImageJ.py | juyingnan/VCCF_student | 92ec134e39cd6238232c5d130c26dbc5c8d997f8 | [
"MIT"
] | null | null | null | VU_Annotation_ImageJ/Read_annotation_ImageJ.py | juyingnan/VCCF_student | 92ec134e39cd6238232c5d130c26dbc5c8d997f8 | [
"MIT"
] | null | null | null | VU_Annotation_ImageJ/Read_annotation_ImageJ.py | juyingnan/VCCF_student | 92ec134e39cd6238232c5d130c26dbc5c8d997f8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Fri Jul 3 01:56:39 2020
@author: yash1
"""
from read_roi import read_roi_file
from read_roi import read_roi_zip
import matplotlib.pyplot as plt
import cv2
import numpy as np
from PIL import Image, ImageDraw
Image.MAX_IMAGE_PIXELS = None
# Image : VAN0006-LK-2-85-PAS_registere... | 26.004926 | 76 | 0.681379 | 799 | 5,279 | 4.439299 | 0.116395 | 0.087962 | 0.108261 | 0.091345 | 0.954891 | 0.952354 | 0.919087 | 0.801804 | 0.801804 | 0.801804 | 0 | 0.056974 | 0.168782 | 5,279 | 202 | 77 | 26.133663 | 0.751367 | 0.204205 | 0 | 0.757282 | 0 | 0 | 0.230271 | 0.19717 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058252 | 0 | 0.058252 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
40f3018cb957ea372f43cd53771cd8175b5553f7 | 11,551 | py | Python | sdk/python/pulumi_azuredevops/agent/pool.py | pulumi/pulumi-azuredevops | e6d73d1501335037fb944ae627091a7afc7f0048 | [
"ECL-2.0",
"Apache-2.0"
] | 13 | 2020-06-28T11:39:32.000Z | 2022-03-05T13:34:16.000Z | sdk/python/pulumi_azuredevops/agent/pool.py | pulumi/pulumi-azuredevops | e6d73d1501335037fb944ae627091a7afc7f0048 | [
"ECL-2.0",
"Apache-2.0"
] | 58 | 2020-06-20T14:00:28.000Z | 2022-03-31T15:20:51.000Z | sdk/python/pulumi_azuredevops/agent/pool.py | pulumi/pulumi-azuredevops | e6d73d1501335037fb944ae627091a7afc7f0048 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-10-21T03:22:01.000Z | 2021-12-10T18:26:59.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 40.107639 | 168 | 0.641763 | 1,379 | 11,551 | 5.170413 | 0.129079 | 0.066339 | 0.054979 | 0.05554 | 0.786816 | 0.771108 | 0.766199 | 0.755119 | 0.747966 | 0.73338 | 0 | 0.001517 | 0.258073 | 11,551 | 287 | 169 | 40.247387 | 0.830455 | 0.35313 | 0 | 0.70068 | 1 | 0 | 0.109158 | 0.013737 | 0 | 0 | 0 | 0 | 0 | 1 | 0.14966 | false | 0.006803 | 0.034014 | 0 | 0.272109 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dc1291f7e04778b5e1f3c73d234944b92047cea2 | 180 | py | Python | platform/core/polyaxon/activitylogs/events/superuser.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/activitylogs/events/superuser.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/activitylogs/events/superuser.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | import activitylogs
from events.registry import superuser
activitylogs.subscribe(superuser.SuperUserRoleGrantedEvent)
activitylogs.subscribe(superuser.SuperUserRoleRevokedEvent)
| 25.714286 | 59 | 0.894444 | 15 | 180 | 10.733333 | 0.6 | 0.26087 | 0.372671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 180 | 6 | 60 | 30 | 0.947059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 7 |
dc19ccee429962eefa0c610747723dedd91ce7c2 | 8,921 | py | Python | exercises/concept/card-games/lists_test.py | gsilvapt/python | d675468b2437d4c09c358d023ef998a05a781f58 | [
"MIT"
] | null | null | null | exercises/concept/card-games/lists_test.py | gsilvapt/python | d675468b2437d4c09c358d023ef998a05a781f58 | [
"MIT"
] | 8 | 2021-06-03T04:37:25.000Z | 2022-03-02T04:14:27.000Z | exercises/concept/card-games/lists_test.py | gsilvapt/python | d675468b2437d4c09c358d023ef998a05a781f58 | [
"MIT"
] | null | null | null | import unittest
import pytest
import random
from lists import (
get_rounds,
concatenate_rounds,
list_contains_round,
card_average,
approx_average_is_average,
average_even_is_average_odd,
maybe_double_last,
)
class TestToRounds(unittest.TestCase):
@pytest.mark.task(taskno=1)
def te... | 25.058989 | 73 | 0.537384 | 1,073 | 8,921 | 4.332712 | 0.081081 | 0.055926 | 0.078296 | 0.111852 | 0.868359 | 0.841041 | 0.798666 | 0.756507 | 0.756507 | 0.701656 | 0 | 0.035434 | 0.357807 | 8,921 | 355 | 74 | 25.129577 | 0.776052 | 0 | 0 | 0.710801 | 0 | 0 | 0.152001 | 0 | 0 | 0 | 0 | 0 | 0.090592 | 1 | 0.090592 | false | 0 | 0.013937 | 0 | 0.12892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
907e373ee4a7aebbe03d9679fe6380c8d0d1c930 | 1,214 | py | Python | arxiv_html/renders/tests/test_views.py | arXiv/arxiv-readability | 20dac4540aaf689b2ab8fdababf51e89e645f077 | [
"Apache-2.0",
"MIT"
] | 19 | 2019-01-02T16:39:10.000Z | 2022-02-11T12:50:27.000Z | arxiv_html/renders/tests/test_views.py | cul-it/arxiv-readability | 20dac4540aaf689b2ab8fdababf51e89e645f077 | [
"Apache-2.0",
"MIT"
] | 2 | 2018-11-12T17:09:14.000Z | 2018-11-12T17:10:07.000Z | arxiv_html/renders/tests/test_views.py | cul-it/arxiv-readability | 20dac4540aaf689b2ab8fdababf51e89e645f077 | [
"Apache-2.0",
"MIT"
] | 7 | 2019-01-10T22:02:01.000Z | 2020-12-06T16:28:22.000Z | from unittest.mock import patch
from rest_framework.test import APITestCase
from ..models import Render
class ViewsTest(APITestCase):
def test_put_creates_a_new_render(self):
with patch.object(Render, 'delay') as mock_delay:
response = self.client.put("/renders?source_type=arxiv&source_id=1234... | 44.962963 | 90 | 0.677924 | 145 | 1,214 | 5.489655 | 0.324138 | 0.188442 | 0.288945 | 0.271357 | 0.78392 | 0.78392 | 0.78392 | 0.78392 | 0.78392 | 0.78392 | 0 | 0.043077 | 0.19687 | 1,214 | 26 | 91 | 46.692308 | 0.773333 | 0 | 0 | 0.571429 | 0 | 0 | 0.182867 | 0.079077 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.047619 | false | 0 | 0.142857 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
90a3ce6b659d3fff45b5f7a94529e641a4a3a8dd | 3,638 | py | Python | simplehtml/CSS.py | BrainSpawnInfosphere/simplehtml | 3cce3ec7dab6482e87a48676df3cc031dc573332 | [
"MIT"
] | null | null | null | simplehtml/CSS.py | BrainSpawnInfosphere/simplehtml | 3cce3ec7dab6482e87a48676df3cc031dc573332 | [
"MIT"
] | null | null | null | simplehtml/CSS.py | BrainSpawnInfosphere/simplehtml | 3cce3ec7dab6482e87a48676df3cc031dc573332 | [
"MIT"
] | null | null | null |
#
# class CSS(object):
# """
# This class helps with some html css parameters.
# """
# @staticmethod
# def basic():
# """
# Returns a simple css.
# """
# basic = """
# body {
# background-color: white;
# }
#
# h1 {
# color: black;
# text-align: center;
# }
#
# p {
# font-family: verd... | 20.438202 | 70 | 0.595107 | 430 | 3,638 | 5.009302 | 0.27907 | 0.03714 | 0.036212 | 0.039461 | 0.825441 | 0.815227 | 0.815227 | 0.815227 | 0.815227 | 0.815227 | 0 | 0.030943 | 0.244915 | 3,638 | 177 | 71 | 20.553672 | 0.753185 | 0.576141 | 0 | 0.131148 | 0 | 0 | 0.715909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0 | 0 | 0.098361 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
90bd8624d945ea5cd341ff47b2063d867d848719 | 8,405 | py | Python | app/highcairnapp/tests/test_utilities.py | KTaskn/highcairn | 06278ac3f9cbcb5a6f4ab03ecaf36d06ead38d31 | [
"MIT"
] | null | null | null | app/highcairnapp/tests/test_utilities.py | KTaskn/highcairn | 06278ac3f9cbcb5a6f4ab03ecaf36d06ead38d31 | [
"MIT"
] | null | null | null | app/highcairnapp/tests/test_utilities.py | KTaskn/highcairn | 06278ac3f9cbcb5a6f4ab03ecaf36d06ead38d31 | [
"MIT"
] | null | null | null | import unittest
from utilities import Resizer, Converter
class ResizerTestCase(unittest.TestCase):
def setUp(self):
self.resizer = Resizer(600, 600)
def test_calc_under_both(self):
# どちらも以下ならそのまま
self.assertEqual(self.resizer.calc(600, 600), (600, 600))
def test_calc_over_width(se... | 247.205882 | 7,338 | 0.931826 | 346 | 8,405 | 22.583815 | 0.734104 | 0.008446 | 0.007039 | 0.016637 | 0.044152 | 0.034297 | 0 | 0 | 0 | 0 | 0 | 0.146368 | 0.027008 | 8,405 | 34 | 7,339 | 247.205882 | 0.809122 | 0.014396 | 0 | 0.095238 | 0 | 0.047619 | 0.883682 | 0.883682 | 0 | 1 | 0 | 0 | 0.285714 | 1 | 0.380952 | false | 0 | 0.095238 | 0 | 0.571429 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
29199a66f719bcfb7ed7b1833e1b8b320982c70c | 14,256 | py | Python | modules/io/python/drivers/io/tests/test_open.py | acezen/libvineyard | eda51c5d858c7d0456aa871610355556ed0f4835 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | modules/io/python/drivers/io/tests/test_open.py | acezen/libvineyard | eda51c5d858c7d0456aa871610355556ed0f4835 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | modules/io/python/drivers/io/tests/test_open.py | acezen/libvineyard | eda51c5d858c7d0456aa871610355556ed0f4835 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2020 Alibaba Group Holding Limited.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE... | 31.058824 | 105 | 0.615741 | 1,679 | 14,256 | 4.951161 | 0.124479 | 0.101889 | 0.157464 | 0.228558 | 0.839047 | 0.833273 | 0.828221 | 0.81547 | 0.804643 | 0.796945 | 0 | 0.016779 | 0.26424 | 14,256 | 458 | 106 | 31.126638 | 0.775765 | 0.089436 | 0 | 0.71134 | 0 | 0 | 0.141795 | 0.031519 | 0 | 0 | 0 | 0 | 0.023196 | 1 | 0.033505 | false | 0 | 0.020619 | 0 | 0.054124 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
467952db7eba05fc5bfb00d8c5e98b47d76317c2 | 12,688 | py | Python | lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py | bytesnake/Enzyme | 247606c279920d476645d2e319e574bf8be10fc9 | [
"Apache-2.0"
] | null | null | null | lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py | bytesnake/Enzyme | 247606c279920d476645d2e319e574bf8be10fc9 | [
"Apache-2.0"
] | null | null | null | lldb/packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py | bytesnake/Enzyme | 247606c279920d476645d2e319e574bf8be10fc9 | [
"Apache-2.0"
] | null | null | null | """
Test lldb-mi startup options.
"""
from __future__ import print_function
import lldbmi_testcase
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
import os
class MiStartupOptionsTestCase(lldbmi_testcase.MiTestCaseBase):
mydir = TestBase.compute... | 38.920245 | 137 | 0.637137 | 1,588 | 12,688 | 5.037154 | 0.123426 | 0.088761 | 0.028504 | 0.033254 | 0.862983 | 0.855357 | 0.811101 | 0.804351 | 0.769846 | 0.739467 | 0 | 0.012333 | 0.239518 | 12,688 | 325 | 138 | 39.04 | 0.816665 | 0.348124 | 0 | 0.759358 | 0 | 0 | 0.1672 | 0.051304 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.13369 | 0.005348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
469e451cdd12b5f97641d027b500d0789675e7e3 | 34 | py | Python | quine.py | MakeNowJust/quine | bfaef41edd63a3417280ba03d2339dd4ba5ad485 | [
"Beerware"
] | 290 | 2015-01-26T05:25:53.000Z | 2022-01-16T02:12:03.000Z | quine.py | makenowjust/quine | f0599e7b8cc71c3e8939a4716ea71f0bbf79d42e | [
"Beerware"
] | 5 | 2015-04-04T13:51:50.000Z | 2021-11-05T16:40:47.000Z | quine.py | makenowjust/quine | f0599e7b8cc71c3e8939a4716ea71f0bbf79d42e | [
"Beerware"
] | 16 | 2015-04-04T13:19:29.000Z | 2021-11-21T19:07:26.000Z | s='s=%s;print s%%`s`';print s%`s`
| 17 | 33 | 0.5 | 9 | 34 | 1.888889 | 0.222222 | 0.470588 | 0.823529 | 0.941176 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 1 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
31622b1e7656819712b75910aa0e1056053cb8a8 | 111 | py | Python | cmn.py | sunmlight/Utools | 4a5f7ab701e9d1fe0e13ad41a710c1289bdc2a58 | [
"Apache-2.0"
] | null | null | null | cmn.py | sunmlight/Utools | 4a5f7ab701e9d1fe0e13ad41a710c1289bdc2a58 | [
"Apache-2.0"
] | 4 | 2020-07-01T16:07:15.000Z | 2021-09-22T18:42:20.000Z | cmn.py | sunmlight/Utools | 4a5f7ab701e9d1fe0e13ad41a710c1289bdc2a58 | [
"Apache-2.0"
] | null | null | null | import datetime
import pytz
def date_now():
return datetime.datetime.now(pytz.timezone("Asia/Shanghai"))
| 15.857143 | 64 | 0.756757 | 15 | 111 | 5.533333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 6 | 65 | 18.5 | 0.85567 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
318af6f4a509dc1d2149c2f4410f0935657121cf | 1,860 | py | Python | src/script/pcurl.py | crazyxhz/ArcGIS-Enterprise-One-Click-Install | b536e8b7f876454b9e782cc0fa275327a2cec85d | [
"MIT"
] | 19 | 2017-01-18T01:11:21.000Z | 2021-08-24T11:02:20.000Z | src/script/pcurl.py | makeling/ArcGIS-Enterprise-One-Click-Install | b536e8b7f876454b9e782cc0fa275327a2cec85d | [
"MIT"
] | 1 | 2017-08-15T02:06:44.000Z | 2017-08-15T02:06:44.000Z | src/script/pcurl.py | makeling/ArcGIS-Enterprise-One-Click-Install | b536e8b7f876454b9e782cc0fa275327a2cec85d | [
"MIT"
] | 8 | 2017-01-17T08:25:05.000Z | 2020-02-04T07:40:32.000Z | # coding=utf-8
import os
import json
import urllib
# link = 'https://cen7.vm:6443/arcgis/rest/?f=pjson'
def get(url):
cmd = "curl '" + url + "' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, ... | 62 | 460 | 0.656452 | 281 | 1,860 | 4.345196 | 0.33452 | 0.051597 | 0.02457 | 0.027027 | 0.801802 | 0.780508 | 0.780508 | 0.780508 | 0.780508 | 0.780508 | 0 | 0.065327 | 0.144086 | 1,860 | 29 | 461 | 64.137931 | 0.701633 | 0.132796 | 0 | 0.375 | 0 | 0.1875 | 0.747512 | 0.106965 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.1875 | 0 | 0.5 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9ec36329a7adc26fc3cbd9438645cd06ce2e7eb2 | 3,459 | py | Python | py-polars/tests/test_testing.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | 3,395 | 2021-05-06T13:46:12.000Z | 2022-03-31T23:50:15.000Z | py-polars/tests/test_testing.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | 1,253 | 2021-05-06T15:05:23.000Z | 2022-03-31T23:31:23.000Z | py-polars/tests/test_testing.py | moritzwilksch/polars | 7e206834923180f574945c569c8b21820bc02d8e | [
"MIT"
] | 263 | 2021-05-08T07:37:45.000Z | 2022-03-30T05:19:55.000Z | import pytest
import polars as pl
def test_compare_series_value_mismatch() -> None:
srs1 = pl.Series([1, 2, 3])
srs2 = pl.Series([2, 3, 4])
with pytest.raises(AssertionError, match="Series are different\n\nValue mismatch"):
pl.testing.assert_series_equal(srs1, srs2)
def test_compare_series_null... | 34.247525 | 87 | 0.660017 | 506 | 3,459 | 4.335968 | 0.126482 | 0.018232 | 0.095716 | 0.164084 | 0.86691 | 0.837739 | 0.792616 | 0.765725 | 0.734731 | 0.704649 | 0 | 0.049596 | 0.178086 | 3,459 | 100 | 88 | 34.59 | 0.722125 | 0.007228 | 0 | 0.458333 | 0 | 0 | 0.095016 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.180556 | false | 0.013889 | 0.027778 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9edb0b2fca9a62c6254a1481dbee06e8b27eb0a0 | 142,862 | py | Python | tests/test_pyhpeimc_plat_device.py | HPNetworking/HP-Intelligent-Management-Center | 4fba31827573587e03a6233c7db60f188038c8e5 | [
"Apache-2.0"
] | 13 | 2016-03-14T17:55:03.000Z | 2021-03-26T07:18:26.000Z | tests/test_pyhpeimc_plat_device.py | HPNetworking/HP-Intelligent-Management-Center | 4fba31827573587e03a6233c7db60f188038c8e5 | [
"Apache-2.0"
] | 7 | 2016-08-04T17:39:11.000Z | 2017-09-19T13:42:35.000Z | tests/test_pyhpeimc_plat_device.py | HPNetworking/HP-Intelligent-Management-Center | 4fba31827573587e03a6233c7db60f188038c8e5 | [
"Apache-2.0"
] | 17 | 2016-03-03T05:24:20.000Z | 2022-03-10T08:16:31.000Z | # -*- coding: utf-8 -*-
"""
This module is used for testing the functions within the pyhpeimc.plat.device module.
"""
from unittest import TestCase
from nose.plugins.skip import SkipTest
from pyhpeimc.plat.device import *
from test_machine import *
class TestGetAllDevs(TestCase):
"""
Test get_all_devs fun... | 41.981193 | 110 | 0.686691 | 17,666 | 142,862 | 5.284784 | 0.019359 | 0.160024 | 0.084939 | 0.047986 | 0.948769 | 0.935433 | 0.929317 | 0.91912 | 0.915575 | 0.897366 | 0 | 0.015266 | 0.204491 | 142,862 | 3,402 | 111 | 41.993533 | 0.806226 | 0.054857 | 0 | 0.911338 | 0 | 0 | 0.100248 | 0 | 0 | 0 | 0 | 0.003233 | 0.569054 | 1 | 0.08312 | false | 0 | 0.001705 | 0 | 0.136402 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9ef0d1d74f55d8b3c657a18c5af9879507afc779 | 318 | py | Python | qpsphere/__init__.py | RI-imaging/qpsphere | 0a7ee796ed2a480d892eff1dcbd98eeb8719c72a | [
"MIT"
] | 1 | 2019-12-19T06:01:06.000Z | 2019-12-19T06:01:06.000Z | qpsphere/__init__.py | RI-imaging/qpsphere | 0a7ee796ed2a480d892eff1dcbd98eeb8719c72a | [
"MIT"
] | 5 | 2017-12-11T15:06:19.000Z | 2021-12-06T00:00:24.000Z | qpsphere/__init__.py | RI-imaging/qpsphere | 0a7ee796ed2a480d892eff1dcbd98eeb8719c72a | [
"MIT"
] | 1 | 2018-04-05T04:22:55.000Z | 2018-04-05T04:22:55.000Z | from ._version import version as __version__ # noqa: F401
from . import cnvnc # noqa: F401
from .cnvnc import analyze # noqa: F401
from . import edgefit # noqa: F401
from . import imagefit # noqa: F401
from . import models # noqa: F401
from .models import simulate # noqa: F401
from . import util # noqa: F401
| 35.333333 | 58 | 0.716981 | 45 | 318 | 4.955556 | 0.288889 | 0.286996 | 0.376682 | 0.403587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.207547 | 318 | 8 | 59 | 39.75 | 0.789683 | 0.273585 | 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 | 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 | 7 |
7303021051c53059fe71f309a04ff2de029703e1 | 1,996 | py | Python | sublimeText3/Packages/SublimeCodeIntel/libs/sgmlop.py | MoAnsir/dot_file_2017 | 5f67ef8f430416c82322ab7e7e001548936454ff | [
"MIT"
] | 2 | 2018-04-24T10:02:26.000Z | 2019-06-02T13:53:31.000Z | Data/Packages/SublimeCodeIntel/libs/sgmlop.py | Maxize/Sublime_Text_3 | be620476b49f9a6ce2ca2cfe825c4e142e7e82b9 | [
"Apache-2.0"
] | 1 | 2016-02-10T09:50:09.000Z | 2016-02-10T09:50:09.000Z | Packages/SublimeCodeIntel/libs/sgmlop.py | prisis/sublime-text-packages | 99ae8a5496613e27a75e5bd91723549b21476e60 | [
"MIT"
] | 2 | 2019-04-11T04:13:02.000Z | 2019-06-02T13:53:33.000Z | import sys
import struct
VERSION = sys.version_info[:2]
PLATFORM = sys.platform
ARCH = 'x%d' % (struct.calcsize('P') * 8)
platform = None
if VERSION >= (3, 3):
try:
from _local_arch.sgmlop import *
platform = "Local arch"
except ImportError:
if PLATFORM == 'darwin':
from _... | 35.017544 | 100 | 0.555611 | 216 | 1,996 | 4.962963 | 0.25 | 0.134328 | 0.223881 | 0.11194 | 0.794776 | 0.764925 | 0.703358 | 0.703358 | 0.703358 | 0.703358 | 0 | 0.063764 | 0.355711 | 1,996 | 56 | 101 | 35.642857 | 0.769829 | 0 | 0 | 0.615385 | 0 | 0 | 0.148798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.326923 | 0 | 0.326923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
734b32f7534e0f5e774c32c83daa2c994f3530e4 | 7,460 | py | Python | loader/pbrt/pbrtListener.py | neodyme60/raypy | a898ba46e07ba299fcb1729dca45abdc1e944f83 | [
"MIT"
] | 1 | 2018-05-15T04:00:17.000Z | 2018-05-15T04:00:17.000Z | loader/pbrt/pbrtListener.py | neodyme60/raypy | a898ba46e07ba299fcb1729dca45abdc1e944f83 | [
"MIT"
] | null | null | null | loader/pbrt/pbrtListener.py | neodyme60/raypy | a898ba46e07ba299fcb1729dca45abdc1e944f83 | [
"MIT"
] | null | null | null | # Generated from java-escape by ANTLR 4.4
from antlr4 import *
# This class defines a complete listener for a parse tree produced by pbrtParser.
class pbrtListener(ParseTreeListener):
# Enter a parse tree produced by pbrtParser#transformBlock.
def enterTransformBlock(self, ctx):
pass
# ... | 25.288136 | 82 | 0.642359 | 859 | 7,460 | 5.57858 | 0.140861 | 0.081386 | 0.135643 | 0.244157 | 0.798623 | 0.798623 | 0.792362 | 0.791319 | 0.629382 | 0.629382 | 0 | 0.001334 | 0.296381 | 7,460 | 294 | 83 | 25.37415 | 0.911602 | 0.464477 | 0 | 0.492308 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.492308 | false | 0.492308 | 0.007692 | 0 | 0.507692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
b40b34c378121ad8190d704c6765215490dc7f58 | 2,620 | py | Python | cupy/core/__init__.py | keisuke-umezawa/cupy | d4070ad0f5bd830638419e70e3f931e7b7d718f7 | [
"BSD-3-Clause"
] | 1 | 2020-11-24T03:44:35.000Z | 2020-11-24T03:44:35.000Z | cupy/core/__init__.py | martindurant/cupy | 0ce4ba4fe2993547e11c37ec73cb7639c10b3881 | [
"BSD-3-Clause"
] | null | null | null | cupy/core/__init__.py | martindurant/cupy | 0ce4ba4fe2993547e11c37ec73cb7639c10b3881 | [
"BSD-3-Clause"
] | 1 | 2020-11-24T03:44:35.000Z | 2020-11-24T03:44:35.000Z | from cupy.core import core # NOQA
from cupy.core import internal # NOQA
# import class and function
from cupy.core.core import absolute # NOQA
from cupy.core.core import add # NOQA
from cupy.core.core import angle # NOQA
from cupy.core.core import array # NOQA
from cupy.core.core import array_split # NOQA
from... | 42.95082 | 57 | 0.779771 | 426 | 2,620 | 4.737089 | 0.161972 | 0.225966 | 0.338949 | 0.436075 | 0.810208 | 0.782458 | 0.379088 | 0.040634 | 0 | 0 | 0 | 0 | 0.154962 | 2,620 | 60 | 58 | 43.666667 | 0.911472 | 0.118702 | 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 | 1 | 1 | 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 | 8 |
b42a5aa82c083ef8a24fbe81d13536b9d24ce014 | 178 | py | Python | backend/accounts/admin.py | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 4 | 2021-02-26T09:28:14.000Z | 2021-07-08T19:21:57.000Z | backend/accounts/admin.py | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 35 | 2021-01-27T08:38:59.000Z | 2021-12-13T19:42:38.000Z | backend/accounts/admin.py | cesko-digital/zacni-uc | 281c56aec5509d5dd8bbbd60f054ffcd9156609e | [
"MIT"
] | 5 | 2021-01-21T21:35:42.000Z | 2022-01-06T10:07:58.000Z | from django.contrib.auth import get_user_model
from django.contrib.auth.admin import UserAdmin
from django.contrib import admin
admin.site.register(get_user_model(), UserAdmin)
| 29.666667 | 48 | 0.842697 | 27 | 178 | 5.407407 | 0.444444 | 0.205479 | 0.349315 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08427 | 178 | 5 | 49 | 35.6 | 0.895706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
b46da25f2662d5a8ae643f236d00a234918b5a5b | 9,428 | py | Python | tests/test_datasets/test_face_dataset.py | catwhiskers/mmpose | fec0ea62039b89614cf63299c161315ea6eb2863 | [
"Apache-2.0"
] | 1 | 2022-02-13T12:27:40.000Z | 2022-02-13T12:27:40.000Z | tests/test_datasets/test_face_dataset.py | spoonnvidia/mmpose | c2c6d8e08bf5b9b7a64ac79e18338615cb4291f8 | [
"Apache-2.0"
] | null | null | null | tests/test_datasets/test_face_dataset.py | spoonnvidia/mmpose | c2c6d8e08bf5b9b7a64ac79e18338615cb4291f8 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
import copy
import tempfile
from unittest.mock import MagicMock
import pytest
from mmcv import Config
from numpy.testing import assert_almost_equal
from mmpose.datasets import DATASETS
from tests.utils.data_utils import convert_db_to_output
def test_face_300W_dataset(... | 32.177474 | 70 | 0.668647 | 1,132 | 9,428 | 5.225265 | 0.088339 | 0.085714 | 0.038039 | 0.032122 | 0.878952 | 0.8612 | 0.8612 | 0.824007 | 0.824007 | 0.824007 | 0 | 0.019619 | 0.226877 | 9,428 | 292 | 71 | 32.287671 | 0.791878 | 0.020683 | 0 | 0.831224 | 0 | 0 | 0.121462 | 0.055742 | 0 | 0 | 0 | 0 | 0.084388 | 1 | 0.021097 | false | 0 | 0.033755 | 0 | 0.054852 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b4785fe677462a58d71f2b7e5e1f02a73cb7adad | 112 | py | Python | modules/time_tracker/__init__.py | Minkowski104/ts3python | a92a4aa0e237256959e2140e23709801fac84824 | [
"CC0-1.0"
] | 1 | 2022-01-09T17:12:18.000Z | 2022-01-09T17:12:18.000Z | modules/time_tracker/__init__.py | Minkowski104/ts3python | a92a4aa0e237256959e2140e23709801fac84824 | [
"CC0-1.0"
] | 8 | 2022-01-13T20:55:31.000Z | 2022-03-06T16:23:04.000Z | modules/time_tracker/__init__.py | Minkowski104/ts3python | a92a4aa0e237256959e2140e23709801fac84824 | [
"CC0-1.0"
] | 1 | 2022-02-05T05:12:40.000Z | 2022-02-05T05:12:40.000Z | from modules.time_tracker.ProfilesDB import ProfilesDB
from modules.time_tracker.WordpressDB import WordpressDB
| 37.333333 | 56 | 0.892857 | 14 | 112 | 7 | 0.5 | 0.22449 | 0.306122 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 112 | 2 | 57 | 56 | 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 | 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 | 8 |
c3063c877d11241e77e9831e23143cadb302f826 | 602,847 | py | Python | cytoseg/erosion.py | slash-segmentation/DP2 | 6f768e4b8a75a3ab2bf1359ae94704332426a4d6 | [
"Unlicense"
] | null | null | null | cytoseg/erosion.py | slash-segmentation/DP2 | 6f768e4b8a75a3ab2bf1359ae94704332426a4d6 | [
"Unlicense"
] | null | null | null | cytoseg/erosion.py | slash-segmentation/DP2 | 6f768e4b8a75a3ab2bf1359ae94704332426a4d6 | [
"Unlicense"
] | null | null | null | #This software is Copyright 2012 The Regents of the University of California. All Rights Reserved.
#Permission to use, copy, modify, and distribute this software and its documentation for educational, research and non-profit purposes for non-profit institutions, without fee, and without a written agreement is hereby gr... | 547.544959 | 4,037 | 0.399924 | 104,848 | 602,847 | 2.297984 | 0.006409 | 0.035113 | 0.018532 | 0.000996 | 0.954329 | 0.950664 | 0.948228 | 0.945928 | 0.944999 | 0.944534 | 0 | 0.535188 | 0.312663 | 602,847 | 1,100 | 4,038 | 548.042727 | 0.046286 | 0.004661 | 0 | 0.369021 | 0 | 0 | 0.007909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.002278 | 0.009112 | null | null | 0.01139 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c324dcb367782efbbf99544d26069fa826cb2ade | 830 | py | Python | src/graph_transpiler/webdnn/backend/webgl/optimize_rules/split_texture/operators/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | 1 | 2021-04-09T15:55:35.000Z | 2021-04-09T15:55:35.000Z | src/graph_transpiler/webdnn/backend/webgl/optimize_rules/split_texture/operators/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | src/graph_transpiler/webdnn/backend/webgl/optimize_rules/split_texture/operators/__init__.py | steerapi/webdnn | 1df51cc094e5a528cfd3452c264905708eadb491 | [
"MIT"
] | null | null | null | from webdnn.backend.webgl.optimize_rules.split_texture.operators.split_concat import split_concat
from webdnn.backend.webgl.optimize_rules.split_texture.operators.split_im2col import split_im2col
from webdnn.backend.webgl.optimize_rules.split_texture.operators.split_partial_im2col import split_partial_im2col
from webdn... | 92.222222 | 113 | 0.903614 | 116 | 830 | 6.155172 | 0.163793 | 0.112045 | 0.190476 | 0.246499 | 0.70028 | 0.70028 | 0.70028 | 0.70028 | 0.70028 | 0.70028 | 0 | 0.007519 | 0.038554 | 830 | 8 | 114 | 103.75 | 0.887218 | 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 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 12 |
c32bcc2519a839f7790750d15745840364a653dd | 4,497 | py | Python | tests/test_statsmessage.py | dhs-ncats/cyhy-mailer | 7050d6774e64dffb61c11a2cba358b7236f73054 | [
"CC0-1.0"
] | 3 | 2017-12-06T07:45:35.000Z | 2018-06-25T20:08:09.000Z | tests/test_statsmessage.py | dhs-ncats/cyhy-mailer | 7050d6774e64dffb61c11a2cba358b7236f73054 | [
"CC0-1.0"
] | 33 | 2017-12-11T16:07:04.000Z | 2019-02-25T14:09:45.000Z | tests/test_statsmessage.py | dhs-ncats/cyhy-mailer | 7050d6774e64dffb61c11a2cba358b7236f73054 | [
"CC0-1.0"
] | 2 | 2018-03-30T21:46:14.000Z | 2018-07-02T18:01:23.000Z | """This module contains the tests for the StatsMessage class."""
# Standard Python Libraries
import datetime
import unittest
# cisagov Libraries
from cyhy.mailer.StatsMessage import StatsMessage
class Test(unittest.TestCase):
"""The tests for the StatsMessage class."""
def test_single_string(self):
... | 29.781457 | 101 | 0.645986 | 588 | 4,497 | 4.882653 | 0.204082 | 0.073145 | 0.076628 | 0.052247 | 0.907698 | 0.889586 | 0.86799 | 0.842912 | 0.842912 | 0.842912 | 0 | 0.002262 | 0.213698 | 4,497 | 150 | 102 | 29.98 | 0.809672 | 0.090727 | 0 | 0.859649 | 0 | 0.052632 | 0.519321 | 0.126015 | 0 | 0 | 0 | 0 | 0.122807 | 1 | 0.017544 | false | 0 | 0.026316 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c37c2c89620ec3032a22f1eb069f7bf76f07028f | 434,412 | py | Python | bright/xsgen/templates/lwr/origen.py | bright-dev/bright | af3ff83d37880787443b1a8e785f375142d42882 | [
"WTFPL"
] | 3 | 2016-05-08T06:13:10.000Z | 2019-02-14T10:01:22.000Z | bright/xsgen/templates/lwr/origen.py | bright-dev/bright | af3ff83d37880787443b1a8e785f375142d42882 | [
"WTFPL"
] | null | null | null | bright/xsgen/templates/lwr/origen.py | bright-dev/bright | af3ff83d37880787443b1a8e785f375142d42882 | [
"WTFPL"
] | null | null | null | tape5 = """\
-1
-1
-1
CUT 5 {CUT_OFF} -1
RDA FIND CROSS SECTION LIBRARY IDENTIFIER NUMBERS IN YOUR LIBRARY FILE
LIB 0 1 2 3 {NLB1} {NLB2} {NLB3} 9 3 0 3 0
OPTL 8 8 8 8 7 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
OPTA 8 8 8 8 7 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
OPTF 8 8 8 8 7 8 8 8... | 78.484553 | 117 | 0.390615 | 97,096 | 434,412 | 1.747621 | 0.02513 | 0.388374 | 0.466141 | 0.513699 | 0.72497 | 0.707786 | 0.687342 | 0.676257 | 0.650356 | 0.637857 | 0 | 0.701181 | 0.493578 | 434,412 | 5,534 | 118 | 78.498735 | 0.070138 | 0 | 0 | 0.031267 | 0 | 0.994578 | 0.999929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
c37c8932bd96ad068b653431be78d7d92bd586ea | 18,044 | py | Python | cockatrice/cli.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | 17 | 2018-10-19T02:36:41.000Z | 2022-01-29T01:02:50.000Z | cockatrice/cli.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | 23 | 2018-10-28T16:54:00.000Z | 2019-02-15T17:09:25.000Z | cockatrice/cli.py | mosuka/basilisk | abe2de265af234bd78053ccc974ca4218a25cad3 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2019 Minoru Osuka
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 37.280992 | 120 | 0.595433 | 2,056 | 18,044 | 5.06177 | 0.115759 | 0.034592 | 0.035937 | 0.040165 | 0.844912 | 0.830403 | 0.82089 | 0.810897 | 0.8059 | 0.797156 | 0 | 0.021531 | 0.294724 | 18,044 | 483 | 121 | 37.358178 | 0.796244 | 0.060574 | 0 | 0.72752 | 0 | 0.016349 | 0.112051 | 0.008751 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059946 | false | 0.027248 | 0.040872 | 0 | 0.100817 | 0.111717 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6f27f2804c8e989f8083b223310659fd3f118af3 | 154 | py | Python | tests/test_damagefunctions.py | Pranavesh-Panakkal/damagefunctions | d8d701d401e3ddef46c216f981c5a5a4fd9c4679 | [
"MIT"
] | null | null | null | tests/test_damagefunctions.py | Pranavesh-Panakkal/damagefunctions | d8d701d401e3ddef46c216f981c5a5a4fd9c4679 | [
"MIT"
] | null | null | null | tests/test_damagefunctions.py | Pranavesh-Panakkal/damagefunctions | d8d701d401e3ddef46c216f981c5a5a4fd9c4679 | [
"MIT"
] | null | null | null | from damagefunctions import damagefunctions
def test_pistrika_US_2010_block():
assert damagefunctions.pistrika_US_2010_block_group(1,1) == 0.497
| 30.8 | 70 | 0.811688 | 21 | 154 | 5.571429 | 0.666667 | 0.17094 | 0.239316 | 0.324786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103704 | 0.123377 | 154 | 4 | 71 | 38.5 | 0.762963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
6f2962945a55a1545e9bd88dfe63ea458c498258 | 16,857 | py | Python | tests/test_dict.py | ActivisionGameScience/assertpy | c0989de171bcf3e21dbad9415ff9d3b8f5fe78fc | [
"BSD-3-Clause"
] | 246 | 2015-01-14T01:40:03.000Z | 2021-08-03T02:50:50.000Z | tests/test_dict.py | ActivisionGameScience/assertpy | c0989de171bcf3e21dbad9415ff9d3b8f5fe78fc | [
"BSD-3-Clause"
] | 98 | 2015-01-01T14:28:55.000Z | 2019-11-14T21:36:18.000Z | tests/test_dict.py | ActivisionGameScience/assertpy | c0989de171bcf3e21dbad9415ff9d3b8f5fe78fc | [
"BSD-3-Clause"
] | 54 | 2015-01-14T01:42:10.000Z | 2019-11-18T10:04:42.000Z | # Copyright (c) 2015-2019, Activision Publishing, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of ... | 40.42446 | 113 | 0.649285 | 2,675 | 16,857 | 3.876636 | 0.08 | 0.122469 | 0.019961 | 0.025844 | 0.81215 | 0.76731 | 0.744552 | 0.726133 | 0.703472 | 0.694407 | 0 | 0.02364 | 0.181942 | 16,857 | 416 | 114 | 40.521635 | 0.728354 | 0.088806 | 0 | 0.478395 | 0 | 0.015432 | 0.220976 | 0 | 0 | 0 | 0 | 0 | 0.487654 | 1 | 0.17284 | false | 0 | 0.009259 | 0 | 0.182099 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6f3154726bd756c4048149755ab6db8612822b4f | 5,980 | py | Python | recipes/BinauralWSJ0Mix/prepare_data.py | Chaanks/speechbrain | 6447bde54f6e3fb07fdb934ab535f17cadfbad53 | [
"Apache-2.0"
] | null | null | null | recipes/BinauralWSJ0Mix/prepare_data.py | Chaanks/speechbrain | 6447bde54f6e3fb07fdb934ab535f17cadfbad53 | [
"Apache-2.0"
] | null | null | null | recipes/BinauralWSJ0Mix/prepare_data.py | Chaanks/speechbrain | 6447bde54f6e3fb07fdb934ab535f17cadfbad53 | [
"Apache-2.0"
] | null | null | null | """
The .csv preperation functions for Binaural-WSJ0Mix.
Author
* Cem Subakan 2020
* Zijian
"""
import os
import csv
def prepare_binaural_wsj0mix(
datapath, savepath, n_spks=2, skip_prep=False, fs=8000, version="min",
):
"""
Prepared binaural wsj2mix if n_spks=2 and binaural wsj3mix if n_spks=3.
... | 29.170732 | 110 | 0.516388 | 700 | 5,980 | 4.147143 | 0.164286 | 0.065105 | 0.031002 | 0.033758 | 0.843266 | 0.843266 | 0.827764 | 0.827764 | 0.745091 | 0.745091 | 0 | 0.034391 | 0.372742 | 5,980 | 204 | 111 | 29.313725 | 0.739536 | 0.142642 | 0 | 0.738255 | 0 | 0 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020134 | false | 0 | 0.013423 | 0 | 0.040268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6f55afeccdae20767135579e4405dd5bfc2fd754 | 168 | py | Python | nbmetalog/get_hostname.py | mmore500/nbmetalog | 670f8ad76a587d8848c81e4f790c31c96402f8b0 | [
"MIT"
] | null | null | null | nbmetalog/get_hostname.py | mmore500/nbmetalog | 670f8ad76a587d8848c81e4f790c31c96402f8b0 | [
"MIT"
] | 1 | 2021-09-02T16:08:58.000Z | 2021-09-02T16:08:58.000Z | nbmetalog/get_hostname.py | mmore500/nbmetalog | 670f8ad76a587d8848c81e4f790c31c96402f8b0 | [
"MIT"
] | null | null | null | from functools import lru_cache
import socket
from . import _except_return_none
@lru_cache()
@_except_return_none
def get_hostname():
return socket.gethostname()
| 16.8 | 33 | 0.803571 | 23 | 168 | 5.478261 | 0.565217 | 0.126984 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 168 | 9 | 34 | 18.666667 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
6f6f38fef5b302df3392a28bfc814d980f826a92 | 16,367 | py | Python | indicators/migrations/0012_auto_20171229_0914.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | null | null | null | indicators/migrations/0012_auto_20171229_0914.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | 268 | 2020-03-31T15:46:59.000Z | 2022-03-31T18:01:08.000Z | indicators/migrations/0012_auto_20171229_0914.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | 1 | 2021-01-05T01:58:24.000Z | 2021-01-05T01:58:24.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-12-29 17:14
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('indicators', '0011_auto_20171204_0923'),
]
operati... | 47.167147 | 282 | 0.613429 | 1,741 | 16,367 | 5.592188 | 0.091901 | 0.061011 | 0.059162 | 0.099528 | 0.927896 | 0.923172 | 0.865653 | 0.832888 | 0.809367 | 0.786976 | 0 | 0.013451 | 0.259608 | 16,367 | 346 | 283 | 47.303468 | 0.789982 | 0.004155 | 0 | 0.896755 | 1 | 0 | 0.208395 | 0.035162 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00885 | 0 | 0.017699 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
48a14fdef19205c628304d3a5fd3e67c281801ef | 5,192 | py | Python | src/models/head_net.py | schalappe/kenyan_sign_language_classification | a578e55c96e8eced1d23d31bb2019f8be308c899 | [
"MIT"
] | null | null | null | src/models/head_net.py | schalappe/kenyan_sign_language_classification | a578e55c96e8eced1d23d31bb2019f8be308c899 | [
"MIT"
] | null | null | null | src/models/head_net.py | schalappe/kenyan_sign_language_classification | a578e55c96e8eced1d23d31bb2019f8be308c899 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Set of head net for transfer learning
"""
from typing import Any
import tensorflow as tf
class FCHeadNet:
@staticmethod
def build(base_model: Any, len_class: int, dense_unit: int) -> Any:
"""
Fully connected header
Flatten -> FC -> Output
Parameter... | 27.764706 | 88 | 0.574153 | 628 | 5,192 | 4.664013 | 0.130573 | 0.064527 | 0.119836 | 0.105155 | 0.94435 | 0.94435 | 0.941277 | 0.881188 | 0.881188 | 0.866507 | 0 | 0.008187 | 0.317797 | 5,192 | 186 | 89 | 27.913978 | 0.818746 | 0.363251 | 0 | 0.734694 | 0 | 0 | 0.048423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102041 | false | 0 | 0.040816 | 0 | 0.346939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
48c1688b2e7b29d21a6b5c810a14f8751ab846d9 | 237 | py | Python | qmpy/utils/oqmd_optimade/__init__.py | kdmsit/qmpy | 5355d465e8bcc01058385484f2a77b4851b1fe87 | [
"MIT"
] | null | null | null | qmpy/utils/oqmd_optimade/__init__.py | kdmsit/qmpy | 5355d465e8bcc01058385484f2a77b4851b1fe87 | [
"MIT"
] | null | null | null | qmpy/utils/oqmd_optimade/__init__.py | kdmsit/qmpy | 5355d465e8bcc01058385484f2a77b4851b1fe87 | [
"MIT"
] | null | null | null | __all__ = ["LarkParser", "LarkParserError", "Lark2Django"]
# from .lark_parser import LarkParser, ParserError
from .QueryLarkDjangoParser import LarkParser, LarkParserError, Lark2Django
from .optimade_spec_data import get_optimade_data
| 39.5 | 75 | 0.831224 | 24 | 237 | 7.833333 | 0.583333 | 0.265957 | 0.382979 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009302 | 0.092827 | 237 | 5 | 76 | 47.4 | 0.865116 | 0.202532 | 0 | 0 | 0 | 0 | 0.192513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 7 |
d294f6a912eb969331e638e153750b624d2583a1 | 7,706 | py | Python | vae_model.py | kayvanrad/lablr | 8ff5928a4a2fdfbd57cd331952815492d4a5820c | [
"Apache-2.0"
] | 1 | 2019-04-21T02:12:33.000Z | 2019-04-21T02:12:33.000Z | vae_model.py | kayvanrad/lablr | 8ff5928a4a2fdfbd57cd331952815492d4a5820c | [
"Apache-2.0"
] | null | null | null | vae_model.py | kayvanrad/lablr | 8ff5928a4a2fdfbd57cd331952815492d4a5820c | [
"Apache-2.0"
] | null | null | null | import keras.models as km
import keras.layers as kl
import keras.backend as K
import keras.utils as ku
import numpy as np
def sampling(args):
"""This function reparameterizes the random sampling which is needed
to feed the decoding network."""
# Take apart the input arguments.
z_mean, z_log_var =... | 33.072961 | 94 | 0.606281 | 1,126 | 7,706 | 4.043517 | 0.133215 | 0.025697 | 0.030749 | 0.04832 | 0.881397 | 0.871294 | 0.864485 | 0.864485 | 0.864485 | 0.864485 | 0 | 0.024262 | 0.261874 | 7,706 | 233 | 95 | 33.072961 | 0.776196 | 0.357903 | 0 | 0.707071 | 0 | 0 | 0.018423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030303 | false | 0 | 0.050505 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d29f2d80329aeed13c0fdede37736a70fc5f37c1 | 7,425 | py | Python | google/ads/google_ads/v5/proto/services/keyword_plan_ad_group_keyword_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 1 | 2021-04-09T04:28:47.000Z | 2021-04-09T04:28:47.000Z | google/ads/google_ads/v5/proto/services/keyword_plan_ad_group_keyword_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v5/proto/services/keyword_plan_ad_group_keyword_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from google.ads.google_ads.v5.proto.resources import keyword_plan_ad_group_keyword_pb2 as google_dot_ads_dot_googleads__v5_dot_proto_dot_resources_dot_keyword__p... | 60.365854 | 207 | 0.778721 | 805 | 7,425 | 6.685714 | 0.159006 | 0.061316 | 0.057971 | 0.080268 | 0.809736 | 0.80026 | 0.782237 | 0.729097 | 0.729097 | 0.700483 | 0 | 0.01043 | 0.173603 | 7,425 | 122 | 208 | 60.860656 | 0.866688 | 0.226532 | 0 | 0.422535 | 1 | 0 | 0.108248 | 0.091787 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084507 | false | 0 | 0.042254 | 0.028169 | 0.197183 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d2ab53fed66530c81f1177fe401d7a8d653ba2b9 | 137 | py | Python | gpflux/architectures/__init__.py | francescodonato/GPflux | fe45b353243b31d9fa0ec0daeb1d39a2e78ba094 | [
"Apache-2.0"
] | 100 | 2021-04-13T07:54:49.000Z | 2022-03-21T16:25:45.000Z | gpflux/architectures/__init__.py | francescodonato/GPflux | fe45b353243b31d9fa0ec0daeb1d39a2e78ba094 | [
"Apache-2.0"
] | 17 | 2021-04-13T03:13:11.000Z | 2022-02-28T07:36:55.000Z | gpflux/architectures/__init__.py | francescodonato/GPflux | fe45b353243b31d9fa0ec0daeb1d39a2e78ba094 | [
"Apache-2.0"
] | 13 | 2021-04-12T19:12:17.000Z | 2022-03-10T00:41:44.000Z | """
Pre-specified architectures
"""
from gpflux.architectures.constant_input_dim_deep_gp import Config, build_constant_input_dim_deep_gp
| 27.4 | 100 | 0.861314 | 19 | 137 | 5.736842 | 0.684211 | 0.238532 | 0.293578 | 0.366972 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065693 | 137 | 4 | 101 | 34.25 | 0.851563 | 0.19708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
d2b4b680a0ca3afca727c47181a6c873e4e966f8 | 17,115 | py | Python | src/test/player_test.py | mullevik/vizzard | 906b7896a3080b1164cb6967c0480ae847a2e07b | [
"MIT"
] | null | null | null | src/test/player_test.py | mullevik/vizzard | 906b7896a3080b1164cb6967c0480ae847a2e07b | [
"MIT"
] | null | null | null | src/test/player_test.py | mullevik/vizzard | 906b7896a3080b1164cb6967c0480ae847a2e07b | [
"MIT"
] | null | null | null | import unittest
from src.action import ActionException
from src.environment import Environment, EnvironmentException
from src.player import Player, HorizontalMoveAction, VerticalMoveAction, \
GrassStartJumpAction, GrassEndJumpAction, ContourJumpAction, \
VerticalJumpAction
from src.settings import GameSettings... | 38.203125 | 79 | 0.625884 | 1,841 | 17,115 | 5.613797 | 0.068441 | 0.117078 | 0.100629 | 0.162554 | 0.921432 | 0.907499 | 0.894146 | 0.878278 | 0.834543 | 0.77494 | 0 | 0.024087 | 0.252878 | 17,115 | 447 | 80 | 38.288591 | 0.784156 | 0.039089 | 0 | 0.726444 | 0 | 0 | 0.015838 | 0 | 0 | 0 | 0 | 0 | 0.303951 | 1 | 0.115502 | false | 0 | 0.018237 | 0 | 0.145897 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 8 |
d2bdb0e586f9b25e3ba0cf701e1337f205bb04d2 | 8,203 | py | Python | clickutil/tests/test_args.py | stroxler/clickutil | 1a6f77691b8fa98a244f3783a16d0e0179adfcce | [
"X11"
] | 6 | 2016-07-26T15:55:10.000Z | 2020-06-04T10:18:06.000Z | clickutil/tests/test_args.py | stroxler/clickutil | 1a6f77691b8fa98a244f3783a16d0e0179adfcce | [
"X11"
] | null | null | null | clickutil/tests/test_args.py | stroxler/clickutil | 1a6f77691b8fa98a244f3783a16d0e0179adfcce | [
"X11"
] | 1 | 2017-06-25T00:52:37.000Z | 2017-06-25T00:52:37.000Z | from __future__ import print_function
import pytest
import click
from click.testing import CliRunner
from ..args import (
required_option,
default_option,
boolean_flag,
option,
boolean,
get_arg_default,
)
def test_boolean_flag():
runner = CliRunner()
def run_suite(default_value):
... | 26.46129 | 72 | 0.616969 | 1,075 | 8,203 | 4.594419 | 0.116279 | 0.092326 | 0.091112 | 0.096173 | 0.804819 | 0.780117 | 0.735979 | 0.72788 | 0.71229 | 0.71229 | 0 | 0.004969 | 0.26405 | 8,203 | 309 | 73 | 26.546926 | 0.813152 | 0.179812 | 0 | 0.735955 | 0 | 0 | 0.088835 | 0 | 0 | 0 | 0 | 0 | 0.264045 | 1 | 0.146067 | false | 0.02809 | 0.02809 | 0 | 0.174157 | 0.005618 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7d6e2f6b7511734409c58dce94df08999cdc9067 | 135 | py | Python | rpcb/status/__init__.py | kouyt5/rabbit-rpc-batch | f5f30b3da1c7de004206bfe9de0446ff61bada35 | [
"MIT"
] | null | null | null | rpcb/status/__init__.py | kouyt5/rabbit-rpc-batch | f5f30b3da1c7de004206bfe9de0446ff61bada35 | [
"MIT"
] | null | null | null | rpcb/status/__init__.py | kouyt5/rabbit-rpc-batch | f5f30b3da1c7de004206bfe9de0446ff61bada35 | [
"MIT"
] | null | null | null | from .status_util import get_response_by_status, get_success_response
__all__ = ['get_response_by_status', 'get_success_response']
| 33.75 | 70 | 0.82963 | 19 | 135 | 5.105263 | 0.473684 | 0.226804 | 0.268041 | 0.391753 | 0.762887 | 0.762887 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0.096296 | 135 | 3 | 71 | 45 | 0.795082 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 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 | 8 |
7d76619b2416ead171047a596f9a1a708435f1e9 | 57 | py | Python | python/testData/regexp/unicodePy3.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/regexp/unicodePy3.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/regexp/unicodePy3.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import re
re.compile(r"[\U0001f570\U0001f573\U0001f57a]") | 28.5 | 47 | 0.789474 | 8 | 57 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0.035088 | 57 | 2 | 47 | 28.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0.551724 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
7d8ea30769413d4923f45b2ab6fd3327ccf4a5bf | 109,403 | py | Python | paste.py | DiyRex/Hoster | 493d31726da023652be67de899599b0b674556c2 | [
"MIT"
] | 1 | 2022-03-21T14:44:12.000Z | 2022-03-21T14:44:12.000Z | paste.py | DiyRex/Hoster | 493d31726da023652be67de899599b0b674556c2 | [
"MIT"
] | null | null | null | paste.py | DiyRex/Hoster | 493d31726da023652be67de899599b0b674556c2 | [
"MIT"
] | null | null | null | # XD
try:
import marshal,lzma,gzip,bz2,binascii,zlib;exec(marshal.loads(binascii.a2b_base64(b'YwAAAAAAAAAAAAAAAAAAAAAGAAAAQAAAAHNIAAAAZABkAWwAWgBkAGQBbAFaAWQAZAFsAloCZABkAWwDWgNkAGQBbARaBGQAZAFsBVoFZQZlAKAHZQSgCGQCoQGhAYMBAQBkAVMAKQPpAAAAAE5zNT8BAFl3QUFBQUFBQUFBQUFBQUFBQUFBQUFBR0FBQUFRQUFBQUhOSUFBQUFaQUJrQVd3QVdnQmt... | 18,233.833333 | 109,356 | 0.999662 | 21 | 109,403 | 5,207.857143 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12868 | 0.000137 | 109,403 | 5 | 109,357 | 21,880.6 | 0.87111 | 0.000018 | 0 | 0 | 0 | 0 | 0.99883 | 0.99883 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
7d93038c0dc61c1a904ed95aaff30d86a6149a50 | 26,333 | py | Python | tests/python/unittest/test_tir_transform_compact_buffer_region.py | wyushun/tvm | f88e3d6daae03643dbc970219b3770e690663e71 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 90 | 2021-11-30T11:58:10.000Z | 2022-03-31T02:24:04.000Z | tests/python/unittest/test_tir_transform_compact_buffer_region.py | wyushun/tvm | f88e3d6daae03643dbc970219b3770e690663e71 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 64 | 2021-11-22T23:58:23.000Z | 2022-03-31T03:19:22.000Z | tests/python/unittest/test_tir_transform_compact_buffer_region.py | wyushun/tvm | f88e3d6daae03643dbc970219b3770e690663e71 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | 27 | 2021-12-09T22:39:27.000Z | 2022-03-24T23:21:48.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 38.053468 | 100 | 0.459613 | 3,972 | 26,333 | 2.931017 | 0.062437 | 0.042261 | 0.068717 | 0.03307 | 0.806562 | 0.775554 | 0.754595 | 0.729256 | 0.709071 | 0.691032 | 0 | 0.079004 | 0.380891 | 26,333 | 691 | 101 | 38.108538 | 0.635098 | 0.045039 | 0 | 0.700692 | 0 | 0 | 0.041244 | 0.004339 | 0 | 0 | 0 | 0 | 0.00346 | 1 | 0.076125 | false | 0 | 0.008651 | 0 | 0.084775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7d9ac85937a400f5b0999ceb5de1982633cc4044 | 62,485 | py | Python | kmip/tests/unit/core/messages/payloads/test_signature_verify.py | ondrap/PyKMIP | c8ea17d8faf827e0f9d004972835128a1a71569f | [
"Apache-2.0"
] | 179 | 2015-03-20T06:08:59.000Z | 2022-03-14T02:24:38.000Z | kmip/tests/unit/core/messages/payloads/test_signature_verify.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 600 | 2015-04-08T14:14:48.000Z | 2022-03-28T13:49:47.000Z | kmip/tests/unit/core/messages/payloads/test_signature_verify.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 131 | 2015-03-30T12:51:49.000Z | 2022-03-23T04:34:34.000Z | # Copyright (c) 2017 The Johns Hopkins University/Applied Physics Laboratory
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICEN... | 39.397856 | 79 | 0.63324 | 6,864 | 62,485 | 5.653555 | 0.066725 | 0.021337 | 0.020177 | 0.03953 | 0.953358 | 0.9422 | 0.934727 | 0.898933 | 0.891537 | 0.861465 | 0 | 0.101677 | 0.270929 | 62,485 | 1,585 | 80 | 39.422713 | 0.750154 | 0.184316 | 0 | 0.771996 | 0 | 0.093661 | 0.229812 | 0.180193 | 0 | 0 | 0 | 0 | 0.192999 | 1 | 0.066225 | false | 0 | 0.00473 | 0 | 0.072848 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7d9cac05f588b8b9b251a02277cf8513a622b986 | 2,790 | py | Python | generate_lines_catia.py | liubaishuo-github/VTX550_generate_tool_path | 98245b86f0a30c9d00fcecb9e2583bc786c8d33c | [
"MIT"
] | null | null | null | generate_lines_catia.py | liubaishuo-github/VTX550_generate_tool_path | 98245b86f0a30c9d00fcecb9e2583bc786c8d33c | [
"MIT"
] | null | null | null | generate_lines_catia.py | liubaishuo-github/VTX550_generate_tool_path | 98245b86f0a30c9d00fcecb9e2583bc786c8d33c | [
"MIT"
] | null | null | null | import win32com.client
def generate_points_catia(transfered_coord):
gauge_length = float(input("--------------------\n--------------------\nInput the GL:"))
ball_radius = float(input("--------------------\nInput the Ball nose Radius (A1):"))
CATIA = win32com.client.Dispatch('catia.application')
... | 37.2 | 101 | 0.630824 | 297 | 2,790 | 5.774411 | 0.232323 | 0.068222 | 0.093294 | 0.100292 | 0.781341 | 0.781341 | 0.781341 | 0.781341 | 0.781341 | 0.71137 | 0 | 0.016674 | 0.226165 | 2,790 | 74 | 102 | 37.702703 | 0.777675 | 0.109319 | 0 | 0.790698 | 1 | 0 | 0.131448 | 0.063228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.023256 | 0 | 0.069767 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7da722a445b9d889f2bd01c587836740664ed2ad | 18,353 | py | Python | FPL/Pick_team/views.py | kamrul-s/FPL | b05176d0178bec3684e19709e265faba8375c29d | [
"MIT"
] | null | null | null | FPL/Pick_team/views.py | kamrul-s/FPL | b05176d0178bec3684e19709e265faba8375c29d | [
"MIT"
] | null | null | null | FPL/Pick_team/views.py | kamrul-s/FPL | b05176d0178bec3684e19709e265faba8375c29d | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.db import connection
from django.http import HttpResponse
def pick_team(request):
gkp = []
defenders = []
mid = []
fwd = []
if 'user' not in request.session:
return render(request,'index.html')
args = [0]
cursor = connec... | 40.336264 | 169 | 0.561707 | 2,231 | 18,353 | 4.446437 | 0.047064 | 0.05 | 0.106452 | 0.059677 | 0.920363 | 0.893044 | 0.884173 | 0.85373 | 0.834274 | 0.828629 | 0 | 0.009253 | 0.322836 | 18,353 | 455 | 170 | 40.336264 | 0.788944 | 0.00692 | 0 | 0.806295 | 0 | 0.016949 | 0.223283 | 0.032109 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0 | 0.007264 | 0.004843 | 0.05569 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
8160bf963fc2b8c47d0e11080fd81d204e93ee3d | 184 | py | Python | BackEnd/restaurants/admin.py | parhamzm/Kashan-Holiday-Project---SE | ce5205ea3b097287648be54f9d424679c649085e | [
"MIT"
] | 3 | 2019-11-24T20:54:17.000Z | 2021-09-19T18:52:23.000Z | BackEnd/restaurants/admin.py | parhamzm/Kashan-Holiday-Project---SE | ce5205ea3b097287648be54f9d424679c649085e | [
"MIT"
] | null | null | null | BackEnd/restaurants/admin.py | parhamzm/Kashan-Holiday-Project---SE | ce5205ea3b097287648be54f9d424679c649085e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import RestaurantLocation
# Register your models here.
# admin.site.register(RestaurantLocation)
admin.site.register(RestaurantLocation) | 26.285714 | 41 | 0.836957 | 21 | 184 | 7.333333 | 0.52381 | 0.116883 | 0.220779 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092391 | 184 | 7 | 42 | 26.285714 | 0.922156 | 0.358696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 7 |
8198b3c9a90d898996142aaac7a61deacf7fc880 | 29,173 | py | Python | VeryAccurateEmulator.py | christianhbye/Very-Accurate-Emulator | 348c4bcdbf83a26beee56be615c300e445d347dc | [
"MIT"
] | 4 | 2021-07-09T14:33:26.000Z | 2022-01-27T01:40:57.000Z | VeryAccurateEmulator.py | christianhbye/Very-Accurate-Emulator | 348c4bcdbf83a26beee56be615c300e445d347dc | [
"MIT"
] | 6 | 2022-03-12T22:41:10.000Z | 2022-03-24T20:04:01.000Z | VeryAccurateEmulator.py | christianhbye/Very-Accurate-Emulator | 348c4bcdbf83a26beee56be615c300e445d347dc | [
"MIT"
] | null | null | null | import h5py
import numpy as np
import tensorflow as tf
from build_models import build_models, build_direct_emulator
import preprocess as pp
from training_tools import train_models, train_direct_emulator, create_batch, em_loss_fcn
class VeryAccurateEmulator:
def __init__(self, vae=None, emulator=None):
""... | 53.430403 | 121 | 0.646351 | 3,980 | 29,173 | 4.565075 | 0.092965 | 0.023281 | 0.010567 | 0.006164 | 0.882988 | 0.857119 | 0.840883 | 0.812593 | 0.806924 | 0.806924 | 0 | 0.012758 | 0.271895 | 29,173 | 545 | 122 | 53.52844 | 0.842616 | 0.36712 | 0 | 0.748408 | 0 | 0 | 0.129991 | 0.003866 | 0 | 0 | 0 | 0 | 0.012739 | 1 | 0.044586 | false | 0 | 0.019108 | 0 | 0.101911 | 0.041401 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
81d282432b842d1a794e58867eb0aeca53fe99df | 6 | py | Python | example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Repetition/Match between m and n repetions of the preceding, non-greedily.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Repetition/Match between m and n repetions of the preceding, non-greedily.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/Python/Regular expressions/Repetition/Match between m and n repetions of the preceding, non-greedily.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | {3,5}? | 6 | 6 | 0.333333 | 2 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 6 | 1 | 6 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c48e236d5db2e2938fc30100f23e7ac79f4f375c | 27,014 | py | Python | Compiler/Ver 0.beta.1/Compiler.py | CoderLoveMath/Arrow | 12e54064e04f2529980274574b7ac739155c5d26 | [
"MIT"
] | 1 | 2020-01-16T01:27:51.000Z | 2020-01-16T01:27:51.000Z | Compiler/Ver 0.beta.1/Compiler.py | RedoC-github/Arrow | 12e54064e04f2529980274574b7ac739155c5d26 | [
"MIT"
] | 1 | 2020-01-14T10:43:56.000Z | 2020-01-14T10:43:56.000Z | Compiler/Ver 0.beta.1/Compiler.py | RedoC-github/Arrow | 12e54064e04f2529980274574b7ac739155c5d26 | [
"MIT"
] | null | null | null | import sys
import re
var = {}
func = {
'print': 'string,string2,string3,string4,string5,string6,string7,string8,string8,string_l:run out string=>run out string2=>run out string3=>run out string4=>run out string5=>run out string6=>run out string7=>run out string8=>run out string_l',
'input': 'string:run in stri... | 43.153355 | 247 | 0.346376 | 2,590 | 27,014 | 3.498456 | 0.04749 | 0.058713 | 0.047456 | 0.044476 | 0.908509 | 0.902549 | 0.896811 | 0.895045 | 0.895045 | 0.895045 | 0 | 0.018895 | 0.541571 | 27,014 | 625 | 248 | 43.2224 | 0.712775 | 0 | 0 | 0.90411 | 0 | 0.001712 | 0.042274 | 0.003072 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013699 | false | 0.010274 | 0.006849 | 0 | 0.020548 | 0.077055 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
c49e496dba3c2ea05c554509f714cf94c317f839 | 4,379 | py | Python | model/model/RSA.py | frankaging/Pragmatic-Color-Generation | e0e54d7638662f5206024a94d902b44dbed18c30 | [
"MIT"
] | 2 | 2020-10-09T04:14:10.000Z | 2020-10-16T02:20:50.000Z | model/model/RSA.py | frankaging/Pragmatic-Color-Generation | e0e54d7638662f5206024a94d902b44dbed18c30 | [
"MIT"
] | 11 | 2020-11-13T19:08:23.000Z | 2022-02-10T02:20:44.000Z | model/model/RSA.py | frankaging/Pragmatic-Color-Generation | e0e54d7638662f5206024a94d902b44dbed18c30 | [
"MIT"
] | null | null | null | import os
import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
import numpy as np
'''
Model class
'''
class LiteralSpeaker(nn.Module):
def __init__(self,
input_dim=300,
color_dim=54,
output_dim=3,
hidden_1... | 37.75 | 86 | 0.54807 | 548 | 4,379 | 4.171533 | 0.125912 | 0.090989 | 0.062992 | 0.087489 | 0.91776 | 0.91776 | 0.91776 | 0.91776 | 0.91776 | 0.91776 | 0 | 0.0337 | 0.335921 | 4,379 | 116 | 87 | 37.75 | 0.752407 | 0.029916 | 0 | 0.886364 | 0 | 0 | 0.00428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.068182 | 0 | 0.159091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c4b1664316fb7b99a7ef180deb1778c600c62ec5 | 204 | py | Python | PyNimbus/__init__.py | WxBDM/SPC-Storm-Reports | 9ea01badfac3caed4e83f86a46039108bae0145a | [
"BSD-3-Clause"
] | 3 | 2019-09-01T13:31:02.000Z | 2019-11-23T20:06:34.000Z | PyNimbus/__init__.py | WxBDM/SPC-Storm-Reports | 9ea01badfac3caed4e83f86a46039108bae0145a | [
"BSD-3-Clause"
] | 7 | 2019-09-30T14:18:42.000Z | 2020-03-28T18:00:14.000Z | PyNimbus/__init__.py | WxBDM/SPC-Storm-Reports | 9ea01badfac3caed4e83f86a46039108bae0145a | [
"BSD-3-Clause"
] | 4 | 2019-09-30T16:31:27.000Z | 2019-10-04T00:42:39.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from pynimbus.pynimbus import get_spc_storm_reports_df
from pynimbus.pynimbus import get_spc_storm_reports
from pynimbus.pynimbus import get_nhc_past_cyclone | 40.8 | 54 | 0.828431 | 32 | 204 | 4.96875 | 0.5625 | 0.226415 | 0.377358 | 0.490566 | 0.735849 | 0.553459 | 0.553459 | 0.553459 | 0 | 0 | 0 | 0.010753 | 0.088235 | 204 | 5 | 55 | 40.8 | 0.844086 | 0.210784 | 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 | 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 | 7 |
c4f1863d7c59ae97d302cb3d8f6bc69b947cd916 | 107,298 | py | Python | src/oci/identity/identity_client_composite_operations.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/identity/identity_client_composite_operations.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/identity/identity_client_composite_operations.py | LaudateCorpus1/oci-python-sdk | b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 51.560788 | 245 | 0.682948 | 13,937 | 107,298 | 5.012628 | 0.020377 | 0.043787 | 0.055825 | 0.024334 | 0.959076 | 0.951905 | 0.938807 | 0.924794 | 0.911295 | 0.902349 | 0 | 0.000663 | 0.240815 | 107,298 | 2,080 | 246 | 51.585577 | 0.856959 | 0.446057 | 0 | 0.825107 | 0 | 0 | 0.028172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054721 | false | 0 | 0.004292 | 0 | 0.178112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f20e8956b152cb18c9a6e80974941385635a2e39 | 26,482 | py | Python | tests/test_meeting_room_sample.py | chyroc/pylark | a54cce6b814935fd3c72668b262b54c8ee461484 | [
"Apache-2.0"
] | 7 | 2021-08-18T00:42:05.000Z | 2022-03-14T09:49:15.000Z | tests/test_meeting_room_sample.py | chyroc/pylark | a54cce6b814935fd3c72668b262b54c8ee461484 | [
"Apache-2.0"
] | null | null | null | tests/test_meeting_room_sample.py | chyroc/pylark | a54cce6b814935fd3c72668b262b54c8ee461484 | [
"Apache-2.0"
] | 1 | 2022-03-14T09:49:20.000Z | 2022-03-14T09:49:20.000Z | # Code generated by lark_sdk_gen. DO NOT EDIT.
import unittest
import pylark
import pytest
from tests.test_conf import app_all_permission, app_no_permission
from tests.test_helper import mock_get_tenant_access_token_failed
def mock(*args, **kwargs):
raise pylark.PyLarkError(scope="scope", func="func", code=1, ms... | 38.268786 | 88 | 0.692735 | 3,303 | 26,482 | 5.195883 | 0.029367 | 0.122422 | 0.093171 | 0.069339 | 0.961776 | 0.960378 | 0.954784 | 0.93841 | 0.908694 | 0.875772 | 0 | 0.001777 | 0.235065 | 26,482 | 691 | 89 | 38.324168 | 0.845436 | 0.004116 | 0 | 0.619231 | 1 | 0 | 0.036788 | 0.015701 | 0 | 0 | 0 | 0 | 0.228846 | 1 | 0.142308 | false | 0 | 0.009615 | 0 | 0.159615 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4845acc18fe24ad27026abc7d709a894d861f3d7 | 143 | py | Python | argo_workflow_tools_visualization/argo_workflow_tools_visualization/__init__.py | DiagnosticRobotics/argo-workflow-tools | 8e14948bd9087bfad970cb90da08bdb8726fbe1b | [
"Apache-2.0"
] | 15 | 2021-12-08T20:57:52.000Z | 2022-03-23T19:41:29.000Z | argo_workflow_tools_visualization/argo_workflow_tools_visualization/__init__.py | DiagnosticRobotics/argo-workflow-tools | 8e14948bd9087bfad970cb90da08bdb8726fbe1b | [
"Apache-2.0"
] | 18 | 2021-12-07T07:49:17.000Z | 2022-03-02T10:27:49.000Z | argo_workflow_tools_visualization/argo_workflow_tools_visualization/__init__.py | DiagnosticRobotics/argo-workflow-tools | 8e14948bd9087bfad970cb90da08bdb8726fbe1b | [
"Apache-2.0"
] | 3 | 2022-01-09T08:19:11.000Z | 2022-02-09T15:20:08.000Z | from .dsl.dependencies_graph.plot_workflow_dependencies_graph import plot_workflow_dependencies_graph, \
build_workflow_dependencies_graph
| 47.666667 | 104 | 0.895105 | 17 | 143 | 6.941176 | 0.470588 | 0.576271 | 0.635593 | 0.491525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 143 | 2 | 105 | 71.5 | 0.887218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 7 |
484f8ef85e57529728d9b0e3362524ac4f08b5cc | 13,870 | py | Python | mldock/command/models.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 2 | 2021-07-12T13:51:21.000Z | 2021-07-19T08:40:02.000Z | mldock/command/models.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 41 | 2021-06-28T11:05:20.000Z | 2022-03-13T13:48:50.000Z | mldock/command/models.py | mldock/mldock | 314b733e4f0102321727f8b145fc276486ecad85 | [
"Apache-2.0"
] | 1 | 2021-07-17T19:07:06.000Z | 2021-07-17T19:07:06.000Z | """TEMPLATES COMMANDS"""
import mimetypes
import logging
from pathlib import Path
import click
from mldock.config_managers.cli import ModelConfigManager, CliConfigureManager
from mldock.config_managers.project import MLDockConfigManager
from mldock.terminal import ProgressLogger
from mldock.platform_helpers.mldock.sto... | 27.96371 | 112 | 0.607931 | 1,489 | 13,870 | 5.482874 | 0.102082 | 0.062714 | 0.041646 | 0.035277 | 0.843459 | 0.843459 | 0.823248 | 0.802303 | 0.802303 | 0.802303 | 0 | 0.000203 | 0.290988 | 13,870 | 495 | 113 | 28.020202 | 0.829978 | 0.046359 | 0 | 0.725441 | 0 | 0 | 0.183837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017632 | false | 0 | 0.02267 | 0 | 0.040302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6f87819595cda4c487aa14b08cf18a03a5a15d53 | 21,384 | py | Python | tests/test_views_rate.py | luizomf/django-star-ratings | df2e18aceacddf7ad9ffa18613c702f9ea66998c | [
"BSD-3-Clause"
] | null | null | null | tests/test_views_rate.py | luizomf/django-star-ratings | df2e18aceacddf7ad9ffa18613c702f9ea66998c | [
"BSD-3-Clause"
] | null | null | null | tests/test_views_rate.py | luizomf/django-star-ratings | df2e18aceacddf7ad9ffa18613c702f9ea66998c | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
import json
import os
import uuid
import pytest
from random import randint
from django.conf import settings
from django.contrib.auth import get_user_model
from django.contrib.contenttypes.models import ContentType
from .base import BaseFooTest
try:
from django.core.urlres... | 41.929412 | 139 | 0.702581 | 2,888 | 21,384 | 4.856302 | 0.068906 | 0.044706 | 0.031658 | 0.047059 | 0.898966 | 0.887772 | 0.869305 | 0.869305 | 0.857897 | 0.857897 | 0 | 0.006668 | 0.186448 | 21,384 | 509 | 140 | 42.011788 | 0.799506 | 0.008511 | 0 | 0.748634 | 0 | 0 | 0.043632 | 0 | 0 | 0 | 0 | 0 | 0.092896 | 1 | 0.095628 | false | 0.005464 | 0.046448 | 0.008197 | 0.169399 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
6f87a3264d7f97009f0ea0da0dcc94a15dfc80f9 | 143,796 | py | Python | pybind/nos/v6_0_2c/rbridge_id/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v6_0_2c/rbridge_id/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v6_0_2c/rbridge_id/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 87.096305 | 1,166 | 0.74171 | 19,941 | 143,796 | 5.131688 | 0.017451 | 0.03733 | 0.048705 | 0.032366 | 0.919399 | 0.910047 | 0.906421 | 0.897431 | 0.890971 | 0.879616 | 0 | 0.002208 | 0.11485 | 143,796 | 1,650 | 1,167 | 87.149091 | 0.801769 | 0.130588 | 0 | 0.506303 | 0 | 0.053571 | 0.442772 | 0.185615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135504 | false | 0 | 0.05042 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6fd2129fe263952b1115324aab7aec965dbbf3a0 | 3,176 | py | Python | djautotask/migrations/0082_auto_20201020_1617.py | KerkhoffTechnologies/django-autotask | 458ff0bf65e3ca85fb954f907f05c4c614904afc | [
"MIT"
] | 4 | 2019-04-18T17:12:07.000Z | 2021-12-30T21:42:10.000Z | djautotask/migrations/0082_auto_20201020_1617.py | KerkhoffTechnologies/django-autotask | 458ff0bf65e3ca85fb954f907f05c4c614904afc | [
"MIT"
] | 32 | 2018-05-30T20:31:22.000Z | 2022-02-17T21:36:50.000Z | djautotask/migrations/0082_auto_20201020_1617.py | KerkhoffTechnologies/django-autotask | 458ff0bf65e3ca85fb954f907f05c4c614904afc | [
"MIT"
] | 5 | 2018-05-25T23:33:45.000Z | 2022-01-04T22:01:46.000Z | # Generated by Django 3.1.2 on 2020-10-20 16:17
from django.db import migrations, models
import django_extensions.db.fields
class Migration(migrations.Migration):
dependencies = [
('djautotask', '0081_project_department'),
]
operations = [
migrations.CreateModel(
name='Proje... | 46.705882 | 124 | 0.584383 | 307 | 3,176 | 5.895765 | 0.224756 | 0.054696 | 0.054696 | 0.092818 | 0.827072 | 0.827072 | 0.827072 | 0.827072 | 0.827072 | 0.827072 | 0 | 0.016115 | 0.277078 | 3,176 | 67 | 125 | 47.402985 | 0.772213 | 0.014169 | 0 | 0.704918 | 1 | 0 | 0.092681 | 0.007351 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032787 | 0 | 0.081967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6fe7e7103fa863d7bb4dd5ef7caa084b7d934a99 | 223,784 | py | Python | UI.py | MingjunMa/PixEditor | 1d32c06e1689e1ed7e8bd0f9d30e50bed4e24562 | [
"MIT"
] | 7 | 2020-05-21T03:44:25.000Z | 2021-11-19T04:44:13.000Z | UI.py | MingjunMa/PixEditor | 1d32c06e1689e1ed7e8bd0f9d30e50bed4e24562 | [
"MIT"
] | 5 | 2021-02-02T22:44:40.000Z | 2022-03-12T00:31:15.000Z | UI.py | MingjunMa/PixEditor | 1d32c06e1689e1ed7e8bd0f9d30e50bed4e24562 | [
"MIT"
] | 1 | 2020-05-21T03:59:49.000Z | 2020-05-21T03:59:49.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'UI.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
... | 58.643606 | 234 | 0.675978 | 26,541 | 223,784 | 5.651746 | 0.020346 | 0.142997 | 0.085438 | 0.112138 | 0.853443 | 0.825423 | 0.807777 | 0.770771 | 0.756638 | 0.750938 | 0 | 0.051043 | 0.197387 | 223,784 | 3,815 | 235 | 58.658978 | 0.784107 | 0.000786 | 0 | 0.70989 | 1 | 0.002893 | 0.040294 | 0.005301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000526 | false | 0 | 0.000263 | 0 | 0.001052 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d203d865d952cc0eaeb62eb459cb790eacf316c4 | 1,408 | py | Python | Diabocare/forms.py | karantatiwala/DiaboCare | f57919a9687685f3a41ce064389d6c3aee54cea3 | [
"Apache-2.0"
] | null | null | null | Diabocare/forms.py | karantatiwala/DiaboCare | f57919a9687685f3a41ce064389d6c3aee54cea3 | [
"Apache-2.0"
] | null | null | null | Diabocare/forms.py | karantatiwala/DiaboCare | f57919a9687685f3a41ce064389d6c3aee54cea3 | [
"Apache-2.0"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, TextField, TextAreaField
from wtforms.validators import DataRequired, Email, Length, EqualTo
class LoginForm(FlaskForm):
username = StringField('Username', validators=[DataRequired()])
password = PasswordField('Password', val... | 45.419355 | 106 | 0.697443 | 148 | 1,408 | 6.614865 | 0.222973 | 0.040858 | 0.042901 | 0.055158 | 0.827375 | 0.827375 | 0.827375 | 0.827375 | 0.827375 | 0.827375 | 0 | 0.02316 | 0.141335 | 1,408 | 30 | 107 | 46.933333 | 0.786601 | 0 | 0 | 0.666667 | 0 | 0 | 0.146802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.238095 | 0.142857 | 0 | 1 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
d229280bef7b53850c7cd9b55f1a15d6b18fd45a | 151 | bzl | Python | tools/level_3_repositories.bzl | agoessling/stuff_sack | f3980bde144b283d26e3674d7a545c86a4a8260e | [
"MIT"
] | 4 | 2021-07-08T05:07:37.000Z | 2021-08-03T12:48:09.000Z | tools/level_3_repositories.bzl | agoessling/stuff_sack | f3980bde144b283d26e3674d7a545c86a4a8260e | [
"MIT"
] | null | null | null | tools/level_3_repositories.bzl | agoessling/stuff_sack | f3980bde144b283d26e3674d7a545c86a4a8260e | [
"MIT"
] | null | null | null | load("@rules_sphinx//sphinx:indirect_repositories.bzl", "rules_sphinx_indirect_deps")
def stuff_sack_level_3_deps():
rules_sphinx_indirect_deps()
| 30.2 | 85 | 0.821192 | 21 | 151 | 5.333333 | 0.571429 | 0.294643 | 0.339286 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.066225 | 151 | 4 | 86 | 37.75 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.483444 | 0.483444 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d22a12aa13e7f03eff1512ec90c1b7ff56c860a1 | 4,199 | py | Python | tests/test_utils/test_db/test_db_interview_match.py | Proyecto-Nutria/otter-buddy | cb21f682fd39edde9848de0fc13b355d20df528d | [
"MIT"
] | 3 | 2021-06-29T07:37:51.000Z | 2021-11-27T04:23:33.000Z | tests/test_utils/test_db/test_db_interview_match.py | Proyecto-Nutria/otter-buddy | cb21f682fd39edde9848de0fc13b355d20df528d | [
"MIT"
] | 3 | 2021-11-09T22:03:53.000Z | 2021-11-09T23:42:49.000Z | tests/test_utils/test_db/test_db_interview_match.py | Proyecto-Nutria/otter-buddy | cb21f682fd39edde9848de0fc13b355d20df528d | [
"MIT"
] | 1 | 2021-11-28T04:22:31.000Z | 2021-11-28T04:22:31.000Z | import mongomock
from unittest.mock import patch
from otter_buddy.utils.db import db_interview_match, dbconn
mock_connection = mongomock.MongoClient('mongodb://localhost:27020')
def mock_client(self):
self.connection = mock_connection
return self
@patch.object(dbconn.DbConn, '__enter__', mock_client)
def ... | 33.062992 | 85 | 0.681353 | 520 | 4,199 | 5.080769 | 0.125 | 0.233157 | 0.078728 | 0.145344 | 0.884936 | 0.87131 | 0.87131 | 0.87131 | 0.87131 | 0.854277 | 0 | 0.015892 | 0.220767 | 4,199 | 126 | 86 | 33.325397 | 0.790342 | 0 | 0 | 0.669725 | 0 | 0 | 0.097404 | 0.005954 | 0 | 0 | 0 | 0 | 0.174312 | 1 | 0.110092 | false | 0 | 0.027523 | 0 | 0.146789 | 0 | 0 | 0 | 0 | null | 1 | 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 | 7 |
d2461205a404873f216fb32181c500903db42267 | 1,440 | py | Python | pcdet/models/dense_heads/__init__.py | twn29004/OpenPCDet | 3457cc30b21d882a1376ef272fbaa49755c72a2e | [
"Apache-2.0"
] | null | null | null | pcdet/models/dense_heads/__init__.py | twn29004/OpenPCDet | 3457cc30b21d882a1376ef272fbaa49755c72a2e | [
"Apache-2.0"
] | null | null | null | pcdet/models/dense_heads/__init__.py | twn29004/OpenPCDet | 3457cc30b21d882a1376ef272fbaa49755c72a2e | [
"Apache-2.0"
] | null | null | null | <<<<<<< HEAD
from .anchor_head_multi import AnchorHeadMulti
from .anchor_head_single import AnchorHeadSingle
from .anchor_head_template import AnchorHeadTemplate
from .anchor_head_dis import AnchorHeadDis
from .point_head_box import PointHeadBox
from .point_head_simple import PointHeadSimple
from .point_intra_part_head... | 36 | 60 | 0.804167 | 124 | 1,440 | 9.032258 | 0.193548 | 0.0625 | 0.0875 | 0.033929 | 0.908929 | 0.908929 | 0.908929 | 0.908929 | 0.908929 | 0.908929 | 0 | 0.019078 | 0.126389 | 1,440 | 39 | 61 | 36.923077 | 0.871224 | 0 | 0 | 0.810811 | 0 | 0 | 0.163739 | 0.033732 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.405405 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
d24f49513f5b307e7ab1e1155a5743d01b3e77ea | 96 | py | Python | send_once.py | oohmygaud/friend-zone | eced28aad40d6d6f8c2b0f0fd087f50459756004 | [
"MIT"
] | null | null | null | send_once.py | oohmygaud/friend-zone | eced28aad40d6d6f8c2b0f0fd087f50459756004 | [
"MIT"
] | null | null | null | send_once.py | oohmygaud/friend-zone | eced28aad40d6d6f8c2b0f0fd087f50459756004 | [
"MIT"
] | null | null | null | from helpers import send_all_due_reminders
if __name__ == "__main__":
send_all_due_reminders() | 32 | 42 | 0.822917 | 14 | 96 | 4.642857 | 0.714286 | 0.215385 | 0.307692 | 0.584615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 3 | 43 | 32 | 0.755814 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
d276f237a3e8f7561080454271b0c753dd20f352 | 10,068 | py | Python | tests/test_basic.py | hattya/ayame | e8bb2b0ace79cd358b1384270cb9c5e809e12b5d | [
"MIT"
] | 1 | 2022-03-05T03:21:13.000Z | 2022-03-05T03:21:13.000Z | tests/test_basic.py | hattya/ayame | e8bb2b0ace79cd358b1384270cb9c5e809e12b5d | [
"MIT"
] | 1 | 2021-08-25T13:41:34.000Z | 2021-08-25T13:41:34.000Z | tests/test_basic.py | hattya/ayame | e8bb2b0ace79cd358b1384270cb9c5e809e12b5d | [
"MIT"
] | 1 | 2018-03-04T21:47:27.000Z | 2018-03-04T21:47:27.000Z | #
# test_basic
#
# Copyright (c) 2011-2021 Akinori Hattori <hattya@gmail.com>
#
# SPDX-License-Identifier: MIT
#
import ayame
from ayame import basic, markup, model
from base import AyameTestCase
class BasicTestCase(AyameTestCase):
def test_label(self):
c = basic.Label('a')
self.assertIsNone... | 37.707865 | 96 | 0.562872 | 1,196 | 10,068 | 4.669732 | 0.098662 | 0.169203 | 0.064458 | 0.040824 | 0.844226 | 0.822023 | 0.819517 | 0.751656 | 0.734646 | 0.734646 | 0 | 0.013147 | 0.28228 | 10,068 | 266 | 97 | 37.849624 | 0.759756 | 0.010131 | 0 | 0.743119 | 0 | 0 | 0.037859 | 0 | 0 | 0 | 0 | 0 | 0.334862 | 1 | 0.082569 | false | 0 | 0.013761 | 0 | 0.100917 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
d27f5ba3f04640e0812be35d66de35f69ce23b8a | 3,033 | py | Python | library/migrations/0004_auto_20201021_0007.py | himasnhu1/example | 27db7941c5f7bd16ffb407654818012e43d82f7e | [
"MIT"
] | null | null | null | library/migrations/0004_auto_20201021_0007.py | himasnhu1/example | 27db7941c5f7bd16ffb407654818012e43d82f7e | [
"MIT"
] | null | null | null | library/migrations/0004_auto_20201021_0007.py | himasnhu1/example | 27db7941c5f7bd16ffb407654818012e43d82f7e | [
"MIT"
] | null | null | null | # Generated by Django 2.2 on 2020-10-20 18:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('library', '0003_librarysubscription_nightshift'),
]
operations = [
migrations.AlterField(
model_name='librarybranch',
... | 38.392405 | 269 | 0.570392 | 280 | 3,033 | 6.071429 | 0.289286 | 0.152941 | 0.191176 | 0.221765 | 0.837059 | 0.837059 | 0.81 | 0.774706 | 0.708235 | 0.650588 | 0 | 0.022069 | 0.282888 | 3,033 | 78 | 270 | 38.884615 | 0.75954 | 0.014177 | 0 | 0.680556 | 1 | 0 | 0.188086 | 0.029116 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013889 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
737e340763b4cd1c946f2531331e8d8eff1a96f6 | 30,530 | py | Python | lightkube/core/client.py | addyess/lightkube | 3d2f4ab41bf9daa168e923f3b820d9379d6d56b6 | [
"MIT"
] | null | null | null | lightkube/core/client.py | addyess/lightkube | 3d2f4ab41bf9daa168e923f3b820d9379d6d56b6 | [
"MIT"
] | null | null | null | lightkube/core/client.py | addyess/lightkube | 3d2f4ab41bf9daa168e923f3b820d9379d6d56b6 | [
"MIT"
] | null | null | null | from typing import Type, Iterator, TypeVar, Union, overload, Dict, Tuple, List, Iterable, AsyncIterable
import httpx
from ..config.kubeconfig import SingleConfig, KubeConfig
from .. import operators
from ..core import resource as r
from .generic_client import GenericSyncClient, GenericAsyncClient
from ..core.exceptions... | 42.520891 | 143 | 0.627579 | 3,359 | 30,530 | 5.638285 | 0.086633 | 0.016263 | 0.015207 | 0.024289 | 0.934474 | 0.933418 | 0.921062 | 0.906859 | 0.900945 | 0.881514 | 0 | 0.001015 | 0.257812 | 30,530 | 717 | 144 | 42.580195 | 0.834812 | 0.279561 | 0 | 0.718987 | 0 | 0 | 0.033668 | 0.002255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121519 | false | 0 | 0.025316 | 0 | 0.212658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
73d6b96906ac63a8556f0d00bb0b4f61661daca0 | 49,632 | py | Python | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_0():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 227.669725 | 3,165 | 0.75816 | 10,591 | 49,632 | 3.464262 | 0.172788 | 0.259471 | 0.385691 | 0.509676 | 0.35214 | 0.328564 | 0.324884 | 0.321804 | 0.315263 | 0.315263 | 0 | 0.606522 | 0.038 | 49,632 | 217 | 3,166 | 228.718894 | 0.161919 | 0.029114 | 0 | 0.171875 | 0 | 0.007813 | 0.024529 | 0.004154 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.03125 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fb69830757d044cde893f170777fbb8de2ac764c | 20,978 | py | Python | sdk/python/pulumi_datadog/logs_archive.py | pulumi/pulumi-datadog | dbc3e51b438de20aca4207bf894dbaa5a2db4bca | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-09-17T20:41:19.000Z | 2022-01-07T15:42:07.000Z | sdk/python/pulumi_datadog/logs_archive.py | pulumi/pulumi-datadog | dbc3e51b438de20aca4207bf894dbaa5a2db4bca | [
"ECL-2.0",
"Apache-2.0"
] | 86 | 2019-07-08T11:47:05.000Z | 2022-03-28T21:02:19.000Z | sdk/python/pulumi_datadog/logs_archive.py | pulumi/pulumi-datadog | dbc3e51b438de20aca4207bf894dbaa5a2db4bca | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2019-10-05T10:34:15.000Z | 2021-08-08T04:14:19.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 43.704167 | 192 | 0.647822 | 2,390 | 20,978 | 5.482427 | 0.077824 | 0.090666 | 0.082653 | 0.030451 | 0.866366 | 0.846982 | 0.834236 | 0.820728 | 0.816836 | 0.791956 | 0 | 0.006326 | 0.246496 | 20,978 | 479 | 193 | 43.795407 | 0.82261 | 0.307227 | 0 | 0.753788 | 1 | 0 | 0.140706 | 0.060613 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159091 | false | 0.003788 | 0.026515 | 0 | 0.280303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8376061b44d9ab9975f3fae629598a0bde5ac2dd | 5,916 | py | Python | data/projects/flutils/tests/unit/packages/test_build_version_info.py | se2p/artifact-pynguin-ssbse2020 | 32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6 | [
"CC-BY-4.0"
] | 3 | 2020-08-20T10:27:13.000Z | 2021-11-02T20:28:16.000Z | data/projects/flutils/tests/unit/packages/test_build_version_info.py | se2p/artifact-pynguin-ssbse2020 | 32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6 | [
"CC-BY-4.0"
] | null | null | null | data/projects/flutils/tests/unit/packages/test_build_version_info.py | se2p/artifact-pynguin-ssbse2020 | 32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6 | [
"CC-BY-4.0"
] | null | null | null | # pylint: disable=E0611,E0401
import unittest
from distutils.version import StrictVersion
from unittest.mock import (
Mock,
patch,
)
# noinspection PyProtectedMember
from flutils.packages import (
_VersionInfo,
_VersionPart,
_build_version_info,
)
class TestBuildVersionInfo(unittest.TestCase):
... | 28.442308 | 69 | 0.454868 | 575 | 5,916 | 4.422609 | 0.13913 | 0.014157 | 0.075501 | 0.033032 | 0.814786 | 0.805741 | 0.805741 | 0.793158 | 0.793158 | 0.774676 | 0 | 0.021444 | 0.440331 | 5,916 | 207 | 70 | 28.57971 | 0.746602 | 0.009804 | 0 | 0.717172 | 0 | 0 | 0.088813 | 0.049701 | 0 | 0 | 0 | 0 | 0.050505 | 1 | 0.020202 | false | 0 | 0.020202 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
838c4d86d6b1ba005c47c07946a86fd1a5c8d27d | 117 | py | Python | flaskcbv/view/mixins/__init__.py | procool/flaskcbv | 18c254c10ef03145073e1264a06a0313e811ad29 | [
"BSD-2-Clause"
] | 1 | 2020-02-24T13:08:16.000Z | 2020-02-24T13:08:16.000Z | flaskcbv/view/mixins/__init__.py | procool/flaskcbv | 18c254c10ef03145073e1264a06a0313e811ad29 | [
"BSD-2-Clause"
] | null | null | null | flaskcbv/view/mixins/__init__.py | procool/flaskcbv | 18c254c10ef03145073e1264a06a0313e811ad29 | [
"BSD-2-Clause"
] | null | null | null | from flaskcbv.view.mixins.jsonmixin import JSONMixin
from flaskcbv.view.mixins.getargument import getArgumentMixin
| 23.4 | 61 | 0.863248 | 14 | 117 | 7.214286 | 0.571429 | 0.237624 | 0.316832 | 0.435644 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 4 | 62 | 29.25 | 0.943925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 | 8 |
83d36371951ca32714aab48d46ea69bb95a893f8 | 13,114 | py | Python | datamart/unit_tests/test_query_manager.py | liangmuxin/datamart | 495a21588db39c9ad239409208bec701dca07f30 | [
"MIT"
] | 7 | 2018-10-02T01:32:23.000Z | 2020-10-08T00:42:35.000Z | datamart/unit_tests/test_query_manager.py | liangmuxin/datamart | 495a21588db39c9ad239409208bec701dca07f30 | [
"MIT"
] | 47 | 2018-10-02T05:41:13.000Z | 2021-02-02T21:50:31.000Z | datamart/unit_tests/test_query_manager.py | liangmuxin/datamart | 495a21588db39c9ad239409208bec701dca07f30 | [
"MIT"
] | 19 | 2018-10-01T22:27:20.000Z | 2019-02-28T18:59:53.000Z | from datamart.utilities.utils import Utils
from datamart.es_managers.query_manager import QueryManager
import unittest, json
class TestQueryManager(unittest.TestCase):
@Utils.test_print
def test_match_some_terms_from_array(self):
query = QueryManager.match_some_terms_from_variables_array(terms=["los ... | 39.029762 | 110 | 0.31127 | 729 | 13,114 | 5.331962 | 0.14952 | 0.059429 | 0.087471 | 0.07718 | 0.823257 | 0.823257 | 0.745562 | 0.701827 | 0.701827 | 0.674042 | 0 | 0.021427 | 0.580067 | 13,114 | 335 | 111 | 39.146269 | 0.684402 | 0 | 0 | 0.412903 | 0 | 0 | 0.187205 | 0.042169 | 0 | 0 | 0 | 0 | 0.035484 | 1 | 0.035484 | false | 0 | 0.009677 | 0 | 0.048387 | 0.035484 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
83ef0688d1103ebb40e94d2f009a06fcfa3ed530 | 87 | py | Python | ppo/baselines/bench/__init__.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | null | null | null | ppo/baselines/bench/__init__.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | null | null | null | ppo/baselines/bench/__init__.py | LoopTilingBenchmark/benchmark | 52a3d2e70216552a498fd91de02a2fa9cb62122c | [
"BSD-2-Clause"
] | 1 | 2019-10-25T21:51:12.000Z | 2019-10-25T21:51:12.000Z | from ppo.baselines.bench.benchmarks import *
from ppo.baselines.bench.monitor import *
| 29 | 44 | 0.816092 | 12 | 87 | 5.916667 | 0.583333 | 0.197183 | 0.450704 | 0.591549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 2 | 45 | 43.5 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 7 |
f7ad86d84a5bc5abd247ac2f96d60a3630bc9ef7 | 4,567 | py | Python | test/tripal_v3/analysis_test.py | mboudet/python-tripal | c1d0128b16b7c0d3794e217993b053bf0fb64a71 | [
"MIT"
] | 3 | 2017-09-08T15:16:07.000Z | 2019-07-18T12:00:18.000Z | test/tripal_v3/analysis_test.py | abretaud/python-tripal | 9988f5a648a40be21d2ae553b2eda91c15fa881e | [
"MIT"
] | 9 | 2018-04-21T14:33:50.000Z | 2019-02-08T09:59:32.000Z | test/tripal_v3/analysis_test.py | abretaud/python-tripal | 9988f5a648a40be21d2ae553b2eda91c15fa881e | [
"MIT"
] | 2 | 2018-09-04T13:00:40.000Z | 2018-12-04T14:59:33.000Z | import unittest
from nose.tools import raises
from . import ci
from . import ti
class AnalysisTest(unittest.TestCase):
def test_add_analysis(self):
name = "analysis x"
program = "Magic"
programversion = "1.0"
algorithm = "mind"
sourcename = "src"
sourceversion =... | 39.37069 | 250 | 0.649661 | 513 | 4,567 | 5.707602 | 0.165692 | 0.122951 | 0.129098 | 0.165984 | 0.80123 | 0.785519 | 0.763661 | 0.752049 | 0.752049 | 0.752049 | 0 | 0.016087 | 0.237793 | 4,567 | 115 | 251 | 39.713043 | 0.82505 | 0.014452 | 0 | 0.646341 | 0 | 0 | 0.293241 | 0 | 0 | 0 | 0 | 0.008696 | 0.317073 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.109756 | 0.012195 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
79046e9ef7bef36d5dc67989725dd7e5a8af1cb7 | 42,375 | py | Python | tests/integration/test_fscmds.py | mensago/mensagod | 3b62e4038691ee3c9db618b024edf62467d402f5 | [
"MIT"
] | null | null | null | tests/integration/test_fscmds.py | mensago/mensagod | 3b62e4038691ee3c9db618b024edf62467d402f5 | [
"MIT"
] | null | null | null | tests/integration/test_fscmds.py | mensago/mensagod | 3b62e4038691ee3c9db618b024edf62467d402f5 | [
"MIT"
] | 1 | 2021-03-06T18:46:48.000Z | 2021-03-06T18:46:48.000Z | # pylint: disable=too-many-lines
import os
import random
import shutil
import time
import uuid
from retval import RetVal
from pycryptostring import CryptoString
from pymensago.encryption import EncryptionPair
from pymensago.hash import blake2hash
from pymensago.serverconn import ServerConnection
from integration_set... | 29.59148 | 99 | 0.693192 | 5,627 | 42,375 | 5.110894 | 0.078728 | 0.023923 | 0.038944 | 0.055078 | 0.864877 | 0.845127 | 0.834382 | 0.818144 | 0.805974 | 0.79203 | 0 | 0.09675 | 0.146053 | 42,375 | 1,431 | 100 | 29.612159 | 0.698005 | 0.105841 | 0 | 0.727919 | 0 | 0.029442 | 0.430259 | 0.17631 | 0 | 0 | 0 | 0 | 0.108629 | 1 | 0.015228 | false | 0 | 0.012183 | 0 | 0.030457 | 0.001015 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
790d2b638700d84286592446f58d247ce9a6ad3d | 1,369 | py | Python | test/experiments/bench.py | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 977 | 2016-09-27T12:54:24.000Z | 2022-03-29T08:08:47.000Z | test/experiments/bench.py | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 2,265 | 2016-09-27T13:01:26.000Z | 2022-03-31T17:55:37.000Z | test/experiments/bench.py | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | 154 | 2016-09-27T14:02:56.000Z | 2022-03-27T14:51:00.000Z | import subprocess
subprocess.call(["/usr/bin/python", "innotest.py"])
print "1-0"
subprocess.call(["/usr/bin/time","-v","-otiming", "./innotest", "0", "1", "0"])
print "4-0"
subprocess.call(["/usr/bin/time","-v","-otiming","--append","./innotest", "0", "4", "0"])
print "8-0"
subprocess.call(["/usr/bin/tim... | 44.16129 | 95 | 0.569759 | 188 | 1,369 | 4.148936 | 0.117021 | 0.233333 | 0.283333 | 0.333333 | 0.762821 | 0.762821 | 0.762821 | 0.762821 | 0.720513 | 0.720513 | 0 | 0.089835 | 0.073046 | 1,369 | 30 | 96 | 45.633333 | 0.524823 | 0 | 0 | 0 | 0 | 0 | 0.470416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.038462 | null | null | 0.461538 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
791fa3bb7ca72192db00e30f43e75378f92ae4ee | 1,184 | py | Python | Unidad_02/Uni2_lab_09_listas.py | Fundamentos-de-Informatica-Python/fund-info-py | 60c64f1ae29b833abc5a395361814c15472c0c11 | [
"Apache-2.0"
] | 1 | 2022-03-31T12:45:42.000Z | 2022-03-31T12:45:42.000Z | Unidad_02/Uni2_lab_09_listas.py | Fundamentos-de-Informatica-Python/fund-info-py | 60c64f1ae29b833abc5a395361814c15472c0c11 | [
"Apache-2.0"
] | 1 | 2022-03-21T02:22:30.000Z | 2022-03-21T02:22:30.000Z | Unidad_02/Uni2_lab_09_listas.py | Fundamentos-de-Informatica-Python/fund-info-py | 60c64f1ae29b833abc5a395361814c15472c0c11 | [
"Apache-2.0"
] | null | null | null | # Listas - Funciones Sobre Listas [Diapo 34 - Diapo 35]
print('\n\n---[Diapo 34]--------------')
print('Funciones Sobre listas - Incorporar sublista\n')
lista = [5, 10, 20, 30]
print('La lista inicial es: ', lista)
lista = lista + [35, 40]
print('Y luego del cambio es: ', lista)
print('\n\n---[Diapo 34]----------... | 22.339623 | 55 | 0.596284 | 180 | 1,184 | 3.922222 | 0.194444 | 0.109065 | 0.101983 | 0.11898 | 0.845609 | 0.845609 | 0.845609 | 0.769122 | 0.769122 | 0.769122 | 0 | 0.060606 | 0.163851 | 1,184 | 52 | 56 | 22.769231 | 0.652525 | 0.044764 | 0 | 0.65625 | 0 | 0 | 0.531444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.65625 | 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 | 1 | 0 | 7 |
7930f7a5d8067dbbd7ba2e1aa66fdab8497e7911 | 4,864 | py | Python | test_kwextract/test_ll.py | JaBorst/kwextract | 25b860995792447f7d3d19d64abe31cc2ec86ce6 | [
"MIT"
] | null | null | null | test_kwextract/test_ll.py | JaBorst/kwextract | 25b860995792447f7d3d19d64abe31cc2ec86ce6 | [
"MIT"
] | null | null | null | test_kwextract/test_ll.py | JaBorst/kwextract | 25b860995792447f7d3d19d64abe31cc2ec86ce6 | [
"MIT"
] | null | null | null | from kwextract import LLH
def test_llh_list():
texts = [
"Albert Einstein (* 14. März 1879 in Ulm; † 18. April 1955 in Princeton, New Jersey) war ein gebürtiger deutscher Physiker mit Schweizer und US-amerikanischer Staatsbürgerschaft. Er gilt als einer der bedeutendsten theoretischen Physiker der Wissensc... | 128 | 482 | 0.767887 | 682 | 4,864 | 5.491202 | 0.266862 | 0.014419 | 0.017624 | 0.016021 | 0.958611 | 0.951669 | 0.94259 | 0.915354 | 0.915354 | 0.915354 | 0 | 0.045477 | 0.168174 | 4,864 | 37 | 483 | 131.459459 | 0.875433 | 0 | 0 | 0.448276 | 0 | 0.37931 | 0.847039 | 0.014186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0.068966 | 0.068966 | 0 | 0.172414 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.