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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
02ab6c846eeab2c1205eefb0c9b4984d75c77d2e | 366 | py | Python | experiments/speaker_verification/encoder/data_objects/__init__.py | onucharles/tensorized-rnn | 69fc031f1efe169ee88327d10bdf5e5bc24f03cf | [
"MIT"
] | 16 | 2020-11-19T16:10:17.000Z | 2021-12-02T13:31:30.000Z | experiments/speaker_verification/encoder/data_objects/__init__.py | kritostudent/tensorized-rnn | 69fc031f1efe169ee88327d10bdf5e5bc24f03cf | [
"MIT"
] | 2 | 2021-02-26T08:45:16.000Z | 2021-08-11T13:47:43.000Z | experiments/speaker_verification/encoder/data_objects/__init__.py | kritostudent/tensorized-rnn | 69fc031f1efe169ee88327d10bdf5e5bc24f03cf | [
"MIT"
] | 7 | 2021-01-21T11:24:31.000Z | 2022-03-21T08:59:08.000Z | from encoder.data_objects.speaker_verification_dataset import SpeakerVerificationDataset
from encoder.data_objects.speaker_verification_dataset import SpeakerVerificationDataLoader
from encoder.data_objects.speaker_verification_dataset import SpeakerVerificationTestSet
from encoder.data_objects.speaker_verification_dat... | 73.2 | 95 | 0.934426 | 36 | 366 | 9.166667 | 0.333333 | 0.133333 | 0.181818 | 0.266667 | 0.654545 | 0.654545 | 0.654545 | 0.654545 | 0 | 0 | 0 | 0 | 0.043716 | 366 | 4 | 96 | 91.5 | 0.942857 | 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 |
f323af87019b4e618064084c991ca5f2b6165c4a | 20 | py | Python | exercises/say/say.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 1 | 2021-05-15T19:59:04.000Z | 2021-05-15T19:59:04.000Z | exercises/say/say.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | null | null | null | exercises/say/say.py | RJTK/python | f9678d629735f75354bbd543eb7f10220a498dae | [
"MIT"
] | 2 | 2018-03-03T08:32:12.000Z | 2019-08-22T11:55:53.000Z | def say():
pass
| 6.666667 | 10 | 0.5 | 3 | 20 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.35 | 20 | 2 | 11 | 10 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b8565ccd1cce0653cee965c8a47310bee89511ac | 45 | py | Python | python/pyMolecular/__init__.py | ProkopHapala/SimpleSimulationEngine | 240f9b7e85b3a6eda7a27dc15fe3f7b8c08774c5 | [
"MIT"
] | 26 | 2016-12-04T04:45:12.000Z | 2022-03-24T09:39:28.000Z | python/pyplot3D/__init__.py | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | null | null | null | python/pyplot3D/__init__.py | Aki78/FlightAI | 9c5480f2392c9c89b9fee4902db0c4cde5323a6c | [
"MIT"
] | 2 | 2019-02-09T12:31:06.000Z | 2019-04-28T02:24:50.000Z | #!/usr/bin/python
from c_interface import *
| 11.25 | 25 | 0.733333 | 7 | 45 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 45 | 3 | 26 | 15 | 0.820513 | 0.355556 | 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 |
b881a0de4ba8674e7b85f3b74a39f820f924f4cb | 156 | py | Python | JumpscaleLib/clients/racktivity/energyswitch/modelfactory/models/RTF0032/Master_0_1_2_16.py | threefoldtech/jumpscale_lib9 | 03c1451133d777e5af106fcc6f75c1138bb997f2 | [
"Apache-2.0"
] | null | null | null | JumpscaleLib/clients/racktivity/energyswitch/modelfactory/models/RTF0032/Master_0_1_2_16.py | threefoldtech/jumpscale_lib9 | 03c1451133d777e5af106fcc6f75c1138bb997f2 | [
"Apache-2.0"
] | 220 | 2018-07-29T08:37:17.000Z | 2019-08-05T15:01:27.000Z | JumpscaleLib/clients/racktivity/energyswitch/modelfactory/models/RTF0032/Master_0_1_2_16.py | threefoldtech/jumpscale_lib9 | 03c1451133d777e5af106fcc6f75c1138bb997f2 | [
"Apache-2.0"
] | 1 | 2018-08-20T09:16:08.000Z | 2018-08-20T09:16:08.000Z | from JumpscaleLib.clients.racktivity.energyswitch.modelfactory.models.common.Master_0_1_2_16 import Model as ModelClass
class Model(ModelClass):
pass
| 26 | 119 | 0.839744 | 21 | 156 | 6.047619 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035461 | 0.096154 | 156 | 5 | 120 | 31.2 | 0.865248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b23b83eefd0c75199e8fe4a14276f479bef308ab | 208 | py | Python | infoblox/__init__.py | gmr/infoblox | 163dd9cff5f77c08751936c56aa8428acfd2d208 | [
"BSD-3-Clause"
] | 8 | 2015-01-13T23:27:10.000Z | 2021-06-17T20:46:53.000Z | infoblox/__init__.py | gmr/infoblox | 163dd9cff5f77c08751936c56aa8428acfd2d208 | [
"BSD-3-Clause"
] | 1 | 2016-09-27T17:22:07.000Z | 2016-09-27T17:22:07.000Z | infoblox/__init__.py | gmr/infoblox | 163dd9cff5f77c08751936c56aa8428acfd2d208 | [
"BSD-3-Clause"
] | 4 | 2015-12-16T15:55:59.000Z | 2018-01-18T17:00:24.000Z | __version__ = '1.1.1'
from infoblox.session import Session
from infoblox.record import Host
from infoblox.record import HostIPv4
from infoblox.record import HostIPv6
from infoblox.record import IPv4Address
| 23.111111 | 39 | 0.831731 | 29 | 208 | 5.827586 | 0.37931 | 0.35503 | 0.426036 | 0.568047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.120192 | 208 | 8 | 40 | 26 | 0.89071 | 0 | 0 | 0 | 0 | 0 | 0.024038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 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 |
b24dc3095665b259d7174e04c0db05458ccd0830 | 361 | py | Python | tests/fixtures/config.py | nickderobertis/flexlate | 81d6dbc2d87219a2a89266d6e8fb03310a24a3a1 | [
"MIT"
] | null | null | null | tests/fixtures/config.py | nickderobertis/flexlate | 81d6dbc2d87219a2a89266d6e8fb03310a24a3a1 | [
"MIT"
] | 25 | 2021-12-05T18:57:53.000Z | 2022-03-29T13:45:47.000Z | tests/fixtures/config.py | nickderobertis/flexlate | 81d6dbc2d87219a2a89266d6e8fb03310a24a3a1 | [
"MIT"
] | null | null | null | import shutil
import pytest
from tests.config import CONFIGS_DIR, GENERATED_FILES_DIR
from tests.dirutils import wipe_generated_folder
@pytest.fixture
def generated_dir_with_configs():
if GENERATED_FILES_DIR.exists():
shutil.rmtree(GENERATED_FILES_DIR)
shutil.copytree(CONFIGS_DIR, GENERATED_FILES_DI... | 22.5625 | 57 | 0.800554 | 48 | 361 | 5.666667 | 0.4375 | 0.205882 | 0.25 | 0.176471 | 0.198529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141274 | 361 | 15 | 58 | 24.066667 | 0.877419 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.363636 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b2590ce923209f7a5afd1350fecd53fb44146df0 | 152 | py | Python | Sem6/ITT LAB/LAB9/P1/members/models.py | ashiishjn/MIT-LAB | 8c4fcdca391a9cecf60114cd3a95f35673b7ec21 | [
"MIT"
] | 1 | 2022-01-28T05:12:28.000Z | 2022-01-28T05:12:28.000Z | Sem6/ITT LAB/LAB9/P1/members/models.py | ashiishjn/MIT-LAB | 8c4fcdca391a9cecf60114cd3a95f35673b7ec21 | [
"MIT"
] | null | null | null | Sem6/ITT LAB/LAB9/P1/members/models.py | ashiishjn/MIT-LAB | 8c4fcdca391a9cecf60114cd3a95f35673b7ec21 | [
"MIT"
] | null | null | null | from django.db import models
class Inventory(models.Model):
Itemname = models.CharField(max_length=255)
Quantity = models.CharField(max_length=255) | 30.4 | 45 | 0.796053 | 21 | 152 | 5.666667 | 0.666667 | 0.252101 | 0.302521 | 0.403361 | 0.453782 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 0.105263 | 152 | 5 | 46 | 30.4 | 0.830882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
a269ab14b73305888ea280133452402ad0fb4787 | 187 | py | Python | roworld/__init__.py | DrawZeroPoint/RoRL | 90a3eebdca119d00fbb2911d37ca4447cd0450b3 | [
"MIT"
] | null | null | null | roworld/__init__.py | DrawZeroPoint/RoRL | 90a3eebdca119d00fbb2911d37ca4447cd0450b3 | [
"MIT"
] | null | null | null | roworld/__init__.py | DrawZeroPoint/RoRL | 90a3eebdca119d00fbb2911d37ca4447cd0450b3 | [
"MIT"
] | null | null | null | from roworld.envs.mujoco import register_mujoco_envs
from roworld.envs.webots import register_webots_envs
def register_all_envs():
register_mujoco_envs()
register_webots_envs()
| 23.375 | 52 | 0.823529 | 26 | 187 | 5.538462 | 0.346154 | 0.152778 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 187 | 7 | 53 | 26.714286 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a27e53ecd110412aee84b1bfe8fc54ef7cb5afc7 | 181 | py | Python | howfairis/check_badge.py | andrewholding/badge | fc541811091c846f89164aae402aca3b5e9fc44e | [
"Apache-2.0"
] | null | null | null | howfairis/check_badge.py | andrewholding/badge | fc541811091c846f89164aae402aca3b5e9fc44e | [
"Apache-2.0"
] | null | null | null | howfairis/check_badge.py | andrewholding/badge | fc541811091c846f89164aae402aca3b5e9fc44e | [
"Apache-2.0"
] | null | null | null | def first_check():
pass
def second_check():
pass
def main():
print('badge checks TODO')
first_check()
second_check()
if __name__ == "__main__":
main()
| 10.647059 | 30 | 0.60221 | 22 | 181 | 4.409091 | 0.545455 | 0.206186 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265193 | 181 | 16 | 31 | 11.3125 | 0.729323 | 0 | 0 | 0.2 | 0 | 0 | 0.138122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | true | 0.2 | 0 | 0 | 0.3 | 0.1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a2a15880b0858773d0b0bf4877e06637b7b92a64 | 76 | py | Python | src/iOS/toga_iOS/libs/__init__.py | d3r3kk/toga | 2d8c0eb30371c4ef4f0610251233569e9c618e93 | [
"BSD-3-Clause"
] | null | null | null | src/iOS/toga_iOS/libs/__init__.py | d3r3kk/toga | 2d8c0eb30371c4ef4f0610251233569e9c618e93 | [
"BSD-3-Clause"
] | null | null | null | src/iOS/toga_iOS/libs/__init__.py | d3r3kk/toga | 2d8c0eb30371c4ef4f0610251233569e9c618e93 | [
"BSD-3-Clause"
] | null | null | null | from .core_graphics import *
from .foundation import *
from .uikit import *
| 19 | 28 | 0.763158 | 10 | 76 | 5.7 | 0.6 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 3 | 29 | 25.333333 | 0.890625 | 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 |
a2cc7dab968a2341817a5582c375f9e62be95bcc | 2,717 | py | Python | brahe/attitude.py | duncaneddy/brahe | 4a1746ef3c14211b0709de6e7e34b6f52fc0e686 | [
"MIT"
] | 14 | 2019-05-29T13:36:55.000Z | 2022-02-11T15:26:13.000Z | brahe/attitude.py | duncaneddy/brahe | 4a1746ef3c14211b0709de6e7e34b6f52fc0e686 | [
"MIT"
] | 1 | 2020-05-27T12:14:39.000Z | 2020-05-27T15:51:21.000Z | brahe/attitude.py | duncaneddy/brahe | 4a1746ef3c14211b0709de6e7e34b6f52fc0e686 | [
"MIT"
] | 2 | 2019-10-24T05:20:54.000Z | 2019-12-08T03:59:10.000Z | # -*- coding: utf-8 -*-
"""This module provides functions to convert between different attitude
representations, as well as computing
"""
# Imports
import logging
import copy
import math
import numpy as np
# Brahe Imports
from brahe.utils import logger
import brahe.constants as _const
from brahe.epoch import Epo... | 27.17 | 105 | 0.579683 | 362 | 2,717 | 4.323204 | 0.259669 | 0.023003 | 0.019169 | 0.017891 | 0.816613 | 0.810224 | 0.794888 | 0.794888 | 0.794888 | 0.794888 | 0 | 0.033229 | 0.29113 | 2,717 | 100 | 106 | 27.17 | 0.779335 | 0.542878 | 0 | 0.387097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.225806 | 0 | 0.419355 | 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 |
a2d3f890325b7f8e2af26862758e89f2a09de0b5 | 2,585 | py | Python | sherlockpipe/tests/test_quorum.py | franpoz/SHERLOCK | 6c9e79405aa84e86cd1d6c41fa1cc45d5dbcfb46 | [
"MIT"
] | 20 | 2020-09-25T13:18:46.000Z | 2022-03-09T14:01:03.000Z | sherlockpipe/tests/test_quorum.py | anthuil/SHERLOCK | e768a6375ded6c3ba1d07784afc2682e95228d3a | [
"MIT"
] | 74 | 2020-09-22T12:19:28.000Z | 2022-01-12T13:53:35.000Z | sherlockpipe/tests/test_quorum.py | anthuil/SHERLOCK | e768a6375ded6c3ba1d07784afc2682e95228d3a | [
"MIT"
] | 5 | 2020-10-19T10:01:05.000Z | 2021-12-16T10:23:24.000Z | import unittest
from sherlockpipe.scoring.QuorumSnrBorderCorrectedSignalSelector import QuorumSnrBorderCorrectedSignalSelector
class TestsQuorum(unittest.TestCase):
def test_t0s_matching(self):
quorum_selector = QuorumSnrBorderCorrectedSignalSelector()
assert quorum_selector.matches_t0(1, 1, 1, 1)... | 47.87037 | 110 | 0.694004 | 384 | 2,585 | 4.442708 | 0.125 | 0.320047 | 0.339977 | 0.215709 | 0.830012 | 0.809496 | 0.696366 | 0.485932 | 0.212778 | 0.095545 | 0 | 0.117362 | 0.202321 | 2,585 | 53 | 111 | 48.773585 | 0.70999 | 0 | 0 | 0.06383 | 0 | 0 | 0.003095 | 0 | 0 | 0 | 0 | 0 | 0.765957 | 1 | 0.06383 | false | 0 | 0.042553 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c38d1e9cf3b50fa6d53679211f3e8e60474b78d | 175 | py | Python | xendbg/xen/__init__.py | nspin/pyxendbg | c3d39e35e3319188558c8b8fd5cedf812ea7d15a | [
"MIT"
] | null | null | null | xendbg/xen/__init__.py | nspin/pyxendbg | c3d39e35e3319188558c8b8fd5cedf812ea7d15a | [
"MIT"
] | null | null | null | xendbg/xen/__init__.py | nspin/pyxendbg | c3d39e35e3319188558c8b8fd5cedf812ea7d15a | [
"MIT"
] | null | null | null | from xendbg.xen._bindings import ffi, lib
from xendbg.xen.exceptions import XenException
from xendbg.xen.xen import Xen
PROT_READ = lib.PROT_READ
PROT_WRITE = lib.PROT_WRITE
| 25 | 46 | 0.822857 | 29 | 175 | 4.793103 | 0.413793 | 0.215827 | 0.280576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 175 | 6 | 47 | 29.166667 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 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 |
0c4f008d2db56cbe1538fde384391bd926f8e872 | 131 | py | Python | tests/test_sombrero.py | basketwang/donkeypart_sombrero | 71ac5f75a9619c49122a8c838437119c802e2ca5 | [
"MIT"
] | 1 | 2020-01-04T23:27:14.000Z | 2020-01-04T23:27:14.000Z | tests/test_sombrero.py | basketwang/donkeypart_sombrero | 71ac5f75a9619c49122a8c838437119c802e2ca5 | [
"MIT"
] | null | null | null | tests/test_sombrero.py | basketwang/donkeypart_sombrero | 71ac5f75a9619c49122a8c838437119c802e2ca5 | [
"MIT"
] | 1 | 2019-05-11T23:39:57.000Z | 2019-05-11T23:39:57.000Z | # -*- coding: utf-8 -*-
from donkeypart_sombrero import Sombrero
def test_example():
"""Example test."""
assert 1 == 1
| 13.1 | 40 | 0.618321 | 16 | 131 | 4.9375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.221374 | 131 | 9 | 41 | 14.555556 | 0.745098 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7553c3266d142d86a5a6d21ac138301852dedf7 | 146 | py | Python | problems/0016/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | problems/0016/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | problems/0016/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | from euler.big_int import BigInt
from euler.numbers import digits_sum
def compute(n: int, p: int) -> int:
return digits_sum(BigInt(n) ** p)
| 20.857143 | 37 | 0.719178 | 25 | 146 | 4.08 | 0.56 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171233 | 146 | 6 | 38 | 24.333333 | 0.842975 | 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 |
a78b38bf66485edbdca617856aa1cc27d73f8ab3 | 117 | py | Python | utils/__init__.py | Chenzhoujia/Mobile_hand_tf-gnn-samples-master | 56236752bb06bcc60b4befb024cdd100aa9ce9ac | [
"MIT"
] | 864 | 2019-06-28T15:53:13.000Z | 2022-03-29T14:07:03.000Z | utils/__init__.py | Chenzhoujia/Mobile_hand_tf-gnn-samples-master | 56236752bb06bcc60b4befb024cdd100aa9ce9ac | [
"MIT"
] | 21 | 2019-08-12T16:45:17.000Z | 2022-02-21T10:03:05.000Z | utils/__init__.py | Chenzhoujia/Mobile_hand_tf-gnn-samples-master | 56236752bb06bcc60b4befb024cdd100aa9ce9ac | [
"MIT"
] | 218 | 2019-07-01T05:17:33.000Z | 2022-03-20T08:05:13.000Z | from .utils import SMALL_NUMBER, BIG_NUMBER, get_gated_unit, get_aggregation_function, get_activation, MLP, micro_f1
| 58.5 | 116 | 0.854701 | 18 | 117 | 5.111111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.08547 | 117 | 1 | 117 | 117 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ac83aa145e21442f53d871190c420b762c3ca559 | 347 | py | Python | cian/django/rentals/rent/views.py | craeyefish/sc_rentals | 4b39433b73a99091ae32ac62e1c48c3054fb923a | [
"MIT"
] | null | null | null | cian/django/rentals/rent/views.py | craeyefish/sc_rentals | 4b39433b73a99091ae32ac62e1c48c3054fb923a | [
"MIT"
] | null | null | null | cian/django/rentals/rent/views.py | craeyefish/sc_rentals | 4b39433b73a99091ae32ac62e1c48c3054fb923a | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def external_home(request):
return HttpResponse("This is the external home view.")
def home(request):
return HttpResponse("This is the home view.")
def login(reuquest):
return HttpResponse("This is the login view.")
def signup(reuquest):
return HttpResponse("This... | 24.785714 | 58 | 0.729107 | 47 | 347 | 5.361702 | 0.361702 | 0.285714 | 0.349206 | 0.380952 | 0.579365 | 0.579365 | 0.301587 | 0 | 0 | 0 | 0 | 0 | 0.175793 | 347 | 14 | 59 | 24.785714 | 0.881119 | 0 | 0 | 0 | 0 | 0 | 0.287356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
3bdd334335d1619488eb1b01fae9f35700cc51bc | 7,452 | py | Python | artifacts/old_dataset_versions/original_commits_v02/amazon-braket-sdk-python/amazon-braket-sdk-python#187/before/test_simulator_quantum_task.py | MattePalte/Bugs-Quantum-Computing-Platforms | 0c1c805fd5dfce465a8955ee3faf81037023a23e | [
"MIT"
] | 3 | 2021-11-08T11:46:42.000Z | 2021-12-27T10:13:38.000Z | artifacts/old_dataset_versions/minimal_commits/amazon-braket-sdk-python/amazon-braket-sdk-python#187/before/test_simulator_quantum_task.py | MattePalte/Bugs-Quantum-Computing-Platforms | 0c1c805fd5dfce465a8955ee3faf81037023a23e | [
"MIT"
] | 2 | 2021-11-09T14:57:09.000Z | 2022-01-12T12:35:58.000Z | artifacts/old_dataset_versions/original_commits_v02/amazon-braket-sdk-python/amazon-braket-sdk-python#187/before/test_simulator_quantum_task.py | MattePalte/Bugs-Quantum-Computing-Platforms | 0c1c805fd5dfce465a8955ee3faf81037023a23e | [
"MIT"
] | null | null | null | # Copyright 2019-2019 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" fil... | 41.631285 | 100 | 0.787976 | 965 | 7,452 | 5.613472 | 0.111917 | 0.168359 | 0.178881 | 0.101532 | 0.860439 | 0.847332 | 0.786044 | 0.742662 | 0.742662 | 0.733063 | 0 | 0.011605 | 0.121176 | 7,452 | 178 | 101 | 41.865169 | 0.815544 | 0.073135 | 0 | 0.418605 | 0 | 0 | 0.111546 | 0.059327 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131783 | false | 0 | 0.023256 | 0 | 0.155039 | 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 |
3bfbdc49bea86766488d6e1d9c52c4933f458322 | 47 | py | Python | advopt/classifier/nn/models/__init__.py | HSE-LAMBDA/rapid-ao | bf293e227796d73657345018b66ad0e58ab03569 | [
"MIT"
] | null | null | null | advopt/classifier/nn/models/__init__.py | HSE-LAMBDA/rapid-ao | bf293e227796d73657345018b66ad0e58ab03569 | [
"MIT"
] | null | null | null | advopt/classifier/nn/models/__init__.py | HSE-LAMBDA/rapid-ao | bf293e227796d73657345018b66ad0e58ab03569 | [
"MIT"
] | null | null | null | from .conv import Conv
from .dense import Dense | 23.5 | 24 | 0.808511 | 8 | 47 | 4.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 2 | 24 | 23.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 |
ce12c919aadc3991ad3e5f077baada5d52da733b | 34 | py | Python | angnet/__init__.py | sticktoFE/rpaserver | b77843188d383622c31ff33e60570fcfc882c873 | [
"Apache-2.0"
] | null | null | null | angnet/__init__.py | sticktoFE/rpaserver | b77843188d383622c31ff33e60570fcfc882c873 | [
"Apache-2.0"
] | null | null | null | angnet/__init__.py | sticktoFE/rpaserver | b77843188d383622c31ff33e60570fcfc882c873 | [
"Apache-2.0"
] | null | null | null | from .angle import AngleNetHandle
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
02187b1d97a60e261e8204a4a00eecf4af673f1a | 118 | py | Python | tests/__init__.py | atlefren/twkbpy | c7ca9874bc32e0d4f7630b8115fc4c3b95531e81 | [
"MIT"
] | 3 | 2016-11-27T21:18:21.000Z | 2017-07-02T19:44:58.000Z | tests/__init__.py | atlefren/twkbpy | c7ca9874bc32e0d4f7630b8115fc4c3b95531e81 | [
"MIT"
] | null | null | null | tests/__init__.py | atlefren/twkbpy | c7ca9874bc32e0d4f7630b8115fc4c3b95531e81 | [
"MIT"
] | 1 | 2021-03-13T04:47:29.000Z | 2021-03-13T04:47:29.000Z | import unittest
from decode_test import *
from geojson_test import *
if __name__ == '__main__':
unittest.main()
| 14.75 | 26 | 0.737288 | 15 | 118 | 5.133333 | 0.6 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177966 | 118 | 7 | 27 | 16.857143 | 0.793814 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
026faf67d1d71efbce434a69c8b18997fb5d5c1e | 3,070 | py | Python | src/test/test_get_domain.py | fufuok/PyAgent | f04b0d05e733b9989562934f2cdf1fa7a6af947a | [
"MIT"
] | 2 | 2021-11-19T04:10:18.000Z | 2021-12-01T02:39:56.000Z | src/test/test_get_domain.py | huyingjun/PyAgent | ff7096634aa8deb617d2fe9d47fd2c6fbf8ff9a4 | [
"MIT"
] | 1 | 2021-12-22T14:12:42.000Z | 2022-02-07T12:44:59.000Z | src/test/test_get_domain.py | huyingjun/PyAgent | ff7096634aa8deb617d2fe9d47fd2c6fbf8ff9a4 | [
"MIT"
] | 3 | 2021-12-04T02:50:07.000Z | 2021-12-27T03:49:35.000Z | # -*- coding:utf-8 -*-
"""
test_get_domain.py
~~~~~~~~
:author: Fufu, 2021/9/15
"""
import unittest
from ..libs.helper import get_domain, get_extend_domain, get_domain_host
class TestGetDomain(unittest.TestCase):
def test_get_domain(self):
for a, b in {
(None, 'f'),
(... | 32.659574 | 99 | 0.357003 | 399 | 3,070 | 2.639098 | 0.117794 | 0.168091 | 0.121557 | 0.119658 | 0.789174 | 0.777778 | 0.736942 | 0.707502 | 0.707502 | 0.707502 | 0 | 0.051217 | 0.357655 | 3,070 | 93 | 100 | 33.010753 | 0.482759 | 0.02443 | 0 | 0.696203 | 0 | 0 | 0.245378 | 0.065546 | 0 | 0 | 0 | 0 | 0.037975 | 1 | 0.037975 | false | 0 | 0.025316 | 0 | 0.075949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
5a2183aef90057095a9ea138dda9f1de51f49ee4 | 46 | py | Python | tests/bytecode/mp-tests/docstring2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 303 | 2015-07-11T17:12:55.000Z | 2018-01-08T03:02:37.000Z | tests/bytecode/mp-tests/docstring2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 13 | 2016-05-12T16:51:22.000Z | 2018-01-10T22:33:25.000Z | tests/bytecode/mp-tests/docstring2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 26 | 2018-01-18T09:15:33.000Z | 2022-02-07T13:09:14.000Z | # comment before doc string
"""Doc string"""
| 11.5 | 27 | 0.673913 | 6 | 46 | 5.166667 | 0.666667 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 3 | 28 | 15.333333 | 0.815789 | 0.804348 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5a2f5a7a7d8393b36ff8be4ea1798c682ea72215 | 44 | py | Python | project/common/__init__.py | nanvel/tornado-boilerplate | 7f059f456c6316b89ad7d0fc767b35167245ee65 | [
"MIT"
] | null | null | null | project/common/__init__.py | nanvel/tornado-boilerplate | 7f059f456c6316b89ad7d0fc767b35167245ee65 | [
"MIT"
] | null | null | null | project/common/__init__.py | nanvel/tornado-boilerplate | 7f059f456c6316b89ad7d0fc767b35167245ee65 | [
"MIT"
] | null | null | null | from .handlers import *
from .urls import *
| 14.666667 | 23 | 0.727273 | 6 | 44 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 24 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5a44746f9db582cb2d8a161f09ba1d0d547d8777 | 37 | py | Python | tests/test_template.py | maxmouchet/python-template | b9b5d17672ed82acfea8a95ed6bdef85c3817370 | [
"MIT"
] | 1 | 2020-07-19T08:56:17.000Z | 2020-07-19T08:56:17.000Z | tests/test_template.py | maxmouchet/python-template | b9b5d17672ed82acfea8a95ed6bdef85c3817370 | [
"MIT"
] | 2 | 2020-07-18T20:35:27.000Z | 2020-07-19T11:06:49.000Z | tests/test_template.py | maxmouchet/python-template | b9b5d17672ed82acfea8a95ed6bdef85c3817370 | [
"MIT"
] | null | null | null | def test_template():
assert True
| 12.333333 | 20 | 0.702703 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216216 | 37 | 2 | 21 | 18.5 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce71df70e4a7d4e7ff9d2b08f93ec4fc170c51cc | 28,628 | py | Python | test/augmentables/test_bbs.py | robingong/imgaug | 40839b54f85be1eaf9ee9cc07316f248dece1b51 | [
"MIT"
] | 1 | 2019-07-03T08:48:30.000Z | 2019-07-03T08:48:30.000Z | test/augmentables/test_bbs.py | yimol2018/imgaug | 702a257d5a89252ec0aab597f2cc42cfe82fd42b | [
"MIT"
] | null | null | null | test/augmentables/test_bbs.py | yimol2018/imgaug | 702a257d5a89252ec0aab597f2cc42cfe82fd42b | [
"MIT"
] | 1 | 2022-03-27T21:06:52.000Z | 2022-03-27T21:06:52.000Z | from __future__ import print_function, division, absolute_import
import time
import warnings
import sys
# unittest only added in 3.4 self.subTest()
if sys.version_info[0] < 3 or sys.version_info[1] < 4:
import unittest2 as unittest
else:
import unittest
# unittest.mock is not available in 2.7 (though unittest2... | 39.270233 | 108 | 0.624738 | 5,046 | 28,628 | 3.411613 | 0.039437 | 0.054371 | 0.057508 | 0.036247 | 0.833111 | 0.807319 | 0.77932 | 0.734824 | 0.697067 | 0.679291 | 0 | 0.136386 | 0.213462 | 28,628 | 728 | 109 | 39.324176 | 0.628148 | 0.02288 | 0 | 0.488372 | 0 | 0.006645 | 0.014892 | 0.004117 | 0 | 0 | 0 | 0 | 0.569767 | 1 | 0.004983 | false | 0 | 0.021595 | 0 | 0.026578 | 0.003322 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ce8e34ea68b7b98ca6d267163883fc37f07cf914 | 33 | py | Python | pexels_api/photos/__init__.py | quattrococodrilo/unofficial_pexels_api_client | a6cad2854df8a89f6806b244fa89e52859846abd | [
"MIT"
] | null | null | null | pexels_api/photos/__init__.py | quattrococodrilo/unofficial_pexels_api_client | a6cad2854df8a89f6806b244fa89e52859846abd | [
"MIT"
] | null | null | null | pexels_api/photos/__init__.py | quattrococodrilo/unofficial_pexels_api_client | a6cad2854df8a89f6806b244fa89e52859846abd | [
"MIT"
] | null | null | null | from .client import PhotosClient
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ceac7ef5069c543db89df53e197fea2b3eeb1369 | 129 | py | Python | nn_analysis/models/archs/barlowtwins/__init__.py | hchau630/nn-analysis | 0fbe7ad7b2b4566b9f88d8f21413a6d405f96bdc | [
"MIT"
] | null | null | null | nn_analysis/models/archs/barlowtwins/__init__.py | hchau630/nn-analysis | 0fbe7ad7b2b4566b9f88d8f21413a6d405f96bdc | [
"MIT"
] | null | null | null | nn_analysis/models/archs/barlowtwins/__init__.py | hchau630/nn-analysis | 0fbe7ad7b2b4566b9f88d8f21413a6d405f96bdc | [
"MIT"
] | null | null | null | __all__ = ['barlowtwins', 'equivariant_all_bn']
from .base import barlowtwins
from .equivariant_all_bn import equivariant_all_bn | 32.25 | 50 | 0.829457 | 17 | 129 | 5.705882 | 0.411765 | 0.43299 | 0.494845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 129 | 4 | 50 | 32.25 | 0.82906 | 0 | 0 | 0 | 0 | 0 | 0.223077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cab88f99fcf8af90a8cfa1e05152b8aa47bf419 | 206 | py | Python | ae/extraction/__init__.py | winner-hue/automatic_extraction | 5c0652f5e1033312d98bd484c1898d665adf9389 | [
"MIT"
] | 1 | 2022-02-17T10:46:42.000Z | 2022-02-17T10:46:42.000Z | ae/extraction/__init__.py | winner-hue/automatic_extraction | 5c0652f5e1033312d98bd484c1898d665adf9389 | [
"MIT"
] | null | null | null | ae/extraction/__init__.py | winner-hue/automatic_extraction | 5c0652f5e1033312d98bd484c1898d665adf9389 | [
"MIT"
] | null | null | null | from .content_extract import ContentExtract
from .title_extract import TitleExtract
from .time_extract import TimeExtract
from .author_extract import AuthorExtract
from .list_page_extract import ListExtract | 41.2 | 43 | 0.883495 | 26 | 206 | 6.769231 | 0.538462 | 0.369318 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092233 | 206 | 5 | 44 | 41.2 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0cdf819dfa95969bc0be6251f564e6575b26db10 | 2,304 | py | Python | lotteSinmungo_project/app/forms.py | Gobans/Likelion-LotteSinmungo | 9ced56a44d4177e5794c9e45ee3864d94f06d7c0 | [
"MIT"
] | null | null | null | lotteSinmungo_project/app/forms.py | Gobans/Likelion-LotteSinmungo | 9ced56a44d4177e5794c9e45ee3864d94f06d7c0 | [
"MIT"
] | 49 | 2020-10-10T03:19:20.000Z | 2020-10-23T14:27:10.000Z | lotteSinmungo_project/app/forms.py | Gobans/Likelion-LotteSinmungo | 9ced56a44d4177e5794c9e45ee3864d94f06d7c0 | [
"MIT"
] | 5 | 2020-10-10T03:18:01.000Z | 2020-10-11T04:52:42.000Z |
from .models import Problem,Solution
from django.contrib.auth.models import User
from django import forms
class ProblemForm(forms.ModelForm): # 만들어진 모델로부터 폼을 사용
class Meta:
model = Problem
fields = ('title','body','image')
widgets = {
'title': forms.TextInput(attrs={
'c... | 50.086957 | 261 | 0.584635 | 277 | 2,304 | 4.819495 | 0.277978 | 0.035955 | 0.041948 | 0.056929 | 0.807491 | 0.807491 | 0.807491 | 0.807491 | 0.751311 | 0.689888 | 0 | 0.056338 | 0.229601 | 2,304 | 46 | 262 | 50.086957 | 0.693521 | 0.023003 | 0 | 0.634146 | 0 | 0.097561 | 0.425579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.073171 | 0 | 0.268293 | 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 |
0b5c1f18661233875bac44a598cb3740a8ec4e57 | 1,285 | py | Python | role_set.py | kagihiro/discordpy-startup | 0e358d5eb594d0b7b50c51adac92497b82481f86 | [
"MIT"
] | null | null | null | role_set.py | kagihiro/discordpy-startup | 0e358d5eb594d0b7b50c51adac92497b82481f86 | [
"MIT"
] | null | null | null | role_set.py | kagihiro/discordpy-startup | 0e358d5eb594d0b7b50c51adac92497b82481f86 | [
"MIT"
] | null | null | null | from discord.ext import commands
import discode_utils
import gss_controller
async def add_role(ctx):
data_list = gss_controller.get_name_and_role_list(0)
guild = ctx.guild
for data in data_list:
(member_name,role_id) = data
member = guild.get_member_named(member_name)
if member is N... | 30.595238 | 65 | 0.582101 | 167 | 1,285 | 4.263473 | 0.245509 | 0.08427 | 0.067416 | 0.073034 | 0.786517 | 0.786517 | 0.786517 | 0.786517 | 0.786517 | 0.786517 | 0 | 0.012866 | 0.33463 | 1,285 | 41 | 66 | 31.341463 | 0.819883 | 0.047471 | 0 | 0.756757 | 0 | 0 | 0.03276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.081081 | 0 | 0.243243 | 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 |
0b6d392d4b0867270f7c67aa3f79d7076809a840 | 100 | py | Python | tests/helpers/django_project/filters.py | gtors/stories | 0614624f472151f20617afa4e6c4a0af9b409b6d | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/django_project/filters.py | gtors/stories | 0614624f472151f20617afa4e6c4a0af9b409b6d | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/django_project/filters.py | gtors/stories | 0614624f472151f20617afa4e6c4a0af9b409b6d | [
"BSD-2-Clause"
] | null | null | null | from django_filters.rest_framework import FilterSet
class SubscriptionFilter(FilterSet):
pass
| 16.666667 | 51 | 0.83 | 11 | 100 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 5 | 52 | 20 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0b888b7734e8bf827484c82e3b3e5cad79dae17b | 1,582 | py | Python | MPO/mpo/critic.py | joycenerd/Reinforcement_Learning_2021 | 9730d69f39cea9bbe9fe960467aa4ef1278f5060 | [
"MIT"
] | null | null | null | MPO/mpo/critic.py | joycenerd/Reinforcement_Learning_2021 | 9730d69f39cea9bbe9fe960467aa4ef1278f5060 | [
"MIT"
] | null | null | null | MPO/mpo/critic.py | joycenerd/Reinforcement_Learning_2021 | 9730d69f39cea9bbe9fe960467aa4ef1278f5060 | [
"MIT"
] | null | null | null | import torch
import torch.nn.functional as F
import torch.nn as nn
import torch.tensor
class CriticContinuous(nn.Module):
"""
:param env: OpenAI gym environment
"""
def __init__(self, env):
super(CriticContinuous, self).__init__()
self.env = env
self.ds = env.observation_space... | 26.813559 | 59 | 0.538559 | 219 | 1,582 | 3.799087 | 0.210046 | 0.057692 | 0.052885 | 0.048077 | 0.769231 | 0.769231 | 0.733173 | 0.733173 | 0.733173 | 0.733173 | 0 | 0.045788 | 0.309735 | 1,582 | 58 | 60 | 27.275862 | 0.716117 | 0.152339 | 0 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.352941 | 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 |
0b92523afdbb6be2420d8042469b871cbffa7949 | 220 | py | Python | pgdrive/__init__.py | Edwardhk/pgdrive | 649d32309ab2cec2a2d00283ce400af28ca85199 | [
"Apache-2.0"
] | null | null | null | pgdrive/__init__.py | Edwardhk/pgdrive | 649d32309ab2cec2a2d00283ce400af28ca85199 | [
"Apache-2.0"
] | null | null | null | pgdrive/__init__.py | Edwardhk/pgdrive | 649d32309ab2cec2a2d00283ce400af28ca85199 | [
"Apache-2.0"
] | null | null | null | import pgdrive.register
from pgdrive.envs import PGDriveEnv, GeneralizationRacing, ActionRepeat, ChangeFrictionEnv, RemotePGDrive, \
TopDownPGDriveEnv, TopDownSingleFramePGDriveEnv, PGDriveEnvV2, TopDownPGDriveEnvV2
| 55 | 108 | 0.863636 | 16 | 220 | 11.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00995 | 0.086364 | 220 | 3 | 109 | 73.333333 | 0.935323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
f050697cb4714237efe3acc5ff92943293b40520 | 165 | py | Python | Chapter 09/Chap09_Example9.23.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 09/Chap09_Example9.23.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 09/Chap09_Example9.23.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | with open("myfileno.txt",'w') as myfile1:
print("The file descriptor is: ", myfile1.fileno()) # FN1
print("The file descriptor is: ", myfile1.fileno()) # FN2
| 41.25 | 62 | 0.660606 | 23 | 165 | 4.73913 | 0.652174 | 0.146789 | 0.220183 | 0.40367 | 0.678899 | 0.678899 | 0.678899 | 0 | 0 | 0 | 0 | 0.036232 | 0.163636 | 165 | 3 | 63 | 55 | 0.753623 | 0.042424 | 0 | 0.666667 | 0 | 0 | 0.401316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.666667 | 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 |
f056627a78724ed8d1dd317e667b6c5ebdc9c6a4 | 41 | py | Python | usage_demo/my_other_program.py | aroberge/ideas | f0c8a49f7030276f629101480be77138db07d881 | [
"MIT"
] | 36 | 2020-02-23T19:06:24.000Z | 2022-02-20T22:53:02.000Z | usage_demo/my_other_program.py | aroberge/ideas | f0c8a49f7030276f629101480be77138db07d881 | [
"MIT"
] | 13 | 2020-02-21T15:25:40.000Z | 2021-07-01T09:56:35.000Z | usage_demo/my_other_program.py | aroberge/ideas | f0c8a49f7030276f629101480be77138db07d881 | [
"MIT"
] | 1 | 2020-11-05T13:12:07.000Z | 2020-11-05T13:12:07.000Z | # my_other_program.py
import my_program
| 10.25 | 21 | 0.829268 | 7 | 41 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 3 | 22 | 13.666667 | 0.861111 | 0.463415 | 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 |
b2b7eabb86de57c0193ff684ece4c429ef046368 | 25 | py | Python | client/__init__.py | heni/rem | 00caa0e2e6b0bd0091e8290c1e11884c8c45d347 | [
"MIT"
] | 14 | 2015-03-25T08:31:02.000Z | 2022-03-31T10:58:40.000Z | client/__init__.py | heni/rem | 00caa0e2e6b0bd0091e8290c1e11884c8c45d347 | [
"MIT"
] | 3 | 2015-02-07T16:00:01.000Z | 2015-10-07T11:39:27.000Z | client/__init__.py | heni/rem | 00caa0e2e6b0bd0091e8290c1e11884c8c45d347 | [
"MIT"
] | 6 | 2015-02-06T16:43:05.000Z | 2020-02-18T13:43:31.000Z | from .remclient import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
651e007cde6f78e720c157b8c95c699bc0bbdf94 | 48 | py | Python | phenotrex/util/__init__.py | univieCUBE/PICA2 | 59b72fa1ff00692af2fd4ca59d1514599238e2e5 | [
"MIT"
] | 2 | 2019-10-18T16:05:25.000Z | 2019-10-31T08:49:10.000Z | phenotrex/util/__init__.py | univieCUBE/PICA2 | 59b72fa1ff00692af2fd4ca59d1514599238e2e5 | [
"MIT"
] | 11 | 2019-08-27T14:26:38.000Z | 2019-10-29T21:23:41.000Z | phenotrex/util/__init__.py | univieCUBE/PICA2 | 59b72fa1ff00692af2fd4ca59d1514599238e2e5 | [
"MIT"
] | 1 | 2019-10-15T07:27:03.000Z | 2019-10-15T07:27:03.000Z | #
# Created by Lukas Lüftinger on 05/02/2019.
#
| 12 | 43 | 0.6875 | 8 | 48 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0.1875 | 48 | 3 | 44 | 16 | 0.641026 | 0.854167 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
652a98cd998eee4e68a70370cf9fae1a5c1da780 | 36 | py | Python | app/views/__init__.py | MikhailZhyhariev/simple-django-react-project-template | 303b7c43c7559358d313151975eb1d6ad3bd2858 | [
"MIT"
] | null | null | null | app/views/__init__.py | MikhailZhyhariev/simple-django-react-project-template | 303b7c43c7559358d313151975eb1d6ad3bd2858 | [
"MIT"
] | 6 | 2020-06-05T19:59:40.000Z | 2022-02-12T07:11:03.000Z | app/views/__init__.py | MikhailZhyhariev/simple-django-react-project-template | 303b7c43c7559358d313151975eb1d6ad3bd2858 | [
"MIT"
] | null | null | null | from .index import IndexView # noqa
| 18 | 35 | 0.777778 | 5 | 36 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 0.933333 | 0.111111 | 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 |
653672fb285472bc1876812f536ae333f73b3f5d | 33 | py | Python | lambdata/example_module.py | DevinJMantz/lambdata-25 | c990460244d0604cb688a7d89b92d9fd330605db | [
"MIT"
] | null | null | null | lambdata/example_module.py | DevinJMantz/lambdata-25 | c990460244d0604cb688a7d89b92d9fd330605db | [
"MIT"
] | null | null | null | lambdata/example_module.py | DevinJMantz/lambdata-25 | c990460244d0604cb688a7d89b92d9fd330605db | [
"MIT"
] | null | null | null | def plus_one(x):
return x + 1 | 16.5 | 16 | 0.606061 | 7 | 33 | 2.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.272727 | 33 | 2 | 17 | 16.5 | 0.75 | 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 |
65426062e123f8426d2cfd0cc2358e5d2c66ccaa | 7,134 | py | Python | instances/optimization/20210422-1717/pas1/inst-20210422-1717-c90-pas1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/optimization/20210422-1717/pas1/inst-20210422-1717-c90-pas1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/optimization/20210422-1717/pas1/inst-20210422-1717-c90-pas1.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PERIODS
"""
numPeriods = 180
"""
STOPS
"""
numStations = 13
station_names = (
"Hamburg Hbf", # 0
"Landwehr", # 1
"Hasselbrook", # 2
"Wansbeker Chaussee*", # 3
"Friedrichsberg*", # 4
"Barmbek*", # 5
"Alte Woehr (Stadtpark)", # 6
"Ruebenkamp (City Nord)", # 7
"Ohlsdorf*", # 8
"Kornweg", # 9
... | 16.513889 | 108 | 0.421222 | 1,543 | 7,134 | 1.917045 | 0.14582 | 0.407708 | 0.560852 | 0.684246 | 0.258959 | 0.257268 | 0.255916 | 0.254564 | 0.253212 | 0.251859 | 0 | 0.428882 | 0.355481 | 7,134 | 431 | 109 | 16.552204 | 0.214441 | 0.216288 | 0 | 0.548128 | 0 | 0 | 0.038249 | 0.004338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010695 | 0 | 0 | 0 | 0 | 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 |
e8e7e488b97536594497ce36fc41aea8abcf6846 | 173 | py | Python | apps/life_sci/python/dgllife/data/__init__.py | LunaBlack/dgl | bd1e48a51e348b0e8e25622325adeb5ddea1c0ea | [
"Apache-2.0"
] | 2 | 2021-12-09T12:36:13.000Z | 2022-03-01T21:22:36.000Z | apps/life_sci/python/dgllife/data/__init__.py | sherry-1001/dgl | 60d2e7d3c928d43bbb18e7ab17c066451c49f649 | [
"Apache-2.0"
] | null | null | null | apps/life_sci/python/dgllife/data/__init__.py | sherry-1001/dgl | 60d2e7d3c928d43bbb18e7ab17c066451c49f649 | [
"Apache-2.0"
] | 2 | 2020-12-07T09:34:01.000Z | 2020-12-13T06:18:58.000Z | """Dataset classes."""
from .alchemy import *
from .csv_dataset import *
from .pdbbind import *
from .pubchem_aromaticity import *
from .tox21 import *
from .uspto import *
| 21.625 | 34 | 0.739884 | 22 | 173 | 5.727273 | 0.5 | 0.396825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0.150289 | 173 | 7 | 35 | 24.714286 | 0.843537 | 0.092486 | 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 |
e8efa969646b8fdfb345a0fddc7fc65ad77c4178 | 16,383 | py | Python | src/storage/s3v2OS.py | fgeorgatos/firecrest | 238cb963724400d5c2c6164a6d13ed835abd2856 | [
"BSD-3-Clause"
] | null | null | null | src/storage/s3v2OS.py | fgeorgatos/firecrest | 238cb963724400d5c2c6164a6d13ed835abd2856 | [
"BSD-3-Clause"
] | null | null | null | src/storage/s3v2OS.py | fgeorgatos/firecrest | 238cb963724400d5c2c6164a6d13ed835abd2856 | [
"BSD-3-Clause"
] | null | null | null | #
# Copyright (c) 2019-2021, ETH Zurich. All rights reserved.
#
# Please, refer to the LICENSE file in the root directory.
# SPDX-License-Identifier: BSD-3-Clause
#
from xml.etree import ElementTree
from io import StringIO, BytesIO
import urllib.request, urllib.parse, urllib.error
from objectstorage import ObjectSt... | 38.639151 | 143 | 0.596838 | 1,770 | 16,383 | 5.440113 | 0.130508 | 0.028663 | 0.048603 | 0.029702 | 0.779209 | 0.7655 | 0.756673 | 0.741614 | 0.731644 | 0.715962 | 0 | 0.018728 | 0.282976 | 16,383 | 423 | 144 | 38.730496 | 0.80097 | 0.181224 | 0 | 0.638889 | 0 | 0.015873 | 0.130763 | 0.072231 | 0 | 0 | 0 | 0.002364 | 0 | 1 | 0.051587 | false | 0.075397 | 0.039683 | 0.015873 | 0.186508 | 0.007937 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
331fd8053dc7a32ac1cdce98cc8091e3bb9cdad0 | 7,489 | py | Python | src/tests/illumidesk/lti13/test_lti13_config_handler.py | jgwerner/illumidesk.next | a571b086e992e5f4562d3a605ca45b7ee4352def | [
"Apache-2.0"
] | null | null | null | src/tests/illumidesk/lti13/test_lti13_config_handler.py | jgwerner/illumidesk.next | a571b086e992e5f4562d3a605ca45b7ee4352def | [
"Apache-2.0"
] | 2 | 2021-05-25T13:27:12.000Z | 2021-05-25T13:33:34.000Z | src/tests/illumidesk/lti13/test_lti13_config_handler.py | jgwerner/illumidesk.next | a571b086e992e5f4562d3a605ca45b7ee4352def | [
"Apache-2.0"
] | 2 | 2020-10-24T00:06:22.000Z | 2020-10-27T00:03:32.000Z | import json
import pytest
from tornado.web import RequestHandler
from unittest.mock import patch
from illumidesk.lti13.handlers import LTI13ConfigHandler
@pytest.mark.asyncio
@patch('tornado.web.RequestHandler.write')
async def test_get_method_calls_write_method(mock_write, lti13_config_environ, make_mock_request_... | 38.603093 | 115 | 0.731606 | 974 | 7,489 | 5.335729 | 0.117043 | 0.057726 | 0.04618 | 0.067731 | 0.853762 | 0.831441 | 0.831441 | 0.819319 | 0.819319 | 0.80989 | 0 | 0.008911 | 0.190813 | 7,489 | 193 | 116 | 38.803109 | 0.84868 | 0.128322 | 0 | 0.66129 | 0 | 0 | 0.120588 | 0.051557 | 0 | 0 | 0 | 0 | 0.137097 | 1 | 0 | false | 0 | 0.040323 | 0 | 0.040323 | 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 |
3365f33cf9145593592ea8f71aa448324405aad0 | 28 | py | Python | yatq/__init__.py | huntflow/yatq | 7b882f1a74681d50bd8d4729d35418ce40504d6e | [
"MIT"
] | null | null | null | yatq/__init__.py | huntflow/yatq | 7b882f1a74681d50bd8d4729d35418ce40504d6e | [
"MIT"
] | 1 | 2021-08-31T07:33:45.000Z | 2021-08-31T07:33:45.000Z | yatq/__init__.py | huntflow/yatq | 7b882f1a74681d50bd8d4729d35418ce40504d6e | [
"MIT"
] | 1 | 2021-08-07T07:57:25.000Z | 2021-08-07T07:57:25.000Z | from .worker.cli import run
| 14 | 27 | 0.785714 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68341b40d13ca4db19d9348142b3f0d91acc24b4 | 30,007 | py | Python | pvfit/modeling/single_diode/equation.py | markcampanelli/pvfit-m | 6e2b9e0797b40de8eb587ec50102421cd2071b9e | [
"MIT"
] | 3 | 2019-08-13T07:19:04.000Z | 2019-08-16T22:44:49.000Z | pvfit/modeling/single_diode/equation.py | markcampanelli/pvfit-m | 6e2b9e0797b40de8eb587ec50102421cd2071b9e | [
"MIT"
] | 10 | 2019-08-09T15:40:51.000Z | 2019-09-06T06:06:20.000Z | pvfit/modeling/single_diode/equation.py | markcampanelli/pvfit-m | 6e2b9e0797b40de8eb587ec50102421cd2071b9e | [
"MIT"
] | 2 | 2019-08-13T18:44:01.000Z | 2019-08-14T13:42:32.000Z | from typing import Optional, Union
import numpy
from scipy.constants import convert_temperature
from scipy.optimize import minimize_scalar, newton
from pvfit.common.constants import I_sum_A_atol, k_B_J_per_K, q_C
from pvfit.common.utils import ensure_numpy_scalars
def current_sum_at_diode_node(
*, V_V: Union[fl... | 37.045679 | 119 | 0.648982 | 5,047 | 30,007 | 3.554983 | 0.054884 | 0.064876 | 0.072957 | 0.089511 | 0.855312 | 0.830732 | 0.813733 | 0.784528 | 0.762847 | 0.758555 | 0 | 0.019474 | 0.250442 | 30,007 | 809 | 120 | 37.091471 | 0.776587 | 0.471923 | 0 | 0.519553 | 0 | 0 | 0.03773 | 0.006939 | 0 | 0 | 0 | 0 | 0.011173 | 1 | 0.089385 | false | 0 | 0.03352 | 0.01676 | 0.212291 | 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 |
683a88533e5dbf182a369924c55de087854878c0 | 30 | py | Python | movo_common/movo_third_party/executive_smach_visualization/smach_viewer/src/smach_viewer/xdot/__init__.py | zkytony/kinova-movo | 37d7454b2dc589d44133f3913f567b9cc321a66d | [
"BSD-3-Clause"
] | 4 | 2021-01-23T18:35:43.000Z | 2021-12-26T09:03:53.000Z | movo_common/movo_third_party/executive_smach_visualization/smach_viewer/src/smach_viewer/xdot/__init__.py | ALAN-NUS/kinova_movo | 05a0451f5c563359ae0ffe3280e1df85caec9e55 | [
"BSD-3-Clause"
] | 10 | 2021-11-13T21:18:33.000Z | 2022-03-11T23:11:23.000Z | movo_common/movo_third_party/executive_smach_visualization/smach_viewer/src/smach_viewer/xdot/__init__.py | ALAN-NUS/kinova_movo | 05a0451f5c563359ae0ffe3280e1df85caec9e55 | [
"BSD-3-Clause"
] | 2 | 2022-02-06T11:24:43.000Z | 2022-02-09T20:13:40.000Z | import wxxdot
import xdot_qt
| 7.5 | 14 | 0.833333 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 3 | 15 | 10 | 0.96 | 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 |
6840a49e1a1dd7203ef1218f20239c81633a7b67 | 23 | py | Python | Chapter 07/ch7_1l.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 07/ch7_1l.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | Chapter 07/ch7_1l.py | bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE | f6a4194684515495d00aa38347a725dd08f39a0c | [
"MIT"
] | null | null | null | print(lambda x: x*x 10) | 23 | 23 | 0.695652 | 6 | 23 | 2.666667 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.130435 | 23 | 1 | 23 | 23 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6876beeb834439df74be45591a6d1ddb12281749 | 23,744 | py | Python | Code/VR_methods.py | svsamsonov/VR-MCMC | 335ffb0835917b1cdce633877099c8452e3aeb78 | [
"MIT"
] | 2 | 2019-07-18T12:18:53.000Z | 2020-09-03T09:12:21.000Z | Code/VR_methods.py | svsamsonov/VR-MCMC | 335ffb0835917b1cdce633877099c8452e3aeb78 | [
"MIT"
] | 1 | 2020-11-17T21:05:00.000Z | 2020-11-17T21:05:00.000Z | Code/VR_methods.py | svsamsonov/VR-MCMC | 335ffb0835917b1cdce633877099c8452e3aeb78 | [
"MIT"
] | null | null | null | import numpy as np
from baselines import set_f,PWP_fast,Spectral_var,compute_poisson,compute_L_poisson,qform_q,cur_func
#first-order control variates: ZAV, ZV, LS
def qform_1_ESVM(a,f_vals,X_grad,W,ind,n,alpha):
"""
ESVM quadratic form computation: asymptotic variance estimator based on kernel W;
"""
... | 39.181518 | 129 | 0.594129 | 4,116 | 23,744 | 3.251215 | 0.063654 | 0.031759 | 0.025557 | 0.017262 | 0.863772 | 0.842251 | 0.815723 | 0.787775 | 0.772904 | 0.763712 | 0 | 0.017875 | 0.22014 | 23,744 | 606 | 130 | 39.181518 | 0.704812 | 0.292242 | 0 | 0.619938 | 0 | 0 | 0.017087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115265 | false | 0 | 0.006231 | 0 | 0.23676 | 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 |
6882e93721127013ffe2143b973352eaec4a85f8 | 2,192 | py | Python | output/models/wg_data/sg/snneg_xsd/snneg.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/wg_data/sg/snneg_xsd/snneg.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/wg_data/sg/snneg_xsd/snneg.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from typing import List, Optional
__NAMESPACE__ = "http://www.w3.org/XML/2008/xsdl-exx/ns1"
@dataclass
class T:
s1: Optional[str] = field(
default=None,
metadata={
"type": "Element",
"namespace": "http://www.w3.org/XML/2008/xsdl-exx... | 19.06087 | 67 | 0.491788 | 233 | 2,192 | 4.600858 | 0.175966 | 0.121269 | 0.149254 | 0.16791 | 0.735075 | 0.735075 | 0.735075 | 0.735075 | 0.735075 | 0.735075 | 0 | 0.045969 | 0.354927 | 2,192 | 114 | 68 | 19.22807 | 0.712164 | 0 | 0 | 0.56383 | 0 | 0 | 0.244069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021277 | 0 | 0.255319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d7bc9dd713bc704f96cf61d4e77c98bd32dc1582 | 81 | py | Python | train_config/training_server/image_classification/tensornet/utils/__init__.py | shan18/Flash | 796a5f4d4afb757142ae8d2e68611c31907a4b43 | [
"MIT"
] | 20 | 2021-01-15T14:50:59.000Z | 2022-03-03T16:13:47.000Z | train_config/training_server/image_classification/tensornet/utils/__init__.py | shan18/Flash | 796a5f4d4afb757142ae8d2e68611c31907a4b43 | [
"MIT"
] | 12 | 2021-01-11T11:31:49.000Z | 2021-12-14T07:31:50.000Z | train_config/training_server/image_classification/tensornet/utils/__init__.py | shan18/Flash | 796a5f4d4afb757142ae8d2e68611c31907a4b43 | [
"MIT"
] | 4 | 2021-01-16T14:56:50.000Z | 2021-01-20T14:58:18.000Z | from .cuda import *
from .display import *
from .progress_bar import ProgressBar
| 20.25 | 37 | 0.790123 | 11 | 81 | 5.727273 | 0.636364 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 81 | 3 | 38 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d7beaef61881e911dc450d9ddf4fc99fa32772a8 | 1,225 | py | Python | all_any_timeit.py | dikshith/allcode | b5563f9d9f1839c50396a2d4de70aac5bceb318f | [
"MIT"
] | null | null | null | all_any_timeit.py | dikshith/allcode | b5563f9d9f1839c50396a2d4de70aac5bceb318f | [
"MIT"
] | null | null | null | all_any_timeit.py | dikshith/allcode | b5563f9d9f1839c50396a2d4de70aac5bceb318f | [
"MIT"
] | null | null | null | import timeit
l = list(range(100000))
print(l[:5])
# [0, 1, 2, 3, 4]
print(l[-5:])
# [99995, 99996, 99997, 99998, 99999]
print(len(l))
# 100000
%%timeit
all([i < 0 for i in l])
# 4.15 ms ± 117 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
%%timeit
all(i < 0 for i in l)
# 469 ns ± 6.12 ns per loop (mean ... | 23.557692 | 76 | 0.604082 | 289 | 1,225 | 2.629758 | 0.207612 | 0.052632 | 0.078947 | 0.092105 | 0.781579 | 0.781579 | 0.781579 | 0.744737 | 0.744737 | 0.718421 | 0 | 0.17957 | 0.240816 | 1,225 | 51 | 77 | 24.019608 | 0.616129 | 0.633469 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04 | null | null | 0.12 | 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 |
d7e7577d849229955e1004e8bf6f78a80efd8b3d | 47 | py | Python | stacking/__init__.py | tsterbak/scikit-stack | 9d61d70f85ea5b7e5526b907a9c507e351931ba5 | [
"BSD-3-Clause"
] | 1 | 2018-06-29T15:19:46.000Z | 2018-06-29T15:19:46.000Z | stacking/__init__.py | tsterbak/scikit-stack | 9d61d70f85ea5b7e5526b907a9c507e351931ba5 | [
"BSD-3-Clause"
] | null | null | null | stacking/__init__.py | tsterbak/scikit-stack | 9d61d70f85ea5b7e5526b907a9c507e351931ba5 | [
"BSD-3-Clause"
] | null | null | null | '''
Created on 14.04.2016
@author: Tobias
'''
| 7.833333 | 21 | 0.617021 | 7 | 47 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 0.170213 | 47 | 5 | 22 | 9.4 | 0.538462 | 0.808511 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
040502f6c5574002c08062430cdf0e4d0a13c36b | 18,247 | py | Python | test/getCalibrationData_test.py | tzolnai/tobii_calibration | 768ff4e672186840c8de655799a6b943daf35ea7 | [
"Apache-2.0"
] | null | null | null | test/getCalibrationData_test.py | tzolnai/tobii_calibration | 768ff4e672186840c8de655799a6b943daf35ea7 | [
"Apache-2.0"
] | null | null | null | test/getCalibrationData_test.py | tzolnai/tobii_calibration | 768ff4e672186840c8de655799a6b943daf35ea7 | [
"Apache-2.0"
] | null | null | null | # Authors:
# Tamás Zolnai (zolnaitamas2000@gmail.com)
# License: Apache License 2.0, see LICENSE.txt for more details.
import unittest
import sys
# Add the local path of the calibrator module,
# test that instead of the system installed one.
sys.path = ["../tobii_calibration"] + ["../externals/psychopy_mock"] + sys.... | 41.56492 | 93 | 0.585082 | 2,148 | 18,247 | 4.89013 | 0.094972 | 0.021896 | 0.023134 | 0.024372 | 0.847867 | 0.842441 | 0.813214 | 0.810358 | 0.765327 | 0.762471 | 0 | 0.065655 | 0.295501 | 18,247 | 439 | 94 | 41.56492 | 0.751459 | 0.087795 | 0 | 0.692042 | 0 | 0 | 0.005793 | 0.001569 | 0 | 0 | 0 | 0 | 0.391003 | 1 | 0.058824 | false | 0.00692 | 0.027682 | 0.00692 | 0.100346 | 0.00346 | 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 |
042cd06931e0f8172605fc7dfd03e42f2b05ba80 | 18,202 | py | Python | bootwrap/components/collection.py | aitorres/bootwrap | dd03d2790e3abda8f461cc92203225643b6077f7 | [
"MIT"
] | null | null | null | bootwrap/components/collection.py | aitorres/bootwrap | dd03d2790e3abda8f461cc92203225643b6077f7 | [
"MIT"
] | null | null | null | bootwrap/components/collection.py | aitorres/bootwrap | dd03d2790e3abda8f461cc92203225643b6077f7 | [
"MIT"
] | null | null | null | """
A collection of items.
"""
from .base import WebComponent, ClassMixin
from .anchor import Anchor
from .button import Button
from .text import Text
from .utils import attr, inject
class List(WebComponent, ClassMixin):
"""A web component for a list of items.
Args:
*items (list): The `list` of `Lis... | 33.583026 | 79 | 0.455115 | 1,763 | 18,202 | 4.575723 | 0.081112 | 0.0119 | 0.051816 | 0.054543 | 0.8567 | 0.804636 | 0.781827 | 0.762489 | 0.762489 | 0.762489 | 0 | 0.039351 | 0.424788 | 18,202 | 541 | 80 | 33.645102 | 0.731137 | 0.543841 | 0 | 0.612121 | 0 | 0.006061 | 0.388691 | 0.055897 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.030303 | 0 | 0.163636 | 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 |
0459961bffe813a53ad34429d16b15a070be520b | 10,142 | py | Python | plgx-esp/tests/test_functional/test_enroll.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | null | null | null | plgx-esp/tests/test_functional/test_enroll.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | null | null | null | plgx-esp/tests/test_functional/test_enroll.py | eclecticiq/eiq-er-ce | ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94 | [
"MIT"
] | 2 | 2021-11-12T10:25:02.000Z | 2022-03-30T06:33:52.000Z | # -*- coding: utf-8 -*-
from flask import url_for
from polylogyx.db.models import Node, Tag
from ..factories import NodeFactory, TagFactory
class TestEnrolling:
def test_bad_post_request(self, node, testapp):
resp = testapp.post_json(
url_for("api.enroll"),
params={"host_identi... | 36.351254 | 86 | 0.590909 | 1,263 | 10,142 | 4.498021 | 0.112431 | 0.103503 | 0.052808 | 0.024292 | 0.831896 | 0.807428 | 0.792114 | 0.787185 | 0.775216 | 0.766062 | 0 | 0.02379 | 0.282982 | 10,142 | 278 | 87 | 36.482014 | 0.757426 | 0.038355 | 0 | 0.659193 | 0 | 0 | 0.166342 | 0.049051 | 0 | 0 | 0 | 0 | 0.273543 | 1 | 0.049327 | false | 0 | 0.013453 | 0 | 0.067265 | 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 |
f0a1536dbd3b8fb9567385682691217820ac35c5 | 13,309 | py | Python | SARSA_and_QL.py | sandeshrjain/DRL-RL-basics | e0004b47ec02794ec973e1902495b33bc57b3d63 | [
"MIT"
] | null | null | null | SARSA_and_QL.py | sandeshrjain/DRL-RL-basics | e0004b47ec02794ec973e1902495b33bc57b3d63 | [
"MIT"
] | null | null | null | SARSA_and_QL.py | sandeshrjain/DRL-RL-basics | e0004b47ec02794ec973e1902495b33bc57b3d63 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Feb 28 20:47:18 2022
@author: Sandesh Jain
"""
import gym
import collections
import numpy as np
ENV_NAME = "FrozenLake-v0" #you can pick any other grid-world as well,
# e.g., 8x8 frozen lake
GAMMA = 0.9 #Discount rate
TEST_EPSDS = 00... | 31.537915 | 136 | 0.486813 | 1,542 | 13,309 | 4.032425 | 0.132296 | 0.030396 | 0.025088 | 0.02734 | 0.794307 | 0.782888 | 0.769218 | 0.760856 | 0.747668 | 0.747668 | 0 | 0.016328 | 0.415583 | 13,309 | 421 | 137 | 31.612827 | 0.783106 | 0.203396 | 0 | 0.743363 | 0 | 0 | 0.033489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066372 | false | 0 | 0.017699 | 0 | 0.141593 | 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 |
f0de7fa164727db4265ca32681822ef14ab810b7 | 29 | py | Python | hello.py | mehdi-alouane/hello-vscodespaces | 380ba9ab9f6dbda3f90a52825a52b1c3f1791746 | [
"MIT"
] | 5 | 2020-12-02T19:24:24.000Z | 2021-08-08T10:54:33.000Z | hello.py | mehdi-alouane/hello-vscodespaces | 380ba9ab9f6dbda3f90a52825a52b1c3f1791746 | [
"MIT"
] | 3 | 2020-06-21T19:24:37.000Z | 2020-12-18T20:55:20.000Z | hello.py | mehdi-alouane/hello-vscodespaces | 380ba9ab9f6dbda3f90a52825a52b1c3f1791746 | [
"MIT"
] | 26 | 2020-06-21T19:16:04.000Z | 2021-05-07T00:30:21.000Z | print("Hello GH Codespaces!") | 29 | 29 | 0.758621 | 4 | 29 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 29 | 1 | 29 | 29 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 |
0b1e0a77659496c5170705cabb586ad722d52fef | 37,833 | py | Python | instances/passenger_demand/pas-20210421-2109-int6000000000000001e-1/38.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int6000000000000001e-1/38.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int6000000000000001e-1/38.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 1311
passenger_arriving = (
(2, 6, 2, 2, 1, 0, 0, 6, 1, 3, 1, 0), # 0
(0, 3, 0, 0, 2, 0, 2, 3, 1, 2, 1, 0), # 1
(2, 1, 3, 1, 1, 0, 2, 6, 1, 3, 0, 0), # 2
(2, 1, 1, 0, 2, 0, 3, 5, 1, 0, 0, 0), # 3
(1, 3, 2, 0, 2, 0, 3, 3, 3, 5, 1, 0), # 4
(5, 5, 3, 2, 0, 0, 2, 3, 1, 2, 1,... | 112.934328 | 218 | 0.728702 | 5,147 | 37,833 | 5.354187 | 0.200894 | 0.313521 | 0.248204 | 0.470281 | 0.337397 | 0.332317 | 0.329922 | 0.328906 | 0.328906 | 0.328253 | 0 | 0.818722 | 0.119314 | 37,833 | 334 | 219 | 113.272455 | 0.008374 | 0.032009 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9bde8d13d32d889ef1ae1c5f8ff17c47ef2609a1 | 106 | py | Python | tests/exog/random/random_exog_8_160.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | tests/exog/random/random_exog_8_160.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 1 | 2019-11-30T23:39:38.000Z | 2019-12-01T04:34:35.000Z | tests/exog/random/random_exog_8_160.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | import pyaf.tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 8,160); | 26.5 | 60 | 0.858491 | 15 | 106 | 5.8 | 0.733333 | 0.229885 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.066038 | 106 | 4 | 61 | 26.5 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
50282e50106aee83f6ecd12610dce89e6a1c57b6 | 45 | py | Python | gym_cmapf/envs/__init__.py | arqueffe/gym-cmapf | 71cb9d0a8d46c9ed4d0cc15a7fcacdc3196c097d | [
"MIT"
] | null | null | null | gym_cmapf/envs/__init__.py | arqueffe/gym-cmapf | 71cb9d0a8d46c9ed4d0cc15a7fcacdc3196c097d | [
"MIT"
] | null | null | null | gym_cmapf/envs/__init__.py | arqueffe/gym-cmapf | 71cb9d0a8d46c9ed4d0cc15a7fcacdc3196c097d | [
"MIT"
] | null | null | null | from gym_cmapf.envs.cmapf_env import CMAPFEnv | 45 | 45 | 0.888889 | 8 | 45 | 4.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.904762 | 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 |
5035a9a75b4fbf4d718af6b70932d7f3556b700d | 62 | py | Python | tests/__init__.py | teresinahc/cabure-pipelines | f62ca57db69f067e3a556f1830aa8885a6e40894 | [
"MIT"
] | null | null | null | tests/__init__.py | teresinahc/cabure-pipelines | f62ca57db69f067e3a556f1830aa8885a6e40894 | [
"MIT"
] | null | null | null | tests/__init__.py | teresinahc/cabure-pipelines | f62ca57db69f067e3a556f1830aa8885a6e40894 | [
"MIT"
] | null | null | null | from .format import *
from .parse import *
from .task import * | 20.666667 | 21 | 0.725806 | 9 | 62 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177419 | 62 | 3 | 22 | 20.666667 | 0.882353 | 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 |
504c422d5e45e004bc4130c0c1267fb25ac5c9d9 | 144 | py | Python | backend/modules/camera/admin.py | crowdbotics-dev/test222-dev-23200 | d69dccf44f333cd520f4200696974da57c5f8f05 | [
"FTL",
"AML",
"RSA-MD"
] | 1 | 2022-02-11T04:05:10.000Z | 2022-02-11T04:05:10.000Z | backend/modules/camera/admin.py | crowdbotics-dev/test222-dev-23200 | d69dccf44f333cd520f4200696974da57c5f8f05 | [
"FTL",
"AML",
"RSA-MD"
] | 14 | 2021-09-10T18:18:52.000Z | 2021-11-21T17:27:33.000Z | backend/modules/camera/admin.py | crowdbotics-dev/test222-dev-23200 | d69dccf44f333cd520f4200696974da57c5f8f05 | [
"FTL",
"AML",
"RSA-MD"
] | null | null | null | from django.contrib import admin
from .models import Image
class ImageAdmin(admin.ModelAdmin):
pass
admin.site.register(Image, ImageAdmin) | 20.571429 | 38 | 0.798611 | 19 | 144 | 6.052632 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 144 | 7 | 38 | 20.571429 | 0.912698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
acaeee25f61d526f5587308c53238ff5c54f74e1 | 1,520 | py | Python | pipenv/vendor/pip_shims/__init__.py | ehebert/pipenv | b771621274fcdb6980b4c9682bd2b2879e3354d1 | [
"MIT"
] | null | null | null | pipenv/vendor/pip_shims/__init__.py | ehebert/pipenv | b771621274fcdb6980b4c9682bd2b2879e3354d1 | [
"MIT"
] | null | null | null | pipenv/vendor/pip_shims/__init__.py | ehebert/pipenv | b771621274fcdb6980b4c9682bd2b2879e3354d1 | [
"MIT"
] | null | null | null | # -*- coding=utf-8 -*-
from __future__ import absolute_import
__version__ = '0.1.2'
__all__ = [
"__version__",
"_strip_extras",
"cmdoptions",
"Command",
"ConfigOptionParser",
"DistributionNotFound",
"FAVORITE_HASH",
"FormatControl",
"get_installed_distributions",
"index_group",... | 19 | 38 | 0.653947 | 135 | 1,520 | 6.851852 | 0.42963 | 0.023784 | 0.045405 | 0.060541 | 0.864865 | 0.864865 | 0.864865 | 0.864865 | 0.864865 | 0.864865 | 0 | 0.003472 | 0.242105 | 1,520 | 79 | 39 | 19.240506 | 0.799479 | 0.013158 | 0 | 0 | 0 | 0 | 0.311749 | 0.018024 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026667 | 0 | 0.026667 | 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 |
4a0e7bcbcee7f6828a5ded9bdda42268968d6132 | 19,637 | py | Python | test/test_client.py | boralyl/aioynab | 6814c4da8450671f01b03236ca384c602e8660de | [
"MIT"
] | 1 | 2021-09-06T07:52:54.000Z | 2021-09-06T07:52:54.000Z | test/test_client.py | boralyl/aioynab | 6814c4da8450671f01b03236ca384c602e8660de | [
"MIT"
] | null | null | null | test/test_client.py | boralyl/aioynab | 6814c4da8450671f01b03236ca384c602e8660de | [
"MIT"
] | null | null | null | import asyncio
from unittest import mock
import aiohttp
import pytest
from aioresponses import aioresponses
from aioynab.client import BASE_URL, Client, YNABAPIError
@pytest.fixture(scope='module')
def client():
loop = asyncio.get_event_loop()
client = Client('access-token', loop=loop)
yield client
... | 33.625 | 80 | 0.598207 | 2,171 | 19,637 | 5.140028 | 0.074159 | 0.057711 | 0.058159 | 0.061296 | 0.83538 | 0.810019 | 0.79577 | 0.78188 | 0.746572 | 0.716283 | 0 | 0.065727 | 0.274024 | 19,637 | 583 | 81 | 33.682676 | 0.717031 | 0 | 0 | 0.510934 | 0 | 0 | 0.186841 | 0.115496 | 0 | 0 | 0 | 0 | 0.069583 | 1 | 0.077535 | false | 0 | 0.011928 | 0 | 0.089463 | 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 |
c5af07c914f9d1b959126ca95670edaf16e9f92b | 10,529 | py | Python | platform/gsutil/third_party/apitools/apitools/base/py/list_pager_test.py | bopopescu/Google-Cloud-SDK-1 | c4683bacb2f6192d8a816932e438a0493085469b | [
"Apache-2.0"
] | null | null | null | platform/gsutil/third_party/apitools/apitools/base/py/list_pager_test.py | bopopescu/Google-Cloud-SDK-1 | c4683bacb2f6192d8a816932e438a0493085469b | [
"Apache-2.0"
] | null | null | null | platform/gsutil/third_party/apitools/apitools/base/py/list_pager_test.py | bopopescu/Google-Cloud-SDK-1 | c4683bacb2f6192d8a816932e438a0493085469b | [
"Apache-2.0"
] | 1 | 2020-07-24T20:13:29.000Z | 2020-07-24T20:13:29.000Z | #
# Copyright 2015 Google Inc.
#
# 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... | 36.559028 | 79 | 0.568715 | 867 | 10,529 | 6.813149 | 0.193772 | 0.071102 | 0.091417 | 0.030472 | 0.772981 | 0.770611 | 0.770611 | 0.764178 | 0.751312 | 0.717792 | 0 | 0.015084 | 0.338874 | 10,529 | 287 | 80 | 36.686411 | 0.833501 | 0.054231 | 0 | 0.790795 | 0 | 0 | 0.030687 | 0 | 0 | 0 | 0 | 0 | 0.054393 | 1 | 0.046025 | false | 0 | 0.029289 | 0 | 0.083682 | 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 |
c5cb5efa1e8fa198498d7f422aa617b141e06577 | 48 | py | Python | specviz/plugins/statistics/__init__.py | ibusko/specviz | b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa | [
"BSD-3-Clause"
] | null | null | null | specviz/plugins/statistics/__init__.py | ibusko/specviz | b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa | [
"BSD-3-Clause"
] | null | null | null | specviz/plugins/statistics/__init__.py | ibusko/specviz | b8bcd495e5b43dc2b90f7bf2d5bad2d27c6990aa | [
"BSD-3-Clause"
] | null | null | null | from .statistics_widget import StatisticsWidget
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a83e530fac2f00e22dc63c20ee384c8662b672f5 | 26,565 | py | Python | matchmaker/utils/multiprocess_input_pipeline.py | PranjaliJain/matchmaker | b7e22eb8b70cccabf0729076df7cbab3f4ba4a1f | [
"Apache-2.0"
] | 97 | 2021-07-11T14:34:40.000Z | 2022-03-31T14:17:25.000Z | matchmaker/utils/multiprocess_input_pipeline.py | PranjaliJain/matchmaker | b7e22eb8b70cccabf0729076df7cbab3f4ba4a1f | [
"Apache-2.0"
] | 12 | 2021-07-11T13:03:23.000Z | 2022-03-02T16:07:11.000Z | matchmaker/utils/multiprocess_input_pipeline.py | PranjaliJain/matchmaker | b7e22eb8b70cccabf0729076df7cbab3f4ba4a1f | [
"Apache-2.0"
] | 16 | 2019-12-23T01:22:35.000Z | 2021-06-23T12:54:36.000Z | #import torch.multiprocessing as mp
#
#import torch
#import numpy
#import random
#
#from allennlp.data.samplers import BucketBatchSampler
#from allennlp.data.vocabulary import Vocabulary
#from allennlp.modules.text_field_embedders import BasicTextFieldEmbedder
#from allennlp.data.token_indexers.elmo_indexer import ELM... | 57.252155 | 210 | 0.673405 | 2,849 | 26,565 | 5.837136 | 0.119691 | 0.038304 | 0.033734 | 0.044257 | 0.77282 | 0.753458 | 0.732772 | 0.712989 | 0.698437 | 0.692904 | 0 | 0.003228 | 0.218634 | 26,565 | 464 | 211 | 57.252155 | 0.797948 | 0.962206 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 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 |
a892346ac6b87ed5897eb1618a26ab3ddf76db78 | 8,802 | py | Python | server/tests/backends/sql_translator/test_metadata.py | JeremyJacquemont/weaverbird | e04ab6f9c8381986ab71078e5199ece7a875e743 | [
"BSD-3-Clause"
] | null | null | null | server/tests/backends/sql_translator/test_metadata.py | JeremyJacquemont/weaverbird | e04ab6f9c8381986ab71078e5199ece7a875e743 | [
"BSD-3-Clause"
] | 1 | 2022-01-12T15:07:23.000Z | 2022-01-12T15:07:23.000Z | server/tests/backends/sql_translator/test_metadata.py | JeremyJacquemont/weaverbird | e04ab6f9c8381986ab71078e5199ece7a875e743 | [
"BSD-3-Clause"
] | null | null | null | from typing import Dict, List
import pytest
from weaverbird.backends.sql_translator.metadata import (
ColumnMetadata,
MetadataError,
SqlQueryMetadataManager,
TableMetadata,
)
@pytest.fixture
def sql_query_metadata() -> SqlQueryMetadataManager:
s = SqlQueryMetadataManager()
t = s.create_table... | 37.139241 | 97 | 0.752443 | 1,283 | 8,802 | 4.672642 | 0.073266 | 0.171309 | 0.178816 | 0.104087 | 0.85955 | 0.815346 | 0.763303 | 0.733945 | 0.705088 | 0.616847 | 0 | 0.027789 | 0.141445 | 8,802 | 236 | 98 | 37.29661 | 0.765515 | 0.031925 | 0 | 0.482759 | 0 | 0 | 0.146213 | 0 | 0 | 0 | 0 | 0.004237 | 0.183908 | 1 | 0.132184 | false | 0 | 0.017241 | 0 | 0.149425 | 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 |
a8aa5b13c7f9337dbdb311ef488fa88b3669475a | 13 | py | Python | r300/__init__.py | teyenliu/r300 | 7d9e56e20858ec25fb90ca42852cc04956045b18 | [
"BSD-3-Clause"
] | 1 | 2019-05-02T16:19:09.000Z | 2019-05-02T16:19:09.000Z | r300/__init__.py | teyenliu/r300 | 7d9e56e20858ec25fb90ca42852cc04956045b18 | [
"BSD-3-Clause"
] | null | null | null | r300/__init__.py | teyenliu/r300 | 7d9e56e20858ec25fb90ca42852cc04956045b18 | [
"BSD-3-Clause"
] | null | null | null | """ r300 """
| 6.5 | 12 | 0.307692 | 1 | 13 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.230769 | 13 | 1 | 13 | 13 | 0.1 | 0.307692 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a8b00f5f639cf2ab403cdb905bf91685311abd51 | 10,095 | py | Python | plugin_tests/notification_test.py | whole-tale/girder_wholetale | d0f59864e84196c08e1c58991c9f92cf7eee1d01 | [
"BSD-3-Clause"
] | 3 | 2019-03-05T17:34:06.000Z | 2020-04-14T08:59:42.000Z | plugin_tests/notification_test.py | whole-tale/girder_wholetale | d0f59864e84196c08e1c58991c9f92cf7eee1d01 | [
"BSD-3-Clause"
] | 477 | 2017-09-21T13:22:37.000Z | 2022-03-15T19:28:52.000Z | plugin_tests/notification_test.py | whole-tale/girder_wholetale | d0f59864e84196c08e1c58991c9f92cf7eee1d01 | [
"BSD-3-Clause"
] | 8 | 2018-02-15T01:18:42.000Z | 2020-04-27T02:48:06.000Z | import time
from tests import base
from girder.models.setting import Setting
def setUpModule():
base.enabledPlugins.append('wholetale')
base.startServer()
def tearDownModule():
base.stopServer()
class NotificationTestCase(base.TestCase):
def setUp(self):
super(NotificationTestCase, self).... | 39.901186 | 90 | 0.602774 | 974 | 10,095 | 6.187885 | 0.14271 | 0.08213 | 0.077651 | 0.123445 | 0.834246 | 0.796084 | 0.776174 | 0.769371 | 0.740003 | 0.71777 | 0 | 0.009298 | 0.264884 | 10,095 | 252 | 91 | 40.059524 | 0.802857 | 0.028133 | 0 | 0.598039 | 0 | 0 | 0.133538 | 0 | 0 | 0 | 0 | 0.003968 | 0.205882 | 1 | 0.029412 | false | 0.009804 | 0.068627 | 0 | 0.102941 | 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 |
a8b994a6426baf7b0877f0c6ae09526e112e9f71 | 39 | py | Python | augmenty/lang/nl/__init__.py | koaning/augmenty | 13dbdbb5fd56b36c97678ae48d1e0d869987f6dd | [
"MIT"
] | null | null | null | augmenty/lang/nl/__init__.py | koaning/augmenty | 13dbdbb5fd56b36c97678ae48d1e0d869987f6dd | [
"MIT"
] | 1 | 2022-03-12T02:25:00.000Z | 2022-03-12T02:26:01.000Z | augmenty/lang/nl/__init__.py | HishamKhdair/augmenty | a65a7beac410f53706bb7838026f2bac9b89d544 | [
"MIT"
] | null | null | null | from .keyboard import create_qwerty_nl
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a8c6749c228882fa87cefb892e3051b4d5d0dbfc | 86 | py | Python | dash/development/__init__.py | emilhe/dash | c313d1b1c5aba054073b4925122accef5642ce5d | [
"MIT"
] | 17,143 | 2015-07-14T17:19:05.000Z | 2022-03-31T10:03:39.000Z | dash/development/__init__.py | ciusji/dash | 9acc204b7b7a6084a9600a1deedd1a1c87d05f80 | [
"MIT"
] | 1,630 | 2015-11-17T22:15:41.000Z | 2022-03-31T09:15:07.000Z | dash/development/__init__.py | ciusji/dash | 9acc204b7b7a6084a9600a1deedd1a1c87d05f80 | [
"MIT"
] | 1,970 | 2015-07-12T07:05:14.000Z | 2022-03-30T19:58:09.000Z | from . import base_component # noqa:F401
from . import component_loader # noqa:F401
| 28.666667 | 43 | 0.767442 | 12 | 86 | 5.333333 | 0.583333 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.162791 | 86 | 2 | 44 | 43 | 0.805556 | 0.22093 | 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 |
a8cc31f495520470186e3475116751e51a20c42f | 38 | py | Python | tests/test_find_unused_imports.py | Jasha10/fixup | dc0ffa6cbce50939c8fdcfa3adf8b296b81d7717 | [
"MIT"
] | 2 | 2022-02-01T14:42:00.000Z | 2022-02-01T16:34:16.000Z | tests/test_find_unused_imports.py | Jasha10/fixup | dc0ffa6cbce50939c8fdcfa3adf8b296b81d7717 | [
"MIT"
] | null | null | null | tests/test_find_unused_imports.py | Jasha10/fixup | dc0ffa6cbce50939c8fdcfa3adf8b296b81d7717 | [
"MIT"
] | null | null | null | from fixup import find_unused_imports
| 19 | 37 | 0.894737 | 6 | 38 | 5.333333 | 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 |
a8d8aed7b26665176954454ad26d256a4bac6ded | 2,671 | py | Python | logflow/logsparser/eval_perf.py | bds-ailab/logflow | 0fef15a5569c1ccdad03d61f0e9c1f15d2ba53dd | [
"Apache-2.0"
] | 5 | 2020-07-01T09:48:00.000Z | 2021-06-25T15:53:03.000Z | logflow/logsparser/eval_perf.py | MrMimic/logflow | dfd9e40864494bcfe15f4c1d5a1c72b8a7b67410 | [
"Apache-2.0"
] | 1 | 2020-07-06T14:24:34.000Z | 2020-07-06T14:24:34.000Z | logflow/logsparser/eval_perf.py | MrMimic/logflow | dfd9e40864494bcfe15f4c1d5a1c72b8a7b67410 | [
"Apache-2.0"
] | 1 | 2021-04-15T23:53:13.000Z | 2021-04-15T23:53:13.000Z | # Copyright 2020 BULL SAS All rights reserved #
# import utils
# import time
# ############################################
# ############ Test timing descriptors #######
# ############################################
# if True:
# begin = time.time()
# message = ["abc", "abc,", "abc,1", "Abc,1", "123", "123.... | 41.092308 | 214 | 0.450393 | 393 | 2,671 | 3.048346 | 0.117048 | 0.035058 | 0.052588 | 0.070117 | 0.751252 | 0.72621 | 0.72621 | 0.698664 | 0.698664 | 0.698664 | 0 | 0.135335 | 0.239236 | 2,671 | 65 | 215 | 41.092308 | 0.454232 | 0.87383 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
764521f2c5b7ff14f8dab3469d005af7c5de333f | 34 | py | Python | src/visualization/__init__.py | SebasGarcia08/sku110-dense-object-mmdetection | f81169a55a5ea7be0b2d6869ca8f65fad9dd1056 | [
"Apache-2.0"
] | 1 | 2021-07-05T08:16:59.000Z | 2021-07-05T08:16:59.000Z | src/visualization/__init__.py | SebasGarcia08/sku110-dense-object-mmdetection | f81169a55a5ea7be0b2d6869ca8f65fad9dd1056 | [
"Apache-2.0"
] | null | null | null | src/visualization/__init__.py | SebasGarcia08/sku110-dense-object-mmdetection | f81169a55a5ea7be0b2d6869ca8f65fad9dd1056 | [
"Apache-2.0"
] | 1 | 2021-08-03T01:21:17.000Z | 2021-08-03T01:21:17.000Z | from .coco_vis import CocoDataset
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 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 |
7659ab2c77edfe746ee80b94ad866a9e01a209c7 | 14,112 | py | Python | experiments/Using_Cache/benchmark.py | aasthajh/cucim | a95cc5c4ab25beffeac42d642dea8cb1bbf21408 | [
"Apache-2.0"
] | 131 | 2021-04-09T19:02:10.000Z | 2022-03-25T08:49:11.000Z | experiments/Using_Cache/benchmark.py | aasthajh/cucim | a95cc5c4ab25beffeac42d642dea8cb1bbf21408 | [
"Apache-2.0"
] | 222 | 2021-04-12T07:15:14.000Z | 2022-03-31T20:01:01.000Z | experiments/Using_Cache/benchmark.py | aasthajh/cucim | a95cc5c4ab25beffeac42d642dea8cb1bbf21408 | [
"Apache-2.0"
] | 34 | 2021-04-09T18:54:13.000Z | 2022-03-29T12:59:26.000Z | #
# Copyright (c) 2021, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 44.942675 | 310 | 0.634283 | 1,799 | 14,112 | 4.700945 | 0.105058 | 0.070947 | 0.034055 | 0.022703 | 0.858579 | 0.828426 | 0.82547 | 0.809507 | 0.773442 | 0.666785 | 0 | 0.040111 | 0.258007 | 14,112 | 313 | 311 | 45.086262 | 0.767548 | 0.042942 | 0 | 0.569106 | 0 | 0.00813 | 0.159463 | 0.107866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0 | 0.04878 | 0 | 0.121951 | 0.052846 | 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 |
76731dabef15d3366fe8e701e2892c5cbc1a00be | 8,286 | py | Python | tests/layer/test_appnp.py | ashikrafi/stellargraph | 0f6f24d21ec9c016bb370c2d705af4e876495cb4 | [
"Apache-2.0"
] | 2 | 2020-03-27T07:02:09.000Z | 2020-05-30T16:46:18.000Z | tests/layer/test_appnp.py | ashikrafi/stellargraph | 0f6f24d21ec9c016bb370c2d705af4e876495cb4 | [
"Apache-2.0"
] | null | null | null | tests/layer/test_appnp.py | ashikrafi/stellargraph | 0f6f24d21ec9c016bb370c2d705af4e876495cb4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright 2019-2020 Data61, CSIRO
#
# 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 applicabl... | 33.011952 | 95 | 0.657253 | 1,134 | 8,286 | 4.637566 | 0.152557 | 0.020536 | 0.031945 | 0.018254 | 0.792546 | 0.781898 | 0.776193 | 0.748812 | 0.740635 | 0.731318 | 0 | 0.026945 | 0.207217 | 8,286 | 250 | 96 | 33.144 | 0.773634 | 0.094014 | 0 | 0.757576 | 0 | 0 | 0.06057 | 0.005883 | 0 | 0 | 0 | 0 | 0.145455 | 1 | 0.042424 | false | 0 | 0.060606 | 0 | 0.10303 | 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 |
768b7297249a033e7798c615658ce903abf93b9f | 47 | py | Python | test_files/code.v1.py | wixette/googdiff | 78f088bcbfd8f933ad7b96b06667fb7870a3b226 | [
"Apache-2.0"
] | null | null | null | test_files/code.v1.py | wixette/googdiff | 78f088bcbfd8f933ad7b96b06667fb7870a3b226 | [
"Apache-2.0"
] | null | null | null | test_files/code.v1.py | wixette/googdiff | 78f088bcbfd8f933ad7b96b06667fb7870a3b226 | [
"Apache-2.0"
] | null | null | null | # Python Hello, world!
print('Hello, world!')
| 11.75 | 22 | 0.659574 | 6 | 47 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 23 | 15.666667 | 0.775 | 0.425532 | 0 | 0 | 0 | 0 | 0.52 | 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 |
4f267f25a13fe174d162dd008e65470030b47d98 | 2,995 | py | Python | tests/test_layouts_grid.py | turing4ever/flask_jsondash | 3d26e0afa7550734a6357069841a4dce810f6a6c | [
"MIT"
] | null | null | null | tests/test_layouts_grid.py | turing4ever/flask_jsondash | 3d26e0afa7550734a6357069841a4dce810f6a6c | [
"MIT"
] | null | null | null | tests/test_layouts_grid.py | turing4ever/flask_jsondash | 3d26e0afa7550734a6357069841a4dce810f6a6c | [
"MIT"
] | null | null | null | import json
from tests.conftest import setup_dashboard
def test_grid_mode_has_no_cols_empty_single_row(monkeypatch, ctx, client):
app, test = client
data = dict(
mode='grid',
name='Some dashboard',
)
dom = setup_dashboard(monkeypatch, app, test, data)
container = dom.find('#contai... | 34.825581 | 75 | 0.583639 | 398 | 2,995 | 4.296482 | 0.160804 | 0.057895 | 0.115789 | 0.14152 | 0.854971 | 0.809357 | 0.77193 | 0.74152 | 0.74152 | 0.676608 | 0 | 0.027632 | 0.238731 | 2,995 | 85 | 76 | 35.235294 | 0.722368 | 0.015359 | 0 | 0.573333 | 0 | 0 | 0.123855 | 0.007465 | 0 | 0 | 0 | 0 | 0.146667 | 1 | 0.053333 | false | 0 | 0.026667 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f53e038c7bf14203677e8c1f11652986f5de4d0 | 131 | py | Python | app/db/serializer/group.py | nanoMFG/gr-resq-webapp-backend | 51cbd7bcda054199b4556cdc7377a1252438d7b7 | [
"MIT"
] | null | null | null | app/db/serializer/group.py | nanoMFG/gr-resq-webapp-backend | 51cbd7bcda054199b4556cdc7377a1252438d7b7 | [
"MIT"
] | 1 | 2022-02-09T21:55:43.000Z | 2022-02-09T21:55:43.000Z | app/db/serializer/group.py | nanoMFG/gr-resq-webapp-backend | 51cbd7bcda054199b4556cdc7377a1252438d7b7 | [
"MIT"
] | 1 | 2022-02-09T20:58:57.000Z | 2022-02-09T20:58:57.000Z | def generate_group_key(name: str):
return {
'PK': f'GROUP#{name.upper()}',
'SK': f'GROUP#{name.upper()}'
}
| 21.833333 | 38 | 0.519084 | 17 | 131 | 3.882353 | 0.647059 | 0.181818 | 0.30303 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259542 | 131 | 5 | 39 | 26.2 | 0.680412 | 0 | 0 | 0 | 1 | 0 | 0.335878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
4f6ef4b7de68b31104f02d1d4e4a67b8104f2b42 | 100 | py | Python | grilops/__init__.py | jaylorch/grilops | 6375f1061a4512e18bcee6662939d0e43404db36 | [
"MIT"
] | 2 | 2020-01-11T13:34:34.000Z | 2021-12-03T02:14:10.000Z | grilops/__init__.py | Skynet0/grilops | 7f8cea8fb2b2e7609fe9b5976de90fc2fc23ce13 | [
"MIT"
] | null | null | null | grilops/__init__.py | Skynet0/grilops | 7f8cea8fb2b2e7609fe9b5976de90fc2fc23ce13 | [
"MIT"
] | null | null | null | """GRId LOgic Puzzle Solver"""
from .geometry import *
from .grids import *
from .symbols import *
| 16.666667 | 30 | 0.71 | 13 | 100 | 5.461538 | 0.692308 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 5 | 31 | 20 | 0.855422 | 0.24 | 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 |
4f7d59398f0be5bf6b98a0931ff93d915af5bf4b | 280 | py | Python | django-akinwunmi_nathanielscrumy/akinwunmi_nathanielscrumy/views.py | nathphoenix/myscrumy | 38a2d18ae812b35c2690ddbf6f88d46c358e1e21 | [
"MIT"
] | null | null | null | django-akinwunmi_nathanielscrumy/akinwunmi_nathanielscrumy/views.py | nathphoenix/myscrumy | 38a2d18ae812b35c2690ddbf6f88d46c358e1e21 | [
"MIT"
] | null | null | null | django-akinwunmi_nathanielscrumy/akinwunmi_nathanielscrumy/views.py | nathphoenix/myscrumy | 38a2d18ae812b35c2690ddbf6f88d46c358e1e21 | [
"MIT"
] | null | null | null | # Create your views here.
from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def index(request):
return HttpResponse("<h1 style = 'background-color:red, color: white, font-size:60px' >Hello world.. Thank you for coming</h1>") | 31.111111 | 132 | 0.75 | 40 | 280 | 5.25 | 0.75 | 0.095238 | 0.142857 | 0.180952 | 0.27619 | 0.27619 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.142857 | 280 | 9 | 132 | 31.111111 | 0.858333 | 0.167857 | 0 | 0 | 0 | 0.25 | 0.454545 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
96d9fd6e8199100c3d9f7738bd31e6857fc082cf | 15,590 | py | Python | tests/test_new_vle_implementation.py | mrcsbrn/TCC_software | 17a5335aed17d4740c3bbd0ef828b0fc5dcea1da | [
"MIT"
] | 11 | 2019-10-17T02:01:51.000Z | 2022-03-17T17:39:34.000Z | tests/test_new_vle_implementation.py | mrcsbrn/TCC_software | 17a5335aed17d4740c3bbd0ef828b0fc5dcea1da | [
"MIT"
] | 2 | 2019-07-25T22:16:16.000Z | 2020-03-28T01:59:59.000Z | tests/test_new_vle_implementation.py | mrcsbrn/TCC_software | 17a5335aed17d4740c3bbd0ef828b0fc5dcea1da | [
"MIT"
] | 5 | 2019-07-15T18:19:36.000Z | 2021-12-24T08:06:24.000Z | import numpy as np
from Sindri.Factories.EOSMixFactory import createEOSMix
from Sindri.compounds import SubstanceProp
methane = SubstanceProp("methane", "CH4")
ethane = SubstanceProp("ethane", "C2H4")
water = SubstanceProp("water", "H2O")
heptane = SubstanceProp("heptane", "C7H16")
pentane = SubstanceProp("pentane", ... | 26.245791 | 72 | 0.594676 | 2,497 | 15,590 | 3.559071 | 0.071686 | 0.075616 | 0.081017 | 0.124226 | 0.843929 | 0.832452 | 0.832452 | 0.778215 | 0.677056 | 0.673118 | 0 | 0.078761 | 0.240154 | 15,590 | 593 | 73 | 26.290051 | 0.67145 | 0.061514 | 0 | 0.777778 | 0 | 0 | 0.07364 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 1 | 0.038647 | false | 0 | 0.007246 | 0 | 0.045894 | 0.193237 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96de558a33b28ec2d66c2a796b8cc397e8ee8b17 | 912 | py | Python | tests/expectations/numeric-x-cat-date-smoothed-col-idx-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 3 | 2021-01-22T20:42:31.000Z | 2021-06-02T17:53:19.000Z | tests/expectations/numeric-x-cat-date-smoothed-col-idx-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 331 | 2017-11-13T22:41:56.000Z | 2021-12-02T21:59:43.000Z | tests/expectations/numeric-x-cat-date-smoothed-col-idx-w3.py | Crunch-io/crunch-cube | 80986d5b2106c774f05176fb6c6a5ea0d840f09d | [
"MIT"
] | 1 | 2021-02-19T02:49:00.000Z | 2021-02-19T02:49:00.000Z | [
[float("NaN"), float("NaN"), 99.67229382, 40.73319756],
[float("NaN"), float("NaN"), 84.22728964, 73.36769715],
[float("NaN"), float("NaN"), 99.73572432, 78.98000129],
[float("NaN"), float("NaN"), 99.04333678, 67.27961222],
[float("NaN"), float("NaN"), 97.11394797, 73.68663514],
[float("NaN"),... | 50.666667 | 61 | 0.600877 | 120 | 912 | 4.566667 | 0.458333 | 0.437956 | 0.355839 | 0.437956 | 0.19708 | 0 | 0 | 0 | 0 | 0 | 0 | 0.389873 | 0.133772 | 912 | 17 | 62 | 53.647059 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0.098684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96f09950f34bb414f919e58e7cb2698d6c01d089 | 28 | py | Python | src/nodes/corenodes/filter/opacity_node/__init__.py | Correct-Syntax/GimelStudio | db6e2db35730e11bcb25f5ba82823e68b86003f1 | [
"Apache-2.0"
] | 134 | 2021-02-27T08:28:09.000Z | 2022-03-30T17:46:27.000Z | src/nodes/corenodes/filter/opacity_node/__init__.py | Correct-Syntax/GimelStudio | db6e2db35730e11bcb25f5ba82823e68b86003f1 | [
"Apache-2.0"
] | 127 | 2021-04-13T13:34:20.000Z | 2022-02-14T21:16:12.000Z | src/nodes/corenodes/filter/opacity_node/__init__.py | Correct-Syntax/GimelStudio | db6e2db35730e11bcb25f5ba82823e68b86003f1 | [
"Apache-2.0"
] | 20 | 2021-03-23T20:06:05.000Z | 2022-01-20T18:24:53.000Z | from .opacity_node import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 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 |
8c0a4a9fc7f5722f9ccd76d031073a36dbd2a549 | 20 | py | Python | python/testData/psi/FStringIncompleteFragmentWithTypeConversionAndFormatPart.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/FStringIncompleteFragmentWithTypeConversionAndFormatPart.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/FStringIncompleteFragmentWithTypeConversionAndFormatPart.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | s = f'{42!r:{width}' | 20 | 20 | 0.5 | 5 | 20 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.1 | 20 | 1 | 20 | 20 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c0afa41237095e4dc8d68ba74f5d50863f8c452 | 34 | py | Python | LeetCode/NuniqueInteger.py | Jaidev810/Competitive-Questions | 5d5b28be69e8572e9b4353e9790ee39b56769fc3 | [
"MIT"
] | 1 | 2021-02-27T06:12:55.000Z | 2021-02-27T06:12:55.000Z | LeetCode/NuniqueInteger.py | Jaidev810/Competitive-Questions | 5d5b28be69e8572e9b4353e9790ee39b56769fc3 | [
"MIT"
] | 1 | 2021-02-02T08:52:17.000Z | 2021-02-03T08:19:12.000Z | LeetCode/NuniqueInteger.py | Jaidev810/Competitive-Questions | 5d5b28be69e8572e9b4353e9790ee39b56769fc3 | [
"MIT"
] | null | null | null | n = 5
li = []
if (n%2 != 0):
| 6.8 | 14 | 0.264706 | 7 | 34 | 1.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.441176 | 34 | 5 | 15 | 6.8 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c5d21273437da16bb15b4a222cecf01cf3d3fe1 | 92 | py | Python | lichee/module/torch/layer/__init__.py | Tencent/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 91 | 2021-10-30T02:25:05.000Z | 2022-03-28T06:51:52.000Z | lichee/module/torch/layer/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 1 | 2021-12-17T09:30:25.000Z | 2022-03-05T12:30:13.000Z | lichee/module/torch/layer/__init__.py | zhaijunyu/Lichee | 7653becd6fbf8b0715f788af3c0507c012be08b4 | [
"Apache-2.0"
] | 17 | 2021-11-04T07:50:23.000Z | 2022-03-24T14:24:11.000Z | # -*- coding: utf-8 -*-
"""
模型通用层 torch 实现
"""
from . import activation
from . import brick
| 13.142857 | 24 | 0.619565 | 12 | 92 | 4.75 | 0.833333 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.195652 | 92 | 6 | 25 | 15.333333 | 0.756757 | 0.402174 | 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 |
4ff05edfe70fdf3d8d6d9241d1a1998c77d68982 | 41 | py | Python | hellopypi_cammelo/hello.py | CaMMelo/hellopypi | c509ad8f7f45c3f119ff60caa14874f40bf5840f | [
"Apache-2.0"
] | null | null | null | hellopypi_cammelo/hello.py | CaMMelo/hellopypi | c509ad8f7f45c3f119ff60caa14874f40bf5840f | [
"Apache-2.0"
] | null | null | null | hellopypi_cammelo/hello.py | CaMMelo/hellopypi | c509ad8f7f45c3f119ff60caa14874f40bf5840f | [
"Apache-2.0"
] | null | null | null | def say_hello():
print("hello PyPi")
| 13.666667 | 23 | 0.634146 | 6 | 41 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 24 | 20.5 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8b2195903ae5cd8f705b6739a468623fa4fb0055 | 5,354 | py | Python | tests/test.py | adrian17/itertools_chunks_slices | 0dc908c24586b71fcdd78168adbe2857bf150bd0 | [
"MIT"
] | null | null | null | tests/test.py | adrian17/itertools_chunks_slices | 0dc908c24586b71fcdd78168adbe2857bf150bd0 | [
"MIT"
] | null | null | null | tests/test.py | adrian17/itertools_chunks_slices | 0dc908c24586b71fcdd78168adbe2857bf150bd0 | [
"MIT"
] | null | null | null | import unittest
import sys
from itertools_chunks_slices import chunks, slices
class DestructionTester:
alive = 0
def __init__(self):
DestructionTester.alive += 1
def __del__(self):
DestructionTester.alive -= 1
class TestChunks(unittest.TestCase):
def test_simple(self):
lst = [... | 32.253012 | 80 | 0.513821 | 620 | 5,354 | 4.395161 | 0.093548 | 0.170642 | 0.023119 | 0.026422 | 0.865688 | 0.801101 | 0.747523 | 0.733945 | 0.718165 | 0.684404 | 0 | 0.053043 | 0.330968 | 5,354 | 165 | 81 | 32.448485 | 0.707705 | 0 | 0 | 0.536424 | 0 | 0 | 0.016063 | 0.008218 | 0 | 0 | 0 | 0 | 0.284768 | 1 | 0.10596 | false | 0 | 0.019868 | 0 | 0.152318 | 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 |
8b26dc4288abd89ef9f7616e57f11a863eba5be4 | 60 | py | Python | codepack/service/service.py | ihnokim/codepack | 9d043b2db977de503faf7f5f1370c1424c6cb19f | [
"MIT"
] | 2 | 2021-04-18T17:51:49.000Z | 2021-06-22T10:21:30.000Z | codepack/service/service.py | ihnokim/codepack | 9d043b2db977de503faf7f5f1370c1424c6cb19f | [
"MIT"
] | 24 | 2021-12-23T18:02:01.000Z | 2022-03-27T03:03:38.000Z | codepack/service/service.py | ihnokim/codepack | 9d043b2db977de503faf7f5f1370c1424c6cb19f | [
"MIT"
] | 1 | 2021-09-13T12:56:40.000Z | 2021-09-13T12:56:40.000Z | import abc
class Service(metaclass=abc.ABCMeta):
pass
| 10 | 37 | 0.733333 | 8 | 60 | 5.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 5 | 38 | 12 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8b35d4c10720b2b0ff7b522661dde180764c6948 | 30 | py | Python | pypro/pypro/__init__.py | gary444/lamure | 0b57a70d8496cd9632873628dc4064e09c57fef7 | [
"BSD-3-Clause"
] | 7 | 2016-12-07T11:52:07.000Z | 2022-02-18T09:25:55.000Z | pypro/pypro/__init__.py | gary444/lamure | 0b57a70d8496cd9632873628dc4064e09c57fef7 | [
"BSD-3-Clause"
] | 2 | 2018-10-22T12:46:22.000Z | 2019-11-19T13:17:35.000Z | pypro/pypro/__init__.py | gary444/lamure | 0b57a70d8496cd9632873628dc4064e09c57fef7 | [
"BSD-3-Clause"
] | 17 | 2015-11-24T17:04:46.000Z | 2020-12-20T12:56:38.000Z | from .formats_bridge import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8c68206c41361f1ca9074ec41d93031888168218 | 207 | py | Python | tests/views.py | zemgin/candidate-test-9575e852 | 361d7f8be033cc98e64ba2ef18d12f4d527f7cf3 | [
"MIT"
] | null | null | null | tests/views.py | zemgin/candidate-test-9575e852 | 361d7f8be033cc98e64ba2ef18d12f4d527f7cf3 | [
"MIT"
] | null | null | null | tests/views.py | zemgin/candidate-test-9575e852 | 361d7f8be033cc98e64ba2ef18d12f4d527f7cf3 | [
"MIT"
] | null | null | null | from django.http import HttpRequest, HttpResponse
from visitors.decorators import user_is_visitor
@user_is_visitor(scope="foo")
def foo(request: HttpRequest) -> HttpResponse:
return HttpResponse("OK") | 25.875 | 49 | 0.797101 | 26 | 207 | 6.192308 | 0.653846 | 0.285714 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 207 | 8 | 50 | 25.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.024038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
8cf1ed8bcb106fd185076173251806fe878d08d8 | 103 | py | Python | tests/projectoxford_tests/__init__.py | arvindpuri/project-oxford-python | af10398d8108d198fc8f2e5eec252511c03ebe2e | [
"MIT"
] | null | null | null | tests/projectoxford_tests/__init__.py | arvindpuri/project-oxford-python | af10398d8108d198fc8f2e5eec252511c03ebe2e | [
"MIT"
] | null | null | null | tests/projectoxford_tests/__init__.py | arvindpuri/project-oxford-python | af10398d8108d198fc8f2e5eec252511c03ebe2e | [
"MIT"
] | null | null | null | from . import TestClient
from . import TestFace
from . import TestPersonGroup
from . import TestVision
| 20.6 | 29 | 0.805825 | 12 | 103 | 6.916667 | 0.5 | 0.481928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 30 | 25.75 | 0.954023 | 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 |
50c960fed8cec63098e08555eb180ef9047c0391 | 4,961 | py | Python | tests/test_backends.py | sondrelg/prance | 977f13f4b16e4c475e6799c550e8dfbdcf3a7e83 | [
"MITNFA"
] | 1 | 2020-11-13T08:34:47.000Z | 2020-11-13T08:34:47.000Z | tests/test_backends.py | sondrelg/prance | 977f13f4b16e4c475e6799c550e8dfbdcf3a7e83 | [
"MITNFA"
] | null | null | null | tests/test_backends.py | sondrelg/prance | 977f13f4b16e4c475e6799c550e8dfbdcf3a7e83 | [
"MITNFA"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test suite focusing on validation backend features."""
__author__ = 'Jens Finkhaeuser'
__copyright__ = 'Copyright (c) 2018 Jens Finkhaeuser'
__license__ = 'MIT +no-false-attribs'
__all__ = ()
import pytest
from prance import BaseParser
from prance import ValidationError
from prance.util im... | 42.767241 | 115 | 0.764362 | 642 | 4,961 | 5.738318 | 0.183801 | 0.127036 | 0.119435 | 0.059718 | 0.812161 | 0.796417 | 0.785831 | 0.785831 | 0.739142 | 0.725027 | 0 | 0.00857 | 0.106229 | 4,961 | 115 | 116 | 43.13913 | 0.822282 | 0.121145 | 0 | 0.352941 | 0 | 0 | 0.349758 | 0.244301 | 0 | 0 | 0 | 0 | 0.102941 | 1 | 0.176471 | false | 0 | 0.073529 | 0 | 0.25 | 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 |
50d6abbee56557545befd7e6cd18c2ba4b5d7af3 | 164 | py | Python | exceptions.py | Jesewe/Twitch-Channel-Points-Miner---Russian-Version | b3497693635550d237bc4997255c625bee303851 | [
"MIT"
] | null | null | null | exceptions.py | Jesewe/Twitch-Channel-Points-Miner---Russian-Version | b3497693635550d237bc4997255c625bee303851 | [
"MIT"
] | null | null | null | exceptions.py | Jesewe/Twitch-Channel-Points-Miner---Russian-Version | b3497693635550d237bc4997255c625bee303851 | [
"MIT"
] | null | null | null | class StreamerDoesNotExistException(Exception):
pass
class StreamerIsOfflineException(Exception):
pass
class WrongCookiesException(Exception):
pass
| 14.909091 | 47 | 0.792683 | 12 | 164 | 10.833333 | 0.5 | 0.3 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152439 | 164 | 10 | 48 | 16.4 | 0.935252 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
50d7d3fcb0ca2a96eb6b9b833a980a629afcabe0 | 98 | py | Python | radio/__init__.py | tim-we/py-radio | a0bd9fd1ca27a47eba6f919b4d5727923ed471a6 | [
"MIT"
] | null | null | null | radio/__init__.py | tim-we/py-radio | a0bd9fd1ca27a47eba6f919b4d5727923ed471a6 | [
"MIT"
] | 7 | 2020-09-16T23:43:56.000Z | 2021-08-18T13:30:12.000Z | radio/__init__.py | tim-we/py-radio | a0bd9fd1ca27a47eba6f919b4d5727923ed471a6 | [
"MIT"
] | null | null | null | from radio.player import Player # noqa: F401
from radio.library import ClipLibrary # noqa: F401
| 32.666667 | 51 | 0.77551 | 14 | 98 | 5.428571 | 0.571429 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 98 | 2 | 52 | 49 | 0.853659 | 0.214286 | 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 |
50df71b65078dc9e44734b24ef860e9d41e8d90c | 188 | py | Python | model/__init__.py | azxky6645/JointBERT | 32c2c76ed0626800a24946ce1e8e3dddb16cf048 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | azxky6645/JointBERT | 32c2c76ed0626800a24946ce1e8e3dddb16cf048 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | azxky6645/JointBERT | 32c2c76ed0626800a24946ce1e8e3dddb16cf048 | [
"Apache-2.0"
] | null | null | null | from .modeling_jointbert import JointBERT
from .modeling_jointdistilbert import JointDistilBERT
from .modeling_jointalbert import JointAlbert
from .modeling_jointkobert import JointKOBERT
| 37.6 | 53 | 0.893617 | 20 | 188 | 8.2 | 0.35 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 188 | 4 | 54 | 47 | 0.953488 | 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 |
50e0e067d7fa652f65f6b66667f34e358e2be934 | 34 | py | Python | seedbank/__init__.py | cfoust/seedbank | f92b56e5f6253e77334bdb7930978581dd5799a6 | [
"MIT"
] | null | null | null | seedbank/__init__.py | cfoust/seedbank | f92b56e5f6253e77334bdb7930978581dd5799a6 | [
"MIT"
] | null | null | null | seedbank/__init__.py | cfoust/seedbank | f92b56e5f6253e77334bdb7930978581dd5799a6 | [
"MIT"
] | null | null | null | from seedbank import *
import cli
| 11.333333 | 22 | 0.794118 | 5 | 34 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 2 | 23 | 17 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.