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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c465037232783d3cca59122d250bf99eb18138f8 | 200 | py | Python | learning/import_self_module.py | seasonfif/python | e165826526af7f1a8336b9db461abfaaed57567a | [
"Apache-2.0"
] | null | null | null | learning/import_self_module.py | seasonfif/python | e165826526af7f1a8336b9db461abfaaed57567a | [
"Apache-2.0"
] | null | null | null | learning/import_self_module.py | seasonfif/python | e165826526af7f1a8336b9db461abfaaed57567a | [
"Apache-2.0"
] | null | null | null |
# import selfmodule.print_func as pf
# pf.print_func(1,2,2,2,2,2)
# from selfmodule.print_func import print_func
# print_func(1,1,1)
from selfmodule import print_func
print_func.print_func(1,1,1,1) | 22.222222 | 46 | 0.775 | 40 | 200 | 3.675 | 0.225 | 0.489796 | 0.204082 | 0.367347 | 0.428571 | 0.285714 | 0.285714 | 0 | 0 | 0 | 0 | 0.072626 | 0.105 | 200 | 9 | 47 | 22.222222 | 0.748603 | 0.62 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
670333b028a9e10bba68f08c063d93b0ad7c6807 | 285 | py | Python | demos/selective_dualarm_stowing/python/selective_dualarm_stowing/datasets/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | null | null | null | demos/selective_dualarm_stowing/python/selective_dualarm_stowing/datasets/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | 2 | 2019-04-11T05:36:23.000Z | 2019-08-19T12:58:10.000Z | demos/selective_dualarm_stowing/python/selective_dualarm_stowing/datasets/__init__.py | pazeshun/jsk_apc | 0ff42000ad5992f8a31e719a5360a39cf4fa1fde | [
"BSD-3-Clause"
] | null | null | null | from .dataset import DualarmDatasetV1 # NOQA
from .dataset import DualarmDatasetV2 # NOQA
from .dataset import DualarmDatasetV3 # NOQA
from .dataset import DualarmDatasetV4 # NOQA
from .dataset import DualarmDatasetV5 # NOQA
from .dataset import SinglearmFailureDatasetV4 # NOQA
| 40.714286 | 54 | 0.810526 | 30 | 285 | 7.7 | 0.333333 | 0.285714 | 0.441558 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.147368 | 285 | 6 | 55 | 47.5 | 0.925926 | 0.101754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6724ba755fc599dc77a3730ddf5516857c752b55 | 51,187 | py | Python | cyberbrain/generated/communication_pb2.py | testinggg-art/Cyberbrain | e38c74c174e23aa386d005b03f09b30aa1b3a0ae | [
"MIT"
] | null | null | null | cyberbrain/generated/communication_pb2.py | testinggg-art/Cyberbrain | e38c74c174e23aa386d005b03f09b30aa1b3a0ae | [
"MIT"
] | null | null | null | cyberbrain/generated/communication_pb2.py | testinggg-art/Cyberbrain | e38c74c174e23aa386d005b03f09b30aa1b3a0ae | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: communication.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.p... | 43.378814 | 4,014 | 0.744173 | 6,656 | 51,187 | 5.397386 | 0.04402 | 0.055894 | 0.088852 | 0.07666 | 0.763981 | 0.733946 | 0.726764 | 0.721113 | 0.700097 | 0.691301 | 0 | 0.040039 | 0.129056 | 51,187 | 1,179 | 4,015 | 43.415606 | 0.765797 | 0.018618 | 0 | 0.704545 | 1 | 0.000909 | 0.156824 | 0.09323 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003636 | 0 | 0.003636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
673630355104b52334ed3925b7ad4cb417a33f9e | 23,595 | py | Python | isi_sdk_8_1_0/isi_sdk_8_1_0/api/dedupe_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 24 | 2018-06-22T14:13:23.000Z | 2022-03-23T01:21:26.000Z | isi_sdk_8_1_0/isi_sdk_8_1_0/api/dedupe_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 46 | 2018-04-30T13:28:22.000Z | 2022-03-21T21:11:07.000Z | isi_sdk_8_1_0/isi_sdk_8_1_0/api/dedupe_api.py | mohitjain97/isilon_sdk_python | a371f438f542568edb8cda35e929e6b300b1177c | [
"Unlicense"
] | 29 | 2018-06-19T00:14:04.000Z | 2022-02-08T17:51:19.000Z | # coding: utf-8
"""
Isilon SDK
Isilon SDK - Language bindings for the OneFS API # noqa: E501
OpenAPI spec version: 5
Contact: sdk@isilon.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and pyth... | 42.058824 | 236 | 0.621869 | 2,819 | 23,595 | 4.974814 | 0.084072 | 0.052481 | 0.019966 | 0.02567 | 0.919566 | 0.899102 | 0.877353 | 0.865873 | 0.85425 | 0.836851 | 0 | 0.019839 | 0.28862 | 23,595 | 560 | 237 | 42.133929 | 0.815669 | 0.347574 | 0 | 0.684385 | 1 | 0.023256 | 0.219493 | 0.048065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036545 | false | 0 | 0.013289 | 0 | 0.10299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
674221e3c533445e6fada67b19fe41496e786fe6 | 1,855 | py | Python | modelzoo/migrations/0027_auto_20201020_1434.py | SuperElastix/ElastixModelZooWebsite | 00d7b4aec8eb04c285d3771d53310079a3443fab | [
"Apache-2.0"
] | 1 | 2021-11-15T07:30:24.000Z | 2021-11-15T07:30:24.000Z | modelzoo/migrations/0027_auto_20201020_1434.py | SuperElastix/ElastixModelZooWebsite | 00d7b4aec8eb04c285d3771d53310079a3443fab | [
"Apache-2.0"
] | null | null | null | modelzoo/migrations/0027_auto_20201020_1434.py | SuperElastix/ElastixModelZooWebsite | 00d7b4aec8eb04c285d3771d53310079a3443fab | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.3 on 2020-10-20 12:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('modelzoo', '0026_model_slug'),
]
operations = [
migrations.AddField(
model_name='model',
name='image1',
... | 31.440678 | 81 | 0.539623 | 172 | 1,855 | 5.703488 | 0.25 | 0.165138 | 0.211009 | 0.247706 | 0.798165 | 0.798165 | 0.761468 | 0.761468 | 0.761468 | 0.70948 | 0 | 0.022047 | 0.315364 | 1,855 | 58 | 82 | 31.982759 | 0.750394 | 0.024259 | 0 | 0.692308 | 1 | 0 | 0.107301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019231 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
67773d6ef3d968b5e682f9449457348c2237c5b4 | 10,083 | py | Python | tests/do_sampler/test_pandas_do_api.py | Sid-darthvader/dowhy | 535cdb47d7eed8988573770769ecea3856180b48 | [
"MIT"
] | 2,904 | 2019-05-07T08:09:33.000Z | 2022-03-31T18:28:41.000Z | tests/do_sampler/test_pandas_do_api.py | Sid-darthvader/dowhy | 535cdb47d7eed8988573770769ecea3856180b48 | [
"MIT"
] | 238 | 2019-05-11T02:57:22.000Z | 2022-03-31T23:47:18.000Z | tests/do_sampler/test_pandas_do_api.py | Sid-darthvader/dowhy | 535cdb47d7eed8988573770769ecea3856180b48 | [
"MIT"
] | 527 | 2019-05-08T16:23:45.000Z | 2022-03-30T21:02:41.000Z | import pytest
import numpy as np
import pandas as pd
import dowhy.datasets
import dowhy.api
from sklearn.linear_model import LinearRegression
@pytest.mark.usefixtures("fixed_seed")
class TestPandasDoAPI(object):
@pytest.mark.parametrize(["N", "error_tolerance"],
[(10000, 0.1),])
... | 45.013393 | 95 | 0.466329 | 1,060 | 10,083 | 4.25283 | 0.130189 | 0.077862 | 0.037267 | 0.039042 | 0.879547 | 0.875111 | 0.875111 | 0.870009 | 0.870009 | 0.848935 | 0 | 0.029206 | 0.405732 | 10,083 | 223 | 96 | 45.215247 | 0.723131 | 0 | 0 | 0.835897 | 0 | 0.020513 | 0.068059 | 0.008966 | 0 | 0 | 0 | 0 | 0.035897 | 1 | 0.041026 | false | 0 | 0.030769 | 0 | 0.076923 | 0.041026 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
67ad44274dbfdb4457919913b04d7dbf66d01765 | 52,205 | py | Python | nidaqmx/_task_modules/ci_channel_collection.py | hboshnak/nidaqmx-python | b756fbd7f0c0f7deadb468d77ceacb03ed467885 | [
"MIT"
] | null | null | null | nidaqmx/_task_modules/ci_channel_collection.py | hboshnak/nidaqmx-python | b756fbd7f0c0f7deadb468d77ceacb03ed467885 | [
"MIT"
] | null | null | null | nidaqmx/_task_modules/ci_channel_collection.py | hboshnak/nidaqmx-python | b756fbd7f0c0f7deadb468d77ceacb03ed467885 | [
"MIT"
] | null | null | null | # Do not edit this file; it was automatically generated.
import ctypes
import numpy
from nidaqmx._lib import lib_importer, ctypes_byte_str, c_bool32
from nidaqmx.errors import check_for_error
from nidaqmx._task_modules.channels.ci_channel import CIChannel
from nidaqmx._task_modules.channel_collection import ChannelCo... | 51.636993 | 78 | 0.624978 | 6,478 | 52,205 | 4.878666 | 0.049244 | 0.015378 | 0.030756 | 0.035882 | 0.899633 | 0.888558 | 0.881344 | 0.874067 | 0.865365 | 0.856063 | 0 | 0.004454 | 0.32472 | 52,205 | 1,010 | 79 | 51.688119 | 0.892038 | 0.601973 | 0 | 0.672297 | 1 | 0 | 0.001278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057432 | false | 0 | 0.128378 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
67b27458821e3254e729ed5e5edd2d2741f19ada | 169 | py | Python | cerebunit/validation_tests/cells/__init__.py | myHBPwork/cerebunit | 8d986953652231c178e48a6272b6ba583ae1df96 | [
"BSD-3-Clause"
] | null | null | null | cerebunit/validation_tests/cells/__init__.py | myHBPwork/cerebunit | 8d986953652231c178e48a6272b6ba583ae1df96 | [
"BSD-3-Clause"
] | null | null | null | cerebunit/validation_tests/cells/__init__.py | myHBPwork/cerebunit | 8d986953652231c178e48a6272b6ba583ae1df96 | [
"BSD-3-Clause"
] | 1 | 2021-05-21T03:06:37.000Z | 2021-05-21T03:06:37.000Z | # ~/cerebunit/cerebunit/validation_tests/cells/__init__.py
#from cerebunit.validation_tests.cells import general
#from . import PurkinjeCell
#from . import GranularCell
| 33.8 | 58 | 0.828402 | 20 | 169 | 6.7 | 0.55 | 0.283582 | 0.358209 | 0.432836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 169 | 4 | 59 | 42.25 | 0.864516 | 0.946746 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 7 |
67cd94f7494fcc9ea863a50152fc2a2e5c519c28 | 132,265 | py | Python | py/gen_py/test/userService.py | AlohaPoster/MyActilife_win | 7922839b6444f63f87b8f9584ad5d89101fa8432 | [
"ISC"
] | null | null | null | py/gen_py/test/userService.py | AlohaPoster/MyActilife_win | 7922839b6444f63f87b8f9584ad5d89101fa8432 | [
"ISC"
] | null | null | null | py/gen_py/test/userService.py | AlohaPoster/MyActilife_win | 7922839b6444f63f87b8f9584ad5d89101fa8432 | [
"ISC"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.13.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 33.165747 | 134 | 0.597293 | 14,022 | 132,265 | 5.390101 | 0.012766 | 0.015348 | 0.027626 | 0.013337 | 0.905504 | 0.881371 | 0.849868 | 0.836756 | 0.836756 | 0.836756 | 0 | 0.005241 | 0.29608 | 132,265 | 3,987 | 135 | 33.174066 | 0.806539 | 0.015333 | 0 | 0.849156 | 1 | 0 | 0.04185 | 0.001633 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133311 | false | 0.006947 | 0.002646 | 0.04168 | 0.24876 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
67eebdfdea75722d22f2ce44e801a6d109e7e537 | 15,572 | py | Python | tests/components/ozw/test_light.py | chewbh/core | 650d61e4f3007d1f7d456713d43fbc30b7396ce6 | [
"Apache-2.0"
] | 2 | 2020-09-10T15:36:55.000Z | 2021-02-26T21:09:56.000Z | tests/components/ozw/test_light.py | frnktrgr/core | 650d61e4f3007d1f7d456713d43fbc30b7396ce6 | [
"Apache-2.0"
] | 37 | 2020-07-17T23:20:00.000Z | 2022-03-31T06:01:48.000Z | tests/components/ozw/test_light.py | glance-/home-assistant | 43a3a8bd740c926698c12f7a5b25f6ab99bb7e4b | [
"Apache-2.0"
] | null | null | null | """Test Z-Wave Lights."""
from homeassistant.components.ozw.light import byte_to_zwave_brightness
from .common import setup_ozw
async def test_light(hass, light_data, light_msg, light_rgb_msg, sent_messages):
"""Test setting up config entry."""
receive_message = await setup_ozw(hass, fixture=light_data)
... | 32.173554 | 86 | 0.664655 | 2,025 | 15,572 | 4.825185 | 0.070617 | 0.042575 | 0.064477 | 0.037253 | 0.892744 | 0.891311 | 0.888138 | 0.884556 | 0.88036 | 0.863883 | 0 | 0.044719 | 0.210185 | 15,572 | 483 | 87 | 32.240166 | 0.749736 | 0.047842 | 0 | 0.72679 | 0 | 0 | 0.211085 | 0.114471 | 0 | 0 | 0 | 0 | 0.270557 | 1 | 0 | false | 0 | 0.005305 | 0 | 0.005305 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
67ff44744ae6a7b746ffe4a12aef459d79a587ba | 11,028 | py | Python | training/util/ImageSampling.py | jpjuvo/deepfake-video-detector | 7c5ea5f36277ff5405d8466e48e68d00a085fa7e | [
"MIT"
] | 1 | 2021-08-17T14:43:04.000Z | 2021-08-17T14:43:04.000Z | training/util/ImageSampling.py | jpjuvo/deepfake-video-detector | 7c5ea5f36277ff5405d8466e48e68d00a085fa7e | [
"MIT"
] | null | null | null | training/util/ImageSampling.py | jpjuvo/deepfake-video-detector | 7c5ea5f36277ff5405d8466e48e68d00a085fa7e | [
"MIT"
] | null | null | null | import os
import random
import pandas as pd
import numpy as np
from pathlib import Path
from tqdm.notebook import tqdm as tqdm
def getBalancedImageDataFrame(base_dir,df,n_frames=17, n_frames_start=0, avoid_sampling_classes=[], downsample_majority=True):
# Start a list of paths, labels, and isVal splits
pa... | 40.844444 | 139 | 0.624501 | 1,392 | 11,028 | 4.718391 | 0.124282 | 0.049026 | 0.01827 | 0.025579 | 0.881699 | 0.863886 | 0.853685 | 0.825061 | 0.798721 | 0.779233 | 0 | 0.010267 | 0.284639 | 11,028 | 270 | 140 | 40.844444 | 0.822284 | 0.183805 | 0 | 0.760736 | 0 | 0 | 0.0441 | 0.011388 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06135 | false | 0 | 0.03681 | 0 | 0.177914 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
db1a916dc0ff34ae4a1f461be15421224eeea1ed | 40,392 | py | Python | seapy/roms/ncgen.py | ivicajan/seapy | 168a3490061d570236c1982006c3ce81c7a958ce | [
"MIT"
] | 24 | 2015-08-17T01:24:56.000Z | 2022-03-01T09:10:43.000Z | seapy/roms/ncgen.py | ivicajan/seapy | 168a3490061d570236c1982006c3ce81c7a958ce | [
"MIT"
] | 43 | 2016-03-29T23:09:14.000Z | 2021-10-29T18:57:45.000Z | seapy/roms/ncgen.py | ivicajan/seapy | 168a3490061d570236c1982006c3ce81c7a958ce | [
"MIT"
] | 21 | 2016-03-29T22:44:57.000Z | 2021-08-31T20:15:37.000Z | #!/usr/bin/env python
"""
Functions to generate ROMS netcdf files
Written by Brian Powell on 04/26/13
Copyright (c)2010--2021 University of Hawaii under the MIT-License.
"""
import os
import re
import netCDF4
import numpy as np
from datetime import datetime
from seapy.lib import default_epoch
from seapy.cdl_pa... | 29.418791 | 89 | 0.618588 | 5,357 | 40,392 | 4.546575 | 0.068508 | 0.023321 | 0.046765 | 0.052266 | 0.8152 | 0.79504 | 0.789497 | 0.780793 | 0.774183 | 0.764699 | 0 | 0.006707 | 0.298648 | 40,392 | 1,372 | 90 | 29.440233 | 0.853048 | 0.515993 | 0 | 0.435967 | 1 | 0 | 0.080769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079019 | false | 0.010899 | 0.024523 | 0 | 0.182561 | 0.002725 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e1d7253fcff3f12f0d7ea0ff1161327ff93301fe | 13,759 | py | Python | Color_Reaching/src/measure_width.py | Igloogloo/Robot_Learning_Enviornments | ad82e35404afaf6f23bb5275e897526266972949 | [
"BSD-3-Clause"
] | null | null | null | Color_Reaching/src/measure_width.py | Igloogloo/Robot_Learning_Enviornments | ad82e35404afaf6f23bb5275e897526266972949 | [
"BSD-3-Clause"
] | null | null | null | Color_Reaching/src/measure_width.py | Igloogloo/Robot_Learning_Enviornments | ad82e35404afaf6f23bb5275e897526266972949 | [
"BSD-3-Clause"
] | 2 | 2021-08-18T17:07:46.000Z | 2021-09-03T22:05:06.000Z | #! /usr/bin/env python
import cv2
from scipy.spatial import distance as dist
from imutils import perspective
from imutils import contours
import numpy as np
import argparse
import imutils
def imcrop(img, x1,x2,y1,y2):
#x1, y1, x2, y2 = bbox
if x1 < 0 or y1 < 0 or x2 > img.shape[1] or y2 > img.shape[0]:
... | 39.997093 | 110 | 0.598154 | 1,957 | 13,759 | 4.163516 | 0.137966 | 0.010309 | 0.023932 | 0.029455 | 0.860457 | 0.857757 | 0.848797 | 0.848797 | 0.844502 | 0.844502 | 0 | 0.05718 | 0.269133 | 13,759 | 344 | 111 | 39.997093 | 0.753083 | 0.28803 | 0 | 0.795918 | 0 | 0 | 0.006523 | 0 | 0 | 0 | 0.000414 | 0 | 0 | 1 | 0.02551 | false | 0 | 0.035714 | 0.005102 | 0.091837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c038f7704e44a8e682f1b2679be91d71acc0abc7 | 6,467 | py | Python | campaign/migrations/0001_initial.py | devenney/reverie | 43b2948678ff1e76a1b7a9cab812c0dfbf3633a0 | [
"MIT"
] | null | null | null | campaign/migrations/0001_initial.py | devenney/reverie | 43b2948678ff1e76a1b7a9cab812c0dfbf3633a0 | [
"MIT"
] | 47 | 2017-08-30T00:33:20.000Z | 2018-03-09T07:38:39.000Z | campaign/migrations/0001_initial.py | devenney/reverie | 43b2948678ff1e76a1b7a9cab812c0dfbf3633a0 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-04-04 11:39
import campaign.helpers
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import image_cropping.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable... | 61.590476 | 235 | 0.626256 | 680 | 6,467 | 5.777941 | 0.155882 | 0.038941 | 0.048867 | 0.067193 | 0.824892 | 0.807839 | 0.807839 | 0.807839 | 0.797913 | 0.784424 | 0 | 0.018876 | 0.229937 | 6,467 | 104 | 236 | 62.182692 | 0.77008 | 0.006958 | 0 | 0.690722 | 1 | 0 | 0.106854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.051546 | 0 | 0.092784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fbe47a5dc0bfcf96ec8c1693d002a063949acc25 | 4,300 | py | Python | dentexchange/apps/matches/tests/test_delete_job_posting_match_view.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 1 | 2017-11-09T23:09:51.000Z | 2017-11-09T23:09:51.000Z | dentexchange/apps/matches/tests/test_delete_job_posting_match_view.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | null | null | null | dentexchange/apps/matches/tests/test_delete_job_posting_match_view.py | hellhound/dentexchange | 58ae303e842404fc9e1860f294ec8044a332bef3 | [
"BSD-3-Clause"
] | 3 | 2015-08-11T16:58:47.000Z | 2021-01-04T08:23:51.000Z | # -*- coding:utf-8 -*-
import unittest
import mock
from django.contrib.auth.models import User
from ..views import DeleteJobPostingMatchView
from ..models import Match
from employer.models import JobPosting
class DeleteJobPostingMatchViewTestCase(unittest.TestCase):
@mock.patch('matches.views.views.JSONResponse... | 36.440678 | 98 | 0.664186 | 492 | 4,300 | 5.565041 | 0.158537 | 0.058437 | 0.105186 | 0.061359 | 0.822863 | 0.792915 | 0.792915 | 0.792915 | 0.792915 | 0.792915 | 0 | 0.006989 | 0.234651 | 4,300 | 117 | 99 | 36.752137 | 0.824977 | 0.023256 | 0 | 0.797753 | 0 | 0 | 0.093884 | 0.089823 | 0 | 0 | 0 | 0 | 0.168539 | 1 | 0.044944 | false | 0 | 0.067416 | 0 | 0.123596 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
97d6f02818dac0896b0df96e22a665185a82c4e5 | 34,923 | py | Python | sdk/python/pulumi_openstack/loadbalancer/pool_v1.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2018-09-12T12:37:51.000Z | 2022-02-04T19:32:13.000Z | sdk/python/pulumi_openstack/loadbalancer/pool_v1.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 72 | 2018-08-15T13:04:57.000Z | 2022-03-31T15:39:49.000Z | sdk/python/pulumi_openstack/loadbalancer/pool_v1.py | pulumi/pulumi-openstack | 945eed22a82784e9f0b3aa56168b2397c2f503e8 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-03-14T08:28:49.000Z | 2021-12-29T04:23:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 42.126659 | 134 | 0.609713 | 4,182 | 34,923 | 4.94285 | 0.065758 | 0.078226 | 0.080596 | 0.057472 | 0.927096 | 0.910793 | 0.89986 | 0.888588 | 0.878864 | 0.870398 | 0 | 0.01161 | 0.29462 | 34,923 | 828 | 135 | 42.177536 | 0.827515 | 0.465939 | 0 | 0.775758 | 1 | 0 | 0.090844 | 0.010933 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157576 | false | 0.00303 | 0.015152 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
97e697c360d175a4efbb79b71a88204f4e406a30 | 44 | py | Python | src/UofG_PP/__init__.py | UofG-CSP3/morion | 4d013b80ab0edc1154bae18dc00c8a8d3d6c7950 | [
"MIT"
] | null | null | null | src/UofG_PP/__init__.py | UofG-CSP3/morion | 4d013b80ab0edc1154bae18dc00c8a8d3d6c7950 | [
"MIT"
] | null | null | null | src/UofG_PP/__init__.py | UofG-CSP3/morion | 4d013b80ab0edc1154bae18dc00c8a8d3d6c7950 | [
"MIT"
] | null | null | null | from . import readers
from . import writers
| 14.666667 | 21 | 0.772727 | 6 | 44 | 5.666667 | 0.666667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 2 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3f337d96dd7b62b83842390e093f34a720ce734c | 3,287 | py | Python | src/tests/skill_test.py | Kidron-Hou/category_division | e8163f16964d103c6fb932ca9caa30c04da89992 | [
"BSD-3-Clause"
] | null | null | null | src/tests/skill_test.py | Kidron-Hou/category_division | e8163f16964d103c6fb932ca9caa30c04da89992 | [
"BSD-3-Clause"
] | null | null | null | src/tests/skill_test.py | Kidron-Hou/category_division | e8163f16964d103c6fb932ca9caa30c04da89992 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File : skill_test.py
# @Description:
# @Time : 2020-6-1 上午 10:20
# @Author : Hou
import re
pattern_after = re.compile('预中标公告 |评审公示 |需求评审 |预中标公示 |预审结果公示 |预审结果公告 |候选人公告 |候选人公示 |候选人结果公示 |候选人结果公告 |'
'成交公告 |成交通告 |成交公示 |合同公示 |中选公告 |中选公示 |合同公... | 102.71875 | 1,379 | 0.567082 | 415 | 3,287 | 4.477108 | 0.539759 | 0.017223 | 0.013994 | 0.019376 | 0.763724 | 0.763724 | 0.763724 | 0.763724 | 0.763724 | 0.763724 | 0 | 0.017758 | 0.17767 | 3,287 | 32 | 1,380 | 102.71875 | 0.669626 | 0.040767 | 0 | 0 | 0 | 0.428571 | 0.712834 | 0.108323 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
3f447e8da33d7282f25d11d8d67e376544ace695 | 4,452 | py | Python | tests/test_haproxy_util.py | monetate/check-haproxy-stats | b47d947eea994e4f728b2d004acae13f52c63cb5 | [
"MIT"
] | null | null | null | tests/test_haproxy_util.py | monetate/check-haproxy-stats | b47d947eea994e4f728b2d004acae13f52c63cb5 | [
"MIT"
] | 1 | 2019-04-16T21:52:25.000Z | 2019-04-16T21:52:25.000Z | tests/test_haproxy_util.py | monetate/check-haproxy-stats | b47d947eea994e4f728b2d004acae13f52c63cb5 | [
"MIT"
] | 2 | 2019-02-21T18:54:09.000Z | 2019-07-17T22:44:43.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Tests for `haproxy_util` module."""
import unittest
from mock import Mock, PropertyMock, patch
import check_haproxy_stats.haproxy_util
class TestHaProxy_Util(unittest.TestCase):
"""Test cases for haproxy_util."""
def test_get_request_stats_no_traffic(self):
... | 51.172414 | 118 | 0.638814 | 615 | 4,452 | 4.338211 | 0.157724 | 0.029985 | 0.03036 | 0.034483 | 0.868066 | 0.836582 | 0.834708 | 0.781484 | 0.77024 | 0.718516 | 0 | 0.046936 | 0.248652 | 4,452 | 86 | 119 | 51.767442 | 0.750673 | 0.118598 | 0 | 0.6875 | 0 | 0 | 0.142268 | 0.100515 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.09375 | false | 0.09375 | 0.046875 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
45017ed2c4b81d468f0f4d475c8756d8b38b2153 | 209 | py | Python | maayanlab_bioinformatics/utils/__init__.py | MaayanLab/maayanlab-bioinformatics | f84bda02a8841a65d4c72e491129cdc339fb73b3 | [
"Apache-2.0"
] | 4 | 2020-07-16T11:49:59.000Z | 2021-08-03T00:54:16.000Z | maayanlab_bioinformatics/utils/__init__.py | MaayanLab/maayanlab-bioinformatics | f84bda02a8841a65d4c72e491129cdc339fb73b3 | [
"Apache-2.0"
] | 2 | 2020-05-21T17:04:30.000Z | 2022-02-14T21:29:54.000Z | maayanlab_bioinformatics/utils/__init__.py | MaayanLab/maayanlab-bioinformatics | f84bda02a8841a65d4c72e491129cdc339fb73b3 | [
"Apache-2.0"
] | null | null | null | '''This module contains general utility functions for convenient analysis
'''
from maayanlab_bioinformatics.utils.fetch_save_read import fetch_save_read
from maayanlab_bioinformatics.utils.merge import merge
| 34.833333 | 74 | 0.861244 | 27 | 209 | 6.444444 | 0.666667 | 0.149425 | 0.310345 | 0.367816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 209 | 5 | 75 | 41.8 | 0.915789 | 0.334928 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
45094d7937a1f99e9eab6dd2ea6dc88805c504b7 | 124 | py | Python | functiongraph.py | webclinic017/Backtrader-Samples | dc3744e9543a38eb91be213cddd35b435b67ac87 | [
"0BSD"
] | 1 | 2021-12-17T14:14:45.000Z | 2021-12-17T14:14:45.000Z | functiongraph.py | webclinic017/Backtrader-Samples | dc3744e9543a38eb91be213cddd35b435b67ac87 | [
"0BSD"
] | null | null | null | functiongraph.py | webclinic017/Backtrader-Samples | dc3744e9543a38eb91be213cddd35b435b67ac87 | [
"0BSD"
] | null | null | null | import pygal
pygal.Bar()(1, 3, 3, 7)(1, 6, 6, 4).render()
pygal.Bar()(1, 3, 3, 7)(1, 6, 6, 4).render_to_file("simple.svg")
| 24.8 | 64 | 0.580645 | 28 | 124 | 2.5 | 0.464286 | 0.228571 | 0.257143 | 0.285714 | 0.628571 | 0.628571 | 0.628571 | 0.628571 | 0.628571 | 0.628571 | 0 | 0.149533 | 0.137097 | 124 | 4 | 65 | 31 | 0.504673 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
450bb78b2fb79bc8fecc79c1f04e60e2401241f4 | 7,594 | py | Python | monk/system/graphs/line.py | Sanskar329/monk_v1 | 51a497a925ec1fb2c8fef1d51245ea7040a5a65a | [
"Apache-2.0"
] | 7 | 2020-07-26T08:37:29.000Z | 2020-10-30T10:23:11.000Z | monk/system/graphs/line.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | monk/system/graphs/line.py | mursalfk/monk_v1 | 62f34a52f242772186ffff7e56764e958fbcd920 | [
"Apache-2.0"
] | null | null | null | from system.graphs.imports import *
from system.imports import *
@accepts([list, type(np.array([1, 2]))], [list, type(np.array([1, 2]))], str, show_img=bool, save_img=bool, post_trace=False)
#@TraceFunction(trace_args=True, trace_rv=True)
def create_train_test_plots_accuracy(plots, labels, log_dir, show_img=False, s... | 38.744898 | 125 | 0.639716 | 1,025 | 7,594 | 4.589268 | 0.122927 | 0.05102 | 0.058036 | 0.056122 | 0.962798 | 0.962798 | 0.928784 | 0.928784 | 0.928784 | 0.922194 | 0 | 0.010565 | 0.202265 | 7,594 | 195 | 126 | 38.94359 | 0.765929 | 0.240716 | 0 | 0.76699 | 0 | 0 | 0.186342 | 0.075554 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058252 | false | 0 | 0.019417 | 0 | 0.07767 | 0.009709 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18c5ffcaeafff5cf7d553d0fca081eadc0cf9fa9 | 7,454 | py | Python | RCTF 2019/printer/printer.py | p-g-krish/CTF-Writeups | 05ad6a9ecbc19ceb8890f4581dfee36f16d164aa | [
"MIT"
] | 51 | 2018-06-26T09:49:42.000Z | 2019-09-14T00:06:35.000Z | RCTF 2019/printer/printer.py | p-g-krish/CTF-Writeups | 05ad6a9ecbc19ceb8890f4581dfee36f16d164aa | [
"MIT"
] | 1 | 2018-06-29T18:40:59.000Z | 2018-07-09T20:29:41.000Z | RCTF 2019/printer/printer.py | p-g-krish/CTF-Writeups | 05ad6a9ecbc19ceb8890f4581dfee36f16d164aa | [
"MIT"
] | 22 | 2019-10-03T14:52:43.000Z | 2022-01-17T08:55:10.000Z | #!/usr/bin/env python3
from PIL import Image, ImageDraw
import binascii
DATA_RAW="1b00e0360dbf87deffff00000000090000010007000103e90c00005345542054454152204f4e0d0a434c530d0a4249544d4150203133382c37352c32362c34382c312cffffffffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffc3ffffffffffffffffff... | 276.074074 | 6,675 | 0.963375 | 163 | 7,454 | 44.006135 | 0.392638 | 0.001115 | 0.001255 | 0.001673 | 0.006134 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372333 | 0.012745 | 7,454 | 27 | 6,676 | 276.074074 | 0.602392 | 0.002817 | 0 | 0 | 0 | 0 | 0.899502 | 0.896542 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18ce58e3f83008deb5b9546928996dde4ef88dc1 | 7,964 | py | Python | src/chaospy/descriptives/sensitivity.py | yoon-gu/chaospy | fe541840a79882008f38764cd7ba4935a4fd4fa3 | [
"BSD-3-Clause"
] | 1 | 2018-08-22T01:51:25.000Z | 2018-08-22T01:51:25.000Z | src/chaospy/descriptives/sensitivity.py | TribleCircle/chaospy | f22aa31e2a338a32a6d09b810c5b629c10a87236 | [
"BSD-3-Clause"
] | null | null | null | src/chaospy/descriptives/sensitivity.py | TribleCircle/chaospy | f22aa31e2a338a32a6d09b810c5b629c10a87236 | [
"BSD-3-Clause"
] | 1 | 2019-11-24T17:16:30.000Z | 2019-11-24T17:16:30.000Z | import numpy as np
import chaospy
from .second1d import Var
from .first import E_cond
from .first import E as E_total
def Sens_m(poly, dist, **kws):
"""
Variance-based decomposition
AKA Sobol' indices
First order sensitivity indices
"""
dim = len(dist)
if poly.dim<dim:
poly = ch... | 28.341637 | 136 | 0.562657 | 1,081 | 7,964 | 4.027752 | 0.102683 | 0.025264 | 0.022049 | 0.027561 | 0.90124 | 0.887 | 0.878503 | 0.861736 | 0.843133 | 0.807304 | 0 | 0.016468 | 0.283275 | 7,964 | 280 | 137 | 28.442857 | 0.746321 | 0.224134 | 0 | 0.706667 | 0 | 0 | 0.011616 | 0 | 0 | 0 | 0 | 0 | 0.04 | 1 | 0.04 | false | 0 | 0.033333 | 0 | 0.113333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
18f639420cdc205c4f6f64f3529ce41d21ab4fc1 | 158 | py | Python | build/data/write_status.py | pathogen-genomics/introduction-website | 74554dfc3596e5252f496d966c6e0a68bdbeca73 | [
"MIT"
] | null | null | null | build/data/write_status.py | pathogen-genomics/introduction-website | 74554dfc3596e5252f496d966c6e0a68bdbeca73 | [
"MIT"
] | null | null | null | build/data/write_status.py | pathogen-genomics/introduction-website | 74554dfc3596e5252f496d966c6e0a68bdbeca73 | [
"MIT"
] | null | null | null | # with open("status.json","w") as outf:
# print('{"status":"ok"}',file=outf)
with open("status.json","w") as outf:
print('{"status":"updating"}',file=outf) | 31.6 | 41 | 0.620253 | 24 | 158 | 4.083333 | 0.458333 | 0.163265 | 0.285714 | 0.367347 | 0.734694 | 0.734694 | 0.734694 | 0.734694 | 0.734694 | 0 | 0 | 0 | 0.088608 | 158 | 5 | 41 | 31.6 | 0.680556 | 0.462025 | 0 | 0 | 0 | 0 | 0.39759 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
18ffb74d15037e61827834a46ff04e9f193c663e | 4,258 | py | Python | tests/test_encoders.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 5 | 2020-03-07T01:12:29.000Z | 2021-04-21T00:53:19.000Z | tests/test_encoders.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2019-11-22T20:58:01.000Z | 2020-08-17T21:16:13.000Z | tests/test_encoders.py | zhammer/dd-trace-py | 4c30f6e36bfa34a63cd9b6884677c977f76d2a01 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2020-03-18T16:29:20.000Z | 2020-07-20T16:05:10.000Z | import json
from unittest import TestCase
from ddtrace.span import Span
from ddtrace.compat import msgpack_type, string_type
from ddtrace.encoding import JSONEncoder, MsgpackEncoder
class TestEncoders(TestCase):
"""
Ensures that Encoders serialize the payload as expected.
"""
def test_encode_traces_... | 31.308824 | 64 | 0.569281 | 503 | 4,258 | 4.763419 | 0.145129 | 0.108514 | 0.093489 | 0.140234 | 0.846828 | 0.834725 | 0.805509 | 0.805509 | 0.805509 | 0.805509 | 0 | 0.009739 | 0.3248 | 4,258 | 135 | 65 | 31.540741 | 0.823652 | 0.160639 | 0 | 0.787234 | 0 | 0 | 0.083592 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 1 | 0.042553 | false | 0 | 0.053191 | 0 | 0.106383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7a15c175106a4e3ec9c4e277ff5206e4bf475181 | 159 | py | Python | burberryCrawl/database/__init__.py | matheuslins/burberrayCrawl | e4677da3affd6594b81ac892dabc86fefa556a95 | [
"MIT"
] | null | null | null | burberryCrawl/database/__init__.py | matheuslins/burberrayCrawl | e4677da3affd6594b81ac892dabc86fefa556a95 | [
"MIT"
] | null | null | null | burberryCrawl/database/__init__.py | matheuslins/burberrayCrawl | e4677da3affd6594b81ac892dabc86fefa556a95 | [
"MIT"
] | null | null | null | from elasticsearch import Elasticsearch
from burberryCrawl.settings import ES_HOST
def config_client():
return Elasticsearch(hosts=ES_HOST, timeout=25)
| 19.875 | 51 | 0.81761 | 20 | 159 | 6.35 | 0.7 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014388 | 0.125786 | 159 | 7 | 52 | 22.714286 | 0.899281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
e1310911e4b4dc9b008dd5aee05dcae0cbe50f7d | 58,141 | py | Python | scripts/comparesim.py | barronh/MONET | acd72487c7aeff66d89f87fa663a9c96fa9b7bb0 | [
"MIT"
] | 1 | 2019-07-09T19:50:59.000Z | 2019-07-09T19:50:59.000Z | scripts/comparesim.py | barronh/MONET | acd72487c7aeff66d89f87fa663a9c96fa9b7bb0 | [
"MIT"
] | null | null | null | scripts/comparesim.py | barronh/MONET | acd72487c7aeff66d89f87fa663a9c96fa9b7bb0 | [
"MIT"
] | null | null | null | #!/data/aqf/barryb/anaconda2/bin/python
###for AITKEN
#### /data/aqf/barryb/anaconda2/bin/python
###for WCOSS
### /naqfc/noscrub/Barry.Baker/anaconda2/bin/python
import f90nml
from numpy import sort
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
from numpy import unique,sort
from datetime imp... | 58.847166 | 178 | 0.525808 | 6,954 | 58,141 | 4.311188 | 0.040265 | 0.064576 | 0.08022 | 0.095464 | 0.898899 | 0.878219 | 0.863742 | 0.832889 | 0.801434 | 0.76938 | 0 | 0.02198 | 0.298103 | 58,141 | 987 | 179 | 58.906788 | 0.712661 | 0.011919 | 0 | 0.549626 | 0 | 0 | 0.131175 | 0.001637 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.051227 | 0.020277 | null | null | 0.048026 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
e135fc484b8b18222f07e44e40bf30ff007ddac7 | 47,747 | py | Python | workflow/tests/test_signals.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | workflow/tests/test_signals.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | workflow/tests/test_signals.py | sannleen/TolaActivity | b47154339c3a45583063ecad43b0b16ae2f8f36e | [
"Apache-2.0"
] | null | null | null | import json
import logging
import os
from chargebee import APIError
from chargebee.models import Subscription
from django.core import mail
from django.test import TestCase, override_settings, tag
from mock import Mock, patch
import factories
from tola import DEMO_BRANCH, PRODUCTION_BRANCH, STAGING_BRANCH
from tola.ma... | 43.96593 | 80 | 0.665989 | 5,486 | 47,747 | 5.572366 | 0.059059 | 0.04318 | 0.02787 | 0.032974 | 0.915473 | 0.903009 | 0.882499 | 0.851063 | 0.827641 | 0.811645 | 0 | 0.015041 | 0.23834 | 47,747 | 1,085 | 81 | 44.006452 | 0.825556 | 0.067564 | 0 | 0.779975 | 0 | 0 | 0.060161 | 0.006984 | 0 | 0 | 0 | 0 | 0.161928 | 1 | 0.07911 | false | 0 | 0.014833 | 0 | 0.110012 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e136a28995b75cc315e2a1362b822229e859378a | 170 | py | Python | tests/test_version.py | leukgen/register_toil | 4aa1767ab64d3dec8ada90d41d2b746a1ab29330 | [
"MIT"
] | 4 | 2019-03-21T22:31:17.000Z | 2021-04-29T10:52:51.000Z | tests/test_version.py | leukgen/register_toil | 4aa1767ab64d3dec8ada90d41d2b746a1ab29330 | [
"MIT"
] | 3 | 2019-03-26T20:27:34.000Z | 2021-05-13T02:45:52.000Z | tests/test_version.py | leukgen/register_toil | 4aa1767ab64d3dec8ada90d41d2b746a1ab29330 | [
"MIT"
] | null | null | null | """register_apps version test."""
from register_apps import __version__
def test_version():
"""Sample test for the __version__ variable."""
assert __version__
| 18.888889 | 51 | 0.735294 | 20 | 170 | 5.5 | 0.6 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 170 | 8 | 52 | 21.25 | 0.774648 | 0.405882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e19aeae76720ab94c894731749dc2b745ffd99d8 | 18,238 | py | Python | test/cmd/unix/test_cmd_sftp.py | jochenparm/moler | 0253d677e0ef150206758c7991197ba5687d0965 | [
"BSD-3-Clause"
] | 57 | 2018-02-20T08:16:47.000Z | 2022-03-28T10:36:57.000Z | test/cmd/unix/test_cmd_sftp.py | jochenparm/moler | 0253d677e0ef150206758c7991197ba5687d0965 | [
"BSD-3-Clause"
] | 377 | 2018-07-19T11:56:27.000Z | 2021-07-09T13:08:12.000Z | test/cmd/unix/test_cmd_sftp.py | jochenparm/moler | 0253d677e0ef150206758c7991197ba5687d0965 | [
"BSD-3-Clause"
] | 24 | 2018-04-14T20:49:40.000Z | 2022-03-29T10:44:26.000Z | # -*- coding: utf-8 -*-
"""
SFTP command test module.
"""
__author__ = 'Agnieszka Bylica, Marcin Usielski'
__copyright__ = 'Copyright (C) 2018-2019, Nokia'
__email__ = 'agnieszka.bylica@nokia.com, marcin.usielski@nokia.com'
import pytest
import time
from moler.cmd.unix.sftp import Sftp
from moler.exceptions import Co... | 44.921182 | 120 | 0.6958 | 2,524 | 18,238 | 4.797147 | 0.110935 | 0.069789 | 0.035266 | 0.047902 | 0.871655 | 0.84853 | 0.841262 | 0.790221 | 0.751569 | 0.682772 | 0 | 0.07656 | 0.18785 | 18,238 | 405 | 121 | 45.032099 | 0.740886 | 0.002632 | 0 | 0.537037 | 0 | 0.089506 | 0.403916 | 0.073754 | 0 | 0 | 0 | 0 | 0.049383 | 1 | 0.095679 | false | 0.101852 | 0.015432 | 0 | 0.151235 | 0.009259 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
becf43ecf5103e0cdadb99bbb85072ba99c78aaf | 9,380 | py | Python | commonroad/tests/geometry/test_shape.py | CommonRoad/commonroad-io | 93824961da9c41eb7768b5cf1acbed9a07446dc2 | [
"BSD-3-Clause"
] | 3 | 2022-01-05T09:10:18.000Z | 2022-03-22T15:09:43.000Z | commonroad/tests/geometry/test_shape.py | CommonRoad/commonroad-io | 93824961da9c41eb7768b5cf1acbed9a07446dc2 | [
"BSD-3-Clause"
] | null | null | null | commonroad/tests/geometry/test_shape.py | CommonRoad/commonroad-io | 93824961da9c41eb7768b5cf1acbed9a07446dc2 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import unittest
from commonroad.geometry.shape import Rectangle, Circle, Polygon, ShapeGroup
__author__ = "Moritz Untersperger"
__copyright__ = "TUM Cyber-Physical Systems Group"
__credits__ = ["Priority Program SPP 1835 Cooperative Interacting Automobiles"]
__version__ = "2022.1"
__maintainer__ = "... | 41.875 | 123 | 0.651279 | 1,346 | 9,380 | 4.291976 | 0.08841 | 0.033928 | 0.045179 | 0.060239 | 0.873291 | 0.860827 | 0.835901 | 0.822053 | 0.815129 | 0.799896 | 0 | 0.066216 | 0.211087 | 9,380 | 224 | 124 | 41.875 | 0.714459 | 0.021322 | 0 | 0.734177 | 0 | 0 | 0.019176 | 0.002506 | 0 | 0 | 0 | 0 | 0.107595 | 1 | 0.094937 | false | 0 | 0.018987 | 0 | 0.139241 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
beeaa2abac98ef07ae9cd63af46a783889866cd4 | 18,038 | py | Python | ExampleCases/OpFAST_FLORIS_WF3x1/plotyaw_RIS.py | tonino102008/openfast | cfb401af163f4e0b6bb8588c23374e1534ad8d87 | [
"Apache-2.0"
] | null | null | null | ExampleCases/OpFAST_FLORIS_WF3x1/plotyaw_RIS.py | tonino102008/openfast | cfb401af163f4e0b6bb8588c23374e1534ad8d87 | [
"Apache-2.0"
] | null | null | null | ExampleCases/OpFAST_FLORIS_WF3x1/plotyaw_RIS.py | tonino102008/openfast | cfb401af163f4e0b6bb8588c23374e1534ad8d87 | [
"Apache-2.0"
] | 1 | 2021-02-05T17:50:01.000Z | 2021-02-05T17:50:01.000Z | import matplotlib.pyplot as plt
import numpy
import pandas as pd
import control.matlab as cnt
import cp
import scipy.optimize as optim
dfdata = pd.read_csv('t1.T1.out', sep='\t', header=None, skiprows=10)
datadata = dfdata.values
dfdata2 = pd.read_csv('t2.T2.out', sep='\t', header=None, skiprows=10)
datadata2 = dfdata... | 46.015306 | 223 | 0.672636 | 3,079 | 18,038 | 3.900292 | 0.046444 | 0.139895 | 0.073611 | 0.064951 | 0.923141 | 0.903323 | 0.891665 | 0.868432 | 0.84037 | 0.834957 | 0 | 0.075831 | 0.08981 | 18,038 | 392 | 224 | 46.015306 | 0.655622 | 0.012196 | 0 | 0.706704 | 0 | 0 | 0.130508 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.01676 | 0 | 0.01676 | 0.002793 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3606280fc6bbe5cc3f938b802f0d0776fa8a0fc6 | 11,231 | py | Python | audit_log/tests/snapshots/snap_test_audit_logging.py | City-of-Helsinki/atv | dca73dab09ab0f3a051a9f691aec5674c6369bde | [
"MIT"
] | null | null | null | audit_log/tests/snapshots/snap_test_audit_logging.py | City-of-Helsinki/atv | dca73dab09ab0f3a051a9f691aec5674c6369bde | [
"MIT"
] | 34 | 2021-05-28T06:23:38.000Z | 2022-03-08T12:42:01.000Z | audit_log/tests/snapshots/snap_test_audit_logging.py | City-of-Helsinki/atv | dca73dab09ab0f3a051a9f691aec5674c6369bde | [
"MIT"
] | 1 | 2021-05-27T10:37:42.000Z | 2021-05-27T10:37:42.000Z | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots["test_log_actor_uuid 1"] = {
"audit_event": {
"actor": {
"ip_address": "192.168.1.1",
"provider": "",
... | 30.519022 | 81 | 0.507702 | 1,080 | 11,231 | 5.090741 | 0.065741 | 0.058203 | 0.068752 | 0.088396 | 0.964714 | 0.964714 | 0.964714 | 0.961622 | 0.961622 | 0.961622 | 0 | 0.186773 | 0.295877 | 11,231 | 367 | 82 | 30.60218 | 0.508472 | 0.00552 | 0 | 0.752187 | 0 | 0 | 0.491223 | 0.237148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005831 | 0 | 0.005831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
369966faf37fe25f03b693074cd6e8dbb46b1237 | 143,998 | py | Python | test/unit/messages/btc/test_btc_messages_util.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 21 | 2019-11-06T17:37:41.000Z | 2022-03-28T07:18:33.000Z | test/unit/messages/btc/test_btc_messages_util.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 4 | 2019-11-06T22:08:00.000Z | 2021-12-08T06:20:51.000Z | test/unit/messages/btc/test_btc_messages_util.py | doubleukay/bxgateway | ac01fc9475c039cf4255576dd4ecd6bff6c48f69 | [
"MIT"
] | 10 | 2020-08-05T15:58:16.000Z | 2022-02-07T23:51:10.000Z | from bxcommon.test_utils.abstract_test_case import AbstractTestCase
from bxcommon.utils import convert
from bxcommon.utils.blockchain_utils.btc.btc_common_utils import btc_varint_to_int
from bxgateway.btc_constants import BTC_HDR_COMMON_OFF, BTC_BLOCK_HDR_SIZE
from bxgateway.messages.btc.btc_messages_util import get_ne... | 5,142.785714 | 143,161 | 0.9985 | 126 | 143,998 | 1,140.706349 | 0.333333 | 0.000209 | 0.000188 | 0.000271 | 0.000417 | 0.000417 | 0.000417 | 0.000417 | 0 | 0 | 0 | 0.649993 | 0.001118 | 143,998 | 27 | 143,162 | 5,333.259259 | 0.349256 | 0 | 0 | 0 | 0 | 0 | 0.993993 | 0.993993 | 0 | 1 | 0 | 0 | 0.117647 | 1 | 0.058824 | false | 0 | 0.294118 | 0 | 0.411765 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
36c5bea6a1b5bbcab0632e0a182b5e57a08c7945 | 11,177 | py | Python | src/model.py | lsheiba/Image-Denoising-with-Deep-CNNs | 8396c5b6db8b6ed0103f873cae67fc07ab760a49 | [
"MIT"
] | null | null | null | src/model.py | lsheiba/Image-Denoising-with-Deep-CNNs | 8396c5b6db8b6ed0103f873cae67fc07ab760a49 | [
"MIT"
] | null | null | null | src/model.py | lsheiba/Image-Denoising-with-Deep-CNNs | 8396c5b6db8b6ed0103f873cae67fc07ab760a49 | [
"MIT"
] | null | null | null | import os
import numpy as np
import torch
from torch import nn
from torch.nn import functional as F
import torch.utils.data as td
import torchvision as tv
import pandas as pd
from PIL import Image
from matplotlib import pyplot as plt
from utils import imshow, NNRegressor
class DnCNN(NNRegressor):
def __init__(se... | 34.496914 | 93 | 0.537264 | 1,700 | 11,177 | 3.45 | 0.067059 | 0.084569 | 0.054561 | 0.060017 | 0.934186 | 0.931799 | 0.929753 | 0.927366 | 0.895652 | 0.895652 | 0 | 0.030331 | 0.309743 | 11,177 | 323 | 94 | 34.603715 | 0.729877 | 0.081686 | 0 | 0.879668 | 0 | 0 | 0.002345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049793 | false | 0 | 0.045643 | 0 | 0.145228 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36cd4ddcc333ba3d1a90edf94d7ff0e3fe27aa7b | 9,177 | py | Python | fly/migrations/0001_initial.py | chunjie-sam-liu/LNCediting | 24c1bbe5f03117da06d3d2fda492d4d5ad45c473 | [
"MIT"
] | null | null | null | fly/migrations/0001_initial.py | chunjie-sam-liu/LNCediting | 24c1bbe5f03117da06d3d2fda492d4d5ad45c473 | [
"MIT"
] | 1 | 2020-04-14T11:33:29.000Z | 2020-04-14T11:33:29.000Z | fly/migrations/0001_initial.py | chunjie-sam-liu/LNCediting | 24c1bbe5f03117da06d3d2fda492d4d5ad45c473 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-06-16 03:54
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Creat... | 53.354651 | 124 | 0.578947 | 926 | 9,177 | 5.535637 | 0.118791 | 0.121732 | 0.108857 | 0.145142 | 0.855443 | 0.792041 | 0.761412 | 0.746586 | 0.727078 | 0.710691 | 0 | 0.014881 | 0.275035 | 9,177 | 171 | 125 | 53.666667 | 0.755599 | 0.007301 | 0 | 0.693252 | 1 | 0 | 0.145712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018405 | 0 | 0.042945 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
36dd1571a89368e5785d988ced6f64c35e490fb1 | 72,845 | py | Python | reducer.py | vineeths96/QSGD | e5b61b1ebfa4288c3c2a9109819b72c13a93b5f7 | [
"MIT"
] | 1 | 2021-12-06T18:51:26.000Z | 2021-12-06T18:51:26.000Z | reducer.py | vineeths96/Gradient-Compression | e5b61b1ebfa4288c3c2a9109819b72c13a93b5f7 | [
"MIT"
] | null | null | null | reducer.py | vineeths96/Gradient-Compression | e5b61b1ebfa4288c3c2a9109819b72c13a93b5f7 | [
"MIT"
] | null | null | null | import torch
import torch.distributed
from compressors import (
NoneCompressor,
QSGDCompressor,
QSGDWECCompressor,
QSGDWECModCompressor,
TernGradCompressor,
TernGradModCompressor,
QSGDMaxNormCompressor,
# QSGDBPAllReduceCompressor,
# QSGDBPCompressor,
GlobalRandKMaxNormCompresso... | 39.185046 | 121 | 0.616391 | 8,603 | 72,845 | 4.906544 | 0.032547 | 0.021085 | 0.044041 | 0.064367 | 0.893795 | 0.875459 | 0.868992 | 0.856317 | 0.845467 | 0.828481 | 0 | 0.008106 | 0.290452 | 72,845 | 1,858 | 122 | 39.206136 | 0.808559 | 0.120804 | 0 | 0.770627 | 0 | 0 | 0.03155 | 0.000709 | 0 | 0 | 0 | 0 | 0.000825 | 1 | 0.061881 | false | 0.000825 | 0.0033 | 0.020627 | 0.125413 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d0fdd4d8b1937829d755d7177fb0fa87a748478 | 12,177 | py | Python | testsuite/spline-reg/run.py | luyatshimbalanga/OpenShadingLanguage | 2120647911af732f0d12d70e2f7f4e1ebe8fadcb | [
"BSD-3-Clause"
] | 1,105 | 2015-01-02T20:47:19.000Z | 2021-01-25T13:20:56.000Z | testsuite/spline-reg/run.py | luyatshimbalanga/OpenShadingLanguage | 2120647911af732f0d12d70e2f7f4e1ebe8fadcb | [
"BSD-3-Clause"
] | 696 | 2015-01-07T23:42:08.000Z | 2021-01-25T03:55:08.000Z | testsuite/spline-reg/run.py | luyatshimbalanga/OpenShadingLanguage | 2120647911af732f0d12d70e2f7f4e1ebe8fadcb | [
"BSD-3-Clause"
] | 248 | 2015-01-05T13:41:28.000Z | 2021-01-24T23:29:55.000Z | #!/usr/bin/env python
# Copyright Contributors to the Open Shading Language project.
# SPDX-License-Identifier: BSD-3-Clause
# https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
command += testshade("-t 1 -g 64 64 -od uint8 -o Fout spline_c_float_v_floatarray.tif test_spline_c_float_v_floatarray")
comm... | 83.40411 | 286 | 0.839534 | 2,043 | 12,177 | 4.531082 | 0.031816 | 0.156854 | 0.096792 | 0.140002 | 0.978071 | 0.978071 | 0.95949 | 0.77671 | 0.361024 | 0.361024 | 0 | 0.022838 | 0.072267 | 12,177 | 145 | 287 | 83.97931 | 0.796583 | 0.017246 | 0 | 0 | 0 | 0.206897 | 0.786556 | 0.586406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3d639826f680def5da87b001542afbaf2b12d527 | 2,863 | py | Python | open_anafi/lib/solde_factory.py | Cour-des-comptes/open-anafi-backend | 1d3ebcfe7b46315e91618f540ef1c95b4e20d9af | [
"MIT"
] | 7 | 2020-01-10T09:34:52.000Z | 2020-01-27T13:51:12.000Z | open_anafi/lib/solde_factory.py | Cour-des-comptes/open-anafi-backend | 1d3ebcfe7b46315e91618f540ef1c95b4e20d9af | [
"MIT"
] | 6 | 2020-01-26T20:38:07.000Z | 2022-02-10T12:12:53.000Z | open_anafi/lib/solde_factory.py | Cour-des-comptes/open-anafi-backend | 1d3ebcfe7b46315e91618f540ef1c95b4e20d9af | [
"MIT"
] | 4 | 2020-01-27T16:44:31.000Z | 2021-02-11T16:52:26.000Z | import logging
logger = logging.getLogger(__name__)
class SoldeFactory():
@staticmethod
def factory(type_solde, solde):
# each lambda function take c: credits dictionary and d: debits dictionnary
if type_solde == "SX":
# Solde Débiteur
if solde == "C":
return_func = lambda c, d: c[1] + c[2] + c[3] + c... | 34.914634 | 77 | 0.586098 | 474 | 2,863 | 3.436709 | 0.109705 | 0.132597 | 0.19644 | 0.208717 | 0.847145 | 0.845304 | 0.845304 | 0.845304 | 0.845304 | 0.731737 | 0 | 0.028466 | 0.23926 | 2,863 | 82 | 78 | 34.914634 | 0.719467 | 0.036326 | 0 | 0.636364 | 0 | 0 | 0.17852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012987 | false | 0 | 0.012987 | 0 | 0.051948 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1823a1e36df36e9a33f2b423cc81ea0a7c9c3401 | 125 | py | Python | acousticsim/analysis/formants/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 5 | 2018-01-15T22:06:20.000Z | 2022-02-21T07:02:40.000Z | acousticsim/analysis/formants/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | null | null | null | acousticsim/analysis/formants/__init__.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 2 | 2019-11-28T17:06:27.000Z | 2019-12-05T22:57:28.000Z |
from .lpc import file_to_formants, signal_to_formants
from .praat import file_to_formants_praat, signal_to_formants_praat
| 20.833333 | 67 | 0.864 | 20 | 125 | 4.9 | 0.4 | 0.408163 | 0.244898 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 5 | 68 | 25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a10aad44bca6f9041a924e5bbfb729ab2af70538 | 40,099 | py | Python | influxdb_client/service/variables_service.py | rhajek/influxdb-client-python | 852e6f1b1161df4d67eabc19cdb6b323a46b88e2 | [
"MIT"
] | null | null | null | influxdb_client/service/variables_service.py | rhajek/influxdb-client-python | 852e6f1b1161df4d67eabc19cdb6b323a46b88e2 | [
"MIT"
] | null | null | null | influxdb_client/service/variables_service.py | rhajek/influxdb-client-python | 852e6f1b1161df4d67eabc19cdb6b323a46b88e2 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Influx API Service
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
OpenAPI spec version: 0.1.0
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_import
import re # noqa: F40... | 41.596473 | 135 | 0.629816 | 4,808 | 40,099 | 4.940932 | 0.03619 | 0.053881 | 0.083684 | 0.027277 | 0.967798 | 0.963672 | 0.958116 | 0.950876 | 0.943846 | 0.931849 | 0 | 0.015156 | 0.284246 | 40,099 | 963 | 136 | 41.639668 | 0.81255 | 0.308287 | 0 | 0.802682 | 1 | 0 | 0.194629 | 0.041565 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036398 | false | 0 | 0.007663 | 0 | 0.097701 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a117fa3da205fffca963ba6aa31e36ecb1a0dad7 | 8,270 | py | Python | nlm/tests/test_rpc.py | hscspring/NLM | d0c5b993e54ad8ff921568bae46403987301de29 | [
"MIT"
] | 42 | 2019-12-02T10:35:32.000Z | 2020-04-06T16:02:18.000Z | nlm/tests/test_rpc.py | hscspring/NLM | d0c5b993e54ad8ff921568bae46403987301de29 | [
"MIT"
] | null | null | null | nlm/tests/test_rpc.py | hscspring/NLM | d0c5b993e54ad8ff921568bae46403987301de29 | [
"MIT"
] | 13 | 2019-12-03T06:09:10.000Z | 2020-03-18T16:12:10.000Z | import os
import sys
import pytest
import json
import grpc
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(ROOT_PATH)
import nlm_pb2
import nlm_pb2_grpc
@pytest.fixture(scope='module')
def grpc_add_to_server():
from nlm_pb2_grpc import add_NLMServicer_to_server
retur... | 33.617886 | 72 | 0.690085 | 1,019 | 8,270 | 5.451423 | 0.101079 | 0.051845 | 0.057966 | 0.057606 | 0.90369 | 0.880468 | 0.849865 | 0.836904 | 0.836904 | 0.836904 | 0 | 0.010567 | 0.187545 | 8,270 | 245 | 73 | 33.755102 | 0.816193 | 0 | 0 | 0.751244 | 0 | 0 | 0.065715 | 0 | 0 | 0 | 0 | 0 | 0.348259 | 1 | 0.079602 | false | 0.00995 | 0.049751 | 0 | 0.144279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a1181b5b954c0011ce3eadf190098b8cc0c40b95 | 107 | py | Python | getting_started/line.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/line.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | getting_started/line.py | AoEiuV020/LearningPython | aac0f3f99cfd3d03a96a3c0e41da8f82ea0b8c70 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
assert True; assert not False
assert True
assert not False
| 15.285714 | 29 | 0.691589 | 17 | 107 | 4.352941 | 0.647059 | 0.27027 | 0.432432 | 0.513514 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.168224 | 107 | 6 | 30 | 17.833333 | 0.808989 | 0.401869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a126b77cfcb10de3c0a43009c025f97c29906400 | 4,480 | py | Python | kornia/morphology/morphology.py | gf0507033/kornia | 2624f40a62d3639e6d946f3ca41fd1ce4b9de82d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kornia/morphology/morphology.py | gf0507033/kornia | 2624f40a62d3639e6d946f3ca41fd1ce4b9de82d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | kornia/morphology/morphology.py | gf0507033/kornia | 2624f40a62d3639e6d946f3ca41fd1ce4b9de82d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # Libraries
import torch
import torch.nn as nn
import torch.nn.functional as F
from kornia.morphology.basic_operators import dilation, erosion
from kornia.morphology.open_close import open, close
# morphological gradient
def gradient(tensor: torch.Tensor, kernel: torch.Tensor) -> torch.Tensor:
r"""
Retu... | 30.27027 | 85 | 0.602902 | 579 | 4,480 | 4.639033 | 0.153713 | 0.122859 | 0.075949 | 0.042442 | 0.838049 | 0.831348 | 0.831348 | 0.806031 | 0.806031 | 0.806031 | 0 | 0.010195 | 0.277455 | 4,480 | 147 | 86 | 30.47619 | 0.819586 | 0.407589 | 0 | 0.72 | 0 | 0 | 0.214379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.1 | 0 | 0.22 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a128c3a3819e7cffb1b0c89f2415e97065855f8e | 1,443 | py | Python | test/test_api.py | rviollette/ctypeslib | 7b2a97477da96bdb91ff3182544650c9331f9d42 | [
"MIT"
] | null | null | null | test/test_api.py | rviollette/ctypeslib | 7b2a97477da96bdb91ff3182544650c9331f9d42 | [
"MIT"
] | null | null | null | test/test_api.py | rviollette/ctypeslib | 7b2a97477da96bdb91ff3182544650c9331f9d42 | [
"MIT"
] | null | null | null | import unittest
import io
import ctypeslib
class ApiTest(unittest.TestCase):
def test_basic_use_string(self):
py_namespace = ctypeslib.translate('''
int i = 12;
char c2[3] = {'a','b','c'};
struct example_detail {
int first;
int last;
};
struct example {
int argsz;
int flags;
int coun... | 24.05 | 60 | 0.61885 | 179 | 1,443 | 4.759777 | 0.240223 | 0.193662 | 0.140845 | 0.161972 | 0.706573 | 0.706573 | 0.706573 | 0.706573 | 0.706573 | 0.706573 | 0 | 0.016544 | 0.246015 | 1,443 | 59 | 61 | 24.457627 | 0.766544 | 0.028413 | 0 | 0.77551 | 0 | 0 | 0.374553 | 0.030021 | 0 | 0 | 0 | 0 | 0.244898 | 1 | 0.040816 | false | 0 | 0.061224 | 0 | 0.122449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
a1798a095c8260572f87f6045e50e3aab9085761 | 114 | py | Python | ramda/dec_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/dec_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/dec_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from .dec import dec
from ramda.private.asserts import assert_equal
def dec_test():
assert_equal(dec(5), 4)
| 16.285714 | 46 | 0.745614 | 19 | 114 | 4.315789 | 0.631579 | 0.268293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.157895 | 114 | 6 | 47 | 19 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a191d934711bed3af32e9e697e43102d0a3c4215 | 35,682 | py | Python | sdk/python/pulumi_azure/streamanalytics/reference_input_mssql.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/streamanalytics/reference_input_mssql.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/streamanalytics/reference_input_mssql.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 50.684659 | 370 | 0.676279 | 4,300 | 35,682 | 5.40186 | 0.056744 | 0.069614 | 0.087395 | 0.071035 | 0.917126 | 0.899733 | 0.88488 | 0.868521 | 0.85849 | 0.841355 | 0 | 0.005282 | 0.230592 | 35,682 | 703 | 371 | 50.756757 | 0.840788 | 0.410347 | 0 | 0.695313 | 1 | 0 | 0.120742 | 0.038442 | 0 | 0 | 0 | 0 | 0 | 1 | 0.161458 | false | 0.065104 | 0.013021 | 0 | 0.270833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
a1981623b7677da063b8b7f7de94860d4b096a7c | 31,391 | py | Python | test/functional/omni_nonfungibletokens.py | fiscalobject/uniasset | 54337e5bfae4af6b1ac453937038201835de15c4 | [
"MIT"
] | 2 | 2020-11-12T17:01:38.000Z | 2021-04-29T08:52:13.000Z | test/functional/omni_nonfungibletokens.py | fiscalobject/uniasset | 54337e5bfae4af6b1ac453937038201835de15c4 | [
"MIT"
] | null | null | null | test/functional/omni_nonfungibletokens.py | fiscalobject/uniasset | 54337e5bfae4af6b1ac453937038201835de15c4 | [
"MIT"
] | 7 | 2020-10-31T12:14:31.000Z | 2022-02-14T18:24:12.000Z | #!/usr/bin/env python3
# Copyright (c) 2017-2018 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test non-fungible tokens."""
from test_framework.test_framework import BitcoinTestFramework
from test... | 47.925191 | 115 | 0.656207 | 3,664 | 31,391 | 5.447052 | 0.066321 | 0.163143 | 0.245315 | 0.209239 | 0.88105 | 0.831196 | 0.799429 | 0.765357 | 0.750125 | 0.73825 | 0 | 0.038357 | 0.201045 | 31,391 | 654 | 116 | 47.998471 | 0.757416 | 0.086713 | 0 | 0.719486 | 0 | 0 | 0.15148 | 0 | 0 | 0 | 0 | 0 | 0.648822 | 1 | 0.004283 | false | 0 | 0.006424 | 0 | 0.012848 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a1ba6423e67f441dae8f1b1558ee6cb608829a25 | 231 | py | Python | Calculator/__init__.py | biswanathdehury01/Create-your-own-Python-Library | 9b9fdff1a4fa59b3d65328d3dd2d13abf525bc5b | [
"MIT"
] | null | null | null | Calculator/__init__.py | biswanathdehury01/Create-your-own-Python-Library | 9b9fdff1a4fa59b3d65328d3dd2d13abf525bc5b | [
"MIT"
] | null | null | null | Calculator/__init__.py | biswanathdehury01/Create-your-own-Python-Library | 9b9fdff1a4fa59b3d65328d3dd2d13abf525bc5b | [
"MIT"
] | null | null | null | def add_numbers(num1 , num2):
return num1 + num2
def subtract_numbers(num1 , num2):
return num1 - num2
def multiply_numbers(num1 , num2):
return num1 * num2
def divide_numbers(num1 , num2):
return num1 / num2
| 19.25 | 34 | 0.679654 | 32 | 231 | 4.78125 | 0.28125 | 0.418301 | 0.392157 | 0.54902 | 0.816993 | 0.816993 | 0.627451 | 0 | 0 | 0 | 0 | 0.090395 | 0.233766 | 231 | 11 | 35 | 21 | 0.774011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
a1d56aeb1ed8024b5621fe6a0a986e27e8271aac | 115,938 | py | Python | wavefront_api_client/api/account__user_and_service_account_api.py | httpsgithu/python-client | f85a530367cdabe458a11919ad35609b9bc0606b | [
"Apache-2.0"
] | null | null | null | wavefront_api_client/api/account__user_and_service_account_api.py | httpsgithu/python-client | f85a530367cdabe458a11919ad35609b9bc0606b | [
"Apache-2.0"
] | null | null | null | wavefront_api_client/api/account__user_and_service_account_api.py | httpsgithu/python-client | f85a530367cdabe458a11919ad35609b9bc0606b | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Wavefront REST API Documentation
<p>The Wavefront REST API enables you to interact with Wavefront servers using standard REST API tools. You can use the REST API to automate commonly executed operations such as automatically tagging sources.</p><p>When you make REST API calls outside the W... | 40.340292 | 409 | 0.601537 | 12,937 | 115,938 | 5.141377 | 0.022648 | 0.054244 | 0.024416 | 0.031392 | 0.9782 | 0.975659 | 0.97375 | 0.96945 | 0.967255 | 0.964128 | 0 | 0.019266 | 0.304723 | 115,938 | 2,873 | 410 | 40.354333 | 0.805878 | 0.339397 | 0 | 0.841833 | 0 | 0 | 0.173017 | 0.056477 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038089 | false | 0 | 0.002582 | 0 | 0.097482 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a1fbedb1193de89c013c71cc079add436955beb9 | 4,178 | py | Python | test/toolset-mock/src/clang-vxworks-4.0.1.py | MaxSac/build | 482c25f3a26171073c7e6c59f0427f2259a63fec | [
"BSL-1.0"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | test/toolset-mock/src/clang-vxworks-4.0.1.py | MaxSac/build | 482c25f3a26171073c7e6c59f0427f2259a63fec | [
"BSL-1.0"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | test/toolset-mock/src/clang-vxworks-4.0.1.py | MaxSac/build | 482c25f3a26171073c7e6c59f0427f2259a63fec | [
"BSL-1.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | #!/usr/bin/python
#
# Copyright 2018 Steven Watanabe
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
from MockProgram import *
command('clang++', '-print-prog-name=ar', stdout=script('ar.py'))
command('clang++',... | 97.162791 | 257 | 0.62853 | 616 | 4,178 | 4.186688 | 0.149351 | 0.074447 | 0.113998 | 0.151997 | 0.882513 | 0.863125 | 0.863125 | 0.84684 | 0.84684 | 0.84684 | 0 | 0.021255 | 0.076592 | 4,178 | 42 | 258 | 99.47619 | 0.647227 | 0.046434 | 0 | 0 | 0 | 0.24 | 0.49736 | 0.167463 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.04 | 0 | 0.04 | 0.08 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
62fce2061fc9da6bb7ddbbfd2bb56160b5711c03 | 84,404 | py | Python | tests/api_tests/test_workspace_audit_and_research_directory_api.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 39 | 2017-10-13T19:16:27.000Z | 2021-09-24T16:58:21.000Z | tests/api_tests/test_workspace_audit_and_research_directory_api.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 312 | 2017-09-08T15:42:13.000Z | 2022-03-23T18:21:40.000Z | tests/api_tests/test_workspace_audit_and_research_directory_api.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 19 | 2017-09-15T13:58:00.000Z | 2022-02-07T18:33:20.000Z | from tests.helpers.unittest_base import BaseTestCase
from rdr_service.clock import FakeClock
from rdr_service import clock
from datetime import timedelta
class ResearchProjectsDirectoryApiTest(BaseTestCase):
def setUp(self):
super().setUp(with_data=False)
def test_get_research_projects_directory_end_... | 53.555838 | 120 | 0.468592 | 5,374 | 84,404 | 7.287309 | 0.050242 | 0.03677 | 0.027654 | 0.016496 | 0.964966 | 0.958633 | 0.951356 | 0.940504 | 0.9308 | 0.913488 | 0 | 0.041164 | 0.412279 | 84,404 | 1,575 | 121 | 53.589841 | 0.748297 | 0.01135 | 0 | 0.823995 | 0 | 0 | 0.40721 | 0.123277 | 0 | 0 | 0 | 0 | 0.04944 | 1 | 0.004614 | false | 0 | 0.002637 | 0 | 0.00791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c54030d70028f11e5e36d22d7078af92a579053c | 113 | py | Python | AlphaPose/alphapose/version.py | NeelayS/pose_tracking | 68d151eef0c6a84623348f7be76ece709e6ca57a | [
"MIT"
] | null | null | null | AlphaPose/alphapose/version.py | NeelayS/pose_tracking | 68d151eef0c6a84623348f7be76ece709e6ca57a | [
"MIT"
] | null | null | null | AlphaPose/alphapose/version.py | NeelayS/pose_tracking | 68d151eef0c6a84623348f7be76ece709e6ca57a | [
"MIT"
] | null | null | null | # GENERATED VERSION FILE
# TIME: Tue Oct 6 17:46:50 2020
__version__ = "0.3.0+0e6315d"
short_version = "0.3.0"
| 18.833333 | 32 | 0.690265 | 21 | 113 | 3.47619 | 0.714286 | 0.219178 | 0.246575 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 0.168142 | 113 | 5 | 33 | 22.6 | 0.542553 | 0.469027 | 0 | 0 | 1 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c543d501e3dafaac9ed3b3b3afb83a9a2ce50394 | 271 | py | Python | python/iniparse/configparser.py | Soft8Soft/verge3d-blender-to-webgl-addon | 8e860242a0bce5098edfe640c65a73aa0a333210 | [
"Apache-2.0"
] | 86 | 2018-08-14T17:08:27.000Z | 2022-03-22T10:35:28.000Z | python/iniparse/configparser.py | Soft8Soft/verge3d-blender-to-webgl-addon | 8e860242a0bce5098edfe640c65a73aa0a333210 | [
"Apache-2.0"
] | 10 | 2019-01-18T15:47:34.000Z | 2021-06-04T13:17:01.000Z | python/iniparse/configparser.py | Soft8Soft/verge3d-blender-to-webgl-addon | 8e860242a0bce5098edfe640c65a73aa0a333210 | [
"Apache-2.0"
] | 18 | 2018-08-15T10:32:19.000Z | 2022-02-28T16:41:51.000Z | try:
from ConfigParser import *
# not all objects get imported with __all__
from ConfigParser import Error, InterpolationMissingOptionError
except ImportError:
from configparser import *
from configparser import Error, InterpolationMissingOptionError
| 33.875 | 67 | 0.793358 | 26 | 271 | 8.115385 | 0.538462 | 0.303318 | 0.417062 | 0.255924 | 0.549763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180812 | 271 | 7 | 68 | 38.714286 | 0.95045 | 0.151292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
c54516232146b735018c8bdaf9bb58ff9d16ea60 | 189 | py | Python | app/default/__init__.py | Brunoro811/api_dangels | 21c064eaa4f5009412dddc9676044d6cc08a5b65 | [
"MIT"
] | null | null | null | app/default/__init__.py | Brunoro811/api_dangels | 21c064eaa4f5009412dddc9676044d6cc08a5b65 | [
"MIT"
] | null | null | null | app/default/__init__.py | Brunoro811/api_dangels | 21c064eaa4f5009412dddc9676044d6cc08a5b65 | [
"MIT"
] | null | null | null | from .default_types_users import default_types_users
from .default_client import default_client
from .default_types_sales import default_types_sales
from .default_values import data_month
| 31.5 | 52 | 0.888889 | 28 | 189 | 5.571429 | 0.357143 | 0.282051 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089947 | 189 | 5 | 53 | 37.8 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9a72068748c1b6b7edc8f816c0d3132e613b037b | 28,001 | py | Python | tests/test_partmod.py | ldevulder/yomi | 9a9097a0704810e0b730152effdfb7f352e9b4eb | [
"Apache-2.0"
] | null | null | null | tests/test_partmod.py | ldevulder/yomi | 9a9097a0704810e0b730152effdfb7f352e9b4eb | [
"Apache-2.0"
] | null | null | null | tests/test_partmod.py | ldevulder/yomi | 9a9097a0704810e0b730152effdfb7f352e9b4eb | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Author: Alberto Planas <aplanas@suse.com>
#
# Copyright 2019 SUSE LLC.
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The A... | 34.105968 | 83 | 0.341595 | 1,740 | 28,001 | 5.007471 | 0.112644 | 0.066108 | 0.082635 | 0.057845 | 0.84483 | 0.836451 | 0.825778 | 0.811431 | 0.7871 | 0.76449 | 0 | 0.017139 | 0.541588 | 28,001 | 820 | 84 | 34.147561 | 0.661655 | 0.030035 | 0 | 0.675291 | 0 | 0 | 0.166046 | 0.032281 | 0 | 0 | 0 | 0 | 0.029754 | 1 | 0.023286 | false | 0 | 0.007762 | 0 | 0.032342 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9a922805cdfe3a5f391e31c385094515db7aa725 | 329 | py | Python | quadpy/pyramid/__init__.py | dariusarnold/quadpy | 9dc7c1ebff99d15ae57ed9195cde94d97a599be8 | [
"MIT"
] | null | null | null | quadpy/pyramid/__init__.py | dariusarnold/quadpy | 9dc7c1ebff99d15ae57ed9195cde94d97a599be8 | [
"MIT"
] | null | null | null | quadpy/pyramid/__init__.py | dariusarnold/quadpy | 9dc7c1ebff99d15ae57ed9195cde94d97a599be8 | [
"MIT"
] | null | null | null | from ._felippa import (
felippa_1,
felippa_2,
felippa_3,
felippa_4,
felippa_5,
felippa_6,
felippa_7,
felippa_8,
felippa_9,
)
__all__ = [
"felippa_1",
"felippa_2",
"felippa_3",
"felippa_4",
"felippa_5",
"felippa_6",
"felippa_7",
"felippa_8",
"felip... | 13.708333 | 23 | 0.568389 | 40 | 329 | 4.1 | 0.325 | 0.097561 | 0.182927 | 0.195122 | 0.878049 | 0.878049 | 0.878049 | 0.878049 | 0.878049 | 0.878049 | 0 | 0.078603 | 0.303951 | 329 | 23 | 24 | 14.304348 | 0.637555 | 0 | 0 | 0 | 0 | 0 | 0.246201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9aa26d8dd4c0ca6d017595837dc3d71868518eb4 | 69,631 | py | Python | tests/test_questionnaireresponse.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_questionnaireresponse.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | tests/test_questionnaireresponse.py | glichtner/fhir.resources | 94896d8f8a0b7dd69253762aab968f4fd6eb69a0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
Release: R5
Version: 4.5.0
Build ID: 0d95498
Last updated: 2021-04-03T00:34:11.075+00:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from fhir.resources import fhirtypes # noqa: F401
from fhir.resou... | 39.473356 | 88 | 0.589766 | 10,740 | 69,631 | 3.816387 | 0.036778 | 0.101615 | 0.212452 | 0.175295 | 0.942227 | 0.926174 | 0.907363 | 0.886162 | 0.827779 | 0.80626 | 0 | 0.079341 | 0.196866 | 69,631 | 1,763 | 89 | 39.495746 | 0.653595 | 0.015137 | 0 | 0.422353 | 0 | 0.001765 | 0.160515 | 0.0073 | 0 | 0 | 0 | 0 | 0.418235 | 1 | 0.005882 | false | 0 | 0.001765 | 0 | 0.007647 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
9ae35fd2f861db90faa296b2c3cb168bd8403548 | 6,842 | py | Python | RasPi_Dev/ros_ws/build/vslam/rtabmap_ros/catkin_generated/pkg.installspace.context.pc.py | QianheYu/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | 1 | 2022-03-11T03:31:15.000Z | 2022-03-11T03:31:15.000Z | RasPi_Dev/ros_ws/build/vslam/rtabmap_ros/catkin_generated/pkg.installspace.context.pc.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | RasPi_Dev/ros_ws/build/vslam/rtabmap_ros/catkin_generated/pkg.installspace.context.pc.py | bravetree/xtark_driver_dev | 1708888161cf20c0d1f45c99d0da4467d69c26c8 | [
"BSD-3-Clause"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/xtark/ros_ws/install/include;/home/xtark/ros_ws/devel/lib/rtabmap-0.19/../../include/rtabmap-0.19;/opt/ros/kinetic/include/opencv-3.3.1-dev;/opt/ros/kinetic/include/opencv-3.3.1-dev/opencv".split... | 760.222222 | 5,828 | 0.80152 | 1,325 | 6,842 | 3.997736 | 0.115472 | 0.111006 | 0.240514 | 0.283934 | 0.906362 | 0.902398 | 0.902398 | 0.902398 | 0.902398 | 0.902398 | 0 | 0.061443 | 0.0057 | 6,842 | 8 | 5,829 | 855.25 | 0.717184 | 0.007892 | 0 | 0 | 1 | 0.714286 | 0.96036 | 0.957265 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
9af25c3737a21381d7ab5162b400d6fcb877fb70 | 60,552 | py | Python | stubs.min/System/Windows/Documents/__init___parts/Typography.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2017-07-25T14:30:18.000Z | 2017-07-25T14:30:18.000Z | stubs.min/System/Windows/Documents/__init___parts/Typography.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/System/Windows/Documents/__init___parts/Typography.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class Typography(object):
""" Provides access to a rich set of OpenType typography properties. """
@staticmethod
def GetAnnotationAlternates(element):
"""
GetAnnotationAlternates(element: DependencyObject) -> int
Returns the value of the
System.Windows.Documents.Typography.AnnotationAlterna... | 35.70283 | 186 | 0.732775 | 6,906 | 60,552 | 6.437446 | 0.045323 | 0.064917 | 0.048361 | 0.077378 | 0.76231 | 0.758823 | 0.758823 | 0.758823 | 0.745799 | 0.743482 | 0.00142 | 0.008327 | 0.200753 | 60,552 | 1,695 | 187 | 35.723894 | 0.908505 | 0.612185 | 0 | 0.498551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.249275 | false | 0.249275 | 0 | 0 | 0.501449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 8 |
b11ce3cff2f5d7ed303297c1ffcef9e300d6334e | 113 | py | Python | app/test_celery/__init__.py | newbieof410/dockerize-flask-celery | 2f8080c30f0f38da8984fe4d1f70c3e15576ab10 | [
"MIT"
] | 1 | 2021-12-17T08:32:28.000Z | 2021-12-17T08:32:28.000Z | app/test_celery/__init__.py | newbieof410/dockerize-flask-celery | 2f8080c30f0f38da8984fe4d1f70c3e15576ab10 | [
"MIT"
] | null | null | null | app/test_celery/__init__.py | newbieof410/dockerize-flask-celery | 2f8080c30f0f38da8984fe4d1f70c3e15576ab10 | [
"MIT"
] | 1 | 2021-12-17T08:32:16.000Z | 2021-12-17T08:32:16.000Z | from flask import Blueprint
test_celery = Blueprint('test_celery', __name__)
from app.test_celery import views
| 18.833333 | 48 | 0.814159 | 16 | 113 | 5.3125 | 0.5625 | 0.352941 | 0.447059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 5 | 49 | 22.6 | 0.858586 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
b15900c1d221edb549efde461e7093ae929b54d5 | 225 | py | Python | core/extensions/passive/__init__.py | Grass-CLP/kungfu | 6085a9e642c092c97af0df849fb18ceeb8896bba | [
"Apache-2.0"
] | null | null | null | core/extensions/passive/__init__.py | Grass-CLP/kungfu | 6085a9e642c092c97af0df849fb18ceeb8896bba | [
"Apache-2.0"
] | null | null | null | core/extensions/passive/__init__.py | Grass-CLP/kungfu | 6085a9e642c092c97af0df849fb18ceeb8896bba | [
"Apache-2.0"
] | null | null | null | from . import ${PROJECT_NAME} as ext
from extensions import EXTENSION_REGISTRY_MD, EXTENSION_REGISTRY_TD
EXTENSION_REGISTRY_MD.register_extension('passive', ext.MD)
EXTENSION_REGISTRY_TD.register_extension('passive', ext.TD)
| 45 | 67 | 0.848889 | 31 | 225 | 5.806452 | 0.419355 | 0.377778 | 0.211111 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 225 | 4 | 68 | 56.25 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.062222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0.5 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
b15a9ffe9e5238d9db9ed7b695e13304c631628b | 1,729 | py | Python | tests/test_pypale.py | anthonycorletti/pypale | 4c480205db88fb4a389a838bf55bb8fa663c0716 | [
"MIT"
] | null | null | null | tests/test_pypale.py | anthonycorletti/pypale | 4c480205db88fb4a389a838bf55bb8fa663c0716 | [
"MIT"
] | null | null | null | tests/test_pypale.py | anthonycorletti/pypale | 4c480205db88fb4a389a838bf55bb8fa663c0716 | [
"MIT"
] | null | null | null | import time
from pypale import Pypale
from tests.factories import test_email
def test_pypale_valid_token(_example_dot_com_1s_token: Pypale) -> None:
email = test_email()
token = _example_dot_com_1s_token.generate_token(email=email)
assert _example_dot_com_1s_token.valid_token(return_token=token, return_e... | 32.018519 | 88 | 0.773279 | 254 | 1,729 | 4.724409 | 0.129921 | 0.133333 | 0.173333 | 0.2 | 0.8275 | 0.8275 | 0.803333 | 0.803333 | 0.769167 | 0.769167 | 0 | 0.012228 | 0.148641 | 1,729 | 53 | 89 | 32.622642 | 0.802989 | 0 | 0 | 0.45 | 0 | 0 | 0.023713 | 0 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.15 | false | 0 | 0.075 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b178cd11656d72098d61170594cba7f13c66632f | 5,234 | py | Python | whitehat/images.py | EterNomm/Whitehat | 411dcac24161d3a07b79b8c1294bb805452d6e4a | [
"Apache-2.0"
] | 7 | 2021-10-30T05:31:39.000Z | 2022-02-19T21:44:02.000Z | whitehat/images.py | EterNomm/Whitehat | 411dcac24161d3a07b79b8c1294bb805452d6e4a | [
"Apache-2.0"
] | null | null | null | whitehat/images.py | EterNomm/Whitehat | 411dcac24161d3a07b79b8c1294bb805452d6e4a | [
"Apache-2.0"
] | 5 | 2021-10-31T12:12:00.000Z | 2022-03-03T03:25:02.000Z | from .errors import *
end_hex = b"\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82"
class PNG:
"""
Function for PNG.
-
-----
Parameter :
- image_path: `str` | Set PNG file to modify
-----
Methods :
- hide_message
- hide_program
- reveal_message
- reveal_program
"""
... | 25.043062 | 95 | 0.507833 | 606 | 5,234 | 4.239274 | 0.141914 | 0.070066 | 0.060724 | 0.052939 | 0.949397 | 0.944336 | 0.938887 | 0.938887 | 0.938887 | 0.938887 | 0 | 0.008812 | 0.371227 | 5,234 | 208 | 96 | 25.163462 | 0.771802 | 0.242835 | 0 | 0.954545 | 0 | 0.011364 | 0.070196 | 0.013809 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113636 | false | 0.045455 | 0.011364 | 0 | 0.170455 | 0.068182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4946d419b5f36c3fcc6d79d7c8b32ec4870972f9 | 79 | py | Python | lg_attract_loop/src/lg_attract_loop/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_attract_loop/src/lg_attract_loop/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | lg_attract_loop/src/lg_attract_loop/__init__.py | carlosvquezada/lg_ros_nodes | 7560e99272d06ef5c80a5444131dad72c078a718 | [
"Apache-2.0"
] | null | null | null | from attract_loop import AttractLoop
from attract_loop import DirectorAPIProxy
| 26.333333 | 41 | 0.898734 | 10 | 79 | 6.9 | 0.6 | 0.318841 | 0.434783 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 42 | 39.5 | 0.971831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
4976363922fdda65854d391c87f74cfdc8d8f7f4 | 5,338 | py | Python | loadModelTest.py | low2by/holofan | 48e1ba50be8e969d053ecaa61dbc9c571ef6c8fc | [
"MIT"
] | null | null | null | loadModelTest.py | low2by/holofan | 48e1ba50be8e969d053ecaa61dbc9c571ef6c8fc | [
"MIT"
] | null | null | null | loadModelTest.py | low2by/holofan | 48e1ba50be8e969d053ecaa61dbc9c571ef6c8fc | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
from PIL import Image
import matplotlib.pyplot as plt
x_test = np.load("face_landmarks_cleaned/x_test.npy")/255
model_layers = [
tf.keras.layers.SeparableConv2D( 128 , input_shape=( 96 , 96 , 1 ) , kernel_size=( 5 , 5 ) , strides=1 ),
tf.keras.layers.BatchNormalizat... | 48.527273 | 126 | 0.662608 | 736 | 5,338 | 4.726902 | 0.130435 | 0.110664 | 0.194309 | 0.289738 | 0.818051 | 0.797643 | 0.782121 | 0.773498 | 0.773498 | 0.773498 | 0 | 0.074149 | 0.163732 | 5,338 | 109 | 127 | 48.972477 | 0.705197 | 0.014612 | 0 | 0.6125 | 0 | 0 | 0.049648 | 0.01712 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4991f0f12881e1bfeced54dd39f56dcfc9443bf8 | 7,536 | py | Python | models.py | Niuyuhang03/pyGAT | 93e1d886adb6766c2a4b2a0a254f0a949670dd86 | [
"MIT"
] | null | null | null | models.py | Niuyuhang03/pyGAT | 93e1d886adb6766c2a4b2a0a254f0a949670dd86 | [
"MIT"
] | null | null | null | models.py | Niuyuhang03/pyGAT | 93e1d886adb6766c2a4b2a0a254f0a949670dd86 | [
"MIT"
] | null | null | null | import torch.nn as nn
import torch
import torch.nn.functional as F
from layers import GraphAttentionLayer, GraphAttentionLayer_rel, StructuralFingerprintLayer, RWRLayer, GraphAttentionLayer_all
class GAT(nn.Module):
def __init__(self, nfeat, nhid, nclass, dropout, alpha, nheads, dataset, experiment):
supe... | 51.265306 | 154 | 0.611863 | 1,006 | 7,536 | 4.427435 | 0.088469 | 0.007185 | 0.03233 | 0.053884 | 0.891109 | 0.891109 | 0.882353 | 0.870903 | 0.863044 | 0.84194 | 0 | 0.002494 | 0.255042 | 7,536 | 146 | 155 | 51.616438 | 0.79088 | 0.018976 | 0 | 0.730159 | 0 | 0 | 0.023858 | 0.011929 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.031746 | 0 | 0.190476 | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
499bf5800cdea979d18b6095f0573fa39bb27f87 | 101 | py | Python | models/__init__.py | qixuxiang/Pytorch_Lightweight_Network | 25fd3148b7c635cb6cbe6dc184dbed04d6f96282 | [
"MIT"
] | 82 | 2019-06-17T06:00:09.000Z | 2021-11-24T09:27:23.000Z | models/__init__.py | qixuxiang/Pytorch_Lightweight_Network | 25fd3148b7c635cb6cbe6dc184dbed04d6f96282 | [
"MIT"
] | 4 | 2019-06-20T11:29:19.000Z | 2021-07-28T03:31:20.000Z | models/__init__.py | qixuxiang/Pytorch_Lightweight_Network | 25fd3148b7c635cb6cbe6dc184dbed04d6f96282 | [
"MIT"
] | 17 | 2019-06-20T11:22:34.000Z | 2021-03-16T12:37:41.000Z | from models.defaults import set_default_activation
from models.defaults import set_default_norm_layer | 50.5 | 50 | 0.910891 | 15 | 101 | 5.8 | 0.6 | 0.229885 | 0.413793 | 0.551724 | 0.781609 | 0.781609 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 101 | 2 | 51 | 50.5 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
49a0524fabf8517a5e4eb23f2f91a4d9d61d8c6c | 98 | py | Python | pymtl3/passes/tracing/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 152 | 2020-06-03T02:34:11.000Z | 2022-03-30T04:16:45.000Z | pymtl3/passes/tracing/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 139 | 2019-05-29T00:37:09.000Z | 2020-05-17T16:49:26.000Z | pymtl3/passes/tracing/__init__.py | kevinyuan/pymtl3 | 5949e6a4acc625c0ccbbb25be3af1d0db683df3c | [
"BSD-3-Clause"
] | 22 | 2020-05-18T13:42:05.000Z | 2022-03-11T08:37:51.000Z | from .PrintTextWavePass import PrintTextWavePass
from .VcdGenerationPass import VcdGenerationPass
| 32.666667 | 48 | 0.897959 | 8 | 98 | 11 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 98 | 2 | 49 | 49 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
771059365b71b1191c20b6fcc0e1f53e97d9c9f3 | 136 | py | Python | src/app/database/__init__.py | william920429/repair_system | 27b5f4612a48a326943d23c2acce326070134228 | [
"MIT"
] | 1 | 2021-05-18T17:28:09.000Z | 2021-05-18T17:28:09.000Z | src/app/database/__init__.py | SiriusKoan/repair_system | 6524e7a8d5954b6e16b34b9d88db9d455ef3dd1d | [
"MIT"
] | 3 | 2021-05-02T06:00:47.000Z | 2021-05-05T11:42:58.000Z | src/app/database/__init__.py | SiriusKoan/repair_system | 6524e7a8d5954b6e16b34b9d88db9d455ef3dd1d | [
"MIT"
] | 3 | 2021-04-15T13:03:36.000Z | 2021-05-06T03:13:59.000Z | from . import backup_helper, db_helper
from .common import cache
from .model import db
__all__ = [db, backup_helper, db_helper, cache]
| 22.666667 | 47 | 0.779412 | 21 | 136 | 4.666667 | 0.428571 | 0.244898 | 0.285714 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 5 | 48 | 27.2 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7740e3afc264edef397b1dea1673c417a3649aa1 | 163,234 | py | Python | src/oci/devops/devops_client.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/devops/devops_client.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/devops/devops_client.py | Manny27nyc/oci-python-sdk | de60b04e07a99826254f7255e992f41772902df7 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 47.590087 | 397 | 0.640724 | 20,300 | 163,234 | 4.989261 | 0.024877 | 0.062252 | 0.017061 | 0.006289 | 0.932357 | 0.921743 | 0.913459 | 0.901493 | 0.89156 | 0.890109 | 0 | 0.000979 | 0.274348 | 163,234 | 3,429 | 398 | 47.603966 | 0.854075 | 0.425524 | 0 | 0.857915 | 0 | 0 | 0.174662 | 0.018967 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019989 | false | 0.00054 | 0.004862 | 0 | 0.06429 | 0.00054 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
77475f30cfb2a8731cc5d744b664913db78c9fa0 | 4,652 | py | Python | math3/tests/test_rectangle.py | PhloxAR/math3 | 6c8e4066ae74b607cefa209c42cb19e26c09c600 | [
"BSD-3-Clause"
] | null | null | null | math3/tests/test_rectangle.py | PhloxAR/math3 | 6c8e4066ae74b607cefa209c42cb19e26c09c600 | [
"BSD-3-Clause"
] | null | null | null | math3/tests/test_rectangle.py | PhloxAR/math3 | 6c8e4066ae74b607cefa209c42cb19e26c09c600 | [
"BSD-3-Clause"
] | null | null | null | try:
import unittest2 as unittest
except:
import unittest
import numpy as np
from math3.funcs import rect
class test_rectangle(unittest.TestCase):
def test_import(self):
import math3
math3.funcs.rectfunc
def test_create(self):
result = rect.create()
np.testing.assert_... | 34.459259 | 79 | 0.588349 | 674 | 4,652 | 3.864985 | 0.08457 | 0.080614 | 0.166987 | 0.233781 | 0.819194 | 0.764683 | 0.74856 | 0.735893 | 0.690979 | 0.690979 | 0 | 0.054002 | 0.215821 | 4,652 | 134 | 80 | 34.716418 | 0.660088 | 0 | 0 | 0.19 | 0 | 0 | 0.00172 | 0 | 0 | 0 | 0 | 0 | 0.29 | 1 | 0.3 | false | 0 | 0.06 | 0 | 0.37 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6200e90fe7a8913b663b83bfc42dc6ead61522dc | 396 | py | Python | src/apd/aggregation/exceptions.py | MatthewWilkes/apd.aggregation | 427fa908f45332d623295f92e1ccfdaf545d6997 | [
"BSD-3-Clause"
] | null | null | null | src/apd/aggregation/exceptions.py | MatthewWilkes/apd.aggregation | 427fa908f45332d623295f92e1ccfdaf545d6997 | [
"BSD-3-Clause"
] | 11 | 2020-11-23T21:36:48.000Z | 2022-03-12T00:48:58.000Z | src/apd/aggregation/exceptions.py | MatthewWilkes/apd.aggregation | 427fa908f45332d623295f92e1ccfdaf545d6997 | [
"BSD-3-Clause"
] | 1 | 2020-08-09T01:47:59.000Z | 2020-08-09T01:47:59.000Z | class NoDataForTrigger(ValueError):
"""An error that's raised when a trigger is passed
a data point that cannot be handled due to an incompatible
value being stored"""
pass
class IncompatibleTriggerError(NoDataForTrigger):
"""An error that's raised when a trigger is passed
a data point that c... | 26.4 | 62 | 0.727273 | 56 | 396 | 5.142857 | 0.464286 | 0.048611 | 0.076389 | 0.083333 | 0.736111 | 0.736111 | 0.736111 | 0.736111 | 0.736111 | 0.736111 | 0 | 0 | 0.222222 | 396 | 14 | 63 | 28.285714 | 0.935065 | 0.633838 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
620464f544a69582d27f577ae54a544c71772fc9 | 22,202 | py | Python | validator/tests/test_responder/tests.py | mer1dian/sprawl | e52cba9dda418e6c00122669fe465686cb8e018f | [
"Apache-2.0"
] | null | null | null | validator/tests/test_responder/tests.py | mer1dian/sprawl | e52cba9dda418e6c00122669fe465686cb8e018f | [
"Apache-2.0"
] | null | null | null | validator/tests/test_responder/tests.py | mer1dian/sprawl | e52cba9dda418e6c00122669fe465686cb8e018f | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 42.129032 | 79 | 0.685704 | 2,536 | 22,202 | 5.750789 | 0.079653 | 0.035656 | 0.048272 | 0.010971 | 0.854361 | 0.827825 | 0.743897 | 0.721476 | 0.709888 | 0.701179 | 0 | 0.014817 | 0.246149 | 22,202 | 526 | 80 | 42.209125 | 0.856545 | 0.26975 | 0 | 0.724026 | 0 | 0 | 0.056556 | 0 | 0 | 0 | 0 | 0 | 0.217532 | 1 | 0.055195 | false | 0 | 0.045455 | 0 | 0.103896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6239a00bad7194fee5c556c9040a17cb8d4668d8 | 230 | py | Python | lightning_transformers/task/nlp/token_classification/__init__.py | maksym-taranukhin/lightning-transformers | aa7202657973b5b65c3c36eb745621043859ebc4 | [
"Apache-2.0"
] | 451 | 2021-04-21T15:53:59.000Z | 2022-03-29T10:39:45.000Z | lightning_transformers/task/nlp/token_classification/__init__.py | mathemusician/lightning-transformers | b2ef06113433e6a178ce4d3c9df7ede8064e247f | [
"Apache-2.0"
] | 92 | 2021-04-21T18:42:58.000Z | 2022-03-30T05:29:54.000Z | lightning_transformers/task/nlp/token_classification/__init__.py | mathemusician/lightning-transformers | b2ef06113433e6a178ce4d3c9df7ede8064e247f | [
"Apache-2.0"
] | 51 | 2021-04-22T05:35:28.000Z | 2022-03-17T13:08:12.000Z | from lightning_transformers.task.nlp.token_classification.data import TokenClassificationDataModule # noqa: F401
from lightning_transformers.task.nlp.token_classification.model import TokenClassificationTransformer # noqa: F401
| 76.666667 | 115 | 0.878261 | 24 | 230 | 8.25 | 0.583333 | 0.131313 | 0.252525 | 0.292929 | 0.515152 | 0.515152 | 0.515152 | 0 | 0 | 0 | 0 | 0.028037 | 0.069565 | 230 | 2 | 116 | 115 | 0.897196 | 0.091304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
623f72d93bdc0b847ca08c6f0fba214d41168205 | 69,617 | py | Python | sdk/python/pulumi_gcp/cloudbuild/trigger.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/cloudbuild/trigger.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/cloudbuild/trigger.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 50.12023 | 175 | 0.640361 | 8,003 | 69,617 | 5.441709 | 0.05248 | 0.066429 | 0.062388 | 0.026774 | 0.958071 | 0.94969 | 0.938691 | 0.936211 | 0.93504 | 0.920344 | 0 | 0.000727 | 0.268914 | 69,617 | 1,388 | 176 | 50.15634 | 0.854939 | 0.535128 | 0 | 0.857955 | 1 | 0 | 0.114853 | 0.029842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.001894 | 0.013258 | 0 | 0.280303 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
62553dd6dac6621d63f321e2de23fab8f0bb614b | 89 | py | Python | principal.py | CAiAuM/Travis1vez | bc2ae8839c1750b306b15a0e6257a68f74ced2be | [
"Apache-2.0"
] | null | null | null | principal.py | CAiAuM/Travis1vez | bc2ae8839c1750b306b15a0e6257a68f74ced2be | [
"Apache-2.0"
] | null | null | null | principal.py | CAiAuM/Travis1vez | bc2ae8839c1750b306b15a0e6257a68f74ced2be | [
"Apache-2.0"
] | null | null | null | def soma (x,y):
return x+y
def subtrai (x,y):
return x-y
def mult():
pass
| 8.9 | 18 | 0.539326 | 17 | 89 | 2.823529 | 0.470588 | 0.166667 | 0.333333 | 0.375 | 0.541667 | 0.541667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314607 | 89 | 9 | 19 | 9.888889 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.166667 | 0 | 0.333333 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
02ed271cec118b28946cfd6011ed95e6135473a0 | 1,133 | py | Python | forum/migrations/0077_auto_20150613_1650.py | shmilyoo/ggxxBBS | cef6408e533bd0b0f57c3e2f5da4e93ea07c4331 | [
"MIT"
] | null | null | null | forum/migrations/0077_auto_20150613_1650.py | shmilyoo/ggxxBBS | cef6408e533bd0b0f57c3e2f5da4e93ea07c4331 | [
"MIT"
] | null | null | null | forum/migrations/0077_auto_20150613_1650.py | shmilyoo/ggxxBBS | cef6408e533bd0b0f57c3e2f5da4e93ea07c4331 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('forum', '0076_auto_20150613_1628'),
]
operations = [
migrations.AddField(
model_name='post',
name='a... | 29.051282 | 86 | 0.583407 | 101 | 1,133 | 6.346535 | 0.386139 | 0.112324 | 0.143526 | 0.168487 | 0.75819 | 0.75819 | 0.703588 | 0.703588 | 0.703588 | 0.645866 | 0 | 0.054156 | 0.299206 | 1,133 | 38 | 87 | 29.815789 | 0.753149 | 0.018535 | 0 | 0.75 | 0 | 0 | 0.10991 | 0.020721 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 7 |
b23a67aec4ffc48ce38c316ff5691ad459aa6f81 | 40,879 | py | Python | core/tests/test_polypod/test_pods/test_volumes.py | admariner/polyaxon | ba355c38166047eb11e60de4cee4d7c3b48db323 | [
"Apache-2.0"
] | 3,200 | 2017-05-09T11:35:31.000Z | 2022-03-28T05:43:22.000Z | core/tests/test_polypod/test_pods/test_volumes.py | admariner/polyaxon | ba355c38166047eb11e60de4cee4d7c3b48db323 | [
"Apache-2.0"
] | 1,324 | 2017-06-29T07:21:27.000Z | 2022-03-27T12:41:10.000Z | core/tests/test_polypod/test_pods/test_volumes.py | admariner/polyaxon | ba355c38166047eb11e60de4cee4d7c3b48db323 | [
"Apache-2.0"
] | 341 | 2017-01-10T23:06:53.000Z | 2022-03-10T08:15:18.000Z | #!/usr/bin/python
#
# Copyright 2018-2021 Polyaxon, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 34.909479 | 94 | 0.51102 | 3,627 | 40,879 | 5.46595 | 0.053212 | 0.07203 | 0.073544 | 0.057201 | 0.87425 | 0.853518 | 0.840706 | 0.819016 | 0.809634 | 0.792434 | 0 | 0.021862 | 0.409183 | 40,879 | 1,170 | 95 | 34.939316 | 0.798981 | 0.061768 | 0 | 0.760267 | 0 | 0 | 0.010606 | 0 | 0 | 0 | 0 | 0 | 0.061127 | 1 | 0.019102 | false | 0.000955 | 0.009551 | 0 | 0.029608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b24746671860d93d0fd061f15b25044e9365679d | 1,803 | py | Python | pvfactors/tests/test_geometry/test_data/__init__.py | tcapelle/pvfactors | 1aaf6cdd3066a3a68d93db4ad7abcf10e97b5620 | [
"BSD-3-Clause"
] | null | null | null | pvfactors/tests/test_geometry/test_data/__init__.py | tcapelle/pvfactors | 1aaf6cdd3066a3a68d93db4ad7abcf10e97b5620 | [
"BSD-3-Clause"
] | null | null | null | pvfactors/tests/test_geometry/test_data/__init__.py | tcapelle/pvfactors | 1aaf6cdd3066a3a68d93db4ad7abcf10e97b5620 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
vm_flat_orderedpvarray = np.array(
[[0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 0, 3, 1],
[0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 0, 3, 1],
[0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 0, 3, 1],
[0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 0, 3, 1],
[0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 3, 0, 3, 1],
[0, 0, 0, 0, 0,... | 42.928571 | 58 | 0.321131 | 503 | 1,803 | 1.143141 | 0.043738 | 0.977391 | 1.288696 | 1.502609 | 0.94087 | 0.913043 | 0.873043 | 0.873043 | 0.850435 | 0.845217 | 0 | 0.428947 | 0.36772 | 1,803 | 41 | 59 | 43.97561 | 0.075439 | 0 | 0 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
b25e1c2de7989ef15ec8bb06990be3f6ed046a2b | 147 | py | Python | handlers/__init__.py | intikamailesi/Guess-the-number-telegram-bot | 70504597c27c5f7fac5cff88e4fb2a696111c82f | [
"MIT"
] | null | null | null | handlers/__init__.py | intikamailesi/Guess-the-number-telegram-bot | 70504597c27c5f7fac5cff88e4fb2a696111c82f | [
"MIT"
] | null | null | null | handlers/__init__.py | intikamailesi/Guess-the-number-telegram-bot | 70504597c27c5f7fac5cff88e4fb2a696111c82f | [
"MIT"
] | 1 | 2022-03-21T06:28:41.000Z | 2022-03-21T06:28:41.000Z | from .start_handler import dp
from .user_play_handler import dp
from .bot_play_handler import dp
from .finish_handler import dp
__all__ = ["dp"]
| 18.375 | 33 | 0.795918 | 24 | 147 | 4.458333 | 0.416667 | 0.485981 | 0.560748 | 0.53271 | 0.429907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 147 | 7 | 34 | 21 | 0.849206 | 0 | 0 | 0 | 0 | 0 | 0.013605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
b2888a72b426440f0f8fb79b98732d2b20b1c4a4 | 139 | py | Python | ext/pybind11/tests/test_installed_target/test.py | chohy/cho_gem5 | 1207718477576053ee6222faff03dd888a90dbcf | [
"BSD-3-Clause"
] | null | null | null | ext/pybind11/tests/test_installed_target/test.py | chohy/cho_gem5 | 1207718477576053ee6222faff03dd888a90dbcf | [
"BSD-3-Clause"
] | null | null | null | ext/pybind11/tests/test_installed_target/test.py | chohy/cho_gem5 | 1207718477576053ee6222faff03dd888a90dbcf | [
"BSD-3-Clause"
] | null | null | null | import test_installed_target
assert test_installed_target.add(1, 2) == 3
print('test_installed_target imports, runs, and adds: 1 + 2 = 3')
| 34.75 | 65 | 0.769784 | 23 | 139 | 4.391304 | 0.608696 | 0.386139 | 0.564356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 0.122302 | 139 | 3 | 66 | 46.333333 | 0.778689 | 0 | 0 | 0 | 0 | 0 | 0.402878 | 0.151079 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a2c6a2a4632abf540b1ec11d9239a96b5dca9d7f | 17,622 | py | Python | sdk/storage/azure-storage-queue/azure/storage/queue/_generated/operations/_messages_operations.py | vchske/azure-sdk-for-python | 6383ed3676b7355af7be394562b126209961ec13 | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-queue/azure/storage/queue/_generated/operations/_messages_operations.py | vchske/azure-sdk-for-python | 6383ed3676b7355af7be394562b126209961ec13 | [
"MIT"
] | 1 | 2019-06-04T18:12:16.000Z | 2019-06-04T18:12:16.000Z | sdk/storage/azure-storage-queue/azure/storage/queue/_generated/operations/_messages_operations.py | vchske/azure-sdk-for-python | 6383ed3676b7355af7be394562b126209961ec13 | [
"MIT"
] | 1 | 2019-06-17T22:18:23.000Z | 2019-06-17T22:18:23.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
# pyli... | 51.078261 | 147 | 0.660424 | 2,156 | 17,622 | 5.268553 | 0.124304 | 0.028524 | 0.025354 | 0.027467 | 0.816445 | 0.792763 | 0.792763 | 0.786689 | 0.786689 | 0.783168 | 0 | 0.009267 | 0.234536 | 17,622 | 344 | 148 | 51.226744 | 0.832827 | 0.379299 | 0 | 0.713376 | 1 | 0 | 0.139189 | 0.019285 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031847 | false | 0 | 0.012739 | 0 | 0.101911 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a2d8b956152b2fba07ca200e44e7fca15313869b | 6,068 | py | Python | main.py | SadhukhanR/BMI-Labs | d95afce8a2fd87f66b2b551db88753a57d8687f8 | [
"MIT"
] | 2 | 2021-11-11T10:16:53.000Z | 2021-11-12T16:48:11.000Z | main.py | SadhukhanR/BMI-Labs | d95afce8a2fd87f66b2b551db88753a57d8687f8 | [
"MIT"
] | null | null | null | main.py | SadhukhanR/BMI-Labs | d95afce8a2fd87f66b2b551db88753a57d8687f8 | [
"MIT"
] | 1 | 2021-11-10T10:51:35.000Z | 2021-11-10T10:51:35.000Z | # This is a demo project
# R Sadhukhan
# bmi labs
import numpy as np
import matplotlib.pyplot as plt
#info gatt
x = input('Enter Your Name :/>')
y =eval(input('Enter Your Age:/>'))
a = eval(input('Enter Your Weight in kg:/>'))
b = eval(input('Enter Your Height in ft:/>'))
#calculation
c = b*0.3048
d = a/c**2
#looping
#... | 32.978261 | 116 | 0.590639 | 1,006 | 6,068 | 3.518887 | 0.124254 | 0.099435 | 0.061017 | 0.038418 | 0.800565 | 0.774011 | 0.774011 | 0.774011 | 0.772881 | 0.761864 | 0 | 0.050854 | 0.170402 | 6,068 | 183 | 117 | 33.15847 | 0.652364 | 0.012525 | 0 | 0.774566 | 0 | 0 | 0.26534 | 0.028256 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011561 | 0 | 0.011561 | 0.17341 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a2f714ca969367d4a448568ab24ca4ef4560e2aa | 5,740 | py | Python | tests/test_trigger.py | trakken/gtm_manager | 4825cc87daf36bf2feeae8c463243b128008e36f | [
"MIT"
] | 7 | 2018-12-14T11:05:44.000Z | 2021-12-03T18:33:17.000Z | tests/test_trigger.py | trakken/gtm_manager | 4825cc87daf36bf2feeae8c463243b128008e36f | [
"MIT"
] | 2 | 2019-07-16T09:40:47.000Z | 2019-08-22T20:57:04.000Z | tests/test_trigger.py | trakken/gtm_manager | 4825cc87daf36bf2feeae8c463243b128008e36f | [
"MIT"
] | 3 | 2021-07-21T07:55:50.000Z | 2022-01-14T12:54:02.000Z | # pylint: disable=missing-docstring
from gtm_manager.trigger import GTMTrigger
def test_init(mock_service):
service, responses = mock_service("trigger_get.json")
trigger_get = responses[0]
trigger = GTMTrigger(
path="accounts/1234/containers/1234/workspaces/1/triggers/1", service=service
)
... | 45.555556 | 85 | 0.741812 | 583 | 5,740 | 7.149228 | 0.113208 | 0.172745 | 0.193378 | 0.024952 | 0.924424 | 0.911228 | 0.902591 | 0.902591 | 0.902591 | 0.864443 | 0 | 0.008557 | 0.144948 | 5,740 | 125 | 86 | 45.92 | 0.840668 | 0.005749 | 0 | 0.728972 | 0 | 0 | 0.208589 | 0.081507 | 0 | 0 | 0 | 0 | 0.598131 | 1 | 0.028037 | false | 0 | 0.009346 | 0 | 0.037383 | 0.018692 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a2fbfceded82b4107701dccacfb023724aa1656b | 22,554 | py | Python | sdk/python/pulumi_aws/s3/bucket_lifecycle_configuration_v2.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/bucket_lifecycle_configuration_v2.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/s3/bucket_lifecycle_configuration_v2.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 48.192308 | 403 | 0.629112 | 2,143 | 22,554 | 6.461503 | 0.118059 | 0.044486 | 0.054886 | 0.023832 | 0.845237 | 0.830144 | 0.819239 | 0.798512 | 0.791579 | 0.789846 | 0 | 0.017375 | 0.28802 | 22,554 | 467 | 404 | 48.295503 | 0.844937 | 0.568325 | 0 | 0.574324 | 1 | 0 | 0.145296 | 0.095778 | 0 | 0 | 0 | 0 | 0 | 1 | 0.148649 | false | 0.006757 | 0.047297 | 0 | 0.283784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0c003ed373ed61a9bc7f0aa49dd8461187422c3c | 98 | py | Python | tests/basics/builtin_abs.py | geowor01/micropython | 7fb13eeef4a85f21cae36f1d502bcc53880e1815 | [
"MIT"
] | 7 | 2019-10-18T13:41:39.000Z | 2022-03-15T17:27:57.000Z | tests/basics/builtin_abs.py | geowor01/micropython | 7fb13eeef4a85f21cae36f1d502bcc53880e1815 | [
"MIT"
] | null | null | null | tests/basics/builtin_abs.py | geowor01/micropython | 7fb13eeef4a85f21cae36f1d502bcc53880e1815 | [
"MIT"
] | 2 | 2020-06-23T09:10:15.000Z | 2020-12-22T06:42:14.000Z | # test builtin abs
print(abs(False))
print(abs(True))
print(abs(1))
print(abs(-1))
print("PASS") | 12.25 | 18 | 0.673469 | 17 | 98 | 3.882353 | 0.470588 | 0.484848 | 0.272727 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.102041 | 98 | 8 | 19 | 12.25 | 0.727273 | 0.163265 | 0 | 0 | 0 | 0 | 0.049383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 8 |
0c069b4d5d354f195fcb7e63fdbdbb816445bb6a | 21,283 | py | Python | blender/SceneExporter.py | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | 6 | 2017-06-26T11:42:26.000Z | 2018-09-10T17:53:53.000Z | blender/SceneExporter.py | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | 8 | 2017-06-24T20:25:42.000Z | 2017-08-09T10:50:40.000Z | blender/SceneExporter.py | DaSutt/VolumetricParticles | 6ec9bac4bec4a8757343bb770b23110ef2364dfd | [
"Apache-2.0"
] | null | null | null | #MIT License
#
# Copyright (c) 2017 Daniel Suttor
#
#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 restriction, including without limitation the rights
#to use, copy, modify, merge, pub... | 36.25724 | 101 | 0.623455 | 2,463 | 21,283 | 5.315469 | 0.126675 | 0.028185 | 0.004125 | 0.003666 | 0.915903 | 0.915597 | 0.915597 | 0.915597 | 0.915597 | 0.915597 | 0 | 0.005668 | 0.262228 | 21,283 | 587 | 102 | 36.25724 | 0.828111 | 0.108537 | 0 | 0.971765 | 0 | 0.007059 | 0.089356 | 0.003492 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122353 | false | 0 | 0.091765 | 0 | 0.32 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0c0fe317a62ff5ced371f926863ed78a82534bb4 | 5,417 | py | Python | EDA/웹.py | cpprhtn/AI-s-Morality-and-Ethics-Learning-Project | 4e939a0eb5883ea7f669f33b6ce70abcb8a90d3d | [
"MIT"
] | 2 | 2021-01-19T06:18:34.000Z | 2021-02-03T10:59:24.000Z | EDA/웹.py | cpprhtn/AI-s-Morality-and-Ethics-Learning-Project | 4e939a0eb5883ea7f669f33b6ce70abcb8a90d3d | [
"MIT"
] | null | null | null | EDA/웹.py | cpprhtn/AI-s-Morality-and-Ethics-Learning-Project | 4e939a0eb5883ea7f669f33b6ce70abcb8a90d3d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 11 20:42:48 2020
@author: cpprhtn
"""
frames = []
df_list = []
import json
import pandas as pd
def read_json(a):
if a < 1:
b = 'Error.json'
elif a < 10:
b = 'EBRW190300000{}.json'.format(a)
elif a < 100:
... | 20.441509 | 55 | 0.532213 | 746 | 5,417 | 3.808311 | 0.142091 | 0.06899 | 0.085181 | 0.084477 | 0.873284 | 0.873284 | 0.873284 | 0.75572 | 0.75572 | 0.75572 | 0 | 0.087199 | 0.303489 | 5,417 | 264 | 56 | 20.518939 | 0.665783 | 0.007938 | 0 | 0.824742 | 0 | 0 | 0.167577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.061856 | null | null | 0.030928 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0c3123cdca64a5824a2f40f1e8d82c201030508a | 122 | py | Python | BuildSimHubAPI/experiment/__init__.py | ruijis/buildsimhub_python_api | 67a88a421a5970b9134a97faf3d52a5a8a6c6258 | [
"MIT"
] | 19 | 2018-02-27T22:58:04.000Z | 2022-02-21T15:03:59.000Z | BuildSimHubAPI/experiment/__init__.py | ruijis/buildsimhub_python_api | 67a88a421a5970b9134a97faf3d52a5a8a6c6258 | [
"MIT"
] | 11 | 2018-02-15T16:47:53.000Z | 2018-12-19T18:33:20.000Z | BuildSimHubAPI/experiment/__init__.py | ruijis/buildsimhub_python_api | 67a88a421a5970b9134a97faf3d52a5a8a6c6258 | [
"MIT"
] | 11 | 2018-01-26T02:12:38.000Z | 2019-09-29T12:05:31.000Z | from .hvac_component import HVACComponent
from .hvac_component import AHUCoilComponent
from .AHU_builder import AHUBuilder | 40.666667 | 44 | 0.885246 | 15 | 122 | 7 | 0.6 | 0.152381 | 0.32381 | 0.438095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 122 | 3 | 45 | 40.666667 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0c5cc320aea13f26326e809ef180c9be104b26b0 | 82 | py | Python | src/chapter13/__init__.py | Peefy/CLRS_dugu_code-master | 98f00e75e1b0ebc13a7affb2604bec8501692a19 | [
"Apache-2.0"
] | 3 | 2018-01-31T03:08:50.000Z | 2018-04-25T12:57:01.000Z | src/chapter13/__init__.py | HideLakitu/IntroductionToAlgorithm.Python | 33662f46dc346203b220d7481d1a4439feda05d2 | [
"Apache-2.0"
] | null | null | null | src/chapter13/__init__.py | HideLakitu/IntroductionToAlgorithm.Python | 33662f46dc346203b220d7481d1a4439feda05d2 | [
"Apache-2.0"
] | 3 | 2019-03-03T04:49:53.000Z | 2020-07-13T10:18:58.000Z |
# python src/chapter13/chapter13note.py
# python3 src/chapter13/chapter13note.py
| 20.5 | 40 | 0.817073 | 10 | 82 | 6.7 | 0.6 | 0.358209 | 0.746269 | 0.80597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 0.085366 | 82 | 3 | 41 | 27.333333 | 0.773333 | 0.926829 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 7 |
a7527df57cffda9dcb542cd77ded368a8efc7cac | 18,782 | py | Python | apps/secure_url/tests/tests_secured_entity_access_view.py | fryta/sercure-url | 06029e8e3a95616f939f62f04c260d14d128f0b4 | [
"MIT"
] | null | null | null | apps/secure_url/tests/tests_secured_entity_access_view.py | fryta/sercure-url | 06029e8e3a95616f939f62f04c260d14d128f0b4 | [
"MIT"
] | 7 | 2020-02-11T23:49:48.000Z | 2022-01-13T01:05:42.000Z | apps/secure_url/tests/tests_secured_entity_access_view.py | fryta/secure-url | 06029e8e3a95616f939f62f04c260d14d128f0b4 | [
"MIT"
] | null | null | null | from rest_framework import status
from django.urls.base import reverse
from django.conf import settings
from datetime import timedelta
from .tests_base_view import BaseViewTest
from ..models import SecuredEntity
class SecuredEntityAccessViewTest(BaseViewTest):
def __finish_create_secured_entity(self, response):
... | 48.282776 | 128 | 0.717123 | 2,235 | 18,782 | 5.609396 | 0.044743 | 0.199091 | 0.116615 | 0.068198 | 0.963229 | 0.961155 | 0.95597 | 0.946319 | 0.943208 | 0.93914 | 0 | 0.004686 | 0.19327 | 18,782 | 388 | 129 | 48.407216 | 0.82273 | 0 | 0 | 0.78629 | 0 | 0 | 0.077894 | 0.00197 | 0 | 0 | 0 | 0 | 0.197581 | 1 | 0.157258 | false | 0.258065 | 0.024194 | 0 | 0.185484 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
a77f9df1dd3a1dbaee2404fb136e0a2c7a8300b6 | 50,030 | py | Python | tests/test_runner/test_runner_test.py | Neerajakshulu/golem | 06e685d56f51df82a8f80acd1f2601ca16fb4fc0 | [
"MIT"
] | null | null | null | tests/test_runner/test_runner_test.py | Neerajakshulu/golem | 06e685d56f51df82a8f80acd1f2601ca16fb4fc0 | [
"MIT"
] | null | null | null | tests/test_runner/test_runner_test.py | Neerajakshulu/golem | 06e685d56f51df82a8f80acd1f2601ca16fb4fc0 | [
"MIT"
] | null | null | null | import os
import json
from golem.test_runner import test_runner, execution_logger
from golem.test_runner.start_execution import define_drivers
from golem.gui import gui_utils
from golem.core import settings_manager
def _define_drivers_mock(selected_drivers):
default_browsers = gui_utils.get_supported_browsers_su... | 42.870608 | 207 | 0.572097 | 5,607 | 50,030 | 4.893348 | 0.040842 | 0.0199 | 0.025586 | 0.029595 | 0.92255 | 0.909575 | 0.89372 | 0.874549 | 0.862339 | 0.858986 | 0 | 0.009538 | 0.325245 | 50,030 | 1,166 | 208 | 42.907376 | 0.803217 | 0.129322 | 0 | 0.862428 | 0 | 0 | 0.193682 | 0 | 0 | 0 | 0 | 0.000858 | 0.23237 | 1 | 0.036994 | false | 0.008092 | 0.009249 | 0 | 0.052023 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a7d5a8daae7ee196ed2004ebfa08fa5b017107c0 | 8,201 | py | Python | wntr/tests/test_multiple_simulations.py | xiamo311/AquaSCALE | 28968d1b349c2370d8c20bda5b6675270e4ab65d | [
"BSD-3-Clause"
] | null | null | null | wntr/tests/test_multiple_simulations.py | xiamo311/AquaSCALE | 28968d1b349c2370d8c20bda5b6675270e4ab65d | [
"BSD-3-Clause"
] | null | null | null | wntr/tests/test_multiple_simulations.py | xiamo311/AquaSCALE | 28968d1b349c2370d8c20bda5b6675270e4ab65d | [
"BSD-3-Clause"
] | null | null | null | # These tests run a demand-driven simulation with both WNTR and Epanet and compare the results for the example networks
import unittest
from os.path import abspath, dirname, join
import pandas as pd
import pickle
testdir = dirname(abspath(str(__file__)))
test_datadir = join(testdir,'networks_for_testing')
ex_datadir =... | 40.800995 | 141 | 0.644921 | 1,204 | 8,201 | 4.245847 | 0.08804 | 0.048122 | 0.056338 | 0.035211 | 0.909624 | 0.901408 | 0.8973 | 0.8973 | 0.8973 | 0.887911 | 0 | 0.028178 | 0.221071 | 8,201 | 200 | 142 | 41.005 | 0.772073 | 0.014267 | 0 | 0.873418 | 0 | 0 | 0.053205 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 1 | 0.151899 | false | 0.018987 | 0.044304 | 0 | 0.21519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
38f967c7128dc5b5379e52bcbeb53d84213a8727 | 1,454 | py | Python | python/graphscope/experimental/nx/tests/algorithms/forward/tree/test_branchings.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 2 | 2020-12-15T08:42:10.000Z | 2022-01-14T09:13:16.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/tree/test_branchings.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2020-12-22T13:15:40.000Z | 2020-12-22T13:15:40.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/tree/test_branchings.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2021-11-23T03:40:43.000Z | 2021-11-23T03:40:43.000Z | import networkx.algorithms.tree.tests.test_branchings
import pytest
from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.tree.tests.test_branchings,
decorators=pytest.mark.usefixtures("graphscope_session"))
@pytest.mark.skip(... | 21.382353 | 81 | 0.770289 | 194 | 1,454 | 5.592784 | 0.221649 | 0.119816 | 0.154839 | 0.221198 | 0.781567 | 0.781567 | 0.705991 | 0.705991 | 0.705991 | 0.662673 | 0 | 0.009419 | 0.123796 | 1,454 | 67 | 82 | 21.701493 | 0.842229 | 0 | 0 | 0.585366 | 0 | 0 | 0.193948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292683 | false | 0.292683 | 0.097561 | 0 | 0.390244 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
ac0af4a73b6853e742f09b3a60934ab081546828 | 2,282 | py | Python | src/waldur_core/logging/migrations/0004_json_field.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 26 | 2017-10-18T13:49:58.000Z | 2021-09-19T04:44:09.000Z | src/waldur_core/logging/migrations/0004_json_field.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 14 | 2018-12-10T14:14:51.000Z | 2021-06-07T10:33:39.000Z | src/waldur_core/logging/migrations/0004_json_field.py | geant-multicloud/MCMS-mastermind | 81333180f5e56a0bc88d7dad448505448e01f24e | [
"MIT"
] | 32 | 2017-09-24T03:10:45.000Z | 2021-10-16T16:41:09.000Z | # Generated by Django 1.11.7 on 2018-07-24 07:35
import django.contrib.postgres.fields.jsonb
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('logging', '0003_system_notification'),
]
operations = [
migrations.AlterField(
model_name='e... | 32.6 | 65 | 0.55872 | 209 | 2,282 | 5.976077 | 0.205742 | 0.093675 | 0.151321 | 0.194556 | 0.877502 | 0.851882 | 0.851882 | 0.761409 | 0.761409 | 0.761409 | 0 | 0.013298 | 0.340929 | 2,282 | 69 | 66 | 33.072464 | 0.817154 | 0.020158 | 0 | 0.875 | 1 | 0 | 0.162489 | 0.010743 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.078125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
ac16e2cddc8a79d5faf145ffcf15d6ef36deb3d5 | 103 | py | Python | booklib/ui/__init__.py | ahartoto/booklib | 9a5f455c324927c679f1508bcb7adaf0a63ac0a6 | [
"MIT"
] | null | null | null | booklib/ui/__init__.py | ahartoto/booklib | 9a5f455c324927c679f1508bcb7adaf0a63ac0a6 | [
"MIT"
] | 7 | 2019-03-29T05:44:46.000Z | 2019-06-05T06:18:34.000Z | booklib/ui/__init__.py | ahartoto/booklib | 9a5f455c324927c679f1508bcb7adaf0a63ac0a6 | [
"MIT"
] | 2 | 2019-06-06T05:31:56.000Z | 2019-07-01T17:10:25.000Z | # Filename: booklib/ui/__init__.py
# FIXME - no local imports
from . import main
from . import window
| 17.166667 | 34 | 0.737864 | 15 | 103 | 4.8 | 0.866667 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 103 | 5 | 35 | 20.6 | 0.847059 | 0.553398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ac59b771608a8e3a3a072ce4a94f0ce22f7e2700 | 58,526 | bzl | Python | examples/ef/gen/nuget.bzl | purkhusid/rules_dotnet | 934e62d65ed3657be20b2ae3a63e032a2de9ff84 | [
"Apache-2.0"
] | 143 | 2016-03-15T20:37:54.000Z | 2022-02-25T12:30:08.000Z | examples/ef/gen/nuget.bzl | purkhusid/rules_dotnet | 934e62d65ed3657be20b2ae3a63e032a2de9ff84 | [
"Apache-2.0"
] | 176 | 2016-03-17T13:28:50.000Z | 2022-03-30T21:19:24.000Z | examples/ef/gen/nuget.bzl | purkhusid/rules_dotnet | 934e62d65ed3657be20b2ae3a63e032a2de9ff84 | [
"Apache-2.0"
] | 79 | 2016-03-16T11:34:56.000Z | 2022-02-04T10:54:00.000Z | "Template file"
load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "nuget_package") # @unused
def project_dotnet_repositories_nuget():
""" Declares used nugets """
### Generated by the tool
nuget_package(
name = "microsoft.bcl.hashcode",
package = "microsoft.bcl.hashcode",
version =... | 50.759757 | 108 | 0.598144 | 4,876 | 58,526 | 7.128384 | 0.020919 | 0.179297 | 0.100811 | 0.13594 | 0.912826 | 0.852379 | 0.818229 | 0.807987 | 0.745037 | 0.607256 | 0 | 0.065755 | 0.270085 | 58,526 | 1,152 | 109 | 50.803819 | 0.747887 | 0.001623 | 0 | 0.662882 | 1 | 0 | 0.640676 | 0.573282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000873 | true | 0 | 0 | 0 | 0.001747 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
3bd18dcea39ca0271f70dfe253d2038e2b305d0c | 2,706 | py | Python | tests/test_io_processes.py | iamjz/fastteradata | 4ec661dee3352265833a1e10a44755ba2c977431 | [
"MIT"
] | 17 | 2018-06-28T22:21:47.000Z | 2021-06-21T14:59:55.000Z | tests/test_io_processes.py | iamjz/fastteradata | 4ec661dee3352265833a1e10a44755ba2c977431 | [
"MIT"
] | 6 | 2017-11-29T19:03:59.000Z | 2020-05-11T14:04:47.000Z | tests/test_io_processes.py | iamjz/fastteradata | 4ec661dee3352265833a1e10a44755ba2c977431 | [
"MIT"
] | 14 | 2017-11-15T14:57:22.000Z | 2021-11-19T20:23:54.000Z | import pytest
from fastteradata import *
script_files = ['C:/Users/u374781/Desktop/FastTeradata/dev_files/TEMP/script_CNSLDTD_DRUG_OKLAHOMA_2013_export.txt', \
'C:/Users/u374781/Desktop/FastTeradata/dev_files/TEMP/script_CNSLDTD_DRUG_OKLAHOMA_2014_export.txt', \
'C:/Users/u374781/Deskt... | 77.314286 | 654 | 0.800443 | 386 | 2,706 | 5.227979 | 0.119171 | 0.056492 | 0.122398 | 0.188305 | 0.832507 | 0.82111 | 0.77998 | 0.77998 | 0.751239 | 0.751239 | 0 | 0.069992 | 0.081301 | 2,706 | 34 | 655 | 79.588235 | 0.741754 | 0 | 0 | 0.230769 | 0 | 0.076923 | 0.699557 | 0.684035 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.