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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0507e8ef0a86a503ec33df52636187d448e66a5b | 2,887 | py | Python | FRCScouting/TheBlueAlliance/event.py | xNovax/FRCScouting.ca | caf2774e5854a7386eceb21e57b68c1f9c1f7d2d | [
"MIT"
] | 1 | 2019-06-13T03:07:15.000Z | 2019-06-13T03:07:15.000Z | FRCScouting/TheBlueAlliance/event.py | xNovax/FRCScouting.ca | caf2774e5854a7386eceb21e57b68c1f9c1f7d2d | [
"MIT"
] | 8 | 2019-07-04T16:19:06.000Z | 2019-07-12T17:37:51.000Z | FRCScouting/TheBlueAlliance/event.py | xNovax/FRCScouting.ca | caf2774e5854a7386eceb21e57b68c1f9c1f7d2d | [
"MIT"
] | null | null | null | from django.conf import settings
import tbaapiv3client
from tbaapiv3client.rest import ApiException
def get_event(eventkey):
configuration = tbaapiv3client.Configuration()
configuration.api_key['X-TBA-Auth-Key'] = settings.THE_BLUE_ALLIANCE_KEY
api_instance = tbaapiv3client.EventApi(tbaapiv3client.ApiClien... | 34.369048 | 83 | 0.731209 | 346 | 2,887 | 5.82948 | 0.130058 | 0.065444 | 0.043629 | 0.059494 | 0.907784 | 0.90233 | 0.839365 | 0.839365 | 0.839365 | 0.839365 | 0 | 0.015457 | 0.19328 | 2,887 | 83 | 84 | 34.783133 | 0.85058 | 0 | 0 | 0.684932 | 0 | 0 | 0.029096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109589 | false | 0 | 0.041096 | 0 | 0.342466 | 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 |
051b4b83692eb5e14b1ba6c403ebaae73e514a2c | 5,788 | py | Python | tests/expectations/core/test_expect_column_values_to_be_in_set.py | mmi333/great_expectations | cc9df78596610002c24e2d46f737179e04f31d29 | [
"Apache-2.0"
] | 1 | 2022-03-17T08:05:44.000Z | 2022-03-17T08:05:44.000Z | tests/expectations/core/test_expect_column_values_to_be_in_set.py | Tchibo/great_expectations | 27220336190039148ab91138cb2fd489d2159183 | [
"Apache-2.0"
] | null | null | null | tests/expectations/core/test_expect_column_values_to_be_in_set.py | Tchibo/great_expectations | 27220336190039148ab91138cb2fd489d2159183 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import pytest
import great_expectations.exceptions.exceptions
from great_expectations.core.batch import RuntimeBatchRequest
from great_expectations.data_context import DataContext
from great_expectations.expectations.core.expect_column_values_to_be_in_set import (
ExpectColumnValuesToBeInSet,
)... | 29.380711 | 85 | 0.626296 | 632 | 5,788 | 5.318038 | 0.132911 | 0.053555 | 0.058911 | 0.074383 | 0.863731 | 0.863731 | 0.859566 | 0.850342 | 0.840821 | 0.828027 | 0 | 0.068166 | 0.270041 | 5,788 | 196 | 86 | 29.530612 | 0.727337 | 0.003455 | 0 | 0.678788 | 0 | 0 | 0.167563 | 0.050304 | 0 | 0 | 0 | 0 | 0.024242 | 1 | 0.030303 | false | 0.012121 | 0.036364 | 0 | 0.078788 | 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 |
05658d569f8677aac4c1ee9887ccd1434308387b | 26 | py | Python | examples/tuple_subscr.py | igfish/toyvm | bb1ab371a8c71ba01522556235fc9f017c9b6b8f | [
"MIT"
] | null | null | null | examples/tuple_subscr.py | igfish/toyvm | bb1ab371a8c71ba01522556235fc9f017c9b6b8f | [
"MIT"
] | null | null | null | examples/tuple_subscr.py | igfish/toyvm | bb1ab371a8c71ba01522556235fc9f017c9b6b8f | [
"MIT"
] | null | null | null | t = (1, 3, 4)
print(t[2])
| 8.666667 | 13 | 0.423077 | 7 | 26 | 1.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.230769 | 26 | 2 | 14 | 13 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
05665476964a333ad19115c9b76551d2ce727328 | 2,980 | py | Python | tests/test.py | marinang/mplhep | 05648f2123c2104783950c02a25c1c477942975e | [
"MIT"
] | null | null | null | tests/test.py | marinang/mplhep | 05648f2123c2104783950c02a25c1c477942975e | [
"MIT"
] | null | null | null | tests/test.py | marinang/mplhep | 05648f2123c2104783950c02a25c1c477942975e | [
"MIT"
] | 1 | 2020-04-13T01:25:56.000Z | 2020-04-13T01:25:56.000Z | import pytest
import matplotlib.pyplot as plt
import numpy as np
import mplhep as hep
"""
To test run:
py.test --mpl
When adding new tests, run:
py.test --mpl-generate-path=tests/baseline
"""
plt.switch_backend("Agg")
@pytest.mark.mpl_image_compare(style='default', remove_text=True)
def test_basic():
fig, ax ... | 30.10101 | 85 | 0.65 | 502 | 2,980 | 3.790837 | 0.181275 | 0.042039 | 0.07567 | 0.132422 | 0.77877 | 0.768261 | 0.755649 | 0.74619 | 0.737257 | 0.7031 | 0 | 0.05491 | 0.162752 | 2,980 | 98 | 86 | 30.408163 | 0.707816 | 0 | 0 | 0.5 | 1 | 0 | 0.082811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.064516 | 0 | 0.193548 | 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 |
553ac8488c54710d57740c7d2c1821780efaaf60 | 45 | py | Python | src/routes/__init__.py | kumardeepak/file-server | b94d87cadcc93c142a7d4f9bb368d75f7eda5671 | [
"MIT"
] | null | null | null | src/routes/__init__.py | kumardeepak/file-server | b94d87cadcc93c142a7d4f9bb368d75f7eda5671 | [
"MIT"
] | null | null | null | src/routes/__init__.py | kumardeepak/file-server | b94d87cadcc93c142a7d4f9bb368d75f7eda5671 | [
"MIT"
] | null | null | null | from .fileupload import FILEUPLOAD_BLUEPRINT
| 22.5 | 44 | 0.888889 | 5 | 45 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 |
556347af5d83298e6fba0b1d10d57ecddc24379c | 137 | py | Python | asset/__init__.py | jp-quant/qfengine | f71c263becb82ee5b7022c17d7983b40d5df31bb | [
"MIT"
] | 3 | 2021-01-19T10:16:19.000Z | 2022-02-13T16:33:11.000Z | asset/__init__.py | jp-quant/qfengine | f71c263becb82ee5b7022c17d7983b40d5df31bb | [
"MIT"
] | null | null | null | asset/__init__.py | jp-quant/qfengine | f71c263becb82ee5b7022c17d7983b40d5df31bb | [
"MIT"
] | 2 | 2021-05-11T12:01:34.000Z | 2021-08-29T04:49:25.000Z | from qfengine.asset.equity import Equity
from qfengine.asset.cash import Cash
from typing import Union
assetClasses = Union[Equity,Cash] | 27.4 | 40 | 0.832117 | 20 | 137 | 5.7 | 0.45 | 0.210526 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109489 | 137 | 5 | 41 | 27.4 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55a45b86c6d5274ae6a4557b9870cce1501dd9db | 83 | py | Python | MiddleKit/Core/FloatAttr.py | PeaceWorksTechnologySolutions/w4py | 74f5a03a63f1a93563502b908474aefaae2abda2 | [
"MIT"
] | 18 | 2016-08-01T20:15:59.000Z | 2019-12-24T16:00:03.000Z | MiddleKit/Core/FloatAttr.py | WebwareForPython/w4py | bba08f5974d49f5da7e88abe3eeda1037d0824a3 | [
"MIT"
] | 6 | 2016-09-13T05:48:45.000Z | 2020-01-09T18:29:12.000Z | MiddleKit/Core/FloatAttr.py | WebwareForPython/w4py | bba08f5974d49f5da7e88abe3eeda1037d0824a3 | [
"MIT"
] | 6 | 2016-09-16T14:32:29.000Z | 2020-01-03T18:52:16.000Z | from BasicTypeAttr import BasicTypeAttr
class FloatAttr(BasicTypeAttr):
pass
| 13.833333 | 39 | 0.807229 | 8 | 83 | 8.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156627 | 83 | 5 | 40 | 16.6 | 0.957143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e959c90c03cd61dd7f9b15451c3e7f730b2f0578 | 29 | py | Python | app/engine/graphics/ui_framework/premade_components/__init__.py | zerorock1312/lt-maker-master | 82f733683f9dba763a5de8567c41fd7cbcfb0173 | [
"MIT"
] | null | null | null | app/engine/graphics/ui_framework/premade_components/__init__.py | zerorock1312/lt-maker-master | 82f733683f9dba763a5de8567c41fd7cbcfb0173 | [
"MIT"
] | null | null | null | app/engine/graphics/ui_framework/premade_components/__init__.py | zerorock1312/lt-maker-master | 82f733683f9dba763a5de8567c41fd7cbcfb0173 | [
"MIT"
] | null | null | null | from .text_component import * | 29 | 29 | 0.827586 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e9691c22fd388339d423482295c8fc8ce8872e3d | 200 | py | Python | output/models/ms_data/schema/sch_p2_a_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/schema/sch_p2_a_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/schema/sch_p2_a_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.schema.sch_p2_a_xsd.sch_p2_a import (
E1,
Root,
)
from output.models.ms_data.schema.sch_p2_a_xsd.sch_p2_b import BE1
__all__ = [
"E1",
"Root",
"BE1",
]
| 16.666667 | 66 | 0.675 | 35 | 200 | 3.4 | 0.457143 | 0.168067 | 0.151261 | 0.302521 | 0.705882 | 0.705882 | 0.705882 | 0.705882 | 0.705882 | 0.705882 | 0 | 0.049689 | 0.195 | 200 | 11 | 67 | 18.181818 | 0.689441 | 0 | 0 | 0 | 0 | 0 | 0.045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9a0a5c09923d00be65e3e9d3bd8e86d4f593fb7 | 161 | py | Python | simsiam/engine/__init__.py | tillaczel/simsiam | d4d03aae625314ac2f24155fac3ca5bfc31502c7 | [
"MIT"
] | null | null | null | simsiam/engine/__init__.py | tillaczel/simsiam | d4d03aae625314ac2f24155fac3ca5bfc31502c7 | [
"MIT"
] | null | null | null | simsiam/engine/__init__.py | tillaczel/simsiam | d4d03aae625314ac2f24155fac3ca5bfc31502c7 | [
"MIT"
] | null | null | null | from simsiam.engine.unsupervised import UnsupervisedEngine
from simsiam.engine.supervised import SupervisedEngine
from simsiam.engine.linear import LinearEngine
| 40.25 | 58 | 0.888199 | 18 | 161 | 7.944444 | 0.555556 | 0.230769 | 0.356643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074534 | 161 | 3 | 59 | 53.666667 | 0.959732 | 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 |
757d22d85afd98ccbca8b6bec384fbdba8ec3318 | 3,717 | py | Python | tests/k8s/test_read_obj.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | tests/k8s/test_read_obj.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | tests/k8s/test_read_obj.py | thevennamaneni/kopf | 020f8bc91268225d43575e1bb69470ef10ae6113 | [
"MIT"
] | null | null | null | import kubernetes.client.rest
import pytest
from asynctest import call
from kopf.k8s.fetching import read_obj
def test_when_present_clustered(client_mock, resource):
result = object()
apicls_mock = client_mock.CustomObjectsApi
apicls_mock.return_value.get_cluster_custom_object.return_value = result
a... | 42.238636 | 97 | 0.765402 | 477 | 3,717 | 5.677149 | 0.15304 | 0.070162 | 0.082718 | 0.108567 | 0.882201 | 0.85192 | 0.850812 | 0.850812 | 0.824963 | 0.745938 | 0 | 0.01117 | 0.132903 | 3,717 | 87 | 98 | 42.724138 | 0.829041 | 0 | 0 | 0.681159 | 0 | 0 | 0.055152 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 1 | 0.072464 | false | 0 | 0.057971 | 0 | 0.130435 | 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 |
ddaf3f53b08e459a0dea7ed1433f69412c03a5f8 | 46,357 | py | Python | main/courses/course_materials.py | mahkhaled/class2go | b32cb441e8d96c257f70cb61274812ebeed2649d | [
"Apache-2.0"
] | null | null | null | main/courses/course_materials.py | mahkhaled/class2go | b32cb441e8d96c257f70cb61274812ebeed2649d | [
"Apache-2.0"
] | null | null | null | main/courses/course_materials.py | mahkhaled/class2go | b32cb441e8d96c257f70cb61274812ebeed2649d | [
"Apache-2.0"
] | null | null | null | from c2g.models import *
import datetime
from django.db.models import Count, Max, Q, F
from django.db import connection
def get_course_materials(common_page_data, get_video_content=False, get_pset_content=False, get_additional_page_content = False, get_file_content=False, get_exam_content=False, exam_types=[]):
C... | 72.546166 | 1,121 | 0.501607 | 4,257 | 46,357 | 5.0895 | 0.076345 | 0.05354 | 0.075695 | 0.072002 | 0.787178 | 0.767331 | 0.741023 | 0.720622 | 0.71693 | 0.71693 | 0 | 0.016621 | 0.418556 | 46,357 | 638 | 1,122 | 72.659875 | 0.787193 | 0.072201 | 0 | 0.62069 | 0 | 0.038314 | 0.066845 | 0.024546 | 0 | 0 | 0 | 0.001567 | 0 | 1 | 0.021073 | false | 0 | 0.007663 | 0 | 0.076628 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ddd8eb0ca8ce86cbf8798c78b3e372538e8e021c | 24 | py | Python | build/lib/tools/pes/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | build/lib/tools/pes/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | build/lib/tools/pes/__init__.py | miquelcanyelles/PhDtools | f397261d890d36a6ecaa018fcd0e67959a78c0e9 | [
"MIT"
] | null | null | null | from tools.pes import *
| 12 | 23 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
ddef75b1aa9d329ada1028eb11964fcb37ee981e | 108 | py | Python | yukicoder/yuki063.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | yukicoder/yuki063.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | yukicoder/yuki063.py | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | L, K = map(int, input().split())
if L % (K*2) == 0:
print(K*(L//(K*2)-1))
else:
print(K*(L//(K*2)))
| 18 | 32 | 0.435185 | 23 | 108 | 2.043478 | 0.521739 | 0.170213 | 0.191489 | 0.340426 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0.203704 | 108 | 5 | 33 | 21.6 | 0.488372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
34d881921b2c12d0666db4ae431b1c1705ec7943 | 80 | py | Python | naics/base_codes/__init__.py | dylanmoring/naics_sic | 8b51ddf0b9ab1b9d380bfd620564ac281bb7d1d2 | [
"MIT"
] | null | null | null | naics/base_codes/__init__.py | dylanmoring/naics_sic | 8b51ddf0b9ab1b9d380bfd620564ac281bb7d1d2 | [
"MIT"
] | null | null | null | naics/base_codes/__init__.py | dylanmoring/naics_sic | 8b51ddf0b9ab1b9d380bfd620564ac281bb7d1d2 | [
"MIT"
] | null | null | null | from .naics_code import NAICSIndustryCode
from .sic_code import SICIndustryCode
| 26.666667 | 41 | 0.875 | 10 | 80 | 6.8 | 0.7 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 42 | 40 | 0.944444 | 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 |
9b8c08f165afec1d6bef305c7b8f84490afd058a | 184 | py | Python | conan_ue4cli/commands/__init__.py | JJC1138/conan-ue4cli | 76163a21cb63976cacfea46b024d80c12cf39313 | [
"MIT"
] | null | null | null | conan_ue4cli/commands/__init__.py | JJC1138/conan-ue4cli | 76163a21cb63976cacfea46b024d80c12cf39313 | [
"MIT"
] | null | null | null | conan_ue4cli/commands/__init__.py | JJC1138/conan-ue4cli | 76163a21cb63976cacfea46b024d80c12cf39313 | [
"MIT"
] | null | null | null | from .boilerplate import boilerplate
from .build import build
from .generate import generate
from .precompute import precompute
from .sources import sources
from .update import update
| 26.285714 | 36 | 0.836957 | 24 | 184 | 6.416667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 184 | 6 | 37 | 30.666667 | 0.9625 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
32da01ad48487c0a6a79b88c6fe5b8867c4aa858 | 9,883 | py | Python | q2_api_client/clients/v2/pfm_client.py | jcook00/q2-api-client | 4431af164eb4baf52e26e8842e017cad1609a279 | [
"BSD-2-Clause"
] | null | null | null | q2_api_client/clients/v2/pfm_client.py | jcook00/q2-api-client | 4431af164eb4baf52e26e8842e017cad1609a279 | [
"BSD-2-Clause"
] | null | null | null | q2_api_client/clients/v2/pfm_client.py | jcook00/q2-api-client | 4431af164eb4baf52e26e8842e017cad1609a279 | [
"BSD-2-Clause"
] | null | null | null | from q2_api_client.clients.base_q2_client import BaseQ2Client
from q2_api_client.endpoints.v2_endpoints import PFMEndpoint
class PFMClient(BaseQ2Client):
def get_account(self, account_guid, member_guid=None):
"""GET /v2/pfm/accounts/{accountGuid}
:param str account_guid: path parameter
:... | 39.063241 | 101 | 0.680765 | 1,152 | 9,883 | 5.638889 | 0.091146 | 0.04064 | 0.070813 | 0.088516 | 0.798491 | 0.789255 | 0.768319 | 0.763239 | 0.673184 | 0.664563 | 0 | 0.00484 | 0.226449 | 9,883 | 252 | 102 | 39.218254 | 0.844866 | 0.37519 | 0 | 0.4375 | 0 | 0 | 0.007269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2875 | false | 0 | 0.025 | 0 | 0.6125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
32e38d7887194eb390ea2ee480841b9d9f727a5c | 898 | py | Python | metric_learning_traffic/models/__init__.py | GT-AcerZhang/BaiduStar2020-Traffic-Sign-Detection-And-Pair-Competition-Solution | 3e44ff6975562aa8bcd55485bafe1b494f37a859 | [
"Apache-2.0"
] | 13 | 2020-09-09T12:23:36.000Z | 2022-03-16T09:42:07.000Z | metric_learning_traffic/models/__init__.py | GT-AcerZhang/BaiduStar2020-Traffic-Sign-Detection-And-Pair-Competition-Solution | 3e44ff6975562aa8bcd55485bafe1b494f37a859 | [
"Apache-2.0"
] | null | null | null | metric_learning_traffic/models/__init__.py | GT-AcerZhang/BaiduStar2020-Traffic-Sign-Detection-And-Pair-Competition-Solution | 3e44ff6975562aa8bcd55485bafe1b494f37a859 | [
"Apache-2.0"
] | 5 | 2020-09-14T07:35:39.000Z | 2021-12-22T02:03:31.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .resnet_embedding import ResNet50
from .resnet_embedding import ResNet101
from .resnet_embedding import ResNet152
from .resnext_vd_embedding import ResNeXt50_vd_32x4d
from .resnext_vd_embedding import ResNe... | 47.263158 | 59 | 0.898664 | 133 | 898 | 5.548872 | 0.233083 | 0.284553 | 0.219512 | 0.292683 | 0.50271 | 0.50271 | 0.50271 | 0.100271 | 0 | 0 | 0 | 0.089915 | 0.083519 | 898 | 19 | 60 | 47.263158 | 0.806804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.052632 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd3603c5b7f277a890d41cd1c13395195290ac10 | 2,842 | py | Python | tests/backend/endpoints/test_eventstore.py | aspuru-guzik-group/molar | a3e0c337bd8a41c94b2c25831c95048cc7614f04 | [
"BSD-3-Clause"
] | 4 | 2021-07-20T18:49:44.000Z | 2021-10-15T00:58:12.000Z | tests/backend/endpoints/test_eventstore.py | aspuru-guzik-group/molar | a3e0c337bd8a41c94b2c25831c95048cc7614f04 | [
"BSD-3-Clause"
] | null | null | null | tests/backend/endpoints/test_eventstore.py | aspuru-guzik-group/molar | a3e0c337bd8a41c94b2c25831c95048cc7614f04 | [
"BSD-3-Clause"
] | 2 | 2022-01-07T17:57:42.000Z | 2022-01-13T21:00:20.000Z | # std
from datetime import datetime
class TestEventStore:
def test_create_eventstore(self, client, new_database_headers):
out = client.post(
"/api/v1/eventstore/test_database",
headers=new_database_headers,
json={"type": "molecule", "data": {"smiles": "abc"}},
)... | 34.240964 | 81 | 0.569317 | 306 | 2,842 | 5.081699 | 0.205882 | 0.241158 | 0.185209 | 0.176849 | 0.753055 | 0.753055 | 0.72283 | 0.72283 | 0.634084 | 0.55627 | 0 | 0.032126 | 0.309993 | 2,842 | 82 | 82 | 34.658537 | 0.760836 | 0.014426 | 0 | 0.492958 | 0 | 0 | 0.186986 | 0.13872 | 0 | 0 | 0 | 0 | 0.140845 | 1 | 0.070423 | false | 0 | 0.014085 | 0 | 0.098592 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd590a64dc1f14459e9d3e110c7e9d325b15dee5 | 176 | py | Python | test_annotations/helpers.py | sk-/python2.7-type-annotator | 949422534a491209e28660a94b62e8afcaa10759 | [
"MIT"
] | 1 | 2015-12-13T14:27:23.000Z | 2015-12-13T14:27:23.000Z | test_annotations/helpers.py | sk-/python2.7-type-annotator | 949422534a491209e28660a94b62e8afcaa10759 | [
"MIT"
] | null | null | null | test_annotations/helpers.py | sk-/python2.7-type-annotator | 949422534a491209e28660a94b62e8afcaa10759 | [
"MIT"
] | null | null | null | class A(object):
def foo(self, x, y, *args, **kwargs):
return x
def __call__(self, foo):
return foo
def foo(a, b=None, *args, **kwargs):
return a
| 17.6 | 41 | 0.551136 | 27 | 176 | 3.444444 | 0.518519 | 0.129032 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295455 | 176 | 9 | 42 | 19.555556 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bd22415a282da260d793b10642e70eca5acd666f | 48 | py | Python | automatapy/automata/regex.py | cxlvinchau/automata-py | c0c27866a8f32ca4ccb970b3ffa8f63adb62bef9 | [
"MIT"
] | 3 | 2022-02-16T13:50:15.000Z | 2022-02-16T23:17:32.000Z | automatapy/automata/regex.py | cxlvinchau/automatapy | c0c27866a8f32ca4ccb970b3ffa8f63adb62bef9 | [
"MIT"
] | null | null | null | automatapy/automata/regex.py | cxlvinchau/automatapy | c0c27866a8f32ca4ccb970b3ffa8f63adb62bef9 | [
"MIT"
] | null | null | null | class Regex:
def to_nfa(self):
pass | 12 | 21 | 0.5625 | 7 | 48 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 48 | 4 | 22 | 12 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
bd4bde411cacfdff61372bbcfa7da0118bd6e955 | 48 | py | Python | src/nesteddataclasses/__init__.py | mububoki/nested-dataclasses | e4cf74a52c4bf3e4a6cb7d589a8c3c3d94135ee4 | [
"MIT"
] | null | null | null | src/nesteddataclasses/__init__.py | mububoki/nested-dataclasses | e4cf74a52c4bf3e4a6cb7d589a8c3c3d94135ee4 | [
"MIT"
] | 1 | 2021-07-27T15:04:06.000Z | 2021-07-27T15:04:06.000Z | src/nesteddataclasses/__init__.py | mububoki/nested-dataclasses | e4cf74a52c4bf3e4a6cb7d589a8c3c3d94135ee4 | [
"MIT"
] | null | null | null | from .nesteddataclasses import nested_dataclass
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 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 |
1fb27407c6193966c9acd50ef6aacb1defab3098 | 64 | py | Python | h264tomp4/__init__.py | y-tetsu/gmail_picamera | 7f9f4f5564d1538ae8942fda87df02f866bcc6fd | [
"MIT"
] | null | null | null | h264tomp4/__init__.py | y-tetsu/gmail_picamera | 7f9f4f5564d1538ae8942fda87df02f866bcc6fd | [
"MIT"
] | null | null | null | h264tomp4/__init__.py | y-tetsu/gmail_picamera | 7f9f4f5564d1538ae8942fda87df02f866bcc6fd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from h264tomp4.h264tomp4 import h264tomp4
| 21.333333 | 41 | 0.8125 | 9 | 64 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0.09375 | 64 | 2 | 42 | 32 | 0.689655 | 0.3125 | 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 | 1 | 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 |
1fe9f5916897af38c7c309667faf00d69311eda5 | 50,256 | py | Python | code/python/ExchangeDataFeedSnapshotAPISymbolList/v1/fds/sdk/ExchangeDataFeedSnapshotAPISymbolList/model/fields.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/ExchangeDataFeedSnapshotAPISymbolList/v1/fds/sdk/ExchangeDataFeedSnapshotAPISymbolList/model/fields.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/ExchangeDataFeedSnapshotAPISymbolList/v1/fds/sdk/ExchangeDataFeedSnapshotAPISymbolList/model/fields.py | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | """
Exchange DataFeed Snapshot
FactSet’s Exchange DataFeed Snapshot API provides cost-effective access to real-time and delayed global exchange data. Proprietary technology normalizes over 200 global exchanges and 150+ data fields. Asset types integrated include equities, futures, options, warrants, fixed inco... | 67.821862 | 891 | 0.600426 | 6,174 | 50,256 | 4.717201 | 0.095238 | 0.135146 | 0.134048 | 0.017305 | 0.817367 | 0.745468 | 0.709106 | 0.700179 | 0.700179 | 0.700179 | 0 | 0.067913 | 0.296223 | 50,256 | 740 | 892 | 67.913514 | 0.75552 | 0.65827 | 0 | 0.160563 | 0 | 0 | 0.344186 | 0.018736 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0.005634 | 0.011268 | 0.002817 | 0.059155 | 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 |
9533b5128bd568da6a6fd52fb567652b49761e74 | 43 | py | Python | p2016_05_28_python_path_find/child/test.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | 1 | 2018-07-07T14:35:55.000Z | 2018-07-07T14:35:55.000Z | p2016_05_28_python_path_find/child/test.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | null | null | null | p2016_05_28_python_path_find/child/test.py | zhyq0826/blog-code | 4369d653dea4a7a054dc796d14faea727973258f | [
"MIT"
] | null | null | null | import sys
print __file__
print sys.argv[0] | 14.333333 | 17 | 0.813953 | 8 | 43 | 3.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.116279 | 43 | 3 | 17 | 14.333333 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
1f97a6c79ab46209d290d6c0b815cf48b9825c13 | 7,076 | py | Python | test/python/test_fusedConv2D.py | ananyamukh6/ngraph-tf | 7d6d643164371c38458525c63ecf1fe29ce10b36 | [
"Apache-2.0"
] | null | null | null | test/python/test_fusedConv2D.py | ananyamukh6/ngraph-tf | 7d6d643164371c38458525c63ecf1fe29ce10b36 | [
"Apache-2.0"
] | null | null | null | test/python/test_fusedConv2D.py | ananyamukh6/ngraph-tf | 7d6d643164371c38458525c63ecf1fe29ce10b36 | [
"Apache-2.0"
] | null | null | null | # ==============================================================================
# Copyright 2018 Intel Corporation
#
# 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.apa... | 38.456522 | 80 | 0.559638 | 788 | 7,076 | 4.808376 | 0.176396 | 0.048562 | 0.077593 | 0.099762 | 0.775139 | 0.74901 | 0.729216 | 0.729216 | 0.729216 | 0.729216 | 0 | 0.021358 | 0.331685 | 7,076 | 183 | 81 | 38.666667 | 0.779869 | 0.108395 | 0 | 0.765517 | 0 | 0 | 0.003181 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 1 | 0.068966 | false | 0 | 0.082759 | 0 | 0.213793 | 0.006897 | 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 |
2f54ec17d1e602ef6a91cf3cc405a82f0d7a2802 | 256 | py | Python | src/mist/api/machines/__init__.py | SpiralUp/mist.api | a3b5233ab4aa3f6a0a2dea6333ff1e5a260af934 | [
"Apache-2.0"
] | 6 | 2017-08-24T00:34:30.000Z | 2022-01-16T21:29:22.000Z | src/mist/api/machines/__init__.py | SpiralUp/mist.api | a3b5233ab4aa3f6a0a2dea6333ff1e5a260af934 | [
"Apache-2.0"
] | 9 | 2021-03-31T18:50:47.000Z | 2022-01-09T23:20:02.000Z | src/mist/api/machines/__init__.py | SpiralUp/mist.api | a3b5233ab4aa3f6a0a2dea6333ff1e5a260af934 | [
"Apache-2.0"
] | 13 | 2017-09-21T18:17:02.000Z | 2022-02-21T04:29:25.000Z | from mist.api.clouds.models import Cloud # noqa: F401
from mist.api.clouds.models import CloudSize, CloudLocation # noqa: F401
from mist.api.images.models import CloudImage # noqa: F401
from mist.api.networks.models import Network, Subnet # noqa: F401
| 51.2 | 73 | 0.78125 | 38 | 256 | 5.263158 | 0.421053 | 0.16 | 0.22 | 0.24 | 0.52 | 0.29 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.132813 | 256 | 4 | 74 | 64 | 0.846847 | 0.167969 | 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 |
2f7fb28d60c72eed65df73e55347d382496b0686 | 14,656 | py | Python | dekigokoro/dekigokoro.py | broman/dekigokoro-py | d9d9d77a300567896dc33450a89b441225bec858 | [
"MIT"
] | 4 | 2019-06-16T17:24:48.000Z | 2019-12-15T00:55:00.000Z | dekigokoro/dekigokoro.py | broman/dekigokoro-py | d9d9d77a300567896dc33450a89b441225bec858 | [
"MIT"
] | 1 | 2019-08-17T01:42:46.000Z | 2019-08-17T01:42:46.000Z | dekigokoro/dekigokoro.py | broman/dekigokoro.py | d9d9d77a300567896dc33450a89b441225bec858 | [
"MIT"
] | null | null | null | import aiohttp
import utils.values as values
class Client:
r"""
The base client class for Dekigokoro.
token: `str`_
The token used to authorise with the API. This will be added as the
Authorization header for all requests.
You can obtain this token by creating a `Dekigokoro`_ acco... | 32.641425 | 121 | 0.531455 | 1,541 | 14,656 | 4.931214 | 0.120701 | 0.021319 | 0.02224 | 0.030794 | 0.842216 | 0.82274 | 0.792999 | 0.781155 | 0.764048 | 0.678379 | 0 | 0.013198 | 0.374454 | 14,656 | 449 | 122 | 32.641425 | 0.815663 | 0.035207 | 0 | 0.550725 | 0 | 0 | 0.100936 | 0.07967 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007246 | false | 0 | 0.014493 | 0 | 0.101449 | 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 |
2f8484c255ef09171132a37c1c81be0354e16938 | 127 | py | Python | dmjedi/model/__init__.py | khaferkamp/dmjedi | 742c556ff47243c3925a06b5838c14d5df714085 | [
"MIT"
] | 2 | 2019-08-13T11:43:50.000Z | 2019-08-13T11:43:54.000Z | dmjedi/model/__init__.py | khaferkamp/dmjedi | 742c556ff47243c3925a06b5838c14d5df714085 | [
"MIT"
] | null | null | null | dmjedi/model/__init__.py | khaferkamp/dmjedi | 742c556ff47243c3925a06b5838c14d5df714085 | [
"MIT"
] | null | null | null | from .columns import (IntColumn, TextColumn, BoolColumn, DateColumn, NumericColumn, TimestampColumn, JsonColumn) # noqa: F401
| 63.5 | 126 | 0.80315 | 12 | 127 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.110236 | 127 | 1 | 127 | 127 | 0.876106 | 0.07874 | 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 |
c82fc33a8f3eccdd0ba191c74db28a3b741982ce | 172 | py | Python | SimFastTiming/Configuration/python/SimFastTiming_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 2 | 2020-01-27T15:21:37.000Z | 2020-05-11T11:13:18.000Z | SimFastTiming/Configuration/python/SimFastTiming_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | SimFastTiming/Configuration/python/SimFastTiming_cff.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2020-10-06T16:30:09.000Z | 2020-10-06T16:30:09.000Z | import FWCore.ParameterSet.Config as cms
from SimFastTiming.FastTimingCommon.fastTimeDigitizer_cfi import *
from SimFastTiming.FastTimingCommon.mtdDigitizer_cfi import *
| 28.666667 | 66 | 0.872093 | 18 | 172 | 8.222222 | 0.666667 | 0.22973 | 0.445946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 172 | 5 | 67 | 34.4 | 0.936709 | 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 |
c0f634f0cd4170f5e8dad77f0ea5c31dc76c199a | 184 | py | Python | webprovider/views.py | SlapBass/nx-portal | ee262079db1e5230a24ebbc205e44926f11f8da9 | [
"Apache-2.0"
] | 5 | 2019-10-04T04:46:44.000Z | 2019-10-09T10:02:01.000Z | webprovider/views.py | SlapBass/nx-portal | ee262079db1e5230a24ebbc205e44926f11f8da9 | [
"Apache-2.0"
] | 9 | 2019-10-06T07:15:09.000Z | 2020-09-24T02:19:40.000Z | webprovider/views.py | SlapBass/nx-portal | ee262079db1e5230a24ebbc205e44926f11f8da9 | [
"Apache-2.0"
] | 1 | 2020-06-19T13:26:08.000Z | 2020-06-19T13:26:08.000Z | from django.shortcuts import render
def index(request):
return render(request, 'index.html')
def routable_index(request, aticle_slug):
return render(request, 'index.html')
| 18.4 | 41 | 0.744565 | 24 | 184 | 5.625 | 0.541667 | 0.177778 | 0.281481 | 0.355556 | 0.414815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146739 | 184 | 9 | 42 | 20.444444 | 0.859873 | 0 | 0 | 0.4 | 0 | 0 | 0.108696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
8d02d311793ee8ee3c451777e5e8a4bec4002264 | 497 | py | Python | redshells/contrib/model/__init__.py | hirosassa/redshells | 7824381a7d1f042405014b4572a5d5824338fc74 | [
"MIT"
] | 42 | 2019-01-02T01:31:39.000Z | 2022-01-29T08:56:12.000Z | redshells/contrib/model/__init__.py | hirosassa/redshells | 7824381a7d1f042405014b4572a5d5824338fc74 | [
"MIT"
] | 29 | 2019-03-28T02:33:01.000Z | 2021-09-27T00:45:25.000Z | redshells/contrib/model/__init__.py | hirosassa/redshells | 7824381a7d1f042405014b4572a5d5824338fc74 | [
"MIT"
] | 17 | 2019-02-21T03:08:20.000Z | 2022-02-17T23:27:48.000Z | from redshells.contrib.model.factorization_machine import FactorizationMachineGraph, FactorizationMachine
from redshells.contrib.model.feature_aggregation_similarity_model import FeatureAggregationSimilarityModel
from redshells.contrib.model.graph_convolutional_matrix_completion import GraphConvolutionalMatrixCompletio... | 71 | 108 | 0.917505 | 48 | 497 | 9.3125 | 0.4375 | 0.178971 | 0.234899 | 0.223714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044266 | 497 | 6 | 109 | 82.833333 | 0.941053 | 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 |
9b0ed5c8ed455a13f30afa6b81e4f047339bf611 | 58 | py | Python | skypy/resolvers/__init__.py | nickalaskreynolds/skypy | 777c6d82bf520c75b5c38f8cee9b7b4d438fbdba | [
"MIT"
] | null | null | null | skypy/resolvers/__init__.py | nickalaskreynolds/skypy | 777c6d82bf520c75b5c38f8cee9b7b4d438fbdba | [
"MIT"
] | 3 | 2018-02-11T00:26:18.000Z | 2018-02-17T18:10:29.000Z | skypy/resolvers/__init__.py | nickalaskreynolds/skypy | 777c6d82bf520c75b5c38f8cee9b7b4d438fbdba | [
"MIT"
] | null | null | null | from . import dateresolver
from . import locationresolver
| 19.333333 | 30 | 0.827586 | 6 | 58 | 8 | 0.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.96 | 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 |
f195c3026c69169e84e2138f14c695d3eabf4b6f | 222 | py | Python | office365/graph/onedrive/photo.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/graph/onedrive/photo.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | office365/graph/onedrive/photo.py | stardust85/Office365-REST-Python-Client | cd369c607c7d137a000734e9c5e8f03ae3e3c603 | [
"MIT"
] | null | null | null | from office365.runtime.client_value_object import ClientValueObject
class Photo(ClientValueObject):
"""The photo resource provides photo and camera properties, for example, EXIF metadata, on a driveItem."""
pass
| 31.714286 | 110 | 0.788288 | 27 | 222 | 6.407407 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015789 | 0.144144 | 222 | 6 | 111 | 37 | 0.894737 | 0.45045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f1a7d9d27256ccdfa5a107bcd0b8a2d0fdc4cebc | 23 | py | Python | tiledb_cli/__init__.py | TileDB-Inc/TileDB-CLI | e18e148fe5c6044b87d28595f5370eecac0b3c8f | [
"MIT"
] | 3 | 2021-09-15T12:55:59.000Z | 2021-12-22T16:39:38.000Z | x/views/__init__.py | jamesroberts/x | d081d97b40cde04a428236b746ef3bc3d0324311 | [
"MIT"
] | 7 | 2021-09-24T00:12:51.000Z | 2022-02-03T20:30:34.000Z | x/views/__init__.py | jamesroberts/x | d081d97b40cde04a428236b746ef3bc3d0324311 | [
"MIT"
] | null | null | null | from .root import root
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 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 |
f1b8fdfe488f16beddbf72a854c6406b8348442f | 33 | py | Python | src/web/modules/smartq/tests/__init__.py | fossabot/SIStema | 1427dda2082688a9482c117d0e24ad380fdc26a6 | [
"MIT"
] | 5 | 2018-03-08T17:22:27.000Z | 2018-03-11T14:20:53.000Z | src/web/modules/smartq/tests/__init__.py | fossabot/SIStema | 1427dda2082688a9482c117d0e24ad380fdc26a6 | [
"MIT"
] | 263 | 2018-03-08T18:05:12.000Z | 2022-03-11T23:26:20.000Z | src/web/modules/smartq/tests/__init__.py | fossabot/SIStema | 1427dda2082688a9482c117d0e24ad380fdc26a6 | [
"MIT"
] | 6 | 2018-03-12T19:48:19.000Z | 2022-01-14T04:58:52.000Z | # TODO(Artem Tabolin): add tests
| 16.5 | 32 | 0.727273 | 5 | 33 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 1 | 33 | 33 | 0.857143 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1b9e16c4210ade0533d90701e2fcfe509bc16d5 | 31 | py | Python | slang_extraction/__init__.py | NeelShah18/api | 602dcd7bce5b3a54873a004e7847565c17ce9fc9 | [
"MIT"
] | null | null | null | slang_extraction/__init__.py | NeelShah18/api | 602dcd7bce5b3a54873a004e7847565c17ce9fc9 | [
"MIT"
] | null | null | null | slang_extraction/__init__.py | NeelShah18/api | 602dcd7bce5b3a54873a004e7847565c17ce9fc9 | [
"MIT"
] | null | null | null | from UNICODE_DATA import SLANG
| 15.5 | 30 | 0.870968 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7b33bd2b31d0032be5c8b97ed8a6b2216c9d2fa0 | 21 | py | Python | spice_api/__init__.py | Nekmo/spice | 717a2cc24ad969e1caec2aabeffc30a796c6ec91 | [
"MIT"
] | 41 | 2016-08-01T04:57:24.000Z | 2022-02-13T01:38:04.000Z | spice_api/__init__.py | Nekmo/spice | 717a2cc24ad969e1caec2aabeffc30a796c6ec91 | [
"MIT"
] | 32 | 2016-07-13T18:10:22.000Z | 2018-06-05T22:58:48.000Z | spice_api/__init__.py | Nekmo/spice | 717a2cc24ad969e1caec2aabeffc30a796c6ec91 | [
"MIT"
] | 14 | 2016-08-25T23:09:03.000Z | 2018-05-06T19:33:32.000Z | from .spice import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9e3d12762866a32a3d7b649f80565e65d160cd70 | 27 | py | Python | src/alfred_google/__init__.py | zct/Google-Alfred3-Workflow | cba6cc6753ba2b46a9c3bdb5561076e6bb9f37c3 | [
"MIT"
] | 274 | 2016-06-21T13:57:27.000Z | 2021-12-03T14:07:43.000Z | src/alfred_google/__init__.py | zct/Google-Alfred3-Workflow | cba6cc6753ba2b46a9c3bdb5561076e6bb9f37c3 | [
"MIT"
] | 19 | 2016-07-08T12:59:30.000Z | 2021-10-12T21:01:53.000Z | src/alfred_google/__init__.py | zct/Google-Alfred3-Workflow | cba6cc6753ba2b46a9c3bdb5561076e6bb9f37c3 | [
"MIT"
] | 38 | 2016-07-09T06:26:06.000Z | 2021-11-06T08:00:29.000Z | from gsearch import search
| 13.5 | 26 | 0.851852 | 4 | 27 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 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 |
9e4a96786a082b967ec0a47262cc0b6eed6876ee | 33 | py | Python | foliant/preprocessors/dbmldoc/__init__.py | foliant-docs/foliantcontrib.dbmldoc | a39c04932ef521c03f105245f692a6426b8be69b | [
"MIT"
] | 1 | 2021-07-01T18:12:20.000Z | 2021-07-01T18:12:20.000Z | foliant/preprocessors/dbmldoc/__init__.py | foliant-docs/foliantcontrib.dbmldoc | a39c04932ef521c03f105245f692a6426b8be69b | [
"MIT"
] | null | null | null | foliant/preprocessors/dbmldoc/__init__.py | foliant-docs/foliantcontrib.dbmldoc | a39c04932ef521c03f105245f692a6426b8be69b | [
"MIT"
] | null | null | null | from .dbmldoc import Preprocessor | 33 | 33 | 0.878788 | 4 | 33 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 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 |
9eb99783f0ecfbce53889c07b503d9225226cceb | 7,082 | py | Python | src/genie/libs/parser/iosxr/tests/ShowRouteIpv4/cli/equal/golden8_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxr/tests/ShowRouteIpv4/cli/equal/golden8_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxr/tests/ShowRouteIpv4/cli/equal/golden8_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
'vrf': {
'VRF1': {
'address_family': {
'ipv4': {
'routes': {
'10.16.2.2/32': {
'route': '10.16.2.2/32',
'active': True,
... | 50.94964 | 95 | 0.225925 | 342 | 7,082 | 4.51462 | 0.116959 | 0.031088 | 0.341969 | 0.352332 | 0.878886 | 0.773316 | 0.773316 | 0.555699 | 0.555699 | 0.555699 | 0 | 0.135312 | 0.676504 | 7,082 | 138 | 96 | 51.318841 | 0.538629 | 0 | 0 | 0.391304 | 0 | 0 | 0.237927 | 0.085428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9eb9cf8f2d8f71bb2613053c0daedd924ce84829 | 146 | py | Python | blog/be/server/views/root.py | kamko/lnu_ht19_4ME310_final_project | ccb5d3c659cde0dac49c1bd6c3d46c46e73a111e | [
"MIT"
] | null | null | null | blog/be/server/views/root.py | kamko/lnu_ht19_4ME310_final_project | ccb5d3c659cde0dac49c1bd6c3d46c46e73a111e | [
"MIT"
] | 2 | 2020-06-07T19:02:54.000Z | 2020-06-07T19:03:02.000Z | blog/be/server/views/root.py | kamko/lnu_ht19_4ME310_final_project | ccb5d3c659cde0dac49c1bd6c3d46c46e73a111e | [
"MIT"
] | null | null | null | from flask import Blueprint
blueprint = Blueprint('root', __name__)
@blueprint.route('/')
def root():
return '4M310-final-project-blog-be'
| 16.222222 | 40 | 0.712329 | 18 | 146 | 5.555556 | 0.777778 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.136986 | 146 | 8 | 41 | 18.25 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 0.184932 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
7b962c6dff4381c0ee6c07d37720be694d3ca3f0 | 28 | py | Python | __init__.py | janglapuk/xiongmai-cam-api | 15b1328983ad4c441869f09c086457198847bb8f | [
"MIT"
] | 17 | 2018-07-05T20:55:41.000Z | 2021-05-17T09:27:39.000Z | __init__.py | ngohuynhngockhanh/xiongmai-cam-api | b1263fa622523e7d31f22bab5816e5367ffbf877 | [
"MIT"
] | 2 | 2020-01-04T17:19:39.000Z | 2021-05-20T15:03:32.000Z | __init__.py | ngohuynhngockhanh/xiongmai-cam-api | b1263fa622523e7d31f22bab5816e5367ffbf877 | [
"MIT"
] | 10 | 2017-11-12T10:41:44.000Z | 2021-07-19T15:02:15.000Z | from . import xmcam, xmconst | 28 | 28 | 0.785714 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
c88f160f100014e20ee7bb08a5f79279abf9e75b | 32 | py | Python | maps/park_path/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/park_path/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | maps/park_path/__init__.py | 56kyle/bloons_auto | 419d55b51d1cddc49099593970adf1c67985b389 | [
"MIT"
] | null | null | null | from .park_path import ParkPath
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c8cf79176778ceeafccb2a727d303901d0d55b41 | 5,545 | py | Python | utils/reid_metric.py | Qidian213/NAIC2019 | 23e05a8a096168ccfa4d1743467fdf78ffcaabba | [
"MIT"
] | null | null | null | utils/reid_metric.py | Qidian213/NAIC2019 | 23e05a8a096168ccfa4d1743467fdf78ffcaabba | [
"MIT"
] | null | null | null | utils/reid_metric.py | Qidian213/NAIC2019 | 23e05a8a096168ccfa4d1743467fdf78ffcaabba | [
"MIT"
] | null | null | null | # encoding: utf-8
"""
@author: liaoxingyu
@contact: sherlockliao01@gmail.com
"""
import numpy as np
import torch
from ignite.metrics import Metric
from data.datasets.eval_reid import eval_func,eval_submit
from .re_ranking import re_ranking
from .distance import low_memory_local_dist
class R1_mAP(Metric):
def __... | 37.214765 | 113 | 0.617674 | 793 | 5,545 | 4.081967 | 0.152585 | 0.064257 | 0.088971 | 0.042014 | 0.793018 | 0.777881 | 0.777881 | 0.762434 | 0.707445 | 0.707445 | 0 | 0.015896 | 0.251217 | 5,545 | 148 | 114 | 37.466216 | 0.763728 | 0.086384 | 0 | 0.75 | 0 | 0 | 0.017286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.057692 | 0 | 0.173077 | 0.028846 | 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 |
cdcece15f0ec129fb407523f95a60e83cf4ccc81 | 47 | py | Python | cmr_app.py | ejmg/clear-my-record-backend | 225a82b0f997435e4674f3b9929b4d204bd2fff0 | [
"MIT"
] | null | null | null | cmr_app.py | ejmg/clear-my-record-backend | 225a82b0f997435e4674f3b9929b4d204bd2fff0 | [
"MIT"
] | null | null | null | cmr_app.py | ejmg/clear-my-record-backend | 225a82b0f997435e4674f3b9929b4d204bd2fff0 | [
"MIT"
] | null | null | null | from clear_my_record_backend.server import cmr
| 23.5 | 46 | 0.893617 | 8 | 47 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 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 |
cdf92ed5525714a803d77b5efe68c7d3da46b2a0 | 105 | py | Python | rlcard/utils/__init__.py | randombenj/rlcard | 0948035d26e1b619c068360326f12451f5d28f8b | [
"MIT"
] | 1,735 | 2019-09-05T12:49:43.000Z | 2022-03-30T12:02:07.000Z | rlcard/utils/__init__.py | randombenj/rlcard | 0948035d26e1b619c068360326f12451f5d28f8b | [
"MIT"
] | 197 | 2019-09-14T05:59:02.000Z | 2022-03-03T19:21:19.000Z | rlcard/utils/__init__.py | randombenj/rlcard | 0948035d26e1b619c068360326f12451f5d28f8b | [
"MIT"
] | 476 | 2019-09-13T15:25:32.000Z | 2022-03-29T01:41:29.000Z | from rlcard.utils.logger import Logger
from rlcard.utils import seeding
from rlcard.utils.utils import *
| 26.25 | 38 | 0.828571 | 16 | 105 | 5.4375 | 0.375 | 0.344828 | 0.517241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 3 | 39 | 35 | 0.935484 | 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 |
a823e552afe275bef8b06e49d5cdb5b71a238bd5 | 39 | py | Python | accounts/tests/__init__.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 15 | 2015-02-10T21:16:31.000Z | 2021-03-25T16:46:20.000Z | accounts/tests/__init__.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 4 | 2021-02-10T15:42:08.000Z | 2022-03-11T23:20:38.000Z | accounts/tests/__init__.py | adrienlachaize/dezede | 584ec30cedab95152e2f95595b7691a04e6736e2 | [
"BSD-3-Clause"
] | 6 | 2016-07-10T14:20:48.000Z | 2022-01-19T18:34:02.000Z | from .register import RegisterTestCase
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 |
b5297982301f416da355846a5367798d40ec168a | 208 | py | Python | src/pkg/caendr/caendr/services/sql/etl/__init__.py | AndersenLab/CAENDR | ce4cdb74db736db8226ffc90988959b71b0d5ff5 | [
"MIT"
] | 3 | 2022-02-09T07:04:37.000Z | 2022-03-11T02:46:35.000Z | src/pkg/caendr/caendr/services/sql/etl/__init__.py | AndersenLab/CAENDR | ce4cdb74db736db8226ffc90988959b71b0d5ff5 | [
"MIT"
] | 4 | 2022-01-28T22:28:08.000Z | 2022-02-11T21:47:15.000Z | src/pkg/caendr/caendr/services/sql/etl/__init__.py | AndersenLab/CAENDR | ce4cdb74db736db8226ffc90988959b71b0d5ff5 | [
"MIT"
] | 1 | 2022-01-11T03:39:02.000Z | 2022-01-11T03:39:02.000Z | from .strains import load_strains
from .wormbase import load_genes_summary, load_genes, load_orthologs
from .homologs import load_homologs
from .strain_annotated_variants import load_strain_annotated_variants | 52 | 69 | 0.889423 | 29 | 208 | 6 | 0.413793 | 0.229885 | 0.264368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081731 | 208 | 4 | 69 | 52 | 0.910995 | 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 |
b54b1e85c5eac0275add69369fd86b868fa1fc36 | 37 | py | Python | proxypool/exceptions/__init__.py | lixinjiang/ProxyPool | b39461f11ce0bdb81b0898fb7ce10075b4526d1f | [
"MIT"
] | 3,584 | 2017-07-09T17:32:20.000Z | 2022-03-31T18:45:49.000Z | proxypool/exceptions/__init__.py | wu2021-wang/proxyssr | ab917a8f0a6d65ce771501539047c776851a0e67 | [
"MIT"
] | 128 | 2017-12-23T16:02:30.000Z | 2022-03-31T05:26:55.000Z | proxypool/exceptions/__init__.py | wu2021-wang/proxyssr | ab917a8f0a6d65ce771501539047c776851a0e67 | [
"MIT"
] | 1,509 | 2017-09-14T08:06:19.000Z | 2022-03-30T20:59:56.000Z | from .empty import PoolEmptyException | 37 | 37 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 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 |
a908e385e12363d9c9aa614723b835b92d3b4b86 | 16,717 | py | Python | tests/decorators/test_decorator_iterate_on_arg.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 18 | 2017-01-09T22:17:49.000Z | 2022-01-24T20:46:42.000Z | tests/decorators/test_decorator_iterate_on_arg.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 84 | 2017-04-11T13:47:49.000Z | 2022-03-21T20:12:57.000Z | tests/decorators/test_decorator_iterate_on_arg.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 43 | 2017-01-05T20:40:26.000Z | 2022-03-31T19:18:02.000Z | """Test the TcEx IterateOn Decorator."""
# third-party
import pytest
# first-party
from tcex import IterateOnArg, OnException
# pylint: disable=no-self-use
class TestIterateOnArgDecorators:
"""Test the TcEx Decorators."""
args = None
tcex = None
exit_message = None
@IterateOnArg(
arg='c... | 36.740659 | 100 | 0.560089 | 1,836 | 16,717 | 4.929739 | 0.088235 | 0.053033 | 0.053033 | 0.066291 | 0.88841 | 0.869738 | 0.842669 | 0.829853 | 0.820351 | 0.819909 | 0 | 0.016468 | 0.298917 | 16,717 | 454 | 101 | 36.821586 | 0.755802 | 0.159718 | 0 | 0.66358 | 0 | 0.006173 | 0.227899 | 0.058888 | 0 | 0 | 0 | 0 | 0.046296 | 1 | 0.049383 | false | 0 | 0.006173 | 0 | 0.095679 | 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 |
a94e3e5b2a744cf24d01a7a07eb350e5e8586a0c | 128 | py | Python | pysignalclirestapi/__init__.py | thielenf/pysignalclirestapi | fa6dae987dba04e2ec1d34e54cb0b4897ce85d14 | [
"MIT"
] | 6 | 2020-01-18T00:37:14.000Z | 2022-01-24T08:15:54.000Z | pysignalclirestapi/__init__.py | thielenf/pysignalclirestapi | fa6dae987dba04e2ec1d34e54cb0b4897ce85d14 | [
"MIT"
] | 7 | 2021-04-29T10:04:40.000Z | 2022-02-13T15:55:31.000Z | pysignalclirestapi/__init__.py | thielenf/pysignalclirestapi | fa6dae987dba04e2ec1d34e54cb0b4897ce85d14 | [
"MIT"
] | 7 | 2020-08-24T04:04:51.000Z | 2022-02-05T23:44:55.000Z | from pysignalclirestapi.api import SignalCliRestApi, SignalCliRestApiError, SignalCliRestApiAuth, SignalCliRestApiHTTPBasicAuth
| 64 | 127 | 0.914063 | 8 | 128 | 14.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054688 | 128 | 1 | 128 | 128 | 0.966942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a97c49bab196395752fd3ec41a65c846696040ba | 117,615 | py | Python | TestFileIO.py | dcoukos/CHO_network | 2b609b1a947e7c32c8dcd5c96d83c1df9c560bb7 | [
"MIT"
] | 1 | 2018-01-08T19:40:07.000Z | 2018-01-08T19:40:07.000Z | TestFileIO.py | dcoukos/CHO_network | 2b609b1a947e7c32c8dcd5c96d83c1df9c560bb7 | [
"MIT"
] | null | null | null | TestFileIO.py | dcoukos/CHO_network | 2b609b1a947e7c32c8dcd5c96d83c1df9c560bb7 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 19 23:45:56 2018
@author: dimitricoukos
"""
import unittest
import json
import DataTreatment
from DataTreatment import openJson, write
class SampleData(unittest.TestCase):
initial_input = {
"GLNLASEer": {
"N-octanoyl-DL-homoserine l... | 31.719256 | 94 | 0.355499 | 8,470 | 117,615 | 4.930342 | 0.047226 | 0.090421 | 0.075958 | 0.122701 | 0.970546 | 0.96887 | 0.966715 | 0.964847 | 0.964847 | 0.964847 | 0 | 0.074069 | 0.493551 | 117,615 | 3,708 | 95 | 31.719256 | 0.627002 | 0.005518 | 0 | 0.679369 | 0 | 0 | 0.358666 | 0.020585 | 0 | 0 | 0 | 0 | 0.001905 | 1 | 0.002177 | false | 0 | 0.001089 | 0 | 0.004627 | 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 |
8d41ca54bc48687ea2f1803f6236ad479dfaf1d0 | 9,921 | py | Python | iif_analysis/script_single_setting_IQR_json_generator.py | bonilab/malariaibm-interrupted-feeding-and-recombination | 02f45069b4b4c646069b05e7c7ffa78ee80cacfb | [
"MIT"
] | null | null | null | iif_analysis/script_single_setting_IQR_json_generator.py | bonilab/malariaibm-interrupted-feeding-and-recombination | 02f45069b4b4c646069b05e7c7ffa78ee80cacfb | [
"MIT"
] | null | null | null | iif_analysis/script_single_setting_IQR_json_generator.py | bonilab/malariaibm-interrupted-feeding-and-recombination | 02f45069b4b4c646069b05e7c7ffa78ee80cacfb | [
"MIT"
] | null | null | null | # import sys
# sys.path.append('../../')
import numpy as np
import pandas as pd
import json
import copy
from plot_helper import coloring_legend, df_col_replace
from constant import REPORTDAYS, HEADER_NAME, COLUMNS_TO_DROP, FIRST_ROW_AFTER_BURNIN
def single_setting_IQR_json_generator(fpath_pattern_list, outfile_dir, ou... | 36.076364 | 108 | 0.696402 | 1,518 | 9,921 | 4.296443 | 0.097497 | 0.114995 | 0.068691 | 0.098129 | 0.841153 | 0.808648 | 0.795462 | 0.777216 | 0.765256 | 0.725391 | 0 | 0.075667 | 0.13547 | 9,921 | 274 | 109 | 36.208029 | 0.684738 | 0.056244 | 0 | 0.559091 | 0 | 0 | 0.064225 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 1 | 0.013636 | false | 0 | 0.027273 | 0 | 0.05 | 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 |
8d7342258d218a633032a1674372179d42dba75f | 13,182 | py | Python | clientside/resources.py | matthew-rimmer/unify | 39ff4847d65ff901ea5359339a6b243773b23abc | [
"MIT"
] | null | null | null | clientside/resources.py | matthew-rimmer/unify | 39ff4847d65ff901ea5359339a6b243773b23abc | [
"MIT"
] | null | null | null | clientside/resources.py | matthew-rimmer/unify | 39ff4847d65ff901ea5359339a6b243773b23abc | [
"MIT"
] | null | null | null | import requests
import asyncio
from json import loads, dumps
from mimetypes import guess_type
from .settings import get_route, api_url
def get_request_headers(token=None, content_type='application/json'):
output = { 'Content-Type':content_type, 'Connection':'close' }
if token is not None:
output['Auth... | 34.965517 | 100 | 0.582613 | 1,499 | 13,182 | 4.803202 | 0.080053 | 0.07 | 0.070833 | 0.058333 | 0.832083 | 0.801111 | 0.766806 | 0.74375 | 0.704583 | 0.685139 | 0 | 0.001891 | 0.318085 | 13,182 | 377 | 101 | 34.965517 | 0.799088 | 0.004097 | 0 | 0.601796 | 0 | 0 | 0.059267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10479 | false | 0.023952 | 0.01497 | 0.005988 | 0.236527 | 0.01497 | 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 |
8d7dac35e2258d0664963910cdb4bcf46a296bb3 | 159 | py | Python | kartverket_tide_api/parsers/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/parsers/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/parsers/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | from .abstractresponseparser import AbstractResponseParser
from .locationdataparser import LocationDataParser
from .stationlistparser import StationListParser
| 39.75 | 58 | 0.90566 | 12 | 159 | 12 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 159 | 3 | 59 | 53 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d8fb1266a4ff0bdee75ae4b3f4c58dbdfd36abc | 47 | py | Python | sympy/functions/combinatorial/__init__.py | ovolve/sympy | 0a15782f20505673466b940454b33b8014a25c13 | [
"BSD-3-Clause"
] | 319 | 2016-09-22T15:54:48.000Z | 2022-03-18T02:36:58.000Z | sympy/functions/combinatorial/__init__.py | curzel-it/KiPyCalc | 909c783d5e6967ea58ca93f875106d8a8e3ca5db | [
"MIT"
] | 13 | 2020-03-24T17:53:51.000Z | 2022-02-10T20:01:14.000Z | sympy/functions/combinatorial/__init__.py | curzel-it/KiPyCalc | 909c783d5e6967ea58ca93f875106d8a8e3ca5db | [
"MIT"
] | 27 | 2016-10-06T16:05:32.000Z | 2022-03-18T02:37:00.000Z | from . import factorials
from . import numbers
| 15.666667 | 24 | 0.787234 | 6 | 47 | 6.166667 | 0.666667 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 25 | 23.5 | 0.948718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a5d1ad95177b486465043cee969e8d573eedf859 | 80 | py | Python | tests/rcf/test_utils.py | FatimAmiri/compas_rcf | 6922036dbb033a83b9ff1cc8c016f865f6ee8e34 | [
"MIT"
] | null | null | null | tests/rcf/test_utils.py | FatimAmiri/compas_rcf | 6922036dbb033a83b9ff1cc8c016f865f6ee8e34 | [
"MIT"
] | null | null | null | tests/rcf/test_utils.py | FatimAmiri/compas_rcf | 6922036dbb033a83b9ff1cc8c016f865f6ee8e34 | [
"MIT"
] | null | null | null | def test_empty_test():
assert True
def test_1984():
assert 2 + 2 == 4
| 11.428571 | 22 | 0.6125 | 13 | 80 | 3.538462 | 0.615385 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0.275 | 80 | 6 | 23 | 13.333333 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
570a2ddb80ee27f12b5e2932bb47e6f5b992b58b | 27 | py | Python | TagDict/__init__.py | patarapolw/TagDict | 09d2a05055381f9a8770d10e278c71280805bee4 | [
"Apache-2.0"
] | 2 | 2018-07-09T03:58:21.000Z | 2018-07-15T03:17:07.000Z | TagDict/__init__.py | patarapolw/TagDict | 09d2a05055381f9a8770d10e278c71280805bee4 | [
"Apache-2.0"
] | null | null | null | TagDict/__init__.py | patarapolw/TagDict | 09d2a05055381f9a8770d10e278c71280805bee4 | [
"Apache-2.0"
] | null | null | null | from .excel import TagDict
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5747493847d1d55803f36924defa3ac500e8c86c | 203 | py | Python | lumin/data_processing/__init__.py | choisant/lumin | c039136eb096e8f3800f13925f9325b99cf7e76b | [
"Apache-2.0"
] | 43 | 2019-02-11T16:16:42.000Z | 2021-12-13T15:35:20.000Z | lumin/data_processing/__init__.py | choisant/lumin | c039136eb096e8f3800f13925f9325b99cf7e76b | [
"Apache-2.0"
] | 48 | 2020-05-21T02:40:50.000Z | 2021-08-10T11:07:08.000Z | lumin/data_processing/__init__.py | choisant/lumin | c039136eb096e8f3800f13925f9325b99cf7e76b | [
"Apache-2.0"
] | 14 | 2019-05-02T15:09:41.000Z | 2022-01-12T21:13:34.000Z | # from .file_proc import * # noqa F304
# from .hep_proc import * # noqa F304
# from .pre_proc import * # noqa F304
# __all__ = [*file_proc.__all__, *hep_proc.__all__, *pre_proc.__all__] # noqa F405
| 33.833333 | 83 | 0.689655 | 30 | 203 | 3.933333 | 0.333333 | 0.254237 | 0.355932 | 0.457627 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.187192 | 203 | 5 | 84 | 40.6 | 0.642424 | 0.931034 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
93caa91dd53ef75cb3d28d20604cc1ccd33e18bd | 155 | py | Python | platform/core/polyaxon/db/models/git_access.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/db/models/git_access.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/db/models/git_access.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | from db.models.abstract.access_catalog import HostAccessCatalog
class GitAccess(HostAccessCatalog):
class Meta(HostAccessCatalog.Meta):
pass
| 22.142857 | 63 | 0.787097 | 16 | 155 | 7.5625 | 0.75 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148387 | 155 | 6 | 64 | 25.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.25 | 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 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
93fb3c2541e101e8dc7cee83c5313a4ec68ddebd | 80 | py | Python | 05/00/remove.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | 05/00/remove.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | 39 | 2017-07-31T22:54:01.000Z | 2017-08-31T00:19:03.000Z | 05/00/remove.py | pylangstudy/201708 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | [
"CC0-1.0"
] | null | null | null | s = set([1,2,3])
print(s)
s.remove(2)
print(s)
s.remove(4)#KeyError: 4
print(s)
| 11.428571 | 23 | 0.625 | 19 | 80 | 2.631579 | 0.473684 | 0.36 | 0.28 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.1125 | 80 | 6 | 24 | 13.333333 | 0.619718 | 0.1375 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
9e0c6cc6499627bf5e2e6cde714e0e6c0c185117 | 4,999 | py | Python | migrations/versions/5c3ebec69cdd_make_delete_modify_private.py | hieulq/pgscm | d51ef5ab7f9bf99e768f4f8ebb2d68dc68a8a592 | [
"Apache-2.0"
] | null | null | null | migrations/versions/5c3ebec69cdd_make_delete_modify_private.py | hieulq/pgscm | d51ef5ab7f9bf99e768f4f8ebb2d68dc68a8a592 | [
"Apache-2.0"
] | 74 | 2017-07-24T19:31:12.000Z | 2018-04-12T04:31:29.000Z | migrations/versions/5c3ebec69cdd_make_delete_modify_private.py | hieulq/pgscm | d51ef5ab7f9bf99e768f4f8ebb2d68dc68a8a592 | [
"Apache-2.0"
] | 2 | 2017-07-18T10:10:10.000Z | 2017-07-21T17:40:19.000Z | """make deleted_at and modify_info column to private property
Revision ID: 5c3ebec69cdd
Revises: ef552a46d4ff
Create Date: 2017-07-26 21:28:30.229291
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = '5c3ebec69cdd'
down_revisi... | 48.067308 | 79 | 0.634127 | 589 | 4,999 | 5.067912 | 0.113752 | 0.075377 | 0.058961 | 0.051256 | 0.883417 | 0.874707 | 0.862647 | 0.852261 | 0.852261 | 0.846231 | 0 | 0.01701 | 0.223845 | 4,999 | 103 | 80 | 48.533981 | 0.75232 | 0.068014 | 0 | 0.55814 | 0 | 0 | 0.301601 | 0.028992 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0 | 0.034884 | 0 | 0.05814 | 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 |
f5463f16a06c66296fd1a257dbd7b9bf048da231 | 356 | py | Python | 001146StepikPyBegin/Stepik001146PyBeginсh02p03st04Q03_20200411.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginсh02p03st04Q03_20200411.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001146StepikPyBegin/Stepik001146PyBeginсh02p03st04Q03_20200411.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | print('a', 'b', 'c', sep='*') #1
print('d', 'e', 'f', sep='**', end='') #2
print('g', 'h', 'i', sep='+', end='%') #2
print('j', 'k', 'l', sep='-', end='\n') #2
print('m', 'n', 'o', sep='/', end='!') #3
print('p', 'q', 'r', sep='1', end='%') #3
print('s', 't', 'u', sep='&', end='\n') #3
print('v', 'w', 'x', sep='%') #4
... | 39.555556 | 42 | 0.367978 | 63 | 356 | 2.079365 | 0.539683 | 0.274809 | 0.10687 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03268 | 0.140449 | 356 | 9 | 43 | 39.555556 | 0.395425 | 0.025281 | 0 | 0 | 0 | 0 | 0.129794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f568a7140ed21328ed2e1e0781ab28eaee208a28 | 27 | py | Python | eod/models/necks/__init__.py | Helicopt/EOD | b5db36f4ce267bf64d093b8174bde2c4097b4718 | [
"Apache-2.0"
] | 196 | 2021-10-30T05:15:36.000Z | 2022-03-30T18:43:40.000Z | eod/tasks/det/models/necks/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 12 | 2021-10-30T11:33:28.000Z | 2022-03-31T14:22:58.000Z | eod/tasks/det/models/necks/__init__.py | YZW-explorer/EOD | f10e64de86c0f356ebf5c7e923f4042eec4207b1 | [
"Apache-2.0"
] | 23 | 2021-11-01T07:26:17.000Z | 2022-03-27T05:55:37.000Z | from .fpn import FPN # noqa | 27 | 27 | 0.740741 | 5 | 27 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.909091 | 0.148148 | 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 |
f581f8197aacc9995b71762e63acafdb4eececf0 | 1,659 | py | Python | covid_api/serializers/entidad.py | jmbarrios/covid-mexico-19 | 6872d55830e2a6cd6987a4ee517cd016dd853edf | [
"MIT"
] | null | null | null | covid_api/serializers/entidad.py | jmbarrios/covid-mexico-19 | 6872d55830e2a6cd6987a4ee517cd016dd853edf | [
"MIT"
] | null | null | null | covid_api/serializers/entidad.py | jmbarrios/covid-mexico-19 | 6872d55830e2a6cd6987a4ee517cd016dd853edf | [
"MIT"
] | 2 | 2020-05-11T15:32:31.000Z | 2020-05-13T19:12:20.000Z | import json
from rest_framework import serializers
from covid_data import models
class EntidadSimpleSerializer(serializers.ModelSerializer):
class Meta:
model = models.Entidad
fields = [
'url',
'clave',
'descripcion']
extra_kwargs = {
'url':... | 24.397059 | 75 | 0.588306 | 135 | 1,659 | 7.133333 | 0.37037 | 0.107996 | 0.058152 | 0.083074 | 0.78297 | 0.78297 | 0.78297 | 0.78297 | 0.78297 | 0.78297 | 0 | 0 | 0.30862 | 1,659 | 67 | 76 | 24.761194 | 0.839582 | 0 | 0 | 0.703704 | 0 | 0 | 0.11091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.055556 | 0.037037 | 0.388889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
193cb6d039f4fb47fa859b8e180ae49b9941c300 | 20,120 | py | Python | tests/test_tasks_and_participants.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 4 | 2021-05-14T08:22:47.000Z | 2022-02-04T19:48:25.000Z | tests/test_tasks_and_participants.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 1,083 | 2019-11-06T17:01:07.000Z | 2022-03-25T10:26:51.000Z | tests/test_tasks_and_participants.py | debrief/pepys-import | 12d29c0e0f69e1119400334983947893e7679b6b | [
"Apache-2.0"
] | 4 | 2019-11-06T12:00:45.000Z | 2021-06-09T04:18:28.000Z | import unittest
from datetime import datetime
import pytest
from testing.postgresql import Postgresql
from pepys_import.core.store.data_store import DataStore
def create_example_tasks(ds, create_participants=False):
ds.initialise()
with ds.session_scope():
ds.populate_reference()
ds.populate... | 37.962264 | 108 | 0.592992 | 2,298 | 20,120 | 5.01262 | 0.083986 | 0.11251 | 0.064936 | 0.106259 | 0.893914 | 0.882802 | 0.853373 | 0.836965 | 0.830367 | 0.819168 | 0 | 0.030349 | 0.307256 | 20,120 | 529 | 109 | 38.034026 | 0.796097 | 0.039115 | 0 | 0.695652 | 0 | 0 | 0.045398 | 0 | 0 | 0 | 0 | 0 | 0.183575 | 1 | 0.033816 | false | 0.004831 | 0.012077 | 0 | 0.05314 | 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 |
1984f9653261ed700ad09fc234454f96ba80a450 | 615 | py | Python | utils/print_split.py | sghick/tools-AutoArchiveIPA | ed9de807949d71fd952c32c1b0d6d75a6fcb7d12 | [
"MIT"
] | 2 | 2019-01-10T02:02:21.000Z | 2019-05-28T01:59:54.000Z | utils/print_split.py | sghick/tools-AutoArchiveIPA | ed9de807949d71fd952c32c1b0d6d75a6fcb7d12 | [
"MIT"
] | null | null | null | utils/print_split.py | sghick/tools-AutoArchiveIPA | ed9de807949d71fd952c32c1b0d6d75a6fcb7d12 | [
"MIT"
] | null | null | null | # coding: utf-8
####################################################################################################
# print split
####################################################################################################
split = '-' * 20
def print_war(s):
print('||:' + s)
def print_log(s):
print(... | 19.21875 | 100 | 0.346341 | 58 | 615 | 3.5 | 0.293103 | 0.236453 | 0.068966 | 0.098522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005906 | 0.173984 | 615 | 31 | 101 | 19.83871 | 0.393701 | 0.04065 | 0 | 0 | 0 | 0 | 0.049096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.470588 | false | 0 | 0 | 0.117647 | 0.588235 | 0.705882 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
5ff9ef907b22ed460e9db423b2b02935711abaa6 | 47 | py | Python | src/pyth2/__util/EnvironmentDependency.py | gnomeberry/pyth2 | 532d89e4ed22b4f9427069bf187ab836e2c2f538 | [
"MIT"
] | null | null | null | src/pyth2/__util/EnvironmentDependency.py | gnomeberry/pyth2 | 532d89e4ed22b4f9427069bf187ab836e2c2f538 | [
"MIT"
] | null | null | null | src/pyth2/__util/EnvironmentDependency.py | gnomeberry/pyth2 | 532d89e4ed22b4f9427069bf187ab836e2c2f538 | [
"MIT"
] | null | null | null | '''
Created on 2016/01/24
@author: _
'''
| 7.833333 | 22 | 0.510638 | 6 | 47 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 0.276596 | 47 | 5 | 23 | 9.4 | 0.441176 | 0.702128 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
272daa421c9b5a702d0a24e288889f9d493ce3ed | 703 | py | Python | python/easy/strings/string_formatting.py | Razor-87/hackerrank | b82dd1f97eeb3c2a9141b196b30b2820acd050e7 | [
"Unlicense"
] | null | null | null | python/easy/strings/string_formatting.py | Razor-87/hackerrank | b82dd1f97eeb3c2a9141b196b30b2820acd050e7 | [
"Unlicense"
] | null | null | null | python/easy/strings/string_formatting.py | Razor-87/hackerrank | b82dd1f97eeb3c2a9141b196b30b2820acd050e7 | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
def print_formatted(number: int) -> None:
"""
>>> print_formatted(17) #doctest: +NORMALIZE_WHITESPACE
1 1 1 1
2 2 2 10
3 3 3 11
4 4 4 100
5 5 5 101
6 6 6 110
7 7 7 111
8 ... | 25.107143 | 69 | 0.403983 | 109 | 703 | 2.577982 | 0.541284 | 0.085409 | 0.021352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.368571 | 0.502134 | 703 | 27 | 70 | 26.037037 | 0.434286 | 0.618777 | 0 | 0 | 0 | 0.25 | 0.331522 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
272f3fdf0dc369ce804f8c29bfe91babe230b010 | 15,434 | py | Python | objects.py | joshsharp/mtn | dc7d87668aa426e6b76a1d072cd4bd89b9b7dc3e | [
"Unlicense"
] | 15 | 2017-07-14T11:27:04.000Z | 2021-11-11T01:21:42.000Z | slackmojicode/objects.py | puhitaku/slackmojicode | 0084aa0df029a0c34d47bcf63169872062d0eea3 | [
"Unlicense"
] | null | null | null | slackmojicode/objects.py | puhitaku/slackmojicode | 0084aa0df029a0c34d47bcf63169872062d0eea3 | [
"Unlicense"
] | 6 | 2019-05-20T18:02:11.000Z | 2021-06-27T09:16:36.000Z | from rpython.rlib.objectmodel import r_dict, compute_hash
from rply.token import BaseBox
from errors import *
def dict_eq(key, other):
# we need to implement rdict method to find key equality
return key._eq(other)
def dict_hash(key):
# we need to implement rdict method to find key equality
return key.... | 29.120755 | 128 | 0.584165 | 1,814 | 15,434 | 4.899118 | 0.061191 | 0.072915 | 0.112861 | 0.081242 | 0.842129 | 0.811748 | 0.780241 | 0.737932 | 0.694047 | 0.662991 | 0 | 0.000751 | 0.310224 | 15,434 | 529 | 129 | 29.175803 | 0.834022 | 0.007062 | 0 | 0.660622 | 0 | 0 | 0.084976 | 0 | 0 | 0 | 0 | 0 | 0.002591 | 1 | 0.261658 | false | 0.002591 | 0.007772 | 0.085492 | 0.590674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2730506f771efd6ed00e2b66244f92431f3c0819 | 211 | py | Python | backend/users/forms.py | cbh4ou/wikipediabook | 922acd1b5f6004b9ad334665803b87ae56ca556e | [
"MIT"
] | null | null | null | backend/users/forms.py | cbh4ou/wikipediabook | 922acd1b5f6004b9ad334665803b87ae56ca556e | [
"MIT"
] | null | null | null | backend/users/forms.py | cbh4ou/wikipediabook | 922acd1b5f6004b9ad334665803b87ae56ca556e | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from .models import Wikis
import datetime
from django import forms
from django.core.exceptions import ValidationError
from django.utils.translation import ugettext_lazy as _
| 23.444444 | 55 | 0.848341 | 29 | 211 | 6.103448 | 0.551724 | 0.225989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123223 | 211 | 8 | 56 | 26.375 | 0.956757 | 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 |
27828079609af973dacc8b6d22dac7d27953660f | 75 | py | Python | 000403StepPyThin/000403_01_08_vid01_01_initialization_20200220.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000403StepPyThin/000403_01_08_vid01_01_initialization_20200220.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000403StepPyThin/000403_01_08_vid01_01_initialization_20200220.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null |
a = 2
b = 3
print(a + b)
a = 6
print(a + b)
b = b + 2
print(b)
# print(c)
| 7.5 | 12 | 0.466667 | 19 | 75 | 1.842105 | 0.368421 | 0.342857 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0.32 | 75 | 9 | 13 | 8.333333 | 0.607843 | 0.106667 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
27d8d52d1043efaad8ef871b1618bcfa238c306e | 3,520 | py | Python | msgraph-cli-extensions/beta/calendar_beta/azext_calendar_beta/generated/_client_factory.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/calendar_beta/azext_calendar_beta/generated/_client_factory.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | msgraph-cli-extensions/beta/calendar_beta/azext_calendar_beta/generated/_client_factory.py | thewahome/msgraph-cli | 33127d9efa23a0e5f5303c93242fbdbb73348671 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause... | 30.608696 | 86 | 0.731534 | 497 | 3,520 | 4.607646 | 0.146881 | 0.131004 | 0.152838 | 0.174672 | 0.765066 | 0.739301 | 0.689956 | 0.677293 | 0.677293 | 0.662445 | 0 | 0 | 0.16108 | 3,520 | 114 | 87 | 30.877193 | 0.775483 | 0.124716 | 0 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.036364 | 0.436364 | 0.945455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
27fe920b93ae0fa1dda23bbab656f6d2e2bf8314 | 67 | py | Python | VerificationEmailC/__init__.py | coder-samurai/VerificationEmail | 12b4f6a082403354332721cd58f80dfb039afa7e | [
"MIT"
] | 1 | 2022-01-01T14:14:33.000Z | 2022-01-01T14:14:33.000Z | VerificationEmailC/__init__.py | coder-samurai/VerificationEmail | 12b4f6a082403354332721cd58f80dfb039afa7e | [
"MIT"
] | null | null | null | VerificationEmailC/__init__.py | coder-samurai/VerificationEmail | 12b4f6a082403354332721cd58f80dfb039afa7e | [
"MIT"
] | null | null | null | from VerificationEmailC.verificationemail import VerificationEmail
| 33.5 | 66 | 0.925373 | 5 | 67 | 12.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 67 | 1 | 67 | 67 | 0.984127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fd8f8d3c739cf493979307c8939f0bbfbad5e9bf | 6,447 | py | Python | Hero2Vector/model/hero2vec.py | diorw/dota_analyze_and_prediction | 3f5a6f21ba74fe065bbb5cc2fa8f512986023249 | [
"MIT"
] | null | null | null | Hero2Vector/model/hero2vec.py | diorw/dota_analyze_and_prediction | 3f5a6f21ba74fe065bbb5cc2fa8f512986023249 | [
"MIT"
] | null | null | null | Hero2Vector/model/hero2vec.py | diorw/dota_analyze_and_prediction | 3f5a6f21ba74fe065bbb5cc2fa8f512986023249 | [
"MIT"
] | null | null | null | import torch
import torch.autograd as autograd
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from torch.nn import init
class CBOH(nn.Module):
def __init__(self, heropool_size, embedding_dim):
"""
Initialize an NN with one hidden layer. Weight of the hidden layer... | 34.66129 | 80 | 0.613309 | 776 | 6,447 | 4.916237 | 0.123711 | 0.103801 | 0.054522 | 0.050328 | 0.822018 | 0.792661 | 0.769332 | 0.769332 | 0.748362 | 0.748362 | 0 | 0.012804 | 0.285249 | 6,447 | 186 | 81 | 34.66129 | 0.815104 | 0.273926 | 0 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.129032 | false | 0 | 0.064516 | 0 | 0.27957 | 0.010753 | 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 |
fda2a3c894939eba6ffad8ab402da734472a4109 | 6,223 | py | Python | tests/test_profiles.py | andrewmilas10/courier-python | d0935bcef2dfc67324794b2ba320a69256131422 | [
"MIT"
] | 13 | 2020-07-29T22:05:36.000Z | 2021-08-10T14:32:50.000Z | tests/test_profiles.py | andrewmilas10/courier-python | d0935bcef2dfc67324794b2ba320a69256131422 | [
"MIT"
] | 18 | 2020-03-19T20:04:45.000Z | 2022-03-31T23:32:11.000Z | tests/test_profiles.py | andrewmilas10/courier-python | d0935bcef2dfc67324794b2ba320a69256131422 | [
"MIT"
] | 8 | 2020-05-15T15:30:29.000Z | 2022-02-08T14:10:48.000Z | import responses
import pytest
from trycourier.client import Courier
from trycourier.exceptions import CourierAPIException
@responses.activate
def test_success_profiles_get():
responses.add(
responses.GET,
'https://api.courier.com/profiles/profile.id',
status=200,
content_type='app... | 24.694444 | 77 | 0.605978 | 655 | 6,223 | 5.639695 | 0.122137 | 0.063346 | 0.070384 | 0.084461 | 0.897943 | 0.886031 | 0.874932 | 0.856524 | 0.789388 | 0.75203 | 0 | 0.036583 | 0.240077 | 6,223 | 252 | 78 | 24.694444 | 0.744555 | 0 | 0 | 0.645 | 0 | 0 | 0.283419 | 0 | 0 | 0 | 0 | 0 | 0.045 | 1 | 0.065 | false | 0 | 0.02 | 0 | 0.085 | 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 |
fdea1e10f87f82e182f3ba12ed829de4ee2a7280 | 276 | py | Python | cla_backend/apps/call_centre/tests/api/test_event_api.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 3 | 2019-10-02T15:31:03.000Z | 2022-01-13T10:15:53.000Z | cla_backend/apps/call_centre/tests/api/test_event_api.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 206 | 2015-01-02T16:50:11.000Z | 2022-02-16T20:16:05.000Z | cla_backend/apps/call_centre/tests/api/test_event_api.py | uk-gov-mirror/ministryofjustice.cla_backend | 4d524c10e7bd31f085d9c5f7bf6e08a6bb39c0a6 | [
"MIT"
] | 6 | 2015-03-23T23:08:42.000Z | 2022-02-15T17:04:44.000Z | from rest_framework.test import APITestCase
from legalaid.tests.views.test_base import CLAOperatorAuthBaseApiTestMixin
from cla_eventlog.tests.test_views import EventAPIMixin
class EventViewSetTestCase(CLAOperatorAuthBaseApiTestMixin, EventAPIMixin, APITestCase):
pass
| 30.666667 | 88 | 0.873188 | 28 | 276 | 8.464286 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 276 | 8 | 89 | 34.5 | 0.940476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fdff0cd31ea11ee284b98a17f582ba07fa688269 | 36 | py | Python | textattack/datasets/translation/__init__.py | cclauss/TextAttack | 98b8d6102aa47bf3c41afedace0215d48f8ed046 | [
"MIT"
] | 1 | 2021-06-24T19:35:18.000Z | 2021-06-24T19:35:18.000Z | textattack/datasets/translation/__init__.py | 53X/TextAttack | e6a7969abc1e28a2a8a7e2ace709b78eb9dc94be | [
"MIT"
] | null | null | null | textattack/datasets/translation/__init__.py | 53X/TextAttack | e6a7969abc1e28a2a8a7e2ace709b78eb9dc94be | [
"MIT"
] | 1 | 2021-11-12T05:26:21.000Z | 2021-11-12T05:26:21.000Z | from .translation_datasets import *
| 18 | 35 | 0.833333 | 4 | 36 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
e30d5ca713ebd350074f1d4355fd8852d732724a | 1,368 | py | Python | news/migrations/0003_auto_20160203_1845.py | n2o/guhema | eb390cbb5213a5ae16539ea46d473a5dc1866415 | [
"MIT"
] | null | null | null | news/migrations/0003_auto_20160203_1845.py | n2o/guhema | eb390cbb5213a5ae16539ea46d473a5dc1866415 | [
"MIT"
] | 2 | 2016-01-20T22:21:33.000Z | 2016-01-29T08:50:21.000Z | news/migrations/0003_auto_20160203_1845.py | n2o/guhema | eb390cbb5213a5ae16539ea46d473a5dc1866415 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-02-03 18:45
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('news', '0002_auto_20151108_1957'),
]
operations = [
migrations.AddField(
... | 29.73913 | 83 | 0.570906 | 142 | 1,368 | 5.295775 | 0.366197 | 0.143617 | 0.183511 | 0.215426 | 0.734043 | 0.734043 | 0.734043 | 0.670213 | 0.670213 | 0.670213 | 0 | 0.039832 | 0.302632 | 1,368 | 45 | 84 | 30.4 | 0.748428 | 0.048977 | 0 | 0.631579 | 1 | 0 | 0.11094 | 0.01772 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e3328eacad61b98c25d335d011775964d7b273ec | 28 | py | Python | openwater/tests/__init__.py | flowmatters/openwater | 8c48fc1694f54c2735a7ac451fcce56df498e520 | [
"MIT"
] | 1 | 2020-02-12T11:17:02.000Z | 2020-02-12T11:17:02.000Z | openwater/tests/__init__.py | flowmatters/openwater | 8c48fc1694f54c2735a7ac451fcce56df498e520 | [
"MIT"
] | null | null | null | openwater/tests/__init__.py | flowmatters/openwater | 8c48fc1694f54c2735a7ac451fcce56df498e520 | [
"MIT"
] | 1 | 2020-02-27T13:58:14.000Z | 2020-02-27T13:58:14.000Z |
from . import system_test
| 7 | 25 | 0.75 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 28 | 3 | 26 | 9.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8b788c98316586bc9fae89e47e17c76252178f31 | 190 | py | Python | plugins/atomio/__init__.py | nielsvm/toggle-desktop | 2f060d03ad1b36c8e01e43c012fc877ba1bd9f0c | [
"BSD-3-Clause"
] | 1 | 2018-07-23T07:42:40.000Z | 2018-07-23T07:42:40.000Z | plugins/atomio/__init__.py | nielsvm/toggle-desktop | 2f060d03ad1b36c8e01e43c012fc877ba1bd9f0c | [
"BSD-3-Clause"
] | null | null | null | plugins/atomio/__init__.py | nielsvm/toggle-desktop | 2f060d03ad1b36c8e01e43c012fc877ba1bd9f0c | [
"BSD-3-Clause"
] | 1 | 2015-03-17T22:46:09.000Z | 2015-03-17T22:46:09.000Z | __all__ = ['find_replace', 'config_find_replace']
from plugins.atomio import *
from core.path import register_path_prefix, user
@register_path_prefix
def ATOMDIR():
return user('.atom')
| 27.142857 | 49 | 0.773684 | 26 | 190 | 5.230769 | 0.653846 | 0.161765 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 190 | 6 | 50 | 31.666667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8b8d61e094642328f7fbf834e0abfa51dd9655c9 | 26 | py | Python | hello/hello.py | Cpt-Meow/API | 17854abac4970a38b899b2ce8c31d7a521bdf71c | [
"Apache-2.0"
] | null | null | null | hello/hello.py | Cpt-Meow/API | 17854abac4970a38b899b2ce8c31d7a521bdf71c | [
"Apache-2.0"
] | null | null | null | hello/hello.py | Cpt-Meow/API | 17854abac4970a38b899b2ce8c31d7a521bdf71c | [
"Apache-2.0"
] | null | null | null | print('Hello from Aline')
| 13 | 25 | 0.730769 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
4734afe1b61e693c0590651d7f680a42f31b7005 | 165 | py | Python | coffin/contrib/auth/urls.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | 1 | 2016-11-19T06:32:20.000Z | 2016-11-19T06:32:20.000Z | coffin/contrib/auth/urls.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | null | null | null | coffin/contrib/auth/urls.py | spothero/coffin | 9ea6a9173cbfed592c5b4776c489dba8d9280d52 | [
"BSD-3-Clause"
] | 1 | 2019-08-14T09:51:23.000Z | 2019-08-14T09:51:23.000Z | import inspect
from django.contrib.auth import urls
exec inspect.getsource(urlpatterns)\
.replace('django.contrib.auth.views', 'coffin.contrib.auth.views') | 27.5 | 74 | 0.763636 | 21 | 165 | 6 | 0.619048 | 0.261905 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 6 | 74 | 27.5 | 0.863014 | 0 | 0 | 0 | 0 | 0 | 0.301205 | 0.301205 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
473634a3b77f9cba29b2ea7ac2b2b6ce4dfd9f12 | 121 | py | Python | model/__init__.py | CFM-MSG/Code_SelectiveHCN | 1f624c5debd03925f0732d1d732c69c46d1fc39d | [
"MIT"
] | 2 | 2021-10-12T05:18:57.000Z | 2022-03-23T13:11:42.000Z | model/__init__.py | CFM-MSG/Code_SelectiveHCN | 1f624c5debd03925f0732d1d732c69c46d1fc39d | [
"MIT"
] | null | null | null | model/__init__.py | CFM-MSG/Code_SelectiveHCN | 1f624c5debd03925f0732d1d732c69c46d1fc39d | [
"MIT"
] | null | null | null | from . import agc_layer
from . import selectscale_hc
from . import selectframe_tc
from . import model
from . import utils | 24.2 | 28 | 0.801653 | 18 | 121 | 5.222222 | 0.555556 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157025 | 121 | 5 | 29 | 24.2 | 0.921569 | 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 |
47470a6b6cf6c9dbce39259527a8bc636b92e747 | 2,762 | py | Python | tests/functional/test_media.py | jounile/nollanet | 7bea20934d3f5e09658a9d31c3b05c15416398a0 | [
"MIT"
] | 3 | 2019-10-13T08:37:13.000Z | 2020-02-16T12:24:11.000Z | tests/functional/test_media.py | jounile/nollanet | 7bea20934d3f5e09658a9d31c3b05c15416398a0 | [
"MIT"
] | 5 | 2019-11-13T15:56:52.000Z | 2021-04-30T20:58:19.000Z | tests/functional/test_media.py | jounile/nollanet | 7bea20934d3f5e09658a9d31c3b05c15416398a0 | [
"MIT"
] | 1 | 2020-04-08T21:09:52.000Z | 2020-04-08T21:09:52.000Z | import pytest
from requests import get
from urllib.parse import urljoin
def test_new_media_page(wait_for_api, login_user):
"""
GIVEN a user has logged in (login_user)
WHEN the '/media/newmedia' page is navigated to (GET)
THEN check the response is valid and page title is correct
"""
request_ses... | 46.033333 | 175 | 0.727009 | 427 | 2,762 | 4.491803 | 0.175644 | 0.036496 | 0.052138 | 0.039103 | 0.936392 | 0.936392 | 0.912409 | 0.875912 | 0.875912 | 0.822732 | 0 | 0.014017 | 0.173425 | 2,762 | 60 | 176 | 46.033333 | 0.826106 | 0.286025 | 0 | 0.6 | 0 | 0 | 0.151858 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.1 | 0 | 0.266667 | 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 |
474ff534fdac535ba10b2e37062c27796f440747 | 45,615 | py | Python | MoRT/mcm_textgeneration/mcm_models.py | ml-research/MoRT_NMI | 98dc14f42714b1b794d685507c01b593cde5638c | [
"MIT"
] | 4 | 2021-04-04T13:42:34.000Z | 2021-11-29T15:38:50.000Z | MoRT/mcm_textgeneration/mcm_models.py | ml-research/MoRT_NMI | 98dc14f42714b1b794d685507c01b593cde5638c | [
"MIT"
] | null | null | null | MoRT/mcm_textgeneration/mcm_models.py | ml-research/MoRT_NMI | 98dc14f42714b1b794d685507c01b593cde5638c | [
"MIT"
] | null | null | null | # coding=utf-8
# adapted from https://github.com/huggingface/transformers/tree/master/src/transformers/modeling_utils.py
import transformers
from transformers import GPT2LMHeadModel
import torch
import warnings
import torch.nn as nn
from torch import Tensor
from torch.nn import functional as F
from torch.nn import Cros... | 47.074303 | 155 | 0.591954 | 5,466 | 45,615 | 4.66685 | 0.105745 | 0.02258 | 0.016465 | 0.00933 | 0.781881 | 0.767964 | 0.757576 | 0.748716 | 0.748716 | 0.742561 | 0 | 0.011161 | 0.326296 | 45,615 | 968 | 156 | 47.122934 | 0.818913 | 0.173737 | 0 | 0.729226 | 0 | 0.017192 | 0.110574 | 0.019914 | 0 | 0 | 0 | 0.002066 | 0.002865 | 1 | 0.040115 | false | 0.002865 | 0.017192 | 0.008596 | 0.100287 | 0.001433 | 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 |
47f0cb239326a140b00e78c90fda0ecc3e5773d4 | 27 | py | Python | minimailer/core/__init__.py | mpavelka/minimailer | 1f42e13b6b758166419e78f3770c59db03adadd7 | [
"MIT"
] | null | null | null | minimailer/core/__init__.py | mpavelka/minimailer | 1f42e13b6b758166419e78f3770c59db03adadd7 | [
"MIT"
] | null | null | null | minimailer/core/__init__.py | mpavelka/minimailer | 1f42e13b6b758166419e78f3770c59db03adadd7 | [
"MIT"
] | null | null | null | from .mailer import Mailer
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
47f70e937b7126af349be6979bf4260dc8f3aae0 | 76 | py | Python | assn2/Q1input.py | vardhan2000/1st-sem-python-assignments | 9f38ab2b15c36b5ae1c6a725f4d4effe026e0bb4 | [
"MIT"
] | null | null | null | assn2/Q1input.py | vardhan2000/1st-sem-python-assignments | 9f38ab2b15c36b5ae1c6a725f4d4effe026e0bb4 | [
"MIT"
] | null | null | null | assn2/Q1input.py | vardhan2000/1st-sem-python-assignments | 9f38ab2b15c36b5ae1c6a725f4d4effe026e0bb4 | [
"MIT"
] | null | null | null | inp = "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW"
| 38 | 75 | 0.921053 | 2 | 76 | 35 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 76 | 1 | 76 | 76 | 0.958904 | 0 | 0 | 0 | 0 | 0 | 0.881579 | 0.881579 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9a0f52ac26ccd0a189ae7a86eb20460747da3447 | 21 | py | Python | split_folders/__init__.py | menaceslinger/split-folders | fe508e1dfa48ecb0c40a71ba388451838dd0877e | [
"MIT"
] | 1 | 2019-05-16T06:53:08.000Z | 2019-05-16T06:53:08.000Z | split_folders/__init__.py | alenweiru/split-folders | 55333cb0185b402332b957a03ca79d20c670c447 | [
"MIT"
] | null | null | null | split_folders/__init__.py | alenweiru/split-folders | 55333cb0185b402332b957a03ca79d20c670c447 | [
"MIT"
] | 1 | 2018-12-10T12:42:21.000Z | 2018-12-10T12:42:21.000Z | from .split import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7bd55b8232d929780b55e31530d8100c45fd7521 | 125 | py | Python | hybrid/resource/__init__.py | jmartin4nrel/HOPP-1 | c66ff2d97b43a785ac15004958615290a76477c5 | [
"BSD-3-Clause"
] | 3 | 2021-03-10T20:03:42.000Z | 2022-03-18T17:10:04.000Z | hybrid/resource/__init__.py | jmartin4nrel/HOPP-1 | c66ff2d97b43a785ac15004958615290a76477c5 | [
"BSD-3-Clause"
] | 14 | 2020-12-28T22:32:07.000Z | 2022-03-17T15:33:04.000Z | hybrid/resource/__init__.py | jmartin4nrel/HOPP-1 | c66ff2d97b43a785ac15004958615290a76477c5 | [
"BSD-3-Clause"
] | 8 | 2021-01-19T02:39:01.000Z | 2022-01-31T18:04:39.000Z | from .solar_resource import SolarResource
from .wind_resource import WindResource
from .elec_prices import ElectricityPrices
| 31.25 | 42 | 0.88 | 15 | 125 | 7.133333 | 0.666667 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 3 | 43 | 41.666667 | 0.946903 | 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 |
d023352b11d143e9d59052361dd03fc59dd7aaa4 | 144 | py | Python | tuan_lib/database/__init__.py | HKer-MuCoi/python_http_lib | 68411daaa232c5cbd0d731afb216780603edb9c9 | [
"MIT"
] | null | null | null | tuan_lib/database/__init__.py | HKer-MuCoi/python_http_lib | 68411daaa232c5cbd0d731afb216780603edb9c9 | [
"MIT"
] | null | null | null | tuan_lib/database/__init__.py | HKer-MuCoi/python_http_lib | 68411daaa232c5cbd0d731afb216780603edb9c9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from .mysql import ActiveAlchemy # noqa
from .mysql import decorator as SqlAlchemyDecorator # noqa | 36 | 58 | 0.736111 | 19 | 144 | 5.578947 | 0.789474 | 0.169811 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.138889 | 144 | 4 | 58 | 36 | 0.846774 | 0.361111 | 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 |
d03e3760eb2fc85ab3fa4f2a45a801e964419a64 | 110 | py | Python | ants/core/__init__.py | ncullen93/ANTsPy | a4c990dcd5b7445a45ce7b366ee018c7350e7d9f | [
"Apache-2.0"
] | 3 | 2018-06-07T19:11:47.000Z | 2019-06-10T05:24:06.000Z | ants/core/__init__.py | ncullen93/ANTsPy | a4c990dcd5b7445a45ce7b366ee018c7350e7d9f | [
"Apache-2.0"
] | null | null | null | ants/core/__init__.py | ncullen93/ANTsPy | a4c990dcd5b7445a45ce7b366ee018c7350e7d9f | [
"Apache-2.0"
] | 1 | 2019-04-04T06:18:44.000Z | 2019-04-04T06:18:44.000Z |
from .ants_image import *
from .ants_transform import *
from .image_io import *
from .transform_io import *
| 15.714286 | 29 | 0.763636 | 16 | 110 | 5 | 0.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 110 | 6 | 30 | 18.333333 | 0.869565 | 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 |
d0461fee5e42aa872fe0067f7b404d2f9b356503 | 35 | py | Python | tests/parser/good/import-as.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | 1 | 2020-11-24T05:24:26.000Z | 2020-11-24T05:24:26.000Z | tests/parser/good/import-as.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | tests/parser/good/import-as.py | Nakrez/RePy | 057db55a99eac2c5cb3d622fa1f2e29f6083d8d6 | [
"MIT"
] | null | null | null | import math as m
print(m.sqrt(9))
| 8.75 | 16 | 0.685714 | 8 | 35 | 3 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.171429 | 35 | 3 | 17 | 11.666667 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
d0a3911781fd243c44495742df52e4d427a9f8e4 | 32 | py | Python | price/__init__.py | victoray/block-tracker-api | 0d5918a29572b47b0fb3f205fc1ba21ad4fcca51 | [
"MIT"
] | null | null | null | price/__init__.py | victoray/block-tracker-api | 0d5918a29572b47b0fb3f205fc1ba21ad4fcca51 | [
"MIT"
] | null | null | null | price/__init__.py | victoray/block-tracker-api | 0d5918a29572b47b0fb3f205fc1ba21ad4fcca51 | [
"MIT"
] | null | null | null | from price.router import router
| 16 | 31 | 0.84375 | 5 | 32 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d0f3fdb8e3cebb097c1a787cb9eee7bb49c39008 | 180 | py | Python | EventFilter/EcalRawToDigi/python/EcalUnpackerMapping_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | EventFilter/EcalRawToDigi/python/EcalUnpackerMapping_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | EventFilter/EcalRawToDigi/python/EcalUnpackerMapping_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# ----- For the EE Mapping :
from Geometry.EcalMapping.EcalMapping_cfi import *
from Geometry.EcalMapping.EcalMappingRecord_cfi import *
| 25.714286 | 56 | 0.8 | 22 | 180 | 6.454545 | 0.681818 | 0.169014 | 0.323944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 180 | 6 | 57 | 30 | 0.893082 | 0.144444 | 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 |
d0f9df7f36ac469bbd4b319502c7475f9905f720 | 39 | py | Python | iBridges/task/mongo/__init__.py | sara-nl/iBridges | a630cde7e4cab455a41f41ab96c7a45434dbaf97 | [
"Apache-2.0"
] | null | null | null | iBridges/task/mongo/__init__.py | sara-nl/iBridges | a630cde7e4cab455a41f41ab96c7a45434dbaf97 | [
"Apache-2.0"
] | null | null | null | iBridges/task/mongo/__init__.py | sara-nl/iBridges | a630cde7e4cab455a41f41ab96c7a45434dbaf97 | [
"Apache-2.0"
] | 1 | 2018-08-28T13:38:26.000Z | 2018-08-28T13:38:26.000Z | from .task import * # noqa: F403 F401
| 19.5 | 38 | 0.666667 | 6 | 39 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.230769 | 39 | 1 | 39 | 39 | 0.666667 | 0.384615 | 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 |
ef74dab180042c40d62971413994320d1d8b80a7 | 8,554 | py | Python | tests/auth/auth_test.py | oslokommune/okdata-sdk-python | 39d9f79b96b2fe4c33136bc9344043f33cc0ee4c | [
"MIT"
] | 2 | 2021-01-13T06:53:04.000Z | 2021-08-02T05:14:06.000Z | tests/auth/auth_test.py | oslokommune/okdata-sdk-python | 39d9f79b96b2fe4c33136bc9344043f33cc0ee4c | [
"MIT"
] | 4 | 2021-04-21T06:14:36.000Z | 2021-08-03T08:35:14.000Z | tests/auth/auth_test.py | oslokommune/okdata-sdk-python | 39d9f79b96b2fe4c33136bc9344043f33cc0ee4c | [
"MIT"
] | 1 | 2021-08-02T05:14:09.000Z | 2021-08-02T05:14:09.000Z | import json
import logging
import re
import pytest
from okdata.sdk.auth.auth import Authenticate
from okdata.sdk.auth.credentials.client_credentials import ClientCredentialsProvider
from okdata.sdk.config import Config
from okdata.sdk.exceptions import ApiAuthenticateError
from freezegun import freeze_time
from test... | 38.881818 | 102 | 0.724223 | 930 | 8,554 | 6.268817 | 0.112903 | 0.102058 | 0.077187 | 0.035849 | 0.808576 | 0.775815 | 0.773928 | 0.773928 | 0.773928 | 0.762607 | 0 | 0.003922 | 0.19523 | 8,554 | 219 | 103 | 39.059361 | 0.842969 | 0 | 0 | 0.58642 | 0 | 0.006173 | 0.08686 | 0.005845 | 0 | 0 | 0 | 0 | 0.104938 | 1 | 0.061728 | false | 0 | 0.067901 | 0 | 0.135802 | 0.012346 | 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 |
ef993b143b8dfbb9f87a046d45f81a2ade497ddd | 385 | py | Python | DynamicETLDashboard/DynamicETL_Dashboard/Utilities/ArgumentFeeder.py | BRutan/DynamicETLDashboard | 8a40e6f51e53f084d6103ba41cd675916505652f | [
"MIT"
] | null | null | null | DynamicETLDashboard/DynamicETL_Dashboard/Utilities/ArgumentFeeder.py | BRutan/DynamicETLDashboard | 8a40e6f51e53f084d6103ba41cd675916505652f | [
"MIT"
] | null | null | null | DynamicETLDashboard/DynamicETL_Dashboard/Utilities/ArgumentFeeder.py | BRutan/DynamicETLDashboard | 8a40e6f51e53f084d6103ba41cd675916505652f | [
"MIT"
] | null | null | null | #####################################
# ArgumentFeeder.py
#####################################
# Description:
# * Converts arguments pulled from tkinter
# GUI into arguments usable by
# target scripts.
import os
class ArgumentFeeder:
"""
* Converts arguments pulled from tkinter GUI into arguments usable by ... | 22.647059 | 74 | 0.558442 | 35 | 385 | 6.028571 | 0.6 | 0.161137 | 0.218009 | 0.255924 | 0.672986 | 0.672986 | 0.672986 | 0.672986 | 0.672986 | 0.672986 | 0 | 0 | 0.194805 | 385 | 17 | 75 | 22.647059 | 0.680645 | 0.532468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
efb7fa056d26af10d4e5fee2fde458bb5fd8acf7 | 3,095 | py | Python | saf/linear/tests/test_nearshockapproximator.py | dmitry-kabanov/fickettmodel | 255b1e9cae1cfb7a6b914ad61a17288d52215cc4 | [
"MIT"
] | null | null | null | saf/linear/tests/test_nearshockapproximator.py | dmitry-kabanov/fickettmodel | 255b1e9cae1cfb7a6b914ad61a17288d52215cc4 | [
"MIT"
] | null | null | null | saf/linear/tests/test_nearshockapproximator.py | dmitry-kabanov/fickettmodel | 255b1e9cae1cfb7a6b914ad61a17288d52215cc4 | [
"MIT"
] | null | null | null | import numpy.testing as npt
from numpy import (absolute, all, arange, array, cos, linspace, log, sin)
from ..nearshockapproximator import (NearShockApproximator,
NearShockFifthOrderApproximator)
class TestNearShockApproximator:
def test__two_points_away_from_shock__should_gi... | 30.048544 | 73 | 0.579645 | 394 | 3,095 | 4.304569 | 0.175127 | 0.063679 | 0.045991 | 0.025943 | 0.820755 | 0.800118 | 0.800118 | 0.745283 | 0.729953 | 0.70283 | 0 | 0.030689 | 0.31567 | 3,095 | 102 | 74 | 30.343137 | 0.770066 | 0 | 0 | 0.675676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 1 | 0.054054 | false | 0 | 0.040541 | 0 | 0.121622 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.