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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff8aeee94a7db582304106815b0e7201db725d20 | 35 | py | Python | opencoverage/clients/__init__.py | pavelito/opencoverage | ee2820dc1c5261263e8be1f041ce915e54248905 | [
"MIT"
] | 25 | 2021-01-20T17:38:03.000Z | 2021-12-13T22:23:22.000Z | opencoverage/clients/__init__.py | pavelito/opencoverage | ee2820dc1c5261263e8be1f041ce915e54248905 | [
"MIT"
] | 16 | 2021-01-23T17:51:19.000Z | 2021-03-21T11:25:05.000Z | opencoverage/clients/__init__.py | pavelito/opencoverage | ee2820dc1c5261263e8be1f041ce915e54248905 | [
"MIT"
] | 6 | 2021-01-22T12:47:05.000Z | 2022-01-27T09:49:53.000Z | from .scm import SCMClient # noqa
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.114286 | 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 |
ff8c62840d9799cb3c83bf48eac0fc480a66246d | 13,862 | py | Python | tests/terraform_compliance/steps/test_main_steps.py | supergarotinho/terraform-compliance | 7b4a84d58d55e52cae34a606165bc820593b1240 | [
"MIT"
] | null | null | null | tests/terraform_compliance/steps/test_main_steps.py | supergarotinho/terraform-compliance | 7b4a84d58d55e52cae34a606165bc820593b1240 | [
"MIT"
] | null | null | null | tests/terraform_compliance/steps/test_main_steps.py | supergarotinho/terraform-compliance | 7b4a84d58d55e52cae34a606165bc820593b1240 | [
"MIT"
] | null | null | null | from unittest import TestCase
from terraform_compliance.steps.steps import (
i_action_them,
i_expect_the_result_is_operator_than_number,
it_condition_contain_something,
encryption_is_enabled,
its_value_condition_match_the_search_regex_regex,
its_value_must_be_set_by_a_variable,
it_must_not_h... | 51.340741 | 133 | 0.705382 | 1,639 | 13,862 | 5.57352 | 0.078707 | 0.065025 | 0.077066 | 0.101259 | 0.856814 | 0.826163 | 0.819486 | 0.787192 | 0.748331 | 0.699945 | 0 | 0.003555 | 0.208556 | 13,862 | 269 | 134 | 51.531599 | 0.829095 | 0.001803 | 0 | 0.528889 | 0 | 0 | 0.095772 | 0.009758 | 0 | 0 | 0 | 0 | 0.231111 | 1 | 0.173333 | false | 0 | 0.035556 | 0 | 0.213333 | 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 |
4414a9d3c51d7f42144ca2ac8129dc5c28b0f761 | 2,253 | py | Python | examples/example_pos.py | MeganTj/pyastar2d | 62372a82540e4abdba1fdd0746566a4cfe154be5 | [
"MIT"
] | null | null | null | examples/example_pos.py | MeganTj/pyastar2d | 62372a82540e4abdba1fdd0746566a4cfe154be5 | [
"MIT"
] | null | null | null | examples/example_pos.py | MeganTj/pyastar2d | 62372a82540e4abdba1fdd0746566a4cfe154be5 | [
"MIT"
] | null | null | null | import numpy as np
import pyastar2d
# The start and goal coordinates are in matrix coordinates (i, j).
start = (1, 0)
goal = (3, 3)
# The minimum cost must be 1 for the heuristic to be valid.
weights = np.ones((4, 4), dtype=np.float32) - np.array([[1, 0, 0, 0],
[1, 0, 0, 1],
[... | 33.626866 | 95 | 0.587661 | 377 | 2,253 | 3.488064 | 0.145889 | 0.031939 | 0.031939 | 0.024335 | 0.907985 | 0.905703 | 0.901901 | 0.901141 | 0.901141 | 0.901141 | 0 | 0.072282 | 0.256991 | 2,253 | 67 | 96 | 33.626866 | 0.713262 | 0.23968 | 0 | 0.695652 | 0 | 0 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0.347826 | 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 |
4445b92ff5bd82ecd83df7699be70e28915d171b | 49 | py | Python | kbucket/__init__.py | alexmorley/kbucket | c7d478525dca6745278a46a21963c3255441e22f | [
"Apache-2.0"
] | 8 | 2018-06-29T12:43:27.000Z | 2022-03-16T04:24:35.000Z | kbucket/__init__.py | alexmorley/kbucket | c7d478525dca6745278a46a21963c3255441e22f | [
"Apache-2.0"
] | 1 | 2018-10-19T17:33:07.000Z | 2018-10-19T17:33:07.000Z | kbucket/__init__.py | alexmorley/kbucket | c7d478525dca6745278a46a21963c3255441e22f | [
"Apache-2.0"
] | 2 | 2018-10-20T15:06:31.000Z | 2021-09-23T01:04:40.000Z | from .kbucketclient import KBucketClient, client
| 24.5 | 48 | 0.857143 | 5 | 49 | 8.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 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 |
924e93b71121380a7309e159f768d5963373ddcf | 3,365 | py | Python | tests/barriers/test_edit_wto_status.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 1 | 2021-12-15T04:14:03.000Z | 2021-12-15T04:14:03.000Z | tests/barriers/test_edit_wto_status.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 19 | 2019-12-11T11:32:47.000Z | 2022-03-29T15:40:57.000Z | tests/barriers/test_edit_wto_status.py | felix781/market-access-python-frontend | 3b0e49feb4fdf0224816326938a46002aa4a2b1c | [
"MIT"
] | 2 | 2021-02-09T09:38:45.000Z | 2021-03-29T19:07:09.000Z | from http import HTTPStatus
from django.urls import reverse
from mock import patch
from core.tests import MarketAccessTestCase
class EditWTOStatusTestCase(MarketAccessTestCase):
@patch("utils.api.resources.APIResource.patch")
def test_empty_wto_has_been_notified_error(self, mock_patch):
response = s... | 36.978022 | 85 | 0.610401 | 380 | 3,365 | 5.102632 | 0.155263 | 0.06034 | 0.05673 | 0.102114 | 0.887055 | 0.887055 | 0.883961 | 0.882929 | 0.844765 | 0.841155 | 0 | 0 | 0.283507 | 3,365 | 90 | 86 | 37.388889 | 0.804231 | 0 | 0 | 0.597561 | 0 | 0 | 0.2211 | 0.192571 | 0 | 0 | 0 | 0 | 0.219512 | 1 | 0.060976 | false | 0 | 0.04878 | 0 | 0.121951 | 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 |
9256a3abb85771e62751b3864812a1b5b759611e | 185 | py | Python | test.py | AtMostafa/SuperData | b418e486f067e01ed9aa921e8cc3545d3c6f1395 | [
"MIT"
] | null | null | null | test.py | AtMostafa/SuperData | b418e486f067e01ed9aa921e8cc3545d3c6f1395 | [
"MIT"
] | null | null | null | test.py | AtMostafa/SuperData | b418e486f067e01ed9aa921e8cc3545d3c6f1395 | [
"MIT"
] | null | null | null | from superdata import *
if __name__ == '__main__':
print(f'using the _np_ key: {np.array}')
print(f'using the _plt_ key: {plt.plot}')
print(f'using the _pd_ key: {pd}') | 30.833333 | 45 | 0.632432 | 29 | 185 | 3.551724 | 0.551724 | 0.174757 | 0.320388 | 0.407767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210811 | 185 | 6 | 46 | 30.833333 | 0.705479 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
92856f9f0c717767e4318cf0ab50bd7ed2664022 | 106 | py | Python | pdf2image/__init__.py | fglz/pdf2image | 7572f436b1b386a2256f65cc7f47134e1f5f98ee | [
"MIT"
] | null | null | null | pdf2image/__init__.py | fglz/pdf2image | 7572f436b1b386a2256f65cc7f47134e1f5f98ee | [
"MIT"
] | null | null | null | pdf2image/__init__.py | fglz/pdf2image | 7572f436b1b386a2256f65cc7f47134e1f5f98ee | [
"MIT"
] | null | null | null | """
__init__ of the pdf2image module
"""
from .pdf2image import convert_from_bytes, convert_from_path | 21.2 | 60 | 0.773585 | 14 | 106 | 5.285714 | 0.714286 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.150943 | 106 | 5 | 60 | 21.2 | 0.8 | 0.301887 | 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 |
92962e9d0cbec4d209b2e5799d85a7b179aaacf3 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/lib/tests/test_shape_base.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/lib/tests/test_shape_base.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/lib/tests/test_shape_base.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/ed/8b/7d/81196e64c725f725a6dbd289fa65a5956120011861f68b8638ac76d4c9 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2ba01b43660b3b0051613ba9496221d24c704eb4 | 38 | py | Python | fast_docker_web/__main__.py | danilocgsilva/fast-docker-web | 0ff607a77ab227463d0b97005692570a61ff5380 | [
"MIT"
] | null | null | null | fast_docker_web/__main__.py | danilocgsilva/fast-docker-web | 0ff607a77ab227463d0b97005692570a61ff5380 | [
"MIT"
] | null | null | null | fast_docker_web/__main__.py | danilocgsilva/fast-docker-web | 0ff607a77ab227463d0b97005692570a61ff5380 | [
"MIT"
] | null | null | null | def main():
print("Sorry! WIP!")
| 9.5 | 24 | 0.526316 | 5 | 38 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 38 | 3 | 25 | 12.666667 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
2bb3b4641f45866e2528e62d3a544b4070730ffe | 4,047 | py | Python | tests/copying.py | tdegeus/GooseHDF5 | 89992156942fd28b5c82bacbd4308a75b3a62f2f | [
"MIT"
] | null | null | null | tests/copying.py | tdegeus/GooseHDF5 | 89992156942fd28b5c82bacbd4308a75b3a62f2f | [
"MIT"
] | 16 | 2019-04-11T12:03:50.000Z | 2022-03-13T15:03:34.000Z | tests/copying.py | tdegeus/GooseHDF5 | 89992156942fd28b5c82bacbd4308a75b3a62f2f | [
"MIT"
] | 1 | 2021-09-28T16:28:16.000Z | 2021-09-28T16:28:16.000Z | import os
import shutil
import unittest
import h5py
import numpy as np
import GooseHDF5 as g5
class Test_itereator(unittest.TestCase):
def test_copy_plain(self):
dirname = "mytest"
sourcepath = os.path.join(dirname, "foo_1.h5")
destpath = os.path.join(dirname, "bar_1.h5")
if no... | 26.625 | 80 | 0.521621 | 497 | 4,047 | 4.187123 | 0.130785 | 0.043248 | 0.048054 | 0.081691 | 0.859202 | 0.859202 | 0.817876 | 0.739548 | 0.739548 | 0.694378 | 0 | 0.022272 | 0.334322 | 4,047 | 151 | 81 | 26.801325 | 0.750186 | 0 | 0 | 0.684783 | 0 | 0 | 0.073141 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.054348 | false | 0 | 0.065217 | 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 |
2bb6f38fa55a344b1e46cd8d2e99d76bbcd938ca | 108 | py | Python | iterators/utils.py | 4thel00z/subdomain-takeover-scraper | ca971695267e5dd0aead1b1fe8b381917f92189f | [
"MIT"
] | null | null | null | iterators/utils.py | 4thel00z/subdomain-takeover-scraper | ca971695267e5dd0aead1b1fe8b381917f92189f | [
"MIT"
] | null | null | null | iterators/utils.py | 4thel00z/subdomain-takeover-scraper | ca971695267e5dd0aead1b1fe8b381917f92189f | [
"MIT"
] | null | null | null | import re
def split_iter(string):
return (x.group(0) for x in re.finditer(r"[A-Za-z\-0-9']+", string))
| 21.6 | 72 | 0.638889 | 22 | 108 | 3.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.148148 | 108 | 4 | 73 | 27 | 0.706522 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2bbc36bdbfc3c6e1b0f0e3018cb9af88c1f28925 | 46 | py | Python | witpy_test/__init__.py | NITIN-ME/witpy_test | e7eae2e771138462a475195ccb9ee8a849389869 | [
"MIT"
] | null | null | null | witpy_test/__init__.py | NITIN-ME/witpy_test | e7eae2e771138462a475195ccb9ee8a849389869 | [
"MIT"
] | null | null | null | witpy_test/__init__.py | NITIN-ME/witpy_test | e7eae2e771138462a475195ccb9ee8a849389869 | [
"MIT"
] | null | null | null | from witpy_test.witpy_analyzer import Analyzer | 46 | 46 | 0.913043 | 7 | 46 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 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 |
2bd54bb90845f74e946464355b847283fcc5df1d | 28 | py | Python | cvstudio/view/widgets/top_bar/__init__.py | haruiz/PytorchCvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 32 | 2019-10-31T03:10:52.000Z | 2020-12-23T11:50:53.000Z | cvstudio/view/widgets/top_bar/__init__.py | haruiz/CvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 19 | 2019-10-31T15:06:05.000Z | 2020-06-15T02:21:55.000Z | cvstudio/view/widgets/top_bar/__init__.py | haruiz/PytorchCvStudio | ccf79dd0cc0d61f3fd01b1b5d96f7cda7b681eef | [
"MIT"
] | 8 | 2019-10-31T03:32:50.000Z | 2020-07-17T20:47:37.000Z | from .top_bar import TopBar
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 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 |
2be0b793e5522320f3ad164e438586a45e5fe67e | 14,163 | py | Python | OPTIMAS/interactive_plotting.py | jeremyforest/whole_optic_analysis_pipeline | fdacc7965a05489bba8fcb3fc6c2a27c9fae9996 | [
"MIT"
] | null | null | null | OPTIMAS/interactive_plotting.py | jeremyforest/whole_optic_analysis_pipeline | fdacc7965a05489bba8fcb3fc6c2a27c9fae9996 | [
"MIT"
] | null | null | null | OPTIMAS/interactive_plotting.py | jeremyforest/whole_optic_analysis_pipeline | fdacc7965a05489bba8fcb3fc6c2a27c9fae9996 | [
"MIT"
] | null | null | null | import numpy as np
import plotly.graph_objects as go
import argparse
import pdb
import copy
def interactive_plotting(input_data_folder, experiment,
timing = True):
#import pdb; pdb.set_trace()
#classical_ephy = False
#if classical_ephy:
# from classical_ephy import import_e... | 49.00692 | 138 | 0.603333 | 1,878 | 14,163 | 4.255059 | 0.100639 | 0.147666 | 0.069954 | 0.073207 | 0.807408 | 0.782505 | 0.722813 | 0.707671 | 0.65361 | 0.621074 | 0 | 0.017952 | 0.256655 | 14,163 | 288 | 139 | 49.177083 | 0.741071 | 0.188166 | 0 | 0.744565 | 0 | 0 | 0.061265 | 0.033623 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021739 | false | 0 | 0.027174 | 0 | 0.059783 | 0.032609 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a60ec7f1c2098fa91cf146334594a5bfcf6ef6d0 | 20 | py | Python | mysite/jxl/services/__init__.py | alex-gagnon/jxl_django | 2060a686551f1ed22b96b3ae72572999557bf812 | [
"MIT"
] | null | null | null | mysite/jxl/services/__init__.py | alex-gagnon/jxl_django | 2060a686551f1ed22b96b3ae72572999557bf812 | [
"MIT"
] | 5 | 2021-04-08T19:42:19.000Z | 2022-02-10T12:10:02.000Z | mysite/jxl/services/__init__.py | alex-gagnon/jxl_django | 2060a686551f1ed22b96b3ae72572999557bf812 | [
"MIT"
] | null | null | null | from .jxl import JXL | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a61d98d66b8e02ba96a18ca58e0c0804f5a57ce1 | 260 | py | Python | tests/test_context.py | furious-luke/polecat | 7be5110f76dc42b15c922c1bb7d49220e916246d | [
"MIT"
] | 4 | 2019-08-10T12:56:12.000Z | 2020-01-21T09:51:20.000Z | tests/test_context.py | furious-luke/polecat | 7be5110f76dc42b15c922c1bb7d49220e916246d | [
"MIT"
] | 71 | 2019-04-09T05:39:21.000Z | 2020-05-16T23:09:24.000Z | tests/test_context.py | furious-luke/polecat | 7be5110f76dc42b15c922c1bb7d49220e916246d | [
"MIT"
] | null | null | null | from polecat.core.context import OptionDict, active_context
def test_active_context():
@active_context
def wrapped(context=None):
return context
assert isinstance(active_context(), OptionDict)
assert isinstance(wrapped(), OptionDict)
| 26 | 59 | 0.75 | 29 | 260 | 6.551724 | 0.482759 | 0.273684 | 0.168421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 260 | 9 | 60 | 28.888889 | 0.87963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a637c2fb96dfecc1aed9e37b1913728b2ed228cb | 7,848 | py | Python | Py.Py/Plotting/Velocity_plot.py | cheshirepezz/PiC1d | 088454aa89617f142abe3f629052958b6b622be9 | [
"MIT"
] | 3 | 2020-11-22T12:52:49.000Z | 2021-04-27T12:22:46.000Z | Py.Py/Plotting/Velocity_plot.py | cheshirepezz/PiC1d | 088454aa89617f142abe3f629052958b6b622be9 | [
"MIT"
] | null | null | null | Py.Py/Plotting/Velocity_plot.py | cheshirepezz/PiC1d | 088454aa89617f142abe3f629052958b6b622be9 | [
"MIT"
] | 1 | 2020-09-12T16:54:34.000Z | 2020-09-12T16:54:34.000Z | import os
import sys
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
from scipy.optimize import curve_fit
label_size = 20
mpl.rcParams['xtick.labelsize'] = label_size
mpl.rcParams['ytick.labelsize'] = label_size
#"""
#########################################################################... | 40.246154 | 107 | 0.516565 | 994 | 7,848 | 3.942656 | 0.12173 | 0.058944 | 0.044909 | 0.06124 | 0.911967 | 0.907119 | 0.884154 | 0.877775 | 0.871141 | 0.871141 | 0 | 0.045975 | 0.221203 | 7,848 | 194 | 108 | 40.453608 | 0.595223 | 0.177752 | 0 | 0.68932 | 0 | 0 | 0.204489 | 0.045422 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058252 | 0 | 0.058252 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a66133546a743baffc3bae0d5925f765234be11b | 2,745 | gyp | Python | binding.gyp | raadad/node-lwan | 6bef658eb80337a5e0d3a2d519b83694d055bb61 | [
"MIT"
] | 44 | 2015-05-27T03:42:00.000Z | 2020-07-18T11:49:42.000Z | binding.gyp | raadad/node-lwan | 6bef658eb80337a5e0d3a2d519b83694d055bb61 | [
"MIT"
] | 2 | 2015-07-12T05:17:17.000Z | 2015-11-25T08:31:47.000Z | binding.gyp | raadad/node-lwan | 6bef658eb80337a5e0d3a2d519b83694d055bb61 | [
"MIT"
] | 5 | 2015-12-20T18:48:22.000Z | 2020-06-27T19:45:55.000Z | {
'variables': {
'shared_libzip%':'true',
'shared_libzip_includes%':'/usr/lib',
'shared_libzip_libpath%':'/usr/include'
},
"targets": [
{
'conditions': [
['shared_libzip == "false"', {
'dependencies': [
'deps/libzip.gyp:libzip'
... | 32.294118 | 105 | 0.484517 | 293 | 2,745 | 4.484642 | 0.245734 | 0.365297 | 0.30898 | 0.194064 | 0.234399 | 0.038052 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.300546 | 2,745 | 84 | 106 | 32.678571 | 0.679167 | 0 | 0 | 0.036145 | 0 | 0 | 0.602914 | 0.471403 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a6a042ccca6395bebd885571d4e21b096f272054 | 159 | py | Python | scripts/visualize_execute.py | suneric/visualizer3d | ebaa5cb05f8e0ebb7eaa753709d09bde3a77b6c1 | [
"MIT"
] | null | null | null | scripts/visualize_execute.py | suneric/visualizer3d | ebaa5cb05f8e0ebb7eaa753709d09bde3a77b6c1 | [
"MIT"
] | null | null | null | scripts/visualize_execute.py | suneric/visualizer3d | ebaa5cb05f8e0ebb7eaa753709d09bde3a77b6c1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import subprocess
subprocess.call(["/home/yufeng/catkin_ws/devel/lib/aircraft_scanning_visualize/asv3d", "/home/yufeng/Temp/Scanning/"])
| 39.75 | 118 | 0.792453 | 22 | 159 | 5.590909 | 0.818182 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.037736 | 159 | 3 | 119 | 53 | 0.797386 | 0.125786 | 0 | 0 | 0 | 0 | 0.673913 | 0.673913 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a6a70f295b2a91a4e958ffd00e3aacfb29136635 | 36 | py | Python | reward/tfm/img/__init__.py | lgvaz/torchrl | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 5 | 2018-06-21T14:33:40.000Z | 2018-08-18T02:26:03.000Z | reward/tfm/img/__init__.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | null | null | null | reward/tfm/img/__init__.py | lgvaz/reward | cfff8acaf70d1fec72169162b95ab5ad3547d17a | [
"MIT"
] | 2 | 2018-05-08T03:34:49.000Z | 2018-06-22T15:04:17.000Z | from .img import Gray, Resize, Stack | 36 | 36 | 0.777778 | 6 | 36 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.903226 | 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 |
a6ae555dd7aef7d67207803294aec6f50f031d62 | 63 | py | Python | quickfix_doc/datadictionary/__init__.py | connamara/QuickFIX-doc | fa75e27dfada2da12148e9ea67d0ceb6a31f1d46 | [
"DOC"
] | 3 | 2018-12-25T19:49:56.000Z | 2021-07-17T01:41:08.000Z | quickfix_doc/datadictionary/__init__.py | connamara/QuickFIX-doc | fa75e27dfada2da12148e9ea67d0ceb6a31f1d46 | [
"DOC"
] | 1 | 2018-12-07T20:53:31.000Z | 2018-12-07T20:53:31.000Z | quickfix_doc/datadictionary/__init__.py | connamara/QuickFIX-doc | fa75e27dfada2da12148e9ea67d0ceb6a31f1d46 | [
"DOC"
] | 3 | 2020-05-21T03:07:19.000Z | 2021-07-18T03:07:06.000Z | from . import util
from . import fields
from . import messages
| 15.75 | 22 | 0.761905 | 9 | 63 | 5.333333 | 0.555556 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 23 | 21 | 0.941176 | 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 |
a6c6049930b84debf8c60bb2c8d315f5ef3db67d | 277 | py | Python | dashboards/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | 1 | 2021-09-24T07:52:08.000Z | 2021-09-24T07:52:08.000Z | dashboards/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | 2 | 2021-05-25T22:16:18.000Z | 2021-06-09T19:16:24.000Z | dashboards/admin.py | EddyAnalytics/eddy-backend | bc465996e51b9ebc3e498ad0d6434bac80b173a6 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from dashboards.models import Dashboard, Widget, WidgetType
from utils.utils import ReadOnlyIdAdmin
admin.site.register(Dashboard, ReadOnlyIdAdmin)
admin.site.register(Widget, ReadOnlyIdAdmin)
admin.site.register(WidgetType, ReadOnlyIdAdmin)
| 30.777778 | 59 | 0.848375 | 32 | 277 | 7.34375 | 0.4375 | 0.255319 | 0.306383 | 0.408511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079422 | 277 | 8 | 60 | 34.625 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
471a1a826661e0a610ac5191732620ced86a3b20 | 166 | py | Python | graphbrain/commands/generate_synonyms.py | renkexinmay/graphbrain | 65d34db1c92a56af492ce62a9c114956f4b14b8b | [
"MIT"
] | null | null | null | graphbrain/commands/generate_synonyms.py | renkexinmay/graphbrain | 65d34db1c92a56af492ce62a9c114956f4b14b8b | [
"MIT"
] | null | null | null | graphbrain/commands/generate_synonyms.py | renkexinmay/graphbrain | 65d34db1c92a56af492ce62a9c114956f4b14b8b | [
"MIT"
] | null | null | null | from graphbrain.hypergraph import HyperGraph
import graphbrain.synonyms.synonyms as synonyms
def run(params):
hg = HyperGraph(params)
synonyms.generate(hg)
| 20.75 | 47 | 0.783133 | 20 | 166 | 6.5 | 0.55 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 166 | 7 | 48 | 23.714286 | 0.915493 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5b36eb6fc6951c1b11dbd9d6bb10aca53538ee1e | 179 | py | Python | app/ffmpeg/services/__init__.py | ihor-pyvovarnyk/oae-sound-processing-tool | 602420cd9705997002b6cb9eb86bd09be899bd5d | [
"BSD-2-Clause"
] | null | null | null | app/ffmpeg/services/__init__.py | ihor-pyvovarnyk/oae-sound-processing-tool | 602420cd9705997002b6cb9eb86bd09be899bd5d | [
"BSD-2-Clause"
] | null | null | null | app/ffmpeg/services/__init__.py | ihor-pyvovarnyk/oae-sound-processing-tool | 602420cd9705997002b6cb9eb86bd09be899bd5d | [
"BSD-2-Clause"
] | null | null | null | from .command_builder_service import CommandBuilderService
from .schemas_provider_service import SchemasProviderService
from .schema_compiler_service import SchemaCompilerService
| 44.75 | 60 | 0.916201 | 18 | 179 | 8.777778 | 0.666667 | 0.246835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067039 | 179 | 3 | 61 | 59.666667 | 0.946108 | 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 |
5b6a27013df3e5f60979d4072be3cbba61360c3e | 53 | py | Python | codql/helper/__init__.py | Heersin/codeql_packer | 5d1258ce2419a67161ac3b844219ebdbe5310e59 | [
"MIT"
] | null | null | null | codql/helper/__init__.py | Heersin/codeql_packer | 5d1258ce2419a67161ac3b844219ebdbe5310e59 | [
"MIT"
] | null | null | null | codql/helper/__init__.py | Heersin/codeql_packer | 5d1258ce2419a67161ac3b844219ebdbe5310e59 | [
"MIT"
] | null | null | null | from . import cmd_helper
from . import system_helper
| 17.666667 | 27 | 0.811321 | 8 | 53 | 5.125 | 0.625 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 28 | 26.5 | 0.911111 | 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 |
5b7752dc449fea712f03ae93509e31936468379d | 91 | py | Python | python/hamming/hamming.py | StevenACoffman/exercism | 2e585832cbd75e83bbb05fd71e1692f5ec99827b | [
"MIT"
] | 1 | 2020-07-24T20:13:05.000Z | 2020-07-24T20:13:05.000Z | python/hamming/hamming.py | StevenACoffman/exercism | 2e585832cbd75e83bbb05fd71e1692f5ec99827b | [
"MIT"
] | null | null | null | python/hamming/hamming.py | StevenACoffman/exercism | 2e585832cbd75e83bbb05fd71e1692f5ec99827b | [
"MIT"
] | null | null | null | def distance(first, second):
return sum([1 for x, y in zip(first, second) if x != y])
| 22.75 | 60 | 0.626374 | 17 | 91 | 3.352941 | 0.764706 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.21978 | 91 | 3 | 61 | 30.333333 | 0.788732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5b7d9e981a9198b6d3db4ceda0a608dc3b67afff | 9,939 | py | Python | backwardcompatibilityml/tensorflow/loss/new_error.py | microsoft/BackwardCompatibilityML | 5910e485453f07fd5c85114d15c423c5db521122 | [
"MIT"
] | 54 | 2020-09-11T18:36:59.000Z | 2022-03-29T00:47:55.000Z | backwardcompatibilityml/tensorflow/loss/new_error.py | microsoft/BackwardCompatibilityML | 5910e485453f07fd5c85114d15c423c5db521122 | [
"MIT"
] | 115 | 2020-10-08T16:55:34.000Z | 2022-03-12T00:50:21.000Z | backwardcompatibilityml/tensorflow/loss/new_error.py | microsoft/BackwardCompatibilityML | 5910e485453f07fd5c85114d15c423c5db521122 | [
"MIT"
] | 11 | 2020-10-04T09:40:11.000Z | 2021-12-21T21:03:33.000Z | import tensorflow.compat.v2 as tf
class BCNLLLoss(object):
"""
Backward Compatibility New Error Negative Log Likelihood Loss
This class implements the backward compatibility loss function
with the underlying loss function being the Negative Log Likelihood
loss.
Note that the final layer of e... | 36.540441 | 87 | 0.648757 | 1,371 | 9,939 | 4.491612 | 0.126915 | 0.031829 | 0.017538 | 0.01429 | 0.856285 | 0.825755 | 0.803995 | 0.797986 | 0.797986 | 0.791491 | 0 | 0.029979 | 0.275078 | 9,939 | 271 | 88 | 36.675277 | 0.824705 | 0.466948 | 0 | 0.642857 | 0 | 0 | 0.012909 | 0.004997 | 0 | 0 | 0 | 0 | 0 | 1 | 0.132653 | false | 0 | 0.010204 | 0 | 0.27551 | 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 |
5b91cf330cb207b13489c868549d2da719db2121 | 13,558 | py | Python | todo/test_views.py | staeff/todo-backend-flask | 52e51cf72f8cc8115614646a4dd9601c9316a7e8 | [
"MIT"
] | 17 | 2016-04-25T19:36:39.000Z | 2020-04-25T00:46:39.000Z | todo/test_views.py | spacecode-live/todo-backend-flask | 2cc5a97928643c04fe95e1d076d463986d964394 | [
"MIT"
] | null | null | null | todo/test_views.py | spacecode-live/todo-backend-flask | 2cc5a97928643c04fe95e1d076d463986d964394 | [
"MIT"
] | 14 | 2016-10-03T20:01:55.000Z | 2022-03-14T21:45:52.000Z | from todo.test_base import BaseTestCase
import unittest
from flask import json, url_for
class IndexTestCase(BaseTestCase):
def test_index(self):
response = self.app.get(url_for("index"))
self.assertEqual(response.status_code, 200)
def test_cors_headers(self):
response = self.app.get(... | 49.301818 | 97 | 0.668314 | 1,795 | 13,558 | 4.84234 | 0.071866 | 0.109066 | 0.065578 | 0.098711 | 0.885182 | 0.853659 | 0.83295 | 0.789692 | 0.773125 | 0.754027 | 0 | 0.01213 | 0.185204 | 13,558 | 274 | 98 | 49.481752 | 0.77469 | 0 | 0 | 0.634783 | 0 | 0 | 0.132984 | 0.001991 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.169565 | false | 0 | 0.013043 | 0 | 0.191304 | 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 |
5b9ded576231db1f899cc175c3e9d1323c4af1af | 70,746 | py | Python | cardano-node-tests/cardano_node_tests/tests/test_pools.py | MitchellTesla/Cardano-SCK | f394506eb0875622093805c009951f6905261778 | [
"Apache-2.0"
] | 6 | 2021-08-30T00:49:12.000Z | 2022-01-27T07:07:53.000Z | cardano-node-tests/cardano_node_tests/tests/test_pools.py | c-spider/Cardano-SCK | 1accb0426289489e371eb67422ccb19ffaab5f3c | [
"Apache-2.0"
] | 17 | 2021-08-31T23:27:44.000Z | 2022-03-25T20:35:16.000Z | cardano-node-tests/cardano_node_tests/tests/test_pools.py | c-spider/Cardano-SCK | 1accb0426289489e371eb67422ccb19ffaab5f3c | [
"Apache-2.0"
] | 3 | 2021-05-20T08:26:00.000Z | 2022-03-27T22:31:36.000Z | """Tests for operations with stake pools.
* pool registration
* pool deregistration
* pool update
* pool metadata
* pool reregistration
"""
import json
import logging
from pathlib import Path
from typing import List
from typing import Tuple
import allure
import hypothesis
import hypothesis.strategies as st
import pyt... | 36.058104 | 100 | 0.64692 | 8,556 | 70,746 | 4.992637 | 0.052127 | 0.039048 | 0.018822 | 0.017792 | 0.870731 | 0.84491 | 0.822319 | 0.79912 | 0.777302 | 0.746752 | 0 | 0.009613 | 0.275069 | 70,746 | 1,961 | 101 | 36.076492 | 0.823305 | 0.126862 | 0 | 0.689965 | 0 | 0 | 0.100471 | 0.03524 | 0 | 0 | 0 | 0 | 0.028374 | 1 | 0.027682 | false | 0 | 0.010381 | 0.000692 | 0.049135 | 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 |
5bb238cf831a7295536099205a97a6a07b326a05 | 272 | bzl | Python | rules/scala/init.bzl | mktitov/rules_scala3 | 510a89102755b0d49122da45dda86c114a8a91a4 | [
"Apache-2.0"
] | 1 | 2021-12-15T23:40:26.000Z | 2021-12-15T23:40:26.000Z | rules/scala/init.bzl | mktitov/rules_scala3 | 510a89102755b0d49122da45dda86c114a8a91a4 | [
"Apache-2.0"
] | 1 | 2021-12-28T10:10:18.000Z | 2021-12-28T10:10:18.000Z | rules/scala/init.bzl | timothyklim/rules_scala3 | 34d6173f288a7478bddd7f57a9e18e9f1324b4b6 | [
"Apache-2.0"
] | null | null | null | load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
def rules_scala3_init():
protobuf_deps()
rules_proto_dependencies()
rules_proto_toolchains()
| 30.222222 | 98 | 0.779412 | 33 | 272 | 5.939394 | 0.424242 | 0.255102 | 0.22449 | 0.27551 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 0.088235 | 272 | 8 | 99 | 34 | 0.78629 | 0 | 0 | 0 | 0 | 0 | 0.496324 | 0.448529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5bbacb49da205b75c423e3dde1f0749d2307c970 | 96 | py | Python | venv/lib/python3.8/site-packages/numpy/lib/tests/test_format.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/numpy/lib/tests/test_format.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/numpy/lib/tests/test_format.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/e3/f2/98/0c095d5a5dc1b1d996b69117a2f03e67c54357249c1164b999e0a41c5b | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5bde800732dff43ffc4358bb4357168eefd43bb3 | 307 | py | Python | battlesnake_builder/__init__.py | Tch1b0/battlesnake-builder | fa2f69147444b2f2d53a7954bfc9487b1ca84f54 | [
"MIT"
] | null | null | null | battlesnake_builder/__init__.py | Tch1b0/battlesnake-builder | fa2f69147444b2f2d53a7954bfc9487b1ca84f54 | [
"MIT"
] | 1 | 2022-03-21T19:32:27.000Z | 2022-03-21T19:32:27.000Z | battlesnake_builder/__init__.py | Tch1b0/battlesnake-builder | fa2f69147444b2f2d53a7954bfc9487b1ca84f54 | [
"MIT"
] | null | null | null | from battlesnake_builder.battlesnake import BattleSnake, Config
from battlesnake_builder.coordinate import Coordinate
from battlesnake_builder.board import Board
from battlesnake_builder.snake import Snake, BodyFragment
from battlesnake_builder.reqdata import Data
from battlesnake_builder.game import Game
| 43.857143 | 63 | 0.889251 | 38 | 307 | 7.026316 | 0.315789 | 0.337079 | 0.494382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084691 | 307 | 6 | 64 | 51.166667 | 0.950178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5bf747201e37c1c414d5e8c38f25da7861b246aa | 203 | py | Python | test_package_kthdesa/test_package_kthdesa.py | alekordESA/package-template | c95a64bf125d41f1bcfd50494dbd0daeb0b27fca | [
"MIT"
] | null | null | null | test_package_kthdesa/test_package_kthdesa.py | alekordESA/package-template | c95a64bf125d41f1bcfd50494dbd0daeb0b27fca | [
"MIT"
] | null | null | null | test_package_kthdesa/test_package_kthdesa.py | alekordESA/package-template | c95a64bf125d41f1bcfd50494dbd0daeb0b27fca | [
"MIT"
] | null | null | null | from __future__ import print_function
def hello():
"""Return a intro sample message"""
return ("This is a sample package")
def say_hello():
"""Prints a sample message"""
print (hello()) | 22.555556 | 39 | 0.665025 | 27 | 203 | 4.777778 | 0.62963 | 0.20155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 203 | 9 | 40 | 22.555556 | 0.801242 | 0.261084 | 0 | 0 | 0 | 0 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.8 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
754d929ca7a3efcced8b15a997375f4ba9f961b3 | 6,142 | py | Python | molsysmt/tests/structure/get_neighbors/test_get_neighbors_from_molsysmt_MolSys.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tests/structure/get_neighbors/test_get_neighbors_from_molsysmt_MolSys.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tests/structure/get_neighbors/test_get_neighbors_from_molsysmt_MolSys.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | """
Unit and regression test for the get_neighbors module of the molsysmt package on molsysmt MolSys molecular
systems.
"""
# Import package, test suite, and other packages as needed
import molsysmt as msm
from molsysmt import puw
import numpy as np
# Distance between atoms in space and time
def test_get_neighbors_f... | 58.495238 | 123 | 0.636926 | 775 | 6,142 | 4.736774 | 0.139355 | 0.049033 | 0.053119 | 0.070825 | 0.828112 | 0.792972 | 0.773631 | 0.763552 | 0.761101 | 0.749387 | 0 | 0.043858 | 0.253826 | 6,142 | 104 | 124 | 59.057692 | 0.757146 | 0.034842 | 0 | 0.517241 | 0 | 0 | 0.123204 | 0.028393 | 0 | 0 | 0 | 0 | 0.08046 | 1 | 0.08046 | false | 0 | 0.034483 | 0 | 0.114943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
75611db8bee59a8bcf595f99d619d92b7f51d22e | 74,724 | py | Python | vimfiles/bundle/vim-python/submodules/rope/ropetest/refactor/extracttest.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 463 | 2015-01-15T08:17:42.000Z | 2022-03-28T15:10:20.000Z | vimfiles/bundle/vim-python/submodules/rope/ropetest/refactor/extracttest.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 52 | 2015-01-06T02:43:59.000Z | 2022-03-14T11:15:21.000Z | vimfiles/bundle/vim-python/submodules/rope/ropetest/refactor/extracttest.py | ciskoinch8/vimrc | 5bf77a7e7bc70fac5173ab2e9ea05d7dda3e52b8 | [
"MIT"
] | 249 | 2015-01-07T22:49:49.000Z | 2022-03-18T02:32:06.000Z | from textwrap import dedent
try:
import unittest2 as unittest
except ImportError:
import unittest
import rope.base.codeanalyze
import rope.base.exceptions
from rope.refactor import extract
from ropetest import testutils
class ExtractMethodTest(unittest.TestCase):
def setUp(self):
super(ExtractM... | 41.124931 | 175 | 0.519338 | 9,088 | 74,724 | 4.039173 | 0.039283 | 0.042715 | 0.046747 | 0.070802 | 0.878283 | 0.850142 | 0.831917 | 0.807018 | 0.772774 | 0.732538 | 0 | 0.017541 | 0.356833 | 74,724 | 1,816 | 176 | 41.147577 | 0.746255 | 0.004416 | 0 | 0.684178 | 0 | 0.00309 | 0.360593 | 0.010787 | 0 | 0 | 0 | 0.000551 | 0.081582 | 1 | 0.084672 | false | 0.014215 | 0.004944 | 0 | 0.118665 | 0.051298 | 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 |
f396392718dced183210c2641758b3812c4dac46 | 152 | py | Python | nflapi/views.py | OnerInce/nfl-rest_api | 8d66d68ae7f04476a1b9f509e69a9d0dc83bfcca | [
"Apache-2.0"
] | 2 | 2021-06-14T18:14:10.000Z | 2022-01-29T18:45:28.000Z | nflapi/views.py | OnerInce/nfl-rest_api | 8d66d68ae7f04476a1b9f509e69a9d0dc83bfcca | [
"Apache-2.0"
] | null | null | null | nflapi/views.py | OnerInce/nfl-rest_api | 8d66d68ae7f04476a1b9f509e69a9d0dc83bfcca | [
"Apache-2.0"
] | 1 | 2022-02-09T14:14:20.000Z | 2022-02-09T14:14:20.000Z | from django.http import JsonResponse
def WelcomeView(request):
return JsonResponse({'result':'success', 'message':'Welcome to the NFL Rest API'})
| 25.333333 | 86 | 0.743421 | 19 | 152 | 5.947368 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 152 | 5 | 87 | 30.4 | 0.856061 | 0 | 0 | 0 | 0 | 0 | 0.309211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f3c0d696dbd46cb57ca3a86480600e181f1d3703 | 1,832 | py | Python | alembic/versions/5730636f9d23_add_amount_dollars_to_tweet_attempt.py | jonathanzong/dmca | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | 2 | 2022-02-16T22:50:06.000Z | 2022-02-21T19:38:02.000Z | alembic/versions/5730636f9d23_add_amount_dollars_to_tweet_attempt.py | jonathanzong/dmca | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | 2 | 2022-02-01T05:48:07.000Z | 2022-02-01T05:49:29.000Z | alembic/versions/5730636f9d23_add_amount_dollars_to_tweet_attempt.py | jonathanzong/bartleby | 70157cff983310e5951024aa80e99e7a5404d758 | [
"MIT"
] | null | null | null | """add amount_dollars to tweet attempt
Revision ID: 5730636f9d23
Revises: 474e96e30c5c
Create Date: 2018-03-29 17:42:55.141809
"""
# revision identifiers, used by Alembic.
revision = '474e96e30c5c'
down_revision = '5c990792272f'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
... | 28.184615 | 117 | 0.712336 | 218 | 1,832 | 5.747706 | 0.279817 | 0.072626 | 0.100559 | 0.110136 | 0.721468 | 0.721468 | 0.721468 | 0.721468 | 0.721468 | 0.681564 | 0 | 0.036246 | 0.156659 | 1,832 | 64 | 118 | 28.625 | 0.774757 | 0.341157 | 0 | 0.272727 | 0 | 0 | 0.321653 | 0.204852 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f3c1551e2d9cb4b23cecb9d94059a1a666aea801 | 8 | py | Python | constants.py | Aniq55/pyxel | 9285e5b899ca6ec694112447b073fa7ead630159 | [
"MIT"
] | null | null | null | constants.py | Aniq55/pyxel | 9285e5b899ca6ec694112447b073fa7ead630159 | [
"MIT"
] | null | null | null | constants.py | Aniq55/pyxel | 9285e5b899ca6ec694112447b073fa7ead630159 | [
"MIT"
] | 1 | 2018-08-16T19:42:12.000Z | 2018-08-16T19:42:12.000Z | N = 3.5
| 4 | 7 | 0.375 | 3 | 8 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.375 | 8 | 1 | 8 | 8 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
45f18e0b880cf37403f7ab47ce999eee864048d2 | 38 | py | Python | dst_topology/__init__.py | CiscoDevNet/dst-automation | dffcde76f1bd7dc4dd4350c7a224f8ad9679ad4a | [
"BSD-3-Clause"
] | 4 | 2020-04-28T16:38:18.000Z | 2021-06-09T08:45:24.000Z | dst_topology/__init__.py | CiscoDevNet/dst-automation | dffcde76f1bd7dc4dd4350c7a224f8ad9679ad4a | [
"BSD-3-Clause"
] | 6 | 2020-11-04T16:35:42.000Z | 2021-04-25T13:38:56.000Z | dst_topology/__init__.py | CiscoDevNet/dst-automation | dffcde76f1bd7dc4dd4350c7a224f8ad9679ad4a | [
"BSD-3-Clause"
] | 3 | 2020-05-13T22:43:50.000Z | 2021-05-01T22:30:33.000Z | from .dst_topology import DSTTopology
| 19 | 37 | 0.868421 | 5 | 38 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45f3e2020d63f96b1734bfa6a768b952b5c5c598 | 5,468 | py | Python | smdt/regression.py | avanteijlingen/PyMolSAR | b6f7188f1462630b54347ff1de28160e993d31f2 | [
"MIT"
] | null | null | null | smdt/regression.py | avanteijlingen/PyMolSAR | b6f7188f1462630b54347ff1de28160e993d31f2 | [
"MIT"
] | null | null | null | smdt/regression.py | avanteijlingen/PyMolSAR | b6f7188f1462630b54347ff1de28160e993d31f2 | [
"MIT"
] | null | null | null | from sklearn.ensemble import RandomForestRegressor
from sklearn.preprocessing import StandardScaler, LabelEncoder
try:
from sklearn.preprocessing import Imputer
except ImportError:
from sklearn.impute import SimpleImputer
from sklearn.feature_selection import SelectKBest, mutual_info_regression
from sklearn.mod... | 35.738562 | 122 | 0.65801 | 744 | 5,468 | 4.533602 | 0.151882 | 0.051883 | 0.044471 | 0.074118 | 0.735251 | 0.735251 | 0.735251 | 0.735251 | 0.735251 | 0.735251 | 0 | 0.017048 | 0.216898 | 5,468 | 152 | 123 | 35.973684 | 0.770668 | 0.020849 | 0 | 0.707547 | 0 | 0 | 0.072084 | 0.008987 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04717 | false | 0 | 0.150943 | 0 | 0.245283 | 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 |
34236dfeb5d60b14b04a99217d8a38201a226d55 | 14,925 | py | Python | tests/cupyx_tests/test_pinned_array.py | Onkar627/cupy | 8eef1ad5393c0a92c5065bc05137bf997f37044a | [
"MIT"
] | 6,180 | 2016-11-01T14:22:30.000Z | 2022-03-31T08:39:20.000Z | tests/cupyx_tests/test_pinned_array.py | Onkar627/cupy | 8eef1ad5393c0a92c5065bc05137bf997f37044a | [
"MIT"
] | 6,281 | 2016-12-22T07:42:31.000Z | 2022-03-31T19:57:02.000Z | tests/cupyx_tests/test_pinned_array.py | Onkar627/cupy | 8eef1ad5393c0a92c5065bc05137bf997f37044a | [
"MIT"
] | 829 | 2017-02-23T05:46:12.000Z | 2022-03-27T17:40:03.000Z | import unittest
import numpy
import pytest
import cupy
from cupy import testing
from cupy.testing._loops import _wraps_partial
import cupyx
def numpy_cupyx_array_equal(target_func, name='func'):
_mod = (cupy, numpy)
_numpy_funcs = {
'empty': numpy.empty,
'empty_like': numpy.empty_like,
... | 34.709302 | 79 | 0.613467 | 2,107 | 14,925 | 4.131941 | 0.067869 | 0.053986 | 0.035837 | 0.052378 | 0.870664 | 0.845624 | 0.7898 | 0.773375 | 0.759591 | 0.755801 | 0 | 0.020118 | 0.260637 | 14,925 | 429 | 80 | 34.79021 | 0.768826 | 0.041943 | 0 | 0.681319 | 0 | 0 | 0.026677 | 0 | 0 | 0 | 0 | 0 | 0.14011 | 1 | 0.101648 | false | 0 | 0.019231 | 0.008242 | 0.184066 | 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 |
3436dfe1c05f337be534b26b848f531535cb9286 | 148 | py | Python | autoreg/inference/__init__.py | zhenwendai/RGP | be679607d3457a1038a2fe39b36b816ea380ea39 | [
"BSD-3-Clause"
] | 17 | 2016-10-24T01:31:30.000Z | 2021-07-31T08:12:02.000Z | autoreg/inference/__init__.py | zhenwendai/RGP | be679607d3457a1038a2fe39b36b816ea380ea39 | [
"BSD-3-Clause"
] | null | null | null | autoreg/inference/__init__.py | zhenwendai/RGP | be679607d3457a1038a2fe39b36b816ea380ea39 | [
"BSD-3-Clause"
] | 11 | 2017-07-11T09:11:48.000Z | 2022-01-25T12:10:48.000Z | from __future__ import absolute_import # for better python 2 to python 3 compatibility
from .vardtc import VarDTC
from .svi_vardtc import SVI_VarDTC | 49.333333 | 86 | 0.844595 | 23 | 148 | 5.130435 | 0.565217 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.135135 | 148 | 3 | 87 | 49.333333 | 0.90625 | 0.304054 | 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 |
345e3855ec57a1f0ad4678787dada3ae79d77722 | 157 | py | Python | fbd/__init__.py | olety/FBG | 337c81ed661c11ee7283cffff63b1949363a8151 | [
"MIT"
] | null | null | null | fbd/__init__.py | olety/FBG | 337c81ed661c11ee7283cffff63b1949363a8151 | [
"MIT"
] | 11 | 2017-05-26T13:36:09.000Z | 2021-08-17T14:37:32.000Z | fbd/__init__.py | olety/FBD | 337c81ed661c11ee7283cffff63b1949363a8151 | [
"MIT"
] | null | null | null | from fbd import gatherer, storage, tools, visualizer
from fbd.gatherer import Gatherer
from fbd.storage import Storage
from fbd.visualizer import Visualizer
| 31.4 | 52 | 0.840764 | 22 | 157 | 6 | 0.318182 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121019 | 157 | 4 | 53 | 39.25 | 0.956522 | 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 |
1b01e42e4b213337d89b6b90d55dfdb1d8ea7642 | 30 | py | Python | tests/syntax/future_braces.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 1,062 | 2015-11-18T01:04:33.000Z | 2022-03-29T07:13:30.000Z | tests/future_braces.py | CoDeRgAnEsh/1line | 507ef35b0006fc2998463dee92c2fdae53fe0694 | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/future_braces.py | CoDeRgAnEsh/1line | 507ef35b0006fc2998463dee92c2fdae53fe0694 | [
"MIT"
] | 100 | 2015-11-17T09:01:22.000Z | 2021-09-12T13:58:28.000Z | from __future__ import braces
| 15 | 29 | 0.866667 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.846154 | 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 |
1b0be9b179ae3864fab5a39fa01c7a72214fdb6e | 43 | py | Python | data/micro-benchmark/classes/imported_nested_attr_access/main.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 121 | 2020-12-16T20:31:37.000Z | 2022-03-21T20:32:43.000Z | data/micro-benchmark/classes/imported_nested_attr_access/main.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 24 | 2021-03-13T00:04:00.000Z | 2022-03-21T17:28:11.000Z | data/micro-benchmark/classes/imported_nested_attr_access/main.py | vitsalis/pycg-evaluation | ce37eb5668465b0c17371914e863d699826447ee | [
"Apache-2.0"
] | 19 | 2021-03-23T10:58:47.000Z | 2022-03-24T19:46:50.000Z | from nest import imported
imported.func()
| 10.75 | 25 | 0.790698 | 6 | 43 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 26 | 14.333333 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b4508aafa7995bc9b94d94fdc443e89a2e255e7 | 4,200 | py | Python | sotabench.py | theblackcat102/GPU-Efficient-Networks | 843279471e363ca96af70345008e399f0dea3bbb | [
"Apache-2.0"
] | 182 | 2020-07-09T02:40:11.000Z | 2022-03-28T05:40:58.000Z | sotabench.py | theblackcat102/GPU-Efficient-Networks | 843279471e363ca96af70345008e399f0dea3bbb | [
"Apache-2.0"
] | 14 | 2020-07-31T03:42:39.000Z | 2021-09-06T04:04:02.000Z | sotabench.py | theblackcat102/GPU-Efficient-Networks | 843279471e363ca96af70345008e399f0dea3bbb | [
"Apache-2.0"
] | 37 | 2020-07-13T02:08:22.000Z | 2022-02-28T06:42:19.000Z | import gc
import math
import torch
from torchbench.datasets.utils import download_file_from_google_drive
from torchbench.image_classification import ImageNet
from torchvision.transforms import transforms
import GENet
# GENet-large
file_id = '1xuyW2GB_kUfJNf2G146rk1sdKuYGxWlE'
destination = './GENet_params/'
filename... | 30.656934 | 103 | 0.759762 | 578 | 4,200 | 5.264706 | 0.195502 | 0.049293 | 0.041407 | 0.028919 | 0.810056 | 0.766678 | 0.755504 | 0.755504 | 0.755504 | 0.742688 | 0 | 0.047257 | 0.123333 | 4,200 | 136 | 104 | 30.882353 | 0.779196 | 0.029286 | 0 | 0.657407 | 0 | 0 | 0.11704 | 0.024342 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009259 | false | 0 | 0.064815 | 0 | 0.083333 | 0.027778 | 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 |
1b583a7d44be7d30effa57667797082c033107b0 | 132 | py | Python | operation/admin.py | loopyme/CQUHub | fe98b9142b8ed0f6821ef9d364b2eccdb02af927 | [
"MIT"
] | 3 | 2019-07-30T14:06:50.000Z | 2019-09-22T08:10:41.000Z | operation/admin.py | loopyme/CQUHub | fe98b9142b8ed0f6821ef9d364b2eccdb02af927 | [
"MIT"
] | 1 | 2020-06-05T21:48:14.000Z | 2020-06-05T21:48:14.000Z | operation/admin.py | CQU-AI/CQUHub | fe98b9142b8ed0f6821ef9d364b2eccdb02af927 | [
"MIT"
] | 2 | 2019-10-22T05:59:36.000Z | 2019-11-05T08:34:45.000Z | from django.contrib import admin
from .models import Topic_Comment
# Register your models here.
admin.site.register(Topic_Comment)
| 22 | 34 | 0.825758 | 19 | 132 | 5.631579 | 0.631579 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 132 | 5 | 35 | 26.4 | 0.91453 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
1b88ea69cc6204a73b81ac1e48dd0fbb9317e214 | 36 | py | Python | pygdpr/__init__.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | pygdpr/__init__.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | 2 | 2022-02-19T06:56:03.000Z | 2022-02-19T07:00:00.000Z | pygdpr/__init__.py | GDPRxiv/crawler | 178ef9ff6c3641ba8b761a49e42c2579e453c1ca | [
"MIT"
] | null | null | null | from pygdpr.models.gdpr import GDPR
| 18 | 35 | 0.833333 | 6 | 36 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b8900071bfc3e2fbe3d44b8ed6259630d54edfb | 116 | py | Python | apps/cars/factory/__init__.py | agorsk1/car-rating-app | 354c5933f4cbad69c9a57d1839f9086cd5cf9a1d | [
"MIT"
] | 1 | 2022-03-03T11:15:25.000Z | 2022-03-03T11:15:25.000Z | apps/cars/factory/__init__.py | agorsk1/car-rating-app | 354c5933f4cbad69c9a57d1839f9086cd5cf9a1d | [
"MIT"
] | null | null | null | apps/cars/factory/__init__.py | agorsk1/car-rating-app | 354c5933f4cbad69c9a57d1839f9086cd5cf9a1d | [
"MIT"
] | null | null | null | from .car_factory import CarFactory
from .user_factory import UserFactory
from .rating_factory import RatingFactory
| 29 | 41 | 0.87069 | 15 | 116 | 6.533333 | 0.6 | 0.397959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 116 | 3 | 42 | 38.666667 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1b93a3e1343ed08b970719ce3e04a8d3ad8f1808 | 3,066 | py | Python | iotbot/webhook.py | ITJoker233/python-iotbot | 5ea293d36e7fa5b2cc83acfce3ccb5382bcc5afa | [
"MIT"
] | 31 | 2020-07-24T03:47:56.000Z | 2020-12-18T15:45:09.000Z | iotbot/webhook.py | ITJoker233/python-iotbot | 5ea293d36e7fa5b2cc83acfce3ccb5382bcc5afa | [
"MIT"
] | 20 | 2020-08-06T15:47:40.000Z | 2020-10-09T14:39:23.000Z | iotbot/webhook.py | ITJoker233/python-iotbot | 5ea293d36e7fa5b2cc83acfce3ccb5382bcc5afa | [
"MIT"
] | 18 | 2020-08-02T04:06:35.000Z | 2022-01-06T14:27:11.000Z | # 该功能即是一个内置插件
import traceback
import requests
from . import sugar
from .config import config
from .exceptions import InvalidConfigError
from .model import EventMsg, FriendMsg, GroupMsg
def _check_config():
if not config.webhook_post_url:
raise InvalidConfigError('缺少配置项: webhook_post_url')
_check_conf... | 31.285714 | 85 | 0.578278 | 375 | 3,066 | 4.546667 | 0.216 | 0.049267 | 0.058651 | 0.052786 | 0.79824 | 0.79824 | 0.79824 | 0.79824 | 0.79824 | 0.79824 | 0 | 0.02202 | 0.318656 | 3,066 | 97 | 86 | 31.608247 | 0.79416 | 0.089367 | 0 | 0.773333 | 0 | 0 | 0.039251 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 1 | 0.053333 | false | 0.04 | 0.08 | 0 | 0.186667 | 0.026667 | 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 |
1bafbd087b69d76bdb9349eba61b63de84b62839 | 26,213 | py | Python | tests/unit/test_packaging__manager.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 14 | 2020-04-28T08:51:43.000Z | 2022-02-12T13:40:34.000Z | tests/unit/test_packaging__manager.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 47 | 2020-05-18T14:19:31.000Z | 2022-03-04T13:46:46.000Z | tests/unit/test_packaging__manager.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 8 | 2020-05-17T20:52:42.000Z | 2022-02-25T16:16:01.000Z | # Copyright (C) 2019-2021, TomTom (http://tomtom.com).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 37.024011 | 100 | 0.675695 | 3,668 | 26,213 | 4.442203 | 0.05398 | 0.112557 | 0.046643 | 0.055972 | 0.842887 | 0.830551 | 0.816251 | 0.789861 | 0.767706 | 0.756966 | 0 | 0.00086 | 0.201236 | 26,213 | 707 | 101 | 37.076379 | 0.777343 | 0.022966 | 0 | 0.690167 | 0 | 0 | 0.103583 | 0.000899 | 0 | 0 | 0 | 0 | 0.19295 | 1 | 0.057514 | false | 0 | 0.009276 | 0.001855 | 0.074212 | 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 |
942466aaf9d1074f6547125fb5e0f74493ab1286 | 36 | py | Python | keyword_spotting_data_generator/extractor/__init__.py | Lipster-develop/honk | c3aae750c428520ba340961bddd526f9c999bb93 | [
"MIT"
] | 477 | 2017-10-07T04:23:56.000Z | 2022-03-29T08:37:44.000Z | keyword_spotting_data_generator/extractor/__init__.py | Lipster-develop/honk | c3aae750c428520ba340961bddd526f9c999bb93 | [
"MIT"
] | 66 | 2017-10-02T16:43:39.000Z | 2021-11-01T09:23:06.000Z | keyword_spotting_data_generator/extractor/__init__.py | Lipster-develop/honk | c3aae750c428520ba340961bddd526f9c999bb93 | [
"MIT"
] | 132 | 2017-10-07T04:23:58.000Z | 2022-03-08T03:09:16.000Z | from .sphinx_stt_extractor import *
| 18 | 35 | 0.833333 | 5 | 36 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
945db18726007587785cfd6163759b1df4fd7c77 | 93 | py | Python | examples/traductor/traductor/translators/domainname.py | connectthefuture/docker-hacks | d7ea13522188233d5e8a97179d2b0a872239f58d | [
"MIT"
] | 5 | 2015-09-19T09:47:45.000Z | 2018-09-24T21:48:51.000Z | traductor/translators/domainname.py | the0rem/traductor | 6b190a1e829379f8f4bf41f86ea50e937c4cf2ed | [
"Apache-2.0"
] | 1 | 2015-09-21T08:39:30.000Z | 2015-09-21T14:39:28.000Z | traductor/translators/domainname.py | the0rem/traductor | 6b190a1e829379f8f4bf41f86ea50e937c4cf2ed | [
"Apache-2.0"
] | null | null | null | from .base import BaseTranslator
class Domainname(BaseTranslator):
"""
"""
pass | 13.285714 | 33 | 0.655914 | 8 | 93 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236559 | 93 | 7 | 34 | 13.285714 | 0.859155 | 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 |
947f22857bbffdf0033c7a2218e55eb28abb9259 | 191 | py | Python | src/lib/trains/train_factory.py | bairw660606/PPDM | d89c1e583a87b1fe5f1c6bb94ed4b09838d5e547 | [
"MIT"
] | 28 | 2021-04-13T15:11:56.000Z | 2022-03-31T08:16:02.000Z | src/lib/trains/train_factory.py | bairw660606/PPDM | d89c1e583a87b1fe5f1c6bb94ed4b09838d5e547 | [
"MIT"
] | 5 | 2021-04-15T12:35:50.000Z | 2021-09-26T12:47:54.000Z | src/lib/trains/train_factory.py | bairw660606/PPDM | d89c1e583a87b1fe5f1c6bb94ed4b09838d5e547 | [
"MIT"
] | 2 | 2021-08-05T01:57:58.000Z | 2022-03-31T08:16:04.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .hoidet import HoidetTrainer
train_factory = {
'hoidet': HoidetTrainer
}
| 19.1 | 38 | 0.827225 | 22 | 191 | 6.5 | 0.5 | 0.20979 | 0.335664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136126 | 191 | 9 | 39 | 21.222222 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.031414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 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 |
8472ee02496e0c9ebcdb5d60cac125d4a641f8be | 20 | py | Python | airtest/utils/apkparser/__init__.py | koyoki/Airtest | ea8391bd4819d9231e7b35f18c14662e6109fad0 | [
"Apache-2.0"
] | 6,140 | 2018-01-24T03:27:48.000Z | 2022-03-31T14:37:54.000Z | airtest/utils/apkparser/__init__.py | koyoki/Airtest | ea8391bd4819d9231e7b35f18c14662e6109fad0 | [
"Apache-2.0"
] | 993 | 2018-02-02T11:21:40.000Z | 2022-03-31T20:41:41.000Z | airtest/utils/apkparser/__init__.py | koyoki/Airtest | ea8391bd4819d9231e7b35f18c14662e6109fad0 | [
"Apache-2.0"
] | 1,022 | 2018-03-05T07:45:22.000Z | 2022-03-31T04:29:57.000Z | from .apk import APK | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
84824bad7f671791bab334c86e2767624041a406 | 37 | py | Python | app/backend/api/endpoints/auth.py | sourcery-ai-bot/find-my-pet | 82654e20740c3bd7935374868ec0dd0b4d2c33bd | [
"Apache-2.0"
] | 2 | 2020-03-16T10:33:00.000Z | 2021-04-08T09:15:34.000Z | app/backend/api/endpoints/auth.py | sourcery-ai-bot/find-my-pet | 82654e20740c3bd7935374868ec0dd0b4d2c33bd | [
"Apache-2.0"
] | 21 | 2020-03-16T11:09:34.000Z | 2021-04-08T12:27:55.000Z | app/backend/api/endpoints/auth.py | sourcery-ai-bot/find-my-pet | 82654e20740c3bd7935374868ec0dd0b4d2c33bd | [
"Apache-2.0"
] | 1 | 2021-04-08T09:15:36.000Z | 2021-04-08T09:15:36.000Z | # coding=utf-8
# TODO:Authorization
| 9.25 | 20 | 0.72973 | 5 | 37 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.135135 | 37 | 3 | 21 | 12.333333 | 0.8125 | 0.837838 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.333333 | 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 |
848a4fac7699ea0c783e3a865beed32480e9f823 | 116 | py | Python | DexLab/constants.py | chinyh/dexlab-api-wrapper-python3 | f8a3616e4930200bb783e50f1757e98fbb69c1bf | [
"MIT"
] | null | null | null | DexLab/constants.py | chinyh/dexlab-api-wrapper-python3 | f8a3616e4930200bb783e50f1757e98fbb69c1bf | [
"MIT"
] | null | null | null | DexLab/constants.py | chinyh/dexlab-api-wrapper-python3 | f8a3616e4930200bb783e50f1757e98fbb69c1bf | [
"MIT"
] | null | null | null | PUBLIC_API_URL = 'https://serum-api.dexlab.space'
PRIVATE_API_URL = 'https://serum-api.dexlab.space'
VERSION = 'v1' | 29 | 50 | 0.741379 | 18 | 116 | 4.555556 | 0.555556 | 0.146341 | 0.268293 | 0.390244 | 0.731707 | 0.731707 | 0.731707 | 0 | 0 | 0 | 0 | 0.009346 | 0.077586 | 116 | 4 | 51 | 29 | 0.757009 | 0 | 0 | 0 | 0 | 0 | 0.529915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
84fc012e36576626f61f223d38a8ff15284d223f | 68 | py | Python | csvObject/__init__.py | sbaker-dev/csvObject | e31668c9b71284c7e7f6516e61c9617ad7abb7b1 | [
"MIT"
] | null | null | null | csvObject/__init__.py | sbaker-dev/csvObject | e31668c9b71284c7e7f6516e61c9617ad7abb7b1 | [
"MIT"
] | null | null | null | csvObject/__init__.py | sbaker-dev/csvObject | e31668c9b71284c7e7f6516e61c9617ad7abb7b1 | [
"MIT"
] | null | null | null | from csvObject.csvObject import *
from csvObject.csvWriter import *
| 22.666667 | 33 | 0.823529 | 8 | 68 | 7 | 0.5 | 0.464286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 34 | 34 | 0.933333 | 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 |
1706c2f209be6179f16b0148d5ae2b2d6881625e | 124 | py | Python | doc/core/eval.py | ponyatov/metaLeds | e017f4b14dcdf87275154d8220fbdae06cd9f370 | [
"MIT"
] | null | null | null | doc/core/eval.py | ponyatov/metaLeds | e017f4b14dcdf87275154d8220fbdae06cd9f370 | [
"MIT"
] | null | null | null | doc/core/eval.py | ponyatov/metaLeds | e017f4b14dcdf87275154d8220fbdae06cd9f370 | [
"MIT"
] | null | null | null | class Object:
## Lisp eval() in context
def eval(self, env):
raise NotImplementedError(['eval', self, env])
| 24.8 | 54 | 0.620968 | 15 | 124 | 5.133333 | 0.733333 | 0.207792 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 124 | 4 | 55 | 31 | 0.819149 | 0.177419 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
ca04b5a00fc845b234f87f415966e155d1cbb95d | 39,268 | py | Python | pytests/rebalance_new/rebalance_out.py | pavithra-mahamani/TAF | ff854adcc6ca3e50d9dc64e7756ca690251128d3 | [
"Apache-2.0"
] | null | null | null | pytests/rebalance_new/rebalance_out.py | pavithra-mahamani/TAF | ff854adcc6ca3e50d9dc64e7756ca690251128d3 | [
"Apache-2.0"
] | null | null | null | pytests/rebalance_new/rebalance_out.py | pavithra-mahamani/TAF | ff854adcc6ca3e50d9dc64e7756ca690251128d3 | [
"Apache-2.0"
] | null | null | null | import Jython_tasks.task as jython_tasks
from membase.api.exception import RebalanceFailedException
from membase.api.rest_client import RestConnection
from rebalance_base import RebalanceBaseTest
from couchbase_helper.documentgenerator import doc_generator
from remote.remote_util import RemoteMachineShellConnection
fro... | 57.158661 | 168 | 0.658246 | 5,223 | 39,268 | 4.710511 | 0.071989 | 0.051416 | 0.060318 | 0.026826 | 0.845751 | 0.827785 | 0.817258 | 0.789863 | 0.768727 | 0.760761 | 0 | 0.006611 | 0.264286 | 39,268 | 686 | 169 | 57.241983 | 0.844998 | 0.031756 | 0 | 0.663366 | 0 | 0 | 0.036621 | 0.001545 | 0 | 0 | 0 | 0 | 0.029703 | 1 | 0.029703 | false | 0 | 0.015842 | 0 | 0.047525 | 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 |
ca0808f3c20bdd654e6e8927e600f24ca9e7b773 | 1,412 | py | Python | tests/test_test_helpers.py | QualiSystems/Shellfoundry-Traffic | 967a6ab0208116506fcf42822bb3f293c3be18c6 | [
"Apache-2.0"
] | null | null | null | tests/test_test_helpers.py | QualiSystems/Shellfoundry-Traffic | 967a6ab0208116506fcf42822bb3f293c3be18c6 | [
"Apache-2.0"
] | 4 | 2020-10-29T13:16:29.000Z | 2020-11-22T09:00:05.000Z | tests/test_test_helpers.py | QualiSystems/Shellfoundry-Traffic | 967a6ab0208116506fcf42822bb3f293c3be18c6 | [
"Apache-2.0"
] | null | null | null |
import pytest
from shellfoundry_traffic.test_helpers import create_session_from_config, TestHelpers
RESERVATION_NAME = 'testing 1 2 3'
@pytest.fixture()
def session():
session = create_session_from_config()
yield session
# todo: delete session.
def test_reservation(session) -> None:
test_helper =... | 41.529412 | 108 | 0.800283 | 167 | 1,412 | 6.538922 | 0.215569 | 0.128205 | 0.124542 | 0.106227 | 0.750916 | 0.750916 | 0.750916 | 0.750916 | 0.750916 | 0.750916 | 0 | 0.002427 | 0.124646 | 1,412 | 33 | 109 | 42.787879 | 0.881068 | 0.014873 | 0 | 0.521739 | 0 | 0 | 0.018732 | 0 | 0 | 0 | 0 | 0.030303 | 0.173913 | 1 | 0.130435 | false | 0 | 0.086957 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ca0d071a442eb24e7ad8e35e632fbcb13d0853c4 | 1,240 | py | Python | spam_bot/spam_bot.py | HirushaPramuditha/Spam-Bot | 099abe0ecd8582ab138057a63dd5ddb344c99b56 | [
"MIT"
] | 1 | 2022-03-22T07:59:57.000Z | 2022-03-22T07:59:57.000Z | spam_bot/spam_bot.py | HirushaPramuditha/Spam-Bot | 099abe0ecd8582ab138057a63dd5ddb344c99b56 | [
"MIT"
] | null | null | null | spam_bot/spam_bot.py | HirushaPramuditha/Spam-Bot | 099abe0ecd8582ab138057a63dd5ddb344c99b56 | [
"MIT"
] | 1 | 2021-08-02T22:14:22.000Z | 2021-08-02T22:14:22.000Z | import pyautogui
import time
countdown = [5, 4, 3, 2, 1]
class ReadFile:
def __init__(self, file):
self.file = file
def spam(self):
f = open(self.file, "r")
print("""
╔═══╗─────────╔══╗───╔╗
║╔═╗║─────────║╔╗║──╔╝╚╗
║╚══╦══╦══╦╗╔╗║╚╝╚╦═╩╗╔╝
╚══╗║╔╗║╔╗║╚╝║║╔═╗║╔╗║║
║╚═╝║╚╝║╔╗║║║║║╚═... | 18.787879 | 91 | 0.397581 | 132 | 1,240 | 6.030303 | 0.401515 | 0.030151 | 0.130653 | 0.190955 | 0.721106 | 0.721106 | 0.721106 | 0.721106 | 0.721106 | 0.721106 | 0 | 0.007584 | 0.255645 | 1,240 | 65 | 92 | 19.076923 | 0.521127 | 0 | 0 | 0.666667 | 0 | 0 | 0.435484 | 0.229032 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.041667 | 0 | 0.125 | 0.208333 | 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 |
ca11a2eaf1e52944e20bb0956bd6aa1ddf10dfc4 | 1,471 | py | Python | Username_Passwd.py | arpansarkar190794/Arpan_Sarkar | b36f66f0ed00668b005fae903ce463883a803fd5 | [
"bzip2-1.0.6"
] | null | null | null | Username_Passwd.py | arpansarkar190794/Arpan_Sarkar | b36f66f0ed00668b005fae903ce463883a803fd5 | [
"bzip2-1.0.6"
] | null | null | null | Username_Passwd.py | arpansarkar190794/Arpan_Sarkar | b36f66f0ed00668b005fae903ce463883a803fd5 | [
"bzip2-1.0.6"
] | null | null | null | User={'Mrudula':'Mrudula123','Arpan':'Arpan123','Diganta':'Diganta123','Aliyas':'Aliyas123'}
print ("Enter your Username" )
Username= input()
print ("Enter your Password" )
Password= input()
if Username== 'Mrudula' and Password== User['Mrudula']:
print('Your Login is Succesfull')
elif Username == 'Arpan' and... | 47.451613 | 93 | 0.622026 | 153 | 1,471 | 5.980392 | 0.163399 | 0.144262 | 0.196721 | 0.069945 | 0.810929 | 0.749727 | 0.749727 | 0.612022 | 0.46776 | 0 | 0 | 0.010526 | 0.225017 | 1,471 | 31 | 94 | 47.451613 | 0.792105 | 0 | 0 | 0.387097 | 0 | 0 | 0.352982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.580645 | 0 | 0 | 0 | 0.483871 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
ca3e12a7e372d55eaadf410d422893daee193562 | 41 | py | Python | lib/build/__init__.py | dayekuaipao/PyTorchTemplate | d34733e96cf2bdd6859be46708e9d6d5dd977841 | [
"MIT"
] | 1 | 2020-08-24T17:09:38.000Z | 2020-08-24T17:09:38.000Z | lib/build/__init__.py | dayekuaipao/PyTorchTemplate | d34733e96cf2bdd6859be46708e9d6d5dd977841 | [
"MIT"
] | null | null | null | lib/build/__init__.py | dayekuaipao/PyTorchTemplate | d34733e96cf2bdd6859be46708e9d6d5dd977841 | [
"MIT"
] | 2 | 2020-08-24T17:09:43.000Z | 2021-05-19T03:04:10.000Z | from lib.build.registry import Registries | 41 | 41 | 0.878049 | 6 | 41 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 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 |
ca4bcc7a7525d7a252e6d264336f9a3edd7e5fff | 37 | py | Python | tests/test_statement_parser.py | Gallaecio/shublang | 3e145b4ae0149c91267be34bdac37a2dd7a7346f | [
"BSD-3-Clause"
] | 10 | 2020-05-11T21:58:39.000Z | 2022-01-28T01:00:57.000Z | tests/test_statement_parser.py | Gallaecio/shublang | 3e145b4ae0149c91267be34bdac37a2dd7a7346f | [
"BSD-3-Clause"
] | 29 | 2020-04-29T06:51:49.000Z | 2021-04-05T10:57:46.000Z | tests/test_statement_parser.py | Gallaecio/shublang | 3e145b4ae0149c91267be34bdac37a2dd7a7346f | [
"BSD-3-Clause"
] | 6 | 2020-03-31T18:21:25.000Z | 2021-04-24T02:17:55.000Z | # TODO add tests for StatementParser
| 18.5 | 36 | 0.810811 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.967742 | 0.918919 | 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 |
04751df2c5673d757c40fa7257db6b46bc4d8d5e | 182 | py | Python | great_expectations/render/renderer/__init__.py | orenovadia/great_expectations | 76ef0c4e066227f8b589a1ee6ac885618f65906e | [
"Apache-2.0"
] | null | null | null | great_expectations/render/renderer/__init__.py | orenovadia/great_expectations | 76ef0c4e066227f8b589a1ee6ac885618f65906e | [
"Apache-2.0"
] | null | null | null | great_expectations/render/renderer/__init__.py | orenovadia/great_expectations | 76ef0c4e066227f8b589a1ee6ac885618f65906e | [
"Apache-2.0"
] | 1 | 2022-02-10T04:20:37.000Z | 2022-02-10T04:20:37.000Z | from .column_section_renderer import DescriptiveColumnSectionRenderer, PrescriptiveColumnSectionRenderer
from .page_renderer import DescriptivePageRenderer, PrescriptivePageRenderer
| 60.666667 | 104 | 0.923077 | 13 | 182 | 12.692308 | 0.769231 | 0.169697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054945 | 182 | 2 | 105 | 91 | 0.959302 | 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 |
04838f0946d976c23b5bef8cf9ee08ea7e1eb143 | 162 | py | Python | anchor/packages/templatetags/more_human.py | kam1sh/anchor | 6699a7c3f0d43f358ea399490227cbeaa63df075 | [
"MIT"
] | 1 | 2019-05-04T07:24:40.000Z | 2019-05-04T07:24:40.000Z | anchor/packages/templatetags/more_human.py | kam1sh/ciconia | 6699a7c3f0d43f358ea399490227cbeaa63df075 | [
"MIT"
] | null | null | null | anchor/packages/templatetags/more_human.py | kam1sh/ciconia | 6699a7c3f0d43f358ea399490227cbeaa63df075 | [
"MIT"
] | null | null | null | import humanize
from django import template
register = template.Library()
@register.filter
def naturalsize(value: int):
return humanize.naturalsize(value)
| 16.2 | 38 | 0.783951 | 19 | 162 | 6.684211 | 0.684211 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 162 | 9 | 39 | 18 | 0.907143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
0493cc6d0f9830db3bac51273f59829b8bb7b8be | 35 | py | Python | backend/server/scripts/transcribe/music/__init__.py | vaastav/eTone | a544605c5d23d1d984385bb9c52a65d63f4bdd41 | [
"BSD-3-Clause"
] | 2 | 2018-04-16T08:55:40.000Z | 2018-08-09T09:58:47.000Z | backend/server/scripts/transcribe/music/__init__.py | vaastav/eTone | a544605c5d23d1d984385bb9c52a65d63f4bdd41 | [
"BSD-3-Clause"
] | 3 | 2017-12-25T07:55:03.000Z | 2019-07-10T02:58:44.000Z | backend/server/scripts/transcribe/music/__init__.py | vaastav/eTone | a544605c5d23d1d984385bb9c52a65d63f4bdd41 | [
"BSD-3-Clause"
] | 2 | 2019-07-05T21:21:16.000Z | 2021-12-31T21:13:37.000Z | from .splitter import SongSplitter
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
04bf80eb35809964bb4d926b51d8078744fd8c10 | 32 | py | Python | config/__init__.py | sajjadmaneshi/dws_dev_007_python_q2 | b95617041f13de43fbdce398adb0cbbcc6276a1e | [
"Apache-2.0"
] | null | null | null | config/__init__.py | sajjadmaneshi/dws_dev_007_python_q2 | b95617041f13de43fbdce398adb0cbbcc6276a1e | [
"Apache-2.0"
] | null | null | null | config/__init__.py | sajjadmaneshi/dws_dev_007_python_q2 | b95617041f13de43fbdce398adb0cbbcc6276a1e | [
"Apache-2.0"
] | null | null | null | from config.config import Config | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
04d1b8a8efcc1c679b27212ce0d8b00f59d2f71b | 20,418 | py | Python | testproject/tests/test_second_step_authentication.py | CambiaTech/django-trench | 5ee1d0c4c01ce982529583d85ff8eb8377d224d3 | [
"MIT"
] | null | null | null | testproject/tests/test_second_step_authentication.py | CambiaTech/django-trench | 5ee1d0c4c01ce982529583d85ff8eb8377d224d3 | [
"MIT"
] | null | null | null | testproject/tests/test_second_step_authentication.py | CambiaTech/django-trench | 5ee1d0c4c01ce982529583d85ff8eb8377d224d3 | [
"MIT"
] | null | null | null | import pytest
from django.contrib.auth import get_user_model
from rest_framework.status import (
HTTP_200_OK,
HTTP_204_NO_CONTENT,
HTTP_400_BAD_REQUEST,
HTTP_401_UNAUTHORIZED,
)
from rest_framework.test import APIClient
from time import sleep
from twilio.base.exceptions import TwilioException, TwilioR... | 34.665535 | 88 | 0.735625 | 2,627 | 20,418 | 5.295013 | 0.071565 | 0.078361 | 0.06844 | 0.056003 | 0.865492 | 0.845075 | 0.833285 | 0.775413 | 0.723796 | 0.661754 | 0 | 0.008446 | 0.170732 | 20,418 | 588 | 89 | 34.72449 | 0.813076 | 0.013713 | 0 | 0.6 | 0 | 0 | 0.075272 | 0.030208 | 0 | 0 | 0 | 0 | 0.119192 | 1 | 0.062626 | false | 0.00404 | 0.022222 | 0 | 0.084848 | 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 |
b6ca3cac8cffbd4bcfda56ba32cbfa0681425794 | 45 | py | Python | lib/__init__.py | DigitalArtsNetworkMelbourne/hueforecast | b8eaefa35149eed68230a4e81771887da527d72f | [
"MIT"
] | null | null | null | lib/__init__.py | DigitalArtsNetworkMelbourne/hueforecast | b8eaefa35149eed68230a4e81771887da527d72f | [
"MIT"
] | null | null | null | lib/__init__.py | DigitalArtsNetworkMelbourne/hueforecast | b8eaefa35149eed68230a4e81771887da527d72f | [
"MIT"
] | null | null | null | from converter import ColorHelper, Converter
| 22.5 | 44 | 0.866667 | 5 | 45 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 1 | 45 | 45 | 0.975 | 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 |
8e051e0a233fc73ea8edb6f4a03e9f05d214d922 | 83 | py | Python | funtools/__init__.py | ayersb/funtools | 87e1ede044d2ffb95ea8d08f4d2cae0e89d3d3a8 | [
"MIT"
] | 1 | 2021-12-27T22:08:15.000Z | 2021-12-27T22:08:15.000Z | funtools/__init__.py | ayersb/funtools | 87e1ede044d2ffb95ea8d08f4d2cae0e89d3d3a8 | [
"MIT"
] | null | null | null | funtools/__init__.py | ayersb/funtools | 87e1ede044d2ffb95ea8d08f4d2cae0e89d3d3a8 | [
"MIT"
] | null | null | null | from .funwrap import *
from .funwrap import funwrap as fn
from .cache import cache
| 20.75 | 34 | 0.783133 | 13 | 83 | 5 | 0.461538 | 0.338462 | 0.523077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 3 | 35 | 27.666667 | 0.942029 | 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 |
8e2196f29382c3aba69172ca7eb88fb66b95bb9c | 23,888 | py | Python | sdk/python/pulumi_digitalocean/custom_image.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 53 | 2019-04-25T14:43:12.000Z | 2022-03-14T15:51:44.000Z | sdk/python/pulumi_digitalocean/custom_image.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 158 | 2019-04-15T21:47:18.000Z | 2022-03-29T21:21:57.000Z | sdk/python/pulumi_digitalocean/custom_image.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-04-15T20:16:11.000Z | 2021-05-28T19:08:32.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 40.0134 | 216 | 0.629061 | 2,800 | 23,888 | 5.171071 | 0.077857 | 0.106361 | 0.092824 | 0.074453 | 0.835348 | 0.801713 | 0.743007 | 0.713654 | 0.69107 | 0.634505 | 0 | 0.002301 | 0.254228 | 23,888 | 596 | 217 | 40.080537 | 0.810441 | 0.276122 | 0 | 0.631436 | 1 | 0 | 0.070611 | 0.002599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.165312 | false | 0.00271 | 0.01355 | 0.04336 | 0.281843 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6d4dbbd676192747c7073fa494bcadb9c0ee4c2c | 3,017 | py | Python | tests/test_vertex_array_index.py | asnt/moderngl | b39cedd8cf216c34e43371b4aec822f6084f0f79 | [
"MIT"
] | 916 | 2019-03-11T19:15:20.000Z | 2022-03-31T19:22:16.000Z | tests/test_vertex_array_index.py | asnt/moderngl | b39cedd8cf216c34e43371b4aec822f6084f0f79 | [
"MIT"
] | 218 | 2019-03-11T06:05:52.000Z | 2022-03-30T16:59:22.000Z | tests/test_vertex_array_index.py | asnt/moderngl | b39cedd8cf216c34e43371b4aec822f6084f0f79 | [
"MIT"
] | 110 | 2019-04-06T18:32:24.000Z | 2022-03-21T20:30:47.000Z | import unittest
import moderngl
import numpy as np
from common import get_context
class TestCase(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.ctx = get_context()
def test_1(self):
prog = self.ctx.program(
vertex_shader='''
#version 330
... | 32.095745 | 108 | 0.563474 | 385 | 3,017 | 4.262338 | 0.205195 | 0.072517 | 0.087142 | 0.073126 | 0.823278 | 0.823278 | 0.823278 | 0.817794 | 0.817794 | 0.79159 | 0 | 0.046622 | 0.303281 | 3,017 | 93 | 109 | 32.44086 | 0.734063 | 0.019556 | 0 | 0.571429 | 0 | 0 | 0.16046 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 1 | 0.042857 | false | 0 | 0.057143 | 0 | 0.114286 | 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 |
ede8fa7bb7529f536a7477eefda8736a6045d38d | 130 | py | Python | app/models/__init__.py | spark8103/dlop2 | 7f35ccb603af97c2d344a9db86f5fa33a8f73c8f | [
"Apache-2.0"
] | null | null | null | app/models/__init__.py | spark8103/dlop2 | 7f35ccb603af97c2d344a9db86f5fa33a8f73c8f | [
"Apache-2.0"
] | 1 | 2017-07-22T21:22:24.000Z | 2017-07-22T21:22:24.000Z | app/models/__init__.py | spark8103/dlop2 | 7f35ccb603af97c2d344a9db86f5fa33a8f73c8f | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
from ._base import *
from .asset_model import *
from flask.ext.sqlalchemy import models_committed
| 18.571429 | 49 | 0.769231 | 19 | 130 | 5.105263 | 0.789474 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.146154 | 130 | 6 | 50 | 21.666667 | 0.855856 | 0.2 | 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 |
6104b51582993a5473f7f3218eb3f2bd988dbe65 | 30 | py | Python | src/microblog/microblog.py | TR33HGR/python-rest-server | 01c1ba5bad69bb4f7c6a71baf7a067b1e85da78f | [
"MIT"
] | null | null | null | src/microblog/microblog.py | TR33HGR/python-rest-server | 01c1ba5bad69bb4f7c6a71baf7a067b1e85da78f | [
"MIT"
] | null | null | null | src/microblog/microblog.py | TR33HGR/python-rest-server | 01c1ba5bad69bb4f7c6a71baf7a067b1e85da78f | [
"MIT"
] | null | null | null | from microblog.app import app
| 15 | 29 | 0.833333 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 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 |
b61f2560ecf16cf44910d88b3de161388d512470 | 275 | py | Python | src/ebonite/build/provider/__init__.py | koskotG/ebonite | 9f9ae016b70fb24865d5edc99142afb8ab4ddc59 | [
"Apache-2.0"
] | 1 | 2019-11-27T14:33:45.000Z | 2019-11-27T14:33:45.000Z | src/ebonite/build/provider/__init__.py | geffy/ebonite | 2d85eeca44ac1799e743bafe333887712e325060 | [
"Apache-2.0"
] | null | null | null | src/ebonite/build/provider/__init__.py | geffy/ebonite | 2d85eeca44ac1799e743bafe333887712e325060 | [
"Apache-2.0"
] | null | null | null | from .base import LOADER_ENV, ProviderBase, PythonProvider, SERVER_ENV
from .ml_model import MLModelProvider
from .ml_model_multi import MLModelMultiProvider
__all__ = ['LOADER_ENV', 'ProviderBase', 'PythonProvider', 'SERVER_ENV', 'MLModelProvider', 'MLModelMultiProvider']
| 45.833333 | 115 | 0.818182 | 29 | 275 | 7.37931 | 0.482759 | 0.084112 | 0.196262 | 0.327103 | 0.411215 | 0.411215 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087273 | 275 | 5 | 116 | 55 | 0.85259 | 0 | 0 | 0 | 0 | 0 | 0.294545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b65247413de3fe5d6a185434dfdf782965828d0c | 741 | py | Python | String/383. Ransom Note.py | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | 138 | 2020-02-08T05:25:26.000Z | 2021-11-04T11:59:28.000Z | String/383. Ransom Note.py | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | null | null | null | String/383. Ransom Note.py | beckswu/Leetcode | 480e8dc276b1f65961166d66efa5497d7ff0bdfd | [
"MIT"
] | 24 | 2021-01-02T07:18:43.000Z | 2022-03-20T08:17:54.000Z | """
383. Ransom Note
canConstruct("a", "b") -> false
canConstruct("aa", "ab") -> false
canConstruct("aa", "aab") -> true
"""
class Solution:
def canConstruct(self, ransomNote, magazine):
"""
:type ransomNote: str
:type magazine: str
:rtype: bool
"""
... | 28.5 | 116 | 0.642375 | 69 | 741 | 6.898551 | 0.362319 | 0.264706 | 0.235294 | 0.176471 | 0.693277 | 0.693277 | 0.579832 | 0.235294 | 0 | 0 | 0 | 0.005263 | 0.230769 | 741 | 26 | 117 | 28.5 | 0.829825 | 0.232119 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.222222 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b675db24d8cd3362186c46194e3ae8a666f57085 | 228 | py | Python | capslayer/decoders/__init__.py | moejoe95/CapsLayer | be191f1adc9c0906a3f4e4b6bd78ccac29329dc0 | [
"Apache-2.0"
] | null | null | null | capslayer/decoders/__init__.py | moejoe95/CapsLayer | be191f1adc9c0906a3f4e4b6bd78ccac29329dc0 | [
"Apache-2.0"
] | null | null | null | capslayer/decoders/__init__.py | moejoe95/CapsLayer | be191f1adc9c0906a3f4e4b6bd78ccac29329dc0 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from capslayer.decoders.deconv_decoder import DeconvDecoderNet
from capslayer.decoders.fc_decoder import FCDecoderNet
| 32.571429 | 62 | 0.890351 | 28 | 228 | 6.678571 | 0.5 | 0.160428 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 228 | 6 | 63 | 38 | 0.903382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 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 |
b69141b398b1eb3de443d1fc6ce2cd6a3bdd1117 | 117 | py | Python | Pycharm_Project/0415/modle/cal.py | duanjiefei/Python-Study | 88e17a3eab9112a2515f09b2bcf4e032059cc28b | [
"Apache-2.0"
] | null | null | null | Pycharm_Project/0415/modle/cal.py | duanjiefei/Python-Study | 88e17a3eab9112a2515f09b2bcf4e032059cc28b | [
"Apache-2.0"
] | null | null | null | Pycharm_Project/0415/modle/cal.py | duanjiefei/Python-Study | 88e17a3eab9112a2515f09b2bcf4e032059cc28b | [
"Apache-2.0"
] | null | null | null | def add(x,y):
return x+y
def sub(x,y):
return x - y
if __name__ == "__main__":# 方便测试
print("方便测试") | 14.625 | 33 | 0.538462 | 20 | 117 | 2.75 | 0.55 | 0.145455 | 0.290909 | 0.327273 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290598 | 117 | 8 | 34 | 14.625 | 0.662651 | 0.034188 | 0 | 0 | 0 | 0 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.166667 | 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 |
1e2db4d11eb62d070a9ca0e975d3cc98b9597990 | 49 | py | Python | Lib/test/test_compiler/testcorpus/54_list_comp_recur_func.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 1,886 | 2021-05-03T23:58:43.000Z | 2022-03-31T19:15:58.000Z | Lib/test/test_compiler/testcorpus/54_list_comp_recur_func.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 70 | 2021-05-04T23:25:35.000Z | 2022-03-31T18:42:08.000Z | Lib/test/test_compiler/testcorpus/54_list_comp_recur_func.py | diogommartins/cinder | 79103e9119cbecef3b085ccf2878f00c26e1d175 | [
"CNRI-Python-GPL-Compatible"
] | 52 | 2021-05-04T21:26:03.000Z | 2022-03-08T18:02:56.000Z | def recur1(a):
return [recur1(b) for b in a]
| 16.333333 | 33 | 0.612245 | 10 | 49 | 3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.244898 | 49 | 2 | 34 | 24.5 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1e3f57429109af83552dc6cd36075551cd825cea | 11,102 | py | Python | test/test_user_message_api.py | ReutersMedia/sqs-browser-events | 6be8de94fa65efb973a5bce87fee6243dea8d0b9 | [
"MIT"
] | 63 | 2017-03-31T01:30:04.000Z | 2021-05-05T11:46:14.000Z | test/test_user_message_api.py | ReutersMedia/sqs-browser-events | 6be8de94fa65efb973a5bce87fee6243dea8d0b9 | [
"MIT"
] | 3 | 2017-06-02T18:40:43.000Z | 2017-09-05T00:50:24.000Z | test/test_user_message_api.py | ReutersMedia/sqs-browser-events | 6be8de94fa65efb973a5bce87fee6243dea8d0b9 | [
"MIT"
] | 3 | 2017-04-14T15:47:26.000Z | 2020-07-13T08:34:36.000Z | from __future__ import print_function
import sys
import os
import pprint
import urllib
import random
import uuid
import time
import json
import boto3
import unittest
import testenv
import requests
from requests_aws4auth import AWS4Auth
from common import get_msgs
class TestUserMessageApi(unittest.TestCase):
... | 45.130081 | 124 | 0.590614 | 1,606 | 11,102 | 3.922167 | 0.083437 | 0.086363 | 0.107954 | 0.119067 | 0.846484 | 0.835053 | 0.824417 | 0.815844 | 0.795206 | 0.78441 | 0 | 0.061879 | 0.21978 | 11,102 | 245 | 125 | 45.314286 | 0.66532 | 0.032787 | 0 | 0.658879 | 0 | 0 | 0.203711 | 0.029927 | 0 | 0 | 0 | 0 | 0.093458 | 1 | 0.051402 | false | 0 | 0.070093 | 0 | 0.130841 | 0.018692 | 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 |
1ea795730096143e518dab80200b23fdbcf8b813 | 1,769 | py | Python | MillerArrays/cns2mtz.py | MooersLab/jupyterlabcctbxsnipsplus | 80a380046adcc9b16581ed1681884017514edbb7 | [
"MIT"
] | null | null | null | MillerArrays/cns2mtz.py | MooersLab/jupyterlabcctbxsnipsplus | 80a380046adcc9b16581ed1681884017514edbb7 | [
"MIT"
] | null | null | null | MillerArrays/cns2mtz.py | MooersLab/jupyterlabcctbxsnipsplus | 80a380046adcc9b16581ed1681884017514edbb7 | [
"MIT"
] | null | null | null | # Description: Miller arrays to convert CNS reflection file into an mtz file
# Source: NA
"""
from iotbx import reflection_file_reader
import os
reflection_file = reflection_file_reader.any_reflection_file(file_name=os.path.expandvars("${1:\$CNS_SOLVE/doc/html/tutorial/data/pen/scale.hkl}"))
from cctbx import crysta... | 43.146341 | 147 | 0.755794 | 261 | 1,769 | 4.793103 | 0.268199 | 0.123102 | 0.063949 | 0.095923 | 0.941647 | 0.941647 | 0.941647 | 0.941647 | 0.941647 | 0.941647 | 0 | 0.032216 | 0.140192 | 1,769 | 40 | 148 | 44.225 | 0.79027 | 0.525155 | 0 | 0.117647 | 0 | 0 | 0.060168 | 0.057762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.176471 | 0 | 0.176471 | 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 |
1ea9bf8f906e922e6289c35335ed47dec32dd6fd | 5,073 | py | Python | taiga/projects/migrations/0060_auto_20180614_1338.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | null | null | null | taiga/projects/migrations/0060_auto_20180614_1338.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | 12 | 2019-11-25T14:08:32.000Z | 2021-06-24T10:35:51.000Z | taiga/projects/migrations/0060_auto_20180614_1338.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2018-06-14 13:38
from __future__ import unicode_literals
import django.core.serializers.json
from django.db import migrations, models
import django.db.models.deletion
import taiga.base.db.models.fields.json
class Migration(migrations.Migration):
dependenci... | 50.227723 | 171 | 0.600828 | 509 | 5,073 | 5.829077 | 0.194499 | 0.111223 | 0.032356 | 0.038423 | 0.837546 | 0.803842 | 0.782609 | 0.732053 | 0.670374 | 0.631951 | 0 | 0.019043 | 0.254682 | 5,073 | 100 | 172 | 50.73 | 0.76567 | 0.013404 | 0 | 0.612903 | 1 | 0 | 0.183127 | 0.004598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.053763 | 0 | 0.086022 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ecfeb879a684228606eb4120ff218d3fea00209 | 473 | py | Python | python/gym_RLrecon/envs/__init__.py | syedsaifhasan/rl_reconstruct | 1462d3650c3334083a7b4cc34c88e6f5d1095ce3 | [
"BSD-3-Clause"
] | 3 | 2019-08-19T12:51:41.000Z | 2021-03-29T11:28:06.000Z | python/gym_RLrecon/envs/__init__.py | syedsaifhasan/rl_reconstruct | 1462d3650c3334083a7b4cc34c88e6f5d1095ce3 | [
"BSD-3-Clause"
] | null | null | null | python/gym_RLrecon/envs/__init__.py | syedsaifhasan/rl_reconstruct | 1462d3650c3334083a7b4cc34c88e6f5d1095ce3 | [
"BSD-3-Clause"
] | 2 | 2019-01-14T07:55:40.000Z | 2021-12-11T13:34:35.000Z | from gym_RLrecon.envs.RLrecon_env import RLreconEnv
from gym_RLrecon.envs.RLrecon_simple_v0_env import RLreconSimpleV0Env
from gym_RLrecon.envs.RLrecon_simple_v1_env import RLreconSimpleV1Env
from gym_RLrecon.envs.RLrecon_simple_v2_env import RLreconSimpleV2Env
from gym_RLrecon.envs.RLrecon_simple_v3_env import RLrecon... | 59.125 | 73 | 0.911205 | 67 | 473 | 6.059701 | 0.298507 | 0.12069 | 0.241379 | 0.310345 | 0.504926 | 0.44335 | 0 | 0 | 0 | 0 | 0 | 0.017978 | 0.059197 | 473 | 7 | 74 | 67.571429 | 0.894382 | 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 |
1ed5014808f57a2a658dfa58a31bbc3ff8e59e23 | 157 | py | Python | util/string/benchmark/join/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | util/string/benchmark/join/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | util/string/benchmark/join/metrics/main.py | jochenater/catboost | de2786fbc633b0d6ea6a23b3862496c6151b95c2 | [
"Apache-2.0"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | import yatest.common as yc
def test_export_metrics(metrics):
metrics.set_benchmark(yc.execute_benchmark('util/string/benchmark/join/join', threads=8))
| 26.166667 | 93 | 0.796178 | 23 | 157 | 5.26087 | 0.73913 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.089172 | 157 | 5 | 94 | 31.4 | 0.839161 | 0 | 0 | 0 | 0 | 0 | 0.197452 | 0.197452 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
94af3ec540a61d4027bb36f424744c3f91c08814 | 14,987 | py | Python | tests/test_mixes.py | lycantropos/hypothesis_geometry | 23e1638144ffba089eee21eb623b0499713e0b1c | [
"MIT"
] | 9 | 2020-01-16T13:52:16.000Z | 2022-03-16T00:01:26.000Z | tests/test_mixes.py | lycantropos/hypothesis_geometry | 23e1638144ffba089eee21eb623b0499713e0b1c | [
"MIT"
] | 38 | 2020-01-16T12:08:51.000Z | 2021-01-11T11:06:32.000Z | tests/test_mixes.py | lycantropos/hypothesis_geometry | 23e1638144ffba089eee21eb623b0499713e0b1c | [
"MIT"
] | 1 | 2020-03-12T10:29:44.000Z | 2020-03-12T10:29:44.000Z | from typing import Tuple
import pytest
from ground.hints import Scalar
from hypothesis import given
from hypothesis.errors import HypothesisWarning
from hypothesis.strategies import DataObject
from hypothesis_geometry.hints import Strategy
from hypothesis_geometry.planar import mixes
from tests import strategies
from... | 46.688474 | 79 | 0.668246 | 1,686 | 14,987 | 5.346975 | 0.049229 | 0.08619 | 0.074542 | 0.040044 | 0.908375 | 0.848031 | 0.816528 | 0.799113 | 0.741098 | 0.741098 | 0 | 0.000187 | 0.286515 | 14,987 | 320 | 80 | 46.834375 | 0.842888 | 0 | 0 | 0.643636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047273 | 1 | 0.043636 | false | 0 | 0.036364 | 0 | 0.08 | 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 |
94eac7b419f8bc0cdf879096e73f0a12163e0395 | 41 | py | Python | bolt4ds/recsys/data/__init__.py | leepand/bolt4ds | 0b0e71deb8fc421d32e54d38a4c38a914e3aa732 | [
"BSD-3-Clause"
] | null | null | null | bolt4ds/recsys/data/__init__.py | leepand/bolt4ds | 0b0e71deb8fc421d32e54d38a4c38a914e3aa732 | [
"BSD-3-Clause"
] | null | null | null | bolt4ds/recsys/data/__init__.py | leepand/bolt4ds | 0b0e71deb8fc421d32e54d38a4c38a914e3aa732 | [
"BSD-3-Clause"
] | null | null | null | from .lightfm_data_process import Dataset | 41 | 41 | 0.902439 | 6 | 41 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.921053 | 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 |
a208e64d54fc88acaa5f911cc7f0b7ff23e3ea3e | 3,918 | py | Python | regym/tests/rl_algorithms/rps_test.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 2 | 2020-09-13T15:53:20.000Z | 2020-12-08T15:57:05.000Z | regym/tests/rl_algorithms/rps_test.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | null | null | null | regym/tests/rl_algorithms/rps_test.py | KnwSondess/Regym | 825c7dacf955a3e2f6c658c0ecb879a0ca036c1a | [
"MIT"
] | 1 | 2021-09-20T13:48:30.000Z | 2021-09-20T13:48:30.000Z | from tqdm import tqdm
import gym
from regym.rl_loops.multiagent_loops import simultaneous_action_rl_loop
from environments import ParallelEnv
def learns_against_fixed_opponent_RPS(agent, fixed_opponent, total_episodes, training_percentage, reward_threshold):
'''
Test used to make sure that agent is 'learning'... | 49.594937 | 188 | 0.760337 | 489 | 3,918 | 5.834356 | 0.210634 | 0.08973 | 0.063091 | 0.044164 | 0.819138 | 0.798107 | 0.75184 | 0.749036 | 0.740624 | 0.695759 | 0 | 0.004862 | 0.160031 | 3,918 | 78 | 189 | 50.230769 | 0.862048 | 0.093415 | 0 | 0.490566 | 0 | 0.037736 | 0.073039 | 0.025678 | 0 | 0 | 0 | 0 | 0.037736 | 1 | 0.075472 | false | 0 | 0.075472 | 0 | 0.188679 | 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 |
a21f5b8813aa4f88733797f06eb91b8dd515d3a9 | 22 | py | Python | picpac/__init__.py | stavka0619/picpac | 638f56312400fbb6204b7001c0c137386a675e83 | [
"BSD-2-Clause"
] | null | null | null | picpac/__init__.py | stavka0619/picpac | 638f56312400fbb6204b7001c0c137386a675e83 | [
"BSD-2-Clause"
] | null | null | null | picpac/__init__.py | stavka0619/picpac | 638f56312400fbb6204b7001c0c137386a675e83 | [
"BSD-2-Clause"
] | null | null | null | from _picpac import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bfc6d1b785c53fc58e325caff8b801e4161b18c2 | 4,693 | py | Python | test.py | Amitlamichhane/NLPP | 4976d62f5229f7fc7f97460a5990fb9f38a6ef93 | [
"Unlicense"
] | null | null | null | test.py | Amitlamichhane/NLPP | 4976d62f5229f7fc7f97460a5990fb9f38a6ef93 | [
"Unlicense"
] | null | null | null | test.py | Amitlamichhane/NLPP | 4976d62f5229f7fc7f97460a5990fb9f38a6ef93 | [
"Unlicense"
] | null | null | null | import unittest
import todo
class testTask(unittest.TestCase):
def test_evaluation(self):
golden_list = [['B-TAR', 'I-TAR', 'O', 'B-HYP'], ['B-TAR', 'O', 'O', 'B-HYP']]
predict_list = [['B-TAR', 'O', 'O', 'O'], ['B-TAR', 'O', 'B-HYP', 'I-HYP']]
result = todo.evaluate(golden_list, predi... | 36.1 | 120 | 0.515662 | 684 | 4,693 | 3.44883 | 0.102339 | 0.083086 | 0.084782 | 0.06613 | 0.86986 | 0.85036 | 0.823654 | 0.81348 | 0.81348 | 0.803306 | 0 | 0.011864 | 0.245685 | 4,693 | 129 | 121 | 36.379845 | 0.65452 | 0.056041 | 0 | 0.588235 | 0 | 0 | 0.219388 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.014706 | false | 0 | 0.029412 | 0 | 0.058824 | 0.191176 | 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 |
44a575c270e0e724123fa8218c2ebf13c59dab2b | 2,219 | py | Python | src/models.py | prakashchhipa/Depth-Contrast-Self-Supervised-Method | c68f2ea85063be3a63216985fbe806621174889b | [
"Apache-2.0"
] | null | null | null | src/models.py | prakashchhipa/Depth-Contrast-Self-Supervised-Method | c68f2ea85063be3a63216985fbe806621174889b | [
"Apache-2.0"
] | null | null | null | src/models.py | prakashchhipa/Depth-Contrast-Self-Supervised-Method | c68f2ea85063be3a63216985fbe806621174889b | [
"Apache-2.0"
] | null | null | null | import torchvision.models as models
import torch.nn as nn
import torch
import torch.nn.functional as F
from efficientnet_pytorch import EfficientNet
class EfficientNet_Model(torch.nn.Module):
def __init__(self, pretrained=True):
super(EfficientNet_Model, self).__init__()
num_classes = 7
se... | 38.258621 | 97 | 0.666967 | 324 | 2,219 | 4.376543 | 0.182099 | 0.139633 | 0.085331 | 0.073343 | 0.806065 | 0.782793 | 0.782793 | 0.782793 | 0.758815 | 0.758815 | 0 | 0.044557 | 0.200991 | 2,219 | 58 | 98 | 38.258621 | 0.755217 | 0.316359 | 0 | 0.441176 | 0 | 0 | 0.00998 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.147059 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
44b4a2832e0889d31fcc4cc36f18895d4b3a86ba | 200 | py | Python | venv/Lib/site-packages/IPython/utils/daemonize.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | venv/Lib/site-packages/IPython/utils/daemonize.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | venv/Lib/site-packages/IPython/utils/daemonize.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from warnings import warn
warn("IPython.utils.daemonize has moved to ipyparallel.apps.daemonize since IPython 4.0", DeprecationWarning, stacklevel=2)
from ipyparallel.apps.daemonize import daemonize
| 40 | 123 | 0.835 | 27 | 200 | 6.185185 | 0.666667 | 0.179641 | 0.287425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.095 | 200 | 4 | 124 | 50 | 0.906077 | 0 | 0 | 0 | 0 | 0 | 0.405 | 0.245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78377c6d5c4fc06c7d1811473141049acfd1bb17 | 6,179 | py | Python | sc-projects/my_photoshop/blur.py | wangyuhsin/sc-projects | c136e48521893aaf1fefa5bec82fc874ca547b72 | [
"MIT"
] | null | null | null | sc-projects/my_photoshop/blur.py | wangyuhsin/sc-projects | c136e48521893aaf1fefa5bec82fc874ca547b72 | [
"MIT"
] | null | null | null | sc-projects/my_photoshop/blur.py | wangyuhsin/sc-projects | c136e48521893aaf1fefa5bec82fc874ca547b72 | [
"MIT"
] | null | null | null | """
File: blur.py
-------------------------------
This file shows the original image(smiley-face.png)
first, and then its blurred image. The blur algorithm
uses the average RGB values of a pixel's nearest neighbors.
"""
from simpleimage import SimpleImage
def blur(old_img):
"""
:param old_img:
:return:
... | 39.356688 | 92 | 0.415278 | 817 | 6,179 | 2.965728 | 0.077111 | 0.118861 | 0.163434 | 0.156005 | 0.799009 | 0.799009 | 0.796533 | 0.796533 | 0.796533 | 0.796533 | 0 | 0.032821 | 0.462534 | 6,179 | 156 | 93 | 39.608974 | 0.696778 | 0.039165 | 0 | 0.795455 | 0 | 0 | 0.005089 | 0.003732 | 0 | 0 | 0 | 0.00641 | 0 | 1 | 0.015152 | false | 0 | 0.007576 | 0 | 0.030303 | 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 |
78981dc2d42e71735ea5d98446eb3de888220988 | 428 | py | Python | lib/node_types/esp/pre_extra_script.py | WhereIsTheExit/iotempower | 9079ff9bc42b6a456bc016d638de0713feb49c62 | [
"MIT"
] | 7 | 2019-05-22T19:05:27.000Z | 2022-01-19T09:34:24.000Z | lib/node_types/esp/pre_extra_script.py | WhereIsTheExit/iotempower | 9079ff9bc42b6a456bc016d638de0713feb49c62 | [
"MIT"
] | 20 | 2019-06-13T09:41:02.000Z | 2022-01-21T10:13:51.000Z | lib/node_types/esp/pre_extra_script.py | WhereIsTheExit/iotempower | 9079ff9bc42b6a456bc016d638de0713feb49c62 | [
"MIT"
] | 12 | 2019-06-04T09:18:13.000Z | 2022-01-13T10:09:31.000Z | Import("env")
# access to global construction environment
#print env
# Dump construction environment (for debug purpose)
#print env.Dump()
import os
# now in environment variable PLATFORMIO_BUILD_CACHE_DIR
# env.CacheDir(os.environ['IOTEMPOWER_COMPILE_CACHE']+'/scons')
# # Dump construction environment (for debug ... | 23.777778 | 63 | 0.691589 | 52 | 428 | 5.596154 | 0.5 | 0.137457 | 0.206186 | 0.206186 | 0.453608 | 0.453608 | 0.371134 | 0.371134 | 0.371134 | 0 | 0 | 0 | 0.133178 | 428 | 17 | 64 | 25.176471 | 0.784367 | 0.880841 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
78d3bb47c9dafdcf39dfeb8f3a09cecb7ee8f516 | 96 | py | Python | venv/lib/python3.8/site-packages/cachy/contracts/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pytzdata/commands/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pytzdata/commands/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/3b/d0/93/d41d85f9c541f1e953d04a0225b82471f7e3be59aab5ea9abece208838 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
154c6157d3c6d621f806bcfd006ce4d3364026e3 | 44 | py | Python | cumulocitypython/__init__.py | jaks6/cumulocitypython | e3871058b000bbbc0dfa6e264d7c976f2ccb93b3 | [
"MIT"
] | null | null | null | cumulocitypython/__init__.py | jaks6/cumulocitypython | e3871058b000bbbc0dfa6e264d7c976f2ccb93b3 | [
"MIT"
] | null | null | null | cumulocitypython/__init__.py | jaks6/cumulocitypython | e3871058b000bbbc0dfa6e264d7c976f2ccb93b3 | [
"MIT"
] | 2 | 2020-11-05T20:30:07.000Z | 2020-12-01T21:19:06.000Z | from .connection import CumulocityConnection | 44 | 44 | 0.909091 | 4 | 44 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 44 | 1 | 44 | 44 | 0.97561 | 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 |
155709723fff20e5d8e165ef0e3c9f881349d703 | 113 | py | Python | src/wai/spectralio/mixins/__init__.py | waikato-datamining/wai-spectral-io | a0edba2208b0b646ed54782cb0832ce10eed0d5e | [
"MIT"
] | null | null | null | src/wai/spectralio/mixins/__init__.py | waikato-datamining/wai-spectral-io | a0edba2208b0b646ed54782cb0832ce10eed0d5e | [
"MIT"
] | 3 | 2020-07-01T01:54:03.000Z | 2020-12-02T07:47:30.000Z | src/wai/spectralio/mixins/__init__.py | waikato-datamining/wai-spectral-io | a0edba2208b0b646ed54782cb0832ce10eed0d5e | [
"MIT"
] | null | null | null | from ._LocaleOptionsMixin import LocaleOptionsMixin
from ._ProductCodeOptionsMixin import ProductCodeOptionsMixin | 56.5 | 61 | 0.920354 | 8 | 113 | 12.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 113 | 2 | 61 | 56.5 | 0.962264 | 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 |
156af6938e35bfb409103f010481273ef4eb6fa9 | 233 | py | Python | pyKey/__init__.py | andohuman/pyWinKey | 6e25d5ef355b4c4568147df04714c04c12393658 | [
"MIT"
] | 40 | 2019-08-18T07:02:06.000Z | 2021-09-19T18:04:35.000Z | pyKey/__init__.py | andohuman/pyWinKey | 6e25d5ef355b4c4568147df04714c04c12393658 | [
"MIT"
] | 2 | 2019-08-21T21:58:45.000Z | 2021-06-06T16:54:33.000Z | pyKey/__init__.py | andohuman/pyWinKey | 6e25d5ef355b4c4568147df04714c04c12393658 | [
"MIT"
] | 3 | 2020-12-31T08:33:19.000Z | 2021-06-14T19:13:07.000Z | import sys
if sys.platform == 'linux':
from pyKey.linux import pressKey, releaseKey, press, showKeys, sendSequence
elif sys.platform == 'win32':
from pyKey.windows import pressKey, releaseKey, press, showKeys, sendSequence
| 29.125 | 81 | 0.751073 | 28 | 233 | 6.25 | 0.535714 | 0.125714 | 0.274286 | 0.331429 | 0.56 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0.010152 | 0.154506 | 233 | 7 | 82 | 33.285714 | 0.878173 | 0 | 0 | 0 | 0 | 0 | 0.043103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
15bc9be9e8caf74939ef085aba54822cafcbc7cf | 183 | py | Python | tests/context.py | ulysseslizarraga/instagram_smart_nine | 9bd48b37e2e6998547a6e33deb032ea5c03a6e70 | [
"MIT"
] | 1 | 2020-12-31T00:37:41.000Z | 2020-12-31T00:37:41.000Z | tests/context.py | ulysseslizarraga/instagram_smart_nine | 9bd48b37e2e6998547a6e33deb032ea5c03a6e70 | [
"MIT"
] | null | null | null | tests/context.py | ulysseslizarraga/instagram_smart_nine | 9bd48b37e2e6998547a6e33deb032ea5c03a6e70 | [
"MIT"
] | null | null | null | import sys
from os import path
sys.path.append( path.dirname( path.dirname( path.abspath(__file__))))
currDir = path.dirname( path.dirname( path.abspath(__file__)))
import smart_nine | 30.5 | 70 | 0.781421 | 27 | 183 | 4.962963 | 0.444444 | 0.328358 | 0.447761 | 0.328358 | 0.552239 | 0.552239 | 0.552239 | 0 | 0 | 0 | 0 | 0 | 0.092896 | 183 | 6 | 71 | 30.5 | 0.807229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.