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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07f7074cdeb71dc8f8e68c52c48c0098165e24e9 | 19,768 | py | Python | tests/wallet/did_wallet/test_did.py | Pipscoin-Network/pipscoin-blockchain | f400d26956881eb319786230506bb441f76f64d9 | [
"Apache-2.0"
] | 8 | 2021-08-29T15:13:45.000Z | 2022-03-30T17:23:04.000Z | tests/wallet/did_wallet/test_did.py | Pipscoin-Network/pipscoin-blockchain | f400d26956881eb319786230506bb441f76f64d9 | [
"Apache-2.0"
] | 28 | 2021-08-29T02:08:07.000Z | 2022-03-24T23:32:00.000Z | tests/wallet/did_wallet/test_did.py | Pipscoin-Network/pipscoin-blockchain | f400d26956881eb319786230506bb441f76f64d9 | [
"Apache-2.0"
] | 4 | 2021-08-29T12:59:05.000Z | 2022-03-15T08:38:29.000Z | import asyncio
import pytest
from pipscoin.simulator.simulator_protocol import FarmNewBlockProtocol
from pipscoin.types.peer_info import PeerInfo
from pipscoin.util.ints import uint16, uint32, uint64
from tests.setup_nodes import setup_simulators_and_wallets
from pipscoin.wallet.did_wallet.did_wallet import DIDWallet
f... | 43.54185 | 119 | 0.693697 | 2,661 | 19,768 | 4.738068 | 0.069899 | 0.083518 | 0.043306 | 0.057107 | 0.834312 | 0.793702 | 0.762849 | 0.742306 | 0.721209 | 0.695035 | 0 | 0.033768 | 0.231485 | 19,768 | 453 | 120 | 43.637969 | 0.796143 | 0.014518 | 0 | 0.509695 | 0 | 0 | 0.016689 | 0 | 0 | 0 | 0 | 0 | 0.135734 | 1 | 0.00277 | false | 0 | 0.033241 | 0 | 0.044321 | 0.00554 | 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 |
58035491bc00e4d9d39a232517f5918fdf8632a6 | 1,228 | py | Python | catkin_ws/build/srrg2_laser_slam_2d/catkin_generated/pkg.installspace.context.pc.py | laaners/progetto-labiagi_pick_e_delivery | 3453bfbc1dd7562c78ba06c0f79b069b0a952c0e | [
"MIT"
] | null | null | null | catkin_ws/build/srrg2_laser_slam_2d/catkin_generated/pkg.installspace.context.pc.py | laaners/progetto-labiagi_pick_e_delivery | 3453bfbc1dd7562c78ba06c0f79b069b0a952c0e | [
"MIT"
] | null | null | null | catkin_ws/build/srrg2_laser_slam_2d/catkin_generated/pkg.installspace.context.pc.py | laaners/progetto-labiagi_pick_e_delivery | 3453bfbc1dd7562c78ba06c0f79b069b0a952c0e | [
"MIT"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include;/usr/include/QGLViewer".split(';') if "${prefix}/include;/usr/include/QGLViewer" != "" else []
PROJECT_CATKIN_DEPENDS = "srrg2_slam_interfaces;srrg2_core;srrg2_core_ros;srrg2_solver;s... | 136.444444 | 692 | 0.824104 | 197 | 1,228 | 4.736041 | 0.345178 | 0.086817 | 0.106109 | 0.145766 | 0.600214 | 0.531618 | 0.531618 | 0.531618 | 0.531618 | 0.531618 | 0 | 0.050463 | 0.031759 | 1,228 | 8 | 693 | 153.5 | 0.73423 | 0.043974 | 0 | 0 | 1 | 0.285714 | 0.770478 | 0.746587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed1e4983fa5b2a9b26dc28d44f6324434665dd7d | 31 | py | Python | src/model/__init__.py | etiennelndr/predict_faces | c3eb9b4c8fa51f5b7facf8d10df679ae26043ebe | [
"MIT"
] | 1 | 2019-08-28T15:56:23.000Z | 2019-08-28T15:56:23.000Z | src/model/__init__.py | etiennelndr/predict_faces | c3eb9b4c8fa51f5b7facf8d10df679ae26043ebe | [
"MIT"
] | null | null | null | src/model/__init__.py | etiennelndr/predict_faces | c3eb9b4c8fa51f5b7facf8d10df679ae26043ebe | [
"MIT"
] | null | null | null | from .model import PredictFace
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed288ab715e02db1db605b9f66dc2110cb72739c | 49 | py | Python | String/validador_url.py | YanMCoutinho/TIL-Python | 8c1836c4a9d5aed8ab17e48a64bf0e5c0764470b | [
"MIT"
] | null | null | null | String/validador_url.py | YanMCoutinho/TIL-Python | 8c1836c4a9d5aed8ab17e48a64bf0e5c0764470b | [
"MIT"
] | null | null | null | String/validador_url.py | YanMCoutinho/TIL-Python | 8c1836c4a9d5aed8ab17e48a64bf0e5c0764470b | [
"MIT"
] | null | null | null | # https://www.bytebank.com.br/cambio
import re
| 9.8 | 36 | 0.714286 | 8 | 49 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 4 | 37 | 12.25 | 0.813953 | 0.693878 | 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 |
ed330816b435daf07486cba70399789809b47613 | 797 | py | Python | src/sage/combinat/crystals/catalog_elementary_crystals.py | defeo/sage | d8822036a9843bd4d75845024072515ede56bcb9 | [
"BSL-1.0"
] | 2 | 2018-06-30T01:37:35.000Z | 2018-06-30T01:37:39.000Z | src/sage/combinat/crystals/catalog_elementary_crystals.py | boothby/sage | 1b1e6f608d1ef8ee664bb19e991efbbc68cbd51f | [
"BSL-1.0"
] | null | null | null | src/sage/combinat/crystals/catalog_elementary_crystals.py | boothby/sage | 1b1e6f608d1ef8ee664bb19e991efbbc68cbd51f | [
"BSL-1.0"
] | null | null | null | """
Catalog Of Elementary Crystals
See :mod:`~sage.combinat.crystals.elementary_crystals`.
* :class:`Component <sage.combinat.crystals.elementary_crystals.ComponentCrystal>`
* :class:`Elementary <sage.combinat.crystals.elementary_crystals.ElementaryCrystal>`
or :class:`B <sage.combinat.crystals.elementary_crystals.... | 39.85 | 84 | 0.828105 | 92 | 797 | 7 | 0.25 | 0.335404 | 0.186335 | 0.279503 | 0.552795 | 0.31677 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079046 | 797 | 19 | 85 | 41.947368 | 0.877384 | 0.588457 | 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 |
ed522bb4ecc4b635a0f16672f35a8b9fa78e04fa | 109 | py | Python | python/learn/base/system/test_system.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | 2 | 2017-06-07T03:20:42.000Z | 2020-01-07T09:14:26.000Z | python/learn/base/system/test_system.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | null | null | null | python/learn/base/system/test_system.py | qrsforever/workspace | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
import os
print(os.system('ls'))
print(os.system('ps aux'))
| 9.083333 | 26 | 0.587156 | 17 | 109 | 3.764706 | 0.764706 | 0.21875 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.155963 | 109 | 11 | 27 | 9.909091 | 0.673913 | 0.357798 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
ed5438cfc699fda6aced3fcdcbcf6c31f9547588 | 28,832 | py | Python | cottonformation/res/robomaker.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/robomaker.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | cottonformation/res/robomaker.py | gitter-badger/cottonformation-project | 354f1dce7ea106e209af2d5d818b6033a27c193c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class SimulationApplicationSimulationSoftwareSuite(Property):
"""
AWS Objec... | 59.693582 | 227 | 0.771435 | 2,956 | 28,832 | 7.43065 | 0.030447 | 0.033144 | 0.045573 | 0.07043 | 0.932529 | 0.931618 | 0.896972 | 0.85964 | 0.85964 | 0.85964 | 0 | 0.000813 | 0.104155 | 28,832 | 482 | 228 | 59.817427 | 0.849588 | 0.36019 | 0 | 0.633065 | 0 | 0 | 0.095995 | 0.064894 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020161 | false | 0 | 0.016129 | 0 | 0.302419 | 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 |
ed8252345d7a301503e3306fb07b8e17208bc551 | 18,793 | py | Python | api_1.3/containerd/services/content/v1/content_pb2_grpc.py | siemens/pycontainerd | 9b1184ecbcc91144ad6903403818b5b8989a32f3 | [
"Apache-2.0"
] | 24 | 2019-12-16T12:38:51.000Z | 2022-02-16T18:44:20.000Z | api_1.5/containerd/services/content/v1/content_pb2_grpc.py | siemens/pycontainerd | 9b1184ecbcc91144ad6903403818b5b8989a32f3 | [
"Apache-2.0"
] | 9 | 2020-03-03T07:42:40.000Z | 2021-09-01T10:11:18.000Z | api_1.2/containerd/services/content/v1/content_pb2_grpc.py | siemens/pycontainerd | 9b1184ecbcc91144ad6903403818b5b8989a32f3 | [
"Apache-2.0"
] | 10 | 2019-12-16T11:20:23.000Z | 2022-01-24T01:53:13.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from containerd.services.content.v1 import content_pb2 as containerd_dot_services_dot_content_dot_v1_dot_content__pb2
from google.protobuf import empty_pb2 as go... | 49.585752 | 139 | 0.694141 | 1,972 | 18,793 | 6.241379 | 0.11714 | 0.079623 | 0.083604 | 0.095548 | 0.787537 | 0.779574 | 0.76235 | 0.737488 | 0.704176 | 0.704176 | 0 | 0.008929 | 0.243122 | 18,793 | 378 | 140 | 49.716931 | 0.85637 | 0.122652 | 0 | 0.530035 | 1 | 0 | 0.082382 | 0.053474 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070671 | false | 0 | 0.010601 | 0.031802 | 0.123675 | 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 |
71f009655474b79f01ef62d33ff01484d5ee2084 | 56,631 | py | Python | tests/testflows/window_functions/tests/range_frame.py | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | tests/testflows/window_functions/tests/range_frame.py | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | tests/testflows/window_functions/tests/range_frame.py | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | from testflows.core import *
from window_functions.requirements import *
from window_functions.tests.common import *
@TestScenario
@Requirements(
RQ_SRS_019_ClickHouse_WindowFunctions_RangeFrame_MissingFrameExtent_Error("1.0")
)
def missing_frame_extent(self):
"""Check that when range frame has missing frame ... | 40.135365 | 193 | 0.604792 | 6,583 | 56,631 | 5.032508 | 0.037977 | 0.042893 | 0.026201 | 0.030427 | 0.918742 | 0.898427 | 0.879169 | 0.837544 | 0.80914 | 0.754143 | 0 | 0.068742 | 0.294362 | 56,631 | 1,410 | 194 | 40.16383 | 0.760291 | 0.105561 | 0 | 0.54512 | 0 | 0.070902 | 0.541898 | 0.022124 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05709 | false | 0 | 0.002762 | 0 | 0.059853 | 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 |
71f3c1573efc6663dd400d4085379502ca56d41b | 313 | py | Python | spyder_line_profiler/spyder/__init__.py | spyder-ide/spyplugins.ui.line_profiler | cb4e4ef40b5b49d07f4974c1f8a7366d75fbe0a3 | [
"MIT"
] | null | null | null | spyder_line_profiler/spyder/__init__.py | spyder-ide/spyplugins.ui.line_profiler | cb4e4ef40b5b49d07f4974c1f8a7366d75fbe0a3 | [
"MIT"
] | 2 | 2015-09-03T03:05:30.000Z | 2015-09-10T12:34:30.000Z | spyder_line_profiler/spyder/__init__.py | spyder-ide/spyplugins.ui.line_profiler | cb4e4ef40b5b49d07f4974c1f8a7366d75fbe0a3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# ----------------------------------------------------------------------------
# Copyright © 2022, Spyder Line Profiler contributors
#
# Licensed under the terms of the MIT license
# ----------------------------------------------------------------------------
"""
Spyder Line Profiler
"""
| 31.3 | 78 | 0.341853 | 21 | 313 | 5.142857 | 0.809524 | 0.185185 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017794 | 0.102236 | 313 | 9 | 79 | 34.777778 | 0.362989 | 0.936102 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c1f90f28aaf622da15efd3d93566621578ff6f5 | 50 | py | Python | src/utils/__init__.py | biobdeveloper/biobot | 440ae73517dcd572e68b2de045cbbad8b12a2e3e | [
"MIT"
] | 1 | 2019-11-30T12:47:38.000Z | 2019-11-30T12:47:38.000Z | src/utils/__init__.py | biobdeveloper/biobot | 440ae73517dcd572e68b2de045cbbad8b12a2e3e | [
"MIT"
] | null | null | null | src/utils/__init__.py | biobdeveloper/biobot | 440ae73517dcd572e68b2de045cbbad8b12a2e3e | [
"MIT"
] | null | null | null | from src.utils.logger_create import logger_create
| 25 | 49 | 0.88 | 8 | 50 | 5.25 | 0.75 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 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 |
9c49f5c0e4bd4a2376167599d712f4c5afdb856a | 2,442 | py | Python | test/test_idseqs_to_mask.py | ulf1/torch-tweaks | 9e33df4b089af3ec17d41c79e6a0a351db17c518 | [
"Apache-2.0"
] | null | null | null | test/test_idseqs_to_mask.py | ulf1/torch-tweaks | 9e33df4b089af3ec17d41c79e6a0a351db17c518 | [
"Apache-2.0"
] | null | null | null | test/test_idseqs_to_mask.py | ulf1/torch-tweaks | 9e33df4b089af3ec17d41c79e6a0a351db17c518 | [
"Apache-2.0"
] | null | null | null | from torch_tweaks import idseqs_to_mask
import torch
def test1():
idseqs = [[1, 1, 0, 0, 2, 2, 3], [1, 3, 2, 1, 0, 0, 2]]
target = torch.sparse.FloatTensor(
indices=torch.LongTensor([
[0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1],
[0, 1, 2, 3, 4, 5, 0, 2, 3, 4, 5],
[1, 1, 0, 0... | 30.148148 | 66 | 0.505733 | 406 | 2,442 | 2.965517 | 0.115764 | 0.056478 | 0.037375 | 0.036545 | 0.914452 | 0.910299 | 0.910299 | 0.907807 | 0.904485 | 0.904485 | 0 | 0.126744 | 0.295659 | 2,442 | 80 | 67 | 30.525 | 0.573256 | 0 | 0 | 0.683333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.066667 | false | 0 | 0.033333 | 0 | 0.1 | 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 |
9c5860dd934cd9e92ace470625811fdc0b706dd6 | 172 | py | Python | wagtail_cloudfront_invalidate/__init__.py | ryanbagwell/wagtail-cloudfront-invalidate | 7c56cf4f51b3014e15a77fb7f5e70809b52cbb92 | [
"MIT"
] | 2 | 2019-05-31T10:42:33.000Z | 2021-09-24T09:46:41.000Z | wagtail_cloudfront_invalidate/__init__.py | ryanbagwell/wagtail-cloudfront-invalidate | 7c56cf4f51b3014e15a77fb7f5e70809b52cbb92 | [
"MIT"
] | null | null | null | wagtail_cloudfront_invalidate/__init__.py | ryanbagwell/wagtail-cloudfront-invalidate | 7c56cf4f51b3014e15a77fb7f5e70809b52cbb92 | [
"MIT"
] | null | null | null | import logging
default_app_config = 'wagtail_cloudfront_invalidate.apps.WagtailCloudfrontInvalidateConfig'
wci_logger = logging.getLogger('wagtail_cloudfront_invalidate') | 34.4 | 91 | 0.883721 | 17 | 172 | 8.529412 | 0.764706 | 0.234483 | 0.372414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052326 | 172 | 5 | 92 | 34.4 | 0.889571 | 0 | 0 | 0 | 0 | 0 | 0.560694 | 0.560694 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
92c82d262181c3d5371b1445572b528004121291 | 430 | py | Python | sickbeard/lib/hachoir_parser/file_system/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | sickbeard/lib/hachoir_parser/file_system/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | sickbeard/lib/hachoir_parser/file_system/__init__.py | Branlala/docker-sickbeardfr | 3ac85092dc4cc8a4171fb3c83e9682162245e13e | [
"MIT"
] | null | null | null | from lib.hachoir_parser.file_system.ext2 import EXT2_FS
from lib.hachoir_parser.file_system.fat import FAT12, FAT16, FAT32
from lib.hachoir_parser.file_system.mbr import MSDos_HardDrive
from lib.hachoir_parser.file_system.ntfs import NTFS
from lib.hachoir_parser.file_system.iso9660 import ISO9660
from lib.hachoir_parse... | 47.777778 | 67 | 0.874419 | 70 | 430 | 5.1 | 0.314286 | 0.137255 | 0.27451 | 0.392157 | 0.59944 | 0.59944 | 0.179272 | 0 | 0 | 0 | 0 | 0.0401 | 0.072093 | 430 | 8 | 68 | 53.75 | 0.854637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92f9243c498e8e23aa6089fa71547d4c6c62fa0d | 148 | py | Python | tests/fixtures/__init__.py | paranoid-software/elemental-cms | 7f09f9cd5498577d23fa70d1a51497b9de232598 | [
"MIT"
] | 3 | 2022-01-12T09:11:54.000Z | 2022-02-24T22:39:11.000Z | tests/fixtures/__init__.py | paranoid-software/elemental-cms | 7f09f9cd5498577d23fa70d1a51497b9de232598 | [
"MIT"
] | null | null | null | tests/fixtures/__init__.py | paranoid-software/elemental-cms | 7f09f9cd5498577d23fa70d1a51497b9de232598 | [
"MIT"
] | 1 | 2022-01-12T09:11:56.000Z | 2022-01-12T09:11:56.000Z | from .settingsfixture import default_settings_fixture, missing_gcs_buckets_settings_fixture
from .elementalfixture import default_elemental_fixture
| 49.333333 | 91 | 0.918919 | 17 | 148 | 7.529412 | 0.647059 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060811 | 148 | 2 | 92 | 74 | 0.920863 | 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 |
92fd382d04b29c39f43781639c8e900086a7f407 | 1,980 | py | Python | models.py | MoonHyuk/BOJ-statistics | 016a51e0b336fa4bf533ff13ba6401e5465226b6 | [
"MIT"
] | 62 | 2017-07-23T11:50:23.000Z | 2021-01-16T09:50:58.000Z | models.py | MoonHyuk/BOJ-statistics | 016a51e0b336fa4bf533ff13ba6401e5465226b6 | [
"MIT"
] | 12 | 2017-08-21T01:46:40.000Z | 2019-04-12T11:33:05.000Z | models.py | MoonHyuk/BOJ-statistics | 016a51e0b336fa4bf533ff13ba6401e5465226b6 | [
"MIT"
] | 17 | 2017-09-22T12:16:09.000Z | 2020-03-18T05:39:26.000Z | import json
from flask_sqlalchemy import SQLAlchemy
from sqlalchemy import JSON
db = SQLAlchemy()
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
boj_id = db.Column(db.String(20), unique=True, nullable=False)
intro = db.Column(db.String(100), default="")
tobcoder_id = db.Column(db... | 38.823529 | 83 | 0.711111 | 291 | 1,980 | 4.756014 | 0.154639 | 0.184971 | 0.223988 | 0.221098 | 0.770954 | 0.770954 | 0.740607 | 0.647399 | 0.647399 | 0.647399 | 0 | 0.013018 | 0.146465 | 1,980 | 50 | 84 | 39.6 | 0.805917 | 0 | 0 | 0.5 | 0 | 0 | 0.011111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.075 | 0 | 0.975 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
92fd418fa23db74c111465e83a5fcf4d099cd233 | 49,456 | py | Python | matdgl/data/crystalgraph.py | huzongxiang/CrystalNetwork | a434f76fa4347d42b3c905852ce265cd0bcefca3 | [
"BSD-2-Clause"
] | 6 | 2022-03-30T13:47:03.000Z | 2022-03-31T09:27:46.000Z | matdgl/data/crystalgraph.py | huzongxiang/CrystalNetwork | a434f76fa4347d42b3c905852ce265cd0bcefca3 | [
"BSD-2-Clause"
] | null | null | null | matdgl/data/crystalgraph.py | huzongxiang/CrystalNetwork | a434f76fa4347d42b3c905852ce265cd0bcefca3 | [
"BSD-2-Clause"
] | 2 | 2022-03-30T20:53:11.000Z | 2022-03-31T22:20:05.000Z | # -*- coding: utf-8 -*-
"""
Created on Wed Jun 9 11:39:28 2021
@author: huzongxiang
"""
import time
import json
import numpy as np
from tqdm import tqdm
from pathlib import Path
from operator import itemgetter
from multiprocessing import Pool
import tensorflow as tf
from tensorflow.keras.utils import Sequence
from t... | 36.852459 | 152 | 0.616487 | 5,739 | 49,456 | 5.045653 | 0.060464 | 0.047864 | 0.018786 | 0.012156 | 0.823531 | 0.800083 | 0.779017 | 0.769486 | 0.754394 | 0.733191 | 0 | 0.008353 | 0.297982 | 49,456 | 1,342 | 153 | 36.852459 | 0.825686 | 0.27481 | 0 | 0.642487 | 0 | 0 | 0.010591 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06563 | false | 0 | 0.029361 | 0.001727 | 0.164076 | 0.003454 | 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 |
13251e7bf4831e7b427ebc46a55e9dfec47a524e | 2,551 | py | Python | ipam/client/abstractipam.py | achamo/ipam-client | c0d6ffa535c8f3c0d56b9d78a1a5a73b890f5fbb | [
"Apache-2.0"
] | null | null | null | ipam/client/abstractipam.py | achamo/ipam-client | c0d6ffa535c8f3c0d56b9d78a1a5a73b890f5fbb | [
"Apache-2.0"
] | null | null | null | ipam/client/abstractipam.py | achamo/ipam-client | c0d6ffa535c8f3c0d56b9d78a1a5a73b890f5fbb | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from abc import ABCMeta, abstractmethod
class AbstractIPAM:
__metaclass__ = ABCMeta
@abstractmethod
def add_ip(self, ipaddr, dnsname, description, mac=None):
raise NotImplementedError()
@abstractmethod
def add_next_ip(self, subnet, dnsname, description, mac=None):
... | 25.51 | 69 | 0.71031 | 264 | 2,551 | 6.55303 | 0.162879 | 0.226012 | 0.483237 | 0.521387 | 0.851445 | 0.811561 | 0.657225 | 0.656069 | 0.549711 | 0.34104 | 0 | 0 | 0.218738 | 2,551 | 99 | 70 | 25.767677 | 0.868038 | 0.00784 | 0 | 0.638889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.319444 | false | 0 | 0.013889 | 0 | 0.361111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 6 |
1349f0428834bdfe216f43da8e1f3a02770e7144 | 102 | py | Python | tests/instrumentation/utils/stringify.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | null | null | null | tests/instrumentation/utils/stringify.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | null | null | null | tests/instrumentation/utils/stringify.py | rlnsanz/inspectional-rara-parakeet | 2c7919ed432616ec016a5afcd6718d16fa65e8af | [
"Apache-2.0"
] | 1 | 2021-06-25T16:06:59.000Z | 2021-06-25T16:06:59.000Z | from gadget.instrumentation.utils.stringify import vertical_prefix_string, print_ssa
import unittest
| 25.5 | 84 | 0.882353 | 13 | 102 | 6.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 102 | 3 | 85 | 34 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
1352f22f3165aa5fcb62f46c93bf6c67ca9dece9 | 6,394 | py | Python | tests/test_interactive.py | aureliojargas/git-revise | 6f9b02afb46d17fd52bcdd8599026bf167f74628 | [
"MIT"
] | null | null | null | tests/test_interactive.py | aureliojargas/git-revise | 6f9b02afb46d17fd52bcdd8599026bf167f74628 | [
"MIT"
] | null | null | null | tests/test_interactive.py | aureliojargas/git-revise | 6f9b02afb46d17fd52bcdd8599026bf167f74628 | [
"MIT"
] | null | null | null | # pylint: skip-file
import textwrap
def interactive_reorder_helper(repo, bash, main, fake_editor, cwd):
bash(
"""
echo "hello, world" > file1
git add file1
git commit -m "commit one"
echo "second file" > file2
git add file2
git commit -m "commit two"
... | 27.324786 | 79 | 0.562402 | 815 | 6,394 | 4.300614 | 0.099387 | 0.100428 | 0.068474 | 0.058203 | 0.867903 | 0.84194 | 0.81826 | 0.803424 | 0.786305 | 0.761769 | 0 | 0.013662 | 0.301689 | 6,394 | 233 | 80 | 27.44206 | 0.771333 | 0.007507 | 0 | 0.697183 | 0 | 0 | 0.257649 | 0.030224 | 0 | 0 | 0 | 0 | 0.288732 | 1 | 0.056338 | false | 0 | 0.007042 | 0 | 0.06338 | 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 |
136b8cc14b3b43380fa91a6628b75498a755a92a | 11,280 | py | Python | tests/test_contexts.py | LaudateCorpus1/Bella-5 | 7de51ff4914bdefbcf05e490b85517c5fb014595 | [
"MIT"
] | 22 | 2018-06-16T02:03:44.000Z | 2022-01-04T19:06:12.000Z | tests/test_contexts.py | LaudateCorpus1/Bella-5 | 7de51ff4914bdefbcf05e490b85517c5fb014595 | [
"MIT"
] | 3 | 2018-06-21T11:01:28.000Z | 2018-11-29T20:32:22.000Z | tests/test_contexts.py | LaudateCorpus1/Bella-5 | 7de51ff4914bdefbcf05e490b85517c5fb014595 | [
"MIT"
] | 2 | 2019-11-12T18:02:15.000Z | 2021-11-25T12:15:02.000Z | '''
Unit test suite for the :py:mod:`bella.contexts` module.
'''
from unittest import TestCase
#from tdparse.contexts import right_context
#from tdparse.contexts import left_context
#from tdparse.contexts import target_context
#from tdparse.contexts import full_context
from bella.contexts import context
class TestCo... | 55.02439 | 93 | 0.576241 | 1,351 | 11,280 | 4.647668 | 0.07846 | 0.078834 | 0.035674 | 0.036312 | 0.90731 | 0.880713 | 0.865902 | 0.822742 | 0.814142 | 0.79742 | 0 | 0.003529 | 0.321809 | 11,280 | 204 | 94 | 55.294118 | 0.817255 | 0.051596 | 0 | 0.604938 | 0 | 0 | 0.302284 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 1 | 0.030864 | false | 0 | 0.012346 | 0 | 0.061728 | 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 |
1379926fce10d2d6b333860aa2c898d41c68375e | 161 | py | Python | tests/__init__.py | stefan-wolfsheimer/Z80-ASM | 42863f5e329e27fb3b9375510695c027348dd793 | [
"MIT"
] | 2 | 2021-03-05T15:02:50.000Z | 2021-10-30T21:53:43.000Z | tests/__init__.py | stefan-wolfsheimer/Z80-ASM | 42863f5e329e27fb3b9375510695c027348dd793 | [
"MIT"
] | null | null | null | tests/__init__.py | stefan-wolfsheimer/Z80-ASM | 42863f5e329e27fb3b9375510695c027348dd793 | [
"MIT"
] | null | null | null | import sys
from os.path import abspath
from os.path import dirname
from os.path import join
sys.path.insert(0, abspath(join(dirname(abspath(__file__)), "..")))
| 23 | 67 | 0.757764 | 26 | 161 | 4.538462 | 0.423077 | 0.152542 | 0.254237 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.111801 | 161 | 6 | 68 | 26.833333 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
13830e6cdb4e74914c3eac7d7bc7f1781dda4fdd | 228 | py | Python | udapter/__init__.py | ahmetustun/udapter | e3cfff870ab3c50bec38de756acce944bf4aaf80 | [
"MIT"
] | 20 | 2020-10-15T07:20:35.000Z | 2022-01-23T12:47:05.000Z | udapter/__init__.py | ahmetustun/udapter | e3cfff870ab3c50bec38de756acce944bf4aaf80 | [
"MIT"
] | 2 | 2021-01-18T12:59:14.000Z | 2021-09-20T12:01:39.000Z | udapter/__init__.py | ahmetustun/udapter | e3cfff870ab3c50bec38de756acce944bf4aaf80 | [
"MIT"
] | 2 | 2020-11-09T08:03:58.000Z | 2022-02-23T11:37:08.000Z | from udapter.dataset_readers import *
from udapter.udapter_models import *
from udapter.udify_models import *
from udapter.modules import *
from udapter.optimizers import *
from udapter.predictors import *
from udapter import *
| 28.5 | 37 | 0.820175 | 30 | 228 | 6.133333 | 0.333333 | 0.418478 | 0.554348 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 228 | 7 | 38 | 32.571429 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1389fdaa08c8ea4d84adbb9b37cf89699a1edbe6 | 11,849 | py | Python | test_parallel_proc_runner.py | cquickstad/parallel_proc_runner | 41f1b516da38274125ae08d9e7955357969c22d1 | [
"Apache-2.0"
] | 1 | 2018-09-28T01:11:00.000Z | 2018-09-28T01:11:00.000Z | test_parallel_proc_runner.py | cquickstad/parallel_proc_runner | 41f1b516da38274125ae08d9e7955357969c22d1 | [
"Apache-2.0"
] | null | null | null | test_parallel_proc_runner.py | cquickstad/parallel_proc_runner | 41f1b516da38274125ae08d9e7955357969c22d1 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# https://github.com/cquickstad/parallel_proc_runner
# Copyright 2018 Chad Quickstad
#
# 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
#
# ... | 44.545113 | 105 | 0.70622 | 1,693 | 11,849 | 4.682221 | 0.108683 | 0.121105 | 0.083638 | 0.059922 | 0.784282 | 0.764854 | 0.759808 | 0.759304 | 0.748455 | 0.729658 | 0 | 0.010027 | 0.208794 | 11,849 | 265 | 106 | 44.713208 | 0.83552 | 0.179002 | 0 | 0.8 | 0 | 0 | 0.022542 | 0 | 0 | 0 | 0 | 0 | 0.282927 | 1 | 0.068293 | false | 0.004878 | 0.019512 | 0 | 0.092683 | 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 |
1399a9991869467e12a37dd6e39f88db331777dd | 191 | py | Python | transintentlation/__init__.py | jpmondet/transintentlation | b86b33fc6669d869836c559b6ca967ff4382c00e | [
"MIT"
] | 3 | 2018-09-18T19:50:34.000Z | 2021-02-23T12:20:31.000Z | transintentlation/__init__.py | jpmondet/transintentlation | b86b33fc6669d869836c559b6ca967ff4382c00e | [
"MIT"
] | 1 | 2018-09-20T14:52:17.000Z | 2018-09-22T07:51:17.000Z | transintentlation/__init__.py | jpmondet/transintentlation | b86b33fc6669d869836c559b6ca967ff4382c00e | [
"MIT"
] | 1 | 2018-11-06T11:39:49.000Z | 2018-11-06T11:39:49.000Z | """ Transintentlation init module """
from transintentlation.config_v2 import Configuring
from transintentlation.compare_v2 import Comparing
from transintentlation.translate import Translate
| 38.2 | 51 | 0.863874 | 20 | 191 | 8.15 | 0.55 | 0.386503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.089005 | 191 | 4 | 52 | 47.75 | 0.925287 | 0.151832 | 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 |
13c1a94cd06e78d563b580d9f1d16e8824c92066 | 51 | py | Python | example.py | JackDrinkwater/machine_learning_lessons | f3d3b5003fc5564536594aed88d9bc685af8a4b1 | [
"MIT"
] | null | null | null | example.py | JackDrinkwater/machine_learning_lessons | f3d3b5003fc5564536594aed88d9bc685af8a4b1 | [
"MIT"
] | null | null | null | example.py | JackDrinkwater/machine_learning_lessons | f3d3b5003fc5564536594aed88d9bc685af8a4b1 | [
"MIT"
] | 1 | 2020-02-06T21:35:46.000Z | 2020-02-06T21:35:46.000Z | import sys
print(sys.path)
| 1.888889 | 15 | 0.411765 | 5 | 51 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 51 | 26 | 16 | 1.961538 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
13c99f79ff594f006c8201da44bed29f50eaad9e | 30 | py | Python | src/widgets/py_button/__init__.py | t0a5ted/qutetodo | 6da95b9e1e3fabcceb9257b61283d73c997ce56b | [
"MIT"
] | 1 | 2021-11-11T13:12:53.000Z | 2021-11-11T13:12:53.000Z | src/widgets/py_button/__init__.py | t0a5ted/qutetodo | 6da95b9e1e3fabcceb9257b61283d73c997ce56b | [
"MIT"
] | null | null | null | src/widgets/py_button/__init__.py | t0a5ted/qutetodo | 6da95b9e1e3fabcceb9257b61283d73c997ce56b | [
"MIT"
] | null | null | null |
from .button import PyButton
| 10 | 28 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 2 | 29 | 15 | 0.96 | 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 |
13f79c690f159b4485d0bf346e0f62b10d710c00 | 21,337 | py | Python | tests/python/spec/test_stl_reset.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 24 | 2019-12-04T00:20:16.000Z | 2022-03-24T17:48:14.000Z | tests/python/spec/test_stl_reset.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 142 | 2020-01-16T15:36:21.000Z | 2022-03-28T20:40:45.000Z | tests/python/spec/test_stl_reset.py | sguysc/rtamt | a16db77b61028f774d81457ff22e666229a5432c | [
"BSD-3-Clause"
] | 17 | 2020-07-07T20:32:08.000Z | 2022-03-07T07:20:22.000Z | import unittest
import math
from rtamt.spec.stl.discrete_time.specification import STLDiscreteTimeSpecification
class TestSTLReset(unittest.TestCase):
def __init__(self, *args, **kwargs):
super(TestSTLReset, self).__init__(*args, **kwargs)
def test_constant(self):
spec = STLDiscreteTimeSpecif... | 33.131988 | 83 | 0.546281 | 2,699 | 21,337 | 4.26306 | 0.030382 | 0.062055 | 0.115244 | 0.083956 | 0.916131 | 0.898662 | 0.883713 | 0.876934 | 0.861898 | 0.857031 | 0 | 0.039816 | 0.265501 | 21,337 | 644 | 84 | 33.131988 | 0.694359 | 0.04757 | 0 | 0.647059 | 0 | 0 | 0.193612 | 0.001084 | 0 | 0 | 0 | 0 | 0.217195 | 1 | 0.074661 | false | 0 | 0.006787 | 0 | 0.08371 | 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 |
b92fe9ec47bdd85b6e401620486ad1888ddb44c7 | 143 | py | Python | todo.py | superiorkid/todo | a5fef03d16d500af29c49f640dc1fcc2589df7db | [
"MIT"
] | null | null | null | todo.py | superiorkid/todo | a5fef03d16d500af29c49f640dc1fcc2589df7db | [
"MIT"
] | null | null | null | todo.py | superiorkid/todo | a5fef03d16d500af29c49f640dc1fcc2589df7db | [
"MIT"
] | null | null | null | from app import app, db
from app.models import Todo
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'Todo': Todo} | 23.833333 | 35 | 0.741259 | 23 | 143 | 4.434783 | 0.521739 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 143 | 6 | 35 | 23.833333 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
dbe372899c2f1a19831dd73b698099015f3a25a8 | 314 | py | Python | testing/test_outcomes.py | blueyed/pytest | 2b52e24a9fe013a043c36e3df3d62b4b4f6348f1 | [
"MIT"
] | 3 | 2019-11-26T02:30:12.000Z | 2020-04-15T17:49:07.000Z | testing/test_outcomes.py | blueyed/pytest | 2b52e24a9fe013a043c36e3df3d62b4b4f6348f1 | [
"MIT"
] | 59 | 2019-10-22T04:34:22.000Z | 2021-11-27T18:23:11.000Z | testing/test_outcomes.py | blueyed/pytest | 2b52e24a9fe013a043c36e3df3d62b4b4f6348f1 | [
"MIT"
] | 1 | 2019-11-14T16:47:19.000Z | 2019-11-14T16:47:19.000Z | from _pytest.outcomes import OutcomeException
def test_OutcomeException():
assert repr(OutcomeException()) == "<OutcomeException msg=None>"
assert repr(OutcomeException(msg="msg")) == "<OutcomeException msg='msg'>"
assert repr(OutcomeException(msg="msg\nline2")) == "<OutcomeException msg='msg...'>"
| 39.25 | 88 | 0.726115 | 31 | 314 | 7.290323 | 0.387097 | 0.420354 | 0.389381 | 0.256637 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003584 | 0.111465 | 314 | 7 | 89 | 44.857143 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.315287 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e02c0253b6e43340447176b46a8068e36d03ba0e | 2,892 | py | Python | django_xsede_warehouse/resource_v3/migrations/0002_auto_20200828_2125.py | XSEDE/XSEDE_Information_Warehouse | 8b3aab42b7afd70ce69b9bf44551a0ded4491831 | [
"Apache-2.0"
] | 1 | 2019-10-29T22:50:29.000Z | 2019-10-29T22:50:29.000Z | django_xsede_warehouse/resource_v3/migrations/0002_auto_20200828_2125.py | XSEDE/XSEDE_Information_Warehouse | 8b3aab42b7afd70ce69b9bf44551a0ded4491831 | [
"Apache-2.0"
] | null | null | null | django_xsede_warehouse/resource_v3/migrations/0002_auto_20200828_2125.py | XSEDE/XSEDE_Information_Warehouse | 8b3aab42b7afd70ce69b9bf44551a0ded4491831 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2.9 on 2020-08-28 21:25
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('resource_v3', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='r... | 34.023529 | 89 | 0.578838 | 270 | 2,892 | 6.096296 | 0.225926 | 0.170109 | 0.212637 | 0.246659 | 0.814095 | 0.775213 | 0.749089 | 0.653706 | 0.498177 | 0.498177 | 0 | 0.035288 | 0.304288 | 2,892 | 84 | 90 | 34.428571 | 0.782803 | 0.01556 | 0 | 0.679487 | 1 | 0 | 0.114587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.064103 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0396ff1ee10e6bfde31aeec659ada57bcfa0a3b | 30 | py | Python | dbug12/__init__.py | mlndz28/d-bug12 | 7096488ae8b436d3350729166f901c168be13975 | [
"MIT"
] | 1 | 2020-11-19T16:22:25.000Z | 2020-11-19T16:22:25.000Z | dbug12/__init__.py | mlndz28/d-bug12 | 7096488ae8b436d3350729166f901c168be13975 | [
"MIT"
] | null | null | null | dbug12/__init__.py | mlndz28/d-bug12 | 7096488ae8b436d3350729166f901c168be13975 | [
"MIT"
] | 1 | 2020-07-12T04:44:30.000Z | 2020-07-12T04:44:30.000Z | from .debugger import Debugger | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0eb49c8cea0463bd68f04b1a47fa4b7a951af8ac | 28,293 | py | Python | Collections-a-installer/community-general-2.4.0/tests/unit/plugins/lookup/test_manifold.py | d-amien-b/simple-getwordpress | da90d515a0aa837b633d50db4d91d22b031c04a2 | [
"MIT"
] | 22 | 2021-07-16T08:11:22.000Z | 2022-03-31T07:15:34.000Z | Collections-a-installer/community-general-2.4.0/tests/unit/plugins/lookup/test_manifold.py | d-amien-b/simple-getwordpress | da90d515a0aa837b633d50db4d91d22b031c04a2 | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | Collections-a-installer/community-general-2.4.0/tests/unit/plugins/lookup/test_manifold.py | d-amien-b/simple-getwordpress | da90d515a0aa837b633d50db4d91d22b031c04a2 | [
"MIT"
] | 39 | 2021-07-05T02:31:42.000Z | 2022-03-31T02:46:03.000Z | # (c) 2018, Arigato Machine Inc.
# (c) 2018, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
from ansible_collections.community.general.tests.unit.compat import unittest
... | 52.687151 | 157 | 0.601774 | 3,092 | 28,293 | 5.275226 | 0.078266 | 0.029183 | 0.037521 | 0.07921 | 0.856784 | 0.840108 | 0.830483 | 0.813255 | 0.795966 | 0.771381 | 0 | 0.020255 | 0.274096 | 28,293 | 536 | 158 | 52.785448 | 0.773931 | 0.008341 | 0 | 0.501018 | 0 | 0.010183 | 0.314701 | 0.108941 | 0 | 0 | 0 | 0 | 0.136456 | 1 | 0.069246 | false | 0.002037 | 0.01833 | 0 | 0.09165 | 0.002037 | 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 |
0ebf2edbf233c040888c46f033d87f5143ee951a | 30 | py | Python | tase/db/graph_models/__init__.py | soran-ghaderi/Chromusic_search_engine | e811401fee39ff4cb184750fcbde55053c69453d | [
"Apache-2.0"
] | 4 | 2022-02-21T06:56:16.000Z | 2022-03-07T21:10:19.000Z | tase/db/graph_models/__init__.py | soran-ghaderi/Chromusic_search_engine | e811401fee39ff4cb184750fcbde55053c69453d | [
"Apache-2.0"
] | null | null | null | tase/db/graph_models/__init__.py | soran-ghaderi/Chromusic_search_engine | e811401fee39ff4cb184750fcbde55053c69453d | [
"Apache-2.0"
] | 1 | 2022-03-07T21:10:02.000Z | 2022-03-07T21:10:02.000Z | from . import edges, vertices
| 15 | 29 | 0.766667 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 30 | 1 | 30 | 30 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0edd12adc5e36fdcb9267fe04c00badb103cf5d8 | 93,117 | py | Python | boogio/test/test_aws_reporter.py | osgirl/boogio | b78fc02b93f2ed1320ba253b01f28f5e2f45afa0 | [
"Apache-2.0"
] | null | null | null | boogio/test/test_aws_reporter.py | osgirl/boogio | b78fc02b93f2ed1320ba253b01f28f5e2f45afa0 | [
"Apache-2.0"
] | null | null | null | boogio/test/test_aws_reporter.py | osgirl/boogio | b78fc02b93f2ed1320ba253b01f28f5e2f45afa0 | [
"Apache-2.0"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (C) 2017 Verizon. 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
#
# ... | 32.535639 | 78 | 0.547193 | 8,723 | 93,117 | 5.546486 | 0.043334 | 0.06151 | 0.045471 | 0.031003 | 0.911124 | 0.884006 | 0.857592 | 0.822227 | 0.789984 | 0.772291 | 0 | 0.004116 | 0.339863 | 93,117 | 2,861 | 79 | 32.547012 | 0.782967 | 0.211272 | 0 | 0.676334 | 0 | 0 | 0.028387 | 0.002188 | 0 | 0 | 0 | 0.00035 | 0.153132 | 1 | 0.033063 | false | 0.006381 | 0.00522 | 0 | 0.044664 | 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 |
0efe84786df6c395287ecac758754b66041cd043 | 117 | py | Python | cca_zoo/utils/__init__.py | sunshiding/cca_zoo-1 | 9164f46afa97628f8c5b895e0483e0b2f7b40719 | [
"MIT"
] | 1 | 2021-07-24T12:25:02.000Z | 2021-07-24T12:25:02.000Z | cca_zoo/utils/__init__.py | sunshiding/cca_zoo-1 | 9164f46afa97628f8c5b895e0483e0b2f7b40719 | [
"MIT"
] | null | null | null | cca_zoo/utils/__init__.py | sunshiding/cca_zoo-1 | 9164f46afa97628f8c5b895e0483e0b2f7b40719 | [
"MIT"
] | null | null | null | from .check_values import *
from .plot_utils import cv_plot, plot_results, plot_latent_label, plot_latent_train_test
| 39 | 88 | 0.854701 | 19 | 117 | 4.789474 | 0.631579 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 117 | 2 | 89 | 58.5 | 0.858491 | 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 |
1601094364dc66a6fe9eb09ba238cd6261a518d8 | 31,943 | py | Python | src/tools/graph_draw_all.py | funalab/NVAN | b609dd94a84ffc78c029bb1c3445861967dd7586 | [
"MIT"
] | 1 | 2021-08-24T13:24:39.000Z | 2021-08-24T13:24:39.000Z | src/tools/graph_draw_all.py | funalab/NVAN | b609dd94a84ffc78c029bb1c3445861967dd7586 | [
"MIT"
] | null | null | null | src/tools/graph_draw_all.py | funalab/NVAN | b609dd94a84ffc78c029bb1c3445861967dd7586 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import csv
import sys
import time
import random
import copy
import math
import os
sys.path.append(os.getcwd())
import json
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
from mpl_toolkits.mplot3d import Axes3D
from glob import glob
import skimage.io as ski... | 55.746946 | 165 | 0.638325 | 4,950 | 31,943 | 3.950505 | 0.046263 | 0.053388 | 0.048683 | 0.051394 | 0.888878 | 0.875224 | 0.847609 | 0.842905 | 0.824495 | 0.818972 | 0 | 0.026812 | 0.195536 | 31,943 | 572 | 166 | 55.844406 | 0.734171 | 0.038788 | 0 | 0.584388 | 0 | 0 | 0.072062 | 0.010341 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014768 | false | 0 | 0.040084 | 0 | 0.056962 | 0.004219 | 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 |
16164a5ff76443a3d50e107954d959689cbdcb77 | 44 | py | Python | src/api_utilities/abstract_classes/__init__.py | tomfran/lastfm-project | a4acd177d69235e49653f103a897a18c37c3d230 | [
"MIT"
] | 1 | 2021-07-21T16:51:12.000Z | 2021-07-21T16:51:12.000Z | src/api_utilities/abstract_classes/__init__.py | tomfran/lastfm-project | a4acd177d69235e49653f103a897a18c37c3d230 | [
"MIT"
] | null | null | null | src/api_utilities/abstract_classes/__init__.py | tomfran/lastfm-project | a4acd177d69235e49653f103a897a18c37c3d230 | [
"MIT"
] | null | null | null | from .abstract_source import AbstractSource
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
162e9d26ed229b1f44ffdd921cbacddd8372ecd6 | 80 | py | Python | packages/watchmen-rest-dqc/src/watchmen_rest_dqc/util/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-rest-dqc/src/watchmen_rest_dqc/util/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-rest-dqc/src/watchmen_rest_dqc/util/__init__.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | from .trans import trans, trans_readonly, trans_with_fail_over, trans_with_tail
| 40 | 79 | 0.8625 | 13 | 80 | 4.846154 | 0.615385 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 1 | 80 | 80 | 0.863014 | 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 |
165dc49dd574d456f3b954e96b28d1c9468cf6cd | 186 | py | Python | venv3/lib/python3.6/site-packages/netmiko/avaya/__init__.py | brightmaraba/devnet-work | 7582055083b634601d0add20d112b2a92f9a77b2 | [
"MIT"
] | null | null | null | venv3/lib/python3.6/site-packages/netmiko/avaya/__init__.py | brightmaraba/devnet-work | 7582055083b634601d0add20d112b2a92f9a77b2 | [
"MIT"
] | null | null | null | venv3/lib/python3.6/site-packages/netmiko/avaya/__init__.py | brightmaraba/devnet-work | 7582055083b634601d0add20d112b2a92f9a77b2 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from netmiko.avaya.avaya_vsp_ssh import AvayaVspSSH
from netmiko.avaya.avaya_ers_ssh import AvayaErsSSH
__all__ = ["AvayaVspSSH", "AvayaErsSSH"]
| 31 | 51 | 0.844086 | 24 | 186 | 6 | 0.541667 | 0.152778 | 0.222222 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091398 | 186 | 5 | 52 | 37.2 | 0.852071 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
167a480eab5058c0353fe2c1ff770de7a47e90bd | 40 | py | Python | bot264/__init__.py | mwenclubhouse/python-queueup-bot | c6301d69814d2c9597ff6fda75d2244d5119b6af | [
"MIT"
] | null | null | null | bot264/__init__.py | mwenclubhouse/python-queueup-bot | c6301d69814d2c9597ff6fda75d2244d5119b6af | [
"MIT"
] | 1 | 2021-04-17T00:23:32.000Z | 2021-04-17T00:23:32.000Z | bot264/__init__.py | mwenclubhouse/python-queueup-bot | c6301d69814d2c9597ff6fda75d2244d5119b6af | [
"MIT"
] | 2 | 2021-04-04T15:39:38.000Z | 2021-04-16T03:20:36.000Z | from .discord_config import run_discord
| 20 | 39 | 0.875 | 6 | 40 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
168f976a9fca0423ee656555fc765e25ff1ca87e | 121 | py | Python | scripts/url_utils.py | altova/SECDB | 9ed89664f7eeebac0a747a8ebb09e7a2dae935c3 | [
"Apache-2.0"
] | 94 | 2015-10-31T18:33:38.000Z | 2022-03-17T06:16:33.000Z | scripts/url_utils.py | altova/SECDB | 9ed89664f7eeebac0a747a8ebb09e7a2dae935c3 | [
"Apache-2.0"
] | 14 | 2016-01-14T06:57:19.000Z | 2021-01-20T17:33:10.000Z | scripts/url_utils.py | altova/SECDB | 9ed89664f7eeebac0a747a8ebb09e7a2dae935c3 | [
"Apache-2.0"
] | 39 | 2015-12-17T13:01:10.000Z | 2021-09-17T16:24:28.000Z | import urllib.request
def mk_req( url ):
return urllib.request.Request( url, headers={"User-Agent": "Altova/1.0"} )
| 24.2 | 78 | 0.694215 | 18 | 121 | 4.611111 | 0.777778 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.140496 | 121 | 4 | 79 | 30.25 | 0.778846 | 0 | 0 | 0 | 0 | 0 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
16cf54677ad989aab90b3e4a1395976a853777da | 31 | py | Python | backend/saas_framework/users/models.py | snarayanank2/django-workspaces | 46ef92a4caa95eee617a24ead284e533422afca0 | [
"MIT"
] | 1 | 2021-01-27T17:51:58.000Z | 2021-01-27T17:51:58.000Z | backend/saas_framework/users/models.py | snarayanank2/django-workspaces | 46ef92a4caa95eee617a24ead284e533422afca0 | [
"MIT"
] | 6 | 2021-03-30T13:51:35.000Z | 2022-03-02T09:24:07.000Z | backend/saas_framework/users/models.py | snarayanank2/django-workspaces | 46ef92a4caa95eee617a24ead284e533422afca0 | [
"MIT"
] | 1 | 2022-03-18T08:43:17.000Z | 2022-03-18T08:43:17.000Z | # TODO - use custom user model
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.916667 | 0.903226 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16df6e99db48b743b08fed1c35f661347f82ff9c | 187 | py | Python | slot_racer/game/state/__init__.py | mgreenw/slot-racer | ccb456cf489616e14d95c34c7398fb3e04307b02 | [
"MIT"
] | 1 | 2018-12-08T03:18:00.000Z | 2018-12-08T03:18:00.000Z | slot_racer/game/state/__init__.py | mgreenw/slot-racer | ccb456cf489616e14d95c34c7398fb3e04307b02 | [
"MIT"
] | null | null | null | slot_racer/game/state/__init__.py | mgreenw/slot-racer | ccb456cf489616e14d95c34c7398fb3e04307b02 | [
"MIT"
] | null | null | null | """Module containing definitions of data structures we will use to model our
game state"""
# state module should provide access to all the definitions in state.py
from .state import *
| 23.375 | 76 | 0.770053 | 29 | 187 | 4.965517 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 187 | 7 | 77 | 26.714286 | 0.935065 | 0.828877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc5c6d8afd4f3a9fd1c83047a6487ae4fd97a7de | 16,768 | py | Python | datadotworld/client/_swagger/apis/sparql_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 99 | 2017-01-23T16:24:18.000Z | 2022-03-30T22:51:58.000Z | datadotworld/client/_swagger/apis/sparql_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 77 | 2017-01-26T04:33:06.000Z | 2022-03-11T09:39:50.000Z | datadotworld/client/_swagger/apis/sparql_api.py | DanialBetres/data.world-py | 0e3acf2be9a07c5ab62ecac9289eb662088d54c7 | [
"Apache-2.0"
] | 29 | 2017-01-25T16:55:23.000Z | 2022-01-31T01:44:15.000Z | # coding: utf-8
"""
data.world API
data.world is designed for data and the people who work with data. From professional projects to open data, data.world helps you host and share your data, collaborate with your team, and capture context and conclusions as you work. Using this API users are able to easily ... | 58.629371 | 557 | 0.625358 | 2,064 | 16,768 | 4.979167 | 0.117733 | 0.024521 | 0.009341 | 0.03503 | 0.897733 | 0.884499 | 0.884499 | 0.870293 | 0.868931 | 0.868931 | 0 | 0.004469 | 0.266042 | 16,768 | 285 | 558 | 58.835088 | 0.830584 | 0.473998 | 0 | 0.697183 | 0 | 0.028169 | 0.251441 | 0.078621 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035211 | false | 0 | 0.049296 | 0 | 0.133803 | 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 |
bc6b631caee5e6d6c578e98657985b884925b503 | 47 | py | Python | envisage/developer/ui/api.py | robmcmullen/envisage | 57338fcb0ea69c75bc3c86de18a5967d8e78c6c1 | [
"BSD-3-Clause"
] | null | null | null | envisage/developer/ui/api.py | robmcmullen/envisage | 57338fcb0ea69c75bc3c86de18a5967d8e78c6c1 | [
"BSD-3-Clause"
] | 1 | 2017-05-22T21:15:22.000Z | 2017-05-22T21:15:22.000Z | envisage/developer/ui/api.py | robmcmullen/envisage | 57338fcb0ea69c75bc3c86de18a5967d8e78c6c1 | [
"BSD-3-Clause"
] | 1 | 2019-10-01T07:03:58.000Z | 2019-10-01T07:03:58.000Z | from .view.plugin_browser import browse_plugin
| 23.5 | 46 | 0.87234 | 7 | 47 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.906977 | 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 |
bc6f4d230111b15c392ac6ddc8c328bcc59f24ee | 36 | py | Python | Amplo/API/__init__.py | Amplo-GmbH/AutoML | eb6cc83b6e4a3ddc7c3553e9c41d236e8b48c606 | [
"MIT"
] | 5 | 2022-01-07T13:34:37.000Z | 2022-03-17T06:40:28.000Z | Amplo/API/__init__.py | Amplo-GmbH/AutoML | eb6cc83b6e4a3ddc7c3553e9c41d236e8b48c606 | [
"MIT"
] | 5 | 2022-03-22T13:42:22.000Z | 2022-03-31T16:20:44.000Z | Amplo/API/__init__.py | Amplo-GmbH/AutoML | eb6cc83b6e4a3ddc7c3553e9c41d236e8b48c606 | [
"MIT"
] | 1 | 2021-12-17T22:41:11.000Z | 2021-12-17T22:41:11.000Z | from Amplo.API.interface import API
| 18 | 35 | 0.833333 | 6 | 36 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc84cbc828d0ffb0f27b3dc0c01f456b5213cbc2 | 31 | py | Python | recfreq/__init__.py | lcarsos/recency-frequency | 075b2d63c915adc1060a5bf5de923c6e6e486397 | [
"MIT"
] | null | null | null | recfreq/__init__.py | lcarsos/recency-frequency | 075b2d63c915adc1060a5bf5de923c6e6e486397 | [
"MIT"
] | null | null | null | recfreq/__init__.py | lcarsos/recency-frequency | 075b2d63c915adc1060a5bf5de923c6e6e486397 | [
"MIT"
] | null | null | null | from .main import main as init
| 15.5 | 30 | 0.774194 | 6 | 31 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 1 | 31 | 31 | 0.96 | 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 |
bcca7b5e19e96a2dbcaad105a96b9d553f0374eb | 53 | py | Python | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/main.py | jakubbujny/pants | e7fe73eaa3bc196d6d976e9f362bf60b69da17b3 | [
"Apache-2.0"
] | null | null | null | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/main.py | jakubbujny/pants | e7fe73eaa3bc196d6d976e9f362bf60b69da17b3 | [
"Apache-2.0"
] | null | null | null | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/main.py | jakubbujny/pants | e7fe73eaa3bc196d6d976e9f362bf60b69da17b3 | [
"Apache-2.0"
] | null | null | null | import jupyter
print(jupyter)
print('Successful.')
| 8.833333 | 20 | 0.754717 | 6 | 53 | 6.666667 | 0.666667 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 5 | 21 | 10.6 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 6 |
bce5fb8a72638d88651d4fd92f868470ea6f90a2 | 150 | py | Python | CodeWars/Python/6 kyu/Find The Parity Outlier/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/6 kyu/Find The Parity Outlier/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/6 kyu/Find The Parity Outlier/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | def find_outlier(integers):
ls = [x % 2 == 0 for x in integers]
return integers[ls.index(True)] if sum(ls) == 1 else integers[ls.index(False)] | 50 | 82 | 0.66 | 26 | 150 | 3.769231 | 0.692308 | 0.306122 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.186667 | 150 | 3 | 82 | 50 | 0.778689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d5bdb3df46f8a4cd72ede38ae222834855c905c9 | 32 | py | Python | gqltst/__init__.py | pyatka/gqltst | 4c824df7e62b2759c6a06e5bc0c3752019907f47 | [
"MIT"
] | null | null | null | gqltst/__init__.py | pyatka/gqltst | 4c824df7e62b2759c6a06e5bc0c3752019907f47 | [
"MIT"
] | 3 | 2018-10-31T07:59:55.000Z | 2018-11-01T14:34:48.000Z | gqltst/__init__.py | pyatka/gqltst | 4c824df7e62b2759c6a06e5bc0c3752019907f47 | [
"MIT"
] | null | null | null | from gqltst.schema import Schema | 32 | 32 | 0.875 | 5 | 32 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.965517 | 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 |
d5cce972b05a20fa94525fabbbf0886d67a12ddb | 15,611 | py | Python | auto_process_ngs/test/qc/test_cellranger.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 5 | 2017-01-31T21:37:09.000Z | 2022-03-17T19:26:29.000Z | auto_process_ngs/test/qc/test_cellranger.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 294 | 2015-08-14T09:00:30.000Z | 2022-03-18T10:17:05.000Z | auto_process_ngs/test/qc/test_cellranger.py | fls-bioinformatics-core/auto_process_ngs | 1f07a08e14f118e6a61d3f37130515efc6049dd7 | [
"AFL-3.0"
] | 7 | 2017-11-23T07:52:21.000Z | 2020-07-15T10:12:05.000Z | #######################################################################
# Unit tests for qc/cellranger.py
#######################################################################
import unittest
import os
import shutil
import tempfile
from auto_process_ngs.mock import MockAnalysisProject
from auto_process_ngs.mock impo... | 53.462329 | 270 | 0.615335 | 1,688 | 15,611 | 5.495853 | 0.10545 | 0.14067 | 0.185944 | 0.184327 | 0.868815 | 0.844131 | 0.740218 | 0.682117 | 0.649671 | 0.644605 | 0 | 0.023002 | 0.267568 | 15,611 | 291 | 271 | 53.646048 | 0.788351 | 0.055922 | 0 | 0.590517 | 0 | 0.025862 | 0.228528 | 0.080894 | 0 | 0 | 0 | 0 | 0.318966 | 1 | 0.047414 | false | 0 | 0.047414 | 0 | 0.103448 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d5d6cba94c657c80625861ec5a2125916c36c1d2 | 14,200 | py | Python | internal/buildscripts/packaging/tests/installer_test.py | slernersplunk/splunk-otel-collector | f922c6b63cf27998a7334397507777a001271559 | [
"Apache-2.0"
] | null | null | null | internal/buildscripts/packaging/tests/installer_test.py | slernersplunk/splunk-otel-collector | f922c6b63cf27998a7334397507777a001271559 | [
"Apache-2.0"
] | 335 | 2021-04-22T07:50:56.000Z | 2022-03-31T00:13:23.000Z | internal/buildscripts/packaging/tests/installer_test.py | slernersplunk/splunk-otel-collector | f922c6b63cf27998a7334397507777a001271559 | [
"Apache-2.0"
] | 1 | 2021-08-19T11:20:54.000Z | 2021-08-19T11:20:54.000Z | # Copyright Splunk Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, softw... | 48.29932 | 122 | 0.671479 | 1,856 | 14,200 | 4.904095 | 0.109914 | 0.059328 | 0.07416 | 0.116018 | 0.848715 | 0.83597 | 0.833553 | 0.812679 | 0.807405 | 0.80312 | 0 | 0.006255 | 0.211901 | 14,200 | 293 | 123 | 48.464164 | 0.807077 | 0.097817 | 0 | 0.699507 | 0 | 0.024631 | 0.34116 | 0.133913 | 0 | 0 | 0 | 0 | 0.078818 | 1 | 0.019704 | false | 0 | 0.019704 | 0 | 0.039409 | 0.019704 | 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 |
910889646a629ac08a62bc4b2878960574cb138d | 110 | py | Python | py_date.py | cgyqu/python_learning | 55c8df4a963c40ace050d3454b72538190cb0517 | [
"Apache-2.0"
] | null | null | null | py_date.py | cgyqu/python_learning | 55c8df4a963c40ace050d3454b72538190cb0517 | [
"Apache-2.0"
] | null | null | null | py_date.py | cgyqu/python_learning | 55c8df4a963c40ace050d3454b72538190cb0517 | [
"Apache-2.0"
] | null | null | null | import datetime
print(datetime.date.today())
print(datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')) | 22 | 63 | 0.681818 | 18 | 110 | 4.166667 | 0.722222 | 0.346667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 110 | 5 | 63 | 22 | 0.721154 | 0 | 0 | 0 | 0 | 0 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 6 |
9133515d96738d8476ab7f2d0ae8bdacbfb3e915 | 9,979 | py | Python | tests/integration_tests/test_examples.py | maliesa96/garage | 6ba6cf3a4fbe231418d34f432a610f67a7187e6b | [
"MIT"
] | null | null | null | tests/integration_tests/test_examples.py | maliesa96/garage | 6ba6cf3a4fbe231418d34f432a610f67a7187e6b | [
"MIT"
] | null | null | null | tests/integration_tests/test_examples.py | maliesa96/garage | 6ba6cf3a4fbe231418d34f432a610f67a7187e6b | [
"MIT"
] | null | null | null | """This is an integration test to make sure scripts from examples/
work when executing `./examples/**/*.py`.
"""
import os
import pathlib
import subprocess
import pytest
EXAMPLES_ROOT_DIR = pathlib.Path('examples/')
NON_ALGO_EXAMPLES = [
EXAMPLES_ROOT_DIR / 'torch/resume_training.py',
EXAMPLES_ROOT_DIR / 'tf/... | 32.504886 | 79 | 0.641046 | 1,365 | 9,979 | 4.348718 | 0.123077 | 0.087601 | 0.103605 | 0.054414 | 0.808288 | 0.788747 | 0.768868 | 0.739387 | 0.701314 | 0.645216 | 0 | 0.027331 | 0.197014 | 9,979 | 306 | 80 | 32.611111 | 0.713466 | 0.106524 | 0 | 0.625571 | 0 | 0 | 0.295509 | 0.138384 | 0 | 0 | 0 | 0 | 0.086758 | 1 | 0.091324 | false | 0 | 0.018265 | 0 | 0.114155 | 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 |
e674b3cd8dd243b06a1ac611cf031122aba0c903 | 15,096 | py | Python | test/secure_config_params_test.py | kkellerlbl/catalog | 2c14ad4d940ee432e8a9de6b269a3d1aeabe8e86 | [
"MIT"
] | null | null | null | test/secure_config_params_test.py | kkellerlbl/catalog | 2c14ad4d940ee432e8a9de6b269a3d1aeabe8e86 | [
"MIT"
] | null | null | null | test/secure_config_params_test.py | kkellerlbl/catalog | 2c14ad4d940ee432e8a9de6b269a3d1aeabe8e86 | [
"MIT"
] | null | null | null | import unittest
from catalog_test_util import CatalogTestUtil
from biokbase.catalog.Impl import Catalog
class HiddenConfigParamsTest(unittest.TestCase):
# assumes no client groups exist
def test_permissions(self):
anonCtx = self.cUtil.anonymous_ctx()
userCtx = self.cUtil.user_ctx()
... | 55.094891 | 102 | 0.506492 | 1,372 | 15,096 | 5.297376 | 0.084548 | 0.088057 | 0.108971 | 0.118052 | 0.880572 | 0.870941 | 0.835718 | 0.824298 | 0.81508 | 0.796918 | 0 | 0.014491 | 0.387454 | 15,096 | 273 | 103 | 55.296703 | 0.771493 | 0.009936 | 0 | 0.592417 | 0 | 0 | 0.163832 | 0.00154 | 0 | 0 | 0 | 0.003663 | 0.232227 | 1 | 0.047393 | false | 0 | 0.014218 | 0 | 0.066351 | 0.009479 | 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 |
e6b779c436160a4a42c4c95974d219dcf32aaa1b | 22 | py | Python | utils/utils/database/__init__.py | koursaros-ai/microservices | 9613595ba62d00cb918feafa329834634bb76dc4 | [
"MIT"
] | 13 | 2019-11-26T04:24:02.000Z | 2021-09-29T04:22:40.000Z | utils/utils/database/__init__.py | koursaros-ai/koursaros | 9613595ba62d00cb918feafa329834634bb76dc4 | [
"MIT"
] | null | null | null | utils/utils/database/__init__.py | koursaros-ai/koursaros | 9613595ba62d00cb918feafa329834634bb76dc4 | [
"MIT"
] | null | null | null | from .psql import *
| 5.5 | 19 | 0.636364 | 3 | 22 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 22 | 3 | 20 | 7.333333 | 0.875 | 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 |
e6d9ddf6dcff294ee28ed786041e7edc394805eb | 102 | py | Python | Language Skills/Python/Unit 10 Advanced Topics in Python/01 Advanced Topics in Python/List Slicing/7-List Slicing Syntax.py | WarHatch/Codecademy-Exercise-Answers | 1fe3684d7edfa712747bce8e595e89409446eb94 | [
"MIT"
] | 346 | 2016-02-22T20:21:10.000Z | 2022-01-27T20:55:53.000Z | Language Skills/Python/Unit 10/1-Advanced Topics in Python/List Slicing/7-List Slicing Syntax_.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 55 | 2016-04-07T13:58:44.000Z | 2020-06-25T12:20:24.000Z | Language Skills/Python/Unit 10/1-Advanced Topics in Python/List Slicing/7-List Slicing Syntax_.py | vpstudios/Codecademy-Exercise-Answers | ebd0ee8197a8001465636f52c69592ea6745aa0c | [
"MIT"
] | 477 | 2016-02-21T06:17:02.000Z | 2021-12-22T10:08:01.000Z | l = [i ** 2 for i in range(1, 11)]
# Should be [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
print l[2:9:2]
| 20.4 | 50 | 0.509804 | 26 | 102 | 2 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.328947 | 0.254902 | 102 | 4 | 51 | 25.5 | 0.355263 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fc5a078afc7ee35ba2916d09e2575a0394813e8a | 13,067 | py | Python | sktime/dists_kernels/_base.py | biologioholic/sktime | 9d0391a04b11d22bd783b452f01aa5b4529b41a2 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T02:45:39.000Z | 2021-12-22T02:45:39.000Z | sktime/dists_kernels/_base.py | biologioholic/sktime | 9d0391a04b11d22bd783b452f01aa5b4529b41a2 | [
"BSD-3-Clause"
] | null | null | null | sktime/dists_kernels/_base.py | biologioholic/sktime | 9d0391a04b11d22bd783b452f01aa5b4529b41a2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# copyright: sktime developers, BSD-3-Clause License (see LICENSE file)
"""
Base class templates for distances or kernels between time series, and for tabular data.
templates in this module:
BasePairwiseTransformer - distances/kernels for tabular data
BasePairwiseTransformerPanel - dis... | 37.985465 | 88 | 0.626311 | 1,722 | 13,067 | 4.639954 | 0.141696 | 0.039925 | 0.04005 | 0.012015 | 0.816896 | 0.794869 | 0.7796 | 0.7796 | 0.7796 | 0.7796 | 0 | 0.009481 | 0.297773 | 13,067 | 343 | 89 | 38.09621 | 0.861269 | 0.629066 | 0 | 0.541176 | 0 | 0 | 0.188592 | 0.021834 | 0 | 0 | 0 | 0 | 0 | 1 | 0.141176 | false | 0 | 0.035294 | 0 | 0.317647 | 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 |
fc64273ce7e9ce845292b54068aaa6c78e57efc3 | 56 | py | Python | welding/__init__.py | Swall0w/welding_inference | 6cb0f720ee4b8480f599b4fa3e0e199845c8197b | [
"MIT"
] | null | null | null | welding/__init__.py | Swall0w/welding_inference | 6cb0f720ee4b8480f599b4fa3e0e199845c8197b | [
"MIT"
] | 3 | 2017-09-07T15:07:59.000Z | 2017-12-12T15:17:13.000Z | welding/__init__.py | Swall0w/welding_inference | 6cb0f720ee4b8480f599b4fa3e0e199845c8197b | [
"MIT"
] | null | null | null | from welding import convert
from welding import replace
| 18.666667 | 27 | 0.857143 | 8 | 56 | 6 | 0.625 | 0.458333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 28 | 28 | 1 | 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 |
fc6c8851e41bd63fb5b91a6a9275b9a835ce9bdc | 1,118 | py | Python | test/game/test_timer.py | IanDCarroll/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 1 | 2020-10-09T21:11:38.000Z | 2020-10-09T21:11:38.000Z | test/game/test_timer.py | IanDCarroll/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 1 | 2020-09-05T01:29:49.000Z | 2020-09-05T01:29:49.000Z | test/game/test_timer.py | Coding-Koans/Trivvy | 2aaa68301e4dd1daaf717d98bb468cc65c8f373a | [
"MIT"
] | 2 | 2020-07-12T05:02:43.000Z | 2020-07-16T00:27:07.000Z | import unittest
from src.game.timer import Timer as Subject
class TimerTestCase(unittest.TestCase):
def test_timer_max_for_returns_the_number_of_times_questioner_should_iterate(self):
setting_key = 'max_for_doesnt_care_about_specifics'
times_per_second = 120
seconds_to_wait = 2
tem... | 33.878788 | 95 | 0.694991 | 139 | 1,118 | 5.122302 | 0.33813 | 0.050562 | 0.117978 | 0.042135 | 0.814607 | 0.814607 | 0.744382 | 0.744382 | 0.744382 | 0.744382 | 0 | 0.013111 | 0.249553 | 1,118 | 33 | 96 | 33.878788 | 0.835518 | 0 | 0 | 0.592593 | 0 | 0 | 0.062556 | 0.062556 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.185185 | 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 |
5da176fbc8b3b775b77c86ca4df33c3a14640eb5 | 22,411 | py | Python | tests/test_procedures.py | hafeezibbad/telegram-bot | 0cbc35005ea5d076a8b3a243d794889532e69c4c | [
"Apache-2.0"
] | null | null | null | tests/test_procedures.py | hafeezibbad/telegram-bot | 0cbc35005ea5d076a8b3a243d794889532e69c4c | [
"Apache-2.0"
] | 2 | 2021-02-02T22:38:30.000Z | 2021-06-02T01:27:14.000Z | tests/test_procedures.py | hafeezibbad/telegram-bot | 0cbc35005ea5d076a8b3a243d794889532e69c4c | [
"Apache-2.0"
] | null | null | null | """
Module containing tests cases for procedures used in Rest and WebAPI.
"""
import unittest
from mongoengine import Q
from datetime import datetime, timedelta
from telegram.bot import Bot
from botapp import create_app
from botapp.models import MyBot, Message
from botapp.api_helpers import procedures
from helper impor... | 44.911824 | 80 | 0.62978 | 2,707 | 22,411 | 5.002955 | 0.068341 | 0.029905 | 0.057225 | 0.040611 | 0.855276 | 0.83246 | 0.821088 | 0.779148 | 0.72783 | 0.67821 | 0 | 0.013138 | 0.262996 | 22,411 | 498 | 81 | 45.002008 | 0.806805 | 0.048726 | 0 | 0.59596 | 0 | 0 | 0.058771 | 0 | 0 | 0 | 0 | 0 | 0.340909 | 1 | 0.121212 | false | 0 | 0.020202 | 0 | 0.143939 | 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 |
f8dd4d8d624a509785b3b9c8b7585f482172bde2 | 35 | py | Python | src/reforemast/__init__.py | e4r7hbug/reforemast | a4499922d4702f82b4f2034219278e7738c1eb12 | [
"Apache-2.0"
] | null | null | null | src/reforemast/__init__.py | e4r7hbug/reforemast | a4499922d4702f82b4f2034219278e7738c1eb12 | [
"Apache-2.0"
] | null | null | null | src/reforemast/__init__.py | e4r7hbug/reforemast | a4499922d4702f82b4f2034219278e7738c1eb12 | [
"Apache-2.0"
] | null | null | null | from .reforemast import Reforemast
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 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 | 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 |
5d3f1be0d33b904cf58a12b5975e7b50f136c1e5 | 101 | py | Python | works_on/admin.py | Sudani-Coder/morsalHR | 9febdcd93763da8cb10eaa1860ce1465d5f2173f | [
"MIT"
] | null | null | null | works_on/admin.py | Sudani-Coder/morsalHR | 9febdcd93763da8cb10eaa1860ce1465d5f2173f | [
"MIT"
] | null | null | null | works_on/admin.py | Sudani-Coder/morsalHR | 9febdcd93763da8cb10eaa1860ce1465d5f2173f | [
"MIT"
] | null | null | null | from django.contrib import admin
from works_on.models import works_on
admin.site.register(works_on)
| 20.2 | 36 | 0.841584 | 17 | 101 | 4.823529 | 0.588235 | 0.256098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09901 | 101 | 4 | 37 | 25.25 | 0.901099 | 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 |
5d61779d45bf71e1ae78b9eb26075e266eeaca70 | 25,353 | bzl | Python | rust/cargo/crates.bzl | justinwp/rules_proto | 76e30bc0ad6c2f4150f40e593db83eedeb069f1e | [
"Apache-2.0"
] | null | null | null | rust/cargo/crates.bzl | justinwp/rules_proto | 76e30bc0ad6c2f4150f40e593db83eedeb069f1e | [
"Apache-2.0"
] | null | null | null | rust/cargo/crates.bzl | justinwp/rules_proto | 76e30bc0ad6c2f4150f40e593db83eedeb069f1e | [
"Apache-2.0"
] | null | null | null | """
cargo-raze crate workspace functions
DO NOT EDIT! Replaced on runs of cargo-raze
"""
def raze_fetch_remote_crates():
native.new_http_archive(
name = "raze__arrayvec__0_4_7",
url = "https://crates-io.s3-us-west-1.amazonaws.com/crates/arrayvec/arrayvec-0.4.7.crate",
type = "tar.gz",
... | 40.695024 | 138 | 0.618349 | 4,010 | 25,353 | 3.687032 | 0.035162 | 0.013527 | 0.067704 | 0.10416 | 0.941359 | 0.877443 | 0.828881 | 0.765776 | 0.62976 | 0.518634 | 0 | 0.058902 | 0.20112 | 25,353 | 622 | 139 | 40.76045 | 0.671077 | 0.003195 | 0 | 0.285185 | 1 | 0.146296 | 0.523235 | 0.192844 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001852 | true | 0 | 0 | 0 | 0.001852 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
53946a204c20698b1f44fd8933b9e5c22b08ec91 | 22 | py | Python | utils/__init__.py | Dionysusnu/Docs-Bot | 68ca0626745a0fce0d8d1aeebf05ed472676c416 | [
"MIT"
] | null | null | null | utils/__init__.py | Dionysusnu/Docs-Bot | 68ca0626745a0fce0d8d1aeebf05ed472676c416 | [
"MIT"
] | null | null | null | utils/__init__.py | Dionysusnu/Docs-Bot | 68ca0626745a0fce0d8d1aeebf05ed472676c416 | [
"MIT"
] | null | null | null | from .auto import Auto | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
539c6b8c662eb73384ce4a7087feed7aa0f5841e | 159 | py | Python | app/main/errors.py | JKimani77/News | 4ee2f54e1688d8b4f6be29e4923fa94b364fb0d6 | [
"MIT"
] | null | null | null | app/main/errors.py | JKimani77/News | 4ee2f54e1688d8b4f6be29e4923fa94b364fb0d6 | [
"MIT"
] | null | null | null | app/main/errors.py | JKimani77/News | 4ee2f54e1688d8b4f6be29e4923fa94b364fb0d6 | [
"MIT"
] | null | null | null | from flask import render_template
from . import main
@main.app_errorhandler(404)
def errorforrowfor(error):
return render_template('foh_oh_foh.html'),404 | 26.5 | 49 | 0.798742 | 23 | 159 | 5.304348 | 0.695652 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.113208 | 159 | 6 | 49 | 26.5 | 0.822695 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
53da0f69c8fb789ee614aa60c458b445510a3971 | 78 | py | Python | deprecated_python_cowbull_game/tests/__init__.py | dsandersAzure/python_cowbull_game | 82a0d8ee127869123d4fad51a8cd1707879e368f | [
"Apache-2.0"
] | 1 | 2017-05-01T20:13:40.000Z | 2017-05-01T20:13:40.000Z | deprecated_python_cowbull_game/tests/__init__.py | dsandersAzure/python_cowbull_game | 82a0d8ee127869123d4fad51a8cd1707879e368f | [
"Apache-2.0"
] | null | null | null | deprecated_python_cowbull_game/tests/__init__.py | dsandersAzure/python_cowbull_game | 82a0d8ee127869123d4fad51a8cd1707879e368f | [
"Apache-2.0"
] | null | null | null | from .test_Game import test_Game
from .test_GameObject import test_GameObject
| 26 | 44 | 0.871795 | 12 | 78 | 5.333333 | 0.416667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 45 | 39 | 0.914286 | 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 |
54d92509b7b1bac02e3d836c217a053425d742a5 | 1,050 | py | Python | cloudmersive_barcode_api_client/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Barcode | e584de80304ebddbcce99ee6ff42196d46486421 | [
"Apache-2.0"
] | 1 | 2018-06-24T04:50:28.000Z | 2018-06-24T04:50:28.000Z | cloudmersive_barcode_api_client/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Barcode | e584de80304ebddbcce99ee6ff42196d46486421 | [
"Apache-2.0"
] | 1 | 2019-02-25T18:23:23.000Z | 2019-02-25T18:23:23.000Z | cloudmersive_barcode_api_client/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Barcode | e584de80304ebddbcce99ee6ff42196d46486421 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
barcodeapi
Barcode APIs let you generate barcode images, and recognize values from images of barcodes. # noqa: E501
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# impor... | 35 | 109 | 0.850476 | 135 | 1,050 | 6.311111 | 0.407407 | 0.105634 | 0.215962 | 0.244131 | 0.43662 | 0.43662 | 0.347418 | 0.107981 | 0 | 0 | 0 | 0.00641 | 0.108571 | 1,050 | 29 | 110 | 36.206897 | 0.903846 | 0.299048 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
072c1a9ac3b5620f2f7ebca45f42af396d927bf5 | 199 | py | Python | uber/admin.py | helmetwearer/uber-clone | ed77e52ef7c82b7a555fcd231e817de96867a451 | [
"MIT"
] | 22 | 2018-08-05T14:44:27.000Z | 2022-01-11T15:35:15.000Z | uber/admin.py | helmetwearer/uber-clone | ed77e52ef7c82b7a555fcd231e817de96867a451 | [
"MIT"
] | null | null | null | uber/admin.py | helmetwearer/uber-clone | ed77e52ef7c82b7a555fcd231e817de96867a451 | [
"MIT"
] | 12 | 2018-11-24T16:39:12.000Z | 2022-03-02T21:05:59.000Z | from django.contrib import admin
from . models import Driver, Car, Location, Category
admin.site.register(Driver)
admin.site.register(Car)
admin.site.register(Location)
admin.site.register(Category) | 28.428571 | 52 | 0.81407 | 28 | 199 | 5.785714 | 0.428571 | 0.222222 | 0.419753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080402 | 199 | 7 | 53 | 28.428571 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ab0f40428e1a22de0f77940c4c37d247b66dbced | 87 | py | Python | mypy/test/data/fixtures/module.py | TimSimpsonR/mypy | 5e6fd6335e0662b0477e1d678269f33e6f4194ba | [
"PSF-2.0"
] | 1 | 2019-06-27T11:34:27.000Z | 2019-06-27T11:34:27.000Z | mypy/test/data/fixtures/module.py | silky/mypy | de6a8d3710df9f49109cb682f2092e4967bfb92c | [
"PSF-2.0"
] | null | null | null | mypy/test/data/fixtures/module.py | silky/mypy | de6a8d3710df9f49109cb682f2092e4967bfb92c | [
"PSF-2.0"
] | null | null | null | class object:
def __init__(self) -> None: pass
class module: pass
class type: pass
| 17.4 | 36 | 0.712644 | 13 | 87 | 4.461538 | 0.692308 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 87 | 4 | 37 | 21.75 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.75 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ab544630b9404681efa0fce4eb153314b15ecd5c | 31 | py | Python | venv/Lib/site-packages/pybrain/supervised/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | 4 | 2015-01-01T14:57:38.000Z | 2018-07-12T04:21:36.000Z | pybrain/supervised/__init__.py | abhishekgahlot/pybrain | c54661f13857d5bcb0095ba2fb12f5a403a4a70f | [
"BSD-3-Clause"
] | null | null | null | pybrain/supervised/__init__.py | abhishekgahlot/pybrain | c54661f13857d5bcb0095ba2fb12f5a403a4a70f | [
"BSD-3-Clause"
] | 2 | 2015-01-23T09:23:58.000Z | 2019-02-22T05:42:29.000Z | from trainers.__init__ import * | 31 | 31 | 0.83871 | 4 | 31 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.785714 | 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 |
db5161c2e3d0c242b80d097efa0a2aa501d1dbf3 | 42 | py | Python | __init__.py | polimi-ispl/python_patch_extractor | 25bdf17b5517284696190cb7feb063320986d34c | [
"MIT"
] | 4 | 2020-04-24T17:23:55.000Z | 2021-06-18T10:48:39.000Z | __init__.py | polimi-ispl/python_patch_extractor | 25bdf17b5517284696190cb7feb063320986d34c | [
"MIT"
] | 3 | 2021-07-07T10:39:16.000Z | 2021-07-12T16:16:16.000Z | __init__.py | polimi-ispl/python_patch_extractor | 25bdf17b5517284696190cb7feb063320986d34c | [
"MIT"
] | 1 | 2021-01-14T06:50:50.000Z | 2021-01-14T06:50:50.000Z | from PatchExtractor import PatchExtractor
| 21 | 41 | 0.904762 | 4 | 42 | 9.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
db53eafa60721e7c9d1393ee4238633978967228 | 9,455 | py | Python | tests/parsers/main_parser/test_headers.py | Project-Mau/mau | 193d16633c1573227debf4517ebcaf07add24979 | [
"MIT"
] | 28 | 2021-02-22T18:46:52.000Z | 2022-02-21T15:14:05.000Z | tests/parsers/main_parser/test_headers.py | Project-Mau/mau | 193d16633c1573227debf4517ebcaf07add24979 | [
"MIT"
] | 5 | 2021-02-23T09:56:13.000Z | 2022-03-13T09:47:42.000Z | tests/parsers/main_parser/test_headers.py | Project-Mau/mau | 193d16633c1573227debf4517ebcaf07add24979 | [
"MIT"
] | 2 | 2021-02-23T09:11:45.000Z | 2021-03-13T11:08:21.000Z | from unittest.mock import patch
from mau.parsers import nodes
from mau.parsers.main_parser import MainParser
from tests.helpers import init_parser_factory, parser_test_factory
init_parser = init_parser_factory(MainParser)
_test = parser_test_factory(MainParser)
def test_default_header_anchor_function():
sourc... | 23.461538 | 79 | 0.474669 | 917 | 9,455 | 4.733915 | 0.08615 | 0.074176 | 0.07003 | 0.087537 | 0.899332 | 0.857176 | 0.842663 | 0.828841 | 0.819396 | 0.790371 | 0 | 0.036448 | 0.361608 | 9,455 | 402 | 80 | 23.519901 | 0.682737 | 0 | 0 | 0.665663 | 0 | 0 | 0.319831 | 0.053517 | 0 | 0 | 0 | 0 | 0.009036 | 1 | 0.039157 | false | 0 | 0.024096 | 0 | 0.063253 | 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 |
db8c506eecb45eeb67704319ac4878f220c5f7b1 | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/dep_util.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/dep_util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/dep_util.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/04/3c/75/064ccd427b6f001e1a972a476d6e54541ce3aad86cd34d0fad42f866a7 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dba2b65d8c711076996ad5e1cc1aeba970672bf2 | 72 | py | Python | app/app/calc.py | ofvera/recipe-app-api | 329bd1f84f13a0cf3c81389d7429112d153e39cc | [
"MIT"
] | null | null | null | app/app/calc.py | ofvera/recipe-app-api | 329bd1f84f13a0cf3c81389d7429112d153e39cc | [
"MIT"
] | null | null | null | app/app/calc.py | ofvera/recipe-app-api | 329bd1f84f13a0cf3c81389d7429112d153e39cc | [
"MIT"
] | null | null | null | def add(x, y):
return x + y
def substract(x, y):
return y - x
| 10.285714 | 20 | 0.527778 | 14 | 72 | 2.714286 | 0.428571 | 0.157895 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 72 | 6 | 21 | 12 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
dbaab160a5103b0971decb0a6481b789f5718547 | 117 | py | Python | models/__init__.py | james-simon/dnn_mode_connectivity | 59dcf7c1486a154c88d63283c2a68825ff524776 | [
"BSD-2-Clause"
] | 1 | 2020-09-06T09:42:24.000Z | 2020-09-06T09:42:24.000Z | models/__init__.py | james-simon/dnn_mode_connectivity | 59dcf7c1486a154c88d63283c2a68825ff524776 | [
"BSD-2-Clause"
] | null | null | null | models/__init__.py | james-simon/dnn_mode_connectivity | 59dcf7c1486a154c88d63283c2a68825ff524776 | [
"BSD-2-Clause"
] | null | null | null | from .convfc import *
from .vgg import *
from .preresnet import *
from .wide_resnet import *
from .onelayer import *
| 19.5 | 26 | 0.74359 | 16 | 117 | 5.375 | 0.5 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17094 | 117 | 5 | 27 | 23.4 | 0.886598 | 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 |
dbd542fa28756be51e17cc64e14408e05df6bcbe | 7,669 | py | Python | src/openprocurement/tender/openua/tests/contract_blanks.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 10 | 2020-02-18T01:56:21.000Z | 2022-03-28T00:32:57.000Z | src/openprocurement/tender/openua/tests/contract_blanks.py | quintagroup/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 26 | 2018-07-16T09:30:44.000Z | 2021-02-02T17:51:30.000Z | src/openprocurement/tender/openua/tests/contract_blanks.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 15 | 2019-08-08T10:50:47.000Z | 2022-02-05T14:13:36.000Z | # -*- coding: utf-8 -*-
from datetime import timedelta
from openprocurement.api.utils import get_now
# TenderContractResourceTest
def create_tender_contract(self):
auth = self.app.authorization
self.app.authorization = ("Basic", ("token", ""))
response = self.app.post_json(
"/tenders/{}/contract... | 40.363158 | 116 | 0.632547 | 839 | 7,669 | 5.669845 | 0.131108 | 0.11667 | 0.178894 | 0.060542 | 0.838343 | 0.817532 | 0.792306 | 0.773176 | 0.769603 | 0.769603 | 0 | 0.012685 | 0.187899 | 7,669 | 189 | 117 | 40.57672 | 0.751124 | 0.006259 | 0 | 0.61875 | 0 | 0 | 0.286558 | 0.072723 | 0 | 0 | 0 | 0 | 0.25625 | 1 | 0.01875 | false | 0 | 0.0125 | 0 | 0.03125 | 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 |
915816ae3b5d356d2e923b84296f7d23083aa056 | 201 | py | Python | src/core/role.py | kk-r/urunner | 2683d0165af7ddeeb9ed3796f00627de17cbc7e7 | [
"MIT"
] | null | null | null | src/core/role.py | kk-r/urunner | 2683d0165af7ddeeb9ed3796f00627de17cbc7e7 | [
"MIT"
] | null | null | null | src/core/role.py | kk-r/urunner | 2683d0165af7ddeeb9ed3796f00627de17cbc7e7 | [
"MIT"
] | null | null | null | import os
from enum import Enum
class ROLE(Enum):
ADMIN: str = os.getenv('ADMIN', 'ADMINISTRATOR')
BASIC: str = os.getenv('BASIC', 'BASIC')
MANAGER: str = os.getenv('MANAGER', 'MANAGER')
| 22.333333 | 52 | 0.651741 | 27 | 201 | 4.851852 | 0.444444 | 0.114504 | 0.251908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18408 | 201 | 8 | 53 | 25.125 | 0.79878 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
916f35248846161ab36f147f3d8e583d02cb34ba | 80 | py | Python | modelmaker/config/__init__.py | wangjm12138/modelmaker | aa42ce9d504cc13a636b0c9f4ac49b71538c7cda | [
"MIT"
] | null | null | null | modelmaker/config/__init__.py | wangjm12138/modelmaker | aa42ce9d504cc13a636b0c9f4ac49b71538c7cda | [
"MIT"
] | null | null | null | modelmaker/config/__init__.py | wangjm12138/modelmaker | aa42ce9d504cc13a636b0c9f4ac49b71538c7cda | [
"MIT"
] | null | null | null | from .config_exception import ConfigException
from .config import create_client
| 26.666667 | 45 | 0.875 | 10 | 80 | 6.8 | 0.7 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 80 | 2 | 46 | 40 | 0.944444 | 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 |
918e669c8180c947f6aacfedfad89ced6227b32e | 53 | py | Python | dashboard/templatetags/__init__.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | dashboard/templatetags/__init__.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | 10 | 2020-03-24T17:09:56.000Z | 2021-12-13T20:00:15.000Z | dashboard/templatetags/__init__.py | PyFlux/PyFlux-Django-Html | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | from .toolbar_tag import *
from .sidebar_tag import * | 26.5 | 26 | 0.792453 | 8 | 53 | 5 | 0.625 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 27 | 26.5 | 0.869565 | 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 |
918ee35dfedec05abf4ddfd93bcd41ace0be14bf | 191 | py | Python | asf_search/search/__init__.py | gitter-badger/Discovery-asf_search | 35d0e796a6c926b3188a4aed1685358b0e9a8142 | [
"BSD-3-Clause"
] | 57 | 2021-03-02T18:16:01.000Z | 2022-03-30T09:35:01.000Z | asf_search/search/__init__.py | gitter-badger/Discovery-asf_search | 35d0e796a6c926b3188a4aed1685358b0e9a8142 | [
"BSD-3-Clause"
] | 14 | 2021-05-18T15:32:57.000Z | 2022-03-07T23:22:20.000Z | asf_search/search/__init__.py | gitter-badger/Discovery-asf_search | 35d0e796a6c926b3188a4aed1685358b0e9a8142 | [
"BSD-3-Clause"
] | 16 | 2021-03-30T00:56:17.000Z | 2022-03-30T09:35:09.000Z | from .search import search
from .granule_search import granule_search
from .product_search import product_search
from .geo_search import geo_search
from .baseline_search import stack_from_id
| 31.833333 | 42 | 0.86911 | 29 | 191 | 5.413793 | 0.310345 | 0.382166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104712 | 191 | 5 | 43 | 38.2 | 0.918129 | 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 |
91cc95f33a1ffdb4edf310212e1ce2071638443c | 46 | py | Python | measurator/__init__.py | ahitrin-attic/measurator-proto | b7abaf5943826a909c31697ee307d95ad3f4f909 | [
"MIT"
] | null | null | null | measurator/__init__.py | ahitrin-attic/measurator-proto | b7abaf5943826a909c31697ee307d95ad3f4f909 | [
"MIT"
] | 1 | 2021-04-21T10:13:48.000Z | 2021-04-21T10:13:48.000Z | measurator/__init__.py | ahitrin/measurator | b7abaf5943826a909c31697ee307d95ad3f4f909 | [
"MIT"
] | null | null | null | from measurator.main import run_main, migrate
| 23 | 45 | 0.847826 | 7 | 46 | 5.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
91e45f391431e8e3a3ad1eae4a65f3737506af0f | 6,551 | py | Python | src/projects/workers/grayscale_image.py | firewut/data-transform-pipelines-api | c62a7aa5fd57102fa67cf715dc78c3365b739925 | [
"MIT"
] | 2 | 2019-01-09T07:42:17.000Z | 2021-08-25T02:43:47.000Z | src/projects/workers/grayscale_image.py | firewut/data-transform-pipelines-api | c62a7aa5fd57102fa67cf715dc78c3365b739925 | [
"MIT"
] | null | null | null | src/projects/workers/grayscale_image.py | firewut/data-transform-pipelines-api | c62a7aa5fd57102fa67cf715dc78c3365b739925 | [
"MIT"
] | null | null | null | import base64
import io
import os
from django.conf import settings
from PIL import Image
from core.utils import random_uuid4
from projects.workers.base import Worker
from projects.workers.exceptions import WorkerNoInputException
class GrayscaleImage(Worker):
id = 'grayscale_image'
name = 'grayscale_image'
... | 139.382979 | 5,452 | 0.89452 | 267 | 6,551 | 21.921348 | 0.820225 | 0.0041 | 0.006492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128322 | 0.063807 | 6,551 | 46 | 5,453 | 142.413043 | 0.826023 | 0 | 0 | 0 | 0 | 0.025641 | 0.862464 | 0.830102 | 0 | 1 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.205128 | 0 | 0.410256 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
37e97c2f4b653a8b2374fd7484c769a6fe7ac797 | 18,073 | py | Python | omaha_server/omaha/tests/test_tasks.py | dentalwings/omaha-server | 3d8e18c8f4aac4eb16445c0f3160ed1fc2fc8de5 | [
"Apache-2.0"
] | 2 | 2019-06-13T20:47:18.000Z | 2022-03-31T03:14:54.000Z | omaha_server/omaha/tests/test_tasks.py | dentalwings/omaha-server | 3d8e18c8f4aac4eb16445c0f3160ed1fc2fc8de5 | [
"Apache-2.0"
] | 1 | 2020-02-26T20:03:27.000Z | 2020-02-26T20:03:27.000Z | omaha_server/omaha/tests/test_tasks.py | dentalwings/omaha-server | 3d8e18c8f4aac4eb16445c0f3160ed1fc2fc8de5 | [
"Apache-2.0"
] | null | null | null | # coding: utf8
"""
This software is licensed under the Apache 2 license, quoted below.
Copyright 2014 Crystalnix Limited
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/... | 49.515068 | 129 | 0.68998 | 2,405 | 18,073 | 4.906861 | 0.101455 | 0.046776 | 0.046098 | 0.050843 | 0.815609 | 0.801966 | 0.784001 | 0.778578 | 0.762732 | 0.755783 | 0 | 0.066694 | 0.199413 | 18,073 | 364 | 130 | 49.651099 | 0.748911 | 0.035467 | 0 | 0.648276 | 0 | 0 | 0.179063 | 0.081841 | 0 | 0 | 0 | 0 | 0.158621 | 1 | 0.041379 | false | 0 | 0.058621 | 0 | 0.117241 | 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 |
37ef0b74f13e3fe60b2966f3e7a10e45bbfdc3fb | 51,599 | py | Python | tests/oldtests/annotation_hg18_megatest.py | ctb/pygr | a3a3e68073834c20ddbdb27ed746baf8c73fef0a | [
"BSD-3-Clause"
] | 2 | 2015-03-07T13:20:50.000Z | 2015-11-04T12:01:21.000Z | tests/oldtests/annotation_hg18_megatest.py | ctb/pygr | a3a3e68073834c20ddbdb27ed746baf8c73fef0a | [
"BSD-3-Clause"
] | null | null | null | tests/oldtests/annotation_hg18_megatest.py | ctb/pygr | a3a3e68073834c20ddbdb27ed746baf8c73fef0a | [
"BSD-3-Clause"
] | null | null | null |
import ConfigParser, sys, os, string
from pygr.mapping import Collection
import pygr.Data
try:
import hashlib
except ImportError:
import md5 as hashlib
config = ConfigParser.ConfigParser({'testOutputBaseDir' : '.', 'smallSampleKey': ''})
config.read([ os.path.join(os.path.expanduser('~'), '.pygrrc'), os.path... | 59.929152 | 139 | 0.5422 | 5,311 | 51,599 | 5.17492 | 0.086989 | 0.02154 | 0.015282 | 0.016373 | 0.840889 | 0.827936 | 0.81018 | 0.808689 | 0.780127 | 0.745634 | 0 | 0.031277 | 0.350627 | 51,599 | 860 | 140 | 59.998837 | 0.788969 | 0.080234 | 0 | 0.670823 | 0 | 0 | 0.126422 | 0.056375 | 0 | 0 | 0 | 0 | 0.008728 | 1 | 0.007481 | false | 0.009975 | 0.012469 | 0 | 0.023691 | 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 |
53021d91c744e52dc1aad201c3da9f89f1981b50 | 398 | py | Python | osprofiler/drivers/__init__.py | Carthaca/osprofiler | d1858792db723826e22eb23885713fd9a6213a27 | [
"Apache-2.0"
] | null | null | null | osprofiler/drivers/__init__.py | Carthaca/osprofiler | d1858792db723826e22eb23885713fd9a6213a27 | [
"Apache-2.0"
] | null | null | null | osprofiler/drivers/__init__.py | Carthaca/osprofiler | d1858792db723826e22eb23885713fd9a6213a27 | [
"Apache-2.0"
] | 1 | 2020-02-17T09:48:43.000Z | 2020-02-17T09:48:43.000Z | from osprofiler.drivers import base # noqa
from osprofiler.drivers import ceilometer # noqa
from osprofiler.drivers import elasticsearch_driver # noqa
from osprofiler.drivers import jaeger # noqa
from osprofiler.drivers import loginsight # noqa
from osprofiler.drivers import messaging # noqa
from osprofiler.drive... | 44.222222 | 59 | 0.819095 | 50 | 398 | 6.48 | 0.28 | 0.345679 | 0.518519 | 0.666667 | 0.669753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140704 | 398 | 8 | 60 | 49.75 | 0.947368 | 0.09799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
531346b40cfad3a68eeb889f1e06fdd59d921052 | 24,268 | py | Python | allocator/test.py | HParker/vliw-scheduler-suite | 16687da2eafd7335e6fcd5d3727d3c9eb2776c4a | [
"MIT"
] | null | null | null | allocator/test.py | HParker/vliw-scheduler-suite | 16687da2eafd7335e6fcd5d3727d3c9eb2776c4a | [
"MIT"
] | null | null | null | allocator/test.py | HParker/vliw-scheduler-suite | 16687da2eafd7335e6fcd5d3727d3c9eb2776c4a | [
"MIT"
] | null | null | null | import hw3
def test_bb(expected, allocator):
if len(expected) != len(allocator.bb):
print("Basic Blocks Failed", list(map(lambda b: b[1], allocator.bb)), "\n ", expected)
return
for index, bb in enumerate(allocator.bb):
if bb[1] != expected[index]:
... | 33.06267 | 219 | 0.48566 | 2,918 | 24,268 | 3.858465 | 0.059287 | 0.14948 | 0.007994 | 0.007105 | 0.854072 | 0.816236 | 0.802469 | 0.770584 | 0.713651 | 0.688338 | 0 | 0.036331 | 0.284325 | 24,268 | 733 | 220 | 33.107776 | 0.61193 | 0.032017 | 0 | 0.645796 | 0 | 0 | 0.164079 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041145 | false | 0 | 0.001789 | 0 | 0.075134 | 0.057245 | 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 |
5319de1101429e6292fac41a3afc5ba932075a3d | 27 | py | Python | zipping.py | Ichinga-Samuel/Python-Buffet | 7d8d6e748d3637b7f9be94d13e052ab0fb75e62b | [
"CC0-1.0"
] | null | null | null | zipping.py | Ichinga-Samuel/Python-Buffet | 7d8d6e748d3637b7f9be94d13e052ab0fb75e62b | [
"CC0-1.0"
] | null | null | null | zipping.py | Ichinga-Samuel/Python-Buffet | 7d8d6e748d3637b7f9be94d13e052ab0fb75e62b | [
"CC0-1.0"
] | null | null | null | import zipfile
import os
| 5.4 | 14 | 0.777778 | 4 | 27 | 5.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 4 | 15 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
531ce73de64b9966228e0cb6ab3331f4483e19b8 | 35 | py | Python | bitswap/table/__init__.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | bitswap/table/__init__.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | bitswap/table/__init__.py | VladislavSufyanov/py-bitswap | 875d15944e485c33b16af9965f24c1d85cb34c55 | [
"MIT"
] | null | null | null | from .hash_funcs import HASH_TABLE
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
533911c404dde55374a1f66c309fa1ec628bd9ca | 10,800 | py | Python | model.py | escolmebartlebooth/usdc-t1-p3-behavioural-cloning | 70e4a46317db2f2360a6713bc856c2107bf6ce23 | [
"MIT"
] | null | null | null | model.py | escolmebartlebooth/usdc-t1-p3-behavioural-cloning | 70e4a46317db2f2360a6713bc856c2107bf6ce23 | [
"MIT"
] | null | null | null | model.py | escolmebartlebooth/usdc-t1-p3-behavioural-cloning | 70e4a46317db2f2360a6713bc856c2107bf6ce23 | [
"MIT"
] | null | null | null | """ behvioural cloning model """
# imports
import cv2
import csv
import random
from sklearn.model_selection import train_test_split
from sklearn.utils import shuffle
from keras.layers import Activation, Dense, Flatten
from keras.layers import Lambda, Cropping2D, Dropout
from keras.layers import Convolution2D
from kera... | 38.571429 | 77 | 0.559259 | 1,303 | 10,800 | 4.481965 | 0.159632 | 0.068493 | 0.014384 | 0.020548 | 0.746062 | 0.74161 | 0.736986 | 0.728082 | 0.719521 | 0.719521 | 0 | 0.037266 | 0.326667 | 10,800 | 279 | 78 | 38.709677 | 0.765814 | 0.102685 | 0 | 0.663102 | 0 | 0 | 0.025379 | 0.002307 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058824 | null | null | 0.016043 | 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 |
53516cb25977b22b7707afda82f9bdf83ad28461 | 62,674 | py | Python | pydra/engine/tests/test_shelltask_inputspec.py | htwangtw/pydra | 118b9f329c634b7e3597866620ca7ecd35d2949b | [
"Apache-2.0"
] | null | null | null | pydra/engine/tests/test_shelltask_inputspec.py | htwangtw/pydra | 118b9f329c634b7e3597866620ca7ecd35d2949b | [
"Apache-2.0"
] | null | null | null | pydra/engine/tests/test_shelltask_inputspec.py | htwangtw/pydra | 118b9f329c634b7e3597866620ca7ecd35d2949b | [
"Apache-2.0"
] | null | null | null | import attr
import typing as ty
from pathlib import Path
import pytest
from ..task import ShellCommandTask
from ..specs import (
ShellOutSpec,
ShellSpec,
SpecInfo,
File,
MultiInputObj,
MultiInputFile,
MultiOutputFile,
)
from .utils import use_validator
from ..core import Workflow
from ..sub... | 30.189788 | 263 | 0.437518 | 5,424 | 62,674 | 4.885509 | 0.0684 | 0.056379 | 0.042756 | 0.032869 | 0.824635 | 0.792068 | 0.76701 | 0.737801 | 0.709914 | 0.677837 | 0 | 0.008018 | 0.450761 | 62,674 | 2,075 | 264 | 30.204337 | 0.761787 | 0.110317 | 0 | 0.676153 | 0 | 0.007399 | 0.187865 | 0.016845 | 0 | 0 | 0 | 0.001446 | 0.038702 | 1 | 0.027888 | false | 0 | 0.005122 | 0 | 0.033011 | 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 |
5352903b7edfd9553fab690be7740dc5f5bb5f18 | 5,155 | py | Python | embedcreator/sending.py | Kuro-Rui/flare-cogs | f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d | [
"MIT"
] | 38 | 2021-03-07T17:13:10.000Z | 2022-02-28T19:50:00.000Z | embedcreator/sending.py | Kuro-Rui/flare-cogs | f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d | [
"MIT"
] | 44 | 2021-03-12T19:13:32.000Z | 2022-03-18T10:20:52.000Z | embedcreator/sending.py | Kuro-Rui/flare-cogs | f739e3a4a8c65bf0e10945d242ba0b82f96c6d3d | [
"MIT"
] | 33 | 2021-03-08T18:59:59.000Z | 2022-03-23T10:57:46.000Z | import traceback
from io import BytesIO
from typing import Optional
import discord
from redbot.core import commands
from .abc import MixinMeta
from .embedmixin import embed
class EmbedSending(MixinMeta):
@embed.command(name="file")
@commands.bot_has_permissions(embed_links=True)
async def embed_file(sel... | 46.863636 | 159 | 0.646557 | 695 | 5,155 | 4.72518 | 0.201439 | 0.038977 | 0.047503 | 0.060292 | 0.81486 | 0.75609 | 0.748173 | 0.719245 | 0.719245 | 0.719245 | 0 | 0.000519 | 0.25257 | 5,155 | 109 | 160 | 47.293578 | 0.851804 | 0 | 0 | 0.670455 | 0 | 0.022727 | 0.181367 | 0.00992 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.079545 | 0 | 0.238636 | 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 |
f41cdee0a997483f62dcc59e9f63cfead28b18b4 | 41 | py | Python | ctypes_generation/definitions/winerror_template.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 479 | 2016-01-08T00:53:34.000Z | 2022-03-22T10:28:19.000Z | ctypes_generation/definitions/winerror_template.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 38 | 2017-12-29T17:09:04.000Z | 2022-01-31T08:27:47.000Z | ctypes_generation/definitions/winerror_template.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | 103 | 2016-01-10T01:32:17.000Z | 2021-12-24T17:21:06.000Z | from .flag import make_flag, FlagMapper
| 13.666667 | 39 | 0.804878 | 6 | 41 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 41 | 2 | 40 | 20.5 | 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 |
f449f5adfa9f17f206166be7c75ccd6e725e379a | 4,443 | py | Python | SafeGraph/0.pull_up_pois.py | yeabinmoon/economics | 53bfc51f2227755948ac937c3e763b747d3aedec | [
"MIT"
] | null | null | null | SafeGraph/0.pull_up_pois.py | yeabinmoon/economics | 53bfc51f2227755948ac937c3e763b747d3aedec | [
"MIT"
] | null | null | null | SafeGraph/0.pull_up_pois.py | yeabinmoon/economics | 53bfc51f2227755948ac937c3e763b747d3aedec | [
"MIT"
] | null | null | null | """
Created on Jan 14 2021
@author: yeabinmoon
Using monthly visit patterns prior to pandemic (- 2020.02) label which race dominates it
0. Process monthly patterns to see what race distribution of POI
outputs: monthly files in /Users/yeabinmoon/Documents/JMP/data/SafeGraph/race_visitor/monthly
"""
import pandas a... | 47.265957 | 128 | 0.630205 | 591 | 4,443 | 4.524535 | 0.23181 | 0.073298 | 0.123411 | 0.104712 | 0.782349 | 0.782349 | 0.782349 | 0.782349 | 0.782349 | 0.760658 | 0 | 0.01901 | 0.194913 | 4,443 | 93 | 129 | 47.774194 | 0.728543 | 0.066172 | 0 | 0.730159 | 0 | 0.015873 | 0.297101 | 0.175121 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0.063492 | 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 |
f4622082a300712690fa3a459c901f2eedd4d8b6 | 376 | py | Python | python/testData/inspections/PyCompatibilityInspection/expressionInDecorators.py | leonardosnt/intellij-community | 7e58970e1043b9e600e1149dc8b227974cec9777 | [
"Apache-2.0"
] | 1 | 2020-08-04T08:23:50.000Z | 2020-08-04T08:23:50.000Z | python/testData/inspections/PyCompatibilityInspection/expressionInDecorators.py | leonardosnt/intellij-community | 7e58970e1043b9e600e1149dc8b227974cec9777 | [
"Apache-2.0"
] | 1 | 2020-07-30T19:04:47.000Z | 2020-07-30T19:04:47.000Z | python/testData/inspections/PyCompatibilityInspection/expressionInDecorators.py | bradleesand/intellij-community | 750ff9c10333c9c1278c00dbe8d88c877b1b9749 | [
"Apache-2.0"
] | null | null | null | <warning descr="Python version 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8 do not support arbitrary expressions as a decorator">@x[0][1]</warning>
@my_decorator
def say_whee():
print("Whee!")
<warning descr="Python version 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8 do not support arbitrary expressions as a decorator">@foo[0].wrapper... | 41.777778 | 143 | 0.670213 | 74 | 376 | 3.364865 | 0.405405 | 0.032129 | 0.144578 | 0.200803 | 0.819277 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0.666667 | 0 | 0.095679 | 0.138298 | 376 | 9 | 144 | 41.777778 | 0.67284 | 0 | 0 | 0.5 | 0 | 0.25 | 0.557029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f474d7fc91c25e8ed6dd773d9a096fc0984db9cd | 30 | py | Python | __init__.py | rafaol/Stein-Variational-Gradient-Descent | ae3a6004b68ac9b81bbb5e9e4584f31f1e14de22 | [
"MIT"
] | null | null | null | __init__.py | rafaol/Stein-Variational-Gradient-Descent | ae3a6004b68ac9b81bbb5e9e4584f31f1e14de22 | [
"MIT"
] | null | null | null | __init__.py | rafaol/Stein-Variational-Gradient-Descent | ae3a6004b68ac9b81bbb5e9e4584f31f1e14de22 | [
"MIT"
] | null | null | null | from .python.svgd import SVGD
| 15 | 29 | 0.8 | 5 | 30 | 4.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f475ecfaffb63d1513f76c461d4686835983e3ff | 17,407 | py | Python | tests/app/questionnaire/test_answer_store_updater.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 27 | 2015-10-02T17:27:54.000Z | 2021-04-05T12:39:16.000Z | tests/app/questionnaire/test_answer_store_updater.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 1,836 | 2015-09-16T09:59:03.000Z | 2022-03-30T14:27:06.000Z | tests/app/questionnaire/test_answer_store_updater.py | uk-gov-mirror/ONSdigital.eq-survey-runner | b3a67a82347d024177f7fa6bf05499f47ece7ea5 | [
"MIT"
] | 20 | 2016-09-09T16:56:12.000Z | 2021-11-12T06:09:27.000Z | import unittest
from unittest import mock
from unittest.mock import call
from mock import MagicMock
from app.data_model.answer_store import Answer, AnswerStore
from app.data_model.questionnaire_store import QuestionnaireStore
from app.forms.questionnaire_form import QuestionnaireForm
from app.questionnaire.answer_sto... | 37.115139 | 122 | 0.573907 | 1,817 | 17,407 | 5.148046 | 0.080352 | 0.101454 | 0.064144 | 0.058905 | 0.814732 | 0.796985 | 0.761386 | 0.748343 | 0.71873 | 0.68591 | 0 | 0.010257 | 0.327914 | 17,407 | 468 | 123 | 37.194444 | 0.789298 | 0.039754 | 0 | 0.657068 | 0 | 0 | 0.164837 | 0.002519 | 0 | 0 | 0 | 0 | 0.070681 | 1 | 0.028796 | false | 0 | 0.026178 | 0 | 0.057592 | 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 |
f481cf66e1702f3ad941f3d1ea993d72bcbc6f88 | 34 | py | Python | octopus/platforms/ETH/utils/__init__.py | ZarvisD/octopus | 3e238721fccfec69a69a1635b8a0dc485e525e69 | [
"MIT"
] | 2 | 2019-01-19T07:12:02.000Z | 2021-08-14T13:23:37.000Z | octopus/platforms/ETH/utils/__init__.py | ZarvisD/octopus | 3e238721fccfec69a69a1635b8a0dc485e525e69 | [
"MIT"
] | null | null | null | octopus/platforms/ETH/utils/__init__.py | ZarvisD/octopus | 3e238721fccfec69a69a1635b8a0dc485e525e69 | [
"MIT"
] | 1 | 2019-01-19T07:12:05.000Z | 2019-01-19T07:12:05.000Z | from . import disassembler_helper
| 17 | 33 | 0.852941 | 4 | 34 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
be44f6f96a0f666edbe3b76e32ca5cd56e8bd190 | 86,079 | py | Python | pyquil/tests/test_operator_estimation.py | oliverdutton/pyquil | 027a3f6aecbd8206baf39189a0183ad0f85c262b | [
"Apache-2.0"
] | null | null | null | pyquil/tests/test_operator_estimation.py | oliverdutton/pyquil | 027a3f6aecbd8206baf39189a0183ad0f85c262b | [
"Apache-2.0"
] | null | null | null | pyquil/tests/test_operator_estimation.py | oliverdutton/pyquil | 027a3f6aecbd8206baf39189a0183ad0f85c262b | [
"Apache-2.0"
] | null | null | null | import functools
import itertools
import random
from math import pi
from unittest.mock import Mock
import numpy as np
import functools
from operator import mul
import numpy as np
import pytest
from pyquil.quilbase import Pragma
from pyquil import Program, get_qc
from pyquil.gates import *
from pyquil.api import Wavefu... | 39.323435 | 127 | 0.650519 | 11,921 | 86,079 | 4.514135 | 0.049241 | 0.068942 | 0.015535 | 0.017951 | 0.821363 | 0.782711 | 0.765986 | 0.756118 | 0.746065 | 0.729471 | 0 | 0.059547 | 0.228011 | 86,079 | 2,188 | 128 | 39.341408 | 0.750226 | 0.123398 | 0 | 0.688352 | 0 | 0 | 0.024538 | 0.001562 | 0 | 0 | 0 | 0 | 0.084263 | 1 | 0.056382 | false | 0 | 0.009913 | 0.001859 | 0.071252 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.