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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b45f24a20a8a02a724a15307a9c1907ba114019f | 130 | py | Python | nouns/css/__init__.py | vcdi/nouns | 4bec17265fcaa757446e32b57540efe9b20d8ea0 | [
"BSD-3-Clause"
] | null | null | null | nouns/css/__init__.py | vcdi/nouns | 4bec17265fcaa757446e32b57540efe9b20d8ea0 | [
"BSD-3-Clause"
] | null | null | null | nouns/css/__init__.py | vcdi/nouns | 4bec17265fcaa757446e32b57540efe9b20d8ea0 | [
"BSD-3-Clause"
] | null | null | null | def histo_bar(a, b):
return f"background: linear-gradient(to right, transparent {a}%, #eee {a}%, #eee {b}%, transparent {b}%"
| 43.333333 | 108 | 0.646154 | 20 | 130 | 4.15 | 0.7 | 0.096386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 2 | 109 | 65 | 0.747748 | 0 | 0 | 0 | 0 | 0.5 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
81fc9e03ce5881a3fced02c23d0afa40268a92b8 | 930 | py | Python | boto3_type_annotations/boto3_type_annotations/elbv2/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/elbv2/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/elbv2/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import List
from typing import Dict
from botocore.waiter import Waiter
class LoadBalancerAvailable(Waiter):
def wait(self, LoadBalancerArns: List = None, Names: List = None, Marker: str = None, PageSize: int = None, WaiterConfig: Dict = None):
pass
class LoadBalancerExists(Waiter):
def w... | 32.068966 | 139 | 0.7 | 109 | 930 | 5.972477 | 0.247706 | 0.09831 | 0.099846 | 0.130568 | 0.743472 | 0.743472 | 0.735791 | 0.735791 | 0.735791 | 0.735791 | 0 | 0 | 0.201075 | 930 | 28 | 140 | 33.214286 | 0.876178 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.277778 | 0.166667 | 0 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
c31a07065a140522cf5d1d54a85f2389ca0f48c1 | 14,377 | py | Python | scripts/conversion/tfchaintypes/transactions/Authcoin.py | threefoldadmin/tft-stellar | 78b3b0b6f35435b3ed068b60c0cf6198612bb21f | [
"Apache-2.0"
] | 7 | 2020-02-05T16:10:46.000Z | 2021-04-28T10:39:20.000Z | scripts/conversion/tfchaintypes/transactions/Authcoin.py | threefoldadmin/tft-stellar | 78b3b0b6f35435b3ed068b60c0cf6198612bb21f | [
"Apache-2.0"
] | 379 | 2020-01-13T10:22:21.000Z | 2022-03-23T08:59:57.000Z | scripts/conversion/tfchaintypes/transactions/Authcoin.py | threefoldadmin/tft-stellar | 78b3b0b6f35435b3ed068b60c0cf6198612bb21f | [
"Apache-2.0"
] | 3 | 2020-01-24T09:56:44.000Z | 2020-08-03T21:02:38.000Z | import random
from .Base import TransactionBaseClass, TransactionVersion
from ..FulfillmentTypes import FulfillmentBaseClass, FulfillmentSingleSignature, FulfillmentFactory
from ..ConditionTypes import ConditionBaseClass, ConditionNil, UnlockHash
from ..PrimitiveTypes import BinaryData, Currency
from ..IO import Coin... | 33.512821 | 141 | 0.630243 | 1,618 | 14,377 | 5.370828 | 0.111867 | 0.065823 | 0.06122 | 0.047641 | 0.83786 | 0.822325 | 0.802532 | 0.772727 | 0.74557 | 0.713003 | 0 | 0.007198 | 0.284969 | 14,377 | 428 | 142 | 33.591122 | 0.838132 | 0.089379 | 0 | 0.731544 | 0 | 0 | 0.090589 | 0.008605 | 0 | 0 | 0 | 0.002336 | 0 | 1 | 0.151007 | false | 0 | 0.020134 | 0.026846 | 0.345638 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c32041b96f53225e614982e7f87d28f5db514010 | 317,800 | py | Python | french_law/python/src/allocations_familiales.py | isovector/catala | 5663c616fdb124ac469f72cd5429fe92cdde1ed0 | [
"Apache-2.0"
] | null | null | null | french_law/python/src/allocations_familiales.py | isovector/catala | 5663c616fdb124ac469f72cd5429fe92cdde1ed0 | [
"Apache-2.0"
] | null | null | null | french_law/python/src/allocations_familiales.py | isovector/catala | 5663c616fdb124ac469f72cd5429fe92cdde1ed0 | [
"Apache-2.0"
] | null | null | null | # This file has been generated by the Catala compiler, do not edit!
from .catala import *
from typing import Any, List, Callable, Tuple
from enum import Enum
class PriseEnCharge_Code(Enum):
GardeAlterneePartageAllocations = 0
GardeAlterneeAllocataireUnique = 1
EffectiveEtPermanente = 2
ServicesSociau... | 76.137997 | 396 | 0.383342 | 21,132 | 317,800 | 5.359975 | 0.040886 | 0.036374 | 0.045424 | 0.028517 | 0.883488 | 0.832988 | 0.771478 | 0.727714 | 0.701361 | 0.681258 | 0 | 0.061369 | 0.568376 | 317,800 | 4,173 | 397 | 76.156243 | 0.764045 | 0.000205 | 0 | 0.653232 | 1 | 0.003802 | 0.105416 | 0.032008 | 0 | 0 | 0 | 0 | 0.000253 | 1 | 0.057034 | false | 0.000253 | 0.00076 | 0.016223 | 0.139164 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 | 8 |
c35e9acc16477719fe87c47513ffae09f91108e5 | 38 | py | Python | capsules/__init__.py | Ralphyan/VectorCapsNet | ea6911c44821bdf473d25edcc1b58248dad31f79 | [
"MIT"
] | 1 | 2022-02-08T09:33:16.000Z | 2022-02-08T09:33:16.000Z | capsules/__init__.py | Ralphyan/VectorCapsNet | ea6911c44821bdf473d25edcc1b58248dad31f79 | [
"MIT"
] | null | null | null | capsules/__init__.py | Ralphyan/VectorCapsNet | ea6911c44821bdf473d25edcc1b58248dad31f79 | [
"MIT"
] | null | null | null | from . import core
from . import nets
| 12.666667 | 18 | 0.736842 | 6 | 38 | 4.666667 | 0.666667 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 38 | 2 | 19 | 19 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6f250ee4f10baf9b2ad19a137501d6e657e670c4 | 5,185 | py | Python | test/echo_test.py | abhilashabhardwaj/pike | a1ad05b37231d8ac0a0442ab8d32a363e75ada9a | [
"Apache-2.0"
] | null | null | null | test/echo_test.py | abhilashabhardwaj/pike | a1ad05b37231d8ac0a0442ab8d32a363e75ada9a | [
"Apache-2.0"
] | null | null | null | test/echo_test.py | abhilashabhardwaj/pike | a1ad05b37231d8ac0a0442ab8d32a363e75ada9a | [
"Apache-2.0"
] | null | null | null | #
# Copyright (C) EMC Corporation. All rights reserved.
#
# Module Name:
#
# echo.py
#
# Abstract:
#
# Basic echo send/receive testing
#
# Authors: Lingaraj Gowdar (lingaraj.gowdar@calsoftinc.com)
#
import pike.model
import pike.smb2
import pike.test
import random
import array
import ut... | 42.85124 | 83 | 0.5892 | 566 | 5,185 | 5.243816 | 0.167845 | 0.080863 | 0.059299 | 0.01752 | 0.835243 | 0.819744 | 0.819744 | 0.819744 | 0.778639 | 0.722035 | 0 | 0.011227 | 0.295661 | 5,185 | 120 | 84 | 43.208333 | 0.801479 | 0.04378 | 0 | 0.676768 | 0 | 0 | 0.295789 | 0.02904 | 0 | 0 | 0 | 0 | 0.040404 | 0 | null | null | 0.040404 | 0.060606 | null | null | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
6f56526f1aee2b0ff7e88583ddd2d079ced7d222 | 10,122 | py | Python | fraction.py | socksgin/CollegeCode | ba283562cd3fc327f0433caa2edda58145d642c7 | [
"bzip2-1.0.6",
"Unlicense"
] | null | null | null | fraction.py | socksgin/CollegeCode | ba283562cd3fc327f0433caa2edda58145d642c7 | [
"bzip2-1.0.6",
"Unlicense"
] | null | null | null | fraction.py | socksgin/CollegeCode | ba283562cd3fc327f0433caa2edda58145d642c7 | [
"bzip2-1.0.6",
"Unlicense"
] | null | null | null | Python 3.2.3 (default, Apr 11 2012, 07:15:24) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
>>> 2**20
1048576
>>> 2**10
1024
>>> ================================ RESTART ===... | 35.515789 | 83 | 0.611836 | 1,816 | 10,122 | 3.40804 | 0.032489 | 0.11068 | 0.287769 | 0.464857 | 0.963968 | 0.963968 | 0.950881 | 0.950881 | 0.950881 | 0.950881 | 0 | 0.057763 | 0.221794 | 10,122 | 284 | 84 | 35.640845 | 0.727942 | 0 | 0 | 0.954225 | 0 | 0 | 0.32283 | 0.320289 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.003521 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
48cd5bc976fd05e5cf577c8a294c68880c4745f3 | 12,753 | py | Python | mayan/apps/user_management/tests/test_api.py | gerry-sabar/Mayan-EDMS | c51f8d213535bd8ed7e94d170ed688dc54a874e9 | [
"Apache-2.0"
] | null | null | null | mayan/apps/user_management/tests/test_api.py | gerry-sabar/Mayan-EDMS | c51f8d213535bd8ed7e94d170ed688dc54a874e9 | [
"Apache-2.0"
] | null | null | null | mayan/apps/user_management/tests/test_api.py | gerry-sabar/Mayan-EDMS | c51f8d213535bd8ed7e94d170ed688dc54a874e9 | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Group
from rest_framework import status
from mayan.apps.rest_api.tests import BaseAPITestCase
from ..permissions import (
permission_group_create, permission_group_delete,
permission... | 36.437143 | 93 | 0.739748 | 1,668 | 12,753 | 5.168465 | 0.04976 | 0.093725 | 0.05707 | 0.074701 | 0.915439 | 0.907783 | 0.894444 | 0.865793 | 0.83517 | 0.822178 | 0 | 0.008786 | 0.178938 | 12,753 | 349 | 94 | 36.541547 | 0.814535 | 0 | 0 | 0.718615 | 0 | 0 | 0.000784 | 0 | 0 | 0 | 0 | 0 | 0.242424 | 1 | 0.12987 | false | 0.030303 | 0.030303 | 0 | 0.17316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d2866f522e6af8e6eeec851b450432eb020d5cdd | 26,822 | py | Python | scripts/functions/vae.py | greenelab/Pseudomonas_latent_spaces | 0d78dc927a246c49f631abeddc0b952add4c6d0c | [
"BSD-3-Clause"
] | null | null | null | scripts/functions/vae.py | greenelab/Pseudomonas_latent_spaces | 0d78dc927a246c49f631abeddc0b952add4c6d0c | [
"BSD-3-Clause"
] | 12 | 2018-07-02T19:35:31.000Z | 2019-03-09T00:24:09.000Z | scripts/functions/vae.py | greenelab/Pseudomonas_latent_spaces | 0d78dc927a246c49f631abeddc0b952add4c6d0c | [
"BSD-3-Clause"
] | 1 | 2018-06-25T14:21:51.000Z | 2018-06-25T14:21:51.000Z | # -----------------------------------------------------------------------------------------------------------------------
# By Alexandra Lee
# (updated October 2018)
#
# Encode gene expression data into low dimensional latent space using
# Tybalt with 2-hidden layers
# --------------------------------------------------... | 45.771331 | 156 | 0.604504 | 3,048 | 26,822 | 5.109252 | 0.139108 | 0.020227 | 0.011558 | 0.016182 | 0.947602 | 0.942465 | 0.93797 | 0.935658 | 0.935658 | 0.935658 | 0 | 0.006593 | 0.180039 | 26,822 | 585 | 157 | 45.849573 | 0.701496 | 0.498024 | 0 | 0.822785 | 0 | 0 | 0.073184 | 0.046261 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008439 | false | 0 | 0.067511 | 0 | 0.075949 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d2bfe304f7a9b11218f295d33188fa457cc18063 | 195 | py | Python | fuzzing/run_fuzzing.py | jrs1061/wheatley | bd1143413495ef317970b9c6cedbc4903fdbf7a9 | [
"MIT"
] | 14 | 2020-08-16T21:41:13.000Z | 2021-07-13T01:15:01.000Z | fuzzing/run_fuzzing.py | jrs1061/wheatley | bd1143413495ef317970b9c6cedbc4903fdbf7a9 | [
"MIT"
] | 121 | 2020-08-13T16:54:46.000Z | 2021-09-17T10:32:04.000Z | fuzzing/run_fuzzing.py | Kneasle/wheatley | 9141bf8511dce737208731e55bfe138d48845319 | [
"MIT"
] | 10 | 2020-12-20T03:52:47.000Z | 2021-11-22T14:46:15.000Z | from .call_parsing import fuzz_parse_call
from .peal_speed_parsing import fuzz_parse_peal_speed
def run():
"""Run all the fuzzing tests"""
fuzz_parse_call()
fuzz_parse_peal_speed()
| 21.666667 | 53 | 0.764103 | 30 | 195 | 4.533333 | 0.466667 | 0.264706 | 0.25 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158974 | 195 | 8 | 54 | 24.375 | 0.829268 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d2ca0a90f6de23d48539ecf5eee14f219c2f95a8 | 12,447 | py | Python | app/migrations/0007_auto_20171002_1559.py | minerva22/mf-dataentry | ef95e2b7acf8ede83048f41079c46b07ec93a3cc | [
"MIT"
] | null | null | null | app/migrations/0007_auto_20171002_1559.py | minerva22/mf-dataentry | ef95e2b7acf8ede83048f41079c46b07ec93a3cc | [
"MIT"
] | null | null | null | app/migrations/0007_auto_20171002_1559.py | minerva22/mf-dataentry | ef95e2b7acf8ede83048f41079c46b07ec93a3cc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-10-02 15:59
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0006_auto_20171002_1236'),
]
operations = [
migrations.AlterField(
... | 32.669291 | 86 | 0.549932 | 1,039 | 12,447 | 6.39846 | 0.087584 | 0.219615 | 0.274519 | 0.318442 | 0.959537 | 0.959537 | 0.913809 | 0.90704 | 0.90704 | 0.887184 | 0 | 0.019364 | 0.340323 | 12,447 | 380 | 87 | 32.755263 | 0.790281 | 0.005463 | 0 | 0.965147 | 1 | 0 | 0.147624 | 0.010908 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005362 | 0 | 0.013405 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
d2d272475b42199756737eaa3e91522a030bb8b5 | 150 | py | Python | cloudnetpy/products/__init__.py | saveriogzz/cloudnetpy | baa3ed5f254425c5a9c787556ec652ea659b38ba | [
"MIT"
] | 13 | 2020-02-16T06:52:51.000Z | 2022-03-10T09:43:19.000Z | cloudnetpy/products/__init__.py | saveriogzz/cloudnetpy | baa3ed5f254425c5a9c787556ec652ea659b38ba | [
"MIT"
] | 17 | 2020-01-15T10:47:08.000Z | 2022-03-28T13:08:23.000Z | cloudnetpy/products/__init__.py | saveriogzz/cloudnetpy | baa3ed5f254425c5a9c787556ec652ea659b38ba | [
"MIT"
] | 12 | 2020-03-03T16:45:13.000Z | 2022-03-23T08:02:43.000Z | from .drizzle import generate_drizzle
from .classification import generate_classification
from .iwc import generate_iwc
from .lwc import generate_lwc
| 30 | 51 | 0.866667 | 20 | 150 | 6.3 | 0.35 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 150 | 4 | 52 | 37.5 | 0.940299 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
824dfb5ce8407c2f54b2a39aa7748766c40c83be | 144 | py | Python | genelang/bricks/OP2N.py | GabrielAmare/Genelang | af5294e900d2f79ff54375f9759c156a4b5a098a | [
"MIT"
] | null | null | null | genelang/bricks/OP2N.py | GabrielAmare/Genelang | af5294e900d2f79ff54375f9759c156a4b5a098a | [
"MIT"
] | null | null | null | genelang/bricks/OP2N.py | GabrielAmare/Genelang | af5294e900d2f79ff54375f9759c156a4b5a098a | [
"MIT"
] | null | null | null | from .OP2 import OP2
class OP2N(OP2):
def __str__(self):
return f"{str(self.items[0])}{str(self.symbols[0])}{str(self.items[1])}"
| 20.571429 | 80 | 0.625 | 24 | 144 | 3.583333 | 0.583333 | 0.325581 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058333 | 0.166667 | 144 | 6 | 81 | 24 | 0.658333 | 0 | 0 | 0 | 0 | 0.25 | 0.430556 | 0.430556 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
827a465adde88652ee07f88d8e3202f88ae46bb7 | 26,874 | py | Python | openstack/tests/unit/cloud/test_stack.py | anton-sidelnikov/openstacksdk | 98f0c67120b65814c3bd1663415e302551a14536 | [
"Apache-2.0"
] | null | null | null | openstack/tests/unit/cloud/test_stack.py | anton-sidelnikov/openstacksdk | 98f0c67120b65814c3bd1663415e302551a14536 | [
"Apache-2.0"
] | null | null | null | openstack/tests/unit/cloud/test_stack.py | anton-sidelnikov/openstacksdk | 98f0c67120b65814c3bd1663415e302551a14536 | [
"Apache-2.0"
] | null | null | null | # 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, software
# distributed under t... | 41.536321 | 79 | 0.514214 | 2,535 | 26,874 | 5.251677 | 0.068639 | 0.096672 | 0.088485 | 0.149027 | 0.899647 | 0.884925 | 0.874859 | 0.860963 | 0.848269 | 0.826936 | 0 | 0.004422 | 0.368944 | 26,874 | 646 | 80 | 41.600619 | 0.780588 | 0.019424 | 0 | 0.854484 | 0 | 0 | 0.121374 | 0.078512 | 0 | 0 | 0 | 0 | 0.050761 | 1 | 0.033841 | false | 0 | 0.010152 | 0 | 0.045685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
829e718d370d8e92deb1294691f43d900986fb04 | 14,136 | py | Python | youtubesearchpython/streamurlfetcher.py | marcelosiqueira/youtube-search-python | f2fbd1af4781840a76c27385366dd743aaf1ccac | [
"MIT"
] | 5 | 2021-03-25T12:09:07.000Z | 2021-06-07T06:33:43.000Z | youtubesearchpython/streamurlfetcher.py | marcelosiqueira/youtube-search-python | f2fbd1af4781840a76c27385366dd743aaf1ccac | [
"MIT"
] | null | null | null | youtubesearchpython/streamurlfetcher.py | marcelosiqueira/youtube-search-python | f2fbd1af4781840a76c27385366dd743aaf1ccac | [
"MIT"
] | null | null | null | from typing import Union
from youtubesearchpython.internal.streamurlfetcher import StreamURLFetcherInternal
class StreamURLFetcher(StreamURLFetcherInternal):
'''Gets direct stream URLs for a YouTube video fetched using `Video.get` or `Video.getFormats`.
This class can fetch direct video URLs without any addi... | 103.182482 | 1,081 | 0.713356 | 1,671 | 14,136 | 5.985637 | 0.20766 | 0.010798 | 0.017996 | 0.010798 | 0.745451 | 0.740152 | 0.727654 | 0.719356 | 0.711358 | 0.711358 | 0 | 0.163324 | 0.164049 | 14,136 | 136 | 1,082 | 103.941176 | 0.683084 | 0.893676 | 0 | 0.142857 | 0 | 0 | 0.092958 | 0.073239 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
82d53e2e7141b657585a740ec8c949fdd623b04e | 3,080 | py | Python | ebl/tests/signs/test_memoizing_sign_repository.py | ElectronicBabylonianLiterature/dictionary | 5977a57314cf57f94f75cd12520f178b1d6a6555 | [
"MIT"
] | 4 | 2020-04-12T14:24:51.000Z | 2020-10-15T15:48:15.000Z | ebl/tests/signs/test_memoizing_sign_repository.py | ElectronicBabylonianLiterature/dictionary | 5977a57314cf57f94f75cd12520f178b1d6a6555 | [
"MIT"
] | 200 | 2019-12-04T09:53:20.000Z | 2022-03-30T20:11:31.000Z | ebl/tests/signs/test_memoizing_sign_repository.py | ElectronicBabylonianLiterature/dictionary | 5977a57314cf57f94f75cd12520f178b1d6a6555 | [
"MIT"
] | 1 | 2021-09-06T16:22:39.000Z | 2021-09-06T16:22:39.000Z | from ebl.signs.infrastructure.menoizing_sign_repository import MemoizingSignRepository
def test_find_memoization(sign_repository, signs, when):
sign = signs[0]
memoizing_sign_repository = MemoizingSignRepository(sign_repository)
memoizing_sign_repository.create(sign)
first = memoizing_sign_repositor... | 31.428571 | 86 | 0.772727 | 383 | 3,080 | 5.890339 | 0.091384 | 0.266844 | 0.285461 | 0.154255 | 0.898493 | 0.893174 | 0.867021 | 0.785904 | 0.689273 | 0.62766 | 0 | 0.00613 | 0.152597 | 3,080 | 97 | 87 | 31.752577 | 0.858238 | 0 | 0 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 1 | 0.106061 | false | 0 | 0.015152 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
82e8d883fd2ccafa52d32f4e80d615c9a103b165 | 389,064 | py | Python | notebooks/code_aphid.py | Tungdil01/pdeco | 74f04c13554b72c0ce3e596209a1ab698fdab673 | [
"MIT"
] | 1 | 2020-11-10T22:29:25.000Z | 2020-11-10T22:29:25.000Z | notebooks/code_aphid.py | Tungdil01/pdeco | 74f04c13554b72c0ce3e596209a1ab698fdab673 | [
"MIT"
] | 3 | 2021-04-28T03:57:22.000Z | 2021-05-18T21:35:26.000Z | notebooks/code_aphid.py | Tungdil01/pdeco | 74f04c13554b72c0ce3e596209a1ab698fdab673 | [
"MIT"
] | 1 | 2021-05-10T18:45:59.000Z | 2021-05-10T18:45:59.000Z | #!/usr/bin/env python
# coding: utf-8
# # Aphid-Ladybeetle study
# In[1]:
import numpy as np # linear algebra
from numba import jit
import arviz as az
from arviz.utils import Numba
import matplotlib.pyplot as plt
from scipy.integrate import solve_ivp # to solve ODE system
import pandas as pd
import pymc3 as pm ... | 25.721539 | 282 | 0.682839 | 54,803 | 389,064 | 4.553619 | 0.017773 | 0.007073 | 0.009593 | 0.021318 | 0.963122 | 0.957604 | 0.951898 | 0.947378 | 0.939472 | 0.930592 | 0 | 0.035909 | 0.189876 | 389,064 | 15,125 | 283 | 25.72324 | 0.755843 | 0.106396 | 0 | 0.855387 | 0 | 0 | 0.080638 | 0.019066 | 0.00125 | 0 | 0 | 0 | 0 | 1 | 0.011982 | false | 0 | 0.020108 | 0 | 0.042821 | 0.01021 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7d9d88f17fc28810c68c615d6f4f99c923892e18 | 125 | py | Python | pyscf/neo/pbc/__init__.py | xu-xi/pyscf | 96191960d8a96956264b811eb34268eee53af586 | [
"Apache-2.0"
] | null | null | null | pyscf/neo/pbc/__init__.py | xu-xi/pyscf | 96191960d8a96956264b811eb34268eee53af586 | [
"Apache-2.0"
] | null | null | null | pyscf/neo/pbc/__init__.py | xu-xi/pyscf | 96191960d8a96956264b811eb34268eee53af586 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env/python
from pyscf.neo.pbc.cell import Cell
from pyscf.neo.pbc.hf import HF
from pyscf.neo.pbc.khf import KHF
| 20.833333 | 35 | 0.768 | 25 | 125 | 3.84 | 0.48 | 0.28125 | 0.375 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112 | 125 | 5 | 36 | 25 | 0.864865 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
7dc0ae3f18451b26cd8a8f16218dc469e476bbf3 | 190 | py | Python | pandases/operators/__init__.py | bearrundr/pandases | 1aff63b8a6da4bfb42abb1d9d22b94e06a8f3520 | [
"MIT"
] | null | null | null | pandases/operators/__init__.py | bearrundr/pandases | 1aff63b8a6da4bfb42abb1d9d22b94e06a8f3520 | [
"MIT"
] | null | null | null | pandases/operators/__init__.py | bearrundr/pandases | 1aff63b8a6da4bfb42abb1d9d22b94e06a8f3520 | [
"MIT"
] | 1 | 2020-07-27T11:38:25.000Z | 2020-07-27T11:38:25.000Z | # -*- coding: UTF-8 -*-
from pandases.operators.aggregator import *
from pandases.operators.grouper import *
from pandases.operators.filter import *
from pandases.operators.sorter import *
| 27.142857 | 43 | 0.773684 | 23 | 190 | 6.391304 | 0.478261 | 0.326531 | 0.571429 | 0.55102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.115789 | 190 | 6 | 44 | 31.666667 | 0.869048 | 0.110526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8160a91534f757de6780ce142427f1001c5b3861 | 4,892 | gyp | Python | ui/file_manager/externs/compiled_resources2.gyp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/file_manager/externs/compiled_resources2.gyp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/file_manager/externs/compiled_resources2.gyp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | # Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
########################################################
# NOTE: THIS FILE IS GENERATED. DO NOT EDIT IT! #
# Instead, run create_include_gyp.py to reg... | 32.832215 | 76 | 0.575838 | 472 | 4,892 | 5.567797 | 0.222458 | 0.129376 | 0.232877 | 0.32344 | 0.789193 | 0.789193 | 0.789193 | 0.789193 | 0.77169 | 0.77169 | 0 | 0.001269 | 0.194603 | 4,892 | 148 | 77 | 33.054054 | 0.665736 | 0.053557 | 0 | 0.242857 | 0 | 0 | 0.670215 | 0.453316 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8166dbd3fd14e0efce08a2a3597ce1f90e935903 | 7,539 | py | Python | src/domainClient/api/me_api.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 5 | 2021-04-12T04:10:42.000Z | 2021-04-28T05:54:22.000Z | src/domainClient/api/me_api.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 35 | 2020-05-26T14:21:37.000Z | 2022-03-29T16:14:42.000Z | src/domainClient/api/me_api.py | diabolical-ninja/smart-property-search | 0931c7c8195ec21cbd56768c9c84cea2927a9e1d | [
"MIT"
] | 2 | 2020-05-26T14:02:12.000Z | 2022-01-10T08:19:49.000Z | # coding: utf-8
"""
Domain Group API V1
Provides public access to Domain's microservices # noqa: E501
OpenAPI spec version: v1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatib... | 36.77561 | 186 | 0.628598 | 860 | 7,539 | 5.248837 | 0.189535 | 0.037218 | 0.02171 | 0.031901 | 0.874169 | 0.865973 | 0.865973 | 0.84537 | 0.840053 | 0.840053 | 0 | 0.015045 | 0.285847 | 7,539 | 204 | 187 | 36.955882 | 0.823366 | 0.362913 | 0 | 0.757282 | 1 | 0 | 0.173864 | 0.056749 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048544 | false | 0 | 0.038835 | 0 | 0.15534 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
816ec2ab2d0cc66c4d924dfeb05229d86bb2f06b | 7,571 | py | Python | LabReport/Lab4/show_post_of_category.py | Liu-Hong-De/Software_test | 068bbadd7b6d369445994e16aea4289618337910 | [
"Apache-2.0"
] | null | null | null | LabReport/Lab4/show_post_of_category.py | Liu-Hong-De/Software_test | 068bbadd7b6d369445994e16aea4289618337910 | [
"Apache-2.0"
] | 1 | 2022-01-21T23:39:34.000Z | 2022-01-21T23:39:34.000Z | LabReport/Lab4/show_post_of_category.py | Liu-Hong-De/Software_test | 068bbadd7b6d369445994e16aea4289618337910 | [
"Apache-2.0"
] | null | null | null | import unittest
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
class ShowPostOfCategory(unittest.TestCase):
# use the demo account to sign in
def setUp(self):
self.driver = webdriver.Chrome()
driver =self.driver
driver.implicitly_wait(20) ... | 50.139073 | 242 | 0.648131 | 1,079 | 7,571 | 4.339203 | 0.134384 | 0.100384 | 0.163392 | 0.182614 | 0.845792 | 0.828919 | 0.804998 | 0.792824 | 0.785775 | 0.785775 | 0 | 0.02365 | 0.212521 | 7,571 | 151 | 243 | 50.139073 | 0.761657 | 0.04504 | 0 | 0.8 | 0 | 0.1 | 0.310326 | 0.084685 | 0 | 0 | 0 | 0 | 0.015385 | 1 | 0.030769 | false | 0.007692 | 0.030769 | 0 | 0.069231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
817f0c4b21cf9ad11d4488a6d0ae230cfcad5964 | 4,227 | py | Python | stupidb/tests/test_navigation.py | mrcrnkovich/stupidb | 4274f60b7f8f2455c0031c73e053964d4d3e3e1d | [
"Apache-2.0"
] | 43 | 2018-12-29T22:14:55.000Z | 2022-03-17T03:38:16.000Z | stupidb/tests/test_navigation.py | mrcrnkovich/stupidb | 4274f60b7f8f2455c0031c73e053964d4d3e3e1d | [
"Apache-2.0"
] | 102 | 2021-07-19T21:20:22.000Z | 2022-03-22T02:57:02.000Z | stupidb/tests/test_navigation.py | mrcrnkovich/stupidb | 4274f60b7f8f2455c0031c73e053964d4d3e3e1d | [
"Apache-2.0"
] | 3 | 2021-12-04T19:14:33.000Z | 2022-01-08T17:28:36.000Z | from __future__ import annotations
from datetime import date
from typing import Mapping
from stupidb import Window, const, first, get, lag, last, lead, nth, over, select, table
from .conftest import Element, assert_rowset_equal
def test_first_last(t_rows: list[dict[str, Element]]) -> None:
window = Window.rang... | 31.080882 | 88 | 0.564467 | 570 | 4,227 | 3.982456 | 0.096491 | 0.109251 | 0.163877 | 0.177533 | 0.829956 | 0.814978 | 0.744934 | 0.744934 | 0.744934 | 0.662996 | 0 | 0.067572 | 0.285782 | 4,227 | 135 | 89 | 31.311111 | 0.684333 | 0 | 0 | 0.663934 | 0 | 0 | 0.011356 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 1 | 0.040984 | false | 0 | 0.040984 | 0 | 0.081967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
81b15ab2ebd9e6ea648ebb18c81a4d26cb4583fe | 19,342 | py | Python | tests/test_plugin_dependency.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 70 | 2015-12-05T12:33:10.000Z | 2022-03-03T04:56:58.000Z | tests/test_plugin_dependency.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 711 | 2015-10-06T11:01:48.000Z | 2022-02-09T12:40:47.000Z | tests/test_plugin_dependency.py | kbh2o/slash | 532b7e3acdf46103ece5b86f21c29f9b58587289 | [
"BSD-3-Clause"
] | 37 | 2015-10-13T11:00:51.000Z | 2022-02-08T07:28:11.000Z | import pytest
import slash.plugins
from .conftest import Checkpoint
from .utils import maybe_decorate
from slash.plugins import PluginInterface
from gossip.exceptions import CannotResolveDependencies
@pytest.mark.parametrize('needs_decorate_method', [True, False])
@pytest.mark.parametrize('provides_decorate_method', ... | 33.814685 | 168 | 0.668907 | 2,266 | 19,342 | 5.560018 | 0.066637 | 0.077149 | 0.044051 | 0.061672 | 0.888245 | 0.866497 | 0.821891 | 0.809032 | 0.796968 | 0.796968 | 0 | 0.002867 | 0.224537 | 19,342 | 571 | 169 | 33.873905 | 0.837122 | 0.2234 | 0 | 0.889535 | 0 | 0 | 0.023706 | 0.00447 | 0 | 0 | 0 | 0 | 0.090116 | 1 | 0.218023 | false | 0.052326 | 0.017442 | 0.055233 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
81b33657547a44b5052f43438ac698b630eaded1 | 59,617 | py | Python | autodiff/forward.py | D-Y-F-S/cs207-FinalProject | 57270ccbf7db7f3c1f4deff97af67b3c962fb205 | [
"MIT"
] | null | null | null | autodiff/forward.py | D-Y-F-S/cs207-FinalProject | 57270ccbf7db7f3c1f4deff97af67b3c962fb205 | [
"MIT"
] | null | null | null | autodiff/forward.py | D-Y-F-S/cs207-FinalProject | 57270ccbf7db7f3c1f4deff97af67b3c962fb205 | [
"MIT"
] | 2 | 2018-12-15T20:45:53.000Z | 2018-12-15T21:43:32.000Z | """
This file contains the central data structure and functions related to the
forward mode auto differentiation.
"""
import numpy as np
class Expression:
"""
This is a class for representing expression.
It is the super class for variable and constant.
"""
def __init__(self, ele_func, sub_expr1,... | 32.000537 | 105 | 0.578241 | 7,096 | 59,617 | 4.697858 | 0.032694 | 0.083753 | 0.027298 | 0.036477 | 0.887059 | 0.858651 | 0.835553 | 0.812185 | 0.785037 | 0.770278 | 0 | 0.021621 | 0.337454 | 59,617 | 1,863 | 106 | 32.000537 | 0.82235 | 0.398091 | 0 | 0.546042 | 0 | 0 | 0.037026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.203554 | false | 0 | 0.001616 | 0.037157 | 0.502423 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c4a96de0ece39e2a0320359bc68df8ef91b9ecec | 38,504 | py | Python | tests/vfs/tsk_file_entry.py | dfrc-korea/dfvfs | 7be70af72f56f4feadd50206e33b0f5024907473 | [
"Apache-2.0"
] | 1 | 2021-02-15T03:41:46.000Z | 2021-02-15T03:41:46.000Z | tests/vfs/tsk_file_entry.py | dfrc-korea/dfvfs | 7be70af72f56f4feadd50206e33b0f5024907473 | [
"Apache-2.0"
] | null | null | null | tests/vfs/tsk_file_entry.py | dfrc-korea/dfvfs | 7be70af72f56f4feadd50206e33b0f5024907473 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for the file entry implementation using the SleuthKit (TSK)."""
import unittest
import pytsk3
from dfvfs.path import os_path_spec
from dfvfs.path import qcow_path_spec
from dfvfs.path import tsk_path_spec
from dfvfs.resolver import context
from dfvfs.vfs import ... | 36.290292 | 79 | 0.749351 | 4,743 | 38,504 | 5.719165 | 0.058613 | 0.090577 | 0.048404 | 0.070191 | 0.92804 | 0.900723 | 0.870714 | 0.864337 | 0.849923 | 0.847453 | 0 | 0.025036 | 0.154555 | 38,504 | 1,060 | 80 | 36.324528 | 0.808251 | 0.101132 | 0 | 0.848276 | 0 | 0 | 0.061219 | 0.039255 | 0 | 0 | 0.00146 | 0.000943 | 0.314483 | 1 | 0.084138 | false | 0.002759 | 0.012414 | 0 | 0.111724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c4bdf4d612382c722fa3389cba85d3514a9bcb8d | 39,710 | py | Python | nova/tests/scheduler/test_host_filters.py | 781778304/nova | 05aff1959c9f94dae095635133386418390efb37 | [
"Apache-2.0"
] | null | null | null | nova/tests/scheduler/test_host_filters.py | 781778304/nova | 05aff1959c9f94dae095635133386418390efb37 | [
"Apache-2.0"
] | null | null | null | nova/tests/scheduler/test_host_filters.py | 781778304/nova | 05aff1959c9f94dae095635133386418390efb37 | [
"Apache-2.0"
] | null | null | null | # Copyright 2011 OpenStack LLC. # All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | 43.069414 | 79 | 0.572627 | 3,936 | 39,710 | 5.495681 | 0.089431 | 0.039804 | 0.03458 | 0.053442 | 0.8363 | 0.823217 | 0.81337 | 0.795849 | 0.779853 | 0.747446 | 0 | 0.018241 | 0.30005 | 39,710 | 921 | 80 | 43.116178 | 0.759993 | 0.046235 | 0 | 0.656043 | 0 | 0 | 0.163373 | 0.020637 | 0 | 0 | 0 | 0 | 0.096946 | 1 | 0.084993 | false | 0.118194 | 0.015936 | 0.003984 | 0.111554 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
c4c8d79be5e07ecfdbbae83201e30069b79d7435 | 4,106 | py | Python | get.py | chen86860/WYUStudentSocreCalculator | 0437b6ebd7caccf6820a97e08b5d4818383cf7e2 | [
"MIT"
] | null | null | null | get.py | chen86860/WYUStudentSocreCalculator | 0437b6ebd7caccf6820a97e08b5d4818383cf7e2 | [
"MIT"
] | null | null | null | get.py | chen86860/WYUStudentSocreCalculator | 0437b6ebd7caccf6820a97e08b5d4818383cf7e2 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
__author__ = '星星'
import urllib
import urllib2
import cookielib
import string
TskUrl = "http://202.192.240.54/tbx/tsk/savesel.aspx"
User_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36"
Refere = "http://202.192.240.54/... | 83.795918 | 477 | 0.709937 | 803 | 4,106 | 3.541719 | 0.219178 | 0.022504 | 0.029536 | 0.033755 | 0.668425 | 0.668425 | 0.659986 | 0.645218 | 0.645218 | 0.63045 | 0 | 0.366844 | 0.081831 | 4,106 | 49 | 478 | 83.795918 | 0.387533 | 0.420848 | 0 | 0 | 0 | 0.410256 | 0.703501 | 0.603543 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.102564 | null | null | 0.025641 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c4cc7c0a26bdb08f518075da003699866129499a | 173 | py | Python | Lesson_1/square.py | LPetrova/Python | 0be5939ecfc5f0fecce33fee314bfe534aed8efd | [
"MIT"
] | null | null | null | Lesson_1/square.py | LPetrova/Python | 0be5939ecfc5f0fecce33fee314bfe534aed8efd | [
"MIT"
] | null | null | null | Lesson_1/square.py | LPetrova/Python | 0be5939ecfc5f0fecce33fee314bfe534aed8efd | [
"MIT"
] | null | null | null | import turtle
size = 70
turtle.forward(size)
turtle.left(90)
turtle.forward(size)
turtle.left(90)
turtle.forward(size)
turtle.left(90)
turtle.forward(size)
turtle.left(90) | 14.416667 | 20 | 0.774566 | 28 | 173 | 4.785714 | 0.25 | 0.38806 | 0.507463 | 0.686567 | 0.865672 | 0.865672 | 0.865672 | 0.865672 | 0.865672 | 0.865672 | 0 | 0.062893 | 0.080925 | 173 | 12 | 21 | 14.416667 | 0.779874 | 0 | 0 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c4d44c8e2022a088efaf358e9577cedf3925722b | 177,920 | py | Python | multivis/edgeBundle.py | brettChapman/cimcb_vis | b373ed426b24ece1dcc20febd7c8023921b024d6 | [
"MIT"
] | null | null | null | multivis/edgeBundle.py | brettChapman/cimcb_vis | b373ed426b24ece1dcc20febd7c8023921b024d6 | [
"MIT"
] | null | null | null | multivis/edgeBundle.py | brettChapman/cimcb_vis | b373ed426b24ece1dcc20febd7c8023921b024d6 | [
"MIT"
] | null | null | null | import os
import sys
from string import Template
import numpy as np
import pandas as pd
import copy
import webbrowser as wb
import matplotlib
import matplotlib.pyplot as plt
from .utils import *
class edgeBundle:
usage = """Produces an interactive hierarchical edge bundle in D3.js, from nodes and edges.
P... | 51.600928 | 3,807 | 0.414782 | 14,391 | 177,920 | 4.999305 | 0.056633 | 0.011342 | 0.0103 | 0.02135 | 0.871096 | 0.857919 | 0.84559 | 0.837918 | 0.829147 | 0.822767 | 0 | 0.011895 | 0.480722 | 177,920 | 3,448 | 3,808 | 51.600928 | 0.766815 | 0.001518 | 0 | 0.74925 | 0 | 0.053223 | 0.838827 | 0.155876 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007871 | false | 0 | 0.017241 | 0 | 0.040105 | 0.014243 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
c4d847b499d717984dc63570952952722a9614ff | 7,260 | py | Python | visualization/sensors.py | h-mayorquin/time_series_basic | 654fb67ef6258b3f200c15a2b8068ab9300401d7 | [
"BSD-3-Clause"
] | null | null | null | visualization/sensors.py | h-mayorquin/time_series_basic | 654fb67ef6258b3f200c15a2b8068ab9300401d7 | [
"BSD-3-Clause"
] | null | null | null | visualization/sensors.py | h-mayorquin/time_series_basic | 654fb67ef6258b3f200c15a2b8068ab9300401d7 | [
"BSD-3-Clause"
] | null | null | null | """
Visualize function realted to the sensors
"""
import matplotlib.pyplot as plt
from mpl_toolkits.axes_grid1 import make_axes_locatable
import seaborn as sns
import numpy as np
import nexa.loading as load
sns.set(style='white')
def visualize_STDM(nexa_object, ax=None):
"""
Routine which plots using seaborn... | 28.470588 | 73 | 0.605923 | 971 | 7,260 | 4.397528 | 0.176107 | 0.030913 | 0.015457 | 0.01171 | 0.813583 | 0.765808 | 0.759016 | 0.742155 | 0.728571 | 0.728571 | 0 | 0.018196 | 0.28843 | 7,260 | 254 | 74 | 28.582677 | 0.808362 | 0.151102 | 0 | 0.79085 | 0 | 0 | 0.054407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03268 | false | 0 | 0.03268 | 0 | 0.104575 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c4f2a1c1d9195376a459d2b9a60f9b3417647077 | 100 | py | Python | shadowhand_gym/envs/tasks/__init__.py | szahlner/shadowhand-gym | a7fbbe8ddcc2ecbead9349b0f377a3066ca94233 | [
"MIT"
] | 11 | 2021-08-30T12:09:16.000Z | 2021-12-13T15:10:27.000Z | shadowhand_gym/envs/tasks/__init__.py | szahlner/shadowhand-gym | a7fbbe8ddcc2ecbead9349b0f377a3066ca94233 | [
"MIT"
] | null | null | null | shadowhand_gym/envs/tasks/__init__.py | szahlner/shadowhand-gym | a7fbbe8ddcc2ecbead9349b0f377a3066ca94233 | [
"MIT"
] | null | null | null | from shadowhand_gym.envs.tasks.reach import Reach
from shadowhand_gym.envs.tasks.block import Block
| 33.333333 | 49 | 0.86 | 16 | 100 | 5.25 | 0.5 | 0.333333 | 0.404762 | 0.5 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
f21b5516002873952cdf2344898cd77f63730f62 | 959 | py | Python | app/migrations/0005_auto_20201111_2107.py | 1-gut/musicsamples | a2846cb91534885ba5ef82d893658c2c74302455 | [
"MIT"
] | null | null | null | app/migrations/0005_auto_20201111_2107.py | 1-gut/musicsamples | a2846cb91534885ba5ef82d893658c2c74302455 | [
"MIT"
] | 11 | 2022-02-01T20:49:15.000Z | 2022-03-28T18:17:46.000Z | app/migrations/0005_auto_20201111_2107.py | 1-gut/musicsamples | a2846cb91534885ba5ef82d893658c2c74302455 | [
"MIT"
] | 2 | 2021-09-17T08:38:14.000Z | 2021-09-17T10:21:25.000Z | # Generated by Django 3.1.2 on 2020-11-11 21:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("app", "0004_historicalsample"),
]
operations = [
migrations.AddField(
model_name="historicalsample",
name="sample_vo... | 28.205882 | 73 | 0.584984 | 95 | 959 | 5.768421 | 0.4 | 0.109489 | 0.167883 | 0.19708 | 0.733577 | 0.733577 | 0.733577 | 0.733577 | 0.625912 | 0.625912 | 0 | 0.034277 | 0.300313 | 959 | 33 | 74 | 29.060606 | 0.782414 | 0.046924 | 0 | 0.740741 | 1 | 0 | 0.144737 | 0.023026 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
480d4191c44ca1f5784c2abf84844dcb578c2a6a | 32 | py | Python | test/regression/features/lists/list_append.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 137 | 2015-02-13T21:03:23.000Z | 2021-11-24T03:53:55.000Z | test/regression/features/lists/list_append.py | ppelleti/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 4 | 2015-04-01T13:49:13.000Z | 2019-07-09T19:28:56.000Z | test/regression/features/lists/list_append.py | bjpop/berp | 30925288376a6464695341445688be64ac6b2600 | [
"BSD-3-Clause"
] | 8 | 2015-04-25T03:47:52.000Z | 2019-07-27T06:33:56.000Z | print([1,2,3] + [4,5,6,7] + [])
| 16 | 31 | 0.375 | 8 | 32 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 0.15625 | 32 | 1 | 32 | 32 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
48394a5e90fb39a8a4d4b29f7a66203d3831e541 | 26,528 | py | Python | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/clear/bgp/clear.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/clear/bgp/clear.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | 1 | 2020-08-01T00:59:29.000Z | 2020-08-01T00:59:32.000Z | pkgs/sdk-pkg/src/genie/libs/sdk/triggers/clear/bgp/clear.py | miott/genielibs | 6464642cdd67aa2367bdbb12561af4bb060e5e62 | [
"Apache-2.0"
] | null | null | null | '''Common implementation for bgp clear triggers'''
# python
from functools import partial
# genie libs
from genie.libs.sdk.libs.utils.mapping import Mapping
from genie.libs.sdk.triggers.clear.clear import TriggerClear, verify_clear_callable
from genie.libs.sdk.libs.utils.triggeractions import CompareUptime
# Ignore ... | 59.214286 | 114 | 0.419783 | 2,000 | 26,528 | 5.4075 | 0.075 | 0.057698 | 0.050485 | 0.040222 | 0.905502 | 0.905502 | 0.898844 | 0.897642 | 0.897642 | 0.897642 | 0 | 0.002151 | 0.439196 | 26,528 | 447 | 115 | 59.346756 | 0.72481 | 0.144753 | 0 | 0.878205 | 0 | 0 | 0.252896 | 0.006456 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003205 | 0.012821 | 0 | 0.141026 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
486cc2208dc9b5ba64b66938ab1d370515875e65 | 10,015 | py | Python | modules/super_lattice.py | tbcole/majoranaJJ | dcf31f7786fa0a4874a940b7d8dcdd55f3921a46 | [
"MIT"
] | null | null | null | modules/super_lattice.py | tbcole/majoranaJJ | dcf31f7786fa0a4874a940b7d8dcdd55f3921a46 | [
"MIT"
] | 2 | 2020-03-24T23:46:17.000Z | 2020-04-19T20:29:08.000Z | modules/super_lattice.py | tbcole/majoranaJJ | dcf31f7786fa0a4874a940b7d8dcdd55f3921a46 | [
"MIT"
] | 3 | 2020-04-30T08:48:12.000Z | 2022-01-26T12:15:15.000Z | import numpy as np
from numpy import sqrt
class shapes:
def square(Nx, Ny):
N = Nx*Ny
coor = np.zeros((N,2))
for i in range(Nx):
for j in range(Ny):
n = i + Nx * j
#x = i, y = j
coor[n, 0] = i
coor[n, 1] = j
... | 34.534483 | 450 | 0.473889 | 1,651 | 10,015 | 2.843125 | 0.104179 | 0.014487 | 0.019173 | 0.035151 | 0.893907 | 0.88006 | 0.867916 | 0.860673 | 0.854282 | 0.83447 | 0 | 0.0419 | 0.394708 | 10,015 | 289 | 451 | 34.653979 | 0.732432 | 0.027059 | 0 | 0.763636 | 0 | 0 | 0.002056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.013636 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6f8ee6861407b8a461192395688c62f6e14e2015 | 7,422 | py | Python | src/create_new.py | quartztester/Youtube_Scraper | 8f463e795cc7cce9896dd52994b39ecf3a2bebcd | [
"MIT"
] | null | null | null | src/create_new.py | quartztester/Youtube_Scraper | 8f463e795cc7cce9896dd52994b39ecf3a2bebcd | [
"MIT"
] | null | null | null | src/create_new.py | quartztester/Youtube_Scraper | 8f463e795cc7cce9896dd52994b39ecf3a2bebcd | [
"MIT"
] | null | null | null | import sqlite3
import os
def create_new():
conn = sqlite3.connect('youtube.db')
cur = conn.cursor()
cur.execute("""CREATE TABLE IF NOT EXISTS tb_channels (
Channel_ID TEXT PRIMARY KEY,
Channel_title TEXT,
Published_At TEXT NOT NULL,
Country TEXT,
Vie... | 30.925 | 95 | 0.625842 | 890 | 7,422 | 4.993258 | 0.135955 | 0.090009 | 0.064131 | 0.085509 | 0.856661 | 0.822232 | 0.783753 | 0.769352 | 0.720297 | 0.654815 | 0 | 0.000782 | 0.311237 | 7,422 | 239 | 96 | 31.054393 | 0.868545 | 0.023309 | 0 | 0.649533 | 0 | 0 | 0.768084 | 0.005798 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014019 | false | 0.014019 | 0.009346 | 0 | 0.023364 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6fcc1cf6f6cba7300e13b2a85e6a1b53a5c40aef | 5,062 | py | Python | scripts/models.py | tabris2015/robocar | 602fcc8fb111b3c21111fef57ace467b80f86d9f | [
"MIT"
] | 1 | 2018-04-28T21:44:07.000Z | 2018-04-28T21:44:07.000Z | scripts/models.py | tabris2015/robocar | 602fcc8fb111b3c21111fef57ace467b80f86d9f | [
"MIT"
] | null | null | null | scripts/models.py | tabris2015/robocar | 602fcc8fb111b3c21111fef57ace467b80f86d9f | [
"MIT"
] | null | null | null | from keras.models import model_from_json
import numpy as np
import tensorflow as tf
from keras.models import Sequential
from keras.models import Model
from keras.layers import Input, Dense, Dropout, Flatten
from keras.layers import Conv2D, MaxPooling2D, BatchNormalization
from keras.layers import Activation
from keras ... | 33.746667 | 93 | 0.661596 | 724 | 5,062 | 4.537293 | 0.122928 | 0.121766 | 0.092542 | 0.107154 | 0.89376 | 0.881583 | 0.856012 | 0.814612 | 0.791476 | 0.776865 | 0 | 0.050071 | 0.163572 | 5,062 | 150 | 94 | 33.746667 | 0.725791 | 0.028052 | 0 | 0.75 | 0 | 0 | 0.065107 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.194444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6fff630173a07f4d16a10e2758779ff76a57f87e | 12,318 | py | Python | model/encoder.py | sahara2001/editsql | d4325ac996d1ed0069def6d349e43e2a1914e761 | [
"MIT"
] | null | null | null | model/encoder.py | sahara2001/editsql | d4325ac996d1ed0069def6d349e43e2a1914e761 | [
"MIT"
] | null | null | null | model/encoder.py | sahara2001/editsql | d4325ac996d1ed0069def6d349e43e2a1914e761 | [
"MIT"
] | null | null | null | """ Contains code for encoding an input sequence. """
import torch
import torch.nn.functional as F
from .torch_utils import create_multilayer_lstm_params, encode_sequence,encode_sequence_bert
from .gated_graph_conv import GatedGraphConv
class Encoder(torch.nn.Module):
""" Encodes an input sequence. """
def _... | 40.923588 | 169 | 0.621773 | 1,518 | 12,318 | 4.810277 | 0.092227 | 0.023829 | 0.037387 | 0.040263 | 0.886059 | 0.886059 | 0.886059 | 0.881265 | 0.881265 | 0.872501 | 0 | 0.010267 | 0.280484 | 12,318 | 301 | 170 | 40.923588 | 0.813607 | 0.283812 | 0 | 0.846667 | 0 | 0 | 0.011447 | 0 | 0 | 0 | 0 | 0.003322 | 0.033333 | 1 | 0.053333 | false | 0 | 0.026667 | 0 | 0.133333 | 0.006667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
82f80a1460641d518fb1f7c4b49a4396c7782072 | 8,483 | py | Python | tests/test_iris_net.py | xausssr/nnreslib | 2b3932df41369c329040603154418bb5512506b8 | [
"MIT"
] | null | null | null | tests/test_iris_net.py | xausssr/nnreslib | 2b3932df41369c329040603154418bb5512506b8 | [
"MIT"
] | 3 | 2021-07-25T20:40:44.000Z | 2021-07-26T08:36:03.000Z | tests/test_iris_net.py | xausssr/nnreslib | 2b3932df41369c329040603154418bb5512506b8 | [
"MIT"
] | null | null | null | # import matplotlib.pyplot as plt
# from nnreslib.utils.metrics import OpMode
import numpy as np
import tensorflow as tf
from nnreslib.architecture import ArchitectureType
from nnreslib.layers import FullyConnectedLayer, InputLayer
from nnreslib.model import Model
from nnreslib.utils.types import ActivationFunctions,... | 27.722222 | 107 | 0.595898 | 1,057 | 8,483 | 4.648061 | 0.103122 | 0.039894 | 0.045593 | 0.025646 | 0.85976 | 0.852636 | 0.847547 | 0.783228 | 0.783228 | 0.783228 | 0 | 0.058944 | 0.254037 | 8,483 | 305 | 108 | 27.813115 | 0.717446 | 0.091477 | 0 | 0.811715 | 0 | 0 | 0.041732 | 0.019111 | 0 | 0 | 0 | 0 | 0.058577 | 1 | 0.029289 | false | 0 | 0.025105 | 0 | 0.054393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d21a52c0f81c6235782ad5477881d6625a11c797 | 164 | py | Python | instruction/field/__init__.py | HansGR/WorldsCollide | af227be553e120ee004b130598360c61daf7df59 | [
"MIT"
] | 7 | 2022-01-15T02:53:53.000Z | 2022-02-17T00:51:32.000Z | instruction/field/__init__.py | HansGR/WorldsCollide | af227be553e120ee004b130598360c61daf7df59 | [
"MIT"
] | 8 | 2022-01-16T02:45:24.000Z | 2022-03-21T02:08:27.000Z | instruction/field/__init__.py | HansGR/WorldsCollide | af227be553e120ee004b130598360c61daf7df59 | [
"MIT"
] | 5 | 2022-01-15T02:53:38.000Z | 2022-01-19T17:42:10.000Z | from instruction.field.instructions import *
from instruction.field.functions import *
from instruction.field.custom import *
from instruction.field.y_npc import *
| 32.8 | 44 | 0.829268 | 21 | 164 | 6.428571 | 0.428571 | 0.444444 | 0.592593 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 164 | 4 | 45 | 41 | 0.912162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d22e5c4318ee7ef3799f51b440d0f169631ff64e | 5,844 | py | Python | tests/test_drm_license_error.py | Accelize/drm | 081ef761de50b526523b692c3a8decf290714ed0 | [
"Apache-2.0"
] | 4 | 2021-02-21T09:11:50.000Z | 2021-11-29T02:34:07.000Z | tests/test_drm_license_error.py | Accelize/drm | 081ef761de50b526523b692c3a8decf290714ed0 | [
"Apache-2.0"
] | null | null | null | tests/test_drm_license_error.py | Accelize/drm | 081ef761de50b526523b692c3a8decf290714ed0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test metering and floating behaviors of DRM Library.
"""
import pytest
from time import sleep
from random import randint
from datetime import datetime, timedelta
from re import search
from json import loads, dumps
from flask import request as _request
from requests import get, post
from test... | 36.074074 | 114 | 0.691478 | 741 | 5,844 | 5.186235 | 0.190283 | 0.034608 | 0.033828 | 0.052043 | 0.811606 | 0.802758 | 0.78012 | 0.761124 | 0.761124 | 0.728858 | 0 | 0.003742 | 0.222621 | 5,844 | 161 | 115 | 36.298137 | 0.842175 | 0.103183 | 0 | 0.857143 | 0 | 0 | 0.062198 | 0 | 0 | 0 | 0 | 0 | 0.184874 | 1 | 0.02521 | false | 0 | 0.07563 | 0 | 0.10084 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
96bc7368532d2026d8b8f9e150620f5478823fd8 | 9,241 | py | Python | tests/unit/bokeh/core/property/test_numeric.py | jeisch/bokeh | 6be4d5ebbec04117f2bb0693fe64dc664f8f1bb1 | [
"BSD-3-Clause"
] | 1 | 2020-03-21T04:11:51.000Z | 2020-03-21T04:11:51.000Z | tests/unit/bokeh/core/property/test_numeric.py | jeisch/bokeh | 6be4d5ebbec04117f2bb0693fe64dc664f8f1bb1 | [
"BSD-3-Clause"
] | 2 | 2021-05-08T11:43:21.000Z | 2021-05-10T19:16:43.000Z | tests/unit/bokeh/core/property/test_numeric.py | jeisch/bokeh | 6be4d5ebbec04117f2bb0693fe64dc664f8f1bb1 | [
"BSD-3-Clause"
] | null | null | null | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | 27.834337 | 78 | 0.525592 | 1,133 | 9,241 | 4.113857 | 0.082083 | 0.155761 | 0.285561 | 0.228492 | 0.821927 | 0.790388 | 0.780734 | 0.715083 | 0.715083 | 0.701352 | 0 | 0.025057 | 0.244238 | 9,241 | 331 | 79 | 27.918429 | 0.642325 | 0.183422 | 0 | 0.805687 | 0 | 0 | 0.01585 | 0 | 0 | 0 | 0 | 0.003021 | 0.630332 | 1 | 0.127962 | false | 0 | 0.023697 | 0 | 0.180095 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
738411cd5f30c3d6bc607ae9f0811f3682159406 | 245 | py | Python | tools/templates/test/src/main/python/test6/modules.py | fanqingbo/smv | 7fdcc63fee36a3a44562594a96e9e69bf9aa51b7 | [
"Apache-2.0"
] | null | null | null | tools/templates/test/src/main/python/test6/modules.py | fanqingbo/smv | 7fdcc63fee36a3a44562594a96e9e69bf9aa51b7 | [
"Apache-2.0"
] | null | null | null | tools/templates/test/src/main/python/test6/modules.py | fanqingbo/smv | 7fdcc63fee36a3a44562594a96e9e69bf9aa51b7 | [
"Apache-2.0"
] | null | null | null | from smv import *
class M2(SmvPyModule, SmvPyOutput):
def requiresDS(self):
return [ SmvPyExtDataSet("org.tresamigos.smvtest.test6.M1") ]
def run(self, i):
return i[ SmvPyExtDataSet("org.tresamigos.smvtest.test6.M1") ]
| 27.222222 | 70 | 0.681633 | 29 | 245 | 5.758621 | 0.655172 | 0.215569 | 0.335329 | 0.419162 | 0.502994 | 0.502994 | 0 | 0 | 0 | 0 | 0 | 0.025126 | 0.187755 | 245 | 8 | 71 | 30.625 | 0.81407 | 0 | 0 | 0 | 0 | 0 | 0.253061 | 0.253061 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
73f6430a598cf838e8116ea5f9abb6619ba107a8 | 21,226 | py | Python | libsolace/items/SolaceBridge.py | ExalDraen/python-libsolace | 76abd2ac8b9f2c579fa9c23ae0c988ce001fabaf | [
"MIT"
] | null | null | null | libsolace/items/SolaceBridge.py | ExalDraen/python-libsolace | 76abd2ac8b9f2c579fa9c23ae0c988ce001fabaf | [
"MIT"
] | null | null | null | libsolace/items/SolaceBridge.py | ExalDraen/python-libsolace | 76abd2ac8b9f2c579fa9c23ae0c988ce001fabaf | [
"MIT"
] | 2 | 2019-09-06T23:47:35.000Z | 2020-09-14T10:06:07.000Z | import logging
import libsolace
from libsolace import Plugin
from libsolace.SolaceAPI import SolaceAPI
from libsolace.SolaceCommandQueue import SolaceCommandQueue
from libsolace.SolaceXMLBuilder import SolaceXMLBuilder
from libsolace.items.SolaceQueue import SolaceQueue
logger = logging.getLogger(__name__)
logger.add... | 51.644769 | 120 | 0.65971 | 2,698 | 21,226 | 5.035953 | 0.050408 | 0.065651 | 0.123648 | 0.11776 | 0.870391 | 0.845588 | 0.800765 | 0.779716 | 0.779716 | 0.763377 | 0 | 0.002346 | 0.236785 | 21,226 | 410 | 121 | 51.770732 | 0.836358 | 0.015971 | 0 | 0.738235 | 0 | 0 | 0.085365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.023529 | 0.020588 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
73fe90f1f9c2a44e5c7cc0c34a56279ddb7d3664 | 181 | py | Python | src/experiment.py | Abastro/pointgroup-hs | 7910ae41ba3dbcf8a5674feb8773732aa5662a48 | [
"BSD-3-Clause"
] | null | null | null | src/experiment.py | Abastro/pointgroup-hs | 7910ae41ba3dbcf8a5674feb8773732aa5662a48 | [
"BSD-3-Clause"
] | null | null | null | src/experiment.py | Abastro/pointgroup-hs | 7910ae41ba3dbcf8a5674feb8773732aa5662a48 | [
"BSD-3-Clause"
] | null | null | null | import torch
import spconv
#from lib.pointgroup_ops.functions import pointgroup_ops
torch.jit.script(spconv.SparseConv3d(32, 64, 3))
#torch.jit.script(pointgroup_ops.BFSCluster())
| 25.857143 | 56 | 0.81768 | 26 | 181 | 5.576923 | 0.576923 | 0.268966 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.071823 | 181 | 6 | 57 | 30.166667 | 0.827381 | 0.552486 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
73fefe62f538f3f0ab1a894fa20de3547d579115 | 21,477 | py | Python | networks.py | deividbotina-alv/rtrppg | 9cccda0c66e334aa30cb77b2f8b0b465d45665c0 | [
"MIT"
] | null | null | null | networks.py | deividbotina-alv/rtrppg | 9cccda0c66e334aa30cb77b2f8b0b465d45665c0 | [
"MIT"
] | null | null | null | networks.py | deividbotina-alv/rtrppg | 9cccda0c66e334aa30cb77b2f8b0b465d45665c0 | [
"MIT"
] | 1 | 2022-03-15T10:51:58.000Z | 2022-03-15T10:51:58.000Z | import torch.nn as nn
import torch
#%% 3DED128 (baseline)
class N3DED128(nn.Module):
def __init__(self, frames=128):
super(N3DED128, self).__init__()
self.Conv1 = nn.Sequential(
nn.Conv3d(3, 16, [1,5,5],stride=1, padding=[0,2,2]),
nn.BatchNorm3d(16),
nn.ReLU(... | 39.479779 | 134 | 0.475718 | 3,490 | 21,477 | 2.87765 | 0.041261 | 0.02788 | 0.02091 | 0.03485 | 0.879219 | 0.874838 | 0.874838 | 0.874838 | 0.844369 | 0.831524 | 0 | 0.160326 | 0.326815 | 21,477 | 544 | 135 | 39.479779 | 0.534306 | 0.241607 | 0 | 0.730479 | 0 | 0.002519 | 0.011837 | 0.003842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040302 | false | 0 | 0.007557 | 0 | 0.083123 | 0.002519 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fb4adf5b19b36fccfb35f9af0b28fc37ac4880c1 | 188 | py | Python | utils/__init__.py | yamamura-k/MetaHeuristics | abc6da4c0d9886260425124dfcee2a92b833446f | [
"MIT"
] | 1 | 2021-09-14T04:28:18.000Z | 2021-09-14T04:28:18.000Z | utils/__init__.py | yamamura-k/MetaHeuristics | abc6da4c0d9886260425124dfcee2a92b833446f | [
"MIT"
] | 6 | 2021-07-01T01:13:43.000Z | 2021-07-15T14:26:46.000Z | utils/__init__.py | yamamura-k/MetaHeuristics | abc6da4c0d9886260425124dfcee2a92b833446f | [
"MIT"
] | null | null | null | from utils.base import *
from utils.common import *
from utils.grad_based import *
from utils.logging import setup_logger
from utils.parallel import *
from utils.parameter_search import *
| 26.857143 | 38 | 0.81383 | 28 | 188 | 5.357143 | 0.464286 | 0.36 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 188 | 6 | 39 | 31.333333 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
fb9466e7900c3b2017fb7a7137bf6e36d38a4dfb | 10,128 | py | Python | evodynamic/evolution/ga.py | SocratesNFR/evodynamic | 682b610096182bde2298cdca352e7b319a0e4c41 | [
"Apache-2.0"
] | 9 | 2019-06-07T22:57:07.000Z | 2022-01-17T12:35:08.000Z | evodynamic/evolution/ga.py | SocratesNFR/evodynamic | 682b610096182bde2298cdca352e7b319a0e4c41 | [
"Apache-2.0"
] | null | null | null | evodynamic/evolution/ga.py | SocratesNFR/evodynamic | 682b610096182bde2298cdca352e7b319a0e4c41 | [
"Apache-2.0"
] | 4 | 2020-09-02T16:17:58.000Z | 2021-12-05T21:28:32.000Z | """
Genetic algorithm
- Generate random genomes
- Evaluate genomes
- Select genomes and reproduce them
* Code based on https://github.com/PytLab/gaft/blob/master/gaft
"""
import numpy as np
import random
import time
import csv
def evolve_rules(evaluate_genome, pop_size=10, generation=4, gene_range=[0,255]):
"""
... | 36.171429 | 135 | 0.706359 | 1,464 | 10,128 | 4.611339 | 0.120902 | 0.094801 | 0.057769 | 0.074952 | 0.868908 | 0.864465 | 0.854688 | 0.839876 | 0.818545 | 0.80077 | 0 | 0.022044 | 0.189277 | 10,128 | 279 | 136 | 36.301075 | 0.800146 | 0.191252 | 0 | 0.859873 | 1 | 0 | 0.08292 | 0.026525 | 0 | 0 | 0 | 0 | 0.012739 | 1 | 0.012739 | false | 0 | 0.025478 | 0 | 0.050955 | 0.121019 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
83a15aa2abcb648a9b2272d01fcd878b245082ff | 24,424 | py | Python | cosmiq_sn4_baseline/DataGenerator.py | lee-joey-hyunjoon/CosmiQ_SN4_Baseline | 7b29c98335eaa3574a0bfbc58d297de2e0e5d95a | [
"Apache-2.0"
] | 21 | 2018-10-29T15:13:36.000Z | 2022-01-07T04:23:06.000Z | cosmiq_sn4_baseline/DataGenerator.py | lee-joey-hyunjoon/CosmiQ_SN4_Baseline | 7b29c98335eaa3574a0bfbc58d297de2e0e5d95a | [
"Apache-2.0"
] | 5 | 2018-11-01T01:55:42.000Z | 2020-06-11T07:28:43.000Z | cosmiq_sn4_baseline/DataGenerator.py | lee-joey-hyunjoon/CosmiQ_SN4_Baseline | 7b29c98335eaa3574a0bfbc58d297de2e0e5d95a | [
"Apache-2.0"
] | 8 | 2018-11-02T09:18:18.000Z | 2021-03-01T11:57:16.000Z | import keras
import cv2
import numpy as np
import os
class DataGenerator(keras.utils.Sequence):
"""Data generator to produce matching image-mask pairs from the generator array."""
def __init__(self, image_arr, mask_arr, batch_size=32, crop=False,
output_x=256, output_y=256, shuffle=True, flip... | 43.151943 | 88 | 0.500778 | 3,122 | 24,424 | 3.680333 | 0.059257 | 0.073107 | 0.053177 | 0.035509 | 0.878938 | 0.87215 | 0.855178 | 0.841688 | 0.824717 | 0.812707 | 0 | 0.021317 | 0.391132 | 24,424 | 565 | 89 | 43.228319 | 0.751328 | 0.045242 | 0 | 0.729885 | 0 | 0 | 0.022259 | 0 | 0 | 0 | 0 | 0.00177 | 0 | 1 | 0.030651 | false | 0 | 0.007663 | 0 | 0.065134 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
83fce9b590b279d89046da70539238fa2a1e26ad | 11,108 | py | Python | auto_gradient/tests/test_linalg.py | juliaprocess/ml_libs | 52cac5d64b55a12dfbdad1c768cdd8d79d5789f5 | [
"MIT"
] | 4 | 2021-01-12T22:02:57.000Z | 2021-04-02T15:24:18.000Z | tests/test_linalg.py | RInterested/autograd | a2c8d44c686ceafb697c0a51efa374cd643d9d6b | [
"MIT"
] | null | null | null | tests/test_linalg.py | RInterested/autograd | a2c8d44c686ceafb697c0a51efa374cd643d9d6b | [
"MIT"
] | 1 | 2017-07-30T23:49:27.000Z | 2017-07-30T23:49:27.000Z | from __future__ import absolute_import
import itertools
import autograd.numpy as np
import autograd.numpy.random as npr
import autograd.scipy.linalg as spla
from autograd.util import *
from autograd import grad
from builtins import range
from functools import partial
npr.seed(1)
def check_symmetric_matrix_grads(fun, ... | 28.409207 | 83 | 0.614152 | 1,952 | 11,108 | 3.301742 | 0.067623 | 0.096819 | 0.073856 | 0.069822 | 0.813189 | 0.788984 | 0.764779 | 0.756711 | 0.748487 | 0.742746 | 0 | 0.018156 | 0.236406 | 11,108 | 390 | 84 | 28.482051 | 0.741688 | 0 | 0 | 0.674556 | 0 | 0 | 0.003151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236686 | false | 0 | 0.026627 | 0.071006 | 0.349112 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8601661d78512c24f8fb94c9f762a53e82945b70 | 46,100 | py | Python | docs/Data/models_new_fk.py | Ecotrust/TEKDB | c92500aa9c8271398721bf069b93d63d11510529 | [
"MIT"
] | 4 | 2017-12-26T05:43:52.000Z | 2022-01-07T02:54:41.000Z | docs/Data/models_new_fk.py | Ecotrust/TEKDB | c92500aa9c8271398721bf069b93d63d11510529 | [
"MIT"
] | 134 | 2017-02-13T23:26:26.000Z | 2020-09-24T23:13:02.000Z | docs/Data/models_new_fk.py | Ecotrust/TEKDB | c92500aa9c8271398721bf069b93d63d11510529 | [
"MIT"
] | 2 | 2018-03-02T04:01:16.000Z | 2019-11-06T01:51:49.000Z | # This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
# Feel free ... | 72.257053 | 160 | 0.75167 | 5,519 | 46,100 | 6.167784 | 0.044392 | 0.075206 | 0.122209 | 0.206816 | 0.80329 | 0.801939 | 0.777145 | 0.764571 | 0.743449 | 0.743449 | 0 | 0.014255 | 0.141757 | 46,100 | 637 | 161 | 72.370487 | 0.846101 | 0.197874 | 0 | 0.586826 | 1 | 0 | 0.13717 | 0.020356 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001996 | 0.003992 | 0 | 0.810379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
f7a4d74c3913cf9ab855f803464d38cba66582f0 | 28,868 | py | Python | autoencoder/Training.py | JosephZheng1998/CNN-Emotion-Detection | f56e99103be7a90a52b8ee51c8ae30cdd0051d5c | [
"MIT"
] | null | null | null | autoencoder/Training.py | JosephZheng1998/CNN-Emotion-Detection | f56e99103be7a90a52b8ee51c8ae30cdd0051d5c | [
"MIT"
] | null | null | null | autoencoder/Training.py | JosephZheng1998/CNN-Emotion-Detection | f56e99103be7a90a52b8ee51c8ae30cdd0051d5c | [
"MIT"
] | null | null | null | import os
import numpy as np
from PIL import Image
import torch
import torchvision
from torchvision import transforms
import torchvision.models as models
from torchvision.datasets import ImageFolder
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
from torch.utils.data import Dataset, ... | 43.541478 | 282 | 0.607316 | 3,350 | 28,868 | 4.974925 | 0.062687 | 0.050762 | 0.023041 | 0.022681 | 0.904356 | 0.887436 | 0.874715 | 0.866555 | 0.866555 | 0.862715 | 0 | 0.012325 | 0.294548 | 28,868 | 662 | 283 | 43.607251 | 0.80604 | 0.021408 | 0 | 0.889081 | 0 | 0.010399 | 0.074773 | 0.006348 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02253 | false | 0 | 0.034662 | 0 | 0.079723 | 0.02773 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f7b8565d094a2eb2295d9470ea25d2d3a1bbff33 | 12,710 | py | Python | v6.0.5/router/test_fortios_router_ospf.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 14 | 2018-09-25T20:35:25.000Z | 2021-07-14T04:30:54.000Z | v6.0.6/router/test_fortios_router_ospf.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 32 | 2018-10-09T04:13:42.000Z | 2020-05-11T07:20:28.000Z | v6.0.5/router/test_fortios_router_ospf.py | fortinet-solutions-cse/ansible_fgt_modules | c45fba49258d7c9705e7a8fd9c2a09ea4c8a4719 | [
"Apache-2.0"
] | 11 | 2018-10-09T00:14:53.000Z | 2021-11-03T10:54:09.000Z | # Copyright 2019 Fortinet, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the... | 37.827381 | 133 | 0.617624 | 1,401 | 12,710 | 5.307637 | 0.149893 | 0.048413 | 0.047337 | 0.030258 | 0.859064 | 0.846961 | 0.834185 | 0.834185 | 0.834185 | 0.834185 | 0 | 0.028778 | 0.239969 | 12,710 | 335 | 134 | 37.940299 | 0.740994 | 0.052242 | 0 | 0.877256 | 0 | 0 | 0.458188 | 0.210474 | 0 | 0 | 0 | 0 | 0.086643 | 1 | 0.018051 | false | 0 | 0.028881 | 0 | 0.050542 | 0.00361 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f7961828e0c3e67b6b407fa3c58aaef9ade02bc9 | 1,142 | py | Python | src/models/compound.py | Dragonfly-Capital/oracles.club.server | 092dc1e6d205ceb475cd65f9b1c3e4aa6ef588dd | [
"MIT"
] | 7 | 2020-04-28T02:17:51.000Z | 2020-09-23T17:39:38.000Z | src/models/compound.py | Dragonfly-Capital/oracles.club.server | 092dc1e6d205ceb475cd65f9b1c3e4aa6ef588dd | [
"MIT"
] | 1 | 2020-08-10T19:39:12.000Z | 2020-08-10T19:39:12.000Z | src/models/compound.py | Dragonfly-Capital/oracles.club.server | 092dc1e6d205ceb475cd65f9b1c3e4aa6ef588dd | [
"MIT"
] | 2 | 2020-05-10T09:39:47.000Z | 2020-07-27T18:12:23.000Z | from .create_db import db
class CompoundETH(db.Model):
__tablename__ = 'compound'
id = db.Column('id', db.Integer, primary_key=True)
blocknumber = db.Column('blocknumber', db.Integer)
timestamp = db.Column('timestamp', db.Integer)
price = db.Column('price', db.Float)
def __repr__(self):
... | 32.628571 | 80 | 0.661996 | 137 | 1,142 | 5.313869 | 0.189781 | 0.131868 | 0.065934 | 0.049451 | 0.813187 | 0.813187 | 0.813187 | 0.813187 | 0.813187 | 0.813187 | 0 | 0 | 0.174256 | 1,142 | 34 | 81 | 33.588235 | 0.772004 | 0 | 0 | 0.72 | 0 | 0 | 0.123468 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.04 | 0.12 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
54003ebc336e679915dcaaaf5a9466d49a4251af | 34,176 | py | Python | sdk/python/pulumi_gcp/organizations/project.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/organizations/project.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/organizations/project.py | sisisin/pulumi-gcp | af6681d70ea457843409110c1324817fe55f68ad | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 47.26971 | 165 | 0.648613 | 4,353 | 34,176 | 4.94096 | 0.059269 | 0.064953 | 0.055979 | 0.047052 | 0.919658 | 0.912265 | 0.904687 | 0.899247 | 0.892505 | 0.880649 | 0 | 0.001827 | 0.263138 | 34,176 | 722 | 166 | 47.33518 | 0.852242 | 0.505091 | 0 | 0.788274 | 1 | 0 | 0.083537 | 0.002301 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162866 | false | 0.003257 | 0.016287 | 0 | 0.276873 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
586e89dedd96060bbe2d352f5099a33f3d610b9b | 23,281 | py | Python | tests/dhcpv6/process/test_v6_renew.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv6/process/test_v6_renew.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | tests/dhcpv6/process/test_v6_renew.py | shawnmullaney/forge | aaaef0a0645f73d24666aab6a400f3604e753aac | [
"0BSD"
] | null | null | null | """DHCPv6 Renew"""
# pylint: disable=invalid-name,line-too-long
import pytest
import srv_control
import srv_msg
import references
import misc
@pytest.mark.v6
@pytest.mark.dhcp6
@pytest.mark.renew
def test_v6_message_renew_reply():
# Testing server ability to perform message exchange RENEW - REPLY
# Messa... | 43.597378 | 93 | 0.705855 | 3,454 | 23,281 | 4.408512 | 0.042559 | 0.107178 | 0.111906 | 0.123531 | 0.968805 | 0.968805 | 0.968805 | 0.962369 | 0.960071 | 0.952978 | 0 | 0.036342 | 0.137193 | 23,281 | 533 | 94 | 43.679174 | 0.721711 | 0.069456 | 0 | 0.953202 | 0 | 0 | 0.200463 | 0.026833 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014778 | true | 0.068966 | 0.012315 | 0 | 0.027094 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
5464ce9d7c69e701634f2888b73b8ea0477483b3 | 333 | py | Python | packages/pytea/pylib/torch/autograd/grad_mode.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 241 | 2021-03-19T01:11:44.000Z | 2022-03-25T03:15:22.000Z | packages/pytea/pylib/torch/autograd/grad_mode.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 2 | 2021-02-26T08:16:04.000Z | 2022-02-28T02:52:58.000Z | packages/pytea/pylib/torch/autograd/grad_mode.py | Sehun0819/pytea | 3f068016a71a1915722e51d977fedab01427a42c | [
"MIT"
] | 14 | 2021-01-08T02:22:58.000Z | 2022-01-19T14:13:14.000Z | class no_grad:
def __enter__(self):
return None
def __exit__(self, *args):
return True
def __call__(self, func):
return self
class enable_grad:
def __enter__(self):
return None
def __exit__(self, *args):
return True
def __call__(self, func):
... | 15.136364 | 30 | 0.588589 | 40 | 333 | 4.25 | 0.35 | 0.082353 | 0.141176 | 0.188235 | 0.894118 | 0.894118 | 0.894118 | 0.894118 | 0.894118 | 0.894118 | 0 | 0 | 0.333333 | 333 | 21 | 31 | 15.857143 | 0.765766 | 0 | 0 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.428571 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 10 |
54952a4a8faa64c84f2f6f50d8e4e3a7d7f489d4 | 277 | py | Python | ncnnqat/__init__.py | shenmayufei/ncnnqat | 0a514665414d2f5856467e95989db7de7633b14d | [
"MIT"
] | 59 | 2021-06-22T13:43:50.000Z | 2022-03-30T03:28:10.000Z | ncnnqat/__init__.py | shenmayufei/ncnnqat | 0a514665414d2f5856467e95989db7de7633b14d | [
"MIT"
] | null | null | null | ncnnqat/__init__.py | shenmayufei/ncnnqat | 0a514665414d2f5856467e95989db7de7633b14d | [
"MIT"
] | 9 | 2021-06-22T14:36:14.000Z | 2021-11-08T03:37:49.000Z | import sys
try:
from .quantize import unquant_weight, freeze_bn, \
merge_freeze_bn, register_quantization_hook,save_table
except:
raise
__all__ = [
"unquant_weight", "freeze_bn", "merge_freeze_bn", \
"register_quantization_hook","save_table"]
| 25.181818 | 62 | 0.707581 | 33 | 277 | 5.393939 | 0.545455 | 0.179775 | 0.213483 | 0.235955 | 0.752809 | 0.752809 | 0.752809 | 0.752809 | 0.752809 | 0.752809 | 0 | 0 | 0.198556 | 277 | 10 | 63 | 27.7 | 0.801802 | 0 | 0 | 0 | 0 | 0 | 0.268116 | 0.094203 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
54b73d4492f7b5357d54e5870dd217f28ae6f560 | 152,415 | py | Python | Support.Scripts/Produce.Simulated.FussyJuncs.py | mills-lab/svelter | d318b06d588483fe8a8ebcac8c8a6c7878f2c2b3 | [
"MIT"
] | 21 | 2015-11-02T06:31:52.000Z | 2021-12-20T03:14:04.000Z | Support.Scripts/Produce.Simulated.FussyJuncs.py | mills-lab/svelter | d318b06d588483fe8a8ebcac8c8a6c7878f2c2b3 | [
"MIT"
] | 14 | 2016-03-02T21:12:53.000Z | 2019-08-02T20:01:02.000Z | Support.Scripts/Produce.Simulated.FussyJuncs.py | mills-lab/svelter | d318b06d588483fe8a8ebcac8c8a6c7878f2c2b3 | [
"MIT"
] | 6 | 2015-08-19T18:33:02.000Z | 2017-05-16T03:42:57.000Z | #!/usr/bin/env python
#!python
#command='Produce.Simulated.FussyJuncs.py heterozygous --reference /mnt/EXT/Mills-scratch2/reference/GRCh37/human_g1k_v37.fasta --input-sim /mnt/EXT/Mills-scratch2/Xuefang/Simulate.FussyJunc/Simulate.het.rerun.test.20150901/het.sim --output-prefix /mnt/EXT/Mills-scratch2/Xuefang/Simulate... | 36.904358 | 336 | 0.550891 | 25,520 | 152,415 | 3.120572 | 0.021003 | 0.028253 | 0.014164 | 0.012883 | 0.950174 | 0.938986 | 0.928526 | 0.923578 | 0.920464 | 0.913796 | 0 | 0.074352 | 0.246846 | 152,415 | 4,129 | 337 | 36.913296 | 0.619399 | 0.053499 | 0 | 0.921173 | 0 | 0.009439 | 0.074958 | 0.027134 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.009184 | 0.003061 | null | null | 0.048724 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
54bdc659df861341b8f324d23add000b4c1c3b98 | 6,742 | py | Python | tests/cloudformation/runner/test_runner.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 3 | 2021-04-19T17:17:21.000Z | 2021-09-06T06:31:09.000Z | tests/cloudformation/runner/test_runner.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 16 | 2021-03-09T07:38:38.000Z | 2021-06-09T03:53:55.000Z | tests/cloudformation/runner/test_runner.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 1 | 2021-03-07T07:23:39.000Z | 2021-03-07T07:23:39.000Z | import os
import unittest
from checkov.cloudformation import cfn_utils
from checkov.cloudformation.parser import parse
from checkov.runner_filter import RunnerFilter
from checkov.cloudformation.runner import Runner
class TestRunnerValid(unittest.TestCase):
def test_record_relative_path_with_relative_dir(self):
... | 42.942675 | 108 | 0.675319 | 886 | 6,742 | 4.887133 | 0.14447 | 0.038799 | 0.025404 | 0.018476 | 0.854965 | 0.854965 | 0.845727 | 0.823326 | 0.816859 | 0.772748 | 0 | 0.002711 | 0.234055 | 6,742 | 156 | 109 | 43.217949 | 0.835786 | 0.202611 | 0 | 0.616162 | 0 | 0 | 0.100243 | 0.036961 | 0 | 0 | 0 | 0 | 0.141414 | 1 | 0.060606 | false | 0.050505 | 0.060606 | 0 | 0.131313 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
49bb484f4b29afb69b74c05485c40ac6e3222ca3 | 113 | py | Python | pre_push.py | ralvescosta/iot_mqtt_amqp | d54131f04af2c21e4c8a638b10362902e22547aa | [
"MIT"
] | 4 | 2021-06-25T11:14:42.000Z | 2021-12-20T22:02:13.000Z | pre_push.py | ralvescosta/iot_mqtt_amqp | d54131f04af2c21e4c8a638b10362902e22547aa | [
"MIT"
] | null | null | null | pre_push.py | ralvescosta/iot_mqtt_amqp | d54131f04af2c21e4c8a638b10362902e22547aa | [
"MIT"
] | null | null | null |
import os
os.system('cd ./mqtt_bridge && yarn test:staged')
os.system('cd ./iot_consumer && yarn test:staged') | 22.6 | 50 | 0.699115 | 18 | 113 | 4.277778 | 0.611111 | 0.207792 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 5 | 50 | 22.6 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.640351 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
b72a4a4af4a9019e6096e2aee342aa212dbcdda9 | 1,541 | py | Python | python/testData/highlighting/fStringTooDeeplyNestedExpressionFragments.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/highlighting/fStringTooDeeplyNestedExpressionFragments.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | python/testData/highlighting/fStringTooDeeplyNestedExpressionFragments.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | f'{x:{y:<error descr="Expression fragment inside an f-string is nested too deeply">{<error descr="Expression expected">}</error></error>}}'
f'{x:{y:<error descr="Expression fragment inside an f-string is nested too deeply">{<error descr="Expression expected"><error descr="Expression fragments inside f-strings cannot in... | 220.142857 | 352 | 0.724205 | 226 | 1,541 | 4.938053 | 0.163717 | 0.16129 | 0.286738 | 0.225806 | 0.862903 | 0.862903 | 0.862903 | 0.862903 | 0.833333 | 0.833333 | 0 | 0.001426 | 0.089552 | 1,541 | 7 | 353 | 220.142857 | 0.794013 | 0 | 0 | 0 | 0 | 1 | 0.894293 | 0.180285 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
b750feb3ebbdfc5bf09f116c7d6d4bf421358797 | 2,058 | py | Python | tests/features/test_polarity_sentiws_polarity_bearing_tokens_feature.py | ertogrul/ArgMining | 2b7777ad6172723ece1cfe8df09c47c5c362ef5d | [
"MIT"
] | 13 | 2018-01-26T13:20:53.000Z | 2022-03-04T15:26:59.000Z | tests/features/test_polarity_sentiws_polarity_bearing_tokens_feature.py | ertogrul/ArgMining | 2b7777ad6172723ece1cfe8df09c47c5c362ef5d | [
"MIT"
] | null | null | null | tests/features/test_polarity_sentiws_polarity_bearing_tokens_feature.py | ertogrul/ArgMining | 2b7777ad6172723ece1cfe8df09c47c5c362ef5d | [
"MIT"
] | 6 | 2018-04-11T15:27:42.000Z | 2020-12-10T13:34:06.000Z | import unittest
import argmining.features.sentiws_polarity_bearing_tokens_feature as sentiws_polarity_bearing_tokens_feature
from argmining.models.thf_sentence_export import THFSentenceExport
from argmining.models.token import Token
class THFSentenceSentiWSPolarityBearingTokens(unittest.TestCase):
def test_count_... | 50.195122 | 108 | 0.720117 | 261 | 2,058 | 5.402299 | 0.153257 | 0.317731 | 0.374468 | 0.363121 | 0.828369 | 0.778723 | 0.755319 | 0.751773 | 0.751773 | 0.751773 | 0 | 0.01481 | 0.179786 | 2,058 | 40 | 109 | 51.45 | 0.820498 | 0 | 0 | 0.529412 | 0 | 0 | 0.003887 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.088235 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b754321da784b85474b35adc06891d5a2c5f22ce | 107 | py | Python | test/test_translations.py | kinderp/python-package-tutorial | 9b5b6bc19e75844b6a3119d2621dd1fd63d3c81c | [
"MIT"
] | 1 | 2022-02-04T18:10:04.000Z | 2022-02-04T18:10:04.000Z | test/test_translations.py | kinderp/python-package-tutorial | 9b5b6bc19e75844b6a3119d2621dd1fd63d3c81c | [
"MIT"
] | null | null | null | test/test_translations.py | kinderp/python-package-tutorial | 9b5b6bc19e75844b6a3119d2621dd1fd63d3c81c | [
"MIT"
] | null | null | null | from imppkg.say import main
from imppkg.hello import say_hello
def test_always_passed():
assert True
| 15.285714 | 34 | 0.785047 | 17 | 107 | 4.764706 | 0.705882 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 107 | 6 | 35 | 17.833333 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
b7a7cf13eac4440a30a8250ff7fa9edeb54bd5b5 | 31,536 | py | Python | nltkma/test/unit/test_concordance.py | aydtmiri/nltk-ma | 5d7dd01844ee063fc910a648948624b6a2dddaf9 | [
"Apache-2.0"
] | null | null | null | nltkma/test/unit/test_concordance.py | aydtmiri/nltk-ma | 5d7dd01844ee063fc910a648948624b6a2dddaf9 | [
"Apache-2.0"
] | null | null | null | nltkma/test/unit/test_concordance.py | aydtmiri/nltk-ma | 5d7dd01844ee063fc910a648948624b6a2dddaf9 | [
"Apache-2.0"
] | null | null | null | import unittest
from io import StringIO
from nltkma.text import find_concordance
from nltkma.collocations import BigramCollocationFinder, BigramAssocMeasures
class TestConcordance(unittest.TestCase):
"""Text constructed using: http://www.nltk.org/book/ch01.html"""
def test_concordance_list_1(self):
c... | 99.48265 | 1,601 | 0.543157 | 3,152 | 31,536 | 5.313135 | 0.083439 | 0.046814 | 0.027587 | 0.032245 | 0.963814 | 0.961545 | 0.957246 | 0.949603 | 0.944945 | 0.942079 | 0 | 0.01689 | 0.233987 | 31,536 | 316 | 1,602 | 99.797468 | 0.676243 | 0.001839 | 0 | 0.801471 | 0 | 0.011029 | 0.385148 | 0 | 0 | 0 | 0 | 0 | 0.238971 | 1 | 0.040441 | false | 0 | 0.014706 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b7d2ce6c32df37d92b8fc43e772c5879283492fb | 1,684 | py | Python | django/polls/migrations/0003_auto_20171129_1149.py | rachit173/webtestgen | e68d179a7ef9f69a1348950d49676e0316f9b978 | [
"MIT"
] | null | null | null | django/polls/migrations/0003_auto_20171129_1149.py | rachit173/webtestgen | e68d179a7ef9f69a1348950d49676e0316f9b978 | [
"MIT"
] | null | null | null | django/polls/migrations/0003_auto_20171129_1149.py | rachit173/webtestgen | e68d179a7ef9f69a1348950d49676e0316f9b978 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-11-29 11:49
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('polls', '0002_auto_20171129_1139'),
]
operations = [
migrations.AlterField(... | 33.019608 | 90 | 0.584323 | 185 | 1,684 | 5.156757 | 0.286486 | 0.146751 | 0.183438 | 0.212788 | 0.752621 | 0.752621 | 0.714885 | 0.714885 | 0.714885 | 0.714885 | 0 | 0.027477 | 0.286817 | 1,684 | 50 | 91 | 33.68 | 0.766861 | 0.04038 | 0 | 0.651163 | 1 | 0 | 0.153131 | 0.014259 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.046512 | 0 | 0.116279 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 8 |
b7d3bbbfd8bd11a96c8ed6529adcabeaad5a5b93 | 57,611 | py | Python | sdk/python/pulumi_aws/neptune/cluster_instance.py | aamir-locus/pulumi-aws | 3e234b050129bde35d8e072a88bd608562f02142 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/neptune/cluster_instance.py | aamir-locus/pulumi-aws | 3e234b050129bde35d8e072a88bd608562f02142 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/neptune/cluster_instance.py | aamir-locus/pulumi-aws | 3e234b050129bde35d8e072a88bd608562f02142 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 48.657939 | 208 | 0.67107 | 6,832 | 57,611 | 5.44072 | 0.046253 | 0.08286 | 0.070808 | 0.06688 | 0.940464 | 0.926771 | 0.905948 | 0.896505 | 0.883807 | 0.86242 | 0 | 0.004665 | 0.22973 | 57,611 | 1,183 | 209 | 48.69907 | 0.832973 | 0.345889 | 0 | 0.794337 | 1 | 0 | 0.117532 | 0.044966 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168405 | false | 0.00149 | 0.007452 | 0 | 0.278689 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4d157768f7b1be01c6f96b3cad2b6b848a827cf3 | 4,453 | py | Python | test/oauth_token_cache_mechanism_test.py | delving-co/oauth-token-cache | 6dcc016a736fd6a99470d0400ee6d9048b7dda82 | [
"MIT"
] | 2 | 2019-10-27T07:39:36.000Z | 2019-10-27T08:45:58.000Z | test/oauth_token_cache_mechanism_test.py | delving-co/oauth-token-cache | 6dcc016a736fd6a99470d0400ee6d9048b7dda82 | [
"MIT"
] | 7 | 2019-10-28T21:00:57.000Z | 2020-09-22T11:10:11.000Z | test/oauth_token_cache_mechanism_test.py | delving-co/oauth-token-cache | 6dcc016a736fd6a99470d0400ee6d9048b7dda82 | [
"MIT"
] | 2 | 2020-02-20T09:51:43.000Z | 2022-03-04T05:06:32.000Z | """Test OAuthTokenCache.token() caching behaviour."""
import pytest
from unittest import mock
from oauth_token_cache import TokenClient
@mock.patch.object(TokenClient, "cached_token")
@mock.patch.object(TokenClient, "fresh_token")
def test_existing_local_token(
mock_fresh_token,
mock_cached_token,
oauth... | 29.686667 | 111 | 0.751628 | 611 | 4,453 | 5.130933 | 0.11784 | 0.077512 | 0.090909 | 0.124721 | 0.873046 | 0.839553 | 0.821691 | 0.792345 | 0.792345 | 0.752791 | 0 | 0.001611 | 0.16371 | 4,453 | 149 | 112 | 29.885906 | 0.840226 | 0.159668 | 0 | 0.823529 | 0 | 0 | 0.046367 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 1 | 0.058824 | false | 0 | 0.029412 | 0 | 0.088235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4d16583016bae02b06c3a545d2010854f5bf2157 | 179 | py | Python | faceRequest/mjpgweb.py | gateaunet/facerecogapi | 1f25ef9e1d0ef95c507410bae2268d146934985f | [
"Apache-2.0"
] | null | null | null | faceRequest/mjpgweb.py | gateaunet/facerecogapi | 1f25ef9e1d0ef95c507410bae2268d146934985f | [
"Apache-2.0"
] | null | null | null | faceRequest/mjpgweb.py | gateaunet/facerecogapi | 1f25ef9e1d0ef95c507410bae2268d146934985f | [
"Apache-2.0"
] | null | null | null | import os
import sys
def onWebcam():
os.system('mjpg_streamer -i "input_uvc.so" -o "output_http.so -p 8090 -w /usr/local/share/mjpg-streamer/www/"') # start mjpgstreamer
| 17.9 | 136 | 0.703911 | 29 | 179 | 4.241379 | 0.827586 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.150838 | 179 | 9 | 137 | 19.888889 | 0.782895 | 0.100559 | 0 | 0 | 0 | 0.25 | 0.628205 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
4d5858acc7df1ee7b69685d779b85f846c0db87e | 5,665 | py | Python | tests/collections/test_collection_patients.py | proknow/proknow-python | c4ca0be6f606db655b711d3490febdec9c139570 | [
"MIT"
] | 2 | 2019-03-16T21:41:45.000Z | 2022-02-09T16:01:58.000Z | tests/collections/test_collection_patients.py | proknow/proknow-python | c4ca0be6f606db655b711d3490febdec9c139570 | [
"MIT"
] | 7 | 2019-02-25T15:04:30.000Z | 2021-12-13T15:15:38.000Z | tests/collections/test_collection_patients.py | proknow/proknow-python | c4ca0be6f606db655b711d3490febdec9c139570 | [
"MIT"
] | 3 | 2020-07-10T14:18:55.000Z | 2021-09-14T09:47:41.000Z | import pytest
import os
from proknow import Exceptions
def test_collection_patients(app, workspace_generator, collection_generator):
pk = app.pk
_, workspace = workspace_generator()
batch = pk.uploads.upload(workspace.id, "./data/Becker^Matthew")
path = os.path.abspath("./data/Becker^Matthew/HNC0522c... | 36.082803 | 89 | 0.702383 | 648 | 5,665 | 6.010802 | 0.115741 | 0.124775 | 0.065725 | 0.095507 | 0.888575 | 0.888575 | 0.88113 | 0.871374 | 0.851091 | 0.851091 | 0 | 0.009368 | 0.189762 | 5,665 | 156 | 90 | 36.314103 | 0.839216 | 0.106443 | 0 | 0.880342 | 0 | 0 | 0.086009 | 0.038644 | 0 | 0 | 0 | 0 | 0.239316 | 1 | 0.034188 | false | 0 | 0.025641 | 0 | 0.059829 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4dcd6e086423664e177ff924138ae01d10955388 | 1,388 | py | Python | ProjectEuler/python/prob8.py | yuriyshapovalov/Prototypes | 1fc4af4434440a8f59a4bcb486e79fd53d199a7d | [
"Apache-2.0"
] | null | null | null | ProjectEuler/python/prob8.py | yuriyshapovalov/Prototypes | 1fc4af4434440a8f59a4bcb486e79fd53d199a7d | [
"Apache-2.0"
] | 1 | 2015-03-25T22:35:52.000Z | 2015-03-25T22:35:52.000Z | ProjectEuler/python/prob8.py | yuriyshapovalov/Prototypes | 1fc4af4434440a8f59a4bcb486e79fd53d199a7d | [
"Apache-2.0"
] | null | null | null | # projecteuler.net/problem=8
num = "73167176531330624919225119674426574742355349194934969835203127745063262395783180169848018694788518438586156078911294949545950173795833195285320880551112540698747158523863050715693290963295227443043557668966489504452445231617318564030987111217223831136222989342338030813533627661428... | 69.4 | 1,009 | 0.880403 | 56 | 1,388 | 21.678571 | 0.553571 | 0.016474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.779151 | 0.067003 | 1,388 | 19 | 1,010 | 73.052632 | 0.158301 | 0.018732 | 0 | 0 | 0 | 0 | 0.751678 | 0.745712 | 0 | 1 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.076923 | 0.384615 | 0.076923 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4df5f00e2e198ea2cf9ddb64ae1d35f5fb3d911b | 32 | py | Python | Python/Tests/TestData/Repl/Program.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Repl/Program.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/Repl/Program.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | def f():
return 42
100
| 6.4 | 14 | 0.46875 | 5 | 32 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 0.4375 | 32 | 4 | 15 | 8 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
129927284737b6a797a0fb94493c93c97da6daa9 | 13,892 | py | Python | atom/proton/python/proton_api/api/util_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | 11 | 2019-04-16T02:11:17.000Z | 2021-12-16T22:51:40.000Z | atom/proton/python/proton_api/api/util_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | 81 | 2019-11-19T23:24:28.000Z | 2022-03-28T11:35:47.000Z | atom/proton/python/proton_api/api/util_api.py | AbhiGupta03/SDK | f3a61aae7a847f07f0c22a154ca88dc378e9d25e | [
"Apache-2.0"
] | 11 | 2020-07-08T02:29:56.000Z | 2022-03-28T10:05:33.000Z | # coding: utf-8
"""
Hydrogen Proton API
Financial engineering module of Hydrogen Atom # noqa: E501
OpenAPI spec version: 1.9.2
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401... | 41.843373 | 147 | 0.641232 | 1,552 | 13,892 | 5.458763 | 0.112758 | 0.04627 | 0.05949 | 0.044263 | 0.894122 | 0.878659 | 0.845019 | 0.823536 | 0.820703 | 0.820703 | 0 | 0.015854 | 0.278074 | 13,892 | 331 | 148 | 41.969789 | 0.828896 | 0.345595 | 0 | 0.719298 | 1 | 0 | 0.201044 | 0.095125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040936 | false | 0 | 0.023392 | 0 | 0.122807 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
423f317c9fd6c56f2dc721d8472f1c91421c84e9 | 6,145 | py | Python | setup.py | SebOh/arp_spoof | 9c4493c9bc7b80f70710d7e4a644b102f0bd8c4d | [
"MIT"
] | null | null | null | setup.py | SebOh/arp_spoof | 9c4493c9bc7b80f70710d7e4a644b102f0bd8c4d | [
"MIT"
] | null | null | null | setup.py | SebOh/arp_spoof | 9c4493c9bc7b80f70710d7e4a644b102f0bd8c4d | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='arp_spoof',
version='',
packages=['venv.Lib.site-packages.pip', 'venv.Lib.site-packages.pip._vendor',
'venv.Lib.site-packages.pip._vendor.idna', 'venv.Lib.site-packages.pip._vendor.pep517',
'venv.Lib.site-packages.pip._vendor.pytoml', 'v... | 79.805195 | 125 | 0.65533 | 900 | 6,145 | 4.387778 | 0.09 | 0.157761 | 0.247911 | 0.42821 | 0.945809 | 0.927577 | 0.767283 | 0.667511 | 0.524183 | 0.413016 | 0 | 0.03774 | 0.167779 | 6,145 | 76 | 126 | 80.855263 | 0.734454 | 0 | 0 | 0 | 0 | 0.44 | 0.769243 | 0.765826 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.013333 | 0 | 0.013333 | 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 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
429a3b81ed60f1fcd5cd0c4d4064e8461124607d | 1,799 | py | Python | tests/unit/test_config.py | xtrakTD/pyleniumio | 3c4b3d86491dd3ccf0bc399a42e5336a3c9f7fa6 | [
"MIT"
] | 169 | 2020-03-16T15:04:42.000Z | 2022-03-31T18:53:41.000Z | tests/unit/test_config.py | xtrakTD/pyleniumio | 3c4b3d86491dd3ccf0bc399a42e5336a3c9f7fa6 | [
"MIT"
] | 163 | 2020-03-15T06:33:54.000Z | 2022-03-31T21:37:09.000Z | tests/unit/test_config.py | xtrakTD/pyleniumio | 3c4b3d86491dd3ccf0bc399a42e5336a3c9f7fa6 | [
"MIT"
] | 26 | 2020-03-28T05:43:22.000Z | 2022-02-11T16:46:34.000Z | def test_py_config_defaults(py_config):
# driver settings
assert py_config.driver.browser == 'chrome'
assert py_config.driver.remote_url == ''
assert py_config.driver.wait_time == 10
assert py_config.driver.page_load_wait_time == 0
assert py_config.driver.options == []
assert py_config.drive... | 35.27451 | 56 | 0.732073 | 239 | 1,799 | 5.271967 | 0.1841 | 0.228571 | 0.355556 | 0.285714 | 0.969841 | 0.969841 | 0.969841 | 0.969841 | 0.969841 | 0.969841 | 0 | 0.013578 | 0.181212 | 1,799 | 50 | 57 | 35.98 | 0.841819 | 0.07393 | 0 | 0.941176 | 0 | 0 | 0.028968 | 0 | 0 | 0 | 0 | 0 | 0.941176 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
35f73226aa4aab7f82708c63714d8ee4fee7b105 | 1,125 | py | Python | py/bluemesa/redis/membership.py | stormp/bluemesa | 0295bd234d69c4f9cd78e725924d887bc35af508 | [
"MIT"
] | null | null | null | py/bluemesa/redis/membership.py | stormp/bluemesa | 0295bd234d69c4f9cd78e725924d887bc35af508 | [
"MIT"
] | 3 | 2020-12-11T19:12:19.000Z | 2021-05-21T01:26:57.000Z | py/bluemesa/redis/membership.py | stormp/bluemesa | 0295bd234d69c4f9cd78e725924d887bc35af508 | [
"MIT"
] | 14 | 2020-06-17T15:23:36.000Z | 2022-01-03T03:04:16.000Z | import os
import symboltable
import util
def sdy_sp500():
set1 = util.redis_set_to_python_set("symbol-set-sdy")
set2 = util.redis_set_to_python_set("symbol-set-sp500")
intersection = set1.intersection(set2)
print("\nThese symbols are in the sp500")
print(intersection)
print(len(intersection))
... | 26.162791 | 65 | 0.704889 | 149 | 1,125 | 5.134228 | 0.228188 | 0.062745 | 0.062745 | 0.073203 | 0.833987 | 0.833987 | 0.833987 | 0.833987 | 0.833987 | 0.637909 | 0 | 0.02938 | 0.183111 | 1,125 | 42 | 66 | 26.785714 | 0.803047 | 0.009778 | 0 | 0.516129 | 0 | 0 | 0.260557 | 0.019766 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.096774 | 0 | 0.16129 | 0.516129 | 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 | 1 | 0 | 7 |
c400bbe4af2ce277ad8f4a1c89f363cb886e1bdc | 2,437 | py | Python | tests/unit/pollutionapi30/json_test_dumps.py | ChuckVanHoff/pyowm | 86735d8629ead2cfa0232b0f8ec0b88ab16eff11 | [
"MIT"
] | 1 | 2019-06-01T07:47:12.000Z | 2019-06-01T07:47:12.000Z | tests/unit/pollutionapi30/json_test_dumps.py | cjsgh901/pyowm | cdd59eb72f32f7238624ceef9b2e2329a5ebd472 | [
"MIT"
] | null | null | null | tests/unit/pollutionapi30/json_test_dumps.py | cjsgh901/pyowm | cdd59eb72f32f7238624ceef9b2e2329a5ebd472 | [
"MIT"
] | 1 | 2020-01-20T22:54:02.000Z | 2020-01-20T22:54:02.000Z | """
JSON test OWM API responses
"""
COINDEX_JSON_DUMP = '{"reference_time": 1234567, "co_samples": [{"pressure": ' \
'1000, "value": 8.168363052618588e-08, "precision": ' \
'-4.999999987376214e-07}, {"pressure": 681.2920532226562, ' \
'"value": 8.686949115599... | 62.487179 | 83 | 0.488716 | 210 | 2,437 | 5.571429 | 0.257143 | 0.046154 | 0.092308 | 0.215385 | 0.903419 | 0.807692 | 0.807692 | 0.794017 | 0.705128 | 0.705128 | 0 | 0.301475 | 0.304473 | 2,437 | 38 | 84 | 64.131579 | 0.388791 | 0.011079 | 0 | 0.709677 | 0 | 0.129032 | 0.679434 | 0.173605 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
c485289d8307cb95532f495ede2476bcce5c9243 | 180,686 | py | Python | guipsd2png.py | MaverickGames/GUIPSD2PNG | e050eb84f134229b505231ac9ed107bad580fdf0 | [
"MIT"
] | 1 | 2017-07-30T22:31:41.000Z | 2017-07-30T22:31:41.000Z | guipsd2png.py | MaverickGames/GUIPSD2PNG | e050eb84f134229b505231ac9ed107bad580fdf0 | [
"MIT"
] | null | null | null | guipsd2png.py | MaverickGames/GUIPSD2PNG | e050eb84f134229b505231ac9ed107bad580fdf0 | [
"MIT"
] | null | null | null | """""""""""""""""""""""""""""""""""""""""""""""""""""""""
Date: Jul 14, 2014
Organization: Maverick Games
Language: python
Dependencies:
- Tkinter
- pillow
- psd_tools
- numpy
- scipy
Usage:
- copy this code into workspace directory
- set options at opt: "file_name", "delay_sec", "ig... | 392.795652 | 89,589 | 0.944185 | 7,413 | 180,686 | 22.982733 | 0.649535 | 0.036062 | 0.039443 | 0.033809 | 0.233244 | 0.220495 | 0.210294 | 0.205458 | 0.19508 | 0.185184 | 0 | 0.156633 | 0.010228 | 180,686 | 459 | 89,590 | 393.651416 | 0.796022 | 0.008495 | 0 | 0.178862 | 0 | 0.012195 | 0.961579 | 0.951782 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.00813 | 0.020325 | null | null | 0.02439 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
670742b437eeb0ea3efda9da405c52d7c8ade644 | 7,831 | py | Python | test/commands/extended/find_transaction_objects_test.py | EasonC13/iota.py | f596c1ac0d9bcbceda1cf6109cd921943a6599b3 | [
"MIT"
] | 347 | 2016-12-23T14:28:06.000Z | 2019-09-30T13:46:30.000Z | test/commands/extended/find_transaction_objects_test.py | EasonC13/iota.py | f596c1ac0d9bcbceda1cf6109cd921943a6599b3 | [
"MIT"
] | 194 | 2016-12-22T21:22:47.000Z | 2019-10-01T09:01:16.000Z | test/commands/extended/find_transaction_objects_test.py | EasonC13/iota.py | f596c1ac0d9bcbceda1cf6109cd921943a6599b3 | [
"MIT"
] | 147 | 2017-01-08T13:14:47.000Z | 2019-10-01T22:27:31.000Z | from unittest import TestCase
from iota import Iota, AsyncIota, MockAdapter, Transaction
from iota.commands.extended import FindTransactionObjectsCommand
from iota.adapter import async_return
from test import patch, MagicMock, mock, async_test
class FindTransactionObjectsCommandTestCase(TestCase):
def setUp(self... | 45.005747 | 108 | 0.68829 | 514 | 7,831 | 10.361868 | 0.210117 | 0.414007 | 0.420578 | 0.804356 | 0.733196 | 0.729253 | 0.712167 | 0.70522 | 0.687195 | 0.679309 | 0 | 0.396476 | 0.246329 | 7,831 | 173 | 109 | 45.265896 | 0.50593 | 0.049291 | 0 | 0.634146 | 0 | 0 | 0.476299 | 0.451604 | 0 | 0 | 0 | 0 | 0.081301 | 1 | 0.02439 | false | 0 | 0.04065 | 0 | 0.073171 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
673dcfa9bf37a62ae245a6ffa9c45242dd761b43 | 2,820 | py | Python | vyapp/plugins/pane_jumps.py | iogf/vy | 4ba0d379e21744fd79a740e8aeaba3a0a779973c | [
"MIT"
] | 927 | 2015-02-22T17:34:21.000Z | 2018-03-23T07:26:17.000Z | vyapp/plugins/pane_jumps.py | iogf/vy | 4ba0d379e21744fd79a740e8aeaba3a0a779973c | [
"MIT"
] | 22 | 2015-09-02T19:20:22.000Z | 2018-02-13T16:41:02.000Z | vyapp/plugins/pane_jumps.py | iogf/vy | 4ba0d379e21744fd79a740e8aeaba3a0a779973c | [
"MIT"
] | 53 | 2015-09-02T12:26:32.000Z | 2018-01-18T09:11:30.000Z | """
Overview
========
Commands
========
"""
from vyapp.areavi import AreaVi
from vyapp.app import root
class PaneJumps:
def __init__(self, area):
self.area = area
area.install('splits',
(-1, '<Control-Alt-h>', self.jump_left),
(-1, '<Control-Alt-l>', self.jump_right),
... | 29.375 | 56 | 0.549291 | 364 | 2,820 | 4.200549 | 0.159341 | 0.104644 | 0.109876 | 0.104644 | 0.83257 | 0.83257 | 0.83257 | 0.83257 | 0.83257 | 0.83257 | 0 | 0.007231 | 0.313475 | 2,820 | 95 | 57 | 29.684211 | 0.782541 | 0.044681 | 0 | 0.761905 | 0 | 0 | 0.032078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.031746 | 0 | 0.190476 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
675f2dc47aa969ef6afc24f3eb179d5211cca72e | 92,055 | py | Python | Taqbirlove.py | TeamOfDarkroom/Taqbirlov | e0c061a16a997bd689d7de9639ddc947e2b5511c | [
"Apache-2.0"
] | 3 | 2020-10-30T13:09:18.000Z | 2021-05-13T06:15:17.000Z | Taqbirlove.py | TeamOfDarkroom/Taqbirlov | e0c061a16a997bd689d7de9639ddc947e2b5511c | [
"Apache-2.0"
] | 1 | 2020-08-25T12:10:57.000Z | 2020-08-25T12:10:57.000Z | Taqbirlove.py | TeamOfDarkroom/Taqbirlov | e0c061a16a997bd689d7de9639ddc947e2b5511c | [
"Apache-2.0"
] | 7 | 2020-08-27T16:31:15.000Z | 2022-01-29T23:37:21.000Z | import base64
exec(base64.b16decode('23212F7573722F62696E2F707974686F6E320A23636F64696E673D7574662D380A235468652043726564697420466F72205468697320436F646520476F657320546F20426C61636B54696765722D4572726F723430340A23496620596F752057616E6E612054616B65204372656469747320466F72205468697320436F64652C20506C65617365204C6F6F6B205... | 30,685 | 92,040 | 0.999891 | 6 | 92,055 | 15,340.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.871594 | 0.000033 | 92,055 | 2 | 92,041 | 46,027.5 | 0.12833 | 0 | 0 | 0 | 0 | 0 | 0.999555 | 0.999555 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 12 |
67aa5ec955a22fe30621f9fb949b1f49c00f9857 | 3,904 | py | Python | test/test_credentials.py | Zoltan93/bcr-api | f21dfa0c73879a476b29e640f1af2aeea564afaa | [
"MIT"
] | 10 | 2020-11-06T04:32:37.000Z | 2022-01-09T01:57:29.000Z | test/test_credentials.py | Zoltan93/bcr-api | f21dfa0c73879a476b29e640f1af2aeea564afaa | [
"MIT"
] | 17 | 2020-02-24T15:09:28.000Z | 2022-02-14T09:31:55.000Z | test/test_credentials.py | Zoltan93/bcr-api | f21dfa0c73879a476b29e640f1af2aeea564afaa | [
"MIT"
] | 23 | 2020-02-03T15:50:32.000Z | 2021-07-20T21:16:05.000Z | # coding=utf-8
import tempfile
import unittest
from pathlib import Path
from bcr_api.credentials import CredentialsStore
ACCESS_TOKEN = "00000000-0000-0000-0000-000000000000"
class TestCredentialsStore(unittest.TestCase):
def with_credential_store(function):
def wrapper(self):
with tempfile.... | 33.367521 | 88 | 0.682633 | 458 | 3,904 | 5.611354 | 0.144105 | 0.152529 | 0.185214 | 0.222568 | 0.829183 | 0.829183 | 0.803113 | 0.784436 | 0.72179 | 0.696887 | 0 | 0.084751 | 0.2021 | 3,904 | 116 | 89 | 33.655172 | 0.740289 | 0.003074 | 0 | 0.552941 | 0 | 0 | 0.217481 | 0.087918 | 0 | 0 | 0 | 0 | 0.258824 | 1 | 0.176471 | false | 0 | 0.047059 | 0 | 0.247059 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db2b3350c02d0e89aa3ffc7982a6c0fd81ea4809 | 8,674 | py | Python | fhir/resources/STU3/tests/test_messagedefinition.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/STU3/tests/test_messagedefinition.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/STU3/tests/test_messagedefinition.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/MessageDefinition
Release: STU3
Version: 3.0.2
Revision: 11917
Last updated: 2019-10-24T11:53:00+11:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from .. import fhirtypes # noqa: F401
from .. import messagedefinition
... | 41.304762 | 87 | 0.694028 | 1,051 | 8,674 | 5.686013 | 0.189343 | 0.152276 | 0.023427 | 0.02577 | 0.836345 | 0.817102 | 0.803213 | 0.793173 | 0.757028 | 0.70666 | 0.000231 | 0.03278 | 0.173507 | 8,674 | 209 | 88 | 41.502392 | 0.80053 | 0.079202 | 0 | 0.580838 | 0 | 0.011976 | 0.315935 | 0.070348 | 0 | 0 | 0 | 0 | 0.580838 | 1 | 0.035928 | false | 0 | 0.017964 | 0 | 0.053892 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
db2d04d8c07825d87e5322134be89d6cd930c973 | 6,025 | py | Python | tests/unit_tests/test_nn/test_converters/test_onnx/test_Concat.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 5 | 2022-01-28T20:30:34.000Z | 2022-03-17T09:26:52.000Z | tests/unit_tests/test_nn/test_converters/test_onnx/test_Concat.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 9 | 2022-01-27T03:50:28.000Z | 2022-02-08T18:42:17.000Z | tests/unit_tests/test_nn/test_converters/test_onnx/test_Concat.py | samysweb/dnnv | 58fb95b7300914d9da28eed86c39eca473b1aaef | [
"MIT"
] | 2 | 2022-02-03T17:32:43.000Z | 2022-03-24T16:38:49.000Z | import numpy as np
import onnxruntime
from dnnv.nn.converters.onnx import *
from dnnv.nn.operations import *
def test_Concat_consts():
x0 = np.arange(5)
x1 = np.arange(10, 20)
op = Concat([x0, x1], 0)
onnx_model = convert(OperationGraph([op]))
results = onnxruntime.backend.run(onnx_model, [])
... | 27.017937 | 88 | 0.558008 | 920 | 6,025 | 3.588043 | 0.068478 | 0.087246 | 0.076341 | 0.14541 | 0.962739 | 0.9588 | 0.94638 | 0.943956 | 0.936686 | 0.921539 | 0 | 0.107353 | 0.239336 | 6,025 | 222 | 89 | 27.13964 | 0.612917 | 0 | 0 | 0.805031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201258 | 1 | 0.044025 | false | 0 | 0.025157 | 0 | 0.069182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c0013262202fd4a1674f576fe3efcc747907a571 | 28,315 | py | Python | gluoncv/model_zoo/rcnn/faster_rcnn/predefined_models.py | aptsunny/gluon-cv | 7f050d3411b1ada7d2b9515d63b848c55139fdbb | [
"Apache-2.0"
] | 1 | 2020-03-18T04:19:26.000Z | 2020-03-18T04:19:26.000Z | gluoncv/model_zoo/rcnn/faster_rcnn/predefined_models.py | aptsunny/gluon-cv | 7f050d3411b1ada7d2b9515d63b848c55139fdbb | [
"Apache-2.0"
] | null | null | null | gluoncv/model_zoo/rcnn/faster_rcnn/predefined_models.py | aptsunny/gluon-cv | 7f050d3411b1ada7d2b9515d63b848c55139fdbb | [
"Apache-2.0"
] | null | null | null | """Predefined Faster RCNN Model."""
from __future__ import absolute_import
import warnings
import mxnet as mx
from mxnet.gluon import nn
from mxnet.gluon.contrib.nn import SyncBatchNorm
from ..faster_rcnn import get_faster_rcnn
from ....nn.feature import FPNFeatureExpander
__all__ = ['faster_rcnn_resnet50_v1b_voc',... | 49.938272 | 100 | 0.671446 | 3,821 | 28,315 | 4.766292 | 0.071971 | 0.044586 | 0.020865 | 0.00615 | 0.985284 | 0.978146 | 0.970953 | 0.965902 | 0.964639 | 0.964639 | 0 | 0.051493 | 0.218118 | 28,315 | 566 | 101 | 50.026502 | 0.771128 | 0.3276 | 0 | 0.809677 | 0 | 0 | 0.096772 | 0.023408 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.087097 | 0 | 0.158065 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c04633a61e9e6ceb7163f805b7867cd05afc285c | 27,812 | py | Python | apps/layers_dataset/layers_param_data.py | new-TonyWang/tvm | 6b9f0abf935cbed82480326460eaaeb1a95bf9ca | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | apps/layers_dataset/layers_param_data.py | new-TonyWang/tvm | 6b9f0abf935cbed82480326460eaaeb1a95bf9ca | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | apps/layers_dataset/layers_param_data.py | new-TonyWang/tvm | 6b9f0abf935cbed82480326460eaaeb1a95bf9ca | [
"Zlib",
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0"
] | null | null | null | from generate_param_value import *
"""
保存了所有算子的参数和其值的生成函数的对应关系,如果不需要增加新算子则不需要修改
"""
global_table={
'LeakyReLU': {'self': None,
'alpha': get_value,
'kwargs': None},
'PReLU': {'self': None,
'alpha_initializer': 'zeros',
'alpha_regularizer': None,
... | 38.627778 | 80 | 0.479038 | 2,179 | 27,812 | 5.751262 | 0.094998 | 0.067028 | 0.036866 | 0.051069 | 0.782397 | 0.767316 | 0.751835 | 0.741143 | 0.736355 | 0.693505 | 0 | 0.006753 | 0.403639 | 27,812 | 719 | 81 | 38.681502 | 0.748824 | 0.177118 | 0 | 0.763672 | 1 | 0 | 0.285387 | 0.023746 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001953 | 0 | 0.001953 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
22414412694ba19cf4d0ea9aa5e81514793b492f | 15,412 | py | Python | tests/test_pattoo_agents/snmp/test_configuration.py | palisadoes/pattoo-agents | d73453ceac1747573dfbcad4da724325e86b208d | [
"Apache-2.0"
] | null | null | null | tests/test_pattoo_agents/snmp/test_configuration.py | palisadoes/pattoo-agents | d73453ceac1747573dfbcad4da724325e86b208d | [
"Apache-2.0"
] | null | null | null | tests/test_pattoo_agents/snmp/test_configuration.py | palisadoes/pattoo-agents | d73453ceac1747573dfbcad4da724325e86b208d | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""Test the class_oid module."""
import sys
import unittest
import os
# Try to create a working PYTHONPATH
EXEC_DIR = os.path.dirname(os.path.realpath(__file__))
ROOT_DIR = os.path.abspath(os.path.join(
os.path.abspath(os.path.join(
os.path.abspath(os.path.join(
EXEC_DIR... | 35.027273 | 80 | 0.63483 | 1,754 | 15,412 | 5.375143 | 0.110604 | 0.101824 | 0.054306 | 0.059398 | 0.839945 | 0.839945 | 0.832732 | 0.832732 | 0.823186 | 0.793063 | 0 | 0.019905 | 0.233974 | 15,412 | 439 | 81 | 35.107062 | 0.778672 | 0.249546 | 0 | 0.792793 | 0 | 0.018018 | 0.067135 | 0.022009 | 0 | 0 | 0 | 0 | 0.288288 | 1 | 0.189189 | false | 0.036036 | 0.031532 | 0 | 0.243243 | 0.004505 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
224cfd0e336da84f7f64cdb4e13747d8209ac826 | 379 | py | Python | efficient_rl/agents/__init__.py | rlagywjd802/efficient_rl | 6a82bfc10d814f5d36a7c211d645aa35ea380acf | [
"MIT"
] | 8 | 2020-06-25T10:16:48.000Z | 2022-02-15T09:12:04.000Z | efficient_rl/agents/__init__.py | rlagywjd802/efficient_rl | 6a82bfc10d814f5d36a7c211d645aa35ea380acf | [
"MIT"
] | null | null | null | efficient_rl/agents/__init__.py | rlagywjd802/efficient_rl | 6a82bfc10d814f5d36a7c211d645aa35ea380acf | [
"MIT"
] | 2 | 2020-12-30T07:39:38.000Z | 2021-04-12T14:57:13.000Z | import efficient_rl.agents.oo_mdp_learner
from efficient_rl.agents.BaseAgentClass import BaseAgent
from efficient_rl.agents.RmaxBaseClass import RmaxBaseAgent
from efficient_rl.agents.RmaxClass import Rmax
from efficient_rl.agents.FactoredRmaxClass import FactoredRmax
from efficient_rl.agents.QLearningClass import QLea... | 47.375 | 62 | 0.894459 | 49 | 379 | 6.734694 | 0.408163 | 0.233333 | 0.360606 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068602 | 379 | 7 | 63 | 54.142857 | 0.934844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
225d26ce6baf557171c3543011dd8766d9262d5e | 2,303 | py | Python | tests.py | rudimk/fixerpy | 59cd9c93981cf4d4320f4256fe789147dfff66b4 | [
"Apache-2.0"
] | null | null | null | tests.py | rudimk/fixerpy | 59cd9c93981cf4d4320f4256fe789147dfff66b4 | [
"Apache-2.0"
] | 1 | 2017-08-26T12:45:07.000Z | 2017-08-26T13:38:18.000Z | tests.py | rudimk/fixerpy | 59cd9c93981cf4d4320f4256fe789147dfff66b4 | [
"Apache-2.0"
] | null | null | null | from fixerpy import Converter
def testLatestRates():
c = Converter()
latestRates = c.getLatestRates()
if latestRates:
assert True
else:
assert False, "Current forex rates not retrieved."
if 'date' in latestRates:
assert True
else:
assert False, "The date is missi... | 28.432099 | 61 | 0.620929 | 260 | 2,303 | 5.5 | 0.161538 | 0.111888 | 0.156643 | 0.223776 | 0.886014 | 0.886014 | 0.848252 | 0.848252 | 0.848252 | 0.848252 | 0 | 0.009798 | 0.290925 | 2,303 | 81 | 62 | 28.432099 | 0.865891 | 0 | 0 | 0.831169 | 0 | 0 | 0.231771 | 0 | 0 | 0 | 0 | 0 | 0.415584 | 1 | 0.051948 | false | 0 | 0.012987 | 0 | 0.064935 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
58c004f50cde44fb8358ca6d7b1f2d52b5e7022b | 65,222 | py | Python | mysite/tcgcreator/battle_det.py | jidpn/tcgcreator_eternal_beta | 4a10a5a36eeb161cf35a3488453c00325d78ae83 | [
"MIT"
] | null | null | null | mysite/tcgcreator/battle_det.py | jidpn/tcgcreator_eternal_beta | 4a10a5a36eeb161cf35a3488453c00325d78ae83 | [
"MIT"
] | null | null | null | mysite/tcgcreator/battle_det.py | jidpn/tcgcreator_eternal_beta | 4a10a5a36eeb161cf35a3488453c00325d78ae83 | [
"MIT"
] | null | null | null | from .models import (
Deck,
Duel,
Grave,
Hand,
CostWrapper,
Config,
Lock,
)
from html import escape
from django.http import HttpResponse
from django.utils.html import format_html
from django.db.models import Q
from .duel import DuelObj
from django.db import connection
import json
import copy... | 48.169867 | 140 | 0.421729 | 6,090 | 65,222 | 4.326108 | 0.026437 | 0.035072 | 0.035527 | 0.034161 | 0.907576 | 0.875465 | 0.83599 | 0.810825 | 0.7942 | 0.776437 | 0 | 0.021397 | 0.505581 | 65,222 | 1,353 | 141 | 48.205469 | 0.795609 | 0.002346 | 0 | 0.783005 | 0 | 0 | 0.024477 | 0.000651 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003794 | false | 0.003794 | 0.009105 | 0 | 0.036419 | 0.008346 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
451164a71400ced2bc33c7c7685bd00d4a9308e1 | 86 | py | Python | wikihow_crawler/__init__.py | chinodyt/wikihow_crawler | f00fd6c425fe498e8928f7d487a9ce7e1b887e04 | [
"MIT"
] | null | null | null | wikihow_crawler/__init__.py | chinodyt/wikihow_crawler | f00fd6c425fe498e8928f7d487a9ce7e1b887e04 | [
"MIT"
] | null | null | null | wikihow_crawler/__init__.py | chinodyt/wikihow_crawler | f00fd6c425fe498e8928f7d487a9ce7e1b887e04 | [
"MIT"
] | null | null | null | from .crawler import Crawler
from .crawler import HowToPage
from .util import Settings | 28.666667 | 30 | 0.837209 | 12 | 86 | 6 | 0.5 | 0.305556 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 86 | 3 | 31 | 28.666667 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
18da74fa2fb262d52a01b13b7067323afeaefbf5 | 143 | py | Python | dataspace/__init__.py | Sam-prog-sudo/dataspace | 2bab85c4dfa713deb835a46e9214c43a3a674082 | [
"MIT"
] | 3 | 2021-06-28T09:45:51.000Z | 2022-01-10T15:38:07.000Z | dataspace/__init__.py | Sam-prog-sudo/dataspace | 2bab85c4dfa713deb835a46e9214c43a3a674082 | [
"MIT"
] | null | null | null | dataspace/__init__.py | Sam-prog-sudo/dataspace | 2bab85c4dfa713deb835a46e9214c43a3a674082 | [
"MIT"
] | 1 | 2021-07-01T08:50:32.000Z | 2021-07-01T08:50:32.000Z | from dataspace.core import DataSpace
from dataspace.core.env import is_notebook
from dataspace.core.load import from_df, from_csv, from_django
| 35.75 | 62 | 0.853147 | 23 | 143 | 5.130435 | 0.478261 | 0.330508 | 0.432203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 143 | 3 | 63 | 47.666667 | 0.914729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7a07dd15adff197d5e1923e94a5937b2ad4cb538 | 197 | py | Python | Controller/communication/__init__.py | Ernstsen/RC-car | eda8ec6ae28686380c06f442c889ea89a077315b | [
"MIT"
] | null | null | null | Controller/communication/__init__.py | Ernstsen/RC-car | eda8ec6ae28686380c06f442c889ea89a077315b | [
"MIT"
] | 3 | 2021-03-23T15:13:14.000Z | 2021-03-23T16:15:20.000Z | Controller/communication/__init__.py | Ernstsen/RC-car | eda8ec6ae28686380c06f442c889ea89a077315b | [
"MIT"
] | null | null | null | from .configuration_utilities import Configurator
from .server_utilities import create_server, connect, send, terminate
__all__ = ["Configurator", "create_server", "connect", "send", "terminate"]
| 39.4 | 75 | 0.791878 | 21 | 197 | 7.047619 | 0.52381 | 0.202703 | 0.256757 | 0.310811 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096447 | 197 | 4 | 76 | 49.25 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.228426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e15df7cbb45629311510f0d0339d612d51329356 | 18,649 | py | Python | td/fields.py | eyesuk/td-ameritrade-python-api | 0dcdb8029e0fe4e051a56ad276b1d9c5bc62352a | [
"MIT"
] | 1 | 2021-10-01T21:16:24.000Z | 2021-10-01T21:16:24.000Z | td/fields.py | bkgrover71/sigma_code_td_ameritrade | 27dfe6515134646049b5ebaa7f7519efa7a93308 | [
"MIT"
] | null | null | null | td/fields.py | bkgrover71/sigma_code_td_ameritrade | 27dfe6515134646049b5ebaa7f7519efa7a93308 | [
"MIT"
] | null | null | null | ENDPOINT_ARGUMENTS = {
'search_instruments': {
'projection': ['symbol-search', 'symbol-regex', 'desc-search', 'desc-regex', 'fundamental']
},
'get_market_hours': {
'markets': ['EQUITY', 'OPTION', 'FUTURE', 'BOND', 'FOREX']
},
'get_movers': {
'market': ['$DJI', '$COMPX', '$SPX... | 26.565527 | 103 | 0.414928 | 1,887 | 18,649 | 4.059353 | 0.118177 | 0.023499 | 0.013055 | 0.009399 | 0.864621 | 0.853916 | 0.846084 | 0.839164 | 0.816841 | 0.816841 | 0 | 0.072497 | 0.347633 | 18,649 | 701 | 104 | 26.603424 | 0.557126 | 0 | 0 | 0.811782 | 0 | 0 | 0.435895 | 0.040163 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e15eda961a80cdf29e378c09b40005c5e137cf78 | 8,815 | py | Python | problems/ranking/variational.py | VivienCabannes/infimum_loss | f3fa6dbdf73431105d1097712dae0d23ec0ca37d | [
"MIT"
] | 10 | 2020-12-22T21:30:06.000Z | 2021-09-10T09:07:13.000Z | problems/ranking/variational.py | VivienCabannes/infimum_loss | f3fa6dbdf73431105d1097712dae0d23ec0ca37d | [
"MIT"
] | 5 | 2021-05-26T16:04:43.000Z | 2021-08-05T13:52:17.000Z | problems/ranking/variational.py | VivienCabannes/infimum_loss | f3fa6dbdf73431105d1097712dae0d23ec0ca37d | [
"MIT"
] | null | null | null |
import numpy as np
from .fassolver import IlpSolver
class IL:
def __init__(self, computer, fas_solver=None):
self.computer = computer
self.solver = fas_solver
self.is_ilp = type(fas_solver) == IlpSolver
def train(self, x_train, S_train, **kwargs):
self.computer.set_support(x_... | 36.42562 | 91 | 0.490414 | 1,083 | 8,815 | 3.815328 | 0.102493 | 0.043562 | 0.029042 | 0.028316 | 0.857696 | 0.845111 | 0.827686 | 0.827686 | 0.798645 | 0.780252 | 0 | 0.009517 | 0.392059 | 8,815 | 241 | 92 | 36.576763 | 0.761523 | 0.114124 | 0 | 0.735135 | 0 | 0 | 0.009507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064865 | false | 0 | 0.010811 | 0 | 0.113514 | 0.016216 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e1a8ea5495e6f54141a21ddd0c921bf5677e7575 | 172,316 | py | Python | blender/2.79/scripts/addons/rigify/metarigs/Animals/wolf.py | uzairakbar/bpy2.79 | 3a3e0004ac6783c4e4b89d939e4432de99026a85 | [
"MIT"
] | 2 | 2019-11-27T09:05:42.000Z | 2020-02-20T01:25:23.000Z | rigify/metarigs/Animals/wolf.py | 1-MillionParanoidTterabytes/blender-addons-master | acc8fc23a38e6e89099c3e5079bea31ce85da06a | [
"Unlicense"
] | null | null | null | rigify/metarigs/Animals/wolf.py | 1-MillionParanoidTterabytes/blender-addons-master | acc8fc23a38e6e89099c3e5079bea31ce85da06a | [
"Unlicense"
] | 4 | 2020-02-19T20:02:26.000Z | 2022-02-11T18:47:56.000Z | import bpy
from mathutils import Color
def create(obj):
# generated by rigify.utils.write_metarig
bpy.ops.object.mode_set(mode='EDIT')
arm = obj.data
for i in range(6):
arm.rigify_colors.add()
arm.rigify_colors[0].name = "Root"
arm.rigify_colors[0].active = Color((0.549019634723663... | 53.398203 | 274 | 0.661395 | 25,457 | 172,316 | 4.379228 | 0.021605 | 0.677419 | 0.893149 | 1.027072 | 0.975252 | 0.948413 | 0.944296 | 0.934384 | 0.92684 | 0.912775 | 0 | 0.062728 | 0.182171 | 172,316 | 3,227 | 275 | 53.398203 | 0.728345 | 0.000226 | 0 | 0.582503 | 1 | 0 | 0.058917 | 0.00195 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000311 | false | 0.014944 | 0.000623 | 0 | 0.000934 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
beed8e925b74a2a0437df05a80b706640216d067 | 830 | py | Python | constants.py | omidmogharian/aserver | 88dc96e2c5ddfda180d7215733e0120279273280 | [
"MIT"
] | null | null | null | constants.py | omidmogharian/aserver | 88dc96e2c5ddfda180d7215733e0120279273280 | [
"MIT"
] | null | null | null | constants.py | omidmogharian/aserver | 88dc96e2c5ddfda180d7215733e0120279273280 | [
"MIT"
] | null | null | null | Basic_HEADER = {'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'POST, GET, OPTIONS',
'Access-Control-Allow-Headers':
'access_token, accessToken,origin,'
' x-csrftoken, content-type, accept',
'Access-Control-Max-... | 43.684211 | 69 | 0.433735 | 61 | 830 | 5.819672 | 0.377049 | 0.292958 | 0.304225 | 0.135211 | 0.929577 | 0.929577 | 0.929577 | 0.929577 | 0.929577 | 0.929577 | 0 | 0.029915 | 0.436145 | 830 | 18 | 70 | 46.111111 | 0.728632 | 0 | 0 | 0.117647 | 0 | 0 | 0.461446 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
835d0cafdadecdf6cd2d88be712d837d53cc5e7f | 8,604 | py | Python | oops_fhir/r4/code_system/v3_probability_distribution_type.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/v3_probability_distribution_type.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/code_system/v3_probability_distribution_type.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | from pathlib import Path
from fhir.resources.codesystem import CodeSystem
from oops_fhir.utils import CodeSystemConcept
__all__ = ["v3ProbabilityDistributionType"]
_resource = CodeSystem.parse_file(Path(__file__).with_suffix(".json"))
class v3ProbabilityDistributionType:
"""
v3 Code System ProbabilityDis... | 59.337931 | 649 | 0.677359 | 1,286 | 8,604 | 4.521773 | 0.177294 | 0.013758 | 0.022012 | 0.027515 | 0.852623 | 0.850903 | 0.850903 | 0.847463 | 0.847463 | 0.847463 | 0 | 0.019353 | 0.249303 | 8,604 | 144 | 650 | 59.75 | 0.880941 | 0.022896 | 0 | 0 | 0 | 0.126761 | 0.720041 | 0.00593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.042254 | 0 | 0.197183 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
835dc089927fa81f4bc85ce7b3430f8fd20dba49 | 225 | py | Python | policy_driven_attack/policy/mnist/__init__.py | machanic/TangentAttack | 17c1a8e93f9bbd03e209e8650631af744a0ff6b8 | [
"Apache-2.0"
] | 4 | 2021-11-12T04:06:32.000Z | 2022-01-27T09:01:41.000Z | policy_driven_attack/policy/mnist/__init__.py | machanic/TangentAttack | 17c1a8e93f9bbd03e209e8650631af744a0ff6b8 | [
"Apache-2.0"
] | 1 | 2022-02-22T14:00:59.000Z | 2022-02-25T08:57:29.000Z | policy_driven_attack/policy/mnist/__init__.py | machanic/TangentAttack | 17c1a8e93f9bbd03e209e8650631af744a0ff6b8 | [
"Apache-2.0"
] | null | null | null | from policy_driven_attack.policy.mnist.empty import *
from policy_driven_attack.policy.mnist.unet import *
from policy_driven_attack.policy.mnist.carlinet_inv import *
from policy_driven_attack.policy.mnist.vgg_inv import *
| 37.5 | 60 | 0.853333 | 34 | 225 | 5.352941 | 0.323529 | 0.21978 | 0.351648 | 0.483516 | 0.824176 | 0.824176 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0.075556 | 225 | 5 | 61 | 45 | 0.875 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.