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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b90218c890dac7b7d58b0a73276cd5de1e59e0c | 165 | py | Python | agents/__init__.py | Frana-0/minerl-treechop | 3b862bd91a0e194302f9c541b1f46ed4d70834f5 | [
"MIT"
] | null | null | null | agents/__init__.py | Frana-0/minerl-treechop | 3b862bd91a0e194302f9c541b1f46ed4d70834f5 | [
"MIT"
] | null | null | null | agents/__init__.py | Frana-0/minerl-treechop | 3b862bd91a0e194302f9c541b1f46ed4d70834f5 | [
"MIT"
] | null | null | null | from agents.dqn.dqn_agent import DQN
from agents.c51.c51_agent import C51
from agents.pretraining import fill_stacked_memory
from agents.common import AgentAbstract
| 33 | 50 | 0.866667 | 26 | 165 | 5.346154 | 0.461538 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040268 | 0.09697 | 165 | 4 | 51 | 41.25 | 0.892617 | 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 |
8b94135155ec734e3588ed6593cbd1ef29aca489 | 149 | py | Python | modules/analyzer/fault.py | ANSSI-FR/Faults_analyzer | 08ed35f2f9f906a06798d21138decfc30772ce45 | [
"X11"
] | 6 | 2021-04-08T07:14:26.000Z | 2021-07-13T00:59:06.000Z | modules/analyzer/fault.py | ANSSI-FR/Faults_analyzer | 08ed35f2f9f906a06798d21138decfc30772ce45 | [
"X11"
] | null | null | null | modules/analyzer/fault.py | ANSSI-FR/Faults_analyzer | 08ed35f2f9f906a06798d21138decfc30772ce45 | [
"X11"
] | 2 | 2021-04-20T21:29:32.000Z | 2022-03-08T19:55:20.000Z | class Fault():
def __init__(self, faulted_obs, faulted_value):
self.faulted_obs = faulted_obs
self.faulted_value = faulted_value
| 29.8 | 51 | 0.704698 | 19 | 149 | 5 | 0.421053 | 0.347368 | 0.294737 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214765 | 149 | 4 | 52 | 37.25 | 0.811966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8b95004fcbb46aa45bc59f6866ca8fa1ffe9fb9d | 20,693 | py | Python | tests/test_modulesComplicatedAlgorithms.py | richardzilincikPantheon/backend | d70d9aa3baa113f5c8fc05fba84ae8b18b857b0c | [
"Apache-2.0"
] | 2 | 2020-08-19T16:44:48.000Z | 2021-04-30T06:48:16.000Z | tests/test_modulesComplicatedAlgorithms.py | richardzilincikPantheon/backend | d70d9aa3baa113f5c8fc05fba84ae8b18b857b0c | [
"Apache-2.0"
] | 243 | 2018-08-21T09:12:57.000Z | 2022-03-31T12:31:48.000Z | tests/test_modulesComplicatedAlgorithms.py | richardzilincikPantheon/backend | d70d9aa3baa113f5c8fc05fba84ae8b18b857b0c | [
"Apache-2.0"
] | 25 | 2018-08-21T08:45:43.000Z | 2021-12-12T13:51:47.000Z | # Copyright The IETF Trust 2021, 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 53.888021 | 133 | 0.630938 | 2,291 | 20,693 | 5.468791 | 0.109996 | 0.02139 | 0.034719 | 0.019315 | 0.821055 | 0.809322 | 0.795834 | 0.784021 | 0.777317 | 0.769096 | 0 | 0.0106 | 0.256898 | 20,693 | 383 | 134 | 54.028721 | 0.804188 | 0.191997 | 0 | 0.637931 | 0 | 0 | 0.13091 | 0.077211 | 0 | 0 | 0 | 0 | 0.099138 | 1 | 0.056034 | false | 0 | 0.030172 | 0 | 0.094828 | 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 |
8bd1571466a4ebb006c2a43aaae775eaac57d18b | 4,883 | py | Python | apps/web/fanfictionnet/fanfictionnet_pages.py | timo95/knausj_talon | 735b6fda064b12c832fce2ba4ca8e0186e7db48a | [
"MIT"
] | 1 | 2021-09-08T05:45:03.000Z | 2021-09-08T05:45:03.000Z | apps/web/fanfictionnet/fanfictionnet_pages.py | timo95/knausj_talon | 735b6fda064b12c832fce2ba4ca8e0186e7db48a | [
"MIT"
] | null | null | null | apps/web/fanfictionnet/fanfictionnet_pages.py | timo95/knausj_talon | 735b6fda064b12c832fce2ba4ca8e0186e7db48a | [
"MIT"
] | null | null | null | from talon import Context, actions, scope
# Search results, betareader browser (query "ppage")
# /search/
# /betareaders/all/<category>
# /betareaders/<category>/<fandom>
ctx = Context()
ctx.matches = r"""
app: fanfictionnet
app: fictionpress
browser.path: /^\/search\/$/
browser.path: /^\/betareaders/\w+\/[^\/]+\/?$/... | 31.301282 | 86 | 0.6154 | 618 | 4,883 | 4.76699 | 0.135922 | 0.070944 | 0.047522 | 0.071283 | 0.771215 | 0.76205 | 0.752546 | 0.739647 | 0.739647 | 0.739647 | 0 | 0.011111 | 0.152161 | 4,883 | 155 | 87 | 31.503226 | 0.700483 | 0.171206 | 0 | 0.722222 | 0 | 0 | 0.268657 | 0.098756 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12963 | false | 0 | 0.009259 | 0.018519 | 0.25 | 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 |
47d8256f7e77563913ce0ad8cad92e772a46f9a7 | 6,180 | py | Python | nautobot_data_validation_engine/tests/test_custom_validators.py | nautobot/nautobot-plugin-data-validation-engine | 883d380c0b7fba23b6bfc94d8eae12dc66ea84f0 | [
"Apache-2.0"
] | 4 | 2021-07-28T19:47:32.000Z | 2022-01-25T18:36:34.000Z | nautobot_data_validation_engine/tests/test_custom_validators.py | nautobot/nautobot-plugin-data-validation-engine | 883d380c0b7fba23b6bfc94d8eae12dc66ea84f0 | [
"Apache-2.0"
] | 9 | 2021-06-11T12:48:49.000Z | 2022-03-28T12:31:41.000Z | nautobot_data_validation_engine/tests/test_custom_validators.py | nautobot/nautobot-plugin-data-validation-engine | 883d380c0b7fba23b6bfc94d8eae12dc66ea84f0 | [
"Apache-2.0"
] | 1 | 2021-12-05T21:06:36.000Z | 2021-12-05T21:06:36.000Z | """
Model test cases
"""
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ValidationError
from django.test import TestCase
from nautobot.dcim.models import Site
from nautobot_data_validation_engine.models import MinMaxValidationRule, RegularExpressionValidationRule
class... | 29.428571 | 104 | 0.574434 | 650 | 6,180 | 5.306154 | 0.143077 | 0.028994 | 0.040591 | 0.044651 | 0.805451 | 0.793273 | 0.7637 | 0.746883 | 0.672949 | 0.672949 | 0 | 0.01109 | 0.328803 | 6,180 | 209 | 105 | 29.569378 | 0.820395 | 0.047087 | 0 | 0.707317 | 0 | 0 | 0.130561 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 1 | 0.060976 | false | 0 | 0.030488 | 0 | 0.103659 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
47eb079d91b721f24831bec02a51179e4b4218c3 | 17,696 | py | Python | tests/test_maven_index_multi_tgts.py | ligangty/charon | cf3d6291d5aaeb1e2836d01fcb18d9e148e14610 | [
"Apache-2.0"
] | 1 | 2022-02-25T18:13:31.000Z | 2022-02-25T18:13:31.000Z | tests/test_maven_index_multi_tgts.py | ligangty/charon | cf3d6291d5aaeb1e2836d01fcb18d9e148e14610 | [
"Apache-2.0"
] | 65 | 2021-11-15T11:12:54.000Z | 2022-03-31T23:45:19.000Z | tests/test_maven_index_multi_tgts.py | Commonjava/hermes | cf3d6291d5aaeb1e2836d01fcb18d9e148e14610 | [
"Apache-2.0"
] | 2 | 2021-12-03T20:55:47.000Z | 2022-02-25T14:58:42.000Z | """
Copyright (C) 2022 Red Hat, Inc. (https://github.com/Commonjava/charon)
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 a... | 41.153488 | 98 | 0.570524 | 2,148 | 17,696 | 4.448324 | 0.081471 | 0.064887 | 0.054422 | 0.07619 | 0.849398 | 0.842072 | 0.805756 | 0.78315 | 0.727368 | 0.71617 | 0 | 0.022497 | 0.286618 | 17,696 | 429 | 99 | 41.249417 | 0.734395 | 0.033962 | 0 | 0.648199 | 0 | 0 | 0.141862 | 0.03529 | 0 | 0 | 0 | 0 | 0.193906 | 1 | 0.038781 | false | 0 | 0.022161 | 0 | 0.063712 | 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 |
9a56bad0cc94088ffb08eba22d47d69214c87d68 | 137 | py | Python | scripts/npc/autogen_misticmoon.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_misticmoon.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_misticmoon.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # ParentID: 9073025
# ObjectID: 1000000
# Character field ID when accessed: 931050820
# Object Position Y: 319
# Object Position X: -927
| 22.833333 | 45 | 0.751825 | 18 | 137 | 5.722222 | 0.888889 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254386 | 0.167883 | 137 | 5 | 46 | 27.4 | 0.649123 | 0.919708 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7bf0c10bee520670d7d4779702f695c7726f6efa | 43 | py | Python | fgobot/__init__.py | Mt-Nomad/fgo-bot | 2502efcd7a9e7ebf7ec194584a810033b76ccda7 | [
"MIT"
] | 67 | 2018-10-31T14:43:11.000Z | 2022-03-10T22:49:15.000Z | fgobot/__init__.py | williamgateszhao/fgo-bot | 28ac2f63c8efb294a276bb3781593bdfa081893c | [
"MIT"
] | 3 | 2019-02-11T15:27:12.000Z | 2020-02-29T16:31:52.000Z | fgobot/__init__.py | williamgateszhao/fgo-bot | 28ac2f63c8efb294a276bb3781593bdfa081893c | [
"MIT"
] | 22 | 2019-01-22T05:13:22.000Z | 2022-01-18T10:36:59.000Z | import logging
from .bot import BattleBot
| 10.75 | 26 | 0.813953 | 6 | 43 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 3 | 27 | 14.333333 | 0.972222 | 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 |
d019fc1491c8ac5318232d96c3593396669fca22 | 3,230 | py | Python | tests/accounts/test_login.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 1 | 2019-10-18T05:57:13.000Z | 2019-10-18T05:57:13.000Z | tests/accounts/test_login.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | 11 | 2019-12-02T13:59:22.000Z | 2021-04-24T08:52:19.000Z | tests/accounts/test_login.py | powerblossom/workcloud | fd943220366ebeadfa90c59fc395f84a734b5686 | [
"MIT"
] | null | null | null | from core.response import Response
from core.testcase import TestCase
class LoginTest(TestCase):
def setUp(self):
self.create_user()
def test_login_basic(self):
response = self.post(
'/api/accounts/login/',
{
'username': self.username,
'... | 27.142857 | 57 | 0.493498 | 291 | 3,230 | 5.295533 | 0.182131 | 0.099935 | 0.128488 | 0.185594 | 0.765737 | 0.748215 | 0.748215 | 0.746269 | 0.626866 | 0.626866 | 0 | 0.017571 | 0.400929 | 3,230 | 118 | 58 | 27.372881 | 0.778811 | 0 | 0 | 0.457143 | 0 | 0 | 0.126625 | 0.0387 | 0 | 0 | 0 | 0 | 0.095238 | 1 | 0.07619 | false | 0.057143 | 0.019048 | 0 | 0.104762 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d05ab07c46d0a89d9e4b030f6d39e37379fdfb8b | 34 | py | Python | pydatamocker/__init__.py | msoukharev/pydatamocker | 18edb15c464db696980ec9991c19b723e80e255f | [
"MIT"
] | null | null | null | pydatamocker/__init__.py | msoukharev/pydatamocker | 18edb15c464db696980ec9991c19b723e80e255f | [
"MIT"
] | null | null | null | pydatamocker/__init__.py | msoukharev/pydatamocker | 18edb15c464db696980ec9991c19b723e80e255f | [
"MIT"
] | null | null | null | from .mock_table import MockTable
| 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 |
d08674aa109d6356bee12d84ad37220ff13b5b74 | 165 | py | Python | python/8kyu/find_the_smallest_integer_in_the_array.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/find_the_smallest_integer_in_the_array.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/find_the_smallest_integer_in_the_array.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kate url: https://www.codewars.com/kata/55a2d7ebe362935a210000b2."""
from typing import List
def find_smallest_int(arr: List[int]) -> int:
return min(arr)
| 20.625 | 71 | 0.721212 | 23 | 165 | 5.086957 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118056 | 0.127273 | 165 | 7 | 72 | 23.571429 | 0.694444 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d099f960df3dc101753202c0590d3ec52a970f84 | 91 | py | Python | devices/service_devices/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | devices/service_devices/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | devices/service_devices/__init__.py | Saldenisov/pyconlyse | 1de301b4a4c15ee0bd19034aa8d5da1beacfd124 | [
"MIT"
] | null | null | null | from .stepmotors import *
from .opticaldetectors import *
from .project_treatment import *
| 22.75 | 32 | 0.802198 | 10 | 91 | 7.2 | 0.6 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 33 | 30.333333 | 0.911392 | 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 |
d0c5648b23b2deff3482d9434e7161852025830b | 131 | py | Python | app/about/routes.py | larsertoff/pwp | 1f156e3efc7b93345197329425e2928a470d3092 | [
"MIT"
] | null | null | null | app/about/routes.py | larsertoff/pwp | 1f156e3efc7b93345197329425e2928a470d3092 | [
"MIT"
] | null | null | null | app/about/routes.py | larsertoff/pwp | 1f156e3efc7b93345197329425e2928a470d3092 | [
"MIT"
] | null | null | null | import flask
from app.about import about
@about.route('/about/')
def about_page():
return flask.render_template('about.html')
| 18.714286 | 46 | 0.740458 | 19 | 131 | 5 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 131 | 6 | 47 | 21.833333 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.129771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d0f0324255c0134de4d006049f3ea5ea998d1714 | 22 | py | Python | javasrc/lib/buzhug/__init__.py | mosbasik/buzhug | 6e2cd812431138af59a64973a98cf2e7c1bcdf7a | [
"BSD-3-Clause"
] | 2 | 2016-01-17T01:43:28.000Z | 2019-07-05T00:48:30.000Z | buzhug/__init__.py | tomschenkjr/SublimeREPL | 8cfe65d66ce632f97699ca51f2743ed7e3c8df86 | [
"BSD-2-Clause"
] | null | null | null | buzhug/__init__.py | tomschenkjr/SublimeREPL | 8cfe65d66ce632f97699ca51f2743ed7e3c8df86 | [
"BSD-2-Clause"
] | 1 | 2019-05-16T12:14:11.000Z | 2019-05-16T12:14:11.000Z | from buzhug import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 1 | 22 | 22 | 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 |
ef7b97f3b5fe6f56e05931b80d4ac46c01da0668 | 22 | py | Python | insulin_calculator_server/fdensitylib/__init__.py | Frost-Lee/insulin_calculator | 2c5134f82219f829fa4765492a8cc17097097d41 | [
"Apache-2.0"
] | 15 | 2020-09-28T09:01:51.000Z | 2022-03-14T12:40:28.000Z | insulin_calculator_server/fdensitylib/__init__.py | Frost-Lee/insulin_calculator | 2c5134f82219f829fa4765492a8cc17097097d41 | [
"Apache-2.0"
] | 2 | 2021-01-11T19:05:57.000Z | 2021-12-12T16:33:13.000Z | insulin_calculator_server/fdensitylib/__init__.py | Frost-Lee/insulin_calculator | 2c5134f82219f829fa4765492a8cc17097097d41 | [
"Apache-2.0"
] | 4 | 2021-05-12T15:16:58.000Z | 2022-02-16T06:05:18.000Z | from . import density
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef979ca5cfcbc78a83a1c2a10ad068ed70877fa4 | 3,324 | py | Python | tests/parsers/c_parser/exprs/binary_ops/compound_assign_op_expr_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | tests/parsers/c_parser/exprs/binary_ops/compound_assign_op_expr_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | tests/parsers/c_parser/exprs/binary_ops/compound_assign_op_expr_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
Tests for the
:module`regression_tests.parsers.c_parser.exprs.binary_ops.compound_assign_op_expr`
module.
"""
from tests.parsers.c_parser import WithModuleTests
class CompoundAssignOpExprTests(WithModuleTests):
"""Tests for `CompoundAssignOpExpr`."""
def test_compound_assign_op_expr_is_compo... | 51.138462 | 87 | 0.750602 | 474 | 3,324 | 4.746835 | 0.154008 | 0.174222 | 0.245333 | 0.346667 | 0.765333 | 0.765333 | 0.765333 | 0.734222 | 0.438667 | 0.140889 | 0 | 0.002822 | 0.147112 | 3,324 | 64 | 88 | 51.9375 | 0.790829 | 0.041817 | 0 | 0.04 | 0 | 0 | 0.028165 | 0.006646 | 0 | 0 | 0 | 0 | 0.76 | 1 | 0.1 | false | 0 | 0.02 | 0 | 0.14 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bec9fcd17ae1cba5b6e2a32017d140e62a5daaf | 58 | py | Python | python/common/__init__.py | jkomyno/lattice-submodular-maximization | e03c8bcc5fcf5bf79a6ae81f145757cf3fdff7cb | [
"MIT"
] | 1 | 2021-11-16T18:16:42.000Z | 2021-11-16T18:16:42.000Z | python/common/__init__.py | jkomyno/lattice-submodular-maximization | e03c8bcc5fcf5bf79a6ae81f145757cf3fdff7cb | [
"MIT"
] | null | null | null | python/common/__init__.py | jkomyno/lattice-submodular-maximization | e03c8bcc5fcf5bf79a6ae81f145757cf3fdff7cb | [
"MIT"
] | null | null | null | from .read_csv import read_csv
from .to_csv import to_csv
| 19.333333 | 30 | 0.827586 | 12 | 58 | 3.666667 | 0.416667 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 58 | 2 | 31 | 29 | 0.88 | 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 |
ef2bac843e55d8bcf0256a7bc9d90397a30fba57 | 24 | py | Python | viewmydb/__init__.py | OSU-CS419/FinalProject | f2282d455942a7f9e1cc20423e30076100f7f6fa | [
"MIT"
] | null | null | null | viewmydb/__init__.py | OSU-CS419/FinalProject | f2282d455942a7f9e1cc20423e30076100f7f6fa | [
"MIT"
] | null | null | null | viewmydb/__init__.py | OSU-CS419/FinalProject | f2282d455942a7f9e1cc20423e30076100f7f6fa | [
"MIT"
] | null | null | null | from .start import main
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef5c21933b8918dc8dda9f88af11c8b7a5a0cbff | 90 | py | Python | path_traveler/sample/directory1/directory11/file111.py | vhiwase/path-traveller | 98679a4dcc32207087de41ad6b7a367ff685b1ab | [
"MIT"
] | 6 | 2021-08-05T17:03:08.000Z | 2021-08-05T18:04:29.000Z | path_traveler/sample/directory1/directory11/file111.py | vhiwase/path-traveller | 98679a4dcc32207087de41ad6b7a367ff685b1ab | [
"MIT"
] | null | null | null | path_traveler/sample/directory1/directory11/file111.py | vhiwase/path-traveller | 98679a4dcc32207087de41ad6b7a367ff685b1ab | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This is file111
print("This is file111")
| 18 | 24 | 0.633333 | 14 | 90 | 4.071429 | 0.785714 | 0.210526 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.155556 | 90 | 4 | 25 | 22.5 | 0.644737 | 0.655556 | 0 | 0 | 0 | 0 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
323c52990d33ac4f7c1114ca8acf0dba938d094d | 114 | py | Python | workspace/closeWorkspace.py | SoftwareFuze/Todo-App | 4b2fbf133d308ed88c8766d7262e62ba6fa6b7d8 | [
"MIT"
] | 6 | 2022-01-17T21:31:59.000Z | 2022-02-06T15:10:51.000Z | workspace/closeWorkspace.py | Proconsulates/Todo-App | 942cdd3ad623ca124858e9f8fdd8f0f6fcbbdea6 | [
"MIT"
] | 10 | 2022-01-17T19:57:12.000Z | 2022-01-30T00:01:39.000Z | workspace/closeWorkspace.py | Proconsulates/Todo-App | 942cdd3ad623ca124858e9f8fdd8f0f6fcbbdea6 | [
"MIT"
] | 5 | 2022-01-17T17:00:50.000Z | 2022-01-27T20:27:38.000Z | import os
def closeWorkspace():
print("[CLOSED] " + os.environ["workspace"])
os.environ["workspace"] = "" | 22.8 | 48 | 0.631579 | 12 | 114 | 6 | 0.666667 | 0.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 114 | 5 | 49 | 22.8 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3268f5136e6db4b0ef23195037190069bc867923 | 1,888 | py | Python | ProjectPaths.py | elisa-aleman/useful_methods | 1217e6206c941a5c06d255fac48f4ac1d3bce8a9 | [
"MIT"
] | null | null | null | ProjectPaths.py | elisa-aleman/useful_methods | 1217e6206c941a5c06d255fac48f4ac1d3bce8a9 | [
"MIT"
] | null | null | null | ProjectPaths.py | elisa-aleman/useful_methods | 1217e6206c941a5c06d255fac48f4ac1d3bce8a9 | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
import os
import pathlib
#######################
######## Paths ########
#######################
def make_log_file(filename:'str')->'str':
'''
Make Log file path string under <project_folder>/logs/filename
And create the parent folder if it doesn't exist already
'''
halfpa... | 33.714286 | 73 | 0.670021 | 259 | 1,888 | 4.752896 | 0.189189 | 0.068237 | 0.056864 | 0.058489 | 0.861089 | 0.807474 | 0.703493 | 0.703493 | 0.703493 | 0.703493 | 0 | 0.003199 | 0.17214 | 1,888 | 55 | 74 | 34.327273 | 0.784389 | 0.276483 | 0 | 0.571429 | 0 | 0 | 0.044046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.035714 | 0.071429 | 0 | 0.357143 | 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 |
32c1eb86f80f2444716b1462e0310c9836ac3b58 | 2,183 | py | Python | migrations/versions/648731ac1449_.py | MohmedH/OpulentGroupDashboard | a071196da0146125b627894178125c1739dfbd7d | [
"MIT"
] | 1 | 2020-12-10T21:11:44.000Z | 2020-12-10T21:11:44.000Z | migrations/versions/648731ac1449_.py | MohmedH/OpulentGroupDashboard | a071196da0146125b627894178125c1739dfbd7d | [
"MIT"
] | null | null | null | migrations/versions/648731ac1449_.py | MohmedH/OpulentGroupDashboard | a071196da0146125b627894178125c1739dfbd7d | [
"MIT"
] | null | null | null | """empty message
Revision ID: 648731ac1449
Revises: 425500be663f
Create Date: 2020-07-21 01:09:31.827728
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '648731ac1449'
down_revision = '425500be663f'
branch_labels = None
depends_on = None
def upgrade():
# ... | 32.58209 | 65 | 0.586349 | 214 | 2,183 | 5.780374 | 0.261682 | 0.097009 | 0.105093 | 0.226354 | 0.798707 | 0.798707 | 0.769604 | 0.763137 | 0.683913 | 0.630558 | 0 | 0.037589 | 0.293175 | 2,183 | 66 | 66 | 33.075758 | 0.764096 | 0.135135 | 0 | 0.833333 | 0 | 0 | 0.131821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.041667 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 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 |
32c7e25ad13c33be35ce048a3562e27fac1ad74a | 39 | py | Python | main.py | anu-maker-club/maxine-food-selector | 1dbc912f5d11e6209aad7706fad970eb59628e88 | [
"Apache-2.0"
] | 1 | 2016-01-07T14:43:39.000Z | 2016-01-07T14:43:39.000Z | main.py | anu-maker-club/maxine-food-selector | 1dbc912f5d11e6209aad7706fad970eb59628e88 | [
"Apache-2.0"
] | null | null | null | main.py | anu-maker-club/maxine-food-selector | 1dbc912f5d11e6209aad7706fad970eb59628e88 | [
"Apache-2.0"
] | null | null | null |
import MFS
import config
import event
| 7.8 | 13 | 0.820513 | 6 | 39 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 4 | 14 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08a2964655090b05ee893b3a5d3eecf9e8ccafef | 26 | py | Python | python/test.py | aoloe/cpp-qt-pyqt | dce22399230f121b02dc322aa710b5f2a47d2b7d | [
"MIT"
] | null | null | null | python/test.py | aoloe/cpp-qt-pyqt | dce22399230f121b02dc322aa710b5f2a47d2b7d | [
"MIT"
] | null | null | null | python/test.py | aoloe/cpp-qt-pyqt | dce22399230f121b02dc322aa710b5f2a47d2b7d | [
"MIT"
] | null | null | null | import sys
print("test");
| 8.666667 | 14 | 0.692308 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 2 | 15 | 13 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
08f1f820ccf3d1832112c2ec3055525241de9549 | 140 | py | Python | src/compilers/web/__init__.py | VIVelev/sketchy-code | 351ba3c770cccdf4189a99ae765fc6ef36742912 | [
"MIT"
] | null | null | null | src/compilers/web/__init__.py | VIVelev/sketchy-code | 351ba3c770cccdf4189a99ae765fc6ef36742912 | [
"MIT"
] | null | null | null | src/compilers/web/__init__.py | VIVelev/sketchy-code | 351ba3c770cccdf4189a99ae765fc6ef36742912 | [
"MIT"
] | null | null | null | __all__ = [
'Compiler',
'render_content_with_text',
]
from .compiler import Compiler
from .render import render_content_with_text
| 15.555556 | 44 | 0.75 | 17 | 140 | 5.588235 | 0.470588 | 0.273684 | 0.357895 | 0.442105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 140 | 8 | 45 | 17.5 | 0.818966 | 0 | 0 | 0 | 0 | 0 | 0.228571 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3eaeda9c2907b84dfe1cd0e8d5cdffe790859d72 | 76,855 | py | Python | example/kp_config/src/kp_proto/kp_proto_pb2.py | wubo0067/calmwu-go | 822f08ef54ad18d87d330ef9dbdb395e88693113 | [
"MIT"
] | 6 | 2019-04-25T07:39:37.000Z | 2020-03-02T00:34:25.000Z | example/kp_config/src/kp_proto/kp_proto_pb2.py | wubo0067/calmwu-go | 822f08ef54ad18d87d330ef9dbdb395e88693113 | [
"MIT"
] | null | null | null | example/kp_config/src/kp_proto/kp_proto_pb2.py | wubo0067/calmwu-go | 822f08ef54ad18d87d330ef9dbdb395e88693113 | [
"MIT"
] | 2 | 2019-04-25T23:35:58.000Z | 2020-08-11T13:45:55.000Z | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: kp_proto.proto
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf imp... | 43.152723 | 8,248 | 0.739978 | 10,280 | 76,855 | 5.232879 | 0.037257 | 0.066922 | 0.031899 | 0.04322 | 0.844239 | 0.763933 | 0.699613 | 0.66974 | 0.66658 | 0.652266 | 0 | 0.051977 | 0.136608 | 76,855 | 1,780 | 8,249 | 43.176966 | 0.758711 | 0.020506 | 0 | 0.713854 | 1 | 0.00363 | 0.220845 | 0.184287 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00121 | 0.00363 | 0 | 0.043557 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3efa0415ec26ce216c8c38f68c0e31368091ab73 | 62 | py | Python | python/dglke/util/argparser/__init__.py | menjarleev/dgl-ke | 8990da247d73121c79c3d73319efbd43c968b32c | [
"Apache-2.0"
] | null | null | null | python/dglke/util/argparser/__init__.py | menjarleev/dgl-ke | 8990da247d73121c79c3d73319efbd43c968b32c | [
"Apache-2.0"
] | null | null | null | python/dglke/util/argparser/__init__.py | menjarleev/dgl-ke | 8990da247d73121c79c3d73319efbd43c968b32c | [
"Apache-2.0"
] | null | null | null | from .common_argparser import *
from .train_argparser import * | 31 | 31 | 0.822581 | 8 | 62 | 6.125 | 0.625 | 0.612245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 62 | 2 | 32 | 31 | 0.890909 | 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 |
f5badb41ae213ab7474c3982629c8ff27c455292 | 114 | py | Python | zpylib/build/execute.py | louisyoungx/zpycli | 87deb188d1fd7782c60912edf1eeedb719b649a6 | [
"MIT"
] | null | null | null | zpylib/build/execute.py | louisyoungx/zpycli | 87deb188d1fd7782c60912edf1eeedb719b649a6 | [
"MIT"
] | null | null | null | zpylib/build/execute.py | louisyoungx/zpycli | 87deb188d1fd7782c60912edf1eeedb719b649a6 | [
"MIT"
] | null | null | null | import subprocess
# 执行代码
def execute(code, target_type='py'):
return subprocess.call(['python', '-c', code])
| 19 | 50 | 0.684211 | 15 | 114 | 5.133333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 5 | 51 | 22.8 | 0.785714 | 0.035088 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f5e416c85a97c3efe87d6ff3f8afd68337bd8e7c | 149 | py | Python | UGFlib/RooFit/__init__.py | Shedarshian/UGFlib | 1ed8e8029687181ca177b5d5a084e975f825a691 | [
"MIT"
] | 1 | 2020-04-23T03:49:02.000Z | 2020-04-23T03:49:02.000Z | UGFlib/RooFit/__init__.py | Shedarshian/UGFlib | 1ed8e8029687181ca177b5d5a084e975f825a691 | [
"MIT"
] | null | null | null | UGFlib/RooFit/__init__.py | Shedarshian/UGFlib | 1ed8e8029687181ca177b5d5a084e975f825a691 | [
"MIT"
] | null | null | null | from .pdf import AutoNaming, VarDummy, Var, VarTuple, AllPdf, ExtendedPdf, Add, AddPdfItem
from .pdf import Pdf, Gaus, Argus, Crys, Poly, Hist, Conv
| 49.666667 | 90 | 0.758389 | 21 | 149 | 5.380952 | 0.809524 | 0.123894 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 149 | 2 | 91 | 74.5 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eb2cc4a7dc36b9d2e43e8dcb60f3aa0561f4491a | 43 | py | Python | two_way_mapping/__init__.py | Starfer/two_way_mapping | edc8a401a1fdd36b1e7ffe75dadf630d53f9c7ed | [
"BSD-2-Clause"
] | null | null | null | two_way_mapping/__init__.py | Starfer/two_way_mapping | edc8a401a1fdd36b1e7ffe75dadf630d53f9c7ed | [
"BSD-2-Clause"
] | null | null | null | two_way_mapping/__init__.py | Starfer/two_way_mapping | edc8a401a1fdd36b1e7ffe75dadf630d53f9c7ed | [
"BSD-2-Clause"
] | null | null | null | from .two_way_mapping import TwoWayMapping
| 21.5 | 42 | 0.883721 | 6 | 43 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 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 |
eb32e10bce38d80909078f075f372e349df42e4e | 6,782 | py | Python | tests/test_pipelines/test_statuses.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | tests/test_pipelines/test_statuses.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | tests/test_pipelines/test_statuses.py | elyase/polyaxon | 1c19f059a010a6889e2b7ea340715b2bcfa382a0 | [
"MIT"
] | null | null | null | import pytest
from constants.pipelines import OperationStatuses, PipelineStatuses
from tests.utils import BaseTest
@pytest.mark.pipelines_mark
class TestStatusesTransition(BaseTest):
def test_pipeline_statuses_transition(self): # pylint:disable=too-many-branches
# Cannot transition to `CREATED`
... | 44.618421 | 85 | 0.620024 | 590 | 6,782 | 6.966102 | 0.083051 | 0.170803 | 0.120195 | 0.132847 | 0.843309 | 0.818978 | 0.810706 | 0.782968 | 0.737956 | 0.703893 | 0 | 0 | 0.328517 | 6,782 | 151 | 86 | 44.913907 | 0.902503 | 0.084193 | 0 | 0.663866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 1 | 0.016807 | false | 0 | 0.02521 | 0 | 0.05042 | 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 |
eb43ab030d8bc7c6b8b884d341245a85e0bf440b | 33 | py | Python | pagacollect/__ini__.py | zubairAbubakar/paga-collect-python-lib | 4502cb33acb9b4de90d9a596e117533873e50a68 | [
"MIT"
] | null | null | null | pagacollect/__ini__.py | zubairAbubakar/paga-collect-python-lib | 4502cb33acb9b4de90d9a596e117533873e50a68 | [
"MIT"
] | null | null | null | pagacollect/__ini__.py | zubairAbubakar/paga-collect-python-lib | 4502cb33acb9b4de90d9a596e117533873e50a68 | [
"MIT"
] | 2 | 2021-05-20T22:08:40.000Z | 2021-12-06T12:14:10.000Z | from .paga_collect import Collect | 33 | 33 | 0.878788 | 5 | 33 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 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 |
de44998c091efdaf88569672379aded6cd7996d6 | 949 | py | Python | xoeuf/fields/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | 3 | 2015-05-16T04:40:14.000Z | 2016-01-26T05:36:20.000Z | xoeuf/fields/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | null | null | null | xoeuf/fields/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T23:08:50.000Z | 2017-03-23T23:08:50.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Copyright (c) Merchise Autrement [~º/~] and Contributors
# All rights reserved.
#
# This is free software; you can do what the LICENCE file allows you to.
#
from odoo.fields import * # noqa: reexport... | 33.892857 | 72 | 0.691254 | 110 | 949 | 5.963636 | 0.518182 | 0.219512 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003774 | 0.162276 | 949 | 27 | 73 | 35.148148 | 0.821384 | 0.469968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.0625 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
de7d1f118ddd64cc31129a5f0ec3b0dda2d14d20 | 34 | py | Python | Bluetooth/bt_proximity/__init__.py | AnthonyBowman/Robots | f187dfdf661bb451d067e25d6f56fbd9f3248f19 | [
"MIT"
] | null | null | null | Bluetooth/bt_proximity/__init__.py | AnthonyBowman/Robots | f187dfdf661bb451d067e25d6f56fbd9f3248f19 | [
"MIT"
] | null | null | null | Bluetooth/bt_proximity/__init__.py | AnthonyBowman/Robots | f187dfdf661bb451d067e25d6f56fbd9f3248f19 | [
"MIT"
] | null | null | null | from bt_rssi import BluetoothRSSI
| 17 | 33 | 0.882353 | 5 | 34 | 5.8 | 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 |
a0fb96ab37a40daa14f9367bbbfe601de778c662 | 218 | py | Python | web/errors/routes.py | kamil-codes/kamil.codes | 1d62e77f4bd358a99ce5ae1fb6e1792c5fe7b20d | [
"MIT"
] | null | null | null | web/errors/routes.py | kamil-codes/kamil.codes | 1d62e77f4bd358a99ce5ae1fb6e1792c5fe7b20d | [
"MIT"
] | null | null | null | web/errors/routes.py | kamil-codes/kamil.codes | 1d62e77f4bd358a99ce5ae1fb6e1792c5fe7b20d | [
"MIT"
] | null | null | null | from web import errors
from flask import Blueprint, render_template
errors = Blueprint('errors', __name__)
@errors.app_errorhandler(404)
def error_404(error):
return render_template("errors/404.html"), 404 | 27.25 | 50 | 0.761468 | 29 | 218 | 5.448276 | 0.551724 | 0.177215 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064171 | 0.142202 | 218 | 8 | 50 | 27.25 | 0.780749 | 0 | 0 | 0 | 0 | 0 | 0.099057 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
9d1a92b6145258c238036de76d664a8c670d15c7 | 6,333 | py | Python | items/forms.py | tony-joseph/livre | 3a6a851ed58029d5d14edde647b15ed22d65f24b | [
"BSD-3-Clause"
] | 1 | 2020-05-06T16:59:47.000Z | 2020-05-06T16:59:47.000Z | items/forms.py | tony-joseph/livre | 3a6a851ed58029d5d14edde647b15ed22d65f24b | [
"BSD-3-Clause"
] | null | null | null | items/forms.py | tony-joseph/livre | 3a6a851ed58029d5d14edde647b15ed22d65f24b | [
"BSD-3-Clause"
] | null | null | null | from django import forms
from .models import Category, Language, BOOK_STATUS_CHOICES
# Trying to use Category and Language models before running migrations will result in errors.
# Try block is used to prevent those errors.
try:
CATEGORY_CHOICES = [[x.slug, x.title] for x in Category.objects.all()]
LANGUAGE_... | 40.33758 | 117 | 0.645034 | 654 | 6,333 | 6.178899 | 0.120795 | 0.081663 | 0.103935 | 0.155902 | 0.791883 | 0.791883 | 0.791883 | 0.791883 | 0.776293 | 0.766889 | 0 | 0.011286 | 0.188536 | 6,333 | 156 | 118 | 40.596154 | 0.775054 | 0.021159 | 0 | 0.76259 | 0 | 0 | 0.225629 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014388 | 0 | 0.273381 | 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 |
9d38ed7fe0c439de86eca21b85b156d7d4b200d5 | 288 | py | Python | optimization/pruning/prune/__init__.py | AICryptoGroup/TorchSlim | 5e1a5eb994b7b22e226cce9ee3849a623ddaacb7 | [
"Apache-2.0"
] | 5 | 2022-03-11T09:35:33.000Z | 2022-03-26T14:47:03.000Z | optimization/pruning/prune/__init__.py | AICryptoGroup/TorchSlim | 5e1a5eb994b7b22e226cce9ee3849a623ddaacb7 | [
"Apache-2.0"
] | null | null | null | optimization/pruning/prune/__init__.py | AICryptoGroup/TorchSlim | 5e1a5eb994b7b22e226cce9ee3849a623ddaacb7 | [
"Apache-2.0"
] | 1 | 2022-03-11T09:47:28.000Z | 2022-03-11T09:47:28.000Z | from .iterative_pruner import ADMMPruner, AGPPruner, SlimPruner, TaylorFOWeightFilterPruner, ActivationAPoZRankFilterPruner, ActivationMeanRankFilterPruner
from .lottery_ticket import LotteryTicketPruner
from .one_shot_pruner import LevelPruner, L1FilterPruner, L2FilterPruner, FPGMPruner | 96 | 155 | 0.895833 | 24 | 288 | 10.583333 | 0.791667 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007435 | 0.065972 | 288 | 3 | 156 | 96 | 0.936803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9d43c51d99445e040f66d7b0917b9c2c4938f582 | 47 | py | Python | visualization/__init__.py | datactivist/dataoutai | a1db230a31e78d17cd1c79daa8c13a508d493f9f | [
"MIT"
] | 1 | 2022-01-19T19:06:18.000Z | 2022-01-19T19:06:18.000Z | visualization/__init__.py | datactivist/dataoutai | a1db230a31e78d17cd1c79daa8c13a508d493f9f | [
"MIT"
] | 4 | 2021-12-01T19:44:54.000Z | 2022-01-12T15:48:53.000Z | visualization/__init__.py | datactivist/dataoutai | a1db230a31e78d17cd1c79daa8c13a508d493f9f | [
"MIT"
] | null | null | null | from .visualization_baseline import Visualizer
| 23.5 | 46 | 0.893617 | 5 | 47 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
c206f9dbaa26599be0cd8087a72c3be715bc75db | 129 | py | Python | com/LimePencil/Q23375/Arm_Coordination.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q23375/Arm_Coordination.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | com/LimePencil/Q23375/Arm_Coordination.py | LimePencil/baekjoonProblems | 61eeeeb875585d165d9e39ecdb3d905b4ba6aa87 | [
"MIT"
] | null | null | null | x,y=map(int,input().split())
r=int(input())
d=[(1,1),(1,-1),(-1,-1),(-1,1)]
for i in range(4):
print(x+r*d[i][0],y+r*d[i][1]) | 25.8 | 34 | 0.488372 | 34 | 129 | 1.852941 | 0.470588 | 0.222222 | 0.285714 | 0.31746 | 0.126984 | 0.126984 | 0.126984 | 0 | 0 | 0 | 0 | 0.09322 | 0.085271 | 129 | 5 | 34 | 25.8 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c22b63dc4c65b3ea620e512881c36f34af0e5a38 | 23 | py | Python | heat_index/__init__.py | myleshk/heat_index_calculator | f973b0b906485787d1e3432d6a5b024712a5c3bb | [
"MIT"
] | 2 | 2020-06-30T05:22:37.000Z | 2020-09-09T04:38:24.000Z | heat_index/__init__.py | myleshk/heat_index_calculator | f973b0b906485787d1e3432d6a5b024712a5c3bb | [
"MIT"
] | null | null | null | heat_index/__init__.py | myleshk/heat_index_calculator | f973b0b906485787d1e3432d6a5b024712a5c3bb | [
"MIT"
] | 1 | 2021-12-03T13:42:20.000Z | 2021-12-03T13:42:20.000Z | from . import calculate | 23 | 23 | 0.826087 | 3 | 23 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
a0440652d8e48065252702eb5fb6ed80bdf16539 | 29 | py | Python | goodman_pipeline/pipeline/__init__.py | simontorres/goodman-pipeline-live | 0ed20db75b69f973dfa63f94f18d1c6a5e826ea8 | [
"BSD-3-Clause"
] | null | null | null | goodman_pipeline/pipeline/__init__.py | simontorres/goodman-pipeline-live | 0ed20db75b69f973dfa63f94f18d1c6a5e826ea8 | [
"BSD-3-Clause"
] | 1 | 2018-08-17T17:13:32.000Z | 2018-08-17T17:13:32.000Z | goodman_pipeline/pipeline/__init__.py | simontorres/goodman-pipeline-live | 0ed20db75b69f973dfa63f94f18d1c6a5e826ea8 | [
"BSD-3-Clause"
] | null | null | null | from .pipeline import MainApp | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0498df73b2ed4f57a1940e6e6a8e7ab6ae84756 | 41 | py | Python | src/LPR/architecture/__init__.py | tsteffek/LicensePlateReconstructor | 4930a080fbdf6e7d726e5282b2d75650566fd5d4 | [
"MIT"
] | 2 | 2020-12-21T02:02:13.000Z | 2021-11-09T06:25:36.000Z | src/LPR/architecture/__init__.py | tsteffek/LicensePlateReconstructor | 4930a080fbdf6e7d726e5282b2d75650566fd5d4 | [
"MIT"
] | 1 | 2021-11-09T06:25:36.000Z | 2021-11-18T08:35:35.000Z | src/LPR/architecture/__init__.py | tsteffek/LicensePlateReconstructor | 4930a080fbdf6e7d726e5282b2d75650566fd5d4 | [
"MIT"
] | null | null | null | from .Reconstructor import Reconstructor
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0636ffcc02de98ec0c24f87a06ffe6b81fc6b16 | 258 | py | Python | SimCalorimetry/CastorSim/python/castordigi_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimCalorimetry/CastorSim/python/castordigi_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimCalorimetry/CastorSim/python/castordigi_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #raise RuntimeError, "Do not import obsolete file castordigi_cfi.py. If you need parameters, use 'from SimGeneral.MixingModule.castorDigitizer_cfi import *'"
import FWCore.ParameterSet.Config as cms
from SimGeneral.MixingModule.castorDigitizer_cfi import *
| 51.6 | 157 | 0.833333 | 33 | 258 | 6.424242 | 0.727273 | 0.132075 | 0.245283 | 0.386792 | 0.471698 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 258 | 4 | 158 | 64.5 | 0.913793 | 0.604651 | 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 |
a0700e39914b4afa5634f6970c6d22dd6827de89 | 72 | py | Python | quantus/__init__.py | sebastian-lapuschkin/Quantus | c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f | [
"MIT"
] | null | null | null | quantus/__init__.py | sebastian-lapuschkin/Quantus | c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f | [
"MIT"
] | null | null | null | quantus/__init__.py | sebastian-lapuschkin/Quantus | c3b8a9fb2018f34bd89ba38efa2b2b8c38128b3f | [
"MIT"
] | null | null | null | from .helpers import *
from .metrics import *
from .evaluation import *
| 18 | 25 | 0.75 | 9 | 72 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 26 | 24 | 0.9 | 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 |
a07b5c4fc94db02b0ecf339a9d5a2abe700c2671 | 37 | py | Python | learnhtml/utils/__init__.py | nikitautiu/deephtml | 9ef580132feefd862246e8bc1f594329ddd742b0 | [
"Apache-2.0"
] | 28 | 2018-12-03T15:41:43.000Z | 2021-09-17T10:41:46.000Z | learnhtml/utils/__init__.py | microvn/learnhtml | 9ef580132feefd862246e8bc1f594329ddd742b0 | [
"Apache-2.0"
] | 1 | 2019-10-23T06:52:14.000Z | 2019-10-23T07:59:00.000Z | learnhtml/utils/__init__.py | microvn/learnhtml | 9ef580132feefd862246e8bc1f594329ddd742b0 | [
"Apache-2.0"
] | 5 | 2020-04-11T06:37:22.000Z | 2021-03-02T12:28:05.000Z | from . import general, keras, sklearn | 37 | 37 | 0.783784 | 5 | 37 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a082b06d9f5d11f0ae9c040a3d3ae55e02381819 | 95 | py | Python | Python/00_little_helper/type_annotations.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/00_little_helper/type_annotations.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | Python/00_little_helper/type_annotations.py | Kreijeck/learning | eaffee08e61f2a34e01eb8f9f04519aac633f48c | [
"MIT"
] | null | null | null | # works since py39
def return_me()-> tuple[str]:
return "Hallo", "Welt"
print(return_me()) | 19 | 29 | 0.663158 | 14 | 95 | 4.357143 | 0.785714 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.157895 | 95 | 5 | 30 | 19 | 0.7375 | 0.168421 | 0 | 0 | 0 | 0 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
a0a32cea23adc41669ff416eed86e1f03b00d677 | 244 | py | Python | Day-2/part-1-oneline.py | ooliver1/adventofcode | 92bf286ca8f8b8a1f44ba7479e6c092773bc5a1c | [
"MIT"
] | null | null | null | Day-2/part-1-oneline.py | ooliver1/adventofcode | 92bf286ca8f8b8a1f44ba7479e6c092773bc5a1c | [
"MIT"
] | 1 | 2021-12-04T21:07:18.000Z | 2021-12-08T13:27:23.000Z | Day-2/part-1-oneline.py | ooliver1/adventofcode | 92bf286ca8f8b8a1f44ba7479e6c092773bc5a1c | [
"MIT"
] | null | null | null | # fmt: off
print((lambda ins: sum(int(a[1]) for a in ins if a[0] == "forward") * (sum(int(a[1]) for a in ins if a[0] == "up") + (-1 * sum(int(a[1]) for a in ins if a[0] == "down"))) * -1)([a.split(" ") for a in open("input.txt").readlines()]))
| 81.333333 | 232 | 0.536885 | 52 | 244 | 2.519231 | 0.403846 | 0.122137 | 0.183206 | 0.183206 | 0.480916 | 0.480916 | 0.480916 | 0.480916 | 0.480916 | 0.480916 | 0 | 0.039801 | 0.17623 | 244 | 2 | 233 | 122 | 0.61194 | 0.032787 | 0 | 0 | 0 | 0 | 0.098291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
a0b914ff320136085c5d37ff9377cb41bf79115a | 155 | py | Python | sc-kpm/python/common/__init__.py | deniskoronchik/sc-machine | ee199ee33d9b3939ea288b5f0c0ce0a2c1b076c2 | [
"MIT"
] | 2 | 2015-02-20T16:48:59.000Z | 2015-03-14T11:37:40.000Z | sc-kpm/python/common/__init__.py | deniskoronchik/sc-machine | ee199ee33d9b3939ea288b5f0c0ce0a2c1b076c2 | [
"MIT"
] | 19 | 2015-02-01T19:42:52.000Z | 2016-10-27T15:59:55.000Z | sc-kpm/python/common/__init__.py | deniskoronchik/sc-machine | ee199ee33d9b3939ea288b5f0c0ce0a2c1b076c2 | [
"MIT"
] | 2 | 2016-04-27T18:47:18.000Z | 2016-07-21T09:34:18.000Z | from .sc_keynodes import ScKeynodes
from .sc_module import ScModule
from .sc_exception import *
from .sc_event import ScEventManager
from .sc_set import *
| 25.833333 | 36 | 0.825806 | 23 | 155 | 5.347826 | 0.478261 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 155 | 5 | 37 | 31 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26218d927d9b9d3158110c2c7c2915c63348e46b | 35 | py | Python | inkpy/util/__init__.py | facelesspanda/inkpy | f21949b856f19f0b4781fa878760a7d1a03d3623 | [
"MIT"
] | null | null | null | inkpy/util/__init__.py | facelesspanda/inkpy | f21949b856f19f0b4781fa878760a7d1a03d3623 | [
"MIT"
] | null | null | null | inkpy/util/__init__.py | facelesspanda/inkpy | f21949b856f19f0b4781fa878760a7d1a03d3623 | [
"MIT"
] | null | null | null | from inkpy.util.event import Event
| 17.5 | 34 | 0.828571 | 6 | 35 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 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 |
2630ea7782955241fe813643a50ff57a49cc5869 | 70 | py | Python | src/__init__.py | cclauss/Karta | a03a21d160dd3347855d31991ca5fe609a39937e | [
"MIT"
] | null | null | null | src/__init__.py | cclauss/Karta | a03a21d160dd3347855d31991ca5fe609a39937e | [
"MIT"
] | null | null | null | src/__init__.py | cclauss/Karta | a03a21d160dd3347855d31991ca5fe609a39937e | [
"MIT"
] | null | null | null | import karta_analyze_src
import karta_identifier
import karta_matcher
| 17.5 | 24 | 0.914286 | 10 | 70 | 6 | 0.6 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 3 | 25 | 23.333333 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2643d0c6945ab82ea35a376d89e95d26c6671671 | 28,442 | py | Python | nalu-variants-experiments/arithmatic_experiments.py | ashishrana160796/calcnet-experiments | 6c7d30393f3f790b768335ec5f1559087c16ba75 | [
"MIT"
] | null | null | null | nalu-variants-experiments/arithmatic_experiments.py | ashishrana160796/calcnet-experiments | 6c7d30393f3f790b768335ec5f1559087c16ba75 | [
"MIT"
] | null | null | null | nalu-variants-experiments/arithmatic_experiments.py | ashishrana160796/calcnet-experiments | 6c7d30393f3f790b768335ec5f1559087c16ba75 | [
"MIT"
] | null | null | null | import numpy as np
import keras.backend as K
from keras.layers import *
from keras.initializers import *
from keras.models import *
import random
from keras.utils.vis_utils import plot_model
import math
# fixing sedd value: uniform reporting of results.
from numpy.random import seed
seed(16)
from tensorflow import set... | 42.963746 | 115 | 0.672421 | 4,915 | 28,442 | 3.543845 | 0.040488 | 0.041337 | 0.037203 | 0.041337 | 0.859972 | 0.847112 | 0.827018 | 0.794408 | 0.794408 | 0.789011 | 0 | 0.035311 | 0.19647 | 28,442 | 661 | 116 | 43.028744 | 0.726831 | 0.076471 | 0 | 0.603659 | 0 | 0 | 0.074291 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 1 | 0.030488 | false | 0 | 0.022358 | 0.002033 | 0.081301 | 0.060976 | 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 |
266ff89c2f38083b3fde2338b9a6dd239e4595a6 | 283 | py | Python | src/spaceone/inventory/manager/__init__.py | spaceone-dev/plugin-monitoring | 8061e4e0b64933be2135a5f5c3ab639e1501a3d6 | [
"Apache-2.0"
] | 1 | 2020-12-02T06:40:15.000Z | 2020-12-02T06:40:15.000Z | src/spaceone/inventory/manager/__init__.py | spaceone-dev/plugin-monitoring | 8061e4e0b64933be2135a5f5c3ab639e1501a3d6 | [
"Apache-2.0"
] | null | null | null | src/spaceone/inventory/manager/__init__.py | spaceone-dev/plugin-monitoring | 8061e4e0b64933be2135a5f5c3ab639e1501a3d6 | [
"Apache-2.0"
] | 3 | 2020-11-16T06:07:26.000Z | 2020-12-02T06:48:54.000Z | from spaceone.inventory.manager.collector.__init__ import *
from spaceone.inventory.manager.identity_manager import IdentityManager
from spaceone.inventory.manager.inventory_manager import InventoryManager
from spaceone.inventory.manager.monitoring_manager import MonitoringManager
| 47.166667 | 75 | 0.890459 | 31 | 283 | 7.903226 | 0.387097 | 0.326531 | 0.342857 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060071 | 283 | 5 | 76 | 56.6 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
2670ebd4bebaa7cb4a8fb0290a760e9089235ba3 | 123 | py | Python | utils/exceptions.py | joelsewhere/algorithms | a284c7b512a3a3ccbe36881c0a2346b8e7f32455 | [
"MIT"
] | null | null | null | utils/exceptions.py | joelsewhere/algorithms | a284c7b512a3a3ccbe36881c0a2346b8e7f32455 | [
"MIT"
] | null | null | null | utils/exceptions.py | joelsewhere/algorithms | a284c7b512a3a3ccbe36881c0a2346b8e7f32455 | [
"MIT"
] | 1 | 2021-11-15T21:59:37.000Z | 2021-11-15T21:59:37.000Z | class NotFittedError(ValueError, AttributeError):
pass
class MissingFeatureError(ValueError, AttributeError):
pass | 24.6 | 54 | 0.804878 | 10 | 123 | 9.9 | 0.6 | 0.484848 | 0.565657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 5 | 55 | 24.6 | 0.925234 | 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 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
cd0910039c155597d790019d50bc224bceddb145 | 338 | py | Python | apps/Routes/routes.py | uvic-aero/onboard-computer | 1f4be998185b63e5b23f0325e4e696ef2c59b01d | [
"MIT"
] | 1 | 2020-03-25T17:24:42.000Z | 2020-03-25T17:24:42.000Z | apps/Routes/routes.py | uvic-aero/onboard-computer | 1f4be998185b63e5b23f0325e4e696ef2c59b01d | [
"MIT"
] | 47 | 2019-09-26T20:52:53.000Z | 2021-11-25T00:43:28.000Z | apps/Routes/routes.py | uvic-aero/onboard-computer | 1f4be998185b63e5b23f0325e4e696ef2c59b01d | [
"MIT"
] | 2 | 2019-09-30T20:22:48.000Z | 2019-10-26T21:00:55.000Z | # import routes from each application
from apps.Timelapse.routes import routes as tRoutes
from apps.ImageService.routes import routes as isRoutes
from apps.PiCam.routes import routes as pcRoutes
from apps.Pixhawk.routes import routes as telemRoutes
# Concatonate all available routes
routes = tRoutes + isRoutes + pcRou... | 37.555556 | 55 | 0.825444 | 46 | 338 | 6.065217 | 0.391304 | 0.215054 | 0.258065 | 0.286738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133136 | 338 | 8 | 56 | 42.25 | 0.952218 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cd24ca841e20ce4b667269e8a407778e017b14ce | 12 | py | Python | a.py | zhouhualin/test | ef4fed5d1f4495dccb842e82a0ee9e440e6e25b3 | [
"Apache-2.0"
] | null | null | null | a.py | zhouhualin/test | ef4fed5d1f4495dccb842e82a0ee9e440e6e25b3 | [
"Apache-2.0"
] | null | null | null | a.py | zhouhualin/test | ef4fed5d1f4495dccb842e82a0ee9e440e6e25b3 | [
"Apache-2.0"
] | null | null | null | print(123)
| 4 | 10 | 0.666667 | 2 | 12 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0.166667 | 12 | 2 | 11 | 6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 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 |
26be805d1a167dfdd0434e19f941d95cbe75ea32 | 47 | py | Python | test/test_deploy_latest_tags.py | amportela/outsystems-pipeline | 565714bcc5b39f6825bbe32a11e67c8ebfe5e2fd | [
"Apache-2.0"
] | 18 | 2019-10-15T07:09:48.000Z | 2022-03-10T09:40:37.000Z | test/test_deploy_latest_tags.py | amportela/outsystems-pipeline | 565714bcc5b39f6825bbe32a11e67c8ebfe5e2fd | [
"Apache-2.0"
] | 9 | 2019-11-14T06:40:08.000Z | 2022-03-09T14:47:24.000Z | test/test_deploy_latest_tags.py | amportela/outsystems-pipeline | 565714bcc5b39f6825bbe32a11e67c8ebfe5e2fd | [
"Apache-2.0"
] | 37 | 2019-11-05T17:20:18.000Z | 2022-03-21T06:18:24.000Z | def test_deploy_latest_tags():
assert True
| 15.666667 | 30 | 0.765957 | 7 | 47 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 31 | 23.5 | 0.846154 | 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 |
26c1ec5278d2b29bc53b5ca685aca584f1fbd1eb | 281 | py | Python | calculadora/operations.py | BrnCalisario/CalculadoraBasica | 6d4d2452d21373dd675552de334759360fcb0632 | [
"MIT"
] | null | null | null | calculadora/operations.py | BrnCalisario/CalculadoraBasica | 6d4d2452d21373dd675552de334759360fcb0632 | [
"MIT"
] | null | null | null | calculadora/operations.py | BrnCalisario/CalculadoraBasica | 6d4d2452d21373dd675552de334759360fcb0632 | [
"MIT"
] | null | null | null | def add(valA, valB):
return valA + valB
def sub(valA, valB):
return valA - valB
def mult(valA, valB):
return valA * valB
def div(valA, valB):
return valA / valB
operations = {
"+": add,
"-": sub,
"x": mult,
"÷": div,
}
| 12.217391 | 23 | 0.487544 | 35 | 281 | 3.942857 | 0.314286 | 0.463768 | 0.405797 | 0.521739 | 0.702899 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0.362989 | 281 | 22 | 24 | 12.772727 | 0.765363 | 0 | 0 | 0 | 0 | 0 | 0.015444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.571429 | 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 |
26c6d00a580788066cceb580d4433d9ea951a7bc | 23 | py | Python | readthedocs/projects/tests/__init__.py | thomaspurchas/readthedocs.org | 9f66756768a1950bf10f654a0abd4b6ea33d2556 | [
"MIT"
] | 1 | 2015-11-08T11:31:42.000Z | 2015-11-08T11:31:42.000Z | readthedocs/projects/tests/__init__.py | jasongrlicky/readthedocs.org | 538e9312527c085e665c101d66d37ba44b64e88e | [
"MIT"
] | null | null | null | readthedocs/projects/tests/__init__.py | jasongrlicky/readthedocs.org | 538e9312527c085e665c101d66d37ba44b64e88e | [
"MIT"
] | 1 | 2018-03-28T09:02:57.000Z | 2018-03-28T09:02:57.000Z | from sanitize import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f81b907a210f8c2f56d9fc352e5be38b02c0419a | 98 | py | Python | src/pyastar/__init__.py | teshanshanuka/pyastar | e5ed56a16479ad7965cc3f7d07bc2315fa2f98ac | [
"MIT"
] | null | null | null | src/pyastar/__init__.py | teshanshanuka/pyastar | e5ed56a16479ad7965cc3f7d07bc2315fa2f98ac | [
"MIT"
] | null | null | null | src/pyastar/__init__.py | teshanshanuka/pyastar | e5ed56a16479ad7965cc3f7d07bc2315fa2f98ac | [
"MIT"
] | null | null | null | from pyastar.astar_wrapper import astar_path, reduce_path
__all__ = ["astar_path", "reduce_path"]
| 32.666667 | 57 | 0.806122 | 14 | 98 | 5 | 0.571429 | 0.257143 | 0.428571 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 2 | 58 | 49 | 0.786517 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f86abe0f6e11187d0cff13b468ca629a68b7a774 | 138 | py | Python | talpa/classifiers/__init__.py | proy3189/coding_challenge | 9346979b9a3723349a8248389cc9ca0cf01ded0f | [
"Apache-2.0"
] | null | null | null | talpa/classifiers/__init__.py | proy3189/coding_challenge | 9346979b9a3723349a8248389cc9ca0cf01ded0f | [
"Apache-2.0"
] | null | null | null | talpa/classifiers/__init__.py | proy3189/coding_challenge | 9346979b9a3723349a8248389cc9ca0cf01ded0f | [
"Apache-2.0"
] | null | null | null | from .gradient_boosting import *
from .random_forest import *
from .logistic_regression import *
from .knn import *
from .xgboost import * | 27.6 | 34 | 0.789855 | 18 | 138 | 5.888889 | 0.555556 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 138 | 5 | 35 | 27.6 | 0.890756 | 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 |
f8762e416c70edb320b97d6e5b838c85315d7dc6 | 94 | py | Python | main.py | gabrielveigalima/remove_space | 181c2fd97996d305dbf7b74a8d8087807ae0cf5f | [
"MIT"
] | null | null | null | main.py | gabrielveigalima/remove_space | 181c2fd97996d305dbf7b74a8d8087807ae0cf5f | [
"MIT"
] | null | null | null | main.py | gabrielveigalima/remove_space | 181c2fd97996d305dbf7b74a8d8087807ae0cf5f | [
"MIT"
] | null | null | null | import re
def remove_space_white(string,atr):
return re.sub(r'\s{1,}',atr ,string.strip()) | 23.5 | 47 | 0.702128 | 17 | 94 | 3.764706 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.106383 | 94 | 4 | 47 | 23.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3e7bd3b1f03cb204822ba495ffc620ce3b221c65 | 38 | py | Python | backend/venv/Lib/site-packages/paver/__main__.py | analurandis/Tur | b4b5d1230d70659be0c3f477f0baea68fc46ba39 | [
"MIT"
] | 270 | 2015-01-10T01:00:09.000Z | 2022-03-13T21:05:27.000Z | backend/venv/Lib/site-packages/paver/__main__.py | analurandis/Tur | b4b5d1230d70659be0c3f477f0baea68fc46ba39 | [
"MIT"
] | 84 | 2015-02-10T18:45:25.000Z | 2021-06-21T14:55:33.000Z | backend/venv/Lib/site-packages/paver/__main__.py | analurandis/Tur | b4b5d1230d70659be0c3f477f0baea68fc46ba39 | [
"MIT"
] | 37 | 2015-03-26T14:05:33.000Z | 2022-03-22T12:32:19.000Z | import paver.tasks
paver.tasks.main()
| 12.666667 | 18 | 0.789474 | 6 | 38 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 2 | 19 | 19 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e4339f04308a9e6232a5c3863f6bad4dfd9ad82f | 67 | py | Python | tronx/__init__.py | JayPatel1314/Tron | d8f2d799eea344c0d76f0fe758ce385c7ceceea7 | [
"MIT"
] | null | null | null | tronx/__init__.py | JayPatel1314/Tron | d8f2d799eea344c0d76f0fe758ce385c7ceceea7 | [
"MIT"
] | null | null | null | tronx/__init__.py | JayPatel1314/Tron | d8f2d799eea344c0d76f0fe758ce385c7ceceea7 | [
"MIT"
] | null | null | null | from tronx.clients import app
from tronx.helpers import gen, regex
| 22.333333 | 36 | 0.820896 | 11 | 67 | 5 | 0.727273 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 2 | 37 | 33.5 | 0.948276 | 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 |
e444634daeb5583ac48c552f79227eef660f8e2a | 163 | py | Python | api/admin.py | TariqueNasrullah/LibraryManagementSystem | 4b3da701de3b13b61f40284bc3d832578b438532 | [
"MIT"
] | null | null | null | api/admin.py | TariqueNasrullah/LibraryManagementSystem | 4b3da701de3b13b61f40284bc3d832578b438532 | [
"MIT"
] | null | null | null | api/admin.py | TariqueNasrullah/LibraryManagementSystem | 4b3da701de3b13b61f40284bc3d832578b438532 | [
"MIT"
] | 1 | 2021-04-20T12:38:39.000Z | 2021-04-20T12:38:39.000Z | from django.contrib import admin
from api.models import Book, Author, BookLoan
admin.site.register(Book)
admin.site.register(Author)
admin.site.register(BookLoan) | 27.166667 | 45 | 0.822086 | 24 | 163 | 5.583333 | 0.5 | 0.201493 | 0.380597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079755 | 163 | 6 | 46 | 27.166667 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
e44f4b07e31df8be37ec24ef96556adc8d4c86f8 | 1,603 | py | Python | app.py | pq369/dashsampleboard | 598915af8a3e7a6deccd9322376adc9984b26b36 | [
"MIT"
] | null | null | null | app.py | pq369/dashsampleboard | 598915af8a3e7a6deccd9322376adc9984b26b36 | [
"MIT"
] | null | null | null | app.py | pq369/dashsampleboard | 598915af8a3e7a6deccd9322376adc9984b26b36 | [
"MIT"
] | null | null | null |
import streamlit as st
st.set_page_config( page_title = 'Streamlit Sample Dashboard Template', page_icon = '✅', layout = 'wide')
st.markdown("## KPI First Row")
# kpi 1
kpi1, kpi2, kpi3 = st.columns(3)
with kpi1:
st.markdown("**First KPI**")
number1 = 111
st.markdown(f"<h1 style='text-ali... | 28.122807 | 114 | 0.638802 | 235 | 1,603 | 4.268085 | 0.27234 | 0.149551 | 0.065803 | 0.077767 | 0.769691 | 0.769691 | 0.769691 | 0.703888 | 0.703888 | 0.703888 | 0 | 0.055136 | 0.174049 | 1,603 | 56 | 115 | 28.625 | 0.701662 | 0.007486 | 0 | 0.702703 | 0 | 0 | 0.325758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 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 |
e4f6f9f49d5814e39c8b445bbc392941364198e0 | 3,807 | py | Python | precovery/spherical_geom.py | spenczar/precovery | c7ea9e07b9bb35300d95010cfffeecc4c6ea0f2e | [
"BSD-3-Clause"
] | null | null | null | precovery/spherical_geom.py | spenczar/precovery | c7ea9e07b9bb35300d95010cfffeecc4c6ea0f2e | [
"BSD-3-Clause"
] | null | null | null | precovery/spherical_geom.py | spenczar/precovery | c7ea9e07b9bb35300d95010cfffeecc4c6ea0f2e | [
"BSD-3-Clause"
] | null | null | null | from typing import Tuple
import numba
import numpy as np
@numba.jit(nopython=True, cache=True)
def propagate_linearly(
ra0: float, dec0: float, vra: float, vdec: float, dt: float
) -> Tuple[float, float]:
"""
Linearly propagate a position across the sky, given its spherical
coordinates and the veloci... | 27.388489 | 86 | 0.615971 | 607 | 3,807 | 3.807249 | 0.209226 | 0.019039 | 0.017309 | 0.034617 | 0.829944 | 0.829944 | 0.829944 | 0.816962 | 0.816962 | 0.754652 | 0 | 0.048692 | 0.277121 | 3,807 | 138 | 87 | 27.586957 | 0.791061 | 0.385605 | 0 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.044118 | 0.014706 | 0.161765 | 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 |
90239d355e54ee89c4b00605d166273f72be0b70 | 14,851 | py | Python | data_utils.py | lara-martin/ASTER-X | 70520ce1d31187b484b6f850e01f733af54fa77c | [
"MIT"
] | 3 | 2021-08-23T18:51:54.000Z | 2022-03-07T20:16:17.000Z | data_utils.py | lara-martin/ASTER-X | 70520ce1d31187b484b6f850e01f733af54fa77c | [
"MIT"
] | null | null | null | data_utils.py | lara-martin/ASTER-X | 70520ce1d31187b484b6f850e01f733af54fa77c | [
"MIT"
] | null | null | null | """Data utilities."""
import torch
from torch.autograd import Variable
import operator
import json
import pickle
import numpy as np
import datetime
def read_config(file_path):
"""Read JSON config."""
json_object = json.load(open(file_path, 'r'))
return json_object
def read_vocab(file_path):
vocab = [word for w... | 29.291913 | 108 | 0.695307 | 2,367 | 14,851 | 4.107731 | 0.074778 | 0.060887 | 0.032089 | 0.012342 | 0.816415 | 0.804793 | 0.771984 | 0.756248 | 0.749357 | 0.728479 | 0 | 0.014777 | 0.161538 | 14,851 | 506 | 109 | 29.349802 | 0.766062 | 0.101071 | 0 | 0.636888 | 0 | 0 | 0.03762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057637 | false | 0 | 0.020173 | 0.002882 | 0.144092 | 0.005764 | 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 |
5f6e3df5e3ef3acd205b48554494308fc3e5c57d | 3,282 | py | Python | binary_search.py | lironhp/animated-octo-doodle | 6bcbcb84023badfca12f40740a3240c5005f30fd | [
"MIT"
] | null | null | null | binary_search.py | lironhp/animated-octo-doodle | 6bcbcb84023badfca12f40740a3240c5005f30fd | [
"MIT"
] | null | null | null | binary_search.py | lironhp/animated-octo-doodle | 6bcbcb84023badfca12f40740a3240c5005f30fd | [
"MIT"
] | null | null | null | import unittest
#GLOBALS
#=======
FIRST_IDX = 0
class TestBinarySearch(unittest.TestCase):
def test_chop_itr(self):
self.assertEqual(-1, chop_itr(3, []))
self.assertEqual(-1, chop_itr(3, [1]))
self.assertEqual(0, chop_itr(1, [1, 3, 5]))
self.assertEqual(1, chop_itr(3, [1, 3, 5]))
self.assertEqual(2, cho... | 34.914894 | 85 | 0.620963 | 532 | 3,282 | 3.633459 | 0.080827 | 0.279359 | 0.049664 | 0.269012 | 0.799793 | 0.759441 | 0.707708 | 0.678738 | 0.678738 | 0.18417 | 0 | 0.079677 | 0.20841 | 3,282 | 93 | 86 | 35.290323 | 0.664357 | 0.004266 | 0 | 0.230769 | 0 | 0 | 0.00245 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 0 | null | null | 0 | 0.012821 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5fb03c4ec2f8d98ef91d4209ef7490d26fd8c9f9 | 446 | py | Python | guniflask/beans/lifecycle.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | 12 | 2018-09-06T06:14:59.000Z | 2021-04-18T06:30:44.000Z | guniflask/beans/lifecycle.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | null | null | null | guniflask/beans/lifecycle.py | jadbin/guniflask | 36253a962c056abf34884263c6919b02b921ad9c | [
"MIT"
] | 2 | 2019-09-08T22:01:26.000Z | 2020-08-03T07:23:29.000Z | from abc import ABCMeta, abstractmethod
class InitializingBean(metaclass=ABCMeta):
@abstractmethod
def after_properties_set(self):
pass # pragma: no cover
class SmartInitializingSingleton(metaclass=ABCMeta):
@abstractmethod
def after_singletons_instantiated(self):
pass # pragma: no... | 22.3 | 52 | 0.724215 | 45 | 446 | 7.088889 | 0.488889 | 0.263323 | 0.282132 | 0.310345 | 0.467085 | 0.163009 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206278 | 446 | 19 | 53 | 23.473684 | 0.90113 | 0.112108 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.230769 | 0.076923 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
396e48b950a8486f120cd0593cd1532835979073 | 34 | py | Python | nodebox/gui/__init__.py | pepsipepsi/nodebox_opengl_python3 | cfb2633df1055a028672b11311603cc2241a1378 | [
"BSD-3-Clause"
] | 1 | 2017-03-19T16:56:46.000Z | 2017-03-19T16:56:46.000Z | nodebox/gui/__init__.py | pepsipepsi/nodebox_opengl_python3 | cfb2633df1055a028672b11311603cc2241a1378 | [
"BSD-3-Clause"
] | null | null | null | nodebox/gui/__init__.py | pepsipepsi/nodebox_opengl_python3 | cfb2633df1055a028672b11311603cc2241a1378 | [
"BSD-3-Clause"
] | null | null | null | from nodebox.gui.controls import * | 34 | 34 | 0.823529 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3982f1433ae90e27b8a85ada97eec877431b61aa | 146 | py | Python | workflow/admin.py | healthdesk-hackathon/backend | 93c43ff1aeff493a6b4d0034807f0434507ab05d | [
"MIT"
] | null | null | null | workflow/admin.py | healthdesk-hackathon/backend | 93c43ff1aeff493a6b4d0034807f0434507ab05d | [
"MIT"
] | 32 | 2020-03-27T23:50:02.000Z | 2021-09-08T01:54:55.000Z | workflow/admin.py | healthdesk-hackathon/backend | 93c43ff1aeff493a6b4d0034807f0434507ab05d | [
"MIT"
] | null | null | null | from django.contrib import admin
from workflow.models import Workflow
@admin.register(Workflow)
class WorkflowAdmin(admin.ModelAdmin):
pass
| 18.25 | 38 | 0.808219 | 18 | 146 | 6.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 146 | 7 | 39 | 20.857143 | 0.921875 | 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 |
399fed8befddcda67b6aff4c0dd6c3b038354194 | 34 | py | Python | archivo.py | AlexisCastaneda/HK2021 | efd8084ec66539b268f92ac394a4d1c72dde576f | [
"MIT"
] | null | null | null | archivo.py | AlexisCastaneda/HK2021 | efd8084ec66539b268f92ac394a4d1c72dde576f | [
"MIT"
] | null | null | null | archivo.py | AlexisCastaneda/HK2021 | efd8084ec66539b268f92ac394a4d1c72dde576f | [
"MIT"
] | null | null | null | print("Este es un archivo nuevo")
| 17 | 33 | 0.735294 | 6 | 34 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.705882 | 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 |
39bdf0b7baacb933d9e10c47db7c1cbcb345da46 | 1,386 | py | Python | pyaz/vm/image/terms/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/vm/image/terms/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/vm/image/terms/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage Azure Marketplace image terms.
'''
from .... pyaz_utils import _call_az
def accept(offer=None, plan=None, publisher=None, urn=None):
'''
Accept Azure Marketplace image terms so that the image can be used to create VMs.
Optional Parameters:
- offer -- Image offer
- plan -- Image billing ... | 31.5 | 116 | 0.675325 | 186 | 1,386 | 4.983871 | 0.258065 | 0.075512 | 0.090615 | 0.11219 | 0.781014 | 0.781014 | 0.781014 | 0.781014 | 0.661273 | 0.661273 | 0 | 0 | 0.219336 | 1,386 | 43 | 117 | 32.232558 | 0.856747 | 0.621212 | 0 | 0 | 0 | 0 | 0.170316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
84047f0f07897f1c00e46b646fa5cfe1c237e73e | 190 | py | Python | Statistics/StandardDeviation.py | kb2020s/Mini_Project2 | 85119249fa9be3c2efe5a1f95634c00c80cd0519 | [
"MIT"
] | null | null | null | Statistics/StandardDeviation.py | kb2020s/Mini_Project2 | 85119249fa9be3c2efe5a1f95634c00c80cd0519 | [
"MIT"
] | 1 | 2020-03-28T23:25:44.000Z | 2020-03-28T23:25:44.000Z | Statistics/StandardDeviation.py | kb2020s/Mini_Project2 | 85119249fa9be3c2efe5a1f95634c00c80cd0519 | [
"MIT"
] | null | null | null | from Calculator.SquareRoot import squarerooting
from Statistics.Variance import variance
def stddev(num):
variance_num = variance(num)
return round(squarerooting(variance_num), 4)
| 23.75 | 48 | 0.794737 | 23 | 190 | 6.478261 | 0.565217 | 0.221477 | 0.187919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.136842 | 190 | 7 | 49 | 27.142857 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffc8765c4a61a03d7980bec489c645e12f644c0e | 3,129 | py | Python | Skeleton/test_db.py | Linyu-Li/W4156-individual-assignment | bcb35a797f376f16a0a0ae78edee0ad279150b8b | [
"MIT"
] | null | null | null | Skeleton/test_db.py | Linyu-Li/W4156-individual-assignment | bcb35a797f376f16a0a0ae78edee0ad279150b8b | [
"MIT"
] | null | null | null | Skeleton/test_db.py | Linyu-Li/W4156-individual-assignment | bcb35a797f376f16a0a0ae78edee0ad279150b8b | [
"MIT"
] | null | null | null | import sqlite3
import unittest
import db
from sqlite3 import Error
class Test_Testdb(unittest.TestCase):
def test_init_db(self):
db.init_db()
conn = None
try:
conn = sqlite3.connect('sqlite_db')
cur = conn.cursor()
res = cur.execute('SELECT * FROM GAME')... | 24.637795 | 80 | 0.456695 | 348 | 3,129 | 4.017241 | 0.175287 | 0.03505 | 0.04721 | 0.064378 | 0.791845 | 0.791845 | 0.769671 | 0.746781 | 0.746781 | 0.746781 | 0 | 0.018023 | 0.414829 | 3,129 | 127 | 81 | 24.637795 | 0.745494 | 0 | 0 | 0.815217 | 0 | 0 | 0.078298 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 1 | 0.076087 | false | 0 | 0.043478 | 0 | 0.130435 | 0.054348 | 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 |
ffd770bf286748e755bf13ff4930aa3d51ce83a8 | 3,073 | py | Python | tests/terraform/checks/resource/gcp/test_GoogleCloudDNSKeySpecsRSASHA1.py | cclauss/checkov | 60a385fcaff1499cf00c2d0018575fe5ab71f556 | [
"Apache-2.0"
] | 4,013 | 2019-12-09T13:16:54.000Z | 2022-03-31T14:31:01.000Z | tests/terraform/checks/resource/gcp/test_GoogleCloudDNSKeySpecsRSASHA1.py | cclauss/checkov | 60a385fcaff1499cf00c2d0018575fe5ab71f556 | [
"Apache-2.0"
] | 1,258 | 2019-12-17T09:55:51.000Z | 2022-03-31T19:17:17.000Z | tests/terraform/checks/resource/gcp/test_GoogleCloudDNSKeySpecsRSASHA1.py | cclauss/checkov | 60a385fcaff1499cf00c2d0018575fe5ab71f556 | [
"Apache-2.0"
] | 638 | 2019-12-19T08:57:38.000Z | 2022-03-30T21:38:37.000Z | import unittest
from checkov.terraform.checks.resource.gcp.GoogleCloudDNSKeySpecsRSASHA1 import check
from checkov.common.models.enums import CheckResult
class TestCloudDNSKeySpecsRSASHA1(unittest.TestCase):
def test_failure_zone_signing(self):
resource_conf = {"name": ["example-zone"],
... | 46.560606 | 113 | 0.471201 | 238 | 3,073 | 5.798319 | 0.226891 | 0.104348 | 0.046377 | 0.057971 | 0.81087 | 0.795652 | 0.795652 | 0.795652 | 0.795652 | 0.795652 | 0 | 0.027927 | 0.394077 | 3,073 | 65 | 114 | 47.276923 | 0.713212 | 0 | 0 | 0.642857 | 0 | 0 | 0.23495 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0.035714 | 0.053571 | 0 | 0.142857 | 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 |
f229f2ba8e5b5218b59b0b942caea884f56b7874 | 23 | py | Python | modules/alarm/__init__.py | trusted-ws/alarm-thread | 22e517720c3dfc1f1e305b375af51feea47ac800 | [
"MIT"
] | null | null | null | modules/alarm/__init__.py | trusted-ws/alarm-thread | 22e517720c3dfc1f1e305b375af51feea47ac800 | [
"MIT"
] | null | null | null | modules/alarm/__init__.py | trusted-ws/alarm-thread | 22e517720c3dfc1f1e305b375af51feea47ac800 | [
"MIT"
] | null | null | null | from .main import Alarm | 23 | 23 | 0.826087 | 4 | 23 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
f26b84382c7421b2d95fba7579b7c2468638130a | 47 | py | Python | react_render/__init__.py | amcgavin/react-render | f94f0e211878e1dab03d6cc6d394c3339f1cd4b2 | [
"MIT"
] | 138 | 2015-04-09T11:02:22.000Z | 2022-03-14T14:35:48.000Z | react_render/__init__.py | MukaiGuy/react-render | 8395079a0f59ff2fff682fb0149941d0d399b706 | [
"MIT"
] | 17 | 2015-04-10T16:21:58.000Z | 2021-12-21T22:55:50.000Z | react_render/__init__.py | MukaiGuy/react-render | 8395079a0f59ff2fff682fb0149941d0d399b706 | [
"MIT"
] | 20 | 2015-04-14T02:08:28.000Z | 2021-01-16T12:52:20.000Z | from react_render.core import render_component
| 23.5 | 46 | 0.893617 | 7 | 47 | 5.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f275c3c106cd92c4ae947594ddd4a8edb29036df | 44 | py | Python | imstream/__init__.py | imneonizer/imstream | f958724ca0bef172fb3c32d1938df3bb8be17b05 | [
"MIT"
] | 9 | 2019-09-15T10:37:44.000Z | 2021-06-10T11:01:43.000Z | imstream/__init__.py | imneonizer/imstream | f958724ca0bef172fb3c32d1938df3bb8be17b05 | [
"MIT"
] | 1 | 2021-07-13T13:47:56.000Z | 2021-07-13T13:59:16.000Z | imstream/__init__.py | imneonizer/imstream | f958724ca0bef172fb3c32d1938df3bb8be17b05 | [
"MIT"
] | 1 | 2021-01-29T01:41:07.000Z | 2021-01-29T01:41:07.000Z | from imstream.imstream import VideoCapture
| 22 | 43 | 0.863636 | 5 | 44 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.974359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f282aa26d3cd95b4bda96b42e5475bdf60210cd9 | 228 | py | Python | app/backend/models/heater.py | kz3ko/smart-home-heating-simulation | f496bf55d2d0f4788e204edcbc71defe7fff7c60 | [
"MIT"
] | 1 | 2021-12-20T17:34:00.000Z | 2021-12-20T17:34:00.000Z | app/backend/models/heater.py | kz3ko/smart-home-heating-simulation | f496bf55d2d0f4788e204edcbc71defe7fff7c60 | [
"MIT"
] | null | null | null | app/backend/models/heater.py | kz3ko/smart-home-heating-simulation | f496bf55d2d0f4788e204edcbc71defe7fff7c60 | [
"MIT"
] | null | null | null | class Heater:
def __init__(self, max_power: int):
self.max_power = max_power
self.power = 0
self.is_heating = False
def __repr__(self):
return f'Heater with power of: {self.max_power}W'
| 22.8 | 57 | 0.622807 | 33 | 228 | 3.909091 | 0.545455 | 0.248062 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006135 | 0.285088 | 228 | 9 | 58 | 25.333333 | 0.785276 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f298bd6b1bddc824d6fc93b04517323c4149bfd1 | 258,379 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/95.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/95.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/95.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19209
passenger_arriving = (
(5, 6, 7, 3, 2, 1, 0, 3, 2, 2, 0, 0, 0, 5, 4, 2, 1, 1, 6, 0, 3, 1, 2, 1, 0, 0), # 0
(5, 5, 3, 8, 4, 1, 2, 3, 3, 2, 1, 0, 0, 10, 8, 2, 3, 4, 0, 2, 2, 0, 1, 1, 0, 0), # 1
(7, 8, 6, 9, 2, 0, 0, 2, 2, 1, 1, 0, 0, 6, 3, 5, 4, 6, 5, 1, 1, 0, 3, 1, 1, 0),... | 276.341176 | 494 | 0.769625 | 32,987 | 258,379 | 6.02795 | 0.217176 | 0.358472 | 0.343988 | 0.651767 | 0.375636 | 0.367348 | 0.364959 | 0.364014 | 0.363934 | 0.363934 | 0 | 0.849858 | 0.095728 | 258,379 | 934 | 495 | 276.637045 | 0.001194 | 0.015524 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 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 |
f2b3d4a32ffcf6c0761c847444520a20f4a2db4c | 123 | py | Python | openstack/errors.py | badi/openstack-client-shell | 10c1b4ad58a2562a0d23be4f6d34a36237cbc6f2 | [
"Apache-2.0"
] | null | null | null | openstack/errors.py | badi/openstack-client-shell | 10c1b4ad58a2562a0d23be4f6d34a36237cbc6f2 | [
"Apache-2.0"
] | null | null | null | openstack/errors.py | badi/openstack-client-shell | 10c1b4ad58a2562a0d23be4f6d34a36237cbc6f2 | [
"Apache-2.0"
] | null | null | null |
from subprocess import CalledProcessError
class TimeoutError(Exception):
pass
class ParseError(Exception):
pass
| 13.666667 | 41 | 0.780488 | 12 | 123 | 8 | 0.75 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 123 | 8 | 42 | 15.375 | 0.941176 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4b87b2ecb2c766bc270720bb571019c2bf854957 | 87 | py | Python | compiler/my_parser/__init__.py | GLAVAK/Lang | ac669402ffd56191edd14f4b0db5fccdccafe865 | [
"WTFPL"
] | null | null | null | compiler/my_parser/__init__.py | GLAVAK/Lang | ac669402ffd56191edd14f4b0db5fccdccafe865 | [
"WTFPL"
] | null | null | null | compiler/my_parser/__init__.py | GLAVAK/Lang | ac669402ffd56191edd14f4b0db5fccdccafe865 | [
"WTFPL"
] | null | null | null | import my_parser.code_block
import my_parser.statement
import my_parser.text_to_blocks
| 21.75 | 31 | 0.896552 | 15 | 87 | 4.8 | 0.6 | 0.333333 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 87 | 3 | 32 | 29 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4ba8739ab64892bdd3c32249dcac2da23d71e3fb | 2,486 | py | Python | data/typing/xarray.coding.cftimeindex.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 67 | 2020-08-17T11:53:26.000Z | 2021-11-08T20:16:06.000Z | data/typing/xarray.coding.cftimeindex.py | vfdev-5/python-record-api | 006faf0bba9cd4cb55fbacc13d2bbda365f5bf0b | [
"MIT"
] | 36 | 2020-08-17T11:09:51.000Z | 2021-12-15T18:09:47.000Z | data/typing/xarray.coding.cftimeindex.py | pydata-apis/python-api-record | 684cffbbb6dc6e81f9de4e02619c8b0ebc557b2b | [
"MIT"
] | 7 | 2020-08-19T05:06:47.000Z | 2020-11-04T05:10:38.000Z | from typing import *
class CFTimeIndex:
def copy(self, /, deep: bool):
"""
usage.xarray: 1
"""
...
def equals(self, /, other: xarray.coding.cftimeindex.CFTimeIndex):
"""
usage.xarray: 11
"""
...
@overload
def get_indexer(self, /, target... | 19.421875 | 84 | 0.45535 | 206 | 2,486 | 5.446602 | 0.194175 | 0.117647 | 0.106952 | 0.151515 | 0.777184 | 0.756684 | 0.702317 | 0.702317 | 0.702317 | 0.658645 | 0 | 0.008707 | 0.399437 | 2,486 | 127 | 85 | 19.574803 | 0.7428 | 0.077233 | 0 | 0.833333 | 0 | 0 | 0.032226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.012821 | 0 | 0.179487 | 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 |
298a872892b8282ff485c419fac66c13e799b3bb | 71 | py | Python | igmtools/calculations/__init__.py | cwfinn/igmtools | 6e14973fd1e69d5e7bd7c40f93ffe11e2cd41990 | [
"BSD-3-Clause"
] | null | null | null | igmtools/calculations/__init__.py | cwfinn/igmtools | 6e14973fd1e69d5e7bd7c40f93ffe11e2cd41990 | [
"BSD-3-Clause"
] | null | null | null | igmtools/calculations/__init__.py | cwfinn/igmtools | 6e14973fd1e69d5e7bd7c40f93ffe11e2cd41990 | [
"BSD-3-Clause"
] | 1 | 2019-11-19T04:45:38.000Z | 2019-11-19T04:45:38.000Z | from .absorption import *
from .cosmology import *
from .voigt import * | 23.666667 | 25 | 0.760563 | 9 | 71 | 6 | 0.555556 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 3 | 26 | 23.666667 | 0.9 | 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 |
29c5627840c168aad464e0016d6f5c9885d3ab6f | 115 | py | Python | orator/pagination/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 1,484 | 2015-05-24T19:34:02.000Z | 2022-03-29T07:17:05.000Z | orator/pagination/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 359 | 2015-05-25T14:59:20.000Z | 2022-03-21T07:54:28.000Z | orator/pagination/__init__.py | vimox-shah/orator-repo-0.9v | 002d7a0d9bcce17e5da39c3f4675d0a1a8286280 | [
"MIT"
] | 221 | 2015-06-10T12:38:38.000Z | 2022-03-12T23:22:36.000Z | # -*- coding: utf-8 -*-
from .paginator import Paginator
from .length_aware_paginator import LengthAwarePaginator
| 23 | 56 | 0.782609 | 13 | 115 | 6.769231 | 0.692308 | 0.340909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.121739 | 115 | 4 | 57 | 28.75 | 0.861386 | 0.182609 | 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 |
d9a7e394da647e4e60da90684cb33836db050e71 | 7,675 | py | Python | extra/moderation/firewall.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | 21 | 2020-09-13T17:25:00.000Z | 2022-02-22T19:19:57.000Z | extra/moderation/firewall.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | 12 | 2020-09-13T18:07:28.000Z | 2022-01-20T05:20:07.000Z | extra/moderation/firewall.py | costaluu/sloth-bot | 48727aff5859ec96c48691a638b3b8c0a90c70f9 | [
"MIT"
] | 20 | 2020-09-13T16:58:22.000Z | 2022-03-28T12:27:44.000Z | import discord
from discord.ext import commands
from mysqldb import the_database
from typing import List
class BypassFirewallTable(commands.Cog):
""" Category for the BypassFirewall table in the database. """
def __init__(self, client: commands.Bot) -> None:
""" Class init method. """
self.cl... | 36.20283 | 94 | 0.640521 | 897 | 7,675 | 5.289855 | 0.12932 | 0.09863 | 0.071654 | 0.06196 | 0.806744 | 0.779768 | 0.7549 | 0.71549 | 0.6647 | 0.648683 | 0 | 0.002433 | 0.250163 | 7,675 | 211 | 95 | 36.374408 | 0.822068 | 0.028013 | 0 | 0.548148 | 0 | 0 | 0.172356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014815 | false | 0.192593 | 0.02963 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d9b4c66baea2d404e5c28518f61c80215c604945 | 61,772 | py | Python | pytorchvideo/models/resnet.py | xchani/pytorchvideo | 16f2abf2f8aa174915316007622bbb260215dee8 | [
"Apache-2.0"
] | null | null | null | pytorchvideo/models/resnet.py | xchani/pytorchvideo | 16f2abf2f8aa174915316007622bbb260215dee8 | [
"Apache-2.0"
] | null | null | null | pytorchvideo/models/resnet.py | xchani/pytorchvideo | 16f2abf2f8aa174915316007622bbb260215dee8 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
from typing import Callable, List, Tuple, Union
import numpy as np
import torch
import torch.nn as nn
from pytorchvideo.layers.utils import set_attributes
from pytorchvideo.models.head import create_res_basic_head, create_res_roi_pooling_head
fro... | 39.145754 | 120 | 0.579551 | 7,691 | 61,772 | 4.417111 | 0.044858 | 0.037237 | 0.00574 | 0.032144 | 0.840722 | 0.801925 | 0.762275 | 0.734105 | 0.714147 | 0.705198 | 0 | 0.017609 | 0.339005 | 61,772 | 1,577 | 121 | 39.170577 | 0.812299 | 0.504792 | 0 | 0.563636 | 0 | 0 | 0.008597 | 0.002105 | 0 | 0 | 0 | 0 | 0.007792 | 1 | 0.023377 | false | 0 | 0.01039 | 0 | 0.057143 | 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 |
d9da43e92e3992e0b561205ec44b655e9764df53 | 33 | py | Python | perIOdico/__init__.py | jtl125/perIOdico | 75e3744f7b1542eba0ef7aef18155fc45466c26a | [
"MIT"
] | null | null | null | perIOdico/__init__.py | jtl125/perIOdico | 75e3744f7b1542eba0ef7aef18155fc45466c26a | [
"MIT"
] | 1 | 2021-02-26T12:21:28.000Z | 2021-02-26T12:21:28.000Z | perIOdico/__init__.py | jtl125/perIOdico | 75e3744f7b1542eba0ef7aef18155fc45466c26a | [
"MIT"
] | null | null | null | from .perIOdico import perIOdico
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 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 |
d9e33dd39cca4afb0b0a2a2879f39dfb0f4adebb | 19,592 | py | Python | raven/struct/dataframe/shortcolumn.py | raven-computing/pydf | 70b14ad11aa629da6d1abb993a2a4c567db73ca9 | [
"Apache-2.0"
] | null | null | null | raven/struct/dataframe/shortcolumn.py | raven-computing/pydf | 70b14ad11aa629da6d1abb993a2a4c567db73ca9 | [
"Apache-2.0"
] | null | null | null | raven/struct/dataframe/shortcolumn.py | raven-computing/pydf | 70b14ad11aa629da6d1abb993a2a4c567db73ca9 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2021 Raven Computing
#
# 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 writi... | 40.647303 | 96 | 0.593303 | 2,311 | 19,592 | 4.916054 | 0.095197 | 0.053692 | 0.053869 | 0.066543 | 0.87281 | 0.793944 | 0.761201 | 0.740252 | 0.69008 | 0.665522 | 0 | 0.010634 | 0.3088 | 19,592 | 481 | 97 | 40.731809 | 0.828312 | 0.135004 | 0 | 0.76435 | 0 | 0 | 0.034443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060423 | false | 0 | 0.012085 | 0.036254 | 0.135952 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9f2dc7f62d9818a3981bdcf5b3a03c0c4522318 | 7,088 | py | Python | assets/codes/em/test_em2.py | kkly1995/algorithms | 526ea30dd499696788915981cf978af1ee24dae4 | [
"MIT"
] | 2 | 2019-03-06T05:59:49.000Z | 2020-03-27T14:21:58.000Z | assets/codes/em/test_em2.py | kkly1995/algorithms | 526ea30dd499696788915981cf978af1ee24dae4 | [
"MIT"
] | 4 | 2019-02-01T16:53:15.000Z | 2021-06-11T00:17:44.000Z | assets/codes/em/test_em2.py | kkly1995/algorithms | 526ea30dd499696788915981cf978af1ee24dae4 | [
"MIT"
] | 8 | 2016-12-02T20:56:12.000Z | 2021-06-09T20:50:39.000Z | import numpy as np
import matplotlib.pyplot as plt
from matplotlib.colors import LinearSegmentedColormap
from matplotlib.animation import ArtistAnimation, FFMpegWriter, PillowWriter
from sklearn import datasets
from em import px, em_gmm
run_name = "test2"
seed = 3
np.random.seed(seed)
make_animations = False
num_... | 33.913876 | 117 | 0.614701 | 1,203 | 7,088 | 3.54946 | 0.154613 | 0.02623 | 0.023419 | 0.028103 | 0.764871 | 0.745199 | 0.723185 | 0.723185 | 0.716628 | 0.700703 | 0 | 0.031564 | 0.186512 | 7,088 | 209 | 118 | 33.913876 | 0.708984 | 0.12627 | 0 | 0.743421 | 0 | 0 | 0.086344 | 0.031103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.039474 | 0 | 0.039474 | 0.019737 | 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 |
8a27292af7709196f0cadcff05b86183dff5427a | 2,782 | py | Python | indra/tests/test_pmc_client.py | jmuhlich/indra | feab2c08541ea73f328579faa6a21b08082cb026 | [
"BSD-2-Clause"
] | null | null | null | indra/tests/test_pmc_client.py | jmuhlich/indra | feab2c08541ea73f328579faa6a21b08082cb026 | [
"BSD-2-Clause"
] | null | null | null | indra/tests/test_pmc_client.py | jmuhlich/indra | feab2c08541ea73f328579faa6a21b08082cb026 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import absolute_import, print_function, unicode_literals
from builtins import dict, str
from indra.literature import pmc_client
from nose.tools import raises
from indra.util import unicode_strs
example_ids = {'pmid': '25361007',
'pmcid': 'PMC4322985',
'doi': '10.18632/onco... | 34.345679 | 75 | 0.69051 | 399 | 2,782 | 4.488722 | 0.130326 | 0.122836 | 0.085427 | 0.080402 | 0.800112 | 0.776661 | 0.762144 | 0.721943 | 0.698492 | 0.658291 | 0 | 0.049618 | 0.152408 | 2,782 | 80 | 76 | 34.775 | 0.709924 | 0 | 0 | 0.522388 | 0 | 0 | 0.13808 | 0.036677 | 0 | 0 | 0 | 0 | 0.492537 | 1 | 0.164179 | false | 0 | 0.074627 | 0 | 0.238806 | 0.014925 | 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 |
8a373e99328fae1b3d73fd2262b08d2c24b77ba0 | 89 | py | Python | api/scan.py | andres-hurtado-lopez/lramprodvent | 257533d4ec07dc9783bd706d6af7ec0ec22fd9c0 | [
"MIT"
] | null | null | null | api/scan.py | andres-hurtado-lopez/lramprodvent | 257533d4ec07dc9783bd706d6af7ec0ec22fd9c0 | [
"MIT"
] | null | null | null | api/scan.py | andres-hurtado-lopez/lramprodvent | 257533d4ec07dc9783bd706d6af7ec0ec22fd9c0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def GET(**params):
return repr(params) | 17.8 | 23 | 0.595506 | 13 | 89 | 4.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.168539 | 89 | 5 | 24 | 17.8 | 0.702703 | 0.47191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8a489e6a8750abd5c20f38ec99e137d78569c9fb | 20 | py | Python | mdl/__init__.py | Segu-g/PyCppExtension | be0ada090dc983a6335f326f1dded1d267449fb7 | [
"MIT"
] | null | null | null | mdl/__init__.py | Segu-g/PyCppExtension | be0ada090dc983a6335f326f1dded1d267449fb7 | [
"MIT"
] | null | null | null | mdl/__init__.py | Segu-g/PyCppExtension | be0ada090dc983a6335f326f1dded1d267449fb7 | [
"MIT"
] | null | null | null | from . import cext
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 1 | 20 | 20 | 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 |
8ab4c04ec24ed12c003f2c46174413bde48ba976 | 54 | py | Python | dowhy/gcm/independence_test/__init__.py | Microsoft/dowhy | b84e257142df91e4ed792dcf6eee159f446ffef9 | [
"MIT"
] | 840 | 2018-06-25T22:31:16.000Z | 2019-05-06T13:45:17.000Z | dowhy/gcm/independence_test/__init__.py | Microsoft/dowhy | b84e257142df91e4ed792dcf6eee159f446ffef9 | [
"MIT"
] | 51 | 2018-07-05T09:31:59.000Z | 2019-05-03T15:37:10.000Z | dowhy/gcm/independence_test/__init__.py | Microsoft/dowhy | b84e257142df91e4ed792dcf6eee159f446ffef9 | [
"MIT"
] | 106 | 2018-06-28T12:35:03.000Z | 2019-05-06T16:16:32.000Z | from .kernel import kernel_based, approx_kernel_based
| 27 | 53 | 0.87037 | 8 | 54 | 5.5 | 0.625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.897959 | 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 |
8abb0ff640fe70cf14beecb920a2021fe3de9341 | 28 | py | Python | avalanche/benchmarks/datasets/lvis_dataset/__init__.py | lipovsek/avalanche | 1f06502b12140b39f48adf5a5f3b5de8ec2a930b | [
"MIT"
] | 1 | 2021-09-15T13:57:27.000Z | 2021-09-15T13:57:27.000Z | avalanche/benchmarks/datasets/lvis_dataset/__init__.py | lipovsek/avalanche | 1f06502b12140b39f48adf5a5f3b5de8ec2a930b | [
"MIT"
] | null | null | null | avalanche/benchmarks/datasets/lvis_dataset/__init__.py | lipovsek/avalanche | 1f06502b12140b39f48adf5a5f3b5de8ec2a930b | [
"MIT"
] | null | null | null | from .lvis_dataset 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 |
0a3c68a613643b613f037c1ed9d52568a7fd2624 | 15,210 | py | Python | util/oracle.py | Obighbyd/nest-trans-em18 | 6d6c2dfc5194ec436f697f7bc3d72c540ded3f00 | [
"MIT"
] | 33 | 2018-09-25T03:37:13.000Z | 2022-02-07T04:05:59.000Z | util/oracle.py | Obighbyd/nest-trans-em18 | 6d6c2dfc5194ec436f697f7bc3d72c540ded3f00 | [
"MIT"
] | 3 | 2018-10-22T08:55:07.000Z | 2022-03-14T04:10:44.000Z | util/oracle.py | Obighbyd/nest-trans-em18 | 6d6c2dfc5194ec436f697f7bc3d72c540ded3f00 | [
"MIT"
] | 7 | 2018-10-18T06:46:11.000Z | 2020-06-16T06:03:16.000Z | from collections import defaultdict
import pdb
class SegmentSet(object):
"""
maintain the outermost constituents
"""
def __init__(self, tuples):
"""
tuple: <start, end, ...>
"""
self.tuples = tuples
self.query_cache = {}
def __getitem__(self, q):
... | 41.108108 | 114 | 0.457396 | 1,502 | 15,210 | 4.531292 | 0.09787 | 0.045254 | 0.068763 | 0.074052 | 0.793418 | 0.762856 | 0.747429 | 0.717161 | 0.717161 | 0.717161 | 0 | 0.037285 | 0.421631 | 15,210 | 369 | 115 | 41.219512 | 0.736387 | 0.058448 | 0 | 0.751825 | 0 | 0 | 0.029654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051095 | false | 0 | 0.007299 | 0.00365 | 0.10219 | 0.007299 | 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 |
6a749467e68890d290a43e44e1a6689f376f5e90 | 9,035 | py | Python | tests/list/test_list_len_declaration.py | nikitanovosibirsk/district42 | 0c13248919fc96bde16b9634a8ea468e4882752a | [
"Apache-2.0"
] | 1 | 2016-09-16T04:09:19.000Z | 2016-09-16T04:09:19.000Z | tests/list/test_list_len_declaration.py | nikitanovosibirsk/district42 | 0c13248919fc96bde16b9634a8ea468e4882752a | [
"Apache-2.0"
] | 2 | 2021-06-14T05:53:49.000Z | 2022-02-01T14:26:31.000Z | tests/list/test_list_len_declaration.py | nikitanovosibirsk/district42 | 0c13248919fc96bde16b9634a8ea468e4882752a | [
"Apache-2.0"
] | null | null | null | from baby_steps import given, then, when
from pytest import raises
from district42 import schema
from district42.errors import DeclarationError
def test_list_len_declaration():
with given:
length = 10
with when:
sch = schema.list.len(length)
with then:
assert sch.props.len == le... | 29.051447 | 92 | 0.659436 | 1,199 | 9,035 | 4.774812 | 0.049208 | 0.078603 | 0.072664 | 0.080349 | 0.968384 | 0.956856 | 0.951965 | 0.940961 | 0.896419 | 0.871441 | 0 | 0.011626 | 0.238406 | 9,035 | 310 | 93 | 29.145161 | 0.820375 | 0 | 0 | 0.641148 | 0 | 0 | 0.12197 | 0.004649 | 0 | 0 | 0 | 0 | 0.248804 | 1 | 0.138756 | false | 0 | 0.019139 | 0 | 0.157895 | 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 |
6a8f814041573a009758bba2b5d7ac3585bed8be | 187 | py | Python | read_roi/__init__.py | bjarne89/read-roi | 740983e10bea641bca29bb49ef87501a49bc2399 | [
"BSD-3-Clause"
] | null | null | null | read_roi/__init__.py | bjarne89/read-roi | 740983e10bea641bca29bb49ef87501a49bc2399 | [
"BSD-3-Clause"
] | null | null | null | read_roi/__init__.py | bjarne89/read-roi | 740983e10bea641bca29bb49ef87501a49bc2399 | [
"BSD-3-Clause"
] | null | null | null | from ._read_roi import read_roi_file, read_roi_zip, read_roi_bytearray
from ._version import __version__
__all__ = ('read_roi_file', 'read_roi_zip', 'read_roi_bytearray', '__version__')
| 37.4 | 80 | 0.812834 | 28 | 187 | 4.464286 | 0.321429 | 0.392 | 0.176 | 0.24 | 0.592 | 0.592 | 0.592 | 0.592 | 0.592 | 0 | 0 | 0 | 0.090909 | 187 | 4 | 81 | 46.75 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.28877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a8fe3b0e92840e8ebd8d45e064158efe564eb3d | 47 | py | Python | responder/api/__init__.py | stellaraf/responder | e94929fd1b6eb4ea4aad722ab5f54f0dd7a35331 | [
"BSD-3-Clause"
] | null | null | null | responder/api/__init__.py | stellaraf/responder | e94929fd1b6eb4ea4aad722ab5f54f0dd7a35331 | [
"BSD-3-Clause"
] | null | null | null | responder/api/__init__.py | stellaraf/responder | e94929fd1b6eb4ea4aad722ab5f54f0dd7a35331 | [
"BSD-3-Clause"
] | null | null | null | """REST API."""
# Local
from .main import api
| 9.4 | 21 | 0.617021 | 7 | 47 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 47 | 4 | 22 | 11.75 | 0.763158 | 0.340426 | 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.