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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fd03c109230a47c1540cdcf65dcdedac9302a120 | 7,342 | py | Python | dataset.py | Intelligent-Computing-Lab-Yale/Energy-Separation-Training | 9336862a10c915a482d427e8a36367f648e7dd40 | [
"MIT"
] | 2 | 2022-03-31T02:36:52.000Z | 2022-03-31T06:13:25.000Z | dataset.py | Intelligent-Computing-Lab-Yale/Energy-Separation-Training | 9336862a10c915a482d427e8a36367f648e7dd40 | [
"MIT"
] | null | null | null | dataset.py | Intelligent-Computing-Lab-Yale/Energy-Separation-Training | 9336862a10c915a482d427e8a36367f648e7dd40 | [
"MIT"
] | null | null | null | import torch
import torchvision
from torchvision import datasets, transforms
from torch.utils.data import DataLoader
import os
def get10(batch_size, data_root='/tmp/public_dataset/pytorch', train=True, val=True, **kwargs):
data_root = os.path.expanduser(os.path.join(data_root, 'cifar10-data'))
num_workers = kw... | 40.120219 | 96 | 0.578725 | 835 | 7,342 | 4.976048 | 0.155689 | 0.054152 | 0.01444 | 0.019254 | 0.889049 | 0.889049 | 0.889049 | 0.889049 | 0.889049 | 0.876534 | 0 | 0.044177 | 0.297058 | 7,342 | 182 | 97 | 40.340659 | 0.760899 | 0.065377 | 0 | 0.787097 | 0 | 0 | 0.07753 | 0.042634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045161 | false | 0 | 0.032258 | 0 | 0.122581 | 0.019355 | 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 |
fd107c2da7b904339edb0406a2c83b2ca10efada | 8,850 | py | Python | coadd_mdetsims/tests/test_shear_bias_meas.py | beckermr/metadetect-coadding-sims | 15ccaec353aa61c69ac9d78d1dfca8ce25bca3cf | [
"BSD-3-Clause"
] | null | null | null | coadd_mdetsims/tests/test_shear_bias_meas.py | beckermr/metadetect-coadding-sims | 15ccaec353aa61c69ac9d78d1dfca8ce25bca3cf | [
"BSD-3-Clause"
] | null | null | null | coadd_mdetsims/tests/test_shear_bias_meas.py | beckermr/metadetect-coadding-sims | 15ccaec353aa61c69ac9d78d1dfca8ce25bca3cf | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from ..shear_bias_meas import (
measure_shear_metadetect, estimate_m_and_c,
estimate_m_and_c_patch_avg)
def test_measure_shear_metadetect_smoke():
dtype = [('flags', 'i4'), ('wmom_g', 'f4', (2,)),
('wmom_s2n', 'f4'), ('wmom_T_ratio', 'f4'), ('ormask', 'i4')]
... | 34.570313 | 77 | 0.490508 | 1,329 | 8,850 | 3.095561 | 0.095561 | 0.036461 | 0.035002 | 0.047642 | 0.915411 | 0.897667 | 0.89086 | 0.883568 | 0.877978 | 0.877978 | 0 | 0.084166 | 0.299209 | 8,850 | 255 | 78 | 34.705882 | 0.579168 | 0.010057 | 0 | 0.896396 | 0 | 0 | 0.091003 | 0 | 0 | 0 | 0 | 0 | 0.063063 | 1 | 0.027027 | false | 0 | 0.013514 | 0 | 0.058559 | 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 |
b5fd2934ba1f4d9447596711eac5fb882a9d016a | 2,430 | py | Python | SBGCobraTools.py | dsanleo/SBGCobraTools | 2cc3a012e1d398ec9185de6ed0d6fa94526afc85 | [
"MIT"
] | null | null | null | SBGCobraTools.py | dsanleo/SBGCobraTools | 2cc3a012e1d398ec9185de6ed0d6fa94526afc85 | [
"MIT"
] | null | null | null | SBGCobraTools.py | dsanleo/SBGCobraTools | 2cc3a012e1d398ec9185de6ed0d6fa94526afc85 | [
"MIT"
] | null | null | null | # Get all carbon sources and return the objective flux. It can be normalized by the carbon input
def get_carbon_sources(model,carbon_uptake=-10,normalize=True,original_source='EX_glc__D_e',carbon_source_list=[]):
cobra.io.write_sbml_model(model,"tmp.xml")
if len(carbon_source_list)==0:
for reaction in m... | 69.428571 | 168 | 0.637037 | 303 | 2,430 | 4.838284 | 0.250825 | 0.070941 | 0.066849 | 0.076398 | 0.77899 | 0.77899 | 0.77899 | 0.77899 | 0.77899 | 0.77899 | 0 | 0.002834 | 0.274074 | 2,430 | 34 | 169 | 71.470588 | 0.828231 | 0 | 0 | 0.818182 | 0 | 0 | 0.061581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.060606 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bd0c339764aca9d1b1dc4bb3784afbd33f7e553d | 30,324 | py | Python | stcloud/api/apps_api.py | sematext/sematext-api-client-python | 16e025cd3d32aa58deb70fc5930ae4165afebe97 | [
"Apache-2.0"
] | 1 | 2020-05-01T12:15:52.000Z | 2020-05-01T12:15:52.000Z | stcloud/api/apps_api.py | sematext/sematext-api-client-python | 16e025cd3d32aa58deb70fc5930ae4165afebe97 | [
"Apache-2.0"
] | null | null | null | stcloud/api/apps_api.py | sematext/sematext-api-client-python | 16e025cd3d32aa58deb70fc5930ae4165afebe97 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Sematext Cloud API
API Explorer provides access and documentation for Sematext REST API. The REST API requires the API Key to be sent as part of `Authorization` header. E.g.: `Authorization : apiKey e5f18450-205a-48eb-8589-7d49edaea813`. # noqa: E501
OpenAPI spec version: v3
... | 38.777494 | 236 | 0.614991 | 3,602 | 30,324 | 4.879511 | 0.056635 | 0.045972 | 0.037551 | 0.044379 | 0.957897 | 0.953061 | 0.946461 | 0.939008 | 0.934456 | 0.933318 | 0 | 0.01671 | 0.297421 | 30,324 | 781 | 237 | 38.827145 | 0.808261 | 0.320406 | 0 | 0.822695 | 0 | 0 | 0.187431 | 0.054451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040189 | false | 0 | 0.009456 | 0 | 0.108747 | 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 |
1fa9bd99cc0cefda66b99c89d32eb998269a611a | 32,069 | py | Python | snape/flicker.py | SuryaThiru/snape | 3402af05ad2ccba958888befa5177a4850adbf7f | [
"Apache-2.0"
] | 182 | 2016-12-14T21:09:42.000Z | 2022-03-04T03:39:46.000Z | snape/flicker.py | SuryaThiru/snape | 3402af05ad2ccba958888befa5177a4850adbf7f | [
"Apache-2.0"
] | 15 | 2016-12-06T18:37:08.000Z | 2020-07-31T17:30:00.000Z | core/flicker.py | slizb/iglu | 888ec9009431b50a47fe009f8ac13638b6547745 | [
"Apache-2.0"
] | 30 | 2017-01-19T19:24:37.000Z | 2021-12-06T10:23:04.000Z |
junk_image1 = b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x01\xf4\x00\x00\x01v\x08\x00\x00\x00\x00\xbd\xc55\x85\x00\x00\x07\xcaIDATx\x01\xec\xd9m\xeb\xd2P\x1c\xc6\xf1\xff\xfb\x7f)g\xe1)oB\x0ef\x92\xe2\xcd\n\x94\xac\xa8\x19Ef\xa93l\xd8\xb4:n\xfe\xba\xda\xa6\xab\xe7\xff\'\x1e\xaf/x\xcdm\x0f?0\x06\xbb\xdb\xb2\x9b\xebn+... | 8,017.25 | 26,043 | 0.732234 | 7,367 | 32,069 | 3.182028 | 0.240396 | 0.005887 | 0.008446 | 0.010238 | 0.035833 | 0.035833 | 0.034724 | 0.031525 | 0.031525 | 0.031525 | 0 | 0.250703 | 0.002339 | 32,069 | 3 | 26,044 | 10,689.666667 | 0.481997 | 0 | 0 | 0 | 0 | 14 | 0.670388 | 0.665492 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1fb0d351102592159ee6a917dd248009cd700533 | 20,393 | py | Python | sdk/python/pulumi_newrelic/api_access_key.py | bob-bins/pulumi-newrelic | f8a121fb7d6e6ad979d3ccf72467b9e89769e305 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2019-09-17T20:41:26.000Z | 2022-01-13T23:54:14.000Z | sdk/python/pulumi_newrelic/api_access_key.py | bob-bins/pulumi-newrelic | f8a121fb7d6e6ad979d3ccf72467b9e89769e305 | [
"ECL-2.0",
"Apache-2.0"
] | 136 | 2019-04-29T21:34:57.000Z | 2022-03-30T17:07:03.000Z | sdk/python/pulumi_newrelic/api_access_key.py | bob-bins/pulumi-newrelic | f8a121fb7d6e6ad979d3ccf72467b9e89769e305 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2019-10-05T10:33:59.000Z | 2021-06-15T16:37:49.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.574113 | 201 | 0.630903 | 2,603 | 20,393 | 4.75874 | 0.080292 | 0.078146 | 0.067813 | 0.065714 | 0.861548 | 0.84403 | 0.832486 | 0.816663 | 0.808509 | 0.80092 | 0 | 0.001923 | 0.260383 | 20,393 | 478 | 202 | 42.66318 | 0.819333 | 0.402491 | 0 | 0.716 | 1 | 0 | 0.075966 | 0.003661 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.004 | 0.02 | 0 | 0.276 | 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 |
1fcde10af6e71da8c4ae91b2cecfc62ef747de93 | 956 | py | Python | tests/utils/test_match.py | jeremyschlatter/vaccine-feed-ingest | 215f6c144fe5220deaccdb5db3e96f28b7077b3f | [
"MIT"
] | null | null | null | tests/utils/test_match.py | jeremyschlatter/vaccine-feed-ingest | 215f6c144fe5220deaccdb5db3e96f28b7077b3f | [
"MIT"
] | 65 | 2021-05-04T13:05:01.000Z | 2022-03-31T10:13:49.000Z | tests/utils/test_match.py | jeremyschlatter/vaccine-feed-ingest | 215f6c144fe5220deaccdb5db3e96f28b7077b3f | [
"MIT"
] | null | null | null | from vaccine_feed_ingest.utils import match
def test_is_concordance_similar(full_location, minimal_location, vial_location):
assert match.is_concordance_similar(full_location, vial_location)
assert not match.is_concordance_similar(minimal_location, vial_location)
def test_is_address_similar(full_location, ... | 36.769231 | 83 | 0.848326 | 130 | 956 | 5.769231 | 0.184615 | 0.192 | 0.32 | 0.288 | 0.870667 | 0.769333 | 0.710667 | 0.605333 | 0.424 | 0.236 | 0 | 0 | 0.096234 | 956 | 25 | 84 | 38.24 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.615385 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1ffe75b4736bb2daa16ad12967f532235a2b0677 | 4,559 | py | Python | edbdeploy/spec/baremetal.py | vincentp7212/postgres-deployment | ea0ed0e06a4eb99cc28600398eddcf2320778113 | [
"BSD-3-Clause"
] | 58 | 2020-02-24T21:02:50.000Z | 2022-03-28T14:51:56.000Z | edbdeploy/spec/baremetal.py | vincentp7212/postgres-deployment | ea0ed0e06a4eb99cc28600398eddcf2320778113 | [
"BSD-3-Clause"
] | 108 | 2020-09-18T12:53:44.000Z | 2022-02-02T09:02:31.000Z | edbdeploy/spec/baremetal.py | vincentp7212/postgres-deployment | ea0ed0e06a4eb99cc28600398eddcf2320778113 | [
"BSD-3-Clause"
] | 47 | 2020-03-04T15:51:01.000Z | 2022-02-27T13:48:05.000Z | from . import SpecValidator
BaremetalSpec = {
'EDB-RA-1': {
'ssh_user': SpecValidator(type='string', default=None),
'pg_data': SpecValidator(type='string', default=None),
'pg_wal': SpecValidator(type='string', default=None),
'postgres_server_1': {
'name': SpecValidator(t... | 45.59 | 68 | 0.573591 | 444 | 4,559 | 5.725225 | 0.081081 | 0.381196 | 0.239182 | 0.289536 | 0.97443 | 0.97443 | 0.97443 | 0.933124 | 0.933124 | 0.933124 | 0 | 0.019741 | 0.255539 | 4,559 | 99 | 69 | 46.050505 | 0.729228 | 0 | 0 | 0.683673 | 0 | 0 | 0.230972 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010204 | 0 | 0.010204 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2f1b669092b8b167d53d53cce79bec39a591e1c1 | 3,934 | py | Python | tests/test_PrependError.py | hutoTUM/macke-opt-llvm | 95830cb4e1416a6d1fb538f2b91d1c4720d4bde7 | [
"Apache-2.0"
] | 4 | 2018-05-11T08:33:46.000Z | 2019-12-16T01:49:37.000Z | tests/test_PrependError.py | aheroine/use-llvm-opt | 407102740f563f57a7abb952e198f6a65800deaa | [
"Apache-2.0"
] | null | null | null | tests/test_PrependError.py | aheroine/use-llvm-opt | 407102740f563f57a7abb952e198f6a65800deaa | [
"Apache-2.0"
] | null | null | null | import unittest
import os
import re
import subprocess
class TestPrependError(unittest.TestCase):
def test_symmain_directory(self):
self.assertIn("LLVMBIN", os.environ, "Path to llvm-bin not set")
self.assertIn("KLEEBIN", os.environ, "Path to klee-bin not set")
bitcodefile = "bin/klee_sym... | 36.766355 | 73 | 0.576004 | 429 | 3,934 | 5.242424 | 0.251748 | 0.048021 | 0.0747 | 0.081814 | 0.847488 | 0.847488 | 0.847488 | 0.847488 | 0.847488 | 0.847488 | 0 | 0.024587 | 0.276309 | 3,934 | 106 | 74 | 37.113208 | 0.765367 | 0.061261 | 0 | 0.769231 | 0 | 0 | 0.2654 | 0.071913 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.025641 | false | 0 | 0.051282 | 0 | 0.089744 | 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 |
c832c2b3e3054dd7f4eba7ae39631b1e43d56773 | 1,089 | py | Python | Modules/flashlight().py | SZ2G-RoboticsClub/SmartCrutch-DemoBoard | 0d32acc9c934b384612a721ecde0259c8d90a82d | [
"MIT"
] | 1 | 2021-07-14T01:31:17.000Z | 2021-07-14T01:31:17.000Z | Modules/flashlight().py | SZ2G-RoboticsClub/SmartCrutch-DemoBoard | 0d32acc9c934b384612a721ecde0259c8d90a82d | [
"MIT"
] | null | null | null | Modules/flashlight().py | SZ2G-RoboticsClub/SmartCrutch-DemoBoard | 0d32acc9c934b384612a721ecde0259c8d90a82d | [
"MIT"
] | null | null | null | from mpython import *
import neopixel
import time
my_rgb = neopixel.NeoPixel(Pin(Pin.P13), n=24, bpp=3, timing=1)
def flashlight():
for i in range(2):
my_rgb.fill( (255, 0, 0) )
my_rgb.write()
time.sleep_ms(50)
my_rgb.fill( (0, 0, 0... | 25.325581 | 67 | 0.490358 | 163 | 1,089 | 3.08589 | 0.190184 | 0.208748 | 0.178926 | 0.27833 | 0.717694 | 0.717694 | 0.717694 | 0.717694 | 0.717694 | 0.717694 | 0 | 0.104348 | 0.366391 | 1,089 | 43 | 68 | 25.325581 | 0.624638 | 0 | 0 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.076923 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 1 | 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 | 8 |
c091c64c9f6b764d68bafb5d1ad27be880d8e240 | 227 | py | Python | xonsh/aliases/dir.py | yjpark/dotfiles | ae9ad72eb2e2a4d3da4c600d24782720229d1a4b | [
"MIT"
] | 7 | 2015-12-18T04:33:01.000Z | 2019-09-17T06:09:51.000Z | xonsh/aliases/dir.py | yjpark/dotfiles | ae9ad72eb2e2a4d3da4c600d24782720229d1a4b | [
"MIT"
] | 1 | 2016-05-12T15:32:47.000Z | 2016-05-12T15:32:47.000Z | xonsh/aliases/dir.py | yjpark/dotfiles | ae9ad72eb2e2a4d3da4c600d24782720229d1a4b | [
"MIT"
] | 4 | 2016-11-29T04:06:19.000Z | 2019-12-26T14:32:46.000Z | aliases['cd-'] = 'cd -'
aliases['cl'] = 'cd (ls -1Ft | head -1)'
aliases['..'] = 'cd ..'
aliases['...'] = 'cd ../..'
aliases['....'] = 'cd ../../..'
aliases['.....'] = 'cd ../../../..'
aliases['......'] = 'cd ../../../../..'
| 22.7 | 40 | 0.339207 | 20 | 227 | 3.85 | 0.35 | 0.701299 | 0.831169 | 0.935065 | 0.584416 | 0.584416 | 0.584416 | 0.584416 | 0 | 0 | 0 | 0.010363 | 0.14978 | 227 | 9 | 41 | 25.222222 | 0.388601 | 0 | 0 | 0 | 0 | 0 | 0.46696 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c0b40331943eedccfdcfa2dfe402031536f745fe | 7,266 | py | Python | tests/test_spatialvector.py | jungr-ait/spatialmath-python | 140d499e733ed9775762df90d36e4b2c4c2fc6eb | [
"MIT"
] | 183 | 2020-04-24T02:49:36.000Z | 2022-03-31T16:13:38.000Z | tests/test_spatialvector.py | jungr-ait/spatialmath-python | 140d499e733ed9775762df90d36e4b2c4c2fc6eb | [
"MIT"
] | 29 | 2020-05-21T04:13:33.000Z | 2022-02-15T12:46:17.000Z | tests/test_spatialvector.py | jungr-ait/spatialmath-python | 140d499e733ed9775762df90d36e4b2c4c2fc6eb | [
"MIT"
] | 39 | 2020-05-06T11:22:55.000Z | 2022-03-21T14:15:16.000Z |
import unittest
import numpy.testing as nt
import numpy as np
from spatialmath.spatialvector import *
class TestSpatialVector(unittest.TestCase):
def test_list_powers(self):
x = SpatialVelocity.Empty()
self.assertEqual(len(x), 0)
x.append(SpatialVelocity([1, 2, 3, 4, 5, 6]))
self... | 32.58296 | 90 | 0.579136 | 922 | 7,266 | 4.52603 | 0.098698 | 0.287563 | 0.181165 | 0.019171 | 0.790319 | 0.790319 | 0.788162 | 0.771867 | 0.749341 | 0.749341 | 0 | 0.04906 | 0.267823 | 7,266 | 223 | 91 | 32.58296 | 0.735338 | 0.035921 | 0 | 0.690476 | 0 | 0 | 0.011294 | 0 | 0 | 0 | 0 | 0 | 0.660714 | 1 | 0.047619 | false | 0.011905 | 0.02381 | 0 | 0.077381 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c0d2686a32c098e3878691628a43110629043f78 | 1,089 | py | Python | main.py | YasunoriMATSUOKA/photo-hunt | e3ca9e8f42c8a6c6b02c9fdcee9ea44a30d18f66 | [
"MIT"
] | null | null | null | main.py | YasunoriMATSUOKA/photo-hunt | e3ca9e8f42c8a6c6b02c9fdcee9ea44a30d18f66 | [
"MIT"
] | null | null | null | main.py | YasunoriMATSUOKA/photo-hunt | e3ca9e8f42c8a6c6b02c9fdcee9ea44a30d18f66 | [
"MIT"
] | null | null | null | from PhotoHunt import PhotoHunt
# Todo: 各URLあたり1~2個の未検出、誤検出等の課題はあるが、概ね意図通り動作する状態となった
url_list = [
"https://www.saizeriya.co.jp/entertainment/images/1710/body.png",
"https://www.saizeriya.co.jp/entertainment/images/1801/body.png",
"https://www.saizeriya.co.jp/entertainment/images/1804/body.png",
"https:... | 47.347826 | 69 | 0.733701 | 153 | 1,089 | 5.196078 | 0.24183 | 0.130818 | 0.277987 | 0.310692 | 0.759748 | 0.759748 | 0.759748 | 0.709434 | 0.709434 | 0 | 0 | 0.054271 | 0.086318 | 1,089 | 22 | 70 | 49.5 | 0.744724 | 0.045914 | 0 | 0 | 0 | 0 | 0.777242 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
23bbe8dfe70d77ea6c966fa54a0f12dbc414a437 | 16,580 | py | Python | sdk/python/pulumi_azure/lb/backend_address_pool_address.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/lb/backend_address_pool_address.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/lb/backend_address_pool_address.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... | 47.643678 | 282 | 0.68076 | 2,015 | 16,580 | 5.352854 | 0.08933 | 0.116818 | 0.146857 | 0.066753 | 0.828111 | 0.811422 | 0.796032 | 0.774059 | 0.761728 | 0.75153 | 0 | 0.00654 | 0.234499 | 16,580 | 347 | 283 | 47.78098 | 0.843287 | 0.41532 | 0 | 0.602273 | 1 | 0 | 0.121077 | 0.042337 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153409 | false | 0.005682 | 0.028409 | 0 | 0.272727 | 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 |
7b072a958ac36c49b32339e29f7e4de28848fadd | 3,644 | py | Python | apportionpy/experimental/boundary.py | btror/apportionpy | 5b70dbeee4b197e41794bed061ea4a11f128d1c8 | [
"MIT"
] | null | null | null | apportionpy/experimental/boundary.py | btror/apportionpy | 5b70dbeee4b197e41794bed061ea4a11f128d1c8 | [
"MIT"
] | null | null | null | apportionpy/experimental/boundary.py | btror/apportionpy | 5b70dbeee4b197e41794bed061ea4a11f128d1c8 | [
"MIT"
] | null | null | null | import math
def estimate_lowest_divisor(method, divisor, populations, seats):
"""
Calculates the estimated lowest possible divisor.
:param method: The method used.
:type method: str
:param divisor: A working divisor in calculating fair shares.
:type divisor: float
:param populations: Th... | 30.881356 | 72 | 0.611416 | 416 | 3,644 | 5.283654 | 0.1875 | 0.063694 | 0.030027 | 0.027298 | 0.906278 | 0.8899 | 0.8899 | 0.850773 | 0.760692 | 0.760692 | 0 | 0.023866 | 0.310099 | 3,644 | 117 | 73 | 31.145299 | 0.850438 | 0.324369 | 0 | 0.786885 | 0 | 0 | 0.017007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.016393 | 0 | 0.114754 | 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 |
9e39c8fbaaf037c97de86567d3d6ad2bfa09867d | 642 | py | Python | test/walk.py | manxueitp/cozmo-test | a91b1a4020544cb622bd67385f317931c095d2e8 | [
"MIT"
] | null | null | null | test/walk.py | manxueitp/cozmo-test | a91b1a4020544cb622bd67385f317931c095d2e8 | [
"MIT"
] | null | null | null | test/walk.py | manxueitp/cozmo-test | a91b1a4020544cb622bd67385f317931c095d2e8 | [
"MIT"
] | null | null | null | import cozmo
from cozmo.util import distance_mm, speed_mmps,degrees
def cozmo_program(robot: cozmo.robot.Robot):
robot.drive_straight(distance_mm(150),speed_mmps(100)).wait_for_completed()
robot.turn_in_place(degrees(90)).wait_for_completed()
robot.drive_straight(distance_mm(150),speed_mmps(100)).wait_for_... | 45.857143 | 79 | 0.800623 | 98 | 642 | 4.867347 | 0.244898 | 0.102725 | 0.234801 | 0.264151 | 0.752621 | 0.752621 | 0.752621 | 0.752621 | 0.752621 | 0.752621 | 0 | 0.050505 | 0.074766 | 642 | 13 | 80 | 49.384615 | 0.752525 | 0 | 0 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9e4940a9f3cc370e790b4e7a714aac9bb4e6baa7 | 9,446 | py | Python | accelbyte_py_sdk/api/platform/wrappers/_anonymization.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | accelbyte_py_sdk/api/platform/wrappers/_anonymization.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | 1 | 2021-10-13T03:46:58.000Z | 2021-10-13T03:46:58.000Z | accelbyte_py_sdk/api/platform/wrappers/_anonymization.py | AccelByte/accelbyte-python-sdk | dcd311fad111c59da828278975340fb92e0f26f7 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: justice_py_sdk_codegen/__main__.py
# pylint: disable=duplicate-code
# pylint: disable=li... | 37.935743 | 151 | 0.72401 | 1,115 | 9,446 | 5.904933 | 0.095964 | 0.043742 | 0.087485 | 0.043742 | 0.771416 | 0.764125 | 0.764125 | 0.764125 | 0.749848 | 0.749848 | 0 | 0.00052 | 0.185264 | 9,446 | 248 | 152 | 38.08871 | 0.85499 | 0.081093 | 0 | 0.757895 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042105 | false | 0 | 0.073684 | 0 | 0.284211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9e55fcc920876b41b0c966a7f0b020aafcb8f66f | 87 | py | Python | examples/testlib2/box/methods_a.py | uibcdf/pyunitwizard | 54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7 | [
"MIT"
] | 2 | 2021-07-01T14:33:58.000Z | 2022-03-19T19:19:09.000Z | examples/testlib2/box/methods_a.py | uibcdf/pyunitwizard | 54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7 | [
"MIT"
] | 15 | 2021-02-11T18:54:16.000Z | 2022-03-18T17:38:03.000Z | examples/testlib2/box/methods_a.py | uibcdf/pyunitwizard | 54cdce7369e1f2a3771a1f05a4a6ba1d7610a5e7 | [
"MIT"
] | 2 | 2021-06-17T18:56:02.000Z | 2022-03-08T05:02:17.000Z | from testlib2 import _puw
def get_default_form():
return _puw.get_default_form()
| 14.5 | 34 | 0.770115 | 13 | 87 | 4.692308 | 0.692308 | 0.327869 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.16092 | 87 | 5 | 35 | 17.4 | 0.821918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 9 |
9e5d616453b278b53324517816e3de2bbc018cf8 | 125 | py | Python | secreto.py | PeedrinZangw/sadness-musicbot-01 | c0dab41baba5ab43d840e440cfdc6ec78ac2d823 | [
"MIT"
] | null | null | null | secreto.py | PeedrinZangw/sadness-musicbot-01 | c0dab41baba5ab43d840e440cfdc6ec78ac2d823 | [
"MIT"
] | null | null | null | secreto.py | PeedrinZangw/sadness-musicbot-01 | c0dab41baba5ab43d840e440cfdc6ec78ac2d823 | [
"MIT"
] | null | null | null | def seu_token():
return "NDUyMzQxOTA3MDEyNzE0NTI2.DgCa4Q.qhpEIZAUh3sLzZAqbdduRqjUwl8"
#Subistitua xxxxxx pelo seu token!! | 41.666667 | 72 | 0.824 | 12 | 125 | 8.5 | 0.833333 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0.096 | 125 | 3 | 73 | 41.666667 | 0.849558 | 0.272 | 0 | 0 | 0 | 0 | 0.648352 | 0.648352 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
9e6f2b92ac7a2ae064a50bab58b816c3b9c6230f | 163 | py | Python | urizen/__init__.py | misagai/urizen | ad756749ae7b0bb6db7024c6128998e56236ee6d | [
"Apache-2.0"
] | 107 | 2020-01-08T21:27:59.000Z | 2022-03-19T07:59:23.000Z | urizen/__init__.py | misagai/urizen | ad756749ae7b0bb6db7024c6128998e56236ee6d | [
"Apache-2.0"
] | 1 | 2020-05-22T17:54:12.000Z | 2021-06-27T01:02:39.000Z | urizen/__init__.py | misagai/urizen | ad756749ae7b0bb6db7024c6128998e56236ee6d | [
"Apache-2.0"
] | 7 | 2020-01-08T21:12:11.000Z | 2022-03-19T07:59:27.000Z | import urizen.core
from urizen.core import *
import urizen.generators
from urizen.generators import *
import urizen.visualizers
from urizen.visualizers import *
| 18.111111 | 32 | 0.822086 | 21 | 163 | 6.380952 | 0.285714 | 0.268657 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 163 | 8 | 33 | 20.375 | 0.937063 | 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 |
7b4b9aebba4c243de4aa31a177c2640cf3ee6e9d | 199 | py | Python | src/gluonts/model/prophet/__init__.py | rlucas7/gluon-ts | f8572ab4daeb01a05aa88a252bb67ec9062ee150 | [
"Apache-2.0"
] | null | null | null | src/gluonts/model/prophet/__init__.py | rlucas7/gluon-ts | f8572ab4daeb01a05aa88a252bb67ec9062ee150 | [
"Apache-2.0"
] | null | null | null | src/gluonts/model/prophet/__init__.py | rlucas7/gluon-ts | f8572ab4daeb01a05aa88a252bb67ec9062ee150 | [
"Apache-2.0"
] | null | null | null | # Relative imports
from ._estimator import ProphetEstimator
from ._predictor import ProphetPredictor, PROPHET_IS_INSTALLED
__all__ = ['ProphetEstimator', 'ProphetPredictor', 'PROPHET_IS_INSTALLED']
| 33.166667 | 74 | 0.834171 | 19 | 199 | 8.210526 | 0.631579 | 0.294872 | 0.320513 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090452 | 199 | 5 | 75 | 39.8 | 0.861878 | 0.080402 | 0 | 0 | 0 | 0 | 0.287293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7b5b0c3580d4b9ad4e0f4e13f5794c9e38d7df6a | 160 | py | Python | components/charts.py | tufts-ml/c19-dashboard | be88f91ca74dd154566bd7b36fe482565331346b | [
"MIT"
] | null | null | null | components/charts.py | tufts-ml/c19-dashboard | be88f91ca74dd154566bd7b36fe482565331346b | [
"MIT"
] | 5 | 2020-04-10T20:36:18.000Z | 2020-04-28T19:42:15.000Z | components/charts.py | tufts-ml/c19-dashboard | be88f91ca74dd154566bd7b36fe482565331346b | [
"MIT"
] | null | null | null | import dash_html_components as html
def chart_panel() -> html.Div:
return html.Div(className='row', children=[html.Div(id='output', className='column')])
| 26.666667 | 90 | 0.725 | 23 | 160 | 4.913043 | 0.695652 | 0.185841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 160 | 5 | 91 | 32 | 0.795775 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
7b6453cb804d74096b8a1f23797b8a9e957ae61c | 12,614 | py | Python | tests/conversion/converters/inside_worker_test/declarative_schema/osm_models.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 27 | 2015-03-30T14:17:26.000Z | 2022-02-19T17:30:44.000Z | tests/conversion/converters/inside_worker_test/declarative_schema/osm_models.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 483 | 2015-03-09T16:58:03.000Z | 2022-03-14T09:29:06.000Z | tests/conversion/converters/inside_worker_test/declarative_schema/osm_models.py | tyrasd/osmaxx | da4454083d17b2ef8b0623cad62e39992b6bd52a | [
"MIT"
] | 6 | 2015-04-07T07:38:30.000Z | 2020-04-01T12:45:53.000Z | # coding: utf-8
from geoalchemy2 import Geometry
from sqlalchemy import BigInteger, Column, DateTime, Float, Integer, SmallInteger, Table, Text, TEXT, BIGINT
from sqlalchemy.dialects.postgresql import HSTORE
from sqlalchemy.dialects.postgresql import ARRAY
from sqlalchemy.ext.declarative import declarative_base
Base ... | 29.961995 | 108 | 0.615507 | 1,405 | 12,614 | 5.462633 | 0.108897 | 0.442997 | 0.051075 | 0.009902 | 0.916091 | 0.903062 | 0.88456 | 0.88456 | 0.88456 | 0.88456 | 0 | 0.002549 | 0.191216 | 12,614 | 420 | 109 | 30.033333 | 0.749755 | 0.001031 | 0 | 0.912718 | 0 | 0 | 0.245813 | 0.006667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012469 | 0 | 0.05985 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c8ce9069c002bb7867b82767bde341a14df75d08 | 104 | py | Python | integration/tests/error_assert_variable.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 1,013 | 2020-08-27T12:38:48.000Z | 2022-03-31T23:12:23.000Z | integration/tests/error_assert_variable.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 217 | 2020-08-31T11:18:10.000Z | 2022-03-30T17:50:30.000Z | integration/tests/error_assert_variable.py | youhavethewrong/hurl | 91cc14882a5f1ef7fa86be09a9f5581cef680559 | [
"Apache-2.0"
] | 54 | 2020-09-02T09:41:06.000Z | 2022-03-19T15:33:05.000Z | from tests import app
@app.route("/error-assert-variable")
def error_assert_variable():
return ''
| 14.857143 | 36 | 0.721154 | 14 | 104 | 5.214286 | 0.714286 | 0.30137 | 0.520548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 6 | 37 | 17.333333 | 0.820225 | 0 | 0 | 0 | 0 | 0 | 0.213592 | 0.213592 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
cdcae84167fb352d7727b5d25c865135e36f6d5e | 25,254 | py | Python | applications/EsteEuQuero/models/produto.py | vgcarvpro/vgcarvpro | 16d720cb49f02e4f859c27901360b34681e986c0 | [
"BSD-3-Clause"
] | null | null | null | applications/EsteEuQuero/models/produto.py | vgcarvpro/vgcarvpro | 16d720cb49f02e4f859c27901360b34681e986c0 | [
"BSD-3-Clause"
] | null | null | null | applications/EsteEuQuero/models/produto.py | vgcarvpro/vgcarvpro | 16d720cb49f02e4f859c27901360b34681e986c0 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
def produtos():
prod = [["Rack de Teto Uno 2010 2011 2012 2013 2014 2015 a 2020 Preto", '<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&Mar... | 5,050.8 | 25,197 | 0.818405 | 3,551 | 25,254 | 5.67474 | 0.101943 | 0.023473 | 0.034142 | 0.044812 | 0.800407 | 0.799414 | 0.799414 | 0.797727 | 0.797727 | 0.797727 | 0 | 0.112184 | 0.036034 | 25,254 | 4 | 25,198 | 6,313.5 | 0.715454 | 0.000832 | 0 | 0 | 0 | 16.333333 | 0.974476 | 0.719829 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
a8347ba774f82ced779a3ceac5d45c914fbb1cf6 | 3,179 | py | Python | tests/test_derivatives.py | whalenpt/rkstiff | 9fbec7ddd123cc644d392933b518d342751b4cd8 | [
"MIT"
] | 4 | 2021-11-05T15:35:21.000Z | 2022-01-17T10:20:57.000Z | tests/test_derivatives.py | whalenpt/rkstiff | 9fbec7ddd123cc644d392933b518d342751b4cd8 | [
"MIT"
] | null | null | null | tests/test_derivatives.py | whalenpt/rkstiff | 9fbec7ddd123cc644d392933b518d342751b4cd8 | [
"MIT"
] | null | null | null |
from rkstiff.grids import construct_x_kx_rfft, construct_x_kx_fft
from rkstiff.grids import construct_x_Dx_cheb
from rkstiff.derivatives import dx_rfft, dx_fft
import numpy as np
def test_periodic_dx_rfft():
N = 100
a, b = 0, 2*np.pi
x,kx = construct_x_kx_rfft(N,a,b)
u = np.sin(x)
ux_exact = np.co... | 26.057377 | 74 | 0.624096 | 628 | 3,179 | 2.923567 | 0.106688 | 0.122004 | 0.078431 | 0.081699 | 0.888344 | 0.880719 | 0.845861 | 0.815359 | 0.815359 | 0.815359 | 0 | 0.038057 | 0.223026 | 3,179 | 121 | 75 | 26.272727 | 0.705263 | 0.016672 | 0 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 1 | 0.092784 | false | 0 | 0.041237 | 0 | 0.134021 | 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 |
b517e64ad1c06cf00c0f78b0ee1fc02a33f3ce6e | 3,109 | py | Python | tools/serve/test_serve.py | mtrzos/wpt | 6e559a60ecfa38ad6cc434911dd0995a63900db6 | [
"BSD-3-Clause"
] | null | null | null | tools/serve/test_serve.py | mtrzos/wpt | 6e559a60ecfa38ad6cc434911dd0995a63900db6 | [
"BSD-3-Clause"
] | null | null | null | tools/serve/test_serve.py | mtrzos/wpt | 6e559a60ecfa38ad6cc434911dd0995a63900db6 | [
"BSD-3-Clause"
] | 1 | 2021-04-06T20:06:58.000Z | 2021-04-06T20:06:58.000Z | import pickle
import platform
import os
import pytest
import localpaths
from . import serve
from .serve import Config
@pytest.mark.skipif(platform.uname()[0] == "Windows",
reason="Expected contents are platform-dependent")
def test_make_hosts_file_nix():
c = Config(browser_host="foo.bar", al... | 38.8625 | 88 | 0.525571 | 409 | 3,109 | 3.872861 | 0.183374 | 0.098485 | 0.131313 | 0.164141 | 0.833333 | 0.782828 | 0.777778 | 0.777778 | 0.777778 | 0.777778 | 0 | 0.152791 | 0.320039 | 3,109 | 79 | 89 | 39.35443 | 0.5965 | 0.030878 | 0 | 0.676923 | 0 | 0 | 0.327351 | 0.266201 | 0 | 0 | 0 | 0 | 0.169231 | 1 | 0.092308 | false | 0 | 0.107692 | 0 | 0.2 | 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 |
b5317c9553e4578dd1313a39baa5b57770eff21b | 6,163 | py | Python | app/api_service/ice_creams/migrations/0001_initial.py | TheRayOfSeasons/worker-heavy-cicd | fa36e89dd68ee2fd8b37bda55d6bb885f31afaa7 | [
"MIT"
] | null | null | null | app/api_service/ice_creams/migrations/0001_initial.py | TheRayOfSeasons/worker-heavy-cicd | fa36e89dd68ee2fd8b37bda55d6bb885f31afaa7 | [
"MIT"
] | null | null | null | app/api_service/ice_creams/migrations/0001_initial.py | TheRayOfSeasons/worker-heavy-cicd | fa36e89dd68ee2fd8b37bda55d6bb885f31afaa7 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.6 on 2021-02-12 07:47
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 66.268817 | 204 | 0.646438 | 687 | 6,163 | 5.56623 | 0.129549 | 0.050209 | 0.075314 | 0.09205 | 0.877092 | 0.877092 | 0.877092 | 0.859571 | 0.859571 | 0.84545 | 0 | 0.006837 | 0.216778 | 6,163 | 92 | 205 | 66.98913 | 0.785374 | 0.007302 | 0 | 0.576471 | 1 | 0 | 0.162852 | 0.067691 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035294 | 0 | 0.082353 | 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 |
b53f8bde038bcadd2b2dcbf0be630c6ab3f7dcdd | 122 | py | Python | semg_bss/hyser/__init__.py | nihil21/semg-bss | c8abd8aad6ed35e22a31d238adafe28f22bbcb3f | [
"MIT"
] | 2 | 2021-12-09T15:27:42.000Z | 2021-12-16T12:48:54.000Z | semg_bss/hyser/__init__.py | nihil21/semg-bss | c8abd8aad6ed35e22a31d238adafe28f22bbcb3f | [
"MIT"
] | null | null | null | semg_bss/hyser/__init__.py | nihil21/semg-bss | c8abd8aad6ed35e22a31d238adafe28f22bbcb3f | [
"MIT"
] | null | null | null | from .dataset import load_pr, load_1dof, load_mvc, load_ndof
__all__ = ["load_pr", "load_1dof", "load_mvc", "load_ndof"]
| 30.5 | 60 | 0.737705 | 20 | 122 | 3.9 | 0.45 | 0.153846 | 0.25641 | 0.358974 | 0.74359 | 0.74359 | 0.74359 | 0.74359 | 0 | 0 | 0 | 0.018519 | 0.114754 | 122 | 3 | 61 | 40.666667 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.270492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
b586010d4e3392e2a65d444fb3bb7f33c20e15b9 | 67,167 | py | Python | iriusrisk-python-client-lib/iriusrisk_python_client_lib/api/users_api.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/iriusrisk_python_client_lib/api/users_api.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | iriusrisk-python-client-lib/iriusrisk_python_client_lib/api/users_api.py | iriusrisk/iriusrisk-python-client-lib | 4912706cd1e5c0bc555dbc7da02fb64cbeab3b18 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
IriusRisk API
Products API # noqa: E501
OpenAPI spec version: 1
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from iriusrisk_py... | 46.322069 | 390 | 0.634448 | 8,210 | 67,167 | 4.939342 | 0.025213 | 0.045768 | 0.030578 | 0.023081 | 0.98841 | 0.985771 | 0.98153 | 0.973639 | 0.959139 | 0.946168 | 0 | 0.014725 | 0.280093 | 67,167 | 1,449 | 391 | 46.354037 | 0.823924 | 0.377149 | 0 | 0.790668 | 1 | 0 | 0.218346 | 0.075779 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034048 | false | 0 | 0.005044 | 0 | 0.089533 | 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 |
a934ac7175537d5e0f644f854f7833119ee2a065 | 4,697 | py | Python | dfa_App/migrations/0020_auto_20200805_2155.py | aejsi5/digifaa | e178986ba556db6175ede3fa1a2c1c39489b7e68 | [
"MIT"
] | null | null | null | dfa_App/migrations/0020_auto_20200805_2155.py | aejsi5/digifaa | e178986ba556db6175ede3fa1a2c1c39489b7e68 | [
"MIT"
] | null | null | null | dfa_App/migrations/0020_auto_20200805_2155.py | aejsi5/digifaa | e178986ba556db6175ede3fa1a2c1c39489b7e68 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.1 on 2020-08-05 19:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('dfa_App', '0019_auto_20200805_2140'),
]
operations = [
migrations.AddField(
model_name='constraint',
name='Constrain... | 59.455696 | 255 | 0.613157 | 519 | 4,697 | 5.38921 | 0.140655 | 0.130139 | 0.088309 | 0.1069 | 0.93064 | 0.93064 | 0.93064 | 0.93064 | 0.93064 | 0.878441 | 0 | 0.031668 | 0.220141 | 4,697 | 78 | 256 | 60.217949 | 0.731914 | 0.009581 | 0 | 0.652778 | 1 | 0 | 0.350108 | 0.106022 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013889 | 0 | 0.055556 | 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 |
a982f1f9c012c80b9c26e9e99c4415060d09e04a | 166 | py | Python | Project/Python/project/public/auto/__init__.py | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | Project/Python/project/public/auto/__init__.py | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | Project/Python/project/public/auto/__init__.py | renwei-release/dave | 773301edd3bee6e7526e0d5587ff8af9f01e288f | [
"MIT"
] | null | null | null | import ctypes
import struct
from .dave_define import *
from .dave_enum import *
from .dave_msg_id import *
from .dave_msg_struct import *
from .dave_struct import * | 18.444444 | 30 | 0.789157 | 26 | 166 | 4.769231 | 0.346154 | 0.322581 | 0.451613 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150602 | 166 | 9 | 31 | 18.444444 | 0.879433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8d1f2e38cdfd31edc3acb7a262903d61da73d831 | 1,652 | py | Python | Subjects/migrations/0001_initial.py | Mithzyl/Master-college-selecting-api | ec8f36067fb648238df4faeaa6a65e5a78740e6c | [
"MIT"
] | null | null | null | Subjects/migrations/0001_initial.py | Mithzyl/Master-college-selecting-api | ec8f36067fb648238df4faeaa6a65e5a78740e6c | [
"MIT"
] | null | null | null | Subjects/migrations/0001_initial.py | Mithzyl/Master-college-selecting-api | ec8f36067fb648238df4faeaa6a65e5a78740e6c | [
"MIT"
] | null | null | null | # Generated by Django 3.1.5 on 2021-02-07 08:19
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='FirstMajorSubject',
fields=[
('id', models.... | 35.148936 | 114 | 0.552663 | 154 | 1,652 | 5.824675 | 0.305195 | 0.093645 | 0.111483 | 0.102564 | 0.74359 | 0.74359 | 0.74359 | 0.74359 | 0.74359 | 0.74359 | 0 | 0.020175 | 0.309927 | 1,652 | 46 | 115 | 35.913043 | 0.766667 | 0.02724 | 0 | 0.717949 | 1 | 0 | 0.074143 | 0.013707 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.128205 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
57550dfdc85fef1e9e1bc0066478d7d691371d64 | 184 | py | Python | data_relay/src/plugins/AzureBlob.py | phil-d-wilson/connectorV2 | 7077aa1c74276e8e334a8046793e942eec8d9975 | [
"Apache-2.0"
] | null | null | null | data_relay/src/plugins/AzureBlob.py | phil-d-wilson/connectorV2 | 7077aa1c74276e8e334a8046793e942eec8d9975 | [
"Apache-2.0"
] | 49 | 2021-04-09T14:41:50.000Z | 2021-07-28T10:54:48.000Z | data_relay/src/plugins/AzureBlob.py | phil-d-wilson/connectorV2 | 7077aa1c74276e8e334a8046793e942eec8d9975 | [
"Apache-2.0"
] | 2 | 2021-04-24T10:47:57.000Z | 2021-07-17T07:13:00.000Z | NAME = "Azure BLOB storage"
TYPE = "remote"
FILE = "AzureBlob.yaml"
VARS = [
"AZURE_BLOB_STORAGE_ACCOUNT",
"AZURE_BLOB_STORAGE_ACCOUNT_KEY",
"AZURE_BLOB_CONTAINER_NAME",
]
| 20.444444 | 37 | 0.717391 | 23 | 184 | 5.304348 | 0.565217 | 0.295082 | 0.393443 | 0.377049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 184 | 8 | 38 | 23 | 0.792208 | 0 | 0 | 0 | 0 | 0 | 0.646739 | 0.440217 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9396f021d37c0bb0196896103dbb10d80bb60437 | 20,826 | py | Python | backend/tests/usecases/test_control_resource.py | crosspower/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 17 | 2019-01-23T04:37:43.000Z | 2019-10-15T01:42:31.000Z | backend/tests/usecases/test_control_resource.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 1 | 2019-01-23T08:04:44.000Z | 2019-01-23T08:44:33.000Z | backend/tests/usecases/test_control_resource.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 6 | 2019-01-23T09:10:59.000Z | 2020-12-02T04:15:41.000Z | from django.core.exceptions import PermissionDenied
from django.test import TestCase
from backend.models import UserModel, AwsEnvironmentModel
from unittest import mock
# デコレーターをmock化
with mock.patch('backend.models.OperationLogModel.operation_log', lambda executor_index=None, target_method=None, target_arg_index_... | 39.146617 | 162 | 0.687554 | 2,443 | 20,826 | 5.470323 | 0.051985 | 0.076025 | 0.050284 | 0.038761 | 0.881547 | 0.854535 | 0.839045 | 0.809114 | 0.793699 | 0.786142 | 0 | 0.003238 | 0.228945 | 20,826 | 531 | 163 | 39.220339 | 0.828995 | 0.048545 | 0 | 0.731563 | 0 | 0 | 0.036765 | 0.029266 | 0 | 0 | 0 | 0 | 0.324484 | 1 | 0.082596 | false | 0 | 0.014749 | 0 | 0.100295 | 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 |
93cc27f8724fb44128386ebba57195949fa0feb9 | 88,309 | py | Python | tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py | takahashi-tsc/tacker | a0ae01a13dcc51bb374060adcbb4fd484ab37156 | [
"Apache-2.0"
] | null | null | null | tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py | takahashi-tsc/tacker | a0ae01a13dcc51bb374060adcbb4fd484ab37156 | [
"Apache-2.0"
] | null | null | null | tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py | takahashi-tsc/tacker | a0ae01a13dcc51bb374060adcbb4fd484ab37156 | [
"Apache-2.0"
] | 1 | 2020-11-16T02:14:35.000Z | 2020-11-16T02:14:35.000Z | # Copyright (C) 2020 FUJITSU
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | 51.372309 | 79 | 0.691651 | 10,262 | 88,309 | 5.446209 | 0.034399 | 0.055503 | 0.053678 | 0.067992 | 0.952012 | 0.936517 | 0.929306 | 0.916603 | 0.8774 | 0.847269 | 0 | 0.011265 | 0.239058 | 88,309 | 1,718 | 80 | 51.402212 | 0.820441 | 0.00676 | 0 | 0.717788 | 0 | 0 | 0.112592 | 0.079615 | 0 | 0 | 0 | 0 | 0.079824 | 1 | 0.063482 | false | 0 | 0.011942 | 0 | 0.076053 | 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 |
93ef5cd7a8eaabe0926f1a74eb45c72effabde13 | 482,361 | py | Python | pynos/versions/ver_7/ver_7_1_0/yang/brocade_xstp_ext.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/ver_7/ver_7_1_0/yang/brocade_xstp_ext.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/ver_7/ver_7_1_0/yang/brocade_xstp_ext.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | #!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_xstp_ext(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def get_stp_brief_info_input_request_type_getnext_request_last_rcvd_instance_instance_id(sel... | 47.744333 | 133 | 0.671974 | 60,957 | 482,361 | 4.958856 | 0.001641 | 0.145297 | 0.076056 | 0.103713 | 0.99956 | 0.99956 | 0.99956 | 0.99956 | 0.99956 | 0.99956 | 0 | 0 | 0.216794 | 482,361 | 10,103 | 134 | 47.744333 | 0.800123 | 0.034006 | 0 | 0.99949 | 1 | 0 | 0.133677 | 0.002781 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072066 | false | 0 | 0.000128 | 0 | 0.14426 | 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 |
f58b58dad3bb3dc21147ea1fd781e8e5e4ef8b49 | 185 | py | Python | spotdl/metadata/providers/__init__.py | khjxiaogu/spotify-downloader | a8dcb8d998da0769bbe210f2808d16b346453c23 | [
"MIT"
] | 4,698 | 2017-06-20T22:37:10.000Z | 2022-03-28T13:38:07.000Z | spotdl/metadata/providers/__init__.py | Delgan/spotify-downloader | 8adf3e8d6b98269b1538dd91c9a44ed345c77545 | [
"MIT"
] | 690 | 2017-06-20T20:08:42.000Z | 2022-02-26T23:36:07.000Z | spotdl/metadata/providers/__init__.py | Delgan/spotify-downloader | 8adf3e8d6b98269b1538dd91c9a44ed345c77545 | [
"MIT"
] | 741 | 2017-06-21T23:32:51.000Z | 2022-03-07T12:11:54.000Z | from spotdl.metadata.providers.spotify import ProviderSpotify
from spotdl.metadata.providers.youtube import ProviderYouTube
from spotdl.metadata.providers.youtube import YouTubeSearch
| 37 | 61 | 0.881081 | 21 | 185 | 7.761905 | 0.47619 | 0.184049 | 0.331288 | 0.496933 | 0.490798 | 0.490798 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07027 | 185 | 4 | 62 | 46.25 | 0.947674 | 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 |
1925e952156fee34defbc265e2d492362c1470a4 | 384 | py | Python | wip/ray/serve/archive/serve-dag-client.py | nitish-raj/data-science-on-aws | b760805d28f8375094ce83aee849de8b9d3382a2 | [
"Apache-2.0"
] | 42 | 2022-02-27T16:16:57.000Z | 2022-03-30T20:11:05.000Z | wip/ray/serve/archive/serve-dag-client.py | nitish-raj/data-science-on-aws | b760805d28f8375094ce83aee849de8b9d3382a2 | [
"Apache-2.0"
] | null | null | null | wip/ray/serve/archive/serve-dag-client.py | nitish-raj/data-science-on-aws | b760805d28f8375094ce83aee849de8b9d3382a2 | [
"Apache-2.0"
] | 26 | 2022-02-28T18:28:11.000Z | 2022-03-29T13:15:22.000Z | import time
import requests
# Http endpoint
cur = time.time()
print(requests.post("http://127.0.0.1:8000/my-dag", json=["5", [1, 2], "sum"]).text)
print(f"Time spent: {round(time.time() - cur, 2)} secs.")
# Http endpoint
cur = time.time()
print(requests.post("http://127.0.0.1:8000/my-dag", json=["1", [0, 2], "max"]).... | 29.538462 | 84 | 0.630208 | 68 | 384 | 3.558824 | 0.352941 | 0.132231 | 0.123967 | 0.157025 | 0.85124 | 0.85124 | 0.85124 | 0.85124 | 0.85124 | 0.85124 | 0 | 0.081871 | 0.109375 | 384 | 12 | 85 | 32 | 0.625731 | 0.070313 | 0 | 0.5 | 0 | 0 | 0.446328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
19536799d88c875ad08a6f5696624ad8dc96acf2 | 442,707 | py | Python | data/chars.py | Shadybloom/dnd-mass-combat-simulation | 169bc6cfb967f871290014b342e926b1f71cde81 | [
"MIT"
] | 3 | 2020-05-27T08:36:00.000Z | 2021-11-22T09:04:08.000Z | data/chars.py | Shadybloom/dnd-mass-combat-simulation | 169bc6cfb967f871290014b342e926b1f71cde81 | [
"MIT"
] | null | null | null | data/chars.py | Shadybloom/dnd-mass-combat-simulation | 169bc6cfb967f871290014b342e926b1f71cde81 | [
"MIT"
] | 1 | 2021-11-21T03:57:33.000Z | 2021-11-21T03:57:33.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Загружаем комплекты снаряжения (soldiers_pack)
from data.items import *
#----
# Лишённые индивидуальности заготовки солдат. Используются в squad_generation
metadict_chars = {}
#----
# Сельское ополчение (крестьяне и городская беднота):
metadict_chars['Commoner 1 lvl ... | 29.188831 | 133 | 0.551602 | 44,288 | 442,707 | 5.282853 | 0.055139 | 0.007933 | 0.027974 | 0.045237 | 0.886753 | 0.861519 | 0.836229 | 0.817487 | 0.80322 | 0.788654 | 0 | 0.023333 | 0.274123 | 442,707 | 15,166 | 134 | 29.190756 | 0.704641 | 0.119587 | 0 | 0.838338 | 0 | 0 | 0.477312 | 0.039806 | 0 | 0 | 0 | 0.000066 | 0 | 1 | 0 | false | 0.000946 | 0.000079 | 0 | 0.000079 | 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 |
5feb9d3de56d225150681a0ca825ae08aaac3052 | 79 | py | Python | helper_funcs/__init__.py | mschoder/trajectory_lib | c75476c53fa32b3dd69e998996c6e2a6a72b24b4 | [
"MIT"
] | 1 | 2021-11-04T14:05:45.000Z | 2021-11-04T14:05:45.000Z | helper_funcs/__init__.py | mschoder/trajectory_lib | c75476c53fa32b3dd69e998996c6e2a6a72b24b4 | [
"MIT"
] | null | null | null | helper_funcs/__init__.py | mschoder/trajectory_lib | c75476c53fa32b3dd69e998996c6e2a6a72b24b4 | [
"MIT"
] | null | null | null | import helper_funcs.spline
import helper_funcs.plotter
import helper_funcs.grid | 26.333333 | 27 | 0.898734 | 12 | 79 | 5.666667 | 0.5 | 0.529412 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063291 | 79 | 3 | 28 | 26.333333 | 0.918919 | 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 |
27148ed5395addc00af60f81418ead72ae8e82d5 | 568 | py | Python | melon_modules/moderation.py | WeMayNeverKnow/MelonMintBots | 6feac66a25ad86ab0c9a8b41f4cdae819f4e9fbd | [
"MIT"
] | null | null | null | melon_modules/moderation.py | WeMayNeverKnow/MelonMintBots | 6feac66a25ad86ab0c9a8b41f4cdae819f4e9fbd | [
"MIT"
] | null | null | null | melon_modules/moderation.py | WeMayNeverKnow/MelonMintBots | 6feac66a25ad86ab0c9a8b41f4cdae819f4e9fbd | [
"MIT"
] | null | null | null | from hata import Client
MELON : Client
#@MELON.commands.from_class
#class prefix:
# pass
#@MELON.commands.from_class
#class slowmode:
# pass
#@MELON.commands.from_class
#class logs:
# pass
#@MELON.commands.from_class
#class warn:
# pass
#@MELON.commands.from_class
#class mute:
# pass
#@MELON.comma... | 12.909091 | 27 | 0.702465 | 76 | 568 | 5.118421 | 0.236842 | 0.33419 | 0.437018 | 0.565553 | 0.786632 | 0.717224 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172535 | 568 | 43 | 28 | 13.209302 | 0.82766 | 0.806338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
272b0f6329b631e0b33f8623045bec69644ef0db | 19,371 | py | Python | mgsa/evaluate_repeats.py | supernifty/mgsa | 5f950f8c9c2bf0439a100a2348f1aef478e32934 | [
"MIT"
] | 2 | 2016-11-02T20:27:00.000Z | 2019-10-23T08:14:44.000Z | mgsa/evaluate_repeats.py | supernifty/mgsa | 5f950f8c9c2bf0439a100a2348f1aef478e32934 | [
"MIT"
] | null | null | null | mgsa/evaluate_repeats.py | supernifty/mgsa | 5f950f8c9c2bf0439a100a2348f1aef478e32934 | [
"MIT"
] | null | null | null |
import glob
import os
import random
import re
import sys
import numpy as np
import bio
import config
def align( read, siteA, siteB, mapper_name, rm=True, alt_pos=1000, correct_pos=3000, single_insertion=False ):
prefix = 'tmp/tmp%i' % random.randint(1, 1e9)
# make fastq
fastq = '%s.fastq' % prefix
with open... | 45.153846 | 285 | 0.58918 | 2,916 | 19,371 | 3.760631 | 0.067901 | 0.020062 | 0.022159 | 0.020427 | 0.845523 | 0.827923 | 0.812238 | 0.803119 | 0.796918 | 0.792176 | 0 | 0.032939 | 0.24929 | 19,371 | 428 | 286 | 45.259346 | 0.721153 | 0.219916 | 0 | 0.650794 | 0 | 0.012698 | 0.092515 | 0.01493 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.025397 | null | null | 0.003175 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2738f4224e35bab74695218b88d121cd720f88b1 | 85,669 | py | Python | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_11.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_11.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L1pt8-2pt4TeV_deta2pt6/Output/Histos/MadAnalysis5job_0/selection_11.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_11():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.li... | 392.977064 | 6,435 | 0.760824 | 19,078 | 85,669 | 3.367229 | 0.152112 | 0.303611 | 0.443696 | 0.577273 | 0.358032 | 0.291547 | 0.288574 | 0.273957 | 0.266065 | 0.262858 | 0 | 0.67343 | 0.022015 | 85,669 | 217 | 6,436 | 394.788018 | 0.093312 | 0.017334 | 0 | 0.171875 | 0 | 0.007813 | 0.014071 | 0.002413 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.03125 | 0 | 0.039063 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2755a12d13ff285f1e00c9a95f222cd1d7e6e11b | 71 | py | Python | nimanifold/data/__init__.py | jcreinhold/nimanifold | 21e6546d24304a7ccfdd6a56d7ec47b2527e1c15 | [
"Apache-2.0"
] | null | null | null | nimanifold/data/__init__.py | jcreinhold/nimanifold | 21e6546d24304a7ccfdd6a56d7ec47b2527e1c15 | [
"Apache-2.0"
] | null | null | null | nimanifold/data/__init__.py | jcreinhold/nimanifold | 21e6546d24304a7ccfdd6a56d7ec47b2527e1c15 | [
"Apache-2.0"
] | null | null | null | from nimanifold.data.csv import *
from nimanifold.data.sample import *
| 23.666667 | 36 | 0.802817 | 10 | 71 | 5.7 | 0.6 | 0.491228 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 37 | 35.5 | 0.904762 | 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 |
2789b658170df8dfdb61f142d656fdcfa80baf19 | 11,411 | py | Python | Code/3_linear_regression_on_pixels.py | jjatinggoyal/accessbility-indicators | 7126d3bc33dc6dadbcf6d9000d6ef6d432f093c0 | [
"MIT"
] | null | null | null | Code/3_linear_regression_on_pixels.py | jjatinggoyal/accessbility-indicators | 7126d3bc33dc6dadbcf6d9000d6ef6d432f093c0 | [
"MIT"
] | null | null | null | Code/3_linear_regression_on_pixels.py | jjatinggoyal/accessbility-indicators | 7126d3bc33dc6dadbcf6d9000d6ef6d432f093c0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""3_Linear_regression_on_pixels.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1nhECM9OxwIw8BjEqsQcSUwojX2KYrh1I
"""
from google.colab import drive #to retrieve data from drive
drive.mount('/content/drive/')
cd 'driv... | 52.344037 | 155 | 0.729997 | 1,687 | 11,411 | 4.730883 | 0.167161 | 0.01704 | 0.022554 | 0.028067 | 0.822328 | 0.822328 | 0.817943 | 0.817943 | 0.817943 | 0.811427 | 0 | 0.024398 | 0.17746 | 11,411 | 218 | 156 | 52.344037 | 0.825911 | 0.158531 | 0 | 0 | 1 | 0 | 0.097513 | 0.06622 | 0 | 0 | 0 | 0 | 0.015152 | 0 | null | null | 0 | 0.136364 | null | null | 0.030303 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
27939e55222086ece981ba3a6efa56f956601617 | 143 | py | Python | model/__init__.py | Blind-Aid/sentiment-discovery | 081c7c855e00864b52e97cac0b0e097cc86d9731 | [
"BSD-3-Clause"
] | 1,093 | 2017-12-05T20:35:45.000Z | 2022-02-26T17:48:30.000Z | model/__init__.py | Blind-Aid/sentiment-discovery | 081c7c855e00864b52e97cac0b0e097cc86d9731 | [
"BSD-3-Clause"
] | 67 | 2017-12-05T22:02:55.000Z | 2021-05-25T09:06:41.000Z | model/__init__.py | Blind-Aid/sentiment-discovery | 081c7c855e00864b52e97cac0b0e097cc86d9731 | [
"BSD-3-Clause"
] | 207 | 2017-12-05T20:59:45.000Z | 2022-03-08T09:32:39.000Z | from .distributed import *
from .model import *
from .sentiment_classifier import *
from .transformer import *
from .transformer_utils import * | 28.6 | 35 | 0.797203 | 17 | 143 | 6.588235 | 0.470588 | 0.357143 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132867 | 143 | 5 | 36 | 28.6 | 0.903226 | 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 |
27c4d9ac4a8dbf1e90e1e11bbe903ce9523aee39 | 4,792 | py | Python | weixin/HelloMyDear.py | FantasyZsp/py-utils | 4ccebd298780508d58400d2d8967f59ca7c6603d | [
"Apache-2.0"
] | null | null | null | weixin/HelloMyDear.py | FantasyZsp/py-utils | 4ccebd298780508d58400d2d8967f59ca7c6603d | [
"Apache-2.0"
] | null | null | null | weixin/HelloMyDear.py | FantasyZsp/py-utils | 4ccebd298780508d58400d2d8967f59ca7c6603d | [
"Apache-2.0"
] | null | null | null | from weixin.utils.WeiXinUtils import *
# 5.主函数main()
def hello(wxNames, atHours, atMinutes, cityCode):
names = wxNames
hours = atHours
minutes = atMinutes
number = cityCode
g = getYMD()
g1 = get_iciba_everyday_chicken_soup()
# 天气接口的网站 number为城市编号
name = 'http://t.weather.sojson.com/ap... | 31.320261 | 97 | 0.47788 | 525 | 4,792 | 4.304762 | 0.228571 | 0.017699 | 0.026549 | 0.031858 | 0.90177 | 0.90177 | 0.90177 | 0.90177 | 0.90177 | 0.90177 | 0 | 0.02882 | 0.377295 | 4,792 | 152 | 98 | 31.526316 | 0.728552 | 0.067613 | 0 | 0.88 | 0 | 0 | 0.13152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008 | false | 0 | 0.008 | 0 | 0.016 | 0.048 | 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 |
fd9e5a93435223ef2e9839097575d0e44e5ee1f5 | 2,132 | py | Python | portalsdmz/measureTools/models.py | larc-usp/data-transfer-tester | fd94f120961d6016f58247d31b5d04b2f2b2cd07 | [
"AFL-2.1"
] | null | null | null | portalsdmz/measureTools/models.py | larc-usp/data-transfer-tester | fd94f120961d6016f58247d31b5d04b2f2b2cd07 | [
"AFL-2.1"
] | 2 | 2017-12-13T20:57:34.000Z | 2017-12-13T20:57:35.000Z | portalsdmz/measureTools/models.py | larc-usp/data-transfer-tester | fd94f120961d6016f58247d31b5d04b2f2b2cd07 | [
"AFL-2.1"
] | null | null | null | from django.db import models
from scenarios.models import ScenarioData
# Create your models here.
class scpData(models.Model):
velocidade = models.DecimalField(max_digits=5, decimal_places=1)
scenario = models.ForeignKey(ScenarioData, null=True)
num_teste = models.SmallIntegerField()
descricao_erro = models.... | 31.352941 | 66 | 0.778612 | 266 | 2,132 | 6.030075 | 0.165414 | 0.048005 | 0.091646 | 0.11783 | 0.908978 | 0.908978 | 0.908978 | 0.908978 | 0.908978 | 0.908978 | 0 | 0.007945 | 0.114447 | 2,132 | 67 | 67 | 31.820896 | 0.841631 | 0.011257 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137255 | false | 0 | 0.039216 | 0.137255 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
e35a2abebd28f1f938e6001756592d76df4ec548 | 179 | py | Python | pokediadb/dbuilder/__init__.py | Kynarth/pokediadb | 97d981909803335f878b9e07ed31d86fc93e7941 | [
"MIT"
] | null | null | null | pokediadb/dbuilder/__init__.py | Kynarth/pokediadb | 97d981909803335f878b9e07ed31d86fc93e7941 | [
"MIT"
] | null | null | null | pokediadb/dbuilder/__init__.py | Kynarth/pokediadb | 97d981909803335f878b9e07ed31d86fc93e7941 | [
"MIT"
] | null | null | null | # flake8: noqa
import pokediadb.dbuilder.version
import pokediadb.dbuilder.type
import pokediadb.dbuilder.ability
import pokediadb.dbuilder.move
import pokediadb.dbuilder.pokemon
| 25.571429 | 33 | 0.860335 | 22 | 179 | 7 | 0.454545 | 0.487013 | 0.746753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.072626 | 179 | 6 | 34 | 29.833333 | 0.921687 | 0.067039 | 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 |
8b4e6b2b167aebf419baed2ece989c7a96978324 | 5,172 | py | Python | kolibri/logger/migrations/0001_initial_redone.py | aronasorman/kolibri | 940672bc849cd0b26d7d84ee08a34f072c4f6cd6 | [
"MIT"
] | 1 | 2021-11-09T11:30:12.000Z | 2021-11-09T11:30:12.000Z | kolibri/logger/migrations/0001_initial_redone.py | aronasorman/kolibri | 940672bc849cd0b26d7d84ee08a34f072c4f6cd6 | [
"MIT"
] | 2 | 2017-02-08T00:22:04.000Z | 2017-06-12T20:27:44.000Z | kolibri/logger/migrations/0001_initial_redone.py | aronasorman/kolibri | 940672bc849cd0b26d7d84ee08a34f072c4f6cd6 | [
"MIT"
] | 1 | 2020-05-21T18:17:55.000Z | 2020-05-21T18:17:55.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-08-09 17:25
from __future__ import unicode_literals
import django.core.validators
import django.db.models.deletion
import kolibri.content.models
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependen... | 56.835165 | 176 | 0.616589 | 496 | 5,172 | 6.322581 | 0.205645 | 0.038265 | 0.076531 | 0.063138 | 0.83514 | 0.83514 | 0.83514 | 0.83514 | 0.83514 | 0.813138 | 0 | 0.010903 | 0.237432 | 5,172 | 90 | 177 | 57.466667 | 0.784229 | 0.012954 | 0 | 0.650602 | 1 | 0 | 0.136613 | 0.039984 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060241 | 0 | 0.108434 | 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 |
8ba0eaca96c9b2d167fd14d08ba774e477aea1cb | 1,067 | py | Python | dpsniper/mechanisms/noisy_hist.py | barryZZJ/dp-sniper | 71a3fc06f3fc319b023bde9aad8f05b8c5a47a80 | [
"MIT"
] | 13 | 2021-03-30T15:39:35.000Z | 2022-02-21T08:30:45.000Z | dpsniper/mechanisms/noisy_hist.py | barryZZJ/dp-sniper | 71a3fc06f3fc319b023bde9aad8f05b8c5a47a80 | [
"MIT"
] | null | null | null | dpsniper/mechanisms/noisy_hist.py | barryZZJ/dp-sniper | 71a3fc06f3fc319b023bde9aad8f05b8c5a47a80 | [
"MIT"
] | 4 | 2021-06-30T08:37:45.000Z | 2022-03-05T03:21:14.000Z | import numpy as np
from dpsniper.mechanisms.abstract import Mechanism
class NoisyHist1(Mechanism):
"""
Alg. 9 from:
Zeyu Ding, YuxinWang, GuanhongWang, Danfeng Zhang, and Daniel Kifer. 2018.
Detecting Violations of Differential Privacy. CCS 2018.
"""
def __init__(self, eps: float = 0.... | 26.02439 | 82 | 0.597938 | 153 | 1,067 | 4.078431 | 0.385621 | 0.067308 | 0.038462 | 0.067308 | 0.810897 | 0.810897 | 0.810897 | 0.810897 | 0.724359 | 0.724359 | 0 | 0.042384 | 0.292409 | 1,067 | 40 | 83 | 26.675 | 0.784106 | 0.338332 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8bba17146d82323f502dee13164e2dcf746f9322 | 4,108 | py | Python | tests/push/test_sse.py | cfogg/python-client | 40e6891c8240e6b2acd5df538e622e9f15de43d6 | [
"Apache-2.0"
] | 13 | 2017-03-17T15:15:20.000Z | 2022-03-14T22:24:10.000Z | tests/push/test_sse.py | cfogg/python-client | 40e6891c8240e6b2acd5df538e622e9f15de43d6 | [
"Apache-2.0"
] | 81 | 2017-01-12T23:06:48.000Z | 2022-02-21T18:20:23.000Z | tests/push/test_sse.py | cfogg/python-client | 40e6891c8240e6b2acd5df538e622e9f15de43d6 | [
"Apache-2.0"
] | 14 | 2017-05-25T10:49:13.000Z | 2021-12-27T16:39:20.000Z | """SSEClient unit tests."""
import time
import threading
import pytest
from splitio.push.sse import SSEClient, SSEEvent
from tests.helpers.mockserver import SSEMockServer
class SSEClientTests(object):
"""SSEClient test cases."""
def test_sse_client_disconnects(self):
"""Test correct initialization. ... | 31.844961 | 73 | 0.547955 | 429 | 4,108 | 5.172494 | 0.167832 | 0.087877 | 0.081118 | 0.039207 | 0.878324 | 0.835962 | 0.835962 | 0.835962 | 0.811176 | 0.811176 | 0 | 0.01636 | 0.285784 | 4,108 | 128 | 74 | 32.09375 | 0.739945 | 0.076436 | 0 | 0.83871 | 0 | 0 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 1 | 0.096774 | false | 0 | 0.053763 | 0 | 0.16129 | 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 |
8bc41c33e45aca9a963dba5e594b74e5dcb92d03 | 64,465 | py | Python | sdk/python/pulumi_aws/fsx/open_zfs_file_system.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/fsx/open_zfs_file_system.py | chivandikwa/pulumi-aws | 19c08bf9dcb90544450ffa4eec7bf6751058fde2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_aws/fsx/open_zfs_file_system.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... | 56.30131 | 550 | 0.694982 | 8,231 | 64,465 | 5.215891 | 0.043373 | 0.078403 | 0.054784 | 0.039458 | 0.947545 | 0.937459 | 0.928282 | 0.918126 | 0.909368 | 0.894764 | 0 | 0.005868 | 0.209571 | 64,465 | 1,144 | 551 | 56.350524 | 0.836679 | 0.393237 | 0 | 0.791476 | 1 | 0 | 0.143417 | 0.074835 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167428 | false | 0.001522 | 0.010654 | 0 | 0.280061 | 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 |
8bd97144b2dc03785cd1d725114cfe7c4ea6a97a | 644 | py | Python | story/models.py | sachink2010/DjangoTrial | 8b78a31409b614959ed45380f2b8ee9f03fa9f90 | [
"MIT"
] | null | null | null | story/models.py | sachink2010/DjangoTrial | 8b78a31409b614959ed45380f2b8ee9f03fa9f90 | [
"MIT"
] | null | null | null | story/models.py | sachink2010/DjangoTrial | 8b78a31409b614959ed45380f2b8ee9f03fa9f90 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Story(models.Model):
user_input = models.CharField(max_length=600)
api_response = models.CharField(max_length=2000, null=True, blank=True)
#timestamp=models.DateTimeField
created_at = models.DateTimeField(auto_now_add=True)
username = mo... | 40.25 | 75 | 0.768634 | 87 | 644 | 5.505747 | 0.37931 | 0.187891 | 0.22547 | 0.300626 | 0.868476 | 0.868476 | 0.868476 | 0.868476 | 0.868476 | 0.868476 | 0 | 0.035714 | 0.130435 | 644 | 16 | 76 | 40.25 | 0.819643 | 0.130435 | 0 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
47679dc98d3116e71ccabc039214caa5e8184ec0 | 5,556 | py | Python | HudlProject/HudlProject.py | zifanyang/Hudl-Python-Selenium-Project | 9f4427e2c4da39e3432e4432da2d40464cdbb60b | [
"MIT"
] | null | null | null | HudlProject/HudlProject.py | zifanyang/Hudl-Python-Selenium-Project | 9f4427e2c4da39e3432e4432da2d40464cdbb60b | [
"MIT"
] | null | null | null | HudlProject/HudlProject.py | zifanyang/Hudl-Python-Selenium-Project | 9f4427e2c4da39e3432e4432da2d40464cdbb60b | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import unittest
from time import sleep
path="C:\chromedriver.exe"
url="http://www.hudl.com/login"
#username:nathanyang18@outlook.com
#password:test1234
class TestLogin(unittest.TestCase):
#Open url
def setUp(self):
self.driv... | 37.04 | 97 | 0.656407 | 689 | 5,556 | 5.113208 | 0.139332 | 0.136248 | 0.107295 | 0.160942 | 0.7891 | 0.767528 | 0.760715 | 0.757309 | 0.73971 | 0.725518 | 0 | 0.01374 | 0.227142 | 5,556 | 149 | 98 | 37.288591 | 0.806707 | 0.038697 | 0 | 0.772727 | 0 | 0 | 0.18506 | 0.040916 | 0 | 0 | 0 | 0 | 0.075758 | 1 | 0.090909 | false | 0.234848 | 0.030303 | 0 | 0.128788 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
4785a94446b7de09fa814de98568043480d82523 | 68,531 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/EightThreads_sjeng/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/EightThreads_sjeng/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/backup_results_unknownr/EightThreads_sjeng/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 74.979212 | 124 | 0.681721 | 8,082 | 68,531 | 5.774684 | 0.064712 | 0.12376 | 0.113132 | 0.093591 | 0.942834 | 0.934949 | 0.921536 | 0.896231 | 0.868698 | 0.849928 | 0 | 0.130674 | 0.224584 | 68,531 | 914 | 125 | 74.979212 | 0.747591 | 0 | 0 | 0.664114 | 0 | 0 | 0.65816 | 0.048153 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9a16fe83f8b00c1ae4b19a89510efa6538193e44 | 95 | py | Python | test2.py | marionettenspieler/pyneta | 56a2dba736daf57464b06978c80383787a736ced | [
"Apache-2.0"
] | null | null | null | test2.py | marionettenspieler/pyneta | 56a2dba736daf57464b06978c80383787a736ced | [
"Apache-2.0"
] | null | null | null | test2.py | marionettenspieler/pyneta | 56a2dba736daf57464b06978c80383787a736ced | [
"Apache-2.0"
] | null | null | null | print('hello man')
print('hello man')
print('hello man')
print('hello man')
print('hello man')
| 15.833333 | 18 | 0.684211 | 15 | 95 | 4.333333 | 0.2 | 0.769231 | 1 | 1.107692 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.105263 | 95 | 5 | 19 | 19 | 0.764706 | 0 | 0 | 1 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 14 |
9a2736448f820e4e81087e8a5353235f998513f8 | 55,584 | py | Python | fhir/resources/tests/test_claim.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 144 | 2019-05-08T14:24:43.000Z | 2022-03-30T02:37:11.000Z | fhir/resources/tests/test_claim.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 82 | 2019-05-13T17:43:13.000Z | 2022-03-30T16:45:17.000Z | fhir/resources/tests/test_claim.py | cstoltze/fhir.resources | 52f99738935b7313089d89daf94d73ce7d167c9d | [
"BSD-3-Clause"
] | 48 | 2019-04-04T14:14:53.000Z | 2022-03-30T06:07:31.000Z | # -*- coding: utf-8 -*-
"""
Profile: http://hl7.org/fhir/StructureDefinition/Claim
Release: R4
Version: 4.0.1
Build ID: 9346c8cc45
Last updated: 2019-11-01T09:29:23.356+11:00
"""
from pydantic.validators import bytes_validator # noqa: F401
from .. import fhirtypes # noqa: F401
from .. import claim
def impl_claim_1... | 43.527016 | 88 | 0.664904 | 7,374 | 55,584 | 4.990914 | 0.05994 | 0.164389 | 0.064071 | 0.084776 | 0.916746 | 0.895715 | 0.875092 | 0.832921 | 0.795071 | 0.740157 | 0 | 0.054011 | 0.169257 | 55,584 | 1,276 | 89 | 43.561129 | 0.743005 | 0.029181 | 0 | 0.517718 | 0 | 0 | 0.199955 | 0.016616 | 0 | 0 | 0 | 0 | 0.598963 | 1 | 0.017286 | false | 0 | 0.002593 | 0 | 0.019879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9a2e437ae8b03063acc62700c14efeca6658092a | 145 | py | Python | brl_gym/estimators/learnable_bf/__init__.py | gilwoolee/brl_gym | 9c0784e9928f12d2ee0528c79a533202d3afb640 | [
"BSD-3-Clause"
] | 2 | 2020-08-07T05:50:44.000Z | 2022-03-03T08:46:10.000Z | brl_gym/estimators/learnable_bf/__init__.py | gilwoolee/brl_gym | 9c0784e9928f12d2ee0528c79a533202d3afb640 | [
"BSD-3-Clause"
] | null | null | null | brl_gym/estimators/learnable_bf/__init__.py | gilwoolee/brl_gym | 9c0784e9928f12d2ee0528c79a533202d3afb640 | [
"BSD-3-Clause"
] | null | null | null | from brl_gym.estimators.learnable_bf.learnable_bf import LearnableBF
#from brl_gym.estimators.learnable_bf.bf_dataset import BayesFilterDataset
| 36.25 | 74 | 0.889655 | 20 | 145 | 6.15 | 0.5 | 0.268293 | 0.162602 | 0.325203 | 0.504065 | 0.504065 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062069 | 145 | 3 | 75 | 48.333333 | 0.904412 | 0.503448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 |
9a4542a7758b9c15cb5e2c79c2e2a38319b81b96 | 127 | py | Python | provstore/__init__.py | vinisalazar/provstore-api | 0dd506b4f0e00623b95a52caa70debe758817179 | [
"MIT"
] | 5 | 2015-03-09T20:07:08.000Z | 2018-07-26T19:59:11.000Z | provstore/__init__.py | vinisalazar/provstore-api | 0dd506b4f0e00623b95a52caa70debe758817179 | [
"MIT"
] | 2 | 2016-03-16T06:13:59.000Z | 2020-11-06T20:53:28.000Z | provstore/__init__.py | vinisalazar/provstore-api | 0dd506b4f0e00623b95a52caa70debe758817179 | [
"MIT"
] | 2 | 2016-09-01T09:09:05.000Z | 2020-11-06T22:13:58.000Z | from provstore.document import Document
from provstore.bundle_manager import BundleManager
from provstore.bundle import Bundle
| 31.75 | 50 | 0.88189 | 16 | 127 | 6.9375 | 0.4375 | 0.351351 | 0.342342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094488 | 127 | 3 | 51 | 42.333333 | 0.965217 | 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 |
7be7ae3f178cdb0ca2b090e6df4678e140e34e75 | 311 | py | Python | Assets/Code/Python/src/python.py | Ross-Morgan/Logic-Gate-Visualisation | 01976248ef66837ec2009f18533fd0aab090a8b9 | [
"BSD-3-Clause"
] | null | null | null | Assets/Code/Python/src/python.py | Ross-Morgan/Logic-Gate-Visualisation | 01976248ef66837ec2009f18533fd0aab090a8b9 | [
"BSD-3-Clause"
] | null | null | null | Assets/Code/Python/src/python.py | Ross-Morgan/Logic-Gate-Visualisation | 01976248ef66837ec2009f18533fd0aab090a8b9 | [
"BSD-3-Clause"
] | null | null | null | def or_gate(a:int, b:int):
return a | b
def and_gate(a:int, b:int):
return a & b
def nor_gate(a:int, b:int):
return 1 - (a | b)
def nand_gate(a:int, b:int):
return 1 - (a | b)
def xor_gate(a:int, b:int):
return a ^ b
def xnor_gate(a:int, b:int):
return 1 - (a ^ b)
| 17.277778 | 29 | 0.533762 | 63 | 311 | 2.539683 | 0.206349 | 0.1875 | 0.3 | 0.3375 | 0.8625 | 0.8625 | 0.8625 | 0.8625 | 0.8625 | 0.3 | 0 | 0.013825 | 0.302251 | 311 | 17 | 30 | 18.294118 | 0.723502 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 10 |
d053babddc7a2862293a9876d42fa1a7ffe1dc9e | 109 | py | Python | control/City.py | ChreSyr/kerys | 48749f15c8caed221598f350a2530f81dcf8f291 | [
"MIT"
] | null | null | null | control/City.py | ChreSyr/kerys | 48749f15c8caed221598f350a2530f81dcf8f291 | [
"MIT"
] | null | null | null | control/City.py | ChreSyr/kerys | 48749f15c8caed221598f350a2530f81dcf8f291 | [
"MIT"
] | null | null | null |
import baopig as bp
import images as im
# TODO : a city defines the style, a district defines the content | 15.571429 | 65 | 0.752294 | 19 | 109 | 4.315789 | 0.736842 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220183 | 109 | 7 | 65 | 15.571429 | 0.964706 | 0.577982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 |
ef0261d204ca26d250b0a03064510e798b9c7feb | 152 | py | Python | ballistics/collision/dispatch/__init__.py | flupke/ballistics | 844ef7dd9fd55f6f7d0be04df6b564beaa5aaa1a | [
"Zlib"
] | null | null | null | ballistics/collision/dispatch/__init__.py | flupke/ballistics | 844ef7dd9fd55f6f7d0be04df6b564beaa5aaa1a | [
"Zlib"
] | null | null | null | ballistics/collision/dispatch/__init__.py | flupke/ballistics | 844ef7dd9fd55f6f7d0be04df6b564beaa5aaa1a | [
"Zlib"
] | 1 | 2020-04-29T13:52:31.000Z | 2020-04-29T13:52:31.000Z | from ballistics.collision.dispatch.config import DefaultCollisionConfiguration
from ballistics.collision.dispatch.dispatcher import CollisionDispatcher
| 50.666667 | 78 | 0.907895 | 14 | 152 | 9.857143 | 0.642857 | 0.202899 | 0.333333 | 0.449275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 152 | 2 | 79 | 76 | 0.958333 | 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 |
3226aa7f7ea523e5b462c538450fa0bfe4a22a9b | 1,503 | py | Python | clusterresults/rundr12xpdf10k.py | rohinkumar/CorrelCalc | d7887448af8d3dc3170c00c0aae6ee2561b8a3d5 | [
"MIT"
] | null | null | null | clusterresults/rundr12xpdf10k.py | rohinkumar/CorrelCalc | d7887448af8d3dc3170c00c0aae6ee2561b8a3d5 | [
"MIT"
] | null | null | null | clusterresults/rundr12xpdf10k.py | rohinkumar/CorrelCalc | d7887448af8d3dc3170c00c0aae6ee2561b8a3d5 | [
"MIT"
] | null | null | null | from correlcalc import *
bins = np.arange(0.002,0.062,0.002)
#corrdr12flcdmls=tpcf('/usr3/vstr/yrohin/Downloads/galaxy_DR12v5_CMASS_North.fits',bins,randfile='/usr3/vstr/yrohin/randcat_dr12cmn_2x_pdf10k.dat',estimator='ls',cosmology='lcdm',weights='eq')
print("--------------------------------------------")
corrdr12flcl... | 107.357143 | 204 | 0.685961 | 183 | 1,503 | 5.437158 | 0.224044 | 0.096482 | 0.168844 | 0.108543 | 0.854271 | 0.854271 | 0.854271 | 0.854271 | 0.854271 | 0.854271 | 0 | 0.056566 | 0.011976 | 1,503 | 13 | 205 | 115.615385 | 0.613468 | 0.421823 | 0 | 0.444444 | 0 | 0 | 0.588439 | 0.56763 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.444444 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 9 |
322bb384475b3968baa795c394e1297ef1e165d8 | 156 | py | Python | __init__.py | sacherjj/python-AlienRFID | aaddd846d46cca533dca43c256890c072e8f5ec5 | [
"MIT"
] | 1 | 2021-03-21T13:52:00.000Z | 2021-03-21T13:52:00.000Z | __init__.py | sacherjj/python-AlienRFID | aaddd846d46cca533dca43c256890c072e8f5ec5 | [
"MIT"
] | null | null | null | __init__.py | sacherjj/python-AlienRFID | aaddd846d46cca533dca43c256890c072e8f5ec5 | [
"MIT"
] | 2 | 2015-10-12T10:02:50.000Z | 2020-03-09T13:30:12.000Z | from .alien_config import AlienConfig
from .alien_connection import AlienConnection
from .alien_tag import AlienTag
from .alien_tag_list import AlienTagList | 39 | 45 | 0.878205 | 21 | 156 | 6.285714 | 0.52381 | 0.272727 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 156 | 4 | 46 | 39 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
3239f81ec2f0770c90334bbc02e94fc7a5de13e9 | 354 | py | Python | torch_lazy/nn/__init__.py | simaki/torch-lazy | e3ce23b118bdf36a019c029a67bf5ec84f89a4d7 | [
"BSD-3-Clause"
] | null | null | null | torch_lazy/nn/__init__.py | simaki/torch-lazy | e3ce23b118bdf36a019c029a67bf5ec84f89a4d7 | [
"BSD-3-Clause"
] | 18 | 2021-04-01T08:24:48.000Z | 2022-03-28T20:18:28.000Z | torch_lazy/nn/__init__.py | simaki/torch-lazy | e3ce23b118bdf36a019c029a67bf5ec84f89a4d7 | [
"BSD-3-Clause"
] | 1 | 2021-07-22T19:29:12.000Z | 2021-07-22T19:29:12.000Z | from .modules.linear import LazyBilinear
from .modules.mlp import MLP
from .modules.mlp import LazyMLP
from .modules.normalization import LazyBatchNorm
from .modules.normalization import LazyBatchNorm1d
from .modules.normalization import LazyBatchNorm2d
from .modules.normalization import LazyBatchNorm3d
from .modules.n... | 39.333333 | 50 | 0.864407 | 40 | 354 | 7.65 | 0.325 | 0.287582 | 0.392157 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009317 | 0.090395 | 354 | 8 | 51 | 44.25 | 0.940994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
32717c3bd131867ffad78e96d71e4ee21ce9b1c6 | 61 | py | Python | mct_logging/src/mct_logging/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | mct_logging/src/mct_logging/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | mct_logging/src/mct_logging/__init__.py | iorodeo/mct | fa8b85f36533c9b1486ca4f6b0c40c3daa6f4e11 | [
"Apache-2.0"
] | null | null | null | import tracking_pts_logger_master
import tracking_pts_logger
| 20.333333 | 33 | 0.934426 | 9 | 61 | 5.777778 | 0.555556 | 0.538462 | 0.653846 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 61 | 2 | 34 | 30.5 | 0.912281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
32723b5595559318393e20a40362e1d61e41c415 | 3,133 | py | Python | singlecellmultiomics/modularDemultiplexer/demultiplexModules/scartrace.py | zztin/SingleCellMultiOmics | d3035c33eb1375f0703cc49537417b755ad8a693 | [
"MIT"
] | 17 | 2019-05-21T09:12:16.000Z | 2022-02-14T19:26:58.000Z | singlecellmultiomics/modularDemultiplexer/demultiplexModules/scartrace.py | zztin/SingleCellMultiOmics | d3035c33eb1375f0703cc49537417b755ad8a693 | [
"MIT"
] | 70 | 2019-05-20T08:08:45.000Z | 2021-06-22T15:58:01.000Z | singlecellmultiomics/modularDemultiplexer/demultiplexModules/scartrace.py | zztin/SingleCellMultiOmics | d3035c33eb1375f0703cc49537417b755ad8a693 | [
"MIT"
] | 7 | 2020-04-09T15:11:12.000Z | 2022-02-14T15:23:31.000Z | from singlecellmultiomics.modularDemultiplexer.baseDemultiplexMethods import UmiBarcodeDemuxMethod, NonMultiplexable
# ScarTrace
class ScartraceR1(UmiBarcodeDemuxMethod):
def __init__(self, barcodeFileParser, **kwargs):
self.barcodeFileAlias = 'scartrace'
UmiBarcodeDemuxMethod.__init__(
... | 34.054348 | 125 | 0.605171 | 252 | 3,133 | 7.404762 | 0.277778 | 0.025723 | 0.072347 | 0.060021 | 0.815113 | 0.801179 | 0.801179 | 0.801179 | 0.801179 | 0.801179 | 0 | 0.024367 | 0.318864 | 3,133 | 91 | 126 | 34.428571 | 0.850047 | 0.002873 | 0 | 0.763889 | 0 | 0 | 0.140548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069444 | false | 0 | 0.013889 | 0 | 0.152778 | 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 |
32c59fc06a151e5b5740b23fbb1aff371ee1d8f2 | 30,841 | py | Python | a2-py-beta/erd_converter.py | francisgerman70/CSC370 | 0682ea5abdfdbc87b76efd18f98e27a6c49d2b45 | [
"MIT"
] | null | null | null | a2-py-beta/erd_converter.py | francisgerman70/CSC370 | 0682ea5abdfdbc87b76efd18f98e27a6c49d2b45 | [
"MIT"
] | null | null | null | a2-py-beta/erd_converter.py | francisgerman70/CSC370 | 0682ea5abdfdbc87b76efd18f98e27a6c49d2b45 | [
"MIT"
] | null | null | null | from audioop import add
from erd import *
from table import *
# This function converts an ERD object into a Database object
# The Database object should correspond to a fully correct implementation
# of the ERD, including both data structure and constraints, such that the
# CREATE TABLE statements generated by the Dat... | 55.171735 | 303 | 0.642489 | 4,555 | 30,841 | 4.139846 | 0.02854 | 0.222411 | 0.318502 | 0.115077 | 0.914833 | 0.894946 | 0.878825 | 0.867158 | 0.861219 | 0.841703 | 0 | 0.024347 | 0.200934 | 30,841 | 559 | 304 | 55.171735 | 0.740829 | 0.13829 | 0 | 0.732984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001789 | 0 | 1 | 0.028796 | false | 0 | 0.007853 | 0 | 0.112565 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
eb2a05506a2d5dac21a3a7230d334f572006e5b5 | 42 | py | Python | logic/start_game.py | sparkingdark/Project | fdd521407d788d1945275148337992a795ebdf0c | [
"MIT"
] | null | null | null | logic/start_game.py | sparkingdark/Project | fdd521407d788d1945275148337992a795ebdf0c | [
"MIT"
] | null | null | null | logic/start_game.py | sparkingdark/Project | fdd521407d788d1945275148337992a795ebdf0c | [
"MIT"
] | 5 | 2020-11-28T13:13:15.000Z | 2020-12-07T16:32:36.000Z | from logic import *
def game():
pass | 8.4 | 19 | 0.619048 | 6 | 42 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 42 | 5 | 20 | 8.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
eb458b4c5c0f75854528fff96d2061d078c5cbe7 | 2,984 | py | Python | pypy/translator/microbench/pybench/Imports.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 12 | 2016-01-06T07:10:28.000Z | 2021-05-13T23:02:02.000Z | pypy/translator/microbench/pybench/Imports.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | pypy/translator/microbench/pybench/Imports.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | 2 | 2016-07-29T07:09:50.000Z | 2016-10-16T08:50:26.000Z | from pybench import Test
# First imports:
import os
import package.submodule
class SecondImport(Test):
version = 0.1
operations = 5 * 5
rounds = 20000
def test(self):
for i in xrange(self.rounds):
import os
import os
import os
import os
... | 21.314286 | 37 | 0.515416 | 276 | 2,984 | 5.572464 | 0.101449 | 0.431079 | 0.371912 | 0.249675 | 0.921977 | 0.921977 | 0.921977 | 0.921977 | 0.921977 | 0.921977 | 0 | 0.016544 | 0.453083 | 2,984 | 139 | 38 | 21.467626 | 0.925858 | 0.004692 | 0 | 0.961905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0.028571 | 0.771429 | 0 | 0.942857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 11 |
de86c719ac9ffce9e1f273be9d0dc93bbd224576 | 14,533 | py | Python | reviews/migrations/0022_auto_20190302_1556.py | UrbanBogger/horrorexplosion | 3698e00a6899a5e8b224cd3d1259c3deb3a2ca80 | [
"MIT"
] | null | null | null | reviews/migrations/0022_auto_20190302_1556.py | UrbanBogger/horrorexplosion | 3698e00a6899a5e8b224cd3d1259c3deb3a2ca80 | [
"MIT"
] | 4 | 2020-06-05T18:21:18.000Z | 2021-06-10T20:17:31.000Z | reviews/migrations/0022_auto_20190302_1556.py | UrbanBogger/horrorexplosion | 3698e00a6899a5e8b224cd3d1259c3deb3a2ca80 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.6 on 2019-03-02 15:56
from __future__ import unicode_literals
import ckeditor.fields
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('reviews', '0021_auto_20190302_1514')... | 113.539063 | 1,908 | 0.637515 | 1,869 | 14,533 | 4.853398 | 0.178705 | 0.042333 | 0.047294 | 0.058207 | 0.798809 | 0.781942 | 0.770808 | 0.760997 | 0.732995 | 0.688237 | 0 | 0.175241 | 0.193491 | 14,533 | 127 | 1,909 | 114.433071 | 0.598669 | 0.004679 | 0 | 0.416667 | 1 | 0.191667 | 0.281081 | 0.022542 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.058333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
de876b3ed14bbdc7196b4d80c31ffed86152546c | 1,414 | py | Python | setup.py | imdaveho/intermezzo | 3fe4824a747face996e301ca5190caec0cb0a6fd | [
"MIT"
] | 8 | 2018-02-26T16:24:07.000Z | 2021-06-30T07:40:52.000Z | setup.py | imdaveho/intermezzo | 3fe4824a747face996e301ca5190caec0cb0a6fd | [
"MIT"
] | null | null | null | setup.py | imdaveho/intermezzo | 3fe4824a747face996e301ca5190caec0cb0a6fd | [
"MIT"
] | null | null | null | import platform
from setuptools import setup
if platform.system() == "Windows":
setup(
name="intermezzo",
version="0.1.0",
description="A library for creating cross-platform text-based interfaces using termbox-go.",
long_description="",
url="https://github.com/imdaveho/inter... | 35.35 | 100 | 0.601839 | 157 | 1,414 | 5.318471 | 0.382166 | 0.071856 | 0.062275 | 0.071856 | 0.907784 | 0.907784 | 0.907784 | 0.907784 | 0.845509 | 0.845509 | 0 | 0.020408 | 0.237624 | 1,414 | 39 | 101 | 36.25641 | 0.754174 | 0 | 0 | 0.736842 | 0 | 0 | 0.407355 | 0.052334 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
def7709b7d7d970c7608ad7be378d822d2e33518 | 14,334 | py | Python | tests/frameworks/test_wsgi.py | tirkarthi/python-sensor | 9872d146ac00baff2673fde5ba97fdbe596869a4 | [
"MIT"
] | 61 | 2017-09-27T02:50:17.000Z | 2022-03-22T12:13:37.000Z | tests/frameworks/test_wsgi.py | tirkarthi/python-sensor | 9872d146ac00baff2673fde5ba97fdbe596869a4 | [
"MIT"
] | 82 | 2017-07-11T13:47:33.000Z | 2022-03-22T10:10:38.000Z | tests/frameworks/test_wsgi.py | takeaway/python-sensor | 52d6eaa2d6a8e625201bad36ac2448201c4bd63d | [
"MIT"
] | 27 | 2017-09-11T16:22:32.000Z | 2022-03-11T17:21:49.000Z | # (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2020
from __future__ import absolute_import
import time
import urllib3
import unittest
import tests.apps.flask_app
from ..helpers import testenv
from instana.singletons import agent, tracer
class TestWSGI(unittest.TestCase):
def setUp(self):
"... | 36.943299 | 102 | 0.647133 | 1,795 | 14,334 | 5.025627 | 0.073538 | 0.152976 | 0.066511 | 0.089236 | 0.872741 | 0.871522 | 0.85955 | 0.840151 | 0.831504 | 0.831504 | 0 | 0.026129 | 0.215013 | 14,334 | 387 | 103 | 37.03876 | 0.775595 | 0.025883 | 0 | 0.769517 | 0 | 0 | 0.125754 | 0 | 0 | 0 | 0 | 0 | 0.66171 | 1 | 0.040892 | false | 0 | 0.026022 | 0 | 0.074349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
a0c60f619b683347cb7cc9f4f6e9936af96f0dbd | 27,874 | py | Python | smartrecruiters_python_client/apis/analytics_api.py | roksela/smartrecruiters-python-client | 6d0849d173a3d6718b5f0769098f4c76857f637d | [
"MIT"
] | 5 | 2018-03-27T08:20:13.000Z | 2022-03-30T06:23:38.000Z | smartrecruiters_python_client/apis/analytics_api.py | roksela/smartrecruiters-python-client | 6d0849d173a3d6718b5f0769098f4c76857f637d | [
"MIT"
] | null | null | null | smartrecruiters_python_client/apis/analytics_api.py | roksela/smartrecruiters-python-client | 6d0849d173a3d6718b5f0769098f4c76857f637d | [
"MIT"
] | 2 | 2018-12-05T04:48:37.000Z | 2020-12-17T12:12:12.000Z | # coding: utf-8
"""
Unofficial python library for the SmartRecruiters API
The SmartRecruiters API provides a platform to integrate services or applications, build apps and create fully customizable career sites. It exposes SmartRecruiters functionality and allows to connect and build software enhancing it.
... | 44.10443 | 280 | 0.583052 | 2,802 | 27,874 | 5.593862 | 0.067452 | 0.061248 | 0.015312 | 0.018374 | 0.939645 | 0.93435 | 0.933138 | 0.923823 | 0.891157 | 0.888095 | 0 | 0.000539 | 0.334505 | 27,874 | 631 | 281 | 44.174326 | 0.84442 | 0.391763 | 0 | 0.794118 | 0 | 0 | 0.142073 | 0.034375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042484 | false | 0 | 0.022876 | 0 | 0.127451 | 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 |
a0ce075406a832ed84007060dd79bad299dae4e6 | 11,696 | py | Python | state_workflow_sdk/api/state_workflow/state_workflow_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | state_workflow_sdk/api/state_workflow/state_workflow_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | state_workflow_sdk/api/state_workflow/state_workflow_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import state_workflow_sdk.api.state_workflow.callback_pb2
import state_workflow_sdk.api.state_workflow.createStateWorkflow_pb2
import state_workflow_sdk.model.state_workflow.stateWorkflow_pb2
import state_workflow_sdk.api.state_workflow.deleteStateWorkflow_pb2
import g... | 41.183099 | 254 | 0.658516 | 1,236 | 11,696 | 5.893204 | 0.105987 | 0.157057 | 0.09006 | 0.054778 | 0.820703 | 0.807935 | 0.797913 | 0.791735 | 0.712246 | 0.626579 | 0 | 0.006201 | 0.255472 | 11,696 | 283 | 255 | 41.328622 | 0.830271 | 0.237346 | 0 | 0.707865 | 0 | 0 | 0.09717 | 0.086792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039326 | false | 0 | 0.067416 | 0 | 0.146067 | 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 |
9d5e75f8cb60c04470b0412ae613020592c5aad7 | 16,072 | py | Python | nn/units/ceecnet.py | feevos/ceecnet | 9dc76f8cd16d44b264cae8c5846eefb8fcf6162d | [
"BSD-3-Clause",
"MIT"
] | 45 | 2020-09-07T01:19:44.000Z | 2022-03-15T14:44:20.000Z | nn/units/ceecnet.py | xautdestiny/ceecnet | 897cd5c128ffd85369732d1cac82a6ddc7643afa | [
"MIT",
"BSD-3-Clause"
] | 10 | 2020-10-02T10:14:47.000Z | 2021-10-19T09:34:14.000Z | nn/units/ceecnet.py | xautdestiny/ceecnet | 897cd5c128ffd85369732d1cac82a6ddc7643afa | [
"MIT",
"BSD-3-Clause"
] | 14 | 2020-09-29T02:46:18.000Z | 2021-09-27T07:13:47.000Z | from mxnet import gluon
from mxnet.gluon import HybridBlock
from ceecnet.nn.layers.conv2Dnormed import *
from ceecnet.utils.get_norm import *
from ceecnet.nn.layers.attention import *
class ResizeLayer(HybridBlock):
"""
Applies bilinear up/down sampling in spatial dims and changes number of filters as well
... | 45.659091 | 186 | 0.66059 | 2,092 | 16,072 | 4.860899 | 0.088432 | 0.087521 | 0.070803 | 0.07867 | 0.870587 | 0.864982 | 0.852985 | 0.848658 | 0.825647 | 0.820828 | 0 | 0.042558 | 0.194438 | 16,072 | 351 | 187 | 45.789174 | 0.742875 | 0.108387 | 0 | 0.70202 | 0 | 0 | 0.009888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.025253 | 0 | 0.207071 | 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 |
c200bfcfb3506f7b5d5aa61e676f674b8d4fef20 | 14,488 | py | Python | web/migrations/0001_initial.py | jmason-ebi/pdx | aec38d74a78c907041332f4623c01047f45f3f0a | [
"Apache-2.0"
] | null | null | null | web/migrations/0001_initial.py | jmason-ebi/pdx | aec38d74a78c907041332f4623c01047f45f3f0a | [
"Apache-2.0"
] | null | null | null | web/migrations/0001_initial.py | jmason-ebi/pdx | aec38d74a78c907041332f4623c01047f45f3f0a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-09-09 15:33
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import django_extensions.db.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
]
ope... | 50.835088 | 143 | 0.574752 | 1,331 | 14,488 | 6.077385 | 0.106687 | 0.058474 | 0.064532 | 0.086043 | 0.85128 | 0.847942 | 0.822475 | 0.788602 | 0.788602 | 0.751638 | 0 | 0.006065 | 0.282993 | 14,488 | 284 | 144 | 51.014085 | 0.772622 | 0.004694 | 0 | 0.666667 | 1 | 0 | 0.147118 | 0.001457 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.003623 | 0.014493 | 0 | 0.028986 | 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 |
c213671e056f4ccf87fd3dab05b33b16957f6f48 | 5,908 | py | Python | simulations/MonteCarlo_function.py | chengning-zhang/Statistical-methods-for-combining-multiple-tests-a-Wrapper- | 42b5aabf6a0619fa7fe18a034926236d133a35d8 | [
"MIT"
] | 1 | 2020-11-24T02:58:58.000Z | 2020-11-24T02:58:58.000Z | simulations/MonteCarlo_function.py | chengning-zhang/Combining-multiple-tests-Wrapper- | 42b5aabf6a0619fa7fe18a034926236d133a35d8 | [
"MIT"
] | null | null | null | simulations/MonteCarlo_function.py | chengning-zhang/Combining-multiple-tests-Wrapper- | 42b5aabf6a0619fa7fe18a034926236d133a35d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#-*- coding:utf-8 -*-
"""
Created on Nov 23, 2020
@author: Chengning Zhang
"""
## simulation for Scenario A: generate X0 and X1.
def MonteCarlo_1(T, n0, n1, u0, u1, sigma0, sigma1, log_bool = False):
"""simulation for first scenario: multivarite normal with equal variance
T: number of simula... | 46.15625 | 128 | 0.609682 | 937 | 5,908 | 3.731057 | 0.157951 | 0.02746 | 0.054062 | 0.061785 | 0.843249 | 0.839817 | 0.839817 | 0.839817 | 0.833524 | 0.833524 | 0 | 0.028571 | 0.206161 | 5,908 | 127 | 129 | 46.519685 | 0.716844 | 0.234936 | 0 | 0.792208 | 1 | 0 | 0.077341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038961 | false | 0 | 0 | 0 | 0.077922 | 0.051948 | 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 |
c22b8b9f23f5fc7b3cfeba52a978e7ba6441ed61 | 92 | py | Python | cv_comparison_slider_window/__init__.py | Kazuhito00/cv-comparison-slider-window | 215cd91c1832b419af9fb99b484ce8c2a9e79a37 | [
"MIT"
] | 2 | 2020-11-14T09:09:02.000Z | 2020-11-14T10:54:57.000Z | cv_comparison_slider_window/__init__.py | Kazuhito00/cv-comparison-slider-window | 215cd91c1832b419af9fb99b484ce8c2a9e79a37 | [
"MIT"
] | null | null | null | cv_comparison_slider_window/__init__.py | Kazuhito00/cv-comparison-slider-window | 215cd91c1832b419af9fb99b484ce8c2a9e79a37 | [
"MIT"
] | null | null | null | from cv_comparison_slider_window.cv_comparison_slider_window import CvComparisonSliderWindow | 92 | 92 | 0.956522 | 11 | 92 | 7.454545 | 0.636364 | 0.292683 | 0.439024 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 92 | 1 | 92 | 92 | 0.921348 | 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 |
c24ab458d07762596a9a0b958ea5ceac2489021a | 164 | py | Python | nnet/learning_rate_func/__init__.py | zhaoyan1117/NeuralNet | a0343dd469e981bf9b4f18db0209ca9bfaf58c4f | [
"BSD-2-Clause"
] | null | null | null | nnet/learning_rate_func/__init__.py | zhaoyan1117/NeuralNet | a0343dd469e981bf9b4f18db0209ca9bfaf58c4f | [
"BSD-2-Clause"
] | null | null | null | nnet/learning_rate_func/__init__.py | zhaoyan1117/NeuralNet | a0343dd469e981bf9b4f18db0209ca9bfaf58c4f | [
"BSD-2-Clause"
] | null | null | null | from ._inv_prop_lr import InvPropLR
from ._constant_lr import ConstantLR
from ._step_size_lr import StepSizeLR
from ._dynamic_step_size_lr import DynamicStepSizeLR
| 32.8 | 52 | 0.878049 | 24 | 164 | 5.5 | 0.541667 | 0.242424 | 0.151515 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 164 | 4 | 53 | 41 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 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 |
5f0b1b6f16ccc30241e064e1c6cda37d2700becb | 3,242 | py | Python | testing/regrid/testGhostedDistArray.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | testing/regrid/testGhostedDistArray.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | testing/regrid/testGhostedDistArray.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | import distarray
import numpy
import unittest
from mpi4py import MPI
class TestGhostedDistArray(unittest.TestCase):
"""
Test distributed array
"""
def setUp(self):
pass
def test_test0(self):
"""
Test constructors
"""
da = distarray.ghZeros( (2,3), numpy.flo... | 26.57377 | 77 | 0.507403 | 395 | 3,242 | 4.111392 | 0.21519 | 0.04064 | 0.084975 | 0.08867 | 0.744458 | 0.744458 | 0.744458 | 0.744458 | 0.706281 | 0.706281 | 0 | 0.041867 | 0.359038 | 3,242 | 121 | 78 | 26.793388 | 0.739654 | 0.067551 | 0 | 0.714286 | 0 | 0 | 0.067682 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | null | null | 0.014286 | 0.057143 | null | null | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5f2c618b2d6e7fe4b895b468c576b02558bec6fb | 70 | py | Python | gym_android_wechat_jump/env/__init__.py | gooooloo/gym-android-wechat-jump | f7c576316ae07d9701cc467ef271f838418d8695 | [
"MIT"
] | null | null | null | gym_android_wechat_jump/env/__init__.py | gooooloo/gym-android-wechat-jump | f7c576316ae07d9701cc467ef271f838418d8695 | [
"MIT"
] | null | null | null | gym_android_wechat_jump/env/__init__.py | gooooloo/gym-android-wechat-jump | f7c576316ae07d9701cc467ef271f838418d8695 | [
"MIT"
] | null | null | null | from gym_android_wechat_jump.env.wechat_jump_env import WechatJumpEnv
| 35 | 69 | 0.914286 | 11 | 70 | 5.363636 | 0.727273 | 0.338983 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 70 | 1 | 70 | 70 | 0.893939 | 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 |
2603181f0b3082fdc38b19973a3aa85c33523f68 | 22,466 | py | Python | tests/hwsim/test_ap_ht.py | rzr/wpasupplicant | 3f7ac05878ba965e941f2b5b80b8cb744e63f506 | [
"Unlicense"
] | 19 | 2015-04-02T13:50:00.000Z | 2022-01-19T02:45:18.000Z | tests/hwsim/test_ap_ht.py | jku/hostap | a61fcc131aa6a7e396eee6a3c613001bf0475cd1 | [
"Unlicense"
] | 3 | 2016-03-16T13:46:10.000Z | 2016-08-30T12:42:52.000Z | tests/hwsim/test_ap_ht.py | jku/hostap | a61fcc131aa6a7e396eee6a3c613001bf0475cd1 | [
"Unlicense"
] | 11 | 2015-05-18T07:37:12.000Z | 2021-11-12T10:28:50.000Z | # Test cases for HT operations with hostapd
# Copyright (c) 2013-2014, Jouni Malinen <j@w1.fi>
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
import time
import logging
logger = logging.getLogger()
import struct
import subprocess
import hostapd
def clear_scan_... | 37.694631 | 199 | 0.582614 | 2,828 | 22,466 | 4.477016 | 0.097242 | 0.079615 | 0.059553 | 0.07535 | 0.838954 | 0.821973 | 0.806097 | 0.791802 | 0.763605 | 0.73525 | 0 | 0.037226 | 0.268228 | 22,466 | 595 | 200 | 37.757983 | 0.732908 | 0.039704 | 0 | 0.813008 | 0 | 0.002033 | 0.273176 | 0.026108 | 0 | 0 | 0.000186 | 0 | 0 | 1 | 0.034553 | false | 0 | 0.010163 | 0 | 0.044715 | 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 |
cd7225d8ec41e4d30a72fb83efb498273f5b3bbc | 132 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_frame.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_frame.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/viper/calculators/calc_frame.py | PascalGuenther/gecko_sdk | 2e82050dc8823c9fe0e8908c1b2666fb83056230 | [
"Zlib"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | from pyradioconfig.parts.bobcat.calculators.calc_frame import Calc_Frame_Bobcat
class calc_frame_viper(Calc_Frame_Bobcat):
pass | 33 | 79 | 0.863636 | 19 | 132 | 5.631579 | 0.578947 | 0.336449 | 0.280374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 132 | 4 | 80 | 33 | 0.884298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
cd8aca443ef9f431942f1f2a5e259a12ad32107f | 3,057 | py | Python | tests/geographic/duplicates/test_find_grid_duplicates.py | PEM-Humboldt/regi0 | 0d64587d5d87f57cddfc7a67bb8baf74cd70adf2 | [
"MIT"
] | null | null | null | tests/geographic/duplicates/test_find_grid_duplicates.py | PEM-Humboldt/regi0 | 0d64587d5d87f57cddfc7a67bb8baf74cd70adf2 | [
"MIT"
] | 15 | 2022-02-03T11:38:37.000Z | 2022-03-09T23:23:04.000Z | tests/geographic/duplicates/test_find_grid_duplicates.py | PEM-Humboldt/regi0 | 0d64587d5d87f57cddfc7a67bb8baf74cd70adf2 | [
"MIT"
] | null | null | null | """
Test cases for the regi0.geographic.duplicates.find_grid_duplicates function.
"""
import numpy as np
import pandas as pd
from regi0.geographic.duplicates import find_grid_duplicates
def test_records_bounds_high_res(records):
result = find_grid_duplicates(
records,
"scientificName",
re... | 21.082759 | 83 | 0.446189 | 242 | 3,057 | 5.487603 | 0.210744 | 0.331325 | 0.395331 | 0.451807 | 0.76506 | 0.76506 | 0.76506 | 0.752259 | 0.724398 | 0.627259 | 0 | 0.083648 | 0.479882 | 3,057 | 144 | 84 | 21.229167 | 0.751572 | 0.025188 | 0 | 0.787879 | 0 | 0 | 0.021871 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 1 | 0.030303 | false | 0 | 0.022727 | 0 | 0.05303 | 0 | 0 | 0 | 0 | null | 1 | 1 | 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 | 9 |
26a2b53d4301d0838e61a2558348848ec6cc08bb | 2,855 | py | Python | src/model/model_basic.py | trungnt13/digisami_journal | 671486d0fe7b65cad80daf8e8b96d475245c5fed | [
"Apache-2.0"
] | null | null | null | src/model/model_basic.py | trungnt13/digisami_journal | 671486d0fe7b65cad80daf8e8b96d475245c5fed | [
"Apache-2.0"
] | null | null | null | src/model/model_basic.py | trungnt13/digisami_journal | 671486d0fe7b65cad80daf8e8b96d475245c5fed | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function, division, absolute_import
from odin import nnet as N, backend as K
import tensorflow as tf
@N.ModelDescriptor
def fnn(X, gender, topic, y, nb_classes):
f = N.Sequence([
N.Flatten(outdim=2),
N.Dense(num_units=1024, b_init=None),
N.BatchNorm(activation... | 31.722222 | 64 | 0.62732 | 450 | 2,855 | 3.811111 | 0.122222 | 0.069971 | 0.104956 | 0.163265 | 0.914869 | 0.914869 | 0.914869 | 0.914869 | 0.914869 | 0.907872 | 0 | 0.028648 | 0.217513 | 2,855 | 89 | 65 | 32.078652 | 0.739033 | 0 | 0 | 0.858974 | 0 | 0 | 0.015762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064103 | false | 0 | 0.038462 | 0 | 0.166667 | 0.012821 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
26cf746287a13ed33dacec35f0898c4fe183c37a | 73 | py | Python | preprocessing/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | 1 | 2022-03-09T20:13:57.000Z | 2022-03-09T20:13:57.000Z | preprocessing/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | 1 | 2021-10-01T16:20:06.000Z | 2021-10-01T17:25:30.000Z | preprocessing/__init__.py | WiktorSa/Music-Generation-with-LSTM-and-.wav-files | 37b713b5e6193788a7710cc0fac4134efb74fa62 | [
"MIT"
] | null | null | null | from preprocessing.generate_and_save_data import generate_and_save_data
| 36.5 | 72 | 0.917808 | 11 | 73 | 5.545455 | 0.636364 | 0.360656 | 0.491803 | 0.622951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 73 | 1 | 73 | 73 | 0.897059 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 9 |
f8aeac4c82055a9ca0856652e23d45a0af0bcf39 | 7,595 | py | Python | ckanext-hdx_theme/ckanext/hdx_theme/util/jql_queries.py | alexandru-m-g/hdx-ckan | 647f1f23f0505fa195601245b758edcaf4d25985 | [
"Apache-2.0"
] | null | null | null | ckanext-hdx_theme/ckanext/hdx_theme/util/jql_queries.py | alexandru-m-g/hdx-ckan | 647f1f23f0505fa195601245b758edcaf4d25985 | [
"Apache-2.0"
] | null | null | null | ckanext-hdx_theme/ckanext/hdx_theme/util/jql_queries.py | alexandru-m-g/hdx-ckan | 647f1f23f0505fa195601245b758edcaf4d25985 | [
"Apache-2.0"
] | null | null | null | DOWNLOADS_PER_DATASET = '''
/* VER 1.2
used for total downloads from 2016-08-01 which is used to sort datasets by "most downloads" for the "XXX downloads" counter on /search and on each individual dataset
gets all download events and counts occurrences of unique combinations of user, resource, and dataset, and day, t... | 42.194444 | 493 | 0.688743 | 1,098 | 7,595 | 4.687614 | 0.143898 | 0.0408 | 0.054401 | 0.037303 | 0.770157 | 0.761609 | 0.736546 | 0.725277 | 0.705265 | 0.685059 | 0 | 0.015558 | 0.170639 | 7,595 | 180 | 494 | 42.194444 | 0.801556 | 0 | 0 | 0.819876 | 0 | 0.130435 | 0.958004 | 0.209057 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.099379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3e5d6df95ec953ae6051ebc8540af72617f83181 | 7,209 | py | Python | TravelWebsite/travello/admin.py | DSAnup/Django | 76025d181bafbb41783912577f80ec728884549d | [
"MIT"
] | 1 | 2020-03-15T05:22:30.000Z | 2020-03-15T05:22:30.000Z | TravelWebsite/travello/admin.py | DSAnup/Django | 76025d181bafbb41783912577f80ec728884549d | [
"MIT"
] | null | null | null | TravelWebsite/travello/admin.py | DSAnup/Django | 76025d181bafbb41783912577f80ec728884549d | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.utils.html import format_html
from django.shortcuts import redirect
from .models import *
# Register your models here.
admin.site.register(CategoryDes)
class DestinationAdmin(admin.ModelAdmin):
def edit(self, obj):
return format_html('<a class="btn-primary" hr... | 49.717241 | 164 | 0.659315 | 1,019 | 7,209 | 4.513248 | 0.099117 | 0.066971 | 0.090454 | 0.090889 | 0.813655 | 0.77843 | 0.77843 | 0.77843 | 0.770385 | 0.711676 | 0 | 0.012835 | 0.146206 | 7,209 | 145 | 165 | 49.717241 | 0.734362 | 0.003607 | 0 | 0.605042 | 0 | 0.184874 | 0.22988 | 0.134781 | 0 | 0 | 0 | 0 | 0 | 1 | 0.260504 | false | 0 | 0.033613 | 0.184874 | 0.781513 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
e45875441dea1d18e8ce1f3858f85bde9799b868 | 281 | py | Python | url_shortener/exceptions.py | alena-kono/simple-shortener | d1549b342e190ff70509ce5b442cb31376f2a07a | [
"MIT"
] | null | null | null | url_shortener/exceptions.py | alena-kono/simple-shortener | d1549b342e190ff70509ce5b442cb31376f2a07a | [
"MIT"
] | null | null | null | url_shortener/exceptions.py | alena-kono/simple-shortener | d1549b342e190ff70509ce5b442cb31376f2a07a | [
"MIT"
] | null | null | null | from core.exceptions import BaseProjectException
class InvalidUrlError(BaseProjectException):
"""Exception raised when invalid url is passed."""
pass
class MissingPrimaryKeyError(BaseProjectException):
"""Exception raised when primary key is missing."""
pass
| 20.071429 | 55 | 0.761566 | 27 | 281 | 7.925926 | 0.703704 | 0.271028 | 0.327103 | 0.364486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163701 | 281 | 13 | 56 | 21.615385 | 0.910638 | 0.320285 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
e46c1072625294f177cc250fe85584da3ad9a985 | 124,267 | py | Python | python/target_selection/cartons/bhm_spiders_agn.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 3 | 2020-07-07T01:38:59.000Z | 2020-11-24T21:46:58.000Z | python/target_selection/cartons/bhm_spiders_agn.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | 26 | 2020-05-28T07:18:54.000Z | 2021-11-30T18:36:10.000Z | python/target_selection/cartons/bhm_spiders_agn.py | sdss/target_selection | 7196bf1491c4e9c18140301c7001e503f391a8e1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# @Author: Tom Dwelly
# @Date: 2020-03-03
# @Filename: bhm_spiders_agn.py
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)
# derived from guide.py
# ### flake8: noqa
# isort: skip_file
import peewee
from peewee import JOIN
from peewee import fn... | 41.325906 | 388 | 0.500036 | 14,932 | 124,267 | 3.887557 | 0.057527 | 0.054747 | 0.0205 | 0.009923 | 0.858792 | 0.834106 | 0.804028 | 0.782959 | 0.761908 | 0.74873 | 0 | 0.057389 | 0.364514 | 124,267 | 3,006 | 389 | 41.339654 | 0.677688 | 0.192255 | 0 | 0.720848 | 0 | 0 | 0.081791 | 0.015609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003092 | false | 0 | 0.0053 | 0 | 0.033569 | 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 |
e488e12d7b940dac3d9db3e9a5b2cb31258d0310 | 25,266 | py | Python | test/recipe/test_edit_recipe.py | fredsonchaves07/foodfy | 5bff04434749f369f982090b00590cca31fce186 | [
"MIT"
] | null | null | null | test/recipe/test_edit_recipe.py | fredsonchaves07/foodfy | 5bff04434749f369f982090b00590cca31fce186 | [
"MIT"
] | 141 | 2021-03-03T01:38:10.000Z | 2022-01-16T15:42:02.000Z | test/recipe/test_edit_recipe.py | fredsonchaves07/foodfy | 5bff04434749f369f982090b00590cca31fce186 | [
"MIT"
] | null | null | null | import json
from io import BytesIO
from app.ext.api.exceptions import (
ChefNotFound,
InvalidToken,
MaximumImageCapacityError,
OperationNotAllowed,
RecipeWithoutIngredient,
RecipeWithoutPreparationMode,
)
from app.ext.api.services import token_services
def test_edit_recipe(client, admin_user)... | 28.48478 | 87 | 0.566097 | 2,667 | 25,266 | 5.192351 | 0.044619 | 0.038995 | 0.049105 | 0.058925 | 0.947429 | 0.936958 | 0.93537 | 0.926343 | 0.919555 | 0.909879 | 0 | 0.013804 | 0.283187 | 25,266 | 886 | 88 | 28.51693 | 0.750814 | 0 | 0 | 0.801913 | 0 | 0 | 0.280139 | 0.022322 | 0 | 0 | 0 | 0 | 0.04918 | 1 | 0.015027 | false | 0.019126 | 0.005464 | 0 | 0.020492 | 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 |
e4ab8e400d3a8428f396d10f517cf745bdb624df | 24,862 | py | Python | sdk/python/pulumi_azure/cosmosdb/cassandra_table.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/cosmosdb/cassandra_table.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/cosmosdb/cassandra_table.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... | 48.558594 | 238 | 0.662376 | 2,762 | 24,862 | 5.758146 | 0.083635 | 0.060174 | 0.068096 | 0.033451 | 0.880722 | 0.868398 | 0.855697 | 0.844567 | 0.831049 | 0.814198 | 0 | 0.006232 | 0.244831 | 24,862 | 511 | 239 | 48.65362 | 0.840852 | 0.401657 | 0 | 0.75 | 1 | 0 | 0.145344 | 0.078251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.159091 | false | 0.003788 | 0.026515 | 0.022727 | 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 |
e4e647dd3b9fc6ab9ed936f939be2c4d02a9c3ed | 446,260 | py | Python | rl_agents/awac_agent_4_20_1_norm_v1-225_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/awac_agent_4_20_1_norm_v1-225_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | rl_agents/awac_agent_4_20_1_norm_v1-225_deterministic.py | IsaiahPressman/Kaggle_Santa_2020 | ff5c6aa78dbe234cef338f4c721cc30d7dbc3df8 | [
"MIT"
] | null | null | null | serialized_string = b'gAN9cQBYEAAAAG1vZGVsX3N0YXRlX2RpY3RxAWNjb2xsZWN0aW9ucwpPcmRlcmVkRGljdApxAilScQMoWCEAAABiYXNlLmxheWVycy4wLm1lc3NhZ2VfcGFzc2luZ19tYXRxBGN0b3JjaC5fdXRpbHMKX3JlYnVpbGRfdGVuc29yX3YyCnEFKGN0b3JjaC5zdG9yYWdlCl9sb2FkX2Zyb21fYnl0ZXMKcQZCPJ0AAIACigps/JxG+SBqqFAZLoACTekDLoACfXEAKFgQAAAAcHJvdG9jb2xfdmVyc2lvbn... | 1,576.890459 | 434,799 | 0.935325 | 26,029 | 446,260 | 16.020554 | 0.062776 | 1.562162 | 2.268459 | 2.924899 | 0.848355 | 0.847467 | 0.846673 | 0.846314 | 0.846009 | 0.845333 | 0 | 0.175195 | 0.006835 | 446,260 | 282 | 434,800 | 1,582.48227 | 0.765666 | 0.001474 | 0 | 0.413636 | 0 | 0.004545 | 0.977073 | 0.976785 | 0 | 1 | 0 | 0.003546 | 0.004545 | 1 | 0.109091 | false | 0.036364 | 0.022727 | 0.004545 | 0.222727 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
9036fe41e979c0dcc374002d6e7021871b3e9ae0 | 9,837 | py | Python | src/oddball/oddball.py | stillarrow/NetworkAnomalyDetection | f41fd6b6d7cb302dc2eaa4c0f8d7b04b7ed4fd3c | [
"MIT"
] | 1 | 2021-05-12T09:37:47.000Z | 2021-05-12T09:37:47.000Z | src/oddball/oddball.py | stillarrow/NetworkAnomalyDetection | f41fd6b6d7cb302dc2eaa4c0f8d7b04b7ed4fd3c | [
"MIT"
] | null | null | null | src/oddball/oddball.py | stillarrow/NetworkAnomalyDetection | f41fd6b6d7cb302dc2eaa4c0f8d7b04b7ed4fd3c | [
"MIT"
] | null | null | null | '''
Python3 implementation of oddball
@author:
Tao Yu (gloooryyt@gmail.com)
'''
import numpy as np
from sklearn.linear_model import LinearRegression
from sklearn.neighbors import LocalOutlierFactor
# feature dictionary which format is {node i's id:Ni, Ei, Wi, λw,i}
def star_or_clique(featureDict):
N = []
... | 31.630225 | 125 | 0.620718 | 1,395 | 9,837 | 4.27957 | 0.099642 | 0.042211 | 0.022613 | 0.047739 | 0.937186 | 0.937186 | 0.937186 | 0.927806 | 0.927806 | 0.927806 | 0 | 0.015835 | 0.242452 | 9,837 | 310 | 126 | 31.732258 | 0.785293 | 0.149537 | 0 | 0.935065 | 0 | 0 | 0.012499 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025974 | false | 0 | 0.012987 | 0 | 0.064935 | 0.038961 | 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 |
903e7c7c7eb9a7d02da0c1871291e12b6246e93e | 20,260 | py | Python | shoptimizer_api/optimizers_builtin/title_word_order_optimizer_test.py | astivi/shoptimizer | e9e415650b2b8fc07e4ae68c741e692b538e4a2c | [
"Apache-2.0"
] | null | null | null | shoptimizer_api/optimizers_builtin/title_word_order_optimizer_test.py | astivi/shoptimizer | e9e415650b2b8fc07e4ae68c741e692b538e4a2c | [
"Apache-2.0"
] | null | null | null | shoptimizer_api/optimizers_builtin/title_word_order_optimizer_test.py | astivi/shoptimizer | e9e415650b2b8fc07e4ae68c741e692b538e4a2c | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2021 Google LLC.
#
# 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 ... | 40.846774 | 123 | 0.696249 | 2,332 | 20,260 | 5.610206 | 0.116638 | 0.043721 | 0.024612 | 0.039746 | 0.856761 | 0.834059 | 0.826798 | 0.800963 | 0.751051 | 0.740503 | 0 | 0.007007 | 0.211106 | 20,260 | 495 | 124 | 40.929293 | 0.810236 | 0.031984 | 0 | 0.720874 | 0 | 0 | 0.258397 | 0.121286 | 0.002427 | 0 | 0 | 0 | 0.084951 | 1 | 0.050971 | false | 0 | 0.014563 | 0 | 0.067961 | 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 |
5f993e929da96965b346f667b7d028433a1f27c0 | 2,157 | py | Python | plugins/uma/plugins/uma_whois/__init__.py | liangzimiao/miyubot | c2788712255e39348c8980c8ace2f6f75fb6621c | [
"Apache-2.0"
] | null | null | null | plugins/uma/plugins/uma_whois/__init__.py | liangzimiao/miyubot | c2788712255e39348c8980c8ace2f6f75fb6621c | [
"Apache-2.0"
] | null | null | null | plugins/uma/plugins/uma_whois/__init__.py | liangzimiao/miyubot | c2788712255e39348c8980c8ace2f6f75fb6621c | [
"Apache-2.0"
] | null | null | null | from nonebot.adapters.onebot.v11.event import MessageEvent
from nonebot.typing import T_State
from nonebot.adapters.onebot.v11 import Bot, Message
from plugins.uma.plugins.uma_whois.data_source import UmaWhois
from plugins.uma import chara
#matcher =on_endswith({'是谁','是谁?','是谁?'},priority=5)
matcher =UmaWhois().on_reg... | 32.19403 | 94 | 0.623551 | 303 | 2,157 | 4.343234 | 0.250825 | 0.036474 | 0.072948 | 0.104863 | 0.851824 | 0.787994 | 0.787994 | 0.739362 | 0.739362 | 0.739362 | 0 | 0.015412 | 0.217895 | 2,157 | 67 | 95 | 32.19403 | 0.764671 | 0.041725 | 0 | 0.813559 | 0 | 0.033898 | 0.154889 | 0.026137 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.084746 | 0 | 0.152542 | 0.033898 | 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 |
5fcb3be04540c3af2931e387575e6b75d7da7f7e | 34,361 | py | Python | quantlib/backends/twn_accelerator/grrules/dporules.py | mdatres/quantlab | 09fb24ede78f49768f829afe0fac2ac291b8fd4f | [
"Apache-2.0"
] | null | null | null | quantlib/backends/twn_accelerator/grrules/dporules.py | mdatres/quantlab | 09fb24ede78f49768f829afe0fac2ac291b8fd4f | [
"Apache-2.0"
] | null | null | null | quantlib/backends/twn_accelerator/grrules/dporules.py | mdatres/quantlab | 09fb24ede78f49768f829afe0fac2ac291b8fd4f | [
"Apache-2.0"
] | 1 | 2022-01-02T10:10:46.000Z | 2022-01-02T10:10:46.000Z | #
# dporules.py
#
# Author(s):
# Matteo Spallanzani <spmatteo@iis.ee.ethz.ch>
#
# Copyright (c) 2020-2021 ETH Zurich.
#
# 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.apach... | 47.723611 | 143 | 0.619831 | 4,911 | 34,361 | 4.128894 | 0.083893 | 0.030182 | 0.011047 | 0.012822 | 0.859989 | 0.855945 | 0.848301 | 0.836662 | 0.831287 | 0.827736 | 0 | 0.013901 | 0.256774 | 34,361 | 719 | 144 | 47.789986 | 0.780092 | 0.227089 | 0 | 0.860789 | 0 | 0 | 0.034747 | 0.002122 | 0 | 0 | 0 | 0 | 0.009281 | 1 | 0.046404 | false | 0.00464 | 0.027842 | 0 | 0.12065 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.