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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c151f6f83ab052a3d6e0365858828fe281e245f | 54,958 | py | Python | src/fake_bpy_module/analyzer.py | kant/fake-bpy-module | 9de0e4cce17ee7e7c50fa2a3189584dd4b2bc897 | [
"MIT"
] | null | null | null | src/fake_bpy_module/analyzer.py | kant/fake-bpy-module | 9de0e4cce17ee7e7c50fa2a3189584dd4b2bc897 | [
"MIT"
] | null | null | null | src/fake_bpy_module/analyzer.py | kant/fake-bpy-module | 9de0e4cce17ee7e7c50fa2a3189584dd4b2bc897 | [
"MIT"
] | null | null | null | import re
from typing import List, IO, Any
import json
from .common import (
IntermidiateDataType,
ParameterDetailInfo,
ReturnInfo,
VariableInfo,
FunctionInfo,
ClassInfo,
SectionInfo,
)
from .utils import (
output_log,
LOG_LEVEL_NOTICE,
LOG_LEVEL_WARN,
)
class AnalysisResult:
... | 47.174249 | 176 | 0.508188 | 6,405 | 54,958 | 4.143169 | 0.039969 | 0.016656 | 0.040396 | 0.037306 | 0.821909 | 0.790142 | 0.770208 | 0.747975 | 0.731469 | 0.727324 | 0 | 0.003521 | 0.348812 | 54,958 | 1,164 | 177 | 47.214777 | 0.737985 | 0.017122 | 0 | 0.656436 | 0 | 0.090099 | 0.092739 | 0.020282 | 0 | 0 | 0 | 0.000859 | 0 | 1 | 0.043564 | false | 0.015842 | 0.004951 | 0.00495 | 0.127723 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c1bf6f6a397df7dd76ba2f44473b3ebd793f898 | 29 | py | Python | examples/int.py | mifieldxu/pseudo-lang | 889477c094236dc36526984be6f6537a4875e5a9 | [
"MIT"
] | 661 | 2016-03-12T07:32:36.000Z | 2018-11-12T14:31:30.000Z | examples/int.py | mifieldxu/pseudo-lang | 889477c094236dc36526984be6f6537a4875e5a9 | [
"MIT"
] | 21 | 2016-03-07T03:49:17.000Z | 2018-11-05T08:30:42.000Z | examples/int.py | mifieldxu/pseudo-lang | 889477c094236dc36526984be6f6537a4875e5a9 | [
"MIT"
] | 45 | 2016-03-07T03:48:09.000Z | 2018-04-16T20:55:47.000Z | def s(e):
return 2
s(2)
| 5.8 | 12 | 0.482759 | 7 | 29 | 2 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.344828 | 29 | 4 | 13 | 7.25 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d5bd2b771ad93f9b25f2900785d758c297504452 | 6,045 | py | Python | tests/fields/test_int.py | blazing-gig/tortoise-orm | 811bbcb12c702c5f45e3d86ce6e0b2ab386459df | [
"Apache-2.0"
] | 2,847 | 2018-08-27T12:02:21.000Z | 2022-03-31T01:30:40.000Z | tests/fields/test_int.py | blazing-gig/tortoise-orm | 811bbcb12c702c5f45e3d86ce6e0b2ab386459df | [
"Apache-2.0"
] | 983 | 2018-08-24T16:42:41.000Z | 2022-03-30T05:14:49.000Z | tests/fields/test_int.py | blazing-gig/tortoise-orm | 811bbcb12c702c5f45e3d86ce6e0b2ab386459df | [
"Apache-2.0"
] | 323 | 2018-09-04T23:38:42.000Z | 2022-03-31T06:49:17.000Z | from tests import testmodels
from tortoise.contrib import test
from tortoise.exceptions import IntegrityError
from tortoise.expressions import F
class TestIntFields(test.TestCase):
async def test_empty(self):
with self.assertRaises(IntegrityError):
await testmodels.IntFields.create()
asyn... | 40.844595 | 95 | 0.688172 | 729 | 6,045 | 5.655693 | 0.082305 | 0.170992 | 0.044628 | 0.100412 | 0.87218 | 0.865147 | 0.85302 | 0.78341 | 0.739753 | 0.65268 | 0 | 0.05249 | 0.202647 | 6,045 | 147 | 96 | 41.122449 | 0.802905 | 0 | 0 | 0.625 | 0 | 0 | 0.01555 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.058333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5cf753be8bbb5113f7aeab0979a70f86b1dd392 | 46 | py | Python | build/lib/DjangoTemplateConverter/__init__.py | iamaksingh11/DjangoTemplateConverter | 937372b4b1c80a14b0c403693339594d81cbfbae | [
"MIT"
] | null | null | null | build/lib/DjangoTemplateConverter/__init__.py | iamaksingh11/DjangoTemplateConverter | 937372b4b1c80a14b0c403693339594d81cbfbae | [
"MIT"
] | null | null | null | build/lib/DjangoTemplateConverter/__init__.py | iamaksingh11/DjangoTemplateConverter | 937372b4b1c80a14b0c403693339594d81cbfbae | [
"MIT"
] | null | null | null | from DjangoTemplateConverter.start import main | 46 | 46 | 0.913043 | 5 | 46 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d5e3e15960136c3f80056aa5ed939738ce23329e | 9,108 | py | Python | thenewboston_node/business_logic/tests/test_blockchain/test_nodes.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/tests/test_blockchain/test_nodes.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | null | null | null | thenewboston_node/business_logic/tests/test_blockchain/test_nodes.py | nishp77/thenewboston-node | 158b1f1739b2c6c9c21c80e9da854ca141f1cf8f | [
"MIT"
] | null | null | null | import pytest
from thenewboston_node.business_logic.blockchain.base import BlockchainBase
from thenewboston_node.business_logic.models import Block, NodeDeclarationSignedChangeRequest
from thenewboston_node.core.utils.cryptography import generate_key_pair
@pytest.mark.parametrize('blockchain_argument_name', ('memory... | 50.043956 | 117 | 0.78206 | 1,078 | 9,108 | 6.252319 | 0.09462 | 0.037092 | 0.050445 | 0.04451 | 0.867507 | 0.839614 | 0.815134 | 0.759347 | 0.759347 | 0.714837 | 0 | 0.0195 | 0.121651 | 9,108 | 181 | 118 | 50.320442 | 0.823 | 0.013724 | 0 | 0.482517 | 0 | 0 | 0.08246 | 0.013372 | 0 | 0 | 0 | 0.005525 | 0.188811 | 1 | 0.034965 | false | 0 | 0.027972 | 0 | 0.062937 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5ff3ac27c332a8ec0c5df4521488fe3bfe6c40d | 42,300 | py | Python | Packs/SailPointIdentityIQ/Integrations/SailPointIdentityIQ/SailPointIdentityIQ_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 2 | 2019-05-31T10:56:27.000Z | 2020-08-14T19:48:06.000Z | Packs/SailPointIdentityIQ/Integrations/SailPointIdentityIQ/SailPointIdentityIQ_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 48 | 2022-03-08T13:45:00.000Z | 2022-03-31T14:32:05.000Z | Packs/SailPointIdentityIQ/Integrations/SailPointIdentityIQ/SailPointIdentityIQ_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 2 | 2019-08-29T10:20:55.000Z | 2019-09-01T12:16:09.000Z | from CommonServerPython import *
import json
import io
import pytest
from unittest import mock
from unittest.mock import patch
import SailPointIdentityIQ
''' TEST CONSTANTS '''
MOCK_IDENTITYIQ_BASE_URL = 'https://identityiq-server.com/identityiq'
MOCK_BEARER_TOKEN = 'RXAxTEQ0ZkhUVm94dmhIWDd1M2Q0TjU3NDRnQUYzN2ouZXVlV... | 44.526316 | 120 | 0.773546 | 5,296 | 42,300 | 5.838557 | 0.053059 | 0.035704 | 0.025226 | 0.033117 | 0.854565 | 0.805504 | 0.7394 | 0.727984 | 0.711232 | 0.661686 | 0 | 0.047682 | 0.12591 | 42,300 | 949 | 121 | 44.573235 | 0.788608 | 0.017045 | 0 | 0.501429 | 0 | 0.001429 | 0.223447 | 0.154003 | 0 | 0 | 0 | 0 | 0.281429 | 1 | 0.138571 | false | 0 | 0.01 | 0 | 0.151429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
912f1f1b85aa76b42bd1dd9f2cab13735fb3e0d7 | 6,317 | py | Python | src/post-process-costs.py | wogandavid/KEMGCC | b5e1c887c311beb6b7ac3eb6986a885991f6daa4 | [
"MIT"
] | null | null | null | src/post-process-costs.py | wogandavid/KEMGCC | b5e1c887c311beb6b7ac3eb6986a885991f6daa4 | [
"MIT"
] | 1 | 2021-05-18T08:30:06.000Z | 2021-05-18T08:30:06.000Z | src/post-process-costs.py | wogandavid/KEMGCC | b5e1c887c311beb6b7ac3eb6986a885991f6daa4 | [
"MIT"
] | null | null | null | import numpy as np
import gdxpds
import pandas as pd
#files = [
# '../results/Sensitivities/CO2/costs/results_cost_calcs_B30.gdx',
# '../results/Sensitivities/CO2/costs/results_cost_calcs_D30.gdx',
# '../results/Sensitivities/CO2/costs/results_cost_calcs_F30.gdx',
# '../results/Sensitivities/CO2/costs/resu... | 45.446043 | 92 | 0.714896 | 783 | 6,317 | 5.45083 | 0.186462 | 0.164948 | 0.239925 | 0.185567 | 0.718369 | 0.718369 | 0.708529 | 0.329194 | 0.206186 | 0.11059 | 0 | 0.028091 | 0.115245 | 6,317 | 139 | 93 | 45.446043 | 0.735552 | 0.352541 | 0 | 0 | 0 | 0 | 0.60746 | 0.530138 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034483 | 0 | 0.034483 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e67f6841169f206a30421d11205174a2d3e7587f | 16,605 | py | Python | src/neos/makers.py | gradhep/neos | 24943f58e7e644146576a6afc16c63e5c48ab7d3 | [
"Apache-2.0"
] | 14 | 2020-11-15T09:35:39.000Z | 2022-03-15T00:19:36.000Z | src/neos/makers.py | gradhep/neos | 24943f58e7e644146576a6afc16c63e5c48ab7d3 | [
"Apache-2.0"
] | 8 | 2020-11-10T13:34:43.000Z | 2021-09-13T16:13:56.000Z | src/neos/makers.py | gradhep/neos | 24943f58e7e644146576a6afc16c63e5c48ab7d3 | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/02_makers.ipynb (unless otherwise specified).
__all__ = (
"hists_from_nn",
"hepdata_like_from_hists",
"histosys_model_from_hists",
)
# Cell
import sys
from unittest.mock import patch
# Cell
import jax
import jax.numpy as jnp
import pyhf
from relaxed import... | 38.978873 | 93 | 0.513701 | 1,764 | 16,605 | 4.722789 | 0.166667 | 0.007202 | 0.020166 | 0.018005 | 0.795223 | 0.774457 | 0.74937 | 0.740007 | 0.728964 | 0.726563 | 0 | 0.005306 | 0.421138 | 16,605 | 425 | 94 | 39.070588 | 0.861423 | 0.399518 | 0 | 0.473684 | 1 | 0 | 0.097486 | 0.0287 | 0 | 0 | 0 | 0 | 0.013158 | 1 | 0.04386 | false | 0 | 0.030702 | 0 | 0.118421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6a26f04964de5c7ca311f0cdf8ef63785dc9110 | 24,266 | py | Python | ccdproc/tests/test_combiner.py | simontorres/ccdproc | 2da2c469a1e4c4ddd165d73c0f2cd11f3e63fed3 | [
"BSD-3-Clause"
] | null | null | null | ccdproc/tests/test_combiner.py | simontorres/ccdproc | 2da2c469a1e4c4ddd165d73c0f2cd11f3e63fed3 | [
"BSD-3-Clause"
] | null | null | null | ccdproc/tests/test_combiner.py | simontorres/ccdproc | 2da2c469a1e4c4ddd165d73c0f2cd11f3e63fed3 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
import numpy as np
import astropy.units as u
from astropy.stats import median_absolute_deviation as mad
import pytest
from astropy.utils.data import get_pkg_data_filename
from astropy.nddata import CCDData
from ..combiner import Combiner, combine
#te... | 38.334913 | 91 | 0.648562 | 3,731 | 24,266 | 4.055213 | 0.076387 | 0.048579 | 0.032783 | 0.024719 | 0.815664 | 0.794712 | 0.765235 | 0.742697 | 0.721018 | 0.712029 | 0 | 0.04976 | 0.218207 | 24,266 | 632 | 92 | 38.39557 | 0.747773 | 0.164634 | 0 | 0.642697 | 0 | 0 | 0.014883 | 0 | 0 | 0 | 0 | 0 | 0.177528 | 1 | 0.098876 | false | 0 | 0.017978 | 0 | 0.116854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6c711623b94dfa8fd9410e28f27f45514bc5123 | 57,573 | py | Python | tests/test_httpx_async.py | jakul/pytest_httpx | 7a869302ad3332a2d57e09fc05d01b07dfc3406b | [
"MIT"
] | null | null | null | tests/test_httpx_async.py | jakul/pytest_httpx | 7a869302ad3332a2d57e09fc05d01b07dfc3406b | [
"MIT"
] | null | null | null | tests/test_httpx_async.py | jakul/pytest_httpx | 7a869302ad3332a2d57e09fc05d01b07dfc3406b | [
"MIT"
] | null | null | null | import re
import httpx
import pytest
from pytest import Testdir
import pytest_httpx
from pytest_httpx import HTTPXMock
@pytest.mark.asyncio
async def test_without_response(httpx_mock: HTTPXMock) -> None:
with pytest.raises(Exception) as exception_info:
async with httpx.AsyncClient() as client:
... | 38.587802 | 204 | 0.657704 | 7,562 | 57,573 | 4.814599 | 0.028564 | 0.049797 | 0.072512 | 0.052736 | 0.95707 | 0.944902 | 0.935261 | 0.923396 | 0.902796 | 0.889997 | 0 | 0.008139 | 0.212478 | 57,573 | 1,491 | 205 | 38.613682 | 0.794861 | 0.034964 | 0 | 0.659051 | 0 | 0.031634 | 0.273 | 0.034887 | 0 | 0 | 0 | 0 | 0.154657 | 1 | 0.007909 | false | 0.00703 | 0.005272 | 0.006151 | 0.019332 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6cbb7abfa5d5dc3fd42e2830e169221b895714d | 570 | py | Python | cosmogrb/instruments/gbm/__init__.py | grburgess/cosmogrb | 55182f2223a329f598bcbc43448f3b0ae9f45448 | [
"BSD-2-Clause"
] | 3 | 2020-03-08T18:20:32.000Z | 2022-03-10T17:27:26.000Z | cosmogrb/instruments/gbm/__init__.py | grburgess/cosmogrb | 55182f2223a329f598bcbc43448f3b0ae9f45448 | [
"BSD-2-Clause"
] | 11 | 2020-03-04T17:21:15.000Z | 2020-06-09T12:20:00.000Z | cosmogrb/instruments/gbm/__init__.py | grburgess/cosmogrb | 55182f2223a329f598bcbc43448f3b0ae9f45448 | [
"BSD-2-Clause"
] | 5 | 2020-03-18T18:05:05.000Z | 2022-03-21T16:06:38.000Z | from cosmogrb.instruments.gbm.gbm_grb import GBMGRB, GBMGRB_CPL, GBMGRB_CPL_Constant
from cosmogrb.instruments.gbm.gbm_lightcurve import GBMLightCurve
from cosmogrb.instruments.gbm.gbm_response import GBMResponse, BGOResponse, NaIResponse
from cosmogrb.instruments.gbm.gbm_background import GBMBackground
from cosmogrb.i... | 57 | 93 | 0.877193 | 73 | 570 | 6.561644 | 0.315068 | 0.175365 | 0.336117 | 0.379958 | 0.465553 | 0.162839 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 570 | 9 | 94 | 63.333333 | 0.900376 | 0.042105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6cc2601605d17f244ac09a0781294e744fb13fb | 19,875 | py | Python | embodied_arch/embodied_indep.py | oosoba/rl-policy-abms | d1de92cc6aee5ce1eeaa6d3b6965d6d51d79125e | [
"MIT"
] | null | null | null | embodied_arch/embodied_indep.py | oosoba/rl-policy-abms | d1de92cc6aee5ce1eeaa6d3b6965d6d51d79125e | [
"MIT"
] | null | null | null | embodied_arch/embodied_indep.py | oosoba/rl-policy-abms | d1de92cc6aee5ce1eeaa6d3b6965d6d51d79125e | [
"MIT"
] | null | null | null | '''
init: May2019
Author: OO
Goals: RF+AC for indep multi-agents
Still in development:
- base class now encapsulated off in EmbodiedPopulation.py
- Next: CycLR + WoLF
Design Logic:
- All agents interact w/ a common env => single menv
- The shared env is a property of the agent popn => menv is a param
... | 45.376712 | 110 | 0.57605 | 2,400 | 19,875 | 4.525417 | 0.142083 | 0.032317 | 0.045116 | 0.041985 | 0.802965 | 0.791179 | 0.768253 | 0.760335 | 0.760335 | 0.749379 | 0 | 0.009148 | 0.312503 | 19,875 | 437 | 111 | 45.480549 | 0.785714 | 0.127547 | 0 | 0.662921 | 0 | 0 | 0.026079 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 1 | 0.036517 | false | 0 | 0.014045 | 0.008427 | 0.095506 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e6ccf1c642fcdad251404672641cf48d7e7e116d | 33 | py | Python | gino_factory/__init__.py | Basalex/gino_factory | ebcfe10bb78416664dc4b4b100f004c841abd2c4 | [
"MIT"
] | 9 | 2021-05-23T14:57:48.000Z | 2022-03-18T08:46:02.000Z | gino_factory/__init__.py | Basalex/gino_factory | ebcfe10bb78416664dc4b4b100f004c841abd2c4 | [
"MIT"
] | null | null | null | gino_factory/__init__.py | Basalex/gino_factory | ebcfe10bb78416664dc4b4b100f004c841abd2c4 | [
"MIT"
] | null | null | null | from .factory import GinoFactory
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6dfe141323d5bcede4e1cff961c6376ee2666ef | 40 | py | Python | spoopy/tools/file_utils/__init__.py | rodrigobressan/PADify | 362db2b3a33793ac53f938e89f90a6ecdf778e89 | [
"MIT"
] | 12 | 2019-11-26T07:44:08.000Z | 2021-03-03T09:51:43.000Z | spoopy/tools/file_utils/__init__.py | rodrigobressan/PADify | 362db2b3a33793ac53f938e89f90a6ecdf778e89 | [
"MIT"
] | 13 | 2020-01-28T22:09:41.000Z | 2022-03-11T23:43:37.000Z | spoopy/tools/file_utils/__init__.py | rodrigobressan/PADify | 362db2b3a33793ac53f938e89f90a6ecdf778e89 | [
"MIT"
] | 5 | 2020-01-02T09:52:42.000Z | 2022-02-21T15:45:23.000Z | from tools.file_utils import file_helper | 40 | 40 | 0.9 | 7 | 40 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6e0b159ab9957186b4ddfba939b660c60b44ed4 | 983 | py | Python | docs/source/examples/FB2.2/get_object_store_access_policies_rules.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 14 | 2018-12-07T18:30:27.000Z | 2022-02-22T09:12:33.000Z | docs/source/examples/FB2.2/get_object_store_access_policies_rules.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 28 | 2019-09-17T21:03:52.000Z | 2022-03-29T22:07:35.000Z | docs/source/examples/FB2.2/get_object_store_access_policies_rules.py | Flav-STOR-WL/py-pure-client | 03b889c997d90380ac5d6380ca5d5432792d3e89 | [
"BSD-2-Clause"
] | 15 | 2020-06-11T15:50:08.000Z | 2022-03-21T09:27:25.000Z | # list all object store access policy rules
res = client.get_object_store_access_policies_rules()
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list rules for specific policy
res = client.get_object_store_access_policies_rules(policy_names=["pure:policy/full-access"])
pri... | 42.73913 | 111 | 0.785351 | 138 | 983 | 5.42029 | 0.333333 | 0.073529 | 0.113636 | 0.096257 | 0.754011 | 0.754011 | 0.754011 | 0.754011 | 0.697861 | 0.63369 | 0 | 0.030405 | 0.096643 | 983 | 22 | 112 | 44.681818 | 0.811937 | 0.241099 | 0 | 0.75 | 0 | 0 | 0.11908 | 0.110961 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e6eaa3dcdb40fcdae03a7e1e13ef2dc91b65b99e | 38,797 | py | Python | test/configs/__init__.py | rgammans/nativeconfig | f8a6b0c541d8c288b4577209336c03a328fe841f | [
"MIT"
] | 6 | 2015-07-07T13:06:54.000Z | 2021-01-01T07:25:44.000Z | test/configs/__init__.py | rgammans/nativeconfig | f8a6b0c541d8c288b4577209336c03a328fe841f | [
"MIT"
] | 16 | 2016-12-23T00:50:55.000Z | 2021-07-13T19:45:36.000Z | test/configs/__init__.py | rgammans/nativeconfig | f8a6b0c541d8c288b4577209336c03a328fe841f | [
"MIT"
] | 4 | 2015-04-29T19:52:21.000Z | 2020-05-27T10:59:51.000Z | from abc import ABC, abstractmethod
import json
import os
from unittest.mock import MagicMock
from nativeconfig.options import StringOption, IntOption, ArrayOption, DictOption, ValueSource
from nativeconfig.exceptions import DeserializationError, ValidationError
class ConfigMixin(ABC):
CONFIG_TYPE = None
de... | 39.669734 | 122 | 0.675207 | 4,844 | 38,797 | 5.043765 | 0.044591 | 0.046046 | 0.056156 | 0.080018 | 0.88732 | 0.851343 | 0.814178 | 0.795882 | 0.773453 | 0.712631 | 0 | 0.008168 | 0.211047 | 38,797 | 977 | 123 | 39.710338 | 0.790029 | 0 | 0 | 0.6375 | 0 | 0 | 0.081759 | 0 | 0 | 0 | 0 | 0 | 0.198611 | 1 | 0.133333 | false | 0.004167 | 0.008333 | 0.001389 | 0.288889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc8761b98f76d8a0ad0a0a92c9197cf27f7cf405 | 105 | py | Python | test/conftest.py | RZiane/pympi | c17292c21dacb747a20fc1069450792b52c8a6f8 | [
"MIT"
] | 70 | 2015-03-05T21:29:45.000Z | 2022-03-18T15:53:44.000Z | test/conftest.py | RZiane/pympi | c17292c21dacb747a20fc1069450792b52c8a6f8 | [
"MIT"
] | 41 | 2015-07-17T15:05:32.000Z | 2022-03-03T05:04:04.000Z | test/conftest.py | RZiane/pympi | c17292c21dacb747a20fc1069450792b52c8a6f8 | [
"MIT"
] | 27 | 2015-03-06T22:51:44.000Z | 2022-02-08T15:47:54.000Z | import pathlib
import pytest
@pytest.fixture
def test_dir():
return pathlib.Path(__file__).parent
| 11.666667 | 40 | 0.761905 | 14 | 105 | 5.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152381 | 105 | 8 | 41 | 13.125 | 0.842697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5dc92805bb911674a8d0bc0a51fa724becd5a852 | 23,449 | py | Python | infoblox_netmri/api/broker/v2_2_0/config_template_broker.py | NastyaArslanova/infoblox-netmri | 399d904399ba7958262c6f107fa3b0efdd55019b | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v2_2_0/config_template_broker.py | NastyaArslanova/infoblox-netmri | 399d904399ba7958262c6f107fa3b0efdd55019b | [
"Apache-2.0"
] | null | null | null | infoblox_netmri/api/broker/v2_2_0/config_template_broker.py | NastyaArslanova/infoblox-netmri | 399d904399ba7958262c6f107fa3b0efdd55019b | [
"Apache-2.0"
] | null | null | null | from ..broker import Broker
class ConfigTemplateBroker(Broker):
controller = "config_templates"
def index(self, **kwargs):
"""Lists the available config templates. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ways to query lists, using this ... | 35.368024 | 350 | 0.529319 | 2,490 | 23,449 | 4.934538 | 0.10241 | 0.109058 | 0.070888 | 0.089932 | 0.764955 | 0.749166 | 0.746073 | 0.7324 | 0.729063 | 0.715553 | 0 | 0.003643 | 0.367905 | 23,449 | 662 | 351 | 35.42145 | 0.825327 | 0.711971 | 0 | 0 | 0 | 0 | 0.06456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.44 | false | 0 | 0.12 | 0 | 1.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8f3f9dc8a94d4c7e8a13487f345dfd4158b0d18 | 40 | py | Python | funcoes.py | wedsonchaves/exercicicos | 4240fed6189dd69103676c80543bb27fff504be4 | [
"Apache-2.0"
] | null | null | null | funcoes.py | wedsonchaves/exercicicos | 4240fed6189dd69103676c80543bb27fff504be4 | [
"Apache-2.0"
] | null | null | null | funcoes.py | wedsonchaves/exercicicos | 4240fed6189dd69103676c80543bb27fff504be4 | [
"Apache-2.0"
] | null | null | null | def aoQuadrado (num):
return num**4
| 13.333333 | 21 | 0.65 | 6 | 40 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.225 | 40 | 2 | 22 | 20 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f8fd6ada07498149b5c6c3ea611d0bad0cc368fe | 6,549 | py | Python | jacobi.py | u-t-k-a-n/sayisalanaliz | 2a85b9e42b4de74bf1c174dca684aae496d66dc4 | [
"MIT"
] | null | null | null | jacobi.py | u-t-k-a-n/sayisalanaliz | 2a85b9e42b4de74bf1c174dca684aae496d66dc4 | [
"MIT"
] | null | null | null | jacobi.py | u-t-k-a-n/sayisalanaliz | 2a85b9e42b4de74bf1c174dca684aae496d66dc4 | [
"MIT"
] | null | null | null | fonksiyonlar={}
while True:
try:
max_derece=int(input("Lütfen h(x) fonksiyonunun en büyük derecesini giriniz:"))
break
except:
print("Lütfen bir tam sayı giriniz.")
fonksiyonlar["fonksiyon_h"]=[]
for i in range(max_derece,-1,-1):
while True:
try:
x = float(input("... | 42.251613 | 139 | 0.61811 | 813 | 6,549 | 4.821648 | 0.105781 | 0.055102 | 0.042857 | 0.072959 | 0.804847 | 0.78699 | 0.757143 | 0.738776 | 0.704592 | 0.657143 | 0 | 0.006881 | 0.245534 | 6,549 | 154 | 140 | 42.525974 | 0.78648 | 0 | 0 | 0.673203 | 0 | 0 | 0.246335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013072 | false | 0 | 0 | 0 | 0.026144 | 0.104575 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d119888336b71534752af62a523bb318fa2e2e6 | 278 | py | Python | interface/cffi/_cffi_ABI_outbound_generated.py | techtonik/discovery | 8017917487fa78c7defa76610100fc4170680f0f | [
"Unlicense"
] | 1 | 2019-03-26T09:00:07.000Z | 2019-03-26T09:00:07.000Z | interface/cffi/_cffi_ABI_outbound_generated.py | techtonik/discovery | 8017917487fa78c7defa76610100fc4170680f0f | [
"Unlicense"
] | null | null | null | interface/cffi/_cffi_ABI_outbound_generated.py | techtonik/discovery | 8017917487fa78c7defa76610100fc4170680f0f | [
"Unlicense"
] | null | null | null | # auto-generated file
import _cffi_backend
ffi = _cffi_backend.FFI('_cffi_ABI_outbound_generated',
_version = 0x2601,
_types = b'\x00\x00\x04\x0D\x00\x00\x03\x03\x00\x00\x01\x0F\x00\x00\x02\x01\x00\x00\x07\x01',
_globals = (b'\x00\x00\x00\x23printf',0,),
)
| 30.888889 | 98 | 0.690647 | 45 | 278 | 4.022222 | 0.533333 | 0.232044 | 0.154696 | 0.198895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217573 | 0.140288 | 278 | 8 | 99 | 34.75 | 0.539749 | 0.068345 | 0 | 0 | 1 | 0.166667 | 0.522088 | 0.522088 | 0 | 0 | 0.024096 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d2f676d455f502221cc0437f58bd62c4dff2c78 | 21 | py | Python | python_library/StarKiller/StarKiller/eos/__init__.py | yut23/Microphysics | 3c4985213c5e5b1ad2602b0bba2ce164b847361a | [
"BSD-3-Clause"
] | 16 | 2017-08-17T11:12:01.000Z | 2021-06-10T23:11:08.000Z | python_library/StarKiller/StarKiller/eos/__init__.py | Youhichka/Microphysics | 6f28333d40c9e15fdfbb1c4dc208e887fb5549c3 | [
"BSD-3-Clause"
] | 533 | 2017-06-08T13:52:11.000Z | 2022-01-28T16:13:29.000Z | python_library/StarKiller/StarKiller/eos/__init__.py | Youhichka/Microphysics | 6f28333d40c9e15fdfbb1c4dc208e887fb5549c3 | [
"BSD-3-Clause"
] | 34 | 2017-08-16T16:29:20.000Z | 2021-09-09T16:19:15.000Z | from .eos import Eos
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d439d265b5ba8300490e11b3b402adb7eff7f45 | 192 | py | Python | Exercicios/ex018.py | Dobravoski/Exercicios-Python | e7169e1ee6954a7bc9216063845611107a13759f | [
"MIT"
] | null | null | null | Exercicios/ex018.py | Dobravoski/Exercicios-Python | e7169e1ee6954a7bc9216063845611107a13759f | [
"MIT"
] | null | null | null | Exercicios/ex018.py | Dobravoski/Exercicios-Python | e7169e1ee6954a7bc9216063845611107a13759f | [
"MIT"
] | null | null | null | from math import cos, sin, tan, radians
n = float(input('Digite um ângulo: '))
print(f'O cosseno é {cos(radians(n)):.3f}, o seno é {sin(radians(n)):.3f} e a tangente é {tan(radians(n)):.3f}')
| 48 | 112 | 0.65625 | 37 | 192 | 3.405405 | 0.621622 | 0.253968 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.135417 | 192 | 3 | 113 | 64 | 0.740964 | 0 | 0 | 0 | 0 | 0.333333 | 0.625 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5d6cec844f2c29d5d83fa2207476247365167a01 | 6,730 | py | Python | tests/components/mailgun/test_init.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 6 | 2020-07-18T16:33:25.000Z | 2021-09-26T09:52:04.000Z | tests/components/mailgun/test_init.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 47 | 2020-07-23T07:13:11.000Z | 2022-03-31T06:01:46.000Z | tests/components/mailgun/test_init.py | klauern/home-assistant-core | c18ba6aec0627e6afb6442c678edb5ff2bb17db6 | [
"Apache-2.0"
] | 5 | 2020-03-29T00:29:13.000Z | 2021-09-06T20:58:40.000Z | """Test the init file of Mailgun."""
import hashlib
import hmac
import pytest
from homeassistant import data_entry_flow
from homeassistant.components import mailgun, webhook
from homeassistant.config import async_process_ha_core_config
from homeassistant.const import CONF_API_KEY, CONF_DOMAIN
from homeassistant.core ... | 31.895735 | 82 | 0.659584 | 808 | 6,730 | 5.20297 | 0.148515 | 0.045671 | 0.045671 | 0.034253 | 0.809943 | 0.785918 | 0.773311 | 0.753806 | 0.738107 | 0.738107 | 0 | 0.029519 | 0.224814 | 6,730 | 210 | 83 | 32.047619 | 0.776308 | 0.007727 | 0 | 0.644737 | 0 | 0 | 0.168287 | 0.070051 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.006579 | false | 0 | 0.059211 | 0 | 0.092105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d6d35fd531a2147535903c3df80e851556bad0e | 50 | py | Python | basic_functions_pckg/__init__.py | jochenruland/some_basic_functions | d946ec9747d59e64ab6118f38bbca43e32b9a2be | [
"MIT"
] | null | null | null | basic_functions_pckg/__init__.py | jochenruland/some_basic_functions | d946ec9747d59e64ab6118f38bbca43e32b9a2be | [
"MIT"
] | null | null | null | basic_functions_pckg/__init__.py | jochenruland/some_basic_functions | d946ec9747d59e64ab6118f38bbca43e32b9a2be | [
"MIT"
] | null | null | null | from .basic_functions_pckg import basic_functions
| 25 | 49 | 0.9 | 7 | 50 | 6 | 0.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d74582f1d78b53149d6c42235ed2e620a1cc8be | 51 | py | Python | django-rtk-green/django_rtk_green/utils/__init__.py | mnieber/django-graphql-registration | 20dc61e207f92dcbc88fb83707315e5b304238cd | [
"MIT"
] | null | null | null | django-rtk-green/django_rtk_green/utils/__init__.py | mnieber/django-graphql-registration | 20dc61e207f92dcbc88fb83707315e5b304238cd | [
"MIT"
] | null | null | null | django-rtk-green/django_rtk_green/utils/__init__.py | mnieber/django-graphql-registration | 20dc61e207f92dcbc88fb83707315e5b304238cd | [
"MIT"
] | null | null | null | from .create_user import create_user # noqa: F401
| 25.5 | 50 | 0.784314 | 8 | 51 | 4.75 | 0.75 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.156863 | 51 | 1 | 51 | 51 | 0.813953 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d757c2131ce17b480f03ed2229fdead16f03629 | 40 | py | Python | python/testData/refactoring/move/reformatFromImports/before/src/b.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/refactoring/move/reformatFromImports/before/src/b.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/move/reformatFromImports/before/src/b.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from lib import Class1
print(Class1())
| 10 | 22 | 0.75 | 6 | 40 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.15 | 40 | 3 | 23 | 13.333333 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
53c06e6be95a7ff3e7d32eccd4ee11e61c313a5d | 49,588 | py | Python | models/cdisn_models.py | akirato0223/CDISN | 792bc17aaa950aa473b4e8b70f6a4f5e96d6dbdd | [
"Apache-2.0"
] | null | null | null | models/cdisn_models.py | akirato0223/CDISN | 792bc17aaa950aa473b4e8b70f6a4f5e96d6dbdd | [
"Apache-2.0"
] | null | null | null | models/cdisn_models.py | akirato0223/CDISN | 792bc17aaa950aa473b4e8b70f6a4f5e96d6dbdd | [
"Apache-2.0"
] | null | null | null | # cdisn_models.py: a file defining classes and functions for CDISN Ensemble training
# SEE LICENSE STATEMENT AT THE END OF THE FILE
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
import pickle as pkl
class CDISNCompatibleStagerNet(nn.Module):
"""
In [25]: x_11chan_out ... | 44.876018 | 212 | 0.597019 | 6,179 | 49,588 | 4.532772 | 0.068134 | 0.071765 | 0.044773 | 0.026778 | 0.833512 | 0.806769 | 0.772958 | 0.752035 | 0.73147 | 0.694552 | 0 | 0.034949 | 0.292006 | 49,588 | 1,104 | 213 | 44.916667 | 0.762818 | 0.251069 | 0 | 0.64365 | 0 | 0 | 0.051456 | 0.010834 | 0 | 0 | 0 | 0 | 0.032059 | 1 | 0.033292 | false | 0.011097 | 0.006165 | 0.001233 | 0.086313 | 0.018496 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53e17d24e770bef709f599d76da5ed028980b150 | 31 | py | Python | version_writer.py | Nepmia/N4-Framework | 84d98f3fe05ca02f938332e5970bca5482ef8ce7 | [
"MIT"
] | null | null | null | version_writer.py | Nepmia/N4-Framework | 84d98f3fe05ca02f938332e5970bca5482ef8ce7 | [
"MIT"
] | null | null | null | version_writer.py | Nepmia/N4-Framework | 84d98f3fe05ca02f938332e5970bca5482ef8ce7 | [
"MIT"
] | null | null | null | from helpers import *
# WIP
| 5.166667 | 21 | 0.645161 | 4 | 31 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290323 | 31 | 5 | 22 | 6.2 | 0.909091 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
53f2451ff8ef5c4a26d304b82291bf4d63dbb055 | 18,249 | py | Python | util/data/gen/sechost.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/sechost.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | util/data/gen/sechost.dll.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | symbols = []
exports = [{'type': 'function', 'name': 'AuditComputeEffectivePolicyBySid', 'address': '0x7ffb3c57bd10'}, {'type': 'function', 'name': 'AuditEnumerateCategories', 'address': '0x7ffb3c5afdc0'}, {'type': 'function', 'name': 'AuditEnumeratePerUserPolicy', 'address': '0x7ffb3c5aff10'}, {'type': 'function', 'na... | 9,124.5 | 18,236 | 0.691764 | 1,315 | 18,249 | 9.587072 | 0.330798 | 0.2056 | 0.274133 | 0.022924 | 0.023638 | 0.006028 | 0 | 0 | 0 | 0 | 0 | 0.094224 | 0.071237 | 18,249 | 2 | 18,236 | 9,124.5 | 0.649596 | 0 | 0 | 0 | 0 | 0 | 0.690959 | 0.172658 | 0 | 0 | 0.165699 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99057e1994400afeb65942caf0e3d65fcc497f2e | 35 | py | Python | passenger_wsgi.py | vitwb/SysOcto | 37d9f0ab0750a7f9856bbc545e4416a1493c6a4e | [
"MIT"
] | null | null | null | passenger_wsgi.py | vitwb/SysOcto | 37d9f0ab0750a7f9856bbc545e4416a1493c6a4e | [
"MIT"
] | 1 | 2021-06-10T23:09:57.000Z | 2021-06-10T23:09:57.000Z | passenger_wsgi.py | vitwb/SysOcto | 37d9f0ab0750a7f9856bbc545e4416a1493c6a4e | [
"MIT"
] | null | null | null | from mysite.wsgi import application | 35 | 35 | 0.885714 | 5 | 35 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54cc9292f9e0795a7c1eba64299ea58c668ad3dc | 2,811 | py | Python | tests/integration/questionnaire/test_questionnaire_custom_page_titles.py | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | 3 | 2020-09-28T13:21:21.000Z | 2021-05-05T14:14:51.000Z | tests/integration/questionnaire/test_questionnaire_custom_page_titles.py | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | 402 | 2019-11-06T17:23:03.000Z | 2022-03-31T16:03:35.000Z | tests/integration/questionnaire/test_questionnaire_custom_page_titles.py | petechd/eq-questionnaire-runner | 1c5b182a7f8bc878cfdd767ae080410fa679abd6 | [
"MIT"
] | 10 | 2020-03-03T14:23:27.000Z | 2022-01-31T12:21:21.000Z | from . import QuestionnaireTestCase
class TestQuestionnaireCustomPageTitles(QuestionnaireTestCase):
def test_custom_page_titles(self):
self.launchSurvey("test_custom_page_titles")
self.post()
self.assertEqualPageTitle("Custom page title - Test Custom Page Titles")
self.post({"anyo... | 34.703704 | 87 | 0.613305 | 308 | 2,811 | 5.548701 | 0.168831 | 0.112346 | 0.147455 | 0.21065 | 0.909304 | 0.903452 | 0.83031 | 0.803394 | 0.731422 | 0.511995 | 0 | 0.007809 | 0.271078 | 2,811 | 80 | 88 | 35.1375 | 0.826257 | 0 | 0 | 0.52381 | 0 | 0 | 0.404127 | 0.016364 | 0 | 0 | 0 | 0 | 0.238095 | 1 | 0.031746 | false | 0 | 0.015873 | 0 | 0.063492 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54f0540265687cf10beefb22b6ed840f81138203 | 174 | py | Python | share/lib/python/neuron/neuroml/metadata.py | niltonlk/nrn | 464541abbf72fe58de77b16bf0e1df425a280b89 | [
"BSD-3-Clause"
] | 203 | 2018-05-03T11:02:11.000Z | 2022-03-31T14:18:31.000Z | share/lib/python/neuron/neuroml/metadata.py | niltonlk/nrn | 464541abbf72fe58de77b16bf0e1df425a280b89 | [
"BSD-3-Clause"
] | 1,228 | 2018-04-25T09:00:48.000Z | 2022-03-31T21:42:21.000Z | share/lib/python/neuron/neuroml/metadata.py | niltonlk/nrn | 464541abbf72fe58de77b16bf0e1df425a280b89 | [
"BSD-3-Clause"
] | 134 | 2018-04-23T09:14:13.000Z | 2022-03-16T08:57:11.000Z | def notes(self, node):
pass
def properties(self, node):
pass
def property(self, node):
pass
def tag(self, node):
pass
def value(self, node):
pass
| 9.157895 | 27 | 0.609195 | 25 | 174 | 4.24 | 0.36 | 0.377358 | 0.566038 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 174 | 18 | 28 | 9.666667 | 0.84127 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
070704fa2002e29067f0b6c99c371981b28ad96e | 308 | py | Python | python/pytest_example/test/eric_strings_test.py | holycrap872/til | 97f6b041dad03a2edffb804dc4db090b65b9154f | [
"MIT"
] | 8 | 2015-10-07T02:47:58.000Z | 2018-12-25T16:01:08.000Z | python/pytest_example/test/eric_strings_test.py | holycrap872/til | 97f6b041dad03a2edffb804dc4db090b65b9154f | [
"MIT"
] | null | null | null | python/pytest_example/test/eric_strings_test.py | holycrap872/til | 97f6b041dad03a2edffb804dc4db090b65b9154f | [
"MIT"
] | 1 | 2016-08-25T17:45:40.000Z | 2016-08-25T17:45:40.000Z | import pytest
from pytest_example.eric_strings import *
def test_stringify_array_1():
assert stringify_array(['hi', 'eric']) == "hi eric"
def test_stringify_array_2():
assert stringify_array(['hi']) == "hi"
def test_stringify_array_3():
assert stringify_array(["yes ", "mam"]) == "yes mam"
| 22 | 57 | 0.694805 | 42 | 308 | 4.761905 | 0.404762 | 0.42 | 0.24 | 0.315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.152597 | 308 | 13 | 58 | 23.692308 | 0.754789 | 0 | 0 | 0 | 0 | 0 | 0.104235 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
070d25a8cd90569c0e33657a0af0fb6f9cb3b45c | 202 | py | Python | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/subprocess_popen_preexec_fn.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/subprocess_popen_preexec_fn.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | vimfiles/bundle/vim-python/submodules/pylint/tests/functional/s/subprocess_popen_preexec_fn.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | # pylint: disable=disallowed-name,no-value-for-parameter,missing-docstring
import subprocess
def foo():
pass
subprocess.Popen(preexec_fn=foo) # [subprocess-popen-preexec-fn]
subprocess.Popen()
| 16.833333 | 74 | 0.767327 | 26 | 202 | 5.923077 | 0.692308 | 0.292208 | 0.285714 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10396 | 202 | 11 | 75 | 18.363636 | 0.850829 | 0.504951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
07254b87342dcf24db1915fcbc4ffe7e54cb2f17 | 35 | py | Python | bowtievisualization/__init__.py | GLopezMUZH/bowtievisualization | d5834f878e5900b4764a2b2963a481278dddec82 | [
"BSD-3-Clause"
] | null | null | null | bowtievisualization/__init__.py | GLopezMUZH/bowtievisualization | d5834f878e5900b4764a2b2963a481278dddec82 | [
"BSD-3-Clause"
] | null | null | null | bowtievisualization/__init__.py | GLopezMUZH/bowtievisualization | d5834f878e5900b4764a2b2963a481278dddec82 | [
"BSD-3-Clause"
] | null | null | null | from .bowTieVisualization import *
| 17.5 | 34 | 0.828571 | 3 | 35 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07495b7b1f451665d7d108ec0bd7069532464855 | 175 | py | Python | packages/pyright-internal/src/tests/samples/import12.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 4,391 | 2019-05-07T01:18:57.000Z | 2022-03-31T20:45:44.000Z | packages/pyright-internal/src/tests/samples/import12.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 2,740 | 2019-05-07T03:29:30.000Z | 2022-03-31T12:57:46.000Z | packages/pyright-internal/src/tests/samples/import12.py | sasano8/pyright | e804f324ee5dbd25fd37a258791b3fd944addecd | [
"MIT"
] | 455 | 2019-05-07T12:55:14.000Z | 2022-03-31T17:09:15.000Z | # This sample tests the reportWildcardImportFromLibrary option.
# This should generate a warning or error depending on whether
# strict mode is enabled.
from typing import *
| 29.166667 | 63 | 0.805714 | 23 | 175 | 6.130435 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 175 | 5 | 64 | 35 | 0.959184 | 0.834286 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4ada8c3b1633d8ea215ecd13247ec0ef8a2a2a39 | 29 | py | Python | Scripts/Python/hactoberhello.py | minproton/ProjectMRU | 80e385c0f97ebe2255ecdb8d0db510d8884a5ee0 | [
"CC0-1.0"
] | 9 | 2020-10-06T08:12:28.000Z | 2020-10-24T20:32:46.000Z | Scripts/Python/hactoberhello.py | minproton/ProjectMRU | 80e385c0f97ebe2255ecdb8d0db510d8884a5ee0 | [
"CC0-1.0"
] | 5 | 2020-10-09T04:54:43.000Z | 2020-10-31T06:31:03.000Z | Scripts/Python/hactoberhello.py | minproton/ProjectMRU | 80e385c0f97ebe2255ecdb8d0db510d8884a5ee0 | [
"CC0-1.0"
] | 33 | 2020-10-05T20:02:12.000Z | 2020-10-31T05:05:48.000Z | print("Hello hactoberfest!")
| 14.5 | 28 | 0.758621 | 3 | 29 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
ab19c7487663b8c54fd60acc843957dea39b24b5 | 51 | py | Python | connectfour/__init__.py | amwhalen/connectfour | 4f01bc4a94a04ae729c66c0498fe64b1ce8585f6 | [
"MIT"
] | 1 | 2017-10-12T05:20:02.000Z | 2017-10-12T05:20:02.000Z | connectfour/__init__.py | amwhalen/connectfour | 4f01bc4a94a04ae729c66c0498fe64b1ce8585f6 | [
"MIT"
] | null | null | null | connectfour/__init__.py | amwhalen/connectfour | 4f01bc4a94a04ae729c66c0498fe64b1ce8585f6 | [
"MIT"
] | null | null | null | import board
import board_factory
import exceptions | 17 | 20 | 0.901961 | 7 | 51 | 6.428571 | 0.571429 | 0.488889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 3 | 21 | 17 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab26c684b5250a979620bc28cf858d8f3e1794fb | 41 | py | Python | crowdsource/client/__init__.py | texodus/crowdsource | 60d222ef3e9ad6b35b54c103e66e647908014e7a | [
"Apache-2.0"
] | null | null | null | crowdsource/client/__init__.py | texodus/crowdsource | 60d222ef3e9ad6b35b54c103e66e647908014e7a | [
"Apache-2.0"
] | 46 | 2017-09-30T04:01:00.000Z | 2021-12-12T20:26:10.000Z | crowdsource/client/__init__.py | texodus/crowdsource | 60d222ef3e9ad6b35b54c103e66e647908014e7a | [
"Apache-2.0"
] | 1 | 2019-11-12T00:53:31.000Z | 2019-11-12T00:53:31.000Z | from .client import Client # noqa: F401
| 20.5 | 40 | 0.731707 | 6 | 41 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.195122 | 41 | 1 | 41 | 41 | 0.818182 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ab332685ec1d71a3946dad65e6ecc9a3c785deef | 218 | py | Python | core/admin.py | SM2015/orchid | 41ec024a6faaa52a7568f4430b52173a3eb98667 | [
"MIT"
] | null | null | null | core/admin.py | SM2015/orchid | 41ec024a6faaa52a7568f4430b52173a3eb98667 | [
"MIT"
] | null | null | null | core/admin.py | SM2015/orchid | 41ec024a6faaa52a7568f4430b52173a3eb98667 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.contrib import admin
import core.models as cm
admin.site.register(cm.Location)
admin.site.register(cm.Indicator)
admin.site.register(cm.Image)
admin.site.register(cm.Score) | 27.25 | 33 | 0.821101 | 35 | 218 | 5.114286 | 0.485714 | 0.201117 | 0.379888 | 0.424581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 218 | 8 | 34 | 27.25 | 0.886139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
db570765f3293aaa321758d525be73b36ec41e73 | 37 | py | Python | networkx/testing/__init__.py | armando1793/networkx | 48326e1761c08d7a073aec53f7a644baf2249ef6 | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | networkx/testing/__init__.py | armando1793/networkx | 48326e1761c08d7a073aec53f7a644baf2249ef6 | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | networkx/testing/__init__.py | armando1793/networkx | 48326e1761c08d7a073aec53f7a644baf2249ef6 | [
"BSD-3-Clause"
] | 136 | 2018-01-09T22:52:06.000Z | 2022-02-24T13:26:18.000Z | from networkx.testing.utils import *
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db598addfa51058a702942e0d641cabb6b88bb0e | 7,768 | py | Python | backend/test/bot/modules/auth.py | MuChin708/Tosurnament | 13e493a5ac3f7b0af94d7f509d3711b9fa6e94c1 | [
"MIT"
] | null | null | null | backend/test/bot/modules/auth.py | MuChin708/Tosurnament | 13e493a5ac3f7b0af94d7f509d3711b9fa6e94c1 | [
"MIT"
] | null | null | null | backend/test/bot/modules/auth.py | MuChin708/Tosurnament | 13e493a5ac3f7b0af94d7f509d3711b9fa6e94c1 | [
"MIT"
] | null | null | null | """
All tests concerning the Tosurnament auth module.
'link' generates a code to set on the osu profile.
'auth' finalizes the linking process, meaning the discord and osu! account are associated.
"""
import pytest
from bot.modules import module as base
from bot.modules import auth
from common.databases.user import Us... | 38.455446 | 115 | 0.734037 | 1,081 | 7,768 | 4.968548 | 0.12951 | 0.164774 | 0.067027 | 0.040961 | 0.780488 | 0.772482 | 0.772482 | 0.755167 | 0.711227 | 0.69447 | 0 | 0.004334 | 0.168254 | 7,768 | 201 | 116 | 38.646766 | 0.826962 | 0.024588 | 0 | 0.615894 | 1 | 0 | 0.024411 | 0.0091 | 0 | 0 | 0 | 0 | 0.05298 | 1 | 0 | false | 0 | 0.033113 | 0 | 0.033113 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
db5e3a0a4636ee427f70abdce8a0abdc3c1f52d9 | 1,921 | py | Python | tests/test_base_crawler.py | dulanyuexiayinghuo/ProfessorFinder | b9edeec3491a515960342c603704a1d7afa70bfc | [
"MIT"
] | 2 | 2021-07-19T13:44:02.000Z | 2021-07-24T12:14:45.000Z | tests/test_base_crawler.py | dulanyuexiayinghuo/ProfessorFinder | b9edeec3491a515960342c603704a1d7afa70bfc | [
"MIT"
] | 2 | 2021-07-19T13:58:02.000Z | 2021-07-24T01:46:30.000Z | tests/test_base_crawler.py | dulanyuexiayinghuo/ProfessorFinder | b9edeec3491a515960342c603704a1d7afa70bfc | [
"MIT"
] | 2 | 2021-07-19T13:43:42.000Z | 2021-07-21T10:46:33.000Z | import unittest
from ProfessorFinder.content_crawler.base_crawler import WebCrawler
class BaseCrawlerTestCase(unittest.TestCase):
def setUp(self):
self.test_crawler1 = WebCrawler('https://www.sem.tsinghua.edu.cn/tesearch/jssearch.html', test=True)
self.test_crawler2 = WebCrawler('http://www.arch.... | 50.552632 | 111 | 0.709006 | 243 | 1,921 | 5.345679 | 0.193416 | 0.101617 | 0.120092 | 0.267898 | 0.759815 | 0.759815 | 0.722864 | 0.722864 | 0.698999 | 0.684373 | 0 | 0.109521 | 0.163457 | 1,921 | 37 | 112 | 51.918919 | 0.698818 | 0 | 0 | 0.413793 | 0 | 0 | 0.457054 | 0.107756 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.137931 | false | 0.068966 | 0.068966 | 0 | 0.241379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
db665b333f986f029244a140a0f482ec8002e45c | 32 | py | Python | causalinference/__init__.py | nickmvincent/ugc-val-est | b5cceda14ef5830f1befaddfccfd90a694c9677a | [
"MIT"
] | 2 | 2019-11-13T19:56:05.000Z | 2020-09-05T03:21:14.000Z | causalinference/__init__.py | nickmvincent/ugc-val-est | b5cceda14ef5830f1befaddfccfd90a694c9677a | [
"MIT"
] | 6 | 2018-03-02T16:49:20.000Z | 2021-06-10T18:55:02.000Z | causalinference/__init__.py | nickmvincent/ugc-val-est | b5cceda14ef5830f1befaddfccfd90a694c9677a | [
"MIT"
] | null | null | null | from .causal import CausalModel
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dbc7adaef9b76ab491dc8020cee37644d7992c55 | 134 | py | Python | aoc/solver.py | witchtrash/aoc2021 | 31b02a4c7a6e5c2756a128499857f996099050a2 | [
"MIT"
] | 1 | 2021-12-02T16:34:05.000Z | 2021-12-02T16:34:05.000Z | aoc/solver.py | witchtrash/aoc2021 | 31b02a4c7a6e5c2756a128499857f996099050a2 | [
"MIT"
] | null | null | null | aoc/solver.py | witchtrash/aoc2021 | 31b02a4c7a6e5c2756a128499857f996099050a2 | [
"MIT"
] | 1 | 2021-12-02T02:40:29.000Z | 2021-12-02T02:40:29.000Z | from typing import Protocol
class Solver(Protocol):
def run(self) -> str:
pass
def test(self) -> str:
pass
| 13.4 | 27 | 0.58209 | 17 | 134 | 4.588235 | 0.705882 | 0.179487 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.320896 | 134 | 9 | 28 | 14.888889 | 0.857143 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
91a839d4808680f9afc22ad0c0fcced964c3e3d0 | 166 | py | Python | myapps/contratos/admin.py | informatorio2020com07/grupo3 | f3c11c39008cd35ab5004a5b7599cfdaadd2fd6b | [
"MIT"
] | 1 | 2020-09-08T10:13:59.000Z | 2020-09-08T10:13:59.000Z | myapps/contratos/admin.py | informatorio2020com07/grupo3 | f3c11c39008cd35ab5004a5b7599cfdaadd2fd6b | [
"MIT"
] | 1 | 2020-09-22T07:53:34.000Z | 2020-10-03T00:53:23.000Z | myapps/contratos/admin.py | informatorio2020com07/grupo3 | f3c11c39008cd35ab5004a5b7599cfdaadd2fd6b | [
"MIT"
] | 2 | 2020-09-16T01:17:50.000Z | 2020-10-01T23:55:13.000Z | from django.contrib import admin
# Register your models here.
from .models import Contrato #, Trabajo
admin.site.register(Contrato)
# admin.site.register(Trabajo)
| 18.444444 | 39 | 0.783133 | 22 | 166 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 166 | 8 | 40 | 20.75 | 0.896552 | 0.385542 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91b7819e18b8ddf59575920efa963893063a34cb | 11,862 | py | Python | tests/components/humidifier/test_device_action.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 6 | 2016-11-25T06:36:27.000Z | 2021-11-16T11:20:23.000Z | tests/components/humidifier/test_device_action.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 56 | 2020-08-03T07:30:54.000Z | 2022-03-31T06:02:04.000Z | tests/components/humidifier/test_device_action.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 3 | 2016-10-03T20:14:06.000Z | 2019-04-19T15:56:56.000Z | """The tests for Humidifier device actions."""
import pytest
import voluptuous_serialize
import homeassistant.components.automation as automation
from homeassistant.components.humidifier import DOMAIN, const, device_action
from homeassistant.const import STATE_ON
from homeassistant.helpers import config_validation as ... | 33.041783 | 88 | 0.55682 | 1,230 | 11,862 | 5.045528 | 0.095122 | 0.043506 | 0.060909 | 0.048985 | 0.844183 | 0.834515 | 0.828875 | 0.797937 | 0.771189 | 0.757009 | 0 | 0.016453 | 0.323639 | 11,862 | 358 | 89 | 33.134078 | 0.757073 | 0.014922 | 0 | 0.597444 | 0 | 0 | 0.188724 | 0.004021 | 0 | 0 | 0 | 0 | 0.13099 | 1 | 0.00639 | false | 0 | 0.025559 | 0 | 0.038339 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
91bf5289229e37655d5298eeb7249bb56d7fe2b2 | 30 | py | Python | python/src/ecole/scip.py | Sandbergo/ecole | 2bab4d6a66e5d1932870f4cecbdc989b8fd17546 | [
"BSD-3-Clause"
] | 234 | 2019-11-22T15:50:52.000Z | 2022-03-28T15:03:02.000Z | python/src/ecole/scip.py | Sandbergo/ecole | 2bab4d6a66e5d1932870f4cecbdc989b8fd17546 | [
"BSD-3-Clause"
] | 179 | 2019-12-04T19:19:04.000Z | 2022-03-24T14:20:01.000Z | python/src/ecole/scip.py | Sandbergo/ecole | 2bab4d6a66e5d1932870f4cecbdc989b8fd17546 | [
"BSD-3-Clause"
] | 47 | 2020-01-29T19:48:24.000Z | 2022-03-31T08:42:09.000Z | from ecole.core.scip import *
| 15 | 29 | 0.766667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
726ab307830e2857175a11229eeb80e094caae6d | 96 | py | Python | VetDataHub/views.py | nkoroi/KVDH | 622a2331325de113b95791b74c1f74383dcbd7f1 | [
"MIT"
] | null | null | null | VetDataHub/views.py | nkoroi/KVDH | 622a2331325de113b95791b74c1f74383dcbd7f1 | [
"MIT"
] | null | null | null | VetDataHub/views.py | nkoroi/KVDH | 622a2331325de113b95791b74c1f74383dcbd7f1 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def home(request):
return render(request, 'vdh/home.html') | 24 | 40 | 0.78125 | 14 | 96 | 5.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 96 | 4 | 40 | 24 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f4089d0d12a93f9fbbd60372d9472d966195eb15 | 22 | py | Python | drawing/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | drawing/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | drawing/__init__.py | akyruu/blender-cartography-addon | 4f34b029d9b6a72619227ab3ceaed9393506934e | [
"Apache-2.0"
] | null | null | null | from .drawer import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f419a0e243ef758d73daf21a40471338d7a22f20 | 17,663 | py | Python | tests/functional/test_main.py | luk-kop/ec2-tags-actions | 5d6bb654d77d67f8b64df16aba7ef34c491de8f4 | [
"MIT"
] | null | null | null | tests/functional/test_main.py | luk-kop/ec2-tags-actions | 5d6bb654d77d67f8b64df16aba7ef34c491de8f4 | [
"MIT"
] | null | null | null | tests/functional/test_main.py | luk-kop/ec2-tags-actions | 5d6bb654d77d67f8b64df16aba7ef34c491de8f4 | [
"MIT"
] | null | null | null | from ec2_tags import main
def test_main_single_instance_no_tags_stop(ec2_instance):
"""
GIVEN Single instance without assigned tag.
WHEN main() is called.
THEN The stop action has been performed on given instance.
"""
ec2_instance.start()
main(aws_region='eu-west-1', ec2_action='stop', ec2... | 36.721414 | 119 | 0.680802 | 2,393 | 17,663 | 4.712077 | 0.03761 | 0.126818 | 0.070504 | 0.084604 | 0.983593 | 0.982086 | 0.98049 | 0.976321 | 0.949095 | 0.942533 | 0 | 0.021683 | 0.229746 | 17,663 | 480 | 120 | 36.797917 | 0.80713 | 0.282964 | 0 | 0.686275 | 0 | 0 | 0.09995 | 0 | 0 | 0 | 0 | 0 | 0.12549 | 1 | 0.113725 | false | 0 | 0.003922 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f423d050f977fd84c171d495af172a04195826de | 46,305 | py | Python | roi_data_layer/roibatchLoader.py | moli1026/regrad | f66c38c00405b22cb746cc3f5c38d2b49f77d854 | [
"MIT"
] | 1 | 2021-11-02T13:12:00.000Z | 2021-11-02T13:12:00.000Z | roi_data_layer/roibatchLoader.py | moli1026/regrad | f66c38c00405b22cb746cc3f5c38d2b49f77d854 | [
"MIT"
] | null | null | null | roi_data_layer/roibatchLoader.py | moli1026/regrad | f66c38c00405b22cb746cc3f5c38d2b49f77d854 | [
"MIT"
] | null | null | null | # --------------------------------------------------------
# Visual Detection: State-of-the-Art
# Copyright: Hanbo Zhang
# Licensed under The MIT License [see LICENSE for details]
# Written by Hanbo Zhang
# based on code from Jiasen Lu, Jianwei Yang, Ross Girshick
# -----------------------------------------------------... | 48.844937 | 132 | 0.604168 | 5,915 | 46,305 | 4.45579 | 0.060186 | 0.035324 | 0.005122 | 0.024511 | 0.812377 | 0.802246 | 0.776446 | 0.761269 | 0.748558 | 0.741994 | 0 | 0.014017 | 0.286643 | 46,305 | 947 | 133 | 48.896515 | 0.783876 | 0.118605 | 0 | 0.683403 | 0 | 0 | 0.044852 | 0 | 0 | 0 | 0 | 0.001056 | 0.013947 | 1 | 0.058577 | false | 0 | 0.019526 | 0.001395 | 0.160391 | 0.001395 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f45398ada80ce3472eeb1d415d59a0c20fc0b3f8 | 178 | py | Python | montepython_tree/montepython/likelihoods/eft_withbao_lowzNGC/__init__.py | zhaoruiyang98/pybird | 13e1c090bb51ba44a4228f379046de8a7280a088 | [
"MIT"
] | 13 | 2020-03-19T02:25:13.000Z | 2022-03-06T13:19:19.000Z | montepython_tree/montepython/likelihoods/eft_withbao_lowzNGC/__init__.py | zhaoruiyang98/pybird | 13e1c090bb51ba44a4228f379046de8a7280a088 | [
"MIT"
] | 3 | 2021-05-24T05:48:10.000Z | 2021-10-18T10:37:47.000Z | montepython_tree/montepython/likelihoods/eft_withbao_lowzNGC/__init__.py | zhaoruiyang98/pybird | 13e1c090bb51ba44a4228f379046de8a7280a088 | [
"MIT"
] | 14 | 2020-04-13T00:46:29.000Z | 2021-10-10T16:05:27.000Z | import os
import numpy as np
from montepython.likelihood_class import Likelihood_bird
from scipy.optimize import fsolve
class eft_withbao_lowzNGC(Likelihood_bird):
pass
| 22.25 | 56 | 0.825843 | 25 | 178 | 5.68 | 0.68 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 178 | 7 | 57 | 25.428571 | 0.934211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f476dbbc2cedc5e3852c4a74513c2369818a5e80 | 6,460 | py | Python | ldaptor/test/test_entry_diff.py | jaraco/ldaptor | 4e2b67798b75e0c2b364fc0d9fdf327b0f0ddca4 | [
"MIT"
] | null | null | null | ldaptor/test/test_entry_diff.py | jaraco/ldaptor | 4e2b67798b75e0c2b364fc0d9fdf327b0f0ddca4 | [
"MIT"
] | null | null | null | ldaptor/test/test_entry_diff.py | jaraco/ldaptor | 4e2b67798b75e0c2b364fc0d9fdf327b0f0ddca4 | [
"MIT"
] | 1 | 2018-10-17T18:43:59.000Z | 2018-10-17T18:43:59.000Z | """
Test cases for ldaptor.diff
"""
from twisted.trial import unittest
from ldaptor import delta, entry
class TestDiffEntry(unittest.TestCase):
def testEqual(self):
a = entry.BaseLDAPEntry(dn='dc=foo',
attributes={
'foo': ['bar'],
})
b = entr... | 35.108696 | 99 | 0.39644 | 521 | 6,460 | 4.877159 | 0.143954 | 0.051161 | 0.157418 | 0.155844 | 0.830382 | 0.777253 | 0.731208 | 0.731208 | 0.731208 | 0.667454 | 0 | 0.026509 | 0.451084 | 6,460 | 183 | 100 | 35.300546 | 0.690073 | 0.00418 | 0 | 0.686391 | 0 | 0 | 0.158444 | 0.020545 | 0 | 0 | 0 | 0 | 0.059172 | 1 | 0.059172 | false | 0 | 0.011834 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be3ed7a9972a216876812f4ea060a1da929410f4 | 43 | py | Python | Python/Python For Absolute Beginner/46 If __name__ == __main__ usage & necessity.py | omkarsutar1255/Python-Data | 169d0c54b23d9dd5a7f1aea41ab385121c3b3c63 | [
"CC-BY-3.0"
] | null | null | null | Python/Python For Absolute Beginner/46 If __name__ == __main__ usage & necessity.py | omkarsutar1255/Python-Data | 169d0c54b23d9dd5a7f1aea41ab385121c3b3c63 | [
"CC-BY-3.0"
] | null | null | null | Python/Python For Absolute Beginner/46 If __name__ == __main__ usage & necessity.py | omkarsutar1255/Python-Data | 169d0c54b23d9dd5a7f1aea41ab385121c3b3c63 | [
"CC-BY-3.0"
] | null | null | null | import mainfile
print(mainfile.add(5, 3))
| 10.75 | 25 | 0.744186 | 7 | 43 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.116279 | 43 | 3 | 26 | 14.333333 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
be9cfbb04012289415b3ac1b12247d2b7c5671dc | 167 | py | Python | shtk/test/__init__.py | jroose/shtk | caba1babe49399f34a7be8ab820a380e346d1515 | [
"BSD-3-Clause"
] | 24 | 2021-02-02T09:22:53.000Z | 2021-09-13T00:12:13.000Z | shtk/test/__init__.py | jroose/shtk | caba1babe49399f34a7be8ab820a380e346d1515 | [
"BSD-3-Clause"
] | 15 | 2021-02-02T03:00:35.000Z | 2022-02-20T22:48:30.000Z | shtk/test/__init__.py | jroose/shtk | caba1babe49399f34a7be8ab820a380e346d1515 | [
"BSD-3-Clause"
] | 1 | 2021-02-02T11:49:53.000Z | 2021-02-02T11:49:53.000Z | from . import util
from . import PipelineNode
from . import Stream
from . import StreamFactory
from . import PipelineNodeFactory
from . import Job
from . import Shell
| 20.875 | 33 | 0.790419 | 21 | 167 | 6.285714 | 0.428571 | 0.530303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167665 | 167 | 7 | 34 | 23.857143 | 0.94964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fe4fbc9262053ecb36ad86c9ec20df889ac033dd | 49 | py | Python | dingus/tree/__init__.py | ricott1/dingus | ef0edd9fff164f54171b354714e600f410a3bbe9 | [
"MIT"
] | null | null | null | dingus/tree/__init__.py | ricott1/dingus | ef0edd9fff164f54171b354714e600f410a3bbe9 | [
"MIT"
] | null | null | null | dingus/tree/__init__.py | ricott1/dingus | ef0edd9fff164f54171b354714e600f410a3bbe9 | [
"MIT"
] | null | null | null | from .sparse_merkle_tree import SparseMerkleTree
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feb03dd961e78df977c4f495465f0e7d3a3fb25f | 136 | py | Python | allennlp/evaluation/__init__.py | HOZHENWAI/allennlp | 0d25f967c7996ad4980c7ee2f4c71294f51fef80 | [
"Apache-2.0"
] | null | null | null | allennlp/evaluation/__init__.py | HOZHENWAI/allennlp | 0d25f967c7996ad4980c7ee2f4c71294f51fef80 | [
"Apache-2.0"
] | null | null | null | allennlp/evaluation/__init__.py | HOZHENWAI/allennlp | 0d25f967c7996ad4980c7ee2f4c71294f51fef80 | [
"Apache-2.0"
] | null | null | null | from allennlp.evaluation.evaluator import Evaluator, SimpleEvaluator
from allennlp.evaluation.serializers.serializers import Serializer
| 45.333333 | 68 | 0.889706 | 14 | 136 | 8.642857 | 0.571429 | 0.198347 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 136 | 2 | 69 | 68 | 0.952756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
feb3224b32aad9f71a8c436dfff6d9165bc1eb85 | 161 | py | Python | tests/mocks/__init__.py | Claayton/mitmirror-api | a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1 | [
"MIT"
] | null | null | null | tests/mocks/__init__.py | Claayton/mitmirror-api | a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1 | [
"MIT"
] | 1 | 2021-10-09T20:42:03.000Z | 2021-10-09T20:42:03.000Z | tests/mocks/__init__.py | Claayton/mitmirror-api | a78ec3aa84aa3685a26bfaf5e1ba2a3f0f8405d1 | [
"MIT"
] | null | null | null | """Inicializacao de mocks"""
from .mock_users import mock_user
from .user_repository_spy import UserRepositorySpy
from .password_hash_spy import PasswordHashSpy
| 32.2 | 50 | 0.850932 | 21 | 161 | 6.238095 | 0.666667 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093168 | 161 | 4 | 51 | 40.25 | 0.89726 | 0.136646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2290f110e542a7b5e064c894b66534e8c232f719 | 37,872 | py | Python | instances/passenger_demand/pas-20210421-2109-int4e-1/20.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int4e-1/20.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int4e-1/20.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 891
passenger_arriving = (
(2, 3, 4, 0, 0, 0, 0, 4, 2, 0, 0, 0), # 0
(1, 0, 0, 1, 0, 0, 2, 0, 2, 1, 0, 0), # 1
(2, 1, 2, 0, 1, 0, 2, 5, 1, 0, 0, 0), # 2
(1, 3, 3, 0, 1, 0, 0, 4, 3, 1, 2, 0), # 3
(1, 2, 1, 0, 2, 0, 0, 3, 2, 1, 2, 0), # 4
(0, 1, 1, 0, 1, 0, 1, 1, 2, 0, 1, ... | 113.050746 | 218 | 0.728982 | 5,147 | 37,872 | 5.361764 | 0.191179 | 0.313078 | 0.247853 | 0.469616 | 0.344313 | 0.335435 | 0.331014 | 0.328659 | 0.327499 | 0.327499 | 0 | 0.818934 | 0.119191 | 37,872 | 334 | 219 | 113.389222 | 0.008364 | 0.031976 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2297ca055c7fc60d89b00e5bcffc1615082f847a | 31 | py | Python | HelloWorld.py | Vinutha2905/Python_RestAPI | 4c185d37d32c3b5f00154f4be1b4ad0d2fab6d66 | [
"MIT"
] | null | null | null | HelloWorld.py | Vinutha2905/Python_RestAPI | 4c185d37d32c3b5f00154f4be1b4ad0d2fab6d66 | [
"MIT"
] | null | null | null | HelloWorld.py | Vinutha2905/Python_RestAPI | 4c185d37d32c3b5f00154f4be1b4ad0d2fab6d66 | [
"MIT"
] | null | null | null | print("Hello World from Dell")
| 15.5 | 30 | 0.741935 | 5 | 31 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
22b0b5f94b71906ed863f84fbffb2978dd6d27d0 | 154 | py | Python | week3/5_class_basics/ex1.py | skku-overflow/python-2020-2 | def09d9a8ff32ee085edaa5eca89ccc03c29af2a | [
"Apache-2.0"
] | null | null | null | week3/5_class_basics/ex1.py | skku-overflow/python-2020-2 | def09d9a8ff32ee085edaa5eca89ccc03c29af2a | [
"Apache-2.0"
] | null | null | null | week3/5_class_basics/ex1.py | skku-overflow/python-2020-2 | def09d9a8ff32ee085edaa5eca89ccc03c29af2a | [
"Apache-2.0"
] | null | null | null | # C: int main { }
# 파이썬: { } 없음
def empty():
pass
def unwanted():
def my_fn():
pass
def unwanted1():
pass
def my_fn2():
pass
| 9.058824 | 17 | 0.5 | 21 | 154 | 3.571429 | 0.619048 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.350649 | 154 | 16 | 18 | 9.625 | 0.73 | 0.175325 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.555556 | true | 0.444444 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
fe07f1327c57cc40102d698c49a8c700db0d2831 | 44 | py | Python | neighbors/data/__init__.py | smoh/neighbors | 6f7e2c5a2d1515911765798a925ac48aa691152f | [
"MIT"
] | 1 | 2018-04-09T22:34:33.000Z | 2018-04-09T22:34:33.000Z | neighbors/data/__init__.py | smoh/neighbors | 6f7e2c5a2d1515911765798a925ac48aa691152f | [
"MIT"
] | 1 | 2018-02-19T18:59:49.000Z | 2018-02-19T18:59:49.000Z | neighbors/data/__init__.py | smoh/neighbors | 6f7e2c5a2d1515911765798a925ac48aa691152f | [
"MIT"
] | 1 | 2018-04-09T18:05:16.000Z | 2018-04-09T18:05:16.000Z | from .datasets import *
from .mock import *
| 14.666667 | 23 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4a2c74128e62f05b42b32845a48c99bb91d4bda5 | 149,384 | py | Python | geone/covModel.py | pjuda/geone | 5a9e5d99702cdccb11ab825ea9b4caa90f3ba111 | [
"BSD-4-Clause-UC"
] | null | null | null | geone/covModel.py | pjuda/geone | 5a9e5d99702cdccb11ab825ea9b4caa90f3ba111 | [
"BSD-4-Clause-UC"
] | null | null | null | geone/covModel.py | pjuda/geone | 5a9e5d99702cdccb11ab825ea9b4caa90f3ba111 | [
"BSD-4-Clause-UC"
] | null | null | null | #!/usr/bin/python3
#-*- coding: utf-8 -*-
"""
Python module: 'covModel.py'
authors: Julien Straubhaar and Philippe Renard
date: 2018-2020
Module for:
- definition of (classic) covariance / variogram models in 1D, 2D, and 3D
(omni-directional or anisotropic)
- covariance / variogram a... | 45.655257 | 173 | 0.519065 | 20,605 | 149,384 | 3.705848 | 0.040136 | 0.016553 | 0.003025 | 0.00846 | 0.865451 | 0.835252 | 0.805733 | 0.783693 | 0.769104 | 0.745492 | 0 | 0.029752 | 0.327699 | 149,384 | 3,271 | 174 | 45.669214 | 0.730561 | 0.53169 | 0 | 0.68476 | 0 | 0.002784 | 0.074909 | 0.001937 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045929 | false | 0.001392 | 0.006959 | 0 | 0.10856 | 0.020877 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a6243653ac0ac6312a75575c0412e305c022e3e | 49 | py | Python | regression_test_utils/__init__.py | JivanAmara/test_utils | f077083ebdd8cbcd626ef98994c582cf585fde14 | [
"BSD-3-Clause"
] | null | null | null | regression_test_utils/__init__.py | JivanAmara/test_utils | f077083ebdd8cbcd626ef98994c582cf585fde14 | [
"BSD-3-Clause"
] | null | null | null | regression_test_utils/__init__.py | JivanAmara/test_utils | f077083ebdd8cbcd626ef98994c582cf585fde14 | [
"BSD-3-Clause"
] | null | null | null | from regression_test_utils import log_test_case
| 16.333333 | 47 | 0.897959 | 8 | 49 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 2 | 48 | 24.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4364ba3a7bba0131a77cddf3b2530d534f2f1996 | 161 | py | Python | daisy/persistence/__init__.py | rhoadesScholar/daisy | 78cdd2ed0d67647a6602fb53cc952214450f3753 | [
"MIT"
] | null | null | null | daisy/persistence/__init__.py | rhoadesScholar/daisy | 78cdd2ed0d67647a6602fb53cc952214450f3753 | [
"MIT"
] | null | null | null | daisy/persistence/__init__.py | rhoadesScholar/daisy | 78cdd2ed0d67647a6602fb53cc952214450f3753 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from .mongodb_graph_provider import MongoDbGraphProvider # noqa
from .file_graph_provider import FileGraphProvider # noqa
| 40.25 | 63 | 0.875776 | 19 | 161 | 6.947368 | 0.578947 | 0.19697 | 0.287879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 3 | 64 | 53.666667 | 0.910345 | 0.055901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
437eda3d9eec4766611cc0bd6dbc3db782258f9c | 6,116 | py | Python | src/lin_my/s3_bullet_checker_eval.py | yifan-you-37/omnihang | c80b699b2cf2cf3422201cc8c3fa572d0e01d5a2 | [
"MIT"
] | 1 | 2022-01-16T20:24:09.000Z | 2022-01-16T20:24:09.000Z | src/lin_my/s3_bullet_checker_eval.py | yifan-you-37/omnihang | c80b699b2cf2cf3422201cc8c3fa572d0e01d5a2 | [
"MIT"
] | null | null | null | src/lin_my/s3_bullet_checker_eval.py | yifan-you-37/omnihang | c80b699b2cf2cf3422201cc8c3fa572d0e01d5a2 | [
"MIT"
] | 1 | 2022-03-16T03:14:37.000Z | 2022-03-16T03:14:37.000Z | import sys
import numpy as np
import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(BASE_DIR, '../utils'))
import bullet_client as bc
from coord_helper import *
from data_helper import *
import time
import imageio
def check_one_pose_simple(p, hook_world_pos, hook_bullet_id, o... | 32.359788 | 161 | 0.6483 | 942 | 6,116 | 3.988323 | 0.133758 | 0.057493 | 0.063348 | 0.028746 | 0.811286 | 0.793718 | 0.786798 | 0.773223 | 0.759915 | 0.742348 | 0 | 0.036565 | 0.217462 | 6,116 | 188 | 162 | 32.531915 | 0.748433 | 0.629496 | 0 | 0.326923 | 0 | 0 | 0.003766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.153846 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4380ae372cc630e3b7d475d5f960e23d7ceb4e7d | 338 | py | Python | sublimetext/FSharp/lib/fs.py | mrward/fsharpbinding | 9b454474f0a90af6384645504801a8230176cfc0 | [
"Apache-2.0"
] | null | null | null | sublimetext/FSharp/lib/fs.py | mrward/fsharpbinding | 9b454474f0a90af6384645504801a8230176cfc0 | [
"Apache-2.0"
] | null | null | null | sublimetext/FSharp/lib/fs.py | mrward/fsharpbinding | 9b454474f0a90af6384645504801a8230176cfc0 | [
"Apache-2.0"
] | 2 | 2017-09-11T00:06:08.000Z | 2019-02-10T14:43:06.000Z | def is_fsharp_file(fname):
return any((is_fsharp_code(fname),
is_fsharp_project(fname)))
def is_fsharp_code(fname):
return fname.endswith(('.fs', '.fsx', '.fsi'))
def is_fsharp_script(fname):
return fname.endswith(('.fsscript', '.fsx'))
def is_fsharp_project(fname):
return fname.en... | 21.125 | 50 | 0.66568 | 45 | 338 | 4.733333 | 0.355556 | 0.225352 | 0.206573 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171598 | 338 | 15 | 51 | 22.533333 | 0.760714 | 0 | 0 | 0 | 0 | 0 | 0.091716 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.444444 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
43d6d9055771b9ba5671836f1e0950915d077673 | 30,037 | py | Python | toolium/test/test_config_driver.py | lmcalvo/toolium | 98025ccbb0726bb009968779971e92166f8cc6ea | [
"Apache-2.0"
] | 94 | 2016-02-15T11:32:36.000Z | 2022-02-14T12:31:42.000Z | toolium/test/test_config_driver.py | lmcalvo/toolium | 98025ccbb0726bb009968779971e92166f8cc6ea | [
"Apache-2.0"
] | 225 | 2016-03-18T16:14:21.000Z | 2022-03-30T10:21:26.000Z | toolium/test/test_config_driver.py | lmcalvo/toolium | 98025ccbb0726bb009968779971e92166f8cc6ea | [
"Apache-2.0"
] | 65 | 2016-05-12T13:23:56.000Z | 2022-02-16T08:33:18.000Z | # -*- coding: utf-8 -*-
u"""
Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
This file is part of Toolium.
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/lic... | 43.785714 | 116 | 0.725938 | 3,449 | 30,037 | 6.013047 | 0.074224 | 0.080428 | 0.05738 | 0.062202 | 0.850523 | 0.828728 | 0.809538 | 0.777665 | 0.744684 | 0.736149 | 0 | 0.009481 | 0.160735 | 30,037 | 685 | 117 | 43.849635 | 0.813202 | 0.037321 | 0 | 0.685437 | 0 | 0.007767 | 0.208209 | 0.071676 | 0 | 0 | 0 | 0 | 0.100971 | 1 | 0.087379 | false | 0 | 0.015534 | 0 | 0.11068 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
600be41b78d5b8d90cd9ac8f2e349fba220dcac4 | 5,561 | py | Python | tests/test_all.py | thulio/dict-to-csv | 6c163a7c9c87dcb6353167bd7ff1af55fc7d0731 | [
"MIT"
] | 12 | 2017-04-10T15:19:41.000Z | 2021-08-29T11:21:53.000Z | tests/test_all.py | thulio/dict-to-csv | 6c163a7c9c87dcb6353167bd7ff1af55fc7d0731 | [
"MIT"
] | null | null | null | tests/test_all.py | thulio/dict-to-csv | 6c163a7c9c87dcb6353167bd7ff1af55fc7d0731 | [
"MIT"
] | 1 | 2019-05-10T00:25:34.000Z | 2019-05-10T00:25:34.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import unittest
from dict_to_csv import extract_header, transform
class TestExtractKeys(unittest.TestCase):
def test_simple_data(self):
data = [
{"key_1": "value 1", "key_2": "value 2"},
{"key_1": "value 3", "key_2":... | 31.241573 | 154 | 0.452437 | 592 | 5,561 | 4.079392 | 0.128378 | 0.033126 | 0.055901 | 0.115942 | 0.857971 | 0.840166 | 0.80911 | 0.756522 | 0.756522 | 0.756522 | 0 | 0.057209 | 0.37763 | 5,561 | 177 | 155 | 31.418079 | 0.640566 | 0.003776 | 0 | 0.438356 | 0 | 0.020548 | 0.28801 | 0.074756 | 0 | 0 | 0 | 0 | 0.089041 | 1 | 0.089041 | false | 0 | 0.020548 | 0 | 0.123288 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
600f92f05678bfa893f7d47e74dcdd89b7d8def9 | 22,601 | py | Python | melp/clustering/old/plots.py | maximilianKoeper/melp | 863d1c55a36adf29f3508e15ecd5ed0a77544f53 | [
"MIT"
] | 1 | 2021-12-07T10:00:23.000Z | 2021-12-07T10:00:23.000Z | melp/clustering/old/plots.py | maximilianKoeper/melp | 863d1c55a36adf29f3508e15ecd5ed0a77544f53 | [
"MIT"
] | null | null | null | melp/clustering/old/plots.py | maximilianKoeper/melp | 863d1c55a36adf29f3508e15ecd5ed0a77544f53 | [
"MIT"
] | 1 | 2021-11-15T13:41:06.000Z | 2021-11-15T13:41:06.000Z | import ROOT
import numpy as np
import melp
from melp import Detector
from melp.clustering.misc import*
import melp.clustering.spatial_cluster as sclump
import melp.clustering.three_frame_cluster as clump_3
import melp.clustering.time_cluster as tclump
#-------------------------------------------------
def compare_to... | 47.481092 | 203 | 0.660104 | 2,937 | 22,601 | 4.701736 | 0.057542 | 0.066913 | 0.076906 | 0.056268 | 0.871823 | 0.840032 | 0.826273 | 0.812514 | 0.792889 | 0.777319 | 0 | 0.014611 | 0.242954 | 22,601 | 476 | 204 | 47.481092 | 0.792461 | 0.143489 | 0 | 0.631922 | 0 | 0 | 0.061351 | 0 | 0 | 0 | 0 | 0.002101 | 0 | 1 | 0.016287 | false | 0 | 0.026059 | 0 | 0.058632 | 0.107492 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60304b9b7b3db6f559aae1bbb9b85ab4cde380fa | 193 | py | Python | django_wma/admin.py | rohithasrk/water-monitoring | a54774b75c83381402f8454f293b47db53197037 | [
"MIT"
] | 1 | 2019-07-04T14:12:48.000Z | 2019-07-04T14:12:48.000Z | django_wma/admin.py | rohithasrk/django-wma | a54774b75c83381402f8454f293b47db53197037 | [
"MIT"
] | null | null | null | django_wma/admin.py | rohithasrk/django-wma | a54774b75c83381402f8454f293b47db53197037 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Container, WaterQuality, WaterQuantity
admin.site.register(Container)
admin.site.register(WaterQuantity)
admin.site.register(WaterQuality)
| 27.571429 | 58 | 0.84456 | 23 | 193 | 7.086957 | 0.478261 | 0.165644 | 0.312883 | 0.368098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072539 | 193 | 6 | 59 | 32.166667 | 0.910615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
606af2b5c162f38afb94218645ab137a672573b7 | 187 | py | Python | dask_ml/decomposition/__init__.py | GueroudjiAmal/dask-ml | 54a8913bfb22775c72ffd781bf29d6e53b5dd363 | [
"BSD-3-Clause"
] | null | null | null | dask_ml/decomposition/__init__.py | GueroudjiAmal/dask-ml | 54a8913bfb22775c72ffd781bf29d6e53b5dd363 | [
"BSD-3-Clause"
] | null | null | null | dask_ml/decomposition/__init__.py | GueroudjiAmal/dask-ml | 54a8913bfb22775c72ffd781bf29d6e53b5dd363 | [
"BSD-3-Clause"
] | null | null | null | from .incremental_pca import IncrementalPCA # noqa
from .in_situ_incremental_pca import InSituIncrementalPCA
from .pca import PCA # noqa
from .truncated_svd import TruncatedSVD # noqa
| 37.4 | 57 | 0.828877 | 24 | 187 | 6.25 | 0.5 | 0.18 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13369 | 187 | 4 | 58 | 46.75 | 0.925926 | 0.074866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6085fc8171b3de9c7f899b575cb62e3f0df03ec0 | 135 | py | Python | app/asistencias/__init__.py | originaltebas/chmembers | 983578ec8cb6d1da76e98b1467d996d6fac752ee | [
"MIT"
] | null | null | null | app/asistencias/__init__.py | originaltebas/chmembers | 983578ec8cb6d1da76e98b1467d996d6fac752ee | [
"MIT"
] | 2 | 2021-09-08T01:19:10.000Z | 2022-03-11T23:59:40.000Z | app/asistencias/__init__.py | originaltebas/chmembers | 983578ec8cb6d1da76e98b1467d996d6fac752ee | [
"MIT"
] | 1 | 2019-04-09T10:42:20.000Z | 2019-04-09T10:42:20.000Z | # app/asistencias/__init__.py
from flask import Blueprint
asistencias = Blueprint('asistencias', __name__)
from . import views | 19.285714 | 49 | 0.755556 | 15 | 135 | 6.266667 | 0.666667 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162963 | 135 | 7 | 50 | 19.285714 | 0.831858 | 0.2 | 0 | 0 | 0 | 0 | 0.108911 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
60ce399daf5497ea06b0db0d4498a5e34fad67d1 | 5,433 | py | Python | tests/python/extensions/pybind/cuda/geometry/rdr2geo.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 64 | 2019-08-06T19:22:22.000Z | 2022-03-20T17:11:46.000Z | tests/python/extensions/pybind/cuda/geometry/rdr2geo.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 8 | 2020-09-01T22:46:53.000Z | 2021-11-04T00:05:28.000Z | tests/python/extensions/pybind/cuda/geometry/rdr2geo.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 29 | 2019-08-05T21:40:55.000Z | 2022-03-23T00:17:03.000Z | #!/usr/bin/env python3
import os
from osgeo import gdal
import numpy as np
import iscetest
import isce3
from pybind_nisar.products.readers import SLC
def test_run():
'''
check if topo runs
'''
# prepare Rdr2Geo init params
h5_path = os.path.join(iscetest.data, "envisat.h5")
radargrid = isce... | 35.279221 | 83 | 0.615866 | 692 | 5,433 | 4.645954 | 0.197977 | 0.041058 | 0.048523 | 0.070918 | 0.853188 | 0.845723 | 0.80902 | 0.80902 | 0.80902 | 0.80902 | 0 | 0.030867 | 0.278483 | 5,433 | 153 | 84 | 35.509804 | 0.789286 | 0.131603 | 0 | 0.655172 | 0 | 0 | 0.061704 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 1 | 0.045977 | false | 0 | 0.068966 | 0 | 0.114943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
88012db04abe7c73e13f2ffb6e7fc51eb2af40aa | 19,415 | py | Python | mindquantum/framework/operations.py | mindspore-ai/mindquantum | 785150e6b44bb79b37f2fa4a3d86edc0ab3c83ce | [
"Apache-2.0"
] | 13 | 2021-06-04T00:47:53.000Z | 2022-03-20T14:30:38.000Z | mindquantum/framework/operations.py | mindspore-ai/mindquantum | 785150e6b44bb79b37f2fa4a3d86edc0ab3c83ce | [
"Apache-2.0"
] | null | null | null | mindquantum/framework/operations.py | mindspore-ai/mindquantum | 785150e6b44bb79b37f2fa4a3d86edc0ab3c83ce | [
"Apache-2.0"
] | 4 | 2022-01-17T02:43:34.000Z | 2022-02-20T16:03:44.000Z | # -*- coding: utf-8 -*-
# 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 app... | 40.873684 | 118 | 0.631522 | 2,619 | 19,415 | 4.5147 | 0.088583 | 0.076116 | 0.096414 | 0.062246 | 0.855125 | 0.848275 | 0.840663 | 0.832629 | 0.814783 | 0.810301 | 0 | 0.021504 | 0.247901 | 19,415 | 474 | 119 | 40.959916 | 0.788248 | 0.564873 | 0 | 0.634146 | 0 | 0.006098 | 0.061516 | 0.006672 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170732 | false | 0 | 0.04878 | 0.036585 | 0.365854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71470115c07fb8c0399135c3105fe2ab36dd6a2f | 114 | py | Python | CADMium/functionals/TW_paramke.py | wasserman-group/CADMium | 0d0e16f8965e0a3acfea9ea6ba5dd0d51f1bdc55 | [
"BSD-3-Clause"
] | null | null | null | CADMium/functionals/TW_paramke.py | wasserman-group/CADMium | 0d0e16f8965e0a3acfea9ea6ba5dd0d51f1bdc55 | [
"BSD-3-Clause"
] | 1 | 2021-05-12T17:24:27.000Z | 2021-05-12T17:24:27.000Z | CADMium/functionals/TW_paramke.py | VHchavez/CADMium | 39f3bd63ca69502a80c677855da72f9e691b57e2 | [
"BSD-3-Clause"
] | 2 | 2020-10-07T20:48:56.000Z | 2021-04-22T19:06:18.000Z | """
TW_paramke.py
"""
def TW_paramke(s, k):
F = 1 + k[0] - k[0] / (1 + k[1] / k[0] @ s ** 2 )
return F | 12.666667 | 54 | 0.412281 | 23 | 114 | 1.956522 | 0.478261 | 0.133333 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.324561 | 114 | 9 | 55 | 12.666667 | 0.493506 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
718edd0a1a2c021dcf6294e32dc7b2b28f2ad0fc | 197 | py | Python | parsely/resource.py | gengo/parsely | 5126c2223bcc12023e7d94471d83551f562632f5 | [
"MIT"
] | null | null | null | parsely/resource.py | gengo/parsely | 5126c2223bcc12023e7d94471d83551f562632f5 | [
"MIT"
] | null | null | null | parsely/resource.py | gengo/parsely | 5126c2223bcc12023e7d94471d83551f562632f5 | [
"MIT"
] | null | null | null | import os.path
resource_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'resources')
def resource_filename(filename: str) -> str:
return os.path.join(resource_dir, filename)
| 21.888889 | 84 | 0.746193 | 29 | 197 | 4.827586 | 0.482759 | 0.214286 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111675 | 197 | 8 | 85 | 24.625 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.045685 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7197541b6894f659076c56eac2276ece55305d9c | 37,554 | py | Python | pybind/nos/v6_0_2c/interface/tengigabitethernet/switchport/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v6_0_2c/interface/tengigabitethernet/switchport/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/nos/v6_0_2c/interface/tengigabitethernet/switchport/__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... | 79.563559 | 590 | 0.770331 | 4,928 | 37,554 | 5.572646 | 0.038758 | 0.110771 | 0.042823 | 0.040784 | 0.915993 | 0.897458 | 0.877139 | 0.862501 | 0.842546 | 0.824121 | 0 | 0.00063 | 0.112105 | 37,554 | 471 | 591 | 79.732484 | 0.822967 | 0.169516 | 0 | 0.467626 | 0 | 0.035971 | 0.376754 | 0.197838 | 0 | 0 | 0 | 0 | 0 | 1 | 0.118705 | false | 0 | 0.064748 | 0 | 0.294964 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71e7f8987715e3c5c383ef6368d4922cf04efac8 | 89 | py | Python | arguments/__init__.py | qychen13/ClusterAlignReID | 9dca1a39b7f1035c9579d80bbb73aa45480a616c | [
"MIT"
] | 15 | 2020-08-24T22:47:39.000Z | 2021-04-19T07:51:32.000Z | arguments/__init__.py | qychen13/ClusterAlignReID | 9dca1a39b7f1035c9579d80bbb73aa45480a616c | [
"MIT"
] | 1 | 2021-10-14T03:07:12.000Z | 2021-11-05T13:59:55.000Z | arguments/__init__.py | qychen13/ClusterAlignReID | 9dca1a39b7f1035c9579d80bbb73aa45480a616c | [
"MIT"
] | 1 | 2020-08-26T02:48:40.000Z | 2020-08-26T02:48:40.000Z | from .arguments_train import ArgumentsTrainVal
from .arguments_test import ArgumentsTest
| 29.666667 | 46 | 0.88764 | 10 | 89 | 7.7 | 0.7 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 89 | 2 | 47 | 44.5 | 0.950617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e08b5229dea0a5c38c73e746a4f793e1f17d620b | 25,732 | py | Python | tests/test_analyzers.py | rwitzel/python-deequ | 9bcc6bc69f450b5459866448ebcbc1f8d65d65a2 | [
"Apache-2.0"
] | 293 | 2020-11-10T17:40:15.000Z | 2022-03-31T19:38:03.000Z | tests/test_analyzers.py | rwitzel/python-deequ | 9bcc6bc69f450b5459866448ebcbc1f8d65d65a2 | [
"Apache-2.0"
] | 82 | 2020-11-16T14:45:27.000Z | 2022-03-30T19:52:10.000Z | tests/test_analyzers.py | rwitzel/python-deequ | 9bcc6bc69f450b5459866448ebcbc1f8d65d65a2 | [
"Apache-2.0"
] | 77 | 2020-11-10T19:29:16.000Z | 2022-03-02T17:49:50.000Z | # -*- coding: utf-8 -*-
import unittest
import pytest
from pyspark.sql import Row
from pydeequ import PyDeequSession
from pydeequ.analyzers import (
AnalyzerContext,
ApproxCountDistinct,
ApproxQuantile,
ApproxQuantiles,
Completeness,
Compliance,
Correlation,
CountDistinct,
DataType... | 46.280576 | 120 | 0.648881 | 2,954 | 25,732 | 5.55044 | 0.050779 | 0.066846 | 0.077946 | 0.054465 | 0.8707 | 0.859539 | 0.809283 | 0.763296 | 0.724811 | 0.61082 | 0 | 0.034847 | 0.2015 | 25,732 | 555 | 121 | 46.363964 | 0.763128 | 0.006412 | 0 | 0.502101 | 0 | 0 | 0.041624 | 0.020538 | 0 | 0 | 0 | 0.001802 | 0.201681 | 1 | 0.147059 | false | 0 | 0.012605 | 0 | 0.210084 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e80f9b93887c913aa95c8c88d2d248c56d99b37e | 20 | py | Python | recon/__init__.py | sdnjyxr/deepcassi | 430120ed14c0b1dc6500b0c959d643c00489c320 | [
"Unlicense"
] | 41 | 2018-02-21T23:12:33.000Z | 2021-12-06T07:49:15.000Z | recon/__init__.py | sdnjyxr/deepcassi | 430120ed14c0b1dc6500b0c959d643c00489c320 | [
"Unlicense"
] | 4 | 2018-05-31T14:32:00.000Z | 2021-12-19T01:03:27.000Z | recon/__init__.py | sdnjyxr/deepcassi | 430120ed14c0b1dc6500b0c959d643c00489c320 | [
"Unlicense"
] | 12 | 2018-05-18T06:40:10.000Z | 2022-03-07T10:45:41.000Z |
import recon.model
| 6.666667 | 18 | 0.8 | 3 | 20 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 2 | 19 | 10 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e827c722b255c012e0317b810898f49feaabc74e | 41,823 | py | Python | tests/python/relay/test_op_qnn_conv2d.py | optima2005/incubator-tvm | 545f6ea3fede7a99f0a1b2c6933875550214a46d | [
"Apache-2.0"
] | 3 | 2020-03-12T10:25:51.000Z | 2020-08-05T05:36:23.000Z | tests/python/relay/test_op_qnn_conv2d.py | optima2005/incubator-tvm | 545f6ea3fede7a99f0a1b2c6933875550214a46d | [
"Apache-2.0"
] | null | null | null | tests/python/relay/test_op_qnn_conv2d.py | optima2005/incubator-tvm | 545f6ea3fede7a99f0a1b2c6933875550214a46d | [
"Apache-2.0"
] | 1 | 2018-10-19T18:11:41.000Z | 2018-10-19T18:11:41.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... | 45.410423 | 86 | 0.422806 | 3,840 | 41,823 | 4.316146 | 0.073438 | 0.069687 | 0.056474 | 0.049958 | 0.788585 | 0.770725 | 0.750573 | 0.738989 | 0.716725 | 0.701219 | 0 | 0.048101 | 0.499438 | 41,823 | 920 | 87 | 45.459783 | 0.743587 | 0.041532 | 0 | 0.811881 | 0 | 0 | 0.030253 | 0 | 0 | 0 | 0 | 0 | 0.007426 | 1 | 0.027228 | false | 0 | 0.008663 | 0.001238 | 0.043317 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e82912e6fbf405fbfd2750598cd0c5e4ffe22fbd | 27,135 | py | Python | test/projectfile/parser/test_api.py | tiborsimon/p | 44d1caf2bab001a2b0bf33c40d7669ae1206f534 | [
"MIT"
] | null | null | null | test/projectfile/parser/test_api.py | tiborsimon/p | 44d1caf2bab001a2b0bf33c40d7669ae1206f534 | [
"MIT"
] | null | null | null | test/projectfile/parser/test_api.py | tiborsimon/p | 44d1caf2bab001a2b0bf33c40d7669ae1206f534 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from unittest import TestCase
try:
import mock
except ImportError:
from unittest import mock
try:
import __builtin__
builtin_module = '__builtin__'
except ImportError:
builtin_module = 'builtins'
from test.helpers import *
from pro... | 30.765306 | 95 | 0.415736 | 2,126 | 27,135 | 5.10254 | 0.067262 | 0.010509 | 0.058997 | 0.075498 | 0.900719 | 0.894727 | 0.886707 | 0.882651 | 0.859698 | 0.838219 | 0 | 0.017397 | 0.459812 | 27,135 | 881 | 96 | 30.800227 | 0.722677 | 0.001548 | 0 | 0.687124 | 0 | 0 | 0.206601 | 0.003472 | 0 | 0 | 0 | 0 | 0.072202 | 1 | 0.048135 | false | 0 | 0.012034 | 0 | 0.063779 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c470a49de9d387d8b037e3f4380dafd7305f1b0 | 97 | py | Python | applications/gestiune/controllers/loguri.py | Vlad-Iliescu/gest | 32fbd3a859316727cd8564029d51b8d3c94cc0a0 | [
"BSD-3-Clause"
] | null | null | null | applications/gestiune/controllers/loguri.py | Vlad-Iliescu/gest | 32fbd3a859316727cd8564029d51b8d3c94cc0a0 | [
"BSD-3-Clause"
] | null | null | null | applications/gestiune/controllers/loguri.py | Vlad-Iliescu/gest | 32fbd3a859316727cd8564029d51b8d3c94cc0a0 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf8
# try something like
def index():
return dict(message="hello from loguri.py")
| 19.4 | 47 | 0.701031 | 14 | 97 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.175258 | 97 | 4 | 48 | 24.25 | 0.8375 | 0.319588 | 0 | 0 | 0 | 0 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 6 |
1c723a891f680f3c9bef907da5085cf7f8c8a562 | 135 | py | Python | pulotu/tests/test_functional.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | null | null | null | pulotu/tests/test_functional.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | 1 | 2021-11-19T16:50:11.000Z | 2021-11-19T16:55:17.000Z | pulotu/tests/test_functional.py | blurks/pulotu | 621460f3d4dbe05367ed4814b95d192df348cb72 | [
"Apache-2.0"
] | 1 | 2021-11-22T13:28:14.000Z | 2021-11-22T13:28:14.000Z | def test_home(app):
app.get_html('/', status=200)
app.get_html('/about', status=200)
app.get_html('/glossary', status=200)
| 27 | 41 | 0.651852 | 21 | 135 | 4 | 0.47619 | 0.214286 | 0.357143 | 0.357143 | 0.452381 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.148148 | 135 | 4 | 42 | 33.75 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c74537452a88536d1c522714805610fb28ad0635 | 95 | py | Python | automl_workflow/data_augmentor.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 3 | 2020-12-15T02:40:43.000Z | 2021-01-14T02:32:13.000Z | automl_workflow/data_augmentor.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | null | null | null | automl_workflow/data_augmentor.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 4 | 2021-01-07T05:41:38.000Z | 2021-04-07T08:02:22.000Z | from automl_workflow.api import DataAugmentor
class MyDataAugmentor(DataAugmentor):
pass | 15.833333 | 45 | 0.821053 | 10 | 95 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 6 | 46 | 15.833333 | 0.939024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c74ad6cd49c8e96ea19da9a93fdf26b767d0a7fb | 44 | py | Python | workon/templatetags/workon_google.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/templatetags/workon_google.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null | workon/templatetags/workon_google.py | dalou/django-workon | ef63c0a81c00ef560ed693e435cf3825f5170126 | [
"BSD-3-Clause"
] | null | null | null |
from ..contrib.google.templatetags import * | 22 | 43 | 0.795455 | 5 | 44 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 2 | 43 | 22 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7767e42e4cb67f83fc3434befe27155672b3c23 | 22 | py | Python | elliot/evaluation/metrics/rating/rmse/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/evaluation/metrics/rating/rmse/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/evaluation/metrics/rating/rmse/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .rmse import RMSE | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7deebcfc027d4463c4bdcba6da483001d88cdf9 | 139 | py | Python | cd/modules/voice/cogs/__init__.py | Axelware/cd-bot | d9b704d50b86ea25238242ae67c93e447b24636e | [
"MIT"
] | 1 | 2022-03-20T00:53:35.000Z | 2022-03-20T00:53:35.000Z | cd/modules/voice/cogs/__init__.py | Axelware/cd-bot | d9b704d50b86ea25238242ae67c93e447b24636e | [
"MIT"
] | 1 | 2022-03-23T18:38:52.000Z | 2022-03-23T22:24:53.000Z | cd/modules/voice/cogs/__init__.py | Axelware/cd-bot | d9b704d50b86ea25238242ae67c93e447b24636e | [
"MIT"
] | null | null | null | # Future
from __future__ import annotations
# Local
from .effects import *
from .play import *
from .player import *
from .queue import *
| 15.444444 | 34 | 0.748201 | 18 | 139 | 5.555556 | 0.5 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179856 | 139 | 8 | 35 | 17.375 | 0.877193 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7e18f0a7cb676ff301cd25c3dd2e27a28f0e211 | 50 | py | Python | keycloak_admin_aio/_resources/client_scopes/by_id/scope_mappings/realm/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | 12 | 2021-11-08T18:03:09.000Z | 2022-03-17T16:34:06.000Z | keycloak_admin_aio/_resources/client_scopes/by_id/scope_mappings/realm/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | null | null | null | keycloak_admin_aio/_resources/client_scopes/by_id/scope_mappings/realm/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | 1 | 2021-11-14T13:55:30.000Z | 2021-11-14T13:55:30.000Z | from .realm import ClientScopesScopeMappingsRealm
| 25 | 49 | 0.9 | 4 | 50 | 11.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.978261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7ec5c72d104b74bf7f280e1c424930b33158ea1 | 34 | py | Python | jsobj/__init__.py | gkovacs/jsobj | 5996c3a83b927c588b598e6032db507b195af1c5 | [
"MIT"
] | null | null | null | jsobj/__init__.py | gkovacs/jsobj | 5996c3a83b927c588b598e6032db507b195af1c5 | [
"MIT"
] | null | null | null | jsobj/__init__.py | gkovacs/jsobj | 5996c3a83b927c588b598e6032db507b195af1c5 | [
"MIT"
] | null | null | null | from .jsobj import Object # noqa
| 17 | 33 | 0.735294 | 5 | 34 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 1 | 34 | 34 | 0.925926 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c7f5911a22d70245a42f9b6648dbf3da36fbdc01 | 72,903 | py | Python | cryosat_toolkit/read_cryosat_L1b.py | Sibada/read-cryosat-2 | 3267a0bb52857feb142a67cbb0e352160415c28f | [
"MIT"
] | null | null | null | cryosat_toolkit/read_cryosat_L1b.py | Sibada/read-cryosat-2 | 3267a0bb52857feb142a67cbb0e352160415c28f | [
"MIT"
] | null | null | null | cryosat_toolkit/read_cryosat_L1b.py | Sibada/read-cryosat-2 | 3267a0bb52857feb142a67cbb0e352160415c28f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
u"""
read_cryosat_L1b.py
Written by Tyler Sutterley (10/2018)
Reads CryoSat Level-1b data products from baselines A, B and C
Supported CryoSat Modes: LRM, SAR, SARin, FDM, SID, GDR
INPUTS:
full_filename: full path of CryoSat .DBL file
OUTPUTS:
Location: Time and Orbit Group
Data... | 56.866615 | 112 | 0.712097 | 11,832 | 72,903 | 4.14427 | 0.051809 | 0.022678 | 0.064423 | 0.089202 | 0.898623 | 0.879657 | 0.865871 | 0.845845 | 0.834037 | 0.823861 | 0 | 0.040832 | 0.125893 | 72,903 | 1,281 | 113 | 56.911007 | 0.728647 | 0.269591 | 0 | 0.165796 | 0 | 0.001305 | 0.128941 | 0.02986 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007833 | false | 0 | 0.006527 | 0 | 0.022193 | 0.011749 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1bfab1d4a450c0a7f68eb395ac9dd8510ef3989c | 120 | py | Python | gphoto2_webui/app/views.py | daniego/gphoto2_webui | 1496b3935d06310a989eeb2728fea27752d4a185 | [
"MIT"
] | null | null | null | gphoto2_webui/app/views.py | daniego/gphoto2_webui | 1496b3935d06310a989eeb2728fea27752d4a185 | [
"MIT"
] | null | null | null | gphoto2_webui/app/views.py | daniego/gphoto2_webui | 1496b3935d06310a989eeb2728fea27752d4a185 | [
"MIT"
] | null | null | null | from django.shortcuts import render, get_object_or_404
def homepage(request):
return render(request, 'index.html')
| 24 | 54 | 0.783333 | 17 | 120 | 5.352941 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.125 | 120 | 4 | 55 | 30 | 0.838095 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
408b7beda91e3264d9e1d81a0d0a03c50d4732c0 | 171,193 | py | Python | vfp2py/VisualFoxpro9Lexer.py | wroldwiedbwe/vfp2py | 4e18f95249ee92b36f66e4882909187061e3cb97 | [
"MIT"
] | 36 | 2017-05-02T10:10:51.000Z | 2021-12-11T18:31:23.000Z | vfp2py/VisualFoxpro9Lexer.py | wroldwiedbwe/vfp2py | 4e18f95249ee92b36f66e4882909187061e3cb97 | [
"MIT"
] | 6 | 2017-09-21T02:17:49.000Z | 2021-10-20T19:48:48.000Z | vfp2py/VisualFoxpro9Lexer.py | wroldwiedbwe/vfp2py | 4e18f95249ee92b36f66e4882909187061e3cb97 | [
"MIT"
] | 20 | 2018-02-19T12:54:46.000Z | 2022-03-23T12:53:58.000Z | # Generated from VisualFoxpro9.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u013a")
buf.write("\u0c93\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\... | 68.669475 | 103 | 0.623811 | 33,579 | 171,193 | 3.178743 | 0.134697 | 0.069572 | 0.051968 | 0.057449 | 0.330666 | 0.276647 | 0.112143 | 0.09022 | 0.079409 | 0.070733 | 0 | 0.387652 | 0.134959 | 171,193 | 2,492 | 104 | 68.697031 | 0.333124 | 0.000257 | 0 | 0.002829 | 1 | 0.293048 | 0.676444 | 0.652435 | 0 | 0 | 0 | 0 | 0.001617 | 1 | 0.000808 | false | 0 | 0.001617 | 0 | 0.132579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40e255d5020c2321b9334f57a12198018e69ec3c | 87 | py | Python | test/support/__init__.py | cfelton/parallella_elink | ccd2e7d49cca6cf10ed327aadad2d096e38121eb | [
"MIT"
] | null | null | null | test/support/__init__.py | cfelton/parallella_elink | ccd2e7d49cca6cf10ed327aadad2d096e38121eb | [
"MIT"
] | null | null | null | test/support/__init__.py | cfelton/parallella_elink | ccd2e7d49cca6cf10ed327aadad2d096e38121eb | [
"MIT"
] | null | null | null |
from _elink_extract_ports import parse_ports
from _elink_prep_cosim import prep_cosim
| 21.75 | 44 | 0.896552 | 14 | 87 | 5 | 0.571429 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 87 | 3 | 45 | 29 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc09eb9a6b8d936a34a03659585eb609502f90ea | 7,818 | py | Python | purchase.py | mdy98cs/www | f21d87a20fac847f562f62d549d1e82de1be4df7 | [
"MIT"
] | 12 | 2017-06-08T00:21:27.000Z | 2021-09-11T09:27:01.000Z | purchase.py | mdy98cs/www | f21d87a20fac847f562f62d549d1e82de1be4df7 | [
"MIT"
] | 2 | 2018-06-01T14:46:36.000Z | 2018-12-17T19:50:44.000Z | purchase.py | mdy98cs/www | f21d87a20fac847f562f62d549d1e82de1be4df7 | [
"MIT"
] | 5 | 2018-08-06T08:25:17.000Z | 2021-05-06T04:31:37.000Z | from flask import Flask, render_template, request, session, url_for, redirect
import pymysql.cursors
import string, sys, random
from appdef import app, conn
@app.route('/purchasePageCustomer')
def purchasePage():
return render_template('purchaseCustomer.html')
@app.route('/purchasePageAgent')
def purchasePageAgent... | 43.433333 | 143 | 0.69647 | 975 | 7,818 | 5.433846 | 0.16 | 0.06644 | 0.033975 | 0.02416 | 0.782371 | 0.741601 | 0.741601 | 0.710834 | 0.710834 | 0.698377 | 0 | 0.006636 | 0.190458 | 7,818 | 180 | 144 | 43.433333 | 0.830463 | 0.120875 | 0 | 0.75 | 0 | 0.040541 | 0.117973 | 0.018689 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047297 | false | 0 | 0.027027 | 0.013514 | 0.141892 | 0.006757 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc14590bffa9364ecbfd1bda68c74109ef183cbf | 2,428 | py | Python | tests/unit/saltenv/ops/test_unit_remove_version.py | eitrtechnologies/saltenv | 66add964657fe270ed96ddfe50802e27539a6526 | [
"Apache-2.0"
] | 5 | 2022-03-25T17:15:04.000Z | 2022-03-28T23:24:26.000Z | tests/unit/saltenv/ops/test_unit_remove_version.py | eitrtechnologies/saltenv | 66add964657fe270ed96ddfe50802e27539a6526 | [
"Apache-2.0"
] | null | null | null | tests/unit/saltenv/ops/test_unit_remove_version.py | eitrtechnologies/saltenv | 66add964657fe270ed96ddfe50802e27539a6526 | [
"Apache-2.0"
] | 2 | 2022-03-26T06:33:30.000Z | 2022-03-29T19:43:50.000Z | from pathlib import Path
from unittest.mock import patch
async def test_unit_remove_version_exists(mock_hub, hub, tmp_path):
"""
SCENARIO #1:
- The version exists within LOCAL_VERSIONS
"""
# Link the function to the mock_hub
mock_hub.saltenv.ops.remove_version = hub.saltenv.ops.remove_version
... | 35.188406 | 81 | 0.703048 | 339 | 2,428 | 4.811209 | 0.20354 | 0.119559 | 0.095647 | 0.093807 | 0.874923 | 0.874923 | 0.790926 | 0.767627 | 0.767627 | 0.767627 | 0 | 0.024659 | 0.214992 | 2,428 | 68 | 82 | 35.705882 | 0.83106 | 0.261944 | 0 | 0.655172 | 0 | 0 | 0.087012 | 0.046065 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0 | false | 0 | 0.068966 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dc168f0c6e44451ca23d17e36f6d08f3a8cd48a4 | 124 | py | Python | inna/compiler/applications/resnet/__init__.py | caoqichun/inspur-inna | 0848ec5db3c04aa8e2b65caff8095dd3ac4040ca | [
"Apache-2.0"
] | null | null | null | inna/compiler/applications/resnet/__init__.py | caoqichun/inspur-inna | 0848ec5db3c04aa8e2b65caff8095dd3ac4040ca | [
"Apache-2.0"
] | null | null | null | inna/compiler/applications/resnet/__init__.py | caoqichun/inspur-inna | 0848ec5db3c04aa8e2b65caff8095dd3ac4040ca | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from . import tensorflow
from . import keras
from . import mxnet
from . import onnx
| 17.714286 | 38 | 0.798387 | 17 | 124 | 5.529412 | 0.470588 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169355 | 124 | 6 | 39 | 20.666667 | 0.912621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.