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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0cf4b2fc1023f5b2635c4bf77ebb83560d77cd89 | 68 | py | Python | medical_seg/evaluation/__init__.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | 11 | 2021-08-23T13:06:59.000Z | 2022-03-14T09:05:34.000Z | medical_seg/evaluation/__init__.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | null | null | null | medical_seg/evaluation/__init__.py | 920232796/MedicalSeg | 385ed000c04d828133faeaa9a56ba14488adc8c5 | [
"Apache-2.0"
] | 2 | 2022-01-12T07:58:44.000Z | 2022-03-15T04:48:57.000Z | from .evaluation import *
from .brats import *
from .helper import * | 22.666667 | 25 | 0.75 | 9 | 68 | 5.666667 | 0.555556 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 3 | 26 | 22.666667 | 0.894737 | 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 |
0b2d9333c1e09a663b3dd44e7429b7a31aa0d4d4 | 9,923 | py | Python | src/datadog/azext_datadog/generated/custom.py | limingu/azure-cli-extensions | 1bc29f089f4da42ab8905e440f2f46d6b5b0aa97 | [
"MIT"
] | null | null | null | src/datadog/azext_datadog/generated/custom.py | limingu/azure-cli-extensions | 1bc29f089f4da42ab8905e440f2f46d6b5b0aa97 | [
"MIT"
] | 1 | 2020-07-13T22:08:43.000Z | 2020-07-13T22:08:43.000Z | src/datadog/azext_datadog/generated/custom.py | limingu/azure-cli-extensions | 1bc29f089f4da42ab8905e440f2f46d6b5b0aa97 | [
"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.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incor... | 43.143478 | 91 | 0.508616 | 857 | 9,923 | 5.3979 | 0.129522 | 0.168612 | 0.216818 | 0.191959 | 0.760052 | 0.739083 | 0.700821 | 0.654345 | 0.621487 | 0.602032 | 0 | 0 | 0.437569 | 9,923 | 229 | 92 | 43.331878 | 0.828884 | 0.05059 | 0 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0.005714 | 0.005714 | 0.114286 | 0.251429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
0b43f229ad21d445524c4cd3e40e316618b30621 | 22,847 | py | Python | spark_fhir_schemas/r4/complex_types/contract_asset.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/complex_types/contract_asset.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | spark_fhir_schemas/r4/complex_types/contract_asset.py | icanbwell/SparkFhirSchemas | 8c828313c39850b65f8676e67f526ee92b7d624e | [
"Apache-2.0"
] | null | null | null | from typing import Union, List, Optional
from pyspark.sql.types import StructType, StructField, StringType, ArrayType, DataType
# This file is auto-generated by generate_schema so do not edit it manually
# noinspection PyPep8Naming
class Contract_AssetSchema:
"""
Legally enforceable, formally recorded unilat... | 48.922912 | 104 | 0.528603 | 1,995 | 22,847 | 5.782456 | 0.128321 | 0.063454 | 0.040309 | 0.058252 | 0.792129 | 0.776439 | 0.761703 | 0.741418 | 0.723561 | 0.723561 | 0 | 0.002376 | 0.428853 | 22,847 | 466 | 105 | 49.027897 | 0.881677 | 0.226813 | 0 | 0.674352 | 1 | 0 | 0.026307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002882 | false | 0 | 0.0317 | 0 | 0.043228 | 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 |
0b54bd198fe5b1a5eff5d844bd1b529b5f73b085 | 281 | py | Python | models/__init__.py | LostInBrittany/experts-app-backend | d62a34456e5e876365eee91f1de2e03a3d74827c | [
"Apache-2.0"
] | 10 | 2015-10-02T07:35:47.000Z | 2021-09-08T18:28:13.000Z | models/__init__.py | LostInBrittany/experts-app-backend | d62a34456e5e876365eee91f1de2e03a3d74827c | [
"Apache-2.0"
] | 34 | 2015-07-04T20:16:18.000Z | 2018-04-22T03:11:08.000Z | models/__init__.py | LostInBrittany/experts-app-backend | d62a34456e5e876365eee91f1de2e03a3d74827c | [
"Apache-2.0"
] | 5 | 2015-12-17T15:02:09.000Z | 2022-01-14T18:47:48.000Z | from .activity_post import ActivityPost
from .activity_record import ActivityRecord
from .activity_record import ActivityMetaData
from .account import Account
from .activity_type import ActivityType
from .product_group import ProductGroup
from .activity_group import ActivityGroup
| 35.125 | 45 | 0.875445 | 34 | 281 | 7.058824 | 0.441176 | 0.25 | 0.15 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099644 | 281 | 7 | 46 | 40.142857 | 0.948617 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0b88502ee31354abb821f307fb66aed3a7fd21b4 | 19,374 | py | Python | diagnostics/RRMHD/plot_kspectrum.py | ykawazura/calliope | 343b72a0930d70332172a5d87a579b0f8dcced66 | [
"MIT"
] | 2 | 2022-02-04T19:27:11.000Z | 2022-02-05T05:37:38.000Z | diagnostics/RRMHD/plot_kspectrum.py | ykawazura/calliope | 343b72a0930d70332172a5d87a579b0f8dcced66 | [
"MIT"
] | null | null | null | diagnostics/RRMHD/plot_kspectrum.py | ykawazura/calliope | 343b72a0930d70332172a5d87a579b0f8dcced66 | [
"MIT"
] | 2 | 2022-02-03T10:45:48.000Z | 2022-02-03T10:48:28.000Z | # -*- coding: utf-8 -*-
from load import *
from fft import *
from plots import *
print('\nplotting kspectrum\n')
outdir = './fig_kspectrum/'
upe2_bin = sum_negative_kz2d(upe2_bin)
bpe2_bin = sum_negative_kz2d(bpe2_bin)
upa2_bin = sum_negative_kz2d(upa2_bin)
bpa2_bin = sum_negative_kz2d(bpa2_bin)
ux2_bin ... | 49.676923 | 192 | 0.470063 | 2,664 | 19,374 | 3.033408 | 0.047673 | 0.088479 | 0.147012 | 0.098998 | 0.882812 | 0.862022 | 0.854721 | 0.803118 | 0.801757 | 0.798911 | 0 | 0.031199 | 0.366367 | 19,374 | 389 | 193 | 49.804627 | 0.627077 | 0.031382 | 0 | 0.432961 | 0 | 0 | 0.060409 | 0.013021 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.00838 | 0 | 0.00838 | 0.002793 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0bb1961cf283c490645b9723db267a2de4f7f348 | 76 | py | Python | app/controllers/__init__.py | ZehLuckmann/integracao | 030f5f696367857b9a47dfec703f2a1b3021a26e | [
"MIT"
] | 2 | 2019-03-02T22:18:18.000Z | 2020-05-14T21:21:35.000Z | app/controllers/__init__.py | ZehLuckmann/integracao | 030f5f696367857b9a47dfec703f2a1b3021a26e | [
"MIT"
] | null | null | null | app/controllers/__init__.py | ZehLuckmann/integracao | 030f5f696367857b9a47dfec703f2a1b3021a26e | [
"MIT"
] | null | null | null | # app/controllers/__init__.py
# coding:utf-8
from app.controllers import *
| 15.2 | 29 | 0.763158 | 11 | 76 | 4.909091 | 0.818182 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.118421 | 76 | 4 | 30 | 19 | 0.791045 | 0.526316 | 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 |
f045454c44f5748f54fb9edeb8683d33773ca946 | 71 | py | Python | ONet/defense/__init__.py | code-roamer/IF-Defense | 4e2462b66fa1eac90cfbf61fa0dc635d223fdf2f | [
"MIT"
] | 36 | 2020-10-07T05:52:15.000Z | 2022-03-11T03:05:32.000Z | ONet/defense/__init__.py | code-roamer/IF-Defense | 4e2462b66fa1eac90cfbf61fa0dc635d223fdf2f | [
"MIT"
] | 9 | 2021-01-04T02:11:36.000Z | 2021-11-23T16:21:59.000Z | ONet/defense/__init__.py | Wuziyi616/IF-Defense | 4b1d69d03d76e8d5ca1b4d45f81a8c9c60791263 | [
"MIT"
] | 6 | 2020-11-29T02:13:55.000Z | 2021-12-06T08:19:16.000Z | from .SOR import SORDefense
from .repulsion_loss import repulsion_loss
| 23.666667 | 42 | 0.859155 | 10 | 71 | 5.9 | 0.6 | 0.440678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 43 | 35.5 | 0.936508 | 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 |
f054a6e6d6cde64fa78480f407f69b16ed6b70b3 | 5,135 | py | Python | api/plans/sql_func.py | D00dleman/l2 | 0870144537ee340cd8db053a608d731e186f02fb | [
"MIT"
] | 10 | 2018-03-14T06:17:06.000Z | 2022-03-10T05:33:34.000Z | api/plans/sql_func.py | hlebuschek/l2 | 2f25cf69b990121c3109fb7bbff04c09ca284694 | [
"MIT"
] | 512 | 2018-09-10T07:37:34.000Z | 2022-03-30T02:23:43.000Z | api/plans/sql_func.py | D00dleman/l2 | 0870144537ee340cd8db053a608d731e186f02fb | [
"MIT"
] | 24 | 2018-07-31T05:52:12.000Z | 2022-02-08T00:39:41.000Z | from django.db import connection
from laboratory.settings import TIME_ZONE
def get_plans_by_params_sql(d_s, d_e, doc_operate_id, doc_anesthetist_id, department):
"""
парам: d_s - date-start, d_e - date-end, doc_operate, doc_anesthetist, deparment
:return:
"""
with connection.cursor() as cursor:
... | 47.990654 | 172 | 0.666796 | 718 | 5,135 | 4.43454 | 0.119777 | 0.030151 | 0.045226 | 0.032977 | 0.81407 | 0.75691 | 0.714196 | 0.714196 | 0.714196 | 0.687814 | 0 | 0.000792 | 0.262317 | 5,135 | 106 | 173 | 48.443396 | 0.839757 | 0.035248 | 0 | 0.444444 | 0 | 0 | 0.09691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 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 |
f08474e5767b8c9877afcf8e3e1fd60d0d3a21c2 | 221 | py | Python | gangue.py | Shardj/py-gangue | d02e4e0b0c85069cb4ca9c507be77ecaac51dd73 | [
"MIT"
] | null | null | null | gangue.py | Shardj/py-gangue | d02e4e0b0c85069cb4ca9c507be77ecaac51dd73 | [
"MIT"
] | null | null | null | gangue.py | Shardj/py-gangue | d02e4e0b0c85069cb4ca9c507be77ecaac51dd73 | [
"MIT"
] | null | null | null | # Entry point
import pyfiglet
from app.configs.local import projectName
print(pyfiglet.figlet_format(projectName, font = "slant"))
import core.packages.router.route_manager as route_manager
route_manager.RouteManger()
| 22.1 | 58 | 0.823529 | 29 | 221 | 6.137931 | 0.724138 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095023 | 221 | 9 | 59 | 24.555556 | 0.89 | 0.049774 | 0 | 0 | 0 | 0 | 0.024038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0.2 | 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 |
f0849556e0a13e8caa72be8225fd3bc0fe323167 | 29,633 | py | Python | elyra/tests/pipeline/test_validation.py | el-aasi/elyra | bd06a22c97a5e6083d5a29d88303142e826e2eab | [
"Apache-2.0"
] | 1 | 2022-02-18T14:21:33.000Z | 2022-02-18T14:21:33.000Z | elyra/tests/pipeline/test_validation.py | el-aasi/elyra | bd06a22c97a5e6083d5a29d88303142e826e2eab | [
"Apache-2.0"
] | null | null | null | elyra/tests/pipeline/test_validation.py | el-aasi/elyra | bd06a22c97a5e6083d5a29d88303142e826e2eab | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2018-2022 Elyra Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 48.89934 | 117 | 0.653326 | 3,095 | 29,633 | 5.95832 | 0.110178 | 0.059867 | 0.057101 | 0.02733 | 0.802397 | 0.76818 | 0.75061 | 0.731522 | 0.719755 | 0.701752 | 0 | 0.026134 | 0.240745 | 29,633 | 605 | 118 | 48.980165 | 0.793502 | 0.040394 | 0 | 0.683406 | 0 | 0.004367 | 0.170961 | 0.075431 | 0 | 0 | 0 | 0 | 0.283843 | 1 | 0.054585 | false | 0 | 0.019651 | 0 | 0.076419 | 0.002183 | 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 |
b2caa5e05898f9af61dd2127cdd25861fa8ba33e | 48 | py | Python | src/widgets/js_interface.py | charlestian/NetEaseMusic | 5d8fa4747fcecabb5a09174ff6838718d62c2b31 | [
"MIT"
] | 19 | 2015-04-18T15:16:58.000Z | 2021-04-12T06:19:48.000Z | src/widgets/js_interface.py | charlestian/NetEaseMusic | 5d8fa4747fcecabb5a09174ff6838718d62c2b31 | [
"MIT"
] | null | null | null | src/widgets/js_interface.py | charlestian/NetEaseMusic | 5d8fa4747fcecabb5a09174ff6838718d62c2b31 | [
"MIT"
] | 12 | 2015-04-18T15:16:59.000Z | 2016-04-20T17:22:58.000Z | # -*- coding: utf8 -*-
def js_test():
pass | 9.6 | 22 | 0.5 | 6 | 48 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.270833 | 48 | 5 | 23 | 9.6 | 0.628571 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b2e06e63daa5c48b0b71e14d79ded7d54d194008 | 192 | py | Python | ssl_framework/models/__init__.py | ananyahjha93/libself | f43cf8d60db97bb47652eecf06efa1801e850b9f | [
"MIT"
] | 11 | 2020-02-14T21:29:45.000Z | 2021-07-30T18:49:47.000Z | ssl_framework/models/__init__.py | ananyahjha93/libself | f43cf8d60db97bb47652eecf06efa1801e850b9f | [
"MIT"
] | null | null | null | ssl_framework/models/__init__.py | ananyahjha93/libself | f43cf8d60db97bb47652eecf06efa1801e850b9f | [
"MIT"
] | 2 | 2020-10-21T08:11:12.000Z | 2020-11-20T11:57:43.000Z | from ssl_framework.models.abstract_image_model import AbstractImageModel
from ssl_framework.models.jigsaw_image_model import JigsawImageModel
MODELS = {'jigsaw_image_model': JigsawImageModel} | 48 | 72 | 0.885417 | 23 | 192 | 7.043478 | 0.478261 | 0.185185 | 0.197531 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 192 | 4 | 73 | 48 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.093264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b2e7573fa0f891e845e390e8c0f61b291ad3a46d | 7,913 | py | Python | unittests/tools/test_rusty_hog_parser.py | dant24/django-DefectDojo | caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9 | [
"BSD-3-Clause"
] | 249 | 2016-09-06T21:04:40.000Z | 2018-01-19T15:59:44.000Z | unittests/tools/test_rusty_hog_parser.py | dant24/django-DefectDojo | caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9 | [
"BSD-3-Clause"
] | 255 | 2016-09-06T21:36:37.000Z | 2018-01-19T19:57:57.000Z | unittests/tools/test_rusty_hog_parser.py | dant24/django-DefectDojo | caf5c91b3f8870d5f466dfaaf5a3a096f8812ad9 | [
"BSD-3-Clause"
] | 152 | 2016-09-06T21:04:54.000Z | 2018-01-18T08:52:24.000Z | from ..dojo_test_case import DojoTestCase
from dojo.tools.rusty_hog.parser import RustyhogParser
from dojo.models import Test
class TestRustyhogParser(DojoTestCase):
def test_parse_file_with_no_vuln_has_no_finding_choctawhog(self):
testfile = open("unittests/scans/rusty_hog/choctawhog_no_vuln.json")
... | 64.333333 | 168 | 0.728295 | 969 | 7,913 | 5.723426 | 0.154799 | 0.04057 | 0.074648 | 0.073567 | 0.845835 | 0.816985 | 0.76722 | 0.727191 | 0.705914 | 0.687523 | 0 | 0.032016 | 0.159232 | 7,913 | 122 | 169 | 64.860656 | 0.801593 | 0.029192 | 0 | 0.457143 | 0 | 0.019048 | 0.330989 | 0.153966 | 0 | 0 | 0 | 0 | 0.352381 | 1 | 0.152381 | false | 0.047619 | 0.028571 | 0 | 0.190476 | 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 |
b2e78a69de6fc2be7c4e9fe169690ca194efddff | 57 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_0/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_0/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/completion/heavyStarPropagation/lib/_pkg0/_pkg0_1/_pkg0_1_0/_pkg0_1_0_0/__init__.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | from ._pkg0_1_0_0_0 import *
from ._pkg0_1_0_0_1 import * | 28.5 | 28 | 0.807018 | 14 | 57 | 2.571429 | 0.357143 | 0.166667 | 0.5 | 0.555556 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.122807 | 57 | 2 | 29 | 28.5 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
65097c30e1205d3034b5c43cf99668a38c509448 | 12,340 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimWindowLiningProps_WindowLiningProps_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimWindowLiningProps_WindowLiningProps_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimWindowLiningProps_WindowLiningProps_Default.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 45.201465 | 187 | 0.774716 | 1,177 | 12,340 | 7.558199 | 0.129992 | 0.382644 | 0.390737 | 0.230216 | 0.728417 | 0.68424 | 0.643435 | 0.518323 | 0.458746 | 0.394447 | 0 | 0.001633 | 0.156402 | 12,340 | 272 | 188 | 45.367647 | 0.85293 | 0.023825 | 0 | 0.37619 | 1 | 0 | 0.027252 | 0.00781 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17619 | false | 0.009524 | 0.052381 | 0.138095 | 0.566667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
65467e19011fcc02b1dcab797dc65337f2d1d443 | 13,316 | py | Python | tests/test_tvdb.py | eSoares/subliminal | e25589dbcc5b2455bf9f0b49cf2083bb0eae449f | [
"MIT"
] | 1,838 | 2015-01-01T16:48:32.000Z | 2022-03-31T16:22:36.000Z | tests/test_tvdb.py | eSoares/subliminal | e25589dbcc5b2455bf9f0b49cf2083bb0eae449f | [
"MIT"
] | 650 | 2015-01-04T23:13:51.000Z | 2022-03-13T19:45:56.000Z | tests/test_tvdb.py | eSoares/subliminal | e25589dbcc5b2455bf9f0b49cf2083bb0eae449f | [
"MIT"
] | 327 | 2015-01-04T20:17:32.000Z | 2022-03-15T10:52:23.000Z | # -*- coding: utf-8 -*-
from datetime import datetime, timedelta
import os
import time
import pytest
import requests
from vcr import VCR
from subliminal import __short_version__
from subliminal.video import Episode
from subliminal.refiners.tvdb import TVDBClient, refine, series_re
vcr = VCR(path_transformer=lambda p... | 33.206983 | 109 | 0.740012 | 1,782 | 13,316 | 5.302469 | 0.10101 | 0.115568 | 0.053974 | 0.071119 | 0.813102 | 0.779765 | 0.746957 | 0.724839 | 0.684094 | 0.659752 | 0 | 0.019244 | 0.149294 | 13,316 | 400 | 110 | 33.29 | 0.814883 | 0.001577 | 0 | 0.60559 | 0 | 0 | 0.067028 | 0.001805 | 0 | 0 | 0 | 0 | 0.453416 | 1 | 0.114907 | false | 0 | 0.02795 | 0.003106 | 0.145963 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e8ef768e8dc5385677795f0f90f8794cf078f678 | 29,444 | py | Python | tests/test_domain.py | robertatakenaka/document-store | 0598394131ae8db03c28d98babaff201299de49b | [
"BSD-2-Clause"
] | null | null | null | tests/test_domain.py | robertatakenaka/document-store | 0598394131ae8db03c28d98babaff201299de49b | [
"BSD-2-Clause"
] | null | null | null | tests/test_domain.py | robertatakenaka/document-store | 0598394131ae8db03c28d98babaff201299de49b | [
"BSD-2-Clause"
] | null | null | null | import unittest
from unittest import mock
import functools
from copy import deepcopy
import datetime
from documentstore import domain, exceptions
SAMPLE_MANIFEST = {
"id": "0034-8910-rsp-48-2-0275",
"versions": [
{
"data": "/rawfiles/7ca9f9b2687cb/0034-8910-rsp-48-2-0275.xml",
... | 41.18042 | 110 | 0.627938 | 3,361 | 29,444 | 5.286522 | 0.081821 | 0.157868 | 0.084815 | 0.100236 | 0.87348 | 0.859973 | 0.82052 | 0.796826 | 0.767729 | 0.736549 | 0 | 0.127452 | 0.250408 | 29,444 | 714 | 111 | 41.238095 | 0.677586 | 0.006385 | 0 | 0.527157 | 0 | 0.009585 | 0.235214 | 0.133523 | 0 | 0 | 0 | 0 | 0.145367 | 1 | 0.113419 | false | 0 | 0.009585 | 0.001597 | 0.134185 | 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 |
334cb3d830996f9637c4a2fb5417a9a4efc8e75b | 4,456 | py | Python | evolved5g/swagger_client/models/__init__.py | EVOLVED-5G/SDK-CLI | 0f289c7b21c14c3e349164d21cc78d9b6af0a237 | [
"Apache-2.0"
] | 3 | 2021-10-19T14:37:14.000Z | 2021-11-01T10:43:33.000Z | evolved5g/swagger_client/models/__init__.py | skolome/evolved5g_cli | b202a878befe22b8dda66ee05610408777f4f006 | [
"Apache-2.0"
] | 14 | 2021-11-02T10:30:56.000Z | 2022-03-10T11:30:59.000Z | evolved5g/swagger_client/models/__init__.py | skolome/evolved5g_cli | b202a878befe22b8dda66ee05610408777f4f006 | [
"Apache-2.0"
] | 1 | 2021-11-16T16:20:31.000Z | 2021-11-16T16:20:31.000Z | # coding: utf-8
# flake8: noqa
"""
NEF_Emulator
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 0.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import... | 65.529412 | 144 | 0.898115 | 568 | 4,456 | 6.75 | 0.230634 | 0.172926 | 0.266041 | 0.345853 | 0.525561 | 0.392019 | 0.194053 | 0.144236 | 0.031299 | 0.031299 | 0 | 0.015983 | 0.059246 | 4,456 | 67 | 145 | 66.507463 | 0.898616 | 0.063959 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.019231 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
335b8896fdf029c6a3343b87562bffeb771f09dc | 15,571 | py | Python | src/encoded/tests/test_audit_reference_epigenome.py | procha2/regulome-encoded | 327a097ebb539d1b4770145a598de08b579234f9 | [
"MIT"
] | null | null | null | src/encoded/tests/test_audit_reference_epigenome.py | procha2/regulome-encoded | 327a097ebb539d1b4770145a598de08b579234f9 | [
"MIT"
] | 38 | 2019-03-22T14:11:51.000Z | 2022-03-30T23:56:09.000Z | src/encoded/tests/test_audit_reference_epigenome.py | procha2/regulome-encoded | 327a097ebb539d1b4770145a598de08b579234f9 | [
"MIT"
] | 2 | 2020-10-01T11:48:07.000Z | 2021-02-23T06:33:15.000Z | import pytest
@pytest.fixture
def reference_epigenome_1(testapp, lab, award):
item = {
'award': award['@id'],
'lab': lab['@id']
}
return testapp.post_json('/reference_epigenome', item).json['@graph'][0]
@pytest.fixture
def reference_experiment_RNA_seq(testapp, lab, award, ileum):
ite... | 40.235142 | 100 | 0.541198 | 1,450 | 15,571 | 5.528966 | 0.068966 | 0.104278 | 0.060247 | 0.068105 | 0.852563 | 0.787452 | 0.763128 | 0.759885 | 0.729575 | 0.716852 | 0 | 0.035807 | 0.329202 | 15,571 | 386 | 101 | 40.339378 | 0.731738 | 0 | 0 | 0.676829 | 0 | 0 | 0.226832 | 0.022863 | 0 | 0 | 0 | 0 | 0.015244 | 1 | 0.073171 | false | 0 | 0.003049 | 0 | 0.137195 | 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 |
684fd931660a2c9bf35be0acf6b1ef0563e40de1 | 37 | py | Python | densenet/__init__.py | cr3ux53c/DenseNet-Tensorflow2 | 208143bf4086c407e524e01cd945fd3b0741b48d | [
"MIT"
] | 15 | 2019-06-04T20:49:37.000Z | 2022-03-03T03:03:00.000Z | densenet/__init__.py | cr3ux53c/DenseNet-Tensorflow2 | 208143bf4086c407e524e01cd945fd3b0741b48d | [
"MIT"
] | null | null | null | densenet/__init__.py | cr3ux53c/DenseNet-Tensorflow2 | 208143bf4086c407e524e01cd945fd3b0741b48d | [
"MIT"
] | 9 | 2020-02-09T16:01:10.000Z | 2022-01-24T19:14:37.000Z | from .densenet import densenet_model
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 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 |
685980a392657e59e028ee8df4fcea56ae6b18f2 | 318 | py | Python | duty/__init__.py | ximetov/IrCa-Duty | 666c2d26c9cd7d314798cfb222ad91dfeee4a5b6 | [
"MIT"
] | 6 | 2020-05-18T21:53:27.000Z | 2020-07-06T12:48:00.000Z | duty/__init__.py | ximetov/IrCa-Duty | 666c2d26c9cd7d314798cfb222ad91dfeee4a5b6 | [
"MIT"
] | null | null | null | duty/__init__.py | ximetov/IrCa-Duty | 666c2d26c9cd7d314798cfb222ad91dfeee4a5b6 | [
"MIT"
] | 6 | 2020-05-13T16:16:15.000Z | 2020-06-23T12:05:09.000Z | from os.path import join, dirname
from .app import app
from duty.objects import __version__
from .iris_listener import __name__
from .icad_listener import __name__
from .longpoll_listener import __name__
from .my_signals import __name__
from .callback_signals import __name__
from .longpoll_signals import __name__
| 24.461538 | 39 | 0.842767 | 45 | 318 | 5.2 | 0.4 | 0.25641 | 0.299145 | 0.282051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125786 | 318 | 12 | 40 | 26.5 | 0.841727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
685a6050758b81a002467be41c25bf7019789ba8 | 145 | py | Python | Round A Kick Start 2018/Even Digits (8pts, 15pts)/code/test_findX.py | wangyuxiang0829/Google-Kick-Start | 13146d7887ea72e1c98a49b754b36640668174c4 | [
"MIT"
] | null | null | null | Round A Kick Start 2018/Even Digits (8pts, 15pts)/code/test_findX.py | wangyuxiang0829/Google-Kick-Start | 13146d7887ea72e1c98a49b754b36640668174c4 | [
"MIT"
] | null | null | null | Round A Kick Start 2018/Even Digits (8pts, 15pts)/code/test_findX.py | wangyuxiang0829/Google-Kick-Start | 13146d7887ea72e1c98a49b754b36640668174c4 | [
"MIT"
] | null | null | null | import answer
def test_findX():
assert answer.findX(23522) == 22888
assert answer.findX(13000) == 8888
assert answer.findX(2) == 2
| 18.125 | 39 | 0.668966 | 20 | 145 | 4.8 | 0.55 | 0.375 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182609 | 0.206897 | 145 | 7 | 40 | 20.714286 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.2 | true | 0 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
686875aa29e7d8ea5641f45a77b1151c0013ad38 | 25 | py | Python | sana_pchr/forms/admin/__init__.py | SanaMobile/sana.pchr.oss-web | 2b2fd75a1730f1743e28b4499bb1ba76fa100970 | [
"BSD-3-Clause"
] | null | null | null | sana_pchr/forms/admin/__init__.py | SanaMobile/sana.pchr.oss-web | 2b2fd75a1730f1743e28b4499bb1ba76fa100970 | [
"BSD-3-Clause"
] | null | null | null | sana_pchr/forms/admin/__init__.py | SanaMobile/sana.pchr.oss-web | 2b2fd75a1730f1743e28b4499bb1ba76fa100970 | [
"BSD-3-Clause"
] | 2 | 2018-06-07T21:54:08.000Z | 2018-07-11T20:40:19.000Z | from .physician import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
d7fba856b779338179132c8a8f4e93af3b23ec19 | 115 | py | Python | tests/__init__.py | PtitCaius/taskwiki | 8c4da3a744fd1aa22bfb0369658cecc925e77fd0 | [
"MIT"
] | 465 | 2015-03-27T09:42:18.000Z | 2020-07-18T20:35:19.000Z | tests/__init__.py | PtitCaius/taskwiki | 8c4da3a744fd1aa22bfb0369658cecc925e77fd0 | [
"MIT"
] | 272 | 2015-01-10T20:38:02.000Z | 2020-07-16T12:55:15.000Z | tests/__init__.py | PtitCaius/taskwiki | 8c4da3a744fd1aa22bfb0369658cecc925e77fd0 | [
"MIT"
] | 66 | 2015-03-21T16:33:39.000Z | 2020-07-12T09:20:29.000Z | import os
import sys
path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.insert(0, path)
| 19.166667 | 67 | 0.756522 | 20 | 115 | 4.15 | 0.45 | 0.216867 | 0.313253 | 0.361446 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.086957 | 115 | 5 | 68 | 23 | 0.780952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0bdd64b10c28bc415cc476b1a6964d9232be1916 | 152 | py | Python | cacreader/swig-4.0.2/Examples/test-suite/python/keyword_rename_runme.py | kyletanyag/LL-Smartcard | 02abea9de5a13f8bae4d7832ab34cb7f0d9514c9 | [
"BSD-3-Clause"
] | 1,031 | 2015-01-02T14:08:47.000Z | 2022-03-29T02:25:27.000Z | cacreader/swig-4.0.2/Examples/test-suite/python/keyword_rename_runme.py | kyletanyag/LL-Smartcard | 02abea9de5a13f8bae4d7832ab34cb7f0d9514c9 | [
"BSD-3-Clause"
] | 240 | 2015-01-11T04:27:19.000Z | 2022-03-30T00:35:57.000Z | cacreader/swig-4.0.2/Examples/test-suite/python/keyword_rename_runme.py | kyletanyag/LL-Smartcard | 02abea9de5a13f8bae4d7832ab34cb7f0d9514c9 | [
"BSD-3-Clause"
] | 224 | 2015-01-05T06:13:54.000Z | 2022-02-25T14:39:51.000Z | #!/usr/bin/env python
import keyword_rename
keyword_rename._in(1)
keyword_rename._in(_except=1)
keyword_rename._except(1)
keyword_rename._except(_in=1)
| 21.714286 | 29 | 0.822368 | 25 | 152 | 4.56 | 0.4 | 0.570175 | 0.368421 | 0.350877 | 0.403509 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.052632 | 152 | 6 | 30 | 25.333333 | 0.763889 | 0.131579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04231e87c099348d8119eb313bea9caff1f09251 | 82 | py | Python | tests/asp/gringo/modelchecker.016.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/gringo/modelchecker.016.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/gringo/modelchecker.016.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
c | d.
a | b :- c.
a :- b.
b :- a.
"""
output = """
{d}
{c, a, b}
"""
| 7.454545 | 12 | 0.292683 | 15 | 82 | 1.6 | 0.4 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317073 | 82 | 10 | 13 | 8.2 | 0.428571 | 0 | 0 | 0.2 | 0 | 0 | 0.621951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f0cf39429c93e9e2b16ab221fc081d560b484e4c | 10,512 | py | Python | tests/contrib/test_algorithms.py | GeoffRichards/pyjwt | ec17f67c54d2d6c91def8ced366a88a8c797b110 | [
"MIT"
] | null | null | null | tests/contrib/test_algorithms.py | GeoffRichards/pyjwt | ec17f67c54d2d6c91def8ced366a88a8c797b110 | [
"MIT"
] | null | null | null | tests/contrib/test_algorithms.py | GeoffRichards/pyjwt | ec17f67c54d2d6c91def8ced366a88a8c797b110 | [
"MIT"
] | null | null | null | import base64
import pytest
from jwt.utils import force_bytes, force_unicode
from ..utils import key_path
try:
from jwt.contrib.algorithms.pycrypto import RSAAlgorithm
has_pycrypto = True
except ImportError:
has_pycrypto = False
try:
from jwt.contrib.algorithms.py_ecdsa import ECAlgorithm
has... | 35.04 | 112 | 0.688642 | 1,152 | 10,512 | 5.953993 | 0.105035 | 0.028867 | 0.043301 | 0.045925 | 0.888468 | 0.878991 | 0.859309 | 0.808573 | 0.771541 | 0.725762 | 0 | 0.061101 | 0.230879 | 10,512 | 299 | 113 | 35.157191 | 0.78726 | 0.00704 | 0 | 0.698113 | 0 | 0 | 0.208837 | 0.157945 | 0 | 0 | 0 | 0 | 0.056604 | 1 | 0.089623 | false | 0 | 0.04717 | 0 | 0.160377 | 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 |
f0e5b02f56e865ced4cd2a59e2fd6e5f868cad09 | 146 | py | Python | client_wishlist/customers/admin.py | EVolpert/client_whishlist | b2da64a53e978bc77bc4fb9a8c9b9dc4af66c5b1 | [
"CC0-1.0"
] | null | null | null | client_wishlist/customers/admin.py | EVolpert/client_whishlist | b2da64a53e978bc77bc4fb9a8c9b9dc4af66c5b1 | [
"CC0-1.0"
] | 5 | 2021-03-30T14:20:02.000Z | 2021-09-22T19:29:15.000Z | client_wishlist/customers/admin.py | EVolpert/client_whishlist | b2da64a53e978bc77bc4fb9a8c9b9dc4af66c5b1 | [
"CC0-1.0"
] | 1 | 2020-08-18T16:35:12.000Z | 2020-08-18T16:35:12.000Z | from django.contrib import admin
from customers.models import Customer
@admin.register(Customer)
class CustomerAdmin(admin.ModelAdmin):
pass | 20.857143 | 38 | 0.815068 | 18 | 146 | 6.611111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116438 | 146 | 7 | 39 | 20.857143 | 0.922481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 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 |
0b10f714d2e6e68f9180c75d1a5b01bd5eb32248 | 19 | py | Python | app/models/__init__.py | jscottcronin/recommender_deployed | 6579e751e368c0478020bd15cbf1f98bc99a14e9 | [
"MIT"
] | 1 | 2018-04-24T17:25:39.000Z | 2018-04-24T17:25:39.000Z | app/models/__init__.py | jscottcronin/recommender_deployed | 6579e751e368c0478020bd15cbf1f98bc99a14e9 | [
"MIT"
] | null | null | null | app/models/__init__.py | jscottcronin/recommender_deployed | 6579e751e368c0478020bd15cbf1f98bc99a14e9 | [
"MIT"
] | null | null | null | from .fm import FM
| 9.5 | 18 | 0.736842 | 4 | 19 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 1 | 19 | 19 | 0.933333 | 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 |
9bc2489c04f09d77214a76e5db78d5ccd66ea68a | 34 | py | Python | api/__init__.py | ticet11/AbBOT-api | 355bcf19a18a12692f544c9d968637681597d6ba | [
"MIT"
] | 11 | 2021-09-04T02:24:38.000Z | 2022-02-28T19:03:44.000Z | api/__init__.py | ramblingjordan/AbBOT-api | 36217744444629ecdb134e01fe838e8eea92d4bf | [
"MIT"
] | 12 | 2021-09-04T15:15:04.000Z | 2021-09-20T22:07:27.000Z | api/__init__.py | ticet11/AbBOT-api | 355bcf19a18a12692f544c9d968637681597d6ba | [
"MIT"
] | 11 | 2021-09-04T02:25:53.000Z | 2021-09-06T15:50:56.000Z | from .server import start_server
| 17 | 33 | 0.823529 | 5 | 34 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.931034 | 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 |
5019523e9735ebef1ed9ba94ec8b5edd4bf93212 | 33 | py | Python | trunk/VyPy/optimize/Remember.py | jiaxu825/VyPy | 47100bad9dea46f12cb8bfa1ba86886e06f5c85d | [
"BSD-3-Clause"
] | 3 | 2015-01-22T02:03:14.000Z | 2022-03-15T21:50:50.000Z | trunk/VyPy/optimize/Remember.py | jiaxu825/VyPy | 47100bad9dea46f12cb8bfa1ba86886e06f5c85d | [
"BSD-3-Clause"
] | 3 | 2015-02-06T19:12:04.000Z | 2015-05-01T10:04:12.000Z | trunk/VyPy/optimize/Remember.py | jiaxu825/VyPy | 47100bad9dea46f12cb8bfa1ba86886e06f5c85d | [
"BSD-3-Clause"
] | 1 | 2020-09-25T13:26:54.000Z | 2020-09-25T13:26:54.000Z |
from ..parallel import Remember | 16.5 | 31 | 0.787879 | 4 | 33 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 2 | 31 | 16.5 | 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 |
5042a06143047456fa02c483ab55d867a33a9b87 | 50,254 | py | Python | tests/test_client.py | jyothish6190/sift-python | a3dbfc5f043e4992ed6aa977da579fab49001cb4 | [
"MIT"
] | null | null | null | tests/test_client.py | jyothish6190/sift-python | a3dbfc5f043e4992ed6aa977da579fab49001cb4 | [
"MIT"
] | null | null | null | tests/test_client.py | jyothish6190/sift-python | a3dbfc5f043e4992ed6aa977da579fab49001cb4 | [
"MIT"
] | null | null | null | import datetime
import warnings
import json
import mock
import sift
import unittest
import sys
import requests.exceptions
if sys.version_info[0] < 3:
import urllib
else:
import urllib.parse as urllib
def valid_transaction_properties():
return {
'$buyer_user_id': '123456',
'$seller_user_id'... | 41.669983 | 119 | 0.581705 | 5,301 | 50,254 | 5.219393 | 0.057914 | 0.085008 | 0.044022 | 0.021975 | 0.864139 | 0.843068 | 0.818671 | 0.788022 | 0.768541 | 0.754446 | 0 | 0.026954 | 0.3031 | 50,254 | 1,205 | 120 | 41.704564 | 0.763063 | 0.014188 | 0 | 0.63814 | 0 | 0.004651 | 0.264572 | 0.013208 | 0 | 0 | 0 | 0 | 0.173953 | 1 | 0.053953 | false | 0 | 0.009302 | 0.004651 | 0.068837 | 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 |
acee07184eccee56bc00263e8140ad8eabcf1233 | 1,373 | py | Python | Paris/2015/2015-05-21-Power4-Python-Randori/power4_test.py | murex/coding-dojo | 7e84cc971f6716d9ff2c3cbf22c11cfe93d8d275 | [
"MIT"
] | 10 | 2015-08-05T15:27:06.000Z | 2018-10-10T13:57:42.000Z | Paris/2015/2015-05-21-Power4-Python-Randori/power4_test.py | murex/coding-dojo | 7e84cc971f6716d9ff2c3cbf22c11cfe93d8d275 | [
"MIT"
] | 6 | 2015-09-09T14:04:18.000Z | 2016-09-01T19:46:50.000Z | Paris/2015/2015-05-21-Power4-Python-Randori/power4_test.py | murex/coding-dojo | 7e84cc971f6716d9ff2c3cbf22c11cfe93d8d275 | [
"MIT"
] | 10 | 2015-08-12T12:26:42.000Z | 2016-03-09T12:44:06.000Z | import power4
#def test_final():
# assert power4.isOver([
# [0, 1, 2, 1, 2, 1, 1],
# [0, 2, 1, 1, 1, 2, 2],
# [0, 1, 2, 2, 2, 1, 1],
# [1, 2, 1, 1, 1, 2, 2],
# [2, 1, 1, 2, 2, 2, 1],
# [1, 2, 2, 1, 2, 1, 2],
# ]) == True
def test_p1_win_one_line():
assert power4.isOve... | 24.087719 | 58 | 0.405681 | 229 | 1,373 | 2.30131 | 0.104803 | 0.129032 | 0.1537 | 0.166983 | 0.844402 | 0.777989 | 0.721063 | 0.673624 | 0.402277 | 0.375712 | 0 | 0.184455 | 0.372178 | 1,373 | 57 | 59 | 24.087719 | 0.426914 | 0.172615 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.020833 | 0 | 0.1875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4a0bdd636cedff721af320c0b637a31b7f175f00 | 118 | py | Python | scripts/hashing_file.py | Pyt45/algorithms-dataStructure-python | d88a5225e49dd1cbce5363b1f88c0f207a301d5c | [
"MIT"
] | null | null | null | scripts/hashing_file.py | Pyt45/algorithms-dataStructure-python | d88a5225e49dd1cbce5363b1f88c0f207a301d5c | [
"MIT"
] | null | null | null | scripts/hashing_file.py | Pyt45/algorithms-dataStructure-python | d88a5225e49dd1cbce5363b1f88c0f207a301d5c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import hashlib
from __future__ import annotations
def hash_file(filepath: str) -> str:
pass | 19.666667 | 36 | 0.754237 | 17 | 118 | 4.941176 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 118 | 6 | 37 | 19.666667 | 0.84 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
4a18df85db89a74d3a14478fc1fd46600e185ad1 | 75 | py | Python | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/import_futures.py | jakubbujny/pants | e7fe73eaa3bc196d6d976e9f362bf60b69da17b3 | [
"Apache-2.0"
] | null | null | null | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/import_futures.py | jakubbujny/pants | e7fe73eaa3bc196d6d976e9f362bf60b69da17b3 | [
"Apache-2.0"
] | null | null | null | testprojects/src/python/interpreter_selection/resolver_blacklist_testing/import_futures.py | jakubbujny/pants | e7fe73eaa3bc196d6d976e9f362bf60b69da17b3 | [
"Apache-2.0"
] | null | null | null | from concurrent.futures import Future
print(Future)
print('Successful.')
| 12.5 | 37 | 0.786667 | 9 | 75 | 6.555556 | 0.777778 | 0.372881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 5 | 38 | 15 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 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 | 0 | 1 | 0 | 6 |
c580949857f3976fb370e53d68493dbcf3c4bb72 | 26 | py | Python | src/torchphysics/problem/domains/domain3D/__init__.py | uwe-iben/torchphysics | f0a56539cff331d49caaa90bc2fdd0d238b298f8 | [
"Apache-2.0"
] | 203 | 2021-11-10T10:33:29.000Z | 2022-03-26T09:05:12.000Z | src/torchphysics/problem/domains/domain3D/__init__.py | DKreuter/torchphysics | 775d9aca71752a568f1fca972c958b99107f3b7c | [
"Apache-2.0"
] | 3 | 2022-01-07T19:57:00.000Z | 2022-03-10T08:04:49.000Z | src/torchphysics/problem/domains/domain3D/__init__.py | DKreuter/torchphysics | 775d9aca71752a568f1fca972c958b99107f3b7c | [
"Apache-2.0"
] | 16 | 2021-09-30T08:35:37.000Z | 2022-03-16T13:12:22.000Z | from .sphere import Sphere | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
c5bb672121f33a73d318922d931854a9e1e22879 | 4,148 | py | Python | dit/rate_distortion/tests/test_curves.py | leoalfonso/dit | e7d5f680b3f170091bb1e488303f4255eeb11ef4 | [
"BSD-3-Clause"
] | 1 | 2021-03-15T08:51:42.000Z | 2021-03-15T08:51:42.000Z | dit/rate_distortion/tests/test_curves.py | leoalfonso/dit | e7d5f680b3f170091bb1e488303f4255eeb11ef4 | [
"BSD-3-Clause"
] | null | null | null | dit/rate_distortion/tests/test_curves.py | leoalfonso/dit | e7d5f680b3f170091bb1e488303f4255eeb11ef4 | [
"BSD-3-Clause"
] | null | null | null | """
Tests for dit.rate_distortion.curves
"""
from __future__ import division
import pytest
import numpy as np
from dit import Distribution
from dit.rate_distortion.curves import IBCurve, RDCurve
from dit.rate_distortion.distortions import hamming, maximum_correlation, residual_entropy
from dit.shannon import entrop... | 33.723577 | 100 | 0.654532 | 640 | 4,148 | 4.157813 | 0.140625 | 0.10823 | 0.040586 | 0.072153 | 0.814356 | 0.806088 | 0.806088 | 0.806088 | 0.788425 | 0.701616 | 0 | 0.115619 | 0.168033 | 4,148 | 122 | 101 | 34 | 0.655462 | 0.088959 | 0 | 0.485714 | 0 | 0 | 0.014301 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.128571 | false | 0 | 0.1 | 0 | 0.228571 | 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 |
c5d0c67ebbc995217c9f97f77ee9c1f0c4fdee29 | 97 | py | Python | ETC/CCC/__init__.py | pranaysy/ETCPy | d08c50ae5e379ee11cc9d9eb076ae4319516314c | [
"Apache-2.0"
] | 10 | 2020-07-30T12:03:24.000Z | 2022-02-14T17:45:29.000Z | ETC/CCC/__init__.py | pranaysy/ETCPy | d08c50ae5e379ee11cc9d9eb076ae4319516314c | [
"Apache-2.0"
] | null | null | null | ETC/CCC/__init__.py | pranaysy/ETCPy | d08c50ae5e379ee11cc9d9eb076ae4319516314c | [
"Apache-2.0"
] | 2 | 2021-02-18T07:20:34.000Z | 2021-03-15T04:10:33.000Z | #
from ETC.CCC.compute_CCC import compute, get_params
from ETC.CCC.simulate_AR import coupled_AR
| 24.25 | 51 | 0.835052 | 17 | 97 | 4.529412 | 0.588235 | 0.181818 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 97 | 3 | 52 | 32.333333 | 0.885057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
c5dba45eb7f0e76474acbeffd19721d126204324 | 2,070 | py | Python | airflow_docker/dags/robots/my_robots.py | GeorgeManakanatas/AirflowScraping | 07be17d5dee1135cba267a2b4ca742e21391f529 | [
"Apache-2.0"
] | 1 | 2020-09-14T05:16:48.000Z | 2020-09-14T05:16:48.000Z | airflow_docker/dags/robots/my_robots.py | GeorgeManakanatas/AirflowScraping | 07be17d5dee1135cba267a2b4ca742e21391f529 | [
"Apache-2.0"
] | null | null | null | airflow_docker/dags/robots/my_robots.py | GeorgeManakanatas/AirflowScraping | 07be17d5dee1135cba267a2b4ca742e21391f529 | [
"Apache-2.0"
] | null | null | null | from config import my_config
from bs4 import BeautifulSoup
import requests
import logging
# Reading config file into global variable
my_config.config_file()
# setting up scraping logger
logger = logging.getLogger('scraping')
def get_page(page_url):
'''
Checks is page returns 200 code and if so retreives cont... | 29.571429 | 74 | 0.619324 | 278 | 2,070 | 4.496403 | 0.248201 | 0.0784 | 0.0384 | 0.0352 | 0.7696 | 0.7696 | 0.7696 | 0.7696 | 0.7696 | 0.7696 | 0 | 0.021321 | 0.297585 | 2,070 | 69 | 75 | 30 | 0.838377 | 0.277295 | 0 | 0.705882 | 0 | 0 | 0.184659 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.294118 | 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 |
a8463fc5e1d38e1a8eb60e84c0781ed90ff42d15 | 133 | py | Python | thenewboston_node/core/utils/dataclass.py | MLonTNB/thenewboston-node | 3fbd0fc36c4f0eabaa8267f2a0be2fd717f133d1 | [
"MIT"
] | null | null | null | thenewboston_node/core/utils/dataclass.py | MLonTNB/thenewboston-node | 3fbd0fc36c4f0eabaa8267f2a0be2fd717f133d1 | [
"MIT"
] | null | null | null | thenewboston_node/core/utils/dataclass.py | MLonTNB/thenewboston-node | 3fbd0fc36c4f0eabaa8267f2a0be2fd717f133d1 | [
"MIT"
] | null | null | null | import typing
def is_optional(type_):
return typing.get_origin(type_) is typing.Union and type(None) in typing.get_args(type_)
| 22.166667 | 92 | 0.774436 | 22 | 133 | 4.409091 | 0.636364 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 133 | 5 | 93 | 26.6 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a88db185fce449065e50d7b74d2e9e2a98e4c0b9 | 7,673 | py | Python | experiments/UrbanSound8K/models/OneDCNN_Abdoli2019.py | RomeroGuDw/wavelet_networks | 0fd6871ff9f03a3cb26f1c414728aed89a33b99c | [
"MIT"
] | 59 | 2020-06-12T09:16:52.000Z | 2022-03-10T09:30:58.000Z | experiments/UrbanSound8K/models/OneDCNN_Abdoli2019.py | RomeroGuDw/wavelet_networks | 0fd6871ff9f03a3cb26f1c414728aed89a33b99c | [
"MIT"
] | 1 | 2020-09-13T01:43:44.000Z | 2022-02-16T14:33:18.000Z | experiments/UrbanSound8K/models/OneDCNN_Abdoli2019.py | RomeroGuDw/wavelet_networks | 0fd6871ff9f03a3cb26f1c414728aed89a33b99c | [
"MIT"
] | 1 | 2020-07-31T14:23:43.000Z | 2020-07-31T14:23:43.000Z | # torch
import torch
import torch.nn as nn
# built-in
import functools
# project
import eerie
class OneDCNN(torch.nn.Module):
def __init__(self, use_bias=False):
super(OneDCNN, self).__init__()
# Parameters of the model
use_bias = False
eps = 2e-5
n_channels = 16
n_... | 42.865922 | 173 | 0.615405 | 1,151 | 7,673 | 3.913988 | 0.139878 | 0.079911 | 0.075472 | 0.034184 | 0.83485 | 0.802886 | 0.790233 | 0.723418 | 0.706548 | 0.662375 | 0 | 0.04288 | 0.252313 | 7,673 | 178 | 174 | 43.106742 | 0.742374 | 0.082497 | 0 | 0.474138 | 0 | 0 | 0.004285 | 0 | 0 | 0 | 0 | 0.005618 | 0 | 1 | 0.034483 | false | 0 | 0.043103 | 0 | 0.112069 | 0.034483 | 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 |
a89d76b501fc8c3eb7152f728483f5cfba44a0a8 | 1,425 | py | Python | Python/libraries/recognizers-sequence/recognizers_sequence/resources/chinese_ip.py | AhmedLeithy/Recognizers-Text | f5426e38a09d3974fc0979b7803a4cd17258ea62 | [
"MIT"
] | 688 | 2019-05-08T02:56:21.000Z | 2022-03-30T07:26:15.000Z | Python/libraries/recognizers-sequence/recognizers_sequence/resources/chinese_ip.py | AhmedLeithy/Recognizers-Text | f5426e38a09d3974fc0979b7803a4cd17258ea62 | [
"MIT"
] | 840 | 2019-05-07T07:00:02.000Z | 2022-03-30T14:52:11.000Z | Python/libraries/recognizers-sequence/recognizers_sequence/resources/chinese_ip.py | AhmedLeithy/Recognizers-Text | f5426e38a09d3974fc0979b7803a4cd17258ea62 | [
"MIT"
] | 283 | 2019-05-07T07:52:12.000Z | 2022-03-27T02:27:58.000Z | # ------------------------------------------------------------------------------
# <auto-generated>
# This code was generated by a tool.
# Changes to this file may cause incorrect behavior and will be lost if
# the code is regenerated.
# </auto-generated>
#
# Copyright (c) Microsoft Corporation. All rights ... | 64.772727 | 392 | 0.680702 | 139 | 1,425 | 6.956835 | 0.517986 | 0.217166 | 0.022751 | 0.008273 | 0.136505 | 0.039297 | 0.039297 | 0.039297 | 0.039297 | 0.039297 | 0 | 0.031794 | 0.072982 | 1,425 | 21 | 393 | 67.857143 | 0.700227 | 0.338947 | 0 | 0 | 1 | 0.333333 | 0.768568 | 0.768568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a8a5e433ca07963782a527a80f292c759dad5fea | 1,972 | py | Python | test/test_cstestdatagen.py | hlatkydavid/vnmrjpy | 48707a1000dc87e646e37c8bd686e695bd31a61e | [
"MIT"
] | null | null | null | test/test_cstestdatagen.py | hlatkydavid/vnmrjpy | 48707a1000dc87e646e37c8bd686e695bd31a61e | [
"MIT"
] | null | null | null | test/test_cstestdatagen.py | hlatkydavid/vnmrjpy | 48707a1000dc87e646e37c8bd686e695bd31a61e | [
"MIT"
] | null | null | null | import vnmrjpy as vj
import unittest
import glob
import os
class Test_CsTestDataGenerator(unittest.TestCase):
def test_testdatagen_gems(self):
# directories
fid_dir = sorted(glob.glob(vj.fids+'/gems_s*'))[0]
base_dir = os.path.basename(fid_dir)[:-4]
red = 4
out_dir = vj.cs... | 30.8125 | 68 | 0.59432 | 252 | 1,972 | 4.460317 | 0.170635 | 0.085409 | 0.064057 | 0.074733 | 0.86032 | 0.86032 | 0.86032 | 0.86032 | 0.86032 | 0.761566 | 0 | 0.010323 | 0.263185 | 1,972 | 63 | 69 | 31.301587 | 0.763248 | 0.072515 | 0 | 0.634146 | 0 | 0 | 0.06281 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.097561 | 0 | 0.219512 | 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 |
a8b04281cbde5b29d59d6a4ca1058b0bd5741b5a | 37 | py | Python | sr_apx/vc/exact/__init__.py | TiP-internal/structural-rounding | 5d033c9ce4bcd2aa72bf10976c07f4842dde2b76 | [
"BSD-3-Clause"
] | 4 | 2019-10-17T02:29:48.000Z | 2022-02-20T17:03:42.000Z | sr_apx/vc/exact/__init__.py | TheoryInPractice/structural-rounding | 0aa961b9c8ecd4fd12f65302f6e95145ccb00cb6 | [
"BSD-3-Clause"
] | 3 | 2020-02-12T09:06:17.000Z | 2020-03-01T04:35:29.000Z | sr_apx/vc/exact/__init__.py | TiP-internal/structural-rounding | 5d033c9ce4bcd2aa72bf10976c07f4842dde2b76 | [
"BSD-3-Clause"
] | 1 | 2020-01-14T15:51:50.000Z | 2020-01-14T15:51:50.000Z |
from .lib_vc_exact import bip_exact
| 12.333333 | 35 | 0.837838 | 7 | 37 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.875 | 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 |
76aa3d7d672d6a2ecbf3c9815d8ffb50c31a1681 | 195 | py | Python | watch/admin.py | moharick/KaaRadaMtaani | 20e805925d07f1be4406aae2ea100b85c82b0262 | [
"MIT"
] | null | null | null | watch/admin.py | moharick/KaaRadaMtaani | 20e805925d07f1be4406aae2ea100b85c82b0262 | [
"MIT"
] | 3 | 2020-02-12T03:16:51.000Z | 2021-06-10T22:10:51.000Z | watch/admin.py | moharick/KaaRadaMtaani | 20e805925d07f1be4406aae2ea100b85c82b0262 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Register your models here.
admin.site.register(UserProfile)
admin.site.register(Biz)
admin.site.register(Post)
admin.site.register(Mtaa)
| 21.666667 | 32 | 0.8 | 28 | 195 | 5.571429 | 0.5 | 0.230769 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 195 | 8 | 33 | 24.375 | 0.881356 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
76bbc0095577466a3714f26fdec5af50c670e39f | 6,901 | py | Python | tests/test_remove.py | sarvex/ArchiveBox | 2427e6d3dc377c665f785f1d845da4e5a20b50a0 | [
"MIT"
] | 6,340 | 2018-12-20T21:12:13.000Z | 2020-11-23T02:39:32.000Z | tests/test_remove.py | sarvex/ArchiveBox | 2427e6d3dc377c665f785f1d845da4e5a20b50a0 | [
"MIT"
] | 388 | 2018-12-20T07:58:08.000Z | 2020-11-23T03:20:36.000Z | tests/test_remove.py | sarvex/ArchiveBox | 2427e6d3dc377c665f785f1d845da4e5a20b50a0 | [
"MIT"
] | 439 | 2018-12-21T21:51:47.000Z | 2020-11-21T21:21:35.000Z | import os
import sqlite3
from .fixtures import *
def test_remove_single_page(tmp_path, process, disable_extractors_dict):
os.chdir(tmp_path)
subprocess.run(['archivebox', 'add', 'http://127.0.0.1:8080/static/example.com.html'], capture_output=True, env=disable_extractors_dict)
remove_process = subprocess.... | 51.118519 | 172 | 0.689465 | 933 | 6,901 | 4.947481 | 0.118971 | 0.042461 | 0.113735 | 0.025997 | 0.872184 | 0.852253 | 0.841854 | 0.841854 | 0.830589 | 0.829506 | 0 | 0.037508 | 0.123026 | 6,901 | 134 | 173 | 51.5 | 0.725215 | 0.018113 | 0 | 0.634409 | 0 | 0.010753 | 0.308431 | 0.003396 | 0 | 0 | 0 | 0 | 0.236559 | 1 | 0.096774 | false | 0 | 0.032258 | 0 | 0.129032 | 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 |
76bd2b009fe8016d455684617aedaeea8b7befd3 | 263 | py | Python | pfpi/exceptions.py | franklintiel/pfig | 5f2e8851b1517e34c8f8d58d4bc770192cb2784c | [
"MIT"
] | 1 | 2019-01-04T12:01:45.000Z | 2019-01-04T12:01:45.000Z | pfpi/exceptions.py | franklintiel/pfig | 5f2e8851b1517e34c8f8d58d4bc770192cb2784c | [
"MIT"
] | null | null | null | pfpi/exceptions.py | franklintiel/pfig | 5f2e8851b1517e34c8f8d58d4bc770192cb2784c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class PfigAttributeError(Exception):
"""
Exception raised when a attribute is wrong or missing
"""
pass
class PfigTransactionError(Exception):
"""
Exception raised when a transaction is failed.
"""
pass
| 16.4375 | 57 | 0.638783 | 27 | 263 | 6.222222 | 0.666667 | 0.214286 | 0.285714 | 0.333333 | 0.345238 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.254753 | 263 | 15 | 58 | 17.533333 | 0.852041 | 0.467681 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4f134118e50400883be8aed80826ef9f04eb6691 | 87 | py | Python | src/tfchain/tests/crypto/__init__.py | GlenDC/threefold-wallet-electron | 440662a793d98781eb3bbf415ba8a482abed0288 | [
"MIT"
] | null | null | null | src/tfchain/tests/crypto/__init__.py | GlenDC/threefold-wallet-electron | 440662a793d98781eb3bbf415ba8a482abed0288 | [
"MIT"
] | 201 | 2019-05-20T15:06:05.000Z | 2019-07-16T12:48:59.000Z | src/tfchain/tests/crypto/__init__.py | GlenDC/threefold-wallet-electron | 440662a793d98781eb3bbf415ba8a482abed0288 | [
"MIT"
] | 1 | 2019-12-20T21:45:39.000Z | 2019-12-20T21:45:39.000Z | import tfchain.tests.crypto.crypto as cryptotest
def tests():
cryptotest.tests()
| 17.4 | 49 | 0.747126 | 11 | 87 | 5.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 4 | 50 | 21.75 | 0.878378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4f177f0ad5ba7358e30e6147e6fcff09844b9b56 | 48 | py | Python | tests/test_fget_invoice.py | devorgpl/invoiceconverter | 8843040e3cb01641ed12e6b66126b6f3d4c2e9b6 | [
"Apache-2.0"
] | null | null | null | tests/test_fget_invoice.py | devorgpl/invoiceconverter | 8843040e3cb01641ed12e6b66126b6f3d4c2e9b6 | [
"Apache-2.0"
] | 3 | 2020-10-21T12:25:12.000Z | 2020-10-21T12:33:22.000Z | tests/test_fget_invoice.py | devorgpl/invoiceconverter | 8843040e3cb01641ed12e6b66126b6f3d4c2e9b6 | [
"Apache-2.0"
] | null | null | null | def test_should_get_from_file():
assert True | 24 | 32 | 0.791667 | 8 | 48 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 33 | 24 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4f937cdce482febf55cd7053602d46b0356b7f57 | 40,984 | py | Python | Pentesting Framework/mypentestframework.py | OSSSP/Easy-Pentesting-Framework | 306799e4bf4a555a0ca4dfa1b73879ce3d4336f7 | [
"Apache-2.0"
] | 5 | 2018-01-07T17:11:31.000Z | 2018-06-05T17:31:07.000Z | Pentesting Framework/mypentestframework.py | OSSSP/Easy-Pentesting-Framework | 306799e4bf4a555a0ca4dfa1b73879ce3d4336f7 | [
"Apache-2.0"
] | null | null | null | Pentesting Framework/mypentestframework.py | OSSSP/Easy-Pentesting-Framework | 306799e4bf4a555a0ca4dfa1b73879ce3d4336f7 | [
"Apache-2.0"
] | 1 | 2019-01-14T17:46:10.000Z | 2019-01-14T17:46:10.000Z | #!/usr/bin/python
import subprocess
import time, sys
import os
global wifi
global eth
global name
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
def banner(name,l... | 41.991803 | 2,274 | 0.663088 | 6,014 | 40,984 | 4.461922 | 0.075324 | 0.072147 | 0.034881 | 0.063502 | 0.754192 | 0.737013 | 0.722926 | 0.713162 | 0.675449 | 0.654878 | 0 | 0.01685 | 0.161551 | 40,984 | 975 | 2,275 | 42.034872 | 0.764049 | 0.0071 | 0 | 0.640788 | 0 | 0.040556 | 0.350754 | 0.096345 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.004635 | null | null | 0.15759 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96f4c192bb0223616eb8d2cd7e1cb571838fcc50 | 70 | py | Python | test_project/test_app/models.py | tumb1er/django-admin-countless | 74ff259ddbaa02fdd39aafe45f5aaefcd8d60887 | [
"MIT"
] | 2 | 2020-07-29T18:31:55.000Z | 2021-07-02T13:22:45.000Z | test_project/test_app/models.py | tumb1er/django-admin-countless | 74ff259ddbaa02fdd39aafe45f5aaefcd8d60887 | [
"MIT"
] | 26 | 2020-04-15T09:37:57.000Z | 2021-12-07T15:28:04.000Z | test_project/test_app/models.py | tumb1er/django-admin-countless | 74ff259ddbaa02fdd39aafe45f5aaefcd8d60887 | [
"MIT"
] | 1 | 2020-03-24T12:17:12.000Z | 2020-03-24T12:17:12.000Z | from django.db import models
class MyModel(models.Model):
pass
| 10 | 28 | 0.728571 | 10 | 70 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 70 | 6 | 29 | 11.666667 | 0.910714 | 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 |
8c398ec879f21f7e5d7f311e5dc47bc1ae40e660 | 4,312 | py | Python | lace/test_colors.py | bodylabs/lace | a6ae80787c8c6ba197bd9bad9254b503f4e05c73 | [
"BSD-2-Clause"
] | 2 | 2020-05-30T10:28:34.000Z | 2021-02-17T13:47:23.000Z | lace/test_colors.py | lace/lace | a6ae80787c8c6ba197bd9bad9254b503f4e05c73 | [
"BSD-2-Clause"
] | 11 | 2019-08-29T16:53:29.000Z | 2021-07-01T06:24:37.000Z | lace/test_colors.py | metabolize/lace | 75cee6a118932cd027692d6cfe36b3726b3a4a5c | [
"BSD-2-Clause"
] | 5 | 2017-05-09T16:18:16.000Z | 2018-05-08T16:16:09.000Z | import unittest
import numpy as np
from lace.mesh import Mesh
from lace import color
class TestMeshColors(unittest.TestCase):
def setUp(self):
self.colormap = 'jet'
self.jet_0 = np.array([0.0, 0.0, 0.5])
self.jet_1 = np.array([0.5, 0.0, 0.0])
def test_colors_like_with_full_array(self):... | 39.925926 | 100 | 0.603664 | 735 | 4,312 | 3.352381 | 0.088435 | 0.051136 | 0.048701 | 0.030844 | 0.861201 | 0.858766 | 0.84862 | 0.832792 | 0.830357 | 0.826299 | 0 | 0.061076 | 0.236781 | 4,312 | 107 | 101 | 40.299065 | 0.687633 | 0 | 0 | 0.591398 | 0 | 0 | 0.002783 | 0 | 0 | 0 | 0 | 0 | 0.268817 | 1 | 0.150538 | false | 0 | 0.043011 | 0 | 0.204301 | 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 |
8c39dcc44a9ec5784795c1a5f333c5d3a000aca1 | 96 | py | Python | perceptron/utils/symbolic_interval/__init__.py | jiayunhan/perceptron-benchmark | 39958a15e9f8bfa82938a3f81d4f216457744b22 | [
"Apache-2.0"
] | 107 | 2020-06-15T09:55:11.000Z | 2020-12-20T11:27:11.000Z | pytorch_ares/third_party/hydra/symbolic_interval/__init__.py | haichen-ber/ares | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 7 | 2020-06-14T03:00:18.000Z | 2020-12-07T07:10:10.000Z | pytorch_ares/third_party/hydra/symbolic_interval/__init__.py | haichen-ber/ares | 474d549aa402b4cdd5e3629d23d035c31b60a360 | [
"MIT"
] | 19 | 2020-06-14T08:35:33.000Z | 2020-12-19T13:43:41.000Z | from .interval import Interval, Symbolic_interval
from .symbolic_network import Interval_network | 48 | 49 | 0.885417 | 12 | 96 | 6.833333 | 0.416667 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 96 | 2 | 50 | 48 | 0.931818 | 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 |
4fb207d06f889fa7fe07eee6647d5cc56410addc | 167 | py | Python | pool_automation/roles/ansible_bootstrap/molecule/resources/tests/test_default.py | Rob-S/indy-node | 0aefbda62c5a7412d7e03b2fb9795c500ea67e9f | [
"Apache-2.0"
] | 627 | 2017-07-06T12:38:08.000Z | 2022-03-30T13:18:43.000Z | pool_automation/roles/ansible_bootstrap/molecule/resources/tests/test_default.py | Rob-S/indy-node | 0aefbda62c5a7412d7e03b2fb9795c500ea67e9f | [
"Apache-2.0"
] | 580 | 2017-06-29T17:59:57.000Z | 2022-03-29T21:37:52.000Z | pool_automation/roles/ansible_bootstrap/molecule/resources/tests/test_default.py | Rob-S/indy-node | 0aefbda62c5a7412d7e03b2fb9795c500ea67e9f | [
"Apache-2.0"
] | 704 | 2017-06-29T17:45:34.000Z | 2022-03-30T07:08:58.000Z |
def test_python_is_installed(host):
assert host.run('python --version').rc == 0
def test_sudo_is_installed(host):
assert host.run('sudo --version').rc == 0
| 20.875 | 47 | 0.694611 | 26 | 167 | 4.230769 | 0.461538 | 0.127273 | 0.272727 | 0.381818 | 0.509091 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.149701 | 167 | 7 | 48 | 23.857143 | 0.760563 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4fc8e3c3693e7e0eaf927f62583fe2fe775aeb72 | 14,172 | py | Python | src/fffs/sas/bilayer/bilayer.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | src/fffs/sas/bilayer/bilayer.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | src/fffs/sas/bilayer/bilayer.py | awacha/fffs | 6a3ce47c5381ae33fe02909754750ff7f0cf2b8c | [
"BSD-3-Clause"
] | null | null | null | from ...core import ModelFunction, ParameterDefinition
from matplotlib.figure import Figure
from matplotlib.axes import Axes
from typing import Union, List, Tuple
import numpy as np
from .gauss_bilayer import ISSVasymm
class GaussianBilayerAsymm(ModelFunction):
category = 'sas'
subcategory = 'bilayer'
nam... | 59.05 | 136 | 0.566681 | 1,378 | 14,172 | 5.800435 | 0.144412 | 0.030026 | 0.126861 | 0.037158 | 0.815964 | 0.785562 | 0.773677 | 0.750782 | 0.744777 | 0.697736 | 0 | 0.027113 | 0.336367 | 14,172 | 239 | 137 | 59.297071 | 0.822754 | 0.005151 | 0 | 0.580357 | 0 | 0 | 0.229198 | 0.005037 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.026786 | 0 | 0.15625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8c8e5669d1e87fb834f003af9ce89b2e8f8e6674 | 36 | py | Python | pyqt_style_setter/__init__.py | yjg30737/pyqt_style_setter | 2d3db7fd7ed71dd4b2644c868029f9913841b648 | [
"MIT"
] | null | null | null | pyqt_style_setter/__init__.py | yjg30737/pyqt_style_setter | 2d3db7fd7ed71dd4b2644c868029f9913841b648 | [
"MIT"
] | null | null | null | pyqt_style_setter/__init__.py | yjg30737/pyqt_style_setter | 2d3db7fd7ed71dd4b2644c868029f9913841b648 | [
"MIT"
] | null | null | null | from .styleSetter import StyleSetter | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 |
8c9ab2b3f8283aa6ee867d4ec188e306d5860b00 | 441 | py | Python | tests/discovery/test_motioneye.py | pnjongang/supervisor | 2a006ae76de4b06e3e291b37aa2a4e14dc272445 | [
"Apache-2.0"
] | 597 | 2017-04-27T15:10:08.000Z | 2019-12-18T16:02:57.000Z | tests/discovery/test_motioneye.py | pnjongang/supervisor | 2a006ae76de4b06e3e291b37aa2a4e14dc272445 | [
"Apache-2.0"
] | 799 | 2017-05-02T00:26:07.000Z | 2019-12-18T21:40:18.000Z | tests/discovery/test_motioneye.py | pnjongang/supervisor | 2a006ae76de4b06e3e291b37aa2a4e14dc272445 | [
"Apache-2.0"
] | 173 | 2017-04-26T17:03:42.000Z | 2019-12-15T10:41:57.000Z | """Test motionEye discovery."""
import pytest
import voluptuous as vol
from supervisor.discovery.validate import valid_discovery_config
def test_good_config() -> None:
"""Test good motionEye config."""
valid_discovery_config("motioneye", {"url": "http://example.com:1234"})
def test_bad_config() -> None:
... | 24.5 | 75 | 0.709751 | 53 | 441 | 5.716981 | 0.471698 | 0.138614 | 0.19802 | 0.191419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010667 | 0.14966 | 441 | 17 | 76 | 25.941176 | 0.797333 | 0.181406 | 0 | 0 | 0 | 0 | 0.127536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8cc5584839c1c6356456528af689164edcad2ed7 | 1,530 | py | Python | archive/LEDs.py | Guillermo-Hidalgo-Gadea/RPi4Toolbox | 47a265aa9828f144155c097efc8ff36bd435099f | [
"MIT"
] | null | null | null | archive/LEDs.py | Guillermo-Hidalgo-Gadea/RPi4Toolbox | 47a265aa9828f144155c097efc8ff36bd435099f | [
"MIT"
] | null | null | null | archive/LEDs.py | Guillermo-Hidalgo-Gadea/RPi4Toolbox | 47a265aa9828f144155c097efc8ff36bd435099f | [
"MIT"
] | 1 | 2021-10-15T16:14:48.000Z | 2021-10-15T16:14:48.000Z | from blinkstick import blinkstick
class LED:
def __init__(self):
LEDlist = blinkstick.find_all()
self.LED1 = LEDlist[0]
self.LED2 = LEDlist[1]
def on(self):
self.LED1.set_color(0,0,255,0,0)
self.LED1.set_color(0,1,255,0,0)
self.LED1.set_color(0,2,255,0... | 32.553191 | 41 | 0.565359 | 315 | 1,530 | 2.628571 | 0.08254 | 0.130435 | 0.347826 | 0.309179 | 0.859903 | 0.859903 | 0.859903 | 0.821256 | 0 | 0 | 0 | 0.199475 | 0.252941 | 1,530 | 46 | 42 | 33.26087 | 0.524934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.025 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
8cd9f21a5ddd5824f31e827fe7fd55943ff05ef5 | 3,773 | py | Python | get_config.py | 0dminnimda/NTO_bigdata_2020_final | db866b59782513d39d9ceabdbc4ebb69cd638872 | [
"MIT"
] | null | null | null | get_config.py | 0dminnimda/NTO_bigdata_2020_final | db866b59782513d39d9ceabdbc4ebb69cd638872 | [
"MIT"
] | null | null | null | get_config.py | 0dminnimda/NTO_bigdata_2020_final | db866b59782513d39d9ceabdbc4ebb69cd638872 | [
"MIT"
] | null | null | null | # import yaml
# print(yaml.safe_load("""---
# version: 1
# disable_existing_loggers: False
# formatters:
# simple:
# format: '[%(levelname)s] [%(asctime)s:%(name)s] %(message)s'
# handlers:
# console:
# class: logging.StreamHandler
# level: WARNING
# formatter: simple
# stream: ext://sys.stdou... | 29.476563 | 84 | 0.566393 | 328 | 3,773 | 6.408537 | 0.182927 | 0.104662 | 0.135585 | 0.089914 | 0.982398 | 0.980495 | 0.964795 | 0.964795 | 0.964795 | 0.964795 | 0 | 0.001047 | 0.240657 | 3,773 | 127 | 85 | 29.708661 | 0.732635 | 0.64458 | 0 | 0.282051 | 0 | 0 | 0.44664 | 0.196047 | 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 |
50e5608bd3ac9a30f8f952faa5f24c99bdaefef7 | 82 | py | Python | hello_test.py | wisdombeyonddata/tell | b81e870add61e06056373f283511ae805f697817 | [
"MIT"
] | null | null | null | hello_test.py | wisdombeyonddata/tell | b81e870add61e06056373f283511ae805f697817 | [
"MIT"
] | null | null | null | hello_test.py | wisdombeyonddata/tell | b81e870add61e06056373f283511ae805f697817 | [
"MIT"
] | null | null | null | import hello;
def test_hello():
assert hello.hello_world() == "Hello World!"
| 16.4 | 48 | 0.682927 | 11 | 82 | 4.909091 | 0.545455 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 82 | 4 | 49 | 20.5 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
50fbdd4da9bd4138015329cdbbe84bc2f5e40584 | 14,258 | py | Python | tests/test_metrics/test_eval_utils.py | Yuliang-Liu/mmocr | d683b142838c2e25cbff35191ed189bbb3790fff | [
"Apache-2.0"
] | null | null | null | tests/test_metrics/test_eval_utils.py | Yuliang-Liu/mmocr | d683b142838c2e25cbff35191ed189bbb3790fff | [
"Apache-2.0"
] | null | null | null | tests/test_metrics/test_eval_utils.py | Yuliang-Liu/mmocr | d683b142838c2e25cbff35191ed189bbb3790fff | [
"Apache-2.0"
] | null | null | null | # Copyright (c) OpenMMLab. All rights reserved.
"""Tests the utils of evaluation."""
import numpy as np
import pytest
import mmocr.core.evaluation.utils as utils
def test_ignore_pred():
# test invalid arguments
box = [0, 0, 1, 0, 1, 1, 0, 1]
det_boxes = [box]
gt_dont_care_index = [0]
gt_polys = ... | 36.465473 | 79 | 0.596788 | 1,848 | 14,258 | 4.288961 | 0.056277 | 0.012869 | 0.084784 | 0.15897 | 0.863235 | 0.8216 | 0.77782 | 0.753091 | 0.713727 | 0.665657 | 0 | 0.051173 | 0.306495 | 14,258 | 390 | 80 | 36.558974 | 0.750405 | 0.046921 | 0 | 0.57193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25614 | 1 | 0.049123 | false | 0 | 0.010526 | 0 | 0.059649 | 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 |
0fcec5df484fa1f1d03d95f9c10307f07c2773f9 | 655 | py | Python | sdk/python/pulumi_oci/databasemigration/__init__.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/databasemigration/__init__.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/databasemigration/__init__.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
from .. import _utilities
import typing
# Export this package's modules as members:
from .agent import *
from .connection import *
from... | 28.478261 | 87 | 0.748092 | 97 | 655 | 4.927835 | 0.505155 | 0.292887 | 0.24477 | 0.096234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001828 | 0.164886 | 655 | 22 | 88 | 29.772727 | 0.872029 | 0.334351 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0fd5c56cd903aae7873d205163b2967ae3164fb9 | 197 | py | Python | django_spaceless_templates/loaders/app_directories.py | martinsvoboda/django-spaceless-templates | e671af3ee04414066306e4205e46fb8bd792f787 | [
"MIT"
] | 2 | 2021-06-19T20:59:43.000Z | 2021-08-17T23:16:26.000Z | django_spaceless_templates/loaders/app_directories.py | martinsvoboda/django-template-minifying-loader | e671af3ee04414066306e4205e46fb8bd792f787 | [
"MIT"
] | null | null | null | django_spaceless_templates/loaders/app_directories.py | martinsvoboda/django-template-minifying-loader | e671af3ee04414066306e4205e46fb8bd792f787 | [
"MIT"
] | null | null | null | from django.template.loaders.app_directories import Loader as AppDirectoriesLoader
from ..mixins import TemplateMinifierMixin
class Loader(TemplateMinifierMixin, AppDirectoriesLoader):
pass
| 24.625 | 82 | 0.847716 | 19 | 197 | 8.736842 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106599 | 197 | 7 | 83 | 28.142857 | 0.943182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e8c744a8a1cc0f5ddf20aed871ea98d1a5b7c5d8 | 8,760 | py | Python | test_case/test_config_base_utils.py | mmmaaaggg/QABAT | d6f20d926de047af6857e466cf28084d0ba69993 | [
"MIT"
] | 3 | 2019-08-31T18:01:10.000Z | 2021-04-04T09:51:17.000Z | test_case/test_config_base_utils.py | mmmaaaggg/QABAT | d6f20d926de047af6857e466cf28084d0ba69993 | [
"MIT"
] | null | null | null | test_case/test_config_base_utils.py | mmmaaaggg/QABAT | d6f20d926de047af6857e466cf28084d0ba69993 | [
"MIT"
] | 1 | 2020-08-15T17:04:14.000Z | 2020-08-15T17:04:14.000Z | # -*- coding: utf-8 -*-
"""
Created on 2017/6/24
@author: MG
"""
import logging
import unittest
from config import Config, with_mongo_collection
from collections import OrderedDict
from pymongo.errors import DuplicateKeyError
import time
from datetime import datetime, timedelta
logger = logging.getLogger()
class Mo... | 44.923077 | 108 | 0.644635 | 1,080 | 8,760 | 4.941667 | 0.128704 | 0.284429 | 0.142402 | 0.172381 | 0.760727 | 0.758104 | 0.740491 | 0.719693 | 0.695709 | 0.695709 | 0 | 0.040865 | 0.234589 | 8,760 | 194 | 109 | 45.154639 | 0.755108 | 0.030479 | 0 | 0.503497 | 0 | 0 | 0.02273 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.06993 | false | 0 | 0.048951 | 0 | 0.13986 | 0.020979 | 0 | 0 | 0 | null | 1 | 0 | 1 | 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 |
fa068157d212152a538c6517014a53fc52c463c6 | 185 | py | Python | wrappers/python/tests/indy.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | 636 | 2017-05-25T07:45:43.000Z | 2022-03-23T22:30:34.000Z | wrappers/python/tests/indy.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 731 | 2017-05-29T07:15:08.000Z | 2022-03-31T07:55:58.000Z | wrappers/python/tests/indy.py | Nick-1979/indy-sdk | e5f812e14962f0d51cf96f843033754ff841ce30 | [
"Apache-2.0"
] | 904 | 2017-05-25T07:45:49.000Z | 2022-03-31T07:43:31.000Z | import pytest
from indy import libindy
# noinspection PyUnusedLocal
@pytest.mark.sync
def test_set_runtime_config():
libindy.set_runtime_config('{"crypto_thread_pool_size": 2}')
| 18.5 | 64 | 0.794595 | 25 | 185 | 5.56 | 0.76 | 0.143885 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0.113514 | 185 | 9 | 65 | 20.555556 | 0.841463 | 0.140541 | 0 | 0 | 0 | 0 | 0.191083 | 0.171975 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa2ca1a8124da9945cc26a433ffd97d8d5b2edb4 | 152 | py | Python | PyFiSync/__init__.py | AsocForDipStudiesAndTraining/PyFiSync | 0aca30c75d4569e753dcc0d5e0653ec9116b7499 | [
"MIT"
] | null | null | null | PyFiSync/__init__.py | AsocForDipStudiesAndTraining/PyFiSync | 0aca30c75d4569e753dcc0d5e0653ec9116b7499 | [
"MIT"
] | null | null | null | PyFiSync/__init__.py | AsocForDipStudiesAndTraining/PyFiSync | 0aca30c75d4569e753dcc0d5e0653ec9116b7499 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
sys.dont_write_bytecode = True
from .main import __version__,__author__
from .main import cli
| 21.714286 | 41 | 0.736842 | 23 | 152 | 4.434783 | 0.782609 | 0.156863 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.138158 | 152 | 6 | 42 | 25.333333 | 0.770992 | 0.276316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fa7220ea2fc15337fd98c0a6664709c4ab499a29 | 936 | py | Python | x_rebirth_station_calculator/station_data/ol__mega_tank_farm.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | 1 | 2016-04-17T11:00:22.000Z | 2016-04-17T11:00:22.000Z | x_rebirth_station_calculator/station_data/ol__mega_tank_farm.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | null | null | null | x_rebirth_station_calculator/station_data/ol__mega_tank_farm.py | Phipsz/XRebirthStationCalculator | ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835 | [
"MIT"
] | null | null | null | from x_rebirth_station_calculator.station_data import modules
from x_rebirth_station_calculator.station_data.station_base import Station
names = {'L044': 'Mega-Tank Farm',
'L049': 'Megaaquarium-Farm'}
smodules = [modules.SpiceTubes(efficiency=159),
modules.SpiceTubes(efficiency=159),
... | 49.263158 | 74 | 0.715812 | 98 | 936 | 6.653061 | 0.295918 | 0.196319 | 0.220859 | 0.343558 | 0.815951 | 0.723926 | 0.723926 | 0.601227 | 0.601227 | 0.601227 | 0 | 0.046332 | 0.169872 | 936 | 18 | 75 | 52 | 0.792793 | 0 | 0 | 0.466667 | 0 | 0 | 0.058761 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.133333 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d70ddb07be6c5060dc8e08bd6bb710b00060cead | 97 | py | Python | app/api/__init__.py | JungWinter/chef-hong | ffa0625c979e8380f8eead020af697f35ea4c823 | [
"MIT"
] | 3 | 2018-06-30T22:29:02.000Z | 2020-04-12T06:13:52.000Z | app/api/__init__.py | JungWinter/chef-hong | ffa0625c979e8380f8eead020af697f35ea4c823 | [
"MIT"
] | 4 | 2021-01-10T13:27:02.000Z | 2021-03-21T05:19:10.000Z | app/api/__init__.py | JungWinter/chef-hong | ffa0625c979e8380f8eead020af697f35ea4c823 | [
"MIT"
] | null | null | null | from flask import Blueprint
api = Blueprint('api', __name__)
from app.api import views # noqa
| 16.166667 | 33 | 0.742268 | 14 | 97 | 4.857143 | 0.642857 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 5 | 34 | 19.4 | 0.85 | 0.041237 | 0 | 0 | 0 | 0 | 0.032967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
d768da4587b257e154c21891ddfb30a1f7875dec | 75 | py | Python | implierWorkspace/Implier/src/runConsolidate.py | benofben/implier | ad1352c9272a20cf15a3552521b0d08ba9fbcc23 | [
"MIT"
] | null | null | null | implierWorkspace/Implier/src/runConsolidate.py | benofben/implier | ad1352c9272a20cf15a3552521b0d08ba9fbcc23 | [
"MIT"
] | null | null | null | implierWorkspace/Implier/src/runConsolidate.py | benofben/implier | ad1352c9272a20cf15a3552521b0d08ba9fbcc23 | [
"MIT"
] | null | null | null | import preprocessor.consolidate
preprocessor.consolidate.consolidateDays() | 37.5 | 42 | 0.893333 | 6 | 75 | 11.166667 | 0.666667 | 0.686567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 75 | 2 | 42 | 37.5 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d772bb7f7cc2b98ab0d6d324efb5fa08cf0133f8 | 192 | py | Python | tests/test-recipes/test-package/bin/test-script-setup.py | DerThorsten/conda-build | 729c0cea03677dae0e2e15b7ec6d98619b5d4401 | [
"BSD-3-Clause"
] | 5 | 2016-05-10T23:36:56.000Z | 2021-04-21T17:09:18.000Z | tests/test-recipes/test-package/bin/test-script-setup.py | DerThorsten/conda-build | 729c0cea03677dae0e2e15b7ec6d98619b5d4401 | [
"BSD-3-Clause"
] | 6 | 2016-07-05T19:08:39.000Z | 2017-10-23T10:59:14.000Z | tests/test-recipes/test-package/bin/test-script-setup.py | DerThorsten/conda-build | 729c0cea03677dae0e2e15b7ec6d98619b5d4401 | [
"BSD-3-Clause"
] | 5 | 2016-10-08T19:31:55.000Z | 2021-10-10T18:24:42.000Z | #!/usr/bin/env python
import conda_build_test
conda_build_test
print("Test script setup.py")
if __name__ == "__main__":
from conda_build_test import manual_entry
manual_entry.main()
| 19.2 | 45 | 0.765625 | 29 | 192 | 4.517241 | 0.62069 | 0.229008 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 192 | 9 | 46 | 21.333333 | 0.793939 | 0.104167 | 0 | 0 | 0 | 0 | 0.163743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
d7829c816b65c7a6b4799388e22d4943997018e6 | 10,897 | py | Python | ext_models/pcgan_model.py | rkansal47/MPGAN | 8be23da97ece3d173e1a59defc45aa7a1112232d | [
"MIT"
] | 8 | 2021-08-29T11:52:45.000Z | 2022-01-28T00:09:49.000Z | ext_models/pcgan_model.py | rkansal47/MPGAN | 8be23da97ece3d173e1a59defc45aa7a1112232d | [
"MIT"
] | 1 | 2021-12-02T11:38:31.000Z | 2021-12-08T22:44:57.000Z | ext_models/pcgan_model.py | rkansal47/MPGAN | 8be23da97ece3d173e1a59defc45aa7a1112232d | [
"MIT"
] | null | null | null | import torch.nn as nn
class PermEqui1_max(nn.Module):
def __init__(self, in_dim, out_dim):
super(PermEqui1_max, self).__init__()
self.Gamma = nn.Linear(in_dim, out_dim)
def forward(self, x):
xm, _ = x.max(1, keepdim=True)
x = self.Gamma(x - xm)
return x
class PermEqu... | 30.438547 | 90 | 0.53657 | 1,544 | 10,897 | 3.529145 | 0.073187 | 0.041843 | 0.07194 | 0.050468 | 0.902 | 0.890989 | 0.868967 | 0.842723 | 0.837401 | 0.805652 | 0 | 0.02513 | 0.328072 | 10,897 | 357 | 91 | 30.52381 | 0.719066 | 0.013306 | 0 | 0.7 | 0 | 0 | 0.002807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086207 | false | 0 | 0.003448 | 0.006897 | 0.172414 | 0.024138 | 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 |
ad02e90ba120f9f588b2ed63621c0af11e095571 | 32 | py | Python | tests/integration/issues/github_1546/good3/helper.py | Rohitpandit021/jina | f3db4d5e480375d8dc3bceda814ac1963dee76d7 | [
"Apache-2.0"
] | 15,179 | 2020-04-28T10:23:56.000Z | 2022-03-31T14:35:25.000Z | tests/integration/issues/github_1546/good3/helper.py | Rohitpandit021/jina | f3db4d5e480375d8dc3bceda814ac1963dee76d7 | [
"Apache-2.0"
] | 3,912 | 2020-04-28T13:01:29.000Z | 2022-03-31T14:36:46.000Z | tests/integration/issues/github_1546/good3/helper.py | Rohitpandit021/jina | f3db4d5e480375d8dc3bceda814ac1963dee76d7 | [
"Apache-2.0"
] | 1,955 | 2020-04-28T10:50:49.000Z | 2022-03-31T12:28:34.000Z | def helper_function():
pass
| 10.666667 | 22 | 0.6875 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 23 | 16 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
ad72cc7d77f64615ecf25526fb0e199e77d840b7 | 220 | py | Python | trackMe-backend/src/error.py | matth3wliuu/trackMe | 0fb22bb8adf147fb4d4ed09c5c7253d0e54bf992 | [
"MIT"
] | 1 | 2022-01-28T06:20:03.000Z | 2022-01-28T06:20:03.000Z | trackMe-backend/src/error.py | matth3wliuu/trackMe | 0fb22bb8adf147fb4d4ed09c5c7253d0e54bf992 | [
"MIT"
] | null | null | null | trackMe-backend/src/error.py | matth3wliuu/trackMe | 0fb22bb8adf147fb4d4ed09c5c7253d0e54bf992 | [
"MIT"
] | null | null | null | from werkzeug.exceptions import HTTPException
class AccessError(HTTPException):
code = 403
message = "No message specified"
class InputError(HTTPException):
code = 400
message = "No message specified" | 24.444444 | 45 | 0.736364 | 23 | 220 | 7.043478 | 0.608696 | 0.209877 | 0.197531 | 0.308642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.195455 | 220 | 9 | 46 | 24.444444 | 0.881356 | 0 | 0 | 0.285714 | 0 | 0 | 0.180995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
a8f5e72095a1dd10dd5c7af5ec8cfe804fa13e5b | 209 | py | Python | search_listview/tests/admin.py | arnaldoanez/django-search-listview | 8b027a6908dc30c6ebc613bb4fde6b1ba40124a3 | [
"MIT"
] | 13 | 2016-08-30T09:50:28.000Z | 2021-04-02T06:19:55.000Z | search_listview/tests/admin.py | unistra/django-search-listview | 9f18dfd1e6f49ace4f15bc2c8a13097fbe03709c | [
"MIT"
] | 2 | 2016-11-15T01:30:51.000Z | 2017-03-10T23:01:30.000Z | search_listview/tests/admin.py | unistra/django-search-listview | 9f18dfd1e6f49ace4f15bc2c8a13097fbe03709c | [
"MIT"
] | 7 | 2016-09-01T07:24:53.000Z | 2020-11-17T16:54:23.000Z | from django.contrib import admin
from .models import Provider, Brand, ModelDevice, Device
admin.site.register(Provider)
admin.site.register(Brand)
admin.site.register(ModelDevice)
admin.site.register(Device) | 26.125 | 56 | 0.822967 | 28 | 209 | 6.142857 | 0.428571 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076555 | 209 | 8 | 57 | 26.125 | 0.891192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d100c398929f7369572530304b6615b87a3fdfe4 | 34 | py | Python | segmentation/__init__.py | ryskiod/plant-record | 758b19d7c239b4eab883eeccbf63cf376ed57eae | [
"MIT"
] | null | null | null | segmentation/__init__.py | ryskiod/plant-record | 758b19d7c239b4eab883eeccbf63cf376ed57eae | [
"MIT"
] | 5 | 2021-06-02T00:58:50.000Z | 2021-06-27T03:05:22.000Z | segmentation/__init__.py | ryskiod/plant-record | 758b19d7c239b4eab883eeccbf63cf376ed57eae | [
"MIT"
] | 2 | 2021-05-16T01:21:22.000Z | 2021-05-19T13:36:36.000Z | from segmentation.predict import * | 34 | 34 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.935484 | 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 |
d150e2d26e4067b0386080556d4786d999b1fde9 | 119 | py | Python | cointracking/__init__.py | dzid26/HEX_stake_importer | d80625b2f94400b94171515d9a84587892967286 | [
"MIT"
] | null | null | null | cointracking/__init__.py | dzid26/HEX_stake_importer | d80625b2f94400b94171515d9a84587892967286 | [
"MIT"
] | null | null | null | cointracking/__init__.py | dzid26/HEX_stake_importer | d80625b2f94400b94171515d9a84587892967286 | [
"MIT"
] | null | null | null | from .cointracking_csv_builder import CoinTracking_CSV
from .cointracking_hex_stake import add_hex_stake_entries_to_csv | 59.5 | 64 | 0.92437 | 18 | 119 | 5.555556 | 0.555556 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 119 | 2 | 64 | 59.5 | 0.892857 | 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 |
d16bb935a4f6e1481e0631c3494084bae318de71 | 38 | py | Python | linkedrw/linkedr/__init__.py | CypherAk007/LinkedRW | 167b8423f7229fff04ea2cbef6c29cb2ce01fb08 | [
"MIT"
] | 114 | 2019-05-27T13:43:14.000Z | 2021-11-30T02:29:01.000Z | linkedrw/linkedr/__init__.py | CypherAk007/LinkedRW | 167b8423f7229fff04ea2cbef6c29cb2ce01fb08 | [
"MIT"
] | 18 | 2019-06-02T15:22:15.000Z | 2020-10-03T03:54:06.000Z | linkedrw/linkedr/__init__.py | CypherAk007/LinkedRW | 167b8423f7229fff04ea2cbef6c29cb2ce01fb08 | [
"MIT"
] | 16 | 2019-05-28T08:28:47.000Z | 2021-08-02T09:25:55.000Z | from .resume import make_resume_files
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 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 |
d16f1ead7142ef7a9c346e7887fe2cc5069437d9 | 199 | py | Python | python/grammar/test.py | trypolis464/random_scripts | 9832e2b793e49de0bd40c975faaea216eb1903e9 | [
"MIT"
] | null | null | null | python/grammar/test.py | trypolis464/random_scripts | 9832e2b793e49de0bd40c975faaea216eb1903e9 | [
"MIT"
] | null | null | null | python/grammar/test.py | trypolis464/random_scripts | 9832e2b793e49de0bd40c975faaea216eb1903e9 | [
"MIT"
] | null | null | null | # Tests the grammar module.
#
# Copyright (C) 2021, Ty Gillespie. All rights reserved.
# MIT License.
import grammar
print(grammar.plural(1, "bat", "bats"))
print(grammar.plural(2, "bat", "bats"))
| 19.9 | 56 | 0.693467 | 28 | 199 | 4.928571 | 0.75 | 0.173913 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.140704 | 199 | 9 | 57 | 22.111111 | 0.77193 | 0.467337 | 0 | 0 | 0 | 0 | 0.138614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
0f197eab39ce3f85d3e680a3eb149a27233ed91e | 3,668 | py | Python | tests/core/test_search.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 365 | 2019-05-21T05:50:30.000Z | 2022-03-29T11:35:35.000Z | tests/core/test_search.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 78 | 2019-11-16T12:22:54.000Z | 2022-03-14T12:21:30.000Z | tests/core/test_search.py | next-franciscoalgaba/python-benedict | 81ff459304868327238c322a0a8a203d9d5d4314 | [
"MIT"
] | 26 | 2019-12-16T06:34:12.000Z | 2022-02-28T07:16:41.000Z | # -*- coding: utf-8 -*-
from benedict.core import search as _search
import unittest
class search_test_case(unittest.TestCase):
def test_search_string(self):
d = {
'a': 'Hello world',
'b': 'Hello world!',
'c': {
'd': True,
'e': ' hello ... | 37.428571 | 103 | 0.509269 | 455 | 3,668 | 4.002198 | 0.116484 | 0.146074 | 0.156507 | 0.151565 | 0.858869 | 0.845689 | 0.83196 | 0.820977 | 0.812191 | 0.79352 | 0 | 0.01816 | 0.309433 | 3,668 | 97 | 104 | 37.814433 | 0.70075 | 0.005725 | 0 | 0.4875 | 0 | 0 | 0.06118 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.025 | false | 0 | 0.025 | 0 | 0.0625 | 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 |
0f2d14a494038df6012554731d504170d85dbe0d | 97 | py | Python | pdip/configuration/services/__init__.py | ahmetcagriakca/pdip | c4c16d5666a740154cabdc6762cd44d98b7bdde8 | [
"MIT"
] | 2 | 2021-12-09T21:07:46.000Z | 2021-12-11T22:18:01.000Z | pdip/configuration/services/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | null | null | null | pdip/configuration/services/__init__.py | fmuyilmaz/pdip | f7e30b0c04d9e85ef46b0b7094fafd3ce18bccab | [
"MIT"
] | 3 | 2021-11-15T00:47:00.000Z | 2021-12-17T11:35:45.000Z | from .config_parameter_base import ConfigParameterBase
from .config_service import ConfigService
| 32.333333 | 54 | 0.896907 | 11 | 97 | 7.636364 | 0.727273 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 55 | 48.5 | 0.94382 | 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 |
0f5a071104cd7f4e92fa036934d7fe83957da636 | 146 | py | Python | src/simmate/calculators/vasp/database/band_structure.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | 9 | 2021-12-21T02:58:21.000Z | 2022-01-25T14:00:06.000Z | src/simmate/calculators/vasp/database/band_structure.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | 51 | 2022-01-01T15:59:58.000Z | 2022-03-26T21:25:42.000Z | src/simmate/calculators/vasp/database/band_structure.py | laurenmm/simmate-1 | c06b94c46919b01cda50f78221ad14f75c100a14 | [
"BSD-3-Clause"
] | 7 | 2022-01-01T03:44:32.000Z | 2022-03-29T19:59:27.000Z | # -*- coding: utf-8 -*-
from simmate.database.base_data_types import BandStructureCalc
class MatProjBandStructure(BandStructureCalc):
pass
| 18.25 | 62 | 0.773973 | 15 | 146 | 7.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.130137 | 146 | 7 | 63 | 20.857143 | 0.866142 | 0.143836 | 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 |
0f7585fdad81d4e941ac286a05524fa7f39da373 | 5,006 | py | Python | paul_analysis/make_stellar_box_images.py | lzkelley/arepo-mbh-sims_analysis | f14519552cedd39a040b53e6d7cc538b5b8f38a3 | [
"MIT"
] | null | null | null | paul_analysis/make_stellar_box_images.py | lzkelley/arepo-mbh-sims_analysis | f14519552cedd39a040b53e6d7cc538b5b8f38a3 | [
"MIT"
] | null | null | null | paul_analysis/make_stellar_box_images.py | lzkelley/arepo-mbh-sims_analysis | f14519552cedd39a040b53e6d7cc538b5b8f38a3 | [
"MIT"
] | null | null | null | import plotting.images.stellar_images as stellar_images
import matplotlib.pyplot as plt
import simread.readsubfHDF5 as subf
import numpy as np
import glob
npixels=720
for run_base in [#'explicit_feedback_256', \
'explicit_feedback_256_soft', \
# 'explicit_feedback_256_soft_old_dens', ... | 46.785047 | 144 | 0.469636 | 524 | 5,006 | 4.322519 | 0.209924 | 0.031788 | 0.021192 | 0.031788 | 0.705077 | 0.705077 | 0.705077 | 0.705077 | 0.705077 | 0.702428 | 0 | 0.063624 | 0.40032 | 5,006 | 106 | 145 | 47.226415 | 0.690873 | 0.052936 | 0 | 0.553846 | 0 | 0 | 0.067344 | 0.035578 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.076923 | null | null | 0.092308 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7e2e73de49b2ae993187da70b1e5c2579dc7e2d2 | 42 | py | Python | park/envs/cache/__init__.py | utkarsh5k/park | e7eba74f532204564df42a8e82a65ed025ce3b30 | [
"MIT"
] | 180 | 2019-04-30T05:50:32.000Z | 2022-03-28T01:32:07.000Z | park/envs/cache/__init__.py | utkarsh5k/park | e7eba74f532204564df42a8e82a65ed025ce3b30 | [
"MIT"
] | 21 | 2019-05-03T17:42:54.000Z | 2022-01-25T19:31:42.000Z | park/envs/cache/__init__.py | utkarsh5k/park | e7eba74f532204564df42a8e82a65ed025ce3b30 | [
"MIT"
] | 42 | 2019-05-01T15:15:19.000Z | 2021-11-19T05:27:09.000Z | from park.envs.cache.cache import CacheEnv | 42 | 42 | 0.857143 | 7 | 42 | 5.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 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 |
7e3875fecd59cdaf314685549637debada0d1d9b | 23 | py | Python | macmini-liz/wrangle/src/main/python/wrangle/currency/__init__.py | ggear/asystem | c949a1624812eab5b063681f46a88ccc9527266e | [
"Apache-2.0"
] | 4 | 2019-03-26T13:57:54.000Z | 2021-11-04T04:55:49.000Z | macmini-liz/wrangle/src/main/python/wrangle/currency/__init__.py | ggear/asystem | c949a1624812eab5b063681f46a88ccc9527266e | [
"Apache-2.0"
] | 1 | 2021-04-03T01:10:11.000Z | 2021-04-03T01:10:11.000Z | macmini-liz/wrangle/src/main/python/wrangle/currency/__init__.py | ggear/asystem | c949a1624812eab5b063681f46a88ccc9527266e | [
"Apache-2.0"
] | 2 | 2019-04-02T19:20:34.000Z | 2019-08-13T16:39:52.000Z | from currency import *
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 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 |
7e3e577e2a178c8aeeeeebb8010d37d8eb007d63 | 21,350 | py | Python | cloudify_azure/tests/resources/test_compute.py | cloudify-incubator/cloudify-azure-plugin | 49ecc485b70099d6d23dff81f50b17ab31f7fc18 | [
"Apache-2.0"
] | 2 | 2018-08-16T01:50:35.000Z | 2018-11-17T20:31:37.000Z | cloudify_azure/tests/resources/test_compute.py | cloudify-incubator/cloudify-azure-plugin | 49ecc485b70099d6d23dff81f50b17ab31f7fc18 | [
"Apache-2.0"
] | 43 | 2017-05-18T12:31:42.000Z | 2019-01-08T09:20:42.000Z | cloudify_azure/tests/resources/test_compute.py | cloudify-incubator/cloudify-azure-plugin | 49ecc485b70099d6d23dff81f50b17ab31f7fc18 | [
"Apache-2.0"
] | 4 | 2018-01-17T15:12:54.000Z | 2019-07-16T10:39:24.000Z | # Copyright (c) 2015-2020 Cloudify Platform Ltd. 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 b... | 42.361111 | 79 | 0.598173 | 2,050 | 21,350 | 5.937561 | 0.123415 | 0.08117 | 0.051758 | 0.032862 | 0.86584 | 0.85023 | 0.841439 | 0.824351 | 0.808084 | 0.790338 | 0 | 0.007215 | 0.298876 | 21,350 | 503 | 80 | 42.445328 | 0.805932 | 0.030585 | 0 | 0.68559 | 0 | 0 | 0.198965 | 0.096316 | 0 | 0 | 0 | 0 | 0.045852 | 1 | 0.039301 | false | 0.0131 | 0.024017 | 0.002183 | 0.074236 | 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 |
7e42cacaf60e7f61af2c2dc816e961b9d6e19100 | 100 | py | Python | src/vk/settings/config.py | blan4/ImagesSimilarityDemo | f9b601e57c6c62654868833499fcdcd69142b232 | [
"MIT"
] | 21 | 2018-11-16T20:45:13.000Z | 2022-03-06T17:06:40.000Z | src/vk/settings/config.py | blan4/ImagesSimilarityDemo | f9b601e57c6c62654868833499fcdcd69142b232 | [
"MIT"
] | 1 | 2019-09-17T12:04:08.000Z | 2019-09-17T12:04:08.000Z | src/vk/settings/config.py | blan4/ImagesSimilarityDemo | f9b601e57c6c62654868833499fcdcd69142b232 | [
"MIT"
] | 9 | 2019-04-05T22:40:25.000Z | 2021-09-01T20:53:43.000Z | # -*- coding: utf-8 -*-
def info_path(owner_id):
return 'data/photos_{}.csv'.format(owner_id)
| 16.666667 | 48 | 0.64 | 15 | 100 | 4 | 0.866667 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.15 | 100 | 5 | 49 | 20 | 0.694118 | 0.21 | 0 | 0 | 0 | 0 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7e912358eac7f0e191c2ca4ce8035e8e868b6828 | 1,028 | py | Python | code_repository/tencent_ad_contest/tencent_contest/model/setting.py | zyoohv/zyoohv.github.io | 54d949dd9efcc278041ff59ea1e0f923b17ccb7f | [
"MIT"
] | 1 | 2018-05-22T10:20:54.000Z | 2018-05-22T10:20:54.000Z | code_repository/tencent_ad_contest/tencent_contest/model/setting.py | zyoohv/zyoohv.github.io | 54d949dd9efcc278041ff59ea1e0f923b17ccb7f | [
"MIT"
] | null | null | null | code_repository/tencent_ad_contest/tencent_contest/model/setting.py | zyoohv/zyoohv.github.io | 54d949dd9efcc278041ff59ea1e0f923b17ccb7f | [
"MIT"
] | null | null | null | #! /usr/bin/python3
param_list = [
{
'task': 'train',
'boosting_type': 'gbdt',
'objective': 'binary',
'metric': {'auc'},
'train_metric': True,
'num_leaves': 63,
'lambda_l1': 0,
'lambda_l2': 1,
# 'min_data_in_leaf': 100,
'min_child_weight': 50,
'learning_rate': 0.1,
'feat... | 20.56 | 33 | 0.566148 | 126 | 1,028 | 4.309524 | 0.420635 | 0.051565 | 0.062615 | 0.077348 | 0.865562 | 0.773481 | 0.773481 | 0.773481 | 0.773481 | 0.773481 | 0 | 0.071887 | 0.242218 | 1,028 | 49 | 34 | 20.979592 | 0.62516 | 0.136187 | 0 | 0.65 | 0 | 0 | 0.46538 | 0 | 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 |
7ea5787c79ed5675c156d7049394d578be6b6172 | 131 | py | Python | HMQ/networks/__init__.py | UniSerj/ai-research | 79f0093c93408cc5dd7d3f56aafd7dc1f901421c | [
"Apache-2.0"
] | 46 | 2020-07-15T08:55:31.000Z | 2022-03-29T08:34:30.000Z | HMQ/networks/__init__.py | UniSerj/ai-research | 79f0093c93408cc5dd7d3f56aafd7dc1f901421c | [
"Apache-2.0"
] | 2 | 2021-02-09T06:53:50.000Z | 2021-09-12T09:28:22.000Z | HMQ/networks/__init__.py | UniSerj/ai-research | 79f0093c93408cc5dd7d3f56aafd7dc1f901421c | [
"Apache-2.0"
] | 13 | 2020-07-14T07:43:17.000Z | 2022-01-17T14:44:47.000Z | from networks.factory import get_network_function
from networks.controller.network_controller import NetworkQuantizationController
| 43.666667 | 80 | 0.916031 | 14 | 131 | 8.357143 | 0.642857 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061069 | 131 | 2 | 81 | 65.5 | 0.95122 | 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 |
7eae5a96ae62a1530fceed6e11b4b55822f0182d | 73 | py | Python | chargebee_v2/models/content.py | armisael/chargebee-python | df01e80c8ed7ac8ed37ad985ce5a5682cba64c30 | [
"MIT"
] | null | null | null | chargebee_v2/models/content.py | armisael/chargebee-python | df01e80c8ed7ac8ed37ad985ce5a5682cba64c30 | [
"MIT"
] | null | null | null | chargebee_v2/models/content.py | armisael/chargebee-python | df01e80c8ed7ac8ed37ad985ce5a5682cba64c30 | [
"MIT"
] | null | null | null | from chargebee_v2.result import Result
class Content(Result):
pass
| 12.166667 | 38 | 0.767123 | 10 | 73 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.178082 | 73 | 5 | 39 | 14.6 | 0.9 | 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 |
0e210d199d725642e7b849d5de8d3f922820d0bc | 45 | py | Python | mobie/__version__.py | mobie-org/mobie-utils-python | 0281db2bf3726103b762a50e40849e30942dd6ec | [
"MIT"
] | 1 | 2020-03-03T01:33:06.000Z | 2020-03-03T01:33:06.000Z | mobie/__version__.py | platybrowser/mmb-python | 0281db2bf3726103b762a50e40849e30942dd6ec | [
"MIT"
] | 4 | 2020-05-15T09:27:59.000Z | 2020-05-29T19:15:00.000Z | mobie/__version__.py | platybrowser/mmb-python | 0281db2bf3726103b762a50e40849e30942dd6ec | [
"MIT"
] | 2 | 2020-06-08T07:06:01.000Z | 2020-06-08T07:08:08.000Z | __version__ = "0.2.7"
SPEC_VERSION = "0.2.0"
| 15 | 22 | 0.644444 | 9 | 45 | 2.666667 | 0.555556 | 0.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.133333 | 45 | 2 | 23 | 22.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0e23ae6485152f2482a8a345b02b469295049b35 | 34 | py | Python | metric/__init__.py | JackFram/Neural-Flow | 83cea7aa933fa9650b42271ba4205208814d047b | [
"Apache-2.0"
] | 1 | 2022-01-24T16:27:51.000Z | 2022-01-24T16:27:51.000Z | metric/__init__.py | JackFram/Neural-Flow | 83cea7aa933fa9650b42271ba4205208814d047b | [
"Apache-2.0"
] | null | null | null | metric/__init__.py | JackFram/Neural-Flow | 83cea7aa933fa9650b42271ba4205208814d047b | [
"Apache-2.0"
] | null | null | null | from .TS import TopologySimilarity | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0e95c4aa380124467e62cf995674ef5c876474b6 | 86 | py | Python | Test.py | junugi/YOLO-OT | d3aba435fd15f9a29ab6af906c48a110507f3813 | [
"MIT"
] | null | null | null | Test.py | junugi/YOLO-OT | d3aba435fd15f9a29ab6af906c48a110507f3813 | [
"MIT"
] | null | null | null | Test.py | junugi/YOLO-OT | d3aba435fd15f9a29ab6af906c48a110507f3813 | [
"MIT"
] | null | null | null | from YOT_Base import YOT_Base
class Test(YOT_Base):
def test(self):
pass
| 14.333333 | 29 | 0.674419 | 14 | 86 | 3.928571 | 0.642857 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255814 | 86 | 5 | 30 | 17.2 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7ec7c2ae9299b9fd8e5d3e7342e69cca0322b06c | 70 | py | Python | cells_in_gel/__init__.py | jingexu/cells-in-gel | 68e5b2d536f5c2bc66410e1d0a81bc46916652b5 | [
"MIT"
] | null | null | null | cells_in_gel/__init__.py | jingexu/cells-in-gel | 68e5b2d536f5c2bc66410e1d0a81bc46916652b5 | [
"MIT"
] | 6 | 2020-04-15T03:17:42.000Z | 2020-06-01T21:06:47.000Z | cells_in_gel/__init__.py | jingexu/cells-in-gel | 68e5b2d536f5c2bc66410e1d0a81bc46916652b5 | [
"MIT"
] | 1 | 2022-02-09T18:19:54.000Z | 2022-02-09T18:19:54.000Z | from . import preprocess
from . import properties
from . import batch
| 17.5 | 24 | 0.785714 | 9 | 70 | 6.111111 | 0.555556 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 25 | 23.333333 | 0.948276 | 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 |
7eef7daa6b3107d1744840c0708838d4e7f363eb | 31 | py | Python | phonygres/engine/__init__.py | shz/phonygres | 966c8eb1d0be9f53e1c13f65935dd3e1aa50d886 | [
"Unlicense"
] | 2 | 2018-03-15T20:39:58.000Z | 2021-11-17T17:57:19.000Z | phonygres/engine/__init__.py | shz/phonygres | 966c8eb1d0be9f53e1c13f65935dd3e1aa50d886 | [
"Unlicense"
] | null | null | null | phonygres/engine/__init__.py | shz/phonygres | 966c8eb1d0be9f53e1c13f65935dd3e1aa50d886 | [
"Unlicense"
] | null | null | null | from .executor import execute
| 15.5 | 30 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 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 |
7d07013650b48fbddda7c56255264117774ff41c | 247,444 | py | Python | analysis/analysis.py | aguerrero232/DataScienceGroupProject | f27bc29f5a3646d1e19474be821af08a347aecfe | [
"MIT"
] | null | null | null | analysis/analysis.py | aguerrero232/DataScienceGroupProject | f27bc29f5a3646d1e19474be821af08a347aecfe | [
"MIT"
] | null | null | null | analysis/analysis.py | aguerrero232/DataScienceGroupProject | f27bc29f5a3646d1e19474be821af08a347aecfe | [
"MIT"
] | null | null | null | import loaddata
import pokemon_regression
import pokemon_stat_analysis
import pokemon_test_are_dragons_taller
import pokemon_normal_dist_and_actual_vals
separator_char = ", "
separator = '---------------------------------------------------------------'
tab: str = "\t"
def do_normal_dist_against_actual_values(options... | 46.485816 | 119 | 0.522862 | 25,559 | 247,444 | 4.722446 | 0.005595 | 0.06338 | 0.112741 | 0.066114 | 0.979089 | 0.968774 | 0.930349 | 0.82716 | 0.744857 | 0.734899 | 0 | 0.02854 | 0.376097 | 247,444 | 5,322 | 120 | 46.494551 | 0.753299 | 0.028629 | 0 | 0.66104 | 0 | 0.000582 | 0.087256 | 0.000263 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002522 | false | 0 | 0.00097 | 0 | 0.022507 | 0.004851 | 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 |
adc792d90ba984c9f4c5ea496185f439bcd852fb | 65 | py | Python | python/tools/lists/reverse.py | xanderyzwich/Playground | 3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a | [
"Apache-2.0"
] | 1 | 2021-08-19T13:40:26.000Z | 2021-08-19T13:40:26.000Z | python/tools/lists/reverse.py | xanderyzwich/Playground | 3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a | [
"Apache-2.0"
] | null | null | null | python/tools/lists/reverse.py | xanderyzwich/Playground | 3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a | [
"Apache-2.0"
] | 1 | 2021-03-31T12:37:14.000Z | 2021-03-31T12:37:14.000Z | def reverse_array(input_array):
return reversed(input_array) | 32.5 | 32 | 0.8 | 9 | 65 | 5.444444 | 0.666667 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 33 | 32.5 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
addb7cd6a88702b09abdd64816c43edf063feb4d | 22 | py | Python | RegressionVisualization/ShapeRegressionUtilities/__init__.py | jcfr/ShapeRegressionExtension | d8b11aeb089bfe36d36a77e217fc75eb3f08e00a | [
"Apache-2.0"
] | null | null | null | RegressionVisualization/ShapeRegressionUtilities/__init__.py | jcfr/ShapeRegressionExtension | d8b11aeb089bfe36d36a77e217fc75eb3f08e00a | [
"Apache-2.0"
] | null | null | null | RegressionVisualization/ShapeRegressionUtilities/__init__.py | jcfr/ShapeRegressionExtension | d8b11aeb089bfe36d36a77e217fc75eb3f08e00a | [
"Apache-2.0"
] | null | null | null | from utility import *
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 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 |
adeae18dc2493ba651b86f09a8bcbd6f101fefe7 | 3,086 | py | Python | jodel_scraper_db.py | IngoKl/JodelScraper | 750147927b0c86fe22dfab8af239df13e850593e | [
"MIT"
] | null | null | null | jodel_scraper_db.py | IngoKl/JodelScraper | 750147927b0c86fe22dfab8af239df13e850593e | [
"MIT"
] | null | null | null | jodel_scraper_db.py | IngoKl/JodelScraper | 750147927b0c86fe22dfab8af239df13e850593e | [
"MIT"
] | null | null | null | from pathlib import Path
from sqlalchemy import create_engine, Column, ForeignKey, Integer, String, Boolean, Float, BigInteger
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class Jodel(Base):
__tablename__ = 'jodels'
id = Column(Integer, primary_key=True)
a... | 31.171717 | 102 | 0.6779 | 356 | 3,086 | 5.63764 | 0.266854 | 0.173393 | 0.071749 | 0.021923 | 0.762332 | 0.762332 | 0.762332 | 0.762332 | 0.762332 | 0.715496 | 0 | 0 | 0.229747 | 3,086 | 98 | 103 | 31.489796 | 0.844342 | 0.021711 | 0 | 0.785714 | 0 | 0 | 0.030875 | 0.017839 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.035714 | 0.02381 | 0.928571 | 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 |
bc28e649c1e2d15f16d0fb26a0ede1aee9233850 | 34 | py | Python | dexy/reporters/run/__init__.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 136 | 2015-01-06T15:04:47.000Z | 2021-12-21T22:52:41.000Z | dexy/reporters/run/__init__.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 13 | 2015-01-26T14:06:58.000Z | 2020-03-27T21:16:10.000Z | dexy/reporters/run/__init__.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 34 | 2015-01-02T16:24:53.000Z | 2021-11-27T05:38:30.000Z | import dexy.reporters.run.classes
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 34 | 1 | 34 | 34 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc2b5cedc3c88cec596c104e4f23bf287b202395 | 96 | py | Python | venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/exceptions.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/exceptions.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/05/02/9c/d0b1159f66633b77046183ef1d174097290c9d42390acbb13d88890d80 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 96 | 1 | 96 | 96 | 0.395833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 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.