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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf8ed1cc290eb972a6785dfdc389bd7a3461231c | 4,434 | py | Python | pySpatialTools/utils/artificial_data/artificial_features.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 8 | 2015-07-21T05:15:16.000Z | 2018-06-12T18:22:52.000Z | pySpatialTools/utils/artificial_data/artificial_features.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | 6 | 2016-01-11T22:25:28.000Z | 2016-01-28T16:17:46.000Z | pySpatialTools/utils/artificial_data/artificial_features.py | tgquintela/pySpatialTools | e028008f9750521bf7d311f7cd3323c88d621ea4 | [
"MIT"
] | null | null | null |
"""
Artificial features
-------------------
Module which groups artificial data creation of features for testing or other
needings in this package.
"""
import numpy as np
def continuous_array_features(n, n_feats):
"""Array-like continuous features.
Parameters
----------
n: int
the number o... | 22.393939 | 78 | 0.617952 | 564 | 4,434 | 4.751773 | 0.12234 | 0.067164 | 0.085075 | 0.099254 | 0.877985 | 0.839179 | 0.827612 | 0.735448 | 0.735448 | 0.666418 | 0 | 0.002484 | 0.273793 | 4,434 | 197 | 79 | 22.507614 | 0.829814 | 0.504511 | 0 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.021739 | 0 | 0.369565 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c640151bcb9a3d11a918c49cc65868bfb24438c | 2,413 | py | Python | tests/payments/capture_payments_integration_test.py | riaz-bordie-cko/checkout-sdk-python | d9bc073306c1a98544c326be693ed722576ea895 | [
"MIT"
] | null | null | null | tests/payments/capture_payments_integration_test.py | riaz-bordie-cko/checkout-sdk-python | d9bc073306c1a98544c326be693ed722576ea895 | [
"MIT"
] | null | null | null | tests/payments/capture_payments_integration_test.py | riaz-bordie-cko/checkout-sdk-python | d9bc073306c1a98544c326be693ed722576ea895 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from checkout_sdk.payments.payments import CaptureRequest
from tests.checkout_test_utils import new_uuid, assert_response, new_idempotency_key, retriable
from tests.payments.payments_test_utils import make_card_payment
def test_should_full_capture_card_payment(default_api):
... | 38.919355 | 95 | 0.668462 | 245 | 2,413 | 6.106122 | 0.159184 | 0.149733 | 0.06016 | 0.070187 | 0.805481 | 0.794118 | 0.794118 | 0.768048 | 0.724599 | 0.724599 | 0 | 0.004569 | 0.274347 | 2,413 | 61 | 96 | 39.557377 | 0.8498 | 0 | 0 | 0.659091 | 0 | 0 | 0.027352 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.068182 | false | 0 | 0.090909 | 0 | 0.159091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c93baebef3d257ce788d41da043548bdb2f94ee | 67 | py | Python | core/helpers/flask/__init__.py | N7SALab/HEV | d449a2ba4eeb07127b97befd0a58d37279ed8a36 | [
"Apache-2.0"
] | null | null | null | core/helpers/flask/__init__.py | N7SALab/HEV | d449a2ba4eeb07127b97befd0a58d37279ed8a36 | [
"Apache-2.0"
] | 1 | 2021-06-02T01:10:50.000Z | 2021-06-02T01:10:50.000Z | core/helpers/flask/__init__.py | N7SALab/HEV | d449a2ba4eeb07127b97befd0a58d37279ed8a36 | [
"Apache-2.0"
] | null | null | null | from .auth import *
from .config import *
from .auth_creds import * | 22.333333 | 25 | 0.746269 | 10 | 67 | 4.9 | 0.5 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 3 | 25 | 22.333333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5caf4a6058c969bd8a6665216881b7e8e11a56bd | 45 | py | Python | sunnysouth/suppliers/services/__init__.py | EdwinBaeza05/django-genricsl-app | a8759d609957e80883cca79f0694d494364775a4 | [
"MIT"
] | null | null | null | sunnysouth/suppliers/services/__init__.py | EdwinBaeza05/django-genricsl-app | a8759d609957e80883cca79f0694d494364775a4 | [
"MIT"
] | null | null | null | sunnysouth/suppliers/services/__init__.py | EdwinBaeza05/django-genricsl-app | a8759d609957e80883cca79f0694d494364775a4 | [
"MIT"
] | null | null | null | from .suppliers import SupplierCreateService
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ccaf4dc2a014546668a9b3988975c76384f6857 | 23,584 | py | Python | attic/orbit_conventional.py | megbedell/PSOAP | b1cf6d14383495a5751c64a63caddbe83b511796 | [
"MIT"
] | 25 | 2017-02-21T21:42:03.000Z | 2022-03-02T20:33:48.000Z | attic/orbit_conventional.py | megbedell/PSOAP | b1cf6d14383495a5751c64a63caddbe83b511796 | [
"MIT"
] | 3 | 2018-02-11T22:03:22.000Z | 2022-02-03T21:12:01.000Z | attic/orbit_conventional.py | megbedell/PSOAP | b1cf6d14383495a5751c64a63caddbe83b511796 | [
"MIT"
] | 1 | 2022-02-02T15:46:04.000Z | 2022-02-02T15:46:04.000Z | import numpy as np
from scipy.optimize import fsolve, minimize
from psoap import constants as C
class Binary:
'''
A binary orbit that delivers astrometric position, relative astrometric position (B relative to A), and radial velocities of A and B.
'''
def __init__(self, a, e, i, omega, Omega, T0, M_to... | 36.338983 | 358 | 0.542359 | 4,159 | 23,584 | 2.92931 | 0.056504 | 0.039399 | 0.032833 | 0.031519 | 0.860872 | 0.831815 | 0.794878 | 0.767052 | 0.743495 | 0.711401 | 0 | 0.030779 | 0.311186 | 23,584 | 648 | 359 | 36.395062 | 0.719175 | 0.191231 | 0 | 0.540984 | 0 | 0 | 0.02493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095628 | false | 0 | 0.008197 | 0 | 0.196721 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ce423e5349da5c955a5eb85fbc3a81e4c16d380 | 2,188 | py | Python | paw/tests/test_gen_hcat.py | tehw0lf/paw | adc2b11d102b8ff9acf7763a7f2e65c21b38283d | [
"MIT"
] | 9 | 2017-10-29T17:53:34.000Z | 2021-07-19T14:39:42.000Z | paw/tests/test_gen_hcat.py | tehw0lf/paw | adc2b11d102b8ff9acf7763a7f2e65c21b38283d | [
"MIT"
] | 18 | 2017-10-15T12:17:11.000Z | 2020-05-13T14:01:22.000Z | paw/tests/test_gen_hcat.py | tehw0lf/paw | adc2b11d102b8ff9acf7763a7f2e65c21b38283d | [
"MIT"
] | 6 | 2017-10-15T13:10:21.000Z | 2020-08-01T11:52:44.000Z | from .base import paw_test
class gen_hcat_test(paw_test):
def test_gen_hcat_cmd_one_h(self):
self.paw.hcat = True
self.paw.patterns[0] = ["%h"]
self.paw.gen_hcat_cmd()
self.assertEqual(len(self.paw.catstrs), 1)
self.assertEqual(self.paw.catstrs, {0: "-a 3 -1 ABCDEF... | 35.868852 | 79 | 0.543419 | 319 | 2,188 | 3.567398 | 0.112853 | 0.21529 | 0.123023 | 0.086116 | 0.867311 | 0.837434 | 0.785589 | 0.720562 | 0.704745 | 0.581722 | 0 | 0.044958 | 0.288391 | 2,188 | 60 | 80 | 36.466667 | 0.685934 | 0 | 0 | 0.442308 | 0 | 0.019231 | 0.111372 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.134615 | false | 0 | 0.019231 | 0 | 0.173077 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a2ea5bc3630e94ee6e385cfa61ad17071361ef0 | 55 | py | Python | src/project_name/script.py | hlop3z/dexter | 5ee7306597f02088c249e37338d8ddc0b1c21fda | [
"MIT"
] | null | null | null | src/project_name/script.py | hlop3z/dexter | 5ee7306597f02088c249e37338d8ddc0b1c21fda | [
"MIT"
] | null | null | null | src/project_name/script.py | hlop3z/dexter | 5ee7306597f02088c249e37338d8ddc0b1c21fda | [
"MIT"
] | null | null | null | def hello_world():
print("hello world from Script") | 27.5 | 36 | 0.709091 | 8 | 55 | 4.75 | 0.75 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 2 | 36 | 27.5 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7a65be2fc8a3ec380ba97441f304112162e797ec | 73 | py | Python | coringa/ledgers/tests/models/__init__.py | joyinsky/coringa | 79ad781a644dd8b93eeb4acb07e60233bc869a77 | [
"MIT"
] | null | null | null | coringa/ledgers/tests/models/__init__.py | joyinsky/coringa | 79ad781a644dd8b93eeb4acb07e60233bc869a77 | [
"MIT"
] | null | null | null | coringa/ledgers/tests/models/__init__.py | joyinsky/coringa | 79ad781a644dd8b93eeb4acb07e60233bc869a77 | [
"MIT"
] | 1 | 2020-03-12T00:15:10.000Z | 2020-03-12T00:15:10.000Z | from .ledger import *
from .account import *
from .transactions import *
| 18.25 | 27 | 0.753425 | 9 | 73 | 6.111111 | 0.555556 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 73 | 3 | 28 | 24.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a7d6594002b658e9a21338bfb74d95c07e899fa | 20 | py | Python | proxy/mqtt/pyRC5/RC5/__init__.py | aehparta/koti-devices | f189f3480aa493769d4db198b4f2b7c9eeb463c2 | [
"MIT"
] | null | null | null | proxy/mqtt/pyRC5/RC5/__init__.py | aehparta/koti-devices | f189f3480aa493769d4db198b4f2b7c9eeb463c2 | [
"MIT"
] | null | null | null | proxy/mqtt/pyRC5/RC5/__init__.py | aehparta/koti-devices | f189f3480aa493769d4db198b4f2b7c9eeb463c2 | [
"MIT"
] | null | null | null | from .RC5 import RC5 | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.15 | 20 | 1 | 20 | 20 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a7f071db5e5dd7ac5ad0f6e9e8b8225e9511fff | 88 | py | Python | yamaps/settings.py | herald-it/django-yamaps | 8c5d7109ce6d008355857e73bb5c36d050a280c6 | [
"MIT"
] | 2 | 2018-07-28T07:31:08.000Z | 2020-02-24T18:57:16.000Z | yamaps/settings.py | herald-it/django-yamaps | 8c5d7109ce6d008355857e73bb5c36d050a280c6 | [
"MIT"
] | 6 | 2017-09-07T11:20:50.000Z | 2021-06-10T19:10:07.000Z | yamaps/settings.py | herald-it/django-yamaps | 8c5d7109ce6d008355857e73bb5c36d050a280c6 | [
"MIT"
] | 6 | 2017-03-16T08:37:34.000Z | 2020-12-24T13:53:15.000Z | from django.conf import settings
YAMAPS_ADDRESS_MODEL = settings.YAMAPS_ADDRESS_MODEL
| 17.6 | 52 | 0.863636 | 12 | 88 | 6 | 0.666667 | 0.388889 | 0.583333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 88 | 4 | 53 | 22 | 0.911392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8f96e32f8845b057e341e3dcf50dd06ec855e7ed | 80,393 | py | Python | executions/atis/funql/query.py | JasperGuo/MeaningRepresentationBenchmark | b61e8ed68fdbd934c195fa968445540bfa897f2f | [
"MIT"
] | 9 | 2020-11-11T08:54:05.000Z | 2022-03-22T11:16:03.000Z | executions/atis/funql/query.py | JasperGuo/MeaningRepresentationBenchmark | b61e8ed68fdbd934c195fa968445540bfa897f2f | [
"MIT"
] | null | null | null | executions/atis/funql/query.py | JasperGuo/MeaningRepresentationBenchmark | b61e8ed68fdbd934c195fa968445540bfa897f2f | [
"MIT"
] | 2 | 2021-01-14T08:25:25.000Z | 2021-06-08T21:41:32.000Z | # coding=utf8
import re
import mysql.connector
from pprint import pprint
from .transform import transform
db = None
def get_connection():
global db
if db and db.is_connected():
return db
else:
db = mysql.connector.connect(
host="localhost",
user="root",
... | 35.650998 | 399 | 0.65446 | 10,838 | 80,393 | 4.621332 | 0.029433 | 0.042327 | 0.028032 | 0.035659 | 0.880845 | 0.850278 | 0.830751 | 0.806653 | 0.787306 | 0.76762 | 0 | 0.016784 | 0.243342 | 80,393 | 2,254 | 400 | 35.666815 | 0.806592 | 0.007277 | 0 | 0.690022 | 0 | 0.043161 | 0.31536 | 0.056856 | 0 | 0 | 0 | 0 | 0.011211 | 1 | 0.08352 | false | 0.001121 | 0.002242 | 0.003924 | 0.201233 | 0.006726 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8fa50f2fa764cce220a09a3dc58d14516a09f779 | 6,735 | py | Python | cinder/volume/drivers/nec/volume.py | lightsey/cinder | e03d68e42e57a63f8d0f3e177fb4287290612b24 | [
"Apache-2.0"
] | 571 | 2015-01-01T17:47:26.000Z | 2022-03-23T07:46:36.000Z | cinder/volume/drivers/nec/volume.py | lightsey/cinder | e03d68e42e57a63f8d0f3e177fb4287290612b24 | [
"Apache-2.0"
] | 37 | 2015-01-22T23:27:04.000Z | 2021-02-05T16:38:48.000Z | cinder/volume/drivers/nec/volume.py | lightsey/cinder | e03d68e42e57a63f8d0f3e177fb4287290612b24 | [
"Apache-2.0"
] | 841 | 2015-01-04T17:17:11.000Z | 2022-03-31T12:06:51.000Z | #
# Copyright (c) 2016 NEC Corporation.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | 41.067073 | 79 | 0.624202 | 776 | 6,735 | 5.264175 | 0.265464 | 0.019584 | 0.045043 | 0.0306 | 0.765483 | 0.740269 | 0.720441 | 0.666585 | 0.652142 | 0.648715 | 0 | 0.031472 | 0.31121 | 6,735 | 163 | 80 | 41.319018 | 0.849105 | 0.47513 | 0 | 0.646154 | 0 | 0 | 0.011505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.246154 | false | 0.030769 | 0.076923 | 0.153846 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8fcd33e9c77adb6c1d1e0671fb6b4e5ceb626528 | 30 | py | Python | moelog_main/moelog/__init__.py | moe001/moelog | b0ba6f287e39b5d9fa8ac3781212fed4cbe8d428 | [
"MIT"
] | null | null | null | moelog_main/moelog/__init__.py | moe001/moelog | b0ba6f287e39b5d9fa8ac3781212fed4cbe8d428 | [
"MIT"
] | null | null | null | moelog_main/moelog/__init__.py | moe001/moelog | b0ba6f287e39b5d9fa8ac3781212fed4cbe8d428 | [
"MIT"
] | null | null | null | from .__main import get_logger | 30 | 30 | 0.866667 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8fe2c1c5c025900272b0a546b451e2da94b6aae8 | 147 | py | Python | deckparser/__init__.py | venidera/deckparser | 88e9e141cb7ef2cdea2994f7664157d9eae6ec4f | [
"Apache-2.0"
] | 13 | 2018-07-26T20:18:30.000Z | 2022-03-18T07:18:34.000Z | deckparser/__init__.py | venidera/deckparser | 88e9e141cb7ef2cdea2994f7664157d9eae6ec4f | [
"Apache-2.0"
] | null | null | null | deckparser/__init__.py | venidera/deckparser | 88e9e141cb7ef2cdea2994f7664157d9eae6ec4f | [
"Apache-2.0"
] | 3 | 2021-04-23T21:46:59.000Z | 2021-08-30T11:24:07.000Z | from deckparser.newave2dicts import newave2dicts
from deckparser.decomp2dicts import decomp2dicts
from deckparser.suishi2dicts import suishi2dicts
| 36.75 | 48 | 0.897959 | 15 | 147 | 8.8 | 0.4 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.081633 | 147 | 3 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8fee364c92f116fed2af18003f0d5f9dd86ffcf7 | 240 | py | Python | tests/testenvironment.py | sujaysundar/FBLAQuiz | 26ff86eb5e4d8ea22c16203ce447d2be11a9ff5e | [
"MIT"
] | null | null | null | tests/testenvironment.py | sujaysundar/FBLAQuiz | 26ff86eb5e4d8ea22c16203ce447d2be11a9ff5e | [
"MIT"
] | 1 | 2021-03-15T17:55:26.000Z | 2021-03-15T21:39:11.000Z | tests/testenvironment.py | sujaysundar/FBLAQuiz | 26ff86eb5e4d8ea22c16203ce447d2be11a9ff5e | [
"MIT"
] | null | null | null | #Test to check if the environment is set to execute a Python program. If the below statement prints on the console, it indicates the environment is set correctly to run a Python program.
print('Python environment is setup correctly.') | 80 | 188 | 0.783333 | 39 | 240 | 4.820513 | 0.589744 | 0.207447 | 0.170213 | 0.202128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179167 | 240 | 3 | 189 | 80 | 0.954315 | 0.770833 | 0 | 0 | 0 | 0 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8ffbacc63f9e112bc2a9d4c661425da1249ffb08 | 93 | py | Python | notebooks/Python3-Language/07-Modules and Packages/MainPackage/SubPackage/subscript.py | binakot/Python3-Course | c555fc7376c45f4b2dedb6d57363c0070831c1e1 | [
"MIT"
] | null | null | null | notebooks/Python3-Language/07-Modules and Packages/MainPackage/SubPackage/subscript.py | binakot/Python3-Course | c555fc7376c45f4b2dedb6d57363c0070831c1e1 | [
"MIT"
] | null | null | null | notebooks/Python3-Language/07-Modules and Packages/MainPackage/SubPackage/subscript.py | binakot/Python3-Course | c555fc7376c45f4b2dedb6d57363c0070831c1e1 | [
"MIT"
] | null | null | null | def hello_subscript():
print('Hello subscript')
def hello_indeed():
print('Indeed Hello') | 18.6 | 25 | 0.731183 | 12 | 93 | 5.5 | 0.416667 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 5 | 26 | 18.6 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
8915f44dbe677bf86c448f3e8b4a603af6dd4dbb | 2,538 | py | Python | airfoil_db/exceptions.py | usuaero/AirfoilDatabase | 74addddf501b56d65151bf8cf3394897c6f8dd66 | [
"MIT"
] | 14 | 2020-04-30T18:47:32.000Z | 2022-02-13T19:08:35.000Z | airfoil_db/exceptions.py | usuaero/AirfoilDatabase | 74addddf501b56d65151bf8cf3394897c6f8dd66 | [
"MIT"
] | 4 | 2020-04-03T20:20:32.000Z | 2020-10-11T15:51:49.000Z | airfoil_db/exceptions.py | usuaero/AirfoilDatabase | 74addddf501b56d65151bf8cf3394897c6f8dd66 | [
"MIT"
] | 8 | 2019-11-05T06:03:43.000Z | 2022-02-28T17:31:40.000Z | """Custom exceptions used in the airfoil class."""
class DatabaseBoundsError(Exception):
"""An exception thrown when the inputs to the airfoil database fall outside the database bounds.
Attributes
----------
airfoil : str
The name of the airfoil for which this exception occurred.
inputs_d... | 30.95122 | 131 | 0.675335 | 313 | 2,538 | 5.306709 | 0.191693 | 0.060205 | 0.043347 | 0.033715 | 0.760987 | 0.760987 | 0.731487 | 0.71463 | 0.71463 | 0.71463 | 0 | 0.002096 | 0.248227 | 2,538 | 82 | 132 | 30.95122 | 0.868449 | 0.438928 | 0 | 0.666667 | 0 | 0 | 0.198904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0 | 0.083333 | 0.416667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64ea4a1f86094096c96af6e5e678266870203f3d | 4,794 | py | Python | tests/marginalization_test.py | LucasFidon/label-set-loss-functions | dffa112b9789c83eaa6b05103b94e55e36738f7d | [
"BSD-3-Clause"
] | 3 | 2021-09-28T10:17:36.000Z | 2022-01-30T01:08:08.000Z | tests/marginalization_test.py | LucasFidon/label-set-loss-functions | dffa112b9789c83eaa6b05103b94e55e36738f7d | [
"BSD-3-Clause"
] | null | null | null | tests/marginalization_test.py | LucasFidon/label-set-loss-functions | dffa112b9789c83eaa6b05103b94e55e36738f7d | [
"BSD-3-Clause"
] | null | null | null | import unittest
import torch
import numpy as np
from label_set_loss_functions.convertor import softmax_marginalize, log_softmax_marginalize
class TestMarginalizationFunctions(unittest.TestCase):
def test_softmax_marginalize(self):
num_classes = 3 # labels 0 to 2
labels_superset_map = {
... | 47.94 | 117 | 0.52816 | 648 | 4,794 | 3.733025 | 0.125 | 0.064489 | 0.052088 | 0.033072 | 0.86482 | 0.86482 | 0.86234 | 0.86234 | 0.86234 | 0.86234 | 0 | 0.08263 | 0.308302 | 4,794 | 99 | 118 | 48.424242 | 0.646864 | 0.177096 | 0 | 0.650602 | 0 | 0 | 0.002039 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 1 | 0.024096 | false | 0 | 0.048193 | 0 | 0.084337 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56d256ae1f0db6695c62f45cbfc74696bc474aa9 | 179 | py | Python | l5kit/l5kit/configs/__init__.py | stefaniespeichert/l5kit | e7ef272b80d71c5080891b27f478c6d3e001774e | [
"Apache-2.0"
] | null | null | null | l5kit/l5kit/configs/__init__.py | stefaniespeichert/l5kit | e7ef272b80d71c5080891b27f478c6d3e001774e | [
"Apache-2.0"
] | null | null | null | l5kit/l5kit/configs/__init__.py | stefaniespeichert/l5kit | e7ef272b80d71c5080891b27f478c6d3e001774e | [
"Apache-2.0"
] | null | null | null | from .config import config_data_to_config, load_config_data, save_config_data, schema_v4
__all__ = ["schema_v4", "save_config_data", "load_config_data", "config_data_to_config"]
| 44.75 | 88 | 0.821229 | 28 | 179 | 4.535714 | 0.357143 | 0.472441 | 0.188976 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0.078212 | 179 | 3 | 89 | 59.666667 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.346369 | 0.117318 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
713e51d3a9b6bd6cf9f6a08dde23d14e11ea05f2 | 40 | py | Python | src/SimpleSurface/__init__.py | dylan-bennett/ImageSurfacePlus | 229d4a4ea3766addea1b2596e994bcb0060fe78f | [
"MIT"
] | null | null | null | src/SimpleSurface/__init__.py | dylan-bennett/ImageSurfacePlus | 229d4a4ea3766addea1b2596e994bcb0060fe78f | [
"MIT"
] | null | null | null | src/SimpleSurface/__init__.py | dylan-bennett/ImageSurfacePlus | 229d4a4ea3766addea1b2596e994bcb0060fe78f | [
"MIT"
] | null | null | null | from .SimpleSurface import SimpleSurface | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8531eb54d299989cfec3ebb6b1c0894c08aa0ba4 | 3,115 | py | Python | tests/artist_app/forms.py | moshthepitt/django-vega-admin | 865774e51b3a2c2df81fec1f212acc3bdcea9eaa | [
"MIT"
] | 4 | 2018-11-24T14:46:45.000Z | 2020-12-04T08:49:28.000Z | tests/artist_app/forms.py | moshthepitt/django-vega-admin | 865774e51b3a2c2df81fec1f212acc3bdcea9eaa | [
"MIT"
] | 40 | 2018-11-17T11:34:35.000Z | 2020-06-26T11:27:01.000Z | tests/artist_app/forms.py | moshthepitt/django-vega-admin | 865774e51b3a2c2df81fec1f212acc3bdcea9eaa | [
"MIT"
] | null | null | null | """
Module for vega-admin test forms
"""
from django import forms
from crispy_forms.bootstrap import Field, FormActions
from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Submit
from vega_admin.forms import ListViewSearchForm
from .models import Artist, Song
class ArtistForm(forms.M... | 27.8125 | 80 | 0.608026 | 337 | 3,115 | 5.421365 | 0.192878 | 0.131363 | 0.091954 | 0.063492 | 0.78763 | 0.78763 | 0.770662 | 0.770662 | 0.72578 | 0.72578 | 0 | 0.001333 | 0.277689 | 3,115 | 111 | 81 | 28.063063 | 0.810667 | 0.058106 | 0 | 0.733333 | 0 | 0 | 0.084935 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0 | 0.08 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8587bf8be336929623c4cf3c572700cfb8fb4e15 | 38 | py | Python | a2ml/api/auger/impl/exceptions.py | augerai/a2ml | 9d9ce0ac1b51cc81f1cb5ae331c4523131bc6a86 | [
"Apache-2.0"
] | 30 | 2019-07-01T13:23:27.000Z | 2022-03-16T21:19:33.000Z | a2ml/api/auger/impl/exceptions.py | augerai/a2ml | 9d9ce0ac1b51cc81f1cb5ae331c4523131bc6a86 | [
"Apache-2.0"
] | 234 | 2019-07-04T13:56:15.000Z | 2021-11-04T10:12:55.000Z | a2ml/api/auger/impl/exceptions.py | augerai/a2ml | 9d9ce0ac1b51cc81f1cb5ae331c4523131bc6a86 | [
"Apache-2.0"
] | 13 | 2019-07-04T14:00:34.000Z | 2020-07-13T11:18:44.000Z | class AugerException(Exception): pass
| 19 | 37 | 0.842105 | 4 | 38 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a479b5aee6b6361f23b6e70b655a41e860a5e11a | 27 | py | Python | src/euler_python_package/euler_python/medium/p235.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p235.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p235.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem235():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
a4996f2f61ec19d372ba844ca1e058cf9c420e27 | 190 | py | Python | surfice.app/Contents/Resources/script/jstartup.py | ningfei/surf-ice | 11a978d922f53abd02c0aa1b6896443f7f1af9e1 | [
"BSD-2-Clause"
] | 59 | 2016-04-28T05:54:56.000Z | 2022-02-08T20:10:32.000Z | surfice.app/Contents/Resources/script/jstartup.py | ningfei/surf-ice | 11a978d922f53abd02c0aa1b6896443f7f1af9e1 | [
"BSD-2-Clause"
] | 30 | 2017-01-08T07:58:33.000Z | 2022-03-15T21:07:50.000Z | surfice.app/Contents/Resources/script/jstartup.py | ningfei/surf-ice | 11a978d922f53abd02c0aa1b6896443f7f1af9e1 | [
"BSD-2-Clause"
] | 15 | 2017-03-03T14:07:52.000Z | 2022-03-21T17:01:14.000Z | import gl
gl.resetdefaults()
gl.meshload('/Users/chris/afni/pial/lh.sphere')
gl.overlayload('/Users/chris/afni/pial/lh.HCP-MMP1.annot')
gl.atlas2node('/Users/chris/afni/pial/mynodes.node');
| 31.666667 | 58 | 0.763158 | 30 | 190 | 4.833333 | 0.566667 | 0.206897 | 0.289655 | 0.372414 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.031579 | 190 | 5 | 59 | 38 | 0.777174 | 0 | 0 | 0 | 0 | 0 | 0.563158 | 0.563158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a4a557e6c4ba2bc417550dc9ed9398f4db1dfe1b | 159 | py | Python | pytracer/utility/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 9 | 2017-11-20T18:17:27.000Z | 2022-01-27T23:00:31.000Z | pytracer/utility/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 4 | 2021-06-08T19:03:51.000Z | 2022-03-11T23:18:44.000Z | pytracer/utility/__init__.py | zjiayao/pyTracer | c2b4ef299ecbdca1c519059488f7cd2438943ee4 | [
"MIT"
] | 1 | 2017-11-20T22:48:01.000Z | 2017-11-20T22:48:01.000Z | """
__init__.py
pytracer.utility package
Created by Jiayao on Aug 13, 2017
"""
from __future__ import absolute_import
from pytracer.utility.utility import *
| 15.9 | 38 | 0.786164 | 22 | 159 | 5.272727 | 0.727273 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043796 | 0.138365 | 159 | 9 | 39 | 17.666667 | 0.80292 | 0.45283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8efca5e68bf561b02920ef8ef4466674561572c4 | 1,763 | py | Python | tests/test_comparision_error_messages.py | pawel-slowik/ipset-country | e14994eb44d977c59c147a81fabc4c3f3cd8c392 | [
"MIT"
] | null | null | null | tests/test_comparision_error_messages.py | pawel-slowik/ipset-country | e14994eb44d977c59c147a81fabc4c3f3cd8c392 | [
"MIT"
] | null | null | null | tests/test_comparision_error_messages.py | pawel-slowik/ipset-country | e14994eb44d977c59c147a81fabc4c3f3cd8c392 | [
"MIT"
] | null | null | null | import ipaddress
from ipset import ComparisionResult, comparision_error_messages
def test_ipdeny_missing() -> None:
comparision = ComparisionResult(
common_networks=[ipaddress.IPv4Network("1.1.1.0/24")],
ipdeny_missing=[ipaddress.IPv4Network("2.2.2.0/24")],
ripestat_missing=[],
dif... | 41 | 89 | 0.711855 | 237 | 1,763 | 5.130802 | 0.147679 | 0.181743 | 0.086349 | 0.013158 | 0.90625 | 0.886513 | 0.881579 | 0.870066 | 0.870066 | 0.870066 | 0 | 0.056591 | 0.178106 | 1,763 | 42 | 90 | 41.97619 | 0.782609 | 0 | 0 | 0.638889 | 0 | 0 | 0.222348 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.083333 | false | 0 | 0.055556 | 0 | 0.138889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f10eed758d65b7fc6da7151a2ce36acd72e30248 | 12,676 | py | Python | raytracing/tests/testsSpecialtyLenses.py | gregsadetsky/RayTracing | 3d11ed91014a47bddc797495ca2af059005e810d | [
"MIT"
] | 1 | 2021-04-20T09:38:05.000Z | 2021-04-20T09:38:05.000Z | raytracing/tests/testsSpecialtyLenses.py | gregsadetsky/RayTracing | 3d11ed91014a47bddc797495ca2af059005e810d | [
"MIT"
] | null | null | null | raytracing/tests/testsSpecialtyLenses.py | gregsadetsky/RayTracing | 3d11ed91014a47bddc797495ca2af059005e810d | [
"MIT"
] | 2 | 2021-04-20T09:38:06.000Z | 2022-02-20T23:45:18.000Z | import envtest # modifies path
import matplotlib.pyplot as plt
from raytracing import *
class TestAchromatDoubletLens(envtest.RaytracingTestCase):
def testInit(self):
achromat = AchromatDoubletLens(fa=-100.0, fb=-103.6, R1=-52.0, R2=49.9, R3=600.0, tc1=2.0, tc2=4.0, te=7.7,
... | 41.97351 | 123 | 0.570054 | 1,377 | 12,676 | 5.190269 | 0.156137 | 0.055828 | 0.068001 | 0.031482 | 0.816007 | 0.798237 | 0.779768 | 0.754582 | 0.660837 | 0.640129 | 0 | 0.074125 | 0.30609 | 12,676 | 301 | 124 | 42.112957 | 0.738404 | 0.001262 | 0 | 0.748936 | 0 | 0 | 0.081457 | 0.003792 | 0 | 0 | 0 | 0 | 0.246809 | 1 | 0.110638 | false | 0 | 0.012766 | 0 | 0.148936 | 0.008511 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f126a3cfe2492746abe25760c9f9d645fd0a7635 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/_vendor/packaging/version.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/packaging/version.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/packaging/version.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/42/60/e5/81c797274b0f34273639ee3275aea54a1208b4aec2d6765599df92ab98 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f143d0d1af76b31c236c5b80e3c10a69694c82af | 33 | py | Python | utils/__init__.py | itsnamgyu/reid-metric | 437e02ebad510b482f620a293fd8c7baa4f42ad6 | [
"MIT"
] | null | null | null | utils/__init__.py | itsnamgyu/reid-metric | 437e02ebad510b482f620a293fd8c7baa4f42ad6 | [
"MIT"
] | null | null | null | utils/__init__.py | itsnamgyu/reid-metric | 437e02ebad510b482f620a293fd8c7baa4f42ad6 | [
"MIT"
] | null | null | null | from . import distmat, evaluation | 33 | 33 | 0.818182 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74e6c1c320320014a0a8231fb87f9b159950b7ab | 24 | py | Python | ISS_Info/__init__.py | Quarantine-Projects/ISS-Info | 286cb9d0f5b6804424c65547f9cd14ae69fe6842 | [
"MIT"
] | 16 | 2020-03-22T13:54:10.000Z | 2022-01-08T04:22:13.000Z | ISS_Info/__init__.py | Quarantine-Projects/ISS-Info | 286cb9d0f5b6804424c65547f9cd14ae69fe6842 | [
"MIT"
] | 2 | 2020-03-22T14:00:44.000Z | 2021-08-02T10:01:05.000Z | ISS_Info/__init__.py | Quarantine-Projects/ISS-Info | 286cb9d0f5b6804424c65547f9cd14ae69fe6842 | [
"MIT"
] | 3 | 2020-03-22T16:34:25.000Z | 2020-09-17T04:48:22.000Z | from .ISS_Info import *
| 12 | 23 | 0.75 | 4 | 24 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74ed8a179f4e26c344789e1f829df6fd641aa37f | 7,204 | py | Python | test/test_clone_media.py | cvisionai/tator-py | 89d5ed3bfc3e824bdf73b6c0fc43180e09dc3782 | [
"MIT"
] | 2 | 2020-06-11T02:17:43.000Z | 2021-01-27T14:41:07.000Z | test/test_clone_media.py | cvisionai/tator-py | 89d5ed3bfc3e824bdf73b6c0fc43180e09dc3782 | [
"MIT"
] | 39 | 2020-06-08T15:12:47.000Z | 2022-03-31T20:05:17.000Z | test/test_clone_media.py | cvisionai/tator-py | 89d5ed3bfc3e824bdf73b6c0fc43180e09dc3782 | [
"MIT"
] | 1 | 2020-06-13T00:09:10.000Z | 2020-06-13T00:09:10.000Z | import tempfile
import os
import time
import tator
from._common import assert_vector_equal
def test_clone_multi(host, token, project, multi_type, multi):
tator_api = tator.get_api(host, token)
multi_obj = tator_api.get_media(multi)
response = tator_api.clone_media_list(project=project,
... | 49.682759 | 93 | 0.630067 | 885 | 7,204 | 4.853107 | 0.083616 | 0.059604 | 0.058673 | 0.039115 | 0.935506 | 0.912224 | 0.901281 | 0.892433 | 0.892433 | 0.837253 | 0 | 0.002286 | 0.271238 | 7,204 | 144 | 94 | 50.027778 | 0.81581 | 0 | 0 | 0.697674 | 0 | 0 | 0.148251 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 1 | 0.069767 | false | 0 | 0.03876 | 0 | 0.108527 | 0.108527 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74fc0eabee25e7601e6264e4d9059cb3dc42c624 | 10,394 | py | Python | tests/test_adapter.py | alight-analytics/rfc5424-logging-handler | 1bf1b2b567ab741aebf4d0417b8a6d6f466739e2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_adapter.py | alight-analytics/rfc5424-logging-handler | 1bf1b2b567ab741aebf4d0417b8a6d6f466739e2 | [
"BSD-3-Clause"
] | null | null | null | tests/test_adapter.py | alight-analytics/rfc5424-logging-handler | 1bf1b2b567ab741aebf4d0417b8a6d6f466739e2 | [
"BSD-3-Clause"
] | null | null | null | import logging
import pytest
from mock import patch
from conftest import (
address, message, sd1, sd2
)
from rfc5424logging import Rfc5424SysLogHandler, Rfc5424SysLogAdapter, NOTICE, NILVALUE
@pytest.mark.parametrize("handler_kwargs,adapter_kwargs,logger_kwargs,expected", [
(
{'address': address, 's... | 48.12037 | 123 | 0.695594 | 1,446 | 10,394 | 4.757261 | 0.086445 | 0.066289 | 0.07065 | 0.043611 | 0.870621 | 0.865242 | 0.863788 | 0.8446 | 0.830063 | 0.830063 | 0 | 0.110775 | 0.172311 | 10,394 | 215 | 124 | 48.344186 | 0.688829 | 0.014816 | 0 | 0.629213 | 0 | 0.140449 | 0.380911 | 0.100821 | 0 | 0 | 0 | 0 | 0.11236 | 1 | 0.061798 | false | 0 | 0.02809 | 0 | 0.089888 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7414f615ec34402d8bc00d1d7e3bf4f46248972e | 537 | py | Python | tests/test_priority.py | j127/todoist-taskwarrior | 24511f22c500371eab1b54afc13c499f9672d779 | [
"MIT"
] | 12 | 2019-01-20T18:09:42.000Z | 2021-11-01T18:25:19.000Z | tests/test_priority.py | j127/todoist-taskwarrior | 24511f22c500371eab1b54afc13c499f9672d779 | [
"MIT"
] | 4 | 2019-08-05T04:53:14.000Z | 2021-10-16T01:44:52.000Z | tests/test_priority.py | richnetdesign/todoist-taskwarrior | 6a0792a3ed8972b546a8ae9caa0dae7f0e1d2f57 | [
"MIT"
] | 5 | 2019-08-01T19:22:45.000Z | 2021-08-19T23:10:45.000Z | """ Priority Tests
Test conversions between Todoist and Taskwarrior priorities.
"""
import pytest
from todoist_taskwarrior import utils
def test_priorities():
assert utils.parse_priority(1) == None
assert utils.parse_priority(2) == 'L'
assert utils.parse_priority(3) == 'M'
assert utils.parse_priority... | 25.571429 | 60 | 0.696462 | 71 | 537 | 5.098592 | 0.352113 | 0.243094 | 0.353591 | 0.530387 | 0.59116 | 0.59116 | 0.59116 | 0.59116 | 0.59116 | 0.59116 | 0 | 0.017897 | 0.167598 | 537 | 20 | 61 | 26.85 | 0.791946 | 0.141527 | 0 | 0 | 0 | 0 | 0.022124 | 0 | 0 | 0 | 0 | 0.05 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
74a12d2fa8a3123b1e18f735d02402e62c4b96c3 | 28,303 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ncs1k_macsec_ea_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ncs1k_macsec_ea_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ncs1k_macsec_ea_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-07-22T04:04:44.000Z | 2020-07-22T04:04:44.000Z | """ Cisco_IOS_XR_ncs1k_macsec_ea_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR ncs1k\-macsec\-ea package operational data.
This module contains definitions
for the following management objects\:
ncs1k\-macsec\-oper\: Macsec data
Copyright (c) 2013\-2017 by Cisco Systems, Inc.
All ri... | 45.503215 | 341 | 0.495001 | 2,212 | 28,303 | 6.033906 | 0.084087 | 0.039559 | 0.113284 | 0.12235 | 0.861467 | 0.832322 | 0.799431 | 0.762419 | 0.705702 | 0.689968 | 0 | 0.038919 | 0.417164 | 28,303 | 621 | 342 | 45.57649 | 0.770187 | 0.22192 | 0 | 0.621739 | 0 | 0.008696 | 0.176176 | 0.063067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069565 | false | 0 | 0.021739 | 0 | 0.156522 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7784babf7e420c99d61debc3d7788a565f4b44a0 | 25 | py | Python | python/testData/psi/unified/Annotations.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/psi/unified/Annotations.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/psi/unified/Annotations.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f(a:1) -> list: pass
| 12.5 | 24 | 0.56 | 6 | 25 | 2.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.2 | 25 | 1 | 25 | 25 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
778dcf6273450f635101259e4046333677c8d4b4 | 142 | py | Python | app/admin/__init__.py | saury2013/online_book | 53cf56b6a8e088011224559e90be4d23b2f604f9 | [
"MIT"
] | null | null | null | app/admin/__init__.py | saury2013/online_book | 53cf56b6a8e088011224559e90be4d23b2f604f9 | [
"MIT"
] | 5 | 2021-03-18T20:34:55.000Z | 2022-03-11T23:24:30.000Z | app/admin/__init__.py | saury2013/online_book | 53cf56b6a8e088011224559e90be4d23b2f604f9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import Blueprint
admin = Blueprint("admin", __name__)
import app.admin.views
from app.models import site | 17.75 | 36 | 0.725352 | 20 | 142 | 4.95 | 0.65 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.147887 | 142 | 8 | 37 | 17.75 | 0.809917 | 0.147887 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
77cf37bac636c4a8c1a906e92788fe9affb05270 | 4,731 | py | Python | src/transforms.py | aguarda/ADLPCC | 07c2b976a2c0db3de2bce8213551789c600d9f83 | [
"Apache-2.0"
] | 2 | 2021-11-19T17:02:04.000Z | 2021-11-26T22:50:23.000Z | src/transforms.py | aguarda/ADLPCC | 07c2b976a2c0db3de2bce8213551789c600d9f83 | [
"Apache-2.0"
] | 1 | 2021-07-13T21:18:37.000Z | 2021-07-13T23:44:47.000Z | src/transforms.py | aguarda/ADLPCC | 07c2b976a2c0db3de2bce8213551789c600d9f83 | [
"Apache-2.0"
] | 3 | 2021-07-09T02:40:08.000Z | 2022-03-02T03:26:15.000Z | import tensorflow.compat.v1 as tf
import tensorflow_compression as tfc
class AnalysisTransform(tf.keras.layers.Layer):
"""The analysis transform."""
def __init__(self, num_filters, *args, **kwargs):
self.num_filters = num_filters
super(AnalysisTransform, self).__init__(*args, **kwargs)
d... | 38.463415 | 87 | 0.590573 | 545 | 4,731 | 4.900917 | 0.119266 | 0.08611 | 0.099588 | 0.090603 | 0.880195 | 0.880195 | 0.862224 | 0.801572 | 0.801572 | 0.801572 | 0 | 0.022063 | 0.291059 | 4,731 | 122 | 88 | 38.778689 | 0.774299 | 0.034454 | 0 | 0.673469 | 0 | 0 | 0.047504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.020408 | 0 | 0.22449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77d47182ff1318fdc069605c01addd7f86127dc9 | 225 | py | Python | mrl/g_models/all.py | DarkMatterAI/mrl | e000c3570d4461c3054c882697cce55217ede552 | [
"MIT"
] | 4 | 2021-11-16T09:29:55.000Z | 2021-12-27T17:55:32.000Z | mrl/g_models/all.py | DarkMatterAI/mrl | e000c3570d4461c3054c882697cce55217ede552 | [
"MIT"
] | null | null | null | mrl/g_models/all.py | DarkMatterAI/mrl | e000c3570d4461c3054c882697cce55217ede552 | [
"MIT"
] | 3 | 2021-11-16T09:41:41.000Z | 2021-12-27T17:55:33.000Z | from ..imports import *
from ..core import *
from ..torch_imports import *
from ..torch_core import *
from ..layers import *
from ..dataloaders import *
from .generative_base import *
from .lstm_lm import *
from .vae import * | 25 | 30 | 0.737778 | 31 | 225 | 5.225806 | 0.387097 | 0.493827 | 0.209877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 225 | 9 | 31 | 25 | 0.852632 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77e78d05f90f90a6cf27916406d8bd0926127e49 | 6,204 | py | Python | forecaster/models_baseline.py | weanl/myJan | 063e1e5f279cc6e7b70cee85b8f1004c4a5e6506 | [
"MIT"
] | 2 | 2019-02-24T16:46:45.000Z | 2020-02-21T07:39:35.000Z | forecaster/models_baseline.py | weanl/myJan | 063e1e5f279cc6e7b70cee85b8f1004c4a5e6506 | [
"MIT"
] | null | null | null | forecaster/models_baseline.py | weanl/myJan | 063e1e5f279cc6e7b70cee85b8f1004c4a5e6506 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Jan 9 21:55:18 2019
@author: weanl
"""
'''
0. averModelScore(DBID='210100063')
average forecast
1. arModelScore(DBID='210100063')
auto regression
2. ardwtModelScore(DBID='210100063')
auto regression with DWT
... | 27.945946 | 144 | 0.672953 | 877 | 6,204 | 4.402509 | 0.13455 | 0.060606 | 0.055944 | 0.074592 | 0.729604 | 0.709661 | 0.701373 | 0.701373 | 0.701373 | 0.701373 | 0 | 0.034811 | 0.203578 | 6,204 | 221 | 145 | 28.072398 | 0.74661 | 0.047066 | 0 | 0.705882 | 0 | 0 | 0.122358 | 0.019003 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019608 | false | 0 | 0.029412 | 0 | 0.068627 | 0.156863 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77eef3077b935882e0cdfea7b11e15dbd9ab071d | 4,495 | py | Python | tests/clean/auth/test_perm_inspector.py | bahnlink/pyclean | 558d75341082472606788e088809831f6ea543c0 | [
"MIT"
] | null | null | null | tests/clean/auth/test_perm_inspector.py | bahnlink/pyclean | 558d75341082472606788e088809831f6ea543c0 | [
"MIT"
] | 2 | 2021-03-25T21:49:39.000Z | 2021-06-01T22:12:00.000Z | tests/clean/auth/test_perm_inspector.py | bahnlink/pyclean | 558d75341082472606788e088809831f6ea543c0 | [
"MIT"
] | 1 | 2018-06-07T17:31:56.000Z | 2018-06-07T17:31:56.000Z | from clean.entities.token import UserToken
from clean.auth.perm_inspector import PermissionInspector
def test_not_allow_if_user_is_not_set():
ut = UserToken(username='crl', email='', photo_url='',
app_meta={}, user_meta={}, admin=False, staff=False, scopes={}).to_dict()
pv = PermissionInsp... | 37.14876 | 95 | 0.580645 | 535 | 4,495 | 4.665421 | 0.128972 | 0.036458 | 0.098958 | 0.114583 | 0.857372 | 0.83734 | 0.820513 | 0.820513 | 0.805689 | 0.788862 | 0 | 0.001767 | 0.244716 | 4,495 | 120 | 96 | 37.458333 | 0.733432 | 0 | 0 | 0.560976 | 0 | 0 | 0.084316 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 1 | 0.158537 | false | 0 | 0.02439 | 0 | 0.182927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ac5aac3850296889c92e30e626e56e764660540 | 33 | py | Python | backend/server_delta/server_delta_app/managers/patrimony/__init__.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | null | null | null | backend/server_delta/server_delta_app/managers/patrimony/__init__.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | 13 | 2020-06-05T18:26:43.000Z | 2021-06-10T20:36:13.000Z | backend/server_delta/server_delta_app/managers/patrimony/__init__.py | dalmarcogd/challenge_ms | 761f0a588b4c309cf6e226d306df3609c1179b4c | [
"MIT"
] | null | null | null | from .patrimony_manager import *
| 16.5 | 32 | 0.818182 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ac849ffd4989a1cc5ddf7652e9b65313d01544d | 83 | py | Python | users/templates/users/__init__.py | XinZhewu/learning_log | 7c42b5aaaad22c8cde59493599dd6484df9950e2 | [
"MIT"
] | 1 | 2019-07-04T09:52:34.000Z | 2019-07-04T09:52:34.000Z | users/templates/users/__init__.py | XinZhewu/learning_log | 7c42b5aaaad22c8cde59493599dd6484df9950e2 | [
"MIT"
] | null | null | null | users/templates/users/__init__.py | XinZhewu/learning_log | 7c42b5aaaad22c8cde59493599dd6484df9950e2 | [
"MIT"
] | null | null | null | # coding=utf-8
# @Time : 2018/3/5 22:36
# @Author : XinZhewu_568580410@qq.com
| 16.6 | 38 | 0.638554 | 14 | 83 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298507 | 0.192771 | 83 | 4 | 39 | 20.75 | 0.477612 | 0.903614 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7adeb987d070e20fbe9d4cb3395bb4a94acdaf6d | 71 | py | Python | Python studying/Codes of examples/2.4.1-while3.py | BoyangSheng/Skill-studing | 974c37365fff72e2c7b1e27ae52cb267c7070c9e | [
"Apache-2.0"
] | 1 | 2020-12-09T07:58:01.000Z | 2020-12-09T07:58:01.000Z | Python studying/Codes of examples/2.4.1-while3.py | BoyangSheng/Skill-studying | 974c37365fff72e2c7b1e27ae52cb267c7070c9e | [
"Apache-2.0"
] | null | null | null | Python studying/Codes of examples/2.4.1-while3.py | BoyangSheng/Skill-studying | 974c37365fff72e2c7b1e27ae52cb267c7070c9e | [
"Apache-2.0"
] | null | null | null | x = 1
y = 1
while y <= 10000:
y = y * (x + 1)
x += 1
print(x) | 11.833333 | 21 | 0.380282 | 15 | 71 | 1.8 | 0.4 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0.422535 | 71 | 6 | 22 | 11.833333 | 0.439024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7ae64ae58cc99f5069a382781141e1f78ece9147 | 29 | py | Python | activeteacher/modeling/proposal_generator/__init__.py | HunterJ-Lin/ActiveTeacher | 7e15c5fa118a0b5779f44811be2be41fe2f9d169 | [
"Apache-2.0"
] | 1 | 2022-03-09T12:36:58.000Z | 2022-03-09T12:36:58.000Z | activeteacher/modeling/proposal_generator/__init__.py | HunterJ-Lin/ActiveTeacher | 7e15c5fa118a0b5779f44811be2be41fe2f9d169 | [
"Apache-2.0"
] | null | null | null | activeteacher/modeling/proposal_generator/__init__.py | HunterJ-Lin/ActiveTeacher | 7e15c5fa118a0b5779f44811be2be41fe2f9d169 | [
"Apache-2.0"
] | null | null | null | from .rpn import PseudoLabRPN | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb2a8f6e85681bdc39c00d4b674d7879dd3cfa32 | 40 | py | Python | torchcam/__init__.py | Tramac/pytorch-cam | 39c35e39d33c45255dbfdd025eea5476a6a5ff55 | [
"Apache-2.0"
] | 29 | 2019-06-19T12:54:03.000Z | 2022-03-06T17:04:38.000Z | torchcam/__init__.py | Tramac/pytorch-cam | 39c35e39d33c45255dbfdd025eea5476a6a5ff55 | [
"Apache-2.0"
] | 1 | 2020-11-05T06:42:14.000Z | 2020-11-05T06:49:52.000Z | torchcam/__init__.py | Tramac/pytorch-cam | 39c35e39d33c45255dbfdd025eea5476a6a5ff55 | [
"Apache-2.0"
] | 6 | 2019-08-28T21:45:54.000Z | 2021-07-12T15:21:39.000Z | from .helper import *
from .cam import * | 20 | 21 | 0.725 | 6 | 40 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 2 | 22 | 20 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7047f7d28648711f25651a58fd19eaed119082e9 | 254 | py | Python | code/rds_config.py | aws-samples/amazon-rds-proxy-demo | 322d13c8d2419c2441813de4ef18f07bc56d2305 | [
"MIT-0"
] | 6 | 2021-01-06T15:07:25.000Z | 2022-03-23T07:12:52.000Z | code/rds_config.py | aws-samples/amazon-rds-proxy-demo | 322d13c8d2419c2441813de4ef18f07bc56d2305 | [
"MIT-0"
] | null | null | null | code/rds_config.py | aws-samples/amazon-rds-proxy-demo | 322d13c8d2419c2441813de4ef18f07bc56d2305 | [
"MIT-0"
] | null | null | null | #rds_host = "rds-auroramysql-demodb.cluster-c9di9qmu8xqw.us-east-1.rds.amazonaws.com"
rds_host = "rds-proxy-demo.proxy-c9di9qmu8xqw.us-east-1.rds.amazonaws.com"
db_username = "<replace-with-your-db-user>"
db_password = "<replace-with-your-db-password>"
| 50.8 | 86 | 0.771654 | 40 | 254 | 4.8 | 0.5 | 0.072917 | 0.104167 | 0.197917 | 0.354167 | 0.354167 | 0.354167 | 0 | 0 | 0 | 0 | 0.033195 | 0.051181 | 254 | 4 | 87 | 63.5 | 0.763485 | 0.334646 | 0 | 0 | 0 | 0.333333 | 0.708333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
70861ab32a27e245ecf19efecf712565b6638923 | 20,957 | py | Python | nonebot/adapters/qqguild/api/handle.py | nonebot/adapter-qqguild | a3e4d353bfdaafb296743bc0f15ed5d643c64d85 | [
"MIT"
] | 39 | 2021-12-23T14:26:41.000Z | 2022-03-22T14:11:19.000Z | nonebot/adapters/qqguild/api/handle.py | nonebot/adapter-qqguild | a3e4d353bfdaafb296743bc0f15ed5d643c64d85 | [
"MIT"
] | 4 | 2022-01-22T17:59:50.000Z | 2022-03-22T12:40:10.000Z | nonebot/adapters/qqguild/api/handle.py | nonebot/adapter-qqguild | a3e4d353bfdaafb296743bc0f15ed5d643c64d85 | [
"MIT"
] | 2 | 2022-01-16T02:38:51.000Z | 2022-03-01T15:48:36.000Z | from datetime import date, datetime
from typing import TYPE_CHECKING, List, Optional
from pydantic import parse_obj_as
from nonebot.drivers import Request
from .model import *
from .request import _request, _exclude_none
if TYPE_CHECKING:
from nonebot.adapters.qqguild.bot import Bot
from nonebot.adapters.qqg... | 35.641156 | 88 | 0.677912 | 2,522 | 20,957 | 5.324742 | 0.044409 | 0.068508 | 0.058232 | 0.068508 | 0.850696 | 0.812793 | 0.802442 | 0.771465 | 0.717626 | 0.657309 | 0 | 0 | 0.183566 | 20,957 | 587 | 89 | 35.701874 | 0.784863 | 0 | 0 | 0.520408 | 0 | 0 | 0.169442 | 0.084459 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016327 | 0 | 0.110204 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
70a400bdd36de699a6f1a74c1612061975e132a5 | 28 | py | Python | src/config/__init__.py | natureyoo/MLVU-DA-Detection | 2e5c1648466f76fd1e32156ada5cb04fe8be59b3 | [
"Apache-2.0"
] | 60 | 2021-04-20T07:35:12.000Z | 2022-03-23T13:55:40.000Z | src/config/__init__.py | natureyoo/MLVU-DA-Detection | 2e5c1648466f76fd1e32156ada5cb04fe8be59b3 | [
"Apache-2.0"
] | 2 | 2021-12-24T03:44:07.000Z | 2022-02-13T02:13:18.000Z | src/config/__init__.py | natureyoo/MLVU-DA-Detection | 2e5c1648466f76fd1e32156ada5cb04fe8be59b3 | [
"Apache-2.0"
] | 2 | 2021-08-19T01:31:42.000Z | 2021-11-08T05:35:26.000Z | from .config import get_cfg
| 14 | 27 | 0.821429 | 5 | 28 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5632b2b921349c1fcf87b09eec8d974ed747422c | 96 | py | Python | venv/lib/python3.8/site-packages/future/utils/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/future/utils/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/future/utils/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/c2/cb/d7/b0ac7e0d7662721435d1176697e09632a4bbf5134dca799dbdf212a425 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56365718283d19da58c0ba7714f9ca3b06fa78dd | 30 | py | Python | dbl_us_to/__init__.py | MrSpinne/DiscordBotsLists.py | 43fd6252e27b05768216e866266934f13923fcf6 | [
"MIT"
] | null | null | null | dbl_us_to/__init__.py | MrSpinne/DiscordBotsLists.py | 43fd6252e27b05768216e866266934f13923fcf6 | [
"MIT"
] | null | null | null | dbl_us_to/__init__.py | MrSpinne/DiscordBotsLists.py | 43fd6252e27b05768216e866266934f13923fcf6 | [
"MIT"
] | 1 | 2021-01-14T15:02:48.000Z | 2021-01-14T15:02:48.000Z | from .client import DBLClient
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56897951f89508156cb56f175101d00b45bac660 | 35,074 | py | Python | iter8_analytics/tests/unit/v2/experiment_test.py | klee989/iter8-analytics | 742e8d79f11e517b62b065383dc71ad956f0db26 | [
"Apache-2.0"
] | 14 | 2019-11-14T01:30:32.000Z | 2021-09-10T06:03:51.000Z | iter8_analytics/tests/unit/v2/experiment_test.py | klee989/iter8-analytics | 742e8d79f11e517b62b065383dc71ad956f0db26 | [
"Apache-2.0"
] | 120 | 2019-12-09T21:17:37.000Z | 2021-07-21T00:21:17.000Z | iter8_analytics/tests/unit/v2/experiment_test.py | klee989/iter8-analytics | 742e8d79f11e517b62b065383dc71ad956f0db26 | [
"Apache-2.0"
] | 14 | 2020-04-01T15:40:39.000Z | 2021-08-19T14:23:40.000Z | """Tests for module iter8_analytics.api.v2"""
# standard python stuff
import copy
from datetime import datetime, timezone, timedelta
import json
import logging
import os
# python libraries
import requests_mock
from iter8_analytics import fastapi_app
from iter8_analytics.api.v2.types import \
ExperimentResource, A... | 40.038813 | 105 | 0.648172 | 3,908 | 35,074 | 5.494882 | 0.052712 | 0.049036 | 0.039955 | 0.055323 | 0.864068 | 0.830027 | 0.807907 | 0.773121 | 0.762038 | 0.743318 | 0 | 0.006223 | 0.221189 | 35,074 | 875 | 106 | 40.084571 | 0.779909 | 0.004533 | 0 | 0.698895 | 0 | 0 | 0.152041 | 0.027453 | 0 | 0 | 0 | 0 | 0.071823 | 1 | 0.096685 | false | 0.013812 | 0.020718 | 0 | 0.117403 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
56987d4e6df8953908642327feff8385409f1ca3 | 84 | py | Python | itez/beneficiary/models.py | chriford/itez | 107efc0a25a4fb35a4db24a62bae2b8b958927da | [
"MIT"
] | null | null | null | itez/beneficiary/models.py | chriford/itez | 107efc0a25a4fb35a4db24a62bae2b8b958927da | [
"MIT"
] | null | null | null | itez/beneficiary/models.py | chriford/itez | 107efc0a25a4fb35a4db24a62bae2b8b958927da | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import gettext_lazy as _
| 28 | 54 | 0.845238 | 13 | 84 | 5.307692 | 0.769231 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 84 | 2 | 55 | 42 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b6de893f6ed64dc52767770328093f8398b5166 | 2,306 | py | Python | Magphi/write_output_csv.py | BiologicalScientist/Magphi | 6d04f6f7192d9c0ef8bfb5c9f4a032433c01de59 | [
"MIT"
] | null | null | null | Magphi/write_output_csv.py | BiologicalScientist/Magphi | 6d04f6f7192d9c0ef8bfb5c9f4a032433c01de59 | [
"MIT"
] | null | null | null | Magphi/write_output_csv.py | BiologicalScientist/Magphi | 6d04f6f7192d9c0ef8bfb5c9f4a032433c01de59 | [
"MIT"
] | null | null | null | import csv
import os
def write_seed_hit_matrix(master_seed_hits, seed_pairs, out_path):
with open(os.path.join(out_path, 'contig_hit_matrix.csv'), 'w') as out_file:
header = ['genome'] + list(seed_pairs.keys())
writer = csv.DictWriter(out_file, fieldnames=header)
# Write the field names o... | 32.478873 | 84 | 0.656548 | 311 | 2,306 | 4.62701 | 0.151125 | 0.058374 | 0.033357 | 0.044475 | 0.803336 | 0.803336 | 0.786657 | 0.747741 | 0.747741 | 0.747741 | 0 | 0 | 0.24111 | 2,306 | 70 | 85 | 32.942857 | 0.822286 | 0.120989 | 0 | 0.571429 | 0 | 0 | 0.05996 | 0.046085 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b929dd4ea418ffa5a0da38af6ff0f94d489b974 | 661 | py | Python | python/stock/time_chk.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/stock/time_chk.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | python/stock/time_chk.py | gangserver/py_test | 869bdfa5c94c3b6a15b87e0c3de6b2cdaca821f4 | [
"Apache-2.0"
] | null | null | null | import timeit
iteration_test = """
for i in itr :
pass
"""
print(timeit.timeit(iteration_test, setup='itr = list(range(10000))', number=1000))
print(timeit.timeit(iteration_test, setup='itr = tuple(range(10000))', number=1000))
print(timeit.timeit(iteration_test, setup='itr = set(range(10000))', number=1000))
... | 23.607143 | 84 | 0.70348 | 97 | 661 | 4.71134 | 0.268041 | 0.14442 | 0.223195 | 0.262582 | 0.833698 | 0.833698 | 0.794311 | 0.68709 | 0.538293 | 0.538293 | 0 | 0.095727 | 0.114977 | 661 | 27 | 85 | 24.481481 | 0.68547 | 0 | 0 | 0.235294 | 0 | 0 | 0.365152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.117647 | 0.117647 | 0 | 0.117647 | 0.352941 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d91549db35bf092776b203bd6616797c48a3f92e | 94 | py | Python | svgd/model/__init__.py | nel215/chainer-svgd | fd6bc0611cfb2aedb44ddfae25677344d17f64a5 | [
"Apache-2.0"
] | 1 | 2020-09-27T07:22:28.000Z | 2020-09-27T07:22:28.000Z | svgd/model/__init__.py | nel215/chainer-svgd | fd6bc0611cfb2aedb44ddfae25677344d17f64a5 | [
"Apache-2.0"
] | null | null | null | svgd/model/__init__.py | nel215/chainer-svgd | fd6bc0611cfb2aedb44ddfae25677344d17f64a5 | [
"Apache-2.0"
] | null | null | null | from svgd.model.multivariate_normal import MVN # noqa
from svgd.model.gmm import GMM # noqa
| 31.333333 | 54 | 0.787234 | 15 | 94 | 4.866667 | 0.6 | 0.219178 | 0.356164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 94 | 2 | 55 | 47 | 0.9125 | 0.095745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d92ec7aec07dd671a55c496f28ea788249d1b0c0 | 10,821 | py | Python | test/svid/jwtsvid/test_jwt_svid_validator.py | scotte/py-spiffe | a91217629dd6d9c8bf6e3b485e724cf598e26aa6 | [
"Apache-2.0"
] | null | null | null | test/svid/jwtsvid/test_jwt_svid_validator.py | scotte/py-spiffe | a91217629dd6d9c8bf6e3b485e724cf598e26aa6 | [
"Apache-2.0"
] | null | null | null | test/svid/jwtsvid/test_jwt_svid_validator.py | scotte/py-spiffe | a91217629dd6d9c8bf6e3b485e724cf598e26aa6 | [
"Apache-2.0"
] | null | null | null | import pytest
import datetime
from calendar import timegm
from pyspiffe.svid.jwt_svid_validator import (
JwtSvidValidator,
INVALID_INPUT_ERROR,
AUDIENCE_NOT_MATCH_ERROR,
)
from pyspiffe.svid.exceptions import (
TokenExpiredError,
InvalidClaimError,
InvalidAlgorithmError,
InvalidTypeError,
)... | 30.226257 | 88 | 0.485722 | 844 | 10,821 | 6.03436 | 0.104265 | 0.07422 | 0.046731 | 0.072256 | 0.828392 | 0.81131 | 0.809346 | 0.779894 | 0.759866 | 0.660711 | 0 | 0.009515 | 0.378431 | 10,821 | 357 | 89 | 30.310924 | 0.747696 | 0 | 0 | 0.538941 | 0 | 0 | 0.161599 | 0.048536 | 0 | 0 | 0 | 0 | 0.028037 | 1 | 0.028037 | false | 0 | 0.015576 | 0 | 0.043614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d935d30b90ce6629dc7cb9915b551868717a017b | 105 | py | Python | mispy/__init__.py | Te-k/mispy | 6d523d6f134d2bd38ec8264be74e73b68403da65 | [
"Apache-2.0"
] | 7 | 2019-06-06T15:30:42.000Z | 2021-09-13T08:40:09.000Z | mispy/__init__.py | Te-k/mispy | 6d523d6f134d2bd38ec8264be74e73b68403da65 | [
"Apache-2.0"
] | 10 | 2017-08-01T06:50:04.000Z | 2019-04-12T12:25:28.000Z | mispy/__init__.py | Te-k/mispy | 6d523d6f134d2bd38ec8264be74e73b68403da65 | [
"Apache-2.0"
] | 4 | 2017-11-23T16:57:40.000Z | 2019-04-02T13:43:17.000Z | from .misp import MispTag, MispEvent, MispServer, MispAttribute, MispShadowAttribute, MispTransportError
| 52.5 | 104 | 0.857143 | 9 | 105 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 105 | 1 | 105 | 105 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d93aee6c4425a37f7df8865d0b50b72c611ca8b6 | 199 | py | Python | best movie.py | Mukulphougat/Python | 4a12e5cb4ddff81dc6675695fcd1bdba8f2e2dd2 | [
"MIT"
] | null | null | null | best movie.py | Mukulphougat/Python | 4a12e5cb4ddff81dc6675695fcd1bdba8f2e2dd2 | [
"MIT"
] | null | null | null | best movie.py | Mukulphougat/Python | 4a12e5cb4ddff81dc6675695fcd1bdba8f2e2dd2 | [
"MIT"
] | null | null | null | # favourite movies
movies = input("\nEnter your favourite movies: ")
def favourite_movies(movies):
print("These are my favourite movies:- " + movies.title() + "!")
print(favourite_movies(movies)) | 39.8 | 68 | 0.723618 | 24 | 199 | 5.916667 | 0.458333 | 0.528169 | 0.591549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130653 | 199 | 5 | 69 | 39.8 | 0.820809 | 0.080402 | 0 | 0 | 0 | 0 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d947cd5b4f7e52a147c8d0008807e9c02d4cde7a | 91,949 | py | Python | test/unit/test_ibm_analytics_engine_api_v2.py | IBM/ibm-iae-python-sdk | 7d6abbb0fce1a703bfc953392024ca2d811b566b | [
"Apache-2.0"
] | null | null | null | test/unit/test_ibm_analytics_engine_api_v2.py | IBM/ibm-iae-python-sdk | 7d6abbb0fce1a703bfc953392024ca2d811b566b | [
"Apache-2.0"
] | 10 | 2021-07-22T06:29:53.000Z | 2022-03-11T07:50:24.000Z | test/unit/test_ibm_analytics_engine_api_v2.py | IBM/ibm-iae-python-sdk | 7d6abbb0fce1a703bfc953392024ca2d811b566b | [
"Apache-2.0"
] | 1 | 2020-06-29T15:15:15.000Z | 2020-06-29T15:15:15.000Z | # -*- coding: utf-8 -*-
# (C) Copyright IBM Corp. 2021.
#
# 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 l... | 51.310826 | 1,498 | 0.732058 | 9,864 | 91,949 | 6.380576 | 0.034976 | 0.12131 | 0.040198 | 0.027885 | 0.881598 | 0.856891 | 0.798008 | 0.731625 | 0.692491 | 0.646891 | 0 | 0.008593 | 0.19377 | 91,949 | 1,791 | 1,499 | 51.339475 | 0.840406 | 0.210203 | 0 | 0.500537 | 0 | 0.008593 | 0.139436 | 0.03254 | 0 | 0 | 0 | 0 | 0.106337 | 1 | 0.063373 | false | 0.038668 | 0.011815 | 0 | 0.138561 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79453538a003d572ab0794e0bb23bbe7764998d8 | 149 | py | Python | jumper/entities/weapon.py | ccmikechen/Jumper-Game | b68a03cdfee27cea2bfb321f77b57ce80904bef6 | [
"MIT"
] | null | null | null | jumper/entities/weapon.py | ccmikechen/Jumper-Game | b68a03cdfee27cea2bfb321f77b57ce80904bef6 | [
"MIT"
] | null | null | null | jumper/entities/weapon.py | ccmikechen/Jumper-Game | b68a03cdfee27cea2bfb321f77b57ce80904bef6 | [
"MIT"
] | 1 | 2017-12-19T17:42:52.000Z | 2017-12-19T17:42:52.000Z | from jumper.entities.item import Item
class Weapon(Item):
def trigger(self, env):
pass
def get_type(self):
return 'weapon'
| 16.555556 | 37 | 0.637584 | 20 | 149 | 4.7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268456 | 149 | 8 | 38 | 18.625 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0.040268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
79612f2794c1da3be1e55cd63bcf4f98020a9388 | 11,334 | py | Python | tests/show/test_show_show.py | questionlp/wwdtm | f3cf3399c22bf19e369e6e0250e7c72de0be3a90 | [
"Apache-2.0"
] | null | null | null | tests/show/test_show_show.py | questionlp/wwdtm | f3cf3399c22bf19e369e6e0250e7c72de0be3a90 | [
"Apache-2.0"
] | 1 | 2022-01-17T04:25:49.000Z | 2022-01-17T04:25:49.000Z | tests/show/test_show_show.py | questionlp/wwdtm | f3cf3399c22bf19e369e6e0250e7c72de0be3a90 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2021 Linh Pham
# wwdtm is released under the terms of the Apache License 2.0
"""Testing for object :py:class:`wwdtm.show.Show`
"""
import json
from typing import Any, Dict
import pytest
from wwdtm.show import Show
@pytest.mark.sk... | 36.918567 | 83 | 0.684401 | 1,722 | 11,334 | 4.328107 | 0.074332 | 0.106266 | 0.040118 | 0.056085 | 0.904468 | 0.889306 | 0.86113 | 0.826244 | 0.795787 | 0.733933 | 0 | 0.018433 | 0.195871 | 11,334 | 306 | 84 | 37.039216 | 0.79932 | 0.260985 | 0 | 0.44898 | 0 | 0 | 0.288188 | 0.033395 | 0 | 0 | 0 | 0 | 0.326531 | 1 | 0.156463 | false | 0 | 0.027211 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79635db127c8ed6164d6c727a589c3efbab2a7ac | 3,173 | py | Python | tests/test_frameshift_identification.py | mldmort/adVNTR | 412398924bc7f2ed1fa38c0c5456998d9cdd5b5a | [
"BSD-3-Clause"
] | 34 | 2017-11-19T18:54:18.000Z | 2022-03-04T15:06:55.000Z | tests/test_frameshift_identification.py | mldmort/adVNTR | 412398924bc7f2ed1fa38c0c5456998d9cdd5b5a | [
"BSD-3-Clause"
] | 42 | 2018-02-16T02:01:57.000Z | 2021-09-13T16:33:15.000Z | tests/test_frameshift_identification.py | mldmort/adVNTR | 412398924bc7f2ed1fa38c0c5456998d9cdd5b5a | [
"BSD-3-Clause"
] | 12 | 2018-02-26T15:18:55.000Z | 2021-01-27T13:02:39.000Z | import unittest
from advntr.reference_vntr import ReferenceVNTR
from advntr.vntr_finder import VNTRFinder
class TestFrameshiftIdentification(unittest.TestCase):
def get_reference_vntr(self, ru_count=10):
pattern = 'ACGTACGT'
ref_vntr = ReferenceVNTR(1, pattern, 1000, 'chr1', None, None)
... | 39.17284 | 114 | 0.737788 | 389 | 3,173 | 5.568123 | 0.14653 | 0.11542 | 0.126039 | 0.071099 | 0.811173 | 0.802862 | 0.802862 | 0.802862 | 0.802862 | 0.802862 | 0 | 0.017766 | 0.201702 | 3,173 | 80 | 115 | 39.6625 | 0.837347 | 0 | 0 | 0.57377 | 0 | 0 | 0.003782 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 1 | 0.147541 | false | 0 | 0.04918 | 0 | 0.245902 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7970c0c3efb6e36219fa1d003ac7d2ac48996ced | 45 | py | Python | backend/services/__init__.py | Psy-Rat/Todomadoro | 692893307575e6d23b2ecb4c86b0f00289fd3c30 | [
"MIT"
] | 2 | 2021-01-12T19:58:22.000Z | 2021-01-14T08:54:34.000Z | backend/services/__init__.py | Psy-Rat/Todomadoro | 692893307575e6d23b2ecb4c86b0f00289fd3c30 | [
"MIT"
] | null | null | null | backend/services/__init__.py | Psy-Rat/Todomadoro | 692893307575e6d23b2ecb4c86b0f00289fd3c30 | [
"MIT"
] | 2 | 2021-01-13T20:31:44.000Z | 2021-01-14T08:54:28.000Z | from .hello_service import hello, fakeDataApI | 45 | 45 | 0.866667 | 6 | 45 | 6.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7980b3d10980e91c9bfa0fbf629a90595b7c86fa | 100 | py | Python | views.py | henghasaint/forum | 7ab1ce5f6d3aaca5e4145b9a29935e0114dabd1d | [
"Apache-2.0"
] | null | null | null | views.py | henghasaint/forum | 7ab1ce5f6d3aaca5e4145b9a29935e0114dabd1d | [
"Apache-2.0"
] | null | null | null | views.py | henghasaint/forum | 7ab1ce5f6d3aaca5e4145b9a29935e0114dabd1d | [
"Apache-2.0"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, World!lcs")
| 16.666667 | 40 | 0.78 | 13 | 100 | 6 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 100 | 5 | 41 | 20 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
79bc7dbc08e9dfc2657c0035175bd05d6b647a88 | 194 | py | Python | lib/partitioning/__init__.py | xuzhiying9510/ncflow | 3f6f4a5b2c13ac8f6375b097b35f6c55b18d212e | [
"Artistic-1.0-cl8"
] | 15 | 2021-09-24T14:03:52.000Z | 2022-03-28T15:44:21.000Z | lib/partitioning/__init__.py | xuzhiying9510/ncflow | 3f6f4a5b2c13ac8f6375b097b35f6c55b18d212e | [
"Artistic-1.0-cl8"
] | 1 | 2021-12-14T09:05:29.000Z | 2021-12-16T11:55:55.000Z | lib/partitioning/__init__.py | xuzhiying9510/ncflow | 3f6f4a5b2c13ac8f6375b097b35f6c55b18d212e | [
"Artistic-1.0-cl8"
] | 5 | 2020-12-23T15:24:40.000Z | 2022-01-06T09:42:38.000Z | from .utils import *
from .hard_coded_partitioning import *
from .leader_election import *
from .networkx_partitioning import *
from .spectral_clustering import *
from .fm_partitioning import *
| 27.714286 | 38 | 0.814433 | 24 | 194 | 6.333333 | 0.5 | 0.328947 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 194 | 6 | 39 | 32.333333 | 0.894118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8daccf33a6bd9f94be46699835e299df7a5c61ed | 114 | py | Python | tests/abstracts/test_workflow.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 28 | 2017-09-19T11:53:22.000Z | 2019-12-17T12:18:43.000Z | tests/abstracts/test_workflow.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 21 | 2018-10-25T14:47:56.000Z | 2020-07-28T14:56:03.000Z | tests/abstracts/test_workflow.py | pcorpet/zenaton-python | 099c41627482a6fdc619833c2bec59dbc68cbcd4 | [
"MIT"
] | 2 | 2019-06-17T06:38:05.000Z | 2019-07-24T09:46:00.000Z | from zenaton.abstracts.workflow import Workflow
def test_has_handle():
assert hasattr(Workflow(), 'handle')
| 19 | 47 | 0.763158 | 14 | 114 | 6.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 48 | 22.8 | 0.858586 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dd1685a4ab1c46c6e02b47c080be568dd97a565 | 21 | py | Python | test.py | r-y-zadeh/MAC | 744f3785c1c029265a27a240ce60e49fc59d8eed | [
"Apache-2.0"
] | null | null | null | test.py | r-y-zadeh/MAC | 744f3785c1c029265a27a240ce60e49fc59d8eed | [
"Apache-2.0"
] | null | null | null | test.py | r-y-zadeh/MAC | 744f3785c1c029265a27a240ce60e49fc59d8eed | [
"Apache-2.0"
] | null | null | null | from app import User
| 10.5 | 20 | 0.809524 | 4 | 21 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5c22822844b7a19877e45ae4a6e3f3239b14d37c | 615 | py | Python | tests/test_Mini_CSV_Wrangler.py | Ankita0105/Mini_CSV_Wrangler_TakeHomeTest | b06c02b25f06c8fc39684a8ebf48753e63ee6381 | [
"MIT"
] | null | null | null | tests/test_Mini_CSV_Wrangler.py | Ankita0105/Mini_CSV_Wrangler_TakeHomeTest | b06c02b25f06c8fc39684a8ebf48753e63ee6381 | [
"MIT"
] | null | null | null | tests/test_Mini_CSV_Wrangler.py | Ankita0105/Mini_CSV_Wrangler_TakeHomeTest | b06c02b25f06c8fc39684a8ebf48753e63ee6381 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_Mini_CSV_Wrangler
----------------------------------
Tests for `Mini_CSV_Wrangler` module.
"""
import unittest
import Mini_CSV_Wrangler
from Mini_CSV_Wrangler import CSV_wrangler
from Mini_CSV_Wrangler.CSV_wrangler import wrangleCSV
class TestMini_csv_wrangle... | 19.83871 | 120 | 0.708943 | 74 | 615 | 5.527027 | 0.472973 | 0.295844 | 0.293399 | 0.09291 | 0.146699 | 0.146699 | 0 | 0 | 0 | 0 | 0 | 0.001919 | 0.152846 | 615 | 30 | 121 | 20.5 | 0.783109 | 0.226016 | 0 | 0.166667 | 0 | 0 | 0.20985 | 0.20985 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.25 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
30a197a439e6dbb3b56c7a365e42fda8e14f5f91 | 159 | py | Python | python/incometax/contributions/__init__.py | cryp2knight/pinoy-sweldo | 759be2977a9857ede3f0cc35926b05f3106ddc26 | [
"MIT"
] | null | null | null | python/incometax/contributions/__init__.py | cryp2knight/pinoy-sweldo | 759be2977a9857ede3f0cc35926b05f3106ddc26 | [
"MIT"
] | null | null | null | python/incometax/contributions/__init__.py | cryp2knight/pinoy-sweldo | 759be2977a9857ede3f0cc35926b05f3106ddc26 | [
"MIT"
] | null | null | null | from .pagibig_contribution import PagIBIGContribution
from .philhealth_contribution import PhilHealthContribution
from .sss_contribution import SSSContribution | 53 | 59 | 0.91195 | 15 | 159 | 9.466667 | 0.6 | 0.380282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069182 | 159 | 3 | 60 | 53 | 0.959459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30b59696220bf53853a643d8e8d6273a31eaa504 | 114 | py | Python | src/the_tale/the_tale/game/heroes/jinjaglobals.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | 1 | 2020-04-02T11:51:20.000Z | 2020-04-02T11:51:20.000Z | src/the_tale/the_tale/game/heroes/jinjaglobals.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null | src/the_tale/the_tale/game/heroes/jinjaglobals.py | devapromix/the-tale | 2a10efd3270734f8cf482b4cfbc5353ef8f0494c | [
"BSD-3-Clause"
] | null | null | null |
import smart_imports
smart_imports.all()
@dext_jinja2.jinjaglobal
def heroes_conf():
return conf.settings
| 11.4 | 24 | 0.780702 | 15 | 114 | 5.666667 | 0.8 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.140351 | 114 | 9 | 25 | 12.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
a5068619419f31c772035d468548d1280e68686f | 206 | py | Python | 8_kyu/Fundamentals_Return.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Fundamentals_Return.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | 8_kyu/Fundamentals_Return.py | UlrichBerntien/Codewars-Katas | bbd025e67aa352d313564d3862db19fffa39f552 | [
"MIT"
] | null | null | null | def add(a,b):
return a + b
def multiply(a,b):
return a * b
def divide(a,b):
return a / b
def mod(a,b):
return a % b
def exponent(a,b):
return a ** b
def subt(a,b):
return a - b
| 11.444444 | 18 | 0.533981 | 42 | 206 | 2.619048 | 0.238095 | 0.218182 | 0.436364 | 0.490909 | 0.681818 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315534 | 206 | 17 | 19 | 12.117647 | 0.780142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
eb7003898f524a3c1acb0157ff40287dc50be99f | 7,065 | py | Python | intrepid/jobs_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | 1 | 2020-07-08T04:41:52.000Z | 2020-07-08T04:41:52.000Z | intrepid/jobs_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | null | null | null | intrepid/jobs_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: jobs.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf i... | 42.053571 | 530 | 0.749186 | 925 | 7,065 | 5.412973 | 0.140541 | 0.051128 | 0.079688 | 0.070102 | 0.768924 | 0.748951 | 0.729778 | 0.729778 | 0.729778 | 0.709007 | 0 | 0.03267 | 0.124841 | 7,065 | 167 | 531 | 42.305389 | 0.777131 | 0.045718 | 0 | 0.699301 | 1 | 0.006993 | 0.176523 | 0.135364 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027972 | 0 | 0.027972 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eb9c9f5cd6cfaab3bae593376abaa1ccedc944d5 | 637 | py | Python | catalyst/tools/meters/__init__.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | catalyst/tools/meters/__init__.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | null | null | null | catalyst/tools/meters/__init__.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | 1 | 2020-12-02T18:42:31.000Z | 2020-12-02T18:42:31.000Z | # flake8: noqa
from catalyst.tools.meters.meter import Meter
from catalyst.tools.meters.apmeter import APMeter
from catalyst.tools.meters.aucmeter import AUCMeter
from catalyst.tools.meters.averagevaluemeter import AverageValueMeter
from catalyst.tools.meters.classerrormeter import ClassErrorMeter
from catalyst.tools.m... | 45.5 | 78 | 0.868132 | 75 | 637 | 7.333333 | 0.266667 | 0.218182 | 0.309091 | 0.418182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.076923 | 637 | 13 | 79 | 49 | 0.930272 | 0.018838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
eba9a705ba8731c2bb8f98c6b6a3c4cfc2b0e8d0 | 38,097 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/64.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/64.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/64.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3755
passenger_arriving = (
(6, 6, 5, 6, 1, 0, 11, 10, 4, 4, 3, 0), # 0
(6, 9, 11, 9, 2, 0, 6, 9, 4, 7, 1, 0), # 1
(2, 3, 4, 2, 3, 0, 6, 6, 8, 7, 0, 0), # 2
(7, 12, 9, 7, 4, 0, 6, 5, 11, 9, 1, 0), # 3
(2, 4, 13, 7, 4, 0, 7, 8, 5, 8, 0, 0), # 4
(2, 14, 8, 4, 4, 0, 10, 7, ... | 113.722388 | 214 | 0.730582 | 5,147 | 38,097 | 5.405479 | 0.234311 | 0.310546 | 0.245849 | 0.465818 | 0.325929 | 0.325929 | 0.325498 | 0.325498 | 0.325498 | 0.325498 | 0 | 0.820147 | 0.118487 | 38,097 | 334 | 215 | 114.062874 | 0.008308 | 0.031787 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ebdff6d19988383e59772b211f07066d15b30be5 | 49 | py | Python | tapioca_amarilis/__init__.py | imoveisamarilis/tapioca-amarilis | 86b5a34e2a4a47960f25d011b6f0fd6027129efb | [
"MIT"
] | null | null | null | tapioca_amarilis/__init__.py | imoveisamarilis/tapioca-amarilis | 86b5a34e2a4a47960f25d011b6f0fd6027129efb | [
"MIT"
] | null | null | null | tapioca_amarilis/__init__.py | imoveisamarilis/tapioca-amarilis | 86b5a34e2a4a47960f25d011b6f0fd6027129efb | [
"MIT"
] | null | null | null | from .tapioca_amarilis import AmarilisV1 # noqa
| 24.5 | 48 | 0.816327 | 6 | 49 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.142857 | 49 | 1 | 49 | 49 | 0.904762 | 0.081633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
694c21c5045304b6bce61d013e54d7ea7c67f723 | 17,026 | py | Python | pyVmomi/_typeinfo_hmsdrs.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_hmsdrs.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | pyVmomi/_typeinfo_hmsdrs.py | xweichu/pyvmomi | 77aedef02974a63517a079c482e49fd9890c09a4 | [
"Apache-2.0"
] | null | null | null | # ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from .VmomiSupport import CreateDataType, CreateManagedType
from .VmomiSupport import CreateEnumType
from .VmomiSupport import AddVersion, AddVersionParent
from .VmomiSupport import AddBreakingChangesInfo
from .VmomiSupport import F_LINK, F_LINKABLE
from .Vm... | 91.537634 | 1,159 | 0.783096 | 1,722 | 17,026 | 7.734611 | 0.086527 | 0.11187 | 0.16788 | 0.04625 | 0.75779 | 0.711089 | 0.47451 | 0.280952 | 0.113147 | 0.075531 | 0 | 0.028472 | 0.040761 | 17,026 | 185 | 1,160 | 92.032432 | 0.787044 | 0.003465 | 0 | 0 | 1 | 0 | 0.647215 | 0.404067 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.044199 | 0 | 0.044199 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15e2a1d0df664dbad0b2a610394581778b632b87 | 5,755 | py | Python | test/test_models.py | seung-lab/pytorch-emvision | 09b10afdd5d6326e8c704dbeca05b9668fadeee1 | [
"MIT"
] | null | null | null | test/test_models.py | seung-lab/pytorch-emvision | 09b10afdd5d6326e8c704dbeca05b9668fadeee1 | [
"MIT"
] | null | null | null | test/test_models.py | seung-lab/pytorch-emvision | 09b10afdd5d6326e8c704dbeca05b9668fadeee1 | [
"MIT"
] | 1 | 2020-03-18T18:38:50.000Z | 2020-03-18T18:38:50.000Z | import torch
import emvision
import unittest
class Tester(unittest.TestCase):
def test_rsunet(self):
from emvision.models import RSUNet
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
net = RSUNet(width=[3,4,5,6]).to(device)
x = torch.randn(1,3,20,256,256).to... | 39.417808 | 101 | 0.602259 | 902 | 5,755 | 3.720621 | 0.078714 | 0.076281 | 0.055721 | 0.101311 | 0.893921 | 0.875447 | 0.855185 | 0.820918 | 0.79708 | 0.795888 | 0 | 0.066091 | 0.234926 | 5,755 | 145 | 102 | 39.689655 | 0.696116 | 0.042572 | 0 | 0.522523 | 0 | 0 | 0.046588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144144 | false | 0 | 0.171171 | 0 | 0.324324 | 0.054054 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
15e6b1b76c1d36c2578fe512e91dade46e8e3fa3 | 297 | py | Python | tools/lib_alignments/__init__.py | RedPillGroup/RedPillFaceSwap | 2313d4fe0e6e7b579ce450d556ad4fd6bd0cbed6 | [
"MIT"
] | 1 | 2020-04-14T22:16:50.000Z | 2020-04-14T22:16:50.000Z | tools/lib_alignments/__init__.py | RedPillGroup/RedPillFaceSwap | 2313d4fe0e6e7b579ce450d556ad4fd6bd0cbed6 | [
"MIT"
] | null | null | null | tools/lib_alignments/__init__.py | RedPillGroup/RedPillFaceSwap | 2313d4fe0e6e7b579ce450d556ad4fd6bd0cbed6 | [
"MIT"
] | 2 | 2020-04-14T22:17:09.000Z | 2020-10-30T03:01:13.000Z | from tools.lib_alignments.media import AlignmentData, ExtractedFaces, Faces, Frames
from tools.lib_alignments.annotate import Annotate
from tools.lib_alignments.jobs import Check, Draw, Extract, Legacy, Reformat, RemoveAlignments, Sort, Spatial
from tools.lib_alignments.jobs_manual import Manual
| 59.4 | 109 | 0.851852 | 39 | 297 | 6.358974 | 0.538462 | 0.145161 | 0.193548 | 0.354839 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087542 | 297 | 4 | 110 | 74.25 | 0.915129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c63925560585002e64736e717f57ac53718a8d4e | 26 | py | Python | dtbot/bitso/dao/mssql/__init__.py | oxsoftdev/dt-bot | e06633134e382e340a7d017e300f65492720c514 | [
"MIT"
] | null | null | null | dtbot/bitso/dao/mssql/__init__.py | oxsoftdev/dt-bot | e06633134e382e340a7d017e300f65492720c514 | [
"MIT"
] | null | null | null | dtbot/bitso/dao/mssql/__init__.py | oxsoftdev/dt-bot | e06633134e382e340a7d017e300f65492720c514 | [
"MIT"
] | null | null | null | from .Store import Store
| 13 | 25 | 0.769231 | 4 | 26 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c63c759bc1ec6dc66f92bf74078363ce8f9a6841 | 106 | py | Python | get_together/context_processors.py | alysivji/GetTogether | 403d9945fff019701de41d081ad4452e771e1ce1 | [
"BSD-2-Clause"
] | 446 | 2018-01-21T09:22:41.000Z | 2022-03-25T17:46:12.000Z | get_together/context_processors.py | alysivji/GetTogether | 403d9945fff019701de41d081ad4452e771e1ce1 | [
"BSD-2-Clause"
] | 272 | 2018-01-03T16:55:39.000Z | 2022-03-11T23:12:30.000Z | get_together/context_processors.py | alysivji/GetTogether | 403d9945fff019701de41d081ad4452e771e1ce1 | [
"BSD-2-Clause"
] | 100 | 2018-01-27T02:04:15.000Z | 2021-09-09T09:02:21.000Z | from django.conf import settings
def theme_engine(request):
return {"theme": settings.THEME_CONFIG}
| 17.666667 | 43 | 0.764151 | 14 | 106 | 5.642857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 44 | 21.2 | 0.868132 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d672cdc364b28bcca969b01accbbefe123fc4f1e | 10,656 | py | Python | pyjets/read_nc.py | airam-software/pyjets | 7693b007955f17a8e5ab8e49301485b33c8d113d | [
"BSD-3-Clause"
] | null | null | null | pyjets/read_nc.py | airam-software/pyjets | 7693b007955f17a8e5ab8e49301485b33c8d113d | [
"BSD-3-Clause"
] | null | null | null | pyjets/read_nc.py | airam-software/pyjets | 7693b007955f17a8e5ab8e49301485b33c8d113d | [
"BSD-3-Clause"
] | null | null | null | '''
Copyright (c) 2021 María Rodríguez
Process netcdf data
'''
import datetime as dt
import fnmatch
import os
import h5py
import numpy as np
import pandas as pd
from netCDF4 import Dataset, num2date
def convertnc2h5(study_variable, model_name, period, level, path):
if period == 'piControl' or period == 'abrupt-... | 34.153846 | 116 | 0.578829 | 1,443 | 10,656 | 4.020097 | 0.121275 | 0.037063 | 0.048095 | 0.038614 | 0.789691 | 0.778831 | 0.76573 | 0.76573 | 0.76573 | 0.746251 | 0 | 0.024739 | 0.290634 | 10,656 | 311 | 117 | 34.263666 | 0.742691 | 0.101258 | 0 | 0.796209 | 0 | 0 | 0.102107 | 0.008325 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023697 | false | 0 | 0.033175 | 0 | 0.080569 | 0.132701 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d674fa34c753b60d858ae20d67cc7249980a8e49 | 34 | py | Python | nubia_score/__init__.py | LazerLambda/nubia | 7316dfa15822f8c879ab849aa0f6b04a9ecf231a | [
"MIT"
] | 53 | 2020-05-01T06:37:18.000Z | 2022-03-15T15:50:15.000Z | nubia_score/__init__.py | LazerLambda/nubia | 7316dfa15822f8c879ab849aa0f6b04a9ecf231a | [
"MIT"
] | 1 | 2020-05-01T06:54:30.000Z | 2020-05-01T09:00:15.000Z | nubia_score/__init__.py | LazerLambda/nubia | 7316dfa15822f8c879ab849aa0f6b04a9ecf231a | [
"MIT"
] | 13 | 2020-05-01T08:55:36.000Z | 2022-03-11T15:17:22.000Z | from nubia_score.nubia import *
| 8.5 | 31 | 0.764706 | 5 | 34 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 3 | 32 | 11.333333 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d69070338b6a6ba6a997dd8cdad2714e6ff89c12 | 80 | py | Python | game/__init__.py | justinmeister/spaceinvaders-spyral | e735751db21a7595741fb8a62a875a08c95955af | [
"MIT"
] | 1 | 2017-09-01T07:36:57.000Z | 2017-09-01T07:36:57.000Z | game/__init__.py | justinmeister/spaceinvaders-spyral | e735751db21a7595741fb8a62a875a08c95955af | [
"MIT"
] | null | null | null | game/__init__.py | justinmeister/spaceinvaders-spyral | e735751db21a7595741fb8a62a875a08c95955af | [
"MIT"
] | null | null | null | import spyral
import level
def main():
spyral.director.push(level.Level1()) | 16 | 40 | 0.7375 | 11 | 80 | 5.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.1375 | 80 | 5 | 40 | 16 | 0.84058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d693c8ecbacfe6eb6ad3176fd32d1bbea8390b43 | 104 | py | Python | Lecture/Example/lec05/1_apply_twice.py | zzr2311559/CS61a-fall2020 | 60b1d53945d2b2caeb01421841da6307c633f562 | [
"MIT"
] | null | null | null | Lecture/Example/lec05/1_apply_twice.py | zzr2311559/CS61a-fall2020 | 60b1d53945d2b2caeb01421841da6307c633f562 | [
"MIT"
] | null | null | null | Lecture/Example/lec05/1_apply_twice.py | zzr2311559/CS61a-fall2020 | 60b1d53945d2b2caeb01421841da6307c633f562 | [
"MIT"
] | null | null | null | def apply_twice(f, x):
return f(f(x))
def square(x):
return x * x
result = apply_twice(square, 2)
| 13 | 31 | 0.644231 | 20 | 104 | 3.25 | 0.45 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.201923 | 104 | 7 | 32 | 14.857143 | 0.771084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d6ae2f71c37cbdbf0b5b26057befdc74d6582393 | 79 | py | Python | flubber/__init__.py | braincow/flubber | 691f1fd441d03fc9e093d9dabc7fd8940d1bef27 | [
"MIT"
] | null | null | null | flubber/__init__.py | braincow/flubber | 691f1fd441d03fc9e093d9dabc7fd8940d1bef27 | [
"MIT"
] | 9 | 2018-04-02T07:41:11.000Z | 2018-04-12T08:40:53.000Z | flubber/__init__.py | braincow/flubber | 691f1fd441d03fc9e093d9dabc7fd8940d1bef27 | [
"MIT"
] | null | null | null | import gi
gi.require_version('Gtk', '3.0')
gi.require_version('Notify', '0.7')
| 19.75 | 35 | 0.696203 | 14 | 79 | 3.785714 | 0.642857 | 0.339623 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.075949 | 79 | 3 | 36 | 26.333333 | 0.671233 | 0 | 0 | 0 | 0 | 0 | 0.189873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d6c3b917f71264a63bf3a7db044def0053796375 | 337 | py | Python | pykotor/resource/formats/tpc/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-02-21T15:17:28.000Z | 2022-02-21T15:17:28.000Z | pykotor/resource/formats/tpc/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | 1 | 2022-03-12T16:06:23.000Z | 2022-03-12T16:06:23.000Z | pykotor/resource/formats/tpc/__init__.py | NickHugi/PyKotor | cab1089f8a8a135861bef45340203718d39f5e1f | [
"MIT"
] | null | null | null | from pykotor.resource.formats.tpc.data import TPC, TPCTextureFormat
from pykotor.resource.formats.tpc.io_tpc import TPCBinaryReader, TPCBinaryWriter
from pykotor.resource.formats.tpc.io_tga import TPCTGAWriter
from pykotor.resource.formats.tpc.io_bmp import TPCBMPWriter
from pykotor.resource.formats.tpc.auto import loa... | 56.166667 | 80 | 0.863501 | 48 | 337 | 5.958333 | 0.375 | 0.192308 | 0.332168 | 0.454545 | 0.527972 | 0.325175 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068249 | 337 | 5 | 81 | 67.4 | 0.910828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6d4b94e16ee0c3404cf7806927dc1fca4e43e71 | 2,068 | py | Python | tests/test_person.py | alexandre-labs/twodo_repositories | 470ee780a00e913a1496aed65945ecd59f136334 | [
"MIT"
] | null | null | null | tests/test_person.py | alexandre-labs/twodo_repositories | 470ee780a00e913a1496aed65945ecd59f136334 | [
"MIT"
] | null | null | null | tests/test_person.py | alexandre-labs/twodo_repositories | 470ee780a00e913a1496aed65945ecd59f136334 | [
"MIT"
] | null | null | null | import pytest
from twodo_domain.person import Person
from twodo_repositories.person import IPersonRepository, IPersonRepositoryException
def test_person_repo_missing_create_method():
class TestPersonRepository(IPersonRepository):
def retrieve(self, person_data):
pass
def update(self,... | 23.5 | 83 | 0.658607 | 198 | 2,068 | 6.666667 | 0.186869 | 0.121212 | 0.127273 | 0.163636 | 0.709848 | 0.655303 | 0.655303 | 0.609091 | 0.609091 | 0.609091 | 0 | 0 | 0.272244 | 2,068 | 87 | 84 | 23.770115 | 0.877076 | 0 | 0 | 0.775862 | 0 | 0 | 0.01354 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.362069 | false | 0.275862 | 0.051724 | 0 | 0.517241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ba3d8c81275b8db5d5dff64c26b7991fd75914b9 | 113 | py | Python | steerclear/settings/unix_settings.py | beblount/Steer-Clear-Backend-Web | 2aca521bad5f9a09c912f8e546f46bd39610544f | [
"MIT"
] | null | null | null | steerclear/settings/unix_settings.py | beblount/Steer-Clear-Backend-Web | 2aca521bad5f9a09c912f8e546f46bd39610544f | [
"MIT"
] | null | null | null | steerclear/settings/unix_settings.py | beblount/Steer-Clear-Backend-Web | 2aca521bad5f9a09c912f8e546f46bd39610544f | [
"MIT"
] | null | null | null | SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/steerclear.db'
TEST_SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/test.db'
| 37.666667 | 56 | 0.769912 | 15 | 113 | 5.466667 | 0.533333 | 0.439024 | 0.512195 | 0.658537 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 113 | 2 | 57 | 56.5 | 0.766355 | 0 | 0 | 0 | 0 | 0 | 0.442478 | 0.442478 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba4119cddb47a4671e4e3d6f3442a71cf511ede1 | 5,228 | py | Python | tests/test_museumapi.py | VinayArora404219/museum-api | 8c3871a1c39ec3183a9d43183d64c9d2538825a3 | [
"MIT"
] | null | null | null | tests/test_museumapi.py | VinayArora404219/museum-api | 8c3871a1c39ec3183a9d43183d64c9d2538825a3 | [
"MIT"
] | null | null | null | tests/test_museumapi.py | VinayArora404219/museum-api | 8c3871a1c39ec3183a9d43183d64c9d2538825a3 | [
"MIT"
] | null | null | null | """
Tests for museumapi module.
"""
import json
import logging
import unittest
import os
import sys
from unittest.mock import patch, Mock
from museum_api.museumapi import MuseumAPI
logging.basicConfig(
filename='logs/test_museumapi_error.log',
level=logging.ERROR,
format='[%(asctime)s] {%(pathname... | 38.441176 | 100 | 0.639059 | 707 | 5,228 | 4.507779 | 0.188119 | 0.053655 | 0.040791 | 0.033888 | 0.807342 | 0.804205 | 0.787888 | 0.787888 | 0.787888 | 0.787888 | 0 | 0.002634 | 0.27391 | 5,228 | 135 | 101 | 38.725926 | 0.836934 | 0.303366 | 0 | 0.391304 | 0 | 0.014493 | 0.125688 | 0.090935 | 0 | 0 | 0 | 0.007407 | 0.057971 | 1 | 0.072464 | false | 0 | 0.101449 | 0 | 0.188406 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bac5fb393b25c64375b36fa4868b793b8349cedb | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/spdx/updater.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/spdx/updater.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/spdx/updater.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/a5/59/c7/21bc506d29e89823b8ccfa01f15735c723136bc29109083e0cb6a8f687 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.458333 | 0 | 96 | 1 | 96 | 96 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bae4eefb32643ebc8300f850daba590a47a5c3fd | 343 | py | Python | http_utils/recs/__init__.py | Kolyada/grouple-recsys-production | 11ec687a18084dcabb25fcc90f0a0ba51da6d24c | [
"MIT"
] | null | null | null | http_utils/recs/__init__.py | Kolyada/grouple-recsys-production | 11ec687a18084dcabb25fcc90f0a0ba51da6d24c | [
"MIT"
] | 4 | 2022-02-03T09:52:29.000Z | 2022-03-31T20:43:48.000Z | http_utils/recs/__init__.py | Kolyada/grouple-recsys-production | 11ec687a18084dcabb25fcc90f0a0ba51da6d24c | [
"MIT"
] | 3 | 2022-03-25T05:51:05.000Z | 2022-03-29T06:55:23.000Z | from .exploration_recommendations_handler import ExplorationRecommendationsHandler
from .personal_similar_items_handler import PersonalSimilarItemsHandler
from .recommendation_handler import RecommendHandler
from .similar_items_handler import SimilarItemsHandler
from .top_popular_recommendation_handler import TopPopula... | 57.166667 | 82 | 0.927114 | 31 | 343 | 9.903226 | 0.516129 | 0.211726 | 0.123779 | 0.162866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058309 | 343 | 5 | 83 | 68.6 | 0.950464 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
240340e7d07f4f45e99b9c0a7de3ac96e934231a | 44 | py | Python | basic/import.py | Simba1992/python_programs | 1d23804e882a94fb34d1f2f846d0ee772d272568 | [
"Apache-2.0"
] | null | null | null | basic/import.py | Simba1992/python_programs | 1d23804e882a94fb34d1f2f846d0ee772d272568 | [
"Apache-2.0"
] | null | null | null | basic/import.py | Simba1992/python_programs | 1d23804e882a94fb34d1f2f846d0ee772d272568 | [
"Apache-2.0"
] | null | null | null | from function import test
print(test(50))
| 14.666667 | 26 | 0.75 | 7 | 44 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.159091 | 44 | 2 | 27 | 22 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
241473c59d70dce8cb503a8d1922379b63959485 | 146 | py | Python | frappe_health_ec/frappe_health_ec/doctype/patient/test_patient.py | lapillaga/frappe_health_ec | 5675e3da97550b6e8cf10d15d342144818ec2fee | [
"MIT"
] | null | null | null | frappe_health_ec/frappe_health_ec/doctype/patient/test_patient.py | lapillaga/frappe_health_ec | 5675e3da97550b6e8cf10d15d342144818ec2fee | [
"MIT"
] | null | null | null | frappe_health_ec/frappe_health_ec/doctype/patient/test_patient.py | lapillaga/frappe_health_ec | 5675e3da97550b6e8cf10d15d342144818ec2fee | [
"MIT"
] | null | null | null | # Copyright (c) 2021, Lugo S.A.S and Contributors
# See license.txt
# import frappe
import unittest
class TestPatient(unittest.TestCase):
pass
| 16.222222 | 49 | 0.760274 | 21 | 146 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.150685 | 146 | 8 | 50 | 18.25 | 0.862903 | 0.527397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0304267d492aee060a2162eb70babc462bba1ab7 | 73 | py | Python | ppcd/transforms/__init__.py | geoyee/PdRSCD | 4a1a7256320f006c15e3e5b5b238fdfba8198853 | [
"Apache-2.0"
] | 44 | 2021-04-21T02:41:55.000Z | 2022-03-09T03:01:16.000Z | ppcd/transforms/__init__.py | MinZHANG-WHU/PdRSCD | 612976225201d78adc7ff99529ada17b41fedc5d | [
"Apache-2.0"
] | 2 | 2021-09-30T07:52:47.000Z | 2022-02-12T09:05:35.000Z | ppcd/transforms/__init__.py | MinZHANG-WHU/PdRSCD | 612976225201d78adc7ff99529ada17b41fedc5d | [
"Apache-2.0"
] | 6 | 2021-07-23T02:18:39.000Z | 2022-01-14T01:15:50.000Z | from .transforms import *
from .enhance import *
from . import functional | 24.333333 | 25 | 0.780822 | 9 | 73 | 6.333333 | 0.555556 | 0.350877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 3 | 26 | 24.333333 | 0.919355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
033015a113d7564bc1822258480a9e14bea77be5 | 116 | py | Python | src/domain/errors/invalid_image_to_normalize_failure.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/domain/errors/invalid_image_to_normalize_failure.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | src/domain/errors/invalid_image_to_normalize_failure.py | OzielFilho/ProjetoFinalPdi | c9e6fe415f1a985d6eeac204580d3ab623026665 | [
"MIT"
] | null | null | null | from domain.errors.image_failure import ImageFailure
class InvalidImageToNormalizeFailure(ImageFailure):
pass
| 19.333333 | 52 | 0.844828 | 11 | 116 | 8.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 5 | 53 | 23.2 | 0.941748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0345a447c1cb133f5b2eb35c6bb1edbcadc5b697 | 1,091 | py | Python | output/fed14/early_lm_run.py | imsure318/ecir2017-fusion | f6ba449c8cad3e8c488283d6f8d90924305ec034 | [
"BSD-4-Clause"
] | 1 | 2017-11-09T15:21:30.000Z | 2017-11-09T15:21:30.000Z | output/fed14/early_lm_run.py | iai-group/ecir2017-fusion | 3b020a7c99666666c34b0439648edc39fbab0441 | [
"BSD-4-Clause"
] | null | null | null | output/fed14/early_lm_run.py | iai-group/ecir2017-fusion | 3b020a7c99666666c34b0439648edc39fbab0441 | [
"BSD-4-Clause"
] | 4 | 2017-01-31T07:45:33.000Z | 2020-08-08T17:53:36.000Z | from nordlys.logic.fusion.fusion_scorer_early_lm import EarlyFusionScorer
if __name__ == "__main__":
index_name = "fedweb14"
assoc_file = "data/trecfed/assoc_fed14.txt"
assoc_mode = 1
retr_params = {"lambda": 0.1}
ef = EarlyFusionScorer(index_name, assoc_file, assoc_mode, retr_params, num = 10000)
... | 40.407407 | 89 | 0.730522 | 151 | 1,091 | 4.980132 | 0.311258 | 0.047872 | 0.079787 | 0.058511 | 0.837766 | 0.837766 | 0.837766 | 0.837766 | 0.726064 | 0.726064 | 0 | 0.059146 | 0.163153 | 1,091 | 26 | 90 | 41.961538 | 0.764513 | 0.11549 | 0 | 0.545455 | 0 | 0 | 0.209761 | 0.172378 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cee161ceb52bd6d204be2dbdadace990e8f4d2f3 | 161 | py | Python | pineboolib/fllegacy/fljasperengine.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 2 | 2017-12-10T23:06:16.000Z | 2017-12-10T23:06:23.000Z | pineboolib/fllegacy/fljasperengine.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 36 | 2017-11-05T21:13:47.000Z | 2020-08-26T15:56:15.000Z | pineboolib/fllegacy/fljasperengine.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 8 | 2017-11-05T15:56:31.000Z | 2019-04-25T16:32:28.000Z | """FLJasperEngine module."""
from PyQt6 import QtCore # type: ignore[import]
class FLJasperEngine(QtCore.QObject):
"""FLJasperEngine class."""
pass
| 16.1 | 48 | 0.695652 | 16 | 161 | 7 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.167702 | 161 | 9 | 49 | 17.888889 | 0.828358 | 0.409938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
3001dbc404c08a9f2a0a71f157869804700c4bf2 | 37,217 | py | Python | DXFImporter/lib/ezdxf/tools/pattern.py | tapnair/DXFImporter | c86cde0b4420ca7d0c5e3569675acd2d4426667f | [
"MIT"
] | 2 | 2021-07-28T03:52:02.000Z | 2021-07-31T05:08:11.000Z | DXFImporter/lib/ezdxf/tools/pattern.py | tapnair/DXFImporter | c86cde0b4420ca7d0c5e3569675acd2d4426667f | [
"MIT"
] | 1 | 2020-04-28T17:52:26.000Z | 2020-10-07T01:28:56.000Z | DXFImporter/lib/ezdxf/tools/pattern.py | tapnair/DXFImporter | c86cde0b4420ca7d0c5e3569675acd2d4426667f | [
"MIT"
] | 1 | 2021-07-31T05:08:12.000Z | 2021-07-31T05:08:12.000Z | # Purpose: Standard definitions
# Created: 08.07.2015
# Copyright (c) 2015-2020, Manfred Moitzi
# License: MIT License
# pattern type: predefined (1)
PATTERN_OLD = {
"ANSI31": [[45.0, (0.0, 0.0), (-0.0884, 0.0884), []]],
"ANSI32": [
[45.0, (0.0, 0.0), (-0.2652, 0.2652), []],
[45.0, (0.1768, 0.0... | 44.517943 | 88 | 0.365989 | 7,796 | 37,217 | 1.738199 | 0.091329 | 0.279979 | 0.268984 | 0.253856 | 0.653384 | 0.612427 | 0.567486 | 0.512213 | 0.41805 | 0.369567 | 0 | 0.440927 | 0.265873 | 37,217 | 835 | 89 | 44.571257 | 0.055047 | 0.003735 | 0 | 0.343902 | 0 | 0 | 0.028539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006098 | false | 0 | 0.00122 | 0.002439 | 0.013415 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
30219b3fff57bfd90f74d60a593c4bc95ad04dd6 | 30 | py | Python | srfnef/postprocess/imgq/index_correction/__init__.py | twj2417/srf | 63365cfd75199d70eea2273214a4fa580a9fdf2a | [
"Apache-2.0"
] | 81 | 2020-11-16T00:31:19.000Z | 2022-03-16T02:49:45.000Z | srfnef/postprocess/imgq/index_correction/__init__.py | twj2417/srf | 63365cfd75199d70eea2273214a4fa580a9fdf2a | [
"Apache-2.0"
] | 7 | 2020-11-25T13:30:17.000Z | 2021-09-16T03:38:45.000Z | srfnef/postprocess/imgq/index_correction/__init__.py | twj2417/srf | 63365cfd75199d70eea2273214a4fa580a9fdf2a | [
"Apache-2.0"
] | 8 | 2020-12-09T11:18:40.000Z | 2021-07-26T06:05:50.000Z | from .accuracy import accuracy | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
064b4319173009e11b92015c2da63aefe00d2047 | 6,214 | py | Python | pony/orm/tests/test_time_parsing.py | ProgHaj/pony | 52720af1728ab2931364be8615e18ad8714a7c9e | [
"Apache-2.0"
] | 2,628 | 2015-01-02T17:55:28.000Z | 2022-03-31T10:36:42.000Z | pony/orm/tests/test_time_parsing.py | ProgHaj/pony | 52720af1728ab2931364be8615e18ad8714a7c9e | [
"Apache-2.0"
] | 525 | 2015-01-03T20:30:08.000Z | 2022-03-23T12:30:01.000Z | pony/orm/tests/test_time_parsing.py | ProgHaj/pony | 52720af1728ab2931364be8615e18ad8714a7c9e | [
"Apache-2.0"
] | 256 | 2015-01-02T17:55:31.000Z | 2022-03-20T17:01:37.000Z | from __future__ import absolute_import, print_function, division
import unittest
from datetime import datetime, date, time
from pony.orm.tests.testutils import raises_exception
from pony.converting import str2time
class TestTimeParsing(unittest.TestCase):
def test_time_1(self):
self.assertEqual(str2time... | 48.546875 | 89 | 0.626328 | 929 | 6,214 | 4.137783 | 0.087191 | 0.296566 | 0.454735 | 0.14308 | 0.862643 | 0.817638 | 0.712019 | 0.649324 | 0.613684 | 0.548127 | 0 | 0.190238 | 0.195526 | 6,214 | 127 | 90 | 48.929134 | 0.578716 | 0.001126 | 0 | 0.342593 | 0 | 0 | 0.153586 | 0 | 0 | 0 | 0 | 0 | 0.703704 | 1 | 0.12963 | false | 0 | 0.046296 | 0 | 0.185185 | 0.009259 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.