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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c2281126ab28b4576140d64757e463483538ea5 | 205 | py | Python | moto/polly/__init__.py | alexsult/moto | ed861ecae1039a048a6350a4ff832ef094cdf2c2 | [
"Apache-2.0"
] | 2 | 2019-07-10T14:44:12.000Z | 2020-06-08T17:26:29.000Z | moto/polly/__init__.py | alexsult/moto | ed861ecae1039a048a6350a4ff832ef094cdf2c2 | [
"Apache-2.0"
] | 5 | 2018-04-25T21:04:20.000Z | 2018-11-02T19:59:27.000Z | moto/polly/__init__.py | alexsult/moto | ed861ecae1039a048a6350a4ff832ef094cdf2c2 | [
"Apache-2.0"
] | 12 | 2017-09-06T22:11:15.000Z | 2021-05-28T17:22:31.000Z | from __future__ import unicode_literals
from .models import polly_backends
from ..core.models import base_decorator
polly_backend = polly_backends['us-east-1']
mock_polly = base_decorator(polly_backends)
| 29.285714 | 43 | 0.839024 | 29 | 205 | 5.517241 | 0.551724 | 0.24375 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.092683 | 205 | 6 | 44 | 34.166667 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.043902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c233ed83f435b5e3aa3ae2f24e3b8d975f35762 | 27 | py | Python | src/mask_the_face/__init__.py | sveatlo/MaskTheFace | c98b8eb340181a41441c72bb7f1a9de88f968dbe | [
"MIT"
] | null | null | null | src/mask_the_face/__init__.py | sveatlo/MaskTheFace | c98b8eb340181a41441c72bb7f1a9de88f968dbe | [
"MIT"
] | null | null | null | src/mask_the_face/__init__.py | sveatlo/MaskTheFace | c98b8eb340181a41441c72bb7f1a9de88f968dbe | [
"MIT"
] | null | null | null | from .masker import Masker
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c47da95e3c5a88d9f6413aa01d7f4095e56fd37 | 44 | py | Python | lowball/builtins/response_class/__init__.py | EmersonElectricCo/lowball | 7cd2e33a2495d83bbcf1ae45cd40493f9576da9c | [
"Apache-2.0"
] | 3 | 2021-05-05T23:47:38.000Z | 2021-05-06T14:44:00.000Z | lowball/builtins/response_class/__init__.py | EmersonElectricCo/lowball | 7cd2e33a2495d83bbcf1ae45cd40493f9576da9c | [
"Apache-2.0"
] | 5 | 2021-06-18T18:28:08.000Z | 2022-01-14T15:47:02.000Z | lowball/builtins/response_class/__init__.py | EmersonElectricCo/lowball | 7cd2e33a2495d83bbcf1ae45cd40493f9576da9c | [
"Apache-2.0"
] | null | null | null | from .response_class import LowballResponse
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c5b782fe1371209b77c7584d5f0f6156fdc077d | 337 | py | Python | foxtrot/models/missions/missions/__init__.py | narfman0/foxtrot | ffcf9c4c0e01cda5ca65c4a3dd978a18cf762860 | [
"MIT"
] | null | null | null | foxtrot/models/missions/missions/__init__.py | narfman0/foxtrot | ffcf9c4c0e01cda5ca65c4a3dd978a18cf762860 | [
"MIT"
] | 14 | 2018-08-16T20:37:13.000Z | 2018-09-13T17:07:40.000Z | foxtrot/models/missions/missions/__init__.py | narfman0/foxtrot | ffcf9c4c0e01cda5ca65c4a3dd978a18cf762860 | [
"MIT"
] | null | null | null | from foxtrot.models.missions.missions.awake import AwakeMission
from foxtrot.models.missions.missions.board_craft import BoardCraftMission
from foxtrot.models.missions.missions.buildout import BuildoutMission
from foxtrot.models.missions.missions.debrief import DebriefMission
from foxtrot.models.missions.missions.win i... | 56.166667 | 74 | 0.881306 | 41 | 337 | 7.219512 | 0.390244 | 0.185811 | 0.287162 | 0.422297 | 0.557432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059347 | 337 | 5 | 75 | 67.4 | 0.933754 | 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 |
9c6fa4ec1583d7dcb077f0a4e995c6a73ab69781 | 3,880 | py | Python | ssht00ls/.legacy/3.14.0/classes/installation/__init__.py | vandenberghinc/ssht00ls | e08081773c8da7dfac0764170bfeacb4bf421ec1 | [
"CNRI-Python"
] | 5 | 2021-02-18T17:46:39.000Z | 2021-12-29T15:48:07.000Z | ssht00ls/.legacy/3.14.0/classes/installation/__init__.py | vandenberghinc/ssht00ls | e08081773c8da7dfac0764170bfeacb4bf421ec1 | [
"CNRI-Python"
] | null | null | null | ssht00ls/.legacy/3.14.0/classes/installation/__init__.py | vandenberghinc/ssht00ls | e08081773c8da7dfac0764170bfeacb4bf421ec1 | [
"CNRI-Python"
] | 2 | 2021-03-19T14:06:20.000Z | 2021-09-26T14:08:34.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# imports.
from ssht00ls.classes.config import *
from ssht00ls.classes import utils
# the installation object class.
class Installation(object):
def __init__(self):
a=1
def install(self,
# optional define the user (leave None for current user).
username=None,
)... | 26.216216 | 112 | 0.683247 | 527 | 3,880 | 5.011385 | 0.159393 | 0.0727 | 0.045437 | 0.099962 | 0.790231 | 0.790231 | 0.790231 | 0.790231 | 0.790231 | 0.780765 | 0 | 0.016501 | 0.172165 | 3,880 | 147 | 113 | 26.394558 | 0.805729 | 0.105155 | 0 | 0.857143 | 0 | 0 | 0.213483 | 0.056501 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032967 | false | 0 | 0.021978 | 0 | 0.131868 | 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 |
9c70326d529d086a6b38743760529453f64c547d | 135 | py | Python | examples/automl_freiburg/winner_cv/skeleton/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 3 | 2020-04-28T08:00:23.000Z | 2020-12-06T22:10:50.000Z | examples/automl_freiburg/winner_cv/skeleton/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 5 | 2021-09-08T02:36:47.000Z | 2022-03-12T01:01:36.000Z | examples/automl_freiburg/winner_cv/skeleton/__init__.py | zichuan-scott-xu/automl-workflow | d108e55da943775953b9f1801311a86ac07e58a0 | [
"Apache-2.0"
] | 4 | 2020-04-17T17:27:09.000Z | 2021-04-26T09:33:15.000Z | # -*- coding: utf-8 -*-
# pylint: disable=wildcard-import
from __future__ import absolute_import
from . import data, nn, optim, utils
| 22.5 | 38 | 0.725926 | 18 | 135 | 5.166667 | 0.777778 | 0.215054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.148148 | 135 | 5 | 39 | 27 | 0.8 | 0.392593 | 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 |
92c3d958a5a9bdd5135d83742154ba45b7633a7d | 41 | py | Python | cvfpscalc/__init__.py | Kazuhito00/cvfpscalc | e5b76681a5b1e807ef4dba2ad15dac6cb22e8036 | [
"MIT"
] | 1 | 2020-02-18T00:54:18.000Z | 2020-02-18T00:54:18.000Z | cvfpscalc/__init__.py | Kazuhito00/cvfpscalc | e5b76681a5b1e807ef4dba2ad15dac6cb22e8036 | [
"MIT"
] | null | null | null | cvfpscalc/__init__.py | Kazuhito00/cvfpscalc | e5b76681a5b1e807ef4dba2ad15dac6cb22e8036 | [
"MIT"
] | null | null | null | from cvfpscalc.cvfpscalc import CvFpsCalc | 41 | 41 | 0.902439 | 5 | 41 | 7.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.973684 | 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 |
92c51752221e277719cf3b1f3a94dd66bba3b128 | 89 | py | Python | banes/_format.py | ramomar/banes | ccd4e83a294d4e6abffbb9c4adc30f05cb986d23 | [
"MIT"
] | null | null | null | banes/_format.py | ramomar/banes | ccd4e83a294d4e6abffbb9c4adc30f05cb986d23 | [
"MIT"
] | null | null | null | banes/_format.py | ramomar/banes | ccd4e83a294d4e6abffbb9c4adc30f05cb986d23 | [
"MIT"
] | null | null | null | import re
def remove_extra_whitespaces(string):
return re.sub(r'\s+', ' ', string)
| 14.833333 | 38 | 0.674157 | 13 | 89 | 4.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 39 | 17.8 | 0.783784 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 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 |
92d5716becdbee67dd1fe8fd587916b08a50074b | 520 | py | Python | astroNN/gaia/__init__.py | igomezv/astroNN | 50af116f9cbfc684b63e7ddcf8829343a455722b | [
"MIT"
] | 156 | 2017-10-22T01:29:10.000Z | 2022-03-14T10:28:09.000Z | astroNN/gaia/__init__.py | AbdulfattahBaalawi/astroNN | 0b970dd1a8d4d5e6d611ffa52cfd3c2ffdcb4643 | [
"MIT"
] | 16 | 2017-11-02T21:29:28.000Z | 2022-03-14T08:40:41.000Z | astroNN/gaia/__init__.py | AbdulfattahBaalawi/astroNN | 0b970dd1a8d4d5e6d611ffa52cfd3c2ffdcb4643 | [
"MIT"
] | 46 | 2017-11-01T18:56:03.000Z | 2022-03-07T06:44:22.000Z | from astroNN.gaia.downloader import anderson_2017_parallax, gaiadr2_parallax
from astroNN.gaia.downloader import tgas, gaia_source
from astroNN.gaia.downloader import tgas_load
from astroNN.gaia.gaia_shared import gaia_default_dr, gaia_env
from astroNN.gaia.gaia_shared import mag_to_absmag, mag_to_fakemag, absmag_to_pc... | 65 | 121 | 0.861538 | 80 | 520 | 5.1625 | 0.3 | 0.133172 | 0.181598 | 0.181598 | 0.394673 | 0.319613 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.086538 | 520 | 7 | 122 | 74.285714 | 0.858947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 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 |
92da546c6b801629daae557b87b864fe1241484e | 15,523 | py | Python | pcdet/datasets/augmentor/augmentor_utils.py | twn29004/OpenPCDet | 3457cc30b21d882a1376ef272fbaa49755c72a2e | [
"Apache-2.0"
] | null | null | null | pcdet/datasets/augmentor/augmentor_utils.py | twn29004/OpenPCDet | 3457cc30b21d882a1376ef272fbaa49755c72a2e | [
"Apache-2.0"
] | null | null | null | pcdet/datasets/augmentor/augmentor_utils.py | twn29004/OpenPCDet | 3457cc30b21d882a1376ef272fbaa49755c72a2e | [
"Apache-2.0"
] | null | null | null | import numpy as np
import math
import copy
from ...utils import common_utils
def random_flip_along_x(gt_boxes, points):
"""
Args:
gt_boxes: (N, 7 + C), [x, y, z, dx, dy, dz, heading, [vx], [vy]]
points: (M, 3 + C)
Returns:
"""
enable = np.random.choice([False, True], r... | 32.957537 | 122 | 0.557753 | 2,206 | 15,523 | 3.718495 | 0.066636 | 0.117762 | 0.066561 | 0.014629 | 0.835548 | 0.819944 | 0.797757 | 0.782519 | 0.747897 | 0.706571 | 0 | 0.02691 | 0.286607 | 15,523 | 470 | 123 | 33.02766 | 0.713834 | 0.241641 | 0 | 0.370192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105769 | false | 0 | 0.019231 | 0 | 0.240385 | 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 |
1304e45316ee90f61e0d1786521147b14684f2fd | 16,613 | py | Python | tests/test_transformers.py | pydgrid/pydgrid | c56073c385f42883c79333533f7cfb8383a173aa | [
"MIT"
] | 15 | 2019-01-29T08:22:39.000Z | 2022-01-13T20:41:32.000Z | tests/test_transformers.py | pydgrid/pydgrid | c56073c385f42883c79333533f7cfb8383a173aa | [
"MIT"
] | 1 | 2017-11-28T21:34:52.000Z | 2017-11-28T21:34:52.000Z | tests/test_transformers.py | pydgrid/pydgrid | c56073c385f42883c79333533f7cfb8383a173aa | [
"MIT"
] | 4 | 2018-02-15T02:12:47.000Z | 2020-02-16T17:52:15.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 9 23:22:02 2017
@author: jmmauricio
"""
from pydgrid import grid
from pydgrid.pf import pf_eval,time_serie
from pydgrid.electric import bess_vsc, bess_vsc_eval
from pydgrid.simu import simu, f_eval, ini_eval, run_eval
import matplotlib.pyplot as p... | 44.183511 | 136 | 0.506952 | 2,862 | 16,613 | 2.616003 | 0.058001 | 0.021103 | 0.030853 | 0.016028 | 0.920662 | 0.909176 | 0.903566 | 0.900361 | 0.900361 | 0.878857 | 0 | 0.101266 | 0.267682 | 16,613 | 375 | 137 | 44.301333 | 0.514138 | 0.555589 | 0 | 0.581967 | 0 | 0 | 0.20366 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 1 | 0.016393 | false | 0.008197 | 0.057377 | 0 | 0.07377 | 0.04918 | 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 |
132b4af24b586f38e6574953645b31261aee3c6d | 181 | py | Python | environments/__init__.py | floriandonhauser/TeBaG-RL | 0110087c97e4d67f739961e7320945da4b3d9592 | [
"MIT"
] | null | null | null | environments/__init__.py | floriandonhauser/TeBaG-RL | 0110087c97e4d67f739961e7320945da4b3d9592 | [
"MIT"
] | null | null | null | environments/__init__.py | floriandonhauser/TeBaG-RL | 0110087c97e4d67f739961e7320945da4b3d9592 | [
"MIT"
] | null | null | null | from environments.tf_game_env import TWGameEnv
from environments.tf_create_environment import create_environments
from environments.tf_vocab_collection_simple import run_auto_vocab
| 45.25 | 66 | 0.917127 | 25 | 181 | 6.24 | 0.56 | 0.307692 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066298 | 181 | 3 | 67 | 60.333333 | 0.923077 | 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 |
134b85d656cdcb46fa456f0ad2a83e096af9af47 | 23,880 | py | Python | sequitr/networks/unet.py | quantumjot/sequitr | 6a62100a9d4dcecc429bd063fb6931acb711c740 | [
"MIT"
] | 3 | 2019-04-16T14:51:04.000Z | 2019-12-16T22:28:17.000Z | sequitr/networks/unet.py | quantumjot/sequitr | 6a62100a9d4dcecc429bd063fb6931acb711c740 | [
"MIT"
] | 1 | 2021-04-07T16:07:07.000Z | 2021-04-26T09:35:36.000Z | sequitr/networks/unet.py | quantumjot/sequitr | 6a62100a9d4dcecc429bd063fb6931acb711c740 | [
"MIT"
] | 1 | 2019-04-16T14:51:07.000Z | 2019-04-16T14:51:07.000Z | #!/usr/bin/env python
#-------------------------------------------------------------------------------
# Name: Sequitr
# Purpose: Sequitr is a small, lightweight Python library for common image
# processing tasks in optical microscopy, in particular, single-
# molecule imaging, super-resolution... | 32.53406 | 80 | 0.619305 | 3,036 | 23,880 | 4.774704 | 0.166337 | 0.017936 | 0.0129 | 0.011727 | 0.776145 | 0.749034 | 0.733237 | 0.730201 | 0.724269 | 0.709782 | 0 | 0.014139 | 0.28325 | 23,880 | 733 | 81 | 32.578445 | 0.832788 | 0.092839 | 0 | 0.599291 | 0 | 0 | 0.076725 | 0 | 0 | 0 | 0 | 0.006821 | 0 | 0 | null | null | 0.003546 | 0.021277 | null | null | 0.003546 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13503d6193197e08b3507c9eff5c699cba17b5fe | 38 | py | Python | testsuite/modulegraph-dir/package/renamed_attr.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 9 | 2020-03-22T14:48:01.000Z | 2021-05-30T12:18:12.000Z | testsuite/modulegraph-dir/package/renamed_attr.py | xoviat/modulegraph2 | 766d00bdb40e5b2fe206b53a87b1bce3f9dc9c2a | [
"MIT"
] | 15 | 2020-01-06T10:02:32.000Z | 2021-05-28T12:22:44.000Z | testsuite/modulegraph-dir/package/renamed_attr.py | ronaldoussoren/modulegraph2 | b6ab1766b0098651b51083235ff8a18a5639128b | [
"MIT"
] | 4 | 2020-05-10T18:51:41.000Z | 2021-04-07T14:03:12.000Z | from .renamed_package import the_path
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
13d730380a4f8ecc3dfa8459b73260548747035f | 2,944 | py | Python | vsphere/datadog_checks/vsphere/config_models/defaults.py | kjmadscience/integrations-core | 663bdf44730dd6c9f3565c121318b320bfcb4988 | [
"BSD-3-Clause"
] | null | null | null | vsphere/datadog_checks/vsphere/config_models/defaults.py | kjmadscience/integrations-core | 663bdf44730dd6c9f3565c121318b320bfcb4988 | [
"BSD-3-Clause"
] | null | null | null | vsphere/datadog_checks/vsphere/config_models/defaults.py | kjmadscience/integrations-core | 663bdf44730dd6c9f3565c121318b320bfcb4988 | [
"BSD-3-Clause"
] | null | null | null | # (C) Datadog, Inc. 2021-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
# This file is autogenerated.
# To change this file you should edit assets/configuration/spec.yaml and then run the following commands:
# ddev -x validate config -s <INTEGRATION_NAME>
# ddev -x va... | 20.587413 | 105 | 0.780571 | 404 | 2,944 | 5.371287 | 0.30198 | 0.258065 | 0.243318 | 0.110599 | 0.570046 | 0.511521 | 0.424885 | 0.323502 | 0.323502 | 0.323502 | 0 | 0.011187 | 0.149796 | 2,944 | 142 | 106 | 20.732394 | 0.855773 | 0.115489 | 0 | 0.358209 | 1 | 0 | 0.003082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.492537 | false | 0 | 0.014925 | 0.492537 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b981c276e15cb0c41cd3b8b2117df6570ec6b71d | 24,197 | py | Python | zstackwoodpecker/zstackwoodpecker/zstack_test/kvm_checker/kvm_checker_factory.py | bgerxx/woodpecker | fdc51245945cc9be4d1f028988079213eb99b2ad | [
"Apache-2.0"
] | null | null | null | zstackwoodpecker/zstackwoodpecker/zstack_test/kvm_checker/kvm_checker_factory.py | bgerxx/woodpecker | fdc51245945cc9be4d1f028988079213eb99b2ad | [
"Apache-2.0"
] | null | null | null | zstackwoodpecker/zstackwoodpecker/zstack_test/kvm_checker/kvm_checker_factory.py | bgerxx/woodpecker | fdc51245945cc9be4d1f028988079213eb99b2ad | [
"Apache-2.0"
] | null | null | null | '''
Zstack KVM Checker Factory.
@author: YYK
'''
import zstackwoodpecker.test_lib as test_lib
import zstackwoodpecker.header.vm as vm_header
import zstackwoodpecker.header.volume as volume_header
import zstackwoodpecker.header.image as image_header
import zstackwoodpecker.header.security_group as sg_header
import zs... | 52.716776 | 169 | 0.678059 | 3,089 | 24,197 | 4.814503 | 0.057948 | 0.059777 | 0.098978 | 0.08432 | 0.844137 | 0.812063 | 0.79727 | 0.77145 | 0.747647 | 0.652838 | 0 | 0.000279 | 0.259495 | 24,197 | 458 | 170 | 52.831878 | 0.829724 | 0.041451 | 0 | 0.571038 | 0 | 0 | 0.00082 | 0 | 0 | 0 | 0 | 0.002183 | 0 | 1 | 0.030055 | false | 0.002732 | 0.062842 | 0 | 0.153005 | 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 |
b983aa2e62c855edd7228f7201aa25a8409f3655 | 28 | py | Python | metasub_utils/pangea/metasub_utils/pangea/__init__.py | MetaSUB/metasub_utils | c52c5dde816d710db5ac8dc6f8804bb795a992e4 | [
"MIT"
] | 8 | 2018-12-30T23:35:03.000Z | 2022-02-22T09:43:48.000Z | metasub_utils/pangea/metasub_utils/pangea/__init__.py | MetaSUB/metasub_utils | c52c5dde816d710db5ac8dc6f8804bb795a992e4 | [
"MIT"
] | 5 | 2019-01-05T04:54:46.000Z | 2021-03-10T08:59:16.000Z | metasub_utils/pangea/metasub_utils/pangea/__init__.py | MetaSUB/metasub_utils | c52c5dde816d710db5ac8dc6f8804bb795a992e4 | [
"MIT"
] | 2 | 2019-08-26T22:08:18.000Z | 2020-02-24T19:57:17.000Z |
from .sample import Sample
| 9.333333 | 26 | 0.785714 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9956fc1c60e4bb0f5e282dc30e1fc02be3c7c8a | 228 | py | Python | haystack/nodes/query_classifier/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 7 | 2022-01-22T18:58:54.000Z | 2022-03-18T17:06:35.000Z | haystack/nodes/query_classifier/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 17 | 2021-12-08T18:00:58.000Z | 2021-12-28T14:03:27.000Z | haystack/nodes/query_classifier/__init__.py | mapapa/haystack | 79fdda8a7cf393d774803608a4874f2a6e63cf6f | [
"Apache-2.0"
] | 1 | 2022-01-05T15:24:36.000Z | 2022-01-05T15:24:36.000Z | from haystack.nodes.query_classifier.base import BaseQueryClassifier
from haystack.nodes.query_classifier.sklearn import SklearnQueryClassifier
from haystack.nodes.query_classifier.transformers import TransformersQueryClassifier | 76 | 84 | 0.912281 | 24 | 228 | 8.541667 | 0.5 | 0.17561 | 0.24878 | 0.321951 | 0.468293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048246 | 228 | 3 | 84 | 76 | 0.9447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b9ad5777aae124b55efa984d2eb115ef9278d926 | 111 | py | Python | _main/home/pi/kmori-Pla-Rail-Scripts/clear.py | Kumapapa2012/Raspberry-Pi-Zero-on-PLA-RAIL | 2dcbd2f11bd92ef1b9be569c2a97c9117d984cef | [
"MIT"
] | null | null | null | _main/home/pi/kmori-Pla-Rail-Scripts/clear.py | Kumapapa2012/Raspberry-Pi-Zero-on-PLA-RAIL | 2dcbd2f11bd92ef1b9be569c2a97c9117d984cef | [
"MIT"
] | null | null | null | _main/home/pi/kmori-Pla-Rail-Scripts/clear.py | Kumapapa2012/Raspberry-Pi-Zero-on-PLA-RAIL | 2dcbd2f11bd92ef1b9be569c2a97c9117d984cef | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import utils
print utils.Clear8830Status_Fault()
print utils.Set8830Status(0,"Standby")
| 18.5 | 38 | 0.792793 | 15 | 111 | 5.8 | 0.8 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.081081 | 111 | 5 | 39 | 22.2 | 0.764706 | 0.18018 | 0 | 0 | 0 | 0 | 0.077778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
b9cf4ab71ee9cd43c716ddeea1fe3443d077b4fe | 104 | py | Python | pyfbx/exceptions/__init__.py | zhangxinlei-cn/pyfbx | 8b732efdc47057b7b1cb0127a6ee570c7d8984c7 | [
"MIT"
] | null | null | null | pyfbx/exceptions/__init__.py | zhangxinlei-cn/pyfbx | 8b732efdc47057b7b1cb0127a6ee570c7d8984c7 | [
"MIT"
] | null | null | null | pyfbx/exceptions/__init__.py | zhangxinlei-cn/pyfbx | 8b732efdc47057b7b1cb0127a6ee570c7d8984c7 | [
"MIT"
] | null | null | null | from .fbx_exception import FBXException
from .invalid_fbx_file_exception import InvalidFBXFileException
| 34.666667 | 63 | 0.903846 | 12 | 104 | 7.5 | 0.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 64 | 52 | 0.9375 | 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 |
6a125d867f06f4d9dc26466d8dfb1f14ac610515 | 110 | py | Python | peter_py/__main__.py | peter201943/peter-py | 4bc8227cf41ac04d439899ea6497cedde154782c | [
"MIT"
] | null | null | null | peter_py/__main__.py | peter201943/peter-py | 4bc8227cf41ac04d439899ea6497cedde154782c | [
"MIT"
] | null | null | null | peter_py/__main__.py | peter201943/peter-py | 4bc8227cf41ac04d439899ea6497cedde154782c | [
"MIT"
] | null | null | null | from repl import *
from amrename import *
from bcrename import (bc_pjm_rename, rename_song, rename_all_songs)
| 27.5 | 67 | 0.818182 | 17 | 110 | 5 | 0.647059 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 110 | 3 | 68 | 36.666667 | 0.885417 | 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 |
6a2815a5de0dd45e10fb9f967a00564c138b8692 | 167 | py | Python | 973-K_Closest_Points_to_Origin.py | dingwenzheng730/Leet | c08bd48e8dcc6bca41134d218d39f66bfc112eaf | [
"MIT"
] | 1 | 2021-06-15T21:01:53.000Z | 2021-06-15T21:01:53.000Z | 973-K_Closest_Points_to_Origin.py | dingwenzheng730/Leet | c08bd48e8dcc6bca41134d218d39f66bfc112eaf | [
"MIT"
] | null | null | null | 973-K_Closest_Points_to_Origin.py | dingwenzheng730/Leet | c08bd48e8dcc6bca41134d218d39f66bfc112eaf | [
"MIT"
] | null | null | null | class Solution:
def kClosest(self, points: List[List[int]], k: int) -> List[List[int]]:
return sorted(points, key=lambda x: x[0]**2 + x[1]**2)[:k]
| 41.75 | 75 | 0.568862 | 27 | 167 | 3.518519 | 0.62963 | 0.168421 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.221557 | 167 | 4 | 76 | 41.75 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6a2ff0f7723b2f8f4ed24fbf202e7755440f4a8e | 74 | py | Python | Python/Tests/TestData/Grammar/TryStmt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/Grammar/TryStmt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/Grammar/TryStmt.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | try:
pass
except:
pass
try:
pass
except Exception:
pass
| 6.727273 | 17 | 0.581081 | 9 | 74 | 4.777778 | 0.444444 | 0.325581 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364865 | 74 | 10 | 18 | 7.4 | 0.914894 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6a4e1b4e2f15d22d18536c648aa797314b696586 | 142 | py | Python | ilastik_feature_selection/__init__.py | ilastik/ilastik-feature-selection | ffb174890c92a2be80f4335898a628f9fb344a18 | [
"MIT"
] | 10 | 2017-01-12T14:17:18.000Z | 2021-06-10T07:49:34.000Z | ilastik_feature_selection/__init__.py | ilastik/ilastik-feature-selection | ffb174890c92a2be80f4335898a628f9fb344a18 | [
"MIT"
] | 4 | 2016-07-08T01:57:57.000Z | 2021-03-09T14:52:11.000Z | ilastik_feature_selection/__init__.py | ilastik/ilastik-feature-selection | ffb174890c92a2be80f4335898a628f9fb344a18 | [
"MIT"
] | 6 | 2016-10-31T10:07:55.000Z | 2020-01-09T02:41:15.000Z | __author__ = 'fabian'
__all__ = ['filter_feature_selection']
from . import filter_feature_selection
from . import wrapper_feature_selection
| 20.285714 | 39 | 0.816901 | 16 | 142 | 6.375 | 0.5625 | 0.470588 | 0.431373 | 0.509804 | 0.627451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 6 | 40 | 23.666667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.211268 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dbfe75926a344b41c80e188f6e92ed3c5081d5ae | 22 | py | Python | xunitmerge/__init__.py | yoeo/xunitmerge | c5445714e40ac6e8e2a259598c62129e8e17f76a | [
"MIT"
] | 14 | 2016-04-04T15:18:46.000Z | 2021-12-15T11:07:50.000Z | xunitmerge/__init__.py | yoeo/xunitmerge | c5445714e40ac6e8e2a259598c62129e8e17f76a | [
"MIT"
] | 7 | 2016-03-14T18:00:10.000Z | 2021-05-03T02:09:10.000Z | xunitmerge/__init__.py | yoeo/xunitmerge | c5445714e40ac6e8e2a259598c62129e8e17f76a | [
"MIT"
] | 15 | 2015-09-29T08:24:23.000Z | 2021-06-09T11:00:08.000Z | from .xmerge import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e06ef0b9ce5021f16fc654f5195182abd2715b6b | 1,057 | py | Python | Advance_Python/Graph/Delete_Edge_Using_Matrix.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | Advance_Python/Graph/Delete_Edge_Using_Matrix.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | Advance_Python/Graph/Delete_Edge_Using_Matrix.py | siddharth-143/Python | 293f4643a3a13e3b82d23fd8922db54dbb0f12bc | [
"MIT"
] | null | null | null | # Python program to implement deletion operation | delete edge | using adjacency matrix
nodes = []
graph = []
count_node = 0
# delete edge for undirected graph and it also work for weighted and unweighted graph
def delete_edge(v1, v2):
if v1 not in nodes:
print(v1, "is not present in the graph")
elif... | 28.567568 | 87 | 0.615894 | 159 | 1,057 | 4.069182 | 0.27673 | 0.092736 | 0.061824 | 0.092736 | 0.763524 | 0.763524 | 0.763524 | 0.763524 | 0.763524 | 0.763524 | 0 | 0.049664 | 0.295175 | 1,057 | 36 | 88 | 29.361111 | 0.818792 | 0.317881 | 0 | 0.782609 | 0 | 0 | 0.154494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0 | 0 | 0 | 0.086957 | 0.173913 | 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 |
0edb1d02b2df9db25d35cd98cfb5a819eb0f147c | 48 | py | Python | Florence/FiniteElements/__init__.py | jdlaubrie/florence | 830dca4a34be00d6e53cbec3007c10d438b27f57 | [
"MIT"
] | 65 | 2017-08-04T10:21:13.000Z | 2022-02-21T21:45:09.000Z | Florence/FiniteElements/__init__.py | jdlaubrie/florence | 830dca4a34be00d6e53cbec3007c10d438b27f57 | [
"MIT"
] | 6 | 2018-06-03T02:29:20.000Z | 2022-01-18T02:30:22.000Z | Florence/FiniteElements/__init__.py | jdlaubrie/florence | 830dca4a34be00d6e53cbec3007c10d438b27f57 | [
"MIT"
] | 10 | 2018-05-30T09:44:10.000Z | 2021-05-18T08:06:51.000Z | from .Assembly import AssembleMass, AssembleForm | 48 | 48 | 0.875 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
163fb781f7ab99c52379201be16f3d3c8dbd96a4 | 30 | py | Python | src/app/webmin/dvbstreamer/views.py | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | src/app/webmin/dvbstreamer/views.py | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | src/app/webmin/dvbstreamer/views.py | ivanmurashko/kalinka | 58a3f774c414dfc408aa06f560dde455c2271c6b | [
"MIT"
] | null | null | null | from models import *
| 7.5 | 21 | 0.533333 | 3 | 30 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.433333 | 30 | 4 | 22 | 7.5 | 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 |
16b70210bc36433501943336d485ff6283a9bd98 | 2,990 | py | Python | aoc12_data.py | zidarsk8/aoc2020 | 21239a8bfd3cba31f16c91c28a176e1163ba4cf9 | [
"Apache-2.0"
] | 1 | 2020-12-02T08:29:50.000Z | 2020-12-02T08:29:50.000Z | aoc12_data.py | zidarsk8/aoc2020 | 21239a8bfd3cba31f16c91c28a176e1163ba4cf9 | [
"Apache-2.0"
] | null | null | null | aoc12_data.py | zidarsk8/aoc2020 | 21239a8bfd3cba31f16c91c28a176e1163ba4cf9 | [
"Apache-2.0"
] | null | null | null | test_data = """
F10
N3
F7
R90
F11
""".strip()
test_data2 = """
F2
R90
F2
R90
F2
R90
""".strip()
test_data3 = """
F2
L90
F2
R180
F2
L90
""".strip()
data = """
N1
R90
S5
R180
N3
W1
L180
F92
R270
E4
F4
W4
W4
L180
S2
W2
F90
E1
S5
W3
F78
S5
R180
F100
N1
W3
L90
L90
N1
F94
W2
R90
F49
W2
F26
R180
W1
S5
R180
W4
S3
R90
W3... | 3.6419 | 16 | 0.709699 | 816 | 2,990 | 2.596814 | 0.143382 | 0.014158 | 0.006607 | 0.009438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.585569 | 0.276923 | 2,990 | 820 | 17 | 3.646341 | 0.394542 | 0 | 0 | 0.96556 | 0 | 0 | 0.962542 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc644958b7c674070aedfaced466003bfc32bd3e | 2,606 | py | Python | courses/python/ssti/tests/test_functional.py | tank1st99/securitygym | 2e4fbdf8002afbe51648706906f0db2c294362a6 | [
"MIT"
] | 49 | 2021-05-20T12:49:28.000Z | 2022-03-13T11:35:03.000Z | courses/python/ssti/tests/test_functional.py | tank1st99/securitygym | 2e4fbdf8002afbe51648706906f0db2c294362a6 | [
"MIT"
] | null | null | null | courses/python/ssti/tests/test_functional.py | tank1st99/securitygym | 2e4fbdf8002afbe51648706906f0db2c294362a6 | [
"MIT"
] | 5 | 2021-05-20T12:58:34.000Z | 2021-12-05T19:08:13.000Z | import uuid
class TestBadgeGeneratorFunctional:
def badge_generation(self, client):
username = str(uuid.uuid4())
response = client.post("/",
data={'username': username})
if ('<p><h3>%s</h3>' % username) not in response.data.decode('utf-8'):
retur... | 47.381818 | 84 | 0.669225 | 300 | 2,606 | 5.596667 | 0.133333 | 0.241215 | 0.203693 | 0.128648 | 0.945801 | 0.870756 | 0.827874 | 0.696248 | 0.540203 | 0.503276 | 0 | 0.005475 | 0.229087 | 2,606 | 54 | 85 | 48.259259 | 0.830264 | 0 | 0 | 0.232558 | 0 | 0 | 0.217959 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.209302 | false | 0 | 0.023256 | 0 | 0.395349 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bc6b8ad16906e0fbec4e67e008eb5f9d2666c90e | 27 | py | Python | qt_tree/__init__.py | ktrk115/qt-tree | fcffc271e0e465faecbb17370e22efe74bcb1d35 | [
"MIT"
] | null | null | null | qt_tree/__init__.py | ktrk115/qt-tree | fcffc271e0e465faecbb17370e22efe74bcb1d35 | [
"MIT"
] | null | null | null | qt_tree/__init__.py | ktrk115/qt-tree | fcffc271e0e465faecbb17370e22efe74bcb1d35 | [
"MIT"
] | null | null | null | from .view import NodeView
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc9fac5632f68e2368db157b901d331dfcaa9978 | 22 | py | Python | pdbtest/__init__.py | zack112358/pdbtest | ccb1ecba2c789417da4b63812dee8cd0fe9e60b7 | [
"Apache-2.0"
] | null | null | null | pdbtest/__init__.py | zack112358/pdbtest | ccb1ecba2c789417da4b63812dee8cd0fe9e60b7 | [
"Apache-2.0"
] | null | null | null | pdbtest/__init__.py | zack112358/pdbtest | ccb1ecba2c789417da4b63812dee8cd0fe9e60b7 | [
"Apache-2.0"
] | null | null | null | from pdbtest import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcd1f908f41d5b748d8ffb098b56233d577df8c6 | 25 | py | Python | mdx_wavedrom/__init__.py | chiggs/mdx_wavedrom | c8f27da68f873fe15bc6d6616e3e454507a6b2a0 | [
"MIT"
] | 3 | 2015-07-29T04:23:39.000Z | 2021-02-06T19:33:39.000Z | mdx_qrcode/__init__.py | airtonix/python-markdown-qrcode | c61efee77c9d5b5dc8179a89cbe4d870388fe02b | [
"MIT"
] | null | null | null | mdx_qrcode/__init__.py | airtonix/python-markdown-qrcode | c61efee77c9d5b5dc8179a89cbe4d870388fe02b | [
"MIT"
] | 2 | 2018-05-26T14:46:40.000Z | 2020-09-25T16:06:59.000Z | from extension import *
| 8.333333 | 23 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 2 | 24 | 12.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bcf2f729a52ceb737e740f78a178899e36002ea2 | 236 | py | Python | json_sensor/__init__.py | deniz195/json-sensor | c0e55d39bab3be6eca444273fb5436e1eafe8860 | [
"MIT"
] | 1 | 2018-10-30T11:22:33.000Z | 2018-10-30T11:22:33.000Z | json_sensor/__init__.py | deniz195/json-sensor | c0e55d39bab3be6eca444273fb5436e1eafe8860 | [
"MIT"
] | null | null | null | json_sensor/__init__.py | deniz195/json-sensor | c0e55d39bab3be6eca444273fb5436e1eafe8860 | [
"MIT"
] | null | null | null | import asyncio
import mode
from mode import Service
from json_sensor.robust_serial_service import *
from json_sensor.serial_server import *
from json_sensor.json_sensor import *
from json_sensor.json_sensor_server import *
| 21.454545 | 48 | 0.809322 | 34 | 236 | 5.323529 | 0.294118 | 0.331492 | 0.309392 | 0.331492 | 0.331492 | 0.331492 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15678 | 236 | 10 | 49 | 23.6 | 0.909548 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c187799cea17286eb1e06d69d1ed68425b96f5c | 15,085 | py | Python | test/test_md005.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md005.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | test/test_md005.py | scop/pymarkdown | 562ba8f7857d99ba09e86e42de5a37ec6d9b2c30 | [
"MIT"
] | null | null | null | """
Module to provide tests related to the MD005 rule.
"""
from test.markdown_scanner import MarkdownScanner
import pytest
@pytest.mark.rules
def test_md005_good_unordered_list_single_level():
"""
Test to make sure we get the expected behavior after scanning a good file from the
test/resources/rules/md00... | 26.841637 | 115 | 0.693669 | 1,797 | 15,085 | 5.523094 | 0.047301 | 0.058942 | 0.081612 | 0.104282 | 0.987003 | 0.987003 | 0.984383 | 0.983678 | 0.972796 | 0.965542 | 0 | 0.024417 | 0.220815 | 15,085 | 561 | 116 | 26.889483 | 0.819976 | 0.19357 | 0 | 0.693548 | 0 | 0.003226 | 0.232964 | 0.153237 | 0 | 0 | 0 | 0 | 0.06129 | 1 | 0.06129 | false | 0 | 0.006452 | 0 | 0.067742 | 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 |
912f3f6b179d3822b6a7667c1f693f2bcf05e50a | 31 | py | Python | ddblapi/__init__.py | Zenrac/ddblAPI.py | cdad4d6a65356e0711a676f21f92b86ed82e2b45 | [
"Apache-2.0"
] | null | null | null | ddblapi/__init__.py | Zenrac/ddblAPI.py | cdad4d6a65356e0711a676f21f92b86ed82e2b45 | [
"Apache-2.0"
] | null | null | null | ddblapi/__init__.py | Zenrac/ddblAPI.py | cdad4d6a65356e0711a676f21f92b86ed82e2b45 | [
"Apache-2.0"
] | 1 | 2020-12-06T23:32:35.000Z | 2020-12-06T23:32:35.000Z | from .ddblapi import DivineAPI
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6712e4a6bc34e2b31885d2305a83e3c6de7d784 | 56,902 | py | Python | aries_cloudagent/protocols/connections/v1_0/tests/test_manager.py | adamsc64/aries-cloudagent-python | d09f6085b248a68c95822ae6b2aa06bb0053675b | [
"Apache-2.0"
] | 1 | 2021-01-15T01:04:43.000Z | 2021-01-15T01:04:43.000Z | aries_cloudagent/protocols/connections/v1_0/tests/test_manager.py | adamsc64/aries-cloudagent-python | d09f6085b248a68c95822ae6b2aa06bb0053675b | [
"Apache-2.0"
] | null | null | null | aries_cloudagent/protocols/connections/v1_0/tests/test_manager.py | adamsc64/aries-cloudagent-python | d09f6085b248a68c95822ae6b2aa06bb0053675b | [
"Apache-2.0"
] | 1 | 2021-01-15T01:04:31.000Z | 2021-01-15T01:04:31.000Z | from asynctest import TestCase as AsyncTestCase
from asynctest import mock as async_mock
from aries_cloudagent.cache.base import BaseCache
from aries_cloudagent.cache.basic import BasicCache
from aries_cloudagent.config.base import InjectorError
from aries_cloudagent.config.injection_context import InjectionContext
fr... | 41.263234 | 88 | 0.660486 | 6,530 | 56,902 | 5.396631 | 0.03951 | 0.053803 | 0.041515 | 0.043133 | 0.879569 | 0.849376 | 0.829711 | 0.821084 | 0.808627 | 0.793672 | 0 | 0.003721 | 0.263172 | 56,902 | 1,378 | 89 | 41.293179 | 0.836788 | 0.00659 | 0 | 0.696398 | 0 | 0 | 0.036574 | 0.010493 | 0 | 0 | 0 | 0 | 0.085763 | 1 | 0.001715 | false | 0 | 0.020583 | 0 | 0.024014 | 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 |
e6930a7665367b96a4e31cdcfd898c77fe4e4d6d | 73 | py | Python | pommerman/envs/__init__.py | lucasb-eyer/playground | 718bba4d1db70a0f835afc83752f3ab7687c5e3f | [
"Apache-2.0"
] | null | null | null | pommerman/envs/__init__.py | lucasb-eyer/playground | 718bba4d1db70a0f835afc83752f3ab7687c5e3f | [
"Apache-2.0"
] | null | null | null | pommerman/envs/__init__.py | lucasb-eyer/playground | 718bba4d1db70a0f835afc83752f3ab7687c5e3f | [
"Apache-2.0"
] | null | null | null | from . import v0
from . import v1
from . import v2
from . import utility
| 14.6 | 21 | 0.726027 | 12 | 73 | 4.416667 | 0.5 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.219178 | 73 | 4 | 22 | 18.25 | 0.877193 | 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 |
e6fda1eccaa108e8e15a9c322a756b9d2d8e3a57 | 106 | py | Python | hypernet/apps/__init__.py | christian-jacobsen/hypernet | 9f62e1531eb152cc08af0b0c6b09d6fde8d42400 | [
"Apache-2.0"
] | null | null | null | hypernet/apps/__init__.py | christian-jacobsen/hypernet | 9f62e1531eb152cc08af0b0c6b09d6fde8d42400 | [
"Apache-2.0"
] | null | null | null | hypernet/apps/__init__.py | christian-jacobsen/hypernet | 9f62e1531eb152cc08af0b0c6b09d6fde8d42400 | [
"Apache-2.0"
] | null | null | null | from hypernet.apps import box
from hypernet.apps import fitRates
__all__ = [
"box",
"fitRates"
]
| 13.25 | 34 | 0.688679 | 13 | 106 | 5.307692 | 0.538462 | 0.347826 | 0.463768 | 0.637681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216981 | 106 | 7 | 35 | 15.142857 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.103774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fc117289e9240d7107721bfc95af342a5c5f3fd4 | 174 | py | Python | chiamon/src/plugins/__init__.py | danielringch/chiatools | 2825f71acc68d613de3c8b3b2f784ccd75610b71 | [
"MIT"
] | null | null | null | chiamon/src/plugins/__init__.py | danielringch/chiatools | 2825f71acc68d613de3c8b3b2f784ccd75610b71 | [
"MIT"
] | null | null | null | chiamon/src/plugins/__init__.py | danielringch/chiatools | 2825f71acc68d613de3c8b3b2f784ccd75610b71 | [
"MIT"
] | null | null | null | from .chiafarmer import *
from .chianode import *
from .chiawallet import *
from .flexfarmer import *
from .flexpool import *
from .pingdrive import *
from .smartctl import * | 24.857143 | 25 | 0.764368 | 21 | 174 | 6.333333 | 0.428571 | 0.451128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 174 | 7 | 26 | 24.857143 | 0.904762 | 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 |
fc3050148347c8100e11634db252884d1fd5cec9 | 151 | py | Python | hhcms/services/__init__.py | youngershen/hhcms | 748bfcaaf250584b2b7233f271644ca33f8ff80b | [
"MIT"
] | null | null | null | hhcms/services/__init__.py | youngershen/hhcms | 748bfcaaf250584b2b7233f271644ca33f8ff80b | [
"MIT"
] | null | null | null | hhcms/services/__init__.py | youngershen/hhcms | 748bfcaaf250584b2b7233f271644ca33f8ff80b | [
"MIT"
] | 1 | 2018-07-15T05:33:34.000Z | 2018-07-15T05:33:34.000Z | # PROJECT : hhcms
# TIME : 18-4-21 下午3:24
# AUTHOR : 申延刚 <Younger Shen>
# EMAIL : younger.shen@hotmail.com
# CELL : 13811754531
# WECHAT : 13811754531
| 21.571429 | 34 | 0.688742 | 21 | 151 | 4.952381 | 0.857143 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241935 | 0.178808 | 151 | 6 | 35 | 25.166667 | 0.596774 | 0.913907 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d76eb1fa6dbc011bd7d03f9097098c80f19721f | 77,431 | py | Python | tests/conftest.py | th2-net/th2-data-services | b2177aa903705fb248151b3ca4d0c53056b87cff | [
"Apache-2.0"
] | 3 | 2021-08-03T07:50:55.000Z | 2022-03-23T15:42:07.000Z | tests/conftest.py | th2-net/th2-data-services | b2177aa903705fb248151b3ca4d0c53056b87cff | [
"Apache-2.0"
] | 7 | 2021-11-12T16:22:42.000Z | 2022-03-24T08:56:30.000Z | tests/conftest.py | th2-net/th2-data-services | b2177aa903705fb248151b3ca4d0c53056b87cff | [
"Apache-2.0"
] | null | null | null | from collections import namedtuple
from datetime import datetime
from typing import List, NamedTuple
import pytest
from th2_data_services.data import Data
from th2_data_services.data_source import DataSource
from th2_data_services.filter import Filter
@pytest.fixture
def demo_data_source():
DEMO_HOST = "10.64.6... | 42.19673 | 141 | 0.418657 | 4,687 | 77,431 | 6.861319 | 0.096864 | 0.015672 | 0.021891 | 0.027364 | 0.815262 | 0.778258 | 0.76355 | 0.748469 | 0.729407 | 0.705806 | 0 | 0.144229 | 0.448412 | 77,431 | 1,834 | 142 | 42.219738 | 0.608733 | 0.001485 | 0 | 0.638214 | 0 | 0 | 0.356315 | 0.128538 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014132 | false | 0.02035 | 0.003957 | 0 | 0.032222 | 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 |
5d9c36423dd807f5a5bb97a59287967a264bbb57 | 110 | py | Python | python-for-beginners/35 - Demo Virtual environments pakages/demos.py | poligonosapp/c9-python-getting-started | d4cc4cf4979abe203e5f4b022fcaa7cce80afa7b | [
"MIT"
] | 4 | 2021-08-03T14:25:31.000Z | 2021-08-18T13:21:23.000Z | python-for-beginners/35 - Demo Virtual environments pakages/demos.py | poligonosapp/c9-python-getting-started | d4cc4cf4979abe203e5f4b022fcaa7cce80afa7b | [
"MIT"
] | null | null | null | python-for-beginners/35 - Demo Virtual environments pakages/demos.py | poligonosapp/c9-python-getting-started | d4cc4cf4979abe203e5f4b022fcaa7cce80afa7b | [
"MIT"
] | 3 | 2021-08-15T00:09:13.000Z | 2021-08-18T13:22:45.000Z | import helpers
helpers.display('Sample message', True)
from helpers import display
display('Sample message')
| 18.333333 | 39 | 0.8 | 14 | 110 | 6.285714 | 0.5 | 0.295455 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 110 | 5 | 40 | 22 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5da1423f219e84edaccef8e9bb982fc84b2851b9 | 99 | py | Python | generate/julia/__init__.py | Luthaf/Chemharp-bindgen | 7d25556773fb5fe22dd1dbb0bd0d34fb2e6dccb8 | [
"MIT"
] | null | null | null | generate/julia/__init__.py | Luthaf/Chemharp-bindgen | 7d25556773fb5fe22dd1dbb0bd0d34fb2e6dccb8 | [
"MIT"
] | 2 | 2018-02-25T21:46:45.000Z | 2018-11-19T22:39:54.000Z | generate/julia/__init__.py | chemfiles/bindgen | 7d25556773fb5fe22dd1dbb0bd0d34fb2e6dccb8 | [
"MIT"
] | null | null | null | # -* coding: utf-8 -*
"""Generate FFI for Julia"""
from .ffi import write_types, write_functions
| 16.5 | 45 | 0.686869 | 14 | 99 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.161616 | 99 | 5 | 46 | 19.8 | 0.783133 | 0.434343 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f8d5b8fd782e7a7ad4443e35b9d0f01c575e3700 | 163 | py | Python | plantuml2freemind/parsers/yaml.py | ave2me/plantuml2freemind | 021c4d514213d702d504945068db83d46acbed10 | [
"MIT"
] | null | null | null | plantuml2freemind/parsers/yaml.py | ave2me/plantuml2freemind | 021c4d514213d702d504945068db83d46acbed10 | [
"MIT"
] | null | null | null | plantuml2freemind/parsers/yaml.py | ave2me/plantuml2freemind | 021c4d514213d702d504945068db83d46acbed10 | [
"MIT"
] | null | null | null | import yaml
from plantuml2freemind.custom_types import MindmapTreeType
def entry(file_content: str) -> MindmapTreeType:
return yaml.safe_load(file_content)
| 20.375 | 58 | 0.815951 | 20 | 163 | 6.45 | 0.75 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.122699 | 163 | 7 | 59 | 23.285714 | 0.895105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f8ee669ab1e4a211885230d6347840f320b5a7dd | 34,956 | py | Python | tests/api/v1/endpoints/test_privacy_request_endpoints.py | eastandwestwind/fidesops | 93e2881c0fdc30075b7cc22024965d18cec0bdea | [
"Apache-2.0"
] | null | null | null | tests/api/v1/endpoints/test_privacy_request_endpoints.py | eastandwestwind/fidesops | 93e2881c0fdc30075b7cc22024965d18cec0bdea | [
"Apache-2.0"
] | null | null | null | tests/api/v1/endpoints/test_privacy_request_endpoints.py | eastandwestwind/fidesops | 93e2881c0fdc30075b7cc22024965d18cec0bdea | [
"Apache-2.0"
] | null | null | null | import json
from datetime import datetime
from typing import List, Dict
from unittest import mock
from fastapi_pagination import Params
import pytest
from starlette.testclient import TestClient
from fidesops.api.v1.endpoints.privacy_request_endpoints import (
EMBEDDED_EXECUTION_LOG_LIMIT,
)
from fidesops.api.v1.u... | 35.852308 | 93 | 0.549577 | 3,392 | 34,956 | 5.350531 | 0.084906 | 0.101052 | 0.051573 | 0.038019 | 0.830128 | 0.799989 | 0.759987 | 0.737561 | 0.716844 | 0.689404 | 0 | 0.019507 | 0.356191 | 34,956 | 974 | 94 | 35.889117 | 0.786936 | 0.00718 | 0 | 0.652222 | 0 | 0 | 0.130225 | 0.0564 | 0 | 0 | 0 | 0 | 0.103333 | 1 | 0.045556 | false | 0 | 0.018889 | 0.006667 | 0.076667 | 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 |
5d2063fcf17e91064862076552af55df1a9a4087 | 25,474 | py | Python | local/lib/python3.6/site-packages/pgadmin4/pgadmin/tools/backup/tests/test_backup_create_job_unit_test.py | sahilsdei/django_ecommerce | edc2513e41aca178d1ccae14ebaa6c7b1d709e73 | [
"MIT"
] | null | null | null | local/lib/python3.6/site-packages/pgadmin4/pgadmin/tools/backup/tests/test_backup_create_job_unit_test.py | sahilsdei/django_ecommerce | edc2513e41aca178d1ccae14ebaa6c7b1d709e73 | [
"MIT"
] | null | null | null | local/lib/python3.6/site-packages/pgadmin4/pgadmin/tools/backup/tests/test_backup_create_job_unit_test.py | sahilsdei/django_ecommerce | edc2513e41aca178d1ccae14ebaa6c7b1d709e73 | [
"MIT"
] | null | null | null | ##########################################################################
#
# pgAdmin 4 - PostgreSQL Tools
#
# Copyright (C) 2013 - 2018, The pgAdmin Development Team
# This software is released under the PostgreSQL Licence
#
##########################################################################
import sys
impor... | 35.282548 | 78 | 0.44359 | 2,148 | 25,474 | 5.032588 | 0.10149 | 0.06383 | 0.06938 | 0.041628 | 0.76605 | 0.763367 | 0.756337 | 0.744311 | 0.73765 | 0.730527 | 0 | 0.015535 | 0.446612 | 25,474 | 721 | 79 | 35.331484 | 0.751295 | 0.007576 | 0 | 0.800289 | 0 | 0 | 0.203654 | 0.038772 | 0 | 0 | 0 | 0 | 0.007236 | 1 | 0.004342 | false | 0.004342 | 0.011577 | 0 | 0.02026 | 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 |
5d21868bb82c54910fbb435bab5457307cf9e605 | 97 | py | Python | SilverstackAccess/__init__.py | andostini/DailiesPipe | 06dedfa30b7d12ff795a9267d13b2f5c6106c986 | [
"MIT"
] | 1 | 2021-12-08T09:16:27.000Z | 2021-12-08T09:16:27.000Z | SilverstackAccess/__init__.py | andostini/SilverstackAccess | 06dedfa30b7d12ff795a9267d13b2f5c6106c986 | [
"MIT"
] | 1 | 2021-08-10T13:24:41.000Z | 2021-08-10T13:24:41.000Z | SilverstackAccess/__init__.py | andostini/DailiesPipe | 06dedfa30b7d12ff795a9267d13b2f5c6106c986 | [
"MIT"
] | 1 | 2021-01-29T15:23:27.000Z | 2021-01-29T15:23:27.000Z | from SilverstackAccess.SilverstackAccess import findSilverstackInstances, getProjectList, Project | 97 | 97 | 0.917526 | 7 | 97 | 12.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 97 | 1 | 97 | 97 | 0.967391 | 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 |
5d358cbc51decc8a57603fc561c1a95f1c8993cc | 30 | py | Python | TestGithub_PZB_20190210.py | Megabazus/Test_ZZ-Group | de0307c62bc43c1e0305f1d75a34b5391e9b0eeb | [
"Apache-2.0"
] | null | null | null | TestGithub_PZB_20190210.py | Megabazus/Test_ZZ-Group | de0307c62bc43c1e0305f1d75a34b5391e9b0eeb | [
"Apache-2.0"
] | 1 | 2018-10-20T15:54:43.000Z | 2018-10-20T15:54:43.000Z | TestGithub_PZB_20190210.py | Megabazus/Test_ZZ-Group | de0307c62bc43c1e0305f1d75a34b5391e9b0eeb | [
"Apache-2.0"
] | null | null | null | #### test
import pandas as pd
| 10 | 19 | 0.666667 | 5 | 30 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 20 | 15 | 0.833333 | 0.133333 | 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 |
5d3ffc9072b38f03a5cc32c756b53f16c27e1f49 | 294 | py | Python | sentry/views/__init__.py | davedash/sentry | 8c11b2db7f09844aa860bfe7f1c3ff23c0d30f94 | [
"BSD-3-Clause"
] | 1 | 2018-07-15T00:12:53.000Z | 2018-07-15T00:12:53.000Z | sentry/views/__init__.py | davedash/sentry | 8c11b2db7f09844aa860bfe7f1c3ff23c0d30f94 | [
"BSD-3-Clause"
] | null | null | null | sentry/views/__init__.py | davedash/sentry | 8c11b2db7f09844aa860bfe7f1c3ff23c0d30f94 | [
"BSD-3-Clause"
] | null | null | null | """
sentry.views
~~~~~~~~~~~~
:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from sentry.views.base import *
from sentry.views.exception import *
from sentry.views.message import *
from sentry.views.query import *
| 22.615385 | 75 | 0.717687 | 42 | 294 | 5.02381 | 0.52381 | 0.260664 | 0.28436 | 0.298578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031621 | 0.139456 | 294 | 12 | 76 | 24.5 | 0.802372 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d43632577e7f973181eddeb85dc3cef81146d59 | 190 | py | Python | datasetcode.py | Hope-2020/web-scraping-OECD- | ed30f87805bbda585fc7df8131a8c23b95dbb835 | [
"Apache-2.0"
] | null | null | null | datasetcode.py | Hope-2020/web-scraping-OECD- | ed30f87805bbda585fc7df8131a8c23b95dbb835 | [
"Apache-2.0"
] | null | null | null | datasetcode.py | Hope-2020/web-scraping-OECD- | ed30f87805bbda585fc7df8131a8c23b95dbb835 | [
"Apache-2.0"
] | null | null | null | from get_url_from_firstpage import Get_Url_From_FirstPage
from selenium import webdriver
class datacode:
urls = Get_Url_From_FirstPage.getUrl()
print(urls)
d = datacode()
| 19 | 57 | 0.757895 | 26 | 190 | 5.192308 | 0.5 | 0.133333 | 0.222222 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 190 | 9 | 58 | 21.111111 | 0.876623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d4a69a127d401e476559d85754553ebadc96e7a | 9,268 | py | Python | sdk/python/pulumi_aws/kinesis/stream.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/kinesis/stream.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/kinesis/stream.py | johnktims/pulumi-aws | c838bc79043f5376c66fc66275a1e012edd3ab7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Stream... | 63.479452 | 297 | 0.708999 | 1,313 | 9,268 | 4.808835 | 0.160701 | 0.038486 | 0.045613 | 0.024073 | 0.736775 | 0.720621 | 0.713652 | 0.713652 | 0.702882 | 0.697339 | 0 | 0.004012 | 0.220004 | 9,268 | 145 | 298 | 63.917241 | 0.869415 | 0.440117 | 0 | 0.029851 | 1 | 0 | 0.151239 | 0.021361 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0.014925 | 0.089552 | 0.029851 | 0.343284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
538792691654d77c0703ddb0c0988cf3d4031e96 | 11,203 | py | Python | DrivenRange2Ddensity.py | MargauxVrech/neuro | 32cc73969c6f6d832025a1ffd6fe094eb6cf2c37 | [
"BSD-2-Clause"
] | null | null | null | DrivenRange2Ddensity.py | MargauxVrech/neuro | 32cc73969c6f6d832025a1ffd6fe094eb6cf2c37 | [
"BSD-2-Clause"
] | null | null | null | DrivenRange2Ddensity.py | MargauxVrech/neuro | 32cc73969c6f6d832025a1ffd6fe094eb6cf2c37 | [
"BSD-2-Clause"
] | null | null | null | {
'run_time': 6000, # ms
'dt': 0.1, # ms
'Populations' : {
'drive' : {
# 'n' : 25*25,
'n' : 100*100,
'type': sim.SpikeSourcePoisson,
'cellparams' : {
'start':0.0,
'rate':4.,
'duration': 600... | 44.633466 | 275 | 0.466929 | 1,167 | 11,203 | 4.401885 | 0.277635 | 0.009344 | 0.006229 | 0.02336 | 0.771657 | 0.720654 | 0.720654 | 0.714619 | 0.708585 | 0.708585 | 0 | 0.130095 | 0.382487 | 11,203 | 250 | 276 | 44.812 | 0.61246 | 0.434169 | 0 | 0.579618 | 0 | 0 | 0.170781 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.025478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53b635ce91fcd4d4ef6740f25d69ca9ca8612a3c | 8,979 | py | Python | mpf/tests/test_Flippers.py | enteryourinitials/mpf | 8fa529aacc1b163c71557adb61b591077d66c77e | [
"MIT"
] | null | null | null | mpf/tests/test_Flippers.py | enteryourinitials/mpf | 8fa529aacc1b163c71557adb61b591077d66c77e | [
"MIT"
] | null | null | null | mpf/tests/test_Flippers.py | enteryourinitials/mpf | 8fa529aacc1b163c71557adb61b591077d66c77e | [
"MIT"
] | null | null | null | from mpf.platforms.interfaces.driver_platform_interface import PulseSettings, HoldSettings
from mpf.core.platform import SwitchSettings, DriverSettings, RepulseSettings
from mpf.tests.MpfTestCase import MpfTestCase
from unittest.mock import MagicMock, call
class TestFlippers(MpfTestCase):
def get_config_file(s... | 53.446429 | 121 | 0.686379 | 1,094 | 8,979 | 5.276051 | 0.093236 | 0.129591 | 0.074844 | 0.079522 | 0.869369 | 0.856202 | 0.852044 | 0.823285 | 0.79955 | 0.780665 | 0 | 0.010028 | 0.211493 | 8,979 | 167 | 122 | 53.766467 | 0.805226 | 0.006905 | 0 | 0.656489 | 0 | 0 | 0.082903 | 0.006507 | 0 | 0 | 0 | 0 | 0.175573 | 1 | 0.053435 | false | 0 | 0.030534 | 0.022901 | 0.114504 | 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 |
53d947b5174be80d5937277207ad836242a223b3 | 88 | py | Python | examples/module_example/baz.py | d3rp/fissle | 770a140e42e6d8f7d55b3211a6ba691d2a915a2d | [
"Apache-2.0"
] | 1 | 2021-05-21T12:54:32.000Z | 2021-05-21T12:54:32.000Z | examples/module_example/baz.py | d3rp/fissle | 770a140e42e6d8f7d55b3211a6ba691d2a915a2d | [
"Apache-2.0"
] | 4 | 2020-03-24T17:37:35.000Z | 2020-12-03T13:22:35.000Z | examples/module_example/baz.py | d3rp/fissle | 770a140e42e6d8f7d55b3211a6ba691d2a915a2d | [
"Apache-2.0"
] | null | null | null | from module_example import c
def print_configuration():
print(c.a)
print(c.x)
| 12.571429 | 28 | 0.693182 | 14 | 88 | 4.214286 | 0.714286 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 88 | 6 | 29 | 14.666667 | 0.842857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.75 | 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 | 0 | 1 | 0 | 6 |
9904e66d2f8f2fab12639f53f5f560f695aa849e | 42 | py | Python | CAFFR/envs/__init__.py | Bobobert/RolloutFF | 23f71df2ee7e66ae0976196222aedb607b18e2a5 | [
"MIT"
] | null | null | null | CAFFR/envs/__init__.py | Bobobert/RolloutFF | 23f71df2ee7e66ae0976196222aedb607b18e2a5 | [
"MIT"
] | null | null | null | CAFFR/envs/__init__.py | Bobobert/RolloutFF | 23f71df2ee7e66ae0976196222aedb607b18e2a5 | [
"MIT"
] | null | null | null | from .helicopter import EnvMakerForestFire | 42 | 42 | 0.904762 | 4 | 42 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.974359 | 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 |
54e4c98bc3c687056d50a0d4ad5cc9589ca3d062 | 2,236 | py | Python | mayan/apps/documents/migrations/0076_applicant_metric_review_reviewer_reviewerassignment.py | CMU-313/fall-2021-hw2-connect5 | 2faece2eef28eabf122b99fd5699636a8c4ad20a | [
"Apache-2.0"
] | null | null | null | mayan/apps/documents/migrations/0076_applicant_metric_review_reviewer_reviewerassignment.py | CMU-313/fall-2021-hw2-connect5 | 2faece2eef28eabf122b99fd5699636a8c4ad20a | [
"Apache-2.0"
] | 29 | 2021-09-14T22:17:48.000Z | 2021-10-01T06:01:52.000Z | mayan/apps/documents/migrations/0076_applicant_metric_review_reviewer_reviewerassignment.py | CMU-313/fall-2021-hw2-connect5 | 2faece2eef28eabf122b99fd5699636a8c4ad20a | [
"Apache-2.0"
] | 1 | 2021-11-02T21:14:42.000Z | 2021-11-02T21:14:42.000Z | # Generated by Django 2.2.23 on 2021-09-27 19:58
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('documents', '0075_delete_duplicateddocumentold'),
]
operations = [
migrations.CreateModel(
nam... | 41.407407 | 120 | 0.585868 | 215 | 2,236 | 5.972093 | 0.246512 | 0.043614 | 0.065421 | 0.102804 | 0.718847 | 0.718847 | 0.718847 | 0.718847 | 0.718847 | 0.656542 | 0 | 0.01602 | 0.27415 | 2,236 | 53 | 121 | 42.188679 | 0.775108 | 0.020572 | 0 | 0.659574 | 1 | 0 | 0.124314 | 0.015082 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042553 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54fb1366a46e763cfb56b0576be7975b4da25083 | 428 | py | Python | orchestration/moosefs/commands.py | monkey-H/nap-core | 50d23b0431682f276990db04527deae3b6d84661 | [
"Apache-2.0"
] | null | null | null | orchestration/moosefs/commands.py | monkey-H/nap-core | 50d23b0431682f276990db04527deae3b6d84661 | [
"Apache-2.0"
] | null | null | null | orchestration/moosefs/commands.py | monkey-H/nap-core | 50d23b0431682f276990db04527deae3b6d84661 | [
"Apache-2.0"
] | null | null | null | from orchestration import config
from orchestration.database import database_update
class Moosefs(object):
"""
moosefs for a project
"""
def __init__(self, username, password):
self.volume = self.get_volume(username, password)
def set_volume(self, username, password):
database_update.set_volume(username, pa... | 25.176471 | 55 | 0.785047 | 54 | 428 | 6 | 0.388889 | 0.296296 | 0.185185 | 0.154321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123832 | 428 | 16 | 56 | 26.75 | 0.864 | 0.049065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.666667 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
075b6cd689c45b91b57805d9ebf1cb38635fbd5a | 22,545 | py | Python | tests/python/unittest/test_tir_schedule_state_cached_flags.py | mozga-intel/tvm | 544724439efb9a795c92bd7ec9f7929e41c843c6 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | 3 | 2021-05-08T17:04:39.000Z | 2021-07-11T17:40:54.000Z | tests/python/unittest/test_tir_schedule_state_cached_flags.py | mozga-intel/tvm | 544724439efb9a795c92bd7ec9f7929e41c843c6 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | tests/python/unittest/test_tir_schedule_state_cached_flags.py | mozga-intel/tvm | 544724439efb9a795c92bd7ec9f7929e41c843c6 | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | 5 | 2020-11-13T19:26:25.000Z | 2022-01-25T07:55:16.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 34.315068 | 93 | 0.603637 | 3,282 | 22,545 | 3.932054 | 0.066423 | 0.026501 | 0.039055 | 0.068191 | 0.835258 | 0.822782 | 0.818365 | 0.80217 | 0.790546 | 0.778071 | 0 | 0.043099 | 0.252828 | 22,545 | 656 | 94 | 34.367378 | 0.723004 | 0.091949 | 0 | 0.679849 | 0 | 0 | 0.023411 | 0 | 0 | 0 | 0 | 0 | 0.105461 | 1 | 0.06403 | false | 0 | 0.013183 | 0 | 0.079096 | 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 |
4afddd6391eb87377011fe76283fba93d48c1486 | 141 | py | Python | iot/mqtt/service.py | RockyLiys/access_ssh | 0a167a34951bc2812fefc16674a00c7cb9bb7a9a | [
"MIT"
] | null | null | null | iot/mqtt/service.py | RockyLiys/access_ssh | 0a167a34951bc2812fefc16674a00c7cb9bb7a9a | [
"MIT"
] | null | null | null | iot/mqtt/service.py | RockyLiys/access_ssh | 0a167a34951bc2812fefc16674a00c7cb9bb7a9a | [
"MIT"
] | null | null | null | #! coding:utf-8
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
IN_DATA = os.path.join(BASE_DIR, 'data')
| 17.625 | 70 | 0.723404 | 25 | 141 | 3.8 | 0.56 | 0.252632 | 0.273684 | 0.315789 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.099291 | 141 | 7 | 71 | 20.142857 | 0.740157 | 0.099291 | 0 | 0 | 0 | 0 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ab027a26dffdf6a5fc928b3f0801da8fc939b376 | 152 | py | Python | tests/basics/bytes_add.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/bytes_add.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/bytes_add.py | sebastien-riou/micropython | 116c15842fd48ddb77b0bc016341d936a0756573 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | # test bytes + other
print(b"123" + b"456")
print(b"123" + b"") # RHS is empty, can be optimised
print(b"" + b"123") # LHS is empty, can be optimised
| 21.714286 | 52 | 0.625 | 28 | 152 | 3.392857 | 0.5 | 0.189474 | 0.189474 | 0.210526 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0.197368 | 152 | 6 | 53 | 25.333333 | 0.680328 | 0.526316 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 |
ab1c421b2103e3b799cc4146ae8f50c2771e7191 | 49 | py | Python | cdh/catkin_ws/devel/lib/python2.7/dist-packages/hd_map/msg/__init__.py | DeeCamp-Demo/HDMapProject | 68e549661f6e583d09448bd0a0b122a6dc2e9fc9 | [
"MIT"
] | 5 | 2021-01-19T13:32:06.000Z | 2022-03-03T13:09:51.000Z | cdh/catkin_ws/devel/lib/python2.7/dist-packages/hd_map/msg/__init__.py | DeeCamp-Demo/HDMapProject | 68e549661f6e583d09448bd0a0b122a6dc2e9fc9 | [
"MIT"
] | null | null | null | cdh/catkin_ws/devel/lib/python2.7/dist-packages/hd_map/msg/__init__.py | DeeCamp-Demo/HDMapProject | 68e549661f6e583d09448bd0a0b122a6dc2e9fc9 | [
"MIT"
] | null | null | null | from ._element import *
from ._elements import *
| 16.333333 | 24 | 0.755102 | 6 | 49 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 25 | 24.5 | 0.853659 | 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 |
ab1ea32df2ac2de6971cc6bfbdb70a72b440ae48 | 11,340 | py | Python | tests/test_signing.py | Dynatrace-James-Kitson/dt-cli | b0532d4b91e4b86978b6baafffd07d73d9dc43e0 | [
"Apache-2.0"
] | null | null | null | tests/test_signing.py | Dynatrace-James-Kitson/dt-cli | b0532d4b91e4b86978b6baafffd07d73d9dc43e0 | [
"Apache-2.0"
] | null | null | null | tests/test_signing.py | Dynatrace-James-Kitson/dt-cli | b0532d4b91e4b86978b6baafffd07d73d9dc43e0 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Dynatrace LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, s... | 39.789474 | 130 | 0.702293 | 1,538 | 11,340 | 4.841352 | 0.09948 | 0.034649 | 0.077357 | 0.091861 | 0.8704 | 0.840183 | 0.807548 | 0.775181 | 0.775181 | 0.762826 | 0 | 0.008454 | 0.196825 | 11,340 | 285 | 131 | 39.789474 | 0.809069 | 0.048501 | 0 | 0.51073 | 0 | 0 | 0.085529 | 0.012987 | 0 | 0 | 0 | 0 | 0.240343 | 1 | 0.051502 | false | 0.042918 | 0.034335 | 0 | 0.085837 | 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 |
916b66f38198cf9aa2c1d03f69964aa64aa4fda6 | 49 | py | Python | web/__init__.py | ExtensiveAutomation/automateactions-plugin-web | c95e488badb2daa3c2678c5b0debee3ea748cc6c | [
"MIT"
] | null | null | null | web/__init__.py | ExtensiveAutomation/automateactions-plugin-web | c95e488badb2daa3c2678c5b0debee3ea748cc6c | [
"MIT"
] | null | null | null | web/__init__.py | ExtensiveAutomation/automateactions-plugin-web | c95e488badb2daa3c2678c5b0debee3ea748cc6c | [
"MIT"
] | null | null | null | from ea.automateactions.plugins.web.curl import * | 49 | 49 | 0.836735 | 7 | 49 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.891304 | 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 |
917a8ac2fff4b7043af8abf25e0e3032073b80a5 | 3,349 | py | Python | tests/test_ir_metrics.py | bhaskargautam/record-linkage | 01eb29f8b7fb4dd1625187232f2dafe47f24cddf | [
"MIT"
] | 1 | 2019-06-07T08:33:40.000Z | 2019-06-07T08:33:40.000Z | tests/test_ir_metrics.py | bhaskargautam/record-linkage | 01eb29f8b7fb4dd1625187232f2dafe47f24cddf | [
"MIT"
] | 6 | 2019-09-19T23:30:53.000Z | 2022-02-10T00:07:09.000Z | tests/test_ir_metrics.py | bhaskargautam/record-linkage | 01eb29f8b7fb4dd1625187232f2dafe47f24cddf | [
"MIT"
] | null | null | null | import unittest
from common import InformationRetrievalMetrics
class TestMetrics(unittest.TestCase):
def test_mean_precision_at_k(self):
result_prob = [(0, 1, 0.1), (0, 2, 0.3), (1, 2, 0.5), (1, 4, 0.2), (2, 4, 0.9), (2, 3, 1)]
true_pairs = [(0, 1), (2,4)]
ir_metrics = InformationRetriev... | 54.016129 | 113 | 0.579277 | 574 | 3,349 | 3.182927 | 0.073171 | 0.029557 | 0.027915 | 0.113848 | 0.8867 | 0.879584 | 0.8763 | 0.860974 | 0.811713 | 0.811713 | 0 | 0.126384 | 0.217976 | 3,349 | 62 | 114 | 54.016129 | 0.57121 | 0 | 0 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 1 | 0.06383 | false | 0 | 0.042553 | 0 | 0.12766 | 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 |
91961abe0a85b5c791da90d99f63ec77b3213fb3 | 37 | py | Python | src/proofpoint_itm/__init__.py | drizzo-tech/proofpoint_itm | 89754c314f559018cbaa80d4b4c7a6ce65b1781b | [
"Apache-2.0"
] | null | null | null | src/proofpoint_itm/__init__.py | drizzo-tech/proofpoint_itm | 89754c314f559018cbaa80d4b4c7a6ce65b1781b | [
"Apache-2.0"
] | null | null | null | src/proofpoint_itm/__init__.py | drizzo-tech/proofpoint_itm | 89754c314f559018cbaa80d4b4c7a6ce65b1781b | [
"Apache-2.0"
] | null | null | null | from .proofpoint_itm import ITMClient | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 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 |
531281669c932c2f00b93c3351c804c1bd71de0d | 216 | py | Python | swaps/model/etf/__init__.py | DunnCreativeSS/cash_carry_leveraged_futures_arbitrageur | 1120ebfb487ce4987fe70e6645b36e0d7ce041ec | [
"Apache-2.0"
] | 1 | 2021-09-06T00:09:11.000Z | 2021-09-06T00:09:11.000Z | swaps/model/etf/__init__.py | DunnCreativeSS/cash_carry_leveraged_futures_arbitrageur | 1120ebfb487ce4987fe70e6645b36e0d7ce041ec | [
"Apache-2.0"
] | null | null | null | swaps/model/etf/__init__.py | DunnCreativeSS/cash_carry_leveraged_futures_arbitrageur | 1120ebfb487ce4987fe70e6645b36e0d7ce041ec | [
"Apache-2.0"
] | null | null | null | from swaps.model.etf.etf_swap_config import EtfSwapConfig
from swaps.model.etf.etf_swap_list import EtfSwapList
from swaps.model.etf.etf_swap_in_out import EtfSwapInOut
from swaps.model.etf.unitprice import UnitPrice | 54 | 57 | 0.875 | 35 | 216 | 5.2 | 0.4 | 0.197802 | 0.307692 | 0.373626 | 0.395604 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 216 | 4 | 58 | 54 | 0.905473 | 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 |
5338f3191eaebdf350aa635857fa1c242e64f6b6 | 108 | py | Python | test/files/datasources/foo.py | tnelson-doghouse/docker-jinja | 6946d6f14e9c53cd3b6bba0ae6a3fa03e57d5d59 | [
"MIT"
] | 4 | 2016-11-27T10:33:37.000Z | 2019-09-12T02:43:10.000Z | test/files/datasources/foo.py | tnelson-doghouse/docker-jinja | 6946d6f14e9c53cd3b6bba0ae6a3fa03e57d5d59 | [
"MIT"
] | 5 | 2016-11-04T09:31:53.000Z | 2016-11-05T11:29:26.000Z | test/files/datasources/foo.py | tnelson-doghouse/docker-jinja | 6946d6f14e9c53cd3b6bba0ae6a3fa03e57d5d59 | [
"MIT"
] | 8 | 2015-02-27T17:45:11.000Z | 2020-05-04T01:29:28.000Z | from djinja.env import global_function
@global_function
def bar(name):
return " - {} - ".format(name)
| 15.428571 | 38 | 0.694444 | 14 | 108 | 5.214286 | 0.785714 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175926 | 108 | 6 | 39 | 18 | 0.820225 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
533b7464cc197242eeec26c01cb83859e71ec5ef | 88,240 | py | Python | TVMfuzz/elements.py | anonymousWork000/TVMfuzz | 0ccbb33af89758b8ead59a8c686645246ccd0545 | [
"Apache-2.0"
] | 16 | 2021-05-22T07:39:53.000Z | 2022-02-23T14:50:38.000Z | TVMfuzz/elements.py | anonymousWork000/TVMfuzz | 0ccbb33af89758b8ead59a8c686645246ccd0545 | [
"Apache-2.0"
] | null | null | null | TVMfuzz/elements.py | anonymousWork000/TVMfuzz | 0ccbb33af89758b8ead59a8c686645246ccd0545 | [
"Apache-2.0"
] | 3 | 2021-05-28T07:12:14.000Z | 2021-11-28T02:10:48.000Z |
'''ASTutils.py'''
varnamesRead = set()
mutable = True
'''generation.py'''
funcPool = {}
varPool = set()
withPool = set()
clsPool = {}
subsPool = {}
lazy = []
restAdjuncts = []
'''analyzeSyntax'''
importSet = set()
funcNameTopFunc = {}
constants = set()
records = {}
id = 0
varTofuncst = {}
varTowith = {}
taboo =... | 90.595483 | 957 | 0.682525 | 12,529 | 88,240 | 4.756485 | 0.073509 | 0.059201 | 0.074202 | 0.048931 | 0.900292 | 0.893748 | 0.891147 | 0.88576 | 0.8769 | 0.851965 | 0 | 0.070372 | 0.132956 | 88,240 | 974 | 958 | 90.595483 | 0.708553 | 0.000125 | 0 | 0 | 0 | 0 | 0.13108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013514 | 0 | 0.013514 | 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 |
72a3e479de3af99250ee0e730fe83b7c42e49a71 | 6,966 | py | Python | owapi/prestige.py | gameleap/OWAPI | 6ff46ffcea9b4adc9c00a1730459c44fabbe45fe | [
"MIT"
] | 2 | 2019-01-21T13:46:25.000Z | 2019-08-20T14:10:31.000Z | owapi/prestige.py | gameleap/OWAPI | 6ff46ffcea9b4adc9c00a1730459c44fabbe45fe | [
"MIT"
] | null | null | null | owapi/prestige.py | gameleap/OWAPI | 6ff46ffcea9b4adc9c00a1730459c44fabbe45fe | [
"MIT"
] | null | null | null | """
This contains the constants for the prestige ranks.
These images are used as the backgrounds for each rank or so.
The dict is used to map them as appropriate.
"""
PRESTIGE_BORDERS = {
# Base level Bronze = 0
"1055f5ae3a84b7bd8afa9fcbd2baaf9a412c63e8fe5411025b3264db12927771": 0, # Bronze Lv 1
"69c2c1a... | 73.326316 | 101 | 0.806345 | 411 | 6,966 | 13.6618 | 0.304136 | 0.012467 | 0.016029 | 0.009261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.507251 | 0.138817 | 6,966 | 95 | 102 | 73.326316 | 0.428738 | 0.185185 | 0 | 0 | 0 | 0 | 0.800858 | 0.800858 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f41312a09adf8e5c1e534131420443fc92936b97 | 3,090 | py | Python | genonets/test/test_dna.py | fkhalid/genonets | 0dcd2e35ebf6957b8d0934e6033e2c962938c18a | [
"MIT"
] | 4 | 2016-03-01T10:43:40.000Z | 2021-07-17T14:53:04.000Z | genonets/test/test_dna.py | fkhalid/genonets | 0dcd2e35ebf6957b8d0934e6033e2c962938c18a | [
"MIT"
] | 15 | 2016-04-13T10:54:49.000Z | 2020-11-07T16:17:34.000Z | genonets/test/test_dna.py | fkhalid/genonets | 0dcd2e35ebf6957b8d0934e6033e2c962938c18a | [
"MIT"
] | 1 | 2016-03-01T10:46:44.000Z | 2016-03-01T10:46:44.000Z |
import tempfile
import genonets.test.utils as utils
import genonets.test.compare_result_files as comparator
from genonets.cmdl_handler import CmdParser
from genonets.interface import Genonets
class TestDNA:
@staticmethod
def run_test(cmd_args, ground_truth_dir, data_dir):
args = CmdParser(arguments... | 32.526316 | 88 | 0.61165 | 369 | 3,090 | 4.788618 | 0.176152 | 0.105829 | 0.102999 | 0.091681 | 0.805886 | 0.805886 | 0.805886 | 0.805886 | 0.805886 | 0.693265 | 0 | 0.005408 | 0.281877 | 3,090 | 94 | 89 | 32.87234 | 0.790897 | 0 | 0 | 0.555556 | 0 | 0 | 0.260926 | 0.207834 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.069444 | false | 0 | 0.069444 | 0 | 0.152778 | 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 |
f46037393f1766f046850e4a59eb4e9d5a3149be | 231 | py | Python | transequilibrium/escaping.py | barisione/transequilibrium | a930fd08ac4806c23c1bdcba558224241a2701cc | [
"MIT"
] | null | null | null | transequilibrium/escaping.py | barisione/transequilibrium | a930fd08ac4806c23c1bdcba558224241a2701cc | [
"MIT"
] | null | null | null | transequilibrium/escaping.py | barisione/transequilibrium | a930fd08ac4806c23c1bdcba558224241a2701cc | [
"MIT"
] | null | null | null | try:
import html
#pylint: disable=invalid-name
html_unescape = html.unescape
except (ImportError, NameError):
import HTMLParser
#pylint: disable=invalid-name
html_unescape = HTMLParser.HTMLParser().unescape
| 25.666667 | 52 | 0.731602 | 25 | 231 | 6.68 | 0.48 | 0.215569 | 0.239521 | 0.287425 | 0.431138 | 0.431138 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 231 | 8 | 53 | 28.875 | 0.883598 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f474322c47c7644bf34dfd2855dc448bf4505612 | 2,869 | py | Python | tests/test_filters.py | HazyResearch/pytorch_radon | bca1626c036e119896acd8c7eef0d08e8541c2c7 | [
"MIT"
] | 1 | 2021-03-26T00:16:14.000Z | 2021-03-26T00:16:14.000Z | tests/test_filters.py | HazyResearch/pytorch_radon | bca1626c036e119896acd8c7eef0d08e8541c2c7 | [
"MIT"
] | null | null | null | tests/test_filters.py | HazyResearch/pytorch_radon | bca1626c036e119896acd8c7eef0d08e8541c2c7 | [
"MIT"
] | 1 | 2021-11-15T17:09:03.000Z | 2021-11-15T17:09:03.000Z | import unittest
from pytorch_radon import Radon, IRadon
from pytorch_radon.filters import RampFilter, HannFilter, LearnableFilter
from pytorch_radon.filters import RampButterflyFilter, HannButterflyFilter
import torch
class TestStackgram(unittest.TestCase):
def test_ramp_filter(self):
img = torch.zeros(1,1... | 42.191176 | 94 | 0.621819 | 399 | 2,869 | 4.37594 | 0.150376 | 0.068729 | 0.07732 | 0.09622 | 0.833333 | 0.800115 | 0.800115 | 0.764032 | 0.764032 | 0.764032 | 0 | 0.06739 | 0.229348 | 2,869 | 67 | 95 | 42.820896 | 0.722298 | 0.02893 | 0 | 0.661017 | 0 | 0 | 0.002875 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 1 | 0.084746 | false | 0 | 0.084746 | 0 | 0.186441 | 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 |
be9221f3b123103ce5774297f0ac1318df08c14a | 4,457 | py | Python | tests/components/sleepiq/test_number.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2021-11-22T22:37:43.000Z | 2022-03-17T00:55:28.000Z | tests/components/sleepiq/test_number.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 14 | 2022-01-26T06:25:32.000Z | 2022-03-31T06:27:51.000Z | tests/components/sleepiq/test_number.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2022-01-02T18:49:54.000Z | 2022-01-25T02:03:54.000Z | """The tests for SleepIQ number platform."""
from homeassistant.components.number import DOMAIN
from homeassistant.components.number.const import ATTR_VALUE, SERVICE_SET_VALUE
from homeassistant.const import ATTR_ENTITY_ID, ATTR_FRIENDLY_NAME, ATTR_ICON
from homeassistant.helpers import entity_registry as er
from test... | 32.532847 | 99 | 0.702715 | 591 | 4,457 | 4.945854 | 0.142132 | 0.061581 | 0.104687 | 0.086213 | 0.807048 | 0.781731 | 0.751625 | 0.751625 | 0.748888 | 0.743072 | 0 | 0.007565 | 0.199237 | 4,457 | 136 | 100 | 32.772059 | 0.811432 | 0.008526 | 0 | 0.429825 | 0 | 0 | 0.248237 | 0.176775 | 0 | 0 | 0 | 0 | 0.254386 | 1 | 0 | false | 0 | 0.04386 | 0 | 0.04386 | 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 |
be937f2d97d9d6379e94b2bedd4be77b2173a071 | 83 | py | Python | experiment/__init__.py | XiaoLiSean/Cognitive-Map | 6b2019e5b3a46902b06c8d5d1e86b39425042de9 | [
"MIT"
] | null | null | null | experiment/__init__.py | XiaoLiSean/Cognitive-Map | 6b2019e5b3a46902b06c8d5d1e86b39425042de9 | [
"MIT"
] | null | null | null | experiment/__init__.py | XiaoLiSean/Cognitive-Map | 6b2019e5b3a46902b06c8d5d1e86b39425042de9 | [
"MIT"
] | 1 | 2021-11-04T06:25:31.000Z | 2021-11-04T06:25:31.000Z | from .node_generation import *
from .data_collection import *
from .robot import *
| 20.75 | 30 | 0.783133 | 11 | 83 | 5.727273 | 0.636364 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 83 | 3 | 31 | 27.666667 | 0.887324 | 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 |
bea99288a733f1bfeca2a171af4fd5827f61e997 | 62 | py | Python | dpd/oracles/__init__.py | AkshatSh/DPD | 5ec8b2105c841b78c33c78815381f45e1196e159 | [
"MIT"
] | null | null | null | dpd/oracles/__init__.py | AkshatSh/DPD | 5ec8b2105c841b78c33c78815381f45e1196e159 | [
"MIT"
] | 5 | 2019-05-06T00:56:37.000Z | 2019-05-06T09:29:36.000Z | dpd/oracles/__init__.py | AkshatSh/DPD | 5ec8b2105c841b78c33c78815381f45e1196e159 | [
"MIT"
] | null | null | null | from .oracle import Oracle
from .gold_oracle import GoldOracle | 31 | 35 | 0.854839 | 9 | 62 | 5.777778 | 0.555556 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 35 | 31 | 0.945455 | 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 |
fe3f4461b979304d64512419c464a0f19d778d68 | 25 | py | Python | kalliope/neurons/debug/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 1 | 2020-03-30T15:03:19.000Z | 2020-03-30T15:03:19.000Z | kalliope/neurons/debug/__init__.py | joshuaboniface/kalliope | 0e040be3165e838485d1e5addc4d2c5df12bfd84 | [
"MIT"
] | 6 | 2021-03-18T21:25:05.000Z | 2022-03-11T23:34:07.000Z | src/tools/__init__.py | kilfu0701/wp-import-export | f212c0c7434967fc51973b2c23c41a2929b8db68 | [
"MIT"
] | null | null | null | from .debug import Debug
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 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 |
fe449abda27ae32040f5df912787d654b95c6118 | 5,571 | py | Python | test/test_random.py | silky/fatiando | 5041c6b29758a5e73e9d7b2b906fa5e493fd9aba | [
"BSD-3-Clause"
] | 1 | 2019-06-27T11:32:56.000Z | 2019-06-27T11:32:56.000Z | test/test_random.py | silky/fatiando | 5041c6b29758a5e73e9d7b2b906fa5e493fd9aba | [
"BSD-3-Clause"
] | null | null | null | test/test_random.py | silky/fatiando | 5041c6b29758a5e73e9d7b2b906fa5e493fd9aba | [
"BSD-3-Clause"
] | null | null | null | import numpy
from fatiando import utils, gridder
def test_utils_circular_points():
"utils.circular_points return diff sequence"
area = [-1000, 1200, -40, 200]
size = 1300
for i in xrange(20):
x1, y1 = utils.circular_points(area, size, random=True).T
x2, y2 = utils.circular_points(area,... | 35.259494 | 76 | 0.641716 | 841 | 5,571 | 4.168847 | 0.095125 | 0.06389 | 0.06389 | 0.054763 | 0.890188 | 0.846549 | 0.806902 | 0.784655 | 0.730177 | 0.711922 | 0 | 0.087907 | 0.228146 | 5,571 | 157 | 77 | 35.484076 | 0.727442 | 0.142344 | 0 | 0.550388 | 0 | 0 | 0.146473 | 0.011309 | 0 | 0 | 0 | 0 | 0.155039 | 1 | 0.108527 | false | 0 | 0.015504 | 0 | 0.124031 | 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 |
fe5e2bf9870213e5b14f3a4352d03197a6ba153a | 40 | py | Python | Chapter 04/ch4_3_11.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch4_3_11.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 04/ch4_3_11.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | print(bool(0), bool(0.0))
#False False | 20 | 27 | 0.65 | 8 | 40 | 3.25 | 0.5 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.125 | 40 | 2 | 28 | 20 | 0.657143 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fe73a5b28836c6588a891af619efcac739b81325 | 3,339 | py | Python | Internet-Worm/1.py | Qiaozhi94/Python-Projects | aefc6cf49c1f4f2cc9beba8dbe80cfa826ba75c4 | [
"MIT"
] | null | null | null | Internet-Worm/1.py | Qiaozhi94/Python-Projects | aefc6cf49c1f4f2cc9beba8dbe80cfa826ba75c4 | [
"MIT"
] | null | null | null | Internet-Worm/1.py | Qiaozhi94/Python-Projects | aefc6cf49c1f4f2cc9beba8dbe80cfa826ba75c4 | [
"MIT"
] | null | null | null | import requests
hd={
'cookie': 'lianjia_uuid=01765a98-5297-41f9-b19d-89a7449cf57a; UM_distinctid=170e7a4b5ffb7b-0fe20ca1f284a2-396d7406-13c680-170e7a4b600ab1; _smt_uid=5e708c78.114db2b5; _ga=GA1.2.1647190516.1584434300; Hm_lvt_efa595b768cc9dc7d7f9823368e795f1=1590328589; select_city=310000; _jzqc=1; _jzqx=1.158443... | 159 | 2,807 | 0.858341 | 393 | 3,339 | 7.139949 | 0.531807 | 0.011404 | 0.010691 | 0.019957 | 0.202423 | 0.191732 | 0.191732 | 0.120456 | 0.120456 | 0.120456 | 0 | 0.342928 | 0.032345 | 3,339 | 20 | 2,808 | 166.95 | 0.525534 | 0.008386 | 0 | 0.153846 | 0 | 0.230769 | 0.937443 | 0.793895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe7514302744ca801ed383512905f4692c7d32b6 | 3,598 | py | Python | test/test_lib_picture.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | test/test_lib_picture.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | test/test_lib_picture.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | import os
import sys
from stve.script import StveTestCase
from nose.tools import with_setup, raises, ok_, eq_
LIB_PATH = os.path.dirname(os.path.abspath(__file__))
if not LIB_PATH in sys.path:
sys.path.insert(0, LIB_PATH)
from runner import TestStveTestRunner as TSTR
class TestPictureTestRuner(TSTR):
@with_... | 43.349398 | 69 | 0.734019 | 507 | 3,598 | 4.885602 | 0.120316 | 0.087202 | 0.135648 | 0.073476 | 0.865563 | 0.865563 | 0.865563 | 0.865563 | 0.865563 | 0.865563 | 0 | 0.016721 | 0.152307 | 3,598 | 82 | 70 | 43.878049 | 0.79541 | 0 | 0 | 0.492537 | 0 | 0 | 0.094497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179104 | false | 0 | 0.074627 | 0 | 0.268657 | 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 |
fe888313531e7ed51f2c432ea96274cb3943fd04 | 299,500 | py | Python | openmc/mgxs/mgxs.py | RyotaroOKabe/openmc | 9926294324cb80dd7ff0e4f1a9b361addfcfa8fc | [
"MIT"
] | null | null | null | openmc/mgxs/mgxs.py | RyotaroOKabe/openmc | 9926294324cb80dd7ff0e4f1a9b361addfcfa8fc | [
"MIT"
] | null | null | null | openmc/mgxs/mgxs.py | RyotaroOKabe/openmc | 9926294324cb80dd7ff0e4f1a9b361addfcfa8fc | [
"MIT"
] | null | null | null | from collections import OrderedDict
import copy
from numbers import Integral
import os
import warnings
import h5py
import numpy as np
import openmc
from openmc.data import REACTION_MT, REACTION_NAME, FISSION_MTS
import openmc.checkvalue as cv
from ..tallies import ESTIMATOR_TYPES
from . import EnergyGroups
# Suppor... | 42.896018 | 88 | 0.625122 | 38,093 | 299,500 | 4.799596 | 0.027433 | 0.02737 | 0.029946 | 0.037062 | 0.824237 | 0.797119 | 0.780272 | 0.762365 | 0.747472 | 0.732616 | 0 | 0.005433 | 0.298174 | 299,500 | 6,981 | 89 | 42.902163 | 0.864375 | 0.538514 | 0 | 0.606312 | 0 | 0.001183 | 0.071347 | 0.002272 | 0 | 0 | 0 | 0.000573 | 0 | 1 | 0.065878 | false | 0 | 0.004734 | 0.013807 | 0.135306 | 0.008284 | 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 |
22993a68d46f50dd9cea3f877e2119dfc80bd26a | 201 | py | Python | python/smqtk/algorithms/classifier/__init__.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 82 | 2015-01-07T15:33:29.000Z | 2021-08-11T18:34:05.000Z | python/smqtk/algorithms/classifier/__init__.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 230 | 2015-04-08T14:36:51.000Z | 2022-03-14T17:55:30.000Z | python/smqtk/algorithms/classifier/__init__.py | joshanderson-kw/SMQTK | 594e7c733fe7f4e514a1a08a7343293a883a41fc | [
"BSD-3-Clause"
] | 65 | 2015-01-04T15:00:16.000Z | 2021-11-19T18:09:11.000Z | from ._classifier_collection import ClassifierCollection # noqa: F401
from ._interface_classifier import Classifier # noqa: F401
from ._interface_supervised import SupervisedClassifier # noqa: F401
| 50.25 | 70 | 0.835821 | 21 | 201 | 7.714286 | 0.47619 | 0.148148 | 0.148148 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 0.119403 | 201 | 3 | 71 | 67 | 0.864407 | 0.159204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 |
22aed204e67e26bba278743887f2f924f9cd1e18 | 2,707 | py | Python | Day17/Day17_pt2.py | EllAchE/aoc2020LastPlace | ad3650b3909b1231c9c931b7d85ce842d30e3d15 | [
"MIT"
] | 1 | 2021-12-04T01:06:18.000Z | 2021-12-04T01:06:18.000Z | Day17/Day17_pt2.py | logan-credera/aoc2020LastPlace | ad3650b3909b1231c9c931b7d85ce842d30e3d15 | [
"MIT"
] | null | null | null | Day17/Day17_pt2.py | logan-credera/aoc2020LastPlace | ad3650b3909b1231c9c931b7d85ce842d30e3d15 | [
"MIT"
] | null | null | null | data = open("input.txt").readlines()
# data = ['.#.\n', '..#\n', '###\n']
# top left 0,0,0, bottom right 3,3,0 or sth
x = 0
y = 0
z = 0
w = 0
current = {}
for line in data:
# cut trailing \n
line = line.strip('\n')
for cube in line:
if cube == '#':
current[x, y, z, w] = cube
x +=... | 41.646154 | 152 | 0.355375 | 511 | 2,707 | 1.863014 | 0.09002 | 0.30042 | 0.305672 | 0.289916 | 0.466387 | 0.465336 | 0.463235 | 0.463235 | 0.460084 | 0.460084 | 0 | 0.202503 | 0.350573 | 2,707 | 64 | 153 | 42.296875 | 0.339022 | 0.042113 | 0 | 0.185185 | 0 | 0 | 0.005424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
22eea1dd59cb1851d541a441d7d374118b2a6f9d | 9,670 | py | Python | tests/unit/test_timeout.py | LastRemote/sagemaker-python-sdk | fddf29d9e4383cd3f939253eef47ee79a464dd37 | [
"Apache-2.0"
] | 1 | 2021-08-31T09:39:37.000Z | 2021-08-31T09:39:37.000Z | tests/unit/test_timeout.py | LastRemote/sagemaker-python-sdk | fddf29d9e4383cd3f939253eef47ee79a464dd37 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_timeout.py | LastRemote/sagemaker-python-sdk | fddf29d9e4383cd3f939253eef47ee79a464dd37 | [
"Apache-2.0"
] | null | null | null | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompan... | 35.682657 | 98 | 0.753878 | 1,219 | 9,670 | 5.551272 | 0.147662 | 0.036944 | 0.062805 | 0.078026 | 0.795478 | 0.779814 | 0.770061 | 0.76016 | 0.744939 | 0.744939 | 0 | 0.007084 | 0.167942 | 9,670 | 270 | 99 | 35.814815 | 0.833955 | 0.070838 | 0 | 0.714932 | 0 | 0 | 0.141089 | 0.113986 | 0 | 0 | 0 | 0 | 0.040724 | 1 | 0.054299 | false | 0.022624 | 0.031674 | 0.004525 | 0.095023 | 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 |
a3cb7e74115ed6335b278c00e85ac2dcf779e55e | 26 | py | Python | abc.py | Harsh8668/Harsh_form | 4a4b6ca002df41d7ab0523918a1730585a57a3b6 | [
"Apache-2.0"
] | null | null | null | abc.py | Harsh8668/Harsh_form | 4a4b6ca002df41d7ab0523918a1730585a57a3b6 | [
"Apache-2.0"
] | null | null | null | abc.py | Harsh8668/Harsh_form | 4a4b6ca002df41d7ab0523918a1730585a57a3b6 | [
"Apache-2.0"
] | null | null | null | print("I am Harshvardhan") | 26 | 26 | 0.769231 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a3d37026a2cbcf7a0c02eaa4b1a6f59277f40677 | 347 | py | Python | checklist/views/__init__.py | cagandhi/Checklist-Django | c8edf1d8f821900a71f36abd34a76663d8d8f7da | [
"Apache-2.0"
] | 3 | 2021-07-02T07:35:19.000Z | 2022-01-14T11:14:14.000Z | checklist/views/__init__.py | cagandhi/Checklist-Django | c8edf1d8f821900a71f36abd34a76663d8d8f7da | [
"Apache-2.0"
] | 57 | 2021-01-31T23:39:57.000Z | 2022-03-12T00:47:23.000Z | checklist/views/__init__.py | cagandhi/Checklist-Django | c8edf1d8f821900a71f36abd34a76663d8d8f7da | [
"Apache-2.0"
] | 3 | 2021-08-29T21:46:54.000Z | 2022-03-24T13:10:00.000Z | # refer https://stackoverflow.com/a/1921911/6543250 and https://stackoverflow.com/a/46108146/6543250 to break up code into diff files
from .views_bookupsearcateg import * # noqa: F401, F403
from .views_checklist import * # noqa: F401, F403
from .views_itemcomm_crud import * # noqa: F401, F403
from .views_viewfunc im... | 57.833333 | 133 | 0.760807 | 50 | 347 | 5.18 | 0.54 | 0.138996 | 0.216216 | 0.277992 | 0.312741 | 0.312741 | 0 | 0 | 0 | 0 | 0 | 0.177258 | 0.138329 | 347 | 5 | 134 | 69.4 | 0.688963 | 0.573487 | 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 |
43380b7f9c1160d4fd104b6fefb650230e690ca3 | 2,105 | py | Python | tests/test_chapter7.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 107 | 2021-03-26T20:18:51.000Z | 2022-03-26T03:38:08.000Z | tests/test_chapter7.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 4 | 2021-06-09T08:48:21.000Z | 2021-12-27T09:04:43.000Z | tests/test_chapter7.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 58 | 2021-03-12T20:51:19.000Z | 2022-03-27T15:49:49.000Z | import httpx
import pytest
from fastapi import status
from chapter7.chapter7_api_key_header import (
app as chapter7_api_key_header_app,
API_TOKEN as CHAPTER7_API_KEY_HEADER_API_TOKEN,
)
from chapter7.chapter7_api_key_header_dependency import (
app as chapter7_api_key_header_app_dependency,
API_TOKEN a... | 35.083333 | 84 | 0.726366 | 261 | 2,105 | 5.555556 | 0.172414 | 0.075862 | 0.096552 | 0.137931 | 0.897931 | 0.891034 | 0.827586 | 0.766897 | 0.72 | 0.66069 | 0 | 0.01854 | 0.180048 | 2,105 | 59 | 85 | 35.677966 | 0.821553 | 0 | 0 | 0.545455 | 0 | 0 | 0.067458 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0 | false | 0 | 0.113636 | 0 | 0.159091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4347d1d965bca8b88d1b5f0c0cae8f155108609e | 3,576 | py | Python | notifications/migrations/0001_initial.py | luterien/django-action-notifications | 0843baba73a7c92681a68e32bae550ec9af87555 | [
"MIT"
] | 1 | 2017-04-22T11:16:13.000Z | 2017-04-22T11:16:13.000Z | notifications/migrations/0001_initial.py | luterien/django-action-notifications | 0843baba73a7c92681a68e32bae550ec9af87555 | [
"MIT"
] | null | null | null | notifications/migrations/0001_initial.py | luterien/django-action-notifications | 0843baba73a7c92681a68e32bae550ec9af87555 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-16 15:24
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
depend... | 58.622951 | 220 | 0.659676 | 384 | 3,576 | 5.903646 | 0.226563 | 0.042347 | 0.049405 | 0.077636 | 0.774151 | 0.744155 | 0.744155 | 0.744155 | 0.744155 | 0.744155 | 0 | 0.009187 | 0.208613 | 3,576 | 60 | 221 | 59.6 | 0.791873 | 0.018456 | 0 | 0.5 | 1 | 0 | 0.234103 | 0.123467 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096154 | 0 | 0.173077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a82cc2b1b3569b9f3d1866fca2ccd9e948f3edc | 16,239 | py | Python | tests/test_cookies.py | GlitchCorp/fastapi-another-jwt-auth | 2f916093e804d910bdc40b96483d6724c312cac6 | [
"MIT"
] | null | null | null | tests/test_cookies.py | GlitchCorp/fastapi-another-jwt-auth | 2f916093e804d910bdc40b96483d6724c312cac6 | [
"MIT"
] | null | null | null | tests/test_cookies.py | GlitchCorp/fastapi-another-jwt-auth | 2f916093e804d910bdc40b96483d6724c312cac6 | [
"MIT"
] | null | null | null | import pytest
from fastapi_another_jwt_auth import AuthJWT
from fastapi_another_jwt_auth.exceptions import AuthJWTException
from fastapi import FastAPI, Request, Depends
from fastapi.responses import JSONResponse
from fastapi.testclient import TestClient
@pytest.fixture(scope='function')
def client():
app = FastAP... | 36.906818 | 117 | 0.676396 | 1,954 | 16,239 | 5.374104 | 0.058854 | 0.078659 | 0.051995 | 0.059423 | 0.845158 | 0.811066 | 0.77745 | 0.757928 | 0.723645 | 0.701838 | 0 | 0.005312 | 0.188497 | 16,239 | 439 | 118 | 36.990888 | 0.791547 | 0.029066 | 0 | 0.612426 | 0 | 0 | 0.232762 | 0.066476 | 0 | 0 | 0 | 0 | 0.174556 | 1 | 0.133136 | false | 0 | 0.017751 | 0.059172 | 0.248521 | 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 |
4aaf6a0aaeb1634e9f2e8a7e669a1b23d1a65dd3 | 30 | py | Python | lectures/week_1/test.py | ziga-solar/cog-sci-python | 1c8e3d829f039e1994be7c82844eff79b8cd74d3 | [
"MIT"
] | null | null | null | lectures/week_1/test.py | ziga-solar/cog-sci-python | 1c8e3d829f039e1994be7c82844eff79b8cd74d3 | [
"MIT"
] | null | null | null | lectures/week_1/test.py | ziga-solar/cog-sci-python | 1c8e3d829f039e1994be7c82844eff79b8cd74d3 | [
"MIT"
] | null | null | null | from math import pi
print(pi) | 10 | 19 | 0.766667 | 6 | 30 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 3 | 20 | 10 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
435c100f885d6f9c79e7af4bd9c66fda16e7925f | 9,076 | py | Python | tests/test_drivetrain.py | TechnoJays/robot2022 | a7afb67c8941d98f3ef794dbb824989835fc6548 | [
"MIT"
] | null | null | null | tests/test_drivetrain.py | TechnoJays/robot2022 | a7afb67c8941d98f3ef794dbb824989835fc6548 | [
"MIT"
] | null | null | null | tests/test_drivetrain.py | TechnoJays/robot2022 | a7afb67c8941d98f3ef794dbb824989835fc6548 | [
"MIT"
] | null | null | null | import pytest
from wpilib import IterativeRobotBase
from subsystems.drivetrain import Drivetrain
from wpilib.simulation import PWMSim
@pytest.fixture(scope="function")
def drivetrain_default(robot: IterativeRobotBase):
return Drivetrain(
robot, "TestDriveTrain", "../tests/test_configs/drivetrain_default.... | 32.298932 | 87 | 0.688519 | 1,372 | 9,076 | 4.33965 | 0.078717 | 0.019819 | 0.019651 | 0.080618 | 0.873194 | 0.870003 | 0.843635 | 0.805845 | 0.805845 | 0.791737 | 0 | 0.040212 | 0.210886 | 9,076 | 280 | 88 | 32.414286 | 0.79112 | 0.153482 | 0 | 0.612745 | 0 | 0 | 0.108963 | 0.089626 | 0 | 0 | 0 | 0 | 0.352941 | 1 | 0.053922 | false | 0 | 0.019608 | 0.004902 | 0.078431 | 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 |
4384f974a145a3887e8a267fcfe1bb60201e613a | 38 | py | Python | src/pe2loaddata/content/item/__init__.py | dlogan/pe2loaddata | 4121fbab354278f4504fa8b0caabc7d3da48e91c | [
"BSD-2-Clause"
] | 1 | 2018-02-17T00:29:55.000Z | 2018-02-17T00:29:55.000Z | src/pe2loaddata/content/item/__init__.py | dlogan/pe2loaddata | 4121fbab354278f4504fa8b0caabc7d3da48e91c | [
"BSD-2-Clause"
] | 18 | 2018-05-22T16:37:23.000Z | 2022-03-16T19:24:52.000Z | src/pe2loaddata/content/item/__init__.py | dlogan/pe2loaddata | 4121fbab354278f4504fa8b0caabc7d3da48e91c | [
"BSD-2-Clause"
] | 3 | 2021-06-11T18:25:16.000Z | 2022-03-21T15:36:26.000Z | from .root_handler import RootHandler
| 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 |
438ec275aefe9377faed7a811df3d6bac9445d5f | 42 | py | Python | xsimma/remd/__init__.py | XipingGong/xsimma | 72ce5eee0161a0831feaac86c709480fa86821b9 | [
"BSD-3-Clause"
] | 1 | 2021-02-01T22:33:02.000Z | 2021-02-01T22:33:02.000Z | xsimma/remd/__init__.py | XipingGong/xsimma | 72ce5eee0161a0831feaac86c709480fa86821b9 | [
"BSD-3-Clause"
] | null | null | null | xsimma/remd/__init__.py | XipingGong/xsimma | 72ce5eee0161a0831feaac86c709480fa86821b9 | [
"BSD-3-Clause"
] | 1 | 2021-02-05T04:49:45.000Z | 2021-02-05T04:49:45.000Z |
from .remd import *
from .plot import *
| 8.4 | 19 | 0.666667 | 6 | 42 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 42 | 4 | 20 | 10.5 | 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 |
438f51bf4e0647a1cf251c979da1066fdc5efd48 | 31 | py | Python | edflow/util/__init__.py | edflow/edflow | 317cb1b61bf810a68004788d08418a5352653264 | [
"MIT"
] | 23 | 2019-04-04T07:52:57.000Z | 2022-02-02T03:11:07.000Z | edflow/util/__init__.py | edflow/edflow | 317cb1b61bf810a68004788d08418a5352653264 | [
"MIT"
] | 149 | 2019-04-04T09:53:01.000Z | 2020-07-21T16:55:32.000Z | edflow/util/__init__.py | edflow/edflow | 317cb1b61bf810a68004788d08418a5352653264 | [
"MIT"
] | 12 | 2019-04-04T07:52:58.000Z | 2020-08-28T12:30:03.000Z | from edflow.util.util import *
| 15.5 | 30 | 0.774194 | 5 | 31 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
438fe102f4747f75efa33ffe24d85c118ce39850 | 63,036 | py | Python | scripts/summary_spreadsheet.py | GMLC-TDC/helics_benchmark_results | 8a133a89645b98c94858c4343a79d4f4a95e3e04 | [
"BSD-3-Clause"
] | null | null | null | scripts/summary_spreadsheet.py | GMLC-TDC/helics_benchmark_results | 8a133a89645b98c94858c4343a79d4f4a95e3e04 | [
"BSD-3-Clause"
] | 17 | 2019-12-05T18:21:03.000Z | 2020-06-17T20:20:52.000Z | scripts/summary_spreadsheet.py | GMLC-TDC/helics_benchmark_results | 8a133a89645b98c94858c4343a79d4f4a95e3e04 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Mar 12 07:40:00 2020
Creates metrics and calculates ratios for analysis
of HELICS performance for a given benchmark. For each
benchmark, a spreadsheet and csv that summarizes the calculated
metrics and ratios are generated. A spreadsheet for all
the benchmarks is created an... | 43.683992 | 79 | 0.58354 | 7,364 | 63,036 | 4.667029 | 0.061515 | 0.027497 | 0.018331 | 0.01548 | 0.809299 | 0.781454 | 0.756576 | 0.74034 | 0.726693 | 0.711883 | 0 | 0.002821 | 0.302605 | 63,036 | 1,442 | 80 | 43.714286 | 0.778963 | 0.151485 | 0 | 0.686703 | 0 | 0 | 0.219234 | 0.039407 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01184 | false | 0 | 0.008197 | 0 | 0.027322 | 0.001821 | 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 |
600e939c835488e6e4d0c0e1bb2ab1ce9e93659c | 5,219 | py | Python | update_licenses.py | urbanopt/urbanopt-ditto-reader | d805536df2451b401cc0662b4a087ac65e4eab2c | [
"BSD-3-Clause"
] | null | null | null | update_licenses.py | urbanopt/urbanopt-ditto-reader | d805536df2451b401cc0662b4a087ac65e4eab2c | [
"BSD-3-Clause"
] | 17 | 2020-08-13T02:34:33.000Z | 2022-03-25T16:39:07.000Z | update_licenses.py | urbanopt/urbanopt-ditto-reader | d805536df2451b401cc0662b4a087ac65e4eab2c | [
"BSD-3-Clause"
] | 1 | 2021-02-05T23:03:39.000Z | 2021-02-05T23:03:39.000Z | """
****************************************************************************************************
:copyright (c) 2019-2021 URBANopt, Alliance for Sustainable Energy, LLC, and other contributors.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted
pr... | 52.19 | 100 | 0.680207 | 688 | 5,219 | 5.116279 | 0.292151 | 0.009943 | 0.019318 | 0.026136 | 0.761932 | 0.761932 | 0.761932 | 0.740341 | 0.716477 | 0.716477 | 0 | 0.005556 | 0.172255 | 5,219 | 99 | 101 | 52.717172 | 0.809259 | 0.371527 | 0 | 0.098361 | 0 | 0.016393 | 0.628351 | 0.08228 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.065574 | 0 | 0.098361 | 0.065574 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
601ccbc025b1a325f9c544d0e1e6238b4d398f1b | 78 | py | Python | faster_particles/metrics/__init__.py | Temigo/faster-particles | ba4655cf48525de1f326f037b1e54b6f28551cdf | [
"MIT"
] | 2 | 2018-08-02T10:48:44.000Z | 2018-11-11T01:16:57.000Z | faster_particles/metrics/__init__.py | Temigo/faster-particles | ba4655cf48525de1f326f037b1e54b6f28551cdf | [
"MIT"
] | null | null | null | faster_particles/metrics/__init__.py | Temigo/faster-particles | ba4655cf48525de1f326f037b1e54b6f28551cdf | [
"MIT"
] | 2 | 2018-08-02T10:49:06.000Z | 2020-06-10T02:20:30.000Z | from metrics_ppn import PPNMetrics
from metrics_uresnet import UResNetMetrics
| 26 | 42 | 0.897436 | 10 | 78 | 6.8 | 0.7 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 43 | 39 | 0.971429 | 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 |
e083b6cb33b387468c9f20fa464868a15022eef1 | 12,970 | py | Python | cottonformation/res/ssmcontacts.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/ssmcontacts.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/ssmcontacts.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropContactContactTargetInfo(Property):
"""
AWS Object Type = "AWS::S... | 54.957627 | 221 | 0.758751 | 1,392 | 12,970 | 6.981322 | 0.063937 | 0.120395 | 0.047541 | 0.073472 | 0.875489 | 0.872916 | 0.840296 | 0.799547 | 0.793785 | 0.769912 | 0 | 0.000087 | 0.1101 | 12,970 | 235 | 222 | 55.191489 | 0.841882 | 0.357132 | 0 | 0.369748 | 0 | 0 | 0.093338 | 0.053632 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016807 | false | 0 | 0.033613 | 0 | 0.310924 | 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 |
e094210b76d6f52b4f65454fe3b9ecf5fba834a4 | 37 | py | Python | Py0729/modules/search.py | tbor8080/pyprog | 3642b9af2a92f7369d9b6fa138e47ba22df3271c | [
"MIT"
] | null | null | null | Py0729/modules/search.py | tbor8080/pyprog | 3642b9af2a92f7369d9b6fa138e47ba22df3271c | [
"MIT"
] | null | null | null | Py0729/modules/search.py | tbor8080/pyprog | 3642b9af2a92f7369d9b6fa138e47ba22df3271c | [
"MIT"
] | null | null | null | def sanitize(forms):
return forms | 18.5 | 20 | 0.72973 | 5 | 37 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 2 | 21 | 18.5 | 0.9 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.