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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
83bdfdd8bc1c2733f2034e79debc02a3facb04ed | 167,101 | py | Python | ubertool/agdrift/tests/test_agdrift_unittest.py | qed-uber/ubertool | 472a143e110f634afdfe03d503e5f442b1e57b86 | [
"Unlicense"
] | 2 | 2018-01-02T12:58:00.000Z | 2018-04-03T15:40:59.000Z | ubertool/agdrift/tests/test_agdrift_unittest.py | qed-uber/ubertool | 472a143e110f634afdfe03d503e5f442b1e57b86 | [
"Unlicense"
] | 21 | 2017-08-02T18:00:16.000Z | 2019-08-20T15:57:09.000Z | ubertool/agdrift/tests/test_agdrift_unittest.py | quanted/ubertool | 472a143e110f634afdfe03d503e5f442b1e57b86 | [
"Unlicense"
] | null | null | null | from __future__ import division #brings in Python 3.0 mixed type calculation rules
import datetime
import inspect
import numpy as np
import numpy.testing as npt
import os.path
import pandas as pd
import sys
from tabulate import tabulate
import unittest
##find parent directory and import model
#parentddir = os.path.ab... | 65.427173 | 130 | 0.570404 | 23,341 | 167,101 | 3.966968 | 0.099739 | 0.006588 | 0.009266 | 0.011794 | 0.82246 | 0.810158 | 0.797177 | 0.790816 | 0.781906 | 0.774616 | 0 | 0.342492 | 0.307138 | 167,101 | 2,553 | 131 | 65.452801 | 0.457254 | 0.179556 | 0 | 0.760509 | 0 | 0 | 0.060121 | 0.009807 | 0 | 0 | 0 | 0 | 0.036504 | 1 | 0.019358 | false | 0.007743 | 0.006084 | 0 | 0.044248 | 0.079093 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f7e33255cecf34be2a64f39cc577f4baac49dfff | 66,762 | py | Python | lookerapi/apis/group_api.py | llooker/python_sdk | 8364839b1de0519771f2f749e45b4e6cb1c75577 | [
"MIT"
] | 12 | 2019-05-17T11:50:45.000Z | 2021-11-11T21:37:05.000Z | lookerapi/apis/group_api.py | meetup/lookerapi | 4e4160dbe007eb65ac8f449bead0cdc06090b07b | [
"MIT"
] | 4 | 2019-06-19T20:13:14.000Z | 2020-10-13T21:13:47.000Z | lookerapi/apis/group_api.py | meetup/lookerapi | 4e4160dbe007eb65ac8f449bead0cdc06090b07b | [
"MIT"
] | 10 | 2018-10-10T20:45:00.000Z | 2022-02-21T03:12:58.000Z | # coding: utf-8
"""
Looker API 3.0 Reference
### Authorization The Looker API uses Looker **API3** credentials for authorization and access control. Looker admins can create API3 credentials on Looker's **Admin/Users** page. Pass API3 credentials to the **/login** endpoint to obtain a temporary access_token.... | 43.521512 | 1,625 | 0.574908 | 7,131 | 66,762 | 5.138129 | 0.039265 | 0.039356 | 0.019869 | 0.025546 | 0.946616 | 0.939056 | 0.930022 | 0.919132 | 0.913919 | 0.910862 | 0 | 0.000273 | 0.34265 | 66,762 | 1,533 | 1,626 | 43.549902 | 0.834617 | 0.336614 | 0 | 0.817942 | 0 | 0 | 0.175939 | 0.039439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03562 | false | 0 | 0.009235 | 0 | 0.097625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f7e8ac0e02c337e7aebae741951149fb43373b1a | 130 | py | Python | icevision/models/ross/efficientdet/fastai/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 580 | 2020-09-10T06:29:57.000Z | 2022-03-29T19:34:54.000Z | icevision/models/ross/efficientdet/fastai/__init__.py | ai-fast-track/mantisshrimp | cc6d6a4a048f6ddda2782b6593dcd6b083a673e4 | [
"Apache-2.0"
] | 691 | 2020-09-05T03:08:34.000Z | 2022-03-31T23:47:06.000Z | icevision/models/ross/efficientdet/fastai/__init__.py | lgvaz/mantisshrimp2 | 743cb7df0dae7eb1331fc2bb66fc9ca09db496cd | [
"Apache-2.0"
] | 105 | 2020-09-09T10:41:35.000Z | 2022-03-25T17:16:49.000Z | from icevision.models.ross.efficientdet.fastai.callbacks import *
from icevision.models.ross.efficientdet.fastai.learner import *
| 43.333333 | 65 | 0.846154 | 16 | 130 | 6.875 | 0.5625 | 0.236364 | 0.345455 | 0.418182 | 0.745455 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 130 | 2 | 66 | 65 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 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 | 9 |
f7fd7c10f311b68e9ad647397f97c4d32e016396 | 2,329 | py | Python | tests/localization/color/utils/test_color_converter.py | Lukasz1928/mobile-robots-control | 81820b35dab10b14f58d66079b0a8f82ef819bee | [
"MIT"
] | 2 | 2018-06-28T08:07:06.000Z | 2018-07-14T10:00:31.000Z | tests/localization/color/utils/test_color_converter.py | Lukasz1928/mobile-robots-control | 81820b35dab10b14f58d66079b0a8f82ef819bee | [
"MIT"
] | 6 | 2018-10-15T11:00:13.000Z | 2018-12-19T18:06:49.000Z | tests/localization/color/utils/test_color_converter.py | Lukasz1928/mobile-robots-control | 81820b35dab10b14f58d66079b0a8f82ef819bee | [
"MIT"
] | null | null | null | import cv2
from unittest import TestCase
import numpy as np
from parameterized import parameterized
from mrc.localization.color.utils.color_converter import ColorConverter
from tests.test_utils.read_image import read_image
class TestColorConverterGrayscale(TestCase):
def setUp(self):
self.converter = Colo... | 44.788462 | 129 | 0.729927 | 298 | 2,329 | 5.483221 | 0.187919 | 0.111383 | 0.05508 | 0.080783 | 0.80049 | 0.78519 | 0.779682 | 0.779682 | 0.711138 | 0.711138 | 0 | 0.010251 | 0.162301 | 2,329 | 51 | 130 | 45.666667 | 0.827268 | 0 | 0 | 0.435897 | 0 | 0 | 0.104766 | 0.097037 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.205128 | false | 0 | 0.153846 | 0 | 0.410256 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
792382198d77ace4a94683fb5d4dac2847bdd6f8 | 1,417 | py | Python | src/emails/constants.py | tabifier/template-django | 0d2d2ddbc0b53cea8a1ed12d531bf30c231f5185 | [
"MIT"
] | 1 | 2016-05-09T06:14:39.000Z | 2016-05-09T06:14:39.000Z | src/emails/constants.py | tabifier/template-django | 0d2d2ddbc0b53cea8a1ed12d531bf30c231f5185 | [
"MIT"
] | null | null | null | src/emails/constants.py | tabifier/template-django | 0d2d2ddbc0b53cea8a1ed12d531bf30c231f5185 | [
"MIT"
] | null | null | null | class EmailTypes(object):
AUTH_WELCOME_EMAIL = "auth__welcome_email"
AUTH_VERIFY_SIGNUP_EMAIL = "auth__verify_signup_email"
EMAILS = {}
EMAILS[EmailTypes.AUTH_WELCOME_EMAIL] = {
"is_active": False,
"html_template": "emails/action-template.html",
"text_template": "emails/action-template.txt",
... | 25.303571 | 58 | 0.551164 | 139 | 1,417 | 5.352518 | 0.280576 | 0.075269 | 0.107527 | 0.150538 | 0.848118 | 0.784946 | 0.784946 | 0.784946 | 0.784946 | 0.784946 | 0 | 0 | 0.256881 | 1,417 | 55 | 59 | 25.763636 | 0.706553 | 0 | 0 | 0.76 | 0 | 0 | 0.461538 | 0.092449 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
f7021558695aa1fdcaa5b4d0bb723146eff9bfc1 | 9,127 | py | Python | ec2_compare/internal/instance_type/a.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/instance_type/a.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/instance_type/a.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Automatically generated
# pylint: disable=all
get = [{'SupportedArchitectures': ['arm64'], 'SustainedClockSpeedInGhz': 2.3, 'DefaultVCpus': 1, 'DefaultCores': 1, 'DefaultThreadsPerCore': 1, 'ValidCores': [1], 'ValidThreadsPerCore': [1], 'SizeInMiB': 2048, 'EbsOptimizedSupport': 'default', 'EncryptionSupport': 'supp... | 760.583333 | 8,938 | 0.739016 | 685 | 9,127 | 9.843796 | 0.129927 | 0.04805 | 0.090761 | 0.09254 | 0.952098 | 0.952098 | 0.944238 | 0.944238 | 0.944238 | 0.931188 | 0 | 0.03434 | 0.074723 | 9,127 | 11 | 8,939 | 829.727273 | 0.764121 | 0.013805 | 0 | 0 | 1 | 0 | 0.688577 | 0.278278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 12 |
f7307823c40ee64d03118ec461eb3103c01b9c29 | 5,544 | py | Python | Heats/scoresheetsHtml.py | yuxuibbs/MCC-Competition-Docs | 384726c41434c5a07becb6438c3d2409c6ca6eb4 | [
"MIT"
] | 4 | 2016-11-13T20:49:33.000Z | 2017-12-20T20:03:03.000Z | Heats/scoresheetsHtml.py | yuxuibbs/MCC-Competition-Docs | 384726c41434c5a07becb6438c3d2409c6ca6eb4 | [
"MIT"
] | 5 | 2016-12-26T19:14:46.000Z | 2022-02-11T03:44:39.000Z | Heats/scoresheetsHtml.py | yuxuibbs/MCC-Competition-Docs | 384726c41434c5a07becb6438c3d2409c6ca6eb4 | [
"MIT"
] | 2 | 2016-12-29T12:03:15.000Z | 2017-02-16T15:51:02.000Z | startHTML = '''
<html>
<head>
<style>
table {
border-collapse: collapse;
height: 100%;
width: 100%;
}
table, th, td {
border: 3px solid black;
}
@media print {
table {
page-break-after: always;
... | 25.906542 | 64 | 0.418831 | 604 | 5,544 | 3.844371 | 0.130795 | 0.22739 | 0.223945 | 0.206718 | 0.824289 | 0.824289 | 0.790698 | 0.790698 | 0.790698 | 0.790698 | 0 | 0.036155 | 0.386364 | 5,544 | 214 | 65 | 25.906542 | 0.646384 | 0 | 0 | 0.752525 | 0 | 0 | 0.986114 | 0.095942 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.005051 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
f7481b1f82e69e61bcac214242e583154bd7b7cc | 36 | py | Python | j4j_spawner/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | j4j_spawner/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | j4j_spawner/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | from .j4j_spawner import J4J_Spawner | 36 | 36 | 0.888889 | 6 | 36 | 5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.083333 | 36 | 1 | 36 | 36 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f76dbab7b84c0ea2144dc04b04793890b3e37c64 | 269 | py | Python | src/manager/__init__.py | DeepLearnPhysics/larcv-viewer | 5d5eb65e409e80a2ee229464bb7b714deec05462 | [
"MIT"
] | 1 | 2021-07-13T13:34:20.000Z | 2021-07-13T13:34:20.000Z | src/manager/__init__.py | DeepLearnPhysics/larcv-viewer | 5d5eb65e409e80a2ee229464bb7b714deec05462 | [
"MIT"
] | 3 | 2018-01-17T16:13:23.000Z | 2018-01-17T17:28:02.000Z | src/manager/__init__.py | DeepLearnPhysics/larcv-viewer | 5d5eb65e409e80a2ee229464bb7b714deec05462 | [
"MIT"
] | 1 | 2019-09-24T20:43:01.000Z | 2019-09-24T20:43:01.000Z | from .event_meta import event_meta
from .evd_manager_base import evd_manager_base
from .evd_manager_2D import evd_manager_2D
from .evd_manager_3D import evd_manager_3D
try:
import pyqtgraph.opengl as gl
# from .evdmanager import evd_manager_3D
except:
pass
| 26.9 | 46 | 0.817844 | 44 | 269 | 4.636364 | 0.386364 | 0.343137 | 0.313725 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021834 | 0.148699 | 269 | 9 | 47 | 29.888889 | 0.868996 | 0.141264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.625 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
e3cb266c98fd7f9a6aebc01393588c569e0b9442 | 2,707 | py | Python | mySite/applications/myList/migrations/0001_initial.py | ALittleMoron/django_mySite | b0cedcc31d9016a862015bc7da0de7ff09441e8b | [
"Unlicense"
] | null | null | null | mySite/applications/myList/migrations/0001_initial.py | ALittleMoron/django_mySite | b0cedcc31d9016a862015bc7da0de7ff09441e8b | [
"Unlicense"
] | null | null | null | mySite/applications/myList/migrations/0001_initial.py | ALittleMoron/django_mySite | b0cedcc31d9016a862015bc7da0de7ff09441e8b | [
"Unlicense"
] | null | null | null | # Generated by Django 3.2.7 on 2021-10-12 16:31
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Film',
fields=[
('id', models.BigAutoField(... | 55.244898 | 289 | 0.582933 | 284 | 2,707 | 5.429577 | 0.334507 | 0.128405 | 0.062257 | 0.057069 | 0.874189 | 0.874189 | 0.874189 | 0.874189 | 0.874189 | 0.874189 | 0 | 0.028907 | 0.246029 | 2,707 | 48 | 290 | 56.395833 | 0.726605 | 0.016624 | 0 | 0.731707 | 1 | 0 | 0.204511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02439 | 0 | 0.121951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e3e0458a25e37519c6e2fbf6924a775202905940 | 15,716 | py | Python | tests/api/v3_0_0/test_network_access_authorization_global_exception_rules.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_0_0/test_network_access_authorization_global_exception_rules.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_0_0/test_network_access_authorization_global_exception_rules.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI network_access_authorization_global_exception_rules API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Softwa... | 44.270423 | 891 | 0.759672 | 1,903 | 15,716 | 5.839727 | 0.114556 | 0.106452 | 0.094034 | 0.108881 | 0.873122 | 0.873122 | 0.868982 | 0.868982 | 0.865113 | 0.839647 | 0 | 0.010723 | 0.157356 | 15,716 | 354 | 892 | 44.39548 | 0.828438 | 0.076164 | 0 | 0.708955 | 0 | 0 | 0.118592 | 0.017778 | 0 | 0 | 0 | 0 | 0.134328 | 1 | 0.11194 | false | 0 | 0.018657 | 0 | 0.220149 | 0.022388 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
e3f65aa476aab5fec4ffe895495cff609ff44328 | 247 | py | Python | coreli/__init__.py | tcosmo/coreli | 21bdae9225033656ee14bb0598a64e926b61b93a | [
"MIT"
] | null | null | null | coreli/__init__.py | tcosmo/coreli | 21bdae9225033656ee14bb0598a64e926b61b93a | [
"MIT"
] | null | null | null | coreli/__init__.py | tcosmo/coreli | 21bdae9225033656ee14bb0598a64e926b61b93a | [
"MIT"
] | null | null | null | from coreli.base_conversion_routines import *
from coreli.routines import *
from coreli.modular_routines import *
from coreli.parity_vectors import *
from coreli.predecessors import *
from coreli.padic_routines import *
from coreli.cycles import * | 35.285714 | 45 | 0.834008 | 33 | 247 | 6.090909 | 0.363636 | 0.348259 | 0.477612 | 0.477612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109312 | 247 | 7 | 46 | 35.285714 | 0.913636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
540f1232120fac3a04cf000da3812bd837c464df | 3,579 | py | Python | example/dj/apps/issue_tracker/tests/field_permissions.py | Formulka/django-is-core | e7f3e32e1833f5fe246b4a0417edf78f470adfea | [
"BSD-3-Clause"
] | 16 | 2015-06-25T20:00:30.000Z | 2021-11-24T17:27:02.000Z | example/dj/apps/issue_tracker/tests/field_permissions.py | Formulka/django-is-core | e7f3e32e1833f5fe246b4a0417edf78f470adfea | [
"BSD-3-Clause"
] | 65 | 2015-01-17T09:41:39.000Z | 2022-02-24T14:30:14.000Z | example/dj/apps/issue_tracker/tests/field_permissions.py | Formulka/django-is-core | e7f3e32e1833f5fe246b4a0417edf78f470adfea | [
"BSD-3-Clause"
] | 19 | 2016-01-14T14:30:21.000Z | 2021-12-30T17:46:23.000Z | from germanium.test_cases.default import GermaniumTestCase
from germanium.tools import assert_true, assert_false, assert_equal, assert_not_equal
from is_core.auth.permissions import FieldsListPermission, FieldsSetPermission, PermissionsSet, AllowAny
from .permissions import ObjIsNotNonePermission
__all__ =(
'Fi... | 32.536364 | 104 | 0.539536 | 277 | 3,579 | 6.642599 | 0.166065 | 0.052174 | 0.014674 | 0.208696 | 0.820109 | 0.820109 | 0.817935 | 0.817935 | 0.758696 | 0.701087 | 0 | 0 | 0.362951 | 3,579 | 109 | 105 | 32.834862 | 0.807018 | 0 | 0 | 0.666667 | 0 | 0 | 0.017603 | 0.006706 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.040404 | false | 0 | 0.040404 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
5423803a2cc3b1a8539596382a4df2f95c337c39 | 9,702 | py | Python | diffxpy/unit_test/test_partition.py | adkinsrs/diffxpy | 0464d2ab1faa0947d90e29f93018ec678e050585 | [
"BSD-3-Clause"
] | 111 | 2018-10-30T00:07:59.000Z | 2022-03-29T04:33:46.000Z | diffxpy/unit_test/test_partition.py | adkinsrs/diffxpy | 0464d2ab1faa0947d90e29f93018ec678e050585 | [
"BSD-3-Clause"
] | 132 | 2018-10-27T01:43:58.000Z | 2022-01-23T03:25:14.000Z | diffxpy/unit_test/test_partition.py | adkinsrs/diffxpy | 0464d2ab1faa0947d90e29f93018ec678e050585 | [
"BSD-3-Clause"
] | 31 | 2018-11-23T09:30:45.000Z | 2021-07-22T01:54:25.000Z | import unittest
import logging
import numpy as np
import pandas as pd
import scipy.stats as stats
from batchglm.api.models.numpy.glm_nb import Simulator
import diffxpy.api as de
class TestPartitionNull(unittest.TestCase):
def test_null_distribution_wald(self, n_cells: int = 4000, n_genes: int = 200):
""... | 40.764706 | 109 | 0.643063 | 1,215 | 9,702 | 5.001646 | 0.116049 | 0.083923 | 0.04443 | 0.02962 | 0.933026 | 0.927925 | 0.927925 | 0.927925 | 0.927925 | 0.927925 | 0 | 0.020163 | 0.253659 | 9,702 | 237 | 110 | 40.936709 | 0.819086 | 0.245413 | 0 | 0.748299 | 0 | 0 | 0.13141 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 1 | 0.034014 | false | 0 | 0.047619 | 0 | 0.122449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
58181155eafc58102ee5c94d3437219775f52f36 | 14,071 | py | Python | tests/e2e/test_e2e_skip_trained.py | vishalbelsare/emmental | 040ff13752a8443485abe5f664d7e7df2f30f894 | [
"MIT"
] | 75 | 2019-06-22T23:40:20.000Z | 2021-06-05T19:12:15.000Z | tests/e2e/test_e2e_skip_trained.py | vishalbelsare/emmental | 040ff13752a8443485abe5f664d7e7df2f30f894 | [
"MIT"
] | 38 | 2019-07-02T21:05:28.000Z | 2021-03-27T08:55:05.000Z | tests/e2e/test_e2e_skip_trained.py | vishalbelsare/emmental | 040ff13752a8443485abe5f664d7e7df2f30f894 | [
"MIT"
] | 20 | 2019-07-11T15:10:46.000Z | 2021-05-09T14:03:53.000Z | """Emmental e2e with skipping trained data."""
import logging
import shutil
from functools import partial
import numpy as np
import torch
from torch import nn
from torch.nn import functional as F
from emmental import (
Action,
EmmentalDataLoader,
EmmentalDataset,
EmmentalLearner,
EmmentalModel,
... | 29.560924 | 86 | 0.540118 | 1,501 | 14,071 | 4.748834 | 0.117255 | 0.026936 | 0.021605 | 0.029461 | 0.949776 | 0.940236 | 0.938412 | 0.938412 | 0.938412 | 0.938412 | 0 | 0.019139 | 0.331604 | 14,071 | 475 | 87 | 29.623158 | 0.738756 | 0.02594 | 0 | 0.801527 | 0 | 0 | 0.216434 | 0.068779 | 0 | 0 | 0 | 0 | 0.010178 | 1 | 0.025445 | false | 0 | 0.020356 | 0.005089 | 0.066158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
5819b317f141fe7590704b2114ba33dc890f2d27 | 146 | py | Python | cache_it/__init__.py | propername/cache_it | 68296c8d6809eb011ec6bdc81da5142f23df3211 | [
"MIT"
] | null | null | null | cache_it/__init__.py | propername/cache_it | 68296c8d6809eb011ec6bdc81da5142f23df3211 | [
"MIT"
] | null | null | null | cache_it/__init__.py | propername/cache_it | 68296c8d6809eb011ec6bdc81da5142f23df3211 | [
"MIT"
] | null | null | null | from cache_it.cache_it import cache_me # noqa
from cache_it.cache_it import CacheFacility # noqa
from cache_it.cache_it import facility # noqa
| 36.5 | 51 | 0.815068 | 25 | 146 | 4.48 | 0.32 | 0.375 | 0.294643 | 0.428571 | 0.714286 | 0.714286 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.143836 | 146 | 3 | 52 | 48.666667 | 0.896 | 0.09589 | 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 | 1 | 0 | 1 | 0 | 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 | 9 |
582424f5df64d0d529a305dcbb7fad5cbdd6728b | 5,995 | py | Python | main.py | D00dleman/python_one_string_sokoban | 3d1c3f00d691d874ae99562c2d0c0ecabdea679c | [
"MIT"
] | null | null | null | main.py | D00dleman/python_one_string_sokoban | 3d1c3f00d691d874ae99562c2d0c0ecabdea679c | [
"MIT"
] | null | null | null | main.py | D00dleman/python_one_string_sokoban | 3d1c3f00d691d874ae99562c2d0c0ecabdea679c | [
"MIT"
] | null | null | null | (lambda main:(lambda levels:(lambda **arguments: main(main, levels, **arguments['save_input'](arguments['save_print'](arguments['clear']("One String Sokoban\n\nw - up\na - left\ns - down\nd - right\nr - restart\ne - exit\n\nP - player\nB - box\n. - place\n# - wall\n\nPress Return to start..."), arguments))))))(lambda g... | 5,995 | 5,995 | 0.607173 | 1,046 | 5,995 | 3.337476 | 0.128107 | 0.042968 | 0.050415 | 0.040103 | 0.274993 | 0.228301 | 0.173016 | 0.134059 | 0.090805 | 0.090805 | 0 | 0.061136 | 0.113261 | 5,995 | 1 | 5,995 | 5,995 | 0.595561 | 0 | 0 | 0 | 0 | 1 | 0.185624 | 0.007338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
5832c969bede6c456e4b2075f2d6be85488cfa28 | 3,499 | py | Python | docs/sphinx/examples/kernels/simple-powder-diffraction/sampleassembly/peaks.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 5 | 2017-01-16T03:59:47.000Z | 2020-06-23T02:54:19.000Z | docs/sphinx/examples/kernels/simple-powder-diffraction/sampleassembly/peaks.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 293 | 2015-10-29T17:45:52.000Z | 2022-01-07T16:31:09.000Z | docs/sphinx/examples/kernels/simple-powder-diffraction/sampleassembly/peaks.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 1 | 2019-05-25T00:53:31.000Z | 2019-05-25T00:53:31.000Z | from mccomponents.sample.diffraction.SimplePowderDiffractionKernel import Peak
peaks = [
Peak(q=2.687561, F_squared=1.690000, multiplicity=8, intrinsic_line_width=0.000000, DebyeWaller_factor=0.000000),
Peak(q=3.103329, F_squared=1.690000, multiplicity=6, intrinsic_line_width=0.000000, DebyeWaller_factor=0.000... | 71.408163 | 119 | 0.781366 | 552 | 3,499 | 4.76087 | 0.175725 | 0.138508 | 0.178082 | 0.187976 | 0.840183 | 0.788813 | 0.788813 | 0.788813 | 0.788813 | 0.788813 | 0 | 0.255734 | 0.090312 | 3,499 | 48 | 120 | 72.895833 | 0.569903 | 0.042869 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027778 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 | 8 |
58453e9ba83872331c1cc9702017c7666b06e9b1 | 6,658 | py | Python | tests/test_api_bot_infractions.py | gatarelib/site | 81c71a58b949cb346e6af95d2cc3a7c4a71f36fe | [
"MIT"
] | null | null | null | tests/test_api_bot_infractions.py | gatarelib/site | 81c71a58b949cb346e6af95d2cc3a7c4a71f36fe | [
"MIT"
] | null | null | null | tests/test_api_bot_infractions.py | gatarelib/site | 81c71a58b949cb346e6af95d2cc3a7c4a71f36fe | [
"MIT"
] | null | null | null | import json
from tests import SiteTest, app
TEST_USER_ID = "test"
class ApiBotInfractionsEndpoint(SiteTest):
def test_infraction_create_invalid(self):
# Invalid infraction type
post_data_invalid_type = json.dumps(
{"type": "not_a_type", "reason": "test", "user_id": TEST_USER_ID, "ac... | 49.318519 | 116 | 0.600631 | 712 | 6,658 | 5.462079 | 0.109551 | 0.120339 | 0.124454 | 0.064798 | 0.877861 | 0.84649 | 0.816662 | 0.80792 | 0.774749 | 0.739265 | 0 | 0.008237 | 0.270652 | 6,658 | 134 | 117 | 49.686567 | 0.792628 | 0.041604 | 0 | 0.718182 | 0 | 0 | 0.195731 | 0.03359 | 0 | 0 | 0 | 0 | 0.436364 | 1 | 0.027273 | false | 0 | 0.018182 | 0 | 0.054545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5855b0f9736f6388709a76b5e5876afb36f8997f | 588,552 | py | Python | Engine/Extras/Maya_AnimationRiggingTools/ARTv1/MayaTools/General/Scripts/ART_animationUI.py | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Extras/Maya_AnimationRiggingTools/ARTv1/MayaTools/General/Scripts/ART_animationUI.py | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Extras/Maya_AnimationRiggingTools/ARTv1/MayaTools/General/Scripts/ART_animationUI.py | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | import maya.cmds as cmds
from functools import partial
import os, cPickle, math
import maya.mel as mel
import maya.utils
class AnimationUI():
def __init__(self):
#check to see if there are any rigs in the scene, if not return
characters = self.getCharacters()
print charact... | 588,552 | 588,552 | 0.534187 | 54,030 | 588,552 | 5.639386 | 0.032723 | 0.07621 | 0.066755 | 0.043519 | 0.821182 | 0.741257 | 0.708674 | 0.68251 | 0.644816 | 0.621682 | 0 | 0.014827 | 0.293879 | 588,552 | 1 | 588,552 | 588,552 | 0.71834 | 0.076675 | 0 | 0.502654 | 0 | 0.000549 | 0.25055 | 0.154604 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.032217 | 0.003295 | null | null | 0.00238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
587bc039cae8dc3a91b4fe171a8806bf2d8a096e | 60,361 | py | Python | awsiot/iotshadow.py | vietmaiquoc/aws-iot-device-sdk-python-v2 | 1c393c903b53a959711494a6b626497802ea98df | [
"Apache-2.0"
] | 224 | 2019-11-24T14:36:24.000Z | 2022-03-30T12:27:18.000Z | awsiot/iotshadow.py | vietmaiquoc/aws-iot-device-sdk-python-v2 | 1c393c903b53a959711494a6b626497802ea98df | [
"Apache-2.0"
] | 166 | 2019-12-03T19:41:40.000Z | 2022-03-31T20:02:39.000Z | awsiot/iotshadow.py | vietmaiquoc/aws-iot-device-sdk-python-v2 | 1c393c903b53a959711494a6b626497802ea98df | [
"Apache-2.0"
] | 156 | 2020-01-02T18:15:45.000Z | 2022-03-18T07:34:55.000Z | # Copyright Amazon.com, Inc. or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0.
# This file is generated
import awsiot
import concurrent.futures
import datetime
import typing
class IotShadowClient(awsiot.MqttServiceClient):
def publish_delete_named_shadow(self, request, qos):
... | 39.043338 | 163 | 0.639602 | 7,069 | 60,361 | 5.35493 | 0.029 | 0.038516 | 0.010937 | 0.021081 | 0.947192 | 0.942939 | 0.935674 | 0.925133 | 0.916918 | 0.894172 | 0 | 0.001158 | 0.270191 | 60,361 | 1,545 | 164 | 39.068608 | 0.858145 | 0.462385 | 0 | 0.815961 | 1 | 0 | 0.163574 | 0.042921 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105863 | false | 0 | 0.006515 | 0 | 0.262215 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
587d81d589fe81185c0a3fda087f053ed9710fae | 51,738 | py | Python | sdk/python/pulumi_oci/monitoring/outputs.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/monitoring/outputs.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/monitoring/outputs.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 54.865323 | 1,006 | 0.689706 | 6,386 | 51,738 | 5.466333 | 0.076261 | 0.015441 | 0.028303 | 0.041366 | 0.868913 | 0.860118 | 0.852383 | 0.837831 | 0.810301 | 0.80778 | 0 | 0.018358 | 0.221945 | 51,738 | 942 | 1,007 | 54.923567 | 0.848814 | 0.550698 | 0 | 0.711111 | 1 | 0.001852 | 0.147847 | 0.05044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172222 | false | 0 | 0.011111 | 0.018519 | 0.353704 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
49a9cfa9cd88d54f102e0a2736e1565ad94ad772 | 1,762 | py | Python | python/utils/lawcommission.py | barkavi87/anuvaad-corpus | 9ea832f4228f61a7d4998205976629ea4b7c3d70 | [
"MIT"
] | 2 | 2019-12-20T08:58:10.000Z | 2020-05-15T14:17:43.000Z | python/utils/lawcommission.py | barkavi87/anuvaad-corpus | 9ea832f4228f61a7d4998205976629ea4b7c3d70 | [
"MIT"
] | 73 | 2019-08-12T16:17:33.000Z | 2022-01-13T01:24:38.000Z | python/utils/lawcommission.py | barkavi87/anuvaad-corpus | 9ea832f4228f61a7d4998205976629ea4b7c3d70 | [
"MIT"
] | 1 | 2020-08-24T09:51:46.000Z | 2020-08-24T09:51:46.000Z | import os.path
import requests
for i in range(274,0, -1):
if os.path.isfile('../../lawcommission/H'+str(i)+'.pdf') and os.path.isfile('../../lawcommission/Report'+str(i)+'.pdf'):
try:
file1 = open('../../lawcommission/H'+str(i)+'.pdf', 'rb')
file2 = open('../../lawcommission/Report... | 47.621622 | 126 | 0.512486 | 200 | 1,762 | 4.515 | 0.25 | 0.084164 | 0.093023 | 0.119601 | 0.919158 | 0.919158 | 0.861573 | 0.861573 | 0.861573 | 0.861573 | 0 | 0.016104 | 0.259932 | 1,762 | 37 | 127 | 47.621622 | 0.67638 | 0 | 0 | 0.742857 | 0 | 0 | 0.34827 | 0.155417 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.057143 | 0 | 0.057143 | 0.314286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
49b3ff2be93ec6f8ecfb676fc4ebff6f457b255a | 173 | py | Python | medicare_appeals/tests/conftest.py | 18F/medicare-appeals-prototyping | 51f7a4a2f9dee4a78ef8197d8a80ed255e3dcc56 | [
"CC0-1.0"
] | 1 | 2019-07-01T19:18:10.000Z | 2019-07-01T19:18:10.000Z | medicare_appeals/tests/conftest.py | 18F/medicare-appeals-prototyping | 51f7a4a2f9dee4a78ef8197d8a80ed255e3dcc56 | [
"CC0-1.0"
] | 1 | 2019-03-07T00:36:56.000Z | 2019-03-07T00:36:56.000Z | medicare_appeals/tests/conftest.py | 18F/medicare-appeals-prototyping | 51f7a4a2f9dee4a78ef8197d8a80ed255e3dcc56 | [
"CC0-1.0"
] | 1 | 2021-02-14T09:47:01.000Z | 2021-02-14T09:47:01.000Z | import pytest
from . import factories
# @pytest.fixture(scope='session')
# def django_db_setup(django_db_setup, django_db_blocker):
# with django_db_blocker.unblock():
| 24.714286 | 58 | 0.774566 | 24 | 173 | 5.25 | 0.583333 | 0.253968 | 0.206349 | 0.301587 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 6 | 59 | 28.833333 | 0.823529 | 0.734104 | 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 | 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 | 7 |
49c89405e8f326f1c43dd28c3f15ab2c1725af03 | 22,447 | py | Python | Packages/Dead/reqm/_GlobalIDL/__init__.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | Packages/Dead/reqm/_GlobalIDL/__init__.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | Packages/Dead/reqm/_GlobalIDL/__init__.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | """ Module:
Automagically generated by:-
The ORB called Fnorb v1.1.Return.of.Fnorb
"""
_FNORB_ID = ""
# Fnorb modules.
import Fnorb.orb.CORBA
import Fnorb.orb.TypeManager
import Fnorb.orb.Util
class reqException(Fnorb.orb.CORBA.UserException):
""" Exception: IDL:reqException:1.0 """
_FNORB_ID = "IDL:req... | 62.876751 | 2,073 | 0.825188 | 1,390 | 22,447 | 13.141727 | 0.089209 | 0.007664 | 0.005748 | 0.026003 | 0.293535 | 0.266656 | 0.244813 | 0.241857 | 0.237039 | 0.22193 | 0 | 0.53007 | 0.103666 | 22,447 | 356 | 2,074 | 63.053371 | 0.377833 | 0.119392 | 0 | 0.445161 | 1 | 0 | 0.634155 | 0.597432 | 0 | 1 | 0 | 0 | 0 | 1 | 0.122581 | false | 0 | 0.019355 | 0 | 0.354839 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3fa8932e0506b45e7a89b62cfe372aee0e6d06c2 | 7,947 | py | Python | tests/aat/api/v1/client/api/sockets_api.py | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 20 | 2019-12-04T01:28:52.000Z | 2022-03-17T14:09:34.000Z | tests/aat/api/v1/client/api/sockets_api.py | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 115 | 2020-02-04T21:29:54.000Z | 2022-02-17T13:33:51.000Z | tests/aat/api/v1/client/api/sockets_api.py | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 16 | 2019-12-03T16:41:18.000Z | 2021-11-06T04:44:11.000Z | # coding: utf-8
"""
OpenPerf API
REST API interface for OpenPerf # noqa: E501
OpenAPI spec version: 1
Contact: support@spirent.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compa... | 35.32 | 117 | 0.606896 | 927 | 7,947 | 4.961165 | 0.171521 | 0.053925 | 0.022614 | 0.031311 | 0.846923 | 0.846923 | 0.821483 | 0.802348 | 0.802348 | 0.784518 | 0 | 0.018054 | 0.303007 | 7,947 | 224 | 118 | 35.477679 | 0.81224 | 0.351957 | 0 | 0.714286 | 1 | 0 | 0.149586 | 0.028008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044643 | false | 0 | 0.035714 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3fbdf5918ff9dabb39f4fd8373fd393e2bea1224 | 1,624 | py | Python | tests/check_time_range_function.py | bsgip/c3x-data | 32e6973a0eeb3cd72d298734d7a2937dd369a456 | [
"MIT"
] | 2 | 2021-04-17T03:55:04.000Z | 2022-02-25T10:08:02.000Z | tests/check_time_range_function.py | bsgip/c3x-data | 32e6973a0eeb3cd72d298734d7a2937dd369a456 | [
"MIT"
] | null | null | null | tests/check_time_range_function.py | bsgip/c3x-data | 32e6973a0eeb3cd72d298734d7a2937dd369a456 | [
"MIT"
] | 2 | 2021-03-15T09:18:22.000Z | 2021-11-28T10:39:53.000Z | from c3e_data_preparation.preparation import cleaners
def test_timestamp_end_h():
timestamp = 1548154800
start, end = cleaners.find_time_range_method_hour(timestamp=timestamp, fault_placement="end")
assert end == timestamp, "timerange is wrong"
assert start != timestamp, "timerange is wrong"
def tes... | 31.843137 | 100 | 0.748768 | 199 | 1,624 | 5.859296 | 0.135678 | 0.185249 | 0.205832 | 0.25729 | 0.940823 | 0.940823 | 0.940823 | 0.940823 | 0.940823 | 0.940823 | 0 | 0.04482 | 0.161946 | 1,624 | 50 | 101 | 32.48 | 0.811903 | 0 | 0 | 0.580645 | 0 | 0 | 0.150339 | 0 | 0 | 0 | 0 | 0 | 0.387097 | 1 | 0.193548 | false | 0 | 0.032258 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
b770922eec2f3bdced27f23aca4bc64898142d9e | 6,912 | py | Python | test/test_cells_page_breaks_api.py | aspose-cells-cloud/aspose-cells-cloud-python | 0189236d38053dc67f7edc754b5101f17262cee8 | [
"MIT"
] | 3 | 2018-05-23T03:16:26.000Z | 2020-11-07T11:42:41.000Z | test/test_cells_page_breaks_api.py | aspose-cells-cloud/aspose-cells-cloud-python | 0189236d38053dc67f7edc754b5101f17262cee8 | [
"MIT"
] | null | null | null | test/test_cells_page_breaks_api.py | aspose-cells-cloud/aspose-cells-cloud-python | 0189236d38053dc67f7edc754b5101f17262cee8 | [
"MIT"
] | 4 | 2018-08-29T18:45:05.000Z | 2021-03-25T07:59:56.000Z | # coding: utf-8
"""
Web API Swagger specification
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import ... | 32.603774 | 190 | 0.651042 | 820 | 6,912 | 5.197561 | 0.12561 | 0.098545 | 0.105584 | 0.059127 | 0.792116 | 0.792116 | 0.787893 | 0.758329 | 0.732989 | 0.695917 | 0 | 0.016013 | 0.259115 | 6,912 | 211 | 191 | 32.758294 | 0.816247 | 0.124711 | 0 | 0.630769 | 1 | 0 | 0.050123 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.092308 | false | 0.084615 | 0.069231 | 0 | 0.169231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
b787a3546afeb49c2a1650d5344d653309babce3 | 1,840 | py | Python | build/darknet_ros_msgs/cmake/darknet_ros_msgs-genmsg-context.py | 6RiverSystems/darknet_ros | 03c72b96afa99f7cc75f7792b51deb4a7f4ed379 | [
"BSD-3-Clause"
] | null | null | null | build/darknet_ros_msgs/cmake/darknet_ros_msgs-genmsg-context.py | 6RiverSystems/darknet_ros | 03c72b96afa99f7cc75f7792b51deb4a7f4ed379 | [
"BSD-3-Clause"
] | null | null | null | build/darknet_ros_msgs/cmake/darknet_ros_msgs-genmsg-context.py | 6RiverSystems/darknet_ros | 03c72b96afa99f7cc75f7792b51deb4a7f4ed379 | [
"BSD-3-Clause"
] | null | null | null | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/kalyco/mfp_workspace/src/darknet_ros/darknet_ros_msgs/msg/BoundingBox.msg;/home/kalyco/mfp_workspace/src/darknet_ros/darknet_ros_msgs/msg/BoundingBoxes.msg;/home/kalyco/mfp_workspace/devel/.private/darknet_ros_msgs/share/darknet_ros_msgs/msg/Che... | 153.333333 | 980 | 0.851087 | 272 | 1,840 | 5.4375 | 0.227941 | 0.169033 | 0.208249 | 0.178499 | 0.583502 | 0.536849 | 0.517241 | 0.49831 | 0.49831 | 0.49831 | 0 | 0 | 0.018478 | 1,840 | 11 | 981 | 167.272727 | 0.818937 | 0.02663 | 0 | 0 | 1 | 0.222222 | 0.886529 | 0.866965 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b7951ad98c24e6026573cc7c188ef92c48db335b | 20,023 | py | Python | sdk/python/pulumi_alicloud/marketplace/order.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/marketplace/order.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/marketplace/order.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 40.697154 | 134 | 0.630974 | 2,324 | 20,023 | 5.22031 | 0.071429 | 0.097923 | 0.077316 | 0.065282 | 0.873558 | 0.852456 | 0.830531 | 0.813139 | 0.794016 | 0.781569 | 0 | 0.000067 | 0.258103 | 20,023 | 491 | 135 | 40.780041 | 0.816627 | 0.265844 | 0 | 0.753425 | 1 | 0 | 0.090562 | 0.002347 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160959 | false | 0.003425 | 0.017123 | 0 | 0.273973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b7b06155d854f22833de37e86a8c8ea797b857ce | 18,159 | py | Python | unit_tests/test_check_ceph_status.py | wolsen/charm-ceph-mon | 1e148346b7acb35d9ef38e495178b855c352a133 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-04-17T04:00:38.000Z | 2021-01-18T16:09:54.000Z | unit_tests/test_check_ceph_status.py | wolsen/charm-ceph-mon | 1e148346b7acb35d9ef38e495178b855c352a133 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2016-07-01T14:08:13.000Z | 2021-08-20T06:22:20.000Z | unit_tests/test_check_ceph_status.py | wolsen/charm-ceph-mon | 1e148346b7acb35d9ef38e495178b855c352a133 | [
"ECL-2.0",
"Apache-2.0"
] | 19 | 2016-03-07T09:07:39.000Z | 2021-10-29T18:03:24.000Z | # Copyright 2016 Canonical Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 49.479564 | 78 | 0.63346 | 2,198 | 18,159 | 4.878526 | 0.070064 | 0.109951 | 0.183251 | 0.06528 | 0.913457 | 0.910659 | 0.906836 | 0.906836 | 0.906836 | 0.906836 | 0 | 0.014457 | 0.272427 | 18,159 | 366 | 79 | 49.614754 | 0.797154 | 0.085688 | 0 | 0.834483 | 0 | 0 | 0.152597 | 0.117391 | 0 | 0 | 0 | 0 | 0.096552 | 1 | 0.096552 | false | 0 | 0.017241 | 0 | 0.117241 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 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 | 8 |
b7d75fae90757586b3adffc30a2209eab76f9862 | 808 | py | Python | edm_web1/router.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | edm_web1/router.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | 18 | 2020-06-05T18:17:40.000Z | 2022-03-11T23:25:21.000Z | edm_web1/router.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | class MyRouter(object):
def db_for_read(self, model, **hints):
# if model.__name__ == 'CommonVar':
if model._meta.model_name == 'commontype':
return 'pgsql-ms'
if model._meta.app_label == 'other':
return 'pgsql-ms'
# elif model._meta.app_label in ['auth', 'adm... | 40.4 | 115 | 0.574257 | 93 | 808 | 4.752688 | 0.354839 | 0.122172 | 0.099548 | 0.153846 | 0.871041 | 0.791855 | 0.791855 | 0.791855 | 0.791855 | 0.791855 | 0 | 0 | 0.274752 | 808 | 19 | 116 | 42.526316 | 0.754266 | 0.355198 | 0 | 0.769231 | 0 | 0 | 0.139806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 8 |
4d33d7e6e7a43d4918d7e81f0ad39703caf62b51 | 35,641 | py | Python | egret/model_library/unit_commitment/ramping_limits.py | austinshort/Egret | e1fe4ece9f524dcd76f77768cf0d8048dc2b9fd7 | [
"BSD-3-Clause"
] | null | null | null | egret/model_library/unit_commitment/ramping_limits.py | austinshort/Egret | e1fe4ece9f524dcd76f77768cf0d8048dc2b9fd7 | [
"BSD-3-Clause"
] | 1 | 2019-12-11T22:45:12.000Z | 2019-12-11T22:45:12.000Z | egret/model_library/unit_commitment/ramping_limits.py | austinshort/Egret | e1fe4ece9f524dcd76f77768cf0d8048dc2b9fd7 | [
"BSD-3-Clause"
] | null | null | null | # ___________________________________________________________________________
#
# EGRET: Electrical Grid Research and Engineering Tools
# Copyright 2019 National Technology & Engineering Solutions of Sandia, LLC
# (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
# Government retains certain r... | 58.813531 | 178 | 0.598384 | 4,155 | 35,641 | 4.990373 | 0.095307 | 0.036749 | 0.030528 | 0.050639 | 0.858789 | 0.815481 | 0.798698 | 0.788184 | 0.751242 | 0.720087 | 0 | 0.014983 | 0.292135 | 35,641 | 605 | 179 | 58.910744 | 0.80673 | 0.194467 | 0 | 0.702632 | 0 | 0 | 0.053494 | 0.017196 | 0 | 0 | 0 | 0.013223 | 0 | 1 | 0.078947 | false | 0 | 0.007895 | 0 | 0.273684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4d545e5f54326d14388a022df7aa12f65f61c3be | 19,244 | py | Python | stage/configuration/test_kafka_multitopic_consumer_origin.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | null | null | null | stage/configuration/test_kafka_multitopic_consumer_origin.py | Sentienz/datacollector-tests | ca27988351dc3366488098b5db6c85a8be2f7b85 | [
"Apache-2.0"
] | 1 | 2019-04-24T11:06:38.000Z | 2019-04-24T11:06:38.000Z | stage/configuration/test_kafka_multitopic_consumer_origin.py | anubandhan/datacollector-tests | 301c024c66d68353735256b262b681dd05ba16cc | [
"Apache-2.0"
] | 2 | 2019-05-24T06:34:37.000Z | 2020-03-30T11:48:18.000Z | import pytest
from streamsets.testframework.decorators import stub
@pytest.mark.parametrize('data_format', ['DELIMITED'])
@pytest.mark.parametrize('header_line', ['WITH_HEADER'])
@pytest.mark.parametrize('allow_extra_columns', [False, True])
@stub
def test_allow_extra_columns(sdc_builder, sdc_executor, data_format, ... | 32.019967 | 180 | 0.778269 | 2,554 | 19,244 | 5.48473 | 0.079092 | 0.112079 | 0.235366 | 0.131925 | 0.838806 | 0.806396 | 0.764492 | 0.717947 | 0.693604 | 0.657696 | 0 | 0.000565 | 0.0807 | 19,244 | 600 | 181 | 32.073333 | 0.79125 | 0 | 0 | 0.659574 | 0 | 0 | 0.206818 | 0.040792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208038 | false | 0.208038 | 0.007092 | 0 | 0.21513 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4d6bc1143aab985b43d448b2532ebe4708382e63 | 437 | py | Python | others/edge/speech_recognition/pytorch/src/deepspeech/logging/__init__.py | luluseptember/inference | acbc7b0bf288343ed81e62b69dea8afec03d679b | [
"Apache-2.0"
] | 49 | 2018-11-02T15:04:40.000Z | 2021-11-16T18:11:39.000Z | others/edge/speech_recognition/pytorch/src/deepspeech/logging/__init__.py | luluseptember/inference | acbc7b0bf288343ed81e62b69dea8afec03d679b | [
"Apache-2.0"
] | 6 | 2018-12-03T19:29:49.000Z | 2020-05-16T15:34:33.000Z | others/edge/speech_recognition/pytorch/src/deepspeech/logging/__init__.py | luluseptember/inference | acbc7b0bf288343ed81e62b69dea8afec03d679b | [
"Apache-2.0"
] | 16 | 2018-11-08T11:52:54.000Z | 2021-11-16T18:11:28.000Z | # flake8: noqa
from deepspeech.logging.log_level_action import LogLevelAction
from deepspeech.logging.mixin import log_call
from deepspeech.logging.mixin import log_call_debug
from deepspeech.logging.mixin import log_call_info
from deepspeech.logging.mixin import log_call_warning
from deepspeech.logging.mixin import lo... | 43.7 | 62 | 0.878719 | 63 | 437 | 5.888889 | 0.285714 | 0.301887 | 0.45283 | 0.490566 | 0.716981 | 0.630728 | 0.630728 | 0 | 0 | 0 | 0 | 0.002488 | 0.080092 | 437 | 9 | 63 | 48.555556 | 0.920398 | 0.02746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4db393dc38f84b1fcfe7cd9a1ca245098d17c20d | 8,107 | py | Python | finfast_torch/analyze/metrics.py | snugfox/finfast | ccfcc67deae24a29d3dfcd5ffa51988d13791b07 | [
"MIT"
] | null | null | null | finfast_torch/analyze/metrics.py | snugfox/finfast | ccfcc67deae24a29d3dfcd5ffa51988d13791b07 | [
"MIT"
] | null | null | null | finfast_torch/analyze/metrics.py | snugfox/finfast | ccfcc67deae24a29d3dfcd5ffa51988d13791b07 | [
"MIT"
] | null | null | null | import torch
from . import metrics_kernels as kernels
from typing import Optional
def __expect_rp_rb_rf(
rp: Optional[torch.Tensor], rb: Optional[torch.Tensor], rf: Optional[torch.Tensor]
) -> None:
"""Raises an exception if any of rp, rb, or rf have invalid dtypes or shapes
It will raise a ValueError ... | 37.188073 | 86 | 0.649932 | 1,335 | 8,107 | 3.89588 | 0.08015 | 0.145933 | 0.034609 | 0.113055 | 0.813882 | 0.801192 | 0.762546 | 0.756585 | 0.750433 | 0.750433 | 0 | 0.002835 | 0.260392 | 8,107 | 217 | 87 | 37.359447 | 0.864576 | 0.634883 | 0 | 0.188679 | 0 | 0 | 0.076144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207547 | false | 0 | 0.056604 | 0 | 0.45283 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4df92cea20e604187f12842fb39ff420ceba1430 | 23,840 | py | Python | paper/plot_fisher.py | AdriJD/cmb_sst_ksw | 635f0627a3c8a36c743cdf8955e3671352ab6d90 | [
"MIT"
] | null | null | null | paper/plot_fisher.py | AdriJD/cmb_sst_ksw | 635f0627a3c8a36c743cdf8955e3671352ab6d90 | [
"MIT"
] | null | null | null | paper/plot_fisher.py | AdriJD/cmb_sst_ksw | 635f0627a3c8a36c743cdf8955e3671352ab6d90 | [
"MIT"
] | null | null | null | '''
Plot output from calc_fisher.
'''
import matplotlib
matplotlib.use('agg')
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
from scipy.interpolate import CubicSpline, PchipInterpolator
import numpy as np
import os
matplotlib.rcParams['mathtext.fontset'] = 'cm'
matplotlib.rcParams['font.family']... | 35.266272 | 99 | 0.533977 | 3,382 | 23,840 | 3.53696 | 0.089592 | 0.029092 | 0.0158 | 0.014128 | 0.86223 | 0.845678 | 0.824946 | 0.800368 | 0.782227 | 0.761913 | 0 | 0.054229 | 0.304614 | 23,840 | 675 | 100 | 35.318519 | 0.66733 | 0.060193 | 0 | 0.687943 | 0 | 0.009456 | 0.093476 | 0.036174 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.016548 | null | null | 0.021277 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
12989e1bd475acdc3cceb23c4a424ba0563ded10 | 144 | py | Python | nitorch/plot/__init__.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 46 | 2020-07-31T10:14:05.000Z | 2022-03-24T12:51:46.000Z | nitorch/plot/__init__.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 36 | 2020-10-06T19:01:38.000Z | 2022-02-03T18:07:35.000Z | nitorch/plot/__init__.py | balbasty/nitorch | d30c3125a8a66ea1434f2b39ed03338afd9724b4 | [
"MIT"
] | 6 | 2021-01-05T14:59:05.000Z | 2021-11-18T18:26:45.000Z | """Plotting utilities."""
from . import gui
from .gui import *
from . import volumes
from .volumes import *
from . import vb
from .vb import *
| 16 | 25 | 0.701389 | 20 | 144 | 5.05 | 0.35 | 0.29703 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 144 | 8 | 26 | 18 | 0.863248 | 0.131944 | 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 | 1 | 0 | 0 | 7 |
12fa078aca887a11c958e1c30416828f00106a30 | 141 | py | Python | src/services/__init__.py | ToucanBran/crypto-buyer | 8cf8a03e4e8631499c1f2a5b1cceb2521d76d513 | [
"MIT"
] | 1 | 2021-11-25T11:34:23.000Z | 2021-11-25T11:34:23.000Z | src/services/__init__.py | ToucanBran/crypto-buyer | 8cf8a03e4e8631499c1f2a5b1cceb2521d76d513 | [
"MIT"
] | 1 | 2021-11-25T01:54:22.000Z | 2021-11-26T22:23:10.000Z | src/services/__init__.py | ToucanBran/crypto-buyer | 8cf8a03e4e8631499c1f2a5b1cceb2521d76d513 | [
"MIT"
] | null | null | null | from .buyer_logger import *
from .rabbitmq_wrapper import *
from .coin_service import *
from .spot_api_wrapper import *
from .buyer import *
| 23.5 | 31 | 0.787234 | 20 | 141 | 5.3 | 0.5 | 0.377358 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141844 | 141 | 5 | 32 | 28.2 | 0.876033 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4272e3afff834b7913d9e4abb09be00794d0f815 | 7,087 | py | Python | attention.py | Zhiquan-Wen/D-VQA | 688c4dcc811f49b431daea81406e628ec71a7247 | [
"BSD-3-Clause"
] | 25 | 2021-11-09T07:05:18.000Z | 2022-03-30T19:37:49.000Z | attention.py | Zhiquan-Wen/D-VQA | 688c4dcc811f49b431daea81406e628ec71a7247 | [
"BSD-3-Clause"
] | 7 | 2021-11-16T15:53:18.000Z | 2022-03-29T03:46:35.000Z | attention.py | Zhiquan-Wen/D-VQA | 688c4dcc811f49b431daea81406e628ec71a7247 | [
"BSD-3-Clause"
] | 2 | 2021-12-16T04:35:57.000Z | 2022-03-06T06:08:06.000Z | import torch
import torch.nn as nn
from torch.nn.utils.weight_norm import weight_norm
from fc import FCNet, GTH, get_norm
# Default concat, 1 layer, output layer
class Att_0(nn.Module):
def __init__(self, v_dim, q_dim, num_hid, norm, act, dropout=0.0):
super(Att_0, self).__init__()
norm_... | 35.974619 | 117 | 0.570481 | 1,049 | 7,087 | 3.642517 | 0.06673 | 0.0581 | 0.042397 | 0.03664 | 0.919393 | 0.906831 | 0.906831 | 0.906831 | 0.873855 | 0.857367 | 0 | 0.014994 | 0.294201 | 7,087 | 197 | 118 | 35.974619 | 0.7489 | 0.109214 | 0 | 0.796992 | 0 | 0 | 0.001189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.030075 | 0 | 0.345865 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c43f484ae7c8f6413879a9c2c5a438d2e8659f0b | 10,764 | py | Python | src/preprocess/main_preprocess.py | cfont03/Anomaly-breast-cancer-detection | d0fca05747b30afb546fe55ba3851883d99eb34f | [
"MIT"
] | null | null | null | src/preprocess/main_preprocess.py | cfont03/Anomaly-breast-cancer-detection | d0fca05747b30afb546fe55ba3851883d99eb34f | [
"MIT"
] | null | null | null | src/preprocess/main_preprocess.py | cfont03/Anomaly-breast-cancer-detection | d0fca05747b30afb546fe55ba3851883d99eb34f | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from PIL import Image
if __name__ == '__main__':
from utils.generate_mask import generate_mask
from utils.horizontal_flip import horizontal_flip
from utils.map_img_txt import map_img_txt
from utils.noise import remove_noise
from utils.rotation import rotate_images
fro... | 36.488136 | 135 | 0.605537 | 1,724 | 10,764 | 3.581787 | 0.071346 | 0.086154 | 0.105263 | 0.092632 | 0.83498 | 0.805668 | 0.786073 | 0.765668 | 0.765668 | 0.643077 | 0 | 0.017243 | 0.181067 | 10,764 | 295 | 136 | 36.488136 | 0.683267 | 0.00864 | 0 | 0.714286 | 1 | 0 | 0.077955 | 0.035835 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003759 | 0.041353 | 0 | 0.041353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6746aed80884ac7bc216835df751a53dbb1a637d | 172 | py | Python | tests/python_print_width/print_width.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 362 | 2018-02-17T10:25:11.000Z | 2022-03-30T21:04:59.000Z | tests/python_print_width/print_width.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 70 | 2018-02-17T04:00:14.000Z | 2019-08-21T18:01:52.000Z | tests/python_print_width/print_width.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 36 | 2018-02-18T23:11:25.000Z | 2021-09-20T07:19:36.000Z | def foo():
return "line_with_79_chars_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
return "line_with_80_chars_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
| 43 | 80 | 0.877907 | 14 | 172 | 10.214286 | 0.714286 | 0.13986 | 0.195804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.081395 | 172 | 3 | 81 | 57.333333 | 0.879747 | 0 | 0 | 0 | 0 | 0 | 0.773256 | 0.773256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
674e223aa9c9a3f3c8aa39a658b579ea26b1dce8 | 9,754 | py | Python | DOT_assignment/run.py | kachark/FormFlight | 94189581ecd28ab5d9d30e2b171a3fa3296029a7 | [
"MIT"
] | 5 | 2019-11-03T06:35:28.000Z | 2021-05-25T16:21:28.000Z | DOT_assignment/run.py | kachark/FormFlight | 94189581ecd28ab5d9d30e2b171a3fa3296029a7 | [
"MIT"
] | null | null | null | DOT_assignment/run.py | kachark/FormFlight | 94189581ecd28ab5d9d30e2b171a3fa3296029a7 | [
"MIT"
] | null | null | null |
""" @file run.py
"""
from time import time, process_time
import pandas as pd
from DOT_assignment import agents as ag
from DOT_assignment import controls
from DOT_assignment import dynamics
from DOT_assignment import engine
from DOT_assignment import systems
from DOT_assignment import post_process
##################... | 38.25098 | 108 | 0.679516 | 1,158 | 9,754 | 5.615717 | 0.132988 | 0.029525 | 0.025834 | 0.033215 | 0.913886 | 0.913886 | 0.913886 | 0.913886 | 0.905736 | 0.905736 | 0 | 0.00595 | 0.24185 | 9,754 | 254 | 109 | 38.401575 | 0.873428 | 0.454378 | 0 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019685 | 0 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6768afc7ce023fbaabbc6a068abbbbbb4f7ac02a | 8,212 | py | Python | tests/test_mrs/test_fitting.py | hjiang1/suspect | f8b320b16bbd73a95d58eea1660921d6cad16f36 | [
"MIT"
] | null | null | null | tests/test_mrs/test_fitting.py | hjiang1/suspect | f8b320b16bbd73a95d58eea1660921d6cad16f36 | [
"MIT"
] | null | null | null | tests/test_mrs/test_fitting.py | hjiang1/suspect | f8b320b16bbd73a95d58eea1660921d6cad16f36 | [
"MIT"
] | null | null | null | from suspect.fitting import singlet
from suspect import basis, MRSData
import numpy
import pytest
import random
numpy.random.seed(1024)
@pytest.fixture
def fixed_fid():
time_axis = numpy.arange(0, 0.512, 5e-4)
fid = basis.gaussian(time_axis, 0, 0, 50.0) + 0.00001 * (numpy.random.rand(1024) - 0.5)
return... | 25.582555 | 96 | 0.4849 | 939 | 8,212 | 4.124601 | 0.113951 | 0.090627 | 0.074361 | 0.10741 | 0.860057 | 0.843532 | 0.814356 | 0.810225 | 0.779757 | 0.751356 | 0 | 0.081205 | 0.361179 | 8,212 | 320 | 97 | 25.6625 | 0.657072 | 0.058208 | 0 | 0.706827 | 0 | 0 | 0.128301 | 0 | 0 | 0 | 0 | 0 | 0.068273 | 1 | 0.048193 | false | 0 | 0.02008 | 0 | 0.076305 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
67973c9851a83cf477042a8dc4e7a0048a4ca985 | 239 | py | Python | jsonschema_extended/__init__.py | janw/jsonschema-extended | 31f19106f3b3a9b90c7e0cdbdc079c13f295f43e | [
"Apache-2.0"
] | null | null | null | jsonschema_extended/__init__.py | janw/jsonschema-extended | 31f19106f3b3a9b90c7e0cdbdc079c13f295f43e | [
"Apache-2.0"
] | null | null | null | jsonschema_extended/__init__.py | janw/jsonschema-extended | 31f19106f3b3a9b90c7e0cdbdc079c13f295f43e | [
"Apache-2.0"
] | null | null | null | from .format_checker import create_format_checker # noqa: F401
from .format_checker import extended_format_checker # noqa: F401
from .validator import create_validator # noqa: F401
from .validator import ExtendedValidator # noqa: F401
| 47.8 | 65 | 0.8159 | 31 | 239 | 6.064516 | 0.322581 | 0.276596 | 0.191489 | 0.244681 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.133891 | 239 | 4 | 66 | 59.75 | 0.850242 | 0.179916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
67fd7dd0998911a5651eebd362ee965855f7c2a3 | 81 | py | Python | tests/gource/test_log.py | wraithy/gource-summary | 33f6946f7a19d7b26f9291a72816557dad37882a | [
"MIT"
] | null | null | null | tests/gource/test_log.py | wraithy/gource-summary | 33f6946f7a19d7b26f9291a72816557dad37882a | [
"MIT"
] | null | null | null | tests/gource/test_log.py | wraithy/gource-summary | 33f6946f7a19d7b26f9291a72816557dad37882a | [
"MIT"
] | null | null | null | from ..context import remote_gource
def test_log_lines_from_commit():
pass
| 13.5 | 35 | 0.777778 | 12 | 81 | 4.833333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 81 | 5 | 36 | 16.2 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
67fecdd82f36fb69dc13b658463471139dd49b4e | 167 | py | Python | gen3_augur_pyutils/__init__.py | qiongl-CTDS/gen3-augur | c7eb2c5fe6b048924308cf3c91f8a82b3f7bbfd9 | [
"Apache-2.0"
] | null | null | null | gen3_augur_pyutils/__init__.py | qiongl-CTDS/gen3-augur | c7eb2c5fe6b048924308cf3c91f8a82b3f7bbfd9 | [
"Apache-2.0"
] | null | null | null | gen3_augur_pyutils/__init__.py | qiongl-CTDS/gen3-augur | c7eb2c5fe6b048924308cf3c91f8a82b3f7bbfd9 | [
"Apache-2.0"
] | 1 | 2021-09-15T22:28:08.000Z | 2021-09-15T22:28:08.000Z | from __future__ import absolute_import
from gen3_augur_pyutils.subcommands.base import Subcommand
from gen3_augur_pyutils.subcommands.parse_genbank import ParseGenBank | 55.666667 | 69 | 0.91018 | 22 | 167 | 6.454545 | 0.590909 | 0.112676 | 0.183099 | 0.28169 | 0.43662 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.065868 | 167 | 3 | 69 | 55.666667 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
db1251321e57c3c41657fe103d13549f824ee63c | 132,893 | py | Python | mysite/patterns/66.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 19 | 2016-06-17T23:36:27.000Z | 2020-01-13T16:41:55.000Z | mysite/patterns/66.py | BioinfoNet/prepub | e19c48cabf8bd22736dcef9308a5e196cfd8119a | [
"MIT"
] | 13 | 2016-06-06T12:57:05.000Z | 2019-02-05T02:21:00.000Z | patterns/66.py | OmnesRes/GRIMMER | 173c99ebdb6a9edb1242d24a791d0c5d778ff643 | [
"MIT"
] | 7 | 2017-03-28T18:12:22.000Z | 2021-06-16T09:32:59.000Z | pattern_zero=[0.0, 0.01492194674, 0.02938475666, 0.0303030303, 0.04338842975, 0.04522497704, 0.05693296602, 0.05968778696, 0.06060606061, 0.07001836547, 0.07369146006, 0.07552800735, 0.0826446281, 0.08723599633, 0.08999081726, 0.09090909091, 0.0948117539, 0.10032139578, 0.10399449036, 0.10583103765, 0.10651974288, 0.11... | 26,578.6 | 49,485 | 0.790598 | 16,444 | 132,893 | 6.388956 | 0.05242 | 0.002703 | 0.002085 | 0.01759 | 0.996631 | 0.995231 | 0.995231 | 0.993832 | 0.993832 | 0.992909 | 0 | 0.842216 | 0.061824 | 132,893 | 5 | 49,486 | 26,578.6 | 0.000441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
db157b40e778caa58a61bbbc763cf3203e5e521a | 135 | py | Python | loldib/getratings/models/NA/na_zed/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zed/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_zed/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_zed_top import *
from .na_zed_jng import *
from .na_zed_mid import *
from .na_zed_bot import *
from .na_zed_sup import *
| 22.5 | 26 | 0.740741 | 25 | 135 | 3.6 | 0.36 | 0.333333 | 0.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 135 | 5 | 27 | 27 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
e1eaae84cd8026e02e2ecbe43fe3fa29cb8114b6 | 14,785 | py | Python | networks/raw_rnn.py | Fred1991/VAE-GMVAE | b7f123c86172710ac1f329e47e3470cb81ff3493 | [
"Apache-2.0"
] | 193 | 2018-06-08T07:13:24.000Z | 2022-03-05T03:27:42.000Z | networks/raw_rnn.py | Fred1991/VAE-GMVAE | b7f123c86172710ac1f329e47e3470cb81ff3493 | [
"Apache-2.0"
] | 11 | 2019-01-10T10:41:30.000Z | 2021-10-06T07:53:29.000Z | networks/raw_rnn.py | Fred1991/VAE-GMVAE | b7f123c86172710ac1f329e47e3470cb81ff3493 | [
"Apache-2.0"
] | 34 | 2018-10-18T09:13:03.000Z | 2021-11-15T11:31:56.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Sep 13 11:17:53 2018
@author: psanch
"""
import tensorflow as tf
import utils.constants as const
from utils.utils import get1toT
from networks.base_raw_rnn import BaseRawRNN
from networks.dense_net import DenseNet
import utils.utils as utils
class Ra... | 44.399399 | 115 | 0.532296 | 1,796 | 14,785 | 4.101336 | 0.114699 | 0.041542 | 0.035297 | 0.020907 | 0.880396 | 0.872115 | 0.850665 | 0.847271 | 0.841841 | 0.841841 | 0 | 0.010573 | 0.379506 | 14,785 | 333 | 116 | 44.399399 | 0.792348 | 0.054785 | 0 | 0.798969 | 0 | 0 | 0.00948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061856 | false | 0 | 0.030928 | 0.005155 | 0.154639 | 0.051546 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c029fa47119b09a492f81e9ed9688ebd9e63ddd6 | 72,195 | py | Python | tests/test_encode.py | ondiekisteven/pyiso8583 | b90b8b3c0e141baf81ffb658ddc782bad66dde73 | [
"MIT"
] | 11 | 2020-01-08T14:49:24.000Z | 2020-07-30T14:49:29.000Z | tests/test_encode.py | ondiekisteven/pyiso8583 | b90b8b3c0e141baf81ffb658ddc782bad66dde73 | [
"MIT"
] | 2 | 2020-01-08T13:38:27.000Z | 2020-06-15T13:06:00.000Z | tests/test_encode.py | ondiekisteven/pyiso8583 | b90b8b3c0e141baf81ffb658ddc782bad66dde73 | [
"MIT"
] | 3 | 2020-01-16T13:34:28.000Z | 2020-02-01T14:10:31.000Z | import copy
import pickle
import iso8583
import iso8583.specs
import pytest
spec = copy.deepcopy(iso8583.specs.default)
def test_EncodeError_exception():
"""
Validate EncodeError class
"""
spec["h"]["data_enc"] = "ascii"
spec["h"]["len_type"] = 0
spec["h"]["max_len"] = 6
spec["t"]["data_... | 28.345112 | 100 | 0.548722 | 10,699 | 72,195 | 3.544537 | 0.023367 | 0.075627 | 0.095404 | 0.104106 | 0.944677 | 0.936292 | 0.915592 | 0.903278 | 0.894075 | 0.883132 | 0 | 0.087652 | 0.220611 | 72,195 | 2,546 | 101 | 28.356245 | 0.586319 | 0.069839 | 0 | 0.81543 | 0 | 0.012463 | 0.266346 | 0.051921 | 0 | 0 | 0 | 0 | 0.310979 | 1 | 0.052819 | false | 0 | 0.002967 | 0 | 0.055786 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c0364fdae59826dd9265411a636ea51f011bebfa | 116,999 | py | Python | model/layer.py | CIS-group/MolNet | a8e07bf3598b2d48f3f025722ba60e76a53cf54b | [
"MIT"
] | 1 | 2022-03-31T03:32:46.000Z | 2022-03-31T03:32:46.000Z | model/layer.py | CIS-group/MolNet | a8e07bf3598b2d48f3f025722ba60e76a53cf54b | [
"MIT"
] | null | null | null | model/layer.py | CIS-group/MolNet | a8e07bf3598b2d48f3f025722ba60e76a53cf54b | [
"MIT"
] | null | null | null | from keras import initializers, regularizers, activations
from keras.layers import Dense, Add, BatchNormalization, PReLU
#from keras.layers.advanced_activations import LeakyReLU, PReLU
from keras.engine.topology import Layer
from keras import backend as K
import tensorflow as tf
import tensorflow_probability as tfp
i... | 45.542624 | 130 | 0.582227 | 13,574 | 116,999 | 4.753131 | 0.026374 | 0.06922 | 0.039167 | 0.023156 | 0.920814 | 0.899611 | 0.881368 | 0.860785 | 0.849455 | 0.833429 | 0 | 0.015161 | 0.315592 | 116,999 | 2,568 | 131 | 45.560358 | 0.790571 | 0.112061 | 0 | 0.740454 | 0 | 0 | 0.029671 | 0.000929 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074156 | false | 0.002214 | 0.004427 | 0.013282 | 0.141671 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
c0527f3fd42fa888ccd6df43f7e2fc129fcb88b6 | 1,524 | py | Python | matching_code/evaluate_single.py | KunpengLi1994/PsTuts | 2063bf0aac8d3fd13bf5a14b80ce05586b8365f9 | [
"Apache-2.0"
] | 4 | 2020-10-17T15:20:15.000Z | 2021-05-01T02:42:27.000Z | matching_code/evaluate_single.py | jingliang95/PsTuts | 2063bf0aac8d3fd13bf5a14b80ce05586b8365f9 | [
"Apache-2.0"
] | null | null | null | matching_code/evaluate_single.py | jingliang95/PsTuts | 2063bf0aac8d3fd13bf5a14b80ce05586b8365f9 | [
"Apache-2.0"
] | 1 | 2021-11-03T13:58:36.000Z | 2021-11-03T13:58:36.000Z | from vocab import Vocabulary
import evaluation
# import evaluation_vsepp
# evaluation_vsepp.evalrank("runs/save_ori_vse/coco_vse++_combine/model_best.pth.tar", data_path='data/', split="test", fold5=False)
# evaluation.evalrank("runs/coco_vse++_combine_P_S/model_best.pth.tar", data_path='data/', split="test", fold5=... | 46.181818 | 173 | 0.704724 | 230 | 1,524 | 4.434783 | 0.2 | 0.094118 | 0.078431 | 0.109804 | 0.827451 | 0.810784 | 0.810784 | 0.810784 | 0.77451 | 0.678431 | 0 | 0.011519 | 0.088583 | 1,524 | 32 | 174 | 47.625 | 0.722822 | 0.788058 | 0 | 0 | 0 | 0 | 0.307692 | 0.197324 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 7 |
c05d036096a9d4fba40aaaf887e460f901be510d | 4,004 | py | Python | tests/charts-out/test_graphics_charts_barcharts_sampleV4a.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T23:34:55.000Z | 2020-05-21T23:34:55.000Z | tests/charts-out/test_graphics_charts_barcharts_sampleV4a.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | tests/charts-out/test_graphics_charts_barcharts_sampleV4a.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | #Autogenerated by ReportLab guiedit do not edit
from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Rect, Line, String
from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
def __init__(self,width=400,height=200,*args,**kw):
... | 85.191489 | 222 | 0.766733 | 653 | 4,004 | 4.660031 | 0.145482 | 0.03352 | 0.029576 | 0.05258 | 0.8209 | 0.777851 | 0.777851 | 0.777851 | 0.777851 | 0.777851 | 0 | 0.114694 | 0.03971 | 4,004 | 46 | 223 | 87.043478 | 0.676723 | 0.013986 | 0 | 0.166667 | 1 | 0 | 0.035732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.047619 | 0 | 0.095238 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3f6cd9deb0f663b01f4a61eb2c7fef4a8ab0b70f | 33,551 | py | Python | BoManifolds/plot_utils/bo_plots.py | NoemieJaquier/GaBOtorch | 8753ddd0f7de5cc49d68cec88f2ce5e3192f72ca | [
"MIT"
] | 21 | 2020-06-18T20:35:33.000Z | 2022-03-29T16:46:08.000Z | BoManifolds/plot_utils/bo_plots.py | NoemieJaquier/GaBOtorch | 8753ddd0f7de5cc49d68cec88f2ce5e3192f72ca | [
"MIT"
] | null | null | null | BoManifolds/plot_utils/bo_plots.py | NoemieJaquier/GaBOtorch | 8753ddd0f7de5cc49d68cec88f2ce5e3192f72ca | [
"MIT"
] | 3 | 2021-03-30T09:08:57.000Z | 2022-03-24T07:53:21.000Z | import numpy as np
import torch
import matplotlib.pyplot as plt
import matplotlib.pylab as pl
from BoManifolds.Riemannian_utils.utils import rotation_matrix_from_axis_angle
from BoManifolds.plot_utils.manifolds_plots import plot_spd_cone
plt.rcParams['text.usetex'] = True
plt.rcParams['text.latex.preamble'] = r'\use... | 35.998927 | 129 | 0.593723 | 5,689 | 33,551 | 3.346985 | 0.048163 | 0.011974 | 0.009453 | 0.012604 | 0.945644 | 0.932672 | 0.919595 | 0.908723 | 0.895646 | 0.88509 | 0 | 0.042259 | 0.255194 | 33,551 | 931 | 130 | 36.037594 | 0.719597 | 0.255194 | 0 | 0.832589 | 0 | 0 | 0.021659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020089 | false | 0 | 0.013393 | 0.002232 | 0.044643 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
58ad3156ec908bcf8e0fea57fa31ac9c62cec78c | 147 | py | Python | tests/project/tests/test_assert.py | Igorxp5/py-ekstazi | 69a6d1542fd17fae792ca91f7175196df1bab41f | [
"MIT"
] | 4 | 2022-03-25T10:42:16.000Z | 2022-03-31T01:16:06.000Z | tests/project/tests/test_assert.py | Igorxp5/py-ekstazi | 69a6d1542fd17fae792ca91f7175196df1bab41f | [
"MIT"
] | 10 | 2022-03-19T20:00:29.000Z | 2022-03-20T14:32:14.000Z | tests/project/tests/test_assert.py | Igorxp5/pytest-ekstazi | 69a6d1542fd17fae792ca91f7175196df1bab41f | [
"MIT"
] | null | null | null | def test_assert_false():
assert False, 'The assert should fail' # xfail
def test_assert_passed():
assert True, 'The assert should pass'
| 21 | 51 | 0.714286 | 21 | 147 | 4.809524 | 0.52381 | 0.138614 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197279 | 147 | 6 | 52 | 24.5 | 0.855932 | 0.034014 | 0 | 0 | 0 | 0 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
58cc4c28b45bb5d52e7ecc8b4defee22deb50364 | 47 | py | Python | gym_recorder/__init__.py | bryanoliveira/gym-recorder | 54e89e8efc003c15a49722fe3b0443342653af3d | [
"MIT"
] | null | null | null | gym_recorder/__init__.py | bryanoliveira/gym-recorder | 54e89e8efc003c15a49722fe3b0443342653af3d | [
"MIT"
] | null | null | null | gym_recorder/__init__.py | bryanoliveira/gym-recorder | 54e89e8efc003c15a49722fe3b0443342653af3d | [
"MIT"
] | null | null | null | from .wrapper import TransitionRecorderWrapper
| 23.5 | 46 | 0.893617 | 4 | 47 | 10.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 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 | 7 |
4517ea76d7b2b85797c8c931f04d8bc01114f9c3 | 10,858 | py | Python | tests/time_based_scene_switch_test.py | Robert1991/appdaemon | ba346d5b79d24ae7684390e717c1030e317d7600 | [
"Unlicense"
] | null | null | null | tests/time_based_scene_switch_test.py | Robert1991/appdaemon | ba346d5b79d24ae7684390e717c1030e317d7600 | [
"Unlicense"
] | null | null | null | tests/time_based_scene_switch_test.py | Robert1991/appdaemon | ba346d5b79d24ae7684390e717c1030e317d7600 | [
"Unlicense"
] | null | null | null | from apps.lights.time_based_scene_switch import TimeBasedSceneSwitch
from appdaemon.plugins.hass.hassapi import Hass
from appdaemontestframework.hass_mocks import MockHandler
import pytest
from appdaemontestframework import automation_fixture
from datetime import time
import mock
from mock import patch
from m... | 50.268519 | 161 | 0.726929 | 1,448 | 10,858 | 4.967541 | 0.071133 | 0.100931 | 0.028222 | 0.051161 | 0.894898 | 0.883637 | 0.879605 | 0.870986 | 0.8518 | 0.831642 | 0 | 0.007786 | 0.171947 | 10,858 | 215 | 162 | 50.502326 | 0.792237 | 0 | 0 | 0.767196 | 0 | 0 | 0.294842 | 0.256695 | 0 | 0 | 0 | 0 | 0.227513 | 1 | 0.037037 | false | 0.031746 | 0.047619 | 0 | 0.084656 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
189a8143e6eab50513d3340aefaf0e8ccc7a4e3e | 298 | py | Python | src/linearized_nns/from_neural_kernels/__init__.py | maxkvant/LinearizedNNs | eb0198be70ca55e7463b97a5023d2f6ffe0f8ba6 | [
"Apache-2.0"
] | 1 | 2020-06-05T15:26:41.000Z | 2020-06-05T15:26:41.000Z | src/linearized_nns/from_neural_kernels/__init__.py | maxkvant/LinearizedNNs | eb0198be70ca55e7463b97a5023d2f6ffe0f8ba6 | [
"Apache-2.0"
] | null | null | null | src/linearized_nns/from_neural_kernels/__init__.py | maxkvant/LinearizedNNs | eb0198be70ca55e7463b97a5023d2f6ffe0f8ba6 | [
"Apache-2.0"
] | null | null | null | from linearized_nns.from_neural_kernels.custom_tensor_dataset import CustomTensorDataset
from linearized_nns.from_neural_kernels.transforms import Cutout, RandomCrop
from linearized_nns.from_neural_kernels.utils import to_zca
from linearized_nns.from_neural_kernels.cifar_zca import get_cifar_zca
| 49.666667 | 88 | 0.909396 | 43 | 298 | 5.883721 | 0.418605 | 0.221344 | 0.268775 | 0.332016 | 0.537549 | 0.537549 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060403 | 298 | 5 | 89 | 59.6 | 0.903571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
189b5182961b3f4f3204e13381b5f64b8ca3c340 | 113 | py | Python | compliance_checker/cf/__init__.py | duncombe/compliance-checker | 424c762c68c215a4548ff2006716ad5594605ee7 | [
"Apache-2.0"
] | null | null | null | compliance_checker/cf/__init__.py | duncombe/compliance-checker | 424c762c68c215a4548ff2006716ad5594605ee7 | [
"Apache-2.0"
] | null | null | null | compliance_checker/cf/__init__.py | duncombe/compliance-checker | 424c762c68c215a4548ff2006716ad5594605ee7 | [
"Apache-2.0"
] | null | null | null | from compliance_checker.cf.cf import *
from compliance_checker.cf.appendix_d import dimless_vertical_coordinates
| 37.666667 | 73 | 0.884956 | 16 | 113 | 5.9375 | 0.625 | 0.294737 | 0.442105 | 0.484211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 113 | 2 | 74 | 56.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
18d40485dacd6915f927171a665b8e760a20b25c | 42 | py | Python | samples/src/main/resources/datasets/python/19.py | sritchie/kotlingrad | 8165ed1cd77220a5347c58cded4c6f2bcf22ee30 | [
"Apache-2.0"
] | 11 | 2020-12-19T01:19:44.000Z | 2021-12-25T20:43:33.000Z | src/main/resources/datasets/python/19.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | null | null | null | src/main/resources/datasets/python/19.py | breandan/katholic | 081c39f3acc73ff41f5865563debe78a36e1038f | [
"Apache-2.0"
] | 2 | 2021-01-25T07:59:20.000Z | 2021-08-07T07:13:49.000Z | def power2():
return 2 ** 3 ** 4 ** 5
| 14 | 27 | 0.452381 | 7 | 42 | 2.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0.333333 | 42 | 2 | 28 | 21 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
e1594cd56207b55ee16b243286a04ad5590abc98 | 3,806 | py | Python | test/espnet2/enh/separator/test_skim_separator.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 2 | 2022-02-24T09:22:57.000Z | 2022-02-24T09:38:02.000Z | test/espnet2/enh/separator/test_skim_separator.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 2 | 2019-04-23T04:43:33.000Z | 2019-05-13T13:06:52.000Z | test/espnet2/enh/separator/test_skim_separator.py | texpomru13/espnet | 7ef005e832e2fb033f356c16f54e0f08762fb4b0 | [
"Apache-2.0"
] | 1 | 2022-03-18T21:02:16.000Z | 2022-03-18T21:02:16.000Z | import pytest
import torch
from torch import Tensor
from torch_complex import ComplexTensor
from espnet2.enh.separator.skim_separator import SkiMSeparator
@pytest.mark.parametrize("input_dim", [5])
@pytest.mark.parametrize("layer", [1, 3])
@pytest.mark.parametrize("causal", [True, False])
@pytest.mark.parametrize("... | 26.615385 | 77 | 0.616921 | 485 | 3,806 | 4.672165 | 0.179381 | 0.088261 | 0.185349 | 0.038835 | 0.775816 | 0.756399 | 0.747573 | 0.729479 | 0.729479 | 0.714916 | 0 | 0.025871 | 0.238308 | 3,806 | 142 | 78 | 26.802817 | 0.755778 | 0 | 0 | 0.704918 | 0 | 0 | 0.05938 | 0 | 0 | 0 | 0 | 0 | 0.07377 | 1 | 0.032787 | false | 0 | 0.040984 | 0 | 0.07377 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
e1824879fcb47eef4a999fad8a2458151ff76bfc | 1,996 | py | Python | article/migrations/0005_auto_20201229_2100.py | rayenmhamdi/Kye_BackendAPI | a4fa8a345d2678b5bd3a9b74451e9274ca9abad2 | [
"MIT"
] | null | null | null | article/migrations/0005_auto_20201229_2100.py | rayenmhamdi/Kye_BackendAPI | a4fa8a345d2678b5bd3a9b74451e9274ca9abad2 | [
"MIT"
] | null | null | null | article/migrations/0005_auto_20201229_2100.py | rayenmhamdi/Kye_BackendAPI | a4fa8a345d2678b5bd3a9b74451e9274ca9abad2 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2020-12-29 20:00
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('article', '0004_auto_20201229_1544'),
]
operations = [
migrations.AddField(
model_name='category',
... | 31.68254 | 93 | 0.579158 | 196 | 1,996 | 5.72449 | 0.280612 | 0.072193 | 0.122995 | 0.144385 | 0.801248 | 0.801248 | 0.801248 | 0.713012 | 0.623886 | 0.623886 | 0 | 0.026831 | 0.309118 | 1,996 | 62 | 94 | 32.193548 | 0.786802 | 0.022545 | 0 | 0.75 | 1 | 0 | 0.095434 | 0.011801 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.089286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e188e6fc22339f6e21d88524988c075da16b5918 | 387 | py | Python | ESP8266/symbols.py | kz3ko/MAX30102-Pulse_oximetry | cc9d47e85a4755805fe51b780ba6591ff5f80ee8 | [
"MIT"
] | null | null | null | ESP8266/symbols.py | kz3ko/MAX30102-Pulse_oximetry | cc9d47e85a4755805fe51b780ba6591ff5f80ee8 | [
"MIT"
] | null | null | null | ESP8266/symbols.py | kz3ko/MAX30102-Pulse_oximetry | cc9d47e85a4755805fe51b780ba6591ff5f80ee8 | [
"MIT"
] | null | null | null | # Symbol of circle required to show Celsius degree on display.
circle = [
[0, 0, 0, 0, 1, 1, 0, 0],
[0, 0, 0, 1, 0, 0, 1, 0],
[0, 0, 0, 1, 0, 0, 1, 0],
[0, 0, 0, 0, 1, 1, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
... | 35.181818 | 62 | 0.310078 | 75 | 387 | 1.6 | 0.16 | 0.816667 | 1.05 | 1.233333 | 0.533333 | 0.533333 | 0.533333 | 0.533333 | 0.533333 | 0.533333 | 0 | 0.312195 | 0.470284 | 387 | 11 | 63 | 35.181818 | 0.273171 | 0.155039 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
832a9392977dcb5083fd583d6c754fa4f650708e | 2,625 | py | Python | tests/test_year_2005.py | l0pht511/jpholiday | 083145737b61fad3420c066968c4329d17dc3baf | [
"MIT"
] | 179 | 2017-10-05T12:41:10.000Z | 2022-03-24T22:18:25.000Z | tests/test_year_2005.py | l0pht511/jpholiday | 083145737b61fad3420c066968c4329d17dc3baf | [
"MIT"
] | 17 | 2018-10-23T00:51:13.000Z | 2021-11-22T11:40:06.000Z | tests/test_year_2005.py | l0pht511/jpholiday | 083145737b61fad3420c066968c4329d17dc3baf | [
"MIT"
] | 17 | 2018-10-19T11:13:07.000Z | 2022-01-29T08:05:56.000Z | # coding: utf-8
import datetime
import unittest
import jpholiday
class TestYear2005(unittest.TestCase):
def test_holiday(self):
"""
2005年祝日
"""
self.assertEqual(jpholiday.is_holiday_name(datetime.date(2005, 1, 1)), '元日')
self.assertEqual(jpholiday.is_holiday_name(datetime.... | 50.480769 | 92 | 0.681143 | 339 | 2,625 | 5.126844 | 0.182891 | 0.250288 | 0.220944 | 0.239356 | 0.804948 | 0.804948 | 0.804948 | 0.754315 | 0.495397 | 0.342923 | 0 | 0.096092 | 0.171429 | 2,625 | 51 | 93 | 51.470588 | 0.702989 | 0.015619 | 0 | 0 | 0 | 0 | 0.029833 | 0 | 0 | 0 | 0 | 0 | 0.805556 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
83366136cebcaab620c811056bd9c24a3c4d8fc7 | 135 | py | Python | tests/test_bibtex_import.py | rycolab/academic-admin | 9a3afb3fe5e085b5c74b235e3ef2db4f52606d0c | [
"MIT"
] | null | null | null | tests/test_bibtex_import.py | rycolab/academic-admin | 9a3afb3fe5e085b5c74b235e3ef2db4f52606d0c | [
"MIT"
] | null | null | null | tests/test_bibtex_import.py | rycolab/academic-admin | 9a3afb3fe5e085b5c74b235e3ef2db4f52606d0c | [
"MIT"
] | null | null | null | from academic import cli
def test_bibtex_import():
cli.parse_args(["import", "--dry-run", "--bibtex", "tests/data/article.bib"])
| 22.5 | 81 | 0.681481 | 19 | 135 | 4.684211 | 0.789474 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 5 | 82 | 27 | 0.747899 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.162963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 1 | 0 | 1.333333 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
834492c43890d0b5100f8eaa0dfe0f124e7aca5c | 11,898 | py | Python | Building/tests/test_building_app_view.py | LukaszHoszowski/Django_ProEstate | 36c5cc25842f4e5afebd9ff6eaa83c9457fb7a3a | [
"MIT"
] | 1 | 2022-02-15T13:36:29.000Z | 2022-02-15T13:36:29.000Z | Building/tests/test_building_app_view.py | LukaszHoszowski/Django_ProEstate | 36c5cc25842f4e5afebd9ff6eaa83c9457fb7a3a | [
"MIT"
] | null | null | null | Building/tests/test_building_app_view.py | LukaszHoszowski/Django_ProEstate | 36c5cc25842f4e5afebd9ff6eaa83c9457fb7a3a | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.urls import reverse
from Building.models import Building, Cartography, HousingCooperative, Flat
def test_view_buildings_user_logged(user_A: User, app_building_factory: Building, payment_period_helper, client):
client.force_login(user_A)
payment_period_h... | 35.516418 | 120 | 0.703059 | 1,465 | 11,898 | 5.380205 | 0.056655 | 0.07257 | 0.118752 | 0.085765 | 0.966379 | 0.959528 | 0.94608 | 0.941512 | 0.932124 | 0.932124 | 0 | 0.013944 | 0.210371 | 11,898 | 335 | 121 | 35.516418 | 0.825013 | 0 | 0 | 0.779736 | 0 | 0 | 0.074292 | 0.047567 | 0 | 0 | 0 | 0 | 0.229075 | 1 | 0.114537 | false | 0 | 0.013216 | 0 | 0.127753 | 0.004405 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
55cb18582abfbd9bfcd0aef7b758dae40e2ee2aa | 63,214 | py | Python | sim21/unitop/Compressor.py | kpatvt/sim21 | 4cbbfcbef6371d3dc5404429545e003a48c69ba5 | [
"Artistic-2.0"
] | 7 | 2021-08-23T18:46:27.000Z | 2022-01-26T07:10:22.000Z | sim21/unitop/Compressor.py | kpatvt/sim21 | 4cbbfcbef6371d3dc5404429545e003a48c69ba5 | [
"Artistic-2.0"
] | null | null | null | sim21/unitop/Compressor.py | kpatvt/sim21 | 4cbbfcbef6371d3dc5404429545e003a48c69ba5 | [
"Artistic-2.0"
] | null | null | null | """Models for compression/expansion equipment
Classes:
IdealCompressorExpander -- an isentropic compressor expander base class
IdealCompressor - an isentropic compressor
IdealExpander - an isentropic expander
Compressor - compressor with adiabatic efficiency
Expander - expander with adiabatic efficiency
"""
# PRESSU... | 41.974768 | 119 | 0.616841 | 6,991 | 63,214 | 5.460878 | 0.071664 | 0.010451 | 0.020117 | 0.008487 | 0.8656 | 0.857977 | 0.843021 | 0.835136 | 0.826335 | 0.822197 | 0 | 0.013072 | 0.283561 | 63,214 | 1,505 | 120 | 42.002658 | 0.829892 | 0.1257 | 0 | 0.809254 | 0 | 0 | 0.035744 | 0.004083 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044381 | false | 0.002833 | 0.004721 | 0 | 0.107649 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3d0e693fe4919ef15511a56808f6101c231b1c92 | 4,129 | py | Python | main/configuration/local_config.py | anderswodenker/sams-app | d9ab3474a5b1f009afe803d14484c000059b61c3 | [
"MIT"
] | null | null | null | main/configuration/local_config.py | anderswodenker/sams-app | d9ab3474a5b1f009afe803d14484c000059b61c3 | [
"MIT"
] | 1 | 2020-12-10T14:40:57.000Z | 2020-12-10T14:40:57.000Z | main/configuration/local_config.py | anderswodenker/sams-app | d9ab3474a5b1f009afe803d14484c000059b61c3 | [
"MIT"
] | null | null | null | import configparser
import mapping
class LocalConfig:
def __init__(self):
self.path = mapping.app_config
self.config = configparser.ConfigParser()
self.config.read(self.path)
self.config.sections()
# DEFAULT
self.start = self.config['DEFAULT'].getboolean('start')
... | 42.56701 | 102 | 0.624849 | 460 | 4,129 | 5.430435 | 0.147826 | 0.204163 | 0.176942 | 0.216173 | 0.806645 | 0.775821 | 0.775821 | 0.751001 | 0.751001 | 0.751001 | 0 | 0.012901 | 0.230322 | 4,129 | 96 | 103 | 43.010417 | 0.773128 | 0.017195 | 0 | 0.714286 | 0 | 0 | 0.173956 | 0.011366 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.014286 | 0.028571 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 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 | 9 |
3d1b7e34fed30d5695a548e3857c3cee807348ee | 693 | py | Python | templates/includes/css.py | angeal185/python-website-created-with-flask-and-jinja | 5a7c62941d5456e5c87c137fb58d06fc1ff10bcc | [
"MIT"
] | null | null | null | templates/includes/css.py | angeal185/python-website-created-with-flask-and-jinja | 5a7c62941d5456e5c87c137fb58d06fc1ff10bcc | [
"MIT"
] | null | null | null | templates/includes/css.py | angeal185/python-website-created-with-flask-and-jinja | 5a7c62941d5456e5c87c137fb58d06fc1ff10bcc | [
"MIT"
] | null | null | null | <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.css" rel="stylesheet" type="text/css" media="screen">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7... | 99 | 136 | 0.734488 | 113 | 693 | 4.504425 | 0.309735 | 0.094303 | 0.188605 | 0.235756 | 0.715128 | 0.715128 | 0.475442 | 0.475442 | 0.475442 | 0.400786 | 0 | 0.022727 | 0.047619 | 693 | 6 | 137 | 115.5 | 0.748485 | 0 | 0 | 0 | 0 | 0.833333 | 0.724891 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1856fc0bc3cfa683b67a70c98d3bc8888c2385e3 | 439 | py | Python | tracking/__init__.py | sherna90/object-tracking | f60703dfa674601c575c26fc23c278dfc4f855f1 | [
"Apache-2.0"
] | 2 | 2021-05-07T01:00:59.000Z | 2021-05-10T19:53:02.000Z | tracking/__init__.py | sherna90/object-tracking | f60703dfa674601c575c26fc23c278dfc4f855f1 | [
"Apache-2.0"
] | null | null | null | tracking/__init__.py | sherna90/object-tracking | f60703dfa674601c575c26fc23c278dfc4f855f1 | [
"Apache-2.0"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'utils'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'models'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'features'))
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'detectors'))
sys.path.insert... | 54.875 | 72 | 0.733485 | 76 | 439 | 3.921053 | 0.197368 | 0.241611 | 0.261745 | 0.281879 | 0.825503 | 0.825503 | 0.825503 | 0.825503 | 0.825503 | 0.825503 | 0 | 0.014354 | 0.047836 | 439 | 8 | 73 | 54.875 | 0.698565 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
186775bda205c8f0c2c56daee2df8278616a4bde | 85 | py | Python | locomotion_analysis/src/workbench.py | sciple/neurobau | b54e24ad0f717b7506cc948876cba47f6768318c | [
"MIT"
] | 2 | 2020-05-29T02:14:40.000Z | 2020-11-20T18:06:42.000Z | locomotion_analysis/src/workbench.py | sciple/neurobau | b54e24ad0f717b7506cc948876cba47f6768318c | [
"MIT"
] | null | null | null | locomotion_analysis/src/workbench.py | sciple/neurobau | b54e24ad0f717b7506cc948876cba47f6768318c | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
def mister():
return 12,3
| 9.444444 | 19 | 0.576471 | 13 | 85 | 3.769231 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.376471 | 85 | 8 | 20 | 10.625 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
43e523dd06316c3fd9845cd29054d7bf317df47d | 12,328 | py | Python | tests/kbcr/models/test_models.py | moonbzyx/ctp | e5f663352124ac8033912c5867cc5ac2cecbb662 | [
"MIT"
] | 1 | 2020-09-23T11:53:50.000Z | 2020-09-23T11:53:50.000Z | tests/kbcr/models/test_models.py | moonbzyx/ctp | e5f663352124ac8033912c5867cc5ac2cecbb662 | [
"MIT"
] | null | null | null | tests/kbcr/models/test_models.py | moonbzyx/ctp | e5f663352124ac8033912c5867cc5ac2cecbb662 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
import torch
from torch import nn
from kbcr.kernels import GaussianKernel
from kbcr.models import DistMult, ComplEx, NeuralKB
from kbcr.models.reasoning import SimpleHoppy, RecursiveHoppy, Hoppy
from kbcr.reformulators import LinearReformulator, AttentiveReformulator
impor... | 38.167183 | 112 | 0.535529 | 1,473 | 12,328 | 4.24372 | 0.082824 | 0.084466 | 0.047032 | 0.038394 | 0.838906 | 0.81075 | 0.81075 | 0.782435 | 0.771557 | 0.771557 | 0 | 0.027226 | 0.362427 | 12,328 | 322 | 113 | 38.285714 | 0.768066 | 0.001703 | 0 | 0.727273 | 0 | 0 | 0.002357 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.025974 | false | 0 | 0.034632 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
a1260ce55b0c0ce222a19265e28784a27620f498 | 168,230 | py | Python | gitea_client/api/organization_api.py | kedros-as/gitea_client | 1d2979bed356f172a843c05b305423cf084f7f56 | [
"BSD-3-Clause"
] | null | null | null | gitea_client/api/organization_api.py | kedros-as/gitea_client | 1d2979bed356f172a843c05b305423cf084f7f56 | [
"BSD-3-Clause"
] | null | null | null | gitea_client/api/organization_api.py | kedros-as/gitea_client | 1d2979bed356f172a843c05b305423cf084f7f56 | [
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
"""
Gitea API.
This documentation describes the Gitea API. # noqa: E501
OpenAPI spec version: 1.1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility libra... | 40.121631 | 130 | 0.597914 | 19,620 | 168,230 | 4.901376 | 0.011315 | 0.051744 | 0.023293 | 0.029949 | 0.991057 | 0.989216 | 0.987854 | 0.985047 | 0.982405 | 0.980627 | 0 | 0.016709 | 0.304161 | 168,230 | 4,192 | 131 | 40.131202 | 0.804786 | 0.309172 | 0 | 0.843441 | 1 | 0 | 0.200193 | 0.044301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034839 | false | 0 | 0.00172 | 0 | 0.088602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a18e005bab43dc37cab0238f8769f69d1bec51e1 | 152 | py | Python | pycor/std/korstandard.py | ontolog-so/pycor | 25820c1e48c3cad279baea87bc0c21bf508f99b5 | [
"BSD-3-Clause"
] | 2 | 2018-08-25T16:18:52.000Z | 2022-01-09T12:40:13.000Z | pycor/std/korstandard.py | ontolog-so/pycor | 25820c1e48c3cad279baea87bc0c21bf508f99b5 | [
"BSD-3-Clause"
] | null | null | null | pycor/std/korstandard.py | ontolog-so/pycor | 25820c1e48c3cad279baea87bc0c21bf508f99b5 | [
"BSD-3-Clause"
] | null | null | null | import pycor.std.aux
import pycor.std.suffix
import pycor.std.stem
import pycor.std.single
import pycor.std.irregular
import pycor.std.collocation | 25.333333 | 29 | 0.809211 | 24 | 152 | 5.125 | 0.375 | 0.536585 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111842 | 152 | 6 | 29 | 25.333333 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 | 7 |
a1f87f39c5940b66c5e23929d802860e8b14c592 | 35,400 | py | Python | test_autoarray/unit/operators/inversion/test_integration.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | test_autoarray/unit/operators/inversion/test_integration.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | test_autoarray/unit/operators/inversion/test_integration.py | Sketos/PyAutoArray | 72dc7e8d1c38786915f82a7e7284239e5ce87624 | [
"MIT"
] | null | null | null | import autoarray as aa
from autoarray.structures import grids
from autoarray.operators.inversion import mappers
import numpy as np
import pytest
class TestRectangular:
def test__5_simple_grid__no_sub_grid(self):
mask = np.array(
[
[True, True, True, True, True, True, True],
... | 37.381204 | 114 | 0.476977 | 5,080 | 35,400 | 3.202756 | 0.030512 | 0.1689 | 0.2126 | 0.231838 | 0.962446 | 0.958082 | 0.955132 | 0.955132 | 0.955132 | 0.946835 | 0 | 0.135924 | 0.36613 | 35,400 | 946 | 115 | 37.420719 | 0.589153 | 0.027401 | 0 | 0.742894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 1 | 0.01292 | false | 0 | 0.00646 | 0 | 0.021964 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 9 |
62a2d17d8ebbbc0719b7150cacb04e45e8a4f712 | 26,047 | py | Python | sfx.py | pandabottle/DiscordMusicBotLearn | efdced3b51eda7aec109f2cd99ae81a7fd987cca | [
"MIT"
] | null | null | null | sfx.py | pandabottle/DiscordMusicBotLearn | efdced3b51eda7aec109f2cd99ae81a7fd987cca | [
"MIT"
] | null | null | null | sfx.py | pandabottle/DiscordMusicBotLearn | efdced3b51eda7aec109f2cd99ae81a7fd987cca | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
import youtube_dl
class Sfx(commands.Cog):
def __init__(self,client):
self.client = client
@commands.command(name='boom',help='vine boom sfx')
async def boom(self,ctx):
voice_channel = ctx.author.voice.channel
voice = ctx.voice_cl... | 42.560458 | 132 | 0.57116 | 3,128 | 26,047 | 4.628197 | 0.054348 | 0.087035 | 0.072529 | 0.041445 | 0.944533 | 0.944533 | 0.944533 | 0.944533 | 0.944533 | 0.944533 | 0 | 0.009633 | 0.326487 | 26,047 | 612 | 133 | 42.560458 | 0.815596 | 0.083503 | 0 | 0.866828 | 0 | 0 | 0.156389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004843 | false | 0 | 0.007264 | 0 | 0.014528 | 0.03632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
62b331c18f3220e201897945d67aaa513bf4c549 | 5,632 | py | Python | dataset_readers/lstm_cws.py | EuphoriaYan/ICCRE | 0f5a969a0ab195161d1995540a7464d14836ed99 | [
"MIT"
] | 2 | 2020-07-03T12:22:33.000Z | 2020-08-03T12:37:35.000Z | dataset_readers/lstm_cws.py | EuphoriaYan/ICCRE | 0f5a969a0ab195161d1995540a7464d14836ed99 | [
"MIT"
] | null | null | null | dataset_readers/lstm_cws.py | EuphoriaYan/ICCRE | 0f5a969a0ab195161d1995540a7464d14836ed99 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
root_path = "/".join(os.path.realpath(__file__).split("/")[:-2])
if root_path not in sys.path:
sys.path.insert(0, root_path)
class SequentialSampler(object):
pass
from torch.utils.data import TensorDataset, DataLoader, RandomSampler, Seq... | 32.744186 | 104 | 0.612571 | 749 | 5,632 | 4.400534 | 0.169559 | 0.101942 | 0.087379 | 0.069175 | 0.731796 | 0.731796 | 0.731796 | 0.723604 | 0.723604 | 0.723604 | 0 | 0.003837 | 0.259588 | 5,632 | 172 | 105 | 32.744186 | 0.786571 | 0.091619 | 0 | 0.621622 | 0 | 0 | 0.065908 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.189189 | false | 0.009009 | 0.099099 | 0.144144 | 0.522523 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
62c7b7508988541963434cee549c267c2dd4c512 | 569 | py | Python | autoPyTorch/utils/metalearning/pipeline/__init__.py | urbanmatthias/Auto-PyTorch | fe7c51b33c48041e405ef2975ee691c0539691ab | [
"BSD-3-Clause"
] | null | null | null | autoPyTorch/utils/metalearning/pipeline/__init__.py | urbanmatthias/Auto-PyTorch | fe7c51b33c48041e405ef2975ee691c0539691ab | [
"BSD-3-Clause"
] | null | null | null | autoPyTorch/utils/metalearning/pipeline/__init__.py | urbanmatthias/Auto-PyTorch | fe7c51b33c48041e405ef2975ee691c0539691ab | [
"BSD-3-Clause"
] | null | null | null | from autoPyTorch.utils.metalearning.pipeline.meta_learning_settings import MetaLearningSettings
from autoPyTorch.utils.metalearning.pipeline.collect import Collect
from autoPyTorch.utils.metalearning.pipeline.meta_learning_fit import MetaLearningFit
from autoPyTorch.utils.metalearning.pipeline.for_run import ForRun
fro... | 81.285714 | 95 | 0.903339 | 66 | 569 | 7.636364 | 0.348485 | 0.208333 | 0.277778 | 0.444444 | 0.621032 | 0.462302 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0.047452 | 569 | 7 | 96 | 81.285714 | 0.929889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
62d71c93842ea3461f07d98f49ca7d64c6ebd55a | 2,040 | py | Python | truss/em514_problem08.py | rgrandin/MechanicsTools | d492b60fb6aec7ccb2de94f08dbc86928baefda9 | [
"BSD-3-Clause"
] | 1 | 2021-03-15T21:26:12.000Z | 2021-03-15T21:26:12.000Z | truss/em514_problem08.py | rgrandin/MechanicsTools | d492b60fb6aec7ccb2de94f08dbc86928baefda9 | [
"BSD-3-Clause"
] | null | null | null | truss/em514_problem08.py | rgrandin/MechanicsTools | d492b60fb6aec7ccb2de94f08dbc86928baefda9 | [
"BSD-3-Clause"
] | 1 | 2020-11-26T09:44:45.000Z | 2020-11-26T09:44:45.000Z | # Generate input data for EM 514, Homework Problem 8
def DefineInputs():
area = 200.0e-6
nodes = [{'x': 0.0e0, 'y': 0.0e0, 'z': 0.0e0, 'xflag': 'd', 'xbcval': 0.0, 'yflag': 'd', 'ybcval': 0.0e0, 'zflag': 'd', 'zbcval': 0.0e0}]
nodes.append({'x': 3.0e0, 'y': 0.0e0, 'z': 0.0e0, 'xflag': 'f', 'xb... | 92.727273 | 150 | 0.534314 | 343 | 2,040 | 3.125364 | 0.148688 | 0.074627 | 0.058769 | 0.067164 | 0.890858 | 0.890858 | 0.890858 | 0.890858 | 0.874067 | 0.842351 | 0 | 0.145723 | 0.169118 | 2,040 | 22 | 151 | 92.727273 | 0.486726 | 0.02451 | 0 | 0 | 1 | 0 | 0.253394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c50a6e5b8690a0db241748ff5e6c2841034ad809 | 20,111 | py | Python | WikiPricesPB/WikiDailyOHLCV_pb2.py | d0xc/TFRecordSharp | 0d1d9ffab21a289f8c7954d6a4f38fa569503672 | [
"MIT"
] | null | null | null | WikiPricesPB/WikiDailyOHLCV_pb2.py | d0xc/TFRecordSharp | 0d1d9ffab21a289f8c7954d6a4f38fa569503672 | [
"MIT"
] | null | null | null | WikiPricesPB/WikiDailyOHLCV_pb2.py | d0xc/TFRecordSharp | 0d1d9ffab21a289f8c7954d6a4f38fa569503672 | [
"MIT"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: WikiDailyOHLCV.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as... | 47.769596 | 1,849 | 0.728954 | 2,668 | 20,111 | 5.277736 | 0.073838 | 0.07329 | 0.041545 | 0.054329 | 0.854769 | 0.757546 | 0.712449 | 0.700518 | 0.689014 | 0.689014 | 0 | 0.061583 | 0.139277 | 20,111 | 420 | 1,850 | 47.883333 | 0.751878 | 0.01795 | 0 | 0.681934 | 1 | 0.002545 | 0.203779 | 0.176071 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015267 | 0 | 0.015267 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c550fb51f298479b7c8b7639412d5fd3a185ccab | 3,958 | py | Python | packages/augur-core/tests/trading/test_orderbook_ordering.py | autun12/augur | 71ec78e09c1bba3ef15a9f90336edc78c76b5c9e | [
"MIT"
] | null | null | null | packages/augur-core/tests/trading/test_orderbook_ordering.py | autun12/augur | 71ec78e09c1bba3ef15a9f90336edc78c76b5c9e | [
"MIT"
] | null | null | null | packages/augur-core/tests/trading/test_orderbook_ordering.py | autun12/augur | 71ec78e09c1bba3ef15a9f90336edc78c76b5c9e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from ethereum.tools import tester
from ethereum.tools.tester import TransactionFailed
from utils import longTo32Bytes, longToHexString, bytesToHexString, fix, AssertLog, stringToBytes, EtherDelta, PrintGasUsed
from constants import ASK, BID, YES, NO
from pytest import raises, fixture, mark
from p... | 70.678571 | 178 | 0.752653 | 433 | 3,958 | 6.856813 | 0.166282 | 0.1226 | 0.104412 | 0.114517 | 0.817784 | 0.805995 | 0.781745 | 0.781745 | 0.781745 | 0.781745 | 0 | 0.0697 | 0.122789 | 3,958 | 55 | 179 | 71.963636 | 0.785426 | 0.00859 | 0 | 0.666667 | 0 | 0 | 0.022438 | 0 | 0 | 0 | 0 | 0 | 0.479167 | 1 | 0.041667 | false | 0 | 0.125 | 0 | 0.166667 | 0.020833 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c568ed6d416c3cd7b7b14e11a94bbd58f50cb179 | 180 | py | Python | automate_the_boring_stuff/cap_10_assertion.py | juarezhenriquelisboa/Python | 5c5498b33e7cba4e3bfa322a6a76bed74b68e6bf | [
"MIT"
] | 1 | 2021-01-01T14:46:28.000Z | 2021-01-01T14:46:28.000Z | automate_the_boring_stuff/cap_10_assertion.py | juarezhenriquelisboa/Python | 5c5498b33e7cba4e3bfa322a6a76bed74b68e6bf | [
"MIT"
] | null | null | null | automate_the_boring_stuff/cap_10_assertion.py | juarezhenriquelisboa/Python | 5c5498b33e7cba4e3bfa322a6a76bed74b68e6bf | [
"MIT"
] | null | null | null | door_status = 'open'
assert door_status == 'open', 'The pod bay doors need to be "open".'
door_status = 'close'
assert door_status == 'open', 'The pod bay doors need to be "open".' | 45 | 68 | 0.694444 | 30 | 180 | 4.033333 | 0.4 | 0.330579 | 0.347107 | 0.330579 | 0.760331 | 0.760331 | 0.760331 | 0.760331 | 0.760331 | 0.760331 | 0 | 0 | 0.161111 | 180 | 4 | 69 | 45 | 0.801325 | 0 | 0 | 0.5 | 0 | 0 | 0.491713 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3d7cd8b382b84e5a001067ce590624c33dc1724c | 1,573 | py | Python | data-mining/use-multi-gpu.py | RoderickLi/python-snippet | 7cc672c455a768864cf38d6bbebdf8337b9c510c | [
"MIT"
] | 6 | 2019-11-06T02:11:43.000Z | 2021-03-21T02:48:10.000Z | data-mining/use-multi-gpu.py | RoderickLi/python-snippet | 7cc672c455a768864cf38d6bbebdf8337b9c510c | [
"MIT"
] | null | null | null | data-mining/use-multi-gpu.py | RoderickLi/python-snippet | 7cc672c455a768864cf38d6bbebdf8337b9c510c | [
"MIT"
] | 2 | 2019-11-06T02:11:44.000Z | 2019-11-06T02:46:00.000Z | from keras.utils import multi_gpu_model
#
pretrain_filepath = "regession-pretrain-{epoch:02d}-{val_loss:.2f}.hdf5"
from keras.callbacks import Callback
class mutiGPUSaver(Callback):
def __init__(self, model):
self.model_to_save = model
def on_epoch_end(self,epoch,logs=None):
self.model_to_save... | 32.770833 | 96 | 0.774317 | 238 | 1,573 | 4.747899 | 0.310924 | 0.079646 | 0.123894 | 0.053097 | 0.80531 | 0.80531 | 0.711504 | 0.711504 | 0.711504 | 0.711504 | 0 | 0.012257 | 0.118245 | 1,573 | 47 | 97 | 33.468085 | 0.802451 | 0.047044 | 0 | 0.702703 | 0 | 0 | 0.088353 | 0.066934 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0 | 0.081081 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
3dd8b20203d559c367b45c7a188c4305f2393027 | 6,258 | py | Python | TaglifeRest/TagLifeApp/migrations/0001_initial.py | furkankav/TagLife | 1f4325220209940a70e3847846ef2d05cffcb42a | [
"Apache-2.0"
] | null | null | null | TaglifeRest/TagLifeApp/migrations/0001_initial.py | furkankav/TagLife | 1f4325220209940a70e3847846ef2d05cffcb42a | [
"Apache-2.0"
] | null | null | null | TaglifeRest/TagLifeApp/migrations/0001_initial.py | furkankav/TagLife | 1f4325220209940a70e3847846ef2d05cffcb42a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-12-03 17:21
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migratio... | 47.409091 | 143 | 0.600671 | 629 | 6,258 | 5.786963 | 0.151033 | 0.035165 | 0.092308 | 0.10989 | 0.817308 | 0.811538 | 0.789011 | 0.777473 | 0.751099 | 0.692857 | 0 | 0.006941 | 0.263343 | 6,258 | 131 | 144 | 47.770992 | 0.782646 | 0.010866 | 0 | 0.674797 | 1 | 0 | 0.109746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03252 | 0 | 0.065041 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9a7eb61f5425febc22bdda6e6459cb347fba0329 | 120 | py | Python | fatgraph_v.1.0/cal_fatgraph/__init__.py | HaruNegami/Fatgraph_v.1.0 | af640c4ea44bdb3ca17cbb7158c2daf7dae979f8 | [
"MIT"
] | null | null | null | fatgraph_v.1.0/cal_fatgraph/__init__.py | HaruNegami/Fatgraph_v.1.0 | af640c4ea44bdb3ca17cbb7158c2daf7dae979f8 | [
"MIT"
] | null | null | null | fatgraph_v.1.0/cal_fatgraph/__init__.py | HaruNegami/Fatgraph_v.1.0 | af640c4ea44bdb3ca17cbb7158c2daf7dae979f8 | [
"MIT"
] | null | null | null | # coding: utf-8
from . import track_boundary
from . import hydrogen
from . import judge
from . import generate_fatgraph | 20 | 31 | 0.783333 | 17 | 120 | 5.411765 | 0.647059 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.158333 | 120 | 6 | 31 | 20 | 0.90099 | 0.108333 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9aa88c213142e8c43a3d2e750861d73f5f7ec63b | 4,322 | py | Python | lib/transform_pos.py | liuruoze/HierNet-SC2 | 7abfde0088e90416f11922d67c0f09659c7ecf81 | [
"Apache-2.0"
] | 2 | 2022-02-28T08:39:43.000Z | 2022-03-03T02:28:23.000Z | lib/transform_pos.py | liuruoze/HierNet-SC2 | 7abfde0088e90416f11922d67c0f09659c7ecf81 | [
"Apache-2.0"
] | null | null | null | lib/transform_pos.py | liuruoze/HierNet-SC2 | 7abfde0088e90416f11922d67c0f09659c7ecf81 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from pysc2.lib import point
from pysc2.lib import transform
class Pos(object):
def __init__(self, x=0, y=0):
self.x = x
self.y = y
def world_to_screen_pos(game_info, pos, obs):
"""
:param game_info: env.game_info
:param pos: target_world_space_pos
:param obs: ob... | 39.651376 | 97 | 0.732763 | 639 | 4,322 | 4.580595 | 0.120501 | 0.055005 | 0.066621 | 0.06013 | 0.875641 | 0.846259 | 0.838743 | 0.838743 | 0.822685 | 0.822685 | 0 | 0.008105 | 0.172143 | 4,322 | 108 | 98 | 40.018519 | 0.80995 | 0.083063 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.041667 | 0 | 0.152778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9ad15f0d47bed6a2faf16dbd67820df238d9a698 | 6,888 | py | Python | Showers/Main.py | aneeshverenkar/HackCU | 3a639a7ad77b34952731da125050e7bfaf590922 | [
"BSD-2-Clause"
] | null | null | null | Showers/Main.py | aneeshverenkar/HackCU | 3a639a7ad77b34952731da125050e7bfaf590922 | [
"BSD-2-Clause"
] | null | null | null | Showers/Main.py | aneeshverenkar/HackCU | 3a639a7ad77b34952731da125050e7bfaf590922 | [
"BSD-2-Clause"
] | null | null | null | <<<<<<< HEAD
import pprint
import sys
import spotipy
import requests
from spotipy.oauth2 import SpotifyClientCredentials
import spotipy.util as util
import simplejson as json
def play():
r = requests.put('https://api.spotify.com/v1/me/player/play', headers={'Authorization': temp})
def next_song():
r = requests... | 43.872611 | 150 | 0.630517 | 786 | 6,888 | 5.418575 | 0.150127 | 0.04649 | 0.070439 | 0.084527 | 0.817563 | 0.803005 | 0.803005 | 0.803005 | 0.803005 | 0.787039 | 0 | 0.057185 | 0.212979 | 6,888 | 156 | 151 | 44.153846 | 0.728463 | 0.010453 | 0 | 0.671329 | 0 | 0 | 0.333036 | 0.06491 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.097902 | null | null | 0.055944 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9ae0fa88a60b77cb87dd5d461bd8336ac4c2dab8 | 540,978 | py | Python | elements_sdk/api/main_api.py | elements-storage/elements-sdk-python | 39c365fe079dcd5928c5fe1bbaa67389bd5a3d81 | [
"MIT"
] | 6 | 2020-11-16T23:15:18.000Z | 2022-03-14T03:56:12.000Z | elements_sdk/api/main_api.py | elements-storage/elements-sdk-python | 39c365fe079dcd5928c5fe1bbaa67389bd5a3d81 | [
"MIT"
] | 1 | 2021-07-28T13:03:49.000Z | 2021-08-25T12:24:01.000Z | elements_sdk/api/main_api.py | elements-storage/elements-sdk-python | 39c365fe079dcd5928c5fe1bbaa67389bd5a3d81 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
ELEMENTS API
The version of the OpenAPI document: 2
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from elements_sdk.api_client import ApiClient
from elements_... | 47.747396 | 178 | 0.604071 | 60,179 | 540,978 | 5.171422 | 0.005966 | 0.04424 | 0.061405 | 0.029787 | 0.987089 | 0.983779 | 0.978066 | 0.972257 | 0.964159 | 0.955133 | 0 | 0.014913 | 0.320854 | 540,978 | 11,329 | 179 | 47.751611 | 0.832143 | 0.469522 | 0 | 0.814734 | 1 | 0 | 0.178002 | 0.056471 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041104 | false | 0.005759 | 0.000993 | 0 | 0.083201 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9ae2bd30ba6041d000e60587f30ef9d966dbf9ae | 218 | py | Python | uninstall.py | f00kthisc0de/TermFun | b33b49d3ab19b1ae8877eba1c44b3a802420414d | [
"Apache-2.0"
] | 1 | 2021-12-06T02:48:24.000Z | 2021-12-06T02:48:24.000Z | uninstall.py | f00kthisc0de/TermFun | b33b49d3ab19b1ae8877eba1c44b3a802420414d | [
"Apache-2.0"
] | 1 | 2021-02-13T11:57:51.000Z | 2021-02-13T13:07:07.000Z | uninstall.py | f00kthisc0de/TermFun | b33b49d3ab19b1ae8877eba1c44b3a802420414d | [
"Apache-2.0"
] | null | null | null | #!/data/data/com.termux/files/usr/bin/python3
from os import system as command
command("cd ..; rm -rf TermFun; rm /data/data/com.termux/files/usr/bin/TermFun; rm /data/data/com.termux/files/usr/bin/TermFunListener")
| 36.333333 | 136 | 0.752294 | 37 | 218 | 4.432432 | 0.486486 | 0.146341 | 0.20122 | 0.310976 | 0.621951 | 0.621951 | 0.621951 | 0.45122 | 0.45122 | 0 | 0 | 0.005 | 0.082569 | 218 | 5 | 137 | 43.6 | 0.815 | 0.201835 | 0 | 0 | 0 | 0.5 | 0.722543 | 0.549133 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
b1867900667d955371048f4014d7f97a57531675 | 10,557 | py | Python | integration/core/test_replica.py | MalibuKoKo/longhorn-engine | b31b3f177ebaadb222f733073ca6015ad01ae3ef | [
"Apache-2.0"
] | null | null | null | integration/core/test_replica.py | MalibuKoKo/longhorn-engine | b31b3f177ebaadb222f733073ca6015ad01ae3ef | [
"Apache-2.0"
] | null | null | null | integration/core/test_replica.py | MalibuKoKo/longhorn-engine | b31b3f177ebaadb222f733073ca6015ad01ae3ef | [
"Apache-2.0"
] | null | null | null | import time
import random
import datetime
import grpc
import pytest
from common import ( # NOQA
grpc_replica_client as grpc_client, # NOQA
SIZE_STR,
)
@pytest.fixture
def random_str():
return 'random-{0}-{1}'.format(random_num(), int(time.time()))
def random_num():
return random.randint(0, 100000... | 31.607784 | 68 | 0.655489 | 1,515 | 10,557 | 4.446205 | 0.058086 | 0.149644 | 0.10095 | 0.071259 | 0.932898 | 0.925624 | 0.912708 | 0.87307 | 0.837144 | 0.832987 | 0 | 0.046677 | 0.200436 | 10,557 | 333 | 69 | 31.702703 | 0.751333 | 0.006631 | 0 | 0.798507 | 0 | 0 | 0.183901 | 0 | 0 | 0 | 0 | 0 | 0.641791 | 1 | 0.044776 | false | 0 | 0.022388 | 0.007463 | 0.074627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4917427fad711632c53178993c009fd6d632bb55 | 12,840 | py | Python | pymc/mc_bin.py | cherish-web/pymc | 9c322abfdcceca0a78b633d85da23e1290c036c8 | [
"Apache-2.0"
] | 4 | 2021-05-01T12:43:24.000Z | 2022-01-25T03:44:32.000Z | pymc/mc_bin.py | cherish-web/pymc | 9c322abfdcceca0a78b633d85da23e1290c036c8 | [
"Apache-2.0"
] | null | null | null | pymc/mc_bin.py | cherish-web/pymc | 9c322abfdcceca0a78b633d85da23e1290c036c8 | [
"Apache-2.0"
] | 2 | 2021-07-10T03:56:08.000Z | 2021-09-30T14:59:35.000Z | # _*_ coding: utf-8 _*_
# @Time : 2021/3/29 上午 09:21
# @Author : cherish_peng
# @Email : 1058386071@qq.com
# @File : mc.py
# @Software : PyCharm
from .mc_enum import EnumSubTitle, EnumCmd
from .mc_device import MelsecElement
import math
m_nNetNo = 0x00
# PLC编号
m_nPLCNo = 0xFF
# IO编号
m_nIONo = 0xFF03
# 站编号
m_nStation... | 38.214286 | 108 | 0.609502 | 1,855 | 12,840 | 4.012399 | 0.102426 | 0.053204 | 0.070133 | 0.085718 | 0.824802 | 0.806664 | 0.803574 | 0.789198 | 0.77845 | 0.762999 | 0 | 0.056943 | 0.188941 | 12,840 | 335 | 109 | 38.328358 | 0.657768 | 0.093614 | 0 | 0.719512 | 0 | 0 | 0.052326 | 0.004817 | 0 | 0 | 0.002627 | 0 | 0 | 1 | 0.067073 | false | 0 | 0.018293 | 0 | 0.189024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
499a6a5b511663a1459a9503afe7fe946deed6b0 | 2,840 | py | Python | aiokts/web/arguments_params.py | ktsstudio/aiokts | 3bf642c2d316632a9d4665239a74d13a2e2bbf74 | [
"MIT"
] | 6 | 2017-09-23T15:24:06.000Z | 2018-08-08T19:31:41.000Z | aiokts/web/arguments_params.py | ktsstudio/aiokts | 3bf642c2d316632a9d4665239a74d13a2e2bbf74 | [
"MIT"
] | 1 | 2018-08-08T19:30:55.000Z | 2018-08-08T19:30:55.000Z | aiokts/web/arguments_params.py | ktsstudio/aiokts | 3bf642c2d316632a9d4665239a74d13a2e2bbf74 | [
"MIT"
] | null | null | null | import functools
import json
from aiokts.util.arguments import check_arguments
from aiokts.web.error import ServerError
def arguments_params(arglist=None):
if arglist is None:
arglist = {}
def _arguments(func):
@functools.wraps(func)
async def inner(self, *args, **kwargs):
... | 29.583333 | 76 | 0.587324 | 301 | 2,840 | 5.385382 | 0.182724 | 0.059223 | 0.069093 | 0.049352 | 0.822949 | 0.789636 | 0.789636 | 0.789636 | 0.764343 | 0.719926 | 0 | 0 | 0.327113 | 2,840 | 95 | 77 | 29.894737 | 0.848247 | 0 | 0 | 0.72973 | 0 | 0 | 0.024296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121622 | false | 0 | 0.054054 | 0 | 0.337838 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
b8cf08ab48d80f93ec47c8283936b9ba7c6c492b | 99 | py | Python | integration/tests/error_assert_file.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 1,013 | 2020-08-27T12:38:48.000Z | 2022-03-31T23:12:23.000Z | integration/tests/error_assert_file.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 217 | 2020-08-31T11:18:10.000Z | 2022-03-30T17:50:30.000Z | integration/tests/error_assert_file.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 54 | 2020-09-02T09:41:06.000Z | 2022-03-19T15:33:05.000Z | from tests import app
@app.route("/error-assert-file")
def error_assert_file():
return 'Hello' | 19.8 | 32 | 0.727273 | 15 | 99 | 4.666667 | 0.733333 | 0.314286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 5 | 33 | 19.8 | 0.813953 | 0 | 0 | 0 | 0 | 0 | 0.23 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
b8ef57c5de1c01548f2d1ad684c0494d4ce45f62 | 99,774 | py | Python | huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_async_client.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_async_client.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-iotedge/huaweicloudsdkiotedge/v2/iotedge_async_client.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
import datetime
import re
import importlib
import six
from huaweicloudsdkcore.client import Client, ClientBuilder
from huaweicloudsdkcore.exceptions import exceptions
from huaweicloudsdkcore.utils import http_utils
from huaweicloudsdkcore.sdk_stream_request imp... | 30.568015 | 113 | 0.624972 | 10,150 | 99,774 | 5.720591 | 0.036847 | 0.047396 | 0.082943 | 0.034169 | 0.919107 | 0.90755 | 0.882612 | 0.85342 | 0.839608 | 0.696266 | 0 | 0.001169 | 0.288111 | 99,774 | 3,263 | 114 | 30.577383 | 0.816312 | 0.108866 | 0 | 0.837321 | 0 | 0 | 0.112786 | 0.046821 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.008506 | 0 | 0.115364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
7703f48930373df8ef1edf9beea7d24b2b8bccd7 | 19,017 | bzl | Python | third_party/boringssl/BUILD.generated_tests.bzl | brandonpollack23/bazel-buildfiles-upstream | b904fe862de01f481671ce80ce18b88546d8bf68 | [
"Apache-2.0"
] | 142 | 2017-06-14T11:39:55.000Z | 2022-03-20T15:08:39.000Z | third_party/boringssl/BUILD.generated_tests.bzl | brandonpollack23/bazel-buildfiles-upstream | b904fe862de01f481671ce80ce18b88546d8bf68 | [
"Apache-2.0"
] | 17 | 2015-07-13T02:37:55.000Z | 2017-05-02T07:12:33.000Z | third_party/boringssl/BUILD.generated_tests.bzl | brandonpollack23/bazel-buildfiles-upstream | b904fe862de01f481671ce80ce18b88546d8bf68 | [
"Apache-2.0"
] | 54 | 2015-04-20T07:27:43.000Z | 2017-04-27T21:17:32.000Z | # This file is created by generate_build_files.py. Do not edit manually.
test_support_sources = [
"src/crypto/test/file_test.cc",
"src/crypto/test/test_util.cc",
]
def create_tests(copts):
test_support_sources_complete = test_support_sources + \
native.glob(["src/crypto/test/*.h"])
native.cc_test(
... | 27.402017 | 91 | 0.577536 | 2,288 | 19,017 | 4.493007 | 0.043269 | 0.104183 | 0.109436 | 0.15428 | 0.934922 | 0.932782 | 0.859825 | 0.809241 | 0.776459 | 0.746304 | 0 | 0.036474 | 0.273387 | 19,017 | 693 | 92 | 27.441558 | 0.707483 | 0.003681 | 0 | 0.611727 | 1 | 0 | 0.385643 | 0.300818 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001585 | false | 0 | 0 | 0 | 0.001585 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
771c05104910fc9bc0f80052a40fba6b9ec61286 | 4,236 | py | Python | tests/008-test-request.py | arnaudsj/restkit | cf035d9245115ad6fa25e623bcf1bec5eb85cfff | [
"MIT"
] | 1 | 2015-11-05T13:59:20.000Z | 2015-11-05T13:59:20.000Z | tests/008-test-request.py | arnaudsj/restkit | cf035d9245115ad6fa25e623bcf1bec5eb85cfff | [
"MIT"
] | null | null | null | tests/008-test-request.py | arnaudsj/restkit | cf035d9245115ad6fa25e623bcf1bec5eb85cfff | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -
#
# This file is part of restkit released under the MIT license.
# See the NOTICE for more information.
import t
from restkit import request
from _server_test import HOST, PORT
LONG_BODY_PART = """This is a relatively long body, that we send to the client...
This is a relatively long body, tha... | 48.689655 | 81 | 0.713881 | 799 | 4,236 | 3.760951 | 0.068836 | 0.157072 | 0.12812 | 0.311148 | 0.902496 | 0.893511 | 0.888186 | 0.888186 | 0.888186 | 0.87787 | 0 | 0.006779 | 0.199009 | 4,236 | 87 | 82 | 48.689655 | 0.878868 | 0.027856 | 0 | 0.792208 | 0 | 0 | 0.85051 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038961 | false | 0 | 0.038961 | 0 | 0.077922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
772d2f175d640d0711913f509c67e4ad3c192d67 | 5,722 | py | Python | python/util/evaluate_dbg.py | mega002/DANN-MNLI | bd27c5ec70d2b68453dd16f90a3b8d2f28f7a945 | [
"Apache-2.0"
] | null | null | null | python/util/evaluate_dbg.py | mega002/DANN-MNLI | bd27c5ec70d2b68453dd16f90a3b8d2f28f7a945 | [
"Apache-2.0"
] | null | null | null | python/util/evaluate_dbg.py | mega002/DANN-MNLI | bd27c5ec70d2b68453dd16f90a3b8d2f28f7a945 | [
"Apache-2.0"
] | null | null | null | import numpy as np
def evaluate_classifier(classifier, eval_set, batch_size):
"""
Function to get accuracy and cost of the model, evaluated on a chosen dataset.
classifier: the model's classfier, it should return genres, logit values, and cost for a given minibatch of the evaluation dataset
eval_set: ... | 42.073529 | 180 | 0.627753 | 787 | 5,722 | 4.454892 | 0.109276 | 0.08186 | 0.038791 | 0.045636 | 0.915573 | 0.908157 | 0.884769 | 0.875642 | 0.837136 | 0.799201 | 0 | 0.006643 | 0.263369 | 5,722 | 136 | 181 | 42.073529 | 0.825148 | 0 | 0 | 0.753086 | 0 | 0 | 0.048926 | 0.018638 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.012346 | null | null | 0.024691 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6224baff69b2332c67fd4373e3234a0b6b81a596 | 63 | py | Python | p029.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | p029.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | p029.py | piohhmy/euler | f1b548a28a503fb8a0878fda75c32e1dcfb33243 | [
"MIT"
] | null | null | null | print(len({a**b for a in range(2,101) for b in range(2,101)}))
| 31.5 | 62 | 0.634921 | 16 | 63 | 2.5 | 0.5625 | 0.35 | 0.4 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0.142857 | 63 | 1 | 63 | 63 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
6271d76d5bdeada92511b50b997519e6035036cd | 7,432 | py | Python | src/support/base_models.py | pierpaolo28/Epidemics-Modelling | 4fb18091f5f2f29cf0981841bb4902a7f36c1469 | [
"MIT"
] | 11 | 2021-01-12T21:34:17.000Z | 2022-03-22T08:01:06.000Z | src/support/base_models.py | pierpaolo28/Epidemics-Modelling | 4fb18091f5f2f29cf0981841bb4902a7f36c1469 | [
"MIT"
] | null | null | null | src/support/base_models.py | pierpaolo28/Epidemics-Modelling | 4fb18091f5f2f29cf0981841bb4902a7f36c1469 | [
"MIT"
] | null | null | null | import streamlit as st
from scipy.integrate import odeint
import numpy as np
import matplotlib.pyplot as plt
import plotly.graph_objects as go
from plotly.subplots import make_subplots
def sir_step_ahead(y, t, N, beta, gamma):
S, I, R = y
dsdt = -beta * I * (S / N)
didt = beta * I * (S / N) - gamma * I
... | 38.910995 | 106 | 0.416442 | 769 | 7,432 | 3.951886 | 0.176853 | 0.036854 | 0.046068 | 0.050675 | 0.859493 | 0.849622 | 0.828562 | 0.788088 | 0.753208 | 0.753208 | 0 | 0.018703 | 0.446044 | 7,432 | 190 | 107 | 39.115789 | 0.719456 | 0 | 0 | 0.726744 | 0 | 0 | 0.11141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034884 | false | 0 | 0.034884 | 0 | 0.093023 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.