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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
60421c63970c56fb013653048c542f811ebf5d2b | 187 | py | Python | tests/unit/polygon/__init__.py | phuntimes/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | 1 | 2020-11-26T05:58:23.000Z | 2020-11-26T05:58:23.000Z | tests/unit/polygon/__init__.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | tests/unit/polygon/__init__.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from mongoshapes import Polygon as GeoShape
from mongoshapes import PolygonDict as GeoDict
from mongoengine import PolygonField as GeoField
| 26.714286 | 48 | 0.786096 | 25 | 187 | 5.88 | 0.72 | 0.204082 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.139037 | 187 | 6 | 49 | 31.166667 | 0.906832 | 0.224599 | 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 |
6060e6cd709be25769e32cfa1a27e9bf639b2c85 | 178 | py | Python | djff2html/__init__.py | 20x48/djff2html | 03e14cb2a06dd490d299fc1c42039c03fbf507b2 | [
"MIT"
] | 1 | 2022-02-04T13:57:56.000Z | 2022-02-04T13:57:56.000Z | djff2html/__init__.py | 20x48/djff2html | 03e14cb2a06dd490d299fc1c42039c03fbf507b2 | [
"MIT"
] | null | null | null | djff2html/__init__.py | 20x48/djff2html | 03e14cb2a06dd490d299fc1c42039c03fbf507b2 | [
"MIT"
] | null | null | null | try:
from .j import generate, escape
from .v import __version__
except ImportError:
from j import generate, escape
from v import __version__
__author__ = '20x48' | 22.25 | 35 | 0.724719 | 23 | 178 | 5.086957 | 0.521739 | 0.08547 | 0.188034 | 0.324786 | 0.735043 | 0.735043 | 0.735043 | 0.735043 | 0.735043 | 0 | 0 | 0.028986 | 0.224719 | 178 | 8 | 36 | 22.25 | 0.818841 | 0 | 0 | 0 | 1 | 0 | 0.027933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 11 |
6089c284a12604a5b18643dee5d84142b986abf5 | 117 | py | Python | restapi/src/models/__init__.py | Nyoton/MovieApp | 48f703f23be544248d9de0004d12fa3c1db0aa42 | [
"MIT"
] | null | null | null | restapi/src/models/__init__.py | Nyoton/MovieApp | 48f703f23be544248d9de0004d12fa3c1db0aa42 | [
"MIT"
] | null | null | null | restapi/src/models/__init__.py | Nyoton/MovieApp | 48f703f23be544248d9de0004d12fa3c1db0aa42 | [
"MIT"
] | null | null | null | from src.models.Database import Database
from src.models.Movie import Movie
from src.models.Category import Category
| 29.25 | 40 | 0.846154 | 18 | 117 | 5.5 | 0.388889 | 0.212121 | 0.393939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 41 | 39 | 0.942857 | 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 |
60b1bebda8ba9dc00e9cbd84631ac6caaa50c796 | 7,551 | py | Python | tests/test_account.py | msumit/qds-sdk-py | d3c433f3649a1648e0dd5a6a80a152c9a16f3261 | [
"Apache-2.0"
] | 1 | 2020-04-08T00:59:28.000Z | 2020-04-08T00:59:28.000Z | tests/test_account.py | msumit/qds-sdk-py | d3c433f3649a1648e0dd5a6a80a152c9a16f3261 | [
"Apache-2.0"
] | null | null | null | tests/test_account.py | msumit/qds-sdk-py | d3c433f3649a1648e0dd5a6a80a152c9a16f3261 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import sys
import os
if sys.version_info > (2, 7, 0):
import unittest
else:
import unittest2 as unittest
from mock import Mock
sys.path.append(os.path.join(os.path.dirname(__file__), '../bin'))
import qds
from qds_sdk.connection import Connection
from test_base import pri... | 40.164894 | 80 | 0.486558 | 706 | 7,551 | 5.009915 | 0.121813 | 0.094996 | 0.079163 | 0.06531 | 0.880973 | 0.880973 | 0.880973 | 0.872774 | 0.872774 | 0.872774 | 0 | 0.00587 | 0.345782 | 7,551 | 187 | 81 | 40.379679 | 0.710121 | 0 | 0 | 0.825581 | 0 | 0 | 0.323268 | 0.034035 | 0 | 0 | 0 | 0 | 0.05814 | 1 | 0.05814 | false | 0 | 0.05814 | 0 | 0.122093 | 0.069767 | 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 |
60b32ba0539bad43e4cd9a9093cbd011d46e7ecd | 140 | py | Python | loldib/getratings/models/NA/na_gnar/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_gnar/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_gnar/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_gnar_top import *
from .na_gnar_jng import *
from .na_gnar_mid import *
from .na_gnar_bot import *
from .na_gnar_sup import *
| 23.333333 | 27 | 0.75 | 25 | 140 | 3.8 | 0.36 | 0.315789 | 0.526316 | 0.673684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 140 | 5 | 28 | 28 | 0.826087 | 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 | 0 | 0 | 0 | 7 |
60c145e8181bf238044c5864a38356bd71a9fbe2 | 5,581 | py | Python | nipy/modalities/fmri/tests/test_iterators.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | 1 | 2015-08-22T16:14:45.000Z | 2015-08-22T16:14:45.000Z | nipy/modalities/fmri/tests/test_iterators.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | null | null | null | nipy/modalities/fmri/tests/test_iterators.py | yarikoptic/NiPy-OLD | 8759b598ac72d3b9df7414642c7a662ad9c55ece | [
"BSD-3-Clause"
] | null | null | null | #TODO the iterators are deprecated
import numpy as np
from nipy.testing import *
from nipy.core.api import Image
import nipy.core.reference.coordinate_map as coordinate_map
from nipy.modalities.fmri.api import FmriImageList
"""
Comment out since these are slated for deletion and currently are broken.
Keep for referenc... | 39.302817 | 104 | 0.567103 | 782 | 5,581 | 3.959079 | 0.121483 | 0.076873 | 0.077519 | 0.058786 | 0.803618 | 0.796512 | 0.796512 | 0.784238 | 0.784238 | 0.784238 | 0 | 0.045271 | 0.291525 | 5,581 | 141 | 105 | 39.58156 | 0.737734 | 0.005913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
60dd7d76d1add8fede3b1f9e02e6aaaeed31aa13 | 71,005 | py | Python | tests/test_archive_api.py | shadchin/Opentok-Python-SDK | 290fdefdff173858a7cba017047f555d5c6c3096 | [
"MIT"
] | null | null | null | tests/test_archive_api.py | shadchin/Opentok-Python-SDK | 290fdefdff173858a7cba017047f555d5c6c3096 | [
"MIT"
] | null | null | null | tests/test_archive_api.py | shadchin/Opentok-Python-SDK | 290fdefdff173858a7cba017047f555d5c6c3096 | [
"MIT"
] | null | null | null | import unittest
from six import text_type, u, b, PY2, PY3
from nose.tools import raises
from expects import *
import httpretty
from sure import expect
import textwrap
import json
import datetime
import pytz
import requests
from .validate_jwt import validate_jwt_header
from opentok import (
Client,
Archive,
... | 45.312699 | 241 | 0.477065 | 5,975 | 71,005 | 5.541255 | 0.046192 | 0.025371 | 0.051648 | 0.051648 | 0.958803 | 0.952762 | 0.947235 | 0.94204 | 0.938295 | 0.935546 | 0 | 0.085756 | 0.395479 | 71,005 | 1,566 | 242 | 45.341635 | 0.685584 | 0.01583 | 0 | 0.720137 | 0 | 0.001138 | 0.155118 | 0.019908 | 0 | 0 | 0 | 0.002554 | 0.003413 | 1 | 0.032992 | false | 0 | 0.01479 | 0 | 0.048919 | 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 |
716c036acd077e322fb5bbf9bea7e1d20e3f25dc | 131,049 | py | Python | examples/grids/grid_bpu/milano_8p1_vsg_1/milano_8p1_vsg_1.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | 1 | 2020-12-20T03:45:26.000Z | 2020-12-20T03:45:26.000Z | examples/grids/grid_bpu/milano_8p1_vsg_1/milano_8p1_vsg_1.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | examples/grids/grid_bpu/milano_8p1_vsg_1/milano_8p1_vsg_1.py | pydae/pydae | 8076bcfeb2cdc865a5fc58561ff8d246d0ed7d9d | [
"MIT"
] | null | null | null | import numpy as np
import numba
import scipy.optimize as sopt
import json
sin = np.sin
cos = np.cos
atan2 = np.arctan2
sqrt = np.sqrt
sign = np.sign
exp = np.exp
class milano_8p1_vsg_1_class:
def __init__(self):
self.t_end = 10.000000
self.Dt = 0.0010000
self.decimation = 10.00000... | 48.109031 | 744 | 0.563797 | 29,392 | 131,049 | 2.162187 | 0.01218 | 0.197054 | 0.064452 | 0.035877 | 0.906784 | 0.876288 | 0.850231 | 0.824503 | 0.807556 | 0.793803 | 0 | 0.151018 | 0.249143 | 131,049 | 2,724 | 745 | 48.109031 | 0.494832 | 0.017803 | 0 | 0.718388 | 0 | 0 | 0.014834 | 0.001402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020574 | false | 0 | 0.001715 | 0.000857 | 0.035148 | 0.003429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
716f27f0114d1157b2c7fce7ba0854a2c899ace5 | 1,582 | py | Python | backend/rsa/forms.py | BigBlackWolf/crypto | 7b2dc151f0abd5319be5bccca92fcac77df7771d | [
"MIT"
] | null | null | null | backend/rsa/forms.py | BigBlackWolf/crypto | 7b2dc151f0abd5319be5bccca92fcac77df7771d | [
"MIT"
] | 3 | 2021-03-09T00:51:05.000Z | 2022-02-17T20:04:03.000Z | backend/rsa/forms.py | BigBlackWolf/crypto | 7b2dc151f0abd5319be5bccca92fcac77df7771d | [
"MIT"
] | 1 | 2019-02-10T22:44:53.000Z | 2019-02-10T22:44:53.000Z | from wtforms import IntegerField, validators, StringField
from flask_wtf import FlaskForm
import re
# Regular expression to validate hex number
hex_regexp = re.compile('[0-9a-fA-F]+')
class GenerateKeyForm(FlaskForm):
length = IntegerField(validators=[validators.NumberRange(64, 1024)])
class EncryptForm(FlaskF... | 36.790698 | 76 | 0.767383 | 172 | 1,582 | 6.994186 | 0.25 | 0.266002 | 0.386534 | 0.276808 | 0.716542 | 0.716542 | 0.716542 | 0.674148 | 0.674148 | 0.674148 | 0 | 0.026893 | 0.106827 | 1,582 | 43 | 77 | 36.790698 | 0.824487 | 0.025917 | 0 | 0.481481 | 0 | 0 | 0.007792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.962963 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
7184bf9751f74bffcaac3c862086394d9cbd3a00 | 3,487 | py | Python | lib/parsedatetime/tests/TestComplexDateTimes.py | r3tard/BartusBot | baa0e775a8495c696ca274d78f898eb74d8fa961 | [
"Apache-2.0"
] | 1 | 2015-11-01T00:16:41.000Z | 2015-11-01T00:16:41.000Z | lib/parsedatetime-1.5/parsedatetime/tests/TestComplexDateTimes.py | r3tard/BartusBot | baa0e775a8495c696ca274d78f898eb74d8fa961 | [
"Apache-2.0"
] | 12 | 2015-10-30T20:22:53.000Z | 2016-02-09T21:56:17.000Z | lib/parsedatetime/tests/TestComplexDateTimes.py | r3tard/BartusBot | baa0e775a8495c696ca274d78f898eb74d8fa961 | [
"Apache-2.0"
] | null | null | null |
"""
Test parsing of complex date and times
"""
import unittest, time, datetime
import parsedatetime as pdt
class test(unittest.TestCase):
@pdt.tests.assertEqualWithComparator
def assertExpectedResult(self, result, check, **kwargs):
return pdt.tests.compareResultByTimeTuplesAndFlags(result, check, **... | 52.044776 | 111 | 0.639231 | 456 | 3,487 | 4.870614 | 0.153509 | 0.280955 | 0.315173 | 0.348942 | 0.78208 | 0.78208 | 0.773075 | 0.769023 | 0.704638 | 0.613237 | 0 | 0.06746 | 0.205047 | 3,487 | 66 | 112 | 52.833333 | 0.733766 | 0.010898 | 0 | 0.085106 | 0 | 0 | 0.104651 | 0 | 0 | 0 | 0 | 0 | 0.574468 | 1 | 0.06383 | false | 0 | 0.042553 | 0.021277 | 0.148936 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
7192d0b16ee7f42249b9b62ae26be8b960fa6170 | 43 | py | Python | HelloWorld.py | parth58199/Hello-World | 6f7c5cecd56eeaea2a701e1a32c126c3da80ac69 | [
"MIT"
] | null | null | null | HelloWorld.py | parth58199/Hello-World | 6f7c5cecd56eeaea2a701e1a32c126c3da80ac69 | [
"MIT"
] | null | null | null | HelloWorld.py | parth58199/Hello-World | 6f7c5cecd56eeaea2a701e1a32c126c3da80ac69 | [
"MIT"
] | null | null | null | print('Hello World')
print("hello world!")
| 14.333333 | 21 | 0.697674 | 6 | 43 | 5 | 0.5 | 0.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 22 | 21.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 7 |
71d453167e30121c408288e193c2a9038a9ceccd | 42 | py | Python | src/lib/py_compile.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/py_compile.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/py_compile.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("py_compile")
| 21 | 41 | 0.785714 | 7 | 42 | 3.857143 | 0.714286 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 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 |
e0b7b47b64c84fdc1e2f20c0f469ed68456e20df | 16,192 | py | Python | tests/hwsim/test_eap.py | wolfssl-jp/wolfssl_hostapd | 458ca6d59a6dac97b3d6870132740b255ca7929d | [
"Unlicense"
] | 3 | 2021-09-07T18:41:51.000Z | 2021-09-17T21:50:52.000Z | tests/hwsim/test_eap.py | kareem-wolfssl/wolfssl_hostapd | df2d4bae478c99086db2decc662ef440079fa63f | [
"Unlicense"
] | null | null | null | tests/hwsim/test_eap.py | kareem-wolfssl/wolfssl_hostapd | df2d4bae478c99086db2decc662ef440079fa63f | [
"Unlicense"
] | 2 | 2021-09-02T23:36:42.000Z | 2021-09-19T22:53:48.000Z | # EAP authentication tests
# Copyright (c) 2019, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
import hostapd
from utils import alloc_fail, fail_test, wait_fail_trigger, HwsimSkip
from test_ap_eap import check_eap_capa, int_eap_server_p... | 46.262857 | 92 | 0.621603 | 2,214 | 16,192 | 4.251129 | 0.093044 | 0.071398 | 0.038249 | 0.046218 | 0.832129 | 0.805461 | 0.781874 | 0.762856 | 0.731619 | 0.70952 | 0 | 0.028935 | 0.238019 | 16,192 | 349 | 93 | 46.395415 | 0.733911 | 0.06707 | 0 | 0.682594 | 0 | 0 | 0.238851 | 0.046397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078498 | false | 0.095563 | 0.010239 | 0 | 0.09215 | 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 |
1ca0eceebf5a30fc80ec4fa3878150dd2da64b68 | 145 | py | Python | vision/command/__init__.py | JackGoldsworth/Vision | 084330bec340596167944b623bc7b8d7d9c26b01 | [
"MIT"
] | null | null | null | vision/command/__init__.py | JackGoldsworth/Vision | 084330bec340596167944b623bc7b8d7d9c26b01 | [
"MIT"
] | 1 | 2018-08-20T18:35:48.000Z | 2019-01-10T02:56:12.000Z | vision/command/__init__.py | JackGoldsworth/Vision | 084330bec340596167944b623bc7b8d7d9c26b01 | [
"MIT"
] | null | null | null | from command.command_handler import CommandHandler
from command.command_info import CommandInfo
from command.command_parser import CommandParser
| 36.25 | 50 | 0.896552 | 18 | 145 | 7.055556 | 0.5 | 0.259843 | 0.425197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 3 | 51 | 48.333333 | 0.954887 | 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 |
1c0e0f277dee6bd8089d98ea9166298954440eaf | 17,463 | py | Python | src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_streaming_policy_scenarios.py | psignoret/azure-cli | 1a4a043750315f9a7f2894b4287126089978b615 | [
"MIT"
] | 2 | 2020-08-08T11:00:25.000Z | 2020-08-08T11:00:30.000Z | src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_streaming_policy_scenarios.py | psignoret/azure-cli | 1a4a043750315f9a7f2894b4287126089978b615 | [
"MIT"
] | 2 | 2021-01-15T09:24:07.000Z | 2021-01-15T09:30:10.000Z | src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_streaming_policy_scenarios.py | psignoret/azure-cli | 1a4a043750315f9a7f2894b4287126089978b615 | [
"MIT"
] | 1 | 2020-11-12T01:49:27.000Z | 2020-11-12T01:49:27.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 53.240854 | 470 | 0.657848 | 1,583 | 17,463 | 7.11813 | 0.102337 | 0.051118 | 0.018371 | 0.024494 | 0.902467 | 0.894569 | 0.857561 | 0.849219 | 0.849219 | 0.849219 | 0 | 0.007019 | 0.200481 | 17,463 | 327 | 471 | 53.40367 | 0.800029 | 0.019241 | 0 | 0.8327 | 0 | 0.08365 | 0.486917 | 0.238407 | 0 | 0 | 0 | 0 | 0.003802 | 1 | 0.026616 | false | 0 | 0.011407 | 0 | 0.041825 | 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 |
1c48f24ae3c32c49052dd25f913598d1564702d8 | 154 | py | Python | moztrap/view/users/context_processors.py | mbeko/moztrap | db75e1f8756ef2c0c39652a66302b19c8afa0256 | [
"BSD-2-Clause"
] | null | null | null | moztrap/view/users/context_processors.py | mbeko/moztrap | db75e1f8756ef2c0c39652a66302b19c8afa0256 | [
"BSD-2-Clause"
] | null | null | null | moztrap/view/users/context_processors.py | mbeko/moztrap | db75e1f8756ef2c0c39652a66302b19c8afa0256 | [
"BSD-2-Clause"
] | null | null | null | """
Auth-related context processors.
"""
from django.conf import settings
def browserid(request):
return {"USE_BROWSERID": settings.USE_BROWSERID}
| 15.4 | 52 | 0.746753 | 18 | 154 | 6.277778 | 0.777778 | 0.212389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 154 | 9 | 53 | 17.111111 | 0.849624 | 0.207792 | 0 | 0 | 0 | 0 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
1c85e1f0fcb2532fba16b10fa8fc6f928452b44e | 306 | py | Python | codes/models/archs/dcn/__init__.py | Johnson-yue/mmsr | 3549100670c48828901f414a75d93dc822bb8eaa | [
"Apache-2.0"
] | 130 | 2020-09-21T04:20:41.000Z | 2022-03-26T03:14:20.000Z | codes/models/archs/dcn/__init__.py | Johnson-yue/mmsr | 3549100670c48828901f414a75d93dc822bb8eaa | [
"Apache-2.0"
] | 10 | 2020-10-11T21:25:27.000Z | 2021-11-10T05:48:11.000Z | codes/models/archs/dcn/__init__.py | Johnson-yue/mmsr | 3549100670c48828901f414a75d93dc822bb8eaa | [
"Apache-2.0"
] | 23 | 2020-10-01T06:11:14.000Z | 2022-03-03T02:01:26.000Z | from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv, ModulatedDeformConvPack,
deform_conv, modulated_deform_conv)
__all__ = [
'DeformConv', 'DeformConvPack', 'ModulatedDeformConv', 'ModulatedDeformConvPack', 'deform_conv',
'modulated_deform_conv'
]
| 38.25 | 100 | 0.732026 | 23 | 306 | 9.26087 | 0.434783 | 0.234742 | 0.403756 | 0.619718 | 0.892019 | 0.892019 | 0.892019 | 0.892019 | 0.892019 | 0 | 0 | 0 | 0.176471 | 306 | 7 | 101 | 43.714286 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0.320261 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
1c9c9e87366aa1268e58eb2a728a3e331258fe83 | 149 | py | Python | src/csbuilder/session/__init__.py | huykingsofm/csbuilder | c6ba6f0dd3fd2a0d03c7492de20a7107cb1b9191 | [
"MIT"
] | null | null | null | src/csbuilder/session/__init__.py | huykingsofm/csbuilder | c6ba6f0dd3fd2a0d03c7492de20a7107cb1b9191 | [
"MIT"
] | null | null | null | src/csbuilder/session/__init__.py | huykingsofm/csbuilder | c6ba6f0dd3fd2a0d03c7492de20a7107cb1b9191 | [
"MIT"
] | null | null | null | from csbuilder.session.session import Session
from csbuilder.session.manager import SessionManager
from csbuilder.session.result import SessionResult | 49.666667 | 52 | 0.885906 | 18 | 149 | 7.333333 | 0.444444 | 0.295455 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073826 | 149 | 3 | 53 | 49.666667 | 0.956522 | 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 |
98e84188d060ab65c7151f6f1123b3322e1a054d | 4,032 | py | Python | source/methods_feature_extract.py | Deadshot20/Sentence-Simplification-ACL14 | 5571af38073ca856ca5800748b42e0cdb87c86f7 | [
"BSD-3-Clause"
] | 47 | 2016-05-03T16:00:03.000Z | 2022-01-04T14:15:25.000Z | source/methods_feature_extract.py | Deadshot20/Sentence-Simplification-ACL14 | 5571af38073ca856ca5800748b42e0cdb87c86f7 | [
"BSD-3-Clause"
] | 10 | 2017-04-30T18:50:54.000Z | 2020-11-03T16:54:26.000Z | source/methods_feature_extract.py | shashiongithub/Sentence-Simplification-ACL14 | 5571af38073ca856ca5800748b42e0cdb87c86f7 | [
"BSD-3-Clause"
] | 12 | 2016-07-22T09:58:12.000Z | 2020-07-21T12:56:27.000Z | #!/usr/bin/env python
#===================================================================================
#description : Methods for features exploration =
#author : Shashi Narayan, shashi.narayan(at){ed.ac.uk,loria.fr,gmail.com})=
#date ... | 46.344828 | 120 | 0.630208 | 505 | 4,032 | 4.617822 | 0.188119 | 0.09434 | 0.066038 | 0.043739 | 0.837907 | 0.837907 | 0.837907 | 0.837907 | 0.837907 | 0.837907 | 0 | 0.014847 | 0.248264 | 4,032 | 86 | 121 | 46.883721 | 0.754536 | 0.214782 | 0 | 0.711864 | 0 | 0 | 0.025413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135593 | false | 0 | 0 | 0 | 0.305085 | 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 |
c7738171254cc98bf389f52f8eeef741c9f8a41e | 3,455 | py | Python | tests/test_models/test_cait.py | DarshanDeshpande/jax-models | ae5750540f142572ff7f276b927a9cdb5195fd23 | [
"Apache-2.0"
] | 61 | 2022-01-08T19:06:48.000Z | 2022-03-28T07:56:19.000Z | tests/test_models/test_cait.py | DarshanDeshpande/jax-models | ae5750540f142572ff7f276b927a9cdb5195fd23 | [
"Apache-2.0"
] | 1 | 2022-02-27T01:15:57.000Z | 2022-02-28T13:31:50.000Z | tests/test_models/test_cait.py | DarshanDeshpande/jax-models | ae5750540f142572ff7f276b927a9cdb5195fd23 | [
"Apache-2.0"
] | 2 | 2022-01-09T10:01:49.000Z | 2022-02-03T23:19:24.000Z | import unittest
import jax.numpy as jnp
import jax.random as random
from jax_models.models.cait import *
class TestmodelTransformer(unittest.TestCase):
def test_headless_output_shape(self):
rng1, rng2, rng3 = random.split(random.PRNGKey(0), 3)
model = CaiT(attach_head=False)
x = jnp.zeros... | 25.977444 | 74 | 0.48712 | 346 | 3,455 | 4.705202 | 0.176301 | 0.07371 | 0.117936 | 0.162162 | 0.830467 | 0.820639 | 0.820639 | 0.810197 | 0.810197 | 0.810197 | 0 | 0.056613 | 0.391606 | 3,455 | 132 | 75 | 26.174242 | 0.717888 | 0 | 0 | 0.598291 | 0 | 0 | 0.107091 | 0.060781 | 0 | 0 | 0 | 0 | 0.017094 | 1 | 0.025641 | false | 0 | 0.034188 | 0 | 0.068376 | 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 |
c7ee9169404e6c4fb77d49dc16cd6aa8fa25ad99 | 361 | py | Python | odk_logger/tests/__init__.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 123 | 2015-01-08T09:21:05.000Z | 2021-11-14T19:45:23.000Z | odk_logger/tests/__init__.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 16 | 2015-02-13T16:56:42.000Z | 2021-02-20T23:58:43.000Z | odk_logger/tests/__init__.py | Ecotrust/formhub | 05033bb5aa152cc2cbcd7382c2c999d82b2c3276 | [
"BSD-2-Clause"
] | 110 | 2015-01-19T14:34:06.000Z | 2021-02-01T14:55:11.000Z | from parsing_tests import *
#from instance_creation_test import *
#from test_simple_submission import *
#from test_import_tools import *
#from test_form_submission import *
#from test_update_xform_uuid import *
#from test_command_syncd_deleted_instances_fix import *
#from test_webforms import *
#from test_publish_xls i... | 32.818182 | 55 | 0.836565 | 52 | 361 | 5.384615 | 0.442308 | 0.321429 | 0.4 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110803 | 361 | 10 | 56 | 36.1 | 0.872274 | 0.872576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
404a49b52acf746f4c6785be489461c99f634499 | 6,314 | py | Python | model.py | zpreisler/denoising | cac5b4894759f9f3645577c4e6057a235fca906b | [
"MIT"
] | null | null | null | model.py | zpreisler/denoising | cac5b4894759f9f3645577c4e6057a235fca906b | [
"MIT"
] | null | null | null | model.py | zpreisler/denoising | cac5b4894759f9f3645577c4e6057a235fca906b | [
"MIT"
] | null | null | null | import torch
from torch import nn,optim
from torch.utils.data import Dataset,DataLoader
class UNet(nn.Module):
def __init__(self, kernel_size = 3):
super().__init__()
self.conv_in = nn.Conv1d(in_channels=1, out_channels=128, padding=0, kernel_size=kernel_size,bias=True,stride=1)
self.con... | 29.231481 | 135 | 0.557175 | 860 | 6,314 | 3.934884 | 0.081395 | 0.132979 | 0.039303 | 0.095745 | 0.906028 | 0.888593 | 0.867908 | 0.862293 | 0.862293 | 0.862293 | 0 | 0.051512 | 0.292841 | 6,314 | 215 | 136 | 29.367442 | 0.706383 | 0.081248 | 0 | 0.769231 | 0 | 0 | 0.003802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06993 | false | 0 | 0.020979 | 0.013986 | 0.160839 | 0.132867 | 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 |
4077e1901622eaa6af1e5a3d03d5118a5d5b5a66 | 1,764 | py | Python | TestMatrixCompletion.py | mharradon/LowRankPropagation | a0e03c2f24b71e02bb207da5e77a6428834cc7f7 | [
"MIT"
] | 43 | 2016-04-26T15:54:34.000Z | 2021-07-25T15:03:21.000Z | TestMatrixCompletion.py | mharradon/LowRankPropagation | a0e03c2f24b71e02bb207da5e77a6428834cc7f7 | [
"MIT"
] | null | null | null | TestMatrixCompletion.py | mharradon/LowRankPropagation | a0e03c2f24b71e02bb207da5e77a6428834cc7f7 | [
"MIT"
] | 7 | 2016-04-26T18:36:01.000Z | 2017-03-24T02:12:19.000Z | import Rank1MatrixCompletion as mc
import numpy as np
import matplotlib.pyplot as plt
# Random Sampling
# Make an NxN rank-1 matrix
N = 100
sampleRate = 0.1
A = np.dot(np.random.randn(N,1),np.random.randn(1,N))
# Make mask with random sampling
mask = np.less(np.random.rand(N,N),sampleRate)
# Zero out matrix where mask... | 33.283019 | 89 | 0.715986 | 300 | 1,764 | 4.2 | 0.213333 | 0.190476 | 0.152381 | 0.15873 | 0.87619 | 0.855556 | 0.855556 | 0.855556 | 0.809524 | 0.809524 | 0 | 0.044192 | 0.102041 | 1,764 | 52 | 90 | 33.923077 | 0.751263 | 0.123583 | 0 | 0.8 | 0 | 0 | 0.054652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.085714 | 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 |
409fc52d1935bfa1b17de4d0ebb37fd4320a1fcd | 17,481 | py | Python | com/vmware/appliance/access_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | com/vmware/appliance/access_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | com/vmware/appliance/access_client.py | vishal-12/vsphere-automation-sdk-python | 9cf363971db77ea5a12928eecd5cf5170a7fcd8a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#---------------------------------------------------------------------------
# Copyright 2019 VMware, Inc. All rights reserved.
# AUTO GENERATED FILE -- DO NOT MODIFY!
#
# vAPI stub file for package com.vmware.appliance.access.
#-----------------------------------------------------------------... | 32.075229 | 92 | 0.559121 | 1,681 | 17,481 | 5.53599 | 0.1047 | 0.067054 | 0.033527 | 0.041264 | 0.808833 | 0.792714 | 0.77896 | 0.769611 | 0.737159 | 0.709435 | 0 | 0.001458 | 0.332818 | 17,481 | 544 | 93 | 32.134191 | 0.79645 | 0.20754 | 0 | 0.630058 | 1 | 0 | 0.163585 | 0.109057 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049133 | false | 0 | 0.034682 | 0 | 0.150289 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
40b9001f66e09350ebe70a259993b8cb4ace6616 | 3,043 | py | Python | tests/pytest/fft_tests/test_fft_input.py | SX-Aurora/nlcpy | 0a53eec8778073bc48b12687b7ce37ab2bf2b7e0 | [
"BSD-3-Clause"
] | 11 | 2020-07-31T02:21:55.000Z | 2022-03-10T03:12:11.000Z | tests/pytest/fft_tests/test_fft_input.py | SX-Aurora/nlcpy | 0a53eec8778073bc48b12687b7ce37ab2bf2b7e0 | [
"BSD-3-Clause"
] | null | null | null | tests/pytest/fft_tests/test_fft_input.py | SX-Aurora/nlcpy | 0a53eec8778073bc48b12687b7ce37ab2bf2b7e0 | [
"BSD-3-Clause"
] | null | null | null | import functools # NOQA
import unittest
import pytest # NOQA
import numpy
import numpy as np # NOQA
import nlcpy
from nlcpy import testing
@testing.parameterize(*testing.product({
'a': [
[1, 2, 3, 4, 5],
(1, 2, 3),
range(10),
bytearray(b'abc'),
memoryview(b'abc'),
... | 30.737374 | 79 | 0.467959 | 425 | 3,043 | 3.32 | 0.136471 | 0.062367 | 0.051028 | 0.039688 | 0.87314 | 0.853296 | 0.853296 | 0.853296 | 0.853296 | 0.853296 | 0 | 0.099569 | 0.313506 | 3,043 | 98 | 80 | 31.05102 | 0.575874 | 0.049622 | 0 | 0.827586 | 0 | 0 | 0.030513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.08046 | 0 | 0.149425 | 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 |
40d75528c0577bc7d64f4d85d7514f0c5d3b052f | 1,819 | py | Python | play/EraPostgresProvision/scripts/Substrate_Era_PostgreSQL_DB_Action___pre_create___Task__2GetProfileIDs.py | halsayed/calm | 46c93ac2b02227663f0184d149f62d142b2638cc | [
"MIT"
] | null | null | null | play/EraPostgresProvision/scripts/Substrate_Era_PostgreSQL_DB_Action___pre_create___Task__2GetProfileIDs.py | halsayed/calm | 46c93ac2b02227663f0184d149f62d142b2638cc | [
"MIT"
] | null | null | null | play/EraPostgresProvision/scripts/Substrate_Era_PostgreSQL_DB_Action___pre_create___Task__2GetProfileIDs.py | halsayed/calm | 46c93ac2b02227663f0184d149f62d142b2638cc | [
"MIT"
] | 1 | 2021-11-16T10:28:42.000Z | 2021-11-16T10:28:42.000Z | # Set creds and headers
era_user = '@@{era_creds.username}@@'
era_pass = '@@{era_creds.secret}@@'
headers = {'Content-Type': 'application/json', 'Accept': 'application/json'}
# Get Software Profile ID
url = "https://@@{era_ip}@@:8443/era/v0.8/profiles?type=Software&name=@@{software_profile}@@"
resp = urlreq(url, v... | 45.475 | 109 | 0.706432 | 283 | 1,819 | 4.438163 | 0.187279 | 0.057325 | 0.082803 | 0.127389 | 0.754777 | 0.754777 | 0.754777 | 0.754777 | 0.754777 | 0.754777 | 0 | 0.022018 | 0.101154 | 1,819 | 40 | 110 | 45.475 | 0.746177 | 0.061023 | 0 | 0.516129 | 0 | 0.129032 | 0.412801 | 0.027011 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.16129 | 0 | null | null | 0.258065 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
40fcdbde6486a6e3ef8d2f99e680385ed5a4507d | 2,388 | py | Python | custom_components/ble_monitor/test/test_altbeacon_parser.py | Rongronggg9/ble_monitor | 7a8cfc6d934909249b78268a333e3414a5270214 | [
"MIT"
] | null | null | null | custom_components/ble_monitor/test/test_altbeacon_parser.py | Rongronggg9/ble_monitor | 7a8cfc6d934909249b78268a333e3414a5270214 | [
"MIT"
] | null | null | null | custom_components/ble_monitor/test/test_altbeacon_parser.py | Rongronggg9/ble_monitor | 7a8cfc6d934909249b78268a333e3414a5270214 | [
"MIT"
] | null | null | null | '''The tests for the AltBeacon ble_parser.'''
from ble_monitor.ble_parser import BleParser
from uuid import UUID
class TestAltBeacon:
'''Tests for the AltBeacon parser'''
def test_altbeacon_sensor(self):
'''Test AltBeacon parser only sensor '''
data_string = '043E280201020105988527406D1C1BFFFF... | 48.734694 | 110 | 0.671692 | 266 | 2,388 | 5.849624 | 0.289474 | 0.144602 | 0.202442 | 0.061697 | 0.791774 | 0.757069 | 0.757069 | 0.757069 | 0.757069 | 0.757069 | 0 | 0.139241 | 0.20603 | 2,388 | 49 | 111 | 48.734694 | 0.681435 | 0.086265 | 0 | 0.736842 | 0 | 0.026316 | 0.29292 | 0.176307 | 0 | 0 | 0 | 0 | 0.657895 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
908930ed6d2343538b80ed1e3ed2b5db3ce82c20 | 5,276 | py | Python | sdk/python/pulumi_gcp/servicedirectory/_inputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/servicedirectory/_inputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/servicedirectory/_inputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"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, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 30.321839 | 87 | 0.641774 | 568 | 5,276 | 5.802817 | 0.116197 | 0.133495 | 0.152913 | 0.080097 | 0.843447 | 0.843447 | 0.843447 | 0.843447 | 0.843447 | 0.843447 | 0 | 0.000247 | 0.232373 | 5,276 | 173 | 88 | 30.49711 | 0.81358 | 0.033548 | 0 | 0.888889 | 1 | 0 | 0.085215 | 0.023954 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207407 | false | 0 | 0.037037 | 0.088889 | 0.362963 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
908d8183e03844f4dbfdbbab7d53b49c3167c4df | 296 | py | Python | tests/test_smoke.py | orbitvu/django-cas-ng | d887bfa7699e81a2952848f9557c1495d1942b82 | [
"MIT"
] | null | null | null | tests/test_smoke.py | orbitvu/django-cas-ng | d887bfa7699e81a2952848f9557c1495d1942b82 | [
"MIT"
] | null | null | null | tests/test_smoke.py | orbitvu/django-cas-ng | d887bfa7699e81a2952848f9557c1495d1942b82 | [
"MIT"
] | null | null | null | from django_cas_ng.backends import *
from django_cas_ng.decorators import *
from django_cas_ng.middleware import *
from django_cas_ng.models import *
from django_cas_ng.views import *
def test_nothing_is_on_fire():
# Nothing to do here, this file is used for testing import works.
pass
| 26.909091 | 69 | 0.790541 | 49 | 296 | 4.489796 | 0.530612 | 0.227273 | 0.295455 | 0.340909 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 296 | 10 | 70 | 29.6 | 0.88 | 0.212838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
90d2b37d3997b4aea31344e5095938c6e6e1f45e | 171,364 | py | Python | code/pyorg/spatial/plane.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 12 | 2020-01-08T01:33:02.000Z | 2022-03-16T00:25:34.000Z | code/pyorg/spatial/plane.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 8 | 2019-12-19T19:34:56.000Z | 2022-03-10T10:11:28.000Z | code/pyorg/spatial/plane.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 2 | 2022-03-30T13:12:22.000Z | 2022-03-30T18:12:10.000Z | """
Classes for doing the spatial analysis of clouds of points in a 2D plane
# Author: Antonio Martinez-Sanchez (Max Planck Institute for Biochemistry)
# Date: 12.06.15
"""
__author__ = 'martinez'
import sys
import vtk
import shutil
from pyorg.globals import *
from .variables import *
# from globals import FilVisito... | 38.569435 | 115 | 0.529043 | 23,117 | 171,364 | 3.720119 | 0.040403 | 0.01414 | 0.016186 | 0.009489 | 0.836438 | 0.811903 | 0.797833 | 0.783751 | 0.769553 | 0.753052 | 0 | 0.022708 | 0.337749 | 171,364 | 4,443 | 116 | 38.569435 | 0.735077 | 0.16528 | 0 | 0.771607 | 0 | 0.053237 | 0.04002 | 0.000472 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048636 | false | 0 | 0.004272 | 0.008216 | 0.089057 | 0.005587 | 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 |
29695c041463522a58f95aa20c231dfe7d63b393 | 6,827 | py | Python | tests/test_compare_deep.py | anexia-it/python-deepcompare | 6b0c9a82aadc678e1bc3d17b91083495bd7def7a | [
"MIT"
] | null | null | null | tests/test_compare_deep.py | anexia-it/python-deepcompare | 6b0c9a82aadc678e1bc3d17b91083495bd7def7a | [
"MIT"
] | null | null | null | tests/test_compare_deep.py | anexia-it/python-deepcompare | 6b0c9a82aadc678e1bc3d17b91083495bd7def7a | [
"MIT"
] | null | null | null | import deepcompare
def test_compare_list_in_list_with_list_in_list():
# test full equality
assert deepcompare.compare([[1, 2, ], 2, 3, ], [[1, 2, ], 2, 3, ])
assert deepcompare.compare([[1, 2, ], [2, 3, ], 3, ], [[1, 2, ], [2, 3, ], 3, ])
assert deepcompare.compare([[1, 2, ], [2, 3, ], [3, 4, ], ], [[... | 60.955357 | 158 | 0.418046 | 1,066 | 6,827 | 2.617261 | 0.026266 | 0.075986 | 0.075269 | 0.061649 | 0.992115 | 0.992115 | 0.965591 | 0.932258 | 0.914695 | 0.908961 | 0 | 0.110279 | 0.237586 | 6,827 | 111 | 159 | 61.504505 | 0.425744 | 0.060349 | 0 | 0 | 0 | 0 | 0.023463 | 0 | 0 | 0 | 0 | 0 | 0.870968 | 1 | 0.112903 | true | 0 | 0.016129 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
463c1b930785d4db5c238e400f6ec325ac560561 | 235 | py | Python | need2fix/app/util.py | MasterTos/web_needtofix | 6bd29d5dd6e5d033263d8b7753cd219b982c59d0 | [
"MIT"
] | null | null | null | need2fix/app/util.py | MasterTos/web_needtofix | 6bd29d5dd6e5d033263d8b7753cd219b982c59d0 | [
"MIT"
] | 7 | 2020-06-05T19:11:48.000Z | 2022-03-11T23:31:15.000Z | need2fix/app/util.py | MasterTos/web_needtofix | 6bd29d5dd6e5d033263d8b7753cd219b982c59d0 | [
"MIT"
] | 1 | 2018-10-09T11:46:06.000Z | 2018-10-09T11:46:06.000Z | def is_mechanic(user):
return user.groups.filter(name='mechanic')
# return user.is_superuser
def is_mechanic_above(user):
return user.groups.filter(name='mechanic') or user.is_superuser
# return user.is_superuser | 33.571429 | 68 | 0.731915 | 33 | 235 | 5.030303 | 0.333333 | 0.240964 | 0.271084 | 0.240964 | 0.457831 | 0.457831 | 0.457831 | 0 | 0 | 0 | 0 | 0 | 0.161702 | 235 | 7 | 69 | 33.571429 | 0.84264 | 0.208511 | 0 | 0 | 0 | 0 | 0.089888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 7 |
46487744cc11ee70fa57ef65fcb2eecde558ae17 | 129 | py | Python | server/apps/streamer/worker/misc/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/streamer/worker/misc/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | server/apps/streamer/worker/misc/tests/__init__.py | iotile/iotile_cloud | 9dc65ac86d3a730bba42108ed7d9bbb963d22ba6 | [
"MIT"
] | null | null | null | from .tests_adjust_timestamp import *
from .tests_adjust_timestamp_reverse import *
from .tests_forward_streamer_report import *
| 32.25 | 45 | 0.860465 | 17 | 129 | 6.058824 | 0.529412 | 0.262136 | 0.291262 | 0.466019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 129 | 3 | 46 | 43 | 0.880342 | 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 |
464d03d9ea602e9cc934e9173f345ffd30ce4b12 | 10,529 | py | Python | py/HW3/option_models/sabr.py | polarbluebear/ASP | 79659140b161a63d7e08df6c4d9892aa83ba3070 | [
"MIT"
] | null | null | null | py/HW3/option_models/sabr.py | polarbluebear/ASP | 79659140b161a63d7e08df6c4d9892aa83ba3070 | [
"MIT"
] | null | null | null | py/HW3/option_models/sabr.py | polarbluebear/ASP | 79659140b161a63d7e08df6c4d9892aa83ba3070 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Oct 10
@author: jaehyuk
"""
import numpy as np
import scipy.stats as ss
import scipy.optimize as sopt
import scipy.integrate as spint
import pyfeng as pf
from . import normal
from . import bsm
'''
MC model class for Beta=1
'''
class ModelBsmMC:
beta = 1.0 # fixed (not... | 37.469751 | 129 | 0.572609 | 1,557 | 10,529 | 3.737315 | 0.09377 | 0.07424 | 0.062554 | 0.027496 | 0.93126 | 0.929541 | 0.92576 | 0.915106 | 0.915106 | 0.904451 | 0 | 0.027949 | 0.306772 | 10,529 | 280 | 130 | 37.603571 | 0.769283 | 0.149682 | 0 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072727 | false | 0 | 0.042424 | 0 | 0.236364 | 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 |
465c0390ac772f4d32bd91656aabda6df47c7309 | 4,809 | py | Python | tests/draw/svg/test_visibility.py | rianmcguire/WeasyPrint | 7e400663236d16121e14cf3183ce53828d056092 | [
"BSD-3-Clause"
] | 4,512 | 2015-01-02T16:40:59.000Z | 2022-03-31T17:26:28.000Z | tests/draw/svg/test_visibility.py | rianmcguire/WeasyPrint | 7e400663236d16121e14cf3183ce53828d056092 | [
"BSD-3-Clause"
] | 1,420 | 2015-01-07T21:17:01.000Z | 2022-03-31T10:23:45.000Z | tests/draw/svg/test_visibility.py | rianmcguire/WeasyPrint | 7e400663236d16121e14cf3183ce53828d056092 | [
"BSD-3-Clause"
] | 640 | 2015-01-30T18:07:09.000Z | 2022-03-24T20:17:42.000Z | """
weasyprint.tests.test_draw.svg.test_visibility
----------------------------------------------
Test how the visibility is controlled with "visibility" and "display"
attributes.
"""
from ...testing_utils import assert_no_logs
from .. import assert_pixels
@assert_no_logs
def test_visibility_visibl... | 22.9 | 73 | 0.510917 | 440 | 4,809 | 4.140909 | 0.115909 | 0.065862 | 0.059276 | 0.065862 | 0.768386 | 0.768386 | 0.75247 | 0.75247 | 0.731614 | 0.731614 | 0 | 0.035298 | 0.340195 | 4,809 | 209 | 74 | 23.009569 | 0.538922 | 0.036598 | 0 | 0.891304 | 0 | 0.086957 | 0.820095 | 0.015842 | 0 | 0 | 0 | 0 | 0.097826 | 1 | 0.043478 | true | 0 | 0.01087 | 0 | 0.054348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d3bbfbaef1daa29b6267e76c7cb0626134052c65 | 104 | py | Python | src/models/knn.py | GavinNishizawa/ncaa-march-madness-2018 | 8324e48ba32c685d60a4eb97e0f10f664a88710b | [
"MIT"
] | 1 | 2018-03-08T23:44:18.000Z | 2018-03-08T23:44:18.000Z | src/models/knn.py | GavinNishizawa/ncaa-march-madness-2018 | 8324e48ba32c685d60a4eb97e0f10f664a88710b | [
"MIT"
] | null | null | null | src/models/knn.py | GavinNishizawa/ncaa-march-madness-2018 | 8324e48ba32c685d60a4eb97e0f10f664a88710b | [
"MIT"
] | null | null | null | from sklearn import neighbors
def create():
return neighbors.KNeighborsClassifier(n_neighbors=5)
| 14.857143 | 56 | 0.788462 | 12 | 104 | 6.75 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.144231 | 104 | 6 | 57 | 17.333333 | 0.898876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
314220d95bdd19dcffb8589ceab831503ca946bf | 13,672 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/models/settings/tests/test_settings.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/models/settings/tests/test_settings.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/cms/djangoapps/models/settings/tests/test_settings.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """
Tests for the advanced settings
"""
import unittest
import ddt
from cms.djangoapps.models.settings.course_metadata import CourseMetadata
working_config_block = {
"teams_configuration": {
"value": {
"max_team_size": 4,
"topics": [
{
"max_tea... | 32.093897 | 93 | 0.377633 | 1,084 | 13,672 | 4.476015 | 0.081181 | 0.075433 | 0.072547 | 0.046991 | 0.855317 | 0.839654 | 0.81183 | 0.786892 | 0.778236 | 0.759687 | 0 | 0.026539 | 0.509435 | 13,672 | 425 | 94 | 32.169412 | 0.696884 | 0.005339 | 0 | 0.544776 | 0 | 0 | 0.315115 | 0 | 0 | 0 | 0 | 0 | 0.004975 | 1 | 0.002488 | false | 0 | 0.007463 | 0 | 0.012438 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9ee9b47874eb5f46c6a489afbaaad64f405b28b1 | 15,409 | py | Python | src/genie/libs/parser/viptela/tests/ShowControlConnectionHistory/cli/equal/golden_output1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/viptela/tests/ShowControlConnectionHistory/cli/equal/golden_output1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | src/genie/libs/parser/viptela/tests/ShowControlConnectionHistory/cli/equal/golden_output1_expected.py | nielsvanhooy/genieparser | 9a1955749697a6777ca614f0af4d5f3a2c254ccd | [
"Apache-2.0"
] | null | null | null | expected_output = {
"peer_type": {
"vbond": {
"downtime": {
"2021-12-15T04:19:41+0000": {
"domain_id": "0",
"local_color": "gold",
"local_error": "DCONFAIL",
"peer_organization": "",
... | 43.651558 | 55 | 0.355117 | 1,288 | 15,409 | 3.939441 | 0.059783 | 0.016949 | 0.06622 | 0.074497 | 0.982263 | 0.980883 | 0.979898 | 0.973591 | 0.967678 | 0.955853 | 0 | 0.148812 | 0.500227 | 15,409 | 352 | 56 | 43.775568 | 0.510064 | 0 | 0 | 0.883523 | 0 | 0 | 0.381949 | 0.033473 | 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 | 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 |
9ef05d34d8c5c9dfe6892d752196da8dd8d014b6 | 5,002 | py | Python | api/tacticalrmm/accounts/migrations/0028_auto_20211010_0249.py | lcsnetworks/tacticalrmm | c9135f157394f51dd6ca3d43b18fa3ea0afea65b | [
"MIT"
] | null | null | null | api/tacticalrmm/accounts/migrations/0028_auto_20211010_0249.py | lcsnetworks/tacticalrmm | c9135f157394f51dd6ca3d43b18fa3ea0afea65b | [
"MIT"
] | null | null | null | api/tacticalrmm/accounts/migrations/0028_auto_20211010_0249.py | lcsnetworks/tacticalrmm | c9135f157394f51dd6ca3d43b18fa3ea0afea65b | [
"MIT"
] | null | null | null | # Generated by Django 3.2.6 on 2021-10-10 02:49
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('clients', '0018_auto_20211010_0249'),
('accounts', '0027_auto_20210903_0054'),
]
operations = [
mig... | 33.125828 | 147 | 0.558776 | 472 | 5,002 | 5.720339 | 0.17161 | 0.09 | 0.105926 | 0.138519 | 0.812593 | 0.812593 | 0.797407 | 0.797407 | 0.727778 | 0.727778 | 0 | 0.019248 | 0.32487 | 5,002 | 150 | 148 | 33.346667 | 0.780278 | 0.008996 | 0 | 0.770833 | 1 | 0 | 0.131181 | 0.024016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013889 | 0 | 0.034722 | 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 |
732564f36e4331bcab31b687da528047c79c9f94 | 26,020 | py | Python | python/avi/sdk/saml_avi_api.py | aaronjwood/alb-sdk | ae4c47b2228651d3f5095e7c14f081aa4adbb732 | [
"Apache-2.0"
] | 12 | 2021-04-02T15:59:56.000Z | 2022-01-17T06:31:25.000Z | python/avi/sdk/saml_avi_api.py | aaronjwood/alb-sdk | ae4c47b2228651d3f5095e7c14f081aa4adbb732 | [
"Apache-2.0"
] | 85 | 2021-04-30T10:21:32.000Z | 2022-03-31T06:54:37.000Z | python/avi/sdk/saml_avi_api.py | aaronjwood/alb-sdk | ae4c47b2228651d3f5095e7c14f081aa4adbb732 | [
"Apache-2.0"
] | 10 | 2021-04-03T16:03:57.000Z | 2022-03-14T23:16:47.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache License 2.0
from avi.sdk.avi_api import ApiSession, \
sessionDict, APIError
import requests
import re
import urllib
# import urlparse
import json
from datetime import datetime
from requests import ConnectionError
from requests.exceptions import Chunke... | 48.635514 | 106 | 0.558493 | 2,729 | 26,020 | 5.159399 | 0.102602 | 0.060369 | 0.038778 | 0.033807 | 0.86733 | 0.848651 | 0.840128 | 0.808523 | 0.800355 | 0.788139 | 0 | 0.007659 | 0.352652 | 26,020 | 534 | 107 | 48.726592 | 0.828247 | 0.139585 | 0 | 0.750617 | 0 | 0 | 0.153708 | 0.013526 | 0 | 0 | 0 | 0 | 0.054321 | 1 | 0.014815 | false | 0.044444 | 0.02963 | 0 | 0.103704 | 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 |
73260be8f40433b77de6241a013557b2d6d79649 | 337 | py | Python | 2018/codegate/Miro/hack.py | ss8651twtw/CTF | cf348597cb72558cc5cd8d50582860fadf014228 | [
"MIT"
] | 12 | 2018-01-06T13:36:57.000Z | 2021-07-19T16:47:57.000Z | 2018/codegate/Miro/hack.py | ss8651twtw/Secure-Programming | cf348597cb72558cc5cd8d50582860fadf014228 | [
"MIT"
] | null | null | null | 2018/codegate/Miro/hack.py | ss8651twtw/Secure-Programming | cf348597cb72558cc5cd8d50582860fadf014228 | [
"MIT"
] | 2 | 2019-07-06T03:46:38.000Z | 2019-10-28T15:15:36.000Z | #!/usr/bin/env python
from fermat import fermat
p, q = fermat(0x1C20BDC017E3CAA3C579B40D439E2ECD70F12C4D7F2764784C95A3FDDBA00981BA9CE5B227ADE47B0A7A0A8ACABA4541AB95C52F6B6DE3DF9EC090C6C356445B21BE437ABE10214D0B4A398A96743BBF70C864687FB2EC929F01D6EDAB2D987FE09799AD2204A2704F33061DBF9C2E03B332F0BA1A446644C864A06CD586D4... | 42.125 | 274 | 0.922849 | 15 | 337 | 20.733333 | 0.733333 | 0.012862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.482866 | 0.047478 | 337 | 7 | 275 | 48.142857 | 0.485981 | 0.059347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.81962 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
733484cdfca22c03540f2693d3d1f87f9af290b4 | 4,479 | py | Python | shinrl/solvers/discrete_vi/_target_mixin.py | omron-sinicx/ShinRL | 09f4ae274a33d1fc1d9d542f816aef40014af6b5 | [
"MIT"
] | 34 | 2021-12-09T07:12:57.000Z | 2022-03-11T08:17:20.000Z | shinrl/solvers/discrete_vi/_target_mixin.py | omron-sinicx/ShinRL | 09f4ae274a33d1fc1d9d542f816aef40014af6b5 | [
"MIT"
] | null | null | null | shinrl/solvers/discrete_vi/_target_mixin.py | omron-sinicx/ShinRL | 09f4ae274a33d1fc1d9d542f816aef40014af6b5 | [
"MIT"
] | 4 | 2021-12-11T07:48:01.000Z | 2022-03-01T23:50:33.000Z | """MixIns to compute the target value of VI-based algorithms.
Author: Toshinori Kitamura
Affiliation: NAIST & OSX
"""
from chex import Array
import shinrl as srl
class TargetMixIn:
def target_tabular_dp(self, data: srl.DataDict) -> Array:
raise NotImplementedError
def target_tabular_rl(self, data: s... | 32.933824 | 82 | 0.602367 | 547 | 4,479 | 4.769653 | 0.149909 | 0.084324 | 0.059026 | 0.101955 | 0.898812 | 0.862016 | 0.842852 | 0.799923 | 0.799923 | 0.774243 | 0 | 0.006548 | 0.283992 | 4,479 | 135 | 83 | 33.177778 | 0.806985 | 0.073677 | 0 | 0.784314 | 0 | 0 | 0.029963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137255 | false | 0 | 0.019608 | 0.098039 | 0.294118 | 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 |
73496e0ea9d41c27da277fca65101697f7c131d4 | 5,128 | py | Python | pyuvwsim/__init__.py | SKA-ScienceDataProcessor/uvwsim | 47271b43f80fb22e1baacc06555744355dca241d | [
"BSD-3-Clause"
] | 1 | 2016-11-22T09:20:50.000Z | 2016-11-22T09:20:50.000Z | pyuvwsim/__init__.py | SKA-ScienceDataProcessor/uvwsim | 47271b43f80fb22e1baacc06555744355dca241d | [
"BSD-3-Clause"
] | null | null | null | pyuvwsim/__init__.py | SKA-ScienceDataProcessor/uvwsim | 47271b43f80fb22e1baacc06555744355dca241d | [
"BSD-3-Clause"
] | 2 | 2015-12-11T07:55:07.000Z | 2019-01-26T15:06:54.000Z | """
pyuvwsim
--------
Experimental python interface to uvwsim.
"""
import _pyuvwsim
from numpy import asarray
from .version import __version__
def load_station_coords(file_name):
"""
Loads station coordinates from an ASCII layout file. The layout file
should be 2 or 3 columns of coordinates, which are e... | 30.706587 | 77 | 0.635725 | 713 | 5,128 | 4.500701 | 0.171108 | 0.052353 | 0.065441 | 0.07479 | 0.777812 | 0.762231 | 0.751636 | 0.728264 | 0.725771 | 0.630103 | 0 | 0.013214 | 0.26209 | 5,128 | 166 | 78 | 30.891566 | 0.834302 | 0.681747 | 0 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0.09375 | 0 | 0.53125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
b440969ede704b3661fcb87acbbd2148cfe931d2 | 187 | py | Python | tests/test_model.py | mamo3gr/arcface_tensorflow | acc36a857e04e47dbd20f2ca29356c1b9a226b1e | [
"Apache-2.0"
] | null | null | null | tests/test_model.py | mamo3gr/arcface_tensorflow | acc36a857e04e47dbd20f2ca29356c1b9a226b1e | [
"Apache-2.0"
] | null | null | null | tests/test_model.py | mamo3gr/arcface_tensorflow | acc36a857e04e47dbd20f2ca29356c1b9a226b1e | [
"Apache-2.0"
] | null | null | null | from model import create_model
# def test_create_model():
# input_shape = (224, 224, 3)
# n_classes = 10
# model = create_model(input_shape, n_classes)
# model.summary()
| 23.375 | 50 | 0.668449 | 26 | 187 | 4.5 | 0.538462 | 0.282051 | 0.273504 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061644 | 0.219251 | 187 | 7 | 51 | 26.714286 | 0.739726 | 0.770053 | 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 |
c33ced99b4774a15ee6ad5f2c06f33fa9433d6ea | 174,001 | py | Python | preprocessing.py | KrisG04/encoder-decoder-text-summarizer | db2680a89bc4d6a0651cf734445a376da73d4ffb | [
"MIT"
] | null | null | null | preprocessing.py | KrisG04/encoder-decoder-text-summarizer | db2680a89bc4d6a0651cf734445a376da73d4ffb | [
"MIT"
] | null | null | null | preprocessing.py | KrisG04/encoder-decoder-text-summarizer | db2680a89bc4d6a0651cf734445a376da73d4ffb | [
"MIT"
] | null | null | null | import collections
import pickle
import nltk
import re
from pycontractions import Contractions
import time
import datetime
import numpy as np
import matplotlib.pyplot as plt
from sklearn.utils import shuffle
import gensim
import utils
import os
from nltk.corpus import wordnet
class DataPreprocessing:
def count_w... | 54.717296 | 127 | 0.537629 | 19,122 | 174,001 | 4.462295 | 0.03007 | 0.029346 | 0.01547 | 0.013009 | 0.843615 | 0.805093 | 0.770134 | 0.741644 | 0.721487 | 0.706755 | 0 | 0.01478 | 0.379038 | 174,001 | 3,179 | 128 | 54.734508 | 0.774943 | 0.029488 | 0 | 0.704593 | 0 | 0.004871 | 0.066943 | 0.005134 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020181 | false | 0.000348 | 0.004871 | 0.001044 | 0.034795 | 0.09499 | 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 |
c33e5d4b6cf2e53380b6ba79e9eec8883965da8c | 123 | py | Python | release/scripts/presets/fluid/oil.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 365 | 2015-02-10T15:10:55.000Z | 2022-03-03T15:50:51.000Z | release/scripts/presets/fluid/oil.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 45 | 2015-01-09T15:34:20.000Z | 2021-10-05T14:44:23.000Z | release/scripts/presets/fluid/oil.py | rbabari/blender | 6daa85f14b2974abfc3d0f654c5547f487bb3b74 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 172 | 2015-01-25T15:16:53.000Z | 2022-01-31T08:25:36.000Z | import bpy
bpy.context.fluid.domain_settings.viscosity_base = 5.0
bpy.context.fluid.domain_settings.viscosity_exponent = 5
| 30.75 | 56 | 0.845528 | 19 | 123 | 5.263158 | 0.578947 | 0.2 | 0.3 | 0.42 | 0.76 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.026087 | 0.065041 | 123 | 3 | 57 | 41 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 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 | 7 |
c3787cb80576337d976847ffb342a7916e9c9161 | 10,516 | py | Python | tests/v2/test_0527-fix-unionarray-ufuncs-and-parameters-in-merging.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | null | null | null | tests/v2/test_0527-fix-unionarray-ufuncs-and-parameters-in-merging.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | null | null | null | tests/v2/test_0527-fix-unionarray-ufuncs-and-parameters-in-merging.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
import pytest # noqa: F401
import numpy as np # noqa: F401
import awkward as ak # noqa: F401
# https://github.com/scikit-hep/awkward-1.0/issues/459#issuecomment-694941328
#
# So the rules would be,
# * if arrays have differe... | 29.292479 | 91 | 0.597946 | 1,234 | 10,516 | 4.833063 | 0.099676 | 0.066398 | 0.180751 | 0.162307 | 0.85664 | 0.846915 | 0.844064 | 0.834675 | 0.809859 | 0.775989 | 0 | 0.067696 | 0.266736 | 10,516 | 358 | 92 | 29.374302 | 0.705745 | 0.048878 | 0 | 0.63354 | 0 | 0 | 0.04565 | 0 | 0 | 0 | 0 | 0 | 0.186335 | 1 | 0.009317 | false | 0 | 0.009317 | 0 | 0.018634 | 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 |
6f3c05752f5067dc4497a1ea8cd4172240294c1f | 29,877 | py | Python | test/conftest.py | bibsian/lter | 5e5ac08b62e031ddabad490cc59db4a945ea20f6 | [
"MIT"
] | 5 | 2016-05-02T22:56:01.000Z | 2016-08-18T23:03:05.000Z | test/conftest.py | bibsian/lter | 5e5ac08b62e031ddabad490cc59db4a945ea20f6 | [
"MIT"
] | 11 | 2016-08-03T20:39:42.000Z | 2016-10-18T22:03:38.000Z | test/conftest.py | bibsian/database-development | 5e5ac08b62e031ddabad490cc59db4a945ea20f6 | [
"MIT"
] | null | null | null | import pytest
from pandas import merge, concat, DataFrame, read_sql
from sqlalchemy import select, update, column
from collections import OrderedDict, namedtuple
import os, sys
from poplerGUI.logiclayer.datalayer import config as orm
from poplerGUI import class_inputhandler as ini
from poplerGUI.logiclayer.class_helper... | 30.117944 | 109 | 0.537203 | 2,722 | 29,877 | 5.700955 | 0.099927 | 0.039374 | 0.04846 | 0.017013 | 0.822529 | 0.80165 | 0.784315 | 0.77742 | 0.746424 | 0.735211 | 0 | 0.008961 | 0.267898 | 29,877 | 991 | 110 | 30.148335 | 0.700498 | 0.049503 | 0 | 0.791061 | 0 | 0.007821 | 0.253211 | 0.047078 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052514 | false | 0 | 0.008939 | 0 | 0.113966 | 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 |
48a374539424dd8b028aa6b6d394116cda70f9a8 | 317 | py | Python | sysdfiles/device_file.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | null | null | null | sysdfiles/device_file.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | 1 | 2020-06-05T20:58:05.000Z | 2020-06-05T20:58:05.000Z | sysdfiles/device_file.py | ghuband/sysdfiles | eb13167b07b27351c3962a42b30dcd50ce551d71 | [
"MIT"
] | 1 | 2020-06-09T02:35:35.000Z | 2020-06-09T02:35:35.000Z | from .unit_file import UnitFile
# =============================================================================
# DeviceFile
# =============================================================================
class DeviceFile(UnitFile):
def __init__(self, file_name=''):
UnitFile.__init__(self, file_name)
| 28.818182 | 79 | 0.356467 | 19 | 317 | 5.368421 | 0.578947 | 0.156863 | 0.235294 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100946 | 317 | 10 | 80 | 31.7 | 0.357895 | 0.523659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
48eb4cfe0ffd389d010b788c8957230261e1c499 | 18,877 | py | Python | tests/command_builder/test_command_builder_basics.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/command_builder/test_command_builder_basics.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/command_builder/test_command_builder_basics.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | import pytest
from statue.command_builder import CommandBuilder
from statue.context import Context
from statue.context_specification import ContextSpecification
from statue.exceptions import InconsistentConfiguration
from tests.constants import (
ARG1,
ARG2,
ARG3,
ARG4,
COMMAND1,
COMMAND_HELP_S... | 34.384335 | 88 | 0.678815 | 1,821 | 18,877 | 6.720483 | 0.041735 | 0.145285 | 0.083347 | 0.061121 | 0.92368 | 0.909381 | 0.867217 | 0.841477 | 0.819333 | 0.783461 | 0 | 0.025634 | 0.227102 | 18,877 | 548 | 89 | 34.44708 | 0.81316 | 0 | 0 | 0.731557 | 0 | 0 | 0.119193 | 0.044181 | 0 | 0 | 0 | 0 | 0.17418 | 1 | 0.040984 | false | 0 | 0.014344 | 0 | 0.055328 | 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 |
d2c39e0d2756754565318e2c81a6764e4a97d4a1 | 3,928 | py | Python | tests/unit/dataactvalidator/test_a35_cross_file.py | chambers-brian/SIG_Digital-Strategy_SI_ODP_Backend | 3de8cedf69d5a0c9fad8239734bd6291cf583936 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_a35_cross_file.py | chambers-brian/SIG_Digital-Strategy_SI_ODP_Backend | 3de8cedf69d5a0c9fad8239734bd6291cf583936 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_a35_cross_file.py | chambers-brian/SIG_Digital-Strategy_SI_ODP_Backend | 3de8cedf69d5a0c9fad8239734bd6291cf583936 | [
"CC0-1.0"
] | null | null | null | from tests.unit.dataactcore.factories.staging import AppropriationFactory, ObjectClassProgramActivityFactory
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'a35_cross_file'
_TAS = 'a35_cross_file_tas'
def test_column_headers(database):
expected_subset = {'row_number', 'deo... | 56.927536 | 128 | 0.727597 | 450 | 3,928 | 5.871111 | 0.16 | 0.216503 | 0.266465 | 0.205905 | 0.807343 | 0.807343 | 0.807343 | 0.807343 | 0.807343 | 0.807343 | 0 | 0.10367 | 0.209267 | 3,928 | 68 | 129 | 57.764706 | 0.746941 | 0.157841 | 0 | 0.526316 | 0 | 0 | 0.067704 | 0.050625 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.078947 | false | 0 | 0.052632 | 0 | 0.131579 | 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 |
d2f5012146f10088ed49c2b113ab94e05725728d | 65 | py | Python | vit_pytorch/__init__.py | JiaJiunn/vit-pytorch | 7bfaa4c192a92b5663ffbd8466f6e0bd7abba05b | [
"MIT"
] | null | null | null | vit_pytorch/__init__.py | JiaJiunn/vit-pytorch | 7bfaa4c192a92b5663ffbd8466f6e0bd7abba05b | [
"MIT"
] | null | null | null | vit_pytorch/__init__.py | JiaJiunn/vit-pytorch | 7bfaa4c192a92b5663ffbd8466f6e0bd7abba05b | [
"MIT"
] | null | null | null | from vit_pytorch.vit import ViT
from vit_pytorch.dino import Dino | 32.5 | 33 | 0.861538 | 12 | 65 | 4.5 | 0.416667 | 0.259259 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 33 | 32.5 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
9602de41e131f1275a0d9bf87bb9594be7a83e4e | 533,708 | py | Python | libcst/matchers/__init__.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | 1 | 2022-02-10T10:59:22.000Z | 2022-02-10T10:59:22.000Z | libcst/matchers/__init__.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | null | null | null | libcst/matchers/__init__.py | jschavesr/LibCST | e5ab7b90b4c9cd1f46e5b875ad317411abf48298 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
# This file was generated by libcst.codegen.gen_matcher_classes
from dataclasses import dataclass
from typing import Optional, Sequence, Un... | 33.589779 | 88 | 0.42768 | 20,985 | 533,708 | 10.851227 | 0.020491 | 0.094777 | 0.031065 | 0.064037 | 0.927281 | 0.925687 | 0.924365 | 0.897867 | 0.883401 | 0.869331 | 0 | 0 | 0.510168 | 533,708 | 15,888 | 89 | 33.591893 | 0.871039 | 0.000435 | 0 | 0.852124 | 0 | 0 | 0.008349 | 0.000847 | 0 | 0 | 0 | 0 | 0.000195 | 1 | 0 | false | 0.001753 | 0.010066 | 0 | 0.06923 | 0 | 0 | 0 | 1 | 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 | 9 |
9610de5a3df992c7aa88b1bcf7db402a9189d9d6 | 186 | py | Python | src/models/sequence/rnns/__init__.py | dumpmemory/state-spaces | 2a85503cb3e9e86cc05753950d4a249df9a0fffb | [
"Apache-2.0"
] | 513 | 2021-11-03T23:08:23.000Z | 2022-03-31T16:29:18.000Z | src/models/sequence/rnns/__init__.py | dumpmemory/state-spaces | 2a85503cb3e9e86cc05753950d4a249df9a0fffb | [
"Apache-2.0"
] | 18 | 2021-11-05T12:42:59.000Z | 2022-03-27T19:49:55.000Z | src/models/sequence/rnns/__init__.py | MikeOwino/state-spaces | b6672bca994b6a36347f414faa59761e42b1e2b1 | [
"Apache-2.0"
] | 47 | 2021-11-04T01:32:54.000Z | 2022-03-30T18:24:26.000Z | # Expose the cell registry and load all possible cells
from .cells.basic import CellBase
from .cells import basic
from .cells import hippo
from .cells import timestamp
from . import sru
| 26.571429 | 54 | 0.801075 | 29 | 186 | 5.137931 | 0.551724 | 0.241611 | 0.302013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 186 | 6 | 55 | 31 | 0.955128 | 0.27957 | 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 |
82599f44878bd76e32706da8bb50c7570cb6b534 | 9,969 | py | Python | ArraySimulation/tests/test_PVSource.py | lhr-solar/Array-Sim-Training | e7372ee4ed094f1527e5cdbc1817108d93acace8 | [
"MIT"
] | null | null | null | ArraySimulation/tests/test_PVSource.py | lhr-solar/Array-Sim-Training | e7372ee4ed094f1527e5cdbc1817108d93acace8 | [
"MIT"
] | 12 | 2020-10-13T04:59:19.000Z | 2021-02-28T04:13:22.000Z | ArraySimulation/tests/test_PVSource.py | lhr-solar/Array-Sim-Training | e7372ee4ed094f1527e5cdbc1817108d93acace8 | [
"MIT"
] | null | null | null | """
test_PVSource.py
Author: Matthew Yu, Array Lead (2020).
Contact: matthewjkyu@gmail.com
Created: 11/16/20
Last Modified: 11/24/20
Description: Test file to see if the various implemented models run as expected.
"""
# Library Imports.
import pytest
import sys
sys.path.append("../")
# Custom Imports.
from ArraySim... | 32.472313 | 85 | 0.394824 | 714 | 9,969 | 5.505602 | 0.169468 | 0.064106 | 0.178072 | 0.192317 | 0.828797 | 0.808191 | 0.783007 | 0.774358 | 0.774358 | 0.751972 | 0 | 0.06332 | 0.518407 | 9,969 | 306 | 86 | 32.578431 | 0.755468 | 0.104624 | 0 | 0.628099 | 0 | 0 | 0.091724 | 0 | 0 | 0 | 0 | 0.009804 | 0.082645 | 1 | 0.016529 | false | 0 | 0.020661 | 0 | 0.041322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
82610e86eee7a9e312366046b4a3d0fb704bd205 | 18,442 | py | Python | test/test_px_request_validator.py | wizzard/perimeterx-python-3-wsgi | 03aded2c868dda3ad198c1f3ee944c775557d818 | [
"MIT"
] | 1 | 2021-11-10T16:48:31.000Z | 2021-11-10T16:48:31.000Z | test/test_px_request_validator.py | wizzard/perimeterx-python-3-wsgi | 03aded2c868dda3ad198c1f3ee944c775557d818 | [
"MIT"
] | 1 | 2020-08-31T10:50:25.000Z | 2020-08-31T10:50:25.000Z | test/test_px_request_validator.py | wizzard/perimeterx-python-3-wsgi | 03aded2c868dda3ad198c1f3ee944c775557d818 | [
"MIT"
] | 4 | 2020-04-01T10:37:09.000Z | 2020-12-03T12:34:13.000Z | import unittest
import mock
from werkzeug.test import EnvironBuilder
from werkzeug.wrappers import Request, Response
import perimeterx.px_constants as px_constants
from perimeterx.px_config import PxConfig
from perimeterx.px_context import PxContext
from perimeterx.px_request_verifier import PxRequestVerifier
class... | 48.78836 | 101 | 0.581607 | 1,796 | 18,442 | 5.713252 | 0.064031 | 0.07777 | 0.016568 | 0.019881 | 0.934217 | 0.932073 | 0.931001 | 0.924666 | 0.911217 | 0.904688 | 0 | 0.025391 | 0.305932 | 18,442 | 378 | 102 | 48.78836 | 0.77625 | 0 | 0 | 0.853868 | 0 | 0 | 0.161308 | 0.031123 | 0 | 0 | 0 | 0 | 0.063037 | 1 | 0.065903 | false | 0.028653 | 0.022923 | 0 | 0.091691 | 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 |
826c976487f37d3070c3f4e3a4bfe723409784fc | 441 | py | Python | src/twisted/internet/iocpreactor/iocpsupport.py | giadram/twisted | 4771b1340b822d20d0664bb7d8334e8fb7e52863 | [
"MIT",
"Unlicense"
] | 4,612 | 2015-01-01T12:57:23.000Z | 2022-03-30T01:08:23.000Z | src/twisted/internet/iocpreactor/iocpsupport.py | giadram/twisted | 4771b1340b822d20d0664bb7d8334e8fb7e52863 | [
"MIT",
"Unlicense"
] | 1,243 | 2015-01-23T17:23:59.000Z | 2022-03-28T13:46:17.000Z | src/twisted/internet/iocpreactor/iocpsupport.py | giadram/twisted | 4771b1340b822d20d0664bb7d8334e8fb7e52863 | [
"MIT",
"Unlicense"
] | 1,236 | 2015-01-13T14:41:26.000Z | 2022-03-17T07:12:36.000Z | __all__ = [
"CompletionPort",
"Event",
"accept",
"connect",
"get_accept_addrs",
"have_connectex",
"makesockaddr",
"maxAddrLen",
"recv",
"recvfrom",
"send",
]
from twisted_iocpsupport.iocpsupport import ( # type: ignore[import]
CompletionPort,
Event,
accept,
... | 15.75 | 69 | 0.596372 | 37 | 441 | 6.810811 | 0.540541 | 0.150794 | 0.198413 | 0.253968 | 0.769841 | 0.769841 | 0.769841 | 0.769841 | 0.769841 | 0.769841 | 0 | 0 | 0.281179 | 441 | 27 | 70 | 16.333333 | 0.794953 | 0.045351 | 0 | 0 | 0 | 0 | 0.238663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038462 | 0 | 0.038462 | 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 |
82ba5acc424035520073287fd9409a5d89d4097d | 17,583 | py | Python | RecoBTag/CTagging/python/training_settings.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoBTag/CTagging/python/training_settings.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoBTag/CTagging/python/training_settings.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
## IMPORTANT!
## This file was automatically generated by RecoBTag/CTagging/test/dump_training_vars_cfg.py
## with input xml files:
## - C vs L: ../data/c_vs_udsg.weight.xml sha1 checksum: 1b50773894bf3c64e41694bd48bda5f6f0e3795b
## - C vs B: ../data/c_vs_b.weight.xml sha... | 31.120354 | 100 | 0.56094 | 1,833 | 17,583 | 5.326787 | 0.044735 | 0.17329 | 0.134781 | 0.163662 | 0.969889 | 0.969889 | 0.969889 | 0.969889 | 0.969889 | 0.969889 | 0 | 0.04795 | 0.288347 | 17,583 | 564 | 101 | 31.175532 | 0.732358 | 0.017915 | 0 | 0.994595 | 1 | 0 | 0.162031 | 0.032452 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001802 | 0 | 0.001802 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
82ced1d500d431963253f675d0710bc87dbfeb1b | 7,916 | py | Python | jupyterlab_git/tests/test_pushpull.py | System1Bio/jupyterlab-git | bbae461e41c66e8ef1ed031b5bdca252b2e14f41 | [
"BSD-3-Clause"
] | null | null | null | jupyterlab_git/tests/test_pushpull.py | System1Bio/jupyterlab-git | bbae461e41c66e8ef1ed031b5bdca252b2e14f41 | [
"BSD-3-Clause"
] | null | null | null | jupyterlab_git/tests/test_pushpull.py | System1Bio/jupyterlab-git | bbae461e41c66e8ef1ed031b5bdca252b2e14f41 | [
"BSD-3-Clause"
] | null | null | null | import os
from unittest.mock import Mock, call, patch
import pytest
import tornado
from jupyterlab_git.git import Git
from .testutils import FakeContentManager
@pytest.mark.asyncio
async def test_git_pull_fail():
with patch("os.environ", {"TEST": "test"}):
with patch("jupyterlab_git.git.execute") as mo... | 35.182222 | 114 | 0.535498 | 798 | 7,916 | 5.050125 | 0.095238 | 0.065509 | 0.047643 | 0.086352 | 0.960298 | 0.960298 | 0.960298 | 0.960298 | 0.950372 | 0.948883 | 0 | 0.004535 | 0.331481 | 7,916 | 224 | 115 | 35.339286 | 0.756992 | 0.016043 | 0 | 0.689873 | 0 | 0 | 0.234961 | 0.026794 | 0 | 0 | 0 | 0 | 0.101266 | 1 | 0 | false | 0.075949 | 0.037975 | 0 | 0.037975 | 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 |
7dbd0a15c9965ac8249a87df65a49584767e6078 | 4,584 | py | Python | main_program.py | gerardomartinezhi/robotsim | 0720795bf7cd009e412ec773ae0c8562f046475b | [
"MIT"
] | 1 | 2021-11-10T02:03:06.000Z | 2021-11-10T02:03:06.000Z | main_program.py | gerardomartinezhi/robotsim | 0720795bf7cd009e412ec773ae0c8562f046475b | [
"MIT"
] | 18 | 2020-10-06T18:49:24.000Z | 2020-10-25T01:35:29.000Z | main_program.py | gerardomartinezhi/robotsim | 0720795bf7cd009e412ec773ae0c8562f046475b | [
"MIT"
] | 2 | 2021-10-31T15:38:31.000Z | 2021-11-10T01:59:54.000Z | '''
Control:
robot.move_forward()
robot.rotate_right()
robot.rotate_left()
robot.display_color(string)
robot.finish_round()
Sensors:
robot.ultrasonic_front() -> int
robot.ultrasonic_right() -> int
robot.ultrasonic_left() -> int
robot.get_color() -> string
'''
def main():
robot.m... | 24.645161 | 42 | 0.677574 | 556 | 4,584 | 5.246403 | 0.03777 | 0.308536 | 0.548509 | 0.719918 | 0.939664 | 0.939664 | 0.939664 | 0.931094 | 0.916352 | 0.916352 | 0 | 0 | 0.198298 | 4,584 | 186 | 43 | 24.645161 | 0.793742 | 0.062609 | 0 | 0.976608 | 0 | 0 | 0.001865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005848 | true | 0 | 0 | 0 | 0.005848 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
815e3a5cb8455824dc444d83e29fe7ce4d56ed66 | 127 | py | Python | example/celery/src/spaceone/work/service/__init__.py | jihyungSong/python-core | 898ead301363d3e599ecd645b73071e639f886b0 | [
"Apache-2.0"
] | 14 | 2020-06-01T08:17:43.000Z | 2022-01-13T22:37:50.000Z | example/celery/src/spaceone/work/service/__init__.py | jihyungSong/python-core | 898ead301363d3e599ecd645b73071e639f886b0 | [
"Apache-2.0"
] | 7 | 2020-08-11T23:05:59.000Z | 2022-01-12T05:08:49.000Z | example/celery/src/spaceone/work/service/__init__.py | jihyungSong/python-core | 898ead301363d3e599ecd645b73071e639f886b0 | [
"Apache-2.0"
] | 11 | 2020-06-01T08:17:49.000Z | 2021-11-25T08:26:37.000Z | from spaceone.work.service.domain_service import DomainService
from spaceone.work.service.celery_service import ScheduleService | 63.5 | 64 | 0.897638 | 16 | 127 | 7 | 0.5625 | 0.214286 | 0.285714 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055118 | 127 | 2 | 64 | 63.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
81b8c5e41b2adc136aa58c2359b138a3d2a6bde6 | 10,673 | py | Python | contrib/pycoin/tests/tx_cmdline_test.py | gwangjin2/gwangcoin-core | 588e357e13c385906729d9078b796dd740745445 | [
"MIT"
] | null | null | null | contrib/pycoin/tests/tx_cmdline_test.py | gwangjin2/gwangcoin-core | 588e357e13c385906729d9078b796dd740745445 | [
"MIT"
] | null | null | null | contrib/pycoin/tests/tx_cmdline_test.py | gwangjin2/gwangcoin-core | 588e357e13c385906729d9078b796dd740745445 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import unittest
import os
import subprocess
import sys
import tempfile
TEST_CASES = [
(
"tx.py 010000000141045e0ab2b0b82cdefaf9e9a8ca9ec9df17673d6a74e274d0c73ae77d3f131e000000004a493046022100a7f26eda874931999c90f87f01ff1ffc76bcd058fe16137e0e63fdb6a35c2d78022100a61e9199238eb73f07c8f209504... | 62.415205 | 1,062 | 0.84353 | 679 | 10,673 | 13.197349 | 0.217968 | 0.01607 | 0.015623 | 0.012499 | 0.431202 | 0.396608 | 0.369825 | 0.340364 | 0.330767 | 0.320612 | 0 | 0.449116 | 0.115244 | 10,673 | 170 | 1,063 | 62.782353 | 0.499841 | 0.002249 | 0 | 0.177215 | 0 | 0 | 0.6651 | 0.531901 | 0 | 1 | 0 | 0 | 0.012658 | 1 | 0.050633 | false | 0 | 0.063291 | 0.012658 | 0.151899 | 0.037975 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
81e5e74f8ba8c93b05eab893fc922d4d8cf28232 | 8,762 | py | Python | url.py | wilkystyle/open-url | f6c8718b1e0f85f5c0de6676c749a310137951b0 | [
"MIT"
] | 78 | 2015-01-01T02:18:33.000Z | 2022-03-22T20:39:20.000Z | url.py | wilkystyle/open-url | f6c8718b1e0f85f5c0de6676c749a310137951b0 | [
"MIT"
] | 41 | 2015-04-19T16:18:09.000Z | 2021-11-09T01:46:08.000Z | url.py | wilkystyle/open-url | f6c8718b1e0f85f5c0de6676c749a310137951b0 | [
"MIT"
] | 18 | 2015-06-08T02:09:58.000Z | 2021-09-24T09:05:13.000Z | import re
# list of known TLDs, e.g. "co"
domains = 'aaa|aarp|abb|abbott|abbvie|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agakhan|agency|ai|aig|airforce|airtel|akdn|al|alibaba|alipay|allfinanz|ally|alsace|am|amica|amsterdam|analytics|android|... | 876.2 | 8,593 | 0.811459 | 1,472 | 8,762 | 4.829484 | 0.904212 | 0.000563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033902 | 0.003538 | 8,762 | 9 | 8,594 | 973.555556 | 0.780323 | 0.00331 | 0 | 0 | 0 | 0.25 | 0.986027 | 0.986027 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0.25 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 10 |
c492ab0724be79682b9499f1c9d759bcd7d17c8d | 32,758 | py | Python | HPnex/multiclass_validation.py | PanditPranav/PREDICT_network_analysis | 8e7d24b3e549c818c99fb132ac7e190d6561df6f | [
"MIT"
] | null | null | null | HPnex/multiclass_validation.py | PanditPranav/PREDICT_network_analysis | 8e7d24b3e549c818c99fb132ac7e190d6561df6f | [
"MIT"
] | null | null | null | HPnex/multiclass_validation.py | PanditPranav/PREDICT_network_analysis | 8e7d24b3e549c818c99fb132ac7e190d6561df6f | [
"MIT"
] | null | null | null | """Running basic code:
Importing packages, setting working directory,
printing out date"""
import os as os
os.chdir('C:/Users/falco/Desktop/directory/Missing_links_in_viral_host_communities/')
import datetime as dt
str(dt.datetime.now())
from sklearn.metrics import confusion_matrix
import seaborn as sns
#from pandas_... | 50.552469 | 250 | 0.632273 | 3,957 | 32,758 | 5 | 0.119282 | 0.035027 | 0.016983 | 0.018196 | 0.857721 | 0.837453 | 0.822037 | 0.816932 | 0.802881 | 0.800455 | 0 | 0.011612 | 0.208712 | 32,758 | 647 | 251 | 50.630603 | 0.751669 | 0.120764 | 0 | 0.741866 | 0 | 0.002169 | 0.135915 | 0.016608 | 0.002169 | 0 | 0 | 0 | 0 | 1 | 0.032538 | false | 0 | 0.227766 | 0.008677 | 0.292842 | 0.056399 | 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 |
c4fe5fa596e95192b5a685bf2d766682277a6ef1 | 96 | py | Python | pqueue/__init__.py | GiliardGodoi/pqueue | 80749d61e87c5d112c960ee77a8cce46017812e8 | [
"MIT"
] | null | null | null | pqueue/__init__.py | GiliardGodoi/pqueue | 80749d61e87c5d112c960ee77a8cce46017812e8 | [
"MIT"
] | null | null | null | pqueue/__init__.py | GiliardGodoi/pqueue | 80749d61e87c5d112c960ee77a8cce46017812e8 | [
"MIT"
] | null | null | null | from .main import PriorityQueue
from .main import PriorityQueue as PQueue
__version__ = '0.0.1' | 24 | 41 | 0.791667 | 14 | 96 | 5.142857 | 0.642857 | 0.222222 | 0.388889 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.135417 | 96 | 4 | 42 | 24 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.051546 | 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 |
48077c6b7737f38494cf37ad4e623bdd95c081ad | 2,452 | py | Python | tests/test_haystack_about.py | sgrah-oss/haystackapi | dc6000120e5ef97b174bb1440460ce170f22026e | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | tests/test_haystack_about.py | sgrah-oss/haystackapi | dc6000120e5ef97b174bb1440460ce170f22026e | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | tests/test_haystack_about.py | sgrah-oss/haystackapi | dc6000120e5ef97b174bb1440460ce170f22026e | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | from unittest.mock import patch
import haystackapi
from haystackapi import Grid
from haystackapi.ops import HaystackHttpRequest
from haystackapi.providers import ping
@patch.dict('os.environ', {'HAYSTACK_PROVIDER': 'haystackapi.providers.ping'})
@patch('haystackapi.providers.haystack_interface.no_cache')
@patch.obje... | 34.535211 | 78 | 0.739804 | 305 | 2,452 | 5.757377 | 0.213115 | 0.050114 | 0.034169 | 0.030752 | 0.811503 | 0.811503 | 0.811503 | 0.811503 | 0.811503 | 0.811503 | 0 | 0.004737 | 0.13907 | 2,452 | 70 | 79 | 35.028571 | 0.827096 | 0.019168 | 0 | 0.708333 | 0 | 0 | 0.201253 | 0.093946 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.0625 | false | 0 | 0.104167 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4813284525f417c55efd6ddc191ec1783da54c93 | 15,474 | py | Python | map_gen_2/canvas.py | Xorgon/Map-Generator | d91356ba7264d93999bd78f73337ebc3c53e117c | [
"MIT"
] | 9 | 2017-06-29T22:04:53.000Z | 2022-03-31T16:43:55.000Z | map_gen_2/canvas.py | Xorgon/Map-Generator | d91356ba7264d93999bd78f73337ebc3c53e117c | [
"MIT"
] | null | null | null | map_gen_2/canvas.py | Xorgon/Map-Generator | d91356ba7264d93999bd78f73337ebc3c53e117c | [
"MIT"
] | 1 | 2019-05-26T18:42:57.000Z | 2019-05-26T18:42:57.000Z | from tkinter import *
from PIL import Image, ImageTk
import math
from random import Random
import map_gen_2.util.vector_util as vect
from matplotlib.path import Path
import numpy as np
import aggdraw
import os
class MapCanvasBasic:
tk_master = None
canvas = None
rand = None
height = None
width = ... | 37.107914 | 119 | 0.570828 | 2,187 | 15,474 | 3.878372 | 0.077732 | 0.036784 | 0.010611 | 0.019453 | 0.833176 | 0.784249 | 0.765621 | 0.735086 | 0.703018 | 0.690521 | 0 | 0.028921 | 0.298371 | 15,474 | 416 | 120 | 37.197115 | 0.752326 | 0.005622 | 0 | 0.725552 | 0 | 0 | 0.022701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.091483 | false | 0 | 0.028391 | 0 | 0.182965 | 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 |
481f11dafdf9c09addfe2ae9f2cd02c0875984d8 | 217 | py | Python | python/stitch/core/__init__.py | theNewFlesh/sparse | 21e895d2e24cc17e92fe921534059046080cc58b | [
"MIT"
] | 2 | 2020-04-17T04:26:23.000Z | 2021-12-27T17:24:08.000Z | python/stitch/core/__init__.py | theNewFlesh/stitch | 21e895d2e24cc17e92fe921534059046080cc58b | [
"MIT"
] | null | null | null | python/stitch/core/__init__.py | theNewFlesh/stitch | 21e895d2e24cc17e92fe921534059046080cc58b | [
"MIT"
] | null | null | null | import stitch.core.utils
import stitch.core.errors
import stitch.core.stitch_frame
import stitch.core.stitch_lut
import stitch.core.stitch_parser
import stitch.core.stitch_interpreter
import stitch.core.stitch_string
| 27.125 | 37 | 0.870968 | 33 | 217 | 5.575758 | 0.30303 | 0.456522 | 0.608696 | 0.597826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 217 | 7 | 38 | 31 | 0.906404 | 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 |
4868ab7d3e4ed77b085f26f4ed51d3fab23a6ebd | 3,630 | py | Python | src/oci/__init__.py | xjuarez/oci-python-sdk | 3c1604e4e212008fb6718e2f68cdb5ef71fd5793 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-09-10T22:09:45.000Z | 2021-12-24T17:00:07.000Z | src/oci/__init__.py | xjuarez/oci-python-sdk | 3c1604e4e212008fb6718e2f68cdb5ef71fd5793 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/__init__.py | xjuarez/oci-python-sdk | 3c1604e4e212008fb6718e2f68cdb5ef71fd5793 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 145.2 | 1,406 | 0.774105 | 436 | 3,630 | 6.135321 | 0.428899 | 0.017944 | 0.028411 | 0.007477 | 0.765607 | 0.734206 | 0.734206 | 0.734206 | 0.734206 | 0.734206 | 0 | 0.004857 | 0.092562 | 3,630 | 24 | 1,407 | 151.25 | 0.807225 | 0.093664 | 0 | 0 | 0 | 0 | 0.366514 | 0.094977 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.588235 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 10 |
4871447144529c302e097a99c22c5dcf316390eb | 3,776 | py | Python | tests/test_spectrum.py | fossabot/matchms | 090db31b22829dc224e5ed78fb4901e8c14a8e92 | [
"Apache-2.0"
] | null | null | null | tests/test_spectrum.py | fossabot/matchms | 090db31b22829dc224e5ed78fb4901e8c14a8e92 | [
"Apache-2.0"
] | null | null | null | tests/test_spectrum.py | fossabot/matchms | 090db31b22829dc224e5ed78fb4901e8c14a8e92 | [
"Apache-2.0"
] | null | null | null | import numpy
from matchms import Spectrum
from matplotlib import pyplot as plt
def test_spectrum_plot_with_histogram_unspecified():
mz = numpy.array([10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110], dtype="float")
intensities = numpy.array([1, 1, 5, 5, 5, 5, 7, 7, 7, 9, 9], dtype="float")
spectrum = Spectr... | 36.307692 | 83 | 0.661811 | 599 | 3,776 | 4.095159 | 0.096828 | 0.128414 | 0.097839 | 0.132491 | 0.96168 | 0.957603 | 0.944558 | 0.944558 | 0.944558 | 0.944558 | 0 | 0.077717 | 0.178761 | 3,776 | 103 | 84 | 36.660194 | 0.713318 | 0 | 0 | 0.833333 | 0 | 0 | 0.027807 | 0 | 0 | 0 | 0 | 0 | 0.641026 | 1 | 0.064103 | false | 0 | 0.038462 | 0 | 0.102564 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6f8476cf01f6b32fef0a0870b75efa6d9fbd5a16 | 12,158 | py | Python | demo/SAAVpedia/scripts/SAAVannotator.py | saavpedia/python | 071f745dbe5dfa7a655cb08aa99886541b030daa | [
"Apache-2.0"
] | null | null | null | demo/SAAVpedia/scripts/SAAVannotator.py | saavpedia/python | 071f745dbe5dfa7a655cb08aa99886541b030daa | [
"Apache-2.0"
] | null | null | null | demo/SAAVpedia/scripts/SAAVannotator.py | saavpedia/python | 071f745dbe5dfa7a655cb08aa99886541b030daa | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
################################################################################
# Copyright 2018 Young-Mook Kang <ymkang@thylove.org>
#
# 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 ... | 71.940828 | 148 | 0.724215 | 1,587 | 12,158 | 5.340895 | 0.160681 | 0.127419 | 0.212364 | 0.19278 | 0.781147 | 0.773714 | 0.773714 | 0.765219 | 0.765219 | 0.765219 | 0 | 0.011695 | 0.113835 | 12,158 | 168 | 149 | 72.369048 | 0.775014 | 0.054038 | 0 | 0.066667 | 0 | 0 | 0.419178 | 0.028054 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.022222 | 0.044444 | null | null | 0.066667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6f95efa34c15be2aaf8551aff626ca0948248008 | 201 | py | Python | model/__init__.py | rajun1971/SpeechRecognitionWar | f3f1311d32aca795082884c40db1862b994f76c4 | [
"MIT"
] | 1 | 2020-05-27T05:23:23.000Z | 2020-05-27T05:23:23.000Z | model/__init__.py | rajun1971/SpeechRecognitionWar | f3f1311d32aca795082884c40db1862b994f76c4 | [
"MIT"
] | 3 | 2019-09-15T02:03:53.000Z | 2021-04-30T20:55:33.000Z | model/__init__.py | rajun1971/SpeechRecognitionWar | f3f1311d32aca795082884c40db1862b994f76c4 | [
"MIT"
] | null | null | null | from .session import SessionCollector
from .googlespeechapi import Transcoder
from .microsoftspeechapi import Transcoder
from .watsonspeechapi import Transcoder
from .recaiusspeechapi import Transcoder | 40.2 | 42 | 0.880597 | 20 | 201 | 8.85 | 0.45 | 0.361582 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094527 | 201 | 5 | 43 | 40.2 | 0.972527 | 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 |
6f9894bb54f91913fae377421a514f5049899a64 | 44,691 | py | Python | microsetta_private_api/LEGACY/locale_data/spanish_gut.py | gwarmstrong/microsetta-private-api | 1ceb6444e02c368c6ecfffc1c7e70b35e4fdac64 | [
"BSD-3-Clause"
] | null | null | null | microsetta_private_api/LEGACY/locale_data/spanish_gut.py | gwarmstrong/microsetta-private-api | 1ceb6444e02c368c6ecfffc1c7e70b35e4fdac64 | [
"BSD-3-Clause"
] | null | null | null | microsetta_private_api/LEGACY/locale_data/spanish_gut.py | gwarmstrong/microsetta-private-api | 1ceb6444e02c368c6ecfffc1c7e70b35e4fdac64 | [
"BSD-3-Clause"
] | null | null | null | media_locale = {}
_NEW_PARTICIPANT = {
'ADD_HUMAN_TITLE': 'Agregar una nueva fuente humana',
'SEL_AGE_RANGE': 'Seleccione el rango de edad del participante:',
'AGE_0_6': '3 meses - 6 años',
'AGE_7_12': '7-12 años',
'AGE_13_17': '13-17 años',
'AGE_18': '18+ años',
# TODO: DO NOT MERGE WITHO... | 224.577889 | 1,536 | 0.770088 | 7,186 | 44,691 | 4.788338 | 0.143473 | 0.007556 | 0.020489 | 0.025953 | 0.782121 | 0.760731 | 0.737685 | 0.725014 | 0.699962 | 0.67308 | 0 | 0.00573 | 0.179947 | 44,691 | 198 | 1,537 | 225.712121 | 0.931813 | 0.000716 | 0 | 0.216495 | 0 | 0.623711 | 0.990393 | 0.009181 | 0 | 0 | 0 | 0.005051 | 0 | 1 | 0 | false | 0 | 0.025773 | 0 | 0.025773 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6fdbf90f3b2994b4372443757209567db770711b | 2,003 | py | Python | simplepy/percent.py | Kevys/python-games | 4949c122c9ccc69166afd106bedf8d618fe0f12f | [
"MIT"
] | 1 | 2021-12-01T13:38:28.000Z | 2021-12-01T13:38:28.000Z | simplepy/percent.py | Kevys/python-games | 4949c122c9ccc69166afd106bedf8d618fe0f12f | [
"MIT"
] | null | null | null | simplepy/percent.py | Kevys/python-games | 4949c122c9ccc69166afd106bedf8d618fe0f12f | [
"MIT"
] | null | null | null | from .convert import convert
class percent():
def in_percent(
number: int,
string: bool = False,
round_off: bool = False
):
number = convert(number, to=int)
x = number / 100
if round_off is True:
x = round(x)
if string is True:
x =... | 21.771739 | 48 | 0.458313 | 237 | 2,003 | 3.827004 | 0.130802 | 0.099228 | 0.077178 | 0.099228 | 0.85226 | 0.825799 | 0.825799 | 0.825799 | 0.787211 | 0.787211 | 0 | 0.014273 | 0.440339 | 2,003 | 92 | 49 | 21.771739 | 0.794826 | 0 | 0 | 0.8 | 0 | 0 | 0.001996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.013333 | 0 | 0.16 | 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 |
d26a4a947fd1538a8bde114a1fb524a2b3ca269a | 150 | py | Python | tests/python/py3implicitnamespace/namespace/sibling/__init__.py | sammorley-short/sphinx-autoapi | 48ec2b341eabe2489ddd71fa553707c04129ef98 | [
"MIT"
] | 197 | 2019-06-29T07:59:40.000Z | 2022-03-13T14:10:54.000Z | tests/python/py3implicitnamespace/namespace/sibling/__init__.py | sammorley-short/sphinx-autoapi | 48ec2b341eabe2489ddd71fa553707c04129ef98 | [
"MIT"
] | 158 | 2019-07-04T09:47:12.000Z | 2022-03-30T06:12:34.000Z | tests/python/py3implicitnamespace/namespace/sibling/__init__.py | sammorley-short/sphinx-autoapi | 48ec2b341eabe2489ddd71fa553707c04129ef98 | [
"MIT"
] | 91 | 2019-07-02T17:52:32.000Z | 2022-03-29T12:34:11.000Z | def first_method():
"""First sibling package method."""
return 1
def second_method():
"""Second sibling package method."""
return 2
| 16.666667 | 40 | 0.64 | 18 | 150 | 5.222222 | 0.5 | 0.297872 | 0.425532 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.226667 | 150 | 8 | 41 | 18.75 | 0.793103 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
d279288ab730ce511643ca0579cda872da2295d4 | 8,551 | py | Python | tests/test_utility.py | TriPed-Robot/trip_kinematics | 1c20aaa40ce892bc3ec23d605925add4039f4744 | [
"MIT"
] | 13 | 2021-11-30T16:49:16.000Z | 2022-03-24T12:35:17.000Z | tests/test_utility.py | TriPed-Robot/trip_kinematics | 1c20aaa40ce892bc3ec23d605925add4039f4744 | [
"MIT"
] | 8 | 2021-11-18T16:38:48.000Z | 2022-03-24T15:46:02.000Z | tests/test_utility.py | TriPed-Robot/TriP | 1c20aaa40ce892bc3ec23d605925add4039f4744 | [
"MIT"
] | 4 | 2021-12-13T14:49:33.000Z | 2022-03-15T14:39:28.000Z | import unittest
import numpy as np
from trip_kinematics.Utility import Rotation as R
class TestStates(unittest.TestCase):
"""Correct results were generated using scipy.spatial.transform.Rotation.
"""
def test_from_euler_to_quat(self):
from_euler_cases = [
([1, 2, 3],
... | 58.972414 | 101 | 0.565782 | 861 | 8,551 | 5.57259 | 0.228804 | 0.023343 | 0.017507 | 0.010838 | 0.772822 | 0.749896 | 0.739475 | 0.717799 | 0.717799 | 0.686119 | 0 | 0.653262 | 0.275874 | 8,551 | 144 | 102 | 59.381944 | 0.121609 | 0.008186 | 0 | 0.707692 | 1 | 0 | 0.001681 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 1 | 0.023077 | false | 0 | 0.023077 | 0 | 0.053846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d285ba63a74f5c0dfab696e140ba1425bca654a8 | 37,395 | py | Python | mayan/apps/document_states/tests/test_workflow_views.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 2 | 2021-09-12T19:41:19.000Z | 2021-09-12T19:41:20.000Z | mayan/apps/document_states/tests/test_workflow_views.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 37 | 2021-09-13T01:00:12.000Z | 2021-10-02T03:54:30.000Z | mayan/apps/document_states/tests/test_workflow_views.py | CMU-313/fall-2021-hw2-451-unavailable-for-legal-reasons | 0e4e919fd2e1ded6711354a0330135283e87f8c7 | [
"Apache-2.0"
] | 1 | 2021-09-22T13:17:30.000Z | 2021-09-22T13:17:30.000Z | from mayan.apps.documents.tests.base import GenericDocumentViewTestCase
from mayan.apps.documents.permissions import permission_document_type_edit
from mayan.apps.testing.tests.base import GenericViewTestCase
from ..events import (
event_workflow_template_created, event_workflow_template_edited
)
from ..mod... | 34.307339 | 104 | 0.681455 | 3,983 | 37,395 | 5.91991 | 0.027115 | 0.177107 | 0.16625 | 0.102803 | 0.93825 | 0.935154 | 0.928411 | 0.92311 | 0.916621 | 0.914034 | 0 | 0.008402 | 0.248884 | 37,395 | 1,089 | 105 | 34.338843 | 0.831067 | 0 | 0 | 0.757803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200999 | 1 | 0.062422 | false | 0 | 0.011236 | 0 | 0.087391 | 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 |
965e8deec87069fdc478cf178c68d8fb36fd8818 | 83 | py | Python | movie_and_captions/youtube_api/__init__.py | KKawamura1/get-youtube-captions | 1ee025583512c02d6cc1f1c0c6a69cc0270c07ac | [
"MIT"
] | null | null | null | movie_and_captions/youtube_api/__init__.py | KKawamura1/get-youtube-captions | 1ee025583512c02d6cc1f1c0c6a69cc0270c07ac | [
"MIT"
] | null | null | null | movie_and_captions/youtube_api/__init__.py | KKawamura1/get-youtube-captions | 1ee025583512c02d6cc1f1c0c6a69cc0270c07ac | [
"MIT"
] | null | null | null | from .youtube_api import YoutubeAPI
from .dirty_youtube_api import DirtyYoutubeAPI
| 27.666667 | 46 | 0.879518 | 11 | 83 | 6.363636 | 0.636364 | 0.285714 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 2 | 47 | 41.5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
9672b4d5718d67696e00322c1934140287f550d0 | 2,263 | py | Python | Lib/site-packages/tensorflow_core/_api/v2/dtypes/__init__.py | caiyongji/py36-tf2.0rc | c5b4b364ba14214534228570e58ef96b1a8bb6dc | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/site-packages/tensorflow_core/_api/v2/dtypes/__init__.py | caiyongji/py36-tf2.0rc | c5b4b364ba14214534228570e58ef96b1a8bb6dc | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Lib/site-packages/tensorflow_core/_api/v2/dtypes/__init__.py | caiyongji/py36-tf2.0rc | c5b4b364ba14214534228570e58ef96b1a8bb6dc | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.dtypes namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from tensorflow.python.framework.dtypes import DType
from tensorflow... | 45.26 | 82 | 0.851525 | 301 | 2,263 | 6.262458 | 0.255814 | 0.280106 | 0.339523 | 0.430769 | 0.723607 | 0.723607 | 0.15809 | 0.051989 | 0.051989 | 0 | 0 | 0.016916 | 0.085727 | 2,263 | 49 | 83 | 46.183673 | 0.894152 | 0.071586 | 0 | 0 | 1 | 0 | 0.002867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.871795 | 0 | 0.871795 | 0.051282 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
96a5212a3002f5834057d1964869757a25bf3226 | 3,749 | py | Python | src/compas/geometry/shapes/_shape.py | ricardoavelino/compas | e3c7f004b8839f96bf01f9f6b21a75786c3f59fa | [
"MIT"
] | null | null | null | src/compas/geometry/shapes/_shape.py | ricardoavelino/compas | e3c7f004b8839f96bf01f9f6b21a75786c3f59fa | [
"MIT"
] | null | null | null | src/compas/geometry/shapes/_shape.py | ricardoavelino/compas | e3c7f004b8839f96bf01f9f6b21a75786c3f59fa | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
import abc
from ..geometry import Geometry
class Shape(Geometry):
"""Base class for geometric shapes."""
@abc.abstractmethod
def to_vertices_and_faces(self, triangulated=False):
pass
... | 30.729508 | 93 | 0.551614 | 415 | 3,749 | 4.778313 | 0.163855 | 0.12708 | 0.090772 | 0.121029 | 0.820978 | 0.794755 | 0.794755 | 0.794755 | 0.794755 | 0.747857 | 0 | 0.012749 | 0.330488 | 3,749 | 121 | 94 | 30.983471 | 0.777291 | 0.489731 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0.03125 | 0.34375 | 0 | 0.65625 | 0.03125 | 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 | 1 | 0 | 1 | 0 | 0 | 8 |
73fbd78323916eff5a47287d192542c9f4f88aaa | 58,652 | py | Python | venv/lib/python3.8/site-packages/cairocffi/_generated/ffi.py | sakthipriya-07/BuildingConstructionMaterialsSupply | e4b32d97eb6e574e78b955a03a0717bc7b5d13d4 | [
"MIT"
] | 2 | 2019-12-06T15:40:14.000Z | 2020-07-29T21:30:35.000Z | venv/lib/python3.8/site-packages/cairocffi/_generated/ffi.py | sakthipriya-07/BuildingConstructionMaterialsSupply | e4b32d97eb6e574e78b955a03a0717bc7b5d13d4 | [
"MIT"
] | 13 | 2020-03-24T17:53:51.000Z | 2022-02-10T20:01:14.000Z | myvenv/lib/python3.6/site-packages/cairocffi/_generated/ffi.py | yog240597/saleor | b75a23827a4ec2ce91637f0afe6808c9d09da00a | [
"CC-BY-4.0"
] | null | null | null | # auto-generated file
import _cffi_backend
ffi = _cffi_backend.FFI('cairocffi._generated.ffi',
_version = 0x2601,
_types = b'\x00\x02\xA1\x0D\x00\x04\x80\x03\x00\x00\x00\x0F\x00\x02\xA1\x0D\x00\x04\x95\x03\x00\x00\x00\x0F\x00\x00\x7D\x0D\x00\x04\x92\x03\x00\x00\x00\x0F\x00\x00\x0A\x0D\x00\x04\x7C\x03\x00\x00\x... | 4,887.666667 | 27,875 | 0.810475 | 12,391 | 58,652 | 3.602453 | 0.056573 | 0.205923 | 0.042341 | 0.072315 | 0.681348 | 0.592253 | 0.497558 | 0.366795 | 0.325239 | 0.304651 | 0 | 0.235392 | 0.000887 | 58,652 | 11 | 27,876 | 5,332 | 0.526348 | 0.000324 | 0 | 0 | 1 | 2.666667 | 0.92359 | 0.918422 | 0 | 1 | 0.000102 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.111111 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fb4d8ab9055ab5f5d1ff4559b3a2115332078cc7 | 144 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_white.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_white.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_white.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.bobcat.calculators.calc_white import Calc_Whitening_Bobcat
class calc_whitening_viper(Calc_Whitening_Bobcat):
pass | 36 | 83 | 0.875 | 19 | 144 | 6.263158 | 0.631579 | 0.327731 | 0.319328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076389 | 144 | 4 | 84 | 36 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
fb4e021401f93d38e219cfc6249991af3752f8d4 | 129 | py | Python | tests/test_clmutils.py | ffreemt/colab-misc-utils | c241aeccbeb529ff90cfaf3957f25530f5e7b8aa | [
"MIT"
] | null | null | null | tests/test_clmutils.py | ffreemt/colab-misc-utils | c241aeccbeb529ff90cfaf3957f25530f5e7b8aa | [
"MIT"
] | 1 | 2021-01-18T15:20:25.000Z | 2021-02-08T07:08:34.000Z | tests/test_clmutils.py | ffreemt/colab-misc-utils | c241aeccbeb529ff90cfaf3957f25530f5e7b8aa | [
"MIT"
] | 2 | 2020-12-19T03:46:35.000Z | 2020-12-31T02:15:20.000Z | """Test."""
from clmutils import __version__
def test_version():
"""Test version."""
assert __version__[:-1] == '0.1.'
| 16.125 | 37 | 0.612403 | 15 | 129 | 4.666667 | 0.6 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.178295 | 129 | 7 | 38 | 18.428571 | 0.632075 | 0.147287 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
83886156c828d15c5b069b4b130b1b56e3c4a8fc | 3,876 | py | Python | tests/test_class_oelint_spaces_linebeginning.py | skycaptain/oelint-adv | ff67d3149cf8b1de2b0b2d158a68f4e2cf5e9e46 | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_spaces_linebeginning.py | skycaptain/oelint-adv | ff67d3149cf8b1de2b0b2d158a68f4e2cf5e9e46 | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_spaces_linebeginning.py | skycaptain/oelint-adv | ff67d3149cf8b1de2b0b2d158a68f4e2cf5e9e46 | [
"BSD-2-Clause"
] | null | null | null | import pytest
from .base import TestBaseClass
class TestClassOelintSpacesLineBeginning(TestBaseClass):
@pytest.mark.parametrize('id', ['oelint.spaces.linebeginning'])
@pytest.mark.parametrize('occurrence', [1])
@pytest.mark.parametrize('input',
[
... | 40.8 | 67 | 0.217492 | 172 | 3,876 | 4.69186 | 0.209302 | 0.100372 | 0.144981 | 0.167286 | 0.801735 | 0.801735 | 0.801735 | 0.801735 | 0.750929 | 0.750929 | 0 | 0.00954 | 0.702528 | 3,876 | 94 | 68 | 41.234043 | 0.690373 | 0 | 0 | 0.322581 | 0 | 0 | 0.109985 | 0.030405 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048387 | false | 0 | 0.032258 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 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 |
83b2c2c4b3326983ef5c99fdd660c1f2ce611c9c | 4,812 | py | Python | h2o-py/tests/testdir_jira/pyunit_hexdev_289_binomial_domain_check.py | PawarPawan/h2o-v3 | cf569a538c9e2ec16ba9fc1a75d14beda8f40c18 | [
"Apache-2.0"
] | null | null | null | h2o-py/tests/testdir_jira/pyunit_hexdev_289_binomial_domain_check.py | PawarPawan/h2o-v3 | cf569a538c9e2ec16ba9fc1a75d14beda8f40c18 | [
"Apache-2.0"
] | null | null | null | h2o-py/tests/testdir_jira/pyunit_hexdev_289_binomial_domain_check.py | PawarPawan/h2o-v3 | cf569a538c9e2ec16ba9fc1a75d14beda8f40c18 | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.insert(1, "../../")
import h2o
def domain_check(ip, port):
air_train = h2o.import_file(path=h2o.locate("smalldata/airlines/AirlinesTrain.csv.zip"))
air_train.show()
air_test = h2o.import_file(path=h2o.locate("smalldata/airlines/AirlinesTest.csv.zip"))
air_test.show()
actu... | 54.681818 | 125 | 0.653782 | 603 | 4,812 | 4.985075 | 0.150912 | 0.111776 | 0.085163 | 0.05855 | 0.819361 | 0.819361 | 0.819361 | 0.819361 | 0.790752 | 0.790752 | 0 | 0.010688 | 0.202826 | 4,812 | 87 | 126 | 55.310345 | 0.772941 | 0.005611 | 0 | 0.565217 | 0 | 0 | 0.313932 | 0.0166 | 0 | 0 | 0 | 0 | 0.115942 | 0 | null | null | 0 | 0.057971 | null | null | 0.188406 | 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 | 0 | 0 | 7 |
83ed2ef82abd11c1b07f740fe8aedabbf6a9980a | 12,809 | py | Python | mfl_gis/migrations/0001_initial.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 19 | 2015-04-16T09:37:08.000Z | 2022-02-10T11:50:30.000Z | mfl_gis/migrations/0001_initial.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 125 | 2015-03-26T14:05:49.000Z | 2020-05-14T08:16:50.000Z | mfl_gis/migrations/0001_initial.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 39 | 2015-04-15T09:17:33.000Z | 2022-03-28T18:08:16.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.contrib.gis.db.models.fields
import common.models.base
import django.db.models.deletion
import django.utils.timezone
from django.conf import settings
import mfl_gis.models
import uuid
class Migratio... | 65.687179 | 197 | 0.623234 | 1,340 | 12,809 | 5.80597 | 0.112687 | 0.022622 | 0.028792 | 0.045244 | 0.833548 | 0.830463 | 0.804756 | 0.79383 | 0.79383 | 0.79383 | 0 | 0.008666 | 0.23421 | 12,809 | 194 | 198 | 66.025773 | 0.784484 | 0.001639 | 0 | 0.702128 | 0 | 0 | 0.169248 | 0.005475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047872 | 0 | 0.06383 | 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 |
f7ed20bf290595727e46214483ad66828d28ed3a | 4,376 | py | Python | typesafety/pyright/create.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | null | null | null | typesafety/pyright/create.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | 8 | 2022-03-03T02:26:41.000Z | 2022-03-30T12:39:20.000Z | typesafety/pyright/create.py | matyasrichter/prisma-client-py | 1b320ba32ff8c70c7481396e2ecf5a3fcbf4b5c7 | [
"Apache-2.0"
] | null | null | null | from prisma import Prisma
async def main(client: Prisma) -> None:
# case: missing arguments
await client.post.create() # E: Argument missing for parameter "data"
await client.post.create(
data={} # E: Argument of type "dict[Any, Any]" cannot be assigned to parameter "data" of type "PostCreateInp... | 28.232258 | 165 | 0.442642 | 384 | 4,376 | 5.041667 | 0.169271 | 0.090909 | 0.123967 | 0.173554 | 0.809917 | 0.785124 | 0.782541 | 0.782541 | 0.735537 | 0.683884 | 0 | 0.001604 | 0.430073 | 4,376 | 154 | 166 | 28.415584 | 0.774659 | 0.292733 | 0 | 0.511111 | 0 | 0 | 0.129347 | 0 | 0 | 0 | 0 | 0.006494 | 0 | 1 | 0 | true | 0 | 0.007407 | 0 | 0.007407 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7925756a4ec5634c24312e5498d5a1e76c4d852f | 29 | py | Python | src/PT_Pool/__init__.py | michalmonday/PT_Pool | fb43bad4e200e5b8eaf7ce620c3030a068f36905 | [
"MIT"
] | null | null | null | src/PT_Pool/__init__.py | michalmonday/PT_Pool | fb43bad4e200e5b8eaf7ce620c3030a068f36905 | [
"MIT"
] | null | null | null | src/PT_Pool/__init__.py | michalmonday/PT_Pool | fb43bad4e200e5b8eaf7ce620c3030a068f36905 | [
"MIT"
] | null | null | null | from .PT_Pool import PT_Pool
| 14.5 | 28 | 0.827586 | 6 | 29 | 3.666667 | 0.666667 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.88 | 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 |
793e070d4936a8fcc803e1d83015e01119f9052c | 2,487 | py | Python | tests/parser/tsp-austria.bk.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/tsp-austria.bk.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/tsp-austria.bk.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
% map date to weekday (mon =1, ..., sun = 7);
% The tour starts on Monday.
weekday(1,1).
weekday(D,W) :- D=D1+1, W=W1+1, weekday(D1,W1), W1 < 7.
weekday(D,1) :- D=D1+1, weekday(D1,7).
% connections with default costs (capitols of the Austrian federal states).
conn(brg,ibk,2).
conn(ibk,s... | 20.89916 | 76 | 0.548854 | 498 | 2,487 | 2.708835 | 0.15261 | 0.038547 | 0.044477 | 0.062268 | 0.991846 | 0.991846 | 0.991846 | 0.991846 | 0.991846 | 0.991846 | 0 | 0.044444 | 0.221954 | 2,487 | 118 | 77 | 21.076271 | 0.652713 | 0 | 0 | 0.926829 | 0 | 0.121951 | 0.986936 | 0.018542 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f7113a19ca443354c370f38ad63f77db03ae42db | 5,269 | py | Python | moment/test/test_isSameOrBefore.py | KrixTam/pymoment | b938cafc4c772df55feb3daa41286eade6f3e310 | [
"MIT"
] | 1 | 2021-04-24T17:51:08.000Z | 2021-04-24T17:51:08.000Z | moment/test/test_isSameOrBefore.py | KrixTam/pymoment | b938cafc4c772df55feb3daa41286eade6f3e310 | [
"MIT"
] | null | null | null | moment/test/test_isSameOrBefore.py | KrixTam/pymoment | b938cafc4c772df55feb3daa41286eade6f3e310 | [
"MIT"
] | null | null | null | import unittest
from moment import moment
class TestIsSameOrBefore(unittest.TestCase):
def test_default(self):
a = moment('2021-04-22 04:02:09.957000 +0800')
b = moment('2021-2-2 13:02:09.957000 +0800')
self.assertTrue(a.isSameOrBefore([2021, 5, 1]))
self.assertFalse(a.isSameOrBef... | 43.908333 | 77 | 0.605808 | 788 | 5,269 | 4.02665 | 0.062183 | 0.13867 | 0.211787 | 0.141191 | 0.923416 | 0.913646 | 0.913646 | 0.909549 | 0.904507 | 0.889379 | 0 | 0.234469 | 0.214842 | 5,269 | 119 | 78 | 44.277311 | 0.532511 | 0 | 0 | 0.721154 | 0 | 0 | 0.291137 | 0 | 0 | 0 | 0 | 0 | 0.423077 | 1 | 0.105769 | false | 0 | 0.019231 | 0 | 0.134615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
f718836b8c0b46908cdf57f0144d22ccc800514c | 363,980 | py | Python | pynos/versions/ver_6/ver_6_0_1/yang/brocade_interface_ext.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/ver_6/ver_6_0_1/yang/brocade_interface_ext.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/ver_6/ver_6_0_1/yang/brocade_interface_ext.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | #!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_interface_ext(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def get_vlan_brief_input_request_type_get_request_vlan_id(self, **kwargs):
"""A... | 48.640919 | 116 | 0.675903 | 40,745 | 363,980 | 5.750497 | 0.003289 | 0.130087 | 0.106298 | 0.112162 | 0.999411 | 0.999411 | 0.999411 | 0.999411 | 0.999411 | 0.999411 | 0 | 0.001104 | 0.21385 | 363,980 | 7,483 | 117 | 48.640919 | 0.817731 | 0.030884 | 0 | 0.999326 | 1 | 0 | 0.147598 | 0.003626 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065239 | false | 0 | 0.000169 | 0 | 0.130647 | 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 |
f71cab3e710d8cc552a1054d037bb361fdbacb7d | 2,386 | py | Python | old/test_reverse_linked_list.py | kurtrm/data_structures_rev | 58f425a877898a45595de9c57c7eb8e087a0c3a2 | [
"MIT"
] | null | null | null | old/test_reverse_linked_list.py | kurtrm/data_structures_rev | 58f425a877898a45595de9c57c7eb8e087a0c3a2 | [
"MIT"
] | null | null | null | old/test_reverse_linked_list.py | kurtrm/data_structures_rev | 58f425a877898a45595de9c57c7eb8e087a0c3a2 | [
"MIT"
] | null | null | null | """Test of the reversed linked list."""
import pytest
@pytest.fixture
def linked_list():
"""Make linked_list for testing."""
from linked_list import LinkedList
linked_list = LinkedList([1, 2, 3])
return linked_list
def test_empty_linked_list(linked_list):
"""Test exception from empty linked_lis... | 34.57971 | 85 | 0.754401 | 373 | 2,386 | 4.490617 | 0.131367 | 0.38209 | 0.150448 | 0.200597 | 0.814925 | 0.784478 | 0.743284 | 0.743284 | 0.729552 | 0.729552 | 0 | 0.009945 | 0.157167 | 2,386 | 68 | 86 | 35.088235 | 0.822974 | 0.102682 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.354167 | 1 | 0.125 | false | 0 | 0.145833 | 0 | 0.291667 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
f71ea31341a506b476c8ad73d75b95e72760cafc | 48 | py | Python | aiomatrix/dispatcher/storage/presence/engines/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 2 | 2021-10-29T18:07:08.000Z | 2021-11-19T00:25:43.000Z | aiomatrix/dispatcher/storage/presence/engines/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | 1 | 2022-03-06T11:17:43.000Z | 2022-03-06T11:17:43.000Z | aiomatrix/dispatcher/storage/presence/engines/__init__.py | Forden/aiomatrix | d258076bae8eb776495b92be46ee9f4baec8d9a6 | [
"MIT"
] | null | null | null | from .sqlite import SqlitePresenceStorageEngine
| 24 | 47 | 0.895833 | 4 | 48 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f72d80fec048e93c8380bd0fed8c96da03ae69b2 | 2,886 | py | Python | 2017/01.py | GillesArcas/Advent_of_Code | 1f57eb1686875df2684b0d56916b1d20724e9fb9 | [
"MIT"
] | null | null | null | 2017/01.py | GillesArcas/Advent_of_Code | 1f57eb1686875df2684b0d56916b1d20724e9fb9 | [
"MIT"
] | null | null | null | 2017/01.py | GillesArcas/Advent_of_Code | 1f57eb1686875df2684b0d56916b1d20724e9fb9 | [
"MIT"
] | null | null | null |
EXAMPLES1 = (
('1122', 3),
('1111', 4),
('1234', 0),
('91212129', 9)
)
EXAMPLES2 = (
('1212', 6),
('1221', 0),
('123425', 4),
('123123', 12),
('12131415', 4)
)
INPUT = '31813174349235972159811869755166343882958376474278437681632495222499211488649543755655138842553... | 78 | 2,162 | 0.878378 | 97 | 2,886 | 26.134021 | 0.443299 | 0.010651 | 0.011834 | 0.014201 | 0.043393 | 0.043393 | 0.043393 | 0.043393 | 0.043393 | 0.043393 | 0 | 0.827124 | 0.069993 | 2,886 | 36 | 2,163 | 80.166667 | 0.117362 | 0 | 0 | 0 | 0 | 0 | 0.772552 | 0.754651 | 0 | 1 | 0 | 0 | 0.041667 | 1 | 0.125 | false | 0 | 0 | 0.083333 | 0.208333 | 0.041667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f788ef121ae3cfe52d67c24656d37348399e8dc2 | 27,151 | py | Python | sdk/python/pulumi_digitalocean/spaces_bucket.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 53 | 2019-04-25T14:43:12.000Z | 2022-03-14T15:51:44.000Z | sdk/python/pulumi_digitalocean/spaces_bucket.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 158 | 2019-04-15T21:47:18.000Z | 2022-03-29T21:21:57.000Z | sdk/python/pulumi_digitalocean/spaces_bucket.py | pulumi/pulumi-digitalocean | b924205ec8f66f5240a755c91aa8642162038dfb | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-04-15T20:16:11.000Z | 2021-05-28T19:08:32.000Z | # 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 ... | 43.581059 | 186 | 0.64086 | 2,954 | 27,151 | 5.704469 | 0.086324 | 0.08682 | 0.080055 | 0.033945 | 0.890867 | 0.87526 | 0.860127 | 0.844104 | 0.841078 | 0.824283 | 0 | 0.001769 | 0.250451 | 27,151 | 622 | 187 | 43.651125 | 0.826249 | 0.376855 | 0 | 0.771044 | 1 | 0 | 0.130979 | 0.056276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161616 | false | 0.003367 | 0.026936 | 0 | 0.286195 | 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 |
f7943fa9622a94768af29afa34b76def5cad626e | 48 | py | Python | masonite/contrib/azure/drivers/__init__.py | josephmancuso/masonite-azure-driver | 06e766f9833b48d28a6ffd4afb24114be1a60a1c | [
"MIT"
] | null | null | null | masonite/contrib/azure/drivers/__init__.py | josephmancuso/masonite-azure-driver | 06e766f9833b48d28a6ffd4afb24114be1a60a1c | [
"MIT"
] | null | null | null | masonite/contrib/azure/drivers/__init__.py | josephmancuso/masonite-azure-driver | 06e766f9833b48d28a6ffd4afb24114be1a60a1c | [
"MIT"
] | 1 | 2019-08-07T16:53:09.000Z | 2019-08-07T16:53:09.000Z | from .UploadAzureDriver import UploadAzureDriver | 48 | 48 | 0.916667 | 4 | 48 | 11 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f7959c2912df756edf4a2138890b657e7ef3c597 | 279 | py | Python | nanoleafapi/__init__.py | iandouglas/nanoleafapi | cc5f1c16f04fbafd5460569d2e5b165d1de7bc41 | [
"MIT"
] | 29 | 2020-01-02T18:37:18.000Z | 2022-03-28T19:03:16.000Z | nanoleafapi/__init__.py | iandouglas/nanoleafapi | cc5f1c16f04fbafd5460569d2e5b165d1de7bc41 | [
"MIT"
] | 9 | 2020-01-04T18:59:19.000Z | 2022-01-06T06:38:16.000Z | nanoleafapi/__init__.py | iandouglas/nanoleafapi | cc5f1c16f04fbafd5460569d2e5b165d1de7bc41 | [
"MIT"
] | 8 | 2020-01-04T19:02:48.000Z | 2022-03-20T18:49:19.000Z | from nanoleafapi.nanoleaf import Nanoleaf, NanoleafRegistrationError, NanoleafConnectionError, NanoleafEffectCreationError
from nanoleafapi.digital_twin import NanoleafDigitalTwin
from nanoleafapi.nanoleaf import RED, ORANGE, YELLOW, GREEN, LIGHT_BLUE, BLUE, PINK, PURPLE, WHITE
| 69.75 | 122 | 0.867384 | 28 | 279 | 8.571429 | 0.678571 | 0.1875 | 0.191667 | 0.241667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082437 | 279 | 3 | 123 | 93 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 |
f797ce34a4068b696193c8fd1ec0a376ae1676fb | 7,443 | py | Python | dae/dae/pedigrees/tests/test_family_role_builder.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | dae/dae/pedigrees/tests/test_family_role_builder.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | 82 | 2019-07-22T11:44:23.000Z | 2022-01-13T15:27:33.000Z | dae/dae/pedigrees/tests/test_family_role_builder.py | iossifovlab/gpf | e556243d29666179dbcb72859845b4d6c011af2b | [
"MIT"
] | null | null | null | import pytest
from dae.pedigrees.family_role_builder import FamilyRoleBuilder
from dae.pedigrees.loader import FamiliesLoader
from dae.variants.attributes import Role
# TODO: Organize into 1 test
@pytest.mark.parametrize(
"ped_file",
["pedigrees/pedigree_no_role_A.ped", "pedigrees/pedigree_no_role_B.ped"],
)
... | 37.781726 | 77 | 0.730754 | 1,003 | 7,443 | 5.210369 | 0.098704 | 0.208955 | 0.058171 | 0.040184 | 0.886146 | 0.843666 | 0.843666 | 0.839839 | 0.83142 | 0.83142 | 0 | 0.017236 | 0.158135 | 7,443 | 196 | 78 | 37.97449 | 0.816789 | 0.003493 | 0 | 0.776398 | 0 | 0 | 0.056372 | 0.048011 | 0 | 0 | 0 | 0.005102 | 0.540373 | 1 | 0.055901 | false | 0 | 0.024845 | 0 | 0.080745 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e3a2736be9f34be25010fe308d66fa886eba238c | 24,229 | py | Python | pred.py | BoyuanChen/neural-state-variables | 10483d93ac8c006f3786c434fb57d70d9ab465ec | [
"MIT"
] | 17 | 2021-12-29T16:48:46.000Z | 2022-03-25T01:57:13.000Z | pred.py | BoyuanChen/neural-state-variables | 10483d93ac8c006f3786c434fb57d70d9ab465ec | [
"MIT"
] | null | null | null | pred.py | BoyuanChen/neural-state-variables | 10483d93ac8c006f3786c434fb57d70d9ab465ec | [
"MIT"
] | 1 | 2022-01-22T11:26:09.000Z | 2022-01-22T11:26:09.000Z |
"""
A. Long-term future prediction (model rollout)
1. encoder-decoder (0, 1 -> 8192-dim latent -> 2', 3'):
- feed (2', 3') images as input to predict (4', 5') images ...
2. encoder-decoder-64 (0, 1 -> 64-dim latent -> 2', 3'):
- feed (2', 3') images as input to predict (4', 5') images ...
3. encoder-decoder-6... | 44.538603 | 132 | 0.577737 | 3,171 | 24,229 | 4.183223 | 0.075055 | 0.030305 | 0.049755 | 0.035884 | 0.861138 | 0.85277 | 0.85066 | 0.842518 | 0.838146 | 0.832567 | 0 | 0.019742 | 0.295472 | 24,229 | 544 | 133 | 44.538603 | 0.757352 | 0.080111 | 0 | 0.806846 | 0 | 0 | 0.078967 | 0.04506 | 0 | 0 | 0 | 0 | 0.00489 | 1 | 0.02445 | false | 0.002445 | 0.046455 | 0.002445 | 0.08313 | 0.012225 | 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 |
e3aaacc383334438950848972ea1163fedc75530 | 8,923 | py | Python | tests/test_linear_model.py | hugocool/explainerdashboard | e725528c3d94a1a45b51bd9632686d0697274f54 | [
"MIT"
] | 1,178 | 2019-12-20T10:56:17.000Z | 2022-03-30T13:05:48.000Z | tests/test_linear_model.py | MaxCodeXTC/explainerdashboard | dfbf9bbafab8b82317cc0437a41e4582b101e081 | [
"MIT"
] | 172 | 2020-03-04T08:15:01.000Z | 2022-03-31T20:23:14.000Z | tests/test_linear_model.py | MaxCodeXTC/explainerdashboard | dfbf9bbafab8b82317cc0437a41e4582b101e081 | [
"MIT"
] | 150 | 2020-03-04T04:43:52.000Z | 2022-03-29T06:57:00.000Z | import unittest
import pandas as pd
import numpy as np
import shap
import plotly.graph_objects as go
from sklearn.linear_model import LinearRegression, LogisticRegression
from explainerdashboard.explainers import RegressionExplainer, ClassifierExplainer
from explainerdashboard.datasets import titanic_fare, titanic_... | 42.899038 | 124 | 0.684747 | 1,059 | 8,923 | 5.522191 | 0.118036 | 0.164501 | 0.205198 | 0.282148 | 0.826436 | 0.823016 | 0.75171 | 0.725889 | 0.70041 | 0.677497 | 0 | 0.00394 | 0.203519 | 8,923 | 207 | 125 | 43.10628 | 0.818911 | 0 | 0 | 0.609272 | 0 | 0 | 0.027457 | 0 | 0 | 0 | 0 | 0 | 0.384106 | 1 | 0.264901 | false | 0 | 0.07947 | 0 | 0.370861 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.