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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6c86b15515e327965ee5497f6f2e6a47092fb4f | 21 | py | Python | Tabular_MixUp/__init__.py | muellerzr/FastAI-Experiments-and-tips | beb244b28658ad88be3a917c97f73709f4472d3d | [
"Apache-2.0"
] | 49 | 2019-07-27T14:26:46.000Z | 2021-07-23T01:16:58.000Z | Tabular_MixUp/__init__.py | muellerzr/FastAI-Experiments-and-tips | beb244b28658ad88be3a917c97f73709f4472d3d | [
"Apache-2.0"
] | 2 | 2020-03-22T21:57:58.000Z | 2021-02-26T16:28:33.000Z | Tabular_MixUp/__init__.py | muellerzr/FastAI-Experiments-and-tips | beb244b28658ad88be3a917c97f73709f4472d3d | [
"Apache-2.0"
] | 8 | 2019-10-22T23:37:19.000Z | 2022-02-23T06:50:47.000Z | from .MixUp import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 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 |
f6df6224c6ff5a11e59da6e7c4aa1be080aa2799 | 14,599 | py | Python | tests/api/v3_1_1/test_security_groups.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_1_1/test_security_groups.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_1_1/test_security_groups.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI security_groups API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software withou... | 30.351351 | 109 | 0.70998 | 1,758 | 14,599 | 5.568259 | 0.117179 | 0.087649 | 0.050567 | 0.057309 | 0.831546 | 0.822249 | 0.817857 | 0.80805 | 0.802636 | 0.774543 | 0 | 0.016719 | 0.217481 | 14,599 | 480 | 110 | 30.414583 | 0.840161 | 0.079526 | 0 | 0.684492 | 0 | 0 | 0.060904 | 0.025612 | 0 | 0 | 0 | 0 | 0.128342 | 1 | 0.106952 | false | 0 | 0.013369 | 0 | 0.205882 | 0.02139 | 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 |
f6e74a7f77aa3a6490a7a5e5a3c3c85eb7403051 | 12,227 | py | Python | proxytester.py | DumbDannyLol/ProxyChecker | 10be8cb4211504d22ed545e89cd790acddd1cccb | [
"MIT"
] | 3 | 2022-01-03T23:28:19.000Z | 2022-02-02T08:14:49.000Z | proxytester.py | DumbDannyLol/ProxyChecker | 10be8cb4211504d22ed545e89cd790acddd1cccb | [
"MIT"
] | 1 | 2022-02-02T08:23:34.000Z | 2022-02-02T08:23:34.000Z | proxytester.py | DumbDannyLol/ProxyChecker | 10be8cb4211504d22ed545e89cd790acddd1cccb | [
"MIT"
] | null | null | null | #imports
import time
import os
import requests
import art
from time import *
from time import time
from requests import Session
import threading
import logging
import timeit
from time import time, strftime, gmtime, sleep
#installs
print("""
██████╗░██████╗░░█████╗░██╗░░██╗██╗░░░██╗░█████╗░█... | 37.97205 | 131 | 0.511164 | 1,322 | 12,227 | 5.030257 | 0.149773 | 0.049624 | 0.037895 | 0.039699 | 0.75188 | 0.75188 | 0.75188 | 0.736241 | 0.728872 | 0.714737 | 0 | 0.020689 | 0.316104 | 12,227 | 321 | 132 | 38.090343 | 0.704975 | 0.011777 | 0 | 0.736 | 0 | 0.024 | 0.282056 | 0.049519 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044 | false | 0.036 | 0.044 | 0.012 | 0.1 | 0.132 | 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 |
12120d9cc1f7852e2ef933b9dc565ac30ac8a547 | 76 | py | Python | backend/util/response/cart/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | 4 | 2020-02-19T09:27:23.000Z | 2021-11-26T00:42:06.000Z | backend/util/response/cart/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | backend/util/response/cart/__init__.py | willrp/willbuyer | 069836a91c777ede6f62a16daa9f26e555d66bcb | [
"MIT"
] | null | null | null | from .cart_response import CartResponse
from .cart_schema import CartSchema
| 25.333333 | 39 | 0.868421 | 10 | 76 | 6.4 | 0.7 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 40 | 38 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
122f065c4f12c1d06b9dafaa7a8e1c2386e775cb | 1,092 | py | Python | alpyro_msgs/control_msgs/pointheadactiongoal.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/control_msgs/pointheadactiongoal.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/control_msgs/pointheadactiongoal.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from alpyro_msgs import RosMessage
from alpyro_msgs.actionlib_msgs.goalid import GoalID
from alpyro_msgs.control_msgs.pointheadgoal import PointHeadGoal
from alpyro_msgs.std_msgs.header import Header
class PointHeadActionGoal(RosMessage):
__msg_typ__ = "control_msgs/PointHeadActionGoal"
__msg_def__ = "c3RkX21zZ3M... | 72.8 | 690 | 0.934982 | 50 | 1,092 | 19.94 | 0.44 | 0.04012 | 0.056169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094828 | 0.043956 | 1,092 | 14 | 691 | 78 | 0.860153 | 0 | 0 | 0 | 0 | 0 | 0.673993 | 0.673993 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.363636 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89dff8df8aad7a698477aae095b530b0cf99c70e | 2,231 | py | Python | misc/unscented.py | Fusion-Goettingen/ExtendedTargetTrackingToolbox | 945ede661e9258a8f1ca8abc00e25727fedf3ac7 | [
"MIT"
] | 40 | 2018-07-30T13:07:23.000Z | 2021-08-30T05:53:29.000Z | misc/unscented.py | GitRooky/ExtendedTargetTrackingToolbox | 945ede661e9258a8f1ca8abc00e25727fedf3ac7 | [
"MIT"
] | null | null | null | misc/unscented.py | GitRooky/ExtendedTargetTrackingToolbox | 945ede661e9258a8f1ca8abc00e25727fedf3ac7 | [
"MIT"
] | 21 | 2018-10-03T11:50:00.000Z | 2022-01-11T06:41:24.000Z | __author__ = "Jens Honer"
__copyright__ = "Copyright 2018, Jens Honer Tracking Toolbox"
__email__ = "-"
__license__ = "mit"
__version__ = "1.0"
__status__ = "Prototype"
import numpy as np
from numpy.linalg import cholesky
def ut(m, c, lmbda, m_a):
"""
unscented transform
expects lambda to be pre-calcula... | 21.04717 | 75 | 0.581354 | 339 | 2,231 | 3.60472 | 0.20354 | 0.02946 | 0.01473 | 0.01964 | 0.869885 | 0.856792 | 0.847791 | 0.824877 | 0.824877 | 0.824877 | 0 | 0.020279 | 0.292694 | 2,231 | 105 | 76 | 21.247619 | 0.754119 | 0.510085 | 0 | 0.115385 | 0 | 0 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115385 | false | 0 | 0.076923 | 0 | 0.192308 | 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 |
c3f7fecac010145f7d4b00a6185363445430b6da | 40 | py | Python | Code/Day 13/demo08.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | 8 | 2021-10-19T03:35:37.000Z | 2022-03-27T09:58:19.000Z | Code/Day 13/demo08.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | null | null | null | Code/Day 13/demo08.py | AndyChiangSH/2021-IT-30days | d001523f1ed80d765fb92c893e3f936010a96c30 | [
"MIT"
] | null | null | null | import math as m
print(m.log(1024, 2))
| 10 | 21 | 0.675 | 9 | 40 | 3 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.175 | 40 | 3 | 22 | 13.333333 | 0.666667 | 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 |
7f0f7110e6db0b122be48f3a9ad9171f7ae186e2 | 98 | py | Python | core/protocols/__init__.py | CarboniDavide/rtscan | 3fe447235d0534a7d66e7d6f5e8b9c00d8832b4f | [
"MIT"
] | null | null | null | core/protocols/__init__.py | CarboniDavide/rtscan | 3fe447235d0534a7d66e7d6f5e8b9c00d8832b4f | [
"MIT"
] | null | null | null | core/protocols/__init__.py | CarboniDavide/rtscan | 3fe447235d0534a7d66e7d6f5e8b9c00d8832b4f | [
"MIT"
] | null | null | null | from .application import *
from .transport import *
from .internet import *
from .network import * | 24.5 | 26 | 0.765306 | 12 | 98 | 6.25 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 4 | 27 | 24.5 | 0.903614 | 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 |
614a2be3978e02efe70335a69811960582196166 | 37 | py | Python | ub/events.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 15 | 2020-12-13T17:37:05.000Z | 2021-06-23T00:00:49.000Z | ub/events.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 2 | 2021-01-11T16:39:31.000Z | 2021-01-25T22:35:28.000Z | ub/events.py | parv779/javes-3.0 | d510717b2756a65b39ff18d9f53d4adc46d8e23f | [
"MIT"
] | 78 | 2020-12-13T17:52:51.000Z | 2022-03-24T03:43:09.000Z | from ub.javes_main.commands import *
| 18.5 | 36 | 0.810811 | 6 | 37 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
6151d9657b1ffc6515af98991daab9d707e23178 | 7,953 | py | Python | tests/py2/py2test_enc.py | tocoli/tocolib | 1ff7080077021a444bb14e3386e579eb1f018d53 | [
"MIT"
] | null | null | null | tests/py2/py2test_enc.py | tocoli/tocolib | 1ff7080077021a444bb14e3386e579eb1f018d53 | [
"MIT"
] | null | null | null | tests/py2/py2test_enc.py | tocoli/tocolib | 1ff7080077021a444bb14e3386e579eb1f018d53 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import unittest
# import locale
# print locale.getpreferredencoding()
from tocoli.py2.enc import *
s1 = 'Hello'
s2 = 'Hellö'
u1 = u'Hello'
u2 = u'Hellö'
class TestStr(unittest.TestCase):
# @unittest.skip("test_encode")
def test_encode(self):
# apply (ut... | 42.989189 | 147 | 0.628694 | 1,079 | 7,953 | 4.577386 | 0.074143 | 0.230816 | 0.131201 | 0.069245 | 0.834987 | 0.756226 | 0.74509 | 0.698927 | 0.658838 | 0.623203 | 0 | 0.0851 | 0.187351 | 7,953 | 184 | 148 | 43.222826 | 0.679096 | 0.040236 | 0 | 0.28125 | 0 | 0.0625 | 0.256235 | 0.131006 | 0 | 0 | 0 | 0 | 0.625 | 1 | 0.023438 | false | 0 | 0.015625 | 0 | 0.046875 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
617c49ccddd26f545960078838c0d0687d8e1ad0 | 160 | py | Python | scout/load/__init__.py | CHRUdeLille/scout | 0f70bec32e078d1825ebf20237f4a4979585dffb | [
"BSD-3-Clause"
] | null | null | null | scout/load/__init__.py | CHRUdeLille/scout | 0f70bec32e078d1825ebf20237f4a4979585dffb | [
"BSD-3-Clause"
] | null | null | null | scout/load/__init__.py | CHRUdeLille/scout | 0f70bec32e078d1825ebf20237f4a4979585dffb | [
"BSD-3-Clause"
] | null | null | null | from .hpo import load_hpo
from .hgnc_gene import load_hgnc_genes
from .case import load_case
from .institute import load_institute
from .all import load_scout
| 22.857143 | 38 | 0.8375 | 27 | 160 | 4.703704 | 0.407407 | 0.393701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13125 | 160 | 6 | 39 | 26.666667 | 0.913669 | 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 |
61c0c8d01c3b8048931f31368e40357c81188d40 | 126 | py | Python | tests/__init__.py | BvdP/Inkscape_helper | fd1e269ce0c9f8ac722b950cebbf7f56b3661e94 | [
"MIT"
] | 8 | 2016-05-25T02:24:25.000Z | 2021-05-03T19:28:02.000Z | tests/__init__.py | BvdP/Inkscape_helper | fd1e269ce0c9f8ac722b950cebbf7f56b3661e94 | [
"MIT"
] | 2 | 2016-01-23T16:54:52.000Z | 2021-06-09T00:18:22.000Z | tests/__init__.py | BvdP/Inkscape_helper | fd1e269ce0c9f8ac722b950cebbf7f56b3661e94 | [
"MIT"
] | 1 | 2020-04-25T23:42:35.000Z | 2020-04-25T23:42:35.000Z | import sys
sys.path.append("C:\\Program Files\\Inkscape\\share\\extensions")
sys.path.append("/usr/share/inkscape/extensions") | 42 | 65 | 0.769841 | 18 | 126 | 5.388889 | 0.611111 | 0.14433 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 126 | 3 | 66 | 42 | 0.795082 | 0 | 0 | 0 | 0 | 0 | 0.598425 | 0.503937 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4ee8cf91f2b38a84c86e074942dae2ea6b3021d8 | 48,698 | py | Python | tests/STEEP_CBP_CPL/test_STEEP_CBP_CPL.py | jrlivesey/vplanet | 4384221baa78e81d46b0c0fcb7de2f5a5de2e83c | [
"MIT"
] | null | null | null | tests/STEEP_CBP_CPL/test_STEEP_CBP_CPL.py | jrlivesey/vplanet | 4384221baa78e81d46b0c0fcb7de2f5a5de2e83c | [
"MIT"
] | null | null | null | tests/STEEP_CBP_CPL/test_STEEP_CBP_CPL.py | jrlivesey/vplanet | 4384221baa78e81d46b0c0fcb7de2f5a5de2e83c | [
"MIT"
] | null | null | null | import astropy.units as u
import pytest
from benchmark import Benchmark, benchmark
@benchmark(
{
"log.initial.system.Age": {"value": 3.155760e13, "unit": u.sec},
"log.initial.system.Time": {"value": 0.000000, "unit": u.sec},
"log.initial.system.TotAngMom": {
"value": 1.709799e4... | 44.070588 | 88 | 0.502095 | 5,713 | 48,698 | 4.279538 | 0.057938 | 0.066669 | 0.071864 | 0.102254 | 0.908912 | 0.898728 | 0.778232 | 0.75954 | 0.722238 | 0.41241 | 0 | 0.134277 | 0.286131 | 48,698 | 1,104 | 89 | 44.110507 | 0.569008 | 0 | 0 | 0.362069 | 0 | 0 | 0.395129 | 0.28301 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.000907 | 0.002722 | 0 | 0.00363 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f61512d9a676ef7e17e2bd702051dfc6c93e6939 | 24 | py | Python | src/DeePyMoD_SBL/Lasso/__init__.py | GJBoth/DeePyMoD_torch | b4b90080f4f9fea8fdf4426e0708e807b193242f | [
"MIT"
] | 1 | 2021-11-06T18:02:18.000Z | 2021-11-06T18:02:18.000Z | src/DeePyMoD_SBL/Lasso/__init__.py | GJBoth/DeePyMoD_torch | b4b90080f4f9fea8fdf4426e0708e807b193242f | [
"MIT"
] | null | null | null | src/DeePyMoD_SBL/Lasso/__init__.py | GJBoth/DeePyMoD_torch | b4b90080f4f9fea8fdf4426e0708e807b193242f | [
"MIT"
] | null | null | null | from .lasso import lasso | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 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 |
f63580d43019d60713a83b1611419db09e4b1e79 | 191 | py | Python | vpv/__init__.py | mpi2/vpv | 3d0445fa36a8916dfbeed07f50e702b1ffe0973a | [
"Apache-2.0"
] | 2 | 2016-08-15T22:06:28.000Z | 2016-11-15T14:23:37.000Z | vpv/__init__.py | mpi2/vpv | 3d0445fa36a8916dfbeed07f50e702b1ffe0973a | [
"Apache-2.0"
] | 1 | 2018-07-30T22:47:37.000Z | 2018-07-30T22:47:37.000Z | vpv/__init__.py | mpi2/vpv | 3d0445fa36a8916dfbeed07f50e702b1ffe0973a | [
"Apache-2.0"
] | 1 | 2020-08-05T03:54:02.000Z | 2020-08-05T03:54:02.000Z | # from vpv_viewer import common
# from vpv_viewer import ui
# from vpv_viewer import model
# from vpv_viewer import display
# from vpv_viewer import utils
# # import vpv_viewer.utils.appdata
| 27.285714 | 35 | 0.801047 | 30 | 191 | 4.9 | 0.333333 | 0.367347 | 0.442177 | 0.646259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151832 | 191 | 6 | 36 | 31.833333 | 0.907407 | 0.926702 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f64107699040daa658a216e2f36dec9fd7589e72 | 132 | py | Python | reid/__init__.py | weihongwei3/Celeb-reID | 2c01712adf7a741901b2f3f54ce822c3dfb0e40f | [
"MIT"
] | 64 | 2019-12-19T10:09:35.000Z | 2022-03-09T01:18:29.000Z | reid/__init__.py | HenryZhangJianhe/Celeb-reID | 930713175697945bde789fea17f649c1df6fd3f8 | [
"MIT"
] | 7 | 2020-08-27T08:24:19.000Z | 2022-01-17T10:48:20.000Z | reid/__init__.py | HenryZhangJianhe/Celeb-reID | 930713175697945bde789fea17f649c1df6fd3f8 | [
"MIT"
] | 13 | 2019-12-26T04:48:51.000Z | 2022-03-10T09:27:23.000Z | from __future__ import absolute_import
from . import evaluation_metrics
from . import loss
from . import models
from . import utils | 22 | 38 | 0.818182 | 18 | 132 | 5.666667 | 0.5 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 6 | 39 | 22 | 0.910714 | 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 |
f6702ba6ce40f1c14fde2b2401f99cc1bc93f620 | 3,896 | py | Python | mmfutils/tests/test_performance_fft.py | mforbes/mmfutils-fork | 77deabc243e27cadedff3c2088dd3ff440da2da6 | [
"BSD-3-Clause"
] | null | null | null | mmfutils/tests/test_performance_fft.py | mforbes/mmfutils-fork | 77deabc243e27cadedff3c2088dd3ff440da2da6 | [
"BSD-3-Clause"
] | null | null | null | mmfutils/tests/test_performance_fft.py | mforbes/mmfutils-fork | 77deabc243e27cadedff3c2088dd3ff440da2da6 | [
"BSD-3-Clause"
] | 2 | 2021-04-28T19:33:28.000Z | 2021-04-28T19:35:10.000Z | from mmfutils.performance import fft
import numpy as np
import pytest
# import timeit
class Test_FFT(object):
@classmethod
def setup_class(cls):
np.random.seed(1)
def rand(self, shape, complex=True):
X = np.random.random(shape) - 0.5
if complex:
X = X + 1j*(np.random... | 33.299145 | 68 | 0.438398 | 487 | 3,896 | 3.412731 | 0.117043 | 0.043321 | 0.115523 | 0.137184 | 0.853189 | 0.810469 | 0.758123 | 0.723827 | 0.723827 | 0.687124 | 0 | 0.038134 | 0.427875 | 3,896 | 116 | 69 | 33.586207 | 0.707492 | 0.003337 | 0 | 0.6875 | 0 | 0 | 0.005411 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.09375 | false | 0 | 0.03125 | 0 | 0.15625 | 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 |
9cc627a6d680d3d4e254a09fe70aed19f26c9375 | 29 | py | Python | tf_image_segmentation/__init__.py | AtulTiwari1999/tf-image-segmentation | b5c95761c64285dff017e921beae2d9ed46497f4 | [
"MIT"
] | null | null | null | tf_image_segmentation/__init__.py | AtulTiwari1999/tf-image-segmentation | b5c95761c64285dff017e921beae2d9ed46497f4 | [
"MIT"
] | null | null | null | tf_image_segmentation/__init__.py | AtulTiwari1999/tf-image-segmentation | b5c95761c64285dff017e921beae2d9ed46497f4 | [
"MIT"
] | null | null | null | import sys
import datetime
| 9.666667 | 16 | 0.793103 | 4 | 29 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 2 | 17 | 14.5 | 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 |
14772624da545ff18e60b049d863029db2a4bd88 | 12,173 | py | Python | sysinv/sysinv/sysinv/sysinv/tests/agent/test_manager.py | albailey/config | 40ebe63d7dfc6a0a03216ebe55ed3ec9cf5410b9 | [
"Apache-2.0"
] | 10 | 2020-02-07T18:57:44.000Z | 2021-09-11T10:29:34.000Z | sysinv/sysinv/sysinv/sysinv/tests/agent/test_manager.py | albailey/config | 40ebe63d7dfc6a0a03216ebe55ed3ec9cf5410b9 | [
"Apache-2.0"
] | 1 | 2021-01-14T12:01:55.000Z | 2021-01-14T12:01:55.000Z | sysinv/sysinv/sysinv/sysinv/tests/agent/test_manager.py | albailey/config | 40ebe63d7dfc6a0a03216ebe55ed3ec9cf5410b9 | [
"Apache-2.0"
] | 10 | 2020-10-13T08:37:46.000Z | 2022-02-09T00:21:25.000Z | #
# Copyright (c) 2021 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
"""
Tests for the sysinv agent manager.
"""
import mock
from tsconfig import tsconfig
from sysinv.agent.manager import AgentManager
from sysinv.common import constants
from sysinv.openstack.common import context
from sysinv.te... | 42.267361 | 76 | 0.65596 | 1,356 | 12,173 | 5.500737 | 0.098083 | 0.072396 | 0.092238 | 0.067033 | 0.854538 | 0.832149 | 0.80614 | 0.796487 | 0.767127 | 0.767127 | 0 | 0.0142 | 0.247926 | 12,173 | 287 | 77 | 42.414634 | 0.800546 | 0.051015 | 0 | 0.681818 | 0 | 0 | 0.110012 | 0.006941 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.080808 | false | 0 | 0.030303 | 0.005051 | 0.146465 | 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 |
1afc0f0d47a5b4db0f5a52eb0960c8b3484b9c89 | 283,219 | py | Python | Application/Config/job_create.py | cristi161/eecvf | 519c488bd47f697ef51e88823f7a751a52677b88 | [
"MIT"
] | null | null | null | Application/Config/job_create.py | cristi161/eecvf | 519c488bd47f697ef51e88823f7a751a52677b88 | [
"MIT"
] | null | null | null | Application/Config/job_create.py | cristi161/eecvf | 519c488bd47f697ef51e88823f7a751a52677b88 | [
"MIT"
] | null | null | null | # noinspection PyPackageRequirements
import cv2
from Application.Config.create_config import jobs_dict, create_dictionary_element
from config_main import MORPH_CONFIG, PYRAMID_LEVEL, FILTERS, CANNY_VARIANTS, FILTERS_SECOND_ORDER, THRESHOLD_CONFIG
from Application.Config.util import transform_port_name_lvl, transform_p... | 54.183853 | 253 | 0.645292 | 37,589 | 283,219 | 4.507143 | 0.036473 | 0.046099 | 0.05016 | 0.020777 | 0.836512 | 0.81848 | 0.799928 | 0.789894 | 0.770162 | 0.758357 | 0 | 0.011143 | 0.272453 | 283,219 | 5,226 | 254 | 54.194221 | 0.81105 | 0.303384 | 0 | 0.68615 | 0 | 0 | 0.05008 | 0.010817 | 0.000372 | 0 | 0 | 0.002105 | 0 | 1 | 0.039464 | false | 0.002978 | 0.002234 | 0 | 0.0793 | 0.000745 | 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 |
2167e3088905291d3ae5e176846029e4ad5b8ab8 | 40 | py | Python | ros/src/detection/lane_detection/scripts/configs.py | arunboson/self-driving-golf-cart | 9d6f758df0cdc7d09363d1aef198b3187bec4d03 | [
"MIT"
] | 205 | 2018-05-14T16:37:06.000Z | 2022-03-26T21:32:29.000Z | ros/src/detection/lane_detection/scripts/configs.py | xmeng17/ALVNS | 8d891600af3d851add27a10ae45cf3c2108bb87c | [
"MIT"
] | 19 | 2018-05-27T21:06:52.000Z | 2021-09-08T00:37:46.000Z | ros/src/detection/lane_detection/scripts/configs.py | xmeng17/ALVNS | 8d891600af3d851add27a10ae45cf3c2108bb87c | [
"MIT"
] | 73 | 2018-09-13T05:04:47.000Z | 2022-02-26T14:51:02.000Z | ym_per_pix = 30/720
xm_per_pix = 3.7/700 | 20 | 20 | 0.75 | 11 | 40 | 2.363636 | 0.818182 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.125 | 40 | 2 | 20 | 20 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 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 |
dcc3cc2309d1e7ee5f592fdeb4cd28859f7b155d | 209 | bzl | Python | nixpkgs/toolchains/foreign_cc.bzl | betaboon/rules_nixpkgs | 8a23fc1e6640ec2517258cc3d029083f995c328c | [
"Apache-2.0"
] | null | null | null | nixpkgs/toolchains/foreign_cc.bzl | betaboon/rules_nixpkgs | 8a23fc1e6640ec2517258cc3d029083f995c328c | [
"Apache-2.0"
] | null | null | null | nixpkgs/toolchains/foreign_cc.bzl | betaboon/rules_nixpkgs | 8a23fc1e6640ec2517258cc3d029083f995c328c | [
"Apache-2.0"
] | null | null | null | # alias to Bazel module `toolchains/cc`
load("@rules_nixpkgs_cc//:foreign_cc.bzl", _nixpkgs_foreign_cc_configure = "nixpkgs_foreign_cc_configure")
nixpkgs_foreign_cc_configure = _nixpkgs_foreign_cc_configure
| 41.8 | 106 | 0.84689 | 29 | 209 | 5.517241 | 0.413793 | 0.28125 | 0.4 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0.625 | 0 | 0 | 0.066986 | 209 | 4 | 107 | 52.25 | 0.820513 | 0.177033 | 0 | 0 | 0 | 0 | 0.364706 | 0.364706 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dcc9f1f2b8c0fb8a5b3ee53e48936f65d3fce5f0 | 64 | py | Python | annotator/layout/__init__.py | FashionLab/annotator | 7f0e89a2e5eb114443b11df05fce68b5acfd3fcb | [
"Apache-2.0"
] | null | null | null | annotator/layout/__init__.py | FashionLab/annotator | 7f0e89a2e5eb114443b11df05fce68b5acfd3fcb | [
"Apache-2.0"
] | 2 | 2020-12-29T17:35:31.000Z | 2020-12-29T17:35:37.000Z | annotator/layout/__init__.py | FashionLab/annotator | 7f0e89a2e5eb114443b11df05fce68b5acfd3fcb | [
"Apache-2.0"
] | null | null | null | from .common import *
from .config import *
from .main import *
| 16 | 21 | 0.71875 | 9 | 64 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 64 | 3 | 22 | 21.333333 | 0.884615 | 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 |
dccd5d3192b090df9463129ed280c03362ce118a | 18,616 | py | Python | tests/CSP/test_model.py | ajmcastro/quantum-tail-assignment | 5bc6de6b7d771d4e662bdfec2a0c3791265e2dba | [
"Apache-2.0"
] | null | null | null | tests/CSP/test_model.py | ajmcastro/quantum-tail-assignment | 5bc6de6b7d771d4e662bdfec2a0c3791265e2dba | [
"Apache-2.0"
] | null | null | null | tests/CSP/test_model.py | ajmcastro/quantum-tail-assignment | 5bc6de6b7d771d4e662bdfec2a0c3791265e2dba | [
"Apache-2.0"
] | null | null | null | import sys, os
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/../../src")
import unittest
import scheduler.CSP.macros as macros
from models.Activity import Activity, Flight, Maintenance
from models.AircraftModelFleet import AircraftModel
from models.Aircraft import Aircraft
from models.Airport import A... | 53.188571 | 312 | 0.655297 | 2,392 | 18,616 | 4.994147 | 0.068562 | 0.088398 | 0.128076 | 0.086389 | 0.880713 | 0.85694 | 0.829315 | 0.813159 | 0.809057 | 0.809057 | 0 | 0.078594 | 0.171627 | 18,616 | 350 | 313 | 53.188571 | 0.696064 | 0.007306 | 0 | 0.663636 | 0 | 0 | 0.134755 | 0.038478 | 0 | 0 | 0 | 0 | 0.118182 | 1 | 0.059091 | false | 0 | 0.05 | 0 | 0.113636 | 0.054545 | 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 |
0d21dcf965a448a537363d637e5d629cd05101d2 | 2,852 | py | Python | problem8.py | malienko/projecteuler_python | d04b4d39ed0b9c35f86e078e7df97a2025af694f | [
"MIT"
] | null | null | null | problem8.py | malienko/projecteuler_python | d04b4d39ed0b9c35f86e078e7df97a2025af694f | [
"MIT"
] | null | null | null | problem8.py | malienko/projecteuler_python | d04b4d39ed0b9c35f86e078e7df97a2025af694f | [
"MIT"
] | null | null | null | '''
The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832.
73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
6689... | 62 | 1,014 | 0.874474 | 154 | 2,852 | 16.214286 | 0.5 | 0.014017 | 0.016019 | 0.015218 | 0.048058 | 0.048058 | 0.048058 | 0.048058 | 0.048058 | 0.048058 | 0 | 0.789958 | 0.085203 | 2,852 | 45 | 1,015 | 63.377778 | 0.165964 | 0.447756 | 0 | 0 | 0 | 0 | 0.000638 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b4aadf73d934e3f46edfcd34b3f49f202c560f37 | 114 | py | Python | docs/test.py | wilburcoding/tropycal | 01b8a92e57cc5a477a3795d88dcc46445211a67f | [
"MIT"
] | 72 | 2019-10-18T02:23:42.000Z | 2022-02-17T18:51:55.000Z | docs/test.py | wilburcoding/tropycal | 01b8a92e57cc5a477a3795d88dcc46445211a67f | [
"MIT"
] | 52 | 2019-10-25T08:28:54.000Z | 2022-03-27T04:53:17.000Z | docs/test.py | wilburcoding/tropycal | 01b8a92e57cc5a477a3795d88dcc46445211a67f | [
"MIT"
] | 28 | 2019-10-16T22:24:50.000Z | 2022-02-15T15:05:54.000Z | import numpy as np
import matplotlib.pyplot as plt
import xarray as xr
import tropycal as tr
import tropycal.recon | 22.8 | 31 | 0.833333 | 20 | 114 | 4.75 | 0.6 | 0.294737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149123 | 114 | 5 | 32 | 22.8 | 0.979381 | 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 |
b4b8572ce6815d4193fe47db4789c24d4c8585fb | 6,781 | py | Python | tests/contrib/trace/conftest.py | iopipe/iopipe-python | 9bf0620bab732e82a9addcee250eabb9c0cc649f | [
"Apache-2.0"
] | 74 | 2016-08-18T14:26:50.000Z | 2021-11-21T10:58:32.000Z | tests/contrib/trace/conftest.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 198 | 2016-08-18T18:52:43.000Z | 2021-05-09T10:01:14.000Z | tests/contrib/trace/conftest.py | vemel/iopipe-python | 46c277f9447ddb00e544437ceaa7ba263a759c1d | [
"Apache-2.0"
] | 23 | 2016-08-04T23:22:21.000Z | 2020-01-20T13:54:27.000Z | import MySQLdb
import psycopg2
import pymongo
import pymysql
import pytest
import redis
import requests
from iopipe import IOpipeCore
from iopipe.context import ContextWrapper
from iopipe.contrib.trace.marker import Marker
from iopipe.contrib.trace import TracePlugin
from iopipe.contrib.trace.timeline import Timeline
... | 27.453441 | 85 | 0.689279 | 862 | 6,781 | 5.116009 | 0.12297 | 0.106122 | 0.139456 | 0.13356 | 0.801587 | 0.764853 | 0.751927 | 0.724263 | 0.721542 | 0.69932 | 0 | 0.007202 | 0.201445 | 6,781 | 246 | 86 | 27.565041 | 0.807202 | 0 | 0 | 0.621053 | 0 | 0 | 0.117977 | 0.007374 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0.173684 | false | 0.015789 | 0.063158 | 0.021053 | 0.347368 | 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 |
b4b9a463547869a9874d057133cd824d9beb1b27 | 115 | py | Python | xmlparse.py | eixmb/autowkid | c632378545decd1d74daf08185822c273c5afa0f | [
"Apache-2.0"
] | null | null | null | xmlparse.py | eixmb/autowkid | c632378545decd1d74daf08185822c273c5afa0f | [
"Apache-2.0"
] | null | null | null | xmlparse.py | eixmb/autowkid | c632378545decd1d74daf08185822c273c5afa0f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import xml.etree.ElementTree as ET
def getRoot(file):
return ET.parse(file).getroot()
| 16.428571 | 35 | 0.721739 | 18 | 115 | 4.611111 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.13913 | 115 | 6 | 36 | 19.166667 | 0.828283 | 0.182609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
b4c9c3f5704a1ce24cdaf64e3d8dc1e7fd679016 | 449 | py | Python | ezsub/cli/commands/__init__.py | 7aman/ezsub | f32e760071bb81b402bba5de6e93ec4182829d50 | [
"MIT"
] | 4 | 2020-02-21T14:35:31.000Z | 2021-08-11T18:02:46.000Z | ezsub/cli/commands/__init__.py | 7aman/ezsub | f32e760071bb81b402bba5de6e93ec4182829d50 | [
"MIT"
] | null | null | null | ezsub/cli/commands/__init__.py | 7aman/ezsub | f32e760071bb81b402bba5de6e93ec4182829d50 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from ezsub.cli.commands.backup import backup
from ezsub.cli.commands.clean import clean
from ezsub.cli.commands.config import config
from ezsub.cli.commands.download import download
from ezsub.cli.commands.history import history
from ezsub.cli.commands.info import info
fr... | 34.538462 | 48 | 0.81069 | 70 | 449 | 5.2 | 0.3 | 0.222527 | 0.296703 | 0.494505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004938 | 0.097996 | 449 | 12 | 49 | 37.416667 | 0.893827 | 0.095768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4daee89c5a14a53e393b750052fe0b37d1db06d | 46 | py | Python | creepy/subprocess/__init__.py | itesoro/reepyc | 38523ed0de784fa293c3f22af6d01712f0aa38c8 | [
"MIT"
] | 1 | 2022-02-11T22:05:36.000Z | 2022-02-11T22:05:36.000Z | creepy/subprocess/__init__.py | itesoro/reepyc | 38523ed0de784fa293c3f22af6d01712f0aa38c8 | [
"MIT"
] | 15 | 2020-11-24T09:22:28.000Z | 2021-11-10T17:54:32.000Z | creepy/subprocess/__init__.py | itesoro/reepyc | 38523ed0de784fa293c3f22af6d01712f0aa38c8 | [
"MIT"
] | null | null | null | from .app import App
from .pypen import Pypen
| 15.333333 | 24 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e935769d46474cc25c8bc55367c3edd1bace43b | 9,559 | py | Python | metaopt/tests/unit/concurrent/invoker/util/status_db.py | cigroup-ol/metaopt | 6dfd5105d3c6eaf00f96670175cae16021069514 | [
"BSD-3-Clause"
] | 8 | 2015-02-02T21:42:23.000Z | 2019-06-30T18:12:43.000Z | metaopt/tests/unit/concurrent/invoker/util/status_db.py | cigroup-ol/metaopt | 6dfd5105d3c6eaf00f96670175cae16021069514 | [
"BSD-3-Clause"
] | 4 | 2015-09-24T14:12:38.000Z | 2021-12-08T22:42:52.000Z | metaopt/tests/unit/concurrent/invoker/util/status_db.py | cigroup-ol/metaopt | 6dfd5105d3c6eaf00f96670175cae16021069514 | [
"BSD-3-Clause"
] | 6 | 2015-02-27T12:35:33.000Z | 2020-10-15T21:04:02.000Z | # -*- coding: utf-8 -*-
"""
Tests for the Call Database which keeps track of task worker relations.
"""
# Future
from __future__ import absolute_import, division, print_function, \
unicode_literals, with_statement
# Standard Library
from multiprocessing.dummy import Manager
from uuid import uuid4
# Third Party
i... | 31.340984 | 77 | 0.643164 | 1,234 | 9,559 | 4.640194 | 0.122366 | 0.083828 | 0.062871 | 0.067063 | 0.778379 | 0.750961 | 0.732972 | 0.709221 | 0.709221 | 0.679357 | 0 | 0.006422 | 0.266974 | 9,559 | 304 | 78 | 31.444079 | 0.810761 | 0.073543 | 0 | 0.752427 | 0 | 0 | 0.000909 | 0 | 0 | 0 | 0 | 0.003289 | 0.029126 | 1 | 0.072816 | false | 0.014563 | 0.038835 | 0 | 0.116505 | 0.004854 | 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 |
2e9405e6186560692bcf407939f84e44bac1141e | 26 | py | Python | sleepyd/__init__.py | darfire/sleepyd | 42477878226a749acab5b4fdca22d9a07cd46328 | [
"MIT"
] | null | null | null | sleepyd/__init__.py | darfire/sleepyd | 42477878226a749acab5b4fdca22d9a07cd46328 | [
"MIT"
] | null | null | null | sleepyd/__init__.py | darfire/sleepyd | 42477878226a749acab5b4fdca22d9a07cd46328 | [
"MIT"
] | null | null | null | from .sleepyd import main
| 13 | 25 | 0.807692 | 4 | 26 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e9bc728cf15f43ed5ecbd43245cc72059268629 | 165 | py | Python | dabeplech/models/kegg/dblinks.py | hmenager/dabeplech | 1e13742e5c1386ab34c316e926b733e2f262cd2e | [
"MIT"
] | null | null | null | dabeplech/models/kegg/dblinks.py | hmenager/dabeplech | 1e13742e5c1386ab34c316e926b733e2f262cd2e | [
"MIT"
] | null | null | null | dabeplech/models/kegg/dblinks.py | hmenager/dabeplech | 1e13742e5c1386ab34c316e926b733e2f262cd2e | [
"MIT"
] | null | null | null | from typing import List
from pydantic import BaseModel
class DBLinksModel(BaseModel):
GO: List[str] = None
COG: List[str] = None
RN: List[str] = None
| 16.5 | 30 | 0.684848 | 23 | 165 | 4.913043 | 0.565217 | 0.185841 | 0.292035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224242 | 165 | 9 | 31 | 18.333333 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2ecd1280c6dfcbcb8a299644bef7970ff4bacb59 | 450 | py | Python | tests/fixtures.py | dmoebius/gmusicapi-wrapper | 8708683cd33955def1378fc28319ef37805b851d | [
"MIT"
] | 20 | 2015-08-29T15:35:22.000Z | 2018-09-29T06:16:15.000Z | tests/fixtures.py | dmoebius/gmusicapi-wrapper | 8708683cd33955def1378fc28319ef37805b851d | [
"MIT"
] | 17 | 2015-02-28T17:19:30.000Z | 2018-06-08T10:33:29.000Z | tests/fixtures.py | dmoebius/gmusicapi-wrapper | 8708683cd33955def1378fc28319ef37805b851d | [
"MIT"
] | 11 | 2015-12-11T15:20:24.000Z | 2019-02-13T18:54:11.000Z | # coding=utf-8
"""Fixtures for testing gmusicapi_wrapper."""
TEST_SONGS_1 = [
{'artist': 'Muse', 'album': 'Black Holes and Revelations', 'year': 2006, 'track_number': 1, 'title': 'Take a Bow'},
{'artist': 'Muse', 'album': 'Black Holes and Revelations', 'year': 2006, 'track_number': 2, 'title': 'Starlight'}
]
TEST_... | 34.615385 | 116 | 0.642222 | 60 | 450 | 4.683333 | 0.466667 | 0.106762 | 0.160142 | 0.213523 | 0.718861 | 0.718861 | 0.718861 | 0.718861 | 0.718861 | 0.718861 | 0 | 0.046512 | 0.14 | 450 | 12 | 117 | 37.5 | 0.679587 | 0.117778 | 0 | 0 | 0 | 0 | 0.557545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2c185e0823b2dfd7484784d42604aa98b05f8361 | 24 | py | Python | sr/edsr/__init__.py | ahanagemini/Phd_final_year_old_sr | 62be9d1294acdb724a2fe424789b657a44e2cd7d | [
"BSD-2-Clause"
] | null | null | null | sr/edsr/__init__.py | ahanagemini/Phd_final_year_old_sr | 62be9d1294acdb724a2fe424789b657a44e2cd7d | [
"BSD-2-Clause"
] | null | null | null | sr/edsr/__init__.py | ahanagemini/Phd_final_year_old_sr | 62be9d1294acdb724a2fe424789b657a44e2cd7d | [
"BSD-2-Clause"
] | null | null | null | from .model import EDSR
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c18cb0f6aa5ade67dc8290aad1eb62697e96764 | 5,142 | py | Python | portforward.py | opencloudshare/Op_portforward | 5e6e24a80cbc05f192d4d8b7073eb66ee6a5c9ef | [
"MIT"
] | 2 | 2017-05-15T09:28:12.000Z | 2021-04-02T15:25:27.000Z | portforward.py | opencloudshare/Op_portforward | 5e6e24a80cbc05f192d4d8b7073eb66ee6a5c9ef | [
"MIT"
] | null | null | null | portforward.py | opencloudshare/Op_portforward | 5e6e24a80cbc05f192d4d8b7073eb66ee6a5c9ef | [
"MIT"
] | 1 | 2019-11-21T06:51:24.000Z | 2019-11-21T06:51:24.000Z | # -*- coding:utf-8 -*-
#
# warning:
# this is a demo http service, think twice before applying in production environment
# author:
# CornSoiliml
#
# have fun
import tornado.httpserver
import tornado.ioloop
import tornado.options
import tornado.web
import logging
import json
import re
import time
import commands
impo... | 40.488189 | 313 | 0.623687 | 658 | 5,142 | 4.641337 | 0.241641 | 0.057629 | 0.036018 | 0.062213 | 0.724296 | 0.724296 | 0.724296 | 0.705305 | 0.705305 | 0.705305 | 0 | 0.013354 | 0.242707 | 5,142 | 126 | 314 | 40.809524 | 0.77093 | 0.027616 | 0 | 0.612245 | 0 | 0.061224 | 0.21155 | 0.021656 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.112245 | null | null | 0.020408 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25d296e842508c5adcd4fbe0e02195498bc4df65 | 164 | py | Python | pyqt_color_picker/__init__.py | yjg30737/pyqt-color-dialog | 8ba528397420401e29bc8774af0a2ad0927c0fda | [
"MIT"
] | 1 | 2021-12-17T07:56:34.000Z | 2021-12-17T07:56:34.000Z | pyqt_color_picker/__init__.py | yjg30737/pyqt-color-dialog | 8ba528397420401e29bc8774af0a2ad0927c0fda | [
"MIT"
] | null | null | null | pyqt_color_picker/__init__.py | yjg30737/pyqt-color-dialog | 8ba528397420401e29bc8774af0a2ad0927c0fda | [
"MIT"
] | null | null | null | from .colorEditorWidget import *
from .colorHueBarWidget import *
from .colorPickerDialog import *
from .colorPickerWidget import *
from .colorSquareWidget import * | 32.8 | 32 | 0.823171 | 15 | 164 | 9 | 0.466667 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115854 | 164 | 5 | 33 | 32.8 | 0.931034 | 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 |
d31be8dc22caf5db679007612df09aa02dbc3e3b | 127 | py | Python | experimentor/core/__init__.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | 4 | 2020-05-15T04:07:25.000Z | 2020-09-30T22:20:46.000Z | experimentor/core/__init__.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | null | null | null | experimentor/core/__init__.py | aquilesC/experimentor | 1a70760912ef40f0e2aaee44ed1a1e5594fd5b45 | [
"MIT"
] | null | null | null | from .measurement_parameters import Parameter
from .measurement_procedure import Procedure
from .publisher import Publisher
| 18.142857 | 45 | 0.858268 | 14 | 127 | 7.642857 | 0.5 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 127 | 6 | 46 | 21.166667 | 0.955357 | 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 |
d37e116d3088d3140adbff9691466900c872e41d | 43 | py | Python | name_reverser.py | Proteus555/learning | 0aa6fcc7bb0996c51f656fd11286e67aea538c56 | [
"MIT"
] | null | null | null | name_reverser.py | Proteus555/learning | 0aa6fcc7bb0996c51f656fd11286e67aea538c56 | [
"MIT"
] | null | null | null | name_reverser.py | Proteus555/learning | 0aa6fcc7bb0996c51f656fd11286e67aea538c56 | [
"MIT"
] | null | null | null | import pandas as pd
import os
os.getcwd()
| 10.75 | 20 | 0.744186 | 8 | 43 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 21 | 14.333333 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
6c8ff953c6560bff9c5834c7f499fd473ccb0b75 | 15,765 | py | Python | radiative_functions.py | joshuakt/Oxygen-False-Positives | 9460352dfc99ce3e01dd015fe0bd5218eb5d7164 | [
"CC0-1.0"
] | 3 | 2021-06-21T13:07:42.000Z | 2021-08-19T15:28:25.000Z | radiative_functions.py | joshuakt/Oxygen-False-Positives | 9460352dfc99ce3e01dd015fe0bd5218eb5d7164 | [
"CC0-1.0"
] | null | null | null | radiative_functions.py | joshuakt/Oxygen-False-Positives | 9460352dfc99ce3e01dd015fe0bd5218eb5d7164 | [
"CC0-1.0"
] | null | null | null | ##################################
import numpy as np
import pylab
from scipy.integrate import *
from scipy.interpolate import interp1d
from scipy import optimize
import scipy.interpolate
from numba import jit
#################################
### H2O and CO2 ranges for OLR grid
P_H2O_grid_new = np.logspace... | 42.493261 | 163 | 0.608944 | 2,718 | 15,765 | 3.224798 | 0.0883 | 0.07393 | 0.043126 | 0.04267 | 0.802054 | 0.786309 | 0.759954 | 0.746035 | 0.727553 | 0.727553 | 0 | 0.081839 | 0.2536 | 15,765 | 370 | 164 | 42.608108 | 0.663041 | 0.070599 | 0 | 0.687919 | 0 | 0 | 0.00956 | 0.006706 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013423 | false | 0 | 0.02349 | 0 | 0.073826 | 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 |
6ca6527fae5e31cf223cb054654b4816f7433eb0 | 42 | py | Python | search/models.py | kurtisauc3/zenpitwebapp | 1ff8d8d92d52c5d1290e1bc699dcdb635a1effa9 | [
"BSD-3-Clause"
] | null | null | null | search/models.py | kurtisauc3/zenpitwebapp | 1ff8d8d92d52c5d1290e1bc699dcdb635a1effa9 | [
"BSD-3-Clause"
] | 3 | 2020-06-05T18:19:02.000Z | 2021-06-10T20:22:23.000Z | search/models.py | kurtisauc3/zenpitwebapp | 1ff8d8d92d52c5d1290e1bc699dcdb635a1effa9 | [
"BSD-3-Clause"
] | null | null | null | from django.db import models
# tench low
| 10.5 | 28 | 0.761905 | 7 | 42 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 42 | 3 | 29 | 14 | 0.941176 | 0.214286 | 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 |
6cca2d35c9d1cf14bbbcf0c593447de1263c3491 | 2,675 | py | Python | Script/Commands/Messages/Moderation/delete_messages.py | PowerEvolved/Clash-Of-Clans-Discord-Bot | 3c2c534c85d314e3cf35786220a49b1d563b022f | [
"BSD-3-Clause"
] | 7 | 2021-12-01T13:49:34.000Z | 2022-03-02T08:27:09.000Z | Script/Commands/Messages/Moderation/delete_messages.py | BilouKass/Clash-Of-Clans-Discord-Bot | 4dad2349581e2be1c2280b9f8bd4070777db1ef4 | [
"BSD-3-Clause"
] | null | null | null | Script/Commands/Messages/Moderation/delete_messages.py | BilouKass/Clash-Of-Clans-Discord-Bot | 4dad2349581e2be1c2280b9f8bd4070777db1ef4 | [
"BSD-3-Clause"
] | 5 | 2021-05-01T14:26:20.000Z | 2022-02-13T19:10:15.000Z | # Deletes messages
import datetime
import discord
from Script.import_functions import create_embed, int_to_str
async def delete_messages_number(ctx, number):
if number <= 0:
await ctx.send("Error\nYou cannot delete a negative number of messages", hidden=True)
return
message_numbers = 0
... | 39.338235 | 178 | 0.684112 | 362 | 2,675 | 4.90884 | 0.196133 | 0.141812 | 0.06753 | 0.081035 | 0.795723 | 0.795723 | 0.770962 | 0.770962 | 0.770962 | 0.770962 | 0 | 0.007065 | 0.206355 | 2,675 | 67 | 179 | 39.925373 | 0.829958 | 0.005981 | 0 | 0.77193 | 0 | 0 | 0.181784 | 0.065487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.140351 | 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 |
9f1463d6e1618f1d28cf805e2f1a965ce4fea271 | 240 | py | Python | tests/context.py | andrewlehmann/autoweather | 8d03d41723749e8ee96fdbbb7df10855fc4d1a7c | [
"MIT"
] | null | null | null | tests/context.py | andrewlehmann/autoweather | 8d03d41723749e8ee96fdbbb7df10855fc4d1a7c | [
"MIT"
] | 1 | 2016-11-20T20:52:29.000Z | 2016-11-21T09:04:45.000Z | tests/context.py | andrewlehmann/autoweather | 8d03d41723749e8ee96fdbbb7df10855fc4d1a7c | [
"MIT"
] | null | null | null | import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from auto_weather import location
from auto_weather import getweather
from auto_weather import message
from auto_weather import mongo
| 24 | 82 | 0.804167 | 38 | 240 | 4.868421 | 0.447368 | 0.172973 | 0.324324 | 0.454054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0.104167 | 240 | 9 | 83 | 26.666667 | 0.855814 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
9f239bf5612d96b6b080545ae819ceb00e000227 | 3,660 | py | Python | test/test_validators.py | silverfernsys/agentserver | 3372f7a60af7a64ab3f4e431edeb95f23b2b6be5 | [
"BSD-4-Clause"
] | 2 | 2017-05-24T17:01:14.000Z | 2019-05-06T11:58:33.000Z | test/test_validators.py | silverfernsys/agentserver | 3372f7a60af7a64ab3f4e431edeb95f23b2b6be5 | [
"BSD-4-Clause"
] | null | null | null | test/test_validators.py | silverfernsys/agentserver | 3372f7a60af7a64ab3f4e431edeb95f23b2b6be5 | [
"BSD-4-Clause"
] | null | null | null | #! /usr/bin/env python
import json
import os
import unittest
from agentserver.utils.validators import (system_stats_validator,
states_validator,
snapshot_validator)
resources = os.path.join(os.path.abspath(
os.path.dirname(__file__)), 'resources')
class... | 38.93617 | 72 | 0.606011 | 413 | 3,660 | 5.244552 | 0.16707 | 0.041551 | 0.060018 | 0.077562 | 0.816251 | 0.761773 | 0.761773 | 0.756233 | 0.715143 | 0.625577 | 0 | 0.004412 | 0.256831 | 3,660 | 93 | 73 | 39.354839 | 0.791912 | 0.005738 | 0 | 0.56 | 0 | 0 | 0.142111 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 1 | 0.066667 | false | 0.026667 | 0.053333 | 0 | 0.133333 | 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 |
9f54a9b3800cb09b01956fb0cd7c8f32c58ba86a | 68 | py | Python | py_tdlib/constructors/message_expired_video.py | Mr-TelegramBot/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 24 | 2018-10-05T13:04:30.000Z | 2020-05-12T08:45:34.000Z | py_tdlib/constructors/message_expired_video.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 3 | 2019-06-26T07:20:20.000Z | 2021-05-24T13:06:56.000Z | py_tdlib/constructors/message_expired_video.py | MrMahdi313/python-tdlib | 2e2d21a742ebcd439971a32357f2d0abd0ce61eb | [
"MIT"
] | 5 | 2018-10-05T14:29:28.000Z | 2020-08-11T15:04:10.000Z | from ..factory import Type
class messageExpiredVideo(Type):
pass
| 11.333333 | 32 | 0.779412 | 8 | 68 | 6.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 68 | 5 | 33 | 13.6 | 0.913793 | 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 |
9f62317ce117de5932e15987c63e20651912c2ea | 3,622 | py | Python | russia.py | fiveD-software/pdf-table-parser | 9288b5c76172569340ee158b4eb811ddcd7e2909 | [
"Apache-2.0"
] | null | null | null | russia.py | fiveD-software/pdf-table-parser | 9288b5c76172569340ee158b4eb811ddcd7e2909 | [
"Apache-2.0"
] | null | null | null | russia.py | fiveD-software/pdf-table-parser | 9288b5c76172569340ee158b4eb811ddcd7e2909 | [
"Apache-2.0"
] | null | null | null |
import os
import parse_table as pt
folder = 'Russia/origin/'
pdfs = ['1-enr1-01.pdf',
'1-enr1-02.pdf',
'1-enr1-03.pdf',
'1-enr1-04.pdf',
'1-enr1-05.pdf',
'1-enr1-06.pdf',
'1-enr1-07.pdf',
'1-enr1-08.pdf',
'1-enr1-09.pdf',
'1-enr1-10.pdf',
... | 36.22 | 120 | 0.592766 | 545 | 3,622 | 3.8 | 0.170642 | 0.070014 | 0.10816 | 0.115886 | 0.846934 | 0.762916 | 0.761951 | 0.761951 | 0.706905 | 0.687591 | 0 | 0.0625 | 0.222529 | 3,622 | 99 | 121 | 36.585859 | 0.67294 | 0.429321 | 0 | 0.413793 | 0 | 0 | 0.154599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051724 | false | 0 | 0.034483 | 0 | 0.086207 | 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 |
9f7840f9b30cb27bcac5d6f4bea1fd9991a803ac | 57 | py | Python | biothings/web/handlers/__init__.py | zcqian/biothings.api | 61c0300317cf2ac7db8310b5b5741ad9b08c4163 | [
"Apache-2.0"
] | null | null | null | biothings/web/handlers/__init__.py | zcqian/biothings.api | 61c0300317cf2ac7db8310b5b5741ad9b08c4163 | [
"Apache-2.0"
] | null | null | null | biothings/web/handlers/__init__.py | zcqian/biothings.api | 61c0300317cf2ac7db8310b5b5741ad9b08c4163 | [
"Apache-2.0"
] | null | null | null | from .base import *
from .api import *
from .es import *
| 14.25 | 19 | 0.684211 | 9 | 57 | 4.333333 | 0.555556 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 57 | 3 | 20 | 19 | 0.866667 | 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 |
9f980bb0becb4e69e9df032237bdfafab44e2d45 | 32 | py | Python | src/storage/tests/__init__.py | Eo300/react_flask_pdb2pqr | 2df89d1df8e8d5b14e4364b10e1b63cb654d7653 | [
"CC0-1.0"
] | 3 | 2019-08-09T20:30:19.000Z | 2020-06-11T20:55:26.000Z | src/storage/tests/__init__.py | Eo300/react_flask_pdb2pqr | 2df89d1df8e8d5b14e4364b10e1b63cb654d7653 | [
"CC0-1.0"
] | 38 | 2019-11-20T01:33:45.000Z | 2021-11-30T19:40:56.000Z | src/storage/tests/__init__.py | Eo300/react_flask_pdb2pqr | 2df89d1df8e8d5b14e4364b10e1b63cb654d7653 | [
"CC0-1.0"
] | 7 | 2019-10-22T18:51:37.000Z | 2021-04-13T03:17:10.000Z | from . import test_storage_utils | 32 | 32 | 0.875 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 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 |
4c9e44b75d64a94169f171aad5e340727c550575 | 13,686 | py | Python | orc8r/protos/service303_pb2_grpc.py | aweimeow/enodebd | e1cd20693153e6b85e5d1bf9d21af2501c358601 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | orc8r/protos/service303_pb2_grpc.py | aweimeow/enodebd | e1cd20693153e6b85e5d1bf9d21af2501c358601 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | orc8r/protos/service303_pb2_grpc.py | aweimeow/enodebd | e1cd20693153e6b85e5d1bf9d21af2501c358601 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from orc8r.protos import common_pb2 as orc8r_dot_protos_dot_common__pb2
from orc8r.protos import metricsd_pb2 as orc8r_dot_protos_dot_metricsd__pb2
from orc8r.pr... | 45.168317 | 124 | 0.652492 | 1,279 | 13,686 | 6.641908 | 0.120407 | 0.042378 | 0.074161 | 0.090053 | 0.812478 | 0.79435 | 0.752207 | 0.707593 | 0.646616 | 0.646616 | 0 | 0.026607 | 0.247552 | 13,686 | 302 | 125 | 45.317881 | 0.79831 | 0.133129 | 0 | 0.607143 | 1 | 0 | 0.083832 | 0.047733 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.017857 | 0.03125 | 0.133929 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4cbbb1684a1252ca226fd8812f47396a6089a84f | 36 | py | Python | problem_328/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_328/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | problem_328/__init__.py | oltionzefi/daily-coding-problem | 4fe3ec53e1f3c7d299849671fdfead462d548cd3 | [
"MIT"
] | null | null | null | from .problem_328 import elo_rating
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.111111 | 36 | 1 | 36 | 36 | 0.8125 | 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 |
4cd573ab1c7a9be02265540bb71c1282cbce947a | 10,473 | py | Python | tests/test_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | tests/test_dcr.py | KonnexionsGmbH/ocr_bench | 8f54b386c22b43a2f4e8f98dc6f7ac69edf7e0be | [
"CNRI-Python",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | # pylint: disable=unused-argument
"""Testing Module dcr.dcr."""
import os
import pathlib
import shutil
import cfg.glob
import pytest
import dcr
# -----------------------------------------------------------------------------
# Constants & Globals.
# --------------------------------------------------------------------... | 41.7251 | 101 | 0.493459 | 1,142 | 10,473 | 4.217163 | 0.082312 | 0.148256 | 0.097176 | 0.116279 | 0.906146 | 0.90054 | 0.888497 | 0.886836 | 0.863995 | 0.812085 | 0 | 0.003262 | 0.121837 | 10,473 | 250 | 102 | 41.892 | 0.520387 | 0.348038 | 0 | 0.48062 | 0 | 0 | 0.104325 | 0.042948 | 0 | 0 | 0 | 0 | 0.310078 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.116279 | 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 |
9802ef93dd8d8644958525577e52f532d7f9733f | 9,201 | py | Python | tests/test_rfc5280.py | Jamim/pyasn1-modules | 7fafbf8550ab9e8727274903ed96ae849cd24594 | [
"BSD-2-Clause"
] | null | null | null | tests/test_rfc5280.py | Jamim/pyasn1-modules | 7fafbf8550ab9e8727274903ed96ae849cd24594 | [
"BSD-2-Clause"
] | null | null | null | tests/test_rfc5280.py | Jamim/pyasn1-modules | 7fafbf8550ab9e8727274903ed96ae849cd24594 | [
"BSD-2-Clause"
] | null | null | null | #
# This file is part of pyasn1-modules software.
#
# Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pyasn1/license.html
#
import sys
from pyasn1.codec.der.decoder import decode as der_decode
from pyasn1.codec.der.encoder import encode as der_encode
from pyasn1.type import un... | 37.864198 | 84 | 0.743071 | 704 | 9,201 | 9.612216 | 0.24858 | 0.011379 | 0.015369 | 0.019654 | 0.785134 | 0.779518 | 0.774937 | 0.766514 | 0.754987 | 0.754987 | 0 | 0.074974 | 0.176611 | 9,201 | 242 | 85 | 38.020661 | 0.818242 | 0.01652 | 0 | 0.709677 | 0 | 0 | 0.405552 | 0.339637 | 0 | 0 | 0 | 0 | 0.182796 | 1 | 0.05914 | false | 0 | 0.053763 | 0 | 0.166667 | 0.010753 | 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 |
e2332040634fae0a6ba701b767e65ed09a1889e7 | 43 | py | Python | moveit_core/python/src/moveit/core/planning_scene/__init__.py | lizixroy/moveit | 4db626d9c3b5d6296b012188a4a0bfe4bddf6bce | [
"BSD-3-Clause"
] | 1,116 | 2016-07-29T06:39:49.000Z | 2022-03-31T08:42:14.000Z | moveit_core/python/src/moveit/core/planning_scene/__init__.py | lizixroy/moveit | 4db626d9c3b5d6296b012188a4a0bfe4bddf6bce | [
"BSD-3-Clause"
] | 2,784 | 2016-07-29T15:19:38.000Z | 2022-03-31T01:35:59.000Z | moveit_core/python/src/moveit/core/planning_scene/__init__.py | tylerjw/moveit | 39f592037576d5fada0e0b64c27370222c7c286c | [
"BSD-3-Clause"
] | 956 | 2016-07-30T17:03:44.000Z | 2022-03-31T15:48:31.000Z | from pymoveit_core.planning_scene import *
| 21.5 | 42 | 0.860465 | 6 | 43 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.897436 | 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 |
2c3a4afbca84dadb66233c2c85a5a5f620a0ae84 | 35 | py | Python | duqo/lolhr/__init__.py | canbooo/pyRDO | f7143438aa30cc79587c9f35fc9ff6aa262fc4d3 | [
"BSD-3-Clause"
] | 11 | 2021-08-17T05:55:01.000Z | 2022-02-03T13:16:42.000Z | duqo/lolhr/__init__.py | canbooo/pyRDO | f7143438aa30cc79587c9f35fc9ff6aa262fc4d3 | [
"BSD-3-Clause"
] | null | null | null | duqo/lolhr/__init__.py | canbooo/pyRDO | f7143438aa30cc79587c9f35fc9ff6aa262fc4d3 | [
"BSD-3-Clause"
] | null | null | null | from .rrdo_lolhr import lolhr4rrdo
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c96eb2c9426d35f295f64930be67fa6d28176b4 | 98 | py | Python | testtest.py | HypertinIsBehindYou/Python4Everybody | 1f1f2fc6aae0bbc206318210d9de1af2ae7067ba | [
"BSD-3-Clause"
] | null | null | null | testtest.py | HypertinIsBehindYou/Python4Everybody | 1f1f2fc6aae0bbc206318210d9de1af2ae7067ba | [
"BSD-3-Clause"
] | null | null | null | testtest.py | HypertinIsBehindYou/Python4Everybody | 1f1f2fc6aae0bbc206318210d9de1af2ae7067ba | [
"BSD-3-Clause"
] | null | null | null | print('Hello world. This is the first python code that i wrote in my life and i am so excited!!')
| 49 | 97 | 0.734694 | 20 | 98 | 3.6 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193878 | 98 | 1 | 98 | 98 | 0.911392 | 0 | 0 | 0 | 0 | 1 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3906a5ab21f484a282dd803fb3c8e6d857c0cc96 | 45,616 | py | Python | code/solver.py | felipeaugustogudes/paper-fwi | cf1b4fa8dc060220cae1e32f9fe628016237a64f | [
"MIT"
] | null | null | null | code/solver.py | felipeaugustogudes/paper-fwi | cf1b4fa8dc060220cae1e32f9fe628016237a64f | [
"MIT"
] | null | null | null | code/solver.py | felipeaugustogudes/paper-fwi | cf1b4fa8dc060220cae1e32f9fe628016237a64f | [
"MIT"
] | null | null | null | #==============================================================================
# Python Imports
#==============================================================================
import numpy as np
import math as mt
import matplotlib.pyplot ... | 47.516667 | 191 | 0.486299 | 6,156 | 45,616 | 3.56319 | 0.05718 | 0.016686 | 0.010121 | 0.009118 | 0.849875 | 0.839982 | 0.820059 | 0.799544 | 0.779394 | 0.773877 | 0 | 0.091038 | 0.291564 | 45,616 | 960 | 192 | 47.516667 | 0.587727 | 0.075785 | 0 | 0.618971 | 0 | 0 | 0.02117 | 0 | 0 | 0 | 0 | 0 | 0.004823 | 1 | 0.012862 | false | 0 | 0.016077 | 0 | 0.043408 | 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 |
394b404b6d0434a800a713f9482b7a49660ace7c | 144 | py | Python | Python/python_study_1/page4/script.py | zharmedia386/Progate-Course-Repo | 0dec6bd2d5594b1624251a74f6ebcf8266c449ba | [
"MIT"
] | null | null | null | Python/python_study_1/page4/script.py | zharmedia386/Progate-Course-Repo | 0dec6bd2d5594b1624251a74f6ebcf8266c449ba | [
"MIT"
] | null | null | null | Python/python_study_1/page4/script.py | zharmedia386/Progate-Course-Repo | 0dec6bd2d5594b1624251a74f6ebcf8266c449ba | [
"MIT"
] | null | null | null | # Print the result of 9 / 2
print(9 / 2)
# Print the result of 7 * 5
print(7 * 5)
# Print the remainder of 5 divided by 2 using %
print(5 % 2) | 18 | 47 | 0.638889 | 30 | 144 | 3.066667 | 0.4 | 0.26087 | 0.304348 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 0.256944 | 144 | 8 | 48 | 18 | 0.747664 | 0.673611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1ac0966c44711298effd6814f960325e331320a0 | 6 | py | Python | python/pantelis_simulator.py | alphaville/learn_git | 7f7e6e6c38315b4eba9f2b2757accd3cc8706bf8 | [
"MIT"
] | 4 | 2019-09-06T22:40:20.000Z | 2021-10-10T10:20:26.000Z | main-untexed/650.tex | varqox/img2tex | 526b6f07d49d03eab40b3ad1d5e58fc91fc33a0e | [
"MIT"
] | 2 | 2020-12-03T15:16:02.000Z | 2020-12-16T11:32:13.000Z | python/pantelis_simulator.py | alphaville/learn_git | 7f7e6e6c38315b4eba9f2b2757accd3cc8706bf8 | [
"MIT"
] | null | null | null | s = 1
| 3 | 5 | 0.333333 | 2 | 6 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.5 | 6 | 1 | 6 | 6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1aca53f0c761224f3979c3a2f3aea3cc52291e95 | 46 | py | Python | 015/015.py | jaredks/euler | b90f0d0c8308b26fd282b9807bfd0d6ed0dd88f4 | [
"BSD-3-Clause"
] | 1 | 2021-02-22T12:08:52.000Z | 2021-02-22T12:08:52.000Z | 015/015.py | jaredks/euler | b90f0d0c8308b26fd282b9807bfd0d6ed0dd88f4 | [
"BSD-3-Clause"
] | null | null | null | 015/015.py | jaredks/euler | b90f0d0c8308b26fd282b9807bfd0d6ed0dd88f4 | [
"BSD-3-Clause"
] | null | null | null | from euler import choose
print choose(40, 20)
| 15.333333 | 24 | 0.782609 | 8 | 46 | 4.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.152174 | 46 | 2 | 25 | 23 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
201124adac8b81482483d766570674cd67aa5b92 | 12,359 | py | Python | messengerext/files/tests.py | groupsome/groupsome | 4edcf30d66ff458c4df37d3198ef187219a768d7 | [
"MIT"
] | 6 | 2016-10-07T13:43:17.000Z | 2017-10-07T22:34:44.000Z | messengerext/files/tests.py | groupsome/groupsome | 4edcf30d66ff458c4df37d3198ef187219a768d7 | [
"MIT"
] | null | null | null | messengerext/files/tests.py | groupsome/groupsome | 4edcf30d66ff458c4df37d3198ef187219a768d7 | [
"MIT"
] | 1 | 2020-07-15T04:29:31.000Z | 2020-07-15T04:29:31.000Z | from django.test import TestCase, RequestFactory
from django.core.urlresolvers import resolve, reverse
from django.test.client import Client
from django.contrib.auth.models import User
from home.models import Directory, File
from gallery.models import Album
from gallery import queries
from groups.tests import create_us... | 50.444898 | 117 | 0.691156 | 1,523 | 12,359 | 5.45568 | 0.082731 | 0.057769 | 0.075099 | 0.04802 | 0.845348 | 0.825129 | 0.814659 | 0.761463 | 0.727163 | 0.713323 | 0 | 0.014633 | 0.181649 | 12,359 | 244 | 118 | 50.651639 | 0.806901 | 0 | 0 | 0.574879 | 0 | 0 | 0.116595 | 0.058014 | 0 | 0 | 0 | 0 | 0.256039 | 1 | 0.140097 | false | 0 | 0.048309 | 0.009662 | 0.227053 | 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 |
201242a2ea00183d9758dfb807b1946f1f48dac8 | 146 | py | Python | app/accounts/manage.py | uploadcare/intercom-rank | 1b4eb8ab8589c7ed85dd295f97016213deafec93 | [
"MIT"
] | 12 | 2016-03-10T15:58:51.000Z | 2020-05-07T21:46:03.000Z | app/accounts/manage.py | uploadcare/intercom-rank | 1b4eb8ab8589c7ed85dd295f97016213deafec93 | [
"MIT"
] | 34 | 2019-06-14T16:17:13.000Z | 2020-12-17T10:19:45.000Z | app/accounts/manage.py | uploadcare/intercom-rank | 1b4eb8ab8589c7ed85dd295f97016213deafec93 | [
"MIT"
] | 1 | 2016-12-23T11:02:07.000Z | 2016-12-23T11:02:07.000Z | from app.accounts.utils import create_admin as _create_admin
from app import manager
@manager.command
def create_admin():
_create_admin()
| 14.6 | 60 | 0.787671 | 21 | 146 | 5.190476 | 0.52381 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 146 | 9 | 61 | 16.222222 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 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 |
649ec5571e64dbbda0ac0ff388659973edf8cb81 | 13,966 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimTemplateZoneConditions_ZoneConditions_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimTemplateZoneConditions_ZoneConditions_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimTemplateZoneConditions_ZoneConditions_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 47.503401 | 193 | 0.78641 | 1,261 | 13,966 | 8.160983 | 0.126883 | 0.375182 | 0.384414 | 0.26907 | 0.710038 | 0.669906 | 0.636187 | 0.463123 | 0.409873 | 0.352541 | 0 | 0.001428 | 0.147716 | 13,966 | 293 | 194 | 47.665529 | 0.863144 | 0.021051 | 0 | 0.352679 | 1 | 0 | 0.024301 | 0.007173 | 0 | 0 | 0 | 0 | 0 | 1 | 0.196429 | false | 0.008929 | 0.049107 | 0.160714 | 0.59375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b39424d451807a2dc82233bfab941d4b99d045d1 | 37 | py | Python | src/model_blocks/__init__.py | cianmscannell/pinns | f3b9de9ba2690eb6fc2de2d5940b0d7a9b197d1d | [
"MIT"
] | 8 | 2020-12-02T07:26:49.000Z | 2022-01-31T16:09:12.000Z | src/model_blocks/__init__.py | cianmscannell/pinns | f3b9de9ba2690eb6fc2de2d5940b0d7a9b197d1d | [
"MIT"
] | null | null | null | src/model_blocks/__init__.py | cianmscannell/pinns | f3b9de9ba2690eb6fc2de2d5940b0d7a9b197d1d | [
"MIT"
] | 4 | 2021-04-05T13:22:39.000Z | 2022-03-09T19:54:34.000Z | from .dense_encoder import DenseBlock | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b611c97b13082d6239bc3a756ac9f5ac49f6a4e0 | 4,060 | py | Python | tests/test_file.py | ironfroggy/nexus | 47fb3b037ae7f67913d702d40914d05be5b1ba4d | [
"MIT"
] | null | null | null | tests/test_file.py | ironfroggy/nexus | 47fb3b037ae7f67913d702d40914d05be5b1ba4d | [
"MIT"
] | 3 | 2022-03-03T03:01:11.000Z | 2022-03-03T03:06:43.000Z | tests/test_file.py | ironfroggy/nexus | 47fb3b037ae7f67913d702d40914d05be5b1ba4d | [
"MIT"
] | null | null | null | import re
from nexus.file import Record, NexusFile
def test_read_string():
f = open("test.nexus", "w")
f.write('N 0 1 foo="Hello, World!"')
f.close()
nf = NexusFile("test.nexus", "r")
ts, record = nf.readRecord()
assert record.id == "1"
assert record["foo"] == "Hello, World!... | 25.217391 | 78 | 0.517734 | 589 | 4,060 | 3.511036 | 0.117148 | 0.121857 | 0.145068 | 0.193424 | 0.809478 | 0.80029 | 0.777563 | 0.718085 | 0.690522 | 0.690522 | 0 | 0.040186 | 0.258374 | 4,060 | 160 | 79 | 25.375 | 0.646629 | 0 | 0 | 0.634146 | 0 | 0 | 0.204615 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 1 | 0.113821 | false | 0.02439 | 0.01626 | 0 | 0.130081 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
375c28b9862461e154ac437dc660df81c86688e3 | 6,978 | py | Python | vows/get_image_with_optimizer_vows.py | verglor/thumbor-plugins | 386fbd4a96f99e79c0d055d0f23bca50465ec9fc | [
"MIT"
] | 31 | 2015-04-02T15:14:18.000Z | 2022-03-15T22:54:29.000Z | vows/get_image_with_optimizer_vows.py | verglor/thumbor-plugins | 386fbd4a96f99e79c0d055d0f23bca50465ec9fc | [
"MIT"
] | 56 | 2015-03-16T17:23:28.000Z | 2022-03-17T02:30:34.000Z | vows/get_image_with_optimizer_vows.py | verglor/thumbor-plugins | 386fbd4a96f99e79c0d055d0f23bca50465ec9fc | [
"MIT"
] | 23 | 2015-03-16T15:44:47.000Z | 2021-12-24T01:46:00.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# thumbor imaging service
# https://github.com/globocom/thumbor/wiki
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2011 globo.com timehome@corp.globo.com
from os.path import abspath, join, dirname
from pyvows import Vows, ... | 30.876106 | 93 | 0.64861 | 765 | 6,978 | 5.773856 | 0.162092 | 0.044374 | 0.047544 | 0.057052 | 0.784469 | 0.784469 | 0.784469 | 0.784469 | 0.784469 | 0.784469 | 0 | 0.011544 | 0.242763 | 6,978 | 226 | 94 | 30.876106 | 0.824375 | 0.033677 | 0 | 0.760479 | 0 | 0 | 0.12513 | 0.062045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131737 | false | 0 | 0.179641 | 0.041916 | 0.48503 | 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 |
375e1ae8ac47115d8d8a6bfc9c034692e938127d | 11,093 | py | Python | tests/test_models.py | omss24/django-push-notifications | d3863262addc235a021eeeb08a0c17ecc28df668 | [
"MIT"
] | null | null | null | tests/test_models.py | omss24/django-push-notifications | d3863262addc235a021eeeb08a0c17ecc28df668 | [
"MIT"
] | null | null | null | tests/test_models.py | omss24/django-push-notifications | d3863262addc235a021eeeb08a0c17ecc28df668 | [
"MIT"
] | null | null | null | import json
import mock
from django.test import TestCase
from django.utils import timezone
from push_notifications.models import GCMDevice, APNSDevice
from tests.mock_responses import ( GCM_PLAIN_RESPONSE,GCM_MULTIPLE_JSON_RESPONSE, GCM_PLAIN_RESPONSE_ERROR,
GCM_JSON_RESPONSE_ERROR, G... | 47.609442 | 123 | 0.64446 | 1,319 | 11,093 | 5.105383 | 0.096285 | 0.093555 | 0.058064 | 0.064152 | 0.856697 | 0.799525 | 0.786902 | 0.752302 | 0.727205 | 0.706712 | 0 | 0.004693 | 0.250879 | 11,093 | 232 | 124 | 47.814655 | 0.805656 | 0.011629 | 0 | 0.544554 | 0 | 0 | 0.146063 | 0.080285 | 0 | 0 | 0 | 0 | 0.158416 | 1 | 0.094059 | false | 0 | 0.034653 | 0 | 0.133663 | 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 |
37a447e27ed3499d10283ea8d935223412dd13f2 | 57 | py | Python | src/JavaPropertiesLibrary/keywords/__init__.py | horsewithnoname1985/JavaPropertiesLibrary | 0d413a53136c3b0b31142d12f9cffbd06b46ab4a | [
"Apache-2.0"
] | null | null | null | src/JavaPropertiesLibrary/keywords/__init__.py | horsewithnoname1985/JavaPropertiesLibrary | 0d413a53136c3b0b31142d12f9cffbd06b46ab4a | [
"Apache-2.0"
] | null | null | null | src/JavaPropertiesLibrary/keywords/__init__.py | horsewithnoname1985/JavaPropertiesLibrary | 0d413a53136c3b0b31142d12f9cffbd06b46ab4a | [
"Apache-2.0"
] | null | null | null | from .JavaPropertiesLibrary import JavaPropertiesLibrary
| 28.5 | 56 | 0.912281 | 4 | 57 | 13 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.981132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
37c1acc9582236245e2f14f981982c4ea6a27f36 | 136 | py | Python | pygsm/growing_string_methods/__init__.py | achang67/pyGSM-1 | ba7a1a1563a0d7765999e6683a93236571e6a470 | [
"MIT"
] | null | null | null | pygsm/growing_string_methods/__init__.py | achang67/pyGSM-1 | ba7a1a1563a0d7765999e6683a93236571e6a470 | [
"MIT"
] | null | null | null | pygsm/growing_string_methods/__init__.py | achang67/pyGSM-1 | ba7a1a1563a0d7765999e6683a93236571e6a470 | [
"MIT"
] | null | null | null | from .gsm import GSM
from .main_gsm import MainGSM
from .de_gsm import DE_GSM
from .se_gsm import SE_GSM
from .se_cross import SE_Cross
| 22.666667 | 30 | 0.816176 | 27 | 136 | 3.851852 | 0.296296 | 0.346154 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 5 | 31 | 27.2 | 0.896552 | 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 |
8088010e4110a03daf31c5ab6df38b808f39fa57 | 317 | py | Python | lib_Partage_BSS/exceptions/__init__.py | DSI-Universite-Rennes2/libPythonBssApi | 80477806238f0e98cc962ed0f346660a3f2bfbaf | [
"Apache-2.0"
] | 3 | 2018-05-02T09:37:29.000Z | 2022-02-09T07:58:09.000Z | lib_Partage_BSS/exceptions/__init__.py | DSI-Universite-Rennes2/libPythonBssApi | 80477806238f0e98cc962ed0f346660a3f2bfbaf | [
"Apache-2.0"
] | 12 | 2018-05-14T13:17:28.000Z | 2022-03-29T08:21:06.000Z | lib_Partage_BSS/exceptions/__init__.py | DSI-Universite-Rennes2/libPythonBssApi | 80477806238f0e98cc962ed0f346660a3f2bfbaf | [
"Apache-2.0"
] | 7 | 2018-05-02T09:38:15.000Z | 2022-02-09T13:03:01.000Z | """Package exceptions"""
from .ServiceException import ServiceException
from .TmpServiceException import TmpServiceException
from .NameException import NameException
from .BSSConnexionException import BSSConnexionException
from .DomainException import DomainException
from .NotFoundException import NotFoundException
| 39.625 | 56 | 0.880126 | 26 | 317 | 10.730769 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082019 | 317 | 7 | 57 | 45.285714 | 0.958763 | 0.056782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80d175006052bf60d76bcdeda1fb5f91b08c6426 | 204 | py | Python | src/module.py | jtobarmartinez/MAS2122-T2P1 | a33b6e19c511d27225706634ce67f57194d97afe | [
"MIT"
] | null | null | null | src/module.py | jtobarmartinez/MAS2122-T2P1 | a33b6e19c511d27225706634ce67f57194d97afe | [
"MIT"
] | null | null | null | src/module.py | jtobarmartinez/MAS2122-T2P1 | a33b6e19c511d27225706634ce67f57194d97afe | [
"MIT"
] | 11 | 2022-01-05T09:13:15.000Z | 2022-01-05T09:18:16.000Z | # design in each module
class Cube(object):
def __init__(self):
pass
class Rhombic(object):
def __init__(self):
pass
class Sphere(object):
def __init__(self):
pass
| 13.6 | 23 | 0.612745 | 25 | 204 | 4.52 | 0.52 | 0.238938 | 0.345133 | 0.451327 | 0.646018 | 0.460177 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 204 | 14 | 24 | 14.571429 | 0.784722 | 0.102941 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
03b822b7186c6103ecb7fe267fa2a0c136a3f4df | 9,755 | py | Python | src/imagine/rl/actor_critic.py | jordyantunes/Imagine | 783cedaa53635b21e18ef41ab1524d56e368d120 | [
"MIT"
] | 20 | 2020-11-06T10:54:08.000Z | 2022-02-24T15:23:31.000Z | src/imagine/rl/actor_critic.py | jordyantunes/Imagine | 783cedaa53635b21e18ef41ab1524d56e368d120 | [
"MIT"
] | null | null | null | src/imagine/rl/actor_critic.py | jordyantunes/Imagine | 783cedaa53635b21e18ef41ab1524d56e368d120 | [
"MIT"
] | 4 | 2020-11-17T17:00:02.000Z | 2021-07-08T22:51:14.000Z | import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
from torch.distributions import Normal
"""
the input x in both networks should be [o, g], where o is the observation and g is the goal.
"""
class Feedforward(torch.nn.Module):
def __init__(self, input_size, layers_sizes):
... | 49.517766 | 119 | 0.595695 | 1,395 | 9,755 | 3.966308 | 0.082437 | 0.042292 | 0.056389 | 0.075908 | 0.824869 | 0.811856 | 0.806976 | 0.798843 | 0.755648 | 0.748961 | 0 | 0.021022 | 0.253921 | 9,755 | 196 | 120 | 49.770408 | 0.739214 | 0.008201 | 0 | 0.417722 | 0 | 0 | 0.058891 | 0.052604 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06962 | false | 0 | 0.031646 | 0.012658 | 0.158228 | 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 |
03ec7d11c4d6c23c149658a07b7b7b8a422db87d | 16,017 | py | Python | tests/test_trie.py | beepscore/trie_me | 84464ede2dc19c06fa771e4e4cc674edb9395092 | [
"MIT"
] | 1 | 2021-11-29T12:58:27.000Z | 2021-11-29T12:58:27.000Z | tests/test_trie.py | beepscore/trie_me | 84464ede2dc19c06fa771e4e4cc674edb9395092 | [
"MIT"
] | null | null | null | tests/test_trie.py | beepscore/trie_me | 84464ede2dc19c06fa771e4e4cc674edb9395092 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import unittest
import trie
import node
class TestTrie(unittest.TestCase):
def test_instantiate(self):
root_node = None
numbers_trie = trie.Trie(root_node)
self.assertIsNotNone(numbers_trie)
def test_root_node(self):
root_node = node.Node()
sel... | 37.687059 | 110 | 0.628208 | 1,867 | 16,017 | 5.119443 | 0.071773 | 0.145009 | 0.095731 | 0.069575 | 0.856978 | 0.793681 | 0.763235 | 0.752668 | 0.738648 | 0.694915 | 0 | 0.094229 | 0.245989 | 16,017 | 424 | 111 | 37.775943 | 0.697193 | 0.032278 | 0 | 0.649123 | 0 | 0 | 0.172285 | 0.058763 | 0 | 0 | 0 | 0 | 0.22807 | 1 | 0.105263 | false | 0 | 0.008772 | 0 | 0.116959 | 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 |
03fd23ac14c6b2d39a7b574bb8b8ad6d027439b6 | 87 | py | Python | pynq_chainer/__init__.py | tkat0/pynq-chainer | 30ffed5d08cd37207841623fcdaae4328d6e26eb | [
"MIT"
] | 6 | 2017-08-20T10:23:57.000Z | 2020-02-06T18:35:06.000Z | pynq_chainer/__init__.py | tkat0/pynq-chainer | 30ffed5d08cd37207841623fcdaae4328d6e26eb | [
"MIT"
] | null | null | null | pynq_chainer/__init__.py | tkat0/pynq-chainer | 30ffed5d08cd37207841623fcdaae4328d6e26eb | [
"MIT"
] | null | null | null | from . import links
from . import functions
from . import utils
from . import pcsim
| 10.875 | 23 | 0.735632 | 12 | 87 | 5.333333 | 0.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 87 | 7 | 24 | 12.428571 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ff07e75f6172ac158700fcb6be388b7e3d842ec5 | 25 | py | Python | msl/examples/__init__.py | rebeccahawke/msl-qt | 753ea28aa385a39a33827de2c229e9944a3b1cf3 | [
"MIT"
] | 51 | 2017-02-20T18:13:18.000Z | 2022-03-02T21:46:36.000Z | msl/examples/__init__.py | rebeccahawke/msl-qt | 753ea28aa385a39a33827de2c229e9944a3b1cf3 | [
"MIT"
] | 31 | 2017-02-20T18:09:43.000Z | 2022-03-02T15:21:37.000Z | msl/examples/__init__.py | rebeccahawke/msl-qt | 753ea28aa385a39a33827de2c229e9944a3b1cf3 | [
"MIT"
] | 15 | 2017-02-20T18:13:25.000Z | 2020-04-06T12:27:43.000Z | # DO NOT EDIT THIS FILE.
| 12.5 | 24 | 0.68 | 5 | 25 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 25 | 1 | 25 | 25 | 0.894737 | 0.88 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2081d6acd5de8f305d59a7b359f5512289e84256 | 1,174 | py | Python | reinforcement_learning/gym/wrappers/__init__.py | mizolotu/izi | d2d00813919259aad3dcdbc54039c30cbb16b125 | [
"MIT"
] | null | null | null | reinforcement_learning/gym/wrappers/__init__.py | mizolotu/izi | d2d00813919259aad3dcdbc54039c30cbb16b125 | [
"MIT"
] | null | null | null | reinforcement_learning/gym/wrappers/__init__.py | mizolotu/izi | d2d00813919259aad3dcdbc54039c30cbb16b125 | [
"MIT"
] | null | null | null | from reinforcement_learning.gym import error
from reinforcement_learning.gym.wrappers.monitor import Monitor
from reinforcement_learning.gym.wrappers.time_limit import TimeLimit
from reinforcement_learning.gym.wrappers.filter_observation import FilterObservation
from reinforcement_learning.gym.wrappers.atari_preprocess... | 73.375 | 97 | 0.912266 | 133 | 1,174 | 7.827068 | 0.308271 | 0.244957 | 0.360231 | 0.403458 | 0.532181 | 0.186359 | 0.099904 | 0.099904 | 0 | 0 | 0 | 0 | 0.051107 | 1,174 | 15 | 98 | 78.266667 | 0.93447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
20c0ad12f9e621cf65b11ac3d23654ccb9f755d3 | 215 | py | Python | ParadoxTrading/Utils/__init__.py | gsamarakoon/ParadoxTrading | 2c4024e60b14bf630fd141ccd4c77f197b7c901a | [
"MIT"
] | 95 | 2018-01-14T14:35:35.000Z | 2021-03-17T02:10:24.000Z | ParadoxTrading/Utils/__init__.py | yutiansut/ParadoxTrading | b915d1491663443bedbb048017abeed3f7dcd4e2 | [
"MIT"
] | 2 | 2018-01-14T14:35:51.000Z | 2018-07-06T02:57:49.000Z | ParadoxTrading/Utils/__init__.py | yutiansut/ParadoxTrading | b915d1491663443bedbb048017abeed3f7dcd4e2 | [
"MIT"
] | 25 | 2018-01-14T14:38:08.000Z | 2020-07-15T16:03:04.000Z | from .DataStruct import DataStruct
from .Serializable import Serializable
from .Split import SplitIntoHour, SplitIntoMinute, SplitIntoMonth, \
SplitIntoSecond, SplitIntoWeek, SplitTickImbalance, SplitVolumeBars
| 43 | 71 | 0.846512 | 18 | 215 | 10.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106977 | 215 | 4 | 72 | 53.75 | 0.947917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
45616e701a6695f451c4cc050b63f5fec2362466 | 4,903 | py | Python | server/tests/test_versioned_resources_api.py | GaloisInc/BESSPIN-UI | 93281ec415249f334a7c50ff8b7df7dcc563ac08 | [
"Apache-2.0"
] | null | null | null | server/tests/test_versioned_resources_api.py | GaloisInc/BESSPIN-UI | 93281ec415249f334a7c50ff8b7df7dcc563ac08 | [
"Apache-2.0"
] | null | null | null | server/tests/test_versioned_resources_api.py | GaloisInc/BESSPIN-UI | 93281ec415249f334a7c50ff8b7df7dcc563ac08 | [
"Apache-2.0"
] | null | null | null | from helpers import (
BesspinTestApiBaseClass,
create_versionedResource,
DEFAULT_HEADERS
)
import json
from datetime import datetime
from app.models import (
VersionedResourceType,
VersionedResource,
)
class TestVersionedResourcesApi(BesspinTestApiBaseClass):
def setUp(self):
super(T... | 37.715385 | 108 | 0.620844 | 515 | 4,903 | 5.809709 | 0.178641 | 0.075201 | 0.069184 | 0.067848 | 0.81484 | 0.804813 | 0.777406 | 0.762032 | 0.733957 | 0.733957 | 0 | 0.012212 | 0.248419 | 4,903 | 129 | 109 | 38.007752 | 0.799729 | 0.010606 | 0 | 0.682692 | 0 | 0 | 0.146689 | 0.056736 | 0 | 0 | 0 | 0 | 0.211538 | 1 | 0.057692 | false | 0 | 0.038462 | 0 | 0.105769 | 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 |
afe53ef80f41ef9e33d4d155d332fcccffd19f94 | 34,034 | py | Python | tests/helios/core/p2p proto/test_sync.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | tests/helios/core/p2p proto/test_sync.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | tests/helios/core/p2p proto/test_sync.py | hyperevo/py-helios-node | ff417fe3fe90f85c9f95b3d8a5f0dd4c80532ee8 | [
"MIT"
] | null | null | null | import asyncio
import logging
import time
import pytest
from eth_keys import keys
from eth_utils import decode_hex
from helios.dev_tools import add_transactions_to_blockchain_db, add_random_transactions_to_db_for_time_window
from hp2p.consensus import Consensus
from hp2p.constants import ADDITIVE_SYNC_MODE_CUTOFF
f... | 44.781579 | 169 | 0.715784 | 4,529 | 34,034 | 4.923383 | 0.076397 | 0.022962 | 0.031572 | 0.04413 | 0.821419 | 0.796349 | 0.784241 | 0.771459 | 0.750381 | 0.73464 | 0 | 0.033889 | 0.211876 | 34,034 | 760 | 170 | 44.781579 | 0.797413 | 0.096697 | 0 | 0.604124 | 0 | 0 | 0.010669 | 0.004377 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014433 | false | 0.002062 | 0.134021 | 0.006186 | 0.164948 | 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 |
aff477bb037ccb57be805dc1e4be4c9b9e41d2ed | 82 | py | Python | gui/__init__.py | grsakea/pyt | af8696e5b25c4f60008780e2b9ae1efa74aaec20 | [
"MIT"
] | 1 | 2015-05-05T05:01:32.000Z | 2015-05-05T05:01:32.000Z | gui/__init__.py | grsakea/pyt | af8696e5b25c4f60008780e2b9ae1efa74aaec20 | [
"MIT"
] | null | null | null | gui/__init__.py | grsakea/pyt | af8696e5b25c4f60008780e2b9ae1efa74aaec20 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from gui.gui import startGUI
def main():
startGUI()
| 10.25 | 28 | 0.670732 | 12 | 82 | 4.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.195122 | 82 | 7 | 29 | 11.714286 | 0.818182 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b30a13e2f95b737921f2647c92cbe5d12a3d1659 | 656 | py | Python | analysis/lib/geometry/__init__.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | null | null | null | analysis/lib/geometry/__init__.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | null | null | null | analysis/lib/geometry/__init__.py | astutespruce/sarp | 7ce503380440c47b762ed1a8efd1d3e3aab6605e | [
"MIT"
] | null | null | null | from analysis.lib.geometry.aggregate import (
dissolve,
find_contiguous_groups,
union_or_combine,
)
from analysis.lib.geometry.clean import make_valid
from analysis.lib.geometry.crs import to_crs, geo_bounds
from analysis.lib.geometry.explode import explode
from analysis.lib.geometry.io import write_geoms
f... | 36.444444 | 83 | 0.824695 | 93 | 656 | 5.591398 | 0.44086 | 0.207692 | 0.259615 | 0.398077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11128 | 656 | 17 | 84 | 38.588235 | 0.891938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.529412 | 0 | 0.529412 | 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 |
b34fa66f481c7a669fa9a2ab4df811ffe4f16b88 | 70 | py | Python | pygration/core/__init__.py | RafaelGSS/pygration | 327b8539479018bd6e08abc74ff6c72b0d3f0688 | [
"MIT"
] | null | null | null | pygration/core/__init__.py | RafaelGSS/pygration | 327b8539479018bd6e08abc74ff6c72b0d3f0688 | [
"MIT"
] | null | null | null | pygration/core/__init__.py | RafaelGSS/pygration | 327b8539479018bd6e08abc74ff6c72b0d3f0688 | [
"MIT"
] | 1 | 2018-08-31T16:55:56.000Z | 2018-08-31T16:55:56.000Z | from .model import *
from .output import *
from .sql_predef import *
| 14 | 25 | 0.728571 | 10 | 70 | 5 | 0.6 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 4 | 26 | 17.5 | 0.877193 | 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 |
b351828e898eff83328b94709a09855a6d7dbd43 | 37 | py | Python | tests/__init__.py | vilkasgroup/Procountor | f3ed0f4071ddbd6f2ee3a4ce455ca5e1090217a2 | [
"MIT"
] | 2 | 2019-07-25T12:21:49.000Z | 2021-11-27T12:26:12.000Z | tests/__init__.py | vilkasgroup/Procountor | f3ed0f4071ddbd6f2ee3a4ce455ca5e1090217a2 | [
"MIT"
] | 11 | 2018-01-30T13:21:49.000Z | 2021-11-16T07:09:27.000Z | tests/__init__.py | vilkasgroup/Procountor | f3ed0f4071ddbd6f2ee3a4ce455ca5e1090217a2 | [
"MIT"
] | 3 | 2018-05-15T12:49:54.000Z | 2019-07-25T12:21:55.000Z | from .test_client import TestClient
| 12.333333 | 35 | 0.837838 | 5 | 37 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b36bcf14fdd4ae204d7d4e4b1eb977453ed8516a | 15,372 | py | Python | tests/core/v5_1/alexandria/test_advertisement_collector.py | gsalgado/ddht | 341e84e9163338556cd48dd2fcfda9eedec3eb45 | [
"MIT"
] | 1 | 2021-04-05T00:30:39.000Z | 2021-04-05T00:30:39.000Z | tests/core/v5_1/alexandria/test_advertisement_collector.py | gsalgado/ddht | 341e84e9163338556cd48dd2fcfda9eedec3eb45 | [
"MIT"
] | null | null | null | tests/core/v5_1/alexandria/test_advertisement_collector.py | gsalgado/ddht | 341e84e9163338556cd48dd2fcfda9eedec3eb45 | [
"MIT"
] | null | null | null | from eth_utils import ValidationError
import pytest
import trio
from ddht.tools.factories.alexandria import AdvertisementFactory
from ddht.tools.factories.content import ContentFactory
from ddht.v5_1.alexandria.content import compute_content_distance
from ddht.v5_1.alexandria.messages import GetContentMessage
from ddh... | 36.687351 | 123 | 0.786885 | 1,719 | 15,372 | 6.643979 | 0.093077 | 0.119079 | 0.127134 | 0.034936 | 0.846161 | 0.82217 | 0.787059 | 0.771999 | 0.754925 | 0.723404 | 0 | 0.006426 | 0.149623 | 15,372 | 418 | 124 | 36.77512 | 0.867274 | 0.013401 | 0 | 0.621711 | 0 | 0 | 0.008055 | 0 | 0 | 0 | 0 | 0 | 0.082237 | 1 | 0 | false | 0 | 0.029605 | 0 | 0.029605 | 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 |
2fbdb1055bfa931f675856b65095727eac7b8a8b | 25,330 | py | Python | tests/tests_geomstats/test_geodesic_regression.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | tests/tests_geomstats/test_geodesic_regression.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | tests/tests_geomstats/test_geodesic_regression.py | lpereira95/geomstats | c63a4cf28e6c09f6a6b9926e8a712838362017ba | [
"MIT"
] | null | null | null | """Unit tests for Geodesic Regression."""
from scipy.optimize import minimize
import geomstats.backend as gs
import geomstats.tests
from geomstats.geometry.discrete_curves import R2, DiscreteCurves
from geomstats.geometry.euclidean import Euclidean
from geomstats.geometry.hypersphere import Hypersphere
from geomstats... | 36.134094 | 88 | 0.632886 | 3,166 | 25,330 | 4.753632 | 0.059065 | 0.068173 | 0.01608 | 0.025116 | 0.878272 | 0.823389 | 0.797276 | 0.775947 | 0.760864 | 0.738538 | 0 | 0.019005 | 0.272957 | 25,330 | 700 | 89 | 36.185714 | 0.798219 | 0.030715 | 0 | 0.618794 | 0 | 0 | 0.008244 | 0 | 0 | 0 | 0 | 0 | 0.152482 | 1 | 0.04078 | false | 0 | 0.014184 | 0.010638 | 0.069149 | 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 |
6402fb7811fa33347f8f7e787f8a3d3b2222030c | 19 | py | Python | pyadb3/__init__.py | mikusjelly/pyadb3 | a51b3d636900566a5e4717ea54114517a35ecbea | [
"BSD-2-Clause"
] | 105 | 2015-01-22T04:59:09.000Z | 2021-08-06T23:47:17.000Z | pyadb3/__init__.py | mikusjelly/pyadb3 | a51b3d636900566a5e4717ea54114517a35ecbea | [
"BSD-2-Clause"
] | 12 | 2015-03-12T04:24:32.000Z | 2020-07-22T10:29:02.000Z | pyadb3/__init__.py | mikusjelly/pyadb3 | a51b3d636900566a5e4717ea54114517a35ecbea | [
"BSD-2-Clause"
] | 78 | 2015-02-08T13:29:41.000Z | 2022-01-07T15:36:46.000Z | from .adb import *
| 9.5 | 18 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.866667 | 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 |
ff3f9bfc1e3ed31af87b26ce591318a3a39ea0b6 | 12,786 | py | Python | flask_app/app/data_for_data_timeline.py | Qibaiz/TCSS506-Capstone | c617cf791ddae9e06798bd6cc6878786601323eb | [
"MIT"
] | 1 | 2021-05-27T02:38:49.000Z | 2021-05-27T02:38:49.000Z | flask_app/app/data_for_data_timeline.py | Qibaiz/TCSS506-Capstone | c617cf791ddae9e06798bd6cc6878786601323eb | [
"MIT"
] | null | null | null | flask_app/app/data_for_data_timeline.py | Qibaiz/TCSS506-Capstone | c617cf791ddae9e06798bd6cc6878786601323eb | [
"MIT"
] | null | null | null | import json
import plotly
import plotly.graph_objects as go
from app.data_jhu_csse import DataFromJhuCSSE
from app.data_jhu_cci import DataFromJhuCCI
from app.data_health_and_human_services import DataFromHHS
class GraphData:
def __init__(self):
self.case_and_deaths_data_src = DataFromJhuCSSE()
se... | 38.281437 | 110 | 0.451275 | 1,238 | 12,786 | 4.473344 | 0.130048 | 0.021668 | 0.023835 | 0.023474 | 0.763814 | 0.751896 | 0.711268 | 0.711268 | 0.705489 | 0.705489 | 0 | 0.047783 | 0.410762 | 12,786 | 333 | 111 | 38.396396 | 0.687284 | 0.132332 | 0 | 0.753731 | 0 | 0 | 0.211003 | 0.052027 | 0.029851 | 0 | 0 | 0 | 0 | 1 | 0.022388 | false | 0 | 0.022388 | 0 | 0.067164 | 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 |
4408198274fc1d9287f0a147a866f9827e843b43 | 106 | py | Python | physics/cuboid.py | henry232323/PhysicsStuff | 9b31b0d4a0860d2f9fc579450e00914e5aac6ac5 | [
"MIT"
] | null | null | null | physics/cuboid.py | henry232323/PhysicsStuff | 9b31b0d4a0860d2f9fc579450e00914e5aac6ac5 | [
"MIT"
] | null | null | null | physics/cuboid.py | henry232323/PhysicsStuff | 9b31b0d4a0860d2f9fc579450e00914e5aac6ac5 | [
"MIT"
] | null | null | null | from . import inertia, friction
class Cuboid(friction.FrictionObject, inertia.InertiaObject):
pass | 26.5 | 62 | 0.773585 | 11 | 106 | 7.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 4 | 63 | 26.5 | 0.911111 | 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 |
448366e8e8e6b870d69301a176c688b0c9653e59 | 31 | py | Python | pms-docking-demo/backend/app/config/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | 40 | 2019-09-12T00:41:22.000Z | 2022-03-25T03:29:28.000Z | backend/app/config/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | null | null | null | backend/app/config/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | 14 | 2019-09-07T11:49:55.000Z | 2022-03-25T03:36:20.000Z | from .settings import APP_ENV
| 15.5 | 30 | 0.806452 | 5 | 31 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9226ee864f97f2917a13d50ba40c0acf90e44045 | 129 | py | Python | JWLS_2_kernel/__main__.py | eroenegativo/JWLS_2 | db36bcd02bb02a17560a2b9d8f7076f1a9c4e19d | [
"BSD-3-Clause"
] | null | null | null | JWLS_2_kernel/__main__.py | eroenegativo/JWLS_2 | db36bcd02bb02a17560a2b9d8f7076f1a9c4e19d | [
"BSD-3-Clause"
] | null | null | null | JWLS_2_kernel/__main__.py | eroenegativo/JWLS_2 | db36bcd02bb02a17560a2b9d8f7076f1a9c4e19d | [
"BSD-3-Clause"
] | null | null | null | from ipykernel.kernelapp import IPKernelApp
from . import JWLS_2_kernel
IPKernelApp.launch_instance(kernel_class=JWLS_2_kernel)
| 25.8 | 55 | 0.875969 | 18 | 129 | 5.944444 | 0.611111 | 0.093458 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.077519 | 129 | 4 | 56 | 32.25 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92344c2a03cdee941440b2e47fd2fb2fb616fd99 | 24,135 | py | Python | sigkernel/sigkernel.py | vishalbelsare/SignatureKernel | fdd315d90aa902a36cebd94fabb0cba7009a72de | [
"Apache-2.0"
] | 10 | 2021-03-16T12:33:45.000Z | 2022-03-13T12:40:26.000Z | sigkernel/sigkernel.py | vishalbelsare/SignatureKernel | fdd315d90aa902a36cebd94fabb0cba7009a72de | [
"Apache-2.0"
] | null | null | null | sigkernel/sigkernel.py | vishalbelsare/SignatureKernel | fdd315d90aa902a36cebd94fabb0cba7009a72de | [
"Apache-2.0"
] | 3 | 2021-04-27T08:49:59.000Z | 2021-12-26T02:22:47.000Z | import numpy as np
import torch
import torch.cuda
from numba import cuda
from cython_backend import sig_kernel_batch_varpar, sig_kernel_Gram_varpar
from .cuda_backend import compute_sig_kernel_batch_varpar_from_increments_cuda, compute_sig_kernel_Gram_mat_varpar_from_increments_cuda
# ===============================... | 41.115843 | 153 | 0.513072 | 3,453 | 24,135 | 3.354764 | 0.070663 | 0.055594 | 0.058011 | 0.02797 | 0.826053 | 0.815435 | 0.797997 | 0.779351 | 0.742403 | 0.729368 | 0 | 0.033046 | 0.264015 | 24,135 | 586 | 154 | 41.186007 | 0.618871 | 0.198343 | 0 | 0.448171 | 0 | 0.006098 | 0.026873 | 0.002448 | 0 | 0 | 0 | 0 | 0.012195 | 1 | 0.073171 | false | 0 | 0.018293 | 0.003049 | 0.17378 | 0.006098 | 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 |
929aaaa512f6fd9ec363c6c1310ddc40bc8238f3 | 101 | py | Python | diffusion/models/__init__.py | DwaraknathT/Diffusion-Models | dea059cbd7745aad1c535c0ee06fb15db0e3dd59 | [
"MIT"
] | 2 | 2022-03-18T18:46:31.000Z | 2022-03-23T08:36:06.000Z | diffusion/models/__init__.py | DwaraknathT/Diffusion-Models | dea059cbd7745aad1c535c0ee06fb15db0e3dd59 | [
"MIT"
] | null | null | null | diffusion/models/__init__.py | DwaraknathT/Diffusion-Models | dea059cbd7745aad1c535c0ee06fb15db0e3dd59 | [
"MIT"
] | null | null | null | from .unet import Unet
from .equivariant_unet import EquivariantUnet
from .registry import get_model
| 25.25 | 45 | 0.851485 | 14 | 101 | 6 | 0.571429 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 3 | 46 | 33.666667 | 0.94382 | 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 |
92a327725d073cac822254498879fa91cee610bd | 212 | py | Python | resources/fonts/__init__.py | JonasSchatz/DepixHMM | 9fdbefa91ee8dcca46a04f585d9dedf707d19dc9 | [
"MIT"
] | 42 | 2021-09-30T11:13:02.000Z | 2022-03-15T19:50:11.000Z | resources/fonts/__init__.py | JonasSchatz/DepixHMM | 9fdbefa91ee8dcca46a04f585d9dedf707d19dc9 | [
"MIT"
] | 2 | 2021-10-20T04:17:31.000Z | 2021-12-21T20:38:40.000Z | resources/fonts/__init__.py | JonasSchatz/DepixHMM | 9fdbefa91ee8dcca46a04f585d9dedf707d19dc9 | [
"MIT"
] | 3 | 2021-12-01T02:29:34.000Z | 2022-01-19T02:10:26.000Z | import os
from dataclasses import dataclass
from pathlib import Path
@dataclass
class DemoFontPaths:
arial: Path = Path(__file__).parent / 'arial.ttf'
micr: Path = Path(__file__).parent / 'micrenc.ttf'
| 21.2 | 54 | 0.740566 | 27 | 212 | 5.518519 | 0.555556 | 0.107383 | 0.161074 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165094 | 212 | 9 | 55 | 23.555556 | 0.841808 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 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 |
2ba5bab6542c3705979fdc27cfe89fe8db853f08 | 4,674 | py | Python | tests/attributes/test_dict.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | tests/attributes/test_dict.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | tests/attributes/test_dict.py | yaal-coop/sheraf | 774e3781bc6ff2e16c6cc39f268d475b5e64fcea | [
"MIT"
] | null | null | null | import pytest
import sheraf
import tests
@pytest.mark.parametrize(
"persistent_type", [sheraf.types.SmallDict, sheraf.types.LargeDict, dict]
)
@pytest.mark.parametrize("subattribute", [None, sheraf.IntegerAttribute()])
def test_dict_attribute(sheraf_connection, persistent_type, subattribute):
class Model(test... | 31.369128 | 81 | 0.62623 | 599 | 4,674 | 4.801336 | 0.1202 | 0.074757 | 0.073018 | 0.06815 | 0.815021 | 0.786161 | 0.755216 | 0.732267 | 0.708623 | 0.699583 | 0 | 0.011066 | 0.207317 | 4,674 | 148 | 82 | 31.581081 | 0.765182 | 0 | 0 | 0.551724 | 0 | 0 | 0.063971 | 0 | 0 | 0 | 0 | 0 | 0.353448 | 1 | 0.043103 | false | 0 | 0.025862 | 0 | 0.155172 | 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 |
2bebcebed07f0b1d32c073f97cd5876bf622901f | 7,697 | py | Python | example/__init__.py | Wnn789/tensorflow-DeepFM-master | 9702edcae2e666360b9f62ae0e77f553a1a41cdf | [
"MIT"
] | null | null | null | example/__init__.py | Wnn789/tensorflow-DeepFM-master | 9702edcae2e666360b9f62ae0e77f553a1a41cdf | [
"MIT"
] | null | null | null | example/__init__.py | Wnn789/tensorflow-DeepFM-master | 9702edcae2e666360b9f62ae0e77f553a1a41cdf | [
"MIT"
] | null | null | null |
'''
#params: 9104483
[1] train-result=0.4161, valid-result=0.4865 [62.0 s]
[2] train-result=0.5830, valid-result=0.5648 [67.0 s]
[3] train-result=0.6017, valid-result=0.5805 [67.7 s]
[4] train-result=0.6100, valid-result=0.5874 [73.3 s]
[5] train-result=0.6135, valid-result=0.5911 [66.8 s]
[6] train-result=0.6151, val... | 48.71519 | 54 | 0.689879 | 1,677 | 7,697 | 3.161598 | 0.181276 | 0.356469 | 0.305545 | 0.022067 | 0.490947 | 0.356281 | 0.184836 | 0.10298 | 0.10298 | 0.04338 | 0 | 0.292963 | 0.093543 | 7,697 | 158 | 55 | 48.71519 | 0.466963 | 0.998831 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
920230074e680baf255a477a19f8b0c80c4bbf8d | 157 | py | Python | vision/datasets/__init__.py | xy-sun/Maml-pytorch | 23731ff3f8d8f49d2ed6fbb47f6a5c4f1070a131 | [
"Apache-2.0"
] | null | null | null | vision/datasets/__init__.py | xy-sun/Maml-pytorch | 23731ff3f8d8f49d2ed6fbb47f6a5c4f1070a131 | [
"Apache-2.0"
] | null | null | null | vision/datasets/__init__.py | xy-sun/Maml-pytorch | 23731ff3f8d8f49d2ed6fbb47f6a5c4f1070a131 | [
"Apache-2.0"
] | null | null | null | import learn2learn as l2l
def maml_task_wrapper(dataset, n_way, k_shot, k_query, batch_size, length):
task_generator = l2l.data.task_generator(dataset,) | 39.25 | 75 | 0.796178 | 25 | 157 | 4.68 | 0.76 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.11465 | 157 | 4 | 76 | 39.25 | 0.820144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9206fcd03737aa4ca73e1639464b4220d1c885ce | 171 | py | Python | lib/tvheadend/exceptions.py | arantius/tvheadend-locast | c34d76e663373693994be0b38ded22e51ea2a683 | [
"MIT"
] | 16 | 2021-08-30T07:05:28.000Z | 2022-03-04T06:46:42.000Z | lib/tvheadend/exceptions.py | arantius/tvheadend-locast | c34d76e663373693994be0b38ded22e51ea2a683 | [
"MIT"
] | 14 | 2021-02-20T22:24:49.000Z | 2021-08-30T01:24:02.000Z | lib/tvheadend/exceptions.py | arantius/tvheadend-locast | c34d76e663373693994be0b38ded22e51ea2a683 | [
"MIT"
] | 10 | 2021-03-17T22:53:03.000Z | 2021-08-29T19:35:28.000Z |
class CabernetException(Exception):
def __init__(self, value):
self.value = value
def __str__(self):
return 'CabernetException: %s' % self.value
| 21.375 | 51 | 0.654971 | 18 | 171 | 5.777778 | 0.555556 | 0.259615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.239766 | 171 | 7 | 52 | 24.428571 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.123529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
921183f7cd08a15ffe8810eddfb7d8e573827037 | 2,811 | py | Python | epytope/Data/pssms/smmpmbec/mat/B_44_03_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/B_44_03_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/B_44_03_11.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_44_03_11 = {0: {'A': -0.126, 'C': -0.03, 'E': -0.408, 'D': -0.307, 'G': -0.017, 'F': 0.613, 'I': 0.777, 'H': -0.234, 'K': -0.153, 'M': 0.252, 'L': 0.349, 'N': -0.324, 'Q': -0.708, 'P': -0.356, 'S': -0.139, 'R': 0.648, 'T': -0.301, 'W': 0.081, 'V': 0.065, 'Y': 0.319}, 1: {'A': 0.233, 'C': 0.149, 'E': -0.901, 'D': -0.4... | 2,811 | 2,811 | 0.394522 | 679 | 2,811 | 1.628866 | 0.215022 | 0.057866 | 0.013562 | 0.01085 | 0.16094 | 0 | 0 | 0 | 0 | 0 | 0 | 0.374363 | 0.161864 | 2,811 | 1 | 2,811 | 2,811 | 0.095076 | 0 | 0 | 0 | 0 | 0 | 0.079303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a613a39d035c0df7bce900aab9ead37c851569b2 | 178 | py | Python | pushbots/tests/device.py | damoon-cmpt376w/pushbots | de7c50da2cffd8527c51a78ab71afd1110e4376d | [
"MIT"
] | 11 | 2015-08-21T20:23:03.000Z | 2017-07-02T18:26:15.000Z | pushbots/tests/device.py | damoon-cmpt376w/pushbots | de7c50da2cffd8527c51a78ab71afd1110e4376d | [
"MIT"
] | 3 | 2015-08-17T22:01:52.000Z | 2019-11-15T04:26:27.000Z | pushbots/tests/device.py | damoon-cmpt376w/pushbots | de7c50da2cffd8527c51a78ab71afd1110e4376d | [
"MIT"
] | 6 | 2015-07-27T12:48:43.000Z | 2019-11-12T02:06:06.000Z | # -*- coding: utf-8 -*-
def devices_info_all(pushbots):
return pushbots.devices_info_all()
def device_info(pushbots, token):
return pushbots.device_info(token=token)
| 17.8 | 44 | 0.724719 | 24 | 178 | 5.125 | 0.458333 | 0.178862 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.146067 | 178 | 9 | 45 | 19.777778 | 0.802632 | 0.117978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
a6612d1d842db4a44a9e5abdc3ade378f8b452c4 | 164 | py | Python | blaze/compute/ops/__init__.py | talumbau/blaze | 66c9e61476f11d53f7b734664214537182397739 | [
"BSD-3-Clause"
] | 1 | 2018-01-24T08:54:04.000Z | 2018-01-24T08:54:04.000Z | blaze/compute/ops/__init__.py | talumbau/blaze | 66c9e61476f11d53f7b734664214537182397739 | [
"BSD-3-Clause"
] | null | null | null | blaze/compute/ops/__init__.py | talumbau/blaze | 66c9e61476f11d53f7b734664214537182397739 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function, division, absolute_import
from .ufuncs import *
from .reduction import *
from .from_numpy import blazefunc_from_numpy_ufunc
| 27.333333 | 64 | 0.841463 | 22 | 164 | 5.818182 | 0.545455 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115854 | 164 | 5 | 65 | 32.8 | 0.882759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
a68143b97f0b17a2ba2b870750182445b90dd21f | 1,557 | py | Python | std_graphics.py | Beriff/venOS | 0c503b7153f8a9f935bf8fb636190748cfc92042 | [
"MIT"
] | 2 | 2020-09-21T02:58:07.000Z | 2020-09-21T02:58:09.000Z | std_graphics.py | Beriff/venOS | 0c503b7153f8a9f935bf8fb636190748cfc92042 | [
"MIT"
] | null | null | null | std_graphics.py | Beriff/venOS | 0c503b7153f8a9f935bf8fb636190748cfc92042 | [
"MIT"
] | null | null | null | import render
selection = render.add_bg(render.COLORS["WHITE"], render.BG_COLORS["WHITE"])
def draw_folder(state, x, y, text, selected = False, bg_col = render.add_bg(render.COLORS["WHITE"], render.BG_COLORS["BLUE"])):
state = render.draw_point(state, x + 3, y, render.add_bg(render.COLORS["YELLOW"], render.BG_... | 47.181818 | 207 | 0.624277 | 234 | 1,557 | 4.008547 | 0.166667 | 0.095949 | 0.117271 | 0.181237 | 0.827292 | 0.812367 | 0.710021 | 0.710021 | 0.662047 | 0.662047 | 0 | 0.016949 | 0.204239 | 1,557 | 32 | 208 | 48.65625 | 0.740113 | 0 | 0 | 0.095238 | 0 | 0 | 0.071475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0.047619 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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.