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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2240e762ed432772d1d685278b413769baff0d58 | 48 | py | Python | convlab2/nlu/milu/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 339 | 2020-03-04T09:43:22.000Z | 2022-03-26T17:27:38.000Z | convlab2/nlu/milu/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 122 | 2020-04-12T04:19:06.000Z | 2022-03-23T14:20:57.000Z | convlab2/nlu/milu/multiwoz/__init__.py | Malavikka/ConvLab-2 | f2a0d251e4fab9e36e9d9f04df6308623d2d780c | [
"Apache-2.0"
] | 138 | 2020-02-18T16:48:04.000Z | 2022-03-26T17:27:43.000Z | from convlab2.nlu.milu.multiwoz.nlu import MILU
| 24 | 47 | 0.833333 | 8 | 48 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.083333 | 48 | 1 | 48 | 48 | 0.886364 | 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 |
22599be45ff8fdb05beaffa1a8bae26bfdc8e7cd | 10,131 | py | Python | datasets_released_by_month.py | open-data/monthly-analytics-generator | d134f52ac9fa1fdd3d8708fe469b7ba2c33d8d31 | [
"MIT"
] | 1 | 2020-08-07T00:56:48.000Z | 2020-08-07T00:56:48.000Z | datasets_released_by_month.py | open-data/monthly-analytics-generator | d134f52ac9fa1fdd3d8708fe469b7ba2c33d8d31 | [
"MIT"
] | 1 | 2020-02-18T19:30:38.000Z | 2020-03-02T17:47:13.000Z | datasets_released_by_month.py | open-data/monthly-analytics-generator | d134f52ac9fa1fdd3d8708fe469b7ba2c33d8d31 | [
"MIT"
] | null | null | null | # coding=utf-8
# This reads visits from openDataPortal.siteAnalytics.datasetsByOrgByMonth.bilingual.csv
import csv, datetime, yaml
from dateutil import relativedelta
def to_html():
en_to_html()
fr_to_html()
def en_to_html():
final_result = open("datasets_released_by_month_en.txt", "w")
create_intro_e... | 70.354167 | 335 | 0.566183 | 1,361 | 10,131 | 4.123439 | 0.138134 | 0.06985 | 0.109765 | 0.149679 | 0.857448 | 0.78047 | 0.78047 | 0.770848 | 0.758375 | 0.742694 | 0 | 0.018266 | 0.151614 | 10,131 | 144 | 336 | 70.354167 | 0.634671 | 0.009772 | 0 | 0.564103 | 0 | 0.051282 | 0.325224 | 0.081157 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.017094 | 0 | 0.094017 | 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 |
3f313a4ff3a61e9ddd54677ac67a98bc853a6b40 | 28 | py | Python | flyherder_demo_gui/flyherder_demo_gui/__init__.py | iorodeo/flyherder_device_software | 2309f3378a1ab961d389786bd2263a44421f1114 | [
"Apache-2.0"
] | null | null | null | flyherder_demo_gui/flyherder_demo_gui/__init__.py | iorodeo/flyherder_device_software | 2309f3378a1ab961d389786bd2263a44421f1114 | [
"Apache-2.0"
] | null | null | null | flyherder_demo_gui/flyherder_demo_gui/__init__.py | iorodeo/flyherder_device_software | 2309f3378a1ab961d389786bd2263a44421f1114 | [
"Apache-2.0"
] | null | null | null | from flyherder_gui import *
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f56975f731c0fec72ca14f57820b80609683910 | 26 | py | Python | helloworld.py | costycons/hello-world | 1690b057195523a52970f808bcffebc4cfcde8a0 | [
"MIT"
] | null | null | null | helloworld.py | costycons/hello-world | 1690b057195523a52970f808bcffebc4cfcde8a0 | [
"MIT"
] | null | null | null | helloworld.py | costycons/hello-world | 1690b057195523a52970f808bcffebc4cfcde8a0 | [
"MIT"
] | null | null | null | print('hello world new!')
| 13 | 25 | 0.692308 | 4 | 26 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
58d68612f850195d2661b174bc52729a72dba2bf | 49 | py | Python | data_expectations/errors/__pycache__/internals/__init__.py | joocer/data-expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | null | null | null | data_expectations/errors/__pycache__/internals/__init__.py | joocer/data-expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | 4 | 2021-07-12T07:15:08.000Z | 2021-12-24T22:04:45.000Z | data_expectations/errors/__pycache__/internals/__init__.py | joocer/data_expectations | c2747393575f52d1e2308ccbcb0d7efa5a4eb721 | [
"Apache-2.0"
] | null | null | null | from .text import sql_like_to_regex, build_regex
| 24.5 | 48 | 0.857143 | 9 | 49 | 4.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.863636 | 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 |
18872fdc7f86d29dd03ad6648da0e1f39c251bd7 | 19,258 | py | Python | tests/providers/googlecloud/test_provider.py | west1636/RDM-waterbutler | 6ed22cd52eda8a9665a29615f9b2e623dcae3b29 | [
"Apache-2.0"
] | 65 | 2015-01-23T03:22:04.000Z | 2022-01-11T22:33:19.000Z | tests/providers/googlecloud/test_provider.py | cslzchen/waterbutler | e4e07727e06885a752c9251e5731f5627f646da3 | [
"Apache-2.0"
] | 300 | 2015-02-16T16:45:02.000Z | 2022-01-31T14:49:07.000Z | tests/providers/googlecloud/test_provider.py | cslzchen/waterbutler | e4e07727e06885a752c9251e5731f5627f646da3 | [
"Apache-2.0"
] | 76 | 2015-01-20T20:45:17.000Z | 2021-07-30T13:18:10.000Z | import io
import json
import time
from unittest import mock
from http import HTTPStatus
import pytest
import aiohttpretty
from waterbutler.core import exceptions
from waterbutler.core.streams import FileStreamReader, ResponseStreamReader
from waterbutler.providers.googlecloud.metadata import GoogleCloudFileMetadata
f... | 41.956427 | 100 | 0.661595 | 2,360 | 19,258 | 4.974153 | 0.075424 | 0.095068 | 0.042593 | 0.027515 | 0.836613 | 0.811568 | 0.79189 | 0.786098 | 0.772383 | 0.745379 | 0 | 0.005181 | 0.258282 | 19,258 | 458 | 101 | 42.048035 | 0.816648 | 0.006802 | 0 | 0.580556 | 0 | 0 | 0.030694 | 0.007687 | 0 | 0 | 0 | 0 | 0.161111 | 1 | 0.025 | false | 0 | 0.038889 | 0.008333 | 0.086111 | 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 |
18aba95e6b97c46cb8e980a55842c29502d06255 | 55 | py | Python | samples/threading/single_user/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | samples/threading/single_user/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | samples/threading/single_user/__init__.py | zoho/zohocrm-python-sdk-2.0 | 3a93eb3b57fed4e08f26bd5b311e101cb2995411 | [
"Apache-2.0"
] | null | null | null | from . import multi_thread
from . import single_thread
| 18.333333 | 27 | 0.818182 | 8 | 55 | 5.375 | 0.625 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 55 | 2 | 28 | 27.5 | 0.914894 | 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 |
18b1a0a43d7c79e43c5bb2e88f9de7f98d26b037 | 11,199 | py | Python | tests/examples/switching_ssm/models/test_slds.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | tests/examples/switching_ssm/models/test_slds.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | tests/examples/switching_ssm/models/test_slds.py | tuananhle7/hmws | 175f77a2b386ce5a9598b61c982e053e7ecff8a2 | [
"MIT"
] | null | null | null | import torch
from cmws.examples.switching_ssm.models.slds import GenerativeModel, Guide
def test_generative_model_latent_log_prob_dims():
for single_subspace in [True, False]:
num_states, continuous_dim, obs_dim, num_timesteps = 5, 2, 10, 7
generative_model = GenerativeModel(
num_state... | 39.854093 | 100 | 0.603447 | 1,273 | 11,199 | 4.978005 | 0.036921 | 0.121193 | 0.096576 | 0.097207 | 0.926148 | 0.891747 | 0.866025 | 0.855452 | 0.835095 | 0.79959 | 0 | 0.016007 | 0.302706 | 11,199 | 280 | 101 | 39.996429 | 0.795492 | 0.028485 | 0 | 0.650538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.075269 | false | 0 | 0.010753 | 0 | 0.086022 | 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 |
18e2ff9e48d9884824271b259f5494d590944f7d | 48 | py | Python | cyder/api/v1/endpoints/dhcp/vrf/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 6 | 2015-04-16T23:18:22.000Z | 2020-08-25T22:50:13.000Z | cyder/api/v1/endpoints/dhcp/vrf/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 267 | 2015-01-01T00:18:57.000Z | 2015-10-14T00:01:13.000Z | cyder/api/v1/endpoints/dhcp/vrf/__init__.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 5 | 2015-03-23T00:57:09.000Z | 2019-09-09T22:42:37.000Z | from cyder.api.v1.endpoints.dhcp.vrf import api
| 24 | 47 | 0.8125 | 9 | 48 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.083333 | 48 | 1 | 48 | 48 | 0.863636 | 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 |
7a0d1d8e5843e12369353b767b37a28c185e4ee8 | 78 | py | Python | yikit/feature_selection/__init__.py | yu9824/yikit | d2a0732f543e70b8be985b22847504a06c9837fc | [
"Apache-2.0"
] | null | null | null | yikit/feature_selection/__init__.py | yu9824/yikit | d2a0732f543e70b8be985b22847504a06c9837fc | [
"Apache-2.0"
] | null | null | null | yikit/feature_selection/__init__.py | yu9824/yikit | d2a0732f543e70b8be985b22847504a06c9837fc | [
"Apache-2.0"
] | null | null | null | from .filter_method import FilterSelector
from .wrapper_method import BorutaPy | 39 | 41 | 0.884615 | 10 | 78 | 6.7 | 0.7 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 78 | 2 | 42 | 39 | 0.943662 | 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 |
e136054845d76af846601afb0567259d009171b0 | 63 | py | Python | turf/rhumb_distance/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 11 | 2020-08-26T11:04:55.000Z | 2022-01-26T14:53:10.000Z | turf/rhumb_distance/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 36 | 2020-04-09T16:49:05.000Z | 2020-06-01T14:39:37.000Z | turf/rhumb_distance/__init__.py | malroc/pyturf | c89b6ea7094bd5ca26cf589d9dcd15bd819d82e9 | [
"MIT"
] | 5 | 2020-07-30T23:37:35.000Z | 2021-08-24T08:10:28.000Z | from turf.rhumb_distance._rhumb_distance import rhumb_distance
| 31.5 | 62 | 0.904762 | 9 | 63 | 5.888889 | 0.555556 | 0.735849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 63 | 1 | 63 | 63 | 0.898305 | 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 |
e15fa29dc9d9cfc218671c395c849a52f69135e1 | 340 | py | Python | battleships/objects/__init__.py | yShimoka/Python-Bataille-Navale | a2b2d7b6221977e615ce0a0dbc18cb7c1fce05f1 | [
"MIT"
] | null | null | null | battleships/objects/__init__.py | yShimoka/Python-Bataille-Navale | a2b2d7b6221977e615ce0a0dbc18cb7c1fce05f1 | [
"MIT"
] | null | null | null | battleships/objects/__init__.py | yShimoka/Python-Bataille-Navale | a2b2d7b6221977e615ce0a0dbc18cb7c1fce05f1 | [
"MIT"
] | 1 | 2019-12-03T15:42:38.000Z | 2019-12-03T15:42:38.000Z | # Copyright © 2019 CAILLAUD Jean-Baptiste.
# Import the ship types.
from battleships.objects.Ship import AircraftCarrier, BattleShip, Cruiser, PatrolBoat, Submarine
# Import the board type.
from battleships.objects.Board import Board
from battleships.objects.ShipBoard import ShipBoard
from battleships.objects.ShotBoa... | 37.777778 | 96 | 0.829412 | 42 | 340 | 6.738095 | 0.52381 | 0.212014 | 0.310954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013245 | 0.111765 | 340 | 8 | 97 | 42.5 | 0.92053 | 0.252941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bede18433ffdd39fbe8fb039289950c984978f9e | 253 | py | Python | wagtail_svgmap/modeladmin/__init__.py | sylvainblot/wagtail-svgmap | a9883570029a23b555fd0ce2b8bdfc423c3032ed | [
"BSD-3-Clause"
] | 13 | 2017-10-10T03:15:45.000Z | 2021-06-11T05:26:58.000Z | wagtail_svgmap/modeladmin/__init__.py | sylvainblot/wagtail-svgmap | a9883570029a23b555fd0ce2b8bdfc423c3032ed | [
"BSD-3-Clause"
] | 12 | 2016-08-23T09:59:37.000Z | 2018-03-02T16:44:51.000Z | wagtail_svgmap/modeladmin/__init__.py | sylvainblot/wagtail-svgmap | a9883570029a23b555fd0ce2b8bdfc423c3032ed | [
"BSD-3-Clause"
] | 8 | 2017-08-18T10:19:43.000Z | 2021-01-21T23:04:17.000Z | from wagtail.contrib.modeladmin.options import modeladmin_register
from .image_maps import ImageMapModelAdmin
from .regions import RegionModelAdmin
def register():
modeladmin_register(ImageMapModelAdmin)
modeladmin_register(RegionModelAdmin)
| 25.3 | 66 | 0.84585 | 25 | 253 | 8.4 | 0.52 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106719 | 253 | 9 | 67 | 28.111111 | 0.929204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8339d73e5d33bf12961d971de255b9c4264614e7 | 28 | py | Python | trainable/tests/data/transforms.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | 1 | 2018-12-17T19:38:00.000Z | 2018-12-17T19:38:00.000Z | trainable/tests/data/transforms.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | null | null | null | trainable/tests/data/transforms.py | hiltonjp/trainable | 3b1432c9c816285680f14e292eaef26cdbe213cf | [
"MIT"
] | null | null | null | # TODO make transforms tests | 28 | 28 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
833a0ba111d8c3589900daa8565b45c1b46ca35f | 21 | py | Python | openacademy/__init__.py | arelhi234/OpenAcademy-project | 3e31dcf648d291708e08cc87012daa664beaf203 | [
"Apache-2.0"
] | null | null | null | openacademy/__init__.py | arelhi234/OpenAcademy-project | 3e31dcf648d291708e08cc87012daa664beaf203 | [
"Apache-2.0"
] | null | null | null | openacademy/__init__.py | arelhi234/OpenAcademy-project | 3e31dcf648d291708e08cc87012daa664beaf203 | [
"Apache-2.0"
] | null | null | null | from . import model
| 7 | 19 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 2 | 20 | 10.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83541e89edba7842b351a3bf1389316dbaab27cd | 276 | py | Python | db-init.py | XJTU-EPE/BOILERSTONE-server | 8ce472ffe71e5cb20fef663ac51045a50f6300f6 | [
"MIT"
] | null | null | null | db-init.py | XJTU-EPE/BOILERSTONE-server | 8ce472ffe71e5cb20fef663ac51045a50f6300f6 | [
"MIT"
] | null | null | null | db-init.py | XJTU-EPE/BOILERSTONE-server | 8ce472ffe71e5cb20fef663ac51045a50f6300f6 | [
"MIT"
] | null | null | null | from model.dbcommon import Pgdb as db
from model.base_card import BaseCard, BaseCardEffect, BaseCastTarget, BaseCardCardEffectRel, BaseCardCastTargetRel
db.connect()
db.create_tables([BaseCard, BaseCardEffect, BaseCastTarget, BaseCardCardEffectRel, BaseCardCastTargetRel])
| 34.5 | 114 | 0.851449 | 27 | 276 | 8.62963 | 0.62963 | 0.077253 | 0.309013 | 0.48927 | 0.669528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 276 | 7 | 115 | 39.428571 | 0.920949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
55cd13090ea0a297760d660a047b473a6153c460 | 5,269 | py | Python | saleor/graphql/giftcard/tests/mutations/test_gift_card_bulk_activate.py | siyoola/saleor | 4e52b8655a5570a8ce0a3b1484b4d8b46fbd0ad0 | [
"CC-BY-4.0"
] | null | null | null | saleor/graphql/giftcard/tests/mutations/test_gift_card_bulk_activate.py | siyoola/saleor | 4e52b8655a5570a8ce0a3b1484b4d8b46fbd0ad0 | [
"CC-BY-4.0"
] | 86 | 2021-11-01T04:51:55.000Z | 2022-03-30T16:30:16.000Z | saleor/graphql/giftcard/tests/mutations/test_gift_card_bulk_activate.py | siyoola/saleor | 4e52b8655a5570a8ce0a3b1484b4d8b46fbd0ad0 | [
"CC-BY-4.0"
] | null | null | null | from datetime import date, timedelta
import graphene
from .....giftcard import GiftCardEvents
from .....giftcard.error_codes import GiftCardErrorCode
from .....giftcard.models import GiftCard, GiftCardEvent
from ....tests.utils import assert_no_permission, get_graphql_content
MUTATION_GIFT_CARD_BULK_ACTIVATE = """
... | 28.79235 | 87 | 0.691023 | 662 | 5,269 | 5.125378 | 0.122357 | 0.132037 | 0.061892 | 0.079576 | 0.830828 | 0.805482 | 0.778662 | 0.760978 | 0.725022 | 0.699086 | 0 | 0.001442 | 0.210476 | 5,269 | 182 | 88 | 28.950549 | 0.814183 | 0.019928 | 0 | 0.589552 | 0 | 0 | 0.08743 | 0.009909 | 0 | 0 | 0 | 0 | 0.104478 | 1 | 0.037313 | false | 0 | 0.044776 | 0 | 0.08209 | 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 |
55d9cab44e4932c037160fc28fb8a6a1da24a285 | 167 | py | Python | SimG4Core/GFlash/python/GflashDigi_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | SimG4Core/GFlash/python/GflashDigi_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | SimG4Core/GFlash/python/GflashDigi_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from SimCalorimetry.EcalSimProducers.ecaldigi_cfi import *
# simEcalUnsuppressedDigis.EBs25notContainment = 1.0
# simEcalUnsuppressedDigis.EEs25notContainment = 1.0
| 27.833333 | 58 | 0.850299 | 14 | 167 | 10.071429 | 0.785714 | 0.028369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052288 | 0.083832 | 167 | 5 | 59 | 33.4 | 0.869281 | 0.60479 | 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 |
3698322f650fd99178d834395fff613f4539c698 | 43 | py | Python | sys_version.py | dmitry106/imsahousingarrangement | 095e95f7c394063d4636609156e5c60ff94cb795 | [
"MIT"
] | null | null | null | sys_version.py | dmitry106/imsahousingarrangement | 095e95f7c394063d4636609156e5c60ff94cb795 | [
"MIT"
] | null | null | null | sys_version.py | dmitry106/imsahousingarrangement | 095e95f7c394063d4636609156e5c60ff94cb795 | [
"MIT"
] | null | null | null | import sys
print('version is', sys.version) | 21.5 | 32 | 0.767442 | 7 | 43 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 32 | 21.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 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 |
36995f54dcc17732ed7548461ffc7187f1c3c20a | 204 | py | Python | src/Exceptions/NoIssue.py | flexiooss/flexio-flow | 47491c7e5b49a02dc859028de0d486edc0014b26 | [
"Apache-2.0"
] | null | null | null | src/Exceptions/NoIssue.py | flexiooss/flexio-flow | 47491c7e5b49a02dc859028de0d486edc0014b26 | [
"Apache-2.0"
] | 44 | 2019-04-05T06:08:15.000Z | 2021-09-13T19:37:49.000Z | src/Exceptions/NoIssue.py | flexiooss/flexio-flow | 47491c7e5b49a02dc859028de0d486edc0014b26 | [
"Apache-2.0"
] | null | null | null | class NoIssue(Exception):
def __init__(self, message: str = ''):
self.message: str = message
def __str__(self):
return """
No Issue for this branch
{0!s}
""".format(self.message)
| 20.4 | 42 | 0.617647 | 26 | 204 | 4.538462 | 0.653846 | 0.279661 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.235294 | 204 | 9 | 43 | 22.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
36a247be38d78ef68a74b888f60e5c7b14a2d8a8 | 24,010 | py | Python | rlgraph/tests/components/test_policies.py | theSoenke/rlgraph | a5ebf55820bce2d02dff22bb6db6247699fd6740 | [
"Apache-2.0"
] | null | null | null | rlgraph/tests/components/test_policies.py | theSoenke/rlgraph | a5ebf55820bce2d02dff22bb6db6247699fd6740 | [
"Apache-2.0"
] | null | null | null | rlgraph/tests/components/test_policies.py | theSoenke/rlgraph | a5ebf55820bce2d02dff22bb6db6247699fd6740 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018/2019 The RLgraph authors. 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 appli... | 49.710145 | 135 | 0.663848 | 2,885 | 24,010 | 5.235009 | 0.086655 | 0.036417 | 0.033503 | 0.039727 | 0.83692 | 0.792425 | 0.767265 | 0.733232 | 0.703635 | 0.689466 | 0 | 0.016329 | 0.222032 | 24,010 | 482 | 136 | 49.813278 | 0.792227 | 0.15556 | 0 | 0.546584 | 0 | 0.006211 | 0.112638 | 0.075439 | 0 | 0 | 0 | 0 | 0.118012 | 1 | 0.015528 | false | 0 | 0.034161 | 0 | 0.052795 | 0.015528 | 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 |
36a39e6358468b826eaafd17d8cd490ba0222d59 | 7,752 | py | Python | test/test_extra_details.py | kcorlidy/gen_account | cdaa8f55007ec751f75e5a3c0b65b9d623078680 | [
"MIT"
] | 1 | 2021-05-03T23:48:59.000Z | 2021-05-03T23:48:59.000Z | test/test_extra_details.py | kcorlidy/gen_account | cdaa8f55007ec751f75e5a3c0b65b9d623078680 | [
"MIT"
] | null | null | null | test/test_extra_details.py | kcorlidy/gen_account | cdaa8f55007ec751f75e5a3c0b65b9d623078680 | [
"MIT"
] | 1 | 2021-05-03T23:48:48.000Z | 2021-05-03T23:48:48.000Z | from mnemonic import Mnemonic
import unittest
import binascii
from pyhdwallet.hdwallets import bips
_store = [["m/44'/0'/0'/0/0", '1HnA8fYPskppWonizo8v1owqjBDMviz5Zh', '02707f1e1a0e1ea7ba8ce83710604304fa85f995b6b0d15ff752cf70602cf4757e', '5f5b55e76d05be90bdd523483386b8d418412dbe04dd398155c486319fb260f8', 'KzR58Tj1WkL... | 99.384615 | 1,781 | 0.849716 | 490 | 7,752 | 13.32449 | 0.316327 | 0.012406 | 0.016542 | 0.013785 | 0.169398 | 0.145352 | 0.145352 | 0.145352 | 0.142288 | 0.133098 | 0 | 0.326367 | 0.049407 | 7,752 | 78 | 1,782 | 99.384615 | 0.559642 | 0.006063 | 0 | 0.415094 | 0 | 0 | 0.726305 | 0.655025 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.132075 | false | 0.09434 | 0.075472 | 0 | 0.226415 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7fd59ccf6da50a1ffb714f274bd79915acc5cf21 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/33/25/a8/022f091dd701bfbc97b96a544950036f1e8b481f6b661ee44c881d03c6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d30ba83b9db7076a531885d0a5e9695d829445a | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/d4/01/7e/77137f365384ca8c9d073d7d030a5e5983d260266f38b25237f3dd6ad6 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9e5a159b755a110542fb2e5ac3283cba0876bf6 | 192 | py | Python | src/main.py | 3omer/zelite | 5f153ad077354413557a098d414a2909e6666a52 | [
"MIT"
] | null | null | null | src/main.py | 3omer/zelite | 5f153ad077354413557a098d414a2909e6666a52 | [
"MIT"
] | 3 | 2021-04-09T22:55:29.000Z | 2021-04-12T12:51:29.000Z | src/main.py | 3omer/Manzel | b605aec71d1f4ce9413c08f89c8b60f3bacc8513 | [
"MIT"
] | 1 | 2021-09-14T17:25:15.000Z | 2021-09-14T17:25:15.000Z | from app import app, db
from app.models import Device, User
# print(app.config)
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'Device': Device, 'User': User}
| 19.2 | 53 | 0.71875 | 29 | 192 | 4.62069 | 0.517241 | 0.104478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151042 | 192 | 9 | 54 | 21.333333 | 0.822086 | 0.088542 | 0 | 0 | 0 | 0 | 0.069364 | 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 |
a100ca819a1c1cf6eb2c7938f65f933ca1e4df56 | 117 | py | Python | 15Fall/1133 Intro to Programming Concepts/Python Labs/Lab 7/l7 wo.py | oway13/Schoolwork | 294f407c288ef532f8f187a6ee0bd9fd0e7559ab | [
"MIT"
] | null | null | null | 15Fall/1133 Intro to Programming Concepts/Python Labs/Lab 7/l7 wo.py | oway13/Schoolwork | 294f407c288ef532f8f187a6ee0bd9fd0e7559ab | [
"MIT"
] | null | null | null | 15Fall/1133 Intro to Programming Concepts/Python Labs/Lab 7/l7 wo.py | oway13/Schoolwork | 294f407c288ef532f8f187a6ee0bd9fd0e7559ab | [
"MIT"
] | null | null | null | def choose(n, k):
if k == 0 or n == k:
return 1
else:
return choose(n-1, k-1)+choose(n-1, k)
| 19.5 | 46 | 0.470085 | 23 | 117 | 2.391304 | 0.434783 | 0.381818 | 0.290909 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.358974 | 117 | 5 | 47 | 23.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a1038676cbf45f757c70af9932be5dd6a46e6bdd | 80 | py | Python | slack_bolt/middleware/authorization/authorization.py | hirosassa/bolt-python | befc3a1463f3ac8dbb780d66decc304e2bdf3e7a | [
"MIT"
] | 504 | 2020-08-07T05:02:57.000Z | 2022-03-31T14:32:46.000Z | slack_bolt/middleware/authorization/authorization.py | hirosassa/bolt-python | befc3a1463f3ac8dbb780d66decc304e2bdf3e7a | [
"MIT"
] | 560 | 2020-08-07T01:16:06.000Z | 2022-03-30T00:40:56.000Z | slack_bolt/middleware/authorization/authorization.py | hirosassa/bolt-python | befc3a1463f3ac8dbb780d66decc304e2bdf3e7a | [
"MIT"
] | 150 | 2020-08-07T09:41:14.000Z | 2022-03-30T04:54:51.000Z | from ..middleware import Middleware
class Authorization(Middleware):
pass
| 13.333333 | 35 | 0.775 | 8 | 80 | 7.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 5 | 36 | 16 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a125441777a111ff83dd5306f34d9fa122948e08 | 39 | py | Python | qreu/__init__.py | gisce/qreu | 77be4e3680544a50eafd6b288090648ac03a6c93 | [
"MIT"
] | 2 | 2016-07-08T10:49:21.000Z | 2016-07-10T09:58:23.000Z | qreu/__init__.py | gisce/qreu | 77be4e3680544a50eafd6b288090648ac03a6c93 | [
"MIT"
] | 39 | 2016-08-29T06:52:53.000Z | 2020-06-16T07:01:48.000Z | qreu/__init__.py | gisce/qreu | 77be4e3680544a50eafd6b288090648ac03a6c93 | [
"MIT"
] | null | null | null | # coding=utf-8
from .email import Email | 19.5 | 24 | 0.769231 | 7 | 39 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.128205 | 39 | 2 | 24 | 19.5 | 0.852941 | 0.307692 | 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 |
a1613640357a23a81d743c8b94b57b80c20c0e29 | 8,874 | py | Python | 51job/DataChuLi.py | LaoFuoc/WebSpider | d29697c04b12283d95f9c40ec7c6d0819b0c273b | [
"Apache-2.0"
] | 5 | 2020-09-03T07:36:52.000Z | 2022-03-14T12:12:57.000Z | 51job/DataChuLi.py | LaoFuoc/WebSpider | d29697c04b12283d95f9c40ec7c6d0819b0c273b | [
"Apache-2.0"
] | null | null | null | 51job/DataChuLi.py | LaoFuoc/WebSpider | d29697c04b12283d95f9c40ec7c6d0819b0c273b | [
"Apache-2.0"
] | null | null | null | #encoding: utf-8
import re
salarys = ['1-1.5万/月', '1.5-2万/月', '0.8-1万/月', '6-8千/月', '0.8-1.5万/月', '1-2万/月', '1.5-2.5万/月', '4.5-6千/月', '0.8-1.2万/月', '薪资面议', '0.6-1万/月', '1.5-3万/月', '0.6-1.2万/月', '2-2.5万/月', '5-8千/月', '0.5-1万/月', '1.2-1.8万/月', '3-4.5千/月', '1-1.8万/月', '1.2-2万/月', '0.7-1.2万/月', '2-3万/月', '4-6千/月', '0.7... | 286.258065 | 8,041 | 0.441853 | 2,677 | 8,874 | 1.464699 | 0.053418 | 0.061719 | 0.016832 | 0.009181 | 0.202499 | 0.062484 | 0.033665 | 0.017598 | 0.017598 | 0 | 0 | 0.288525 | 0.106378 | 8,874 | 30 | 8,042 | 295.8 | 0.205927 | 0.00169 | 0 | 0.16 | 0 | 0 | 0.618713 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.16 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a16c8085297f5798298eec13b58fd756b32dcd92 | 52,995 | py | Python | rcat/runtime/RCAT_plots.py | HCLIMcom/RCAT | 71700000d0f33ec4cfc7d54609c01102a5e62b50 | [
"MIT"
] | null | null | null | rcat/runtime/RCAT_plots.py | HCLIMcom/RCAT | 71700000d0f33ec4cfc7d54609c01102a5e62b50 | [
"MIT"
] | 2 | 2021-03-03T09:53:13.000Z | 2021-11-02T14:28:09.000Z | rcat/runtime/RCAT_plots.py | HCLIMcom/RCAT | 71700000d0f33ec4cfc7d54609c01102a5e62b50 | [
"MIT"
] | 2 | 2021-05-18T07:38:01.000Z | 2021-06-02T09:12:26.000Z | """
Module script for plotting
"""
import os
import sys
import xarray as xa
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
from matplotlib.lines import Line2D
import math
import rcat.plot.plots as rpl
from rcat.utils.polygons import mask_region
from copy import deepcopy
# Colors
set1 = mpl... | 39.637248 | 79 | 0.511595 | 6,763 | 52,995 | 3.815023 | 0.066539 | 0.011782 | 0.014651 | 0.016744 | 0.829115 | 0.807759 | 0.778381 | 0.758459 | 0.72784 | 0.69974 | 0 | 0.015625 | 0.334579 | 52,995 | 1,336 | 80 | 39.666916 | 0.716028 | 0.029984 | 0 | 0.60697 | 0 | 0 | 0.078579 | 0.025352 | 0 | 0 | 0 | 0 | 0.000968 | 1 | 0.017425 | false | 0 | 0.011617 | 0 | 0.036786 | 0.001936 | 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 |
a178a2a9d30709080c23c2e320f300714ff6455e | 29 | py | Python | wesutils/__init__.py | wessle/wesutils | 6dbd026acf90629cfd761e6f266ff9be9bdecb67 | [
"MIT"
] | null | null | null | wesutils/__init__.py | wessle/wesutils | 6dbd026acf90629cfd761e6f266ff9be9bdecb67 | [
"MIT"
] | null | null | null | wesutils/__init__.py | wessle/wesutils | 6dbd026acf90629cfd761e6f266ff9be9bdecb67 | [
"MIT"
] | null | null | null | from wesutils.utils import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 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 |
a190870d351fe79cfa2d38887076ac348891b8a0 | 93 | py | Python | third/imagelib/07_libfacedetect.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 13 | 2020-01-04T07:37:38.000Z | 2021-08-31T05:19:58.000Z | third/imagelib/07_libfacedetect.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 3 | 2020-06-05T22:42:53.000Z | 2020-08-24T07:18:54.000Z | third/imagelib/07_libfacedetect.py | gottaegbert/penter | 8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d | [
"MIT"
] | 9 | 2020-10-19T04:53:06.000Z | 2021-08-31T05:20:01.000Z | # https://github.com/ShiqiYu/libfacedetection
# https://github.com/seetaface/SeetaFaceEngine | 31 | 46 | 0.806452 | 10 | 93 | 7.5 | 0.7 | 0.293333 | 0.373333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 93 | 3 | 46 | 31 | 0.842697 | 0.946237 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1ad47b205bd733b086c2fc5d296c1122b208440 | 19,533 | py | Python | monk/pytorch/finetune/level_8_layers_main.py | abhi-kumar/monk_kaggle_bengali_ai | 12a6c654446e887706c1a8bed82fccf8a98ce356 | [
"Apache-2.0"
] | null | null | null | monk/pytorch/finetune/level_8_layers_main.py | abhi-kumar/monk_kaggle_bengali_ai | 12a6c654446e887706c1a8bed82fccf8a98ce356 | [
"Apache-2.0"
] | 9 | 2020-01-28T21:40:39.000Z | 2022-02-10T01:24:06.000Z | monk/pytorch/finetune/level_8_layers_main.py | abhi-kumar/monk_kaggle_bengali_ai | 12a6c654446e887706c1a8bed82fccf8a98ce356 | [
"Apache-2.0"
] | null | null | null | from pytorch.finetune.imports import *
from system.imports import *
from pytorch.finetune.level_7_aux_main import prototype_aux
class prototype_layers(prototype_aux):
@accepts("self", verbose=int, post_trace=True)
@TraceFunction(trace_args=True, trace_rv=True)
def __init__(self, verbose=1):
super... | 53.662088 | 137 | 0.449496 | 1,686 | 19,533 | 4.988731 | 0.062871 | 0.172393 | 0.116514 | 0.074189 | 0.844608 | 0.844608 | 0.844608 | 0.825704 | 0.820473 | 0.792771 | 0 | 0.00315 | 0.154764 | 19,533 | 364 | 138 | 53.662088 | 0.506299 | 0 | 0 | 0.684444 | 0 | 0 | 0.175015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.106667 | false | 0 | 0.013333 | 0 | 0.124444 | 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 |
a1b48fae763fbf7c83735d594af08af760b3dc8e | 201 | py | Python | Clase-11-mayo-Json/leerjson.py | alejoso76/Computaci-n-gr-fica | 474a498a328b8951aa0bfa1db2d0d1f3d8cc914b | [
"MIT"
] | null | null | null | Clase-11-mayo-Json/leerjson.py | alejoso76/Computaci-n-gr-fica | 474a498a328b8951aa0bfa1db2d0d1f3d8cc914b | [
"MIT"
] | null | null | null | Clase-11-mayo-Json/leerjson.py | alejoso76/Computaci-n-gr-fica | 474a498a328b8951aa0bfa1db2d0d1f3d8cc914b | [
"MIT"
] | null | null | null | import json
with open ('ejemploCaminoV2.json') as archivo:
datos=json.load(archivo)
print datos["height"]
print datos["width"]
print datos ["layers"][1]["data"]
print datos ["layers"][0]["data"]
| 20.1 | 46 | 0.691542 | 28 | 201 | 4.964286 | 0.571429 | 0.28777 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.119403 | 201 | 9 | 47 | 22.333333 | 0.768362 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.571429 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a1d9dae8b1ef12b5b117796ac7fcfdea0c48d8e3 | 48 | py | Python | src/examples/e_functions/void_functions.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-ChristianHamilton77 | ee6156890c5ca581fe1e18cec58f5bbd4010d088 | [
"MIT"
] | null | null | null | src/examples/e_functions/void_functions.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-ChristianHamilton77 | ee6156890c5ca581fe1e18cec58f5bbd4010d088 | [
"MIT"
] | null | null | null | src/examples/e_functions/void_functions.py | acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-ChristianHamilton77 | ee6156890c5ca581fe1e18cec58f5bbd4010d088 | [
"MIT"
] | null | null | null | #
def first_program():
print('Hello World!') | 16 | 25 | 0.645833 | 6 | 48 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 25 | 16 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b81db8b94889e2e6a89e1e5723423b3f9736fbbf | 119 | py | Python | subrepos/bdsim/bdsim/blocks/__init__.py | CallumJHays/ubdsim | 1944461b95d356dc4892e154fd55228280ee52b1 | [
"MIT"
] | 1 | 2021-06-20T08:49:42.000Z | 2021-06-20T08:49:42.000Z | subrepos/bdsim/bdsim/blocks/__init__.py | CallumJHays/ubdsim_realtime | 1944461b95d356dc4892e154fd55228280ee52b1 | [
"MIT"
] | null | null | null | subrepos/bdsim/bdsim/blocks/__init__.py | CallumJHays/ubdsim_realtime | 1944461b95d356dc4892e154fd55228280ee52b1 | [
"MIT"
] | null | null | null | from .functions import *
from .sources import *
from .sinks import *
from . import connections, discrete, io, transfers | 29.75 | 50 | 0.764706 | 15 | 119 | 6.066667 | 0.6 | 0.32967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151261 | 119 | 4 | 50 | 29.75 | 0.90099 | 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 |
62b7d2360afe676afe3d0d69da67b5bb60b30c59 | 207 | py | Python | difs/admin.py | rh-cssre/glitchtip-backend | ae12fbd54532cff5fd3d7a72631ba18625bbf1de | [
"MIT"
] | null | null | null | difs/admin.py | rh-cssre/glitchtip-backend | ae12fbd54532cff5fd3d7a72631ba18625bbf1de | [
"MIT"
] | null | null | null | difs/admin.py | rh-cssre/glitchtip-backend | ae12fbd54532cff5fd3d7a72631ba18625bbf1de | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import DebugInformationFile
class DebugInformationFileAdmin(admin.ModelAdmin):
pass
admin.site.register(DebugInformationFile, DebugInformationFileAdmin)
| 20.7 | 68 | 0.845411 | 19 | 207 | 9.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 207 | 9 | 69 | 23 | 0.94086 | 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 |
1a0f837a76494ada47bda7e30f1cd65a68ee3517 | 11,355 | py | Python | scripts/mgear/core/primitive.py | thirstydevil/mgear_core | a6c11e0e902a147ee73361ef2db1658afcb47c66 | [
"MIT"
] | null | null | null | scripts/mgear/core/primitive.py | thirstydevil/mgear_core | a6c11e0e902a147ee73361ef2db1658afcb47c66 | [
"MIT"
] | null | null | null | scripts/mgear/core/primitive.py | thirstydevil/mgear_core | a6c11e0e902a147ee73361ef2db1658afcb47c66 | [
"MIT"
] | null | null | null | """Functions to create primitives (Non geometry)"""
import pymel.core as pm
import pymel.core.datatypes as datatypes
from mgear.core import transform
#############################################
# PRIMITIVE
#############################################
def addTransform(parent, name, m=datatypes.Matrix()):
"""... | 29.115385 | 81 | 0.597358 | 1,416 | 11,355 | 4.789548 | 0.164548 | 0.022707 | 0.025951 | 0.036862 | 0.783102 | 0.766293 | 0.73931 | 0.73931 | 0.711884 | 0.702153 | 0 | 0.014557 | 0.286129 | 11,355 | 389 | 82 | 29.190231 | 0.822107 | 0.465698 | 0 | 0.748092 | 0 | 0 | 0.055886 | 0.005756 | 0 | 0 | 0 | 0.002571 | 0 | 1 | 0.076336 | false | 0 | 0.022901 | 0 | 0.175573 | 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 |
c5007a30fb149a1b6e52de1926e29ebba719d123 | 11,509 | py | Python | connectorx-python/connectorx/tests/test_bigquery.py | alexander-beedie/connector-x | 597b5be03ceb13f70c889a2638de0036c016308b | [
"MIT"
] | null | null | null | connectorx-python/connectorx/tests/test_bigquery.py | alexander-beedie/connector-x | 597b5be03ceb13f70c889a2638de0036c016308b | [
"MIT"
] | null | null | null | connectorx-python/connectorx/tests/test_bigquery.py | alexander-beedie/connector-x | 597b5be03ceb13f70c889a2638de0036c016308b | [
"MIT"
] | null | null | null | import os
import pandas as pd
import pytest
from pandas.testing import assert_frame_equal
from .. import read_sql
@pytest.fixture(scope="module") # type: ignore
def bigquery_url() -> str:
conn = os.environ["BIGQUERY_URL"]
return conn
@pytest.mark.skipif(
not os.environ.get("BIGQUERY_URL"),
reason... | 36.769968 | 185 | 0.596577 | 1,493 | 11,509 | 4.412592 | 0.093101 | 0.083485 | 0.021858 | 0.063752 | 0.888889 | 0.880996 | 0.878567 | 0.862933 | 0.838494 | 0.838494 | 0 | 0.037659 | 0.254757 | 11,509 | 312 | 186 | 36.887821 | 0.729043 | 0.001043 | 0 | 0.664311 | 0 | 0.021201 | 0.274641 | 0.054023 | 0 | 0 | 0 | 0 | 0.045936 | 1 | 0.045936 | false | 0 | 0.017668 | 0 | 0.067138 | 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 |
c543c6623ad4d3f1c81095f2b0984c8b588f23c2 | 765 | py | Python | python_fishc/43.1.py | iisdd/Courses | a47d202e0d7e1ba85a38c6fe3dd9619eceb1045c | [
"MIT"
] | 1 | 2020-11-29T14:42:01.000Z | 2020-11-29T14:42:01.000Z | python_fishc/43.1.py | iisdd/Courses | a47d202e0d7e1ba85a38c6fe3dd9619eceb1045c | [
"MIT"
] | null | null | null | python_fishc/43.1.py | iisdd/Courses | a47d202e0d7e1ba85a38c6fe3dd9619eceb1045c | [
"MIT"
] | null | null | null | class Word(str):
def __init__(self , str1):
self.str1 = str1
self.count = 0
for each in self.str1:
if each == ' ':
break
else:
self.count += 1
def __lt__(self , other):
return self.count < other.c... | 24.677419 | 55 | 0.500654 | 86 | 765 | 4.127907 | 0.337209 | 0.202817 | 0.253521 | 0.321127 | 0.616901 | 0.616901 | 0.616901 | 0.521127 | 0 | 0 | 0 | 0.013015 | 0.397386 | 765 | 30 | 56 | 25.5 | 0.75705 | 0 | 0 | 0 | 0 | 0 | 0.029932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0 | 0 | 0.26087 | 0.608696 | 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 |
c56649ed1ee41a170f1b2dce117691d5a05b6ec8 | 8,102 | py | Python | services/graph_services/test_graphs.py | TENSAE21/network-analytics-services | 72c5dbe93e11e98f003758e646acf453073c43aa | [
"MIT"
] | null | null | null | services/graph_services/test_graphs.py | TENSAE21/network-analytics-services | 72c5dbe93e11e98f003758e646acf453073c43aa | [
"MIT"
] | null | null | null | services/graph_services/test_graphs.py | TENSAE21/network-analytics-services | 72c5dbe93e11e98f003758e646acf453073c43aa | [
"MIT"
] | null | null | null | # coding: utf-8
import unittest
import graphs
import networkx as nx
class TestGraphs(unittest.TestCase):
def test_min_nodes_to_remove(self):
b = graphs.Graphs()
graph = {
"nodes": [],
"edges": [[1,2]]
}
source_node = 1
target_node = 2
ret = b.min_nodes_to_remove(graph, source_node, target_node... | 32.934959 | 129 | 0.631696 | 1,294 | 8,102 | 3.791345 | 0.080371 | 0.01916 | 0.101916 | 0.065634 | 0.877293 | 0.874236 | 0.869955 | 0.848349 | 0.84468 | 0.821443 | 0 | 0.054838 | 0.178474 | 8,102 | 245 | 130 | 33.069388 | 0.682242 | 0.046902 | 0 | 0.661905 | 0 | 0 | 0.227196 | 0.011418 | 0 | 0 | 0 | 0 | 0.138095 | 1 | 0.009524 | false | 0 | 0.104762 | 0 | 0.119048 | 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 |
3d9ab5445d653dec0986ffb7582663b8cc0840b9 | 89 | py | Python | src/routes/__init__.py | ConnectAPI/Gateway | 95fc283ff8c730353709ebe14f613e74821c45a5 | [
"MIT"
] | null | null | null | src/routes/__init__.py | ConnectAPI/Gateway | 95fc283ff8c730353709ebe14f613e74821c45a5 | [
"MIT"
] | null | null | null | src/routes/__init__.py | ConnectAPI/Gateway | 95fc283ff8c730353709ebe14f613e74821c45a5 | [
"MIT"
] | null | null | null | from .api import proxy_router, internal_app
__all__ = ["proxy_router", "internal_app"]
| 17.8 | 43 | 0.764045 | 12 | 89 | 5 | 0.666667 | 0.366667 | 0.633333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123596 | 89 | 4 | 44 | 22.25 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.269663 | 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 |
3deec8411d63a5b409e6f5cee464d3b85e2fabde | 145 | py | Python | img_registration/data/__init__.py | lidawei0124/ISD_yolo_dual | a4617a6ad20b3988f3b422df7a1b8533e32e241b | [
"Apache-2.0"
] | 1 | 2021-08-10T05:30:37.000Z | 2021-08-10T05:30:37.000Z | img_registration/data/__init__.py | lidawei0124/ISD_yolo_dual | a4617a6ad20b3988f3b422df7a1b8533e32e241b | [
"Apache-2.0"
] | null | null | null | img_registration/data/__init__.py | lidawei0124/ISD_yolo_dual | a4617a6ad20b3988f3b422df7a1b8533e32e241b | [
"Apache-2.0"
] | null | null | null | #from .wider_face import WiderFaceDetection, detection_collate
from .dataset import DatasetLoader, detection_collate
from .data_augment import *
| 36.25 | 62 | 0.855172 | 17 | 145 | 7.058824 | 0.647059 | 0.266667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096552 | 145 | 3 | 63 | 48.333333 | 0.916031 | 0.42069 | 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 |
9a7ab495a75a1fc20466b7914f99bc963f8fde47 | 2,235 | py | Python | a10_octavia/db/migration/alembic_migrations/versions/a3c90b57952d_added_defaults_for_non_nullable_tables.py | hthompson6/a10-octavia | 1e8479667a1368d27e81979944eee6fbb9d5390c | [
"Apache-2.0"
] | 5 | 2020-03-10T16:48:55.000Z | 2021-09-18T00:57:58.000Z | a10_octavia/db/migration/alembic_migrations/versions/a3c90b57952d_added_defaults_for_non_nullable_tables.py | hthompson6/a10-octavia | 1e8479667a1368d27e81979944eee6fbb9d5390c | [
"Apache-2.0"
] | 72 | 2019-08-10T01:16:59.000Z | 2021-12-13T08:20:36.000Z | a10_octavia/db/migration/alembic_migrations/versions/a3c90b57952d_added_defaults_for_non_nullable_tables.py | hthompson6/a10-octavia | 1e8479667a1368d27e81979944eee6fbb9d5390c | [
"Apache-2.0"
] | 27 | 2019-08-11T19:26:52.000Z | 2021-07-21T09:08:58.000Z | """Added defaults for non-nullable tables
Revision ID: a3c90b57952d
Revises: 34a0d811941d
Create Date: 2021-03-31 23:10:50.297427
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
# revision identifiers, used by Alembic.
revision = 'a3c90b57952d'
down_revision = '34a0d811941d'
... | 35.47619 | 65 | 0.634452 | 247 | 2,235 | 5.54251 | 0.319838 | 0.061359 | 0.113952 | 0.105186 | 0.748722 | 0.748722 | 0.738495 | 0.738495 | 0.738495 | 0.735573 | 0 | 0.043036 | 0.251454 | 2,235 | 62 | 66 | 36.048387 | 0.775254 | 0.143177 | 0 | 0.8 | 0 | 0 | 0.15442 | 0.026624 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044444 | false | 0 | 0.066667 | 0 | 0.111111 | 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 |
9a7fec960307191d826a136412088c92d1f5bd61 | 74,620 | py | Python | facebook_business/adobjects/productcatalog.py | mschmo/facebook-python-ads-sdk | bf273b4627c99dc261e4483ae0a4c5de648b37c8 | [
"CNRI-Python"
] | null | null | null | facebook_business/adobjects/productcatalog.py | mschmo/facebook-python-ads-sdk | bf273b4627c99dc261e4483ae0a4c5de648b37c8 | [
"CNRI-Python"
] | null | null | null | facebook_business/adobjects/productcatalog.py | mschmo/facebook-python-ads-sdk | bf273b4627c99dc261e4483ae0a4c5de648b37c8 | [
"CNRI-Python"
] | null | null | null | # Copyright 2014 Facebook, Inc.
# You are hereby granted a non-exclusive, worldwide, royalty-free license to
# use, copy, modify, and distribute this software in source code or binary
# form for use in connection with the web services and APIs provided by
# Facebook.
# As with any software that integrates with the Fa... | 39.027197 | 133 | 0.601287 | 7,797 | 74,620 | 5.544312 | 0.06464 | 0.016655 | 0.02998 | 0.02267 | 0.77559 | 0.763261 | 0.761364 | 0.758426 | 0.745102 | 0.744917 | 0 | 0.000173 | 0.304221 | 74,620 | 1,911 | 134 | 39.047619 | 0.832451 | 0.014138 | 0 | 0.707111 | 0 | 0 | 0.14507 | 0.022135 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029345 | false | 0.001693 | 0.050226 | 0.000564 | 0.167607 | 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 |
9a95481b83d8a721a2f8132bd3cd365f94bde48b | 32 | py | Python | custom/protein/dataset/__init__.py | sailfish009/mydl | ca2dfd1ff1b609dbd76ef966bbe53b7854f6f78f | [
"Apache-2.0"
] | null | null | null | custom/protein/dataset/__init__.py | sailfish009/mydl | ca2dfd1ff1b609dbd76ef966bbe53b7854f6f78f | [
"Apache-2.0"
] | null | null | null | custom/protein/dataset/__init__.py | sailfish009/mydl | ca2dfd1ff1b609dbd76ef966bbe53b7854f6f78f | [
"Apache-2.0"
] | null | null | null | from .build import build_dataset | 32 | 32 | 0.875 | 5 | 32 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 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 |
9af3d6dee2c44bb1214c755f6b109c2fc7fe5620 | 186 | py | Python | chatty/__init__.py | ZoeS17/CCG-Mixer-Bot | 4450d71648b98c7fcabb6363ae4bf4e71125786b | [
"MIT"
] | null | null | null | chatty/__init__.py | ZoeS17/CCG-Mixer-Bot | 4450d71648b98c7fcabb6363ae4bf4e71125786b | [
"MIT"
] | null | null | null | chatty/__init__.py | ZoeS17/CCG-Mixer-Bot | 4450d71648b98c7fcabb6363ae4bf4e71125786b | [
"MIT"
] | null | null | null | '''Chat Bot Stuff'''
from .connection import Connection
def create(*args, **kwargs):
"""Helper function for the creation of connections."""
return Connection(*args, **kwargs)
| 20.666667 | 58 | 0.688172 | 22 | 186 | 5.818182 | 0.818182 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 186 | 8 | 59 | 23.25 | 0.825806 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b10b5a137ad48e3342cfa7292e63c840a9c4ac70 | 5,232 | py | Python | test/io_tests/connect_test.py | gr0vity-dev/xknx | d19e343166c6bcd4ebb02f91eef57e98d9735c0c | [
"MIT"
] | null | null | null | test/io_tests/connect_test.py | gr0vity-dev/xknx | d19e343166c6bcd4ebb02f91eef57e98d9735c0c | [
"MIT"
] | null | null | null | test/io_tests/connect_test.py | gr0vity-dev/xknx | d19e343166c6bcd4ebb02f91eef57e98d9735c0c | [
"MIT"
] | null | null | null | """Unit test for KNX/IP Connect Request/Response."""
from unittest.mock import patch
import pytest
from xknx import XKNX
from xknx.io import UDPClient
from xknx.io.request_response import Connect
from xknx.knxip import (
HPAI,
ConnectRequest,
ConnectRequestType,
ConnectResponse,
ErrorCode,
KNXI... | 40.875 | 90 | 0.662271 | 603 | 5,232 | 5.500829 | 0.177446 | 0.045222 | 0.016883 | 0.03256 | 0.879711 | 0.879711 | 0.879711 | 0.879711 | 0.879711 | 0.879711 | 0 | 0.026423 | 0.247706 | 5,232 | 127 | 91 | 41.19685 | 0.816311 | 0.064794 | 0 | 0.686869 | 0 | 0 | 0.09948 | 0.030385 | 0 | 0 | 0 | 0 | 0.141414 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.070707 | 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 |
b11404bda01c96530b34d1dc959a1710871f8cd8 | 144 | py | Python | src/pepmass/__init__.py | lmsac/GproDIA | 3fc1cdee535c9743806b7be423aba29daca24406 | [
"BSD-3-Clause"
] | 2 | 2021-11-13T21:37:42.000Z | 2021-11-16T07:40:06.000Z | src/pepmass/__init__.py | lmsac/GproDIA | 3fc1cdee535c9743806b7be423aba29daca24406 | [
"BSD-3-Clause"
] | null | null | null | src/pepmass/__init__.py | lmsac/GproDIA | 3fc1cdee535c9743806b7be423aba29daca24406 | [
"BSD-3-Clause"
] | null | null | null | from .pepmass import PeptideMassCalculator
from .modmass import ModifiedPeptideMassCalculator
from .glycomass import GlycoPeptideMassCalculator
| 36 | 50 | 0.895833 | 12 | 144 | 10.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 144 | 3 | 51 | 48 | 0.977273 | 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 |
b13951fe5691f4c9a8009a89b7bf4b171401a376 | 3,327 | py | Python | tests/test_aws_datasets.py | bodywork-ml/bodywork-pipeline-utils | cb797d2fc4ddd7c7ed3b17b72b30b156e77bae31 | [
"Apache-2.0"
] | 3 | 2021-07-09T10:32:57.000Z | 2022-01-12T08:25:08.000Z | tests/test_aws_datasets.py | bodywork-ml/bodywork-pipeline-utils | cb797d2fc4ddd7c7ed3b17b72b30b156e77bae31 | [
"Apache-2.0"
] | null | null | null | tests/test_aws_datasets.py | bodywork-ml/bodywork-pipeline-utils | cb797d2fc4ddd7c7ed3b17b72b30b156e77bae31 | [
"Apache-2.0"
] | null | null | null | """
Tests for AWS dataset management.
"""
from datetime import datetime
from unittest.mock import ANY, MagicMock, patch
from pandas import DataFrame
from pytest import raises
from bodywork_pipeline_utils.aws.datasets import (
get_latest_csv_dataset_from_s3,
get_latest_parquet_dataset_from_s3,
put_csv_dat... | 36.56044 | 86 | 0.673279 | 465 | 3,327 | 4.516129 | 0.178495 | 0.061905 | 0.049524 | 0.064762 | 0.905714 | 0.862857 | 0.819048 | 0.819048 | 0.819048 | 0.799048 | 0 | 0.07489 | 0.181244 | 3,327 | 90 | 87 | 36.966667 | 0.696035 | 0.009919 | 0 | 0.473684 | 0 | 0 | 0.28241 | 0.203287 | 0 | 0 | 0 | 0 | 0.184211 | 1 | 0.052632 | false | 0 | 0.065789 | 0 | 0.118421 | 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 |
b17382ed1059f81a9d7d1dc1e080c832043b2678 | 113 | py | Python | src/models/user.model.py | TechnoNatura-org/technonatura-gallery | 95132a521b065fa2ba94b6f15611345e7d8f44ae | [
"MIT"
] | null | null | null | src/models/user.model.py | TechnoNatura-org/technonatura-gallery | 95132a521b065fa2ba94b6f15611345e7d8f44ae | [
"MIT"
] | null | null | null | src/models/user.model.py | TechnoNatura-org/technonatura-gallery | 95132a521b065fa2ba94b6f15611345e7d8f44ae | [
"MIT"
] | 1 | 2021-07-11T08:37:14.000Z | 2021-07-11T08:37:14.000Z | class User:
def __init__(self, id: str):
self.id = id
def deleteUser():
pass
# def
| 12.555556 | 32 | 0.504425 | 14 | 113 | 3.785714 | 0.642857 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.389381 | 113 | 8 | 33 | 14.125 | 0.768116 | 0.026549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
492ba985a0937ebc1c7a746cce36d696fee23370 | 13,465 | py | Python | songs/la-gran-jaime/home.py | mathigatti/EP | a7fdb1d70adecc42f11f080c5902d59d5bee09dd | [
"MIT"
] | 5 | 2020-02-04T18:39:11.000Z | 2021-01-21T20:30:35.000Z | songs/la-gran-jaime/home.py | mathigatti/EP | a7fdb1d70adecc42f11f080c5902d59d5bee09dd | [
"MIT"
] | null | null | null | songs/la-gran-jaime/home.py | mathigatti/EP | a7fdb1d70adecc42f11f080c5902d59d5bee09dd | [
"MIT"
] | 4 | 2020-02-04T18:39:24.000Z | 2021-11-22T14:34:55.000Z |
Clock.bpm=113
Scale.default = list(range(12))
def structure(f):
f()
return f
@structure
def a0():
print('Ejecutando parte 0')
d0 >> charm([(-60,), (11,), (13,), (14,), (-60,), (16,), (18,), (18,), (14,)],dur=[Fraction(2, 3), Fraction(2, 3), Fraction(2, 3), Fraction(2, 3), 0.0, Fraction(2, 3), Fraction(2,... | 61.484018 | 508 | 0.42332 | 3,065 | 13,465 | 1.855791 | 0.045024 | 0.146273 | 0.188819 | 0.219409 | 0.716421 | 0.671414 | 0.64891 | 0.61621 | 0.60988 | 0.518284 | 0 | 0.299763 | 0.185147 | 13,465 | 218 | 509 | 61.766055 | 0.218647 | 0.004159 | 0 | 0.146893 | 0 | 0 | 0.043332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00565 | 0 | null | null | 0.101695 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
493f07b5efa0e9928bc8c0e29d9f8c0d5d75f56d | 62 | py | Python | bitwise/arithmetic/__init__.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | bitwise/arithmetic/__init__.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | bitwise/arithmetic/__init__.py | jamesjiang52/Bitwise | c71f151d23034b3f9e2a939f637be0eaa16c45c3 | [
"MIT"
] | null | null | null | from .ADD import *
from .ADD_SUB import *
from .MULT import *
| 15.5 | 22 | 0.709677 | 10 | 62 | 4.3 | 0.5 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 23 | 20.666667 | 0.86 | 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 |
495eb3e39e36bd51d8d041aae48a97e4170ac3ba | 22 | py | Python | nukiclient/__init__.py | richmans/python-nuki-client | 70b6aa028b5c3a6ed05ff8b82999e8f4d8cfef6e | [
"MIT"
] | 4 | 2019-12-29T18:11:38.000Z | 2020-05-25T10:44:20.000Z | nukiclient/__init__.py | 0x7466/python-nuki-client | c893b5b301703c0a8f203eb536f6003d87470bcc | [
"MIT"
] | null | null | null | nukiclient/__init__.py | 0x7466/python-nuki-client | c893b5b301703c0a8f203eb536f6003d87470bcc | [
"MIT"
] | 1 | 2019-11-22T14:21:21.000Z | 2019-11-22T14:21:21.000Z | from .nuki import Nuki | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
499f6718af61ad0cc2d67401cf44956f4f227e78 | 30,191 | py | Python | src/tests/architect_tests/test_feature_generators.py | josephbajor/triage_NN | cbaee6e5a06e597c91fec372717d89a2b5f34fa5 | [
"MIT"
] | null | null | null | src/tests/architect_tests/test_feature_generators.py | josephbajor/triage_NN | cbaee6e5a06e597c91fec372717d89a2b5f34fa5 | [
"MIT"
] | null | null | null | src/tests/architect_tests/test_feature_generators.py | josephbajor/triage_NN | cbaee6e5a06e597c91fec372717d89a2b5f34fa5 | [
"MIT"
] | null | null | null | import copy
from datetime import date
import pandas as pd
import pytest
import sqlalchemy
from sqlalchemy import text as t
from triage.component.architect.feature_generators import FeatureGenerator
from triage.component.collate import Aggregate, Categorical, SpacetimeAggregation
from unittest.mock import patch
INP... | 34.269012 | 93 | 0.554867 | 3,166 | 30,191 | 4.900821 | 0.083386 | 0.059294 | 0.072506 | 0.084687 | 0.811743 | 0.770688 | 0.748324 | 0.714553 | 0.703854 | 0.682457 | 0 | 0.034775 | 0.327548 | 30,191 | 880 | 94 | 34.307955 | 0.729485 | 0.025041 | 0 | 0.619946 | 0 | 0 | 0.270985 | 0.123771 | 0 | 0 | 0 | 0 | 0.033693 | 1 | 0.02965 | false | 0 | 0.012129 | 0.002695 | 0.04717 | 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 |
b8d5c9330ca6567752180cbd45a13d57d0705211 | 8,744 | py | Python | python/ML/Core/Tests/FeedforwardNeuralNetworkTests/test_FeedforwardNeuralNetwork.py | valiro21/ML | 33475c4800a38ffba6c15eac3db49763de3400e5 | [
"MIT"
] | 1 | 2017-08-18T12:22:15.000Z | 2017-08-18T12:22:15.000Z | python/ML/Core/Tests/FeedforwardNeuralNetworkTests/test_FeedforwardNeuralNetwork.py | valiro21/ML | 33475c4800a38ffba6c15eac3db49763de3400e5 | [
"MIT"
] | 2 | 2017-08-17T22:12:03.000Z | 2017-08-19T17:22:56.000Z | python/ML/Core/Tests/FeedforwardNeuralNetworkTests/test_FeedforwardNeuralNetwork.py | valiro21/ML | 33475c4800a38ffba6c15eac3db49763de3400e5 | [
"MIT"
] | null | null | null | import multiprocessing
from unittest import TestCase
import unittest
import numpy
from ML.Core import Functions, FunctionsDerivative, FeedforwardNeuralNetwork
def testAlmostEquals(l1, l2):
if len(l1) != len(l2):
return False
for i in range(len(l1)):
if isinstance(l1[i], list) and ... | 49.40113 | 131 | 0.57548 | 826 | 8,744 | 5.829298 | 0.162228 | 0.059813 | 0.10758 | 0.06812 | 0.833022 | 0.83136 | 0.802285 | 0.802285 | 0.790239 | 0.790031 | 0 | 0.067042 | 0.329597 | 8,744 | 176 | 132 | 49.681818 | 0.75435 | 0 | 0 | 0.644928 | 0 | 0 | 0.02591 | 0.021709 | 0 | 0 | 0 | 0 | 0.072464 | 1 | 0.072464 | false | 0 | 0.036232 | 0 | 0.152174 | 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 |
b8daf6b41ef32517072503675ba202348e7578e4 | 338 | py | Python | awx/main/tests/functional/test_credential_plugins.py | sumit-21/awx | 966a62c6bf2ec0c672e076684341bc6bd75827af | [
"Apache-2.0"
] | 17 | 2021-04-03T01:40:17.000Z | 2022-03-03T11:45:20.000Z | awx/main/tests/functional/test_credential_plugins.py | Saurabh-Thakre/awx | 8eb377a3ea8303c394ad4c958cc828c7239c1e11 | [
"Apache-2.0"
] | 24 | 2021-04-01T08:33:08.000Z | 2022-03-01T21:13:06.000Z | awx/main/tests/functional/test_credential_plugins.py | hostinger/awx | dac01b14e2c04c201a162ea03ef8386d822e3923 | [
"Apache-2.0"
] | 24 | 2020-11-27T08:37:35.000Z | 2021-03-08T13:27:15.000Z | def test_imported_azure_cloud_sdk_vars():
from awx.main.credential_plugins import azure_kv
assert len(azure_kv.clouds) > 0
assert all([hasattr(c, 'name') for c in azure_kv.clouds])
assert all([hasattr(c, 'suffixes') for c in azure_kv.clouds])
assert all([hasattr(c.suffixes, 'keyvault_dns') for c in ... | 48.285714 | 78 | 0.730769 | 56 | 338 | 4.196429 | 0.482143 | 0.148936 | 0.221277 | 0.217021 | 0.455319 | 0.455319 | 0.374468 | 0.374468 | 0.374468 | 0.374468 | 0 | 0.003484 | 0.150888 | 338 | 6 | 79 | 56.333333 | 0.815331 | 0 | 0 | 0 | 0 | 0 | 0.071006 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b8ec3e2f397a0d4f3de2dc54364fa3ecca7d7b54 | 2,507 | py | Python | django_logger/decorators.py | prantoamt/django-logger | 975184426596375a1288e321bca6457eec4cc0f3 | [
"MIT"
] | null | null | null | django_logger/decorators.py | prantoamt/django-logger | 975184426596375a1288e321bca6457eec4cc0f3 | [
"MIT"
] | null | null | null | django_logger/decorators.py | prantoamt/django-logger | 975184426596375a1288e321bca6457eec4cc0f3 | [
"MIT"
] | null | null | null | import logging
import time
import traceback
file_error_logger = logging.getLogger('file_error_logger')
http_error_logger = logging.getLogger('http_error_logger')
def file_logger(function: function, project_name: str):
'''
Takes a function as argument, executes the function in a try catch block and logs the e... | 42.491525 | 162 | 0.639809 | 292 | 2,507 | 5.311644 | 0.215753 | 0.085106 | 0.038685 | 0.069633 | 0.879433 | 0.879433 | 0.879433 | 0.879433 | 0.879433 | 0.879433 | 0 | 0.00217 | 0.264858 | 2,507 | 58 | 163 | 43.224138 | 0.839392 | 0.295971 | 0 | 0.666667 | 0 | 0 | 0.227758 | 0.061684 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.090909 | 0 | 0.333333 | 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 |
623de6890b48765ddfe3979ba74a9dd0fd1c54c1 | 1,758 | py | Python | test.py | johnrcruzado/adatasets | 8eac4c6f02761c324f0a3f9f9cbd96d3622dff0a | [
"BSD-3-Clause"
] | null | null | null | test.py | johnrcruzado/adatasets | 8eac4c6f02761c324f0a3f9f9cbd96d3622dff0a | [
"BSD-3-Clause"
] | null | null | null | test.py | johnrcruzado/adatasets | 8eac4c6f02761c324f0a3f9f9cbd96d3622dff0a | [
"BSD-3-Clause"
] | null | null | null | # pylint: disable=C0321,C0103,C0301,E1305,E1121,C0302,C0330,C0111,W0613,W0611,R1705
# -*- coding: utf-8 -*-
import os, sys, time, datetime,inspect,random
def log(*s):
print(*s, flush=True)
##################################################################################################
def test1():
from ada... | 30.842105 | 127 | 0.642207 | 224 | 1,758 | 4.790179 | 0.294643 | 0.164026 | 0.186393 | 0.108108 | 0.700839 | 0.700839 | 0.700839 | 0.700839 | 0.700839 | 0.633737 | 0 | 0.050546 | 0.167235 | 1,758 | 56 | 128 | 31.392857 | 0.682377 | 0.058589 | 0 | 0.133333 | 0 | 0 | 0.244674 | 0.184635 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.066667 | false | 0 | 0.1 | 0 | 0.166667 | 0.033333 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
626ceb3854121556b7c8cb414f5319a7dddd4228 | 180 | py | Python | jsondler/__init__.py | loven-doo/jsondler | 1466f022fc059a5a58e34dcc3ebddb76b5f82c5c | [
"BSD-3-Clause"
] | null | null | null | jsondler/__init__.py | loven-doo/jsondler | 1466f022fc059a5a58e34dcc3ebddb76b5f82c5c | [
"BSD-3-Clause"
] | null | null | null | jsondler/__init__.py | loven-doo/jsondler | 1466f022fc059a5a58e34dcc3ebddb76b5f82c5c | [
"BSD-3-Clause"
] | null | null | null | from jsondler.dicts_list import DictsList
from jsondler.cols_dict import ColsDict
from jsondler.json_entry import JsonEntry
from jsondler.data_structures import DataDict, DataList
| 36 | 55 | 0.877778 | 25 | 180 | 6.16 | 0.64 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094444 | 180 | 4 | 56 | 45 | 0.944785 | 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 |
657753d8ba17e132100986b2eaf3c4d769298082 | 177 | py | Python | tests/validators/test_none_if_blank.py | renalreg/cornflake | 019826add6e49ac96888c39bb8b5009dd2f6a446 | [
"MIT"
] | null | null | null | tests/validators/test_none_if_blank.py | renalreg/cornflake | 019826add6e49ac96888c39bb8b5009dd2f6a446 | [
"MIT"
] | null | null | null | tests/validators/test_none_if_blank.py | renalreg/cornflake | 019826add6e49ac96888c39bb8b5009dd2f6a446 | [
"MIT"
] | 1 | 2017-05-10T12:27:40.000Z | 2017-05-10T12:27:40.000Z | from cornflake.validators import none_if_blank
def test_blank():
assert none_if_blank()('') is None
def test_not_blank():
assert none_if_blank()('hello') == 'hello'
| 17.7 | 46 | 0.711864 | 26 | 177 | 4.5 | 0.5 | 0.153846 | 0.282051 | 0.290598 | 0.376068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158192 | 177 | 9 | 47 | 19.666667 | 0.785235 | 0 | 0 | 0 | 0 | 0 | 0.056497 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
657a060c5578580d5b2ac877cb1f69a5ea626e44 | 22 | py | Python | python/lvmcam/skymakerca/__init__.py | sdss/lvmcam | c5f421a546a0072a0dbb3d7b2ebc74316f339f64 | [
"BSD-3-Clause"
] | 3 | 2021-11-17T02:40:02.000Z | 2022-03-22T08:30:45.000Z | python/lvmcam/skymakerca/__init__.py | sdss/lvmcam | c5f421a546a0072a0dbb3d7b2ebc74316f339f64 | [
"BSD-3-Clause"
] | 8 | 2021-11-25T10:18:31.000Z | 2021-12-17T13:04:52.000Z | python/lvmcam/skymakerca/__init__.py | sdss/lvmcam | c5f421a546a0072a0dbb3d7b2ebc74316f339f64 | [
"BSD-3-Clause"
] | null | null | null | from .SkyCam import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65a36a0f9a664bf81bc5656229ea21eaa1cb9300 | 28 | py | Python | depConfusionTest/foo.py | Moneypulation/depConfusionTest | 79af71366e2e613d991df4dac2429805df0f1dc6 | [
"MIT"
] | null | null | null | depConfusionTest/foo.py | Moneypulation/depConfusionTest | 79af71366e2e613d991df4dac2429805df0f1dc6 | [
"MIT"
] | null | null | null | depConfusionTest/foo.py | Moneypulation/depConfusionTest | 79af71366e2e613d991df4dac2429805df0f1dc6 | [
"MIT"
] | null | null | null | def foo123():
print("foo") | 14 | 14 | 0.607143 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.142857 | 28 | 2 | 15 | 14 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
65ab2d22e68e9af63e580fa8ee9fb2f5bb45f83f | 130 | py | Python | dutool/common.py | revang/dutool | a206bad28920069e9049635e030f8479899c677c | [
"MIT"
] | null | null | null | dutool/common.py | revang/dutool | a206bad28920069e9049635e030f8479899c677c | [
"MIT"
] | null | null | null | dutool/common.py | revang/dutool | a206bad28920069e9049635e030f8479899c677c | [
"MIT"
] | null | null | null | import time
import datetime
def now():
"""
当前时间
"""
return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
| 13 | 63 | 0.546154 | 18 | 130 | 3.944444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238462 | 130 | 9 | 64 | 14.444444 | 0.717172 | 0.030769 | 0 | 0 | 0 | 0 | 0.154545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
65e267e145cb8630e6fb9bb9da927a47bcb579d1 | 6,621 | py | Python | chunair/kicad-footprint-generator-master/scripts/tools/quad_dual_pad_border.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | 2 | 2022-03-18T23:42:51.000Z | 2022-03-19T15:31:34.000Z | chunair/kicad-footprint-generator-master/scripts/tools/quad_dual_pad_border.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | null | null | null | chunair/kicad-footprint-generator-master/scripts/tools/quad_dual_pad_border.py | speedypotato/chuni-lite | c8dda8428723f8c4f99075e7cbaa22a44cbc187d | [
"CC-BY-4.0"
] | null | null | null | from __future__ import division
import sys, os
sys.path.append(os.path.join(sys.path[0],"..","..")) # load kicad_mod path
from KicadModTree import * # NOQA
from pad_number_generators import get_generator
def add_dual_or_quad_pad_border(kicad_mod, configuration, pad_details, device_params):
pad_shape_details = {}... | 35.218085 | 101 | 0.672557 | 836 | 6,621 | 4.916268 | 0.110048 | 0.116788 | 0.072993 | 0.069343 | 0.821168 | 0.805596 | 0.801703 | 0.752798 | 0.73309 | 0.73309 | 0 | 0.005654 | 0.225344 | 6,621 | 187 | 102 | 35.406417 | 0.795672 | 0.009062 | 0 | 0.68125 | 0 | 0 | 0.072137 | 0.009913 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0 | 0.025 | 0 | 0.075 | 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 |
65e499ccfde874b94e7ca928ac244508e5983537 | 205 | py | Python | ch07/Schedule01.py | ejosafat/poodrpython3 | 0dbfaacd00871fd1bff0366c3c116d6b68ec678d | [
"MIT"
] | null | null | null | ch07/Schedule01.py | ejosafat/poodrpython3 | 0dbfaacd00871fd1bff0366c3c116d6b68ec678d | [
"MIT"
] | null | null | null | ch07/Schedule01.py | ejosafat/poodrpython3 | 0dbfaacd00871fd1bff0366c3c116d6b68ec678d | [
"MIT"
] | 1 | 2020-11-13T02:22:38.000Z | 2020-11-13T02:22:38.000Z | class Schedule:
def is_scheduled(self, schedulable, start_date, end_date):
print('This %s is not scheduled' % schedulable.__class__)
print('between %s and %s' % (start_date, end_date))
| 41 | 65 | 0.682927 | 28 | 205 | 4.678571 | 0.571429 | 0.137405 | 0.183206 | 0.244275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 205 | 4 | 66 | 51.25 | 0.79878 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
65e674e1a80262684618fd62ee0ac184ca3dc7cc | 191 | py | Python | django_gramm/admin.py | Fan4ik20/DjangoGramm | ee23eea88633dc4bb96e3fe760982ebdc130f323 | [
"MIT"
] | null | null | null | django_gramm/admin.py | Fan4ik20/DjangoGramm | ee23eea88633dc4bb96e3fe760982ebdc130f323 | [
"MIT"
] | null | null | null | django_gramm/admin.py | Fan4ik20/DjangoGramm | ee23eea88633dc4bb96e3fe760982ebdc130f323 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Post, Photo, Comment
admin.site.register(User)
admin.site.register(Post)
admin.site.register(Photo)
admin.site.register(Comment)
| 19.1 | 46 | 0.795812 | 28 | 191 | 5.428571 | 0.428571 | 0.236842 | 0.447368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094241 | 191 | 9 | 47 | 21.222222 | 0.878613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
65eb3655120fd0c33f7f582faef715d0963a5a6e | 26 | py | Python | bionorm/normalizers/disease/__init__.py | utikeev/bio-normalizers | d7234d8ce01687d24f0f5bbba63a59eb87474bbb | [
"MIT"
] | null | null | null | bionorm/normalizers/disease/__init__.py | utikeev/bio-normalizers | d7234d8ce01687d24f0f5bbba63a59eb87474bbb | [
"MIT"
] | null | null | null | bionorm/normalizers/disease/__init__.py | utikeev/bio-normalizers | d7234d8ce01687d24f0f5bbba63a59eb87474bbb | [
"MIT"
] | null | null | null | from .SieveBased import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
029b25657a07a51a90378bf5d7f963f5aeef96f6 | 96 | py | Python | venv/lib/python3.8/site-packages/libfuturize/fixes/fix_division_safe.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/libfuturize/fixes/fix_division_safe.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/libfuturize/fixes/fix_division_safe.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/63/f1/d4/7d0240c510a55e471fa963f94850ac45864eb0b52c3632d7946380ddc4 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
029e68c4cc225b0a4ffb0f9c1a10c7e89f0ae3d6 | 6,522 | py | Python | tests/features/test_insights_client.py | Anto59290/algoliasearch-client-python | e2d68c1f1c2605e76b180cd5f332b27f05cddcc3 | [
"MIT"
] | null | null | null | tests/features/test_insights_client.py | Anto59290/algoliasearch-client-python | e2d68c1f1c2605e76b180cd5f332b27f05cddcc3 | [
"MIT"
] | null | null | null | tests/features/test_insights_client.py | Anto59290/algoliasearch-client-python | e2d68c1f1c2605e76b180cd5f332b27f05cddcc3 | [
"MIT"
] | null | null | null | import datetime
import unittest
from tests.helpers.env import Env
from tests.helpers.factory import Factory as F
class TestInsightsClient(unittest.TestCase):
def setUp(self):
self.client = F.insights_client()
self.client1 = F.search_client()
self.index = F.index(self.client1, self._testMe... | 42.907895 | 78 | 0.527292 | 593 | 6,522 | 5.617201 | 0.124789 | 0.084059 | 0.132092 | 0.05704 | 0.907235 | 0.891624 | 0.891624 | 0.891624 | 0.891624 | 0.891624 | 0 | 0.011145 | 0.353419 | 6,522 | 151 | 79 | 43.192053 | 0.778753 | 0 | 0 | 0.694656 | 0 | 0 | 0.16728 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 1 | 0.091603 | false | 0 | 0.030534 | 0 | 0.129771 | 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 |
f313abdaf84c3a6e141e355ea96e2973cf5a2bd3 | 28 | py | Python | plugins/arlo/src/arlo_plugin/arlo/__init__.py | billyzoellers/scrypted | 1fccd3a5c520ec84adc47bf280325bc32ad809af | [
"MIT"
] | null | null | null | plugins/arlo/src/arlo_plugin/arlo/__init__.py | billyzoellers/scrypted | 1fccd3a5c520ec84adc47bf280325bc32ad809af | [
"MIT"
] | null | null | null | plugins/arlo/src/arlo_plugin/arlo/__init__.py | billyzoellers/scrypted | 1fccd3a5c520ec84adc47bf280325bc32ad809af | [
"MIT"
] | 1 | 2022-01-29T12:57:34.000Z | 2022-01-29T12:57:34.000Z | from .arlo_async import Arlo | 28 | 28 | 0.857143 | 5 | 28 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 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 |
b249f359c62a5a37e114f8f3074df655ee3f02e3 | 29,060 | py | Python | tensorflow_federated/python/analytics/data_processing_test.py | teo-milea/federated | ce0707a954a531860eb38864b44d7b748fd62aa7 | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/analytics/data_processing_test.py | teo-milea/federated | ce0707a954a531860eb38864b44d7b748fd62aa7 | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/analytics/data_processing_test.py | teo-milea/federated | ce0707a954a531860eb38864b44d7b748fd62aa7 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021, The TensorFlow Federated Authors.
#
# 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... | 42.988166 | 80 | 0.615933 | 3,807 | 29,060 | 4.401103 | 0.055687 | 0.056401 | 0.056401 | 0.038496 | 0.90373 | 0.89615 | 0.874843 | 0.857237 | 0.852999 | 0.844524 | 0 | 0.022046 | 0.233586 | 29,060 | 675 | 81 | 43.051852 | 0.727101 | 0.019683 | 0 | 0.603478 | 0 | 0 | 0.131453 | 0.035155 | 0 | 0 | 0 | 0 | 0.085217 | 1 | 0.076522 | false | 0 | 0.008696 | 0 | 0.088696 | 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 |
b263c59c90a45068813dca8c8375d33785d7ceab | 141 | py | Python | skfem/element/element_hex/__init__.py | YerbaPage/scikit-fem | e5140e0648e4a0f1ea0b60de90851ab49d369453 | [
"BSD-3-Clause"
] | null | null | null | skfem/element/element_hex/__init__.py | YerbaPage/scikit-fem | e5140e0648e4a0f1ea0b60de90851ab49d369453 | [
"BSD-3-Clause"
] | null | null | null | skfem/element/element_hex/__init__.py | YerbaPage/scikit-fem | e5140e0648e4a0f1ea0b60de90851ab49d369453 | [
"BSD-3-Clause"
] | null | null | null | from .element_hex1 import ElementHex1 # noqa
from .element_hex_s2 import ElementHexS2 # noqa
from .element_hex2 import ElementHex2 # noqa
| 35.25 | 48 | 0.808511 | 19 | 141 | 5.789474 | 0.578947 | 0.3 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.148936 | 141 | 3 | 49 | 47 | 0.866667 | 0.099291 | 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 |
b2730dbcc25726f1c84128fc0a11955b115cfd36 | 53,601 | py | Python | src.py | powerthecoder/Corrupt | 0a42b0fa582e9a86caafa34d841d97f34ac8e82a | [
"MIT"
] | null | null | null | src.py | powerthecoder/Corrupt | 0a42b0fa582e9a86caafa34d841d97f34ac8e82a | [
"MIT"
] | null | null | null | src.py | powerthecoder/Corrupt | 0a42b0fa582e9a86caafa34d841d97f34ac8e82a | [
"MIT"
] | null | null | null | '''
Developer: Leo Power
Discord: -{ Power1482 }-#0101
Support Discord Server: https://discord.gg/bQCZMDE/
Website: https://powerthecoder.xyz/
'''
import os
import sys
import time
import random
from random import randrange
import dbl
import discord
from discord.ext import commands
from discord.ext import tasks
from dis... | 48.420054 | 321 | 0.693942 | 7,259 | 53,601 | 5.000551 | 0.073426 | 0.04496 | 0.047274 | 0.068487 | 0.823273 | 0.799444 | 0.768148 | 0.738836 | 0.720901 | 0.708312 | 0 | 0.032343 | 0.177441 | 53,601 | 1,107 | 322 | 48.420054 | 0.789567 | 0.156154 | 0 | 0.601533 | 0 | 0.02682 | 0.197297 | 0.021196 | 0 | 0 | 0.002531 | 0 | 0 | 1 | 0.002554 | false | 0.03576 | 0.039591 | 0.002554 | 0.0447 | 0.012771 | 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 |
a2fb555bcc231b91bab492b873c2b607dd3827fa | 27 | py | Python | script/__init__.py | Kashu7100/nvidia-htop | 06949d90c6b9f4452898fbc1d3072d909ed48370 | [
"BSD-3-Clause"
] | null | null | null | script/__init__.py | Kashu7100/nvidia-htop | 06949d90c6b9f4452898fbc1d3072d909ed48370 | [
"BSD-3-Clause"
] | null | null | null | script/__init__.py | Kashu7100/nvidia-htop | 06949d90c6b9f4452898fbc1d3072d909ed48370 | [
"BSD-3-Clause"
] | null | null | null | from .nvidia_htop import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 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 |
0c0b27283bf5786dd98f0fe80a37e29cd1694f03 | 13,287 | py | Python | tests/test_oauth2.py | ahmetuludag/bottle-oauthlib | 12b351c62dfc4b96f9e668acf7ea2bdd5eefe661 | [
"BSD-3-Clause"
] | 20 | 2017-12-18T14:55:26.000Z | 2019-10-20T18:25:24.000Z | tests/test_oauth2.py | ahmetuludag/bottle-oauthlib | 12b351c62dfc4b96f9e668acf7ea2bdd5eefe661 | [
"BSD-3-Clause"
] | 5 | 2019-12-27T14:46:40.000Z | 2021-06-30T16:20:22.000Z | tests/test_oauth2.py | ahmetuludag/bottle-oauthlib | 12b351c62dfc4b96f9e668acf7ea2bdd5eefe661 | [
"BSD-3-Clause"
] | 7 | 2020-02-05T21:15:25.000Z | 2021-06-30T12:01:06.000Z | import bottle
from bottle import tob
from tests.bottle_tools import ServerTestBase
from bottle_oauthlib.oauth2 import BottleOAuth2
import oauthlib
from oauthlib.oauth2 import Server
from oauthlib.oauth2 import MetadataEndpoint
from oauthlib.oauth2 import LegacyApplicationServer
from tests import AttrDict
from unittest ... | 40.141994 | 120 | 0.640551 | 1,474 | 13,287 | 5.605834 | 0.101085 | 0.07588 | 0.087135 | 0.125862 | 0.838194 | 0.804066 | 0.788091 | 0.775505 | 0.762919 | 0.762919 | 0 | 0.009804 | 0.224656 | 13,287 | 330 | 121 | 40.263636 | 0.792273 | 0 | 0 | 0.695167 | 0 | 0 | 0.178671 | 0.077519 | 0 | 0 | 0 | 0 | 0.237918 | 1 | 0.163569 | false | 0 | 0.040892 | 0.05948 | 0.237918 | 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 |
0c0d7889c21bb523fa5cadea63a7bcfbc6449750 | 4,952 | py | Python | crop/query_plan_optimizer/optimizer.py | Lars-H/federated_crop | 8e936926462aa5df5a9b8e6b42b061a3623fddf4 | [
"MIT"
] | 3 | 2020-10-30T20:52:31.000Z | 2021-09-15T07:33:09.000Z | crop_engine/crop/query_plan_optimizer/optimizer.py | Lars-H/slurp | 0c7c8a5ca62145bedaff5791d6f54337674da2ea | [
"MIT"
] | null | null | null | crop_engine/crop/query_plan_optimizer/optimizer.py | Lars-H/slurp | 0c7c8a5ca62145bedaff5791d6f54337674da2ea | [
"MIT"
] | null | null | null | from nlde.operators.fjoin import Fjoin
from nlde.operators.xunion import Xunion
from crop.query_plan_optimizer.logical_plan import LogicalPlan, LogicalUnion
from nlde.query import UnionBlock, JoinBlock, Optional
class Optimizer(object):
def union_subplans(self, subplans):
if len(subplans) == 1:
... | 38.6875 | 87 | 0.58643 | 558 | 4,952 | 4.985663 | 0.12724 | 0.090942 | 0.105679 | 0.122933 | 0.798347 | 0.795471 | 0.761323 | 0.761323 | 0.704889 | 0.704889 | 0 | 0.008244 | 0.338651 | 4,952 | 128 | 88 | 38.6875 | 0.841221 | 0.041801 | 0 | 0.79798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 1 | 0.070707 | false | 0 | 0.040404 | 0 | 0.323232 | 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 |
0c0df1b377ce966f4c50f3192fd4731ce0ad7e8a | 336 | py | Python | tests.py | AlterXJose/AtividadeES | eb0c69709648b9eb8e1ebbb18b8c1595b5983a82 | [
"MIT"
] | null | null | null | tests.py | AlterXJose/AtividadeES | eb0c69709648b9eb8e1ebbb18b8c1595b5983a82 | [
"MIT"
] | null | null | null | tests.py | AlterXJose/AtividadeES | eb0c69709648b9eb8e1ebbb18b8c1595b5983a82 | [
"MIT"
] | null | null | null | from calculadora import somar
from calculadora import subtrair
from calculadora import multiplicar
from calculadora import dividir
def test_somar():
assert somar(2,4) == 6
def test_subtrair():
assert subtrair(4,2) == 2
def test_multiplicar():
assert multiplicar(2,4) == 8
def test_dividir():
assert d... | 21 | 35 | 0.729167 | 48 | 336 | 5.020833 | 0.291667 | 0.248963 | 0.348548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043321 | 0.175595 | 336 | 16 | 36 | 21 | 0.826715 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0c0e087605e5b32188ce07cab9ceac7025a6adbd | 449 | py | Python | ee/clickhouse/queries/test/test_person_distinct_id_query.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | ee/clickhouse/queries/test/test_person_distinct_id_query.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | ee/clickhouse/queries/test/test_person_distinct_id_query.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | from posthog.queries import person_distinct_id_query
def test_person_distinct_id_query(db, snapshot):
person_distinct_id_query.using_new_table = True
assert person_distinct_id_query.get_team_distinct_ids_query(2) == snapshot
person_distinct_id_query.using_new_table = False
assert person_distinct_id_q... | 34.538462 | 78 | 0.824053 | 68 | 449 | 4.911765 | 0.382353 | 0.293413 | 0.335329 | 0.44012 | 0.706587 | 0.706587 | 0.706587 | 0.706587 | 0.353293 | 0.353293 | 0 | 0.005102 | 0.126949 | 449 | 12 | 79 | 37.416667 | 0.846939 | 0.046771 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c2b81774e49062af171edf77429e399e8263f2f | 7,061 | py | Python | tests/test_unscented_transform.py | brentyi/torchfilter | da0250baf2197f59b6e67f37cafdd63015380cbb | [
"MIT"
] | 84 | 2020-09-08T07:33:04.000Z | 2022-03-30T17:25:00.000Z | tests/test_unscented_transform.py | brentyi/diffbayes | da0250baf2197f59b6e67f37cafdd63015380cbb | [
"MIT"
] | 4 | 2020-11-03T14:32:11.000Z | 2021-05-12T02:49:49.000Z | tests/test_unscented_transform.py | brentyi/diffbayes | da0250baf2197f59b6e67f37cafdd63015380cbb | [
"MIT"
] | 18 | 2020-11-04T22:20:55.000Z | 2021-12-21T10:23:26.000Z | from typing import Tuple
import hypothesis
import torch
from hypothesis import strategies as st
import torchfilter
def _gen_test_data(dim: int) -> Tuple[torch.Tensor, torch.Tensor]:
N = 1
# Deterministic tests are nice!
torch.random.manual_seed(0)
# Get input mean, covariance
input_mean = torc... | 39.01105 | 88 | 0.758391 | 849 | 7,061 | 5.958775 | 0.109541 | 0.128089 | 0.042696 | 0.061672 | 0.907096 | 0.898201 | 0.895434 | 0.895434 | 0.878039 | 0.869935 | 0 | 0.009402 | 0.156493 | 7,061 | 180 | 89 | 39.227778 | 0.839993 | 0.114715 | 0 | 0.626016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 1 | 0.056911 | false | 0 | 0.04065 | 0 | 0.105691 | 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 |
a7578cd3bd22b419ec47ed3ab21a28143f5a204a | 205 | py | Python | augur/__init__.py | LSSTDESC/augur | 8eee081160f2317ae389940cb992f6102d3178cc | [
"MIT"
] | null | null | null | augur/__init__.py | LSSTDESC/augur | 8eee081160f2317ae389940cb992f6102d3178cc | [
"MIT"
] | 25 | 2020-03-27T14:25:43.000Z | 2022-03-10T02:28:58.000Z | augur/__init__.py | LSSTDESC/augur | 8eee081160f2317ae389940cb992f6102d3178cc | [
"MIT"
] | null | null | null | # flake8: noqa
from .parser import parse
from .generate import generate
from .analyze import analyze
from .postprocess import postprocess
# implement in due time
#def postprocess(config):
# return None
| 22.777778 | 36 | 0.785366 | 27 | 205 | 5.962963 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.156098 | 205 | 8 | 37 | 25.625 | 0.924855 | 0.356098 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a7b26dc62254fa60170b7318a50191c5c3bed3a3 | 85 | py | Python | initializations/__init__.py | CFA-Meteorologia/geoserver_variable_importer | b678e20d2ee9dd5a1114d5f5b6881c0b23afce16 | [
"MIT"
] | null | null | null | initializations/__init__.py | CFA-Meteorologia/geoserver_variable_importer | b678e20d2ee9dd5a1114d5f5b6881c0b23afce16 | [
"MIT"
] | 7 | 2021-02-01T20:35:44.000Z | 2021-02-03T19:17:22.000Z | initializations/__init__.py | CFA-Meteorologia/geoserver_variable_importer | b678e20d2ee9dd5a1114d5f5b6881c0b23afce16 | [
"MIT"
] | null | null | null | import initializations.postgres_database
import initializations.geoserver_connection
| 28.333333 | 43 | 0.929412 | 8 | 85 | 9.625 | 0.75 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047059 | 85 | 2 | 44 | 42.5 | 0.950617 | 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 |
a7b45a755d7e46d424b49ce4783bb4845aacd307 | 241 | py | Python | locations/serializers/login_serializer.py | Rafiatu/mozio | 7521587266bd93a3a2b759a2968a6d51c9837745 | [
"MIT"
] | null | null | null | locations/serializers/login_serializer.py | Rafiatu/mozio | 7521587266bd93a3a2b759a2968a6d51c9837745 | [
"MIT"
] | null | null | null | locations/serializers/login_serializer.py | Rafiatu/mozio | 7521587266bd93a3a2b759a2968a6d51c9837745 | [
"MIT"
] | null | null | null | from rest_framework import serializers
class LoginSerializer(serializers.Serializer):
username = serializers.CharField(max_length=200, required=True)
password = serializers.CharField(max_length=200, write_only=True, required=True)
| 34.428571 | 84 | 0.813278 | 28 | 241 | 6.857143 | 0.642857 | 0.208333 | 0.239583 | 0.302083 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.103734 | 241 | 6 | 85 | 40.166667 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ac45a7d828dcdd021b2ee309258c1e00698b9685 | 46 | py | Python | enthought/traits/ui/handler.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/traits/ui/handler.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/traits/ui/handler.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from traitsui.handler import *
| 15.333333 | 30 | 0.782609 | 6 | 46 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 31 | 23 | 0.923077 | 0.26087 | 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 |
3bb463db43e158661b31267cacf0ea97aa9e75dd | 43 | py | Python | uelogparser/__init__.py | y-akahori-ramen/UnrealLogParser | b5b0d6d2d18d81236ec3f132e0ba1358f17f7e84 | [
"Unlicense"
] | null | null | null | uelogparser/__init__.py | y-akahori-ramen/UnrealLogParser | b5b0d6d2d18d81236ec3f132e0ba1358f17f7e84 | [
"Unlicense"
] | null | null | null | uelogparser/__init__.py | y-akahori-ramen/UnrealLogParser | b5b0d6d2d18d81236ec3f132e0ba1358f17f7e84 | [
"Unlicense"
] | null | null | null | from .parser import Verbosity, Log, Parser
| 21.5 | 42 | 0.790698 | 6 | 43 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3beb0bb200662eb1d0dd8873c682941ae674428f | 905 | py | Python | temboo/core/Library/Utilities/Dates/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Utilities/Dates/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Utilities/Dates/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Utilities.Dates.GetDate import GetDate, GetDateInputSet, GetDateResultSet, GetDateChoreographyExecution
from temboo.Library.Utilities.Dates.GetDateDifference import GetDateDifference, GetDateDifferenceInputSet, GetDateDifferenceResultSet, GetDateDifferenceChoreographyExecution
from temboo.Library.Ut... | 150.833333 | 238 | 0.922652 | 55 | 905 | 15.181818 | 0.472727 | 0.05988 | 0.101796 | 0.155689 | 0.185629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038674 | 905 | 5 | 239 | 181 | 0.95977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ce1ca21e25f5cc7301aa4b9ed03711172baa2628 | 12,069 | py | Python | server/lib/python/cartodb_services/test/test_quota_service.py | digideskio/dataservices-api | 246ec135dbeaa3f9a52717fdac50a4ab040ce22b | [
"BSD-3-Clause"
] | null | null | null | server/lib/python/cartodb_services/test/test_quota_service.py | digideskio/dataservices-api | 246ec135dbeaa3f9a52717fdac50a4ab040ce22b | [
"BSD-3-Clause"
] | null | null | null | server/lib/python/cartodb_services/test/test_quota_service.py | digideskio/dataservices-api | 246ec135dbeaa3f9a52717fdac50a4ab040ce22b | [
"BSD-3-Clause"
] | 1 | 2019-02-14T10:18:19.000Z | 2019-02-14T10:18:19.000Z | from test_helper import *
from mockredis import MockRedis
from cartodb_services.metrics import QuotaService
from cartodb_services.metrics import *
from unittest import TestCase
from nose.tools import assert_raises
from datetime import datetime, date
class TestQuotaService(TestCase):
# single user
# user:<u... | 50.2875 | 91 | 0.625072 | 1,363 | 12,069 | 5.074835 | 0.087307 | 0.058551 | 0.065202 | 0.093393 | 0.874223 | 0.846754 | 0.832731 | 0.800347 | 0.773457 | 0.740205 | 0 | 0.014436 | 0.305493 | 12,069 | 239 | 92 | 50.497908 | 0.810785 | 0.023531 | 0 | 0.625 | 0 | 0 | 0.04288 | 0 | 0 | 0 | 0 | 0 | 0.195 | 1 | 0.145 | false | 0.02 | 0.035 | 0 | 0.205 | 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 |
021169ff6edb7fe543cfac5195ee0b14345b7618 | 354 | py | Python | Lecture_5/custom_ml/__init__.py | RandyRDavila/Sample_Repo | ad3ff4e7155c3c937c7874517ed670cd9d2cb90f | [
"CECILL-B"
] | null | null | null | Lecture_5/custom_ml/__init__.py | RandyRDavila/Sample_Repo | ad3ff4e7155c3c937c7874517ed670cd9d2cb90f | [
"CECILL-B"
] | null | null | null | Lecture_5/custom_ml/__init__.py | RandyRDavila/Sample_Repo | ad3ff4e7155c3c937c7874517ed670cd9d2cb90f | [
"CECILL-B"
] | null | null | null | from custom_ml.single_neuron import SingleNeuron
from custom_ml.single_neuron import Perceptron_Neuron
from custom_ml.single_neuron import Linear_Regression_Neuron
from custom_ml.single_neuron import Logistic_Regression_Neuron
from custom_ml.activation_functions import *
from custom_ml.cost_functions import *
from cus... | 32.181818 | 62 | 0.884181 | 51 | 354 | 5.764706 | 0.313725 | 0.238095 | 0.285714 | 0.244898 | 0.761905 | 0.44898 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0.087571 | 354 | 10 | 63 | 35.4 | 0.910217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
023135e20c29e8a466782ee6d329ceccb9e41503 | 25 | py | Python | note/notes/models/__init__.py | copydataai/note_app | afdbe8bd27df84acafa1cabfb052b6bf0062c25a | [
"MIT"
] | null | null | null | note/notes/models/__init__.py | copydataai/note_app | afdbe8bd27df84acafa1cabfb052b6bf0062c25a | [
"MIT"
] | null | null | null | note/notes/models/__init__.py | copydataai/note_app | afdbe8bd27df84acafa1cabfb052b6bf0062c25a | [
"MIT"
] | null | null | null | from .notes import Note
| 12.5 | 24 | 0.76 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 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 |
026f2995f1e9e83a4865c6c5dc3678799149fbc9 | 11,342 | py | Python | VisualBERT/mmf/models/transformers/backends/ExplanationGenerator.py | Fostereee/Transformer-MM-Explainability | 6dc4925b83a38e39069369da599b11d548128eb5 | [
"MIT"
] | 322 | 2021-03-29T20:42:57.000Z | 2022-03-28T12:26:47.000Z | VisualBERT/mmf/models/transformers/backends/ExplanationGenerator.py | Fostereee/Transformer-MM-Explainability | 6dc4925b83a38e39069369da599b11d548128eb5 | [
"MIT"
] | 14 | 2021-04-23T23:45:58.000Z | 2022-03-15T02:46:01.000Z | VisualBERT/mmf/models/transformers/backends/ExplanationGenerator.py | Fostereee/Transformer-MM-Explainability | 6dc4925b83a38e39069369da599b11d548128eb5 | [
"MIT"
] | 51 | 2021-04-05T15:44:52.000Z | 2022-03-25T02:28:49.000Z | import numpy as np
import torch
import cv2
def compute_rollout_attention(all_layer_matrices, start_layer=0):
# adding residual consideration
num_tokens = all_layer_matrices[0].shape[1]
batch_size = all_layer_matrices[0].shape[0]
eye = torch.eye(num_tokens).expand(batch_size, num_tokens, num_tokens).to(... | 42.8 | 135 | 0.624229 | 1,550 | 11,342 | 4.305161 | 0.081935 | 0.04226 | 0.046156 | 0.067136 | 0.856586 | 0.824667 | 0.814926 | 0.780309 | 0.752585 | 0.74779 | 0 | 0.018881 | 0.24352 | 11,342 | 264 | 136 | 42.962121 | 0.758858 | 0.259654 | 0 | 0.641026 | 0 | 0 | 0.022591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0 | 0.019231 | 0 | 0.121795 | 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 |
5a501b83dc8eb0886e0217273bca09f66cf7a8fd | 8,172 | py | Python | dataflake/ldapconnection/tests/test_connection_unicode.py | dataflake/dataflake.ldapconnection | eae4a1cf2373813bf9d9948e26a91cc32e11dedd | [
"ZPL-2.1"
] | null | null | null | dataflake/ldapconnection/tests/test_connection_unicode.py | dataflake/dataflake.ldapconnection | eae4a1cf2373813bf9d9948e26a91cc32e11dedd | [
"ZPL-2.1"
] | null | null | null | dataflake/ldapconnection/tests/test_connection_unicode.py | dataflake/dataflake.ldapconnection | eae4a1cf2373813bf9d9948e26a91cc32e11dedd | [
"ZPL-2.1"
] | null | null | null | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2012 Jens Vagelpohl and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this dis... | 37.145455 | 79 | 0.561552 | 983 | 8,172 | 4.574771 | 0.130214 | 0.107627 | 0.037358 | 0.046253 | 0.820992 | 0.795642 | 0.775628 | 0.743162 | 0.736713 | 0.736713 | 0 | 0.010226 | 0.270069 | 8,172 | 219 | 80 | 37.315068 | 0.743671 | 0.066936 | 0 | 0.69281 | 0 | 0 | 0.207086 | 0.015971 | 0 | 0 | 0 | 0 | 0.143791 | 1 | 0.078431 | false | 0.026144 | 0.039216 | 0 | 0.124183 | 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 |
ce456e0719838df260e04078526282088a059997 | 43 | py | Python | src/cool_parser/__init__.py | lorainemg/cool-compiler-2020 | 78c2297849b6269571b24cf5547dee8de83d88a3 | [
"MIT"
] | 2 | 2020-02-24T16:22:40.000Z | 2020-10-06T21:51:58.000Z | src/cool_parser/__init__.py | lorainemg/cool-compiler-2020 | 78c2297849b6269571b24cf5547dee8de83d88a3 | [
"MIT"
] | null | null | null | src/cool_parser/__init__.py | lorainemg/cool-compiler-2020 | 78c2297849b6269571b24cf5547dee8de83d88a3 | [
"MIT"
] | null | null | null | from cool_parser.parser import CoolParser
| 21.5 | 42 | 0.860465 | 6 | 43 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 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 |
ce7650d6721f899aa50cc1f9437680868cc3d634 | 52 | py | Python | ssd/modeling/anchor/__init__.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | 1 | 2019-07-12T02:21:24.000Z | 2019-07-12T02:21:24.000Z | ssd/modeling/anchor/__init__.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | null | null | null | ssd/modeling/anchor/__init__.py | tkhe/ssd-family | a797ec36fda59549aff54419c105813c33d8cdd3 | [
"MIT"
] | null | null | null | from .anchor_generator import make_anchor_generator
| 26 | 51 | 0.903846 | 7 | 52 | 6.285714 | 0.714286 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 1 | 52 | 52 | 0.916667 | 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 |
ced528f24c3817bf88a8207d0f63131802093d53 | 27 | py | Python | hello_world.py | sk100797/profiles-rest-api | 2954262889ce2a496e8338e23285d01c7d19171a | [
"MIT"
] | null | null | null | hello_world.py | sk100797/profiles-rest-api | 2954262889ce2a496e8338e23285d01c7d19171a | [
"MIT"
] | null | null | null | hello_world.py | sk100797/profiles-rest-api | 2954262889ce2a496e8338e23285d01c7d19171a | [
"MIT"
] | null | null | null | print("Hello From Vagrant") | 27 | 27 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 27 | 1 | 27 | 27 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.642857 | 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 |
ced7c5f7f989d6c1169779765ef1a093b9f6fdce | 119 | py | Python | project/frontend_views_and_designs/views.py | pzandre/Exam-Portal | a02cb88edcd93fe0c39418ebafb82c4b6cf9db29 | [
"BSD-3-Clause"
] | null | null | null | project/frontend_views_and_designs/views.py | pzandre/Exam-Portal | a02cb88edcd93fe0c39418ebafb82c4b6cf9db29 | [
"BSD-3-Clause"
] | 5 | 2021-09-26T07:57:15.000Z | 2021-10-14T04:21:42.000Z | project/frontend_views_and_designs/views.py | pzandre/Exam-Portal | a02cb88edcd93fe0c39418ebafb82c4b6cf9db29 | [
"BSD-3-Clause"
] | 2 | 2021-09-25T16:19:49.000Z | 2021-10-01T09:08:42.000Z | from django.shortcuts import render
def LandingPage(request):
return render(request, "frontend/index.html")
| 19.833333 | 50 | 0.739496 | 14 | 119 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168067 | 119 | 5 | 51 | 23.8 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
0c956ebd468ed533216f23111370636df0d2f19d | 30 | py | Python | src/mlservicewrapper/config/__init__.py | ml-service-wrapper/ml-service-wrapper-config | 6e7367b3eb32797ea23933c7ed89219d0a386a1d | [
"MIT"
] | null | null | null | src/mlservicewrapper/config/__init__.py | ml-service-wrapper/ml-service-wrapper-config | 6e7367b3eb32797ea23933c7ed89219d0a386a1d | [
"MIT"
] | null | null | null | src/mlservicewrapper/config/__init__.py | ml-service-wrapper/ml-service-wrapper-config | 6e7367b3eb32797ea23933c7ed89219d0a386a1d | [
"MIT"
] | null | null | null |
from .configuration import *
| 10 | 28 | 0.766667 | 3 | 30 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.92 | 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 |
0ce039af1dbda39e84213c4f45184b716a1d5920 | 45 | py | Python | applied/tasks/aoex/models/__init__.py | ndoll1998/AppliedTransformers | 76cbdef6fdd765b2178af71038a61e3e71e0cec9 | [
"MIT"
] | 3 | 2020-09-02T03:51:49.000Z | 2020-09-18T14:09:48.000Z | applied/tasks/aoex/models/__init__.py | ndoll1998/AppliedTransformers | 76cbdef6fdd765b2178af71038a61e3e71e0cec9 | [
"MIT"
] | null | null | null | applied/tasks/aoex/models/__init__.py | ndoll1998/AppliedTransformers | 76cbdef6fdd765b2178af71038a61e3e71e0cec9 | [
"MIT"
] | 2 | 2021-01-30T12:37:43.000Z | 2021-05-19T06:29:31.000Z | from .token_classifier import TokenClassifier | 45 | 45 | 0.911111 | 5 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 45 | 1 | 45 | 45 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ce43516aebd4d4aa15b345efbfe0afed28469e7 | 557 | py | Python | FIS.py | omidai/Fuzzy-Q-Learning | 750ee3864d620b554f8cb0783b6841dfbef12d7b | [
"MIT"
] | 22 | 2018-01-11T20:59:34.000Z | 2022-03-16T07:20:55.000Z | FIS.py | omidai/Fuzzy-Q-Learning | 750ee3864d620b554f8cb0783b6841dfbef12d7b | [
"MIT"
] | null | null | null | FIS.py | omidai/Fuzzy-Q-Learning | 750ee3864d620b554f8cb0783b6841dfbef12d7b | [
"MIT"
] | 14 | 2018-12-30T16:01:16.000Z | 2022-03-04T01:48:29.000Z |
class Build(object):
list_of_input_variable = []
def __init__(self,*args):
self.list_of_input_variable = args
def get_input(self):
return self.list_of_input_variable
def get_number_of_rules(self):
number_of_rules = 1
for input_variable in self.list_of_input_variable:... | 27.85 | 95 | 0.712747 | 80 | 557 | 4.4375 | 0.2625 | 0.292958 | 0.183099 | 0.214085 | 0.377465 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002294 | 0.217235 | 557 | 19 | 96 | 29.315789 | 0.811927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.692308 | 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 |
0b39cffbab3a0466d28c9622509984713c03da89 | 226 | py | Python | tests/conftest.py | ricksuggs/typycal | 54784450ad49899dadbc659512b79acf37d41b2c | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | ricksuggs/typycal | 54784450ad49899dadbc659512b79acf37d41b2c | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | ricksuggs/typycal | 54784450ad49899dadbc659512b79acf37d41b2c | [
"Apache-2.0"
] | null | null | null | # noinspection PyUnresolvedReferences
import os
# noinspection PyUnresolvedReferences
import sys
# uncomment this if we need to import helpers or something...
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
| 28.25 | 65 | 0.783186 | 29 | 226 | 5.965517 | 0.689655 | 0.393064 | 0.462428 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 0.110619 | 226 | 7 | 66 | 32.285714 | 0.855721 | 0.579646 | 0 | 0 | 0 | 0 | 0.021978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0b5a1a8204ba3faa9ec52254cd0e3ab029dcd969 | 18,130 | py | Python | tests/test_train.py | neerbek/taboo-core | 205146a6d7531cb10907953d1b732ac80b12e062 | [
"MIT"
] | 1 | 2020-08-05T03:46:52.000Z | 2020-08-05T03:46:52.000Z | tests/test_train.py | neerbek/taboo-core | 205146a6d7531cb10907953d1b732ac80b12e062 | [
"MIT"
] | 2 | 2020-11-27T00:01:08.000Z | 2021-02-02T22:45:04.000Z | tests/test_train.py | neerbek/taboo-core | 205146a6d7531cb10907953d1b732ac80b12e062 | [
"MIT"
] | 1 | 2019-02-12T16:03:01.000Z | 2019-02-12T16:03:01.000Z | # -*- coding: utf-8 -*-
"""
Created on October 9, 2017
@author: neerbek
"""
import unittest
import numpy
from numpy.random import RandomState
import theano
import tests.RunTimer
import rnn_model.learn
import rnn_model.FlatTrainer
class RNNWrapper:
def __init__(self):
self.model = None
self.n... | 60.033113 | 170 | 0.68963 | 2,206 | 18,130 | 5.597915 | 0.098368 | 0.103652 | 0.060005 | 0.049559 | 0.825735 | 0.799822 | 0.770103 | 0.74087 | 0.710827 | 0.655114 | 0 | 0.061715 | 0.183122 | 18,130 | 301 | 171 | 60.232558 | 0.772113 | 0.183894 | 0 | 0.566964 | 0 | 0 | 0.014471 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.075893 | false | 0 | 0.03125 | 0.004464 | 0.129464 | 0.022321 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.