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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
48dc631b1c4a2cb88ce03ced0e0bc40234df9515 | 66,039 | py | Python | nidaqmx/stream_writers.py | TheWiselyBearded/nidaqmx-python | 4aff91f8302d6e75a954ceed88d55cf1836c2d04 | [
"MIT"
] | 1 | 2022-03-14T19:46:36.000Z | 2022-03-14T19:46:36.000Z | nidaqmx/stream_writers.py | TheWiselyBearded/nidaqmx-python | 4aff91f8302d6e75a954ceed88d55cf1836c2d04 | [
"MIT"
] | null | null | null | nidaqmx/stream_writers.py | TheWiselyBearded/nidaqmx-python | 4aff91f8302d6e75a954ceed88d55cf1836c2d04 | [
"MIT"
] | 2 | 2022-03-14T19:46:51.000Z | 2022-03-14T20:16:57.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy
from nidaqmx import DaqError
from nidaqmx._task_modules.write_functions import (
_write_analog_f_64, _write_analog_scalar_f_64, _write_binary_i_16,
_... | 46.76983 | 79 | 0.627765 | 8,904 | 66,039 | 4.550876 | 0.032794 | 0.037092 | 0.020533 | 0.022211 | 0.927889 | 0.918117 | 0.911626 | 0.898571 | 0.894277 | 0.88791 | 0 | 0.00895 | 0.335044 | 66,039 | 1,411 | 80 | 46.802977 | 0.913807 | 0.654371 | 0 | 0.622896 | 0 | 0 | 0.029737 | 0.006354 | 0 | 0 | 0 | 0 | 0 | 1 | 0.131313 | false | 0.010101 | 0.026936 | 0 | 0.299663 | 0.006734 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48e432c7b34ae711c921fc1d92892e78a76c8b32 | 1,357 | py | Python | tvof/cms/migrations/0010_auto_20180509_1800.py | kingsdigitallab/tvof-django | 12cb0aec4e155345a13602c7d7dfd0882ec92129 | [
"MIT"
] | null | null | null | tvof/cms/migrations/0010_auto_20180509_1800.py | kingsdigitallab/tvof-django | 12cb0aec4e155345a13602c7d7dfd0882ec92129 | [
"MIT"
] | 33 | 2019-12-04T22:37:50.000Z | 2022-02-10T07:15:35.000Z | tvof/cms/migrations/0010_auto_20180509_1800.py | kingsdigitallab/tvof-django | 12cb0aec4e155345a13602c7d7dfd0882ec92129 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.10 on 2018-05-09 17:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('cms', '0009_auto_20180509_1742'),
]
operations = [
migrations.AddField(
model_name='blogpost',
... | 37.694444 | 169 | 0.617539 | 184 | 1,357 | 4.429348 | 0.331522 | 0.088344 | 0.112883 | 0.132515 | 0.727607 | 0.727607 | 0.727607 | 0.727607 | 0.727607 | 0.727607 | 0 | 0.045771 | 0.259396 | 1,357 | 35 | 170 | 38.771429 | 0.765174 | 0.050847 | 0 | 0.592593 | 1 | 0 | 0.263813 | 0.017899 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48e533184406a6704ec35d826a1d05528867b4dd | 5,777 | py | Python | tests/test_engine/test_queries/test_queryop_array_elemMatch.py | gitter-badger/MontyDB | 849d03dc2cfed35739481e9acb1ff0bd8095c91b | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_array_elemMatch.py | gitter-badger/MontyDB | 849d03dc2cfed35739481e9acb1ff0bd8095c91b | [
"BSD-3-Clause"
] | null | null | null | tests/test_engine/test_queries/test_queryop_array_elemMatch.py | gitter-badger/MontyDB | 849d03dc2cfed35739481e9acb1ff0bd8095c91b | [
"BSD-3-Clause"
] | null | null | null |
import pytest
from montydb.errors import OperationFailure
def test_qop_elemMatch_1(monty_find, mongo_find):
docs = [
{"a": [3, 2, 1]},
{"a": [4, 5]}
]
spec = {"a": {"$elemMatch": {"$eq": 1}}}
monty_c = monty_find(docs, spec)
mongo_c = mongo_find(docs, spec)
assert mongo_c.co... | 27.122066 | 75 | 0.508395 | 841 | 5,777 | 3.273484 | 0.079667 | 0.106793 | 0.127497 | 0.096622 | 0.892481 | 0.888485 | 0.871776 | 0.871776 | 0.871776 | 0.852888 | 0 | 0.040284 | 0.243725 | 5,777 | 212 | 76 | 27.25 | 0.589837 | 0.007443 | 0 | 0.606452 | 0 | 0 | 0.056195 | 0 | 0 | 0 | 0 | 0 | 0.232258 | 1 | 0.090323 | false | 0 | 0.012903 | 0 | 0.103226 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48ee220a13f6aadc42f46f04a25df773694896f9 | 131 | py | Python | comingsoon/views.py | epool/giftxme | 22bedb03772fcfcb71762863d40c96b113e2ac32 | [
"Apache-2.0"
] | 1 | 2017-09-22T03:03:41.000Z | 2017-09-22T03:03:41.000Z | comingsoon/views.py | epool/giftxme | 22bedb03772fcfcb71762863d40c96b113e2ac32 | [
"Apache-2.0"
] | null | null | null | comingsoon/views.py | epool/giftxme | 22bedb03772fcfcb71762863d40c96b113e2ac32 | [
"Apache-2.0"
] | null | null | null | # Create your views here.
from django.shortcuts import render
def index(request):
return render(request, 'comingsoon/index.html') | 26.2 | 48 | 0.78626 | 18 | 131 | 5.722222 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114504 | 131 | 5 | 48 | 26.2 | 0.887931 | 0.175573 | 0 | 0 | 0 | 0 | 0.196262 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
48fb246a27aee50146c1cff58122373bfe75cbd5 | 35 | py | Python | pydscpack/__init__.py | aligirayhanozbay/pydscpack | 48d1df0775e4b063cf387b3884b8b463b3660e89 | [
"BSD-3-Clause"
] | null | null | null | pydscpack/__init__.py | aligirayhanozbay/pydscpack | 48d1df0775e4b063cf387b3884b8b463b3660e89 | [
"BSD-3-Clause"
] | null | null | null | pydscpack/__init__.py | aligirayhanozbay/pydscpack | 48d1df0775e4b063cf387b3884b8b463b3660e89 | [
"BSD-3-Clause"
] | null | null | null | from .AnnulusMap import AnnulusMap
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2afbc634a494371c891e31e0b2a0369fa73a7d8 | 9,017 | py | Python | tests/layer_tests/onnx_tests/test_squeeze.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | tests/layer_tests/onnx_tests/test_squeeze.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | tests/layer_tests/onnx_tests/test_squeeze.py | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | # Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import pytest
from common.onnx_layer_test_class import Caffe2OnnxLayerTest
class TestSqueeze(Caffe2OnnxLayerTest):
def create_squeeze_net(self, axes, input_shape, output_shape, ir_version):
"""
ONNX net ... | 41.552995 | 99 | 0.582123 | 1,271 | 9,017 | 3.898505 | 0.083399 | 0.048436 | 0.056509 | 0.084763 | 0.830474 | 0.810293 | 0.769324 | 0.758022 | 0.716852 | 0.620989 | 0 | 0.084725 | 0.269602 | 9,017 | 216 | 100 | 41.74537 | 0.667628 | 0.082289 | 0 | 0.39726 | 0 | 0 | 0.026918 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054795 | false | 0 | 0.061644 | 0 | 0.157534 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2b03aaf7ed4aa2b4ebfddafc3d05531cce67e1f | 39 | py | Python | __init__.py | afernandezrti/rticonnextdds-connector-py | 56cf102ccbf7ba9e01e56fce55439bef84e888b7 | [
"CNRI-Python"
] | 24 | 2019-04-22T15:40:19.000Z | 2022-01-17T06:39:38.000Z | __init__.py | afernandezrti/rticonnextdds-connector-py | 56cf102ccbf7ba9e01e56fce55439bef84e888b7 | [
"CNRI-Python"
] | 46 | 2019-04-04T14:59:45.000Z | 2022-03-22T06:57:37.000Z | __init__.py | afernandezrti/rticonnextdds-connector-py | 56cf102ccbf7ba9e01e56fce55439bef84e888b7 | [
"CNRI-Python"
] | 17 | 2018-10-03T20:42:36.000Z | 2022-01-06T02:36:32.000Z | from .rticonnextdds_connector import *
| 19.5 | 38 | 0.846154 | 4 | 39 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
96001b1be26377bb3eafa3b47c330696425cbeed | 13,952 | py | Python | tests/api/v3_1_0/test_hotspot_portal.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_1_0/test_hotspot_portal.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_1_0/test_hotspot_portal.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI hotspot_portal API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without... | 37.606469 | 844 | 0.707712 | 1,542 | 13,952 | 6.141375 | 0.156291 | 0.10982 | 0.05227 | 0.05924 | 0.834213 | 0.832946 | 0.831362 | 0.827772 | 0.824921 | 0.810665 | 0 | 0.013001 | 0.189579 | 13,952 | 370 | 845 | 37.708108 | 0.824533 | 0.083142 | 0 | 0.683099 | 0 | 0 | 0.20133 | 0.051779 | 0 | 0 | 0 | 0 | 0.126761 | 1 | 0.105634 | false | 0 | 0.017606 | 0 | 0.207746 | 0.021127 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9620a38834ef8e8605baf91690ea5302de6f3247 | 21,005 | py | Python | comport/department/views.py | isabella232/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 35 | 2015-11-14T18:32:45.000Z | 2022-01-23T15:15:05.000Z | comport/department/views.py | codeforamerica/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 119 | 2015-11-20T22:45:34.000Z | 2022-02-10T23:02:36.000Z | comport/department/views.py | isabella232/comport | 117123862415261095a917ed7f2037c1f986b474 | [
"BSD-3-Clause"
] | 19 | 2015-11-20T20:41:52.000Z | 2022-01-26T04:12:34.000Z | # -*- coding: utf-8 -*-
from flask import Blueprint, render_template, request, redirect, url_for, flash, Response, abort
from .models import Department, Extractor
from comport.data.models import DemographicValue, DenominatorValue
from flask.ext.login import login_required
from comport.decorators import admin_or_depart... | 42.094188 | 174 | 0.768769 | 2,555 | 21,005 | 6.028963 | 0.052838 | 0.099714 | 0.047715 | 0.061023 | 0.881459 | 0.862049 | 0.841989 | 0.827577 | 0.765256 | 0.700792 | 0 | 0.007992 | 0.112402 | 21,005 | 498 | 175 | 42.178715 | 0.818226 | 0.011378 | 0 | 0.584507 | 0 | 0 | 0.176318 | 0.155506 | 0 | 0 | 0 | 0 | 0 | 1 | 0.115023 | false | 0.004695 | 0.016432 | 0 | 0.246479 | 0.119718 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
829573989fd9375f501363497c29204dc8eccee7 | 4,359 | py | Python | ngsutils/gtf/t/test_junctions.py | bgruening/ngsutils | 417e90dc1918fb553dd84990f2c54bd8cea8f44d | [
"BSD-3-Clause"
] | 57 | 2015-03-09T01:26:45.000Z | 2022-02-22T07:26:01.000Z | ngsutils/gtf/t/test_junctions.py | bgruening/ngsutils | 417e90dc1918fb553dd84990f2c54bd8cea8f44d | [
"BSD-3-Clause"
] | 33 | 2015-02-03T23:24:46.000Z | 2022-03-16T20:08:10.000Z | ngsutils/gtf/t/test_junctions.py | bgruening/ngsutils | 417e90dc1918fb553dd84990f2c54bd8cea8f44d | [
"BSD-3-Clause"
] | 33 | 2015-01-18T16:47:47.000Z | 2022-02-22T07:28:09.000Z | #!/usr/bin/env python
'''
Tests for gtfutils / junctions
'''
import os
import unittest
import StringIO
import ngsutils.gtf.junctions
from ngsutils.gtf import GTF
# >test1
# 1 2 3 4 5 6 7 8 9 100
# 123456789012345678901234567890123456789... | 31.817518 | 115 | 0.682725 | 652 | 4,359 | 4.435583 | 0.15184 | 0.062241 | 0.089903 | 0.076072 | 0.788382 | 0.788382 | 0.788382 | 0.775588 | 0.775588 | 0.729253 | 0 | 0.139553 | 0.136958 | 4,359 | 136 | 116 | 32.051471 | 0.629187 | 0.093141 | 0 | 0.815534 | 0 | 0.194175 | 0.594663 | 0.191614 | 0 | 0 | 0 | 0 | 0.038835 | 1 | 0.038835 | false | 0 | 0.048544 | 0 | 0.097087 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82a2f6300b87eb5407f5a32ba6e167f583497783 | 319 | py | Python | src/python/WMCore/WMBS/Oracle/Workflow/CheckInjectedWorkflow.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMCore/WMBS/Oracle/Workflow/CheckInjectedWorkflow.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMCore/WMBS/Oracle/Workflow/CheckInjectedWorkflow.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
_CheckInjectedWorkflow_
Oracle implementation of Workflow.CheckInjectedWorkflow
"""
from WMCore.WMBS.MySQL.Workflow.CheckInjectedWorkflow import CheckInjectedWorkflow as MySQLCheckInjectedWorkflow
class CheckInjectedWorkflow(MySQLCheckInjectedWorkflow):
"""
Oracle version
"""
| 21.266667 | 112 | 0.805643 | 25 | 319 | 10.2 | 0.72 | 0.227451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115987 | 319 | 14 | 113 | 22.785714 | 0.904255 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82e97b7361be0a1d6efa1f81c7f4932ef26aa802 | 353 | py | Python | typet/__init__.py | contains-io/typet | 1bbbaa57e5de636f834215b7878af652562c1e14 | [
"MIT"
] | 17 | 2017-11-12T08:40:30.000Z | 2021-12-15T20:30:23.000Z | typet/__init__.py | contains-io/typet | 1bbbaa57e5de636f834215b7878af652562c1e14 | [
"MIT"
] | 19 | 2017-11-12T21:57:10.000Z | 2018-10-11T02:29:02.000Z | typet/__init__.py | contains-io/typet | 1bbbaa57e5de636f834215b7878af652562c1e14 | [
"MIT"
] | 1 | 2017-11-12T08:40:34.000Z | 2017-11-12T08:40:34.000Z | # -*- coding: utf-8 -*-
# pragma pylint: disable=wildcard-import,redefined-builtin
"""Contains all typet classes and functions."""
from __future__ import unicode_literals
from .meta import * # noqa: F401
from .objects import * # noqa: F401
from .path import * # noqa: F401
from .types import * # noqa: F401
from .v... | 29.416667 | 58 | 0.708215 | 46 | 353 | 5.326087 | 0.586957 | 0.204082 | 0.285714 | 0.293878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.172805 | 353 | 11 | 59 | 32.090909 | 0.784247 | 0.498584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7d85a098b047bf2819391ee1b76f2cebfe1d518e | 16,794 | py | Python | tests/stream/test_v1.py | rune-labs/runeq-python | 5fb487af9d55a16665a0ac8c07f761b4927ca4c3 | [
"MIT"
] | 4 | 2020-05-18T20:52:24.000Z | 2022-01-21T13:41:08.000Z | tests/stream/test_v1.py | rune-labs/runeq-python | 5fb487af9d55a16665a0ac8c07f761b4927ca4c3 | [
"MIT"
] | 1 | 2020-09-08T22:26:46.000Z | 2020-09-08T23:23:35.000Z | tests/stream/test_v1.py | rune-labs/runeq-python | 5fb487af9d55a16665a0ac8c07f761b4927ca4c3 | [
"MIT"
] | null | null | null | from unittest import mock, TestCase
from typing import List, Dict
import numpy as np
from runeq import Config, stream, errors
def mock_get_json_response(
bodies: List[dict],
calls: List,
status_code=200,
headers: List[Dict[str, str]] = None
):
"""Return a function that can be use... | 32.483559 | 78 | 0.495891 | 1,638 | 16,794 | 4.934676 | 0.147741 | 0.076704 | 0.029939 | 0.038105 | 0.841148 | 0.787331 | 0.750217 | 0.726587 | 0.710504 | 0.680317 | 0 | 0.012166 | 0.402882 | 16,794 | 516 | 79 | 32.546512 | 0.793877 | 0.150411 | 0 | 0.692958 | 0 | 0.005634 | 0.09591 | 0.032042 | 0 | 0 | 0 | 0 | 0.064789 | 1 | 0.039437 | false | 0 | 0.011268 | 0 | 0.064789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7dad60f91a776a2483da20380918c138b1e31a04 | 5,082 | py | Python | VScodePython/graphs.py | horbosis556/Scientific-Calculator- | 98ab96fa04b4719f786fa65089700697e74f0386 | [
"MIT"
] | 1 | 2021-01-16T10:05:43.000Z | 2021-01-16T10:05:43.000Z | VScodePython/graphs.py | horbosis556/Scientific-Calculator- | 98ab96fa04b4719f786fa65089700697e74f0386 | [
"MIT"
] | null | null | null | VScodePython/graphs.py | horbosis556/Scientific-Calculator- | 98ab96fa04b4719f786fa65089700697e74f0386 | [
"MIT"
] | null | null | null | from tkinter import *
import math
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.figure import Figure
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk
def plot_sin():
# TkInter Window For The Graph.
win = Tk()
win.title('Graph')
win.ge... | 29.206897 | 103 | 0.571232 | 837 | 5,082 | 3.442055 | 0.145759 | 0.052065 | 0.049636 | 0.070809 | 0.775425 | 0.755293 | 0.737591 | 0.732385 | 0.721972 | 0.721972 | 0 | 0.075213 | 0.238686 | 5,082 | 173 | 104 | 29.375723 | 0.657017 | 0.086777 | 0 | 0.734848 | 0 | 0 | 0.124381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0.045455 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7dc1514eec4a445105b35cbc0e5ffb0113daffdf | 1,135 | py | Python | tests/test_mqtt.py | sourcesimian/mqtt-kube | a199a27fd377b9a742f123d50b45d12f6cb58184 | [
"MIT"
] | null | null | null | tests/test_mqtt.py | sourcesimian/mqtt-kube | a199a27fd377b9a742f123d50b45d12f6cb58184 | [
"MIT"
] | null | null | null | tests/test_mqtt.py | sourcesimian/mqtt-kube | a199a27fd377b9a742f123d50b45d12f6cb58184 | [
"MIT"
] | null | null | null | from mqtt_kube.mqtt import TopicMatcher
class TestTopicMatcher:
def test_basic(self):
assert TopicMatcher('topic/one').match('topic/one') == True
assert TopicMatcher('topic/two').match('topic/one') == False
def test_plus(self):
assert TopicMatcher('topic/+/plus').match('topic/one/plus... | 45.4 | 85 | 0.638767 | 137 | 1,135 | 5.240876 | 0.189781 | 0.325905 | 0.199164 | 0.189415 | 0.703343 | 0.703343 | 0.644847 | 0.388579 | 0 | 0 | 0 | 0 | 0.168282 | 1,135 | 24 | 86 | 47.291667 | 0.760593 | 0 | 0 | 0 | 0 | 0 | 0.262555 | 0.042291 | 0 | 0 | 0 | 0 | 0.684211 | 1 | 0.210526 | false | 0 | 0.052632 | 0 | 0.315789 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7dc8dab4e7aa21ce5e8156ec657c478f099bfac1 | 32 | py | Python | stubbs/defs/item.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/item.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | stubbs/defs/item.py | holy-crust/reclaimer | 0aa693da3866ce7999c68d5f71f31a9c932cdb2c | [
"MIT"
] | null | null | null | from ...hek.defs.item import *
| 16 | 31 | 0.65625 | 5 | 32 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7dcb115d63475624e95679351b87856244a03ed5 | 1,306 | py | Python | build.py | thommyho/conan-oatpp | 30084af0252e9b30486ed022f4aa5357aebafa16 | [
"Apache-2.0"
] | null | null | null | build.py | thommyho/conan-oatpp | 30084af0252e9b30486ed022f4aa5357aebafa16 | [
"Apache-2.0"
] | null | null | null | build.py | thommyho/conan-oatpp | 30084af0252e9b30486ed022f4aa5357aebafa16 | [
"Apache-2.0"
] | null | null | null | from cpt.packager import ConanMultiPackager
import platform
if __name__ == "__main__":
builder = ConanMultiPackager()
if platform.system() == "Windows":
builder.add(settings={"arch": "x86_64", "build_type": "Debug", "compiler": "Visual Studio", "compiler.version": 16, "compiler.runtime": "MDd"},
... | 62.190476 | 159 | 0.574273 | 130 | 1,306 | 5.523077 | 0.276923 | 0.083565 | 0.150418 | 0.183844 | 0.831476 | 0.831476 | 0.784123 | 0.784123 | 0.711699 | 0.597493 | 0 | 0.03003 | 0.235069 | 1,306 | 20 | 160 | 65.3 | 0.688689 | 0 | 0 | 0.315789 | 0 | 0 | 0.270291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
815548806e275795fcda4717d0fe69721e0b8d55 | 27 | py | Python | PythonMisc/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | PythonMisc/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | PythonMisc/__init__.py | jwbrooks0/johnspythonlibrary2 | 10ca519276d8c32da0fbd41a597f75c0c98a8736 | [
"MIT"
] | null | null | null | from ._pythonmisc import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
817161a4114dd4bc2f2aea716e123f38982a1bb0 | 14,140 | py | Python | registry/application/handlers/service_handlers.py | anandrgitnirman/snet-marketplace-service | f31bf741094476b9cb26277f1165deb2856257b1 | [
"MIT"
] | 14 | 2019-02-12T09:14:52.000Z | 2021-03-11T18:42:22.000Z | registry/application/handlers/service_handlers.py | prashantramangupta/snet-marketplace-service | 7c293054e4b0207deefecc46defd743c064472a4 | [
"MIT"
] | 1,079 | 2019-01-10T04:31:24.000Z | 2022-03-29T06:16:42.000Z | registry/application/handlers/service_handlers.py | prashantramangupta/snet-marketplace-service | 7c293054e4b0207deefecc46defd743c064472a4 | [
"MIT"
] | 20 | 2018-12-18T13:06:41.000Z | 2021-09-17T11:13:01.000Z | import sys
sys.path.append('/opt')
import json
from common.constant import StatusCode
from common.exception_handler import exception_handler
from common.exceptions import BadRequestException
from common.logger import get_logger
from common.utils import generate_lambda_response, validate_dict
from registry.application.... | 49.788732 | 117 | 0.736846 | 1,606 | 14,140 | 6.191158 | 0.07472 | 0.048577 | 0.033189 | 0.070401 | 0.808609 | 0.787589 | 0.760032 | 0.737604 | 0.710852 | 0.707231 | 0 | 0 | 0.141938 | 14,140 | 284 | 118 | 49.788732 | 0.819501 | 0 | 0 | 0.596 | 0 | 0 | 0.169578 | 0.007213 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064 | false | 0 | 0.056 | 0 | 0.184 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
819e70addddb3290dffdeb3c906eab23eb0bcb75 | 38 | py | Python | onelinerizer/__init__.py | mayl8822/onelinerizer | bad341f261d35e56872b4c22297a44dc6d5cfab3 | [
"MIT"
] | 1,062 | 2015-11-18T01:04:33.000Z | 2022-03-29T07:13:30.000Z | onelinerizer/__init__.py | mayl8822/onelinerizer | bad341f261d35e56872b4c22297a44dc6d5cfab3 | [
"MIT"
] | 26 | 2015-11-17T06:58:07.000Z | 2022-01-15T18:11:16.000Z | onelinerizer/__init__.py | mayl8822/onelinerizer | bad341f261d35e56872b4c22297a44dc6d5cfab3 | [
"MIT"
] | 100 | 2015-11-17T09:01:22.000Z | 2021-09-12T13:58:28.000Z | from .onelinerizer import onelinerize
| 19 | 37 | 0.868421 | 4 | 38 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
819eee92e1b01ffcddcab758721e62152875f417 | 6,020 | py | Python | test/pytest/test_regexes.py | showipintbri/ttp | 10b8767e67ec39ed4e30769d36e6fb6e5b0ed265 | [
"MIT"
] | 254 | 2019-09-23T15:37:13.000Z | 2022-03-24T18:56:56.000Z | test/pytest/test_regexes.py | showipintbri/ttp | 10b8767e67ec39ed4e30769d36e6fb6e5b0ed265 | [
"MIT"
] | 71 | 2019-09-26T16:32:55.000Z | 2022-03-31T15:57:12.000Z | test/pytest/test_regexes.py | showipintbri/ttp | 10b8767e67ec39ed4e30769d36e6fb6e5b0ed265 | [
"MIT"
] | 38 | 2019-10-18T03:43:42.000Z | 2022-01-19T20:03:33.000Z | import sys
sys.path.insert(0, "../..")
import pprint
import logging
logging.basicConfig(level="INFO")
from ttp import ttp
def test_pipe_separated_regexes():
template = """
<input load="text">
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.12.13.1 98 0950.5785.5cd1 ARP... | 31.851852 | 112 | 0.421429 | 589 | 6,020 | 4.251273 | 0.154499 | 0.046326 | 0.069489 | 0.095048 | 0.84984 | 0.84984 | 0.833067 | 0.826677 | 0.811502 | 0.811502 | 0 | 0.189922 | 0.442857 | 6,020 | 188 | 113 | 32.021277 | 0.556649 | 0.02392 | 0 | 0.559006 | 0 | 0.031056 | 0.492759 | 0.03084 | 0 | 0 | 0 | 0 | 0.018634 | 1 | 0.018634 | false | 0 | 0.024845 | 0 | 0.043478 | 0.006211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81a712fc0a1ca3fd1d60c1d20884115c33cc34d5 | 77 | py | Python | tst/test_fireFoxBrowser.py | Xiaoyu-Xing/youtube-algorithmic-bias | 2643f9ba59fa5ad1757bc645a5a6bcf45061e21b | [
"MIT"
] | 2 | 2019-02-20T16:35:00.000Z | 2019-02-22T02:29:34.000Z | tst/test_fireFoxBrowser.py | Xiaoyu-Xing/youtube-algorithmic-bias | 2643f9ba59fa5ad1757bc645a5a6bcf45061e21b | [
"MIT"
] | null | null | null | tst/test_fireFoxBrowser.py | Xiaoyu-Xing/youtube-algorithmic-bias | 2643f9ba59fa5ad1757bc645a5a6bcf45061e21b | [
"MIT"
] | 2 | 2020-06-10T04:42:05.000Z | 2021-04-30T01:09:56.000Z | from unittest import TestCase
class TestFireFoxBrowser(TestCase):
pass
| 12.833333 | 35 | 0.792208 | 8 | 77 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 36 | 15.4 | 0.953125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
81ddf4efd987baa173741271f80cf21b6476eb8a | 231 | py | Python | src/config/utils/custom_pagination.py | amirpsd/drf_blog_api | 58be081a450840114af021e7412e469fad90456d | [
"MIT"
] | 33 | 2022-02-11T12:16:29.000Z | 2022-03-26T15:08:47.000Z | src/config/utils/custom_pagination.py | amirpsd/django_blog_api | 58be081a450840114af021e7412e469fad90456d | [
"MIT"
] | null | null | null | src/config/utils/custom_pagination.py | amirpsd/django_blog_api | 58be081a450840114af021e7412e469fad90456d | [
"MIT"
] | 5 | 2022-02-11T13:03:52.000Z | 2022-03-28T16:04:32.000Z | from rest_framework.pagination import PageNumberPagination
from rest_framework.response import Response
class CustomPagination(PageNumberPagination):
def get_paginated_response(self, data):
return Response(data) | 25.666667 | 58 | 0.805195 | 24 | 231 | 7.583333 | 0.625 | 0.087912 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147186 | 231 | 9 | 59 | 25.666667 | 0.923858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
c4eca49ca3e8a8cdb08d085684aeb077bcb0da95 | 110 | py | Python | ch01/helloworld/src/pages/views.py | Redhat8983/Redhat8983-learning-django2 | fc0d5a9d93a7b15f1235d2c172e4bba50b884018 | [
"Unlicense"
] | 1 | 2022-02-21T06:48:26.000Z | 2022-02-21T06:48:26.000Z | ch01/helloworld/src/pages/views.py | Redhat8983/learning-django2 | fc0d5a9d93a7b15f1235d2c172e4bba50b884018 | [
"Unlicense"
] | null | null | null | ch01/helloworld/src/pages/views.py | Redhat8983/learning-django2 | fc0d5a9d93a7b15f1235d2c172e4bba50b884018 | [
"Unlicense"
] | null | null | null | from django.http import HttpResponse
def home_page_view(request):
return HttpResponse('Hello, Worlds!!')
| 22 | 42 | 0.772727 | 14 | 110 | 5.928571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 110 | 4 | 43 | 27.5 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1eeade2b2eff7c021bdf24444d77665b69e99e87 | 116 | py | Python | core/message_handler/message_sender_from_db.py | taimaskhanov11/AsyncVkAccount | 58c48886545aa581eb28a1071d52e0a60aa1b8ea | [
"MIT"
] | 1 | 2021-12-26T20:40:39.000Z | 2021-12-26T20:40:39.000Z | core/message_handler/message_sender_from_db.py | taimaskhanov11/AsyncVkAccount | 58c48886545aa581eb28a1071d52e0a60aa1b8ea | [
"MIT"
] | 1 | 2021-12-03T18:38:38.000Z | 2021-12-03T18:39:08.000Z | core/message_handler/message_sender_from_db.py | taimaskhanov11/AsyncVkAccount | 58c48886545aa581eb28a1071d52e0a60aa1b8ea | [
"MIT"
] | null | null | null | from core.message_handler.message_sender import MessageSender
class MessageSenderFromDb(MessageSender):
pass
| 16.571429 | 61 | 0.836207 | 12 | 116 | 7.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 116 | 6 | 62 | 19.333333 | 0.931373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6f8fb06b522d444ecf71afd635cd35139e725c57 | 558 | py | Python | lib/python/pyflyby/importdb.py | azjps/pyflyby | fd837e9686e56a7f88eefcf1d28313915affbd3e | [
"BSD-3-Clause"
] | null | null | null | lib/python/pyflyby/importdb.py | azjps/pyflyby | fd837e9686e56a7f88eefcf1d28313915affbd3e | [
"BSD-3-Clause"
] | null | null | null | lib/python/pyflyby/importdb.py | azjps/pyflyby | fd837e9686e56a7f88eefcf1d28313915affbd3e | [
"BSD-3-Clause"
] | null | null | null | # pyflyby/importdb.py.
# Copyright (C) 2011, 2012, 2013, 2014 Karl Chen.
# License: MIT http://opensource.org/licenses/MIT
# Deprecated stub for backwards compatibility.
from __future__ import absolute_import, division, with_statement
from pyflyby._importdb import ImportDB
def global_known_imports():
... | 27.9 | 64 | 0.765233 | 66 | 558 | 6.242424 | 0.560606 | 0.101942 | 0.123786 | 0.18932 | 0.434466 | 0.339806 | 0.339806 | 0.339806 | 0.339806 | 0.339806 | 0 | 0.033684 | 0.148746 | 558 | 19 | 65 | 29.368421 | 0.833684 | 0.449821 | 0 | 0 | 0 | 0 | 0.006667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 1 | 0.333333 | 1.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6fa864c45ec99157d37fc19a4b427bdda37a627d | 21 | py | Python | yolo/vedanet/network/head/brick/__init__.py | hilman-dayo/ObjectDetection-OneStageDet | 44054ad335e24e99a98fdad0d18b9bf3a80c941c | [
"MIT"
] | 331 | 2020-06-05T05:10:21.000Z | 2022-03-29T07:32:42.000Z | vedanet/network/head/brick/__init__.py | xiongcaihua/ObjectDetection-OneStageDet | d29f69cdce32b006bd040edb6e66427b3c987c70 | [
"Apache-2.0"
] | 10 | 2020-06-12T07:53:42.000Z | 2021-05-11T00:09:10.000Z | vedanet/network/head/brick/__init__.py | xiongcaihua/ObjectDetection-OneStageDet | d29f69cdce32b006bd040edb6e66427b3c987c70 | [
"Apache-2.0"
] | 84 | 2020-06-05T10:21:11.000Z | 2022-03-27T23:42:44.000Z | from . import yolov3
| 10.5 | 20 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fa958a127643df28e086c6eed2e50b037d9b74b | 812 | py | Python | sorceress/test___init__.py | altunenes/sorceress | 1ee36bbd27ebe3ae41293e3df44c7d3dd150502c | [
"MIT"
] | 6 | 2021-09-20T14:47:34.000Z | 2022-03-09T12:35:48.000Z | sorceress/test___init__.py | altunenes/sorceress | 1ee36bbd27ebe3ae41293e3df44c7d3dd150502c | [
"MIT"
] | null | null | null | sorceress/test___init__.py | altunenes/sorceress | 1ee36bbd27ebe3ae41293e3df44c7d3dd150502c | [
"MIT"
] | null | null | null | from unittest import TestCase
class Testsorcerer(TestCase):
def test_chromatic(self):
return
def test_dotill(self):
return
def test_realtimegrid(self):
return
def test_addlines(self):
return
def test_addlines_alpha(self):
return
def test_eyecolour(self):... | 21.368421 | 34 | 0.610837 | 96 | 812 | 4.947917 | 0.3125 | 0.250526 | 0.437895 | 0.572632 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007273 | 0.32266 | 812 | 38 | 35 | 21.368421 | 0.856364 | 0 | 0 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.472222 | false | 0 | 0.027778 | 0.472222 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
82ea330aae6d4f6b9f65440d120a2656dcb64e13 | 158 | py | Python | Python Snippets/sorting/__init__.py | wolfnfox/Code-Snippets | 993cb2b273d538bdeb76ff3a39fa41a92a6282de | [
"MIT"
] | null | null | null | Python Snippets/sorting/__init__.py | wolfnfox/Code-Snippets | 993cb2b273d538bdeb76ff3a39fa41a92a6282de | [
"MIT"
] | null | null | null | Python Snippets/sorting/__init__.py | wolfnfox/Code-Snippets | 993cb2b273d538bdeb76ff3a39fa41a92a6282de | [
"MIT"
] | null | null | null | # import os, sys
# parentdir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
# if parentdir not in sys.path:
# sys.path.insert(0,parentdir) | 39.5 | 74 | 0.721519 | 25 | 158 | 4.4 | 0.52 | 0.163636 | 0.236364 | 0.272727 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.120253 | 158 | 4 | 75 | 39.5 | 0.784173 | 0.949367 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d21c785473a527861d4b0848610313159a104f91 | 232 | py | Python | installer_scoring/installer_scoring/doctype/installer_scoring_sub_parameter_value_and_score/installer_scoring_sub_parameter_value_and_score.py | Manisvb123/TestAll | 39fc4e59e1fe58e9778f57f9bbfcfd8e2555e938 | [
"MIT"
] | null | null | null | installer_scoring/installer_scoring/doctype/installer_scoring_sub_parameter_value_and_score/installer_scoring_sub_parameter_value_and_score.py | Manisvb123/TestAll | 39fc4e59e1fe58e9778f57f9bbfcfd8e2555e938 | [
"MIT"
] | null | null | null | installer_scoring/installer_scoring/doctype/installer_scoring_sub_parameter_value_and_score/installer_scoring_sub_parameter_value_and_score.py | Manisvb123/TestAll | 39fc4e59e1fe58e9778f57f9bbfcfd8e2555e938 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, mani.v@gmail.com and contributors
# For license information, please see license.txt
# import frappe
from frappe.model.document import Document
class InstallerScoringSubParameterValueandScore(Document):
pass
| 25.777778 | 58 | 0.814655 | 28 | 232 | 6.75 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0.116379 | 232 | 8 | 59 | 29 | 0.902439 | 0.49569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
d2238e7f4be6a0a7ebca49eb61c9c09919f05f0d | 115 | py | Python | QuickCoders/views.py | hpathipati/Quick-Tutor | 17476d79b87f51b12a6c8fc435d1a6506bff1e04 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | QuickCoders/views.py | hpathipati/Quick-Tutor | 17476d79b87f51b12a6c8fc435d1a6506bff1e04 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | QuickCoders/views.py | hpathipati/Quick-Tutor | 17476d79b87f51b12a6c8fc435d1a6506bff1e04 | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | from django.shortcuts import redirect, render
def homepage(request):
return render(request, 'study/home.html') | 28.75 | 45 | 0.773913 | 15 | 115 | 5.933333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 4 | 46 | 28.75 | 0.881188 | 0 | 0 | 0 | 0 | 0 | 0.12931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
968f657c4f13e635a498fb57cd2f6c0bf9f3b053 | 35 | py | Python | src/lib/dis.py | DTenore/skulpt | 098d20acfb088d6db85535132c324b7ac2f2d212 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | src/lib/dis.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | src/lib/dis.py | wakeupmuyunhe/skulpt | a8fb11a80fb6d7c016bab5dfe3712517a350b347 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | import _sk_fail; _sk_fail._("dis")
| 17.5 | 34 | 0.742857 | 6 | 35 | 3.5 | 0.666667 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
96a030ae4b62523a577060ac279fb7753433f9f5 | 28 | py | Python | skssl/meta/__init__.py | YannDubs/Semi-Supervised-Neural-Processes | 77176131923817f3a165883dd6fca7b9f1e9d0b3 | [
"MIT"
] | 5 | 2019-06-19T11:11:56.000Z | 2020-07-03T08:42:36.000Z | skssl/meta/__init__.py | YannDubs/Semi-Supervised-Neural-Processes | 77176131923817f3a165883dd6fca7b9f1e9d0b3 | [
"MIT"
] | null | null | null | skssl/meta/__init__.py | YannDubs/Semi-Supervised-Neural-Processes | 77176131923817f3a165883dd6fca7b9f1e9d0b3 | [
"MIT"
] | null | null | null | from .selftraining import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73792c24fe46fc36ce796ed077332b0f6d4f0760 | 26 | py | Python | hogwarts/utils/__init__.py | PingchuanMa/hogwarts | 404e1d524fee4f190d8de1c1e8bc0711d895089a | [
"MIT"
] | 4 | 2019-10-12T04:55:03.000Z | 2019-11-25T22:30:41.000Z | hogwarts/utils/__init__.py | PingchuanMa/hogwarts | 404e1d524fee4f190d8de1c1e8bc0711d895089a | [
"MIT"
] | null | null | null | hogwarts/utils/__init__.py | PingchuanMa/hogwarts | 404e1d524fee4f190d8de1c1e8bc0711d895089a | [
"MIT"
] | null | null | null | from . import tensorboard
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
739253a8461f536eb86edbee8c872a23faa56bb0 | 4,180 | py | Python | applications/plot_data_paper2.py | RaulRPrado/tev-binaries-model | c60959caaffbcdf3398914b03531647f95e97da0 | [
"Apache-2.0"
] | 1 | 2020-06-03T15:39:38.000Z | 2020-06-03T15:39:38.000Z | applications/plot_data_paper2.py | RaulRPrado/tev-binaries-model | c60959caaffbcdf3398914b03531647f95e97da0 | [
"Apache-2.0"
] | null | null | null | applications/plot_data_paper2.py | RaulRPrado/tev-binaries-model | c60959caaffbcdf3398914b03531647f95e97da0 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
import matplotlib.pyplot as plt
import logging
import math
from astropy import units as u
from tgblib import util
from tgblib.data import get_data, get_data_ul
logging.getLogger().setLevel(logging.INFO)
if __name__ == '__main__':
util.set_my_fonts(mode='talk')
show = False
label = ... | 25.180723 | 85 | 0.517464 | 536 | 4,180 | 3.906716 | 0.266791 | 0.038204 | 0.019102 | 0.032474 | 0.815664 | 0.808023 | 0.782235 | 0.748806 | 0.702961 | 0.702961 | 0 | 0.048789 | 0.32823 | 4,180 | 165 | 86 | 25.333333 | 0.696937 | 0.006459 | 0 | 0.565217 | 0 | 0.014493 | 0.107229 | 0.053494 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb4ab11cea1f2df276c4d6fd660056e068eff33a | 14,976 | py | Python | s3tests_boto3/functional/test_sts.py | TheRealGchen/s3-tests | 67caf0f85489a50ef628aa1fd28cbea9be989bdd | [
"MIT"
] | null | null | null | s3tests_boto3/functional/test_sts.py | TheRealGchen/s3-tests | 67caf0f85489a50ef628aa1fd28cbea9be989bdd | [
"MIT"
] | null | null | null | s3tests_boto3/functional/test_sts.py | TheRealGchen/s3-tests | 67caf0f85489a50ef628aa1fd28cbea9be989bdd | [
"MIT"
] | 2 | 2021-06-23T16:09:24.000Z | 2021-10-01T17:00:42.000Z | import boto3
import botocore.session
from botocore.exceptions import ClientError
from botocore.exceptions import ParamValidationError
from nose.tools import eq_ as eq
from nose.plugins.attrib import attr
from nose.plugins.skip import SkipTest
import isodate
import email.utils
import datetime
import threading
import re
... | 41.94958 | 340 | 0.71067 | 1,852 | 14,976 | 5.432505 | 0.102052 | 0.033098 | 0.05248 | 0.017891 | 0.844946 | 0.830633 | 0.815426 | 0.811848 | 0.801809 | 0.801809 | 0 | 0.018131 | 0.116119 | 14,976 | 356 | 341 | 42.067416 | 0.741935 | 0 | 0 | 0.622711 | 0 | 0 | 0.155625 | 0.001862 | 0 | 0 | 0 | 0 | 0.021978 | 1 | 0.032967 | false | 0 | 0.117216 | 0 | 0.161172 | 0.014652 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb61153d6890ae1969964e8e7074586cfa3bb578 | 1,901 | py | Python | test/test_mice.py | drkarthi/fancyimpute | f89df71bc7253057aea9ac27f397a4af26579836 | [
"Apache-2.0"
] | null | null | null | test/test_mice.py | drkarthi/fancyimpute | f89df71bc7253057aea9ac27f397a4af26579836 | [
"Apache-2.0"
] | null | null | null | test/test_mice.py | drkarthi/fancyimpute | f89df71bc7253057aea9ac27f397a4af26579836 | [
"Apache-2.0"
] | null | null | null | from fancyimpute import MICE
from low_rank_data import XY, XY_incomplete, missing_mask
from common import reconstruction_error
def test_mice_column_with_low_rank_random_matrix():
mice = MICE(n_imputations=100, impute_type='col')
XY_completed = mice.complete(XY_incomplete)
_, missing_mae = reconstruction_... | 33.946429 | 78 | 0.730668 | 260 | 1,901 | 4.876923 | 0.169231 | 0.049685 | 0.069401 | 0.107256 | 0.894322 | 0.894322 | 0.894322 | 0.894322 | 0.828864 | 0.728707 | 0 | 0.014249 | 0.187796 | 1,901 | 55 | 79 | 34.563636 | 0.806995 | 0 | 0 | 0.545455 | 0 | 0 | 0.137822 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.068182 | 0 | 0.159091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fb68719b6dcde4eb60da15aa4735aa5c76592150 | 243 | py | Python | winter_ddd/__init__.py | zhukovqs/winter | 20c361f29f89ffa0dc27501e12df8ef6e22a8e4c | [
"MIT"
] | 9 | 2019-01-24T11:50:19.000Z | 2019-07-05T07:58:46.000Z | winter_ddd/__init__.py | zhukovqs/winter | 20c361f29f89ffa0dc27501e12df8ef6e22a8e4c | [
"MIT"
] | 100 | 2019-01-29T08:11:38.000Z | 2020-04-03T12:00:42.000Z | winter_ddd/__init__.py | zhukovqs/winter | 20c361f29f89ffa0dc27501e12df8ef6e22a8e4c | [
"MIT"
] | 8 | 2020-07-16T13:56:50.000Z | 2021-12-27T03:33:23.000Z | from .aggregate_root import AggregateRoot
from .domain_event import DomainEvent
from .domain_event_dispatcher import global_domain_event_dispatcher
from .domain_event_handler import domain_event_handler
from .domain_events import DomainEvents
| 40.5 | 67 | 0.897119 | 32 | 243 | 6.4375 | 0.40625 | 0.26699 | 0.218447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082305 | 243 | 5 | 68 | 48.6 | 0.923767 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb9f75f2e8a4372fcd7438f0866036a2eb9346c6 | 3,065 | py | Python | source-code.py | eberkeaydin/dijkstra-graph | 4208a4c311d7668fcd1daa4ef24a6acc2a951987 | [
"MIT"
] | null | null | null | source-code.py | eberkeaydin/dijkstra-graph | 4208a4c311d7668fcd1daa4ef24a6acc2a951987 | [
"MIT"
] | null | null | null | source-code.py | eberkeaydin/dijkstra-graph | 4208a4c311d7668fcd1daa4ef24a6acc2a951987 | [
"MIT"
] | null | null | null |
import networkx as netx
import matplotlib.pyplot as plt
graph=netx.DiGraph()
graph.add_node(0)
graph.add_node(1)
graph.add_node(2)
graph.add_node(3)
graph.add_node(4)
graph.nodes[0]['pos']=(0,4)
graph.nodes[1]['pos']=(3,2.5)
graph.nodes[2]['pos']=(2,0)
graph.nodes[3]['pos']=(-2,0)
graph.nodes[4]['pos']=(-3,2.5)
graph... | 24.717742 | 85 | 0.709951 | 509 | 3,065 | 4.115914 | 0.133595 | 0.057279 | 0.057279 | 0.050119 | 0.832458 | 0.759427 | 0.728878 | 0.712649 | 0.712649 | 0.712649 | 0 | 0.047584 | 0.115498 | 3,065 | 123 | 86 | 24.918699 | 0.725194 | 0 | 0 | 0.669903 | 0 | 0 | 0.132613 | 0.016372 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019417 | 0 | 0.019417 | 0.174757 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8380609679d9bfa4892139ddeca0602c8f1071a2 | 112 | py | Python | docs/source/working/include/snippets/processes/functions/signature_plain_python_call_default.py | pranavmodx/aiida-core | 0edbbf82dfb97ab130914d1674a6f2217eba5971 | [
"BSD-2-Clause",
"MIT"
] | 1 | 2019-07-31T04:08:13.000Z | 2019-07-31T04:08:13.000Z | docs/source/working/include/snippets/processes/functions/signature_plain_python_call_default.py | odarbelaeze/aiida_core | 934b4ccdc73a993f2a6656caf516500470e3da08 | [
"BSD-2-Clause"
] | null | null | null | docs/source/working/include/snippets/processes/functions/signature_plain_python_call_default.py | odarbelaeze/aiida_core | 934b4ccdc73a993f2a6656caf516500470e3da08 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
def add_multiply(x, y, z=1):
return (x + y) * z
add_multiply(1, 2) # x=1, y=2, z=1
| 16 | 35 | 0.5625 | 25 | 112 | 2.44 | 0.52 | 0.360656 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.223214 | 112 | 6 | 36 | 18.666667 | 0.632184 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
838c2bace5e78b6fcf465bb33012058e19d06ba5 | 235 | py | Python | effdet/__init__.py | Jay9z/gwhd_efficentdet | 2ee45a51172faa9fc448d4ee4cd3931eaaa87c53 | [
"Apache-2.0"
] | null | null | null | effdet/__init__.py | Jay9z/gwhd_efficentdet | 2ee45a51172faa9fc448d4ee4cd3931eaaa87c53 | [
"Apache-2.0"
] | null | null | null | effdet/__init__.py | Jay9z/gwhd_efficentdet | 2ee45a51172faa9fc448d4ee4cd3931eaaa87c53 | [
"Apache-2.0"
] | null | null | null | from .efficientdet import EfficientDet
from .bench import DetBenchEval, DetBenchTrain
#from .config.config import get_efficientdet_config
from .config import get_efficientdet_config
from .helpers import load_checkpoint, load_pretrained | 47 | 53 | 0.87234 | 29 | 235 | 6.862069 | 0.413793 | 0.100503 | 0.150754 | 0.271357 | 0.371859 | 0.371859 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089362 | 235 | 5 | 53 | 47 | 0.929907 | 0.212766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83908d395811dd55647f059eb45b14cab1dbc558 | 84 | py | Python | payments/tests/__init__.py | Elijah-glitch/Hey | 00c09a0c8bfa9868d8048f697b36849569f9e127 | [
"MIT"
] | 25 | 2016-07-14T06:16:17.000Z | 2021-12-21T06:52:42.000Z | payments/tests/__init__.py | Elijah-glitch/Hey | 00c09a0c8bfa9868d8048f697b36849569f9e127 | [
"MIT"
] | 4 | 2017-11-29T20:20:30.000Z | 2017-12-01T00:04:29.000Z | payments/tests/__init__.py | Elijah-glitch/Hey | 00c09a0c8bfa9868d8048f697b36849569f9e127 | [
"MIT"
] | 5 | 2016-07-19T18:26:24.000Z | 2020-05-31T18:40:15.000Z | # flake8: noqa
from .bitcoin import *
from .paypal import *
from .stripe import *
| 12 | 22 | 0.702381 | 11 | 84 | 5.363636 | 0.636364 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.202381 | 84 | 6 | 23 | 14 | 0.865672 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83e079d520f78a8ff96bb981055a08790996eee0 | 36 | py | Python | naf2conll/naf2conll/__main__.py | Filter-Bubble/FormatConversions | 91c313d66edba077462740c1403a705aa1f96df4 | [
"Apache-2.0"
] | 3 | 2019-11-21T13:43:37.000Z | 2021-05-12T20:46:49.000Z | naf2conll/naf2conll/__main__.py | Filter-Bubble/FormatConversions | 91c313d66edba077462740c1403a705aa1f96df4 | [
"Apache-2.0"
] | 3 | 2018-05-22T13:07:43.000Z | 2020-03-14T17:31:15.000Z | naf2conll/naf2conll/__main__.py | Filter-Bubble/FormatConversions | 91c313d66edba077462740c1403a705aa1f96df4 | [
"Apache-2.0"
] | 2 | 2020-03-05T15:55:47.000Z | 2021-05-12T20:46:50.000Z | from .main import Main
Main.main()
| 9 | 22 | 0.722222 | 6 | 36 | 4.333333 | 0.5 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 3 | 23 | 12 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
83f54030d300d5175c80417b42d2cd1a74e5099f | 177 | py | Python | Python/packages/databricks-test/tests/library_test.py | anandmrya/DataOps | 1a671c707e27b30030687a2a88e5fa94374ce780 | [
"MIT"
] | 42 | 2019-12-04T04:10:53.000Z | 2022-03-31T13:04:17.000Z | Python/packages/databricks-test/tests/library_test.py | anandmrya/DataOps | 1a671c707e27b30030687a2a88e5fa94374ce780 | [
"MIT"
] | 2 | 2020-02-25T11:24:34.000Z | 2020-03-05T06:12:59.000Z | Python/packages/databricks-test/tests/library_test.py | anandmrya/DataOps | 1a671c707e27b30030687a2a88e5fa94374ce780 | [
"MIT"
] | 18 | 2020-01-25T06:25:08.000Z | 2021-11-16T08:40:09.000Z | import databricks_test
def test_library():
with databricks_test.session() as dbrickstest:
# Run notebook
dbrickstest.run_notebook(".", "library_notebook")
| 22.125 | 57 | 0.706215 | 19 | 177 | 6.315789 | 0.578947 | 0.233333 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19774 | 177 | 7 | 58 | 25.285714 | 0.84507 | 0.067797 | 0 | 0 | 0 | 0 | 0.104294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7c0b8dc42c03443b567c05ec27bebae83f29cd8 | 171 | py | Python | detection.py | devSeungGwan/CSI-Camera | 9fa5b01511153959a30ef7d4ab375dba3897d21f | [
"BSD-3-Clause"
] | null | null | null | detection.py | devSeungGwan/CSI-Camera | 9fa5b01511153959a30ef7d4ab375dba3897d21f | [
"BSD-3-Clause"
] | null | null | null | detection.py | devSeungGwan/CSI-Camera | 9fa5b01511153959a30ef7d4ab375dba3897d21f | [
"BSD-3-Clause"
] | null | null | null | import capture
from face_detection import face_detection
if __name__ == "__main__":
face = face_detection()
cam = capture.cam()
face.detection(cam.capture()) | 21.375 | 41 | 0.719298 | 21 | 171 | 5.333333 | 0.428571 | 0.464286 | 0.285714 | 0.410714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 171 | 8 | 42 | 21.375 | 0.794326 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
792375712560b837a3f3607bd6e18617500b6a9c | 15,528 | py | Python | src/Fig_6_supplement_1_Plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | null | null | null | src/Fig_6_supplement_1_Plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 3 | 2021-12-16T10:15:10.000Z | 2021-12-16T12:54:24.000Z | src/Fig_6_supplement_1_Plotting.py | fmi-basel/gzenke-nonlinear-transient-amplification | f3b0c8c89b42c34f1aad740c7026865cf3164f1d | [
"MIT"
] | 1 | 2021-12-16T10:02:43.000Z | 2021-12-16T10:02:43.000Z | import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from matplotlib import patches
import matplotlib.patches as mpatches
import scipy.io as sio
# plotting configuration
ratio = 1.5
figure_len, figure_width = 15*ratio, 12*ratio
font_size_1, font_size_2 = 36*ratio, 36*ratio
legend_size = 18*ratio
li... | 52.282828 | 192 | 0.677035 | 2,239 | 15,528 | 4.292988 | 0.077713 | 0.070329 | 0.046608 | 0.049521 | 0.840096 | 0.83531 | 0.817728 | 0.81211 | 0.804827 | 0.795256 | 0 | 0.062097 | 0.191074 | 15,528 | 297 | 193 | 52.282828 | 0.703129 | 0.231904 | 0 | 0.341709 | 0 | 0 | 0.345051 | 0.264205 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030151 | 0 | 0.030151 | 0.01005 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f733624b52386015544bec768023286f7efa8a41 | 131 | py | Python | app/repositories/__init__.py | VadymHutei/ukubuka-back | acd56c545b50fb65ed764c19bdd03a42be969ce4 | [
"MIT"
] | null | null | null | app/repositories/__init__.py | VadymHutei/ukubuka-back | acd56c545b50fb65ed764c19bdd03a42be969ce4 | [
"MIT"
] | null | null | null | app/repositories/__init__.py | VadymHutei/ukubuka-back | acd56c545b50fb65ed764c19bdd03a42be969ce4 | [
"MIT"
] | null | null | null | from repositories.category import CategoryRepo
from repositories.product import ProductRepo
from repositories.menu import MenuRepo
| 32.75 | 46 | 0.885496 | 15 | 131 | 7.733333 | 0.6 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 3 | 47 | 43.666667 | 0.97479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f75aef27b08c20cde9e42b88d25434d9c7e5324d | 17,363 | py | Python | tests/test_pascal_style_byte_stream.py | scottcwang/openssh_key_parser | f8ba2b841620abd9166e99176e033111daaf0570 | [
"MIT"
] | 15 | 2020-08-15T02:34:34.000Z | 2022-03-27T05:41:24.000Z | tests/test_pascal_style_byte_stream.py | scottcwang/openssh_key_parser | f8ba2b841620abd9166e99176e033111daaf0570 | [
"MIT"
] | 3 | 2022-01-26T23:38:10.000Z | 2022-01-30T15:41:06.000Z | tests/test_pascal_style_byte_stream.py | scottcwang/openssh_key_parser | f8ba2b841620abd9166e99176e033111daaf0570 | [
"MIT"
] | 1 | 2022-01-27T10:47:26.000Z | 2022-01-27T10:47:26.000Z | import pytest
from openssh_key.pascal_style_byte_stream import (
PascalStyleByteStream,
PascalStyleFormatInstruction,
PascalStyleFormatInstructionStringLengthSize
)
def test_read_fixed_bytes():
test_bytes = b'\x01\x02\x03\x04'
byte_stream = PascalStyleByteStream(test_bytes)
result = byte_stre... | 30.039792 | 75 | 0.666878 | 1,882 | 17,363 | 5.796493 | 0.057386 | 0.094417 | 0.038775 | 0.033 | 0.932899 | 0.893482 | 0.861766 | 0.814098 | 0.772298 | 0.738564 | 0 | 0.036507 | 0.242758 | 17,363 | 577 | 76 | 30.091854 | 0.7932 | 0 | 0 | 0.547009 | 0 | 0 | 0.090595 | 0.005529 | 0 | 0 | 0.001497 | 0 | 0.076923 | 1 | 0.115385 | false | 0 | 0.004274 | 0 | 0.119658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f760aefd9a8a0f0b01d937621f42741411b78ab9 | 77 | py | Python | maxwell_slice/__init__.py | flatironinstitute/maxwell-slice | 5941ca10098070f7df7f44cf662174c598a7521c | [
"Apache-2.0"
] | 1 | 2021-09-23T01:11:18.000Z | 2021-09-23T01:11:18.000Z | maxwell_slice/__init__.py | flatironinstitute/maxwell-slice | 5941ca10098070f7df7f44cf662174c598a7521c | [
"Apache-2.0"
] | 9 | 2021-01-04T18:30:43.000Z | 2021-02-09T19:30:51.000Z | maxwell_slice/__init__.py | flatironinstitute/maxwell-slice | 5941ca10098070f7df7f44cf662174c598a7521c | [
"Apache-2.0"
] | 1 | 2021-09-23T01:11:19.000Z | 2021-09-23T01:11:19.000Z | from .test_function import test_function
from .sphere_scat import sphere_scat | 38.5 | 40 | 0.883117 | 12 | 77 | 5.333333 | 0.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 77 | 2 | 41 | 38.5 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f77baf2322e74066e5dc85abaccf437de525c52f | 108 | py | Python | lasier/adapters/caches/__init__.py | rafa-acioly/lasier | b518f93207ff15ba32b286f466f3ca3cea231b4c | [
"MIT"
] | null | null | null | lasier/adapters/caches/__init__.py | rafa-acioly/lasier | b518f93207ff15ba32b286f466f3ca3cea231b4c | [
"MIT"
] | null | null | null | lasier/adapters/caches/__init__.py | rafa-acioly/lasier | b518f93207ff15ba32b286f466f3ca3cea231b4c | [
"MIT"
] | null | null | null | from .aiocache import Adapter as AiocacheAdapter # noqa
from .redis import Adapter as RedisAdapter # noqa
| 36 | 56 | 0.796296 | 14 | 108 | 6.142857 | 0.642857 | 0.302326 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 108 | 2 | 57 | 54 | 0.955556 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e38cd6662e93ae5781017f3bd4903fd9e54605d6 | 24,003 | py | Python | backend/tests/baserow/api/users/test_user_views.py | LiuJun666888/baserow | bc5b7f8ebe319f90ed1aabdb7f5dfd8916c3dad1 | [
"MIT"
] | null | null | null | backend/tests/baserow/api/users/test_user_views.py | LiuJun666888/baserow | bc5b7f8ebe319f90ed1aabdb7f5dfd8916c3dad1 | [
"MIT"
] | null | null | null | backend/tests/baserow/api/users/test_user_views.py | LiuJun666888/baserow | bc5b7f8ebe319f90ed1aabdb7f5dfd8916c3dad1 | [
"MIT"
] | null | null | null | import os
import pytest
from unittest.mock import patch
from freezegun import freeze_time
from rest_framework.status import (
HTTP_200_OK,
HTTP_201_CREATED,
HTTP_400_BAD_REQUEST,
HTTP_404_NOT_FOUND,
)
from django.contrib.auth import get_user_model
from django.shortcuts import reverse
from django.conf i... | 35.040876 | 87 | 0.641045 | 2,666 | 24,003 | 5.524381 | 0.084771 | 0.084737 | 0.06233 | 0.05296 | 0.803639 | 0.760796 | 0.729155 | 0.711366 | 0.683732 | 0.616852 | 0 | 0.029775 | 0.227638 | 24,003 | 684 | 88 | 35.092105 | 0.764658 | 0.004166 | 0 | 0.565506 | 0 | 0 | 0.252939 | 0.08741 | 0 | 0 | 0 | 0 | 0.227197 | 1 | 0.016584 | false | 0.162521 | 0.021559 | 0.001658 | 0.043118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e3a1f3f45077d112795da5ac34b5f3557d6232aa | 45 | py | Python | test.py | RusherRG/Hack-it | 3a14bf4a1dc129d567fa9bc56d77b4f96a0d4b8c | [
"MIT"
] | 1 | 2021-04-09T06:45:05.000Z | 2021-04-09T06:45:05.000Z | test.py | RusherRG/Hack-it | 3a14bf4a1dc129d567fa9bc56d77b4f96a0d4b8c | [
"MIT"
] | null | null | null | test.py | RusherRG/Hack-it | 3a14bf4a1dc129d567fa9bc56d77b4f96a0d4b8c | [
"MIT"
] | null | null | null | print(add(5, 3))
def add(x, y):
return x+y
| 9 | 16 | 0.577778 | 11 | 45 | 2.363636 | 0.727273 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.2 | 45 | 4 | 17 | 11.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
54191d23ae6c2f8e839496e36509dee873489bcc | 5,083 | py | Python | tests/server/extensions/test_loqusdb_extension_init.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | null | null | null | tests/server/extensions/test_loqusdb_extension_init.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | null | null | null | tests/server/extensions/test_loqusdb_extension_init.py | gmc-norr/scout | ea8eaaa079c63e4033af6216ec08da4a314f9b5c | [
"BSD-3-Clause"
] | null | null | null | """Tests for loqusdb extension"""
import subprocess
import pytest
from flask import Flask
from scout.server.extensions.loqus_extension import LoqusDB
def test_init_loqusextension(loqus_exe):
"""Test a init a loqus extension object"""
# GIVEN a loqusdb binary
# WHEN initialising a loqusdb extension
l... | 39.1 | 88 | 0.70962 | 701 | 5,083 | 4.917261 | 0.088445 | 0.074267 | 0.085292 | 0.073977 | 0.86597 | 0.844502 | 0.817813 | 0.803597 | 0.789962 | 0.776617 | 0 | 0.001519 | 0.223097 | 5,083 | 129 | 89 | 39.403101 | 0.87136 | 0.339957 | 0 | 0.535211 | 0 | 0 | 0.054557 | 0 | 0 | 0 | 0 | 0 | 0.295775 | 1 | 0.098592 | false | 0 | 0.056338 | 0 | 0.15493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5868699cc6110ca103ca272a66e68d03e48fa922 | 954 | py | Python | pycurlutil.py | MattLud/FacebookFilterTracker | 3e28d1401b18b2296a96c2e970958f5c75629a14 | [
"Apache-2.0"
] | 3 | 2017-12-04T19:39:59.000Z | 2019-01-10T06:36:37.000Z | pycurlutil.py | MattLud/FacebookFilterTracker | 3e28d1401b18b2296a96c2e970958f5c75629a14 | [
"Apache-2.0"
] | null | null | null | pycurlutil.py | MattLud/FacebookFilterTracker | 3e28d1401b18b2296a96c2e970958f5c75629a14 | [
"Apache-2.0"
] | null | null | null | import pycurl
import urllib.parse
from collections import defaultdict
from io import BytesIO
import json
def pycurlgetURL(url):
buffer = BytesIO()
c = pycurl.Curl()
c.setopt(c.URL, url)
c.setopt(c.WRITEDATA, buffer)
c.perform()
c.close()
body = buffer.getvalue()
return json.loads(body.d... | 25.105263 | 48 | 0.648847 | 132 | 954 | 4.689394 | 0.257576 | 0.07916 | 0.090469 | 0.096931 | 0.778675 | 0.739903 | 0.739903 | 0.739903 | 0.704362 | 0.704362 | 0 | 0.019685 | 0.201258 | 954 | 38 | 49 | 25.105263 | 0.792651 | 0 | 0 | 0.714286 | 0 | 0 | 0.032461 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0 | 0.142857 | 0 | 0.314286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54536adc105da17f7b301e5af756ef81eb01d793 | 72 | py | Python | futures_then/__init__.py | dvdotsenko/python-future-then | 77cfd26bde5cc367226e57eed75853afb85277a7 | [
"MIT"
] | 19 | 2016-02-10T07:09:11.000Z | 2020-12-10T18:20:07.000Z | futures_then/__init__.py | dvdotsenko/python-future-then | 77cfd26bde5cc367226e57eed75853afb85277a7 | [
"MIT"
] | 1 | 2020-04-05T08:44:47.000Z | 2020-04-05T08:44:47.000Z | futures_then/__init__.py | dvdotsenko/python-future-then | 77cfd26bde5cc367226e57eed75853afb85277a7 | [
"MIT"
] | 1 | 2018-07-25T20:35:40.000Z | 2018-07-25T20:35:40.000Z | from .futures_then import ThenableFuture, CircularFuturesChainException
| 36 | 71 | 0.902778 | 6 | 72 | 10.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 72 | 1 | 72 | 72 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
545e03f12e75de2482a261f3b9e881782b8f0ab7 | 20 | py | Python | tests/assets/dependenciespackage/dependenciespackage/subpackage/.hidden/hidden.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 63 | 2018-06-21T10:39:54.000Z | 2021-06-04T14:28:44.000Z | tests/assets/dependenciespackage/dependenciespackage/subpackage/.hidden/hidden.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 86 | 2018-06-20T13:30:30.000Z | 2019-06-04T12:47:28.000Z | tests/assets/dependenciespackage/dependenciespackage/subpackage/.hidden/hidden.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 4 | 2018-08-14T08:49:55.000Z | 2019-02-16T09:24:47.000Z | from . import three
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5471f45dc1bc4eb25dd3bcbc1cbaf956490b5e4e | 144 | py | Python | PythonBackend/calc_model/__init__.py | goo-goo-goo-joob/CreditRisks | c874941f3787a0c73063883a019a61672e7bef2f | [
"Apache-2.0"
] | 1 | 2020-09-19T12:32:45.000Z | 2020-09-19T12:32:45.000Z | PythonBackend/calc_model/__init__.py | goo-goo-goo-joob/CreditRisks | c874941f3787a0c73063883a019a61672e7bef2f | [
"Apache-2.0"
] | null | null | null | PythonBackend/calc_model/__init__.py | goo-goo-goo-joob/CreditRisks | c874941f3787a0c73063883a019a61672e7bef2f | [
"Apache-2.0"
] | null | null | null | from .abstract_model import AbstractModel
from .bank_model import BankModel
from .cb_model import CatBoostModel
from .sgd_model import SGDModel
| 28.8 | 41 | 0.861111 | 20 | 144 | 6 | 0.55 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 144 | 4 | 42 | 36 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
54ba823e4ecb19a5d30399f968df953816f1fb53 | 35 | tac | Python | src/main/resources/examples2/taf-A5-2.tac | saeidrastak/IWXXMConverter | f2c881ce1ec0269791148bd3ed8de3de01ba31dd | [
"BSD-3-Clause"
] | 5 | 2016-10-26T06:40:29.000Z | 2021-06-22T19:21:25.000Z | src/main/resources/examples2/taf-A5-2.tac | saeidrastak/IWXXMConverter | f2c881ce1ec0269791148bd3ed8de3de01ba31dd | [
"BSD-3-Clause"
] | null | null | null | src/main/resources/examples2/taf-A5-2.tac | saeidrastak/IWXXMConverter | f2c881ce1ec0269791148bd3ed8de3de01ba31dd | [
"BSD-3-Clause"
] | 1 | 2020-09-03T14:06:00.000Z | 2020-09-03T14:06:00.000Z | TAF AMD YUDO 161500Z 1606/1624 CNL
| 17.5 | 34 | 0.8 | 7 | 35 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.482759 | 0.171429 | 35 | 1 | 35 | 35 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
54c511eaced277fb6dfde11e6a06e59b79926c6c | 489 | py | Python | Python_Img_Humor/src/data/__init__.py | limorigu/ComplexCauses | e047bea494329e4c4ca0f124c1a44daf900055df | [
"CC0-1.0"
] | 4 | 2021-06-11T15:03:05.000Z | 2022-03-28T10:41:11.000Z | Python_Img_Humor/src/data/__init__.py | limorigu/ComplexCauses | e047bea494329e4c4ca0f124c1a44daf900055df | [
"CC0-1.0"
] | null | null | null | Python_Img_Humor/src/data/__init__.py | limorigu/ComplexCauses | e047bea494329e4c4ca0f124c1a44daf900055df | [
"CC0-1.0"
] | null | null | null | from data.PertImgSim import get_img_sim_loaders_by_cov, \
ImgSimPert_data_by_cov, get_full_vector_img_sim
from data.Humicroedit import get_humicroedit_loaders_by_cov, \
Humicroedit_data_by_cov, get_full_vector_humicroedit
from data.data_utils import DataIter
__all__ = ['get_img_sim_loaders_by_cov', 'ImgSimPert... | 44.454545 | 93 | 0.813906 | 72 | 489 | 4.847222 | 0.236111 | 0.114613 | 0.137536 | 0.137536 | 0.739255 | 0.739255 | 0.739255 | 0.739255 | 0.739255 | 0.739255 | 0 | 0 | 0.120654 | 489 | 10 | 94 | 48.9 | 0.811628 | 0 | 0 | 0 | 0 | 0 | 0.32582 | 0.309426 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
54c8235fb8a45ea16b9962c644b5fa38adb247b9 | 104 | py | Python | tdsbconnects/__init__.py | tylertian123/pytdsbconnects | b5f820e125c37150c3f6700fdf0a0d5998f71c52 | [
"MIT"
] | 3 | 2020-09-17T21:57:25.000Z | 2020-11-30T06:19:45.000Z | tdsbconnects/__init__.py | tylertian123/pytdsbconnects | b5f820e125c37150c3f6700fdf0a0d5998f71c52 | [
"MIT"
] | null | null | null | tdsbconnects/__init__.py | tylertian123/pytdsbconnects | b5f820e125c37150c3f6700fdf0a0d5998f71c52 | [
"MIT"
] | null | null | null | from .tdsbconnects import *
from .objects import *
from .util import *
from .version import __version__
| 20.8 | 32 | 0.778846 | 13 | 104 | 5.923077 | 0.461538 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 4 | 33 | 26 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
49dcb55e57c100f835cd8b5bbdba1b91dbf69186 | 18,654 | py | Python | fonts/vector/symbol.py | szczys/st7789_mpy | bc854ec453d7644ce1773f7ed4d41504f37d376b | [
"MIT"
] | 153 | 2020-02-02T11:03:14.000Z | 2022-03-30T05:47:07.000Z | fonts/vector/symbol.py | skylin008/st7789_mpy | f304991fc5558be653df5f0de928494b85cbc60d | [
"MIT"
] | 58 | 2020-04-11T23:23:02.000Z | 2022-03-26T20:45:23.000Z | fonts/vector/symbol.py | skylin008/st7789_mpy | f304991fc5558be653df5f0de928494b85cbc60d | [
"MIT"
] | 50 | 2020-02-02T11:05:23.000Z | 2022-03-22T15:24:42.000Z | WIDTH = 87
HEIGHT = 87
FIRST = 0x20
LAST = 0x7f
_font =\
b'\x00\x4a\x5a\x02\x44\x60\x44\x52\x60\x52\x02\x44\x60\x44\x60'\
b'\x60\x44\x02\x52\x52\x52\x3e\x52\x66\x02\x44\x60\x44\x44\x60'\
b'\x60\x02\x44\x60\x44\x52\x60\x52\x02\x46\x5e\x46\x59\x5e\x4b'\
b'\x02\x4b\x59\x4b\x5e\x59\x46\x02\x52\x52\x52\x44\x52\x60\x02'\
b'... | 62.597315 | 64 | 0.707462 | 4,578 | 18,654 | 2.881826 | 0.03495 | 0.08459 | 0.04366 | 0.013644 | 0.238308 | 0.174259 | 0.14394 | 0.102554 | 0.0689 | 0.05321 | 0 | 0.38805 | 0.016672 | 18,654 | 297 | 65 | 62.808081 | 0.331189 | 0 | 0 | 0 | 0 | 0.969388 | 0.916908 | 0.91605 | 0 | 1 | 0.000429 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49e790b5c991b0fbfc57fdccf92057294e4f2557 | 9,324 | py | Python | tests/unit/test_dataset.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_dataset.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | 4 | 2022-02-16T20:53:24.000Z | 2022-02-16T21:39:26.000Z | tests/unit/test_dataset.py | victorbadenas/frarch | e75e2a63aaf14cf797ffffc901ca382b3d88b7b0 | [
"Apache-2.0"
] | 1 | 2022-03-20T23:47:16.000Z | 2022-03-20T23:47:16.000Z | import shutil
import unittest
from pathlib import Path
import torch
from frarch import datasets
from frarch.utils.exceptions import DatasetNotFoundError
DATA_FOLDER = Path(__file__).resolve().parent.parent / "data"
class TestCaltech101(unittest.TestCase):
MOCK_DATASET_ROOT = DATA_FOLDER / "caltech101"
trai... | 42 | 85 | 0.695839 | 1,117 | 9,324 | 5.569382 | 0.101164 | 0.077801 | 0.106092 | 0.054975 | 0.871403 | 0.833628 | 0.804372 | 0.784601 | 0.776242 | 0.716605 | 0 | 0.016895 | 0.193801 | 9,324 | 221 | 86 | 42.190045 | 0.810696 | 0 | 0 | 0.63388 | 0 | 0 | 0.037859 | 0.00236 | 0 | 0 | 0 | 0 | 0.36612 | 1 | 0.136612 | false | 0 | 0.032787 | 0 | 0.26776 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b721245ec6635464eec11f01500c633ddbfbbed4 | 21 | py | Python | mva/__init__.py | garovent/mva | 47ec8690003bbabbbdb59eb6ed8f7e02b0019fe5 | [
"Apache-2.0"
] | 1 | 2022-02-02T15:30:19.000Z | 2022-02-02T15:30:19.000Z | mva/__init__.py | garovent/mva | 47ec8690003bbabbbdb59eb6ed8f7e02b0019fe5 | [
"Apache-2.0"
] | null | null | null | mva/__init__.py | garovent/mva | 47ec8690003bbabbbdb59eb6ed8f7e02b0019fe5 | [
"Apache-2.0"
] | null | null | null | from .mva import mva
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b741cda8ba7c53c12f6d0359562d0130f04c95e0 | 24 | py | Python | learning/__init__.py | BarryZM/KnowYouAI | 8c9d96238090fa8fd70b8581ac536bb1b0691eb5 | [
"MIT"
] | null | null | null | learning/__init__.py | BarryZM/KnowYouAI | 8c9d96238090fa8fd70b8581ac536bb1b0691eb5 | [
"MIT"
] | null | null | null | learning/__init__.py | BarryZM/KnowYouAI | 8c9d96238090fa8fd70b8581ac536bb1b0691eb5 | [
"MIT"
] | 1 | 2020-12-31T11:13:30.000Z | 2020-12-31T11:13:30.000Z | from .learn import Learn | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f96e12f2cc3c9d04813e8a782b2e456aead8bec | 26,280 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/xconnect.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/xconnect.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | pkgs/conf-pkg/src/genie/libs/conf/l2vpn/iosxr/xconnect.py | kecorbin/genielibs | 5d3951b8911013691822e73e9c3d0f557ca10f43 | [
"Apache-2.0"
] | null | null | null | # Xconnect
# DeviceAttributes (device_attr)
# AutodiscoveryBgpAttributes (autodiscovery_bgp)
# parent = xconnect.autodiscovery_bgp
# SignalingProtocolBgpAttributes (signaling_protocol_bgp)
# parent = xconnect.autodiscovery_bgp.signaling_protocol_bgp
# CeAttributes (ce_attr)
# ... | 73 | 187 | 0.596423 | 2,795 | 26,280 | 5.550268 | 0.067979 | 0.063173 | 0.112551 | 0.143815 | 0.819893 | 0.783988 | 0.773158 | 0.718752 | 0.701089 | 0.686328 | 0 | 0.048113 | 0.329338 | 26,280 | 359 | 188 | 73.203343 | 0.832057 | 0.445586 | 0 | 0.497207 | 0 | 0 | 0.056793 | 0.001522 | 0 | 0 | 0 | 0 | 0.106145 | 1 | 0.067039 | false | 0 | 0.072626 | 0.03352 | 0.24581 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7655e9020c51877720b2ef28f7e85689f4d201e | 70,663 | py | Python | pyne/tests/test_source_sampling.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T20:01:13.000Z | 2022-03-26T20:01:13.000Z | pyne/tests/test_source_sampling.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | null | null | null | pyne/tests/test_source_sampling.py | AllSafeCyberSecur1ty/Nuclear-Engineering | 302d6dcc7c0a85a9191098366b076cf9cb5a9f6e | [
"MIT"
] | 1 | 2022-03-26T19:59:13.000Z | 2022-03-26T19:59:13.000Z | import os
import warnings
import itertools
from operator import itemgetter
from nose.tools import assert_equal, with_setup, assert_almost_equal, assert_raises
from random import uniform, seed
import numpy as np
from numpy.testing import assert_array_equal, assert_array_almost_equal
try:
from pyne.mesh import Mes... | 34.878085 | 88 | 0.562175 | 10,701 | 70,663 | 3.511261 | 0.044295 | 0.012349 | 0.006707 | 0.005962 | 0.809656 | 0.764545 | 0.740698 | 0.719008 | 0.70099 | 0.68739 | 0 | 0.054172 | 0.309809 | 70,663 | 2,025 | 89 | 34.895309 | 0.716245 | 0.225479 | 0 | 0.693125 | 0 | 0 | 0.068881 | 0 | 0 | 0 | 0 | 0 | 0.062367 | 1 | 0.021262 | false | 0 | 0.012048 | 0.000709 | 0.041106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7740fd874d120412af39807149d22c7247f7d97 | 203 | py | Python | listenclosely/admin.py | jlmadurga/listenclosely | d6df9110c3ed6fd337e0236cccbe4d931bf217b0 | [
"BSD-3-Clause"
] | 7 | 2016-01-25T15:15:54.000Z | 2018-02-17T18:48:54.000Z | listenclosely/admin.py | jlmadurga/listenclosely | d6df9110c3ed6fd337e0236cccbe4d931bf217b0 | [
"BSD-3-Clause"
] | 3 | 2016-03-11T13:22:17.000Z | 2017-10-18T13:28:39.000Z | listenclosely/admin.py | jlmadurga/listenclosely | d6df9110c3ed6fd337e0236cccbe4d931bf217b0 | [
"BSD-3-Clause"
] | 3 | 2016-12-08T17:12:35.000Z | 2018-01-06T22:57:40.000Z | from django.contrib import admin
from listenclosely.models import Message, Chat, Agent, Asker
admin.site.register(Message)
admin.site.register(Chat)
admin.site.register(Agent)
admin.site.register(Asker) | 29 | 60 | 0.82266 | 29 | 203 | 5.758621 | 0.448276 | 0.215569 | 0.407186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073892 | 203 | 7 | 61 | 29 | 0.888298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b78e3ed4e1108d302f6489c9f446a92723551a2b | 60 | py | Python | src/bfg/modules/__init__.py | rvrsh3ll/bl-bfg | 655ada530b32d9843c36dbecef9ec682154c005a | [
"MIT"
] | 6 | 2022-02-16T18:37:59.000Z | 2022-03-03T20:47:55.000Z | src/bfg/modules/__init__.py | rvrsh3ll/bl-bfg | 655ada530b32d9843c36dbecef9ec682154c005a | [
"MIT"
] | null | null | null | src/bfg/modules/__init__.py | rvrsh3ll/bl-bfg | 655ada530b32d9843c36dbecef9ec682154c005a | [
"MIT"
] | 4 | 2022-02-16T16:50:09.000Z | 2022-03-13T06:02:24.000Z | from . import http
from . import testing
#from . import smb
| 15 | 21 | 0.733333 | 9 | 60 | 4.888889 | 0.555556 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 22 | 20 | 0.916667 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b799a1394ad3a9c8dcd7ba1ef29c64e032cfcb44 | 156 | py | Python | libs/msv/python/__init__.py | ITBE-Lab/ma | 039e2833dd2e50df9285f183ff774bd87bbae710 | [
"MIT"
] | 40 | 2019-04-28T21:16:45.000Z | 2022-02-05T05:54:47.000Z | libs/msv/python/__init__.py | ITBE-Lab/ma | 039e2833dd2e50df9285f183ff774bd87bbae710 | [
"MIT"
] | 11 | 2019-04-28T22:29:12.000Z | 2022-02-21T14:07:10.000Z | libs/msv/python/__init__.py | ITBE-Lab/ma | 039e2833dd2e50df9285f183ff774bd87bbae710 | [
"MIT"
] | 2 | 2019-05-06T15:29:23.000Z | 2021-01-08T13:22:17.000Z | from ._lib_init import *
import MA
from .computeSvJumps import *
from .insertReads import *
from .sweepSvJumps import *
from .computeAccuracyRecall import * | 26 | 36 | 0.801282 | 18 | 156 | 6.833333 | 0.5 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 156 | 6 | 36 | 26 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7da0c96eaf29183828e76a76466c5735b4b4ed4 | 64 | py | Python | tests/unit/models/utils/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | tests/unit/models/utils/__init__.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | tests/unit/models/utils/__init__.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from .validator import * # noqa
from .checker import * # noqa
| 21.333333 | 32 | 0.6875 | 8 | 64 | 5.5 | 0.625 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 64 | 2 | 33 | 32 | 0.88 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d227ceaa09cfe9a4cbddaf4582c5b255dcef07c | 209 | py | Python | experiment/AIClient.py | adhocmaster/pyns | 607feb56baf0900535130195163eac331e131a2e | [
"MIT"
] | 1 | 2021-06-15T06:21:14.000Z | 2021-06-15T06:21:14.000Z | event/AIClient.py | adhocmaster/pyns | 607feb56baf0900535130195163eac331e131a2e | [
"MIT"
] | null | null | null | event/AIClient.py | adhocmaster/pyns | 607feb56baf0900535130195163eac331e131a2e | [
"MIT"
] | 1 | 2021-06-15T06:21:18.000Z | 2021-06-15T06:21:18.000Z | from core.TCPClient import TCPClient
from event.PacketEvent import PacketEvent
from event.EventTypes import EventTypes
from core.SenderType import SenderType
import logging
class AIClient(TCPClient):
pass | 26.125 | 41 | 0.84689 | 26 | 209 | 6.807692 | 0.461538 | 0.090395 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119617 | 209 | 8 | 42 | 26.125 | 0.961957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4d67af64d56116da62993595b723329bee185928 | 42 | py | Python | tensordata/paper/WACV/__init__.py | Hourout/tensordata | cbef6742ee0d3bfc4b886358fc01618bb5b63603 | [
"Apache-2.0"
] | 13 | 2019-01-08T10:22:39.000Z | 2020-06-17T10:02:47.000Z | tensordata/paper/WACV/__init__.py | Hourout/tensordata | cbef6742ee0d3bfc4b886358fc01618bb5b63603 | [
"Apache-2.0"
] | null | null | null | tensordata/paper/WACV/__init__.py | Hourout/tensordata | cbef6742ee0d3bfc4b886358fc01618bb5b63603 | [
"Apache-2.0"
] | 1 | 2020-06-17T10:02:49.000Z | 2020-06-17T10:02:49.000Z | from tensordata.paper.WACV._wacv import *
| 21 | 41 | 0.809524 | 6 | 42 | 5.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
128d94f18e49792a9cc0f0c06d86c9887c857967 | 34 | py | Python | python/oops.py | Floozutter/silly | 8273b4a33e2001c0a530e859c12dbc30b9590a94 | [
"Unlicense"
] | null | null | null | python/oops.py | Floozutter/silly | 8273b4a33e2001c0a530e859c12dbc30b9590a94 | [
"Unlicense"
] | null | null | null | python/oops.py | Floozutter/silly | 8273b4a33e2001c0a530e859c12dbc30b9590a94 | [
"Unlicense"
] | null | null | null | """
oops
"""
print(0, 1 == 1, 0)
| 5.666667 | 19 | 0.382353 | 6 | 34 | 2.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0.264706 | 34 | 5 | 20 | 6.8 | 0.36 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
12fc9abbbe6f805ac58294346c4e0f32cf3a77fb | 204 | py | Python | support/admin.py | gurupratap-matharu/django-tickets-app | 8200af606e382f8806511c318961589f34375cdf | [
"MIT"
] | 1 | 2020-10-16T16:37:04.000Z | 2020-10-16T16:37:04.000Z | support/admin.py | gurupratap-matharu/django-tickets-app | 8200af606e382f8806511c318961589f34375cdf | [
"MIT"
] | null | null | null | support/admin.py | gurupratap-matharu/django-tickets-app | 8200af606e382f8806511c318961589f34375cdf | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Holiday, Vendor, Category, Ticket
admin.site.register(Holiday)
admin.site.register(Vendor)
admin.site.register(Category)
admin.site.register(Ticket)
| 22.666667 | 53 | 0.813725 | 28 | 204 | 5.928571 | 0.428571 | 0.216867 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 204 | 8 | 54 | 25.5 | 0.887701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4236ceac66256b2c5cf2bcd12bce120d53a13c2a | 4,782 | py | Python | ifx_db/tests/test_159_FetchAssocSeveralRows_01.py | ifxdb/PythonIfxDB | a9c64e8ade1329b7102f0bf356c0e4b6d230ca95 | [
"Apache-2.0"
] | 3 | 2017-05-01T10:22:27.000Z | 2021-12-29T11:02:34.000Z | ifx_db/tests/test_159_FetchAssocSeveralRows_01.py | ifxdb/PythonIfxDB | a9c64e8ade1329b7102f0bf356c0e4b6d230ca95 | [
"Apache-2.0"
] | 1 | 2020-01-07T12:56:26.000Z | 2020-01-07T12:56:26.000Z | ifx_db/tests/test_159_FetchAssocSeveralRows_01.py | ifxdb/PythonIfxDB | a9c64e8ade1329b7102f0bf356c0e4b6d230ca95 | [
"Apache-2.0"
] | 3 | 2017-05-10T16:03:25.000Z | 2018-03-19T14:59:41.000Z | #
# Licensed Materials - Property of IBM
#
# (c) Copyright IBM Corp. 2007-2008
#
import unittest, sys
import ifx_db
import config
from testfunctions import IfxDbTestFunctions
class IfxDbTestCase(unittest.TestCase):
def test_159_FetchAssocSeveralRows_01(self):
obj = IfxDbTestFunctions()
obj.assert_expect... | 26.566667 | 71 | 0.508783 | 563 | 4,782 | 4.234458 | 0.257549 | 0.018876 | 0.026846 | 0.031879 | 0.778523 | 0.766779 | 0.766779 | 0.766779 | 0.744966 | 0.744966 | 0 | 0.102925 | 0.435174 | 4,782 | 179 | 72 | 26.715084 | 0.779711 | 0.773317 | 0 | 0.095238 | 0 | 0 | 0.052688 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0 | null | null | 0.047619 | 0.190476 | null | null | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
423966a1f3ad6f82b1548613963497a3a9697e4e | 6,263 | py | Python | sdk/python/pulumi_aws/directoryservice/_inputs.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/directoryservice/_inputs.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/directoryservice/_inputs.py | mdop-wh/pulumi-aws | 05bb32e9d694dde1c3b76d440fd2cd0344d23376 | [
"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 ... | 39.14375 | 153 | 0.660706 | 790 | 6,263 | 5.046835 | 0.127848 | 0.16002 | 0.119388 | 0.115877 | 0.839227 | 0.755204 | 0.745924 | 0.683471 | 0.637321 | 0.637321 | 0 | 0.001837 | 0.217627 | 6,263 | 159 | 154 | 39.389937 | 0.811837 | 0.22114 | 0 | 0.616162 | 1 | 0 | 0.105923 | 0.011241 | 0 | 0 | 0 | 0 | 0 | 1 | 0.20202 | false | 0 | 0.050505 | 0.020202 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
424f648d196dac7e2486685ff9c4e899613672c5 | 108,792 | py | Python | tests/samsung_multiroom/api/test_api.py | kusma/samsung_multiroom | 09ca86d27b87a4aa0c97ec2accbd4ec67dd0cc61 | [
"MIT"
] | 6 | 2019-04-05T19:10:39.000Z | 2021-11-23T17:26:49.000Z | tests/samsung_multiroom/api/test_api.py | kusma/samsung_multiroom | 09ca86d27b87a4aa0c97ec2accbd4ec67dd0cc61 | [
"MIT"
] | 3 | 2020-09-25T06:58:00.000Z | 2021-12-13T19:57:50.000Z | tests/samsung_multiroom/api/test_api.py | kusma/samsung_multiroom | 09ca86d27b87a4aa0c97ec2accbd4ec67dd0cc61 | [
"MIT"
] | 4 | 2019-04-05T18:58:11.000Z | 2021-07-22T19:54:56.000Z | import re
import unittest
from unittest.mock import MagicMock
import httpretty
import requests
import xmltodict
from samsung_multiroom.api import COMMAND_CPM
from samsung_multiroom.api import COMMAND_UIC
from samsung_multiroom.api import METHOD_GET
from samsung_multiroom.api import SamsungMultiroomApi
from samsung_mu... | 46.294468 | 1,259 | 0.489282 | 10,580 | 108,792 | 4.930624 | 0.081474 | 0.011655 | 0.020128 | 0.025496 | 0.79316 | 0.758923 | 0.726834 | 0.701185 | 0.687919 | 0.630391 | 0 | 0.115516 | 0.377905 | 108,792 | 2,349 | 1,260 | 46.314176 | 0.65527 | 0 | 0 | 0.652275 | 0 | 0.038533 | 0.743636 | 0.166526 | 0 | 0 | 0.000186 | 0 | 0.029712 | 1 | 0.032962 | false | 0.000929 | 0.006035 | 0.000464 | 0.039926 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4252a73ac5bfc9f57f305e588d8bf00c7b953753 | 68 | py | Python | lib/__init__.py | harshareddy794/web-scanner | c71157991810d1288029705a3dfec17fcb869230 | [
"Apache-2.0"
] | null | null | null | lib/__init__.py | harshareddy794/web-scanner | c71157991810d1288029705a3dfec17fcb869230 | [
"Apache-2.0"
] | null | null | null | lib/__init__.py | harshareddy794/web-scanner | c71157991810d1288029705a3dfec17fcb869230 | [
"Apache-2.0"
] | null | null | null | from lib.port_scanner import scanner
from lib.spyder import crawler | 34 | 37 | 0.852941 | 11 | 68 | 5.181818 | 0.636364 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 38 | 34 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4253eabb486b805e15d3e45d643290e0bbeba860 | 57 | py | Python | tests/test_import.py | DocLM/pynonymizer | 1ab2b6323a2b7324fef3a4224231329936a2356f | [
"MIT"
] | 40 | 2020-10-19T14:08:05.000Z | 2021-11-19T10:44:52.000Z | tests/test_import.py | DocLM/pynonymizer | 1ab2b6323a2b7324fef3a4224231329936a2356f | [
"MIT"
] | 51 | 2020-09-21T19:59:03.000Z | 2021-11-12T09:19:00.000Z | tests/test_import.py | DocLM/pynonymizer | 1ab2b6323a2b7324fef3a4224231329936a2356f | [
"MIT"
] | 19 | 2020-10-20T13:18:41.000Z | 2021-11-11T13:22:00.000Z | def test_main_imports():
from pynonymizer import run
| 19 | 31 | 0.77193 | 8 | 57 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 57 | 2 | 32 | 28.5 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 1 | 0 | 1.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c40f6dd663fc398171fee772ad854c042a3bc538 | 3,490 | py | Python | asyncapi_schema_pydantic/v2_3_0/web_sockets_bindings.py | albertnadal/asyncapi-schema-pydantic | 83966bdc11f2d465a10b52cec5ff79d18fa6f5fe | [
"MIT"
] | null | null | null | asyncapi_schema_pydantic/v2_3_0/web_sockets_bindings.py | albertnadal/asyncapi-schema-pydantic | 83966bdc11f2d465a10b52cec5ff79d18fa6f5fe | [
"MIT"
] | null | null | null | asyncapi_schema_pydantic/v2_3_0/web_sockets_bindings.py | albertnadal/asyncapi-schema-pydantic | 83966bdc11f2d465a10b52cec5ff79d18fa6f5fe | [
"MIT"
] | null | null | null | from typing import Optional
from enum import Enum
from pydantic import BaseModel, Extra
from .schema import Schema
class WebSocketsMethod(str, Enum):
get = 'GET'
post = 'POST'
class WebSocketsChannelBinding(BaseModel):
"""
When using WebSockets, the channel represents the connection. Unlike other
... | 29.576271 | 88 | 0.705731 | 442 | 3,490 | 5.572398 | 0.246606 | 0.019488 | 0.014616 | 0.034105 | 0.88916 | 0.880227 | 0.880227 | 0.880227 | 0.880227 | 0.880227 | 0 | 0 | 0.231519 | 3,490 | 117 | 89 | 29.82906 | 0.918345 | 0.372206 | 0 | 0.642857 | 0 | 0 | 0.007028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c41e02d072565bccfb2d540639fe976b16426bd2 | 3,248 | py | Python | validation.py | RoRyou/lost_ | c0fd3be6808edb126974f606285e15332849f8be | [
"Apache-2.0"
] | null | null | null | validation.py | RoRyou/lost_ | c0fd3be6808edb126974f606285e15332849f8be | [
"Apache-2.0"
] | null | null | null | validation.py | RoRyou/lost_ | c0fd3be6808edb126974f606285e15332849f8be | [
"Apache-2.0"
] | null | null | null | import pandas as pd
df5 = pd.read_csv('D:/data/final_data_5.csv')
df6 = pd.read_csv('D:/data/final_data_6.csv')
df7 = pd.read_csv('D:/data/final_data_7.csv')
df8 = pd.read_csv('D:/data/final_data_8.csv')
df9 = pd.read_csv('D:/data/final_data_9.csv')
df10 = pd.read_csv('D:/data/final_data_10.csv')
dict = ... | 39.13253 | 274 | 0.506773 | 425 | 3,248 | 3.809412 | 0.157647 | 0.080296 | 0.088944 | 0.080296 | 0.885732 | 0.885732 | 0.885732 | 0.793082 | 0.793082 | 0.761581 | 0 | 0.036919 | 0.224446 | 3,248 | 83 | 275 | 39.13253 | 0.605796 | 0.536946 | 0 | 0.53125 | 0 | 0 | 0.296592 | 0.105149 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.3125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c48168f80c7427a7a5d9e3479c339e3caba1294b | 56,840 | py | Python | nipy/algorithms/statistics/models/tests/test_olsR.py | bpinsard/nipy | d49e8292adad6619e3dac710752131b567efe90e | [
"BSD-3-Clause"
] | 236 | 2015-01-09T21:28:37.000Z | 2022-03-27T11:51:58.000Z | nipy/algorithms/statistics/models/tests/test_olsR.py | bpinsard/nipy | d49e8292adad6619e3dac710752131b567efe90e | [
"BSD-3-Clause"
] | 171 | 2015-03-23T00:31:43.000Z | 2021-11-22T12:43:00.000Z | nipy/algorithms/statistics/models/tests/test_olsR.py | bpinsard/nipy | d49e8292adad6619e3dac710752131b567efe90e | [
"BSD-3-Clause"
] | 94 | 2015-02-01T12:39:47.000Z | 2022-01-27T06:38:19.000Z | from __future__ import absolute_import
import numpy as np
from ..regression import OLSModel
import nipy.testing as niptest
import scipy.stats
from .exampledata import x, y
Rscript = '''
d = read.table('data.csv', header=T, sep=' ')
y.lm = lm(Y ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 + X10 + X11 + X12 + X13 + X... | 146.118252 | 382 | 0.822572 | 7,339 | 56,840 | 6.362583 | 0.250307 | 0.185737 | 0.135218 | 0.068359 | 0.277546 | 0.177728 | 0.16762 | 0.15128 | 0.094678 | 0.092066 | 0 | 0.788127 | 0.075387 | 56,840 | 388 | 383 | 146.494845 | 0.100371 | 0.010521 | 0 | 0.00939 | 0 | 0.605634 | 0.944886 | 0.893743 | 0 | 0 | 0 | 0 | 0.140845 | 1 | 0.004695 | false | 0 | 0.028169 | 0 | 0.032864 | 0.028169 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
670069006b45cb268edbcf498510bbda5164ad6d | 6,628 | py | Python | climpred/tests/test_alignment.py | raybellwaves/climpred | 4ce5e3d30dbaa98fb974b54d82a5403c424a79db | [
"MIT"
] | 104 | 2020-09-17T16:46:37.000Z | 2022-03-29T16:49:44.000Z | climpred/tests/test_alignment.py | raybellwaves/climpred | 4ce5e3d30dbaa98fb974b54d82a5403c424a79db | [
"MIT"
] | 303 | 2020-09-17T16:05:24.000Z | 2022-03-28T19:59:31.000Z | climpred/tests/test_alignment.py | kpegion/climpred | b3562311af253b9ee0e0cd97d196b0fd34936031 | [
"MIT"
] | 18 | 2020-10-08T15:40:42.000Z | 2022-03-29T19:07:54.000Z | import logging
import numpy as np
import pytest
import xskillscore as xs
from climpred.exceptions import CoordinateError
from climpred.prediction import compute_hindcast
def test_same_inits_initializations(
hind_ds_initialized_1d_cftime, reconstruction_ds_1d_cftime, caplog
):
"""Tests that inits are identic... | 37.027933 | 88 | 0.638956 | 854 | 6,628 | 4.716628 | 0.163934 | 0.063555 | 0.075968 | 0.084906 | 0.81281 | 0.802383 | 0.789225 | 0.756455 | 0.73858 | 0.726415 | 0 | 0.066912 | 0.262674 | 6,628 | 178 | 89 | 37.235955 | 0.757315 | 0.171092 | 0 | 0.688406 | 0 | 0.043478 | 0.092015 | 0.014568 | 0 | 0 | 0 | 0 | 0.072464 | 1 | 0.065217 | false | 0 | 0.043478 | 0 | 0.108696 | 0.043478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
672669c234855969496e3d70836e376ca328b213 | 12,033 | py | Python | neuvol/individs/initialization_network.py | Qwinpin/Neural_evolution | f8ebc8a171a6954718aa25f461e9b93afd698b8a | [
"Apache-2.0"
] | 6 | 2019-06-28T10:02:02.000Z | 2021-03-02T10:03:48.000Z | neuvol/individs/initialization_network.py | Qwinpin/Neural_evolution | f8ebc8a171a6954718aa25f461e9b93afd698b8a | [
"Apache-2.0"
] | 13 | 2018-11-27T13:45:33.000Z | 2019-10-04T11:22:32.000Z | neuvol/individs/initialization_network.py | Qwinpin/Neuvol | f8ebc8a171a6954718aa25f461e9b93afd698b8a | [
"Apache-2.0"
] | 2 | 2018-09-26T12:07:18.000Z | 2018-09-26T12:09:46.000Z | import torch
import numpy as np
class Network(torch.nn.Module):
def __init__(self, structure):
super(Network, self).__init__()
self.structure = structure
self.layers_pool_inited = self.init_layers(self.structure)
def init_layers(self, structure):
# pool of layers, whic... | 46.639535 | 162 | 0.639491 | 1,579 | 12,033 | 4.645345 | 0.098163 | 0.09816 | 0.054533 | 0.048671 | 0.890661 | 0.888207 | 0.877982 | 0.859714 | 0.853715 | 0.847035 | 0 | 0.006032 | 0.297349 | 12,033 | 257 | 163 | 46.821012 | 0.861502 | 0.242832 | 0 | 0.597015 | 0 | 0 | 0.010411 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037313 | false | 0 | 0.014925 | 0 | 0.089552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
677e440453d9f9ce5d3a0e9f426abf7cd35c3066 | 191 | py | Python | platform/hwconf_data/efm32pg12b/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | null | null | null | platform/hwconf_data/efm32pg12b/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T02:36:22.000Z | 2020-08-25T02:36:22.000Z | platform/hwconf_data/efm32pg12b/modules/PIN/PIN_Snippets.py | lenloe1/v2.7 | 9ac9c4a7bb37987af382c80647f42d84db5f2e1d | [
"Zlib"
] | 1 | 2020-08-25T01:56:04.000Z | 2020-08-25T01:56:04.000Z | """
Generated from a template
"""
import efm32pg12b.PythonSnippet.RuntimeModel as RuntimeModel
from efm32pg12b.modules.PIN.PIN_Defs import PORT_PINS
def activate_runtime():
pass
| 11.235294 | 60 | 0.769634 | 23 | 191 | 6.26087 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049689 | 0.157068 | 191 | 16 | 61 | 11.9375 | 0.844721 | 0.13089 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
67c23c3fe298c711154bfea1ebfc6c851d164708 | 67 | py | Python | example/tests/test.py | cristinasewell/pyenvbuilder | 610674473c7d0f3b1733231f624ba9a9f7a9f908 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-01-08T19:44:59.000Z | 2021-01-08T19:44:59.000Z | example/tests/test.py | cristinasewell/pyenvbuilder | 610674473c7d0f3b1733231f624ba9a9f7a9f908 | [
"BSD-3-Clause-LBNL"
] | 19 | 2020-04-02T18:37:02.000Z | 2021-05-27T18:04:53.000Z | example/tests/test.py | cristinasewell/pyenvbuilder | 610674473c7d0f3b1733231f624ba9a9f7a9f908 | [
"BSD-3-Clause-LBNL"
] | 3 | 2020-04-02T17:37:38.000Z | 2020-12-13T00:02:40.000Z | import platform
print 'Python version', platform.python_version()
| 16.75 | 49 | 0.80597 | 8 | 67 | 6.625 | 0.625 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 3 | 50 | 22.333333 | 0.883333 | 0 | 0 | 0 | 0 | 0 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
67f78d2d25e83f23ad38ea3e2472e785cf44ff44 | 4,225 | py | Python | src/test/scripting/test_assignment.py | vincent-lg/talismud | 645bdae3d2e71cde51a25fe48c8f1bde15319631 | [
"BSD-3-Clause"
] | 4 | 2020-05-16T21:58:55.000Z | 2020-08-29T11:17:31.000Z | src/test/scripting/test_assignment.py | vincent-lg/talismud | 645bdae3d2e71cde51a25fe48c8f1bde15319631 | [
"BSD-3-Clause"
] | 1 | 2020-12-15T11:22:32.000Z | 2020-12-15T11:22:32.000Z | src/test/scripting/test_assignment.py | vincent-lg/talismud | 645bdae3d2e71cde51a25fe48c8f1bde15319631 | [
"BSD-3-Clause"
] | null | null | null | """Assigning values in different tests."""
from test.scripting.abc import ScriptingTest
class TestAssignment(ScriptingTest):
"""Test to assign values."""
def test_int(self):
"""Create a variable with a simple integer value."""
script = self.write_script("variable = 5")
variable = scr... | 37.723214 | 79 | 0.60142 | 471 | 4,225 | 5.225053 | 0.167728 | 0.039821 | 0.085331 | 0.119464 | 0.826493 | 0.794393 | 0.736692 | 0.724502 | 0.724502 | 0.724502 | 0 | 0.01591 | 0.285917 | 4,225 | 111 | 80 | 38.063063 | 0.799801 | 0.165207 | 0 | 0.410256 | 0 | 0 | 0.250725 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.179487 | false | 0 | 0.012821 | 0 | 0.205128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
67fa82922158b5bd9625df6a883f524686dcfffe | 131 | py | Python | source/miniworldmaker/connectors/physics_connector.py | zormit/miniworldmaker | 8003aece905b0cffec9850af3805b03372f3dc97 | [
"MIT"
] | 9 | 2019-04-16T13:45:02.000Z | 2022-02-23T08:46:57.000Z | source/miniworldmaker/connectors/physics_connector.py | zormit/miniworldmaker | 8003aece905b0cffec9850af3805b03372f3dc97 | [
"MIT"
] | 11 | 2019-08-08T11:31:50.000Z | 2022-02-14T19:53:17.000Z | source/miniworldmaker/connectors/physics_connector.py | zormit/miniworldmaker | 8003aece905b0cffec9850af3805b03372f3dc97 | [
"MIT"
] | 3 | 2019-04-18T22:43:53.000Z | 2020-04-29T13:46:08.000Z | from miniworldmaker.connectors import pixel_connector
class PhysicsBoardConnector(pixel_connector.PixelBoardConnector):
pass
| 21.833333 | 65 | 0.862595 | 12 | 131 | 9.25 | 0.833333 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 5 | 66 | 26.2 | 0.940678 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
db21c453bbb6f1fcdf0c55c7c430135a1c0e7113 | 36 | py | Python | isonet/models/__init__.py | bpicnbnk/ResNeXt.pytorch | 53bae425c20a5b8ec69b3441ec12cfdc7d7231a6 | [
"MIT"
] | null | null | null | isonet/models/__init__.py | bpicnbnk/ResNeXt.pytorch | 53bae425c20a5b8ec69b3441ec12cfdc7d7231a6 | [
"MIT"
] | null | null | null | isonet/models/__init__.py | bpicnbnk/ResNeXt.pytorch | 53bae425c20a5b8ec69b3441ec12cfdc7d7231a6 | [
"MIT"
] | null | null | null | from isonet.models.isonext import *
| 18 | 35 | 0.805556 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e1d482de3eaf979c2145065266a18d547aae037c | 88 | py | Python | src/conversation_engine/__init__.py | tue-robotics/conversation_engine | 7cc5a734e57fbea9afdf1618358e777677b8df06 | [
"BSD-2-Clause"
] | 1 | 2019-04-12T13:02:01.000Z | 2019-04-12T13:02:01.000Z | src/conversation_engine/__init__.py | tue-robotics/conversation_engine | 7cc5a734e57fbea9afdf1618358e777677b8df06 | [
"BSD-2-Clause"
] | 17 | 2018-05-01T12:52:18.000Z | 2019-08-12T13:29:47.000Z | src/conversation_engine/__init__.py | tue-robotics/conversation_engine | 7cc5a734e57fbea9afdf1618358e777677b8df06 | [
"BSD-2-Clause"
] | null | null | null | from .engine import ConversationEngine, ConversationEngineUsingTopic, ConversationState
| 44 | 87 | 0.897727 | 6 | 88 | 13.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 88 | 1 | 88 | 88 | 0.963415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbf432a5aed3a3402630516587a2c8352a185d5c | 137 | py | Python | src/app/api/crud/__init__.py | pyronear/pyro-api | 9244b79b29bd5171ea1d02ed3c9cbb3eea75b60d | [
"Apache-2.0"
] | 8 | 2020-11-13T14:21:34.000Z | 2022-03-11T18:34:54.000Z | src/app/api/crud/__init__.py | pyronear/pyro-api | 9244b79b29bd5171ea1d02ed3c9cbb3eea75b60d | [
"Apache-2.0"
] | 169 | 2020-11-11T15:47:07.000Z | 2022-02-17T23:10:34.000Z | src/app/api/crud/__init__.py | pyronear/pyro-api | 9244b79b29bd5171ea1d02ed3c9cbb3eea75b60d | [
"Apache-2.0"
] | 2 | 2021-02-15T10:41:48.000Z | 2021-11-06T01:02:09.000Z | from .base import *
from . import accesses
from . import alerts
from . import authorizations
from . import groups
from . import webhooks
| 19.571429 | 28 | 0.773723 | 18 | 137 | 5.888889 | 0.444444 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175182 | 137 | 6 | 29 | 22.833333 | 0.938053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbf4592ad762f5f38aba26ca4fd24a7fdbaad368 | 16,983 | py | Python | feature_selection_plots.py | ashu-vyas-github/Flemish_Sign_Language_Openpose | 6a7365b9d06a822ea6ece280031c193f582da4c3 | [
"MIT"
] | null | null | null | feature_selection_plots.py | ashu-vyas-github/Flemish_Sign_Language_Openpose | 6a7365b9d06a822ea6ece280031c193f582da4c3 | [
"MIT"
] | null | null | null | feature_selection_plots.py | ashu-vyas-github/Flemish_Sign_Language_Openpose | 6a7365b9d06a822ea6ece280031c193f582da4c3 | [
"MIT"
] | null | null | null | # import numpy as np
# import pandas as pd
# from datetime import datetime
# import matplotlib.pyplot as plt
# from os.path import join as pjoin
# import util.vis as V
# import util.helpers as H
# import data_analysis
# import csv
# import random
# import gc
# from glob import glob
# import sklearn as sk
# from sklear... | 44.574803 | 400 | 0.733616 | 2,491 | 16,983 | 4.773986 | 0.156965 | 0.077363 | 0.063068 | 0.041541 | 0.859317 | 0.848133 | 0.839556 | 0.83367 | 0.825933 | 0.819795 | 0 | 0.036738 | 0.118471 | 16,983 | 381 | 401 | 44.574803 | 0.757598 | 0.552553 | 0 | 0 | 0 | 0 | 0.070185 | 0.006509 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.278261 | 0 | 0.278261 | 0.095652 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
221dc46ad3caf2ce39c428ac80189e4fdfa7d7fd | 106 | py | Python | mime/agent/__init__.py | rjgpinel/mime-release | 26a850c4ba5b702b86d068995614163338fb01df | [
"MIT"
] | 13 | 2020-06-24T10:52:28.000Z | 2021-07-23T03:05:27.000Z | mime/agent/__init__.py | rjgpinel/mime-release | 26a850c4ba5b702b86d068995614163338fb01df | [
"MIT"
] | 1 | 2020-08-18T12:45:15.000Z | 2020-08-18T12:45:15.000Z | mime/agent/__init__.py | rjgpinel/mime-release | 26a850c4ba5b702b86d068995614163338fb01df | [
"MIT"
] | 3 | 2020-09-09T18:17:46.000Z | 2021-09-06T09:43:45.000Z | from .script_agent import ScriptAgent
from .vr_agent import VRAgent
from .replay_agent import ReplayAgent
| 26.5 | 37 | 0.858491 | 15 | 106 | 5.866667 | 0.6 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 106 | 3 | 38 | 35.333333 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2250b5947e99dcbb1d5d50bd6dc4648af3d620c9 | 1,194 | py | Python | bfrs/migrations/0005_auto_20170919_1340.py | xzzy/bfrs | 07eeaffff207bf4fca1c95a5ba25c9118c9eab7a | [
"Apache-2.0"
] | null | null | null | bfrs/migrations/0005_auto_20170919_1340.py | xzzy/bfrs | 07eeaffff207bf4fca1c95a5ba25c9118c9eab7a | [
"Apache-2.0"
] | 3 | 2020-02-12T00:03:12.000Z | 2021-12-13T19:45:47.000Z | bfrs/migrations/0005_auto_20170919_1340.py | xzzy/bfrs | 07eeaffff207bf4fca1c95a5ba25c9118c9eab7a | [
"Apache-2.0"
] | 5 | 2018-02-16T02:05:40.000Z | 2022-01-18T03:35:41.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-09-19 05:40
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bfrs', '0004_auto_20170911_1051'),
]
operations = [
migration... | 33.166667 | 108 | 0.612228 | 117 | 1,194 | 6.059829 | 0.435897 | 0.112835 | 0.141044 | 0.163611 | 0.733427 | 0.733427 | 0.733427 | 0.733427 | 0.583921 | 0.583921 | 0 | 0.038642 | 0.284757 | 1,194 | 35 | 109 | 34.114286 | 0.791569 | 0.056951 | 0 | 0.714286 | 1 | 0 | 0.227022 | 0.02114 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22554599a50b8368115407c8f20f64387b4db55f | 8,314 | py | Python | tests/test_fleur_vis.py | soumyajyotih/masci-tools | e4d9ea2fbf6e16378d0cbfb8828a11bdb09c2139 | [
"MIT"
] | null | null | null | tests/test_fleur_vis.py | soumyajyotih/masci-tools | e4d9ea2fbf6e16378d0cbfb8828a11bdb09c2139 | [
"MIT"
] | null | null | null | tests/test_fleur_vis.py | soumyajyotih/masci-tools | e4d9ea2fbf6e16378d0cbfb8828a11bdb09c2139 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Test of the DOS/bandstructure visualizations
"""
import os
import pytest
from matplotlib.pyplot import gcf
CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))
HDFTEST_DIR = os.path.join(CURRENT_DIR, 'files/hdf5_reader')
@pytest.mark.mpl_image_compare(baseline_dir='files/fleur_vis/', ... | 33.934694 | 118 | 0.722637 | 1,127 | 8,314 | 5.045253 | 0.09583 | 0.056982 | 0.088639 | 0.067534 | 0.912768 | 0.903095 | 0.87988 | 0.867921 | 0.867921 | 0.846817 | 0 | 0.014871 | 0.175006 | 8,314 | 244 | 119 | 34.07377 | 0.814113 | 0.008059 | 0 | 0.690323 | 0 | 0 | 0.103775 | 0.041267 | 0 | 0 | 0 | 0 | 0 | 1 | 0.077419 | false | 0 | 0.251613 | 0 | 0.406452 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
22642b807bee2172ec8fe3b8d3664d96c5eba11f | 5,409 | py | Python | tests/marketmaking/orderchain/test_preventpostonlycrossingbookelement.py | bednie/mango-explorer | 4575395488e97a1f8cb52cc567e3307f11a28932 | [
"MIT"
] | null | null | null | tests/marketmaking/orderchain/test_preventpostonlycrossingbookelement.py | bednie/mango-explorer | 4575395488e97a1f8cb52cc567e3307f11a28932 | [
"MIT"
] | null | null | null | tests/marketmaking/orderchain/test_preventpostonlycrossingbookelement.py | bednie/mango-explorer | 4575395488e97a1f8cb52cc567e3307f11a28932 | [
"MIT"
] | null | null | null | import argparse
from ...context import mango
from ...fakes import fake_context, fake_model_state, fake_loaded_market, fake_order
from decimal import Decimal
from mango.marketmaking.orderchain.preventpostonlycrossingbookelement import (
PreventPostOnlyCrossingBookElement,
)
# The top bid is the highest price so... | 33.80625 | 86 | 0.738399 | 625 | 5,409 | 6.136 | 0.1072 | 0.052151 | 0.040156 | 0.054498 | 0.863625 | 0.858931 | 0.842764 | 0.828162 | 0.828162 | 0.828162 | 0 | 0.009229 | 0.158625 | 5,409 | 159 | 87 | 34.018868 | 0.833443 | 0.024219 | 0 | 0.585586 | 0 | 0 | 0.003791 | 0 | 0 | 0 | 0 | 0 | 0.09009 | 1 | 0.09009 | false | 0 | 0.045045 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97f4076d5790549de42d025a403a5ed8662afdf3 | 44 | py | Python | mpxapi/publish/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | 3 | 2018-01-23T10:27:41.000Z | 2019-03-29T21:12:25.000Z | mpxapi/publish/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | null | null | null | mpxapi/publish/__init__.py | colde/mpxapi | cda7d06c5c709ba7d652c59156ab7bb213bc2de1 | [
"MIT"
] | 3 | 2018-06-27T14:05:49.000Z | 2019-09-16T11:28:37.000Z | from .publish_profile import PublishProfile
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3f7291c20f33e76297855d2358c581069ded89d2 | 196 | py | Python | src/model/linearDistance.py | Bocampagni/Shipping-api | 4cdf074467e4478885fe55d7c82a16e1a577b045 | [
"MIT"
] | null | null | null | src/model/linearDistance.py | Bocampagni/Shipping-api | 4cdf074467e4478885fe55d7c82a16e1a577b045 | [
"MIT"
] | null | null | null | src/model/linearDistance.py | Bocampagni/Shipping-api | 4cdf074467e4478885fe55d7c82a16e1a577b045 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class linearDistance(BaseModel):
first_lon_coordinate: float
first_lat_coordinate: float
second_lon_coordinate: float
second_lat_coordinate: float
| 21.777778 | 32 | 0.80102 | 23 | 196 | 6.478261 | 0.521739 | 0.402685 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 196 | 8 | 33 | 24.5 | 0.908537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
4537b1165c263427beae1e85ba912192f4fecaef | 44 | py | Python | jupyterprobe/__init__.py | vermashresth/jupyter-probe | cec35399dbe0d19d4264df02df305504bea0f695 | [
"MIT"
] | 8 | 2020-12-15T14:19:29.000Z | 2021-09-23T03:39:21.000Z | build/lib/jupyterprobe/__init__.py | vermashresth/jupyter-probe | cec35399dbe0d19d4264df02df305504bea0f695 | [
"MIT"
] | null | null | null | build/lib/jupyterprobe/__init__.py | vermashresth/jupyter-probe | cec35399dbe0d19d4264df02df305504bea0f695 | [
"MIT"
] | null | null | null | from jupyterprobe.jupyterprobe import Probe
| 22 | 43 | 0.886364 | 5 | 44 | 7.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
189026be69c9d26f147980238952d00a66d9e3d4 | 59 | py | Python | lcu_driver/__init__.py | TheodorStraube/lcu-driver | 892e5695807a0ad27afa411b103a99fd64397f87 | [
"MIT"
] | 57 | 2019-06-07T09:35:00.000Z | 2022-03-09T06:31:47.000Z | lcu_driver/__init__.py | TheodorStraube/lcu-driver | 892e5695807a0ad27afa411b103a99fd64397f87 | [
"MIT"
] | 11 | 2020-10-31T02:42:59.000Z | 2022-03-18T02:46:33.000Z | lcu_driver/__init__.py | TheodorStraube/lcu-driver | 892e5695807a0ad27afa411b103a99fd64397f87 | [
"MIT"
] | 11 | 2021-01-07T19:09:09.000Z | 2022-03-20T06:54:06.000Z | from .connector import Connector, MultipleClientConnector
| 19.666667 | 57 | 0.864407 | 5 | 59 | 10.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 59 | 2 | 58 | 29.5 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.