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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a89bff29c5f953408573b588357469aa0dc0348 | 425 | py | Python | webapp/starter/config/settings/partials/AUTH.py | somacci/django-sample-docker | 6033313a76f7444004143ce7d0143633dc12e09d | [
"MIT"
] | null | null | null | webapp/starter/config/settings/partials/AUTH.py | somacci/django-sample-docker | 6033313a76f7444004143ce7d0143633dc12e09d | [
"MIT"
] | null | null | null | webapp/starter/config/settings/partials/AUTH.py | somacci/django-sample-docker | 6033313a76f7444004143ce7d0143633dc12e09d | [
"MIT"
] | null | null | null | AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
... | 26.5625 | 91 | 0.670588 | 31 | 425 | 9 | 0.354839 | 0.215054 | 0.243728 | 0.301075 | 0.55914 | 0.55914 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 425 | 15 | 92 | 28.333333 | 0.820588 | 0 | 0 | 0 | 0 | 0 | 0.653302 | 0.615566 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.357143 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8ab413df49fe238447647dd743f2fd11591cd1af | 337 | py | Python | solardatatools/algorithms/__init__.py | catzzz/solar-data-tools | dc173c1036bc2e3116b302f3fd442b1cb030e0b0 | [
"BSD-2-Clause"
] | 3 | 2019-02-26T18:06:12.000Z | 2019-04-16T19:49:27.000Z | solardatatools/algorithms/__init__.py | catzzz/solar-data-tools | dc173c1036bc2e3116b302f3fd442b1cb030e0b0 | [
"BSD-2-Clause"
] | 1 | 2019-03-28T19:02:37.000Z | 2019-03-28T19:02:37.000Z | solardatatools/algorithms/__init__.py | catzzz/solar-data-tools | dc173c1036bc2e3116b302f3fd442b1cb030e0b0 | [
"BSD-2-Clause"
] | 1 | 2019-03-06T17:52:27.000Z | 2019-03-06T17:52:27.000Z | from solardatatools.algorithms.capacity_change import CapacityChange
from solardatatools.algorithms.time_shifts import TimeShift
from solardatatools.algorithms.sunrise_sunset_estimation import SunriseSunset
from solardatatools.algorithms.soiling import soiling_seperation
from solardatatools.algorithms.clipping import C... | 56.166667 | 77 | 0.910979 | 35 | 337 | 8.628571 | 0.514286 | 0.298013 | 0.463576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059347 | 337 | 5 | 78 | 67.4 | 0.952681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a18c4ab2cb7a99e784a0e26bbf3a3908a4fd997 | 15,683 | py | Python | deepFilter/dl_models.py | fperdigon/DeepFilter_as_in_Arxiv | d340a71942aee29d9655d6298c745390fc501ddc | [
"MIT"
] | null | null | null | deepFilter/dl_models.py | fperdigon/DeepFilter_as_in_Arxiv | d340a71942aee29d9655d6298c745390fc501ddc | [
"MIT"
] | null | null | null | deepFilter/dl_models.py | fperdigon/DeepFilter_as_in_Arxiv | d340a71942aee29d9655d6298c745390fc501ddc | [
"MIT"
] | null | null | null | #============================================================
#
# Deep Learning BLW Filtering
# Deep Learning models
#
# author: Francisco Perdigon Romero
# email: fperdigon88@gmail.com
# github id: fperdigon
#
#===========================================================
import keras
from keras.models import Seq... | 30.044061 | 119 | 0.491679 | 1,483 | 15,683 | 5.099798 | 0.12205 | 0.075367 | 0.075367 | 0.092953 | 0.790163 | 0.769668 | 0.766759 | 0.763321 | 0.737274 | 0.640354 | 0 | 0.043769 | 0.389594 | 15,683 | 522 | 120 | 30.044061 | 0.746266 | 0.076197 | 0 | 0.834625 | 0 | 0 | 0.033687 | 0 | 0 | 0 | 0 | 0.001916 | 0 | 1 | 0.033592 | false | 0 | 0.010336 | 0 | 0.077519 | 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 |
0a24f9484512ae6ffcbb08a7e8a2b233806d171b | 2,701 | py | Python | tests/test_childclasses.py | basfora/milp_sim | 963b816c79e992964b4fe65813453fd73f499f30 | [
"MIT"
] | null | null | null | tests/test_childclasses.py | basfora/milp_sim | 963b816c79e992964b4fe65813453fd73f499f30 | [
"MIT"
] | null | null | null | tests/test_childclasses.py | basfora/milp_sim | 963b816c79e992964b4fe65813453fd73f499f30 | [
"MIT"
] | null | null | null | from milp_sim.risk.classes.child_mespp import MyInputs2, MySearcher2, MySolverData2
def get_specs():
specs = MyInputs2()
specs.set_graph(4)
# solver parameter: central x distributed
specs.set_solver_type('distributed')
# target motion
specs.set_target_motion('static')
# searchers' detect... | 24.779817 | 94 | 0.636801 | 425 | 2,701 | 3.863529 | 0.218824 | 0.136419 | 0.012789 | 0.009744 | 0.742387 | 0.742387 | 0.738124 | 0.702801 | 0.702801 | 0.702801 | 0 | 0.064158 | 0.232506 | 2,701 | 108 | 95 | 25.009259 | 0.727931 | 0.181044 | 0 | 0.716418 | 0 | 0 | 0.037341 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 1 | 0.059701 | false | 0 | 0.014925 | 0 | 0.104478 | 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 |
0a45cf3e325689b2ec86b81ecc90faca65658410 | 7,136 | py | Python | src/CTL/tests/test_CTMRG.py | wistaria/CTL | ddb0f917369df4e7233b5ab097595c6ce254862e | [
"MIT"
] | 11 | 2021-06-23T15:47:03.000Z | 2022-03-17T03:29:55.000Z | src/CTL/tests/test_CTMRG.py | wistaria/CTL | ddb0f917369df4e7233b5ab097595c6ce254862e | [
"MIT"
] | 1 | 2021-10-16T15:10:54.000Z | 2021-10-16T15:10:54.000Z | src/CTL/tests/test_CTMRG.py | wistaria/CTL | ddb0f917369df4e7233b5ab097595c6ce254862e | [
"MIT"
] | 2 | 2021-06-23T09:11:20.000Z | 2021-10-16T15:35:18.000Z | from CTL.tests.packedTest import PackedTest
from CTL.models.Ising import plaquetteIsingTensor, IsingTNFromUndirectedGraph
from CTL.examples.CTMRG import CTMRG
from CTL.funcs.graphFuncs import doubleSquareLatticeFBC
from CTL.tensor.contract.optimalContract import contractAndCostWithSequence
from CTL.examples.MPS impor... | 46.947368 | 216 | 0.585762 | 820 | 7,136 | 5.086585 | 0.135366 | 0.037401 | 0.026373 | 0.035243 | 0.833613 | 0.833613 | 0.831935 | 0.82666 | 0.82666 | 0.82666 | 0 | 0.06318 | 0.252522 | 7,136 | 151 | 217 | 47.258278 | 0.718785 | 0.3338 | 0 | 0.647059 | 0 | 0 | 0.036437 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 1 | 0.029412 | false | 0 | 0.102941 | 0 | 0.147059 | 0.161765 | 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 |
0a5605a8d00c5785a20884753f4983402948650a | 6,364 | py | Python | rbac/rbac_flask/app/blueprints/extra/extra_bp.py | 5GEVE/5G-EVE-PORTAL-BACKEND-rbac | 33dbf612fd507f35372f850ac6d7e9669eed1bb0 | [
"MIT"
] | null | null | null | rbac/rbac_flask/app/blueprints/extra/extra_bp.py | 5GEVE/5G-EVE-PORTAL-BACKEND-rbac | 33dbf612fd507f35372f850ac6d7e9669eed1bb0 | [
"MIT"
] | 2 | 2021-04-30T21:00:46.000Z | 2021-06-02T00:47:09.000Z | rbac/rbac_flask/app/blueprints/extra/extra_bp.py | 5GEVE/5G-EVE-PORTAL-BACKEND-rbac | 33dbf612fd507f35372f850ac6d7e9669eed1bb0 | [
"MIT"
] | null | null | null | from flask import ( Blueprint, jsonify, request )
from app import oidc, config
#from flask_jwt_extended import ( jwt_optional, get_jwt_identity )
from app.keycloak.keycloak_client import Keycloak
import requests, json, collections
from requests.auth import HTTPBasicAuth
# BLUEPRINT CREATION
bp = Blueprint('extra', _... | 33.671958 | 125 | 0.639063 | 808 | 6,364 | 4.846535 | 0.141089 | 0.08427 | 0.11236 | 0.053626 | 0.822778 | 0.806435 | 0.798008 | 0.751788 | 0.751788 | 0.740552 | 0 | 0.011949 | 0.197832 | 6,364 | 188 | 126 | 33.851064 | 0.755142 | 0.029855 | 0 | 0.639344 | 0 | 0 | 0.222278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.040984 | 0 | 0.295082 | 0.016393 | 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 |
0a6ffbb8ba7a5ff75b8ff96954c520a3df8a5e60 | 118 | py | Python | cslib/__init__.py | Suresoft-GLaDOS/cxbuild | 1eb568bc11ae8854b1a6025c969ec94c96d6a4a9 | [
"MIT"
] | 2 | 2021-11-01T02:11:59.000Z | 2021-11-04T09:19:45.000Z | cslib/__init__.py | HansolChoe/cxbuild | c289e40efdf92f34e7781772b3b84e0a1c7d0af2 | [
"MIT"
] | 3 | 2021-11-04T06:23:38.000Z | 2021-11-19T01:54:05.000Z | cslib/__init__.py | HansolChoe/cxbuild | c289e40efdf92f34e7781772b3b84e0a1c7d0af2 | [
"MIT"
] | 2 | 2021-11-01T03:01:28.000Z | 2021-11-04T09:19:28.000Z | from .csutil import *
from .zip import *
from .lib import *
from .filepattern import fnmatch
from .windowsAPI import * | 23.6 | 32 | 0.762712 | 16 | 118 | 5.625 | 0.5 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 118 | 5 | 33 | 23.6 | 0.909091 | 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 |
6a665d43dd0c7e99f641d87290bfbdab268de20c | 7,413 | py | Python | PythonCodeChallenge-04/linked-list/tests/test_linked_list.py | MusaabShalaldeh/401-data-structures-and-algorithms | 9fc4bf2011062f9710daa2eb36568392e62f8ab5 | [
"MIT"
] | null | null | null | PythonCodeChallenge-04/linked-list/tests/test_linked_list.py | MusaabShalaldeh/401-data-structures-and-algorithms | 9fc4bf2011062f9710daa2eb36568392e62f8ab5 | [
"MIT"
] | null | null | null | PythonCodeChallenge-04/linked-list/tests/test_linked_list.py | MusaabShalaldeh/401-data-structures-and-algorithms | 9fc4bf2011062f9710daa2eb36568392e62f8ab5 | [
"MIT"
] | null | null | null | from linked_list import __version__
from linked_list.linked_list import Node, LinkedList
import pytest
def test_version():
assert __version__ == '0.1.0'
def test_node_has_int_data():
# Arrange any data that you need to run your test
expected = 1
# Act on the subject of the test to produce some act... | 15.44375 | 73 | 0.634966 | 1,048 | 7,413 | 4.336832 | 0.092557 | 0.147855 | 0.132013 | 0.165897 | 0.808801 | 0.778218 | 0.757316 | 0.738174 | 0.689769 | 0.607041 | 0 | 0.035469 | 0.235532 | 7,413 | 480 | 74 | 15.44375 | 0.766543 | 0.114798 | 0 | 0.660232 | 0 | 0.003861 | 0.059768 | 0 | 0 | 0 | 0 | 0 | 0.123552 | 1 | 0.123552 | false | 0 | 0.011583 | 0 | 0.135135 | 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 |
6a83ba2968e6e0e7097619aa81b3138aa1100508 | 174 | py | Python | nighres/filtering/__init__.py | atsuch/nighres | eb6265befb0b65b99c858ecb1c328d4d63e5a293 | [
"Apache-2.0"
] | null | null | null | nighres/filtering/__init__.py | atsuch/nighres | eb6265befb0b65b99c858ecb1c328d4d63e5a293 | [
"Apache-2.0"
] | null | null | null | nighres/filtering/__init__.py | atsuch/nighres | eb6265befb0b65b99c858ecb1c328d4d63e5a293 | [
"Apache-2.0"
] | 1 | 2019-01-21T10:53:38.000Z | 2019-01-21T10:53:38.000Z | from filter_ridge_structures import filter_ridge_structures
from bandpass_filtering import bandpass_filtering
from recursive_ridge_diffusion import recursive_ridge_diffusion
| 43.5 | 63 | 0.931034 | 22 | 174 | 6.909091 | 0.409091 | 0.144737 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 174 | 3 | 64 | 58 | 0.938272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
6a845bedd74859215be0c2807e24d85c9123a020 | 25 | py | Python | __init__.py | xiangxw/pyhook_py3k | 3a0a1fe8fb190e10761dd80f55a4cf8efd0fb3e3 | [
"MIT"
] | 82 | 2015-01-18T12:28:33.000Z | 2022-03-15T19:23:03.000Z | portcat/deploy/pyHook/__init__.py | Ghostik2005/smallprojects | eed57f8b706f810ab5eb7be7c1121cfd0e8f12e4 | [
"MIT"
] | 12 | 2017-07-23T22:47:13.000Z | 2022-02-27T14:10:12.000Z | portcat/deploy/pyHook/__init__.py | Ghostik2005/smallprojects | eed57f8b706f810ab5eb7be7c1121cfd0e8f12e4 | [
"MIT"
] | 51 | 2015-01-17T08:37:40.000Z | 2021-09-06T01:46:04.000Z | from HookManager import * | 25 | 25 | 0.84 | 3 | 25 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
6a88eb26fb999cc50f1b80dbaab7e1aa5cfe660e | 23 | py | Python | tests/system/scripts/divide_with_zero.py | kmaork/madbg | 9f6097d510897ddf56eb9d87d3ac82b3a177344a | [
"MIT"
] | 48 | 2019-07-05T23:16:42.000Z | 2022-03-17T09:18:13.000Z | tests/system/scripts/divide_with_zero.py | kmaork/madbg | 9f6097d510897ddf56eb9d87d3ac82b3a177344a | [
"MIT"
] | 30 | 2020-07-07T13:48:00.000Z | 2022-03-24T09:19:39.000Z | tests/system/scripts/divide_with_zero.py | kmaork/madbg | 9f6097d510897ddf56eb9d87d3ac82b3a177344a | [
"MIT"
] | 2 | 2021-08-16T16:30:27.000Z | 2022-01-27T11:32:20.000Z | yo = 1
if yo:
1 / 0 | 7.666667 | 9 | 0.391304 | 6 | 23 | 1.5 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.478261 | 23 | 3 | 9 | 7.666667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ac2b9a1da628138a7e6e46a2f9ee0e0bf659efc | 21 | py | Python | rl_with_videos/algorithms/__init__.py | simonr98/Reinforcement-Learning-with-Videos | e40cec6b8d817276375e940696b290fc4e1e8bc7 | [
"MIT"
] | 25 | 2020-12-02T23:13:29.000Z | 2022-02-25T07:57:30.000Z | rl_with_videos/algorithms/__init__.py | simonr98/Reinforcement-Learning-with-Videos | e40cec6b8d817276375e940696b290fc4e1e8bc7 | [
"MIT"
] | 8 | 2020-12-12T14:11:58.000Z | 2021-12-10T20:06:04.000Z | rl_with_videos/algorithms/__init__.py | simonr98/Reinforcement-Learning-with-Videos | e40cec6b8d817276375e940696b290fc4e1e8bc7 | [
"MIT"
] | 8 | 2020-12-25T19:43:15.000Z | 2021-10-13T02:53:58.000Z | from .sac import SAC
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
6ac7d8f6f94f5567228a6a56b4baa65270eff244 | 1,084 | py | Python | magni/cs/reconstruction/__init__.py | SIP-AAU/Magni | 6328dc98a273506f433af52e6bd394754a844550 | [
"BSD-2-Clause"
] | 42 | 2015-02-09T10:17:26.000Z | 2021-12-21T09:38:04.000Z | magni/cs/reconstruction/__init__.py | SIP-AAU/Magni | 6328dc98a273506f433af52e6bd394754a844550 | [
"BSD-2-Clause"
] | 3 | 2015-03-20T12:00:40.000Z | 2015-03-20T12:01:16.000Z | magni/cs/reconstruction/__init__.py | SIP-AAU/Magni | 6328dc98a273506f433af52e6bd394754a844550 | [
"BSD-2-Clause"
] | 14 | 2015-04-28T03:08:32.000Z | 2021-07-24T13:29:24.000Z | """
..
Copyright (c) 2014-2017, Magni developers.
All rights reserved.
See LICENSE.rst for further information.
Subpackage providing implementations of generic reconstruction algorithms.
Each subpackage provides a family of generic reconstruction algorithms. Thus
each subpackage has a config module and a ... | 30.971429 | 78 | 0.787823 | 131 | 1,084 | 6.519084 | 0.450382 | 0.133489 | 0.238876 | 0.252927 | 0.286885 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0131 | 0.154982 | 1,084 | 34 | 79 | 31.882353 | 0.919214 | 0.805351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ae4255a565f4acd1ead35ae4081f22ca73f2147 | 3,917 | py | Python | pyspedas/stereo/__init__.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | 1 | 2020-07-07T19:52:40.000Z | 2020-07-07T19:52:40.000Z | pyspedas/stereo/__init__.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | null | null | null | pyspedas/stereo/__init__.py | MAVENSDC/pyspedas | 05ede2603acb514bc7803be054016142c0851685 | [
"MIT"
] | null | null | null |
from .load import load
def mag(trange=['2013-11-5', '2013-11-6'],
probe='a',
datatype='8hz',
suffix='',
get_support_data=False,
varformat=None,
downloadonly=False,
notplot=False,
no_update=False,
time_clip=False):
"""
This function loa... | 34.973214 | 254 | 0.621394 | 516 | 3,917 | 4.643411 | 0.217054 | 0.04591 | 0.046745 | 0.033389 | 0.936561 | 0.936561 | 0.936561 | 0.936561 | 0.936561 | 0.936561 | 0 | 0.012887 | 0.306612 | 3,917 | 111 | 255 | 35.288288 | 0.869293 | 0.655093 | 0 | 0.666667 | 0 | 0 | 0.052535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.041667 | 0 | 0.208333 | 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 |
0a727b7f8741a52e5727c2a36123dd5bc830103b | 26 | py | Python | ui/display/__init__.py | opdich/pidrop-thumbdrive | 50fb02bb4354fc2cc52d65707c43e8b0bb62ae81 | [
"MIT"
] | null | null | null | ui/display/__init__.py | opdich/pidrop-thumbdrive | 50fb02bb4354fc2cc52d65707c43e8b0bb62ae81 | [
"MIT"
] | null | null | null | ui/display/__init__.py | opdich/pidrop-thumbdrive | 50fb02bb4354fc2cc52d65707c43e8b0bb62ae81 | [
"MIT"
] | null | null | null | from .ws_display import *
| 13 | 25 | 0.769231 | 4 | 26 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0aa3a6cb24a36cb953448a0bb6596ef70ee8da62 | 28,461 | py | Python | cfgov/v1/migrations/0250_add_fields_to_simplechart_block.py | alexandersirris/consumerfinance.gov | 611bd5d88188177759faa1fbc63ae57deb88cfbd | [
"CC0-1.0"
] | 37 | 2020-08-18T19:52:39.000Z | 2022-03-23T08:08:41.000Z | cfgov/v1/migrations/0250_add_fields_to_simplechart_block.py | alexandersirris/consumerfinance.gov | 611bd5d88188177759faa1fbc63ae57deb88cfbd | [
"CC0-1.0"
] | 338 | 2020-08-14T20:46:36.000Z | 2022-03-31T20:49:32.000Z | cfgov/v1/migrations/0250_add_fields_to_simplechart_block.py | alexandersirris/consumerfinance.gov | 611bd5d88188177759faa1fbc63ae57deb88cfbd | [
"CC0-1.0"
] | 14 | 2020-10-21T15:27:03.000Z | 2022-03-17T03:16:36.000Z | # Generated by Django 2.2.16 on 2021-03-16 15:27
import django.core.validators
from django.db import migrations
import jobmanager.blocks
import v1.atomic_elements.organisms
import v1.blocks
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
... | 1,094.653846 | 27,911 | 0.756649 | 3,960 | 28,461 | 5.356061 | 0.158333 | 0.127063 | 0.194767 | 0.116455 | 0.648986 | 0.61273 | 0.558039 | 0.51801 | 0.491513 | 0.458887 | 0 | 0.010878 | 0.07621 | 28,461 | 25 | 27,912 | 1,138.44 | 0.795831 | 0.001616 | 0 | 0 | 1 | 1.368421 | 0.437441 | 0.065428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.421053 | 0 | 0.578947 | 0.052632 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0aa68315c1c0a24b069c75fd053530f5560e09eb | 5,398 | py | Python | pubsub/google/cloud/pubsub_v1/gapic/subscriber_client_config.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 2 | 2021-11-26T07:08:43.000Z | 2022-03-07T20:20:04.000Z | pubsub/google/cloud/pubsub_v1/gapic/subscriber_client_config.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | null | null | null | pubsub/google/cloud/pubsub_v1/gapic/subscriber_client_config.py | DaveCheez/google-cloud-python | fc03d4d41f13e9d13db7206438163b3a471fdabd | [
"Apache-2.0"
] | 1 | 2020-04-14T10:47:41.000Z | 2020-04-14T10:47:41.000Z | config = {
"interfaces": {
"google.pubsub.v1.Subscriber": {
"retry_codes": {
"idempotent": ["ABORTED", "UNAVAILABLE", "UNKNOWN"],
"non_idempotent": ["UNAVAILABLE"],
"none": [],
},
"retry_params": {
"default":... | 40.586466 | 68 | 0.421638 | 352 | 5,398 | 6.014205 | 0.153409 | 0.165801 | 0.161549 | 0.184695 | 0.731223 | 0.722721 | 0.722721 | 0.722721 | 0.722721 | 0.66462 | 0 | 0.062632 | 0.473509 | 5,398 | 132 | 69 | 40.893939 | 0.682266 | 0 | 0 | 0.5 | 0 | 0 | 0.388292 | 0.082808 | 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 |
0ab27da3f1b8ec67fcf976c9a3cffba870946ea5 | 3,285 | py | Python | econtools/metrics/tests/test_ols.py | fqueiro/econtools | cae1cfc82e02cb9081c247b530b10dc68ee18820 | [
"BSD-3-Clause"
] | 93 | 2018-02-12T17:21:39.000Z | 2022-03-11T23:14:18.000Z | econtools/metrics/tests/test_ols.py | fqueiro/econtools | cae1cfc82e02cb9081c247b530b10dc68ee18820 | [
"BSD-3-Clause"
] | 5 | 2018-09-05T02:10:05.000Z | 2022-01-07T17:07:23.000Z | econtools/metrics/tests/test_ols.py | fqueiro/econtools | cae1cfc82e02cb9081c247b530b10dc68ee18820 | [
"BSD-3-Clause"
] | 25 | 2018-06-06T07:35:03.000Z | 2021-12-10T06:59:06.000Z | from os import path
import pandas as pd
from econtools.metrics.util.testing import RegCompare
from econtools.metrics.api import reg
from econtools.metrics.tests.data.src_ols import (ols_std, ols_robust, ols_hc2,
ols_hc3, ols_cluster)
class TestOLS_std(RegCompare):
... | 30.990566 | 79 | 0.602435 | 434 | 3,285 | 4.347926 | 0.147465 | 0.050874 | 0.076312 | 0.09221 | 0.81982 | 0.766826 | 0.766826 | 0.766826 | 0.766826 | 0.766826 | 0 | 0.00745 | 0.264536 | 3,285 | 105 | 80 | 31.285714 | 0.773593 | 0.092846 | 0 | 0.688312 | 0 | 0 | 0.06409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077922 | false | 0 | 0.077922 | 0 | 0.233766 | 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 |
0ad9a66f32e1c97d292f41da047191a0b12596eb | 67 | py | Python | __init__.py | 18F/codetalker | 1c665de99a804d5abda1ddbccb055e05e3efa5e5 | [
"CC0-1.0"
] | 1 | 2017-12-27T21:21:09.000Z | 2017-12-27T21:21:09.000Z | __init__.py | 18F/codetalker | 1c665de99a804d5abda1ddbccb055e05e3efa5e5 | [
"CC0-1.0"
] | null | null | null | __init__.py | 18F/codetalker | 1c665de99a804d5abda1ddbccb055e05e3efa5e5 | [
"CC0-1.0"
] | 2 | 2019-05-21T18:53:21.000Z | 2021-02-18T11:11:28.000Z | from codetalker.main.api import app
def runserver():
app.run() | 16.75 | 35 | 0.716418 | 10 | 67 | 4.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 67 | 4 | 36 | 16.75 | 0.857143 | 0 | 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 |
0add5f395fc530905745818ff27f859a903ecf5b | 145 | py | Python | j1708/__init__.py | grimm-co/stm32-j1708 | 5ca0b1961752ba49f816ce22cbc6aaefb4ae95dc | [
"BSD-3-Clause"
] | 3 | 2021-11-05T21:09:56.000Z | 2021-11-19T03:16:41.000Z | j1708/__init__.py | grimm-co/stm32-j1708 | 5ca0b1961752ba49f816ce22cbc6aaefb4ae95dc | [
"BSD-3-Clause"
] | null | null | null | j1708/__init__.py | grimm-co/stm32-j1708 | 5ca0b1961752ba49f816ce22cbc6aaefb4ae95dc | [
"BSD-3-Clause"
] | null | null | null | from .iface import *
from .msg import *
from .pids import J1708PID
from .mids import J1708MID
from .pid_types import *
from .exceptions import *
| 20.714286 | 26 | 0.765517 | 21 | 145 | 5.238095 | 0.52381 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 0.165517 | 145 | 6 | 27 | 24.166667 | 0.842975 | 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 |
0ae4e4c1a6372b4cf31e4efbb1321fefb0ad204d | 333 | py | Python | python_modules/dagster/dagster/core/storage/event_log/__init__.py | bitdotioinc/dagster | 4fe395a37b206b1a48b956fa5dd72bf698104cca | [
"Apache-2.0"
] | 1 | 2020-08-10T23:03:37.000Z | 2020-08-10T23:03:37.000Z | python_modules/dagster/dagster/core/storage/event_log/__init__.py | bitdotioinc/dagster | 4fe395a37b206b1a48b956fa5dd72bf698104cca | [
"Apache-2.0"
] | 7 | 2022-03-16T06:55:04.000Z | 2022-03-18T07:03:25.000Z | python_modules/dagster/dagster/core/storage/event_log/__init__.py | bitdotioinc/dagster | 4fe395a37b206b1a48b956fa5dd72bf698104cca | [
"Apache-2.0"
] | 1 | 2020-08-20T14:20:31.000Z | 2020-08-20T14:20:31.000Z | from .base import AssetAwareEventLogStorage, EventLogStorage
from .in_memory import InMemoryEventLogStorage
from .schema import SqlEventLogStorageMetadata, SqlEventLogStorageTable
from .sql_event_log import AssetAwareSqlEventLogStorage, SqlEventLogStorage
from .sqlite import ConsolidatedSqliteEventLogStorage, SqliteEve... | 55.5 | 76 | 0.900901 | 27 | 333 | 11 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 333 | 5 | 77 | 66.6 | 0.961165 | 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 |
e40a7d69d316cb7515e268b4763f820bb7d33bd5 | 47 | py | Python | vanirio/__init__.py | vaniriovanhalteren/sdk-python | 947b08fbe046d46275bf39bc95984fbf3edc0e6c | [
"MIT"
] | null | null | null | vanirio/__init__.py | vaniriovanhalteren/sdk-python | 947b08fbe046d46275bf39bc95984fbf3edc0e6c | [
"MIT"
] | null | null | null | vanirio/__init__.py | vaniriovanhalteren/sdk-python | 947b08fbe046d46275bf39bc95984fbf3edc0e6c | [
"MIT"
] | 1 | 2022-02-08T08:15:07.000Z | 2022-02-08T08:15:07.000Z | from vanirio.module.interface import Interface
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c3c76ea23eb59c959fa2075932d96ee456288c9 | 158 | py | Python | app/models/__init__.py | Jotasenpai/DigitalMediaStoreRESTfull | bb776d398e1756b1ff2fd4f392b80479ae29847d | [
"MIT"
] | null | null | null | app/models/__init__.py | Jotasenpai/DigitalMediaStoreRESTfull | bb776d398e1756b1ff2fd4f392b80479ae29847d | [
"MIT"
] | null | null | null | app/models/__init__.py | Jotasenpai/DigitalMediaStoreRESTfull | bb776d398e1756b1ff2fd4f392b80479ae29847d | [
"MIT"
] | null | null | null | from .albums import Album # noqa:F401
from .artists import Artist # noqa:F401
from .genres import Genre # noqa:F401
from .tracks import Track # noqa:F401
| 31.6 | 40 | 0.746835 | 24 | 158 | 4.916667 | 0.5 | 0.271186 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 0.177215 | 158 | 4 | 41 | 39.5 | 0.815385 | 0.246835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7c5d9a3bfc798cd28299893025ba6e5dedc7b045 | 22,556 | py | Python | ecogdata/datasource/tests/test_mapped_source.py | miketrumpis/ecogdata | ff65820198e69608634c12686a86b97ac3a77558 | [
"BSD-3-Clause"
] | null | null | null | ecogdata/datasource/tests/test_mapped_source.py | miketrumpis/ecogdata | ff65820198e69608634c12686a86b97ac3a77558 | [
"BSD-3-Clause"
] | null | null | null | ecogdata/datasource/tests/test_mapped_source.py | miketrumpis/ecogdata | ff65820198e69608634c12686a86b97ac3a77558 | [
"BSD-3-Clause"
] | null | null | null | import os
import pytest
import numpy as np
from ecogdata.datasource.array_abstractions import HDF5Buffer
from ecogdata.datasource.memmap import MappedSource, MemoryBlowOutError
from ecogdata.datasource.basic import PlainArraySource
from .test_array_abstractions import _create_hdf5, _create_buffer, _create_binder
def... | 49.356674 | 129 | 0.701055 | 3,159 | 22,556 | 4.767015 | 0.076923 | 0.07112 | 0.046683 | 0.063882 | 0.875423 | 0.863338 | 0.848463 | 0.826483 | 0.821768 | 0.791354 | 0 | 0.027744 | 0.165854 | 22,556 | 456 | 130 | 49.464912 | 0.772628 | 0.030014 | 0 | 0.665768 | 0 | 0 | 0.12683 | 0 | 0 | 0 | 0 | 0 | 0.256065 | 1 | 0.083558 | false | 0 | 0.026954 | 0 | 0.110512 | 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 |
7c6a1975415d303fbd157872be29baae94924538 | 77,326 | py | Python | tests/e2e/test_api_assembly_strategy_combinations_book_then_lang.py | danparisd/InterleavedResourcesGenerator | 150e6c223e2eb9f63ebb41c6ba4b7c5d3337e1dc | [
"MIT"
] | null | null | null | tests/e2e/test_api_assembly_strategy_combinations_book_then_lang.py | danparisd/InterleavedResourcesGenerator | 150e6c223e2eb9f63ebb41c6ba4b7c5d3337e1dc | [
"MIT"
] | null | null | null | tests/e2e/test_api_assembly_strategy_combinations_book_then_lang.py | danparisd/InterleavedResourcesGenerator | 150e6c223e2eb9f63ebb41c6ba4b7c5d3337e1dc | [
"MIT"
] | 1 | 2021-09-10T20:37:07.000Z | 2021-09-10T20:37:07.000Z | import os
import pathlib
import re
import bs4
import pytest
import requests
from document.config import settings
from document.entrypoints.app import app
from fastapi.testclient import TestClient
##################################################
## Tests for assembly strategy book -hen-language
def check_finished_... | 39.251777 | 170 | 0.438546 | 6,821 | 77,326 | 4.54816 | 0.027709 | 0.054669 | 0.077813 | 0.052671 | 0.975438 | 0.972085 | 0.968862 | 0.961996 | 0.94417 | 0.929858 | 0 | 0.00575 | 0.455746 | 77,326 | 1,969 | 171 | 39.271712 | 0.731401 | 0.018648 | 0 | 0.63326 | 0 | 0.012665 | 0.225742 | 0.062856 | 0 | 0 | 0 | 0 | 0.012665 | 1 | 0.028084 | false | 0 | 0.004956 | 0 | 0.03304 | 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 |
7c8c6883fff5d98216807c1edf9e2f1f7e73ae23 | 4,870 | py | Python | src/xhorizon/shell_junction/reg_corner_masks.py | xh-diagrams/xhorizon | 20b3f2f0f621ca2a31c9f6a1d5fcd06692a700ce | [
"MIT"
] | 1 | 2020-04-01T16:14:00.000Z | 2020-04-01T16:14:00.000Z | src/xhorizon/shell_junction/reg_corner_masks.py | xh-diagrams/xhorizon | 20b3f2f0f621ca2a31c9f6a1d5fcd06692a700ce | [
"MIT"
] | 1 | 2020-04-26T14:41:31.000Z | 2020-04-26T14:41:31.000Z | src/xhorizon/shell_junction/reg_corner_masks.py | xh-diagrams/xhorizon | 20b3f2f0f621ca2a31c9f6a1d5fcd06692a700ce | [
"MIT"
] | 1 | 2021-04-15T09:23:29.000Z | 2021-04-15T09:23:29.000Z |
"""
This module provides functions for applying uvbounds masks to correct blocks in a given region.
These functions should directly edit and return the input region object.
"""
import numpy as np
def EFreg(reg, abcd=None, u0=None, v0=None):
"""
"""
## sort
if (len(reg.blocks)-1)==1:
if reg.metfunc.sgnf(0)==-1... | 30.248447 | 118 | 0.672895 | 840 | 4,870 | 3.90119 | 0.160714 | 0.056149 | 0.03967 | 0.051572 | 0.909673 | 0.900519 | 0.894721 | 0.876106 | 0.844675 | 0.814464 | 0 | 0.020917 | 0.185216 | 4,870 | 160 | 119 | 30.4375 | 0.80494 | 0.550719 | 0 | 0.571429 | 0 | 0 | 0.005561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063492 | false | 0 | 0.015873 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cbbae958f35ae19b481b8ed05d1b2e7648e8b54 | 4,501 | py | Python | tests/test_middleware.py | miracle2k/hypercorn | b062659a476e7508e8c4ea5cb329a13b0e24074b | [
"MIT"
] | null | null | null | tests/test_middleware.py | miracle2k/hypercorn | b062659a476e7508e8c4ea5cb329a13b0e24074b | [
"MIT"
] | null | null | null | tests/test_middleware.py | miracle2k/hypercorn | b062659a476e7508e8c4ea5cb329a13b0e24074b | [
"MIT"
] | null | null | null | from typing import Callable
import pytest
from hypercorn.middleware import DispatcherMiddleware, HTTPToHTTPSRedirectMiddleware
from .helpers import empty_framework
@pytest.mark.asyncio
async def test_http_to_https_redirect_middleware_http() -> None:
app = HTTPToHTTPSRedirectMiddleware(empty_framework, "localhos... | 30.828767 | 95 | 0.576094 | 488 | 4,501 | 5.17418 | 0.172131 | 0.079208 | 0.063366 | 0.063762 | 0.811089 | 0.77703 | 0.734257 | 0.734257 | 0.710495 | 0.710495 | 0 | 0.008646 | 0.254832 | 4,501 | 145 | 96 | 31.041379 | 0.744186 | 0 | 0 | 0.594828 | 0 | 0 | 0.228838 | 0.046656 | 0 | 0 | 0 | 0 | 0.043103 | 1 | 0.008621 | false | 0 | 0.034483 | 0 | 0.051724 | 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 |
7cd823cda65cdbb90961858e3a1d6bd003e6ef53 | 101 | py | Python | tests/exog/random/random_exog_75_40.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/exog/random/random_exog_75_40.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/exog/random/random_exog_75_40.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.exog.test_random_exogenous as testrandexog
testrandexog.test_random_exogenous( 75,40); | 25.25 | 55 | 0.861386 | 14 | 101 | 5.928571 | 0.714286 | 0.240964 | 0.457831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.069307 | 101 | 4 | 56 | 25.25 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86212b3a7a3032c0947ed6072ef915dfc197880e | 467 | py | Python | Jupyter/imports4PyMOLjupyter.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | Jupyter/imports4PyMOLjupyter.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | Jupyter/imports4PyMOLjupyter.py | MooersLab/jupyterlabpymolpysnipsplus | b886750d63372434df53d4d6d7cdad6cb02ae4e7 | [
"MIT"
] | null | null | null | # Description: Imports needed for most uses of pymol in Jupyter. Combination of importPyMOL and importPythonDisplay.
# Source: placeHolder
"""
cmd.do('from pymol import cmd')
cmd.do('from IPython.display import Image')
cmd.do('from IPython.core.display import HTML')
cmd.do('PATH = "/Users/blaine/"')
"""
cmd.do('fro... | 31.133333 | 117 | 0.732334 | 69 | 467 | 4.956522 | 0.405797 | 0.116959 | 0.157895 | 0.187135 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0 | 0 | 0.117773 | 467 | 14 | 118 | 33.357143 | 0.830097 | 0.631692 | 0 | 0 | 0 | 0 | 0.699387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8645ec4f1149539697a4f57bff38e8f75ae06368 | 27 | py | Python | devel/lib/python2.7/dist-packages/plutodrone/srv/__init__.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | 2 | 2021-09-22T19:06:19.000Z | 2021-09-22T20:22:40.000Z | devel/lib/python2.7/dist-packages/plutodrone/srv/__init__.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/plutodrone/srv/__init__.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | null | null | null | from ._PlutoPilot import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
868557ee807d80b9e8d4eb597572bfb9efb9c2f1 | 345 | py | Python | core/serializers/__init__.py | decosterkevin/foodtrack-back | c459b7f30854e6d114ffb0ff04b1ae7f36b73cd8 | [
"MIT"
] | null | null | null | core/serializers/__init__.py | decosterkevin/foodtrack-back | c459b7f30854e6d114ffb0ff04b1ae7f36b73cd8 | [
"MIT"
] | 4 | 2021-04-08T21:59:06.000Z | 2021-06-10T20:42:55.000Z | core/serializers/__init__.py | decosterkevin/foodtrack-back | c459b7f30854e6d114ffb0ff04b1ae7f36b73cd8 | [
"MIT"
] | null | null | null | from .address import AddressSerializer, ExploitationSerializer
from .product import ProductSerializer
from .cart import CartSerializer, CartItemSerializer
from .profile import ProductorProfileSerializer, UserProfileSerializer, SimpleProductorProfileSerializer # ProductorProfileFullSerializer,
from .product_profile impo... | 57.5 | 138 | 0.892754 | 26 | 345 | 11.807692 | 0.615385 | 0.071661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075362 | 345 | 5 | 139 | 69 | 0.962382 | 0.089855 | 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 |
868b2b62a8277f827af964fc21cbf6fe424b4257 | 39 | py | Python | _main_train/_model_builder/__init__.py | oxquantum/CVAE | 0352ddc51fbfd8d57b155e6de66b4c34e010beac | [
"MIT"
] | null | null | null | _main_train/_model_builder/__init__.py | oxquantum/CVAE | 0352ddc51fbfd8d57b155e6de66b4c34e010beac | [
"MIT"
] | null | null | null | _main_train/_model_builder/__init__.py | oxquantum/CVAE | 0352ddc51fbfd8d57b155e6de66b4c34e010beac | [
"MIT"
] | null | null | null | from .model_builder import build_model
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 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 |
86977aa569f51218759bfe9641c2b16086343b7b | 173 | py | Python | produto/meus_produtos/admin.py | guilhon/aplicacao-basica-python-django | e5fd9c5a227428047cae50a38cb9bd4b74f3860b | [
"MIT"
] | null | null | null | produto/meus_produtos/admin.py | guilhon/aplicacao-basica-python-django | e5fd9c5a227428047cae50a38cb9bd4b74f3860b | [
"MIT"
] | null | null | null | produto/meus_produtos/admin.py | guilhon/aplicacao-basica-python-django | e5fd9c5a227428047cae50a38cb9bd4b74f3860b | [
"MIT"
] | null | null | null | from django.contrib import admin
from meus_produtos.models import Produto
class ProdutoModelAdmin(admin.ModelAdmin):
pass
admin.site.register(Produto, ProdutoModelAdmin)
| 21.625 | 47 | 0.843931 | 21 | 173 | 6.904762 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092486 | 173 | 7 | 48 | 24.714286 | 0.923567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
869ebb0ce11286078960ce6087033256e269154b | 204 | py | Python | mhw/__init__.py | reireias/mhw | 1e988f5e2cf019ff486af256ef323e49bb5af671 | [
"MIT"
] | null | null | null | mhw/__init__.py | reireias/mhw | 1e988f5e2cf019ff486af256ef323e49bb5af671 | [
"MIT"
] | null | null | null | mhw/__init__.py | reireias/mhw | 1e988f5e2cf019ff486af256ef323e49bb5af671 | [
"MIT"
] | null | null | null | """
MHW utility tools package
"""
from .damage import Condition, calculate
from . import motionlist
from . import monster
from .util import generate_skill_patterns, generate_targets, skill_rank, to_label
| 25.5 | 81 | 0.803922 | 27 | 204 | 5.888889 | 0.703704 | 0.125786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127451 | 204 | 7 | 82 | 29.142857 | 0.893258 | 0.122549 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
86e35754c4f172d31af661e8762ebddddd72bc9c | 5,919 | py | Python | src/service/service.py | LeapSunrise/Z-Moves_bot | ac2f0a47f769166976896e80b356ba6968ed7f02 | [
"MIT"
] | 3 | 2021-03-15T14:06:38.000Z | 2021-05-28T17:37:34.000Z | src/service/service.py | LeapSunrise/z-moves-bot | ac2f0a47f769166976896e80b356ba6968ed7f02 | [
"MIT"
] | null | null | null | src/service/service.py | LeapSunrise/z-moves-bot | ac2f0a47f769166976896e80b356ba6968ed7f02 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# !/usr/bin/python3.8.5
import random
import string
from src.schedule_parser.schedule_parser import *
from src.service.buttons import *
separator = '_' * 35
def dynamic_menu_links_inline_keyboard_generator(chat_id):
"""
Generates dynamic main_menu/links inline keyboard.
:param ... | 31.994595 | 109 | 0.673087 | 753 | 5,919 | 5.02656 | 0.156707 | 0.053897 | 0.053897 | 0.03963 | 0.86288 | 0.845443 | 0.831704 | 0.828005 | 0.805812 | 0.72893 | 0 | 0.011544 | 0.224362 | 5,919 | 184 | 110 | 32.168478 | 0.812895 | 0.23433 | 0 | 0.62069 | 0 | 0 | 0.066604 | 0.017995 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114943 | false | 0 | 0.045977 | 0 | 0.321839 | 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 |
86f31af3cdd4d02394795da5a728222683ef5121 | 146 | py | Python | Domain/Python/if_else.py | bhansa/Hack | dd312af4446fa86da5e4740f6efc3c1ba50e53de | [
"Apache-2.0"
] | null | null | null | Domain/Python/if_else.py | bhansa/Hack | dd312af4446fa86da5e4740f6efc3c1ba50e53de | [
"Apache-2.0"
] | null | null | null | Domain/Python/if_else.py | bhansa/Hack | dd312af4446fa86da5e4740f6efc3c1ba50e53de | [
"Apache-2.0"
] | null | null | null | n=int(raw_input())
if n%2!=0:
print "Weird"
elif n>2 and n<5:
print "Not Weird"
elif n>6 and n<20:
print "Weird"
elif n>20:
print "Not Weird"
| 14.6 | 18 | 0.643836 | 33 | 146 | 2.818182 | 0.454545 | 0.290323 | 0.322581 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 0.184932 | 146 | 9 | 19 | 16.222222 | 0.705882 | 0 | 0 | 0.444444 | 0 | 0 | 0.191781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.444444 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
811a0cea2aad461710a4790da7c00b08558defd7 | 38 | py | Python | image_classification/SwinTransformer/augmentation.py | chuliuT/PaddleViT | 282e5013f0460fa9f9b010775ff4d2607e7370ef | [
"Apache-2.0"
] | null | null | null | image_classification/SwinTransformer/augmentation.py | chuliuT/PaddleViT | 282e5013f0460fa9f9b010775ff4d2607e7370ef | [
"Apache-2.0"
] | null | null | null | image_classification/SwinTransformer/augmentation.py | chuliuT/PaddleViT | 282e5013f0460fa9f9b010775ff4d2607e7370ef | [
"Apache-2.0"
] | null | null | null | import paddle
import paddle.nn as nn
| 9.5 | 22 | 0.789474 | 7 | 38 | 4.285714 | 0.571429 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 3 | 23 | 12.666667 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d4df8b5b86a7dcfb6b73f51e985891eb3a98cdd3 | 75 | py | Python | jacdac/power_supply/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/power_supply/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/power_supply/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import PowerSupplyClient # type: ignore
| 25 | 52 | 0.8 | 8 | 75 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 75 | 2 | 53 | 37.5 | 0.923077 | 0.426667 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be0b31613218ea2d46744aae47249304600611a6 | 7,667 | py | Python | deploy/virenv/lib/python2.7/site-packages/haystack/reverse/cli.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/haystack/reverse/cli.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | deploy/virenv/lib/python2.7/site-packages/haystack/reverse/cli.py | wangvictor2012/liuwei | 0a06f8fd56d78162f81f1e7e7def7bfdeb4472e1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Entry points related to reverse. """
import os
import sys
from haystack import argparse_utils
from haystack import cli
from haystack.reverse import api
# the description of the function
REVERSE_DESC = 'Reverse the data structure from the process memory'
REVERSE_SHOW_... | 34.227679 | 113 | 0.732881 | 1,027 | 7,667 | 5.234664 | 0.125609 | 0.020833 | 0.034784 | 0.017857 | 0.77567 | 0.745536 | 0.745536 | 0.710007 | 0.701451 | 0.701451 | 0 | 0.003958 | 0.17621 | 7,667 | 223 | 114 | 34.381166 | 0.847213 | 0.053085 | 0 | 0.632258 | 0 | 0 | 0.099552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006452 | 0.03871 | null | null | 0.045161 | 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 |
be1ce108645ef5ab424f6c5a625d728fcf2fffe8 | 28 | py | Python | plotly/graph_objs/pointcloud/marker/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/pointcloud/marker/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/pointcloud/marker/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._border import Border
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07804282e55f19c38513d6468fa5eabd543a015d | 195 | py | Python | moto/acm/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 3 | 2020-08-04T20:29:41.000Z | 2020-11-09T09:28:19.000Z | moto/acm/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 17 | 2020-08-28T12:53:56.000Z | 2020-11-10T01:04:46.000Z | moto/acm/__init__.py | jonnangle/moto-1 | 40b4e299abb732aad7f56cc0f680c0a272a46594 | [
"Apache-2.0"
] | 2 | 2021-11-24T08:05:43.000Z | 2021-11-25T16:18:48.000Z | from __future__ import unicode_literals
from .models import acm_backends
from ..core.models import base_decorator
acm_backend = acm_backends["us-east-1"]
mock_acm = base_decorator(acm_backends)
| 27.857143 | 40 | 0.830769 | 29 | 195 | 5.172414 | 0.551724 | 0.22 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.097436 | 195 | 6 | 41 | 32.5 | 0.846591 | 0 | 0 | 0 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
07a20a822260bc272c73446a0812ab8a35cab98c | 13,544 | py | Python | newsapi/newsapi_client.py | jborchma/newsapi-python | f59f9d67bb218156becbe07740bb7d33a9a19c99 | [
"MIT"
] | 1 | 2019-02-22T03:45:39.000Z | 2019-02-22T03:45:39.000Z | newsapi/newsapi_client.py | jborchma/newsapi-python | f59f9d67bb218156becbe07740bb7d33a9a19c99 | [
"MIT"
] | null | null | null | newsapi/newsapi_client.py | jborchma/newsapi-python | f59f9d67bb218156becbe07740bb7d33a9a19c99 | [
"MIT"
] | null | null | null | import requests
from newsapi.newsapi_auth import NewsApiAuth
from newsapi import const
from newsapi.newsapi_exception import NewsAPIException
class NewsApiClient(object):
def __init__(self, api_key):
self.auth = NewsApiAuth(api_key=api_key)
def get_top_headlines(self, q=None, sources=None, language=... | 42.591195 | 135 | 0.5158 | 1,593 | 13,544 | 4.350282 | 0.166981 | 0.041558 | 0.048773 | 0.030159 | 0.787734 | 0.75671 | 0.741703 | 0.723232 | 0.723232 | 0.717027 | 0 | 0.011385 | 0.370939 | 13,544 | 317 | 136 | 42.725552 | 0.801995 | 0.434584 | 0 | 0.735632 | 0 | 0 | 0.161976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.022989 | 0 | 0.068966 | 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 |
07e6341724c87920a79484ebaa8329f4136d116a | 13,884 | py | Python | Tests/Test_rwlock.py | brucewxh/IntraArchiveDeduplicator | 7b0c07cc9fffa75e1b7be285f42b0a8fad42dcfb | [
"BSD-3-Clause"
] | 86 | 2015-01-13T15:02:08.000Z | 2021-12-24T02:13:03.000Z | Tests/Test_rwlock.py | brucewxh/IntraArchiveDeduplicator | 7b0c07cc9fffa75e1b7be285f42b0a8fad42dcfb | [
"BSD-3-Clause"
] | 4 | 2016-11-18T20:08:50.000Z | 2018-03-08T23:05:37.000Z | Tests/Test_rwlock.py | brucewxh/IntraArchiveDeduplicator | 7b0c07cc9fffa75e1b7be285f42b0a8fad42dcfb | [
"BSD-3-Clause"
] | 12 | 2015-05-03T07:56:50.000Z | 2021-03-11T12:38:56.000Z |
##
## Unit testing code
## =================
##
import unittest
import threading
import time
import copy
import pyximport
pyximport.install()
import deduplicator.cyHamDb as hamDb
class Writer(threading.Thread):
def __init__(self, buffer_, rw_lock, init_sleep_time, sleep_time, to_write):
"""
@param buffer_: c... | 35.060606 | 96 | 0.724287 | 2,066 | 13,884 | 4.547919 | 0.064376 | 0.043423 | 0.063857 | 0.049808 | 0.943912 | 0.926671 | 0.893572 | 0.857493 | 0.836633 | 0.780226 | 0 | 0.020383 | 0.130726 | 13,884 | 395 | 97 | 35.149367 | 0.758141 | 0.218381 | 0 | 0.699552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246637 | 1 | 0.098655 | false | 0 | 0.03139 | 0 | 0.156951 | 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 |
07f0e110fe7a2a70c7f2992e8d5b001d124947eb | 5,338 | py | Python | gprm/utils/wrapping_tools.py | siwill22/GPlatesClassStruggle | 713a87ff4f054d3a493ec09e5f310aa3036d3bc5 | [
"MIT"
] | 7 | 2020-05-04T03:05:09.000Z | 2022-01-28T13:52:53.000Z | gprm/utils/wrapping_tools.py | siwill22/GPlatesClassStruggle | 713a87ff4f054d3a493ec09e5f310aa3036d3bc5 | [
"MIT"
] | null | null | null | gprm/utils/wrapping_tools.py | siwill22/GPlatesClassStruggle | 713a87ff4f054d3a493ec09e5f310aa3036d3bc5 | [
"MIT"
] | 3 | 2021-05-23T01:53:52.000Z | 2021-09-14T12:21:53.000Z | #
# Functions for wrapping geometries to dateline before returning request geojson
#
import pygplates
def wrap_polylines(polylines,lon0=0,tesselate_degrees=1):
data = {"type": "FeatureCollection"}
data["features"] = []
for polyline in polylines:
if lon0 is not None:
wrapper = pygpla... | 40.135338 | 139 | 0.586737 | 527 | 5,338 | 5.721063 | 0.132827 | 0.062687 | 0.039801 | 0.051741 | 0.81592 | 0.763184 | 0.724378 | 0.724378 | 0.675954 | 0.675954 | 0 | 0.00849 | 0.29393 | 5,338 | 132 | 140 | 40.439394 | 0.791457 | 0.014612 | 0 | 0.771429 | 0 | 0 | 0.10274 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038095 | false | 0 | 0.009524 | 0 | 0.085714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed19ccb72a8f0fd72b29f329be72f2b260ce60e6 | 46 | py | Python | ple/games/__init__.py | GokulNC/Helicopter-Game-Reinforcement-Learning | c42eea71294bfc0dd2507d33c319e3b6d6e898e0 | [
"MIT"
] | null | null | null | ple/games/__init__.py | GokulNC/Helicopter-Game-Reinforcement-Learning | c42eea71294bfc0dd2507d33c319e3b6d6e898e0 | [
"MIT"
] | null | null | null | ple/games/__init__.py | GokulNC/Helicopter-Game-Reinforcement-Learning | c42eea71294bfc0dd2507d33c319e3b6d6e898e0 | [
"MIT"
] | 2 | 2019-10-04T05:39:09.000Z | 2019-12-14T12:08:53.000Z | from ple.games.pixelcopter import Pixelcopter
| 23 | 45 | 0.869565 | 6 | 46 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 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 |
ed4d4efe066b0f4fdca9a1931dc1356f60e3815d | 17,698 | py | Python | tests/components/recorder/test_filters_with_entityfilter.py | mib1185/core | b17d4ac65cde9a27ff6032d70b148792e5eba8df | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/recorder/test_filters_with_entityfilter.py | mib1185/core | b17d4ac65cde9a27ff6032d70b148792e5eba8df | [
"Apache-2.0"
] | 24,710 | 2016-04-13T08:27:26.000Z | 2020-03-02T12:59:13.000Z | tests/components/recorder/test_filters_with_entityfilter.py | mib1185/core | b17d4ac65cde9a27ff6032d70b148792e5eba8df | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The tests for the recorder filter matching the EntityFilter component."""
import json
from sqlalchemy import select
from sqlalchemy.engine.row import Row
from homeassistant.components.recorder import get_instance
from homeassistant.components.recorder.db_schema import EventData, States
from homeassistant.component... | 34.232108 | 87 | 0.70556 | 2,054 | 17,698 | 5.66407 | 0.070594 | 0.047189 | 0.051573 | 0.059309 | 0.845625 | 0.831872 | 0.817775 | 0.806515 | 0.780815 | 0.768867 | 0 | 0.001806 | 0.217821 | 17,698 | 516 | 88 | 34.29845 | 0.838619 | 0.003955 | 0 | 0.644231 | 0 | 0 | 0.09787 | 0.012712 | 0 | 0 | 0 | 0 | 0.209135 | 1 | 0.004808 | false | 0 | 0.026442 | 0 | 0.038462 | 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 |
ed5bdd9e0b7bf3ba36ce4a3d2569c659e98ee5a8 | 6,043 | py | Python | tensorflow/c01/t4.py | tomsnail/opencv_tf_py | cf9aa7fa250546564cff56aa33b5a39991b0d8f1 | [
"Apache-2.0"
] | null | null | null | tensorflow/c01/t4.py | tomsnail/opencv_tf_py | cf9aa7fa250546564cff56aa33b5a39991b0d8f1 | [
"Apache-2.0"
] | null | null | null | tensorflow/c01/t4.py | tomsnail/opencv_tf_py | cf9aa7fa250546564cff56aa33b5a39991b0d8f1 | [
"Apache-2.0"
] | 1 | 2020-05-22T09:19:56.000Z | 2020-05-22T09:19:56.000Z | import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
import numpy as np
import matplotlib.pyplot as plt
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
#修改代价函数为交叉熵
def mnist_op1():
#载入数据
mnist = input_data.read_data_sets("./../../datas/mnist/",one_hot=True)
#每个批次的大小
b... | 32.143617 | 118 | 0.656131 | 909 | 6,043 | 4.20022 | 0.167217 | 0.044526 | 0.050288 | 0.040073 | 0.842064 | 0.832897 | 0.814563 | 0.812467 | 0.758512 | 0.733106 | 0 | 0.050586 | 0.195267 | 6,043 | 188 | 119 | 32.143617 | 0.734526 | 0.108224 | 0 | 0.6 | 0 | 0 | 0.024513 | 0.007298 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0.028571 | 0.047619 | 0 | 0.07619 | 0.047619 | 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 |
ed5d0c5572937dcc728bfc989d3fc2bbbfcb441b | 29 | py | Python | examples/performance/__init__.py | reguly/devito | 543b7be41ddbf1faa90224cca3824767756c9390 | [
"MIT"
] | 204 | 2020-01-09T11:27:58.000Z | 2022-03-20T22:53:37.000Z | examples/performance/__init__.py | reguly/devito | 543b7be41ddbf1faa90224cca3824767756c9390 | [
"MIT"
] | 949 | 2016-04-25T11:41:34.000Z | 2019-12-27T10:43:40.000Z | tests/integration/bot/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 131 | 2020-01-08T17:43:13.000Z | 2022-03-27T11:36:47.000Z | from .utils import * # noqa
| 14.5 | 28 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 29 | 1 | 29 | 29 | 0.863636 | 0.137931 | 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 |
ed608d9077bda5ff4cba553de4aa147c887d57a6 | 208 | py | Python | Day5/adventofcode5.py | oomoepoo/Adventofcode2k19 | 8cb4837b021bbffb7a8800b6d810eb1144ce8867 | [
"Unlicense"
] | null | null | null | Day5/adventofcode5.py | oomoepoo/Adventofcode2k19 | 8cb4837b021bbffb7a8800b6d810eb1144ce8867 | [
"Unlicense"
] | null | null | null | Day5/adventofcode5.py | oomoepoo/Adventofcode2k19 | 8cb4837b021bbffb7a8800b6d810eb1144ce8867 | [
"Unlicense"
] | null | null | null | def operate(opcode, arg1, arg2):
if (opcode==1):
return arg1+arg2
elif (opcode==2):
return arg1*arg2
elif (opcode==3):
return arg1
elif (opcode==4):
return arg1 | 23.111111 | 32 | 0.548077 | 27 | 208 | 4.222222 | 0.444444 | 0.350877 | 0.245614 | 0.315789 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0.322115 | 208 | 9 | 33 | 23.111111 | 0.723404 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.555556 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9c60a1182852ba1c524f7185a2786c9a8943315f | 4,843 | py | Python | python/paddle/fluid/tests/unittests/test_scatter_op.py | liym27/Paddle | 50582071dce846a973a054c40fe194069657960a | [
"Apache-2.0"
] | 1 | 2019-10-10T03:47:33.000Z | 2019-10-10T03:47:33.000Z | python/paddle/fluid/tests/unittests/test_scatter_op.py | liym27/Paddle | 50582071dce846a973a054c40fe194069657960a | [
"Apache-2.0"
] | 1 | 2019-07-30T05:22:32.000Z | 2019-07-30T05:22:32.000Z | python/paddle/fluid/tests/unittests/test_scatter_op.py | liym27/Paddle | 50582071dce846a973a054c40fe194069657960a | [
"Apache-2.0"
] | 1 | 2020-02-21T07:40:27.000Z | 2020-02-21T07:40:27.000Z | # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 35.610294 | 80 | 0.629155 | 687 | 4,843 | 4.216885 | 0.187773 | 0.030376 | 0.057991 | 0.036244 | 0.762858 | 0.762858 | 0.762858 | 0.762858 | 0.762858 | 0.762858 | 0 | 0.02422 | 0.232707 | 4,843 | 135 | 81 | 35.874074 | 0.755382 | 0.12038 | 0 | 0.867347 | 0 | 0 | 0.08459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153061 | false | 0 | 0.05102 | 0 | 0.255102 | 0.010204 | 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 |
9c610da191eb72ad34c7b9c1b2e825f23f17257d | 37 | py | Python | pyro/planning/__init__.py | SherbyRobotics/PyRobotics | 86eb1189258f6f41642a149c813dd2fd6853bcc1 | [
"MIT"
] | 14 | 2019-05-03T15:22:38.000Z | 2022-03-14T15:31:54.000Z | pyro/planning/__init__.py | SherbyRobotics/PyRobotics | 86eb1189258f6f41642a149c813dd2fd6853bcc1 | [
"MIT"
] | 9 | 2019-08-01T14:22:13.000Z | 2021-06-12T01:44:50.000Z | pyro/planning/__init__.py | SherbyRobotics/PyRobotics | 86eb1189258f6f41642a149c813dd2fd6853bcc1 | [
"MIT"
] | 9 | 2019-05-21T12:38:36.000Z | 2022-03-29T16:28:45.000Z | from .plan import OpenLoopController | 37 | 37 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 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 |
9c7dd97a072e77413324988ee7f723748f96b90e | 157 | py | Python | tests/test_core.py | VincentRouvreau/dockerhub_automated_build | 6d85b208c5e7f1f43a29f42df7febf5faa3b9530 | [
"MIT"
] | null | null | null | tests/test_core.py | VincentRouvreau/dockerhub_automated_build | 6d85b208c5e7f1f43a29f42df7febf5faa3b9530 | [
"MIT"
] | null | null | null | tests/test_core.py | VincentRouvreau/dockerhub_automated_build | 6d85b208c5e7f1f43a29f42df7febf5faa3b9530 | [
"MIT"
] | null | null | null | import pytest
from sample import determinant
def test_matrice_determinant():
assert determinant([[6,1,1], [4, -2, 5], [2,8,7]]) == pytest.approx(-306.0) | 31.4 | 79 | 0.687898 | 25 | 157 | 4.24 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 0.127389 | 157 | 5 | 79 | 31.4 | 0.678832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92c13d74b9efaafc78241e7b3abd20ba1aa80044 | 138 | py | Python | lefi/exts/commands/core/__init__.py | Moros0741/Lefi | 707dfcee45c386c4e9a70c776ac8ed1d0417bc14 | [
"MIT"
] | null | null | null | lefi/exts/commands/core/__init__.py | Moros0741/Lefi | 707dfcee45c386c4e9a70c776ac8ed1d0417bc14 | [
"MIT"
] | null | null | null | lefi/exts/commands/core/__init__.py | Moros0741/Lefi | 707dfcee45c386c4e9a70c776ac8ed1d0417bc14 | [
"MIT"
] | null | null | null | from .command import *
from .context import *
from .cooldowns import *
from .handler import *
from .parser import *
from .plugin import *
| 19.714286 | 24 | 0.73913 | 18 | 138 | 5.666667 | 0.444444 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 138 | 6 | 25 | 23 | 0.894737 | 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 |
92d308697281c033358d86647594e3ed10099bb4 | 12,874 | py | Python | src/envs/utils.py | tlan95/captionRL-env | 72fa485b3e486f85fc58063a8f68bffcfcce4bd9 | [
"MIT"
] | null | null | null | src/envs/utils.py | tlan95/captionRL-env | 72fa485b3e486f85fc58063a8f68bffcfcce4bd9 | [
"MIT"
] | null | null | null | src/envs/utils.py | tlan95/captionRL-env | 72fa485b3e486f85fc58063a8f68bffcfcce4bd9 | [
"MIT"
] | 1 | 2021-12-07T16:40:51.000Z | 2021-12-07T16:40:51.000Z | from object2urdf import ObjectUrdfBuilder
import numpy as np
from matplotlib import pyplot as plt
import pybullet as p
import os
from src.envs.envList import *
from src.envs.reward_function import *
from src.envs.env_params import get_env_params
from src.envs.descriptions import generate_all_descriptions
def generat... | 53.419087 | 312 | 0.662809 | 1,768 | 12,874 | 4.543552 | 0.102941 | 0.064982 | 0.059754 | 0.039836 | 0.846633 | 0.832815 | 0.81464 | 0.806921 | 0.800697 | 0.78912 | 0 | 0.018028 | 0.211512 | 12,874 | 240 | 313 | 53.641667 | 0.773323 | 0.604319 | 0 | 0.225806 | 0 | 0 | 0.097753 | 0.075896 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016129 | false | 0 | 0.145161 | 0 | 0.16129 | 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 |
92dfe74ec6d7e33ed734c171ec3144ba9a5d84a5 | 95 | py | Python | nnet/layer/__init__.py | zhaoyan1117/NeuralNet | a0343dd469e981bf9b4f18db0209ca9bfaf58c4f | [
"BSD-2-Clause"
] | null | null | null | nnet/layer/__init__.py | zhaoyan1117/NeuralNet | a0343dd469e981bf9b4f18db0209ca9bfaf58c4f | [
"BSD-2-Clause"
] | null | null | null | nnet/layer/__init__.py | zhaoyan1117/NeuralNet | a0343dd469e981bf9b4f18db0209ca9bfaf58c4f | [
"BSD-2-Clause"
] | null | null | null | from ._fully_connected_layer import FullyConnectedLayer
from ._output_layer import OutputLayer
| 31.666667 | 55 | 0.894737 | 11 | 95 | 7.272727 | 0.727273 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 95 | 2 | 56 | 47.5 | 0.91954 | 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 |
136daa61dca4b491331f6d486c35f27985fc62fe | 34,305 | py | Python | segregation/aspatial/multigroup_aspatial_indexes.py | weikang9009/segregation | 403cc63772545f688308692d446c289ed2e7f99a | [
"BSD-3-Clause"
] | null | null | null | segregation/aspatial/multigroup_aspatial_indexes.py | weikang9009/segregation | 403cc63772545f688308692d446c289ed2e7f99a | [
"BSD-3-Clause"
] | null | null | null | segregation/aspatial/multigroup_aspatial_indexes.py | weikang9009/segregation | 403cc63772545f688308692d446c289ed2e7f99a | [
"BSD-3-Clause"
] | null | null | null | """
Multigroup Aspatial based Segregation Metrics
"""
__author__ = "Renan X. Cortes <renanc@ucr.edu>, Sergio J. Rey <sergio.rey@ucr.edu> and Elijah Knaap <elijah.knaap@ucr.edu>"
import numpy as np
from sklearn.metrics.pairwise import manhattan_distances
from segregation.util.util import _dep_message, DeprecationHelp... | 28.659148 | 275 | 0.650051 | 4,100 | 34,305 | 5.330244 | 0.08439 | 0.025625 | 0.043928 | 0.036607 | 0.8479 | 0.815777 | 0.803285 | 0.772994 | 0.772033 | 0.770934 | 0 | 0.026892 | 0.26072 | 34,305 | 1,197 | 276 | 28.659148 | 0.834825 | 0.65935 | 0 | 0.471366 | 0 | 0.004405 | 0.10304 | 0.059008 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088106 | false | 0 | 0.013216 | 0 | 0.189427 | 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 |
13808463dc10d7ab57efb4f0ce7a33996b4be809 | 28 | py | Python | minesweeper/__init__.py | macTracyHuang/cs50wProject2 | 7321cef4b95b00b5efa7d22d865fb5a2e90edaf1 | [
"MIT"
] | 1 | 2020-06-21T07:00:13.000Z | 2020-06-21T07:00:13.000Z | minesweeper/__init__.py | macTracyHuang/cs50wProject2 | 7321cef4b95b00b5efa7d22d865fb5a2e90edaf1 | [
"MIT"
] | null | null | null | minesweeper/__init__.py | macTracyHuang/cs50wProject2 | 7321cef4b95b00b5efa7d22d865fb5a2e90edaf1 | [
"MIT"
] | null | null | null | from .minesweeper import bp
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 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 |
138286d82f03f0e9f67b2e0b7a6473da84ccdb04 | 41 | py | Python | LoRaRF/__init__.py | chandrawi/LoRaRF-Python | 6ca07b16b838788da061bb430d73192c4b53e3ee | [
"MIT"
] | 6 | 2021-04-12T20:15:23.000Z | 2022-02-01T15:18:18.000Z | LoRaRF/__init__.py | chandrawi/LoRaRF-Python | 6ca07b16b838788da061bb430d73192c4b53e3ee | [
"MIT"
] | 1 | 2021-04-09T10:30:49.000Z | 2022-01-20T04:22:42.000Z | LoRaRF/__init__.py | chandrawi/LoRaRF-Python | 6ca07b16b838788da061bb430d73192c4b53e3ee | [
"MIT"
] | 4 | 2021-07-16T08:29:36.000Z | 2022-03-28T10:13:17.000Z | # __init__.py
from .SX126x import SX126x
| 13.666667 | 26 | 0.780488 | 6 | 41 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0.146341 | 41 | 2 | 27 | 20.5 | 0.628571 | 0.268293 | 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 |
1396526624099d0e11a5ba0c8a3350fbfb81eae0 | 4,950 | py | Python | tensorflow_federated/python/core/framework/__init__.py | truthiswill/federated | d25eeac036dfc2a485120a195fd904223cfc823a | [
"Apache-2.0"
] | 1 | 2022-02-08T01:11:14.000Z | 2022-02-08T01:11:14.000Z | tensorflow_federated/python/core/framework/__init__.py | truthiswill/federated | d25eeac036dfc2a485120a195fd904223cfc823a | [
"Apache-2.0"
] | null | null | null | tensorflow_federated/python/core/framework/__init__.py | truthiswill/federated | d25eeac036dfc2a485120a195fd904223cfc823a | [
"Apache-2.0"
] | null | null | null | # Copyright 2018, The TensorFlow Federated Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 83.898305 | 118 | 0.889697 | 625 | 4,950 | 6.8288 | 0.2464 | 0.200328 | 0.231724 | 0.292174 | 0.599578 | 0.599578 | 0.599578 | 0.475398 | 0.341612 | 0.300375 | 0 | 0.001715 | 0.057576 | 4,950 | 58 | 119 | 85.344828 | 0.913183 | 0.128485 | 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 |
13aed3041ad5321f820556c496aadd9d5ae27d74 | 185 | py | Python | jarvis_cli/interactive/__init__.py | clb6/jarvis-cli | 44dfe0a94243e444eaddc72496efd677be9272e7 | [
"Apache-2.0"
] | null | null | null | jarvis_cli/interactive/__init__.py | clb6/jarvis-cli | 44dfe0a94243e444eaddc72496efd677be9272e7 | [
"Apache-2.0"
] | 3 | 2016-09-08T03:20:33.000Z | 2016-12-08T05:19:57.000Z | jarvis_cli/interactive/__init__.py | clb6/jarvis-cli | 44dfe0a94243e444eaddc72496efd677be9272e7 | [
"Apache-2.0"
] | null | null | null | from .for_events import prompt_event_occurred, prompt_event_category, \
prompt_event_weight, edit_event_description, prompt_event_artifacts
from .for_init import prompt_init_config
| 46.25 | 71 | 0.87027 | 26 | 185 | 5.653846 | 0.538462 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091892 | 185 | 3 | 72 | 61.666667 | 0.875 | 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 | 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 |
b944f6fa0cbe518c4c16eb1177af1e2181b5539f | 75 | py | Python | fb2parser/fbparser.py | schokoro/Kataev | bcbde8ded4bbf472e7d644b38d87f625fdc53264 | [
"Unlicense"
] | null | null | null | fb2parser/fbparser.py | schokoro/Kataev | bcbde8ded4bbf472e7d644b38d87f625fdc53264 | [
"Unlicense"
] | null | null | null | fb2parser/fbparser.py | schokoro/Kataev | bcbde8ded4bbf472e7d644b38d87f625fdc53264 | [
"Unlicense"
] | null | null | null | from bs4 import BeautifulSoup
class Fbparser():
"""
"""
pass | 9.375 | 29 | 0.573333 | 7 | 75 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.306667 | 75 | 8 | 30 | 9.375 | 0.807692 | 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 |
b94c86fb60a8d4ba816638cd4f58905d040df276 | 25 | py | Python | course_api/common/test.py | alperen21/Sabanci-University-Course-RESTful-Api | 3a8f772b65276d04cc4dd22d2df74253be0ea08d | [
"MIT"
] | null | null | null | course_api/common/test.py | alperen21/Sabanci-University-Course-RESTful-Api | 3a8f772b65276d04cc4dd22d2df74253be0ea08d | [
"MIT"
] | null | null | null | course_api/common/test.py | alperen21/Sabanci-University-Course-RESTful-Api | 3a8f772b65276d04cc4dd22d2df74253be0ea08d | [
"MIT"
] | null | null | null | from .. import course_api | 25 | 25 | 0.8 | 4 | 25 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9dffbe909d0d0c0888590012ab742406babfe6d | 15,780 | py | Python | auto_derby/single_mode/context_test.py | DoctrineAlanK/auto-derby | 781e860b06b9686e56feab115d2212251cd99d10 | [
"MIT"
] | 235 | 2021-05-24T12:09:18.000Z | 2022-03-31T03:44:08.000Z | auto_derby/single_mode/context_test.py | DoctrineAlanK/auto-derby | 781e860b06b9686e56feab115d2212251cd99d10 | [
"MIT"
] | 193 | 2021-05-27T16:49:14.000Z | 2022-03-31T16:38:08.000Z | auto_derby/single_mode/context_test.py | DoctrineAlanK/auto-derby | 781e860b06b9686e56feab115d2212251cd99d10 | [
"MIT"
] | 89 | 2021-05-30T17:07:24.000Z | 2022-03-27T15:41:04.000Z | from typing import Text
import pytest
from .. import _test
from .context import Context
@pytest.mark.parametrize(
"name",
tuple(
i.stem for i in ((_test.DATA_PATH / "single_mode").glob("command_scene_*.png"))
),
)
def test_recognize_command_scene(name: Text):
img, _ = _test.use_screenshot(f"... | 34.911504 | 87 | 0.701648 | 2,438 | 15,780 | 4.280558 | 0.073831 | 0.162131 | 0.029705 | 0.05941 | 0.934266 | 0.827616 | 0.821388 | 0.795324 | 0.690878 | 0.638846 | 0 | 0.033313 | 0.1782 | 15,780 | 451 | 88 | 34.988914 | 0.771437 | 0 | 0 | 0.487603 | 0 | 0 | 0.067554 | 0.065399 | 0 | 0 | 0 | 0 | 0.556474 | 1 | 0.085399 | false | 0 | 0.011019 | 0 | 0.096419 | 0.019284 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a13379b387645ae03b75b179052692e60589867 | 48 | py | Python | lcd/models/__init__.py | pfe-everis/lcd | 25f3fe7dc7e0c8ba02fb380dbcbe7752747b3fb5 | [
"BSD-3-Clause"
] | 76 | 2019-11-22T04:28:37.000Z | 2022-03-31T12:48:04.000Z | lcd/models/__init__.py | pfe-everis/lcd | 25f3fe7dc7e0c8ba02fb380dbcbe7752747b3fb5 | [
"BSD-3-Clause"
] | 10 | 2019-12-23T02:28:24.000Z | 2022-03-18T08:08:16.000Z | lcd/models/__init__.py | pfe-everis/lcd | 25f3fe7dc7e0c8ba02fb380dbcbe7752747b3fb5 | [
"BSD-3-Clause"
] | 7 | 2019-11-23T08:21:52.000Z | 2021-12-29T14:40:57.000Z | from .pointnet import *
from .patchnet import *
| 16 | 23 | 0.75 | 6 | 48 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 24 | 24 | 0.9 | 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 |
6a2c91d20d38e700ce6f82bff85808c2880b7dc6 | 242 | py | Python | typings/bpy/ops/material.py | Argmaster/PyR3 | 6786bcb6a101fe4bd4cc50fe43767b8178504b15 | [
"MIT"
] | 2 | 2021-12-12T18:51:52.000Z | 2022-02-23T09:49:16.000Z | src/blender/blender_autocomplete-master/2.92/bpy/ops/material.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | 2 | 2021-11-08T12:09:02.000Z | 2021-12-12T23:01:12.000Z | src/blender/blender_autocomplete-master/2.92/bpy/ops/material.py | JonasWard/ClayAdventures | a716445ac690e4792e70658319aa1d5299f9c9e9 | [
"MIT"
] | null | null | null | import sys
import typing
def copy():
''' Copy the material settings and nodes
'''
pass
def new():
''' Add a new material
'''
pass
def paste():
''' Paste the material settings and nodes
'''
pass
| 8.962963 | 45 | 0.545455 | 29 | 242 | 4.551724 | 0.517241 | 0.166667 | 0.287879 | 0.333333 | 0.469697 | 0.469697 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342975 | 242 | 26 | 46 | 9.307692 | 0.830189 | 0.433884 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0.375 | 0.25 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6a46deffc0f9f4a54eac36b0579978ff6c8127be | 125 | py | Python | exabel_data_sdk/stubs/exabel/api/math/all_pb2.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/stubs/exabel/api/math/all_pb2.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | exabel_data_sdk/stubs/exabel/api/math/all_pb2.py | burk/python-sdk | 83fb81d09e0d6a407c8907a75bebb895decc7edc | [
"MIT"
] | null | null | null | # Generated by generate_protobuf.sh.
# Contains all messages in *_pb2.py in a single module.
from .aggregation_pb2 import *
| 25 | 55 | 0.776 | 19 | 125 | 4.947368 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.152 | 125 | 4 | 56 | 31.25 | 0.867925 | 0.704 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a49243c5a525052cc812aa3acb1a2c0de9c849a | 130 | py | Python | run_test.py | neso613/english_asr_pip_wheel | d7db59f97d0317028f610097fda0e35c059ee610 | [
"Apache-2.0"
] | null | null | null | run_test.py | neso613/english_asr_pip_wheel | d7db59f97d0317028f610097fda0e35c059ee610 | [
"Apache-2.0"
] | null | null | null | run_test.py | neso613/english_asr_pip_wheel | d7db59f97d0317028f610097fda0e35c059ee610 | [
"Apache-2.0"
] | null | null | null | from english_asr.conformer import get_text_from_speech
text = get_text_from_speech('1.flac')
print('English ASR output : ',text)
| 26 | 54 | 0.8 | 21 | 130 | 4.619048 | 0.571429 | 0.206186 | 0.226804 | 0.350515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.1 | 130 | 4 | 55 | 32.5 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
dbebfdae9b078a7fcea42683415aff2321c7c88f | 27,315 | py | Python | opentamp/util_classes/ik_controller.py | Algorithmic-Alignment-Lab/openTAMP-legacy | 3b7c3be164cc968ad77a928286d6460cd70a670e | [
"MIT"
] | 2 | 2022-03-09T19:48:20.000Z | 2022-03-26T17:31:07.000Z | opentamp/util_classes/ik_controller.py | Algorithmic-Alignment-Lab/OpenTAMP | eecb950bd273da8cbed4394487630e8453f2c242 | [
"MIT"
] | null | null | null | opentamp/util_classes/ik_controller.py | Algorithmic-Alignment-Lab/OpenTAMP | eecb950bd273da8cbed4394487630e8453f2c242 | [
"MIT"
] | null | null | null | """
Adapted from: https://github.com/StanfordVL/robosuite/blob/master/robosuite/controllers/baxter_ik_controller.py
@inproceedings{corl2018surreal,
title={SURREAL: Open-Source Reinforcement Learning Framework and Robot Manipulation Benchmark},
author={Fan, Linxi and Zhu, Yuke and Zhu, Jiren and Liu, Zihua and Zeng... | 37.315574 | 159 | 0.605821 | 3,507 | 27,315 | 4.494155 | 0.116339 | 0.033754 | 0.043271 | 0.022651 | 0.904194 | 0.896897 | 0.875642 | 0.862699 | 0.853118 | 0.853118 | 0 | 0.013178 | 0.319385 | 27,315 | 732 | 160 | 37.315574 | 0.834597 | 0.32451 | 0 | 0.6875 | 0 | 0 | 0.015796 | 0.005382 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078125 | false | 0 | 0.015625 | 0.013021 | 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 |
e013ace0118e7cf42be281d641b2e0f75a25bf21 | 40 | py | Python | vnpy/gateway/tqsdk/__init__.py | oysx/vnpy | 626225ab3d4e80e8503bf908b751368732e6de0e | [
"MIT"
] | null | null | null | vnpy/gateway/tqsdk/__init__.py | oysx/vnpy | 626225ab3d4e80e8503bf908b751368732e6de0e | [
"MIT"
] | null | null | null | vnpy/gateway/tqsdk/__init__.py | oysx/vnpy | 626225ab3d4e80e8503bf908b751368732e6de0e | [
"MIT"
] | null | null | null | from .tqsdk_gateway import TqsdkGateway
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e045264b067c4b311abc40f93cd2b31f19bc074b | 40 | py | Python | lib/__init__.py | foozzi/Loki | 3a91382831a714a1a3f3159753fb1982c94cea7c | [
"MIT"
] | null | null | null | lib/__init__.py | foozzi/Loki | 3a91382831a714a1a3f3159753fb1982c94cea7c | [
"MIT"
] | null | null | null | lib/__init__.py | foozzi/Loki | 3a91382831a714a1a3f3159753fb1982c94cea7c | [
"MIT"
] | 1 | 2020-01-23T06:21:23.000Z | 2020-01-23T06:21:23.000Z | # Date: 07/03/2018
# Author: Pure-L0G1C | 20 | 20 | 0.675 | 7 | 40 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.15 | 40 | 2 | 20 | 20 | 0.5 | 0.875 | 0 | null | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ecedfd895ee0d0b42675cca7fe824dc1f534a95 | 1,374 | py | Python | opsgenie_swagger/api/__init__.py | Logicworks/opsgenie-python-sdk | 244c4c40ddcc25e70df5ba4425ab8d7c8da59c18 | [
"Apache-2.0"
] | null | null | null | opsgenie_swagger/api/__init__.py | Logicworks/opsgenie-python-sdk | 244c4c40ddcc25e70df5ba4425ab8d7c8da59c18 | [
"Apache-2.0"
] | null | null | null | opsgenie_swagger/api/__init__.py | Logicworks/opsgenie-python-sdk | 244c4c40ddcc25e70df5ba4425ab8d7c8da59c18 | [
"Apache-2.0"
] | 1 | 2020-11-07T11:27:13.000Z | 2020-11-07T11:27:13.000Z | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from opsgenie_swagger.api.account_api import AccountApi
from opsgenie_swagger.api.alert_api import AlertApi
from opsgenie_swagger.api.contact_api import ContactApi
from opsgenie_swagger.api.escalation_api import EscalationApi
from op... | 52.846154 | 83 | 0.899563 | 185 | 1,374 | 6.367568 | 0.302703 | 0.203735 | 0.322581 | 0.373514 | 0.263158 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0.000782 | 0.069141 | 1,374 | 25 | 84 | 54.96 | 0.92025 | 0.02984 | 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 |
0eddbefe6e422bc8d871a1410aad46eb4d30823f | 117 | py | Python | silverware/text/__init__.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | 1 | 2021-08-30T01:12:59.000Z | 2021-08-30T01:12:59.000Z | silverware/text/__init__.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | null | null | null | silverware/text/__init__.py | idin/silverware | 2c47931937f4b1d34e97a1dfa3e58255e57e3545 | [
"MIT"
] | null | null | null | from .get_html_text import get_html_text
from .get_text_and_depth import get_children, has_no_children, has_children
| 39 | 75 | 0.880342 | 21 | 117 | 4.380952 | 0.47619 | 0.152174 | 0.23913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 2 | 76 | 58.5 | 0.859813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
16004a0c401e36b028bf36d506b9adadd05dbe73 | 195 | py | Python | Chapter04/deque_rotate.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 13 | 2018-06-21T01:44:49.000Z | 2021-12-01T10:49:53.000Z | Chapter04/deque_rotate.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | null | null | null | Chapter04/deque_rotate.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 6 | 2018-10-05T08:29:24.000Z | 2022-01-11T14:49:50.000Z | >>> d.rotate(1) # right rotation
>>> d
deque(['l', 'g', 'h', 'i', 'j', 'k'])
>>> d.rotate(-1) # left rotation
>>> d
deque(['g', 'h', 'i', 'j', 'k', 'l'])
| 27.857143 | 53 | 0.333333 | 26 | 195 | 2.5 | 0.5 | 0.215385 | 0.246154 | 0.123077 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.34359 | 195 | 6 | 54 | 32.5 | 0.492188 | 0.14359 | 0 | 0.333333 | 0 | 0 | 0.073171 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16219d58647292a6ecd12e9fc05117fa8e099780 | 115 | py | Python | zipline/pipeline/classifier.py | colin1alexander/zipline | ba42e6d8b972dcce9271526562ceff0cddd3fa30 | [
"Apache-2.0"
] | 1 | 2019-03-29T01:46:35.000Z | 2019-03-29T01:46:35.000Z | zipline/pipeline/classifier.py | colin1alexander/zipline | ba42e6d8b972dcce9271526562ceff0cddd3fa30 | [
"Apache-2.0"
] | 1 | 2021-08-09T20:43:08.000Z | 2021-08-09T20:43:08.000Z | zipline/pipeline/classifier.py | colin1alexander/zipline | ba42e6d8b972dcce9271526562ceff0cddd3fa30 | [
"Apache-2.0"
] | 3 | 2017-08-31T12:34:13.000Z | 2021-09-29T22:28:48.000Z | """
classifier.py
"""
from zipline.pipeline.term import CompositeTerm
class Classifier(CompositeTerm):
pass
| 11.5 | 47 | 0.747826 | 12 | 115 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 9 | 48 | 12.777778 | 0.877551 | 0.113043 | 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 |
1673411cd95e62ec0b00051c68840c7dcaadaaac | 49 | py | Python | hello2.py | kartikchorasiya/Samaaj-Seva-For-HF | 9b8c0cb263ab06f08493d2a3aa7fe6099ed128d6 | [
"MIT"
] | 1 | 2018-10-16T17:48:27.000Z | 2018-10-16T17:48:27.000Z | hello2.py | kartikchorasiya/Samaaj-Seva-For-HF | 9b8c0cb263ab06f08493d2a3aa7fe6099ed128d6 | [
"MIT"
] | 1 | 2018-10-16T16:11:42.000Z | 2018-10-16T16:11:42.000Z | hello2.py | kartikchorasiya/Samaaj-Seva-For-HF | 9b8c0cb263ab06f08493d2a3aa7fe6099ed128d6 | [
"MIT"
] | 4 | 2018-10-16T16:14:23.000Z | 2018-10-16T17:41:29.000Z |
def hello():
print("Say hello to uncle")
| 12.25 | 32 | 0.571429 | 7 | 49 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 49 | 3 | 33 | 16.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1682481e3b64e0e46ee7a291660f25b4fb6ff559 | 192 | py | Python | vlasisku/components/__init__.py | Pendrokar/vlasisku | e1db74b6cbab51e84cc84cb1d046dbc9622bdf07 | [
"Unlicense"
] | null | null | null | vlasisku/components/__init__.py | Pendrokar/vlasisku | e1db74b6cbab51e84cc84cb1d046dbc9622bdf07 | [
"Unlicense"
] | null | null | null | vlasisku/components/__init__.py | Pendrokar/vlasisku | e1db74b6cbab51e84cc84cb1d046dbc9622bdf07 | [
"Unlicense"
] | null | null | null | from vlasisku.components.app import app
from vlasisku.components.general import general
from vlasisku.components.opensearch import os as opensearch
from vlasisku.components.pages import pages
| 38.4 | 59 | 0.864583 | 26 | 192 | 6.384615 | 0.384615 | 0.289157 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 192 | 4 | 60 | 48 | 0.954023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
16b43b29f54fee709fc618b25c5d65ef6eb82f0b | 5,394 | py | Python | google/ads/google_ads/v6/proto/services/ad_group_ad_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/services/ad_group_ad_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | null | null | null | google/ads/google_ads/v6/proto/services/ad_group_ad_service_pb2_grpc.py | arammaliachi/google-ads-python | a4fe89567bd43eb784410523a6306b5d1dd9ee67 | [
"Apache-2.0"
] | 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 google.ads.google_ads.v6.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads_dot_v6_dot_resources_dot_ad__group__ad__pb2
from google.ads.... | 48.160714 | 164 | 0.731554 | 607 | 5,394 | 5.98682 | 0.186161 | 0.042378 | 0.047056 | 0.057788 | 0.772702 | 0.768299 | 0.756192 | 0.703908 | 0.703908 | 0.670336 | 0 | 0.008635 | 0.205599 | 5,394 | 111 | 165 | 48.594595 | 0.83944 | 0.11383 | 0 | 0.438356 | 1 | 0 | 0.091452 | 0.065871 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0 | 0.041096 | 0.027397 | 0.191781 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16e2b9ff320947c585dda85353b569e14a0c3552 | 19,150 | py | Python | tests/test_buffering.py | guaacoelho/devito | 7e0b873114675752c4a49ed9076ee5d52997833c | [
"MIT"
] | null | null | null | tests/test_buffering.py | guaacoelho/devito | 7e0b873114675752c4a49ed9076ee5d52997833c | [
"MIT"
] | null | null | null | tests/test_buffering.py | guaacoelho/devito | 7e0b873114675752c4a49ed9076ee5d52997833c | [
"MIT"
] | null | null | null | import pytest
import numpy as np
from devito import (Constant, Grid, TimeFunction, SparseTimeFunction, Operator,
Eq, ConditionalDimension, SubDimension, SubDomain, configuration)
from devito.ir import FindSymbols, retrieve_iteration_tree
from devito.exceptions import InvalidOperator
def test_read... | 29.598145 | 90 | 0.610862 | 3,039 | 19,150 | 3.764067 | 0.088187 | 0.057348 | 0.034094 | 0.056911 | 0.792989 | 0.762042 | 0.745083 | 0.725938 | 0.713699 | 0.702771 | 0 | 0.039443 | 0.230809 | 19,150 | 646 | 91 | 29.643963 | 0.737135 | 0.103499 | 0 | 0.719512 | 0 | 0 | 0.034424 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 1 | 0.063415 | false | 0 | 0.012195 | 0 | 0.119512 | 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 |
16edcb27e4b574e37a5ed07ec712b3eea56f923e | 267 | py | Python | src/clikit/io/output_stream/__init__.py | finswimmer/clikit | 206198eb60d53c5daefa715f8a93e1fe85ffcf7e | [
"MIT"
] | 78 | 2018-12-06T16:18:08.000Z | 2022-03-18T01:44:06.000Z | src/clikit/io/output_stream/__init__.py | finswimmer/clikit | 206198eb60d53c5daefa715f8a93e1fe85ffcf7e | [
"MIT"
] | 24 | 2019-05-11T16:40:06.000Z | 2022-02-27T01:11:04.000Z | src/clikit/io/output_stream/__init__.py | finswimmer/clikit | 206198eb60d53c5daefa715f8a93e1fe85ffcf7e | [
"MIT"
] | 17 | 2019-01-14T18:18:01.000Z | 2022-03-07T23:05:46.000Z | from .buffered_output_stream import BufferedOutputStream
from .error_output_stream import ErrorOutputStream
from .null_output_stream import NullOutputStream
from .standard_output_stream import StandardOutputStream
from .stream_output_stream import StreamOutputStream
| 44.5 | 56 | 0.906367 | 30 | 267 | 7.733333 | 0.433333 | 0.258621 | 0.387931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074906 | 267 | 5 | 57 | 53.4 | 0.939271 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc413fca6bd983abc0eebf2c9657d5821e8bddf1 | 132 | py | Python | lightflow/queue/__init__.py | portrain/Lightflow | 31f44a55f27b0c61da2631454ca592b641ab8145 | [
"BSD-3-Clause"
] | null | null | null | lightflow/queue/__init__.py | portrain/Lightflow | 31f44a55f27b0c61da2631454ca592b641ab8145 | [
"BSD-3-Clause"
] | null | null | null | lightflow/queue/__init__.py | portrain/Lightflow | 31f44a55f27b0c61da2631454ca592b641ab8145 | [
"BSD-3-Clause"
] | null | null | null | from .const import JobExecPath, JobStatus, JobType, JobEventName
__all__ = ['JobExecPath', 'JobStatus', 'JobType', 'JobEventName']
| 33 | 65 | 0.757576 | 12 | 132 | 8 | 0.666667 | 0.416667 | 0.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 3 | 66 | 44 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
bc46d4b180721343e20921f93653da1a4ca4493b | 314 | py | Python | src/googleanalytics/exception.py | loggly/python-googleanalytics | f0e594b95c3058a5a91131e9281eff875a4ce8c8 | [
"BSD-3-Clause"
] | 68 | 2015-01-14T19:29:03.000Z | 2022-02-12T09:32:05.000Z | src/googleanalytics/exception.py | loggly/python-googleanalytics | f0e594b95c3058a5a91131e9281eff875a4ce8c8 | [
"BSD-3-Clause"
] | 1 | 2019-02-27T21:08:34.000Z | 2019-02-27T21:08:34.000Z | src/googleanalytics/exception.py | loggly/python-googleanalytics | f0e594b95c3058a5a91131e9281eff875a4ce8c8 | [
"BSD-3-Clause"
] | 28 | 2015-02-17T20:00:49.000Z | 2021-07-21T10:42:36.000Z | class GoogleAnalyticsClientError(Exception):
"""
General Google Analytics error (error accessing GA)
"""
def __init__(self, reason):
self.reason = reason
def __repr__(self):
return 'GAError: %s' % self.reason
def __str__(self):
return 'GAError: %s' % self.reason
| 22.428571 | 55 | 0.627389 | 33 | 314 | 5.606061 | 0.545455 | 0.216216 | 0.183784 | 0.194595 | 0.302703 | 0.302703 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261147 | 314 | 13 | 56 | 24.153846 | 0.797414 | 0.16242 | 0 | 0.285714 | 0 | 0 | 0.089069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
bc5fefba5acf89086670ad5e450acce4089cab02 | 28 | py | Python | proxyless_nas_tensorflow/__init__.py | RogerChern/ProxylessNAS | 9d19b74041eb749d540208da4e7e51f9053bbcf9 | [
"Apache-2.0"
] | 558 | 2019-04-08T02:28:31.000Z | 2020-02-12T08:18:57.000Z | proxyless_nas_tensorflow/__init__.py | RogerChern/ProxylessNAS | 9d19b74041eb749d540208da4e7e51f9053bbcf9 | [
"Apache-2.0"
] | 3 | 2018-12-06T11:54:55.000Z | 2018-12-19T19:21:30.000Z | proxyless_nas_tensorflow/__init__.py | RogerChern/ProxylessNAS | 9d19b74041eb749d540208da4e7e51f9053bbcf9 | [
"Apache-2.0"
] | 130 | 2019-04-08T01:58:17.000Z | 2020-02-07T10:23:34.000Z | from .tf_model_zoo import *
| 14 | 27 | 0.785714 | 5 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.833333 | 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 |
bc6ced6277d0eb97fc11f070f0352ebcc99db90a | 11,755 | py | Python | tests/components/test_custom_action.py | LL0814/mindmeld | a616bdcec9c68aaf17c12727118c4436254f6628 | [
"Apache-2.0"
] | 1 | 2020-08-06T03:00:45.000Z | 2020-08-06T03:00:45.000Z | tests/components/test_custom_action.py | LL0814/mindmeld | a616bdcec9c68aaf17c12727118c4436254f6628 | [
"Apache-2.0"
] | null | null | null | tests/components/test_custom_action.py | LL0814/mindmeld | a616bdcec9c68aaf17c12727118c4436254f6628 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_custom_action
----------------------------------
Tests for custom actions.
"""
import pytest
from unittest.mock import Mock, patch
from mindmeld import Application
from mindmeld.components import (
CustomAction,
invoke_custom_action,
invoke_custom_ac... | 40.395189 | 100 | 0.640068 | 1,362 | 11,755 | 5.315712 | 0.110866 | 0.063536 | 0.048619 | 0.063812 | 0.853039 | 0.80953 | 0.792127 | 0.766436 | 0.717265 | 0.7 | 0 | 0.017867 | 0.228669 | 11,755 | 290 | 101 | 40.534483 | 0.780633 | 0.056231 | 0 | 0.656388 | 0 | 0 | 0.21873 | 0.027295 | 0 | 0 | 0 | 0 | 0.229075 | 1 | 0.030837 | false | 0 | 0.026432 | 0 | 0.070485 | 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 |
bc6ea7c0ac7dfa4310b281540aae1ed5cae23ade | 106 | py | Python | terrascript/kubernetes/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/kubernetes/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | terrascript/kubernetes/__init__.py | vutsalsinghal/python-terrascript | 3b9fb5ad77453d330fb0cd03524154a342c5d5dc | [
"BSD-2-Clause"
] | null | null | null | # terrascript/kubernetes/__init__.py
import terrascript
class kubernetes(terrascript.Provider):
pass | 17.666667 | 39 | 0.811321 | 11 | 106 | 7.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 6 | 40 | 17.666667 | 0.87234 | 0.320755 | 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 |
bcd654d6f58543e1e3703e7dcda89278452e7769 | 57 | py | Python | scripts/util_funs.py | Lucklyric/Expedia-Recommendation | d0496fec5305b02d4e17785e6ea5d635e51e92c1 | [
"Apache-2.0"
] | null | null | null | scripts/util_funs.py | Lucklyric/Expedia-Recommendation | d0496fec5305b02d4e17785e6ea5d635e51e92c1 | [
"Apache-2.0"
] | null | null | null | scripts/util_funs.py | Lucklyric/Expedia-Recommendation | d0496fec5305b02d4e17785e6ea5d635e51e92c1 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
import tensorflow.contrib as tc
| 14.25 | 31 | 0.824561 | 9 | 57 | 5.222222 | 0.666667 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 32 | 19 | 0.979167 | 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 |
bce470e360fbd3c5d9916e3abf37d58a71c8a167 | 3,683 | py | Python | lvls/blocks.py | Voolshara/Lyceum2 | 6ef3581ccc4f24afdc7bd843c608f90a109c5a6f | [
"MIT"
] | null | null | null | lvls/blocks.py | Voolshara/Lyceum2 | 6ef3581ccc4f24afdc7bd843c608f90a109c5a6f | [
"MIT"
] | null | null | null | lvls/blocks.py | Voolshara/Lyceum2 | 6ef3581ccc4f24afdc7bd843c608f90a109c5a6f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import pygame
from pygame import *
PLATFORM_WIDTH = 20
PLATFORM_HEIGHT = 20
PLATFORM_COLOR = "#FF6262"
def load_image(name, directory, colorkey=None):
fullname = os.path.join(directory, name)
koef = 20
# если файл не существует, то выход... | 35.757282 | 93 | 0.673907 | 477 | 3,683 | 4.93501 | 0.178197 | 0.091759 | 0.142736 | 0.183517 | 0.737893 | 0.737893 | 0.737893 | 0.737893 | 0.737893 | 0.737893 | 0 | 0.008826 | 0.200109 | 3,683 | 102 | 94 | 36.107843 | 0.790224 | 0.021178 | 0 | 0.506329 | 0 | 0 | 0.082732 | 0.036646 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113924 | false | 0 | 0.050633 | 0 | 0.278481 | 0.012658 | 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 |
bce5a6211dfc9c86ea436016b8bbf66e8e2552b7 | 22,328 | py | Python | test_autogalaxy/unit/profiles/mass_profiles/test_mass_profiles.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | test_autogalaxy/unit/profiles/mass_profiles/test_mass_profiles.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | test_autogalaxy/unit/profiles/mass_profiles/test_mass_profiles.py | jonathanfrawley/PyAutoGalaxy_copy | 1cedbfdcf65020538128163f7d8a7f8e169646e0 | [
"MIT"
] | null | null | null | import math
import autogalaxy as ag
from autogalaxy import exc
import numpy as np
import pytest
def mass_within_radius_of_profile_from_grid_calculation(radius, profile):
mass_total = 0.0
xs = np.linspace(-radius * 1.5, radius * 1.5, 40)
ys = np.linspace(-radius * 1.5, radius * 1.5, 40)
... | 34.036585 | 93 | 0.612057 | 2,669 | 22,328 | 4.833271 | 0.068565 | 0.012713 | 0.010698 | 0.03845 | 0.854031 | 0.81845 | 0.79031 | 0.746899 | 0.70938 | 0.639302 | 0 | 0.047583 | 0.29313 | 22,328 | 655 | 94 | 34.08855 | 0.769752 | 0.007211 | 0 | 0.506356 | 0 | 0 | 0.002325 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 1 | 0.03178 | false | 0 | 0.010593 | 0 | 0.059322 | 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 |
4c0e5be3c8a2a2321ebade2962320bd53e890a42 | 11,615 | py | Python | HLTriggerOffline/SUSYBSM/python/SUSYBSM_inclusiveHT_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | HLTriggerOffline/SUSYBSM/python/SUSYBSM_inclusiveHT_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | HLTriggerOffline/SUSYBSM/python/SUSYBSM_inclusiveHT_cff.py | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
SUSY_HLT_InclusiveHT_800 = cms.EDAnalyzer("SUSY_HLT_InclusiveHT",
trigSummary = cms.InputTag("hltTriggerSummaryAOD"),
pfMETCollection = cms.InputTag("pfMet"),
pfJetCollection = cms.InputTag("ak4PFJetsCHS"),
calo... | 46.834677 | 95 | 0.72415 | 1,103 | 11,615 | 7.421578 | 0.089755 | 0.080625 | 0.070364 | 0.024432 | 0.808698 | 0.808698 | 0.808698 | 0.808698 | 0.808698 | 0.724408 | 0 | 0.037148 | 0.165648 | 11,615 | 247 | 96 | 47.024292 | 0.807553 | 0.023246 | 0 | 0.580357 | 0 | 0 | 0.283194 | 0.048522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008929 | 0 | 0.008929 | 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 |
4c57b7c3ac565795fedc00ddadef2d00d871e1a0 | 2,759 | py | Python | PA/coursework_2/test_simulator.py | easyCZ/UoE-Projects | 7651c8caf329c4f7b4562eba441bfc24124cfcfd | [
"BSD-2-Clause"
] | null | null | null | PA/coursework_2/test_simulator.py | easyCZ/UoE-Projects | 7651c8caf329c4f7b4562eba441bfc24124cfcfd | [
"BSD-2-Clause"
] | 1 | 2022-02-23T07:34:53.000Z | 2022-02-23T07:34:53.000Z | PA/coursework_2/test_simulator.py | easyCZ/UoE-Projects | 7651c8caf329c4f7b4562eba441bfc24124cfcfd | [
"BSD-2-Clause"
] | null | null | null | import unittest
from protocols import MSI, MESI
from models import State, Action
class ProtocolTest(unittest.TestCase):
def assert_remote(self, current_state, action, new_state):
state = self.sut.remote(current_state, action)
return self.assertEqual(new_state, state)
class MSITest(ProtocolTest):... | 35.831169 | 77 | 0.752447 | 390 | 2,759 | 4.982051 | 0.094872 | 0.07823 | 0.122491 | 0.120432 | 0.885744 | 0.865157 | 0.826557 | 0.783325 | 0.4807 | 0.383942 | 0 | 0 | 0.158391 | 2,759 | 76 | 78 | 36.302632 | 0.836779 | 0.003625 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.42 | 1 | 0.42 | false | 0 | 0.06 | 0 | 0.58 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4c68d622a07b622aee4f9ce94a4d1a6e69180030 | 139 | py | Python | tictactoe/repositories/match.py | pitzer42/nano_tcg | c984b253b8a53a707460aac21c10f140d16d902e | [
"MIT"
] | 1 | 2020-09-30T21:03:37.000Z | 2020-09-30T21:03:37.000Z | tictactoe/repositories/match.py | pitzer42/nano_tcg | c984b253b8a53a707460aac21c10f140d16d902e | [
"MIT"
] | null | null | null | tictactoe/repositories/match.py | pitzer42/nano_tcg | c984b253b8a53a707460aac21c10f140d16d902e | [
"MIT"
] | null | null | null | from abc import ABC
from gloop.repositories.match import MatchRepository
class TicTacToeMatchRepository(MatchRepository, ABC):
pass
| 17.375 | 53 | 0.820144 | 15 | 139 | 7.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136691 | 139 | 7 | 54 | 19.857143 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d5cb1e7c2368a83e0da890df8817d478bf726a1c | 5,419 | py | Python | resrc/list/tests/integration_tests/views_test.py | ignatandrei/resrc | 5b88e3cfbc638e5f98cf7bfe6f4a5757840a2565 | [
"MIT"
] | 1 | 2015-11-05T19:50:19.000Z | 2015-11-05T19:50:19.000Z | resrc/list/tests/integration_tests/views_test.py | sergiolimajr/resrc | a0714b3ae989821ebe4c5a7b5a2235a85bfa16a9 | [
"MIT"
] | 2 | 2020-08-04T18:08:04.000Z | 2021-02-02T22:57:59.000Z | resrc/list/tests/integration_tests/views_test.py | sergiolimajr/resrc | a0714b3ae989821ebe4c5a7b5a2235a85bfa16a9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-:
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.contrib.auth import authenticate
from django.http import Http404
from resrc.link.tests.factories import LinkFactory
from resrc.list.tests.factories import ListFactory
from resrc.tests.factories import Use... | 38.161972 | 120 | 0.613951 | 651 | 5,419 | 5.050691 | 0.141321 | 0.072993 | 0.085158 | 0.047445 | 0.804136 | 0.802616 | 0.769161 | 0.736618 | 0.676095 | 0.676095 | 0 | 0.016031 | 0.240266 | 5,419 | 141 | 121 | 38.432624 | 0.782609 | 0.092822 | 0 | 0.785047 | 0 | 0 | 0.13945 | 0.058308 | 0 | 0 | 0 | 0 | 0.186916 | 1 | 0.046729 | false | 0.037383 | 0.074766 | 0 | 0.130841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5dfa72ecf282130d6dc8633656ec5c32a1812db | 5,760 | py | Python | tests/unit/adapters/netbox_api/models/test_netbox_vlan.py | anirudhkamath/network-importer | 13a32270ac838745433bd2b859697e657f95c013 | [
"Apache-2.0"
] | 88 | 2020-12-03T16:07:47.000Z | 2022-03-21T16:14:24.000Z | tests/unit/adapters/netbox_api/models/test_netbox_vlan.py | anirudhkamath/network-importer | 13a32270ac838745433bd2b859697e657f95c013 | [
"Apache-2.0"
] | 62 | 2020-12-03T03:49:13.000Z | 2022-03-21T22:02:15.000Z | tests/unit/adapters/netbox_api/models/test_netbox_vlan.py | anirudhkamath/network-importer | 13a32270ac838745433bd2b859697e657f95c013 | [
"Apache-2.0"
] | 23 | 2020-12-03T03:37:53.000Z | 2022-03-30T16:28:35.000Z | """test for NetboxVlan model."""
import os
import yaml
import pytest
import pynetbox
from diffsync.exceptions import ObjectNotFound
from network_importer.adapters.netbox_api.models import NetboxVlan, NetboxDevice
ROOT = os.path.abspath(os.path.dirname(__file__))
FIXTURE_28 = "../fixtures/netbox_28"
FIXTURE_29 = "../... | 36 | 103 | 0.722396 | 849 | 5,760 | 4.621908 | 0.129564 | 0.066514 | 0.092762 | 0.06524 | 0.866972 | 0.846075 | 0.773955 | 0.756626 | 0.739297 | 0.728848 | 0 | 0.040437 | 0.141319 | 5,760 | 159 | 104 | 36.226415 | 0.752932 | 0.014063 | 0 | 0.625 | 0 | 0 | 0.11493 | 0.036136 | 0 | 0 | 0 | 0 | 0.365385 | 1 | 0.086538 | false | 0 | 0.057692 | 0 | 0.144231 | 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 |
d5e33fbae2604e8fef3fc177cf71cf157376183e | 66 | py | Python | media_preprocessor/__init__.py | harshh-mahajan/media_preprocessor | 5943ab6d6cde27200850398e40717d7b55646ec8 | [
"MIT"
] | null | null | null | media_preprocessor/__init__.py | harshh-mahajan/media_preprocessor | 5943ab6d6cde27200850398e40717d7b55646ec8 | [
"MIT"
] | null | null | null | media_preprocessor/__init__.py | harshh-mahajan/media_preprocessor | 5943ab6d6cde27200850398e40717d7b55646ec8 | [
"MIT"
] | 1 | 2020-11-22T16:41:09.000Z | 2020-11-22T16:41:09.000Z | from media_preprocessor.media_preprocessor import preprocess_tool
| 33 | 65 | 0.924242 | 8 | 66 | 7.25 | 0.75 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 66 | 1 | 66 | 66 | 0.935484 | 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 |
d5ec10cabbd7f27a5cb76bd1dca368f944c99be3 | 1,349 | py | Python | test/processors/test_google.py | mgor/pydoc-markdown | b15127e3c643976e71a10c7fa4d03297ee616542 | [
"MIT"
] | null | null | null | test/processors/test_google.py | mgor/pydoc-markdown | b15127e3c643976e71a10c7fa4d03297ee616542 | [
"MIT"
] | null | null | null | test/processors/test_google.py | mgor/pydoc-markdown | b15127e3c643976e71a10c7fa4d03297ee616542 | [
"MIT"
] | null | null | null | from pydoc_markdown.contrib.processors.google import GoogleProcessor
from . import assert_processor_result
def test_google_processor(processor=None):
assert_processor_result(
processor or GoogleProcessor(),
"""
Args:
s (str): A string.
b (int): An int.
Returns:
any: Something funn... | 17.075949 | 68 | 0.556709 | 137 | 1,349 | 5.313869 | 0.350365 | 0.082418 | 0.115385 | 0.06044 | 0.825549 | 0.825549 | 0.825549 | 0.825549 | 0.825549 | 0.825549 | 0 | 0 | 0.30467 | 1,349 | 78 | 69 | 17.294872 | 0.776119 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.166667 | 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 |
9112c14093d4c5fcc9f2c37dc7258c632d54886d | 32 | py | Python | codes.py | Lauracruces/Python | a485546f7c7f1206a9cdf2932c92b91c2bc73ee1 | [
"MIT"
] | null | null | null | codes.py | Lauracruces/Python | a485546f7c7f1206a9cdf2932c92b91c2bc73ee1 | [
"MIT"
] | null | null | null | codes.py | Lauracruces/Python | a485546f7c7f1206a9cdf2932c92b91c2bc73ee1 | [
"MIT"
] | null | null | null | #pandas
import pandas as pandas
| 10.666667 | 23 | 0.8125 | 5 | 32 | 5.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 2 | 24 | 16 | 0.962963 | 0.1875 | 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 |
911637d58a61f6403ddb0dc18bda8db8c37b17b1 | 22,260 | py | Python | test/test_onnxrt_operators.py | intelkevinputnam/lpot-docs | 1ff32b4d89074a6bd133ba531f7c0cea3b73152f | [
"Apache-2.0"
] | null | null | null | test/test_onnxrt_operators.py | intelkevinputnam/lpot-docs | 1ff32b4d89074a6bd133ba531f7c0cea3b73152f | [
"Apache-2.0"
] | null | null | null | test/test_onnxrt_operators.py | intelkevinputnam/lpot-docs | 1ff32b4d89074a6bd133ba531f7c0cea3b73152f | [
"Apache-2.0"
] | null | null | null | import os
import shutil
import unittest
import copy
import onnx
import numpy as np
from onnx import helper, TensorProto, numpy_helper, onnx_pb
from onnxruntime.quantization.quant_utils import QuantizationMode
from lpot.adaptor.ox_utils.onnx_quantizer import ONNXQuantizer
import onnxruntime as ort
class TestAdaptorONN... | 56.641221 | 129 | 0.509748 | 2,582 | 22,260 | 4.168861 | 0.063904 | 0.099405 | 0.074322 | 0.054348 | 0.847269 | 0.824508 | 0.802304 | 0.786882 | 0.773876 | 0.758083 | 0 | 0.040594 | 0.337107 | 22,260 | 392 | 130 | 56.785714 | 0.688872 | 0 | 0 | 0.596685 | 0 | 0 | 0.075562 | 0.005031 | 0 | 0 | 0 | 0 | 0.005525 | 1 | 0.044199 | false | 0 | 0.035912 | 0 | 0.09116 | 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 |
9122a65a266db6e9bcaf3d0fd8235ca1aa3cfe5c | 48 | py | Python | travelling_salesperson/__init__.py | btallin/travelling_salesperson_solver | f19d0e1cf335a647bf694057a43b4a2c4b24e226 | [
"MIT"
] | 1 | 2020-04-26T22:33:21.000Z | 2020-04-26T22:33:21.000Z | travelling_salesperson/__init__.py | btallin/alley_cat_solver | f19d0e1cf335a647bf694057a43b4a2c4b24e226 | [
"MIT"
] | null | null | null | travelling_salesperson/__init__.py | btallin/alley_cat_solver | f19d0e1cf335a647bf694057a43b4a2c4b24e226 | [
"MIT"
] | null | null | null | from travelling_salesperson.solver import solve
| 24 | 47 | 0.895833 | 6 | 48 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 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 |
914af87388c83d5306b8d84a8f55f176600f1a5d | 1,216 | py | Python | nfdapi/nfdcore/migrations/0018_auto_20180212_1635.py | kappu72/clevmetro-nfd | 584c638190eaa077d010a24fe7f209b1cbb3725d | [
"BSD-2-Clause"
] | 3 | 2018-02-11T21:18:11.000Z | 2019-01-19T06:58:58.000Z | nfdapi/nfdcore/migrations/0018_auto_20180212_1635.py | kappu72/clevmetro-nfd | 584c638190eaa077d010a24fe7f209b1cbb3725d | [
"BSD-2-Clause"
] | 108 | 2018-02-02T15:42:39.000Z | 2019-01-21T13:22:55.000Z | nfdapi/nfdcore/migrations/0018_auto_20180212_1635.py | kappu72/clevmetro-nfd | 584c638190eaa077d010a24fe7f209b1cbb3725d | [
"BSD-2-Clause"
] | 5 | 2018-02-02T11:52:48.000Z | 2022-03-01T16:09:09.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-02-12 16:35
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('nfdcore', '0017_auto_20180212_1550'),
]
operations = [
migrations.RemoveField(
... | 25.333333 | 48 | 0.552632 | 92 | 1,216 | 7.130435 | 0.434783 | 0.256098 | 0.317073 | 0.365854 | 0.708841 | 0.708841 | 0 | 0 | 0 | 0 | 0 | 0.041147 | 0.340461 | 1,216 | 47 | 49 | 25.87234 | 0.776808 | 0.055921 | 0 | 0.8 | 1 | 0 | 0.199127 | 0.056769 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e676ecb24711167cebd10487d2762eab453b30a3 | 178 | py | Python | retratodefases/utils/__init__.py | Loracio/retrato-de-fases | a2d870a69b911af3b78288708cb569c957506940 | [
"MIT"
] | 3 | 2021-03-22T00:07:28.000Z | 2021-03-22T12:11:18.000Z | retratodefases/utils/__init__.py | Loracio/retrato-de-fases | a2d870a69b911af3b78288708cb569c957506940 | [
"MIT"
] | null | null | null | retratodefases/utils/__init__.py | Loracio/retrato-de-fases | a2d870a69b911af3b78288708cb569c957506940 | [
"MIT"
] | 2 | 2021-03-20T19:00:53.000Z | 2021-03-22T12:19:52.000Z | try:
__PHASE_UTILS_IMPORTED__
except NameError:
__PHASE_UTILS_IMPORTED__= False
if not __PHASE_UTILS_IMPORTED__:
from . import utils
__PHASE_UTILS_IMPORTED__ = True | 19.777778 | 35 | 0.803371 | 22 | 178 | 5.409091 | 0.545455 | 0.336134 | 0.605042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162921 | 178 | 9 | 36 | 19.777778 | 0.798658 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e6958cde1cd1e7b762c55d68c7be888f33503a8f | 2,270 | py | Python | test/tests/loop.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | 1 | 2020-11-26T23:37:19.000Z | 2020-11-26T23:37:19.000Z | test/tests/loop.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | test/tests/loop.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | # output: ok
count = 0
total = 0
last = 0
for i in (1, 2, 3):
count += 1
total += i
last = i
assert count == 3
assert total == 6
assert last == 3
count = 0
total = 0
last = 0
i = 1
while i <= 3:
count += 1
total += i
last = i
i += 1
assert count == 3
assert total == 6
assert last == 3
cou... | 13.352941 | 34 | 0.491189 | 359 | 2,270 | 3.083565 | 0.114206 | 0.039747 | 0.059621 | 0.056911 | 0.777778 | 0.738934 | 0.738934 | 0.722674 | 0.704607 | 0.64047 | 0 | 0.077424 | 0.391189 | 2,270 | 169 | 35 | 13.431953 | 0.723589 | 0.009692 | 0 | 0.911565 | 0 | 0 | 0.000891 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.013605 | false | 0.020408 | 0 | 0.006803 | 0.027211 | 0.006803 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.