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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22d3d686400f893b4f476ac33b91bd166cceb117 | 22,827 | py | Python | Bugscan_exploits-master/exp_list/exp-back_1070.pyc_dis.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 11 | 2020-05-30T13:53:49.000Z | 2021-03-17T03:20:59.000Z | Bugscan_exploits-master/exp_list/exp-back_1070.pyc_dis.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-13T03:25:18.000Z | 2020-07-21T06:24:16.000Z | Bugscan_exploits-master/exp_list/exp-back_1070.pyc_dis.py | csadsl/poc_exp | e3146262e7403f19f49ee2db56338fa3f8e119c9 | [
"MIT"
] | 6 | 2020-05-30T13:53:51.000Z | 2020-12-01T21:44:26.000Z | #Embedded file name: wordpress_vule.py
if 0:
i11iIiiIii
import hashlib
import json
import zlib
def OO0o():
Oo0Ooo = json.loads(zlib.decompress(decode('\x1e\xce\xa4!\xf0\xaalm\xcb\xa1\xcd\xbec\x95;\x1e#r\x01p\xfa\xc8N\xf8\xa2\xc3\x9fP\x95\x88*\x82\xd0\xfdc\xa4`\x0b}\xd9\xab>\xf0\x83\xb2\xdb\x82l:>\x9bi:\x166\\\... | 475.5625 | 13,343 | 0.72331 | 5,054 | 22,827 | 3.258211 | 0.276613 | 0.004737 | 0.001579 | 0.002793 | 0.013239 | 0.008016 | 0.004251 | 0 | 0 | 0 | 0 | 0.228298 | 0.019451 | 22,827 | 47 | 13,344 | 485.680851 | 0.507394 | 0.001621 | 0 | 0.078947 | 0 | 0.605263 | 0.697837 | 0.692615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078947 | false | 0 | 0.105263 | 0 | 0.236842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fe06de440b8a2918e6cd7ea86e01bdd6693fcaa7 | 59 | py | Python | blackpearl/modules/motion.py | offmessage/blackpearl | ffbba460fe7fc7fe4d7e3466f5ff13ea0c081fc5 | [
"MIT"
] | null | null | null | blackpearl/modules/motion.py | offmessage/blackpearl | ffbba460fe7fc7fe4d7e3466f5ff13ea0c081fc5 | [
"MIT"
] | null | null | null | blackpearl/modules/motion.py | offmessage/blackpearl | ffbba460fe7fc7fe4d7e3466f5ff13ea0c081fc5 | [
"MIT"
] | null | null | null | from .base import Module
class Motion(Module):
pass
| 8.428571 | 24 | 0.694915 | 8 | 59 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 59 | 6 | 25 | 9.833333 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a3b12fdf96afad56d8f6694fb12c23964d53be3f | 16,226 | py | Python | src/py_gql/schema/differ/changes.py | johnpaulguzman/py-gql | 5a2d180537218e1c30c65b2a933fb4fe197785ae | [
"MIT"
] | 6 | 2019-04-30T10:48:09.000Z | 2021-08-19T15:57:53.000Z | src/py_gql/schema/differ/changes.py | johnpaulguzman/py-gql | 5a2d180537218e1c30c65b2a933fb4fe197785ae | [
"MIT"
] | 6 | 2019-04-08T12:39:08.000Z | 2020-08-10T15:00:18.000Z | src/py_gql/schema/differ/changes.py | johnpaulguzman/py-gql | 5a2d180537218e1c30c65b2a933fb4fe197785ae | [
"MIT"
] | 2 | 2021-04-14T07:06:15.000Z | 2021-08-19T15:58:46.000Z | # -*- coding: utf-8 -*-
from enum import IntEnum
from typing import Any, Type, Union
from .. import (
Argument,
Directive,
EnumType,
EnumValue,
Field,
InputField,
InputObjectType,
InterfaceType,
NamedType,
ObjectType,
UnionType,
)
class SchemaChangeSeverity(IntEnum):
... | 28.516696 | 85 | 0.650684 | 1,704 | 16,226 | 5.968897 | 0.086268 | 0.036968 | 0.036771 | 0.025071 | 0.839052 | 0.829614 | 0.779766 | 0.747911 | 0.707305 | 0.650477 | 0 | 0.000499 | 0.258536 | 16,226 | 568 | 86 | 28.566901 | 0.844901 | 0.022741 | 0 | 0.67191 | 0 | 0.008989 | 0.187962 | 0.043264 | 0 | 0 | 0 | 0.001761 | 0 | 1 | 0.080899 | false | 0 | 0.006742 | 0.004494 | 0.332584 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a3b84fc8b07fa5ef96971020d8248771dca7bbc9 | 29,646 | py | Python | appiumbase/fixtures/page_actions.py | Pawan7593/AppiumBase | 6e767619702d1be0404a89492544323df7dc540a | [
"MIT"
] | null | null | null | appiumbase/fixtures/page_actions.py | Pawan7593/AppiumBase | 6e767619702d1be0404a89492544323df7dc540a | [
"MIT"
] | null | null | null | appiumbase/fixtures/page_actions.py | Pawan7593/AppiumBase | 6e767619702d1be0404a89492544323df7dc540a | [
"MIT"
] | 1 | 2021-12-20T04:31:26.000Z | 2021-12-20T04:31:26.000Z | """
This module contains a set of methods that can be used for page loads and
for waiting for elements to appear on a page.
These methods improve on and expand existing WebDriver commands.
Improvements include making WebDriver commands more robust and more reliable
by giving page elements enough time to load before tak... | 35.419355 | 109 | 0.637793 | 3,660 | 29,646 | 5.051366 | 0.069399 | 0.010547 | 0.014063 | 0.019688 | 0.802629 | 0.764171 | 0.743563 | 0.727066 | 0.691367 | 0.656967 | 0 | 0.012597 | 0.287729 | 29,646 | 836 | 110 | 35.461722 | 0.862948 | 0.329657 | 0 | 0.73694 | 0 | 0 | 0.061747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046642 | false | 0.001866 | 0.029851 | 0 | 0.132463 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4aa8eec5eaba931fb3d7bcc8a415f0311c53112f | 4,307 | py | Python | src/azure-cli/azure/cli/command_modules/apim/_params.py | psignoret/azure-cli | 1a4a043750315f9a7f2894b4287126089978b615 | [
"MIT"
] | 1 | 2020-12-12T02:53:24.000Z | 2020-12-12T02:53:24.000Z | src/azure-cli/azure/cli/command_modules/apim/_params.py | psignoret/azure-cli | 1a4a043750315f9a7f2894b4287126089978b615 | [
"MIT"
] | 2 | 2021-01-15T09:24:07.000Z | 2021-01-15T09:30:10.000Z | src/azure-cli/azure/cli/command_modules/apim/_params.py | psignoret/azure-cli | 1a4a043750315f9a7f2894b4287126089978b615 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 79.759259 | 256 | 0.695147 | 587 | 4,307 | 4.90971 | 0.224872 | 0.074948 | 0.026718 | 0.031575 | 0.80118 | 0.748092 | 0.748092 | 0.701943 | 0.701943 | 0.701943 | 0 | 0 | 0.168563 | 4,307 | 53 | 257 | 81.264151 | 0.804803 | 0.084978 | 0 | 0.315789 | 0 | 0.052632 | 0.456671 | 0.03075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.105263 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4359a82d2d89e17f6e2bdf15e6f31a5d16d9b7a8 | 16,596 | py | Python | celloracle/visualizations/development_module_visualization.py | gordian-biotechnology/CellOracle | b160622711d26d3c283822b98560709ee8b3063b | [
"Apache-2.0"
] | null | null | null | celloracle/visualizations/development_module_visualization.py | gordian-biotechnology/CellOracle | b160622711d26d3c283822b98560709ee8b3063b | [
"Apache-2.0"
] | null | null | null | celloracle/visualizations/development_module_visualization.py | gordian-biotechnology/CellOracle | b160622711d26d3c283822b98560709ee8b3063b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os, sys
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from .config import CONFIG
def plot_cluster_whole(self, ax=None, s=CONFIG["s_scatter"], args=CONFIG["default_args"]):
if ax is None:
ax = plt
ax.scatter(self.embeddi... | 34.008197 | 183 | 0.650217 | 2,412 | 16,596 | 4.216418 | 0.075456 | 0.100492 | 0.033038 | 0.063324 | 0.818092 | 0.778073 | 0.755752 | 0.7235 | 0.705113 | 0.65821 | 0 | 0.01506 | 0.211798 | 16,596 | 487 | 184 | 34.078029 | 0.762403 | 0.009581 | 0 | 0.58885 | 0 | 0 | 0.100185 | 0.007615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066202 | false | 0 | 0.020906 | 0 | 0.087108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78d93d0af1c181ee4e467789b8f79afbf69ae0fb | 4,723 | py | Python | jarbas/core/migrations/0002_add_indexes.py | vbarceloscs/serenata-de-amor | 87e6c8932469478d177372ed7b6311cd66a71efe | [
"MIT"
] | 3,001 | 2016-08-08T17:43:36.000Z | 2018-02-09T19:13:35.000Z | jarbas/core/migrations/0002_add_indexes.py | vbarceloscs/serenata-de-amor | 87e6c8932469478d177372ed7b6311cd66a71efe | [
"MIT"
] | 259 | 2016-08-08T09:53:23.000Z | 2018-01-24T13:30:27.000Z | jarbas/core/migrations/0002_add_indexes.py | vbarceloscs/serenata-de-amor | 87e6c8932469478d177372ed7b6311cd66a71efe | [
"MIT"
] | 674 | 2016-08-08T22:04:04.000Z | 2018-02-05T15:30:15.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2016-09-08 10:41
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.AlterField(
... | 37.484127 | 123 | 0.595596 | 460 | 4,723 | 5.891304 | 0.163043 | 0.132841 | 0.202952 | 0.235424 | 0.83321 | 0.824354 | 0.748708 | 0.468635 | 0.285978 | 0.156458 | 0 | 0.016408 | 0.290282 | 4,723 | 125 | 124 | 37.784 | 0.792064 | 0.014398 | 0 | 0.559322 | 1 | 0 | 0.165305 | 0.005589 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.016949 | 0.016949 | 0 | 0.042373 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
601bdffbbf4843bf38690eb7432cd9729c4672cc | 27 | py | Python | src/tools/__init__.py | Dou-Yu-xuan/pykinship | f81f6667fa08a08fe726736d05476168b2a3e2f0 | [
"MIT"
] | 12 | 2020-02-19T02:50:49.000Z | 2022-03-31T19:39:35.000Z | src/tools/__init__.py | Dou-Yu-xuan/pykinship | f81f6667fa08a08fe726736d05476168b2a3e2f0 | [
"MIT"
] | 68 | 2020-03-23T00:07:28.000Z | 2022-03-28T10:02:16.000Z | src/tools/__init__.py | Dou-Yu-xuan/pykinship | f81f6667fa08a08fe726736d05476168b2a3e2f0 | [
"MIT"
] | 3 | 2020-02-11T19:07:08.000Z | 2020-11-04T18:48:00.000Z | from src.tools.io import *
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
607d5ee700f0bcae88812f0acbe40c70e2330c9c | 143 | py | Python | bayesian_framework/inference/validation_exceptions.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | bayesian_framework/inference/validation_exceptions.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | bayesian_framework/inference/validation_exceptions.py | AlexeyKonakov/state-space-estimation | ba30243211aded0db5b56ece134ab70d0b27ed03 | [
"MIT"
] | null | null | null | class CorruptedStateSpaceModelStructureException(Exception):
pass
class CorruptedStochasticModelStructureException(Exception):
pass
| 17.875 | 60 | 0.839161 | 8 | 143 | 15 | 0.625 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118881 | 143 | 7 | 61 | 20.428571 | 0.952381 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
6081937497a812038d3a6a3534f14048629a44ee | 354 | py | Python | rllab/envs/shadow_env.py | cathywu/rllab-multiagent | 4b5758ff426a49a36e39bb94cee6c9d4caed1981 | [
"MIT"
] | 12 | 2017-09-13T20:05:09.000Z | 2021-09-06T17:00:32.000Z | rllab/envs/shadow_env.py | cathywu/rllab-multiagent | 4b5758ff426a49a36e39bb94cee6c9d4caed1981 | [
"MIT"
] | 3 | 2017-10-19T00:26:51.000Z | 2017-11-30T21:00:54.000Z | rllab/envs/shadow_env.py | cathywu/rllab-multiagent | 4b5758ff426a49a36e39bb94cee6c9d4caed1981 | [
"MIT"
] | 4 | 2018-05-30T23:20:46.000Z | 2019-03-13T09:32:51.000Z | import gym
class ShadowEnv(gym.Env):
def __init__(self, observation_space, action_space):
self._observation_space = observation_space
self._action_space = action_space
@property
def observation_space(self):
return self._observation_space
@property
def action_space(self):
... | 22.125 | 56 | 0.70904 | 41 | 354 | 5.682927 | 0.317073 | 0.343348 | 0.257511 | 0.16309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225989 | 354 | 15 | 57 | 23.6 | 0.850365 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
60a2ae86f6f382983b58704b55a89792e4074941 | 22,187 | py | Python | web_helper/name_generator/japanese_name_generator.py | kittolau/selepy | b1efaa309fb5c43f7b95de17f1d891d5858f36f0 | [
"MIT"
] | null | null | null | web_helper/name_generator/japanese_name_generator.py | kittolau/selepy | b1efaa309fb5c43f7b95de17f1d891d5858f36f0 | [
"MIT"
] | null | null | null | web_helper/name_generator/japanese_name_generator.py | kittolau/selepy | b1efaa309fb5c43f7b95de17f1d891d5858f36f0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from web_helper.name_generator.abstract_name_generator import AbstractNameGenerator
class JapaneseNameGenerator(AbstractNameGenerator):
#name pool from http://fantasynamegenerators.com/japanese_names.php
namesMale = ["Akahito","Akeno","Aki","Akihiro","Akihisa","A... | 1,056.52381 | 9,626 | 0.666967 | 2,471 | 22,187 | 5.983812 | 0.930393 | 0.001758 | 0.001894 | 0.002841 | 0.003382 | 0 | 0 | 0 | 0 | 0 | 0.000045 | 0.000045 | 0.004327 | 22,187 | 20 | 9,627 | 1,109.35 | 0.669232 | 0.004868 | 0 | 0 | 0 | 0 | 0.651296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
715622a86c880fcf033d3d26a1ee07d4505d212c | 160 | py | Python | boto1/admin.py | raffienficiaud/django_mturk_minimalistic | 89468b0c3fa87ce3ea7cd97e5cfd4427b21f39a0 | [
"MIT"
] | 10 | 2015-06-18T04:13:42.000Z | 2020-07-10T23:16:22.000Z | boto1/admin.py | raffienficiaud/django_mturk_minimalistic | 89468b0c3fa87ce3ea7cd97e5cfd4427b21f39a0 | [
"MIT"
] | null | null | null | boto1/admin.py | raffienficiaud/django_mturk_minimalistic | 89468b0c3fa87ce3ea7cd97e5cfd4427b21f39a0 | [
"MIT"
] | null | null | null | from django.contrib import admin
from boto1.models import Image, Hit, Result
admin.site.register(Image)
admin.site.register(Hit)
admin.site.register(Result)
| 17.777778 | 43 | 0.8 | 24 | 160 | 5.333333 | 0.5 | 0.210938 | 0.398438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.1 | 160 | 8 | 44 | 20 | 0.881944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
715ed59b2712b4e0924caa857e826874b94f2891 | 2,609 | py | Python | examples/draw_a_cat.py | jontonsoup4/ascii_art | f36e0724c8e1c94631c673e2d9803a1861ea5bed | [
"MIT"
] | 199 | 2015-11-12T15:56:51.000Z | 2021-09-28T04:34:50.000Z | examples/draw_a_cat.py | data-science-z/ascii_art | 28787cbc0459529259f0906f6e732f66616c2709 | [
"MIT"
] | 2 | 2015-11-13T13:22:22.000Z | 2016-12-19T15:15:30.000Z | examples/draw_a_cat.py | jontonsoup4/ascii_art | f36e0724c8e1c94631c673e2d9803a1861ea5bed | [
"MIT"
] | 31 | 2015-11-13T03:59:05.000Z | 2022-03-19T02:07:23.000Z | from ascii_art.ascii_art import ASCIIArt, ASCIIPicture
# ASCII drawing
picture = ASCIIArt('cat', 2).draw_ascii(curve=1)
ASCIIPicture(picture).save('cat_scale2_draw_ascii.png')
with open('cat_scale2_draw.txt', 'w') as f:
f.write(''.join(picture))
picture = ASCIIArt('cat', 5).draw_ascii(curve=1)
ASCIIPicture(pictur... | 44.982759 | 86 | 0.762361 | 391 | 2,609 | 4.846547 | 0.132992 | 0.118206 | 0.094987 | 0.105541 | 0.845383 | 0.821108 | 0.789446 | 0.783113 | 0.703958 | 0.660686 | 0 | 0.02173 | 0.08279 | 2,609 | 57 | 87 | 45.77193 | 0.770163 | 0.11307 | 0 | 0.162162 | 0 | 0 | 0.234273 | 0.156182 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71639e106271c5b25d31b7fe8149b88294d49496 | 1,517 | py | Python | lztools/text/__init__.py | Zanzes/lztools | 4091416464cbb441f5af26ade6a03ff18ae1bf01 | [
"MIT"
] | null | null | null | lztools/text/__init__.py | Zanzes/lztools | 4091416464cbb441f5af26ade6a03ff18ae1bf01 | [
"MIT"
] | null | null | null | lztools/text/__init__.py | Zanzes/lztools | 4091416464cbb441f5af26ade6a03ff18ae1bf01 | [
"MIT"
] | null | null | null | from lztools.pytools.utils import import_class
from .lztext import words, create_line, pad, pad_length, wall_text, box_text, regex, wrap_lines, insert_spaces, search_words, get_random_word, find_matching, as_literal, print_collection, print_dict
from .lztext import is_collection, print_dir_values, parse_name_list, line... | 28.092593 | 198 | 0.771259 | 198 | 1,517 | 5.378788 | 0.353535 | 0.056338 | 0.06385 | 0.082629 | 0.816901 | 0.816901 | 0.816901 | 0.816901 | 0.816901 | 0.816901 | 0 | 0 | 0.173368 | 1,517 | 53 | 199 | 28.622642 | 0.849282 | 0.011866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.152174 | 0 | 0.152174 | 0.108696 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7179dccb185c49aed9df0a7ae83af225c0359b0c | 2,962 | py | Python | fasta2csv/converter.py | drewk2021/fastatocsv | 267ea7939ba2d773d9775c331217f350512d4b55 | [
"MIT"
] | 1 | 2020-05-12T22:18:17.000Z | 2020-05-12T22:18:17.000Z | build/lib/fasta2csv/converter.py | drewk2021/fastatocsv | 267ea7939ba2d773d9775c331217f350512d4b55 | [
"MIT"
] | null | null | null | build/lib/fasta2csv/converter.py | drewk2021/fastatocsv | 267ea7939ba2d773d9775c331217f350512d4b55 | [
"MIT"
] | 1 | 2020-05-12T22:19:13.000Z | 2020-05-12T22:19:13.000Z | import sys, os
def convert(input,output):
"""
Purpose: To convert a .fasta file of >= 1 sequence(s) into a .csv file, with
two columns, one containing the headline identifier, the other containing the
sequence.
Parameters: the input .fasta file path, a string, and the desired .csv output
path,... | 27.682243 | 86 | 0.587441 | 393 | 2,962 | 4.343511 | 0.221374 | 0.037493 | 0.038664 | 0.023433 | 0.77563 | 0.77563 | 0.753368 | 0.753368 | 0.753368 | 0.753368 | 0 | 0.00431 | 0.295071 | 2,962 | 106 | 87 | 27.943396 | 0.813218 | 0.374409 | 0 | 0.736842 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035088 | false | 0 | 0.017544 | 0 | 0.087719 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
71cc60337fc5844e7ddcaf92186ccf4b22e0e8b0 | 12,385 | py | Python | tests/seleniumwire/proxy/test_handler.py | mar664/selenium-wire | 8f38554c698343df99731ef934b157922b9c9afb | [
"MIT"
] | null | null | null | tests/seleniumwire/proxy/test_handler.py | mar664/selenium-wire | 8f38554c698343df99731ef934b157922b9c9afb | [
"MIT"
] | null | null | null | tests/seleniumwire/proxy/test_handler.py | mar664/selenium-wire | 8f38554c698343df99731ef934b157922b9c9afb | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import call, Mock
from seleniumwire.proxy.handler import CaptureRequestHandler
from seleniumwire.proxy.proxy2 import SkipRequest
class CaptureRequestHandlerTest(TestCase):
def test_request_modifier_called(self):
self.handler.request_handler(self.handler, ... | 36.319648 | 113 | 0.628421 | 1,407 | 12,385 | 5.290689 | 0.092395 | 0.132993 | 0.050376 | 0.045674 | 0.833289 | 0.787883 | 0.756985 | 0.726222 | 0.709296 | 0.674234 | 0 | 0.019075 | 0.242309 | 12,385 | 340 | 114 | 36.426471 | 0.77419 | 0 | 0 | 0.566038 | 0 | 0 | 0.16633 | 0.023577 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.10566 | false | 0 | 0.015094 | 0 | 0.128302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e08e981fa285e98548fa0cb8f1ad50a694d8718b | 17,386 | py | Python | src/datadog_api_client/v1/api/dashboard_lists_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/api/dashboard_lists_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | src/datadog_api_client/v1/api/dashboard_lists_api.py | rchenzheng/datadog-api-client-python | 2e86ac098c6f0c7fdd90ed218224587c0f8eafef | [
"Apache-2.0"
] | null | null | null | # Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
import re # noqa: F401
import sys # noqa: F401
from datadog_api_client.v1.api_clien... | 39.967816 | 108 | 0.542045 | 1,742 | 17,386 | 5.199196 | 0.118829 | 0.05885 | 0.028707 | 0.020978 | 0.838467 | 0.797946 | 0.778845 | 0.761179 | 0.733466 | 0.718229 | 0 | 0.005593 | 0.372656 | 17,386 | 434 | 109 | 40.059908 | 0.824791 | 0.447141 | 0 | 0.606335 | 0 | 0 | 0.204441 | 0.041999 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027149 | false | 0 | 0.036199 | 0 | 0.090498 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0c6ccfc76e44c0c949f867d2141b943c9659b92 | 3,540 | py | Python | source/tests/test_id_to_arn_conversion.py | josete89/serverless-transit-network-orchestrator | 6a69e1f7ebcbcba20100f80bc2040f0d2ae86cf8 | [
"Apache-2.0"
] | 42 | 2019-11-16T18:00:32.000Z | 2021-09-16T01:10:53.000Z | source/tests/test_id_to_arn_conversion.py | sukenshah/serverless-transit-network-orchestrator | 947edac276f56357859f2d2b8434b9d28fa1c6c1 | [
"Apache-2.0"
] | 38 | 2020-01-31T03:31:29.000Z | 2021-09-16T03:20:23.000Z | source/tests/test_id_to_arn_conversion.py | sukenshah/serverless-transit-network-orchestrator | 947edac276f56357859f2d2b8434b9d28fa1c6c1 | [
"Apache-2.0"
] | 31 | 2019-12-09T17:20:03.000Z | 2021-03-30T06:52:02.000Z | from lambda_custom_resource import create, update, delete
from lib.logger import Logger
import pytest
logger = Logger('info')
event = {
"RequestType": "Create",
"ServiceToken": "arn:aws:lambda:eu-west-1:999999:function:TransitNetworkOrchestratorCRLambda",
"ResponseURL": "https://cloudformation-custom-reso... | 38.064516 | 108 | 0.692373 | 384 | 3,540 | 6.25 | 0.239583 | 0.03 | 0.035 | 0.04875 | 0.804167 | 0.794167 | 0.782917 | 0.758333 | 0.758333 | 0.758333 | 0 | 0.072839 | 0.170057 | 3,540 | 92 | 109 | 38.478261 | 0.744044 | 0 | 0 | 0.571429 | 0 | 0.077922 | 0.521751 | 0.250282 | 0 | 0 | 0 | 0 | 0.051948 | 1 | 0.064935 | false | 0 | 0.038961 | 0 | 0.103896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0fe566a082446999b7f016d15862ae237f4a070 | 15,593 | py | Python | instances/simulation/inst-20210422-1717/timetabling_closed-SI/inst-20210422-1717-c70-pas1_9h-3h.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/simulation/inst-20210422-1717/timetabling_closed-SI/inst-20210422-1717-c70-pas1_9h-3h.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/simulation/inst-20210422-1717/timetabling_closed-SI/inst-20210422-1717-c70-pas1_9h-3h.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PERIODS
"""
numPeriods = 180
"""
STOPS
"""
numStations = 13
station_names = (
"Hamburg Hbf", # 0
"Landwehr", # 1
"Hasselbrook", # 2
"Wansbeker Chaussee*", # 3
"Friedrichsberg*", # 4
"Barmbek*", # 5
"Alte Woehr (Stadtpark)", # 6
"Ruebenkamp (City Nord)", # 7
"Ohlsdorf*", # 8
"Kornweg", # 9
... | 28.611009 | 184 | 0.447252 | 4,026 | 15,593 | 1.717586 | 0.071038 | 0.294143 | 0.416052 | 0.524078 | 0.565148 | 0.510774 | 0.510195 | 0.487925 | 0.483008 | 0.459002 | 0 | 0.502091 | 0.279356 | 15,593 | 544 | 185 | 28.663603 | 0.113286 | 0.116783 | 0 | 0.555085 | 0 | 0 | 0.018038 | 0.001674 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.010593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ca30ded96ee15c3bb71a7f8f6bbc8217f9c6432 | 39 | py | Python | skquantreg/__init__.py | Marco-Santoni/skquantreg | 178e162d317c97bc14d8b13e038f25cc4dce3026 | [
"BSD-3-Clause"
] | 1 | 2018-09-28T13:59:48.000Z | 2018-09-28T13:59:48.000Z | skquantreg/__init__.py | Marco-Santoni/skquantreg | 178e162d317c97bc14d8b13e038f25cc4dce3026 | [
"BSD-3-Clause"
] | 1 | 2018-09-28T14:01:49.000Z | 2018-09-28T14:01:49.000Z | skquantreg/__init__.py | Marco-Santoni/skquantreg | 178e162d317c97bc14d8b13e038f25cc4dce3026 | [
"BSD-3-Clause"
] | null | null | null | from .quantreg import QuantileRegressor | 39 | 39 | 0.897436 | 4 | 39 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.972222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cad3446ed80ac4e363ddd6243c557be2c021f15 | 7,905 | py | Python | openprocurement/audit/api/tests/test_utils.py | raccoongang/openprocurement.audit.api | 6e216b1f9dab339943b78c50d9257739238b9495 | [
"Apache-2.0"
] | null | null | null | openprocurement/audit/api/tests/test_utils.py | raccoongang/openprocurement.audit.api | 6e216b1f9dab339943b78c50d9257739238b9495 | [
"Apache-2.0"
] | 23 | 2018-03-29T09:34:27.000Z | 2018-07-20T06:03:29.000Z | openprocurement/audit/api/tests/test_utils.py | raccoongang/openprocurement.audit.api | 6e216b1f9dab339943b78c50d9257739238b9495 | [
"Apache-2.0"
] | 1 | 2018-05-11T06:06:17.000Z | 2018-05-11T06:06:17.000Z | import unittest
import mock
from datetime import datetime, timedelta
from openprocurement.api.constants import TZ
from openprocurement.audit.api.utils import (
calculate_business_date,
get_access_token,
get_monitoring_accelerator,
calculate_normalized_business_date,
calculate_normalized_date,
)
... | 40.126904 | 97 | 0.665149 | 1,037 | 7,905 | 4.863067 | 0.103182 | 0.08725 | 0.044418 | 0.055523 | 0.806068 | 0.792584 | 0.768392 | 0.758279 | 0.73726 | 0.73726 | 0 | 0.071291 | 0.212144 | 7,905 | 196 | 98 | 40.331633 | 0.738439 | 0.05098 | 0 | 0.5 | 0 | 0 | 0.110047 | 0.082535 | 0 | 0 | 0 | 0 | 0.164286 | 1 | 0.157143 | false | 0 | 0.035714 | 0 | 0.242857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e809daa3c4b0804bc9f7014d3f664cfb3fd5fcbe | 8,445 | py | Python | tests/test_specials_bucketers.py | orchardbirds/skorecard-1 | 0f5375a6c159bb35f4b62c5be75a742bf50885e2 | [
"MIT"
] | null | null | null | tests/test_specials_bucketers.py | orchardbirds/skorecard-1 | 0f5375a6c159bb35f4b62c5be75a742bf50885e2 | [
"MIT"
] | null | null | null | tests/test_specials_bucketers.py | orchardbirds/skorecard-1 | 0f5375a6c159bb35f4b62c5be75a742bf50885e2 | [
"MIT"
] | null | null | null | from skorecard import datasets
from skorecard.bucketers import DecisionTreeBucketer, EqualFrequencyBucketer, EqualWidthBucketer, OptimalBucketer
import numpy as np
import pytest
@pytest.fixture()
def df():
"""Generate dataframe."""
return datasets.load_uci_credit_card(as_frame=True)
def test_specials_tree_... | 45.648649 | 135 | 0.69852 | 1,202 | 8,445 | 4.72213 | 0.118968 | 0.077519 | 0.088795 | 0.033827 | 0.901163 | 0.897287 | 0.897287 | 0.883897 | 0.862403 | 0.830514 | 0 | 0.04806 | 0.169686 | 8,445 | 184 | 136 | 45.896739 | 0.761409 | 0.297573 | 0 | 0.536842 | 0 | 0 | 0.167866 | 0 | 0 | 0 | 0 | 0 | 0.378947 | 1 | 0.052632 | false | 0 | 0.042105 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c02feb4945764fc32134883b01e3671483f6906 | 2,265 | py | Python | tests/molecular/molecules/molecule/fixtures/cof/periodic_square.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | null | null | null | tests/molecular/molecules/molecule/fixtures/cof/periodic_square.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | null | null | null | tests/molecular/molecules/molecule/fixtures/cof/periodic_square.py | stevenbennett96/stk | 6e5af87625b83e0bfc7243bc42d8c7a860cbeb76 | [
"MIT"
] | null | null | null | import pytest
import stk
from ...case_data import CaseData
@pytest.fixture(
scope='session',
params=(
lambda name: CaseData(
molecule=stk.ConstructedMolecule(
topology_graph=stk.cof.PeriodicSquare(
building_blocks=(
stk.Building... | 34.318182 | 71 | 0.392936 | 226 | 2,265 | 3.876106 | 0.283186 | 0.022831 | 0.100457 | 0.118721 | 0.776256 | 0.776256 | 0.776256 | 0.776256 | 0.776256 | 0.776256 | 0 | 0.065339 | 0.445916 | 2,265 | 65 | 72 | 34.846154 | 0.632669 | 0 | 0 | 0.803279 | 0 | 0.098361 | 0.203532 | 0.181015 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016393 | false | 0 | 0.04918 | 0.016393 | 0.081967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c30dde957ec6ec2c8428b4859b69bf5c1bf83fb | 73 | py | Python | acousticsim/representations/mhec.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 5 | 2018-01-15T22:06:20.000Z | 2022-02-21T07:02:40.000Z | acousticsim/representations/mhec.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | null | null | null | acousticsim/representations/mhec.py | JoFrhwld/python-acoustic-similarity | 50f71835532010b2fedf14b0ca3a52d88a9ab380 | [
"MIT"
] | 2 | 2019-11-28T17:06:27.000Z | 2019-12-05T22:57:28.000Z |
from .base import Representation
class Mhec(Representation):
pass
| 10.428571 | 32 | 0.753425 | 8 | 73 | 6.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191781 | 73 | 6 | 33 | 12.166667 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1c4884286d5cca9042d1e66e455a44b672e6671c | 2,340 | py | Python | tests/test_user_settings.py | fearsd/django-logging-middleware | 6eb95774c1bcb1829aa1a94223d9e2c39217d8f9 | [
"MIT"
] | 4 | 2021-04-08T14:14:04.000Z | 2021-09-08T07:57:38.000Z | tests/test_user_settings.py | fearsd/django-logging-middleware | 6eb95774c1bcb1829aa1a94223d9e2c39217d8f9 | [
"MIT"
] | null | null | null | tests/test_user_settings.py | fearsd/django-logging-middleware | 6eb95774c1bcb1829aa1a94223d9e2c39217d8f9 | [
"MIT"
] | null | null | null | import pytest
from django.conf import settings as _settings
from django.test import override_settings
from logging_middleware.settings import DEFAULTS, Settings
@override_settings(DJANGO_LOGGING_MIDDLEWARE={})
def test_check_settings_if_user_didnt_set_settings():
settings = Settings(_settings)
assert settings... | 48.75 | 102 | 0.814103 | 283 | 2,340 | 6.236749 | 0.09894 | 0.16204 | 0.108782 | 0.115014 | 0.898017 | 0.875921 | 0.875921 | 0.85949 | 0.800567 | 0.774504 | 0 | 0 | 0.092735 | 2,340 | 47 | 103 | 49.787234 | 0.831371 | 0 | 0 | 0.512821 | 0 | 0 | 0.12906 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 1 | 0.179487 | false | 0 | 0.102564 | 0 | 0.282051 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98ca18d5b9fd51cb147f999cc6268f38eb92f61b | 126,501 | py | Python | src/config/vnc_openstack/vnc_openstack/tests/test_basic.py | pawelzny/contrail-controller | 4950d3144cb8c422264ddb2a926cf4fe9e40b14d | [
"Apache-2.0"
] | null | null | null | src/config/vnc_openstack/vnc_openstack/tests/test_basic.py | pawelzny/contrail-controller | 4950d3144cb8c422264ddb2a926cf4fe9e40b14d | [
"Apache-2.0"
] | null | null | null | src/config/vnc_openstack/vnc_openstack/tests/test_basic.py | pawelzny/contrail-controller | 4950d3144cb8c422264ddb2a926cf4fe9e40b14d | [
"Apache-2.0"
] | null | null | null | import sys
import json
import re
import mock
import unittest
from testtools import ExpectedException
import webtest.app
import datetime
sys.path.append('../common/tests')
from vnc_openstack import neutron_plugin_db
from cfgm_common.exceptions import NoIdError
from cfgm_common import PERMS_RWX, PERMS_NONE, PERMS_RX
fr... | 46.117754 | 170 | 0.567324 | 14,838 | 126,501 | 4.480388 | 0.045828 | 0.023917 | 0.038658 | 0.019359 | 0.840072 | 0.796901 | 0.76235 | 0.735424 | 0.701143 | 0.671661 | 0 | 0.010923 | 0.322622 | 126,501 | 2,742 | 171 | 46.134573 | 0.764906 | 0.073343 | 0 | 0.668781 | 0 | 0 | 0.123133 | 0.014119 | 0 | 0 | 0 | 0 | 0.0657 | 1 | 0.031717 | false | 0.006343 | 0.009515 | 0 | 0.062075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c74689bfde86f4255066cf8148ed7189c2984e5e | 90 | py | Python | incomevis/__init__.py | hieumtran/incomevis | 90adca62803f767d7c96fc879e662d934dcf9123 | [
"MIT"
] | null | null | null | incomevis/__init__.py | hieumtran/incomevis | 90adca62803f767d7c96fc879e662d934dcf9123 | [
"MIT"
] | null | null | null | incomevis/__init__.py | hieumtran/incomevis | 90adca62803f767d7c96fc879e662d934dcf9123 | [
"MIT"
] | null | null | null | from .utils import *
from .processing import *
from .vis import *
from .analysis import *
| 18 | 25 | 0.733333 | 12 | 90 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 4 | 26 | 22.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c75906ac470aa4950f55241088287203a901f75a | 22 | py | Python | src/utoolbox/stitching/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | 2 | 2020-09-03T06:22:14.000Z | 2020-10-04T10:14:56.000Z | src/utoolbox/stitching/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | null | null | null | src/utoolbox/stitching/__init__.py | liuyenting/utoolbox-legacy | dfcb24701ca25a37a223cc3c14b4433e6c296bfd | [
"Apache-2.0"
] | null | null | null | from .sandbox import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c77f45821a4233808e053e22ac3cd304b51c4eea | 47 | py | Python | parampicker/__init__.py | khurramjaved96/experiment | 831b5531baee2a268ffcf4b4f22942d75a4e5e26 | [
"MIT"
] | 1 | 2019-04-17T16:29:00.000Z | 2019-04-17T16:29:00.000Z | parampicker/__init__.py | Khurramjaved96/experiment | 831b5531baee2a268ffcf4b4f22942d75a4e5e26 | [
"MIT"
] | null | null | null | parampicker/__init__.py | Khurramjaved96/experiment | 831b5531baee2a268ffcf4b4f22942d75a4e5e26 | [
"MIT"
] | null | null | null | from parampicker.parampicker import ParamPicker | 47 | 47 | 0.914894 | 5 | 47 | 8.6 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 47 | 1 | 47 | 47 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c79efd092d5aceb4a0e5530ed69dabe0066b925a | 28 | py | Python | search/__init__.py | joshuanazareth97/popviz | 6d424e8523f8ee134fe6bf70113b6894d04f7375 | [
"MIT"
] | null | null | null | search/__init__.py | joshuanazareth97/popviz | 6d424e8523f8ee134fe6bf70113b6894d04f7375 | [
"MIT"
] | 2 | 2021-03-31T19:47:10.000Z | 2021-08-23T20:42:46.000Z | search/__init__.py | joshuanazareth97/popviz | 6d424e8523f8ee134fe6bf70113b6894d04f7375 | [
"MIT"
] | null | null | null | from .imdbsearcher import *
| 14 | 27 | 0.785714 | 3 | 28 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1bfacd7118d75a4c2e66d9ab7ab570eb9a16e9ef | 3,832 | py | Python | odin/tests/test_position.py | gsamarakoon/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 103 | 2017-01-14T19:38:14.000Z | 2022-03-10T12:52:09.000Z | odin/tests/test_position.py | gsamarakoon/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 6 | 2017-01-19T01:38:53.000Z | 2020-03-09T19:03:18.000Z | odin/tests/test_position.py | JamesBrofos/Odin | e2e9d638c68947d24f1260d35a3527dd84c2523f | [
"MIT"
] | 33 | 2017-02-05T21:51:17.000Z | 2021-12-22T20:38:30.000Z | import unittest
import datetime as dt
from odin.handlers.position_handler.position import FilledPosition
from odin.utilities import params
class TestPosition(unittest.TestCase):
def test_to_database_position(self):
s = "SPY"
q = 100
d = params.Directions.long_dir
t = params.TradeTyp... | 35.813084 | 69 | 0.631263 | 503 | 3,832 | 4.620278 | 0.16501 | 0.200086 | 0.240103 | 0.098107 | 0.774527 | 0.753873 | 0.726334 | 0.726334 | 0.652324 | 0.628657 | 0 | 0.041549 | 0.258873 | 3,832 | 106 | 70 | 36.150943 | 0.776761 | 0 | 0 | 0.610526 | 0 | 0 | 0.023493 | 0 | 0 | 0 | 0 | 0 | 0.326316 | 1 | 0.042105 | false | 0 | 0.042105 | 0 | 0.094737 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40146c46c44e73317db5ed917527c52380dad0dc | 207 | py | Python | posetools/backend/base_imagebackend.py | HashimHL/posetools | 057f02dae0d8c78db521d2700de5a4fbe6fe024d | [
"MIT"
] | 1 | 2021-12-20T01:39:19.000Z | 2021-12-20T01:39:19.000Z | posetools/backend/base_imagebackend.py | HashimHL/posetools | 057f02dae0d8c78db521d2700de5a4fbe6fe024d | [
"MIT"
] | null | null | null | posetools/backend/base_imagebackend.py | HashimHL/posetools | 057f02dae0d8c78db521d2700de5a4fbe6fe024d | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
from unittest import TestCase
class BaseImageBackend(metaclass = ABCMeta):
@abstractmethod
def affine_transform(self, image, matrix, size = None):
pass
| 23 | 57 | 0.758454 | 23 | 207 | 6.782609 | 0.826087 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178744 | 207 | 9 | 58 | 23 | 0.917647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
40bfe7058af0b5d2ac45d203eb90bebad3f0c31e | 97 | py | Python | fancymail/__init__.py | maxbelovnano/django-fancymail | 7ef0824ece9341c585f082fe6ce7bcb0bb91d215 | [
"MIT"
] | 1 | 2017-06-12T10:41:01.000Z | 2017-06-12T10:41:01.000Z | fancymail/__init__.py | maxbelovnano/django-fancymail | 7ef0824ece9341c585f082fe6ce7bcb0bb91d215 | [
"MIT"
] | 1 | 2016-03-23T01:31:09.000Z | 2016-03-23T01:31:09.000Z | fancymail/__init__.py | maxbelovnano/django-fancymail | 7ef0824ece9341c585f082fe6ce7bcb0bb91d215 | [
"MIT"
] | 5 | 2015-04-12T16:10:35.000Z | 2021-05-27T00:30:25.000Z | from fancymail.emailrelated import EmailMessageRelated
from fancymail.send import send_fancy_mail | 48.5 | 54 | 0.907216 | 12 | 97 | 7.166667 | 0.666667 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 97 | 2 | 55 | 48.5 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40e4ec982655d165f1d7d378d3f6a5ae84546f06 | 39 | py | Python | fluent_python/__init__.py | kissf-lu/py36_pipenv | d324cdc0b286a7a1733e84a9064fae8750c41bb5 | [
"MIT"
] | null | null | null | fluent_python/__init__.py | kissf-lu/py36_pipenv | d324cdc0b286a7a1733e84a9064fae8750c41bb5 | [
"MIT"
] | null | null | null | fluent_python/__init__.py | kissf-lu/py36_pipenv | d324cdc0b286a7a1733e84a9064fae8750c41bb5 | [
"MIT"
] | null | null | null | from .coroutine import step_cell, Grid
| 19.5 | 38 | 0.820513 | 6 | 39 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40f396c0c9d0f80d0cea3c79086e9f9e31538c21 | 26 | py | Python | fanorona_aec/__init__.py | AbhijeetKrishnan/gym-fanorona | 0f8ea25091a0861e35a56c26f01cd78a3e0a5fe9 | [
"MIT"
] | 2 | 2021-04-24T23:30:35.000Z | 2021-11-25T11:54:45.000Z | fanorona_aec/__init__.py | AbhijeetKrishnan/fanorona-aec | 0f8ea25091a0861e35a56c26f01cd78a3e0a5fe9 | [
"MIT"
] | 1 | 2021-04-22T21:03:16.000Z | 2021-04-22T21:03:16.000Z | fanorona_aec/__init__.py | AbhijeetKrishnan/gym-fanorona | 0f8ea25091a0861e35a56c26f01cd78a3e0a5fe9 | [
"MIT"
] | null | null | null | from . import fanorona_v0
| 13 | 25 | 0.807692 | 4 | 26 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.153846 | 26 | 1 | 26 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc0fb4e4f7b842558ae6d600bb5f4b4a622f6bcf | 39 | py | Python | runp-heroku.py | superleader/chat2 | b6c78ce4bfbba4081292e53efb094057fbdfe79a | [
"BSD-3-Clause"
] | 227 | 2020-05-08T13:40:55.000Z | 2022-03-31T20:33:02.000Z | runp-heroku.py | wbonack/witty-name | 07a4babed5b4ff4846c10268a65975c6c800de2b | [
"BSD-3-Clause"
] | 12 | 2019-03-26T21:42:00.000Z | 2020-03-16T05:56:56.000Z | runp-heroku.py | wbonack/witty-name | 07a4babed5b4ff4846c10268a65975c6c800de2b | [
"BSD-3-Clause"
] | 56 | 2020-05-16T13:24:21.000Z | 2022-03-02T09:12:54.000Z | #!flask/bin/python
from app import app
| 13 | 19 | 0.769231 | 7 | 39 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 20 | 19.5 | 0.882353 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
905273ea566ab0a6223c7927a05414618fe1f12b | 81 | py | Python | WindowUtilFor360WebCam/__init__.py | Kazuhito00/WindowUtilFor360WebCam | 8f238f64f8b9abc2073277d9d661ffd3378baa98 | [
"Apache-2.0"
] | 2 | 2021-06-26T09:45:34.000Z | 2021-06-26T09:52:13.000Z | WindowUtilFor360WebCam/__init__.py | Kazuhito00/WindowUtilFor360WebCam | 8f238f64f8b9abc2073277d9d661ffd3378baa98 | [
"Apache-2.0"
] | null | null | null | WindowUtilFor360WebCam/__init__.py | Kazuhito00/WindowUtilFor360WebCam | 8f238f64f8b9abc2073277d9d661ffd3378baa98 | [
"Apache-2.0"
] | 1 | 2021-06-26T09:32:06.000Z | 2021-06-26T09:32:06.000Z | from WindowUtilFor360WebCam.WindowUtilFor360WebCam import WindowUtilFor360WebCam
| 40.5 | 80 | 0.938272 | 5 | 81 | 15.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 0.049383 | 81 | 1 | 81 | 81 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90533aa20fe5eccb0aef19b6c0bdd723730ac0d8 | 52 | py | Python | pyqt_fitting_graphics_view/__init__.py | yjg30737/pyqt-fitting-graphics-view | dc1631cb9449d391ebabcd5976de3e7a210e488d | [
"MIT"
] | null | null | null | pyqt_fitting_graphics_view/__init__.py | yjg30737/pyqt-fitting-graphics-view | dc1631cb9449d391ebabcd5976de3e7a210e488d | [
"MIT"
] | null | null | null | pyqt_fitting_graphics_view/__init__.py | yjg30737/pyqt-fitting-graphics-view | dc1631cb9449d391ebabcd5976de3e7a210e488d | [
"MIT"
] | null | null | null | from .fittingGraphicsView import FittingGraphicsView | 52 | 52 | 0.923077 | 4 | 52 | 12 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 52 | 1 | 52 | 52 | 0.979592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
905ac9d2358857b35f0e692698e89243f645673a | 30 | py | Python | sdk/internal/__init__.py | shiksha360-site/site | 5930d4a06961abaf15b17eecec51ca8e54d9a958 | [
"MIT"
] | null | null | null | sdk/internal/__init__.py | shiksha360-site/site | 5930d4a06961abaf15b17eecec51ca8e54d9a958 | [
"MIT"
] | null | null | null | sdk/internal/__init__.py | shiksha360-site/site | 5930d4a06961abaf15b17eecec51ca8e54d9a958 | [
"MIT"
] | null | null | null | from .internal_site import app | 30 | 30 | 0.866667 | 5 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9082fe3604b6162145f8afc9989a91bf8a2e518a | 42 | py | Python | jetbrains-academy/Zookeeper/Problems/Alice in Wonderland/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | jetbrains-academy/Zookeeper/Problems/Alice in Wonderland/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | null | null | null | jetbrains-academy/Zookeeper/Problems/Alice in Wonderland/task.py | robinpatra/ML-Study-3 | 6f401706a8da4cac5e63304ce09ff6ff62756d0b | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | print("Alice's Adventures in Wonderland")
| 21 | 41 | 0.785714 | 6 | 42 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
9085036c90fb51a196ce9e2a5eeae9bde05b1676 | 4,821 | py | Python | unit_tests/checks/test_author.py | brobeson/bibcheck | 9b5c3ac1e61f33775d47b3ff43de60155eb7a0ed | [
"MIT"
] | null | null | null | unit_tests/checks/test_author.py | brobeson/bibcheck | 9b5c3ac1e61f33775d47b3ff43de60155eb7a0ed | [
"MIT"
] | 3 | 2020-02-09T16:30:01.000Z | 2020-02-10T20:04:16.000Z | unit_tests/checks/test_author.py | brobeson/bibcheck | 9b5c3ac1e61f33775d47b3ff43de60155eb7a0ed | [
"MIT"
] | null | null | null | """Unit test for the author initials check."""
import unittest
import bibcheck.checker
import bibcheck.checks.author
class IssuesTest(unittest.TestCase):
"""Test cases for the author issue classes."""
def test_intials_issue(self):
"""Test the InitialsIssue class."""
issue = bibcheck.checks.a... | 39.195122 | 89 | 0.565443 | 494 | 4,821 | 5.461538 | 0.176113 | 0.086731 | 0.112676 | 0.093773 | 0.829503 | 0.784655 | 0.757228 | 0.757228 | 0.757228 | 0.699036 | 0 | 0.016139 | 0.305953 | 4,821 | 122 | 90 | 39.516393 | 0.790197 | 0.087534 | 0 | 0.544554 | 0 | 0 | 0.26028 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 1 | 0.069307 | false | 0 | 0.029703 | 0 | 0.118812 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
909759615114a736b715439cc953bef2beb61f03 | 10,362 | py | Python | tests/unit/publishers/test_datadog.py | eventbrite/pymetrics | af36ac04f2f0a86924fd7a5d9dff980d9030427f | [
"Apache-2.0"
] | 5 | 2019-10-15T12:42:48.000Z | 2021-08-15T02:49:55.000Z | tests/unit/publishers/test_datadog.py | eventbrite/pymetrics | af36ac04f2f0a86924fd7a5d9dff980d9030427f | [
"Apache-2.0"
] | 1 | 2020-03-05T20:24:32.000Z | 2020-03-06T14:47:47.000Z | tests/unit/publishers/test_datadog.py | eventbrite/pymetrics | af36ac04f2f0a86924fd7a5d9dff980d9030427f | [
"Apache-2.0"
] | 4 | 2020-04-13T23:42:29.000Z | 2021-09-08T11:34:44.000Z | """isort:skip_file"""
from __future__ import absolute_import # DO NOT import UNICODE LITERALS in this file!
from collections import OrderedDict
import pytest
from pymetrics.instruments import (
Counter,
Gauge,
Histogram,
Timer,
)
from pymetrics.publishers.datadog import DogStatsdPublisher
class Te... | 37.007143 | 118 | 0.618703 | 1,292 | 10,362 | 4.847523 | 0.098297 | 0.034488 | 0.034488 | 0.037362 | 0.886795 | 0.870509 | 0.797062 | 0.775188 | 0.723775 | 0.70206 | 0 | 0.057114 | 0.239626 | 10,362 | 279 | 119 | 37.139785 | 0.737784 | 0.013607 | 0 | 0.514423 | 0 | 0.048077 | 0.268534 | 0.144746 | 0 | 0 | 0 | 0 | 0.235577 | 1 | 0.067308 | false | 0 | 0.024038 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90b0006c6e28f489517254593e9fa6dd758c0981 | 33,633 | py | Python | Stochastic_engine/CA_hydropower_daily_forecast.py | romulus97/HYDROWIRES | 115e534764d8f58d64340d99cf6cb8eb6598c4ee | [
"MIT"
] | null | null | null | Stochastic_engine/CA_hydropower_daily_forecast.py | romulus97/HYDROWIRES | 115e534764d8f58d64340d99cf6cb8eb6598c4ee | [
"MIT"
] | null | null | null | Stochastic_engine/CA_hydropower_daily_forecast.py | romulus97/HYDROWIRES | 115e534764d8f58d64340d99cf6cb8eb6598c4ee | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon May 27 11:13:15 2019
@author: jkern
"""
from __future__ import division
import pandas as pd
import numpy as np
from datetime import datetime
import matplotlib.pyplot as plt
def hydro(sim_years):
#################################################################... | 43.06402 | 202 | 0.413879 | 3,582 | 33,633 | 3.676159 | 0.098548 | 0.01048 | 0.025061 | 0.030073 | 0.754025 | 0.734964 | 0.732154 | 0.717117 | 0.70527 | 0.68788 | 0 | 0.041922 | 0.481551 | 33,633 | 780 | 203 | 43.119231 | 0.713253 | 0.161746 | 0 | 0.767296 | 0 | 0 | 0.079703 | 0.013983 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002096 | false | 0.014675 | 0.010482 | 0 | 0.014675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90f68218f79b9893f94b729cef57c284c3d07a71 | 192 | py | Python | medium/sum_nums.py | SeulYoung/leetcode | a3d7c0d025b20f1bba3daddd7681e2a211b83d90 | [
"BSD-3-Clause"
] | null | null | null | medium/sum_nums.py | SeulYoung/leetcode | a3d7c0d025b20f1bba3daddd7681e2a211b83d90 | [
"BSD-3-Clause"
] | null | null | null | medium/sum_nums.py | SeulYoung/leetcode | a3d7c0d025b20f1bba3daddd7681e2a211b83d90 | [
"BSD-3-Clause"
] | null | null | null | def sumNums(n: int) -> int:
return sum(range(1, n + 1))
def sumNums(n: int) -> int:
# python的and操作如果最后结果为真,返回最后一个表达式的值,or操作如果结果为真,返回第一个结果为真的表达式的值
return n and n + sumNums(n - 1)
| 24 | 65 | 0.661458 | 27 | 192 | 4.703704 | 0.481481 | 0.188976 | 0.173228 | 0.220472 | 0.267717 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.203125 | 192 | 7 | 66 | 27.428571 | 0.810458 | 0.307292 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
90f6d602f07713c4d41f996eeb01ebaeceab1b91 | 5,160 | py | Python | test_logger.py | rzzzwilson/logger | 854a21b8fa1ac488a9b1de57bd65bc6298250bd4 | [
"MIT"
] | null | null | null | test_logger.py | rzzzwilson/logger | 854a21b8fa1ac488a9b1de57bd65bc6298250bd4 | [
"MIT"
] | 1 | 2015-11-29T07:03:45.000Z | 2015-11-29T07:03:45.000Z | test_logger.py | rzzzwilson/logger | 854a21b8fa1ac488a9b1de57bd65bc6298250bd4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
Test the simple logger.
"""
import os
import unittest
import logger
class TestLog(unittest.TestCase):
def testSimple(self):
"""A simple 'smoke test' for the logging module."""
import logger
logfilename = 'xyzzy.log'
# start logging, write some test l... | 28.351648 | 73 | 0.505039 | 588 | 5,160 | 4.391156 | 0.178571 | 0.069713 | 0.035631 | 0.026336 | 0.773431 | 0.763749 | 0.763749 | 0.763749 | 0.763749 | 0.763749 | 0 | 0.006192 | 0.374031 | 5,160 | 181 | 74 | 28.508287 | 0.793189 | 0.151357 | 0 | 0.777778 | 0 | 0 | 0.197556 | 0.021208 | 0 | 0 | 0 | 0 | 0.034188 | 1 | 0.034188 | false | 0 | 0.059829 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90f98f14b83d5aa8ed3d85484a4e3a1f3bbc00ce | 176 | py | Python | app/transform/utils.py | n1EzeR/reviews_parser | d264dca1ebf434d6d82873222b451e3a867f3ad3 | [
"CC0-1.0"
] | null | null | null | app/transform/utils.py | n1EzeR/reviews_parser | d264dca1ebf434d6d82873222b451e3a867f3ad3 | [
"CC0-1.0"
] | 1 | 2020-04-07T07:02:03.000Z | 2020-04-07T07:02:03.000Z | app/transform/utils.py | n1EzeR/reviews_parser | d264dca1ebf434d6d82873222b451e3a867f3ad3 | [
"CC0-1.0"
] | 2 | 2020-05-03T13:53:31.000Z | 2020-05-28T23:35:34.000Z | from app.utils import get_latest_date_in_dir
def get_localized_latest_subdirectory(directory):
localized = f"../{directory}"
return get_latest_date_in_dir(localized)
| 25.142857 | 49 | 0.801136 | 25 | 176 | 5.2 | 0.6 | 0.138462 | 0.2 | 0.230769 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119318 | 176 | 6 | 50 | 29.333333 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
29045b01efeb237bc7af780a2888932cd423ebb1 | 64 | py | Python | pypy/lib/marshal.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 12 | 2016-01-06T07:10:28.000Z | 2021-05-13T23:02:02.000Z | pypy/lib/marshal.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | null | null | null | pypy/lib/marshal.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 2 | 2016-07-29T07:09:50.000Z | 2016-10-16T08:50:26.000Z | # temporary
from _marshal import __doc__
from _marshal import *
| 16 | 28 | 0.8125 | 8 | 64 | 5.75 | 0.625 | 0.478261 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 3 | 29 | 21.333333 | 0.851852 | 0.140625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2919e448a051055590c67e04c408a2cf5c2b3d2a | 8,468 | py | Python | scripts/modules/patch_flair_parsing.py | therosko/Thesis-NER-in-English-novels | 7988c3aa4f904e91b1e674090dbdc6487b4ad042 | [
"Apache-2.0"
] | null | null | null | scripts/modules/patch_flair_parsing.py | therosko/Thesis-NER-in-English-novels | 7988c3aa4f904e91b1e674090dbdc6487b4ad042 | [
"Apache-2.0"
] | null | null | null | scripts/modules/patch_flair_parsing.py | therosko/Thesis-NER-in-English-novels | 7988c3aa4f904e91b1e674090dbdc6487b4ad042 | [
"Apache-2.0"
] | null | null | null | ##############################################################
# Fixing missmatches in parsing of Flair output
# The script also does not claim to be usable for any given text,
# instead it merely adapts the Flair output files to correspond
# to the entity split style of LitBank.
# Input: pandas dataframe, filename
#... | 45.283422 | 121 | 0.516179 | 1,072 | 8,468 | 3.903918 | 0.117537 | 0.286738 | 0.073118 | 0.153883 | 0.783274 | 0.764158 | 0.735006 | 0.723059 | 0.706571 | 0.68172 | 0 | 0.005288 | 0.26299 | 8,468 | 187 | 122 | 45.283422 | 0.665278 | 0.055149 | 0 | 0.538462 | 0 | 0 | 0.221429 | 0.005351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00641 | false | 0.019231 | 0.00641 | 0 | 0.019231 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29730123143e03cf26e04dff057633a99dad1767 | 6,458 | py | Python | tests/cleaning.py | kais-siala/wurst | 448dd4e9e0bfbde956c2913222222509ff2b14e1 | [
"BSD-2-Clause"
] | null | null | null | tests/cleaning.py | kais-siala/wurst | 448dd4e9e0bfbde956c2913222222509ff2b14e1 | [
"BSD-2-Clause"
] | null | null | null | tests/cleaning.py | kais-siala/wurst | 448dd4e9e0bfbde956c2913222222509ff2b14e1 | [
"BSD-2-Clause"
] | null | null | null | from wurst.transformations.cleaning import *
def test_empty_market_dataset():
given = {
"exchanges": [
{
"name": "market group for transport, freight train",
"product": "transport, freight train",
"type": "technosphere",
},
... | 29.898148 | 85 | 0.395324 | 431 | 6,458 | 5.837587 | 0.162413 | 0.166932 | 0.131161 | 0.103339 | 0.883545 | 0.835056 | 0.751987 | 0.751987 | 0.732909 | 0.703498 | 0 | 0.001693 | 0.451068 | 6,458 | 215 | 86 | 30.037209 | 0.708039 | 0 | 0 | 0.550725 | 0 | 0 | 0.323784 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 1 | 0.019324 | false | 0 | 0.004831 | 0 | 0.024155 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46203899171084a1244da6d656f45456dc10c239 | 12,788 | py | Python | parser/fase2/team04/Tytus/Optimizacion/optimizaciones.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 35 | 2020-12-07T03:11:43.000Z | 2021-04-15T17:38:16.000Z | parser/fase2/team04/Tytus/Optimizacion/optimizaciones.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 47 | 2020-12-09T01:29:09.000Z | 2021-01-13T05:37:50.000Z | parser/fase2/team04/Tytus/Optimizacion/optimizaciones.py | Josue-Zea/tytus | f9e4be9a8c03eb698fade7a748972e4f52d46685 | [
"MIT"
] | 556 | 2020-12-07T03:13:31.000Z | 2021-06-17T17:41:10.000Z | from Optimizacion._def import Def
from Optimizacion.asignacion import Asignacion
from Optimizacion.operacion import Operacion
from Optimizacion.literal import Literal
def optimizacion_uno(instrucciones, arbol):
for inst in instrucciones:
if isinstance(inst, Def):
def_instructions = inst.instruc... | 57.603604 | 179 | 0.514076 | 1,134 | 12,788 | 5.65873 | 0.059965 | 0.103631 | 0.036154 | 0.067321 | 0.872682 | 0.869565 | 0.869565 | 0.867384 | 0.858189 | 0.848995 | 0 | 0.004978 | 0.387394 | 12,788 | 222 | 180 | 57.603604 | 0.814143 | 0 | 0 | 0.671429 | 0 | 0.004762 | 0.109938 | 0.060677 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.019048 | 0 | 0.07619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
462c0102eaba75e6cfff0bab1ee3f7ddafd36233 | 200 | py | Python | pandocinject/__init__.py | msprev/pandocinject | fa8ea62df5dcd9c049fc23c787ca6168f5269c3c | [
"BSD-3-Clause"
] | 4 | 2016-03-23T21:18:48.000Z | 2020-03-15T15:23:32.000Z | pandocinject/__init__.py | msprev/pandocinject | fa8ea62df5dcd9c049fc23c787ca6168f5269c3c | [
"BSD-3-Clause"
] | null | null | null | pandocinject/__init__.py | msprev/pandocinject | fa8ea62df5dcd9c049fc23c787ca6168f5269c3c | [
"BSD-3-Clause"
] | 1 | 2018-10-12T08:13:06.000Z | 2018-10-12T08:13:06.000Z | # make these classes available as top level imports from package
from pandocinject.pandocinject import Injector
from pandocinject.formatter import Formatter
from pandocinject.selector import Selector
| 40 | 64 | 0.865 | 25 | 200 | 6.92 | 0.6 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115 | 200 | 4 | 65 | 50 | 0.977401 | 0.31 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
463d8abcf71efecb4d6482bc2dec252825b94518 | 190 | py | Python | Python/code case/code_case_59.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | 3 | 2021-01-01T13:08:24.000Z | 2021-02-03T09:27:56.000Z | Python/code case/code_case_59.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | Python/code case/code_case_59.py | amazing-2020/pdf | 8cd3f5f510a1c1ed89b51b1354f4f8c000c5b24d | [
"Apache-2.0"
] | null | null | null | import code_case_58, sys
code_case_58.print_func('python')
print(code_case_58.fib(1000))
print(code_case_58.fib2(100))
print(code_case_58.__name__)
code_case_58.function()
print(dir(sys))
| 19 | 33 | 0.805263 | 35 | 190 | 3.885714 | 0.428571 | 0.352941 | 0.441176 | 0.330882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111732 | 0.057895 | 190 | 9 | 34 | 21.111111 | 0.648045 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.714286 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
463f574c01744f288bbe1a1edc65aa8b9d5e6d8a | 5,326 | py | Python | test/functional/genesis_upgrade_tests/max_ops_per_scrpt.py | JimmyNLose/Sant_rOyOS_SV | 829036a6770fee27bad506911b245e9161795568 | [
"OML"
] | null | null | null | test/functional/genesis_upgrade_tests/max_ops_per_scrpt.py | JimmyNLose/Sant_rOyOS_SV | 829036a6770fee27bad506911b245e9161795568 | [
"OML"
] | null | null | null | test/functional/genesis_upgrade_tests/max_ops_per_scrpt.py | JimmyNLose/Sant_rOyOS_SV | 829036a6770fee27bad506911b245e9161795568 | [
"OML"
] | 1 | 2020-06-13T18:41:58.000Z | 2020-06-13T18:41:58.000Z | #!/usr/bin/env python3
# Copyright (c) 2019 Bitcoin Association
# Copyright (c) 2020* Jimmy N. Lose
# * Gregorian calendar years
# Distributed under the Open BSV software license, see the accompanying file LICENSE.
from genesis_upgrade_tests.test_base import GenesisHeightBasedSimpleTestsCase
from test_framework.height_... | 64.168675 | 128 | 0.546752 | 498 | 5,326 | 5.568273 | 0.178715 | 0.051929 | 0.075009 | 0.086549 | 0.789758 | 0.783267 | 0.742157 | 0.725929 | 0.725929 | 0.725929 | 0 | 0.018912 | 0.354675 | 5,326 | 82 | 129 | 64.95122 | 0.787896 | 0.03849 | 0 | 0.777778 | 0 | 0 | 0.212275 | 0.058444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4650054338d71bba8b7d36f167d55011baa4917a | 922 | py | Python | script/stow_process/__init__.py | amazon-picking-challenge/team_pfn | 2f76524b067d816d8407f6c4fae4e6d33939c024 | [
"Apache-2.0"
] | 7 | 2016-09-04T02:07:04.000Z | 2017-05-25T02:31:07.000Z | script/stow_process/__init__.py | amazon-picking-challenge/team_pfn | 2f76524b067d816d8407f6c4fae4e6d33939c024 | [
"Apache-2.0"
] | null | null | null | script/stow_process/__init__.py | amazon-picking-challenge/team_pfn | 2f76524b067d816d8407f6c4fae4e6d33939c024 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright 2016 Preferred Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 36.88 | 74 | 0.765727 | 134 | 922 | 5.238806 | 0.708955 | 0.08547 | 0.037037 | 0.045584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 0.171367 | 922 | 24 | 75 | 38.416667 | 0.908377 | 0.814534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
469560b304c90f3048c2ba553ad9bf80c905f9e1 | 79,009 | py | Python | ysynth4.py | YoutechA320U/ysynth4 | 5f3f2b094d69b11e1f916138bbb4acc1f733790b | [
"MIT"
] | 1 | 2020-03-21T12:02:00.000Z | 2020-03-21T12:02:00.000Z | ysynth4.py | YoutechA320U/ysynth4 | 5f3f2b094d69b11e1f916138bbb4acc1f733790b | [
"MIT"
] | 2 | 2019-08-01T15:24:07.000Z | 2019-08-24T12:03:41.000Z | ysynth4.py | YoutechA320U/ysynth4 | 5f3f2b094d69b11e1f916138bbb4acc1f733790b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#!/usr/bin/env python
#オリジナルのソースコード/Original Source
# https://github.com/YoutechA320U/ysynth4
#ライセンス/Licence
# [MIT] https://github.com/YoutechA320U/ysynth4/blob/master/LICENSE
##--リリースノート--##
#v1.75[2019/09/07]
#スクリーンキーボードを使ってスタンドアロンにWiFiの設定が出来る様になりました.
#これで有線LANを用意したり,キーボードとディスプレイを繋いで設定しなくて... | 51.775229 | 302 | 0.575466 | 12,102 | 79,009 | 3.654603 | 0.044125 | 0.013657 | 0.009632 | 0.014086 | 0.854956 | 0.835805 | 0.821832 | 0.804377 | 0.784277 | 0.773537 | 0 | 0.106775 | 0.229151 | 79,009 | 1,525 | 303 | 51.80918 | 0.619122 | 0.019188 | 0 | 0.654874 | 0 | 0.018051 | 0.110703 | 0.031975 | 0 | 0 | 0.002791 | 0 | 0 | 1 | 0.010108 | false | 0.00361 | 0.00722 | 0 | 0.017329 | 0.004332 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
46b0ebcb22b50425854864c846ff98e810ec7c7e | 87 | py | Python | python/testData/debug/test_exceptbreak.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/debug/test_exceptbreak.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | null | null | null | python/testData/debug/test_exceptbreak.py | teddywest32/intellij-community | e0268d7a1da1d318b441001448cdd3e8929b2f29 | [
"Apache-2.0"
] | 1 | 2020-11-27T10:36:50.000Z | 2020-11-27T10:36:50.000Z | def foo(x):
return 1/x
def zoo(x):
res = foo(x)
return res
print(zoo(0))
| 9.666667 | 16 | 0.54023 | 17 | 87 | 2.764706 | 0.529412 | 0.170213 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.298851 | 87 | 8 | 17 | 10.875 | 0.737705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d3c6c109ab642a395cfbb79ecb252cfc7b21c345 | 29 | py | Python | apps/event/__init__.py | dy1zan/softwarecapstone | c121a2b2d43b72aac19b75c31519711c0ace9c02 | [
"MIT"
] | null | null | null | apps/event/__init__.py | dy1zan/softwarecapstone | c121a2b2d43b72aac19b75c31519711c0ace9c02 | [
"MIT"
] | 16 | 2018-11-10T21:46:40.000Z | 2018-11-11T15:08:36.000Z | apps/event/__init__.py | dy1zan/softwarecapstone | c121a2b2d43b72aac19b75c31519711c0ace9c02 | [
"MIT"
] | null | null | null | from .apps import EventConfig | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d3faa1a242222c26692ccd00de6f89748b4b4dcc | 26 | py | Python | ext/workflows/__init__.py | FNLF/fnlf-backend | 060d675d7cf8d0eff46af6eb4be7035b8cd68d36 | [
"MIT"
] | 1 | 2015-01-14T22:08:27.000Z | 2015-01-14T22:08:27.000Z | ext/workflows/__init__.py | FNLF/fnlf-backend | 060d675d7cf8d0eff46af6eb4be7035b8cd68d36 | [
"MIT"
] | 103 | 2015-01-08T13:45:38.000Z | 2022-01-13T00:38:39.000Z | ext/workflows/__init__.py | FNLF/fnlf-backend | 060d675d7cf8d0eff46af6eb4be7035b8cd68d36 | [
"MIT"
] | null | null | null |
from . import observation | 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 25 | 13 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31332909d815e7f351d2d4f1f76f86ba0ab1068d | 18,551 | py | Python | custom_components/miele/devcap.py | astrandb/miele | 3a22099daf85c5dc80b0c07f5ad69ed2c13204e8 | [
"MIT"
] | 13 | 2022-01-06T05:48:39.000Z | 2022-03-31T22:23:33.000Z | custom_components/miele/devcap.py | astrandb/miele | 3a22099daf85c5dc80b0c07f5ad69ed2c13204e8 | [
"MIT"
] | 25 | 2022-01-22T14:48:29.000Z | 2022-03-31T21:33:07.000Z | custom_components/miele/devcap.py | astrandb/miele | 3a22099daf85c5dc80b0c07f5ad69ed2c13204e8 | [
"MIT"
] | 2 | 2022-01-20T22:43:22.000Z | 2022-03-25T13:18:24.000Z | """Device capabilities."""
# API Version 1.0.5
DEV_TYPES = {
1: "Washing Machine",
2: "Thumble Dryer",
7: "Dishwasher",
19: "Fridge",
20: "Freezer",
74: "TwoInOne Hob",
}
STATE_CAPABILITIES = {
19: {
"ProgramID",
"status",
"programType",
"targetTemperature"... | 29.399366 | 88 | 0.44596 | 1,331 | 18,551 | 6.033058 | 0.132983 | 0.084682 | 0.065006 | 0.060523 | 0.840598 | 0.80274 | 0.770112 | 0.75878 | 0.70797 | 0.624035 | 0 | 0.039403 | 0.378901 | 18,551 | 630 | 89 | 29.446032 | 0.657525 | 0.002102 | 0 | 0.678571 | 0 | 0 | 0.400357 | 0.00254 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
313b0c39616ef4195670de4e815f8d591baba29d | 173 | py | Python | c3i/app/views.py | addinall/python-C3I | be72f026fb7c6b5084404876cd1296d3c3cb9b85 | [
"Unlicense"
] | null | null | null | c3i/app/views.py | addinall/python-C3I | be72f026fb7c6b5084404876cd1296d3c3cb9b85 | [
"Unlicense"
] | null | null | null | c3i/app/views.py | addinall/python-C3I | be72f026fb7c6b5084404876cd1296d3c3cb9b85 | [
"Unlicense"
] | null | null | null | # from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello world - You are in the Python version of C3I")
| 21.625 | 74 | 0.780347 | 25 | 173 | 5.4 | 0.84 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.156069 | 173 | 7 | 75 | 24.714286 | 0.917808 | 0.202312 | 0 | 0 | 0 | 0 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3144c191e0819aad0867bf838ebb824e059d71f9 | 24,938 | py | Python | ph5/utilities/tests/test_validation.py | PIC-IRIS/PH5 | 4629c0694caf7043c39beced4409af58f18d4751 | [
"MIT"
] | 21 | 2016-12-07T20:09:31.000Z | 2022-03-07T22:23:57.000Z | ph5/utilities/tests/test_validation.py | PIC-IRIS/PH5 | 4629c0694caf7043c39beced4409af58f18d4751 | [
"MIT"
] | 395 | 2016-11-03T03:43:55.000Z | 2022-03-08T20:54:22.000Z | ph5/utilities/tests/test_validation.py | PIC-IRIS/PH5 | 4629c0694caf7043c39beced4409af58f18d4751 | [
"MIT"
] | 6 | 2016-10-25T22:22:38.000Z | 2021-05-10T18:19:45.000Z | '''
Tests for validation
'''
import unittest
import os
import logging
import sys
from mock import patch
from testfixtures import LogCapture
from ph5.core import ph5api
from ph5 import logger
from ph5.core.tests.test_base import LogTestCase, TempDirTestCase
from ph5.utilities import validation, segd2ph5
class TestV... | 45.507299 | 79 | 0.573061 | 2,915 | 24,938 | 4.656261 | 0.088508 | 0.044426 | 0.030649 | 0.023576 | 0.805717 | 0.772195 | 0.755691 | 0.730494 | 0.709718 | 0.688205 | 0 | 0.046658 | 0.314179 | 24,938 | 547 | 80 | 45.590494 | 0.746945 | 0.065001 | 0 | 0.635371 | 0 | 0 | 0.263384 | 0.074719 | 0 | 0 | 0 | 0 | 0.170306 | 1 | 0.026201 | false | 0 | 0.021834 | 0 | 0.054585 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
316112461a73ab24feeec128ab47b4e65d3e5a2d | 397 | py | Python | 03-types/none_example.py | johnehunt/Python3Intro | 2a41ce488aac11bb3928ea81e57be1c2c8acdac2 | [
"Apache-2.0"
] | 1 | 2020-11-03T19:46:25.000Z | 2020-11-03T19:46:25.000Z | 03-types/main7.py | johnehunt/PythonIntroDS | 7e9d5c5494191cd68bc71e140df5fb30290a8da6 | [
"Apache-2.0"
] | null | null | null | 03-types/main7.py | johnehunt/PythonIntroDS | 7e9d5c5494191cd68bc71e140df5fb30290a8da6 | [
"Apache-2.0"
] | null | null | null | # Set up the winner variable to hold None
winner = None
print('winner:', winner)
print('winner is None:', winner is None)
print('winner is not None:', winner is not None)
print(type(winner))
# Now set winner to be True
print('Set winner to True')
winner = True
print('winner:', winner)
print('winner is None:', winner i... | 26.466667 | 48 | 0.715365 | 67 | 397 | 4.238806 | 0.223881 | 0.225352 | 0.183099 | 0.211268 | 0.676056 | 0.676056 | 0.676056 | 0.676056 | 0.676056 | 0.676056 | 0 | 0 | 0.153652 | 397 | 14 | 49 | 28.357143 | 0.845238 | 0.163728 | 0 | 0.727273 | 0 | 0 | 0.303951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.818182 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 6 |
3177af86a51cb294531df1489c0c6c98d9e506bb | 589 | py | Python | categories/tests/test_generating_category.py | Rat-Shop/RatShop | e3878584fe8cd865bd00a36b0b039e543aaf85aa | [
"MIT"
] | null | null | null | categories/tests/test_generating_category.py | Rat-Shop/RatShop | e3878584fe8cd865bd00a36b0b039e543aaf85aa | [
"MIT"
] | null | null | null | categories/tests/test_generating_category.py | Rat-Shop/RatShop | e3878584fe8cd865bd00a36b0b039e543aaf85aa | [
"MIT"
] | null | null | null | from django.test import TestCase
from ..models import ShopCategory
class GenerateCategoryTest(TestCase):
def test_generating(self):
response = self.client.get('/Test/')
self.assertEqual(response.status_code, 404)
ShopCategory.objects.create(name='Test', description='Test', image='-')
... | 39.266667 | 79 | 0.684211 | 65 | 589 | 6.138462 | 0.384615 | 0.090226 | 0.135338 | 0.157895 | 0.716792 | 0.716792 | 0.716792 | 0.716792 | 0.716792 | 0.716792 | 0 | 0.018519 | 0.174873 | 589 | 14 | 80 | 42.071429 | 0.802469 | 0 | 0 | 0.416667 | 1 | 0 | 0.061121 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
319eadb166e54acf07794df94d46fdb725e5ecbc | 37,551 | py | Python | tests/test_sns/test_publishing_boto3.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_sns/test_publishing_boto3.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | tests/test_sns/test_publishing_boto3.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | import base64
import json
import boto3
import re
from freezegun import freeze_time
import sure # noqa # pylint: disable=unused-import
from botocore.exceptions import ClientError
import pytest
from moto import mock_sns, mock_sqs, settings
from moto.core import ACCOUNT_ID
from moto.core.models import responses_mock
fr... | 33.527679 | 496 | 0.644963 | 4,282 | 37,551 | 5.458431 | 0.078234 | 0.034356 | 0.021392 | 0.029949 | 0.860095 | 0.841997 | 0.831558 | 0.813332 | 0.802464 | 0.764472 | 0 | 0.025674 | 0.204415 | 37,551 | 1,119 | 497 | 33.557641 | 0.756686 | 0.0147 | 0 | 0.644664 | 0 | 0.006601 | 0.215126 | 0.023019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048405 | false | 0 | 0.013201 | 0 | 0.063806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31da1f1909ef53113c7a7734a4998f1213e36106 | 11,601 | py | Python | featurizer/functions/split.py | zmm18/featurizer | bb30ab8656af4bdd85b20bb85b481aeaef60c528 | [
"Apache-2.0"
] | null | null | null | featurizer/functions/split.py | zmm18/featurizer | bb30ab8656af4bdd85b20bb85b481aeaef60c528 | [
"Apache-2.0"
] | null | null | null | featurizer/functions/split.py | zmm18/featurizer | bb30ab8656af4bdd85b20bb85b481aeaef60c528 | [
"Apache-2.0"
] | 1 | 2022-03-26T10:35:24.000Z | 2022-03-26T10:35:24.000Z | # -*- coding: utf-8 -*-
# Copyright StateOfTheArt.quant.
#
# * Commercial Usage: please contact allen.across@gmail.com
# * Non-Commercial Usage:
# 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 th... | 42.339416 | 137 | 0.578226 | 1,599 | 11,601 | 4.053158 | 0.1207 | 0.054313 | 0.0395 | 0.032402 | 0.831816 | 0.827959 | 0.826107 | 0.81222 | 0.795865 | 0.795865 | 0 | 0.057227 | 0.295061 | 11,601 | 273 | 138 | 42.494505 | 0.735265 | 0.546591 | 0 | 0.628571 | 0 | 0 | 0.001695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038095 | false | 0 | 0.047619 | 0 | 0.161905 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
31ddac78a4dbc91b41bde239623d97b84f8bcdaa | 15,871 | py | Python | pollination_ppl_fed.py | richpsharp/raster_calculations | 28b18c34f49c2c275c46e332d7021a27703053cd | [
"Apache-2.0"
] | 2 | 2020-01-07T23:46:05.000Z | 2021-05-26T00:31:31.000Z | pollination_ppl_fed.py | richpsharp/raster_calculations | 28b18c34f49c2c275c46e332d7021a27703053cd | [
"Apache-2.0"
] | null | null | null | pollination_ppl_fed.py | richpsharp/raster_calculations | 28b18c34f49c2c275c46e332d7021a27703053cd | [
"Apache-2.0"
] | 3 | 2020-09-06T21:05:19.000Z | 2022-01-28T22:08:35.000Z | """These calculations are for the science paper."""
import sys
import os
import logging
import multiprocessing
import raster_calculations_core
from osgeo import gdal
import taskgraph
WORKSPACE_DIR = 'raster_expression_workspace'
NCPUS = multiprocessing.cpu_count()
try:
os.makedirs(WORKSPACE_DIR)
e... | 52.379538 | 177 | 0.645139 | 1,683 | 15,871 | 5.710042 | 0.103387 | 0.044953 | 0.082414 | 0.093652 | 0.784599 | 0.776587 | 0.756191 | 0.750989 | 0.73642 | 0.73642 | 0 | 0.123919 | 0.234768 | 15,871 | 302 | 178 | 52.55298 | 0.667353 | 0.187638 | 0 | 0.333333 | 0 | 0.171429 | 0.654415 | 0.091011 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004762 | false | 0.004762 | 0.033333 | 0 | 0.038095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ed438f1151f331b20fc609246ea60f48eeef2ea | 94,542 | py | Python | menpowidgets/menpofitwidgets/base.py | apapaion/menpowidgets | 237a39ddf4e65c57e8165f8a87f25a25f34d4698 | [
"BSD-3-Clause"
] | null | null | null | menpowidgets/menpofitwidgets/base.py | apapaion/menpowidgets | 237a39ddf4e65c57e8165f8a87f25a25f34d4698 | [
"BSD-3-Clause"
] | null | null | null | menpowidgets/menpofitwidgets/base.py | apapaion/menpowidgets | 237a39ddf4e65c57e8165f8a87f25a25f34d4698 | [
"BSD-3-Clause"
] | null | null | null | from menpo.base import MenpoMissingDependencyError
try:
import menpofit
except ImportError as e:
raise MenpoMissingDependencyError(e.name)
# Continue with imports if we have menpofit
from collections import OrderedDict
import numpy as np
import ipywidgets
import IPython.display as ipydisplay
import matplotl... | 44.891738 | 84 | 0.651901 | 11,539 | 94,542 | 5.049398 | 0.044458 | 0.02952 | 0.029469 | 0.032953 | 0.853102 | 0.825847 | 0.800858 | 0.788398 | 0.768489 | 0.749678 | 0 | 0.008665 | 0.257801 | 94,542 | 2,105 | 85 | 44.913064 | 0.821688 | 0.189789 | 0 | 0.697388 | 0 | 0 | 0.077308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030479 | false | 0 | 0.019594 | 0 | 0.050798 | 0.005806 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ef4dd7ed65b25e6b52d08b7cf5449d79e28a8f5 | 1,463 | py | Python | cnns/foolbox/foolbox_2_3_0/tests/v1/attacks/test_attacks_spatial.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 12 | 2021-07-27T07:18:24.000Z | 2022-03-09T13:52:20.000Z | cnns/foolbox/foolbox_2_3_0/tests/v1/attacks/test_attacks_spatial.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 2 | 2021-08-03T09:21:33.000Z | 2021-12-29T14:25:30.000Z | cnns/foolbox/foolbox_2_3_0/tests/v1/attacks/test_attacks_spatial.py | anonymous-user-commits/perturb-net | 66fc7c4a1234fa34b92bcc85751f0a6e23d80a23 | [
"MIT"
] | 3 | 2021-11-18T14:46:40.000Z | 2022-01-03T15:47:23.000Z | import numpy as np
from foolbox.v1.attacks import SpatialAttack as Attack
def test_attack_pytorch(bn_adversarial_pytorch):
adv = bn_adversarial_pytorch
attack = Attack()
attack(adv)
assert adv.perturbed is not None
assert adv.distance.value < np.inf
def test_attack(bn_adversarial):
adv = bn... | 24.383333 | 58 | 0.722488 | 205 | 1,463 | 4.97561 | 0.170732 | 0.178431 | 0.089216 | 0.144118 | 0.835294 | 0.835294 | 0.835294 | 0.791176 | 0.791176 | 0.726471 | 0 | 0.000856 | 0.20164 | 1,463 | 59 | 59 | 24.79661 | 0.872432 | 0 | 0 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 1 | 0.159091 | false | 0 | 0.045455 | 0 | 0.204545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7300afd726a07d6905e90d85cff5557956b5e6e0 | 60,193 | py | Python | pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/key/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/key/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v16r_1_00b/mpls_state/ldp/fec/ldp_fec_prefixes/key/__init__.py | shivharis/pybind | 4e1c6d54b9fd722ccec25546ba2413d79ce337e6 | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 69.346774 | 620 | 0.743508 | 8,750 | 60,193 | 4.806629 | 0.021714 | 0.041371 | 0.054591 | 0.053926 | 0.94013 | 0.899853 | 0.881212 | 0.87541 | 0.86345 | 0.855152 | 0 | 0.011402 | 0.122838 | 60,193 | 867 | 621 | 69.426759 | 0.785166 | 0.18341 | 0 | 0.517094 | 0 | 0.042735 | 0.360401 | 0.205715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134615 | false | 0 | 0.017094 | 0 | 0.260684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7303952ac258316c302460f0c117117f3ba2fccf | 246 | py | Python | ETCetera/Systems/Automata/__init__.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | null | null | null | ETCetera/Systems/Automata/__init__.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | null | null | null | ETCetera/Systems/Automata/__init__.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | 1 | 2022-03-11T11:15:20.000Z | 2022-03-11T11:15:20.000Z | from ETCetera.Systems.Automata.automaton import Automaton
# from network_timed_automata import NTA
from ETCetera.Systems.Automata.timed_automaton import TimedAutomaton
from ETCetera.Systems.Automata.timed_game_automaton import TimedGameAutomaton
| 49.2 | 77 | 0.890244 | 30 | 246 | 7.133333 | 0.4 | 0.168224 | 0.266355 | 0.378505 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069106 | 246 | 4 | 78 | 61.5 | 0.934498 | 0.154472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 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 | 6 |
731e114cbb597bea1377ac925526bc56286334e9 | 86 | py | Python | CozmOSU/Actions/__init__.py | OSU-cozmo/OSU-Cozmo-Library | ea8a06877cbdc88b6f730df92c2d40d4f53470cc | [
"MIT"
] | null | null | null | CozmOSU/Actions/__init__.py | OSU-cozmo/OSU-Cozmo-Library | ea8a06877cbdc88b6f730df92c2d40d4f53470cc | [
"MIT"
] | 1 | 2018-09-21T06:05:49.000Z | 2018-09-21T06:05:49.000Z | CozmOSU/Actions/__init__.py | OSU-cozmo/OSU-Cozmo-Library | ea8a06877cbdc88b6f730df92c2d40d4f53470cc | [
"MIT"
] | null | null | null | from .Speech import *
from .Lighting import *
from .Head import *
from .Lift import *
| 17.2 | 23 | 0.72093 | 12 | 86 | 5.166667 | 0.5 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 24 | 21.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b40302d299ea3da6a334e2730590060faa85fe49 | 25,628 | py | Python | pysnmp-with-texts/NBS-CMMCENUM-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/NBS-CMMCENUM-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/NBS-CMMCENUM-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module NBS-CMMCENUM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NBS-CMMCENUM-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:17:11 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar ... | 502.509804 | 14,740 | 0.619479 | 3,117 | 25,628 | 5.092717 | 0.584216 | 0.010142 | 0.011654 | 0.010394 | 0.078556 | 0.066083 | 0.066083 | 0.066083 | 0.066083 | 0.066083 | 0 | 0.350791 | 0.122366 | 25,628 | 50 | 14,741 | 512.56 | 0.354971 | 0.01272 | 0 | 0.131579 | 0 | 0.052632 | 0.360021 | 0.002609 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.184211 | 0 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b407461fa89fba0f6176d3be633dbbda87955866 | 5,096 | py | Python | tests/components/nuheat/test_climate.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 6 | 2020-07-18T16:33:25.000Z | 2021-09-26T09:52:04.000Z | tests/components/nuheat/test_climate.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 47 | 2020-07-23T07:14:33.000Z | 2022-03-31T06:01:46.000Z | tests/components/nuheat/test_climate.py | klauern/home-assistant-core | c18ba6aec0627e6afb6442c678edb5ff2bb17db6 | [
"Apache-2.0"
] | 5 | 2020-03-29T00:29:13.000Z | 2021-09-06T20:58:40.000Z | """The test for the NuHeat thermostat module."""
from homeassistant.components.nuheat.const import DOMAIN
from homeassistant.setup import async_setup_component
from .mocks import (
_get_mock_nuheat,
_get_mock_thermostat_run,
_get_mock_thermostat_schedule_hold_available,
_get_mock_thermostat_schedule_ho... | 38.029851 | 88 | 0.693485 | 630 | 5,096 | 5.31746 | 0.15873 | 0.066866 | 0.034925 | 0.044776 | 0.853134 | 0.835224 | 0.791045 | 0.750448 | 0.750448 | 0.693134 | 0 | 0.012057 | 0.202512 | 5,096 | 133 | 89 | 38.315789 | 0.812254 | 0.084576 | 0 | 0.575758 | 0 | 0 | 0.233825 | 0.061748 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0 | false | 0 | 0.040404 | 0 | 0.040404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b41a454ed2f8f3357932b810003c89259baf7646 | 32 | py | Python | distributed/http/__init__.py | bnavigator/distributed | 5ea74cd7ec3cf5b90c5e6d5a31fb7dc3888ea242 | [
"BSD-3-Clause"
] | 1,358 | 2016-02-09T21:25:27.000Z | 2022-03-30T08:06:36.000Z | distributed/http/__init__.py | bnavigator/distributed | 5ea74cd7ec3cf5b90c5e6d5a31fb7dc3888ea242 | [
"BSD-3-Clause"
] | 4,789 | 2016-02-10T00:13:43.000Z | 2022-03-31T23:56:27.000Z | distributed/http/__init__.py | bnavigator/distributed | 5ea74cd7ec3cf5b90c5e6d5a31fb7dc3888ea242 | [
"BSD-3-Clause"
] | 791 | 2016-02-19T04:34:38.000Z | 2022-03-31T16:26:38.000Z | from .utils import get_handlers
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b41fc96145b0ed78cd0b618b1576aede991689df | 45 | py | Python | damster/metrics/bamboo/__init__.py | cattz/damster | 70ac2378760197b2e89150c8632f5bf8fe17167d | [
"Apache-2.0"
] | null | null | null | damster/metrics/bamboo/__init__.py | cattz/damster | 70ac2378760197b2e89150c8632f5bf8fe17167d | [
"Apache-2.0"
] | 1 | 2018-05-07T10:57:06.000Z | 2018-05-28T10:04:45.000Z | damster/metrics/bamboo/__init__.py | cattz/damster | 70ac2378760197b2e89150c8632f5bf8fe17167d | [
"Apache-2.0"
] | null | null | null | from .agents import BambooBuildAgentsMetrics
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81eae86a5dbcd5d5bcdd63474551a84cf22d17e1 | 44 | py | Python | src/robotic_lacing/lacing_vision_package/__init__.py | laurend/robotic_lacing | 4865e8752947faa49f373f716399dee406897b4a | [
"MIT"
] | null | null | null | src/robotic_lacing/lacing_vision_package/__init__.py | laurend/robotic_lacing | 4865e8752947faa49f373f716399dee406897b4a | [
"MIT"
] | 1 | 2020-10-11T14:04:24.000Z | 2020-10-11T14:04:24.000Z | src/robotic_lacing/lacing_vision_package/__init__.py | laurend/robotic_lacing | 4865e8752947faa49f373f716399dee406897b4a | [
"MIT"
] | null | null | null | from .D435i_Vision_Laura import find_corners | 44 | 44 | 0.909091 | 7 | 44 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.068182 | 44 | 1 | 44 | 44 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c31f399544493623b1337a22fa1ee45c92891d8d | 257 | py | Python | src/cloudsigma/__init__.py | cloudsigma/pycloudsigma | 220a18481c84357b4a4251241a01faae68f44ae1 | [
"BSD-3-Clause"
] | 13 | 2015-04-24T10:38:04.000Z | 2022-01-22T12:48:56.000Z | src/cloudsigma/__init__.py | cloudsigma/pycloudsigma | 220a18481c84357b4a4251241a01faae68f44ae1 | [
"BSD-3-Clause"
] | 8 | 2015-02-23T18:16:14.000Z | 2022-02-17T09:50:24.000Z | src/cloudsigma/__init__.py | cloudsigma/pycloudsigma | 220a18481c84357b4a4251241a01faae68f44ae1 | [
"BSD-3-Clause"
] | 6 | 2015-02-23T07:39:48.000Z | 2021-08-08T09:34:50.000Z | from cloudsigma.version import __version__
from cloudsigma import bulk
from cloudsigma import conf
from cloudsigma import errors
from cloudsigma import generic
from cloudsigma import resource
from cloudsigma import scenarios
from cloudsigma import metadata
| 28.555556 | 42 | 0.871595 | 33 | 257 | 6.666667 | 0.333333 | 0.509091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124514 | 257 | 8 | 43 | 32.125 | 0.977778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c324dd4989b277b351625ceef748eda6c2eb5d42 | 4,852 | py | Python | pybamm/models/submodels/electrode/ohm/li_metal.py | emptylkj/PyBaMM | 9280577deef09507452beafb56d1231fbfaaf110 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/electrode/ohm/li_metal.py | emptylkj/PyBaMM | 9280577deef09507452beafb56d1231fbfaaf110 | [
"BSD-3-Clause"
] | null | null | null | pybamm/models/submodels/electrode/ohm/li_metal.py | emptylkj/PyBaMM | 9280577deef09507452beafb56d1231fbfaaf110 | [
"BSD-3-Clause"
] | null | null | null | #
# Subodels for a lithium metal electrode
#
import pybamm
from .base_ohm import BaseModel
class LithiumMetalSurfaceForm(BaseModel):
"""Explicit model for potential drop across a lithium metal electrode.
Parameters
----------
param : parameter class
The parameters to use for this submodel
... | 36.481203 | 86 | 0.651896 | 577 | 4,852 | 5.22877 | 0.168111 | 0.082201 | 0.04773 | 0.083527 | 0.830958 | 0.828306 | 0.799138 | 0.799138 | 0.799138 | 0.720583 | 0 | 0.001133 | 0.272465 | 4,852 | 132 | 87 | 36.757576 | 0.853541 | 0.138912 | 0 | 0.679012 | 0 | 0 | 0.321132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08642 | false | 0 | 0.024691 | 0 | 0.17284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c32d89d4b69cf5814f0c4551f925a6ca9ecd546f | 33 | py | Python | cloudknot/commands/__init__.py | 36000/cloudknot | 47816a0f3437a7358d1c1ab0af748680c65ad2a2 | [
"MIT"
] | 50 | 2017-10-29T03:30:28.000Z | 2020-03-12T06:51:27.000Z | cloudknot/commands/__init__.py | 36000/cloudknot | 47816a0f3437a7358d1c1ab0af748680c65ad2a2 | [
"MIT"
] | 130 | 2017-09-28T00:52:06.000Z | 2020-04-20T00:07:45.000Z | cloudknot/commands/__init__.py | arokem/cloudknot | 4ba413d7f14348d9eb22c1d9f20c821901cce58b | [
"MIT"
] | 11 | 2017-09-26T22:00:29.000Z | 2019-10-12T12:14:26.000Z | from .configure import * # noqa
| 16.5 | 32 | 0.69697 | 4 | 33 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.884615 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c34fdf8d457241f6db0bc7df9c4acd58cdd3fe28 | 1,203 | py | Python | tests/ext/test_sentry.py | hartungstenio/loafer | a1bed9d5ba3294094337a3c476946f3802645f53 | [
"MIT"
] | 111 | 2016-04-11T12:58:07.000Z | 2021-11-08T09:39:39.000Z | tests/ext/test_sentry.py | hartungstenio/loafer | a1bed9d5ba3294094337a3c476946f3802645f53 | [
"MIT"
] | 43 | 2016-04-18T00:04:33.000Z | 2021-11-07T22:52:31.000Z | tests/ext/test_sentry.py | hartungstenio/loafer | a1bed9d5ba3294094337a3c476946f3802645f53 | [
"MIT"
] | 33 | 2016-05-30T15:13:46.000Z | 2022-01-29T23:16:18.000Z | from unittest import mock
from loafer.ext.sentry import sentry_handler
def test_sentry_handler():
mock_scope = mock.MagicMock()
sdk_mocked = mock.Mock()
sdk_mocked.push_scope.return_value = mock_scope
handler = sentry_handler(sdk_mocked)
exc = ValueError("test")
exc_info = (type(exc), exc, N... | 30.075 | 72 | 0.740648 | 164 | 1,203 | 5.018293 | 0.219512 | 0.109356 | 0.063183 | 0.087485 | 0.831106 | 0.831106 | 0.831106 | 0.831106 | 0.831106 | 0.831106 | 0 | 0 | 0.169576 | 1,203 | 39 | 73 | 30.846154 | 0.823824 | 0 | 0 | 0.666667 | 0 | 0 | 0.031588 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.066667 | false | 0 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f13bf2934f4e9f6474a9f0699102d78f3c869ba | 1,705 | py | Python | tasks/example.py | diegograssato/python-base | 47936675311266fe0bdb43faa6ed43c50539c53d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | tasks/example.py | diegograssato/python-base | 47936675311266fe0bdb43faa6ed43c50539c53d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | tasks/example.py | diegograssato/python-base | 47936675311266fe0bdb43faa6ed43c50539c53d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | # example.py
import multitasking
import time
import random
import signal
import argparse
# kill all tasks on ctrl-c
from tasks import multicast
from tasks.multicast import multicast
from tasks.tasks import Tasks
from utils import ssh
import sys
signal.signal(signal.SIGINT, multitasking.killall)
def execute():
p... | 32.788462 | 119 | 0.665103 | 195 | 1,705 | 5.661538 | 0.317949 | 0.048913 | 0.092391 | 0.076087 | 0.759058 | 0.759058 | 0.759058 | 0.759058 | 0.759058 | 0.759058 | 0 | 0.001456 | 0.194135 | 1,705 | 51 | 120 | 33.431373 | 0.802038 | 0.441056 | 0 | 0 | 0 | 0 | 0.092275 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.04 | 0.4 | 0 | 0.44 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6f18143dc711ca74e883c7edcae97638e63f722f | 8,278 | py | Python | test/unit/test_action_restore.py | ssavrim/curator | 3ddfbb95ea7a164bb3f8c773b0392481f067da7c | [
"Apache-2.0"
] | 2,449 | 2015-03-11T05:04:13.000Z | 2022-03-30T11:24:31.000Z | test/unit/test_action_restore.py | ssavrim/curator | 3ddfbb95ea7a164bb3f8c773b0392481f067da7c | [
"Apache-2.0"
] | 960 | 2015-03-10T20:58:11.000Z | 2022-03-24T15:26:40.000Z | test/unit/test_action_restore.py | lenn4rd/curator | 1bfa366325e0651397999999367b65df2c3c5c86 | [
"Apache-2.0"
] | 702 | 2015-03-11T09:35:39.000Z | 2022-03-28T06:22:59.000Z | from unittest import TestCase
from mock import Mock, patch
import elasticsearch
import curator
# Get test variables and constants from a single source
from . import testvars as testvars
class TestActionRestore(TestCase):
def test_init_raise_bad_snapshot_list(self):
self.assertRaises(TypeError, curator.Rest... | 52.726115 | 80 | 0.702344 | 970 | 8,278 | 5.763918 | 0.121649 | 0.098372 | 0.159721 | 0.103738 | 0.812914 | 0.795028 | 0.795028 | 0.790556 | 0.782686 | 0.75228 | 0 | 0.009509 | 0.199686 | 8,278 | 156 | 81 | 53.064103 | 0.834415 | 0.006403 | 0 | 0.62987 | 0 | 0 | 0.038794 | 0 | 0 | 0 | 0 | 0 | 0.11039 | 1 | 0.11039 | false | 0 | 0.032468 | 0 | 0.149351 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f34037d65f6c6132ec472bd26d3efe94f6fa07b | 356 | py | Python | ee/clickhouse/migrations/0011_cohortpeople_no_shard.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 1 | 2021-07-28T19:44:48.000Z | 2021-07-28T19:44:48.000Z | ee/clickhouse/migrations/0011_cohortpeople_no_shard.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 15 | 2021-11-09T10:49:34.000Z | 2021-11-09T16:11:01.000Z | ee/clickhouse/migrations/0011_cohortpeople_no_shard.py | csmatar/posthog | 4587cfe18625f302726c531f06a32c18e9749e9d | [
"MIT"
] | 1 | 2021-09-08T19:45:03.000Z | 2021-09-08T19:45:03.000Z | from infi.clickhouse_orm import migrations
from ee.clickhouse.sql.cohort import CREATE_COHORTPEOPLE_TABLE_SQL, DROP_COHORTPEOPLE_TABLE_SQL
from posthog.settings import CLICKHOUSE_REPLICATION
# run create table again with proper configuration
operations = [migrations.RunSQL(DROP_COHORTPEOPLE_TABLE_SQL), migrations.Run... | 44.5 | 111 | 0.876404 | 46 | 356 | 6.478261 | 0.5 | 0.228188 | 0.268456 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075843 | 356 | 7 | 112 | 50.857143 | 0.905775 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48939c02e3779e0df066755c652e15113cb79b57 | 39 | py | Python | cls/p3.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | cls/p3.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | cls/p3.py | sanchez0623/zsq.LearningPython | 419df031a2a905fe7d7c2dfe14aa2f8729989a9a | [
"Apache-2.0"
] | null | null | null | from sub.p11 import a
# 会先执行__init__文件 | 13 | 21 | 0.794872 | 8 | 39 | 3.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.153846 | 39 | 3 | 22 | 13 | 0.757576 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48a89ae9cf100c8b0962a1a7a5b9d18a8c38ea45 | 220 | py | Python | cluster_tools/__init__.py | ninastijepovic/MasterThesis | 2579f1e74c0ce404f350a6d441e273b6aef4eadc | [
"MIT"
] | null | null | null | cluster_tools/__init__.py | ninastijepovic/MasterThesis | 2579f1e74c0ce404f350a6d441e273b6aef4eadc | [
"MIT"
] | null | null | null | cluster_tools/__init__.py | ninastijepovic/MasterThesis | 2579f1e74c0ce404f350a6d441e273b6aef4eadc | [
"MIT"
] | null | null | null | # INIT FILE
from .ObservationDao import *
from .autoencoder import *
from .autoencoderpreprocessor import *
from .distanceCalculator import *
from .embedder import *
from .locationwarping import *
from .utils import *
| 22 | 38 | 0.781818 | 23 | 220 | 7.478261 | 0.478261 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 220 | 9 | 39 | 24.444444 | 0.919786 | 0.040909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2aac76f45c513b4c778c75058f76b377904348f | 21 | py | Python | nlp4j_wrapper/__init__.py | justinsowhat/nlp4j-python-wrapper | 5bcfd32dedf27043a816fbe918b4863a49050a7a | [
"MIT"
] | null | null | null | nlp4j_wrapper/__init__.py | justinsowhat/nlp4j-python-wrapper | 5bcfd32dedf27043a816fbe918b4863a49050a7a | [
"MIT"
] | 1 | 2019-10-06T14:26:35.000Z | 2019-10-10T18:02:09.000Z | nlp4j_wrapper/__init__.py | justinsowhat/nlp4j-python-wrapper | 5bcfd32dedf27043a816fbe918b4863a49050a7a | [
"MIT"
] | 1 | 2017-07-24T13:02:09.000Z | 2017-07-24T13:02:09.000Z | from .nlp4j import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.190476 | 21 | 1 | 21 | 21 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2ba6317cb065f775e269d485cbb878f121587da | 50 | py | Python | models/__init__.py | Anonymous-926/SM-SGE | 4a58c2dfcae6301ae5af17a59ecdbe80fbb41522 | [
"MIT"
] | 4 | 2021-07-06T08:27:42.000Z | 2021-12-25T06:30:08.000Z | models/__init__.py | Anonymous-926/SM-SGE | 4a58c2dfcae6301ae5af17a59ecdbe80fbb41522 | [
"MIT"
] | null | null | null | models/__init__.py | Anonymous-926/SM-SGE | 4a58c2dfcae6301ae5af17a59ecdbe80fbb41522 | [
"MIT"
] | 1 | 2021-04-15T10:50:06.000Z | 2021-04-15T10:50:06.000Z | from .gat import MGRN_S
from .sp_gat import SpGAT
| 16.666667 | 25 | 0.8 | 10 | 50 | 3.8 | 0.7 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 2 | 26 | 25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2e4e62bd0363c8bca998f3ae6348ed744ee9954 | 215 | py | Python | library/rpi_inky_layout/__init__.py | DoctorU/rpi-inky-layout | 1b46cdbee3a07c99e254cce297a1b408a347cfb2 | [
"MIT"
] | 1 | 2021-03-05T12:54:23.000Z | 2021-03-05T12:54:23.000Z | library/rpi_inky_layout/__init__.py | DoctorU/rpi-inky-layout | 1b46cdbee3a07c99e254cce297a1b408a347cfb2 | [
"MIT"
] | 30 | 2021-01-16T10:09:46.000Z | 2021-05-01T13:47:48.000Z | library/rpi_inky_layout/__init__.py | DoctorU/rpi-inky-layout | 1b46cdbee3a07c99e254cce297a1b408a347cfb2 | [
"MIT"
] | null | null | null | __name__ = 'rpi_inky_layout'
from .layout import Layout # noqa: F401
from .rotation import Rotation # noqa: F401
from .position import Position # noqa: F401
from .index_order import IndexOrder # noqa: F401
| 35.833333 | 50 | 0.744186 | 29 | 215 | 5.275862 | 0.448276 | 0.20915 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068571 | 0.186047 | 215 | 5 | 51 | 43 | 0.805714 | 0.2 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2f06e8d78a1e4f1413da333583d5a89ded9a0bc | 4,268 | py | Python | experiments/half_cheetah/process_result.py | michalnand/reinforcement_learning_im | e29caa2a0b7bca3f9ff45ed949a3d3df3a40c4c1 | [
"MIT"
] | null | null | null | experiments/half_cheetah/process_result.py | michalnand/reinforcement_learning_im | e29caa2a0b7bca3f9ff45ed949a3d3df3a40c4c1 | [
"MIT"
] | null | null | null | experiments/half_cheetah/process_result.py | michalnand/reinforcement_learning_im | e29caa2a0b7bca3f9ff45ed949a3d3df3a40c4c1 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, '../../')
from libs_common.RLStatsCompute import *
import matplotlib.pyplot as plt
result_path = "./results/"
files = []
files.append("./models/ddpg_baseline/run_0/result/result.log")
files.append("./models/ddpg_baseline/run_1/result/result.log")
files.append("./models/ddpg_baseline/ru... | 44.458333 | 174 | 0.803889 | 641 | 4,268 | 5.048362 | 0.117005 | 0.080037 | 0.160074 | 0.184796 | 0.895859 | 0.848578 | 0.819839 | 0.801916 | 0.783375 | 0.571693 | 0 | 0.01356 | 0.049672 | 4,268 | 96 | 175 | 44.458333 | 0.78427 | 0 | 0 | 0.222222 | 0 | 0 | 0.336189 | 0.270048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9611a2a7903a36b684cd3df3c0d7e05c4654ea51 | 6,549 | py | Python | aisimplekit/features/stats.py | greyzor/kaggle-codebase | ce7226598b69b759f571bc9e54b5fd7acf282c6e | [
"MIT"
] | null | null | null | aisimplekit/features/stats.py | greyzor/kaggle-codebase | ce7226598b69b759f571bc9e54b5fd7acf282c6e | [
"MIT"
] | null | null | null | aisimplekit/features/stats.py | greyzor/kaggle-codebase | ce7226598b69b759f571bc9e54b5fd7acf282c6e | [
"MIT"
] | null | null | null | """
Some statistics extraction helpers.
"""
import gc
def do_count(df, group_cols, agg_name, agg_type='uint32', show_max=False, show_agg=True):
"""Count occurences on groups of columns.
:param df: input dataframe.
:type df: pd.DataFrame
:param group_cols: the columns we want to group on.
:type gro... | 34.650794 | 121 | 0.676592 | 989 | 6,549 | 4.312437 | 0.095046 | 0.065651 | 0.033763 | 0.039859 | 0.904103 | 0.904103 | 0.904103 | 0.904103 | 0.904103 | 0.894021 | 0 | 0.001956 | 0.219423 | 6,549 | 189 | 122 | 34.650794 | 0.832355 | 0.490915 | 0 | 0.661972 | 0 | 0 | 0.094098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070423 | false | 0 | 0.014085 | 0 | 0.15493 | 0.140845 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96161d432876641b21eabf32189ba8c19ab86953 | 106 | py | Python | 10/02/1/call.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | 10/02/1/call.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | 70 | 2017-06-01T11:02:51.000Z | 2017-06-30T00:35:32.000Z | 10/02/1/call.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | import package1.module
import package2.module
package1.module.some_method()
package2.module.some_method()
| 21.2 | 29 | 0.849057 | 14 | 106 | 6.285714 | 0.428571 | 0.318182 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.056604 | 106 | 4 | 30 | 26.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
824c1dc712647a9fd06f14f78e86a5a2c789c3f2 | 29,582 | py | Python | kongmingclient/tests/unit/common/test_http.py | zhengzhenyu/python-kongmingclient | 31bac4ff1206c61fc1625665bdddd5799c3bae4c | [
"Apache-2.0"
] | null | null | null | kongmingclient/tests/unit/common/test_http.py | zhengzhenyu/python-kongmingclient | 31bac4ff1206c61fc1625665bdddd5799c3bae4c | [
"Apache-2.0"
] | null | null | null | kongmingclient/tests/unit/common/test_http.py | zhengzhenyu/python-kongmingclient | 31bac4ff1206c61fc1625665bdddd5799c3bae4c | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Huawei, Inc. 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 appli... | 43.502941 | 79 | 0.554594 | 2,958 | 29,582 | 5.387762 | 0.089249 | 0.044864 | 0.046558 | 0.057602 | 0.834787 | 0.807868 | 0.772856 | 0.755161 | 0.737027 | 0.718015 | 0 | 0.025098 | 0.311744 | 29,582 | 679 | 80 | 43.56701 | 0.757662 | 0.037928 | 0 | 0.683241 | 0 | 0 | 0.193674 | 0.012489 | 0 | 0 | 0 | 0 | 0.174954 | 1 | 0.071823 | false | 0.007366 | 0.020258 | 0 | 0.095764 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82822bb3347722d6666add2853b5349ee1389109 | 2,804 | py | Python | tests/test_integration_unix.py | sezuan/aiospamc | 9a3f24b785229f3abb2abc5e0e5f94f130233946 | [
"MIT"
] | null | null | null | tests/test_integration_unix.py | sezuan/aiospamc | 9a3f24b785229f3abb2abc5e0e5f94f130233946 | [
"MIT"
] | null | null | null | tests/test_integration_unix.py | sezuan/aiospamc | 9a3f24b785229f3abb2abc5e0e5f94f130233946 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
import pytest
import aiospamc
@pytest.mark.skipif(
sys.platform == "win32", reason="Unix sockets not supported on Windows"
)
@pytest.mark.integration
@pytest.mark.asyncio
async def test_check(spamd, spam):
result = await aiospamc.check(spam, socket_path=spamd["unix"]["sock... | 25.724771 | 86 | 0.725036 | 379 | 2,804 | 5.274406 | 0.126649 | 0.135068 | 0.072036 | 0.085543 | 0.88044 | 0.810405 | 0.776388 | 0.776388 | 0.776388 | 0.776388 | 0 | 0.011609 | 0.1398 | 2,804 | 108 | 87 | 25.962963 | 0.817164 | 0.007489 | 0 | 0.584416 | 0 | 0 | 0.17074 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 1 | 0 | false | 0 | 0.038961 | 0 | 0.038961 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
829c53ae31b2937a0b92aa65b5756f3e4cf95283 | 439 | py | Python | src/controller/src/testastar.py | robot-gang/maze-runner | 03249b17e8dd2b39acd3110addb19c8ffcc59820 | [
"MIT"
] | null | null | null | src/controller/src/testastar.py | robot-gang/maze-runner | 03249b17e8dd2b39acd3110addb19c8ffcc59820 | [
"MIT"
] | null | null | null | src/controller/src/testastar.py | robot-gang/maze-runner | 03249b17e8dd2b39acd3110addb19c8ffcc59820 | [
"MIT"
] | null | null | null | from astar import *
# map = [
# [0, 1, 1, 0, 0, 1],
# [0, 0, 1, 1, 0, 0],
# [0, 0, 0, 0, 1, 0],
# [1, 0, 0, 1, 1, 0],
# [1, 1, 0, 1, 0, 0],
# [0, 0, 0, 0, 0, 0]]
map = [[1, 1, 1, 1, 1, 1],
[1, 0, 0, 0, 0, 1],
[1, 0, 0, 1, 0, 0],
[0, 0, 0, 1, 0, 0],
[1, 1, 1, 1, 1, 1]]
start = (3, 2)
goal =... | 19.086957 | 35 | 0.412301 | 92 | 439 | 1.967391 | 0.173913 | 0.265193 | 0.248619 | 0.243094 | 0.364641 | 0.353591 | 0.276243 | 0.088398 | 0 | 0 | 0 | 0.235294 | 0.302961 | 439 | 22 | 36 | 19.954545 | 0.356209 | 0.289294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.153846 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
829e2b61894c1b09d911638b3a9ae1d98d658ecd | 76 | py | Python | dbricks_setup/scope/__init__.py | SindreOsnes/dbricks_setup | 8c71c6b33cee1b17aac23d2dca68d6ce602546c7 | [
"MIT"
] | null | null | null | dbricks_setup/scope/__init__.py | SindreOsnes/dbricks_setup | 8c71c6b33cee1b17aac23d2dca68d6ce602546c7 | [
"MIT"
] | null | null | null | dbricks_setup/scope/__init__.py | SindreOsnes/dbricks_setup | 8c71c6b33cee1b17aac23d2dca68d6ce602546c7 | [
"MIT"
] | null | null | null | from ._delete import delete_scope_cli
from ._update import update_scope_cli
| 25.333333 | 37 | 0.868421 | 12 | 76 | 5 | 0.5 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 76 | 2 | 38 | 38 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82b941670c01da07cb847f1b20bdcf0068c1f6d2 | 7,589 | py | Python | src/middleware/connection.py | PatricioIribarneCatella/TP-NBA-statistics | e5a9a67a56614c63e4761316403e8ba6181ba447 | [
"MIT"
] | null | null | null | src/middleware/connection.py | PatricioIribarneCatella/TP-NBA-statistics | e5a9a67a56614c63e4761316403e8ba6181ba447 | [
"MIT"
] | null | null | null | src/middleware/connection.py | PatricioIribarneCatella/TP-NBA-statistics | e5a9a67a56614c63e4761316403e8ba6181ba447 | [
"MIT"
] | null | null | null | import sys
import zmq
from os import path
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
class ReplicationSocket(object):
def __init__(self, config):
# Get the context and create the socket
self.context = zmq.Context()
self.socket = self.context.socket(zmq.PUB)
... | 29.301158 | 67 | 0.561866 | 854 | 7,589 | 4.809133 | 0.120609 | 0.050402 | 0.053811 | 0.048697 | 0.807889 | 0.769905 | 0.724617 | 0.704651 | 0.704651 | 0.702216 | 0 | 0.003275 | 0.315984 | 7,589 | 258 | 68 | 29.414729 | 0.787902 | 0.097641 | 0 | 0.670968 | 0 | 0 | 0.047507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167742 | false | 0 | 0.019355 | 0.03871 | 0.290323 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d8ad9440055aa98f273eb2823ced52b5fd25c12 | 145 | py | Python | dpd/mapping/lane.py | davidbailey/dpd | 29bce937e34afa2161788a5c4a911e590a388229 | [
"MIT"
] | 6 | 2020-08-13T22:21:25.000Z | 2021-09-15T19:12:51.000Z | dpd/mapping/lane.py | davidbailey/dpd | 29bce937e34afa2161788a5c4a911e590a388229 | [
"MIT"
] | 3 | 2018-01-25T09:11:01.000Z | 2020-12-22T17:31:24.000Z | dpd/mapping/lane.py | davidbailey/dpd | 29bce937e34afa2161788a5c4a911e590a388229 | [
"MIT"
] | null | null | null | from .segment import Segment
class Lane(Segment):
def __init__(self, link, segment_number):
super().__init__(link, segment_number)
| 20.714286 | 46 | 0.717241 | 18 | 145 | 5.222222 | 0.611111 | 0.234043 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17931 | 145 | 6 | 47 | 24.166667 | 0.789916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7df2adb16ab7f79b911cf025d3cdcb9ff5b242c1 | 41 | py | Python | plugins/backups_plugin/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 38 | 2015-02-12T11:57:59.000Z | 2018-11-15T16:03:45.000Z | plugins/backups_plugin/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 68 | 2015-02-05T23:29:47.000Z | 2017-12-27T08:26:25.000Z | plugins/backups_plugin/__init__.py | StarryPy/StarryPy-Historic | b9dbd552b8c4631a5a8e9dda98b7ba447eca59da | [
"WTFPL"
] | 21 | 2015-02-06T18:58:21.000Z | 2017-12-24T20:08:59.000Z | from backups_plugin import BackupsPlugin
| 20.5 | 40 | 0.902439 | 5 | 41 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81759d319cf4b31c769cf2059f4c56bcd6dfdf05 | 195 | py | Python | python/testData/formatter/trailingBlockCommentsIndentationPreserved.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/trailingBlockCommentsIndentationPreserved.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/trailingBlockCommentsIndentationPreserved.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class C:
def method(self):
def foo():
def bar():
pass
# bar
# bar
# bar
# method
# class
| 17.727273 | 25 | 0.282051 | 15 | 195 | 3.666667 | 0.533333 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.641026 | 195 | 10 | 26 | 19.5 | 0.785714 | 0.123077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.6 | false | 0.2 | 0 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
c496dfb7277948961c1198296d2824e9b99f08a8 | 172 | py | Python | configs/resnet/resnet50_8xb16_doc_quality.py | ndcuong91/mmclassification | 4fcfbe6cdfbb91e2595367e6b3a21f86e363dd6b | [
"Apache-2.0"
] | null | null | null | configs/resnet/resnet50_8xb16_doc_quality.py | ndcuong91/mmclassification | 4fcfbe6cdfbb91e2595367e6b3a21f86e363dd6b | [
"Apache-2.0"
] | null | null | null | configs/resnet/resnet50_8xb16_doc_quality.py | ndcuong91/mmclassification | 4fcfbe6cdfbb91e2595367e6b3a21f86e363dd6b | [
"Apache-2.0"
] | null | null | null | _base_ = [
'../_base_/models/resnet50_doc_quality.py', '../_base_/datasets/doc_quality.py',
'../_base_/schedules/schedule_200.py', '../_base_/default_runtime.py'
]
| 34.4 | 84 | 0.69186 | 21 | 172 | 4.952381 | 0.571429 | 0.173077 | 0.230769 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032051 | 0.093023 | 172 | 4 | 85 | 43 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0.790698 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.