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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9f8b6c3fb3ea7a7f3f7103b5d427ef7958286de7 | 9 | py | Python | .history/ClassFiles/Python301/ObjectOrientatedProgramming/ErrorCatching/ErrorsExceptions_20210216162852.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/Python301/ObjectOrientatedProgramming/ErrorCatching/ErrorsExceptions_20210216162852.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | .history/ClassFiles/Python301/ObjectOrientatedProgramming/ErrorCatching/ErrorsExceptions_20210216162852.py | minefarmer/CompletePython | 6de46e7ee29d9e4eaada60352c193f552afd6f15 | [
"Unlicense"
] | null | null | null | try:
| 4.5 | 4 | 0.333333 | 1 | 9 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 9 | 2 | 5 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f8c30defd5fac4771ba01e052e000cd59ac7496 | 21,228 | py | Python | src/diem/testing/suites/offchainv2/test_receive_payment.py | isabella232/client-sdk-python | 2cbeb77eadc16a300b0026df513aef84152a8f94 | [
"Apache-2.0"
] | null | null | null | src/diem/testing/suites/offchainv2/test_receive_payment.py | isabella232/client-sdk-python | 2cbeb77eadc16a300b0026df513aef84152a8f94 | [
"Apache-2.0"
] | 1 | 2021-06-01T11:49:47.000Z | 2021-06-01T11:49:47.000Z | src/diem/testing/suites/offchainv2/test_receive_payment.py | isabella232/client-sdk-python | 2cbeb77eadc16a300b0026df513aef84152a8f94 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) The Diem Core Contributors
# SPDX-License-Identifier: Apache-2.0
from diem.testing.miniwallet import RestClient, AccountResource, Transaction, AppConfig
from diem import offchain, jsonrpc, stdlib, utils, txnmetadata, identifier
from typing import Optional, List
from ..conftest import wait_for, wait_for... | 46.654945 | 170 | 0.742321 | 2,815 | 21,228 | 5.298046 | 0.076732 | 0.054982 | 0.09937 | 0.03138 | 0.811519 | 0.790063 | 0.783827 | 0.7617 | 0.758683 | 0.738836 | 0 | 0.006157 | 0.188996 | 21,228 | 454 | 171 | 46.757709 | 0.86013 | 0.384162 | 0 | 0.627737 | 0 | 0 | 0.039281 | 0.00652 | 0 | 0 | 0 | 0 | 0.007299 | 1 | 0.054745 | false | 0 | 0.018248 | 0 | 0.072993 | 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 |
4c8553c4c038e931d468bd5a062559455561665c | 22 | py | Python | Uncommon/Python/DataStructures/Heaps/__init__.py | MattiKemp/Data-Structures-And-Algorithms | 37a4eb4f092f5a058643ef5ac302fe16d97f84dc | [
"Unlicense"
] | null | null | null | Uncommon/Python/DataStructures/Heaps/__init__.py | MattiKemp/Data-Structures-And-Algorithms | 37a4eb4f092f5a058643ef5ac302fe16d97f84dc | [
"Unlicense"
] | null | null | null | Uncommon/Python/DataStructures/Heaps/__init__.py | MattiKemp/Data-Structures-And-Algorithms | 37a4eb4f092f5a058643ef5ac302fe16d97f84dc | [
"Unlicense"
] | null | null | null | from . import MaxHeap
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
4ca2b339c8c91583e4aec5fc04fb6bd537db5fb1 | 47 | py | Python | tests/roots/test-ext-autodoc/target/canonical/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 4,973 | 2015-01-03T15:44:00.000Z | 2022-03-31T03:11:51.000Z | tests/roots/test-ext-autodoc/target/canonical/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 7,850 | 2015-01-02T08:09:25.000Z | 2022-03-31T18:57:40.000Z | tests/roots/test-ext-autodoc/target/canonical/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 2,179 | 2015-01-03T15:26:53.000Z | 2022-03-31T12:22:44.000Z | from target.canonical.original import Bar, Foo
| 23.5 | 46 | 0.829787 | 7 | 47 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cb27c30ea2ef1fc9472bcaa7713000f3e9afe9a | 14,879 | py | Python | evalml/tests/component_tests/test_delayed_features_transformer.py | sharshofski/evalml | f13dcd969e86b72ba01ca520247a16850030dcb0 | [
"BSD-3-Clause"
] | null | null | null | evalml/tests/component_tests/test_delayed_features_transformer.py | sharshofski/evalml | f13dcd969e86b72ba01ca520247a16850030dcb0 | [
"BSD-3-Clause"
] | null | null | null | evalml/tests/component_tests/test_delayed_features_transformer.py | sharshofski/evalml | f13dcd969e86b72ba01ca520247a16850030dcb0 | [
"BSD-3-Clause"
] | null | null | null | import pandas as pd
import pytest
from pandas.testing import assert_frame_equal
from evalml.pipelines import DelayedFeatureTransformer
@pytest.fixture
def delayed_features_data():
X = pd.DataFrame({"feature": range(1, 32)})
y = pd.Series(range(1, 32))
return X, y
def test_delayed_features_transformer_i... | 54.105455 | 129 | 0.613213 | 1,986 | 14,879 | 4.219033 | 0.058912 | 0.057644 | 0.058718 | 0.041532 | 0.866213 | 0.837928 | 0.824084 | 0.793651 | 0.770378 | 0.746032 | 0 | 0.028314 | 0.268902 | 14,879 | 274 | 130 | 54.30292 | 0.741956 | 0.008065 | 0 | 0.593886 | 0 | 0 | 0.120968 | 0.00366 | 0 | 0 | 0 | 0 | 0.078603 | 1 | 0.065502 | false | 0 | 0.017467 | 0 | 0.100437 | 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 |
4cc507a7f6a83b99e901e3ef3111fd3ede4059cd | 6,268 | py | Python | tests/test_geometry.py | samuelpeet/conehead | 0e18ef6b80104aeb97ab58fc33efa776ad9b6e10 | [
"MIT"
] | 27 | 2018-06-27T21:59:38.000Z | 2022-02-22T06:45:32.000Z | tests/test_geometry.py | lynch829/conehead | 0e18ef6b80104aeb97ab58fc33efa776ad9b6e10 | [
"MIT"
] | 4 | 2018-07-18T08:35:40.000Z | 2022-03-08T04:34:39.000Z | tests/test_geometry.py | lynch829/conehead | 0e18ef6b80104aeb97ab58fc33efa776ad9b6e10 | [
"MIT"
] | 15 | 2018-07-17T09:48:02.000Z | 2022-03-28T20:33:50.000Z | import pytest
import numpy as np
from conehead.source import Source
from conehead.geometry import (
Transform, line_block_plane_collision,
line_calc_limit_plane_collision, isocentre_plane_position
)
class TestGeometry:
def test_beam_to_global_G0_C0(self):
""" Test at G0, C0 """
source = So... | 42.067114 | 79 | 0.651723 | 831 | 6,268 | 4.637786 | 0.084236 | 0.054489 | 0.029061 | 0.067462 | 0.920602 | 0.904774 | 0.876232 | 0.84795 | 0.84795 | 0.819408 | 0 | 0.054216 | 0.226069 | 6,268 | 149 | 80 | 42.067114 | 0.74026 | 0.02776 | 0 | 0.650407 | 0 | 0 | 0.028178 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 1 | 0.121951 | false | 0 | 0.03252 | 0 | 0.162602 | 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 |
4cf55ca2c14c587b9a8e821b5a57abc3488e15b0 | 23 | py | Python | mlbriefcase/clarifai/__init__.py | Bhaskers-Blu-Org2/Briefcase | f551079b05d3f8494cdff6a0b393969def5a2443 | [
"MIT"
] | 2 | 2020-05-04T12:59:05.000Z | 2020-05-05T09:31:43.000Z | mlbriefcase/clarifai/__init__.py | Bhaskers-Blu-Org2/Briefcase | f551079b05d3f8494cdff6a0b393969def5a2443 | [
"MIT"
] | 4 | 2020-02-05T11:34:51.000Z | 2020-02-05T11:35:12.000Z | mlbriefcase/clarifai/__init__.py | microsoft/Briefcase | f551079b05d3f8494cdff6a0b393969def5a2443 | [
"MIT"
] | 5 | 2020-06-30T16:02:57.000Z | 2021-09-15T06:39:08.000Z | from .clarifai import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 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 |
4cfb53c55b9529f9666db852343d77bd5d499fa3 | 68 | py | Python | python_print_testFile.py | PCSailor/python_openpyxl_dcflog | ee10a3cde550b0d76fd033912de32af38d010589 | [
"MIT"
] | null | null | null | python_print_testFile.py | PCSailor/python_openpyxl_dcflog | ee10a3cde550b0d76fd033912de32af38d010589 | [
"MIT"
] | null | null | null | python_print_testFile.py | PCSailor/python_openpyxl_dcflog | ee10a3cde550b0d76fd033912de32af38d010589 | [
"MIT"
] | null | null | null | import os
os.startfile('C:\Users\pc\Desktop\testFile.txt', 'print')
| 22.666667 | 57 | 0.735294 | 11 | 68 | 4.545455 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 68 | 2 | 58 | 34 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0.544118 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
e234da322c555ded802334e238ec780051473e7e | 78 | py | Python | k2/python/__init__.py | open-speech/sequeender | 7a64e1a7d8a4b05b0b82e17c542f9f7f943a41e0 | [
"MIT"
] | 5 | 2020-11-19T15:49:55.000Z | 2021-06-10T23:51:52.000Z | k2/python/__init__.py | open-speech/sequeender | 7a64e1a7d8a4b05b0b82e17c542f9f7f943a41e0 | [
"MIT"
] | null | null | null | k2/python/__init__.py | open-speech/sequeender | 7a64e1a7d8a4b05b0b82e17c542f9f7f943a41e0 | [
"MIT"
] | null | null | null | from k2.python import host
from k2.python import k2
__all__ = ['host', 'k2']
| 15.6 | 26 | 0.705128 | 13 | 78 | 3.923077 | 0.461538 | 0.235294 | 0.470588 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0.166667 | 78 | 4 | 27 | 19.5 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e26019b041e9c05749e492c538a17d049ff4700f | 179 | py | Python | smartsim/database/__init__.py | billschereriii/SmartSim | 7ef4cffeba23fe19b931bdae819f4de99bb112a3 | [
"BSD-2-Clause"
] | null | null | null | smartsim/database/__init__.py | billschereriii/SmartSim | 7ef4cffeba23fe19b931bdae819f4de99bb112a3 | [
"BSD-2-Clause"
] | null | null | null | smartsim/database/__init__.py | billschereriii/SmartSim | 7ef4cffeba23fe19b931bdae819f4de99bb112a3 | [
"BSD-2-Clause"
] | null | null | null | from .orchestrator import Orchestrator
# decrecated classes
from .orchestrator import (
PBSOrchestrator,
CobaltOrchestrator,
SlurmOrchestrator,
LSFOrchestrator
)
| 17.9 | 38 | 0.77095 | 13 | 179 | 10.615385 | 0.692308 | 0.231884 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184358 | 179 | 9 | 39 | 19.888889 | 0.945205 | 0.100559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e26c0894e485d89f44f411c4cf01f9ce43edb484 | 505 | py | Python | sdk/python/pulumi_google_native/policysimulator/v1beta1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/policysimulator/v1beta1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/policysimulator/v1beta1/__init__.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from ... import _utilities
import typing
# Export this package's modules as members:
from ._enums import *
from .folder_replay import *
from .get_folde... | 29.705882 | 80 | 0.750495 | 74 | 505 | 4.986486 | 0.567568 | 0.216802 | 0.260163 | 0.154472 | 0.135501 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002364 | 0.162376 | 505 | 16 | 81 | 31.5625 | 0.869976 | 0.40198 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e26dae8ad85f0b75ccf8a33a99db4a59d526c17c | 67 | py | Python | Main.py | joshuakristanto/Tutorial-1 | fa5a844c399b6de6a6759e3b188505bcec639fa4 | [
"MIT"
] | null | null | null | Main.py | joshuakristanto/Tutorial-1 | fa5a844c399b6de6a6759e3b188505bcec639fa4 | [
"MIT"
] | null | null | null | Main.py | joshuakristanto/Tutorial-1 | fa5a844c399b6de6a6759e3b188505bcec639fa4 | [
"MIT"
] | null | null | null | print("BRANCH2")
print("BRANCH1")
print("BRANCH1")
print("BRANCH3") | 16.75 | 16 | 0.716418 | 8 | 67 | 6 | 0.5 | 0.5 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.044776 | 67 | 4 | 17 | 16.75 | 0.6875 | 0 | 0 | 0.5 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
e2937367253f413c2b2fa5faa517843f5da98980 | 154 | py | Python | tests/pybind11/foo.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | 5 | 2021-04-29T21:07:18.000Z | 2021-09-29T08:46:08.000Z | tests/pybind11/foo.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | null | null | null | tests/pybind11/foo.py | Erotemic/misc | 6f8460a690d05e7e0117becc6cae9902cbe2cedd | [
"Apache-2.0"
] | 1 | 2018-04-07T12:26:21.000Z | 2018-04-07T12:26:21.000Z | print('Importing {}'.format(__file__))
def bar():
import ctypes
print('ctypes = {!r}'.format(ctypes))
print('hi from a pure python module')
| 19.25 | 41 | 0.636364 | 20 | 154 | 4.7 | 0.75 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188312 | 154 | 7 | 42 | 22 | 0.752 | 0 | 0 | 0 | 0 | 0 | 0.344156 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0.6 | 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 | 0 | 1 | 0 | 6 |
e2ad71938d8a6fa26a9d38c139d95813db2805bb | 176 | py | Python | tests/conftest.py | anthonycorletti/python-project-template | bd1aebe8fc77984f1008a89491f596f951461dac | [
"MIT"
] | 1 | 2022-01-06T20:30:40.000Z | 2022-01-06T20:30:40.000Z | tests/conftest.py | anthonycorletti/python-project-template | bd1aebe8fc77984f1008a89491f596f951461dac | [
"MIT"
] | null | null | null | tests/conftest.py | anthonycorletti/python-project-template | bd1aebe8fc77984f1008a89491f596f951461dac | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture(scope="session", autouse=True)
def _session() -> None:
pass
@pytest.fixture(scope="module", autouse=True)
def _module() -> None:
pass
| 14.666667 | 46 | 0.681818 | 22 | 176 | 5.363636 | 0.5 | 0.220339 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 176 | 11 | 47 | 16 | 0.797297 | 0 | 0 | 0.285714 | 0 | 0 | 0.073864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.285714 | 0.142857 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
2c3bfeea4bcdb9e092517988e5ce443cb4ff0888 | 192 | py | Python | utils/__init__.py | harryefstra/-multi-UAV-simulator | 903398981b0a33226d70a966ff0597decd248124 | [
"MIT"
] | 22 | 2021-04-07T21:10:53.000Z | 2022-03-26T08:21:06.000Z | utils/__init__.py | harryefstra/-multi-UAV-simulator | 903398981b0a33226d70a966ff0597decd248124 | [
"MIT"
] | 2 | 2021-04-12T06:23:50.000Z | 2021-05-20T04:33:35.000Z | utils/__init__.py | harryefstra/-multi-UAV-simulator | 903398981b0a33226d70a966ff0597decd248124 | [
"MIT"
] | 4 | 2021-05-21T06:11:34.000Z | 2022-03-09T18:41:10.000Z | from .rotationConversion import *
from .stateConversions import *
from .mixer import *
from .display import *
from .animation import *
from .pf_plot import *
from .quaternionFunctions import * | 27.428571 | 34 | 0.786458 | 22 | 192 | 6.818182 | 0.454545 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 192 | 7 | 34 | 27.428571 | 0.909091 | 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 |
2c84c95e410e8d657d5c603e76318ab4c9064a6b | 24 | py | Python | bmi/__init__.py | romenrg/body-mass-index | 462c9984a21cfc306c9466b20aafd184e6b1be37 | [
"MIT"
] | 2 | 2020-12-18T10:03:59.000Z | 2021-01-16T12:50:15.000Z | bmi/__init__.py | romenrg/body-mass-index | 462c9984a21cfc306c9466b20aafd184e6b1be37 | [
"MIT"
] | null | null | null | bmi/__init__.py | romenrg/body-mass-index | 462c9984a21cfc306c9466b20aafd184e6b1be37 | [
"MIT"
] | null | null | null | from bmi.bmi import Bmi
| 12 | 23 | 0.791667 | 5 | 24 | 3.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
2ccb8f208046e2cb3b7d6733f42219a464bccb46 | 71,906 | py | Python | mac/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datacatalog/v1beta1/datacatalog_v1beta1_client.py | bopopescu/cndw | ee432efef88a4351b355f3d6d5350defc7f4246b | [
"Apache-2.0"
] | null | null | null | mac/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datacatalog/v1beta1/datacatalog_v1beta1_client.py | bopopescu/cndw | ee432efef88a4351b355f3d6d5350defc7f4246b | [
"Apache-2.0"
] | null | null | null | mac/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/datacatalog/v1beta1/datacatalog_v1beta1_client.py | bopopescu/cndw | ee432efef88a4351b355f3d6d5350defc7f4246b | [
"Apache-2.0"
] | null | null | null | """Generated client library for datacatalog version v1beta1."""
# NOTE: This file is autogenerated and should not be edited by hand.
from apitools.base.py import base_api
from googlecloudsdk.third_party.apis.datacatalog.v1beta1 import datacatalog_v1beta1_messages as messages
class DatacatalogV1beta1(base_api.BaseApiC... | 43.290789 | 146 | 0.726407 | 7,181 | 71,906 | 7.104025 | 0.055285 | 0.04587 | 0.035755 | 0.021641 | 0.778923 | 0.770788 | 0.744796 | 0.737327 | 0.711609 | 0.67458 | 0 | 0.006659 | 0.18342 | 71,906 | 1,660 | 147 | 43.316867 | 0.862152 | 0.338275 | 0 | 0.650465 | 1 | 0.002068 | 0.32087 | 0.276253 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062048 | false | 0 | 0.011375 | 0 | 0.146846 | 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 |
e2c78ae147c149861a036c85e70bc05441180034 | 9,974 | py | Python | test.py | michalc/lowhaio-redirect | 3fdbf84153dba1d4403dc5ea47af08628cd50b89 | [
"MIT"
] | null | null | null | test.py | michalc/lowhaio-redirect | 3fdbf84153dba1d4403dc5ea47af08628cd50b89 | [
"MIT"
] | null | null | null | test.py | michalc/lowhaio-redirect | 3fdbf84153dba1d4403dc5ea47af08628cd50b89 | [
"MIT"
] | null | null | null | import asyncio
import unittest
from aiodnsresolver import (
Resolver,
IPv4AddressExpiresAt,
)
from aiohttp import (
web,
)
from lowhaio import (
Pool,
buffered,
)
from lowhaio_redirect import (
HttpTooManyRedirects,
redirectable,
)
def async_test(func):
def wrapper(*args, **kwargs):
... | 28.66092 | 71 | 0.541307 | 1,083 | 9,974 | 4.76916 | 0.092336 | 0.040271 | 0.043562 | 0.0515 | 0.83001 | 0.81607 | 0.811617 | 0.775799 | 0.775799 | 0.766893 | 0 | 0.024619 | 0.348406 | 9,974 | 347 | 72 | 28.743516 | 0.770118 | 0 | 0 | 0.689655 | 0 | 0 | 0.056647 | 0 | 0 | 0 | 0 | 0 | 0.048276 | 1 | 0.013793 | false | 0 | 0.02069 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e2c8e839d7c911d0ceaa9769dd82f80d3808501a | 110 | py | Python | spikelearn/measures/__init__.py | EstevaoVieira/spikelearn | 060206558cc37c31493f1c9f01412d90375403cb | [
"MIT"
] | null | null | null | spikelearn/measures/__init__.py | EstevaoVieira/spikelearn | 060206558cc37c31493f1c9f01412d90375403cb | [
"MIT"
] | null | null | null | spikelearn/measures/__init__.py | EstevaoVieira/spikelearn | 060206558cc37c31493f1c9f01412d90375403cb | [
"MIT"
] | null | null | null | from .univariate import bracketing, unit_similarity_evolution, ramping_trajectory, ramping_p, cohen_d, dprime
| 55 | 109 | 0.863636 | 14 | 110 | 6.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 110 | 1 | 110 | 110 | 0.891089 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e2dbf602e11cf7df1307a3437c35cf8de7e7316d | 281 | py | Python | venv/lib/python3.9/site-packages/google/longrunning/operations_grpc_pb2.py | qarik-hanrattyjen/apache-airflow-backport-providers-google-2021.3.3 | 630dcef73e6a258b6e9a52f934e2dd912ce741f8 | [
"Apache-2.0"
] | 5 | 2020-06-24T13:10:33.000Z | 2021-02-19T09:28:11.000Z | venv/lib/python3.9/site-packages/google/longrunning/operations_grpc_pb2.py | qarik-hanrattyjen/apache-airflow-backport-providers-google-2021.3.3 | 630dcef73e6a258b6e9a52f934e2dd912ce741f8 | [
"Apache-2.0"
] | 38 | 2020-05-15T23:28:00.000Z | 2022-03-22T16:52:08.000Z | venv/lib/python3.9/site-packages/google/longrunning/operations_grpc_pb2.py | qarik-hanrattyjen/apache-airflow-backport-providers-google-2021.3.3 | 630dcef73e6a258b6e9a52f934e2dd912ce741f8 | [
"Apache-2.0"
] | 10 | 2020-04-26T09:58:30.000Z | 2022-03-18T21:45:49.000Z | # This module is provided for backwards compatibility with
# googleapis-common-protos <= 1.52.0, where this import path contained
# all of the message and gRPC definitions.
from google.longrunning.operations_proto_pb2 import *
from google.longrunning.operations_pb2_grpc import *
| 40.142857 | 70 | 0.814947 | 40 | 281 | 5.625 | 0.775 | 0.088889 | 0.186667 | 0.275556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.124555 | 281 | 6 | 71 | 46.833333 | 0.890244 | 0.590747 | 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 |
e2df9ff096d04b48b52b94ca4d249f433fda5ca2 | 44 | py | Python | app/models/__init__.py | QUDUSKUNLE/OPEN-API | 7bdf31af5fa99c0b054f5dd9dff478c8900d3cac | [
"MIT"
] | null | null | null | app/models/__init__.py | QUDUSKUNLE/OPEN-API | 7bdf31af5fa99c0b054f5dd9dff478c8900d3cac | [
"MIT"
] | 3 | 2020-02-11T23:16:23.000Z | 2021-06-10T21:33:02.000Z | app/models/__init__.py | QUDUSKUNLE/OPEN-API | 7bdf31af5fa99c0b054f5dd9dff478c8900d3cac | [
"MIT"
] | null | null | null | from .articles import *
from .user 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 |
e2fd42527597235445d280a87c7d8433f7b1afbe | 71 | py | Python | boardgames/app/search/__init__.py | codingblocks/-search-driven-apps | a133e57352394b46b0794c4b8fbd62ec31821844 | [
"MIT"
] | 5 | 2018-06-18T21:38:21.000Z | 2018-09-26T15:00:57.000Z | boardgames/app/search/__init__.py | codingblocks/-search-driven-apps | a133e57352394b46b0794c4b8fbd62ec31821844 | [
"MIT"
] | 9 | 2018-05-11T19:19:09.000Z | 2018-05-20T21:34:52.000Z | boardgames/app/search/__init__.py | codingblocks/-search-driven-apps | a133e57352394b46b0794c4b8fbd62ec31821844 | [
"MIT"
] | 4 | 2018-05-09T02:52:37.000Z | 2018-06-11T15:59:58.000Z | from import_converter import Import_Converter
from search import Search | 35.5 | 45 | 0.901408 | 10 | 71 | 6.2 | 0.4 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 71 | 2 | 46 | 35.5 | 0.96875 | 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 |
39107e5fa79e4657c1c8860f216d73211167717a | 4,439 | py | Python | tests/infrastructure/api/views/unit/test_exchange_rate_views.py | sdediego/forex-django-clean-architecture | 915a8d844a8db5a40c726fe4cf9f6d50f7c95275 | [
"MIT"
] | 8 | 2021-11-09T16:43:38.000Z | 2022-03-25T16:04:26.000Z | tests/infrastructure/api/views/unit/test_exchange_rate_views.py | sdediego/forex-django-clean-architecture | 915a8d844a8db5a40c726fe4cf9f6d50f7c95275 | [
"MIT"
] | null | null | null | tests/infrastructure/api/views/unit/test_exchange_rate_views.py | sdediego/forex-django-clean-architecture | 915a8d844a8db5a40c726fe4cf9f6d50f7c95275 | [
"MIT"
] | 2 | 2021-11-16T21:17:31.000Z | 2022-02-11T11:15:29.000Z | # coding: utf-8
import datetime
import random
from http import HTTPStatus
from unittest.mock import Mock
from django.test.client import RequestFactory
import pytest
from src.infrastructure.api.views.exchange_rate import (
CurrencyViewSet, CurrencyExchangeRateViewSet)
from tests.fixtures import currency, exchang... | 36.089431 | 78 | 0.711421 | 508 | 4,439 | 6.011811 | 0.161417 | 0.058939 | 0.103143 | 0.08186 | 0.813032 | 0.792076 | 0.777014 | 0.743287 | 0.743287 | 0.706942 | 0 | 0.008208 | 0.176616 | 4,439 | 122 | 79 | 36.385246 | 0.82736 | 0.002929 | 0 | 0.607477 | 0 | 0 | 0.065099 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 1 | 0.046729 | false | 0 | 0.074766 | 0 | 0.121495 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1abbfb923b83352ce0bcf595d173f0880e36e2ff | 116 | py | Python | apps/galleryapp/admin.py | itsMagondu/MaMaSe | 0287e092121155314e76124425ef26bb4154847f | [
"Apache-2.0"
] | 3 | 2016-03-08T15:15:00.000Z | 2020-03-05T05:32:19.000Z | apps/galleryapp/admin.py | itsMagondu/MaMaSe | 0287e092121155314e76124425ef26bb4154847f | [
"Apache-2.0"
] | 65 | 2015-09-25T13:32:12.000Z | 2022-03-11T23:22:12.000Z | apps/galleryapp/admin.py | itsMagondu/MaMaSe | 0287e092121155314e76124425ef26bb4154847f | [
"Apache-2.0"
] | 2 | 2017-05-16T07:56:10.000Z | 2020-06-06T06:01:31.000Z | from django.contrib import admin
from models import *
admin.site.register(GalleryApp)
admin.site.register(ImageApp) | 23.2 | 32 | 0.827586 | 16 | 116 | 6 | 0.625 | 0.229167 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 116 | 5 | 33 | 23.2 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
46f167daa0095c51d03f07e6ca5eaf924ed84cd2 | 19,831 | py | Python | tests/pyxelrest_service/test_pyxelrest.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | 7 | 2018-12-07T10:08:53.000Z | 2021-03-24T07:52:36.000Z | tests/pyxelrest_service/test_pyxelrest.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | 76 | 2018-12-07T10:29:48.000Z | 2021-11-17T00:54:24.000Z | tests/pyxelrest_service/test_pyxelrest.py | Colin-b/pyxelrest | 5c8db40d1537d0f9c29acd928ec9519b6bb557ec | [
"MIT"
] | null | null | null | from requests import PreparedRequest
from responses import RequestsMock
from tests import loader
def _get_request(responses: RequestsMock, url: str) -> PreparedRequest:
for call in responses.calls:
if call.request.url == url:
# Pop out verified request (to be able to check multiple requests)
... | 27.466759 | 112 | 0.50527 | 1,712 | 19,831 | 5.638435 | 0.076519 | 0.07003 | 0.091578 | 0.080804 | 0.923547 | 0.918885 | 0.909458 | 0.904278 | 0.904278 | 0.903657 | 0 | 0.033022 | 0.352529 | 19,831 | 721 | 113 | 27.504854 | 0.718769 | 0.003227 | 0 | 0.596184 | 0 | 0.004769 | 0.250645 | 0 | 0 | 0 | 0 | 0 | 0.073132 | 1 | 0.039746 | false | 0 | 0.004769 | 0 | 0.046105 | 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 |
46f47c2e1b90ecd236bdec1fad5d9a15f4d472cd | 7,619 | py | Python | guiauto/gui/controlR2W.py | saasaa831/guidesktop | 68abe5e896c4d29cf12898abd3b27c60553a3948 | [
"Apache-2.0"
] | null | null | null | guiauto/gui/controlR2W.py | saasaa831/guidesktop | 68abe5e896c4d29cf12898abd3b27c60553a3948 | [
"Apache-2.0"
] | null | null | null | guiauto/gui/controlR2W.py | saasaa831/guidesktop | 68abe5e896c4d29cf12898abd3b27c60553a3948 | [
"Apache-2.0"
] | null | null | null | from guiauto.gui.base_test import BaseTest
from guiauto.util.guiutils import guiHelper
from guiautomation import guiautomation as gauto
import logging
logger = logging.getLogger(__name__)
class TextControl(BaseTest):
def __init__(self, driver, parent_handle):
super().__init__(driver, parent_handle)
... | 40.743316 | 103 | 0.738417 | 861 | 7,619 | 6.138211 | 0.101045 | 0.157427 | 0.194134 | 0.068307 | 0.793377 | 0.78316 | 0.78316 | 0.766509 | 0.746074 | 0.724503 | 0 | 0.001259 | 0.166295 | 7,619 | 186 | 104 | 40.962366 | 0.830762 | 0.0084 | 0 | 0.673759 | 0 | 0 | 0.003707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.170213 | false | 0 | 0.028369 | 0 | 0.347518 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
20161b2a6a0832dea07aedbb5015279cb2427c54 | 58 | py | Python | python/eet/transformers/__init__.py | NetEase-FuXi/EET | f827cef4bfcf8b18e2d4169469052440fe2b216f | [
"Apache-2.0"
] | 174 | 2021-04-06T08:49:42.000Z | 2022-03-31T11:54:44.000Z | python/eet/transformers/__init__.py | NetEase-FuXi/EET | f827cef4bfcf8b18e2d4169469052440fe2b216f | [
"Apache-2.0"
] | 3 | 2021-05-15T14:26:26.000Z | 2021-09-28T08:20:29.000Z | python/eet/transformers/__init__.py | NetEase-FuXi/EET | f827cef4bfcf8b18e2d4169469052440fe2b216f | [
"Apache-2.0"
] | 37 | 2021-04-06T09:05:40.000Z | 2022-03-30T12:23:20.000Z | from .modeling_bert import *
from .modeling_gpt2 import *
| 19.333333 | 28 | 0.793103 | 8 | 58 | 5.5 | 0.625 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.137931 | 58 | 2 | 29 | 29 | 0.86 | 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 |
647474c5826ab0a75ac2e6df4c048723ea991de5 | 13,020 | py | Python | tests/client/test_client.py | pronovic/vplan | aee40c5f9ed72c11cd0d24631b8530af65961bc9 | [
"Apache-2.0"
] | null | null | null | tests/client/test_client.py | pronovic/vplan | aee40c5f9ed72c11cd0d24631b8530af65961bc9 | [
"Apache-2.0"
] | null | null | null | tests/client/test_client.py | pronovic/vplan | aee40c5f9ed72c11cd0d24631b8530af65961bc9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# vim: set ft=python ts=4 sw=4 expandtab:
import json
from unittest.mock import MagicMock, patch
import pytest
from click import ClickException
from requests import HTTPError, Timeout
from vplan.client.client import (
_raise_for_status,
create_or_replace_account,
create_plan,
... | 44.285714 | 131 | 0.713057 | 1,665 | 13,020 | 5.216216 | 0.075075 | 0.047899 | 0.083823 | 0.099021 | 0.85734 | 0.849165 | 0.844675 | 0.830743 | 0.80852 | 0.769833 | 0 | 0.004377 | 0.175346 | 13,020 | 293 | 132 | 44.43686 | 0.804508 | 0.009293 | 0 | 0.551181 | 0 | 0 | 0.154127 | 0.077723 | 0 | 0 | 0 | 0 | 0.232283 | 1 | 0.110236 | false | 0 | 0.027559 | 0 | 0.15748 | 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 |
64d3e557365a592609b83f9d878d6f2e3da66df7 | 150 | py | Python | log/views.py | mushilianmeng/auto_ops_cmdb | 4bb63e5236b221a1923e7ca46808096d80aab4f1 | [
"Apache-2.0"
] | 2 | 2021-12-30T02:23:00.000Z | 2021-12-30T02:23:02.000Z | log/views.py | mushilianmeng/auto_ops_cmdb | 4bb63e5236b221a1923e7ca46808096d80aab4f1 | [
"Apache-2.0"
] | null | null | null | log/views.py | mushilianmeng/auto_ops_cmdb | 4bb63e5236b221a1923e7ca46808096d80aab4f1 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
from log.models import alarm
def logs(request):
return HttpResponse(alarm.objects.get(id=request.GET["id"])) | 30 | 64 | 0.78 | 22 | 150 | 5.318182 | 0.681818 | 0.08547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 150 | 5 | 64 | 30 | 0.873134 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b38cca3bc1ac2216feeae006aa7e7581e891c1f2 | 21 | py | Python | pysondb/__init__.py | Asher-MS/pysonDB | c2726b4827005e755dd6722677d123842db7f972 | [
"MIT"
] | 39 | 2021-10-19T18:04:12.000Z | 2022-03-28T08:11:53.000Z | pysondb/__init__.py | Asher-MS/pysonDB | c2726b4827005e755dd6722677d123842db7f972 | [
"MIT"
] | 22 | 2021-10-13T12:16:03.000Z | 2022-03-29T05:12:15.000Z | pysondb/__init__.py | Asher-MS/pysonDB | c2726b4827005e755dd6722677d123842db7f972 | [
"MIT"
] | 13 | 2021-11-03T15:24:21.000Z | 2022-03-29T06:26:26.000Z | from .db import getDb | 21 | 21 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 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 |
b3d247cba50c805ed2c218996ff8904285cf4f03 | 31 | py | Python | utils/test_spectrum.py | johnboyington/nebp | bfb3335b24d878f30e41ac099b73ed7668347014 | [
"MIT"
] | null | null | null | utils/test_spectrum.py | johnboyington/nebp | bfb3335b24d878f30e41ac099b73ed7668347014 | [
"MIT"
] | null | null | null | utils/test_spectrum.py | johnboyington/nebp | bfb3335b24d878f30e41ac099b73ed7668347014 | [
"MIT"
] | 2 | 2020-02-04T12:33:14.000Z | 2020-10-15T16:42:10.000Z | from spectrum import Spectrum
| 10.333333 | 29 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 2 | 30 | 15.5 | 1 | 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 |
b3e4e201d9699a5a17b44aed06b937f0d070549f | 12,266 | py | Python | buildscripts/tests/test_evergreen_task_timeout.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/tests/test_evergreen_task_timeout.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | buildscripts/tests/test_evergreen_task_timeout.py | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | """Unit tests for the evergreen_task_timeout script."""
import unittest
from datetime import timedelta
from unittest.mock import MagicMock
import buildscripts.evergreen_task_timeout as under_test
from buildscripts.ciconfig.evergreen import EvergreenProjectConfig
from buildscripts.timeouts.timeout_service import Timeou... | 46.286792 | 100 | 0.637127 | 1,242 | 12,266 | 5.875201 | 0.102254 | 0.063314 | 0.039468 | 0.048239 | 0.825819 | 0.796492 | 0.77525 | 0.737015 | 0.700425 | 0.653282 | 0 | 0.011316 | 0.286728 | 12,266 | 264 | 101 | 46.462121 | 0.822723 | 0.010272 | 0 | 0.560386 | 0 | 0 | 0.041701 | 0 | 0 | 0 | 0 | 0 | 0.077295 | 1 | 0.135266 | false | 0 | 0.028986 | 0 | 0.183575 | 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 |
3738b3a2808dc427128b60b7f3778c672dc3279f | 98,778 | py | Python | plugins/bot_joinGroup.py | AlinJiong/OPQ-SetuBot | 7debddf5e414244673e31265c306233ee7f0a0f1 | [
"MIT"
] | null | null | null | plugins/bot_joinGroup.py | AlinJiong/OPQ-SetuBot | 7debddf5e414244673e31265c306233ee7f0a0f1 | [
"MIT"
] | null | null | null | plugins/bot_joinGroup.py | AlinJiong/OPQ-SetuBot | 7debddf5e414244673e31265c306233ee7f0a0f1 | [
"MIT"
] | 1 | 2022-03-08T00:44:29.000Z | 2022-03-08T00:44:29.000Z | # import base64
# import io
# import random
# import time
# from threading import Lock
# from typing import Tuple
# from botoy import Action, EventMsg, GroupMsg
# from botoy.collection import MsgTypes
# from botoy.decorators import ignore_botself, these_msgtypes
# from botoy.parser import event as ep
# from PIL import... | 1,018.329897 | 95,842 | 0.955203 | 2,991 | 98,778 | 31.534269 | 0.832497 | 0.000679 | 0.000954 | 0.000509 | 0.032804 | 0.03134 | 0.030195 | 0.030195 | 0.030195 | 0.030195 | 0 | 0.088143 | 0.008453 | 98,778 | 96 | 95,843 | 1,028.9375 | 0.874856 | 0.998117 | 0 | null | 0 | null | 0 | 0 | null | 1 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
379a6f76becec44526c908fbdfc6b798179d6f46 | 71 | py | Python | src/models/park_lot/__init__.py | TDSVirtru/parkinglot | 3895b4019ad70a1613e30483e98ac823e5cc8d64 | [
"MIT"
] | null | null | null | src/models/park_lot/__init__.py | TDSVirtru/parkinglot | 3895b4019ad70a1613e30483e98ac823e5cc8d64 | [
"MIT"
] | null | null | null | src/models/park_lot/__init__.py | TDSVirtru/parkinglot | 3895b4019ad70a1613e30483e98ac823e5cc8d64 | [
"MIT"
] | null | null | null | """The park lot model."""
from .park_lot import ParkLot # noqa: F401
| 17.75 | 43 | 0.676056 | 11 | 71 | 4.272727 | 0.818182 | 0.297872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.183099 | 71 | 3 | 44 | 23.666667 | 0.758621 | 0.43662 | 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 |
37aa8e1708bfae769317648f2e36abc121d99458 | 244 | py | Python | pyleecan/Methods/Slot/SlotW27/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | pyleecan/Methods/Slot/SlotW27/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | pyleecan/Methods/Slot/SlotW27/__init__.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | from ....Methods.Slot.Slot import SlotCheckError
class S27_W01CheckError(SlotCheckError):
""" """
pass
class S27_W12CheckError(SlotCheckError):
""" """
pass
class S27_W03CheckError(SlotCheckError):
""" """
pass
| 12.2 | 48 | 0.651639 | 21 | 244 | 7.428571 | 0.52381 | 0.153846 | 0.294872 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.213115 | 244 | 19 | 49 | 12.842105 | 0.75 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
808a43258a183e8275622f447b21361ddeda18bb | 28 | py | Python | venv/Lib/site-packages/mpl_toolkits/mplot3d/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | 353 | 2020-12-10T10:47:17.000Z | 2022-03-31T23:08:29.000Z | venv/Lib/site-packages/mpl_toolkits/mplot3d/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | 80 | 2020-12-10T09:54:22.000Z | 2022-03-30T22:08:45.000Z | venv/Lib/site-packages/mpl_toolkits/mplot3d/__init__.py | arnoyu-hub/COMP0016miemie | 59af664dcf190eab4f93cefb8471908717415fea | [
"MIT"
] | 63 | 2020-12-10T17:10:34.000Z | 2022-03-28T16:27:07.000Z | from .axes3d import Axes3D
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.178571 | 28 | 1 | 28 | 28 | 0.869565 | 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 |
80cab195cd345cd0a043cdb7923f616349f72633 | 191 | py | Python | tests/init_test.py | bertrandchenal/tanker | b955311dc8f05f8bb3c0b391e169974e5c6a11b2 | [
"0BSD"
] | 1 | 2019-11-12T08:35:10.000Z | 2019-11-12T08:35:10.000Z | tests/init_test.py | bertrandchenal/tanker | b955311dc8f05f8bb3c0b391e169974e5c6a11b2 | [
"0BSD"
] | 1 | 2019-11-20T09:00:33.000Z | 2019-11-20T09:00:33.000Z | tests/init_test.py | bertrandchenal/tanker | b955311dc8f05f8bb3c0b391e169974e5c6a11b2 | [
"0BSD"
] | 1 | 2019-11-19T21:53:16.000Z | 2019-11-19T21:53:16.000Z | from tanker import create_tables
from .base_test import session, members
def test_create_tables(session):
# Call create_tables a second time, this should be harmless
create_tables()
| 27.285714 | 63 | 0.790576 | 28 | 191 | 5.178571 | 0.642857 | 0.331034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162304 | 191 | 6 | 64 | 31.833333 | 0.90625 | 0.298429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
03ea9b27863f9e412d564d71e832f2e0a9b64ed9 | 152 | py | Python | api/src/main.py | ian0cordova/dungeon-suite | c32ce668b022c8f21e830f88b0c4d64aa01ecfaf | [
"MIT"
] | null | null | null | api/src/main.py | ian0cordova/dungeon-suite | c32ce668b022c8f21e830f88b0c4d64aa01ecfaf | [
"MIT"
] | 1 | 2021-07-27T15:36:08.000Z | 2021-07-27T16:49:04.000Z | api/src/main.py | ian0cordova/dungeon-suite | c32ce668b022c8f21e830f88b0c4d64aa01ecfaf | [
"MIT"
] | null | null | null | from app import app
from models.names import Names
import views.names
if __name__ == '__main__':
# Names.create_table(True)
app.run(debug=True) | 21.714286 | 30 | 0.736842 | 23 | 152 | 4.478261 | 0.608696 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164474 | 152 | 7 | 31 | 21.714286 | 0.811024 | 0.157895 | 0 | 0 | 0 | 0 | 0.062992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2089b09f505151a2fba9b986823c96d3f1683d25 | 40 | py | Python | Ann.py | Blocktoaster/Anuta | 0bf60ae286d8779cb46d744b96cf3bb8d6fc322c | [
"CC0-1.0"
] | null | null | null | Ann.py | Blocktoaster/Anuta | 0bf60ae286d8779cb46d744b96cf3bb8d6fc322c | [
"CC0-1.0"
] | null | null | null | Ann.py | Blocktoaster/Anuta | 0bf60ae286d8779cb46d744b96cf3bb8d6fc322c | [
"CC0-1.0"
] | null | null | null | print("привет")
KZKZKZKZKZKZKEZQZQZQZQZ
| 13.333333 | 23 | 0.85 | 3 | 40 | 11.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 40 | 2 | 24 | 20 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
20acc33caf972abcd4b05dc852e2c092f2d14358 | 102 | py | Python | tests/test_settings/example_dummy_registrant.py | costas-basdekis/aox | 63a90fb722f29d9b2d26041f9035f99b6b21615e | [
"MIT"
] | 2 | 2021-11-10T22:38:49.000Z | 2021-12-03T08:09:01.000Z | tests/test_settings/example_dummy_registrant.py | costas-basdekis/aox | 63a90fb722f29d9b2d26041f9035f99b6b21615e | [
"MIT"
] | null | null | null | tests/test_settings/example_dummy_registrant.py | costas-basdekis/aox | 63a90fb722f29d9b2d26041f9035f99b6b21615e | [
"MIT"
] | null | null | null | from tests.test_settings.dummy_registry import dummy_register
dummy_register('dummy', 'MODULE_NAME')
| 25.5 | 61 | 0.843137 | 14 | 102 | 5.785714 | 0.714286 | 0.320988 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 102 | 3 | 62 | 34 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
20b20920fe9b7630a848860aebfd8f5461fd5a4d | 195 | py | Python | blocks/postgres/__init__.py | severstal-digital/typed-blocks | 276e65d22772057ba58198332406274d06b87788 | [
"Apache-2.0"
] | null | null | null | blocks/postgres/__init__.py | severstal-digital/typed-blocks | 276e65d22772057ba58198332406274d06b87788 | [
"Apache-2.0"
] | null | null | null | blocks/postgres/__init__.py | severstal-digital/typed-blocks | 276e65d22772057ba58198332406274d06b87788 | [
"Apache-2.0"
] | null | null | null | from blocks.db.types import Row, Query, Table
from blocks.postgres.app import PostgresApp
from blocks.postgres.sources import PostgresReader
from blocks.postgres.processors import PostgresWriter
| 39 | 53 | 0.85641 | 26 | 195 | 6.423077 | 0.576923 | 0.239521 | 0.323353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 195 | 4 | 54 | 48.75 | 0.943503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4582fd4d46e565bd1b0c505181cd299996c24c07 | 11,669 | py | Python | checkpoint_tests.py | tianhuil/ediblepickle | f80038370d88ed3fdc421b695dc54daee15fa843 | [
"Apache-2.0"
] | null | null | null | checkpoint_tests.py | tianhuil/ediblepickle | f80038370d88ed3fdc421b695dc54daee15fa843 | [
"Apache-2.0"
] | null | null | null | checkpoint_tests.py | tianhuil/ediblepickle | f80038370d88ed3fdc421b695dc54daee15fa843 | [
"Apache-2.0"
] | null | null | null | import logging
import os
from tempfile import gettempdir
from time import sleep
from nose.tools import timed
from ediblepickle import checkpoint
from string import Template
__author__ = 'pavan'
SLEEP_TIME = 5
def save_ints(integers, f):
for i in integers:
f.write('%d' %i)
f.write('\n')
def loa... | 39.422297 | 121 | 0.729368 | 1,810 | 11,669 | 4.553591 | 0.09337 | 0.025479 | 0.022082 | 0.023781 | 0.903664 | 0.89869 | 0.895292 | 0.879641 | 0.844213 | 0.825285 | 0 | 0.019125 | 0.171052 | 11,669 | 295 | 122 | 39.555932 | 0.832937 | 0.327192 | 0 | 0.6125 | 0 | 0 | 0.10054 | 0.035356 | 0 | 0 | 0 | 0 | 0.1125 | 1 | 0.16875 | false | 0 | 0.04375 | 0.0125 | 0.3 | 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 |
4599b05b8ea7512fff8975951a6fa7d0bdc93021 | 21,977 | py | Python | lib/rucio/tests/test_filter_engine.py | rcarpa/rucio | 226a9f8efb0dfe09b52607cd2333e184ab88d105 | [
"Apache-2.0"
] | 2 | 2020-02-18T22:34:24.000Z | 2022-03-09T16:26:18.000Z | lib/rucio/tests/test_filter_engine.py | Frederick9050/rucio | d59c237f533f40116026dc9f347f4fc1297f1ff0 | [
"Apache-2.0"
] | null | null | null | lib/rucio/tests/test_filter_engine.py | Frederick9050/rucio | d59c237f533f40116026dc9f347f4fc1297f1ff0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2013-2020 CERN for the benefit of the ATLAS collaboration.
#
# 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.... | 53.733496 | 186 | 0.665059 | 2,874 | 21,977 | 4.888657 | 0.083855 | 0.079715 | 0.039929 | 0.059786 | 0.825409 | 0.804769 | 0.780854 | 0.77694 | 0.763915 | 0.732527 | 0 | 0.029941 | 0.200619 | 21,977 | 408 | 187 | 53.865196 | 0.769809 | 0.041862 | 0 | 0.567073 | 0 | 0 | 0.091342 | 0.013511 | 0 | 0 | 0 | 0 | 0.185976 | 1 | 0.067073 | false | 0 | 0.039634 | 0 | 0.115854 | 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 |
45a00be843b52f534cbdef82e323a73dd1d98327 | 72,467 | py | Python | data_processing/AWG_and_Alazar/old/Pulse_Processing_Utils_20220526.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | data_processing/AWG_and_Alazar/old/Pulse_Processing_Utils_20220526.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | data_processing/AWG_and_Alazar/old/Pulse_Processing_Utils_20220526.py | PITT-HATLAB/data_processing | ad49bb921e0fc90b90f0b696e2cbb662019f5f40 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Apr 29 09:40:12 2021
@author: Ryan Kaufman
Set up function module that can assist in loading pulse sequences into AWG
and functionalizing Alazar acquiring
"""
import numpy as np
from mpl_toolkits.axes_grid1 import make_axes_locatable
from matplotlib.patches import Ellipse
fr... | 45.981599 | 445 | 0.562035 | 11,288 | 72,467 | 3.343551 | 0.051736 | 0.031 | 0.015897 | 0.012718 | 0.826798 | 0.804197 | 0.792963 | 0.782338 | 0.755657 | 0.746092 | 0 | 0.048532 | 0.283467 | 72,467 | 1,575 | 446 | 46.010794 | 0.678325 | 0.165455 | 0 | 0.581653 | 0 | 0 | 0.055894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025202 | false | 0.002016 | 0.013105 | 0.004032 | 0.061492 | 0.039315 | 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 |
45dfafc2ac8c87871264dc5c2a306ccdcaed221d | 9,516 | py | Python | test/hlt/pytest/python/com/huawei/iotplatform/client/invokeapi/DeviceGroupManagement.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 128 | 2018-10-29T04:11:47.000Z | 2022-03-07T02:19:14.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/invokeapi/DeviceGroupManagement.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 40 | 2018-11-02T00:40:48.000Z | 2021-12-07T09:33:56.000Z | test/hlt/pytest/python/com/huawei/iotplatform/client/invokeapi/DeviceGroupManagement.py | yuanyi-thu/AIOT- | 27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e | [
"BSD-3-Clause"
] | 118 | 2018-10-29T08:43:57.000Z | 2022-01-07T06:49:25.000Z | import json
import logging
from com.huawei.iotplatform.client.NorthApiClient import NorthApiClient
from com.huawei.iotplatform.constant.RestConstant import RestConstant
from com.huawei.iotplatform.utils.DictUtil import DictUtil
from com.huawei.iotplatform.utils.LogUtil import Log
class DeviceGroupManagement(object):... | 50.084211 | 110 | 0.643338 | 793 | 9,516 | 7.649433 | 0.102144 | 0.039894 | 0.076492 | 0.108144 | 0.854599 | 0.829871 | 0.798714 | 0.798714 | 0.74184 | 0.705407 | 0 | 0.001804 | 0.242539 | 9,516 | 189 | 111 | 50.349206 | 0.839761 | 0.513241 | 0 | 0.347826 | 0 | 0 | 0.019682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115942 | false | 0 | 0.086957 | 0 | 0.347826 | 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 |
afdcbbfc35c496d4505ac4f1de4bc9f5eeb19ee6 | 199 | py | Python | rltf/__init__.py | psFournier/rltf | aae5451415dc18deda3c0c84580df42a12dc3843 | [
"MIT"
] | 90 | 2018-05-02T17:15:52.000Z | 2021-11-09T08:53:44.000Z | rltf/__init__.py | arita37/rltf | d56714494f73e53ed4b41d6376d942332b406885 | [
"MIT"
] | 1 | 2019-10-01T11:41:53.000Z | 2019-12-08T15:38:53.000Z | rltf/__init__.py | arita37/rltf | d56714494f73e53ed4b41d6376d942332b406885 | [
"MIT"
] | 25 | 2018-01-14T16:56:44.000Z | 2021-11-09T08:53:48.000Z | from rltf import agents
from rltf import cmdutils
from rltf import envs
from rltf import exploration
from rltf import memory
from rltf import models
from rltf import schedules
from rltf import utils
| 22.111111 | 28 | 0.839196 | 32 | 199 | 5.21875 | 0.34375 | 0.383234 | 0.670659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160804 | 199 | 8 | 29 | 24.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 |
aff39500cccd84e5ac53cd8eda69c81c9aecb21a | 3,235 | py | Python | tests/test_pillar.py | Jabb0/FastFlow3D | cdc2a547268b85d0c851cf87786d80fcde4e8487 | [
"MIT"
] | 6 | 2021-10-14T03:30:32.000Z | 2022-03-25T07:16:03.000Z | tests/test_pillar.py | Jabb0/FastFlow3D | cdc2a547268b85d0c851cf87786d80fcde4e8487 | [
"MIT"
] | 2 | 2021-10-08T09:06:24.000Z | 2022-03-26T10:37:22.000Z | tests/test_pillar.py | Jabb0/FastFlow3D | cdc2a547268b85d0c851cf87786d80fcde4e8487 | [
"MIT"
] | null | null | null | import torch
from networks.pillarFeatureNetScatter import PillarFeatureNetScatter
def test_scatter_grid_representation():
n_points = 5
batch_size = 1
n_features = 64
n_pillars_x = 3
n_pillars_y = 3
x = torch.ones(size=(batch_size, n_points, n_features))
indices = torch.tensor([[0, 0, 0, 0,... | 44.315068 | 87 | 0.676662 | 521 | 3,235 | 3.932822 | 0.101727 | 0.114202 | 0.107857 | 0.075159 | 0.908248 | 0.908248 | 0.898487 | 0.883358 | 0.867252 | 0.844802 | 0 | 0.039848 | 0.185471 | 3,235 | 72 | 88 | 44.930556 | 0.737761 | 0.10541 | 0 | 0.660714 | 0 | 0 | 0.002771 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.017857 | false | 0 | 0.035714 | 0 | 0.053571 | 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 |
b311ed75298ab8980d87627007450adc6e917325 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_internal/index/__init__.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_internal/index/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_internal/index/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/be/9b/7e/25e4d979f87c6be142db665e0525c555bb817174868882e141925a3694 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 0 | 96 | 1 | 96 | 96 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b320a21a305c79aa980534d9ecf51541798fc8cd | 28 | py | Python | tweezers/plot/__init__.py | DollSimon/tweezers | 7c9b3d781c53f7728526a8242aa9e1d671f15688 | [
"BSD-2-Clause"
] | null | null | null | tweezers/plot/__init__.py | DollSimon/tweezers | 7c9b3d781c53f7728526a8242aa9e1d671f15688 | [
"BSD-2-Clause"
] | null | null | null | tweezers/plot/__init__.py | DollSimon/tweezers | 7c9b3d781c53f7728526a8242aa9e1d671f15688 | [
"BSD-2-Clause"
] | null | null | null | from .utils import peekPlot
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
6416aff064346c54ddadf29722a0e231b76ef710 | 43 | py | Python | stdpycompat/jsoncompat.py | mlockett42/pypddemo | 52523472c0b78e33ab0e985840b8c62cb5b2767b | [
"Apache-2.0"
] | null | null | null | stdpycompat/jsoncompat.py | mlockett42/pypddemo | 52523472c0b78e33ab0e985840b8c62cb5b2767b | [
"Apache-2.0"
] | null | null | null | stdpycompat/jsoncompat.py | mlockett42/pypddemo | 52523472c0b78e33ab0e985840b8c62cb5b2767b | [
"Apache-2.0"
] | null | null | null | from json import JSONEncoder, JSONDecoder
| 14.333333 | 41 | 0.837209 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 2 | 42 | 21.5 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64358bdfec50716591699f2ccaa32bd900a8fa28 | 96 | py | Python | venv/lib/python3.8/site-packages/cachy/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/cachy/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cachy/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/cb/8d/48/995f394c99713d4918ef0358800846d95404a39fe0ff4dd66dccd9e7f1 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ff2e45546c693d1f2582aef8f5deb8af2985c0aa | 1,780 | py | Python | pysot/models/GhostNet/Ghost_block.py | linjiangxiaoxian/ACSiamRPN | dba3298cdb4ca0bcd9b335cc9d507932fc1e3c78 | [
"Apache-2.0"
] | null | null | null | pysot/models/GhostNet/Ghost_block.py | linjiangxiaoxian/ACSiamRPN | dba3298cdb4ca0bcd9b335cc9d507932fc1e3c78 | [
"Apache-2.0"
] | 1 | 2022-03-06T07:14:21.000Z | 2022-03-06T07:14:21.000Z | pysot/models/GhostNet/Ghost_block.py | linjiangxiaoxian/ACSiamRPN | dba3298cdb4ca0bcd9b335cc9d507932fc1e3c78 | [
"Apache-2.0"
] | 4 | 2021-03-08T12:24:34.000Z | 2021-08-11T02:39:47.000Z | import torch
import torch.nn as nn
import math
class GhostModule_have_SK(nn.Module):
def __init__(self,inp=256, oup=256, kernel_size=1, ratio=2, dw_size=3, stride=1, relu=True):
super(GhostModule_have_SK, self).__init__()
self.oup = oup
init_channels = math.ceil(self.oup / ratio)
ne... | 37.87234 | 109 | 0.623034 | 247 | 1,780 | 4.279352 | 0.206478 | 0.113529 | 0.068117 | 0.056764 | 0.81457 | 0.81457 | 0.81457 | 0.81457 | 0.81457 | 0.81457 | 0 | 0.033582 | 0.247191 | 1,780 | 47 | 110 | 37.87234 | 0.755224 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.075 | 0 | 0.275 | 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 |
ff3ae28f655735313a63e84d7ab67335c25c57bf | 48 | py | Python | tasks/__init__.py | martinwhl/informer-lightning | 5a1851577b7e450492cd1fcdc1ecdc5d1b7e8c16 | [
"Apache-2.0"
] | 13 | 2021-04-12T16:37:51.000Z | 2022-03-30T01:58:31.000Z | tasks/__init__.py | martinwhl/informer-lightning | 5a1851577b7e450492cd1fcdc1ecdc5d1b7e8c16 | [
"Apache-2.0"
] | 1 | 2022-01-10T19:53:31.000Z | 2022-01-16T17:31:39.000Z | tasks/__init__.py | martinwhl/informer-lightning | 5a1851577b7e450492cd1fcdc1ecdc5d1b7e8c16 | [
"Apache-2.0"
] | 3 | 2021-05-18T15:51:18.000Z | 2021-11-06T04:37:52.000Z | from tasks.forecast import InformerForecastTask
| 24 | 47 | 0.895833 | 5 | 48 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.977273 | 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 |
ff955cc1a9fe047347b2c1c79452a5e7101ad03d | 955 | py | Python | tests/unit/utils/markers/test_skip_if_not_root.py | ScriptAutomate/pytest-salt-factories | 192e15a7e93eec694f59099021a4d4268a1ab1ea | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/markers/test_skip_if_not_root.py | ScriptAutomate/pytest-salt-factories | 192e15a7e93eec694f59099021a4d4268a1ab1ea | [
"Apache-2.0"
] | null | null | null | tests/unit/utils/markers/test_skip_if_not_root.py | ScriptAutomate/pytest-salt-factories | 192e15a7e93eec694f59099021a4d4268a1ab1ea | [
"Apache-2.0"
] | null | null | null | """
tests.unit.utils.markers.test_skip_if_not_root
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test the "skip_if_not_root" marker helper
"""
import sys
from unittest import mock
import saltfactories.utils.markers
def test_when_root():
if sys.platform.startswith("win"):
with mock.patch("sa... | 32.931034 | 81 | 0.672251 | 130 | 955 | 4.692308 | 0.307692 | 0.080328 | 0.088525 | 0.127869 | 0.72459 | 0.72459 | 0.72459 | 0.72459 | 0.72459 | 0.606557 | 0 | 0.002551 | 0.179058 | 955 | 28 | 82 | 34.107143 | 0.77551 | 0.142408 | 0 | 0.470588 | 0 | 0 | 0.112641 | 0.082603 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.117647 | true | 0 | 0.176471 | 0 | 0.294118 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
440d03490b92091da831df9dd8a868de64fc822e | 19 | py | Python | easy_model_zoo/test/__init__.py | SharifElfouly/easy-model-zoo | e1726ea18eb5b64d98ab91a72ec07b29c8c38650 | [
"MIT"
] | 4 | 2020-08-19T14:18:28.000Z | 2021-06-02T08:12:14.000Z | easy_model_zoo/test/__init__.py | SharifElfouly/easy-model-zoo | e1726ea18eb5b64d98ab91a72ec07b29c8c38650 | [
"MIT"
] | null | null | null | easy_model_zoo/test/__init__.py | SharifElfouly/easy-model-zoo | e1726ea18eb5b64d98ab91a72ec07b29c8c38650 | [
"MIT"
] | null | null | null | from .t import TEST | 19 | 19 | 0.789474 | 4 | 19 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 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 |
4435fe79e4fde04ddddae720cb93b4ece025210e | 189 | py | Python | xam/feature_extraction/__init__.py | topolphukhanh/xam | 3fa958ba8b0c8e8e266cac9997b7a7d0c309f55c | [
"MIT"
] | null | null | null | xam/feature_extraction/__init__.py | topolphukhanh/xam | 3fa958ba8b0c8e8e266cac9997b7a7d0c309f55c | [
"MIT"
] | null | null | null | xam/feature_extraction/__init__.py | topolphukhanh/xam | 3fa958ba8b0c8e8e266cac9997b7a7d0c309f55c | [
"MIT"
] | null | null | null | from .smooth_target_encoding import SmoothTargetEncoder
from .combinations import FeatureCombiner
from .cycle import CycleTransformer
from .k_fold_target_encoding import KFoldTargetEncoder
| 37.8 | 55 | 0.89418 | 21 | 189 | 7.809524 | 0.619048 | 0.170732 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084656 | 189 | 4 | 56 | 47.25 | 0.947977 | 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 |
4480de14afe1de53e1eeadcbf4d09e1f99469385 | 172 | py | Python | datasets/__init__.py | sanchezirina/defeatcovid19-net-pytorch | eadfec212ade7724688e4455e59157c9c53f0c89 | [
"MIT"
] | 9 | 2020-03-26T16:38:30.000Z | 2021-11-06T03:55:36.000Z | datasets/__init__.py | sanchezirina/defeatcovid19-net-pytorch | eadfec212ade7724688e4455e59157c9c53f0c89 | [
"MIT"
] | 9 | 2020-03-28T21:50:47.000Z | 2020-04-15T14:26:12.000Z | datasets/__init__.py | sanchezirina/defeatcovid19-net-pytorch | eadfec212ade7724688e4455e59157c9c53f0c89 | [
"MIT"
] | 10 | 2020-03-26T17:07:07.000Z | 2022-02-18T08:47:05.000Z | from .chest_xray_pneumonia_dataset import ChestXRayPneumoniaDataset
from .covid_chestxray_dataset import COVIDChestXRayDataset
from .nih_cx38_dataset import NIHCX38Dataset
| 43 | 67 | 0.912791 | 19 | 172 | 7.894737 | 0.684211 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.069767 | 172 | 3 | 68 | 57.333333 | 0.9125 | 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 |
9237550d9f275096b72ec282548f60e02c21cb89 | 41 | py | Python | akaocr/engine/__init__.py | qai-research/Efficient_Text_Detection | e5cfe51148cc4fbf4c4f3afede040e4ebd624e8b | [
"MIT"
] | 2 | 2021-04-28T04:13:09.000Z | 2021-06-05T04:11:11.000Z | akaocr/engine/__init__.py | qai-research/Efficient_Text_Detection | e5cfe51148cc4fbf4c4f3afede040e4ebd624e8b | [
"MIT"
] | 2 | 2021-05-06T13:49:52.000Z | 2021-05-14T08:45:13.000Z | akaocr/engine/__init__.py | qai-research/Efficient_Text_Detection | e5cfe51148cc4fbf4c4f3afede040e4ebd624e8b | [
"MIT"
] | null | null | null | from .trainer.train_base import Trainer
| 20.5 | 40 | 0.829268 | 6 | 41 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
925bc226e1e64ffe42ef72fcf08242ff2d560e95 | 5,874 | py | Python | test-framework/test-suites/integration/tests/add/test_add_host_alias.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/add/test_add_host_alias.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | test-framework/test-suites/integration/tests/add/test_add_host_alias.py | knutsonchris/stacki | 33087dd5fa311984a66ccecfeee6f9c2c25f665d | [
"BSD-3-Clause"
] | null | null | null | from textwrap import dedent
import pytest
import json
class TestAddHostAlias:
# split possible?
def test_to_multiple_interfaces_across_multiple_hosts(self, host, revert_etc, test_file):
result = host.run(f'stack load hostfile file={test_file("add/add_host_alias_hostfile.csv")}')
assert result.rc == 0
result... | 38.644737 | 99 | 0.733061 | 925 | 5,874 | 4.52 | 0.102703 | 0.081799 | 0.09017 | 0.111935 | 0.894762 | 0.878976 | 0.864626 | 0.837359 | 0.822531 | 0.804353 | 0 | 0.024775 | 0.14794 | 5,874 | 151 | 100 | 38.900662 | 0.810589 | 0.043071 | 0 | 0.648148 | 0 | 0.009259 | 0.392048 | 0.070066 | 0 | 0 | 0 | 0 | 0.388889 | 1 | 0.111111 | false | 0 | 0.027778 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
928f4b513c2f03d305adb1909e6223dd7108ff32 | 14,217 | py | Python | PA_DPC/dpc/dataset_3d_infer_pred_error.py | StanLei52/GEBD | 5f7e722e0384f9877c75d116e1db72400d2bc58f | [
"MIT"
] | 44 | 2021-03-24T07:10:57.000Z | 2022-03-12T11:49:14.000Z | PA_DPC/dpc/dataset_3d_infer_pred_error.py | StanLei52/GEBD | 5f7e722e0384f9877c75d116e1db72400d2bc58f | [
"MIT"
] | 2 | 2021-05-26T09:31:55.000Z | 2021-08-11T11:47:38.000Z | PA_DPC/dpc/dataset_3d_infer_pred_error.py | StanLei52/GEBD | 5f7e722e0384f9877c75d116e1db72400d2bc58f | [
"MIT"
] | 6 | 2021-04-07T00:51:51.000Z | 2022-01-12T01:54:41.000Z | import torch
from torch.utils import data
from torchvision import transforms
import os
import sys
import time
import pickle
import glob
import csv
import ipdb
import pandas as pd
import numpy as np
import cv2
sys.path.append('../utils')
from augmentation import *
from tqdm import tqdm
from joblib import Parallel, delay... | 44.152174 | 149 | 0.5613 | 1,843 | 14,217 | 4.091698 | 0.137276 | 0.025461 | 0.03713 | 0.03713 | 0.787959 | 0.752553 | 0.742342 | 0.738629 | 0.733988 | 0.721522 | 0 | 0.02079 | 0.326722 | 14,217 | 321 | 150 | 44.28972 | 0.767029 | 0.036295 | 0 | 0.708955 | 0 | 0 | 0.088734 | 0.023921 | 0 | 0 | 0 | 0.003115 | 0.007463 | 1 | 0.037313 | false | 0 | 0.059701 | 0.007463 | 0.134328 | 0.078358 | 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 |
2bd3179fe5a5013b261edc1297b28a46794e1e40 | 817 | py | Python | dp_tornado/helper/web/http/post.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | dp_tornado/helper/web/http/post.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | dp_tornado/helper/web/http/post.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from dp_tornado.engine.helper import Helper as dpHelper
class PostHelper(dpHelper):
def raw(self, url, data=None, json=None, **kwargs):
return self.helper.web.http.request(req_type='post', res_type='raw', url=url, data=data, json=json, **kwargs)
def json(self, url, data=None... | 43 | 118 | 0.674419 | 127 | 817 | 4.267717 | 0.244094 | 0.103321 | 0.081181 | 0.110701 | 0.791513 | 0.791513 | 0.791513 | 0.739852 | 0.568266 | 0.568266 | 0 | 0.001435 | 0.146879 | 817 | 18 | 119 | 45.388889 | 0.776184 | 0.025704 | 0 | 0 | 0 | 0 | 0.039043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
a63f61f6682baf6108f345fab4251e09e31ad35a | 80 | py | Python | tests/conftest.py | KiriLev/albu_scheduler | edb70f3d9c90761570744f35aed61c35cf121316 | [
"MIT"
] | 17 | 2021-05-03T08:24:21.000Z | 2021-08-04T15:19:06.000Z | tests/conftest.py | KiriLev/albu_scheduler | edb70f3d9c90761570744f35aed61c35cf121316 | [
"MIT"
] | null | null | null | tests/conftest.py | KiriLev/albu_scheduler | edb70f3d9c90761570744f35aed61c35cf121316 | [
"MIT"
] | 1 | 2021-08-04T13:46:54.000Z | 2021-08-04T13:46:54.000Z | import pytest
@pytest.fixture(scope="module")
def image():
return "IMAGE"
| 11.428571 | 31 | 0.6875 | 10 | 80 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 6 | 32 | 13.333333 | 0.820896 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a668f9a26edac00e7a8d89ec8946cf3d328e14dc | 43 | py | Python | cride/rides/models/__init__.py | AlexisLoya/cride-django | 04a8617093bea5de07aa6398d650116e2e6683ab | [
"MIT"
] | null | null | null | cride/rides/models/__init__.py | AlexisLoya/cride-django | 04a8617093bea5de07aa6398d650116e2e6683ab | [
"MIT"
] | 3 | 2021-05-24T18:17:14.000Z | 2021-05-24T18:18:44.000Z | cride/rides/models/__init__.py | AlexisLoya/cride-django | 04a8617093bea5de07aa6398d650116e2e6683ab | [
"MIT"
] | null | null | null | from .ride import *
from .ratings import *
| 14.333333 | 22 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 23 | 21.5 | 0.885714 | 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 |
4716b4abc9a15d2f849ee207dc33ded68c5a7c07 | 70 | py | Python | Solution/api_keys.py | acanales92/Python-API-Challenge | a9bc02edacbeb14474398ae3f15d48821fe3764d | [
"ADSL"
] | null | null | null | Solution/api_keys.py | acanales92/Python-API-Challenge | a9bc02edacbeb14474398ae3f15d48821fe3764d | [
"ADSL"
] | null | null | null | Solution/api_keys.py | acanales92/Python-API-Challenge | a9bc02edacbeb14474398ae3f15d48821fe3764d | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "9f47e495713e79f40dcf331c6b90a28a"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.1 | 70 | 2 | 45 | 35 | 0.587302 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5b30e6e80553d8ee461f2e0b73b1785576d4d03a | 660 | py | Python | tests/test_error_handlers.py | NYU-DevOps-2022/orders | d87aedec541d32cd9e8c1f341043f02a09dd27c3 | [
"Apache-2.0"
] | 1 | 2022-03-06T19:44:41.000Z | 2022-03-06T19:44:41.000Z | tests/test_error_handlers.py | NYU-DevOps-2022/orders | d87aedec541d32cd9e8c1f341043f02a09dd27c3 | [
"Apache-2.0"
] | 23 | 2022-02-18T17:23:20.000Z | 2022-03-31T21:09:23.000Z | tests/test_error_handlers.py | NYU-DevOps-2022/orders | d87aedec541d32cd9e8c1f341043f02a09dd27c3 | [
"Apache-2.0"
] | 1 | 2022-03-06T02:54:48.000Z | 2022-03-06T02:54:48.000Z | import unittest
# import service.error_handlers
# class TestErrorHandlers(unittest.TestCase):
# def test_request_validation_error(self):
# self.assertEqual(tuple, type(request_validation_error("blah")))
# def test_not_found(self):
# self.assertEqual(tuple, type(not_found("blah")))
# def... | 31.428571 | 73 | 0.716667 | 78 | 660 | 5.75641 | 0.307692 | 0.077951 | 0.211581 | 0.267261 | 0.489978 | 0.325167 | 0.178174 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 660 | 20 | 74 | 33 | 0.809009 | 0.927273 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b4a64b69f8e739d232adc5dd3eab253db3562ce | 13,041 | py | Python | moonv4/tests/scenario/session_large.py | hashnfv/hashnfv-moon | daaba34fa2ed4426bc0fde359e54a5e1b872208c | [
"Apache-2.0"
] | null | null | null | moonv4/tests/scenario/session_large.py | hashnfv/hashnfv-moon | daaba34fa2ed4426bc0fde359e54a5e1b872208c | [
"Apache-2.0"
] | null | null | null | moonv4/tests/scenario/session_large.py | hashnfv/hashnfv-moon | daaba34fa2ed4426bc0fde359e54a5e1b872208c | [
"Apache-2.0"
] | null | null | null |
pdp_name = "pdp1"
policy_name = "Session policy example"
model_name = "Session"
policy_genre = "session"
subjects = {
"user0": "",
"user1": "",
"user2": "",
"user3": "",
"user4": "",
"user5": "",
"user6": "",
"user7": "",
"user8": "",
"user9": "",
}
objects = {"admin": "", "emp... | 33.438462 | 104 | 0.344989 | 902 | 13,041 | 4.943459 | 0.060976 | 0.104956 | 0.157434 | 0.110787 | 0.821933 | 0.798834 | 0.798834 | 0.798834 | 0.798834 | 0.798834 | 0 | 0.01374 | 0.49214 | 13,041 | 389 | 105 | 33.524422 | 0.65952 | 0.150065 | 0 | 0.394737 | 0 | 0 | 0.252267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
5b55dbe30c3a72bd80091d521e788a7226a56bc2 | 229,945 | py | Python | pyuvdata/tests/test_uvdata.py | ntk688/pyuvdata | 96be086324ba8f35815dd590429c6415411c15ea | [
"BSD-2-Clause"
] | null | null | null | pyuvdata/tests/test_uvdata.py | ntk688/pyuvdata | 96be086324ba8f35815dd590429c6415411c15ea | [
"BSD-2-Clause"
] | null | null | null | pyuvdata/tests/test_uvdata.py | ntk688/pyuvdata | 96be086324ba8f35815dd590429c6415411c15ea | [
"BSD-2-Clause"
] | null | null | null | # -*- mode: python; coding: utf-8 -*-
# Copyright (c) 2018 Radio Astronomy Software Group
# Licensed under the 2-clause BSD License
"""Tests for uvdata object.
"""
from __future__ import absolute_import, division, print_function
import pytest
import os
import copy
import itertools
import numpy as np
from astropy.ti... | 41.513811 | 111 | 0.66602 | 33,540 | 229,945 | 4.330441 | 0.042457 | 0.042081 | 0.010451 | 0.023134 | 0.846815 | 0.818064 | 0.789174 | 0.765965 | 0.74922 | 0.733605 | 0 | 0.042905 | 0.225406 | 229,945 | 5,538 | 112 | 41.521307 | 0.772545 | 0.142925 | 0 | 0.662924 | 0 | 0 | 0.102198 | 0.014518 | 0 | 0 | 0 | 0 | 0.20705 | 1 | 0.033681 | false | 0.001044 | 0.003655 | 0 | 0.049608 | 0.000783 | 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 |
5be342a4f7f50ef49c3694dee2511b7b6f6a5606 | 29,268 | py | Python | Apps/polls/models.py | shadowofgost/WebEngineering | 693af827e3458806cdace959262cf393d29f6504 | [
"Apache-2.0"
] | 1 | 2021-04-05T05:40:17.000Z | 2021-04-05T05:40:17.000Z | Apps/polls/models.py | shadowofgost/WebEngineering | 693af827e3458806cdace959262cf393d29f6504 | [
"Apache-2.0"
] | null | null | null | Apps/polls/models.py | shadowofgost/WebEngineering | 693af827e3458806cdace959262cf393d29f6504 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class TCydept(models.Model):
id = models.IntegerField(default=1, db_column='ID', primary_key=True)
id_parent = models.IntegerField(
default=1, null=True, db_column='ID_Parent')
name = models.CharField(default='1', null=True,
... | 53.408759 | 151 | 0.610769 | 3,276 | 29,268 | 5.297009 | 0.086386 | 0.092664 | 0.130698 | 0.174264 | 0.835245 | 0.820031 | 0.811099 | 0.809774 | 0.692445 | 0.643693 | 0 | 0.025355 | 0.26558 | 29,268 | 547 | 152 | 53.506399 | 0.781949 | 0.033723 | 0 | 0.539583 | 0 | 0 | 0.082648 | 0.020099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002083 | 0 | 0.527083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5bef0c929ca87f491ac5b4bebc0f917684895b6e | 23,213 | py | Python | test/test_header_indexing.py | LaudateCorpus1/hyper-h2 | 7dfab8f8e0e8605c4a2a90706b217d0a0a0c45b7 | [
"MIT"
] | 2 | 2020-07-01T20:46:51.000Z | 2021-04-28T21:28:48.000Z | test/test_header_indexing.py | LaudateCorpus1/hyper-h2 | 7dfab8f8e0e8605c4a2a90706b217d0a0a0c45b7 | [
"MIT"
] | null | null | null | test/test_header_indexing.py | LaudateCorpus1/hyper-h2 | 7dfab8f8e0e8605c4a2a90706b217d0a0a0c45b7 | [
"MIT"
] | 3 | 2021-06-03T10:10:16.000Z | 2022-03-17T19:57:00.000Z | # -*- coding: utf-8 -*-
"""
test_header_indexing.py
~~~~~~~~~~~~~~~~~~~~~~~
This module contains tests that use HPACK header tuples that provide additional
metadata to the hpack module about how to encode the headers.
"""
import pytest
from hpack import HeaderTuple, NeverIndexedHeaderTuple
import h2.connection
def... | 37.440323 | 79 | 0.59303 | 2,417 | 23,213 | 5.471659 | 0.083988 | 0.048696 | 0.050813 | 0.019055 | 0.884764 | 0.872514 | 0.862231 | 0.832439 | 0.812779 | 0.779811 | 0 | 0.008197 | 0.306294 | 23,213 | 619 | 80 | 37.500808 | 0.813078 | 0.112351 | 0 | 0.594771 | 0 | 0 | 0.119625 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.030501 | false | 0.004357 | 0.006536 | 0 | 0.069717 | 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 |
75022a8547e8095bd2f5760e7290867794d7cb2d | 49 | py | Python | src/odrive_ros/__init__.py | franz6ko/odrive_ros | dd96e447ed7184b12cc84c48372e8245b3250c17 | [
"BSD-3-Clause"
] | 1 | 2022-02-20T20:40:40.000Z | 2022-02-20T20:40:40.000Z | src/odrive_ros/__init__.py | franz6ko/odrive_ros | dd96e447ed7184b12cc84c48372e8245b3250c17 | [
"BSD-3-Clause"
] | null | null | null | src/odrive_ros/__init__.py | franz6ko/odrive_ros | dd96e447ed7184b12cc84c48372e8245b3250c17 | [
"BSD-3-Clause"
] | null | null | null | from .odrive_node import ODriveNode, start_odrive | 49 | 49 | 0.877551 | 7 | 49 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 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 |
7545f97ab59ba56ee83ef64852e1afa4b2bf5dda | 54 | py | Python | modules/tests/core/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | 1 | 2017-07-22T18:49:34.000Z | 2017-07-22T18:49:34.000Z | modules/tests/core/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | null | null | null | modules/tests/core/__init__.py | PeterDaveHello/eden | 26174a9dde2f19cd3bc879694f373ad5f765b6ed | [
"MIT"
] | 1 | 2019-12-16T15:14:46.000Z | 2019-12-16T15:14:46.000Z | from core_utils import *
from core_dataTable import *
| 18 | 28 | 0.814815 | 8 | 54 | 5.25 | 0.625 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 2 | 29 | 27 | 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 |
f38793f5b8c08580da91b7b23cd75458d5394340 | 156 | py | Python | ehr_functions/models/metrics/_base.py | fdabek1/EHR-Functions | e6bd0b6fa213930358c4a19be31c459ac7430ca9 | [
"MIT"
] | null | null | null | ehr_functions/models/metrics/_base.py | fdabek1/EHR-Functions | e6bd0b6fa213930358c4a19be31c459ac7430ca9 | [
"MIT"
] | null | null | null | ehr_functions/models/metrics/_base.py | fdabek1/EHR-Functions | e6bd0b6fa213930358c4a19be31c459ac7430ca9 | [
"MIT"
] | null | null | null | class BaseMetric:
def __init__(self):
pass
def pre_train(self):
pass
def post_train(self, train_data, val_data):
pass
| 15.6 | 47 | 0.596154 | 20 | 156 | 4.25 | 0.55 | 0.188235 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326923 | 156 | 9 | 48 | 17.333333 | 0.809524 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0 | 0 | 0.571429 | 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 |
f3b77018bd2317bf13365b0c6ae784ca410adad9 | 221 | py | Python | flair/trainers/__init__.py | db-bionlp/CLNER | 77910311acf0411252b9fea8c3e6efb7175eb21f | [
"MIT"
] | 46 | 2021-05-29T05:37:38.000Z | 2022-03-07T02:35:25.000Z | flair/trainers/__init__.py | db-bionlp/CLNER | 77910311acf0411252b9fea8c3e6efb7175eb21f | [
"MIT"
] | 13 | 2021-07-06T15:46:55.000Z | 2022-03-16T04:03:01.000Z | flair/trainers/__init__.py | db-bionlp/CLNER | 77910311acf0411252b9fea8c3e6efb7175eb21f | [
"MIT"
] | 7 | 2021-08-04T05:23:36.000Z | 2022-03-17T07:11:33.000Z | from .trainer import ModelTrainer
from .distillation_trainer import ModelDistiller
from .finetune_trainer import ModelFinetuner
from .reinforcement_trainer import ReinforcementTrainer
from .swaf_trainer import SWAFTrainer | 44.2 | 55 | 0.891403 | 24 | 221 | 8.041667 | 0.5 | 0.336788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085973 | 221 | 5 | 56 | 44.2 | 0.955446 | 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 |
f3c90e06ccafe07030febd7b54a492e426372d91 | 39 | py | Python | python_src/tbd_polly_speech/HashTable/__init__.py | xiangzhi/tbd_polly_speech | 92706a0afe2fc3cf4e1dab695564ab732a114501 | [
"MIT"
] | null | null | null | python_src/tbd_polly_speech/HashTable/__init__.py | xiangzhi/tbd_polly_speech | 92706a0afe2fc3cf4e1dab695564ab732a114501 | [
"MIT"
] | null | null | null | python_src/tbd_polly_speech/HashTable/__init__.py | xiangzhi/tbd_polly_speech | 92706a0afe2fc3cf4e1dab695564ab732a114501 | [
"MIT"
] | null | null | null | from .hash_table import HashTable, Item | 39 | 39 | 0.846154 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
34587dd3024a097c4094d78fa37127d0af845142 | 257 | py | Python | umlayer/adapters/__init__.py | selforthis/umlayer | 8679af2ec46d346bc1b4adbcb70e3ebc6a52604a | [
"MIT"
] | null | null | null | umlayer/adapters/__init__.py | selforthis/umlayer | 8679af2ec46d346bc1b4adbcb70e3ebc6a52604a | [
"MIT"
] | null | null | null | umlayer/adapters/__init__.py | selforthis/umlayer | 8679af2ec46d346bc1b4adbcb70e3ebc6a52604a | [
"MIT"
] | 1 | 2021-11-28T17:26:00.000Z | 2021-11-28T17:26:00.000Z | from umlayer.adapters.standard_item import StandardItem
from umlayer.adapters.standard_item_model import StandardItemModel
from umlayer.adapters.tree_sort_model import TreeSortModel
from umlayer.adapters.gui_adapters import makeItemFromProjectItem, itemize
| 51.4 | 74 | 0.898833 | 31 | 257 | 7.258065 | 0.483871 | 0.195556 | 0.337778 | 0.24 | 0.275556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066148 | 257 | 4 | 75 | 64.25 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
caeec9cbfe24f872c80f88fc354c8c4ab8087d67 | 11,557 | py | Python | tests/unit_tests/agents/sqlalchemy_agent/test_sqlalchemy_agent.py | tethysplatform/param_persist | 96b672fc88b0dad50c412138d9e1e2c235827d1e | [
"BSD-2-Clause"
] | 1 | 2020-09-14T16:19:58.000Z | 2020-09-14T16:19:58.000Z | tests/unit_tests/agents/sqlalchemy_agent/test_sqlalchemy_agent.py | tethysplatform/param_persist | 96b672fc88b0dad50c412138d9e1e2c235827d1e | [
"BSD-2-Clause"
] | 1 | 2020-09-10T20:45:26.000Z | 2020-09-10T20:45:26.000Z | tests/unit_tests/agents/sqlalchemy_agent/test_sqlalchemy_agent.py | tethysplatform/param_persist | 96b672fc88b0dad50c412138d9e1e2c235827d1e | [
"BSD-2-Clause"
] | null | null | null | """
Tests for the SqlAlchemy agent.
This file was created on August 06, 2020
"""
import json
import logging
import param
import pytest
from param_persist.agents.sqlalchemy_agent import SqlAlchemyAgent
from param_persist.sqlalchemy.models import InstanceModel, ParamModel
class AgentTestParam(param.Parameterized):
... | 41.873188 | 120 | 0.738081 | 1,395 | 11,557 | 5.782796 | 0.098925 | 0.087021 | 0.052064 | 0.052064 | 0.839841 | 0.815545 | 0.793851 | 0.764844 | 0.764349 | 0.732986 | 0 | 0.003887 | 0.176343 | 11,557 | 275 | 121 | 42.025455 | 0.843576 | 0.08073 | 0 | 0.678571 | 0 | 0 | 0.062476 | 0.00642 | 0 | 0 | 0 | 0 | 0.267857 | 1 | 0.059524 | false | 0 | 0.041667 | 0 | 0.154762 | 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 |
caf1e7a9965920ea91757575debcca6b70381a2a | 109 | py | Python | tests/test_headers.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 13 | 2020-04-18T15:17:58.000Z | 2022-02-24T13:25:46.000Z | tests/test_headers.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 5 | 2020-04-04T21:16:00.000Z | 2022-02-10T00:26:20.000Z | tests/test_headers.py | rickproza/twill | 7a98e4912a8ff929a94e35d35e7a027472ee4f46 | [
"MIT"
] | 3 | 2020-06-06T17:26:19.000Z | 2022-02-10T00:30:39.000Z | from .utils import execute_script
def test(url):
execute_script('test_headers.twill', initial_url=url)
| 18.166667 | 57 | 0.770642 | 16 | 109 | 5 | 0.6875 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 109 | 5 | 58 | 21.8 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b004201a35ffb33cc685271eb68f2ae46a7bd4e | 28 | py | Python | {{cookiecutter.project_slug}}/backend/api/views/__init__.py | Exanis/drf-cookie-react | 9eb7682dca47bd9365f114e4f170fd35a679cf14 | [
"MIT"
] | 1 | 2018-12-13T08:35:18.000Z | 2018-12-13T08:35:18.000Z | {{cookiecutter.project_slug}}/backend/api/views/__init__.py | Exanis/drf-cookie-react | 9eb7682dca47bd9365f114e4f170fd35a679cf14 | [
"MIT"
] | 75 | 2017-11-25T07:12:20.000Z | 2019-02-11T18:30:57.000Z | {{cookiecutter.project_slug}}/backend/api/views/__init__.py | Exanis/drf-cookie-react | 9eb7682dca47bd9365f114e4f170fd35a679cf14 | [
"MIT"
] | 2 | 2017-11-25T07:16:56.000Z | 2019-01-10T14:18:41.000Z | from .health import health
| 14 | 27 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b08781e796bae67ea52eba749aa4750fbbf2c10 | 8,843 | py | Python | imagenet-resnet50/el.py | lancopku/well-classified-examples-are-underestimated | 6ee7cdeae893d64d4795b2903d812875fe861c62 | [
"Apache-2.0"
] | 15 | 2021-10-13T07:12:43.000Z | 2022-03-09T04:13:08.000Z | imagenet-resnet50/el.py | lancopku/well-classified-examples-are-underestimated | 6ee7cdeae893d64d4795b2903d812875fe861c62 | [
"Apache-2.0"
] | null | null | null | imagenet-resnet50/el.py | lancopku/well-classified-examples-are-underestimated | 6ee7cdeae893d64d4795b2903d812875fe861c62 | [
"Apache-2.0"
] | null | null | null | import torch
import torch.nn as nn
from torch.nn import functional as F
import math
class EncourageLoss(nn.Module): # paste in 2021.4.7
def __init__(self, opt, cl_eps=1e-5):
super(EncourageLoss, self).__init__()
self.opt = opt
self.cl_eps = cl_eps
self.epoch = 1
def forward(se... | 56.324841 | 164 | 0.531381 | 1,206 | 8,843 | 3.708126 | 0.10199 | 0.076699 | 0.067084 | 0.080501 | 0.84839 | 0.824016 | 0.802102 | 0.775716 | 0.714445 | 0.699687 | 0 | 0.024217 | 0.33224 | 8,843 | 156 | 165 | 56.685897 | 0.733108 | 0.539749 | 0 | 0.142857 | 0 | 0 | 0.017789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.057143 | 0.014286 | 0.157143 | 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 |
1b6808605427d8922afb210d4cb668844e395f0a | 31 | py | Python | python_hmac_auth/__init__.py | Pance/python-hmac-auth | f00f499850e728be564742e96bacf92fdd8b8046 | [
"Apache-2.0"
] | 8 | 2016-07-14T12:38:21.000Z | 2021-03-21T14:08:14.000Z | python_hmac_auth/__init__.py | Pance/python-hmac-auth | f00f499850e728be564742e96bacf92fdd8b8046 | [
"Apache-2.0"
] | 9 | 2015-12-09T22:07:24.000Z | 2021-06-25T15:31:32.000Z | python_hmac_auth/__init__.py | Pance/python-hmac-auth | f00f499850e728be564742e96bacf92fdd8b8046 | [
"Apache-2.0"
] | 14 | 2015-04-15T19:15:18.000Z | 2020-10-29T10:28:39.000Z | from .hmac_auth import HmacAuth | 31 | 31 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9434c56d039823c889f17269ced152b2b1fb6b1a | 24 | py | Python | filestore/__init__.py | vbpupil/FileStore | f821a79077b1984c549be7589edfe566e70d8178 | [
"MIT"
] | null | null | null | filestore/__init__.py | vbpupil/FileStore | f821a79077b1984c549be7589edfe566e70d8178 | [
"MIT"
] | null | null | null | filestore/__init__.py | vbpupil/FileStore | f821a79077b1984c549be7589edfe566e70d8178 | [
"MIT"
] | null | null | null | from filestore import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
846ca98bb25ffd1ff8b73b64dacaecf7ed6b5c50 | 201 | py | Python | atlas/foundations_internal/src/foundations_internal/pipeline_context_wrapper.py | manesioz/atlas | 4afb63b48f65b0765300dc8034403aeca8489520 | [
"Apache-2.0"
] | 1 | 2021-11-01T12:47:44.000Z | 2021-11-01T12:47:44.000Z | atlas/foundations_internal/src/foundations_internal/pipeline_context_wrapper.py | manesioz/atlas | 4afb63b48f65b0765300dc8034403aeca8489520 | [
"Apache-2.0"
] | null | null | null | atlas/foundations_internal/src/foundations_internal/pipeline_context_wrapper.py | manesioz/atlas | 4afb63b48f65b0765300dc8034403aeca8489520 | [
"Apache-2.0"
] | null | null | null |
class PipelineContextWrapper(object):
def __init__(self, pipeline_context):
self._pipeline_context = pipeline_context
def pipeline_context(self):
return self._pipeline_context | 28.714286 | 49 | 0.751244 | 21 | 201 | 6.666667 | 0.428571 | 0.535714 | 0.407143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18408 | 201 | 7 | 50 | 28.714286 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
84ff1b2fc2afbd14b4d2902b0047ed1303ea2991 | 97 | py | Python | example/app.py | TheCaptainCat/flasque | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 4 | 2020-11-02T15:16:32.000Z | 2022-01-11T11:19:24.000Z | example/app.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 14 | 2021-01-04T11:06:59.000Z | 2022-03-23T17:01:49.000Z | example/app.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | null | null | null | from bolinette import Bolinette, main_func
@main_func
def create_app():
return Bolinette()
| 13.857143 | 42 | 0.762887 | 13 | 97 | 5.461538 | 0.692308 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 6 | 43 | 16.166667 | 0.876543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ca21d6e387d30a7221a2a5f3666ba0dbf0823bd8 | 220 | py | Python | PAINTeR/__init__.py | lejianhuang/RPN-signature_Lejian | 79f42c19330220a30eb0b7ef14d725274e77d607 | [
"BSD-3-Clause"
] | 11 | 2019-08-19T16:13:37.000Z | 2022-02-25T16:41:27.000Z | PAINTeR/__init__.py | lejianhuang/RPN-signature_Lejian | 79f42c19330220a30eb0b7ef14d725274e77d607 | [
"BSD-3-Clause"
] | 3 | 2019-04-26T09:42:56.000Z | 2020-04-19T11:28:38.000Z | PAINTeR/__init__.py | lejianhuang/RPN-signature_Lejian | 79f42c19330220a30eb0b7ef14d725274e77d607 | [
"BSD-3-Clause"
] | 4 | 2019-09-28T10:12:49.000Z | 2020-09-20T11:58:48.000Z | import warnings
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
warnings.filterwarnings("ignore", message="DeprecationWarning")
| 44 | 69 | 0.813636 | 23 | 220 | 7.782609 | 0.478261 | 0.368715 | 0.469274 | 0.586592 | 0.765363 | 0.513966 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 220 | 4 | 70 | 55 | 0.860577 | 0 | 0 | 0 | 0 | 0 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca2f3ad8ac478c3b15bb461a97a796ec48fd8ca9 | 75 | py | Python | mp/__init__.py | RawPikachu/valor | 02e1eb0e599904d3f0c49b52534fcb6c3762951d | [
"MIT"
] | null | null | null | mp/__init__.py | RawPikachu/valor | 02e1eb0e599904d3f0c49b52534fcb6c3762951d | [
"MIT"
] | null | null | null | mp/__init__.py | RawPikachu/valor | 02e1eb0e599904d3f0c49b52534fcb6c3762951d | [
"MIT"
] | null | null | null | from .avg_process import avg_process
from .plot_process import plot_process | 37.5 | 38 | 0.88 | 12 | 75 | 5.166667 | 0.416667 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 75 | 2 | 38 | 37.5 | 0.911765 | 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 |
ca882902ac679d306efeed9a70b232e726d466ae | 3,033 | py | Python | bibles/models.py | njuaplusplus/j0shua | d14c657c72df157aaf2e471010b06bd85f415296 | [
"Apache-2.0"
] | null | null | null | bibles/models.py | njuaplusplus/j0shua | d14c657c72df157aaf2e471010b06bd85f415296 | [
"Apache-2.0"
] | null | null | null | bibles/models.py | njuaplusplus/j0shua | d14c657c72df157aaf2e471010b06bd85f415296 | [
"Apache-2.0"
] | null | null | null | #!/usr/local/bin/python
# coding=utf-8
from django.db import models
# Create your models here.
# class Bible_NIV(models.Model):
# versenum = models.IntegerField(u'节')
# chapternum = models.IntegerField(u'章')
# book = models.CharField(u'卷', max_length=30)
# verse = models.TextField(u'经文')
# def __st... | 43.328571 | 117 | 0.70788 | 418 | 3,033 | 4.815789 | 0.172249 | 0.014903 | 0.104322 | 0.063587 | 0.752111 | 0.733731 | 0.724789 | 0.724789 | 0.724789 | 0.724789 | 0 | 0.004657 | 0.150346 | 3,033 | 69 | 118 | 43.956522 | 0.776484 | 0.144411 | 0 | 0.555556 | 0 | 0 | 0.12349 | 0.064277 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155556 | false | 0 | 0.022222 | 0.155556 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
ca9a31e724ba1c99601808dd53c1def1b7d36543 | 37 | py | Python | python/swap_without_temp_variable.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | 1 | 2020-10-06T01:20:07.000Z | 2020-10-06T01:20:07.000Z | python/swap_without_temp_variable.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | null | null | null | python/swap_without_temp_variable.py | angelopassaro/Hacktoberfest-1 | 21f90f5d49efba9b1a27f4d9b923f5017ab43f0e | [
"Apache-2.0"
] | null | null | null | a=5
b=6
a=a+b
b=a-b
a=a-b
print(a,b)
| 5.285714 | 10 | 0.540541 | 16 | 37 | 1.25 | 0.3125 | 0.4 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.162162 | 37 | 6 | 11 | 6.166667 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 1 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04c24aacec84123a7a476f51eab178640282d8a8 | 50 | py | Python | tests/assets/file1.py | Jordan-Gillard/Versionizer | 39e10e8e6de101945271bfa130deb8e01bd5679c | [
"Apache-2.0"
] | null | null | null | tests/assets/file1.py | Jordan-Gillard/Versionizer | 39e10e8e6de101945271bfa130deb8e01bd5679c | [
"Apache-2.0"
] | null | null | null | tests/assets/file1.py | Jordan-Gillard/Versionizer | 39e10e8e6de101945271bfa130deb8e01bd5679c | [
"Apache-2.0"
] | null | null | null | def foo():
return 3
def bar():
return 1
| 7.142857 | 12 | 0.52 | 8 | 50 | 3.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.36 | 50 | 6 | 13 | 8.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
04d335728d32154c46ea6817c9bc2eb521fb20d3 | 24 | py | Python | registration/models.py | lig/django-registration-me | 1ce0be9b493a6c93a27e5d54a768eb06d8afaf0e | [
"BSD-3-Clause"
] | 2 | 2017-05-12T08:24:20.000Z | 2017-10-01T09:39:55.000Z | registration/models.py | micadeyeye/Blongo | 482dfc2516e83bb3bbc320cacccfc979a977ead8 | [
"BSD-3-Clause"
] | null | null | null | registration/models.py | micadeyeye/Blongo | 482dfc2516e83bb3bbc320cacccfc979a977ead8 | [
"BSD-3-Clause"
] | null | null | null | from documents import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
b6e06bceee4e1cf1b858dc784e7cd79e2d4b439f | 71 | py | Python | s07/tools/DateTool.py | hiparker/study-python | 262f3f8f22f886e83c3bd19b7326e92257ead556 | [
"Apache-2.0"
] | 1 | 2021-01-07T14:29:34.000Z | 2021-01-07T14:29:34.000Z | s07/tools/DateTool.py | hiparker/study-python | 262f3f8f22f886e83c3bd19b7326e92257ead556 | [
"Apache-2.0"
] | null | null | null | s07/tools/DateTool.py | hiparker/study-python | 262f3f8f22f886e83c3bd19b7326e92257ead556 | [
"Apache-2.0"
] | null | null | null | import time
def getDate():
"""获得时间"""
return time.localtime() | 11.833333 | 27 | 0.605634 | 8 | 71 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 71 | 6 | 27 | 11.833333 | 0.781818 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b6e0a8f555b9f367026a91e92690df6a8c824f34 | 3,742 | py | Python | src/rdga_4k/__init__.py | aquinordg/cabidge | 576cb367dd20598848cd34ed25187cbcf6a8204e | [
"MIT"
] | null | null | null | src/rdga_4k/__init__.py | aquinordg/cabidge | 576cb367dd20598848cd34ed25187cbcf6a8204e | [
"MIT"
] | null | null | null | src/rdga_4k/__init__.py | aquinordg/cabidge | 576cb367dd20598848cd34ed25187cbcf6a8204e | [
"MIT"
] | 1 | 2022-03-23T23:55:46.000Z | 2022-03-23T23:55:46.000Z | def catbird(m, n, k, lmbd=.5, eps=.5, random_state=None):
# libraries
import numpy as np
import math
from numpy.random import RandomState
if random_state is None:
random_state = RandomState()
elif type(random_state) == int:
random_state = RandomState(random_state)
else:
... | 25.455782 | 106 | 0.528327 | 585 | 3,742 | 3.237607 | 0.14188 | 0.116156 | 0.026399 | 0.034847 | 0.817846 | 0.782471 | 0.7566 | 0.744456 | 0.694826 | 0.635692 | 0 | 0.023208 | 0.343666 | 3,742 | 147 | 107 | 25.455782 | 0.747964 | 0.021112 | 0 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.080808 | false | 0 | 0.060606 | 0.040404 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8e307a993349c2552e2b3e793629567c4e785de2 | 2,426 | py | Python | skforecast/utils/tests/test_preproces_exog.py | JavierEscobarOrtiz/skforecast | a3af4a1dd4201c582f159d4e3a1734ed6d29b6c5 | [
"MIT"
] | 1 | 2021-12-01T09:21:21.000Z | 2021-12-01T09:21:21.000Z | skforecast/utils/tests/test_preproces_exog.py | JavierEscobarOrtiz/skforecast | a3af4a1dd4201c582f159d4e3a1734ed6d29b6c5 | [
"MIT"
] | null | null | null | skforecast/utils/tests/test_preproces_exog.py | JavierEscobarOrtiz/skforecast | a3af4a1dd4201c582f159d4e3a1734ed6d29b6c5 | [
"MIT"
] | null | null | null | # Unit test preprocess_exog
# ==============================================================================
import pytest
import numpy as np
import pandas as pd
from skforecast.utils import preprocess_exog
def test_output_preprocess_exog_when_exog_index_is_DatetimeIndex_and_has_frequency():
'''
Test values re... | 35.15942 | 93 | 0.590272 | 310 | 2,426 | 4.458065 | 0.196774 | 0.101302 | 0.052098 | 0.06657 | 0.828509 | 0.828509 | 0.828509 | 0.828509 | 0.777135 | 0.68741 | 0 | 0.052457 | 0.253504 | 2,426 | 69 | 94 | 35.15942 | 0.710657 | 0.184666 | 0 | 0.543478 | 0 | 0 | 0.04505 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 1 | 0.086957 | false | 0 | 0.086957 | 0 | 0.173913 | 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 |
f3f90730dddc62acd13e6b6206681b813b3239b0 | 101 | py | Python | challenges/2020/06-customCustoms/python/common.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | 9 | 2020-12-06T23:18:30.000Z | 2021-12-19T22:31:26.000Z | challenges/2020/06-customCustoms/python/common.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | null | null | null | challenges/2020/06-customCustoms/python/common.py | codemicro/adventOfCode | 53574532ece1d19e5f5ba2f39e8e183c4c6225a1 | [
"MIT"
] | 3 | 2020-12-08T09:45:44.000Z | 2020-12-15T19:20:20.000Z | from typing import List
def parse(instr: str) -> List[str]:
return instr.strip().split("\n\n")
| 16.833333 | 38 | 0.653465 | 16 | 101 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 101 | 5 | 39 | 20.2 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.039604 | 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 |
6d1a916a85f37bad9f2f6f58358714473bf026ad | 164 | py | Python | web/templatetags/pagination.py | zinaukarenku/zkr-platform | 8daf7d1206c482f1f8e0bcd54d4fde783e568774 | [
"Apache-2.0"
] | 2 | 2018-11-16T21:45:17.000Z | 2019-02-03T19:55:46.000Z | web/templatetags/pagination.py | zinaukarenku/zkr-platform | 8daf7d1206c482f1f8e0bcd54d4fde783e568774 | [
"Apache-2.0"
] | 13 | 2018-08-17T19:12:11.000Z | 2022-03-11T23:27:41.000Z | web/templatetags/pagination.py | zinaukarenku/zkr-platform | 8daf7d1206c482f1f8e0bcd54d4fde783e568774 | [
"Apache-2.0"
] | null | null | null | from django.template import Library
register = Library()
@register.simple_tag
def get_page_link(paginator_page, page):
return paginator_page.page_link(page)
| 18.222222 | 41 | 0.79878 | 23 | 164 | 5.434783 | 0.608696 | 0.24 | 0.272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 8 | 42 | 20.5 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6d6483e83a39798cfdc5582ab41bab24ef98a98c | 63 | py | Python | ctpbee/interface/sim/__init__.py | touqi/ctpbee | 72a01b818523ac90792db9431439ef5e5b312774 | [
"MIT"
] | 1 | 2020-07-27T15:05:40.000Z | 2020-07-27T15:05:40.000Z | ctpbee/interface/sim/__init__.py | TouQi/ctpbee | 72a01b818523ac90792db9431439ef5e5b312774 | [
"MIT"
] | null | null | null | ctpbee/interface/sim/__init__.py | TouQi/ctpbee | 72a01b818523ac90792db9431439ef5e5b312774 | [
"MIT"
] | null | null | null | from .md_api import SimMarket
from .td_api import SimInterface
| 21 | 32 | 0.84127 | 10 | 63 | 5.1 | 0.7 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 2 | 33 | 31.5 | 0.927273 | 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 |
eddfcd0f9282ce5315ad698c04305394027f4e91 | 23 | py | Python | detectionModules/wifi/__init__.py | Impeekay/shop-analytics-pi | 4e02068775b700da3f0e01a612fdc5cc29c85eaf | [
"MIT"
] | 1 | 2020-12-12T07:00:03.000Z | 2020-12-12T07:00:03.000Z | detectionModules/wifi/__init__.py | Impeekay/shop-analytics-pi | 4e02068775b700da3f0e01a612fdc5cc29c85eaf | [
"MIT"
] | 7 | 2020-11-13T18:47:55.000Z | 2022-03-12T00:30:13.000Z | detectionModules/wifi/__init__.py | Impeekay/shop-analytics-pi | 4e02068775b700da3f0e01a612fdc5cc29c85eaf | [
"MIT"
] | 3 | 2020-05-11T06:59:28.000Z | 2020-06-08T16:59:54.000Z | from .main import WiFi
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6109d3d1a7ca37ba56d50ebff1d9b4bc59a0207f | 834 | py | Python | tests/conftest.py | IanBrown00/pytest-play | 7928f7edc37ebbf78f67d094db398bbb687301c6 | [
"MIT"
] | null | null | null | tests/conftest.py | IanBrown00/pytest-play | 7928f7edc37ebbf78f67d094db398bbb687301c6 | [
"MIT"
] | null | null | null | tests/conftest.py | IanBrown00/pytest-play | 7928f7edc37ebbf78f67d094db398bbb687301c6 | [
"MIT"
] | null | null | null |
import statistics
import time
from typing import Union
import pytest
MIN = 0
MAX = 4
@pytest.fixture(scope="session")
def data():
# TODO: Parameterize for int and float types
return range(MIN, MAX + 1, 1)
@pytest.fixture(scope="session", params=[int, float])
def max_val(request) -> Union[int, float]:
r... | 23.828571 | 58 | 0.701439 | 122 | 834 | 4.762295 | 0.311475 | 0.134251 | 0.185886 | 0.215146 | 0.678141 | 0.564544 | 0.564544 | 0.564544 | 0.130809 | 0 | 0 | 0.008451 | 0.148681 | 834 | 35 | 59 | 23.828571 | 0.809859 | 0.05036 | 0 | 0.2 | 0 | 0 | 0.05443 | 0 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0.24 | false | 0 | 0.16 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b61a95a5d89698fecdbb11aae4533408bde7c6cb | 48 | py | Python | boards/stm32/NUCLEO_H743ZI2_MICROLITE/manifest.py | mattiantonini/tensorflow-micropython-examples | aab677bce2fcc239dab94b765155b767a8c29d2e | [
"MIT"
] | null | null | null | boards/stm32/NUCLEO_H743ZI2_MICROLITE/manifest.py | mattiantonini/tensorflow-micropython-examples | aab677bce2fcc239dab94b765155b767a8c29d2e | [
"MIT"
] | null | null | null | boards/stm32/NUCLEO_H743ZI2_MICROLITE/manifest.py | mattiantonini/tensorflow-micropython-examples | aab677bce2fcc239dab94b765155b767a8c29d2e | [
"MIT"
] | null | null | null | freeze("$(BOARD_DIR)/../../src/utils", "xxd.py") | 48 | 48 | 0.583333 | 7 | 48 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 48 | 1 | 48 | 48 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0.693878 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b623f46cd17c2edd56d4a3edf21576d77f34d1c1 | 261 | py | Python | virtool_workflow_runtime/autoload.py | igboyes/virtool-workflow | 1ef9a4b0bada1963ff9be0470dfe74b32c9e7ccf | [
"MIT"
] | null | null | null | virtool_workflow_runtime/autoload.py | igboyes/virtool-workflow | 1ef9a4b0bada1963ff9be0470dfe74b32c9e7ccf | [
"MIT"
] | null | null | null | virtool_workflow_runtime/autoload.py | igboyes/virtool-workflow | 1ef9a4b0bada1963ff9be0470dfe74b32c9e7ccf | [
"MIT"
] | null | null | null | """Workflow fixtures from this module are implicitly loaded by the runtime."""
__fixtures__ = [
"virtool_workflow.execute",
"virtool_workflow_runtime.db.db",
"virtool_workflow_runtime.db.fixtures",
"virtool_workflow_runtime.config.fixtures",
]
| 29 | 78 | 0.750958 | 30 | 261 | 6.166667 | 0.5 | 0.324324 | 0.356757 | 0.259459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 261 | 8 | 79 | 32.625 | 0.822222 | 0.275862 | 0 | 0 | 0 | 0 | 0.710383 | 0.710383 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fceb315aa70b7484353338068f2b73a863a806f6 | 69 | py | Python | coindeblend/models/__init__.py | aboucaud/deblend | 59b950d7de82814a42671e22497f87f3653942f6 | [
"BSD-3-Clause"
] | 3 | 2021-09-03T10:10:03.000Z | 2021-09-03T20:01:03.000Z | coindeblend/models/__init__.py | aboucaud/deblend | 59b950d7de82814a42671e22497f87f3653942f6 | [
"BSD-3-Clause"
] | 3 | 2021-08-25T15:47:28.000Z | 2022-02-10T00:19:44.000Z | coindeblend/models/__init__.py | aboucaud/deblend | 59b950d7de82814a42671e22497f87f3653942f6 | [
"BSD-3-Clause"
] | 2 | 2020-09-28T18:35:59.000Z | 2020-10-01T14:08:10.000Z | from .unet import *
from .decompnet import *
from .seqstack import *
| 17.25 | 24 | 0.73913 | 9 | 69 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 3 | 25 | 23 | 0.894737 | 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.