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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1d4a22cde7e4e39501c2db87cec8f21200c2cd0a | 155 | py | Python | gui/guicomponent.py | TUPilotsClub/TUTello | 965b236866c34d2444afd4813418131438978e13 | [
"MIT"
] | null | null | null | gui/guicomponent.py | TUPilotsClub/TUTello | 965b236866c34d2444afd4813418131438978e13 | [
"MIT"
] | null | null | null | gui/guicomponent.py | TUPilotsClub/TUTello | 965b236866c34d2444afd4813418131438978e13 | [
"MIT"
] | null | null | null | class GUIComponent:
def get_surface(self):
return None
def get_position(self):
return None
def initialize(self):
pass | 17.222222 | 27 | 0.612903 | 18 | 155 | 5.166667 | 0.611111 | 0.129032 | 0.301075 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.322581 | 155 | 9 | 28 | 17.222222 | 0.885714 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.285714 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 8 |
1d5243aa26ff184b2c579d70b4e4d7eff7306f1e | 38,996 | py | Python | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/dEta_mmjj_cuts_plots/tight_analysis_sdeta_3.6_mmjj_1250/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/dEta_mmjj_cuts_plots/tight_analysis_sdeta_3.6_mmjj_1250/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | optimization/first_sdEta_mjj_optimization/sdEta_mistake_analyses/dEta_mmjj_cuts_plots/tight_analysis_sdeta_3.6_mmjj_1250/Output/Histos/MadAnalysis5job_0/selection_0.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_0():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 201.010309 | 2,846 | 0.735255 | 8,990 | 38,996 | 3.108009 | 0.170634 | 0.318958 | 0.473927 | 0.626033 | 0.374503 | 0.370531 | 0.364733 | 0.361941 | 0.360581 | 0.360581 | 0 | 0.575052 | 0.04244 | 38,996 | 193 | 2,847 | 202.051813 | 0.173214 | 0.02472 | 0 | 0.185841 | 0 | 0.00885 | 0.02824 | 0.005264 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d51f862d45e75de197f50f88901ae2994c0f7b0c | 80 | py | Python | models/points_rcnn/__init__.py | periakiva/finding_berries | 1dfc7cf00c384321e39872921051dc9535355e53 | [
"MIT"
] | 11 | 2020-05-11T21:57:44.000Z | 2022-01-05T14:44:28.000Z | models/points_rcnn/__init__.py | periakiva/finding_berries | 1dfc7cf00c384321e39872921051dc9535355e53 | [
"MIT"
] | 2 | 2020-07-29T10:08:36.000Z | 2022-01-18T15:38:57.000Z | models/points_rcnn/__init__.py | periakiva/finding_berries | 1dfc7cf00c384321e39872921051dc9535355e53 | [
"MIT"
] | 2 | 2021-08-29T17:20:38.000Z | 2021-09-21T21:07:30.000Z | from .faster_rcnn import *
from .mask_rcnn import *
from .keypoint_rcnn import * | 26.666667 | 28 | 0.7875 | 12 | 80 | 5 | 0.5 | 0.5 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1375 | 80 | 3 | 28 | 26.666667 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d52487f2936dbcaab1691910bf3641e036ac071b | 37 | py | Python | tom/__init__.py | kanishkg/bib-models | b91bb533cb60ce20f13fb19e7b100070264b711e | [
"MIT"
] | 1 | 2022-02-24T05:16:08.000Z | 2022-02-24T05:16:08.000Z | tom/__init__.py | kanishkg/bib-baselines | 62b87dc0f1697c19c67e45b2a724e806508c388f | [
"MIT"
] | null | null | null | tom/__init__.py | kanishkg/bib-baselines | 62b87dc0f1697c19c67e45b2a724e806508c388f | [
"MIT"
] | null | null | null | import tom.datasets
import tom.models | 18.5 | 19 | 0.864865 | 6 | 37 | 5.333333 | 0.666667 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 2 | 20 | 18.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d57656a0d582c1eabf4bccdfe83e546ab23fee5d | 17,921 | py | Python | eto/_internal/api/accounts_api.py | eto-ai/etosdk | 77d21e49a0781d58e7292854cf9d6efff67e0a1e | [
"Apache-2.0"
] | 9 | 2021-12-14T04:05:30.000Z | 2022-01-05T20:41:43.000Z | eto/_internal/api/accounts_api.py | eto-ai/etosdk | 77d21e49a0781d58e7292854cf9d6efff67e0a1e | [
"Apache-2.0"
] | 7 | 2021-12-14T00:20:41.000Z | 2022-02-19T19:37:17.000Z | eto/_internal/api/accounts_api.py | eto-ai/etosdk | 77d21e49a0781d58e7292854cf9d6efff67e0a1e | [
"Apache-2.0"
] | null | null | null | """
Eto API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 0.11.0
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
import sys # noqa: F401
from eto._internal.api_c... | 41.292627 | 124 | 0.5368 | 1,841 | 17,921 | 5.000543 | 0.107007 | 0.036172 | 0.022594 | 0.023463 | 0.870519 | 0.868129 | 0.858679 | 0.84358 | 0.83804 | 0.83804 | 0 | 0.003207 | 0.373584 | 17,921 | 433 | 125 | 41.387991 | 0.816854 | 0.430222 | 0 | 0.711297 | 1 | 0 | 0.241441 | 0.055537 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020921 | false | 0 | 0.025105 | 0 | 0.066946 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d597d7d368913b911b8e6007381e1b33d42d3474 | 14,622 | py | Python | tests/test_models_head.py | kevinmtian/pytorchvideo | 168e16859a6029ef8ebeb476f9163bebb6c6b87d | [
"Apache-2.0"
] | 2,391 | 2021-04-13T18:10:18.000Z | 2022-03-31T15:07:09.000Z | tests/test_models_head.py | kevinmtian/pytorchvideo | 168e16859a6029ef8ebeb476f9163bebb6c6b87d | [
"Apache-2.0"
] | 156 | 2021-04-13T18:51:49.000Z | 2022-03-31T08:05:50.000Z | tests/test_models_head.py | kevinmtian/pytorchvideo | 168e16859a6029ef8ebeb476f9163bebb6c6b87d | [
"Apache-2.0"
] | 231 | 2021-04-14T05:04:55.000Z | 2022-03-22T09:35:46.000Z | # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
import itertools
import unittest
import numpy as np
import torch
from pytorchvideo.models.head import (
ResNetBasicHead,
ResNetRoIHead,
SequencePool,
create_res_basic_head,
create_res_roi_pooling_head,
create_vit_basic_hea... | 36.282878 | 88 | 0.512857 | 1,493 | 14,622 | 4.787006 | 0.108506 | 0.052609 | 0.040297 | 0.036939 | 0.858542 | 0.846369 | 0.831398 | 0.807891 | 0.798937 | 0.784105 | 0 | 0.030251 | 0.400903 | 14,622 | 402 | 89 | 36.373134 | 0.785616 | 0.064492 | 0 | 0.713836 | 0 | 0 | 0.023306 | 0 | 0 | 0 | 0 | 0 | 0.053459 | 1 | 0.037736 | false | 0 | 0.022013 | 0 | 0.066038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6338dbad646aa0cc6d68d7f1db564f8334a3814c | 1,245 | py | Python | tests/dataproviders/rss.py | danielkoster/argosd | e5952df10b00a95ba9edac9e057f080afe1b4d2d | [
"MIT"
] | 2 | 2016-09-11T14:27:32.000Z | 2017-09-30T13:17:27.000Z | tests/dataproviders/rss.py | danielkoster/argosd | e5952df10b00a95ba9edac9e057f080afe1b4d2d | [
"MIT"
] | 22 | 2016-09-03T15:27:45.000Z | 2021-03-09T10:54:16.000Z | tests/dataproviders/rss.py | danielkoster/argosd | e5952df10b00a95ba9edac9e057f080afe1b4d2d | [
"MIT"
] | null | null | null | SINGLE_MATCHING_ITEM = """
<rss version="2.0">
<channel>
<item>
<title>testshow S02E03 720p</title>
<link>testlink</link>
</item>
</channel>
</rss>
"""
SINGLE_ITEM_CAPITALISATION = """
<rss version="2.0">
<channel>
<item>
<title>TestShow S02E03 72... | 19.761905 | 47 | 0.500402 | 123 | 1,245 | 4.96748 | 0.227642 | 0.10311 | 0.194763 | 0.240589 | 0.829787 | 0.829787 | 0.829787 | 0.726678 | 0.630115 | 0.414075 | 0 | 0.069628 | 0.330924 | 1,245 | 62 | 48 | 20.080645 | 0.663866 | 0 | 0 | 0.827586 | 0 | 0 | 0.862651 | 0.118072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
633e3655dc5ebc6c0a4fa0d308713d486c4dd7da | 91 | py | Python | __init__.py | nandordevai/MPD218 | 0fceb7d4afdc9eff40c637c9f329a133251bf78b | [
"MIT"
] | 7 | 2017-12-31T00:07:02.000Z | 2019-06-02T21:35:30.000Z | __init__.py | nandordevai/TouchControl | 1990387d6e059abdba436d7e6b8adbf81005388c | [
"MIT"
] | null | null | null | __init__.py | nandordevai/TouchControl | 1990387d6e059abdba436d7e6b8adbf81005388c | [
"MIT"
] | 3 | 2019-01-01T17:13:46.000Z | 2020-06-17T09:16:58.000Z | from MPD218 import MPD218
def create_instance(c_instance):
return MPD218(c_instance)
| 15.166667 | 32 | 0.791209 | 13 | 91 | 5.307692 | 0.615385 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 0.153846 | 91 | 5 | 33 | 18.2 | 0.779221 | 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 | 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 | 1 | 1 | 1 | 0 | 0 | 7 |
63540d737b9a325cdf8bd185e785961fe6f62611 | 22,138 | py | Python | tests/test_protocol.py | codeprentice-org/siosocks | 34c8de0cb5bb444e0cba9472b2fa5219a259eab8 | [
"MIT"
] | 15 | 2019-08-09T06:22:37.000Z | 2022-03-22T01:24:46.000Z | tests/test_protocol.py | codeprentice-org/siosocks | 34c8de0cb5bb444e0cba9472b2fa5219a259eab8 | [
"MIT"
] | 3 | 2019-09-21T00:03:49.000Z | 2020-09-01T10:18:30.000Z | tests/test_protocol.py | codeprentice-org/siosocks | 34c8de0cb5bb444e0cba9472b2fa5219a259eab8 | [
"MIT"
] | 3 | 2019-10-21T03:02:51.000Z | 2020-09-27T17:30:51.000Z | import collections
import contextlib
import pytest
from siosocks.exceptions import SocksException
from siosocks.protocol import SocksClient, SocksServer
from siosocks.sansio import SansIORW
class ConnectionFailed(Exception):
pass
class Node:
def __init__(self, generator):
self.generator = generat... | 34.753532 | 93 | 0.613199 | 2,986 | 22,138 | 4.398861 | 0.054588 | 0.126075 | 0.154092 | 0.102322 | 0.898972 | 0.88504 | 0.857252 | 0.846136 | 0.834793 | 0.830453 | 0 | 0.048057 | 0.252733 | 22,138 | 636 | 94 | 34.808176 | 0.745935 | 0 | 0 | 0.761224 | 0 | 0 | 0.054973 | 0 | 0 | 0 | 0.001445 | 0 | 0.191837 | 1 | 0.144898 | false | 0.089796 | 0.012245 | 0 | 0.165306 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
63972e8c1c7f4dcdf7d9ac9ed9c18391e04614d7 | 26,851 | py | Python | sdk/python/pulumi_alicloud/rds/read_write_splitting_connection.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/rds/read_write_splitting_connection.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/rds/read_write_splitting_connection.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 50.566855 | 288 | 0.669435 | 3,192 | 26,851 | 5.439223 | 0.083647 | 0.055754 | 0.056906 | 0.031678 | 0.874669 | 0.85906 | 0.846849 | 0.836194 | 0.824271 | 0.810218 | 0 | 0.01521 | 0.236043 | 26,851 | 530 | 289 | 50.662264 | 0.83118 | 0.478008 | 0 | 0.716 | 1 | 0 | 0.106775 | 0.012819 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.004 | 0.02 | 0 | 0.276 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
63a0cab343b78571d125f307245cd78d93285a71 | 27 | py | Python | tests/samples/noexercise.py | PureDreamer/lms | 4e4c2030f4f51a552e1fbfe82c16dc837e95310c | [
"BSD-3-Clause"
] | 85 | 2020-03-21T18:52:57.000Z | 2022-03-22T06:33:38.000Z | tests/samples/noexercise.py | PureDreamer/lms | 4e4c2030f4f51a552e1fbfe82c16dc837e95310c | [
"BSD-3-Clause"
] | 210 | 2020-03-21T22:44:57.000Z | 2022-01-06T22:47:50.000Z | tests/samples/noexercise.py | PureDreamer/lms | 4e4c2030f4f51a552e1fbfe82c16dc837e95310c | [
"BSD-3-Clause"
] | 27 | 2020-03-31T13:57:33.000Z | 2022-03-06T15:57:32.000Z | def get_id():
return 0
| 9 | 13 | 0.592593 | 5 | 27 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.296296 | 27 | 2 | 14 | 13.5 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
896f0c7392475ac1399e40e2b6cc7aeef29bbbb1 | 153 | py | Python | python/tests/test_packages.py | lambdaofgod/keepsake | 54d3eab0f4fcfe5fbe43a50cf14983c06234d6c8 | [
"Apache-2.0"
] | 810 | 2021-02-09T09:26:26.000Z | 2022-03-25T14:06:13.000Z | python/tests/test_packages.py | lambdaofgod/keepsake | 54d3eab0f4fcfe5fbe43a50cf14983c06234d6c8 | [
"Apache-2.0"
] | 347 | 2021-02-08T07:24:29.000Z | 2022-03-31T23:05:29.000Z | python/tests/test_packages.py | lambdaofgod/keepsake | 54d3eab0f4fcfe5fbe43a50cf14983c06234d6c8 | [
"Apache-2.0"
] | 43 | 2020-10-30T19:55:42.000Z | 2021-01-18T22:41:49.000Z | import datetime
from keepsake.packages import get_imported_packages
def test_get_imported_packages():
assert "keepsake" in get_imported_packages()
| 21.857143 | 51 | 0.830065 | 20 | 153 | 6 | 0.55 | 0.275 | 0.475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 153 | 6 | 52 | 25.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 1 | 0 | 1.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
8984792b7048d77ff26f487e236a2b2d4317b0fa | 11,542 | py | Python | tests/commands/test_update.py | kapb14/hatch | e7f7e094571780d6499d41960999134966ae699d | [
"Apache-2.0",
"MIT"
] | 2,549 | 2017-09-05T06:44:17.000Z | 2022-03-31T23:21:02.000Z | tests/commands/test_update.py | anmolsrivastava05/hatch | df2c9d46ee7713a1bc156c361cfd0f78e5935297 | [
"Apache-2.0"
] | 97 | 2017-06-07T23:14:12.000Z | 2022-03-30T14:22:34.000Z | tests/commands/test_update.py | anmolsrivastava05/hatch | df2c9d46ee7713a1bc156c361cfd0f78e5935297 | [
"Apache-2.0"
] | 140 | 2017-06-10T14:16:47.000Z | 2022-03-23T09:25:01.000Z | import os
from click.testing import CliRunner
from hatch.cli import hatch
from hatch.config import get_venv_dir
from hatch.env import (
get_installed_packages, get_python_implementation, install_packages
)
from hatch.utils import env_vars, remove_path, temp_chdir
from hatch.venv import create_venv, get_new_venv_n... | 32.696884 | 89 | 0.616704 | 1,469 | 11,542 | 4.570456 | 0.079646 | 0.062556 | 0.055705 | 0.068365 | 0.867143 | 0.857611 | 0.842866 | 0.782544 | 0.754394 | 0.744713 | 0 | 0.010608 | 0.264945 | 11,542 | 352 | 90 | 32.789773 | 0.780764 | 0.00052 | 0 | 0.777778 | 0 | 0 | 0.115918 | 0.002774 | 0 | 0 | 0 | 0 | 0.203704 | 1 | 0.062963 | false | 0 | 0.033333 | 0 | 0.096296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9822f2e1d107f302adcc514568f5507e26cd5b43 | 2,995 | py | Python | tests/test_chiral_linear.py | raymondyeh07/chirality_nets | d9b4a0ba6347ab6a6126030b9434979fe35a795f | [
"MIT"
] | 28 | 2019-11-20T13:01:02.000Z | 2022-03-22T19:51:48.000Z | tests/test_chiral_linear.py | raymondyeh07/chirality_nets | d9b4a0ba6347ab6a6126030b9434979fe35a795f | [
"MIT"
] | null | null | null | tests/test_chiral_linear.py | raymondyeh07/chirality_nets | d9b4a0ba6347ab6a6126030b9434979fe35a795f | [
"MIT"
] | 1 | 2020-10-16T14:51:48.000Z | 2020-10-16T14:51:48.000Z | """Test for Chiral linear layers."""
import unittest
import torch
import torch.nn.functional as F
from tests.test_chiral_base import TestChiralBase
from chiral_layers.chiral_linear import ChiralLinear
class TestChiralConv1d(TestChiralBase):
"""Implements unittests for chiral linear layers."""
def test_single_l... | 32.912088 | 74 | 0.609015 | 425 | 2,995 | 3.985882 | 0.178824 | 0.056671 | 0.03778 | 0.014168 | 0.831169 | 0.831169 | 0.831169 | 0.831169 | 0.831169 | 0.831169 | 0 | 0.024 | 0.290484 | 2,995 | 90 | 75 | 33.277778 | 0.773176 | 0.144908 | 0 | 0.827586 | 0 | 0 | 0.030794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.086207 | 0 | 0.137931 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
98a1606e37ac9c8eaba27d7f548e050f96448e30 | 15,443 | py | Python | src/genie/libs/parser/iosxe/tests/ShowBgpAllDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowBgpAllDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowBgpAllDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"instance": {
"default": {
"vrf": {
"VRF1": {
"address_family": {
"vpnv4 unicast RD 100:100": {
"default_vrf": "VRF1",
"prefixes": {
... | 56.361314 | 100 | 0.190637 | 713 | 15,443 | 3.952314 | 0.098177 | 0.02555 | 0.029808 | 0.02484 | 0.917317 | 0.917317 | 0.917317 | 0.917317 | 0.876153 | 0.787083 | 0 | 0.105012 | 0.714498 | 15,443 | 273 | 101 | 56.567766 | 0.534135 | 0 | 0 | 0.765568 | 0 | 0 | 0.201839 | 0 | 0 | 0 | 0.001554 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
98a3d87d80fda4df46f54aaa420b39be4b679fce | 272 | py | Python | Chapter-3 Loop/Triangle_Pattern/cbazxyx.py | jaiswalIT02/pythonprograms | bc94e52121202b04c3e9112d9786f93ed6707f7a | [
"MIT"
] | null | null | null | Chapter-3 Loop/Triangle_Pattern/cbazxyx.py | jaiswalIT02/pythonprograms | bc94e52121202b04c3e9112d9786f93ed6707f7a | [
"MIT"
] | null | null | null | Chapter-3 Loop/Triangle_Pattern/cbazxyx.py | jaiswalIT02/pythonprograms | bc94e52121202b04c3e9112d9786f93ed6707f7a | [
"MIT"
] | null | null | null | n=6
x=1
for i in range(1,n+1):
for j in range(i,0,-1):
ch=chr(ord('Z')-j+1)
print(ch,end="")
x=x+1
print()
for i in range(n,0,-1):
for j in range(i,0,-1):
ch=chr(ord('Z')-j+1)
print(ch,end="")
x=x+1
print()
| 17 | 28 | 0.433824 | 58 | 272 | 2.034483 | 0.275862 | 0.237288 | 0.101695 | 0.186441 | 0.745763 | 0.745763 | 0.745763 | 0.745763 | 0.745763 | 0.745763 | 0 | 0.077348 | 0.334559 | 272 | 15 | 29 | 18.133333 | 0.574586 | 0 | 0 | 0.714286 | 0 | 0 | 0.007353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
98a8b88807ee92aaa689d4935c932ce3847ce04f | 128 | py | Python | python/testData/completion/heavyStarPropagation/lib/_pkg1/_pkg1_1/_pkg1_1_0/_pkg1_1_0_0/_pkg1_1_0_0_0/_mod1_1_0_0_0_0.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/_pkg1/_pkg1_1/_pkg1_1_0/_pkg1_1_0_0/_pkg1_1_0_0_0/_mod1_1_0_0_0_0.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/_pkg1/_pkg1_1/_pkg1_1_0/_pkg1_1_0_0/_pkg1_1_0_0_0/_mod1_1_0_0_0_0.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | name1_1_0_0_0_0_0 = None
name1_1_0_0_0_0_1 = None
name1_1_0_0_0_0_2 = None
name1_1_0_0_0_0_3 = None
name1_1_0_0_0_0_4 = None | 14.222222 | 24 | 0.820313 | 40 | 128 | 1.875 | 0.175 | 0.426667 | 0.44 | 0.32 | 0.88 | 0.88 | 0.746667 | 0 | 0 | 0 | 0 | 0.318182 | 0.140625 | 128 | 9 | 25 | 14.222222 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 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 | 10 |
7f5e09780752e3c5ced1bf57bd9d20ba4f7b002e | 134 | py | Python | dist/Basilisk/simulation/orb_elem_convert/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/simulation/orb_elem_convert/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/simulation/orb_elem_convert/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the orb_elem_convert package is automatically generated by the build system
from orb_elem_convert import * | 67 | 103 | 0.843284 | 22 | 134 | 4.772727 | 0.818182 | 0.133333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 134 | 2 | 104 | 67 | 0.905172 | 0.753731 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
7f65d4eb34ae1aeb0c15d63cbe7b36d44f1c07b1 | 10,603 | py | Python | pynos/versions/ver_7/ver_7_1_0/yang/brocade_isns.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 12 | 2015-09-21T23:56:09.000Z | 2018-03-30T04:35:32.000Z | pynos/versions/ver_7/ver_7_1_0/yang/brocade_isns.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 10 | 2016-09-15T19:03:27.000Z | 2017-07-17T23:38:01.000Z | pynos/versions/ver_7/ver_7_1_0/yang/brocade_isns.py | bdeetz/pynos | bd8a34e98f322de3fc06750827d8bbc3a0c00380 | [
"Apache-2.0"
] | 6 | 2015-08-14T08:05:23.000Z | 2022-02-03T15:33:54.000Z | #!/usr/bin/env python
import xml.etree.ElementTree as ET
class brocade_isns(object):
"""Auto generated class.
"""
def __init__(self, **kwargs):
self._callback = kwargs.pop('callback')
def isns_isns_vrf_isns_vrf_instance(self, **kwargs):
"""Auto Generated Code
"""
... | 49.316279 | 119 | 0.678299 | 1,336 | 10,603 | 5.085329 | 0.033683 | 0.12982 | 0.167795 | 0.136002 | 0.980865 | 0.980865 | 0.980865 | 0.980865 | 0.980865 | 0.980865 | 0 | 0 | 0.200415 | 10,603 | 215 | 120 | 49.316279 | 0.801368 | 0.042724 | 0 | 0.973684 | 1 | 0 | 0.198511 | 0.100447 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098684 | false | 0 | 0.006579 | 0 | 0.203947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f69378a5a155209260b3a0ff05f057bece402d2b | 14,456 | py | Python | tests/pytest/test_import.py | bcdady/cloudtruth-cli | 9b556b728919c49195cdf89a64301a2ae6a0afe4 | [
"Apache-2.0"
] | null | null | null | tests/pytest/test_import.py | bcdady/cloudtruth-cli | 9b556b728919c49195cdf89a64301a2ae6a0afe4 | [
"Apache-2.0"
] | 30 | 2021-03-19T22:32:32.000Z | 2022-02-11T23:55:40.000Z | tests/pytest/test_import.py | bcdady/cloudtruth-cli | 9b556b728919c49195cdf89a64301a2ae6a0afe4 | [
"Apache-2.0"
] | 2 | 2022-02-11T18:44:28.000Z | 2022-02-25T18:26:14.000Z | from testcase import TestCase
from testcase import PROP_NAME
from testcase import PROP_VALUE
from testcase import REDACTED
from testcase import find_by_prop
PROP_ENV = "Environment"
PROP_CHANGE = "Change"
PROP_PROJ = "Project"
PROP_SECRET = "Secret"
UPDATED = "updated"
UNCHANGED = "unchanged"
CREATED = "created"
INHE... | 48.510067 | 111 | 0.663531 | 1,873 | 14,456 | 4.875601 | 0.071009 | 0.175756 | 0.201489 | 0.231713 | 0.841218 | 0.828625 | 0.811432 | 0.792269 | 0.775186 | 0.749124 | 0 | 0.011767 | 0.20047 | 14,456 | 297 | 112 | 48.673401 | 0.778335 | 0.038392 | 0 | 0.677966 | 0 | 0 | 0.145798 | 0 | 0 | 0 | 0 | 0 | 0.457627 | 1 | 0.012712 | false | 0.033898 | 0.317797 | 0 | 0.34322 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
f69bcad3fca9240f8d4bfe42f1b9dc344c73ade2 | 3,655 | py | Python | tests/cryolo_relion_it/test_icebreaker_external_job.py | DiamondLightSource/python-relion | 8ff1f87510f1a8971a5fd8d217eb17cbea78731d | [
"BSD-3-Clause"
] | 5 | 2020-07-20T04:18:25.000Z | 2022-02-12T13:40:48.000Z | tests/cryolo_relion_it/test_icebreaker_external_job.py | DiamondLightSource/python-relion | 8ff1f87510f1a8971a5fd8d217eb17cbea78731d | [
"BSD-3-Clause"
] | 97 | 2020-07-17T18:20:06.000Z | 2022-03-31T10:28:47.000Z | tests/cryolo_relion_it/test_icebreaker_external_job.py | DiamondLightSource/python-relion | 8ff1f87510f1a8971a5fd8d217eb17cbea78731d | [
"BSD-3-Clause"
] | 1 | 2020-10-30T11:07:03.000Z | 2020-10-30T11:07:03.000Z | import gemmi
from relion.cryolo_relion_it import icebreaker_histogram
def test_create_json_histogram(tmp_path):
# Prep
icebreaker_dir = tmp_path / "External" / "Icebreaker_group_batch_001"
icebreaker_dir.mkdir(parents=True)
particles_file = icebreaker_dir / "particles.star"
particles_file.write_t... | 34.809524 | 87 | 0.759234 | 475 | 3,655 | 5.366316 | 0.130526 | 0.163201 | 0.074539 | 0.098078 | 0.93213 | 0.905453 | 0.898784 | 0.888191 | 0.86583 | 0.826599 | 0 | 0.014786 | 0.148837 | 3,655 | 104 | 88 | 35.144231 | 0.804564 | 0.009302 | 0 | 0.732394 | 0 | 0 | 0.153612 | 0.071962 | 0 | 0 | 0 | 0 | 0.112676 | 1 | 0.112676 | false | 0 | 0.028169 | 0 | 0.140845 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f6c69b511a1aa941c551d74792a1545cf26d662e | 260 | py | Python | torch_tresnet/__init__.py | tczhangzhi/torch-tresnet | 0ee43fc1bab585c3b78d34870e7319e5743fcc3d | [
"Apache-2.0"
] | 14 | 2020-04-20T18:19:04.000Z | 2022-01-11T15:25:37.000Z | torch_tresnet/__init__.py | mhiyer/torch-tresnet | 0ee43fc1bab585c3b78d34870e7319e5743fcc3d | [
"Apache-2.0"
] | 3 | 2020-06-16T03:16:17.000Z | 2020-10-26T12:28:32.000Z | torch_tresnet/__init__.py | mhiyer/torch-tresnet | 0ee43fc1bab585c3b78d34870e7319e5743fcc3d | [
"Apache-2.0"
] | 2 | 2020-04-25T15:34:46.000Z | 2020-07-26T12:30:20.000Z | from .tresnet import tresnet_m, tresnet_l, tresnet_xl, tresnet_m_448, tresnet_l_448, tresnet_xl_448
__all__ = ['tresnet_m', 'tresnet_l', 'tresnet_xl', 'tresnet_m_448', 'tresnet_l_448', 'tresnet_xl_448']
__version__ = '1.0.8'
__authors__ = 'ZHANG Zack'
| 37.142857 | 103 | 0.746154 | 41 | 260 | 4 | 0.365854 | 0.195122 | 0.182927 | 0.195122 | 0.719512 | 0.719512 | 0.719512 | 0.719512 | 0.719512 | 0.719512 | 0 | 0.092105 | 0.123077 | 260 | 6 | 104 | 43.333333 | 0.627193 | 0 | 0 | 0 | 0 | 0 | 0.326772 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 8 |
63fff4bf6316ed0cf34ea7785f4b912bc8b380b5 | 8,665 | py | Python | airmap/flightAPI.py | vasantharajr/AirMapSDK-Embedded | a1cc41bad46d9dfba98d7d01e04cb54a38987bf8 | [
"Apache-2.0"
] | 7 | 2016-10-20T17:50:40.000Z | 2021-11-28T00:44:39.000Z | airmap/flightAPI.py | vasantharajr/AirMapSDK-Embedded | a1cc41bad46d9dfba98d7d01e04cb54a38987bf8 | [
"Apache-2.0"
] | 1 | 2017-01-31T19:40:35.000Z | 2017-01-31T19:40:35.000Z | airmap/flightAPI.py | isabella232/AirMapSDK-Embedded | a1cc41bad46d9dfba98d7d01e04cb54a38987bf8 | [
"Apache-2.0"
] | 3 | 2016-12-03T00:17:59.000Z | 2021-03-26T12:17:58.000Z | """
flightAPI
AirMapSDK
Created by AirMap Team on 6/28/16.
Copyright (c) 2016 AirMap, Inc. All rights reserved.
"""
# flightAPI.py -- Flight API functions
import traceback
import httplib
import urllib
import json
import ssl
import time
import datetime
import socket
from airdefs import Advisory, Advisories, P... | 35.805785 | 307 | 0.698442 | 967 | 8,665 | 6.161324 | 0.155119 | 0.04196 | 0.048674 | 0.06378 | 0.815542 | 0.784659 | 0.768043 | 0.768043 | 0.768043 | 0.768043 | 0 | 0.007043 | 0.164339 | 8,665 | 241 | 308 | 35.954357 | 0.815771 | 0.04397 | 0 | 0.748768 | 0 | 0 | 0.128237 | 0.011044 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.004926 | 0.064039 | null | null | 0.128079 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
89dab262ccd8dbec3d5abf767b769c58da374927 | 2,194 | py | Python | tests/test_model/test_recognizer/test_mobilenet_v3.py | likyoo/ZCls | 568621aca3a8b090c93345f0858d52c5757f2f0e | [
"Apache-2.0"
] | 1 | 2021-05-07T12:54:03.000Z | 2021-05-07T12:54:03.000Z | tests/test_model/test_recognizer/test_mobilenet_v3.py | likyoo/ZCls | 568621aca3a8b090c93345f0858d52c5757f2f0e | [
"Apache-2.0"
] | null | null | null | tests/test_model/test_recognizer/test_mobilenet_v3.py | likyoo/ZCls | 568621aca3a8b090c93345f0858d52c5757f2f0e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@date: 2020/12/30 下午9:43
@file: test_mobilenet_v3.py
@author: zj
@description:
"""
import torch
from zcls.config import cfg
from zcls.config.key_word import KEY_OUTPUT
from zcls.model.recognizers.mobilenet.mobilenetv3 import MobileNetV3
def test_config():
data = torch.randn(1, 3, 2... | 26.433735 | 96 | 0.715132 | 292 | 2,194 | 5.109589 | 0.191781 | 0.080429 | 0.128686 | 0.108579 | 0.830429 | 0.830429 | 0.830429 | 0.798928 | 0.798928 | 0.798928 | 0 | 0.062362 | 0.174111 | 2,194 | 82 | 97 | 26.756098 | 0.761038 | 0.04649 | 0 | 0.75 | 0 | 0 | 0.208253 | 0.204415 | 0 | 0 | 0 | 0 | 0.107143 | 1 | 0.017857 | false | 0 | 0.071429 | 0 | 0.089286 | 0.214286 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c3bf90b1f3cc46254dc204b7e98d0c3eae02f3da | 1,298 | py | Python | octicons16px/law.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/law.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/law.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_LAW = """
<svg class="octicon octicon-law" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8.75.75a.75.75 0 00-1.5 0V2h-.984c-.305 0-.604.08-.869.23l-1.288.737A.25.25 0 013.984 3H1.75a.75.75 0 000 1.5h.428L.066 9.192a.75.75 0 00.154.838l.53-.53-.53.53... | 259.6 | 1,274 | 0.6849 | 335 | 1,298 | 2.650746 | 0.402985 | 0.033784 | 0.050676 | 0.039414 | 0.522523 | 0.405405 | 0.346847 | 0.286036 | 0.245496 | 0.198198 | 0 | 0.594347 | 0.07319 | 1,298 | 4 | 1,275 | 324.5 | 0.143807 | 0 | 0 | 0 | 0 | 0.333333 | 0.983809 | 0.425598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
615ebb4f2e28b4a325bacc4159e7b29f6451dcd3 | 2,213 | py | Python | xero/allocationsmanager.py | joidegn/pyxero | e038e9bef35fef811cde6be925862faff0364d3a | [
"BSD-3-Clause"
] | null | null | null | xero/allocationsmanager.py | joidegn/pyxero | e038e9bef35fef811cde6be925862faff0364d3a | [
"BSD-3-Clause"
] | null | null | null | xero/allocationsmanager.py | joidegn/pyxero | e038e9bef35fef811cde6be925862faff0364d3a | [
"BSD-3-Clause"
] | 2 | 2019-01-09T22:49:42.000Z | 2019-06-18T12:35:24.000Z | from __future__ import unicode_literals
import requests
from .basemanager import BaseManager
from .constants import XERO_API_URL
class PrepaymentAllocationsManager(BaseManager):
def __init__(self, credentials, unit_price_4dps=False, user_agent=None):
from xero import __version__ as VERSION
self... | 38.824561 | 90 | 0.668324 | 267 | 2,213 | 5.235955 | 0.258427 | 0.051502 | 0.037196 | 0.031474 | 0.832618 | 0.832618 | 0.832618 | 0.832618 | 0.832618 | 0.832618 | 0 | 0.003515 | 0.228649 | 2,213 | 56 | 91 | 39.517857 | 0.815466 | 0 | 0 | 0.772727 | 0 | 0 | 0.070493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.136364 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
61c30eb28127d09cd26c6115f7a85e264de0addc | 77 | py | Python | pytd62/__init__.py | kanamesasaki/pytd62 | 3b3f77e67a6b1493f19a5a7885b92cb07e4b0ba8 | [
"MIT"
] | null | null | null | pytd62/__init__.py | kanamesasaki/pytd62 | 3b3f77e67a6b1493f19a5a7885b92cb07e4b0ba8 | [
"MIT"
] | null | null | null | pytd62/__init__.py | kanamesasaki/pytd62 | 3b3f77e67a6b1493f19a5a7885b92cb07e4b0ba8 | [
"MIT"
] | null | null | null | from pytd62 import common
from pytd62 import surface
from pytd62 import solid | 25.666667 | 26 | 0.857143 | 12 | 77 | 5.5 | 0.5 | 0.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.142857 | 77 | 3 | 27 | 25.666667 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f63b5e51599e5e134821b57e5bc4bd16213dc334 | 35,373 | py | Python | sdk/compute/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/operations/_virtual_machine_image_templates_operations.py | tzhanl/azure-sdk-for-python | 18cd03f4ab8fd76cc0498f03e80fbc99f217c96e | [
"MIT"
] | 1 | 2021-06-02T08:01:35.000Z | 2021-06-02T08:01:35.000Z | sdk/compute/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/operations/_virtual_machine_image_templates_operations.py | tzhanl/azure-sdk-for-python | 18cd03f4ab8fd76cc0498f03e80fbc99f217c96e | [
"MIT"
] | null | null | null | sdk/compute/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder/operations/_virtual_machine_image_templates_operations.py | tzhanl/azure-sdk-for-python | 18cd03f4ab8fd76cc0498f03e80fbc99f217c96e | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# 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 ... | 48.192098 | 210 | 0.6756 | 3,787 | 35,373 | 6.084236 | 0.063111 | 0.03611 | 0.038366 | 0.028124 | 0.910898 | 0.899093 | 0.895317 | 0.889545 | 0.889067 | 0.885769 | 0 | 0.004603 | 0.232268 | 35,373 | 733 | 211 | 48.257844 | 0.843834 | 0.262941 | 0 | 0.777215 | 0 | 0.002532 | 0.157754 | 0.091953 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060759 | false | 0 | 0.012658 | 0 | 0.151899 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f666d0f6b3bec1b75e9d6494a8d00418175d1c07 | 8,544 | py | Python | teraserver/python/tests/modules/FlaskModule/API/user/test_UserQueryServiceAccess.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | 10 | 2020-03-16T14:46:06.000Z | 2022-02-11T16:07:38.000Z | teraserver/python/tests/modules/FlaskModule/API/user/test_UserQueryServiceAccess.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | 114 | 2019-09-16T13:02:50.000Z | 2022-03-22T19:17:36.000Z | teraserver/python/tests/modules/FlaskModule/API/user/test_UserQueryServiceAccess.py | introlab/opentera | bfc4de672c9de40b7c9a659be2138731e7ee4e94 | [
"Apache-2.0"
] | null | null | null | from tests.modules.FlaskModule.API.BaseAPITest import BaseAPITest
import datetime
class UserQueryServiceAccessTest(BaseAPITest):
login_endpoint = '/api/user/login'
test_endpoint = '/api/user/services/access'
def setUp(self):
pass
def tearDown(self):
pass
def test_no_auth(self):
... | 44.968421 | 119 | 0.679073 | 1,055 | 8,544 | 5.161137 | 0.090047 | 0.089624 | 0.13517 | 0.127824 | 0.879339 | 0.835996 | 0.789348 | 0.734252 | 0.702847 | 0.702847 | 0 | 0.017747 | 0.202013 | 8,544 | 189 | 120 | 45.206349 | 0.780874 | 0.009129 | 0 | 0.486667 | 0 | 0 | 0.165701 | 0.010755 | 0 | 0 | 0 | 0 | 0.373333 | 1 | 0.08 | false | 0.153333 | 0.013333 | 0 | 0.113333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
9c9722dfccaa66227411c26154f26ff9536a8452 | 174 | py | Python | rpython/jit/backend/ppc/test/test_ztranslation_call_assembler.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | rpython/jit/backend/ppc/test/test_ztranslation_call_assembler.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | rpython/jit/backend/ppc/test/test_ztranslation_call_assembler.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | from rpython.jit.backend.llsupport.test.ztranslation_test import TranslationTestCallAssembler
class TestTranslationCallAssemblerPPC(TranslationTestCallAssembler):
pass
| 29 | 93 | 0.87931 | 14 | 174 | 10.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074713 | 174 | 5 | 94 | 34.8 | 0.944099 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
9cb31af1d156022da576463beb9f42c986e458a8 | 221,152 | py | Python | cgi/full_pwpw_gsva.py | jakelin212/jakelin212.github.io | 955ea621a9ed876fa85ab779065ec9430888f7ba | [
"MIT"
] | null | null | null | cgi/full_pwpw_gsva.py | jakelin212/jakelin212.github.io | 955ea621a9ed876fa85ab779065ec9430888f7ba | [
"MIT"
] | null | null | null | cgi/full_pwpw_gsva.py | jakelin212/jakelin212.github.io | 955ea621a9ed876fa85ab779065ec9430888f7ba | [
"MIT"
] | null | null | null | full_pwpw_gsva={'cancermap_cluster_27_vs_28': 8, 'cancermap_cluster_27_vs_29': 5, 'cancermap_cluster_36_and_38': 5, 'cancermap_cluster_3_and_28': 3, 'cancermap_cluster_36_and_39': 2, 'annotated_class_na_vs_Erythroid': 9, 'annotated_class_NonCancer_and_Prolif_Myelo': 6, 'cancermap_cluster_3_and_29': 4, 'annotated_class_... | 73,717.333333 | 110,575 | 0.828227 | 38,650 | 221,152 | 4.07586 | 0.002329 | 0.548663 | 0.059569 | 0.027296 | 0.993855 | 0.407378 | 0.299488 | 0.215359 | 0.186952 | 0.164398 | 0 | 0.116261 | 0.05645 | 221,152 | 2 | 110,576 | 110,576 | 0.63868 | 0 | 0 | 0 | 0 | 0 | 0.802281 | 0.791627 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9cce3c6d0383716a78aacb874d112e5e79b84702 | 61,464 | py | Python | scipy/optimize/_linprog_doc.py | mkoeppe/scipy | 70a76cbcea11d959bcfdf7ee9df983bfac30e170 | [
"BSD-3-Clause"
] | 1 | 2019-07-12T16:40:35.000Z | 2019-07-12T16:40:35.000Z | scipy/optimize/_linprog_doc.py | mkoeppe/scipy | 70a76cbcea11d959bcfdf7ee9df983bfac30e170 | [
"BSD-3-Clause"
] | 1 | 2019-07-24T19:52:07.000Z | 2019-07-24T19:52:07.000Z | scipy/optimize/_linprog_doc.py | mkoeppe/scipy | 70a76cbcea11d959bcfdf7ee9df983bfac30e170 | [
"BSD-3-Clause"
] | 2 | 2019-12-29T20:29:20.000Z | 2020-06-08T14:39:49.000Z | # -*- coding: utf-8 -*-
"""
Created on Sat Aug 22 19:49:17 2020
@author: matth
"""
def _linprog_highs_doc(c, A_ub=None, b_ub=None, A_eq=None, b_eq=None,
bounds=None, method='highs', callback=None,
maxiter=None, disp=False, presolve=True,
time_limit... | 43.162921 | 143 | 0.635461 | 7,945 | 61,464 | 4.867967 | 0.10623 | 0.014738 | 0.018616 | 0.010549 | 0.795636 | 0.787491 | 0.780743 | 0.769702 | 0.767841 | 0.767841 | 0 | 0.014437 | 0.27761 | 61,464 | 1,423 | 144 | 43.193254 | 0.856625 | 0.880776 | 0 | 0.537037 | 0 | 0 | 0.029176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
140edeab4135c2b3cf7a39690644c66bd54c177b | 24,361 | py | Python | docusign_esign/apis/bulk_process_data_send_api.py | joekohlsdorf/docusign-esign-python-client | 40407544f79c88716d36fabf36f65c3ef1a5c3ba | [
"MIT"
] | 11 | 2021-07-15T16:12:50.000Z | 2022-03-17T02:12:38.000Z | docusign_esign/apis/bulk_process_data_send_api.py | joekohlsdorf/docusign-esign-python-client | 40407544f79c88716d36fabf36f65c3ef1a5c3ba | [
"MIT"
] | 10 | 2021-06-03T16:52:01.000Z | 2022-03-24T19:33:08.000Z | docusign_esign/apis/bulk_process_data_send_api.py | joekohlsdorf/docusign-esign-python-client | 40407544f79c88716d36fabf36f65c3ef1a5c3ba | [
"MIT"
] | 18 | 2021-07-27T21:37:35.000Z | 2022-03-25T07:03:20.000Z | # coding: utf-8
"""
DocuSign REST API
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.gi... | 48.144269 | 154 | 0.618037 | 2,685 | 24,361 | 5.306145 | 0.071136 | 0.088791 | 0.101074 | 0.071594 | 0.946796 | 0.942374 | 0.939145 | 0.930371 | 0.928195 | 0.92602 | 0 | 0.000944 | 0.303928 | 24,361 | 505 | 155 | 48.239604 | 0.83924 | 0.316531 | 0 | 0.76378 | 0 | 0 | 0.240239 | 0.075756 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035433 | false | 0 | 0.027559 | 0 | 0.114173 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
144f3af50f1cb26b8270cc1a0da5cc6e9d96e761 | 8,382 | py | Python | tests/detector.py | ndaidong/bellapy | 304a86149234541a8ca069ffff4fad24d28a3cd3 | [
"MIT"
] | 3 | 2021-02-13T02:40:03.000Z | 2022-03-09T12:45:13.000Z | tests/detector.py | ndaidong/bellapy | 304a86149234541a8ca069ffff4fad24d28a3cd3 | [
"MIT"
] | 3 | 2017-05-01T16:15:44.000Z | 2020-10-16T06:13:16.000Z | tests/detector.py | ndaidong/bellapy | 304a86149234541a8ca069ffff4fad24d28a3cd3 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import pytest
from bella import is_int, is_float, is_num, is_str, \
is_bool, is_list, is_dict, is_valid_url
def test_is_int():
samples = [
dict(
value=1,
expect=True
),
dict(
value=-21,
expect=True
),
... | 20.394161 | 61 | 0.362563 | 706 | 8,382 | 4.24221 | 0.07932 | 0.216361 | 0.190317 | 0.253756 | 0.905175 | 0.874124 | 0.841068 | 0.747579 | 0.675793 | 0.660434 | 0 | 0.021432 | 0.526843 | 8,382 | 410 | 62 | 20.443902 | 0.733737 | 0.002505 | 0 | 0.826087 | 0 | 0 | 0.055622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02046 | false | 0 | 0.005115 | 0 | 0.025575 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 | 10 |
1468239a428178cb475b535859f53dbd331270db | 14,175 | py | Python | DsVis/mainwindow/ds/sll.py | saigokul/dsvis | 91cec16949a5cc8ebee4f7e5ee71e324137519ed | [
"MIT"
] | null | null | null | DsVis/mainwindow/ds/sll.py | saigokul/dsvis | 91cec16949a5cc8ebee4f7e5ee71e324137519ed | [
"MIT"
] | null | null | null | DsVis/mainwindow/ds/sll.py | saigokul/dsvis | 91cec16949a5cc8ebee4f7e5ee71e324137519ed | [
"MIT"
] | null | null | null | from mainwindow.ds.dsgui.sll_gui import SLLgui
import time
class SLL:
def __init__(self, root):
sll = LinkedList()
gui = SLLgui(root, sll)
sll.setgui(gui)
class Node:
def __init__(self, data):
self.data = data
self.next = None
class LinkedList:
def __init__(self... | 41.814159 | 120 | 0.55739 | 1,911 | 14,175 | 4.057038 | 0.052329 | 0.142654 | 0.066555 | 0.076744 | 0.919773 | 0.897201 | 0.892945 | 0.889462 | 0.866503 | 0.841997 | 0 | 0.007063 | 0.300811 | 14,175 | 338 | 121 | 41.93787 | 0.775199 | 0.014674 | 0 | 0.77116 | 0 | 0 | 0.089711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.050157 | false | 0 | 0.00627 | 0 | 0.169279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1489f17f51330bbbc3f85339c55b122df8fa00e7 | 5,306 | py | Python | python/euler13.py | zhouxiumin/projecteuler | 1db55ab1876f61c1978d2f0b5bfc476f68276e77 | [
"Apache-2.0"
] | null | null | null | python/euler13.py | zhouxiumin/projecteuler | 1db55ab1876f61c1978d2f0b5bfc476f68276e77 | [
"Apache-2.0"
] | null | null | null | python/euler13.py | zhouxiumin/projecteuler | 1db55ab1876f61c1978d2f0b5bfc476f68276e77 | [
"Apache-2.0"
] | null | null | null | #coding=utf-8
sstr='''
37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539346171171980310421047513778063246676
892616706966236338201363784183836841787343... | 46.54386 | 50 | 0.967207 | 140 | 5,306 | 36.657143 | 0.885714 | 0.001559 | 0.002338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.966795 | 0.023747 | 5,306 | 114 | 51 | 46.54386 | 0.023938 | 0.002262 | 0 | 0 | 0 | 0 | 0.963921 | 0.944465 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.017699 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
21157859b1b163697b873da2716bd9e60fecc086 | 74,134 | py | Python | pirates/leveleditor/worldData/pvp_deathmatchArea1_jungle_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/pvp_deathmatchArea1_jungle_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/pvp_deathmatchArea1_jungle_a.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.pvp_deathmatchArea1_jungle_a
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'L... | 10,590.571429 | 73,676 | 0.667669 | 9,781 | 74,134 | 4.998978 | 0.122585 | 0.025156 | 0.025463 | 0.019961 | 0.612598 | 0.500235 | 0.455445 | 0.399652 | 0.38325 | 0.371367 | 0 | 0.241663 | 0.070076 | 74,134 | 7 | 73,677 | 10,590.571429 | 0.467587 | 0.003156 | 0 | 0 | 0 | 0 | 0.570247 | 0.333306 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 7 |
2156fd762fb793421857198de0b6370500efc8f9 | 211 | py | Python | python/mocores/core/util/__init__.py | jstzwj/Mocores | 20edb714b7cdd544a3687ec491434eb6be5ff681 | [
"MIT"
] | 1 | 2017-03-10T14:40:03.000Z | 2017-03-10T14:40:03.000Z | python/mocores/core/util/__init__.py | toyteam/Mocores | 20edb714b7cdd544a3687ec491434eb6be5ff681 | [
"MIT"
] | null | null | null | python/mocores/core/util/__init__.py | toyteam/Mocores | 20edb714b7cdd544a3687ec491434eb6be5ff681 | [
"MIT"
] | null | null | null | from mocores.core.util.consistent_hash import (ConsistentHash)
from mocores.core.util.identity import (WorkerID)
from mocores.core.util.message_queue import (MessageQueue)
from mocores.core.util.lru import (LRU) | 52.75 | 62 | 0.834123 | 30 | 211 | 5.8 | 0.466667 | 0.252874 | 0.344828 | 0.436782 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07109 | 211 | 4 | 63 | 52.75 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
dcc699c0ef3b7a2efde0ff44baa1c6c7f52ac00b | 9,400 | py | Python | test/test_side_borders.py | jwodder/txtble | 682ffabf5bb11c606a457e5c18bd855cd81a5f69 | [
"MIT"
] | 3 | 2018-06-10T16:30:07.000Z | 2021-08-11T14:26:33.000Z | test/test_side_borders.py | jwodder/txtble | 682ffabf5bb11c606a457e5c18bd855cd81a5f69 | [
"MIT"
] | 25 | 2018-06-13T17:22:44.000Z | 2021-12-02T22:12:37.000Z | test/test_side_borders.py | jwodder/txtble | 682ffabf5bb11c606a457e5c18bd855cd81a5f69 | [
"MIT"
] | 1 | 2021-09-04T13:23:58.000Z | 2021-09-04T13:23:58.000Z | import pytest
from test_data import DATA, HEADERS
from txtble import (
ASCII_EQ_BORDERS,
DOT_BORDERS,
DOUBLE_BORDERS,
HEAVY_BORDERS,
LIGHT_BORDERS,
Txtble,
)
def test_vborders_off():
tbl = Txtble(DATA, headers=HEADERS, left_border=False, right_border=False)
assert str(tbl) == (
... | 36.862745 | 80 | 0.450957 | 844 | 9,400 | 5.024882 | 0.103081 | 0.033718 | 0.007781 | 0.047159 | 0.826692 | 0.813016 | 0.768215 | 0.730724 | 0.714218 | 0.714218 | 0 | 0 | 0.330319 | 9,400 | 254 | 81 | 37.007874 | 0.663066 | 0 | 0 | 0.662393 | 0 | 0 | 0.603191 | 0.129043 | 0 | 0 | 0 | 0 | 0.042735 | 1 | 0.042735 | false | 0 | 0.012821 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0d35fd9bedde38fdedf27e318bacbbb13722f730 | 193 | py | Python | test/test_version.py | yamt/littlefs-python | 5f16aa14c92e025dd668934eb192c28d36fc7f26 | [
"BSD-3-Clause"
] | null | null | null | test/test_version.py | yamt/littlefs-python | 5f16aa14c92e025dd668934eb192c28d36fc7f26 | [
"BSD-3-Clause"
] | null | null | null | test/test_version.py | yamt/littlefs-python | 5f16aa14c92e025dd668934eb192c28d36fc7f26 | [
"BSD-3-Clause"
] | null | null | null | import littlefs
def test_version():
"""Test if the versions of littlefs can be imported"""
assert littlefs.__LFS_VERSION__ == (2, 4)
assert littlefs.__LFS_DISK_VERSION__ == (2, 0)
| 27.571429 | 58 | 0.704663 | 27 | 193 | 4.592593 | 0.666667 | 0.225806 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025478 | 0.186529 | 193 | 6 | 59 | 32.166667 | 0.764331 | 0.248705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b4b5a1aee23b98f00735c09c0cc1faffc16369e6 | 41,960 | py | Python | test/vanilla/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations_async/_number_operations_async.py | fearthecowboy/autorest.python | a251e361218598b55b0621db2275aafcb7158a5c | [
"MIT"
] | null | null | null | test/vanilla/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations_async/_number_operations_async.py | fearthecowboy/autorest.python | a251e361218598b55b0621db2275aafcb7158a5c | [
"MIT"
] | null | null | null | test/vanilla/Expected/AcceptanceTests/BodyNumber/bodynumber/aio/operations_async/_number_operations_async.py | fearthecowboy/autorest.python | a251e361218598b55b0621db2275aafcb7158a5c | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# 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 ... | 39.622285 | 136 | 0.667159 | 4,437 | 41,960 | 6.125761 | 0.034257 | 0.045916 | 0.03532 | 0.027962 | 0.964165 | 0.962178 | 0.962178 | 0.959713 | 0.959713 | 0.957984 | 0 | 0.018125 | 0.246592 | 41,960 | 1,058 | 137 | 39.659735 | 0.841647 | 0.068708 | 0 | 0.816415 | 0 | 0 | 0.067721 | 0.026847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00216 | false | 0 | 0.00432 | 0 | 0.092873 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b4cf8db50b76108b28968fa948aeb7b592958452 | 14,308 | py | Python | epg.py | jerocobo/LegalStream | df96ef139c049a87f3c4eaab27b1d80893adebca | [
"Apache-2.0"
] | 365 | 2016-04-27T23:26:38.000Z | 2022-03-24T00:06:23.000Z | epg.py | manniru/LegalStream | 59e7e9b1dd74b4f4752721cd59c044e1c6f8138c | [
"Apache-2.0"
] | 24 | 2017-07-13T12:10:57.000Z | 2022-01-12T17:59:30.000Z | epg.py | manniru/LegalStream | 59e7e9b1dd74b4f4752721cd59c044e1c6f8138c | [
"Apache-2.0"
] | 144 | 2016-05-02T16:14:40.000Z | 2022-02-23T13:45:25.000Z | import datetime
import string
import math
def ToDay():
global year
year = datetime.datetime.now().year
global month
month = '%02d' % datetime.datetime.now().month
global day
day = '%02d' % datetime.datetime.today().day
global hour
hour = '%02d' % datetime.datetime.now().hour
global m... | 48.666667 | 770 | 0.62797 | 1,957 | 14,308 | 4.589167 | 0.082269 | 0.041421 | 0.037078 | 0.053446 | 0.840775 | 0.821846 | 0.821846 | 0.804587 | 0.800579 | 0.780871 | 0 | 0.045777 | 0.19234 | 14,308 | 293 | 771 | 48.832765 | 0.731395 | 0.001957 | 0 | 0.746575 | 0 | 0.099315 | 0.372855 | 0.185027 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.034247 | 0.010274 | null | null | 0.023973 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
b4e07ef8723dbd0867d53b606d007d473c759b3c | 79,090 | py | Python | ximpia/xpcore/migrations/0002_workflow_changes_service_meta.py | Ximpia/ximpia | ed2ad22faa42ceca2bde782a47624e5a6ef60e3b | [
"Apache-2.0"
] | 1 | 2020-09-11T01:54:24.000Z | 2020-09-11T01:54:24.000Z | ximpia/xpcore/migrations/0002_workflow_changes_service_meta.py | Ximpia/ximpia | ed2ad22faa42ceca2bde782a47624e5a6ef60e3b | [
"Apache-2.0"
] | null | null | null | ximpia/xpcore/migrations/0002_workflow_changes_service_meta.py | Ximpia/ximpia | ed2ad22faa42ceca2bde782a47624e5a6ef60e3b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'ServiceMeta'
db.create_table('CORE_SERVICE_META', (
('dateCreate', self.gf('djan... | 110.770308 | 269 | 0.587141 | 8,582 | 79,090 | 5.222908 | 0.031112 | 0.089061 | 0.155545 | 0.222207 | 0.89521 | 0.875845 | 0.866252 | 0.84586 | 0.83214 | 0.805569 | 0 | 0.002916 | 0.158667 | 79,090 | 714 | 270 | 110.770308 | 0.670699 | 0.007169 | 0 | 0.514116 | 0 | 0 | 0.618208 | 0.274348 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002972 | false | 0.001486 | 0.005944 | 0 | 0.013373 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
b4f722a5c54bffb449acadb2a35e56e975162bb8 | 119 | py | Python | tests/integration/examples/08_requirement_to_source_file/file.py | BenGardiner/strictdoc | c927872a8f080ca1f86cdb7e99767fb25398dbd5 | [
"Apache-2.0"
] | null | null | null | tests/integration/examples/08_requirement_to_source_file/file.py | BenGardiner/strictdoc | c927872a8f080ca1f86cdb7e99767fb25398dbd5 | [
"Apache-2.0"
] | 3 | 2022-02-21T10:57:01.000Z | 2022-02-21T13:22:23.000Z | tests/integration/examples/08_requirement_to_source_file/file.py | BenGardiner/strictdoc | c927872a8f080ca1f86cdb7e99767fb25398dbd5 | [
"Apache-2.0"
] | null | null | null | def hello_world():
print("hello world")
# [REQ-002]
def hello_world_2():
print("hello world")
# [/REQ-002]
| 10.818182 | 24 | 0.605042 | 17 | 119 | 4.058824 | 0.411765 | 0.57971 | 0.376812 | 0.521739 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073684 | 0.201681 | 119 | 10 | 25 | 11.9 | 0.652632 | 0.168067 | 0 | 0.5 | 0 | 0 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
3711b481d7a15559baf492bdbbe9a5e759cbe65b | 3,173 | py | Python | tests/modules/compute_vm/test_plan_interfaces.py | carlo1999go/cmarini-cloud-foundation-fabric | 6150789afe56f6e5d0326ffb552d78e2f32411d8 | [
"Apache-2.0"
] | 1 | 2020-09-22T14:48:08.000Z | 2020-09-22T14:48:08.000Z | tests/modules/compute_vm/test_plan_interfaces.py | carlo1999go/cloud-foundation-fabric | 12e711281a25e01b33b99935eb91af01b3c6d893 | [
"Apache-2.0"
] | null | null | null | tests/modules/compute_vm/test_plan_interfaces.py | carlo1999go/cloud-foundation-fabric | 12e711281a25e01b33b99935eb91af01b3c6d893 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 39.6625 | 126 | 0.690829 | 432 | 3,173 | 4.94213 | 0.273148 | 0.018735 | 0.014052 | 0.078689 | 0.728806 | 0.720843 | 0.720843 | 0.720843 | 0.713349 | 0.713349 | 0 | 0.031764 | 0.156634 | 3,173 | 79 | 127 | 40.164557 | 0.766069 | 0.172707 | 0 | 0.777778 | 0 | 0.203704 | 0.594025 | 0.008043 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.074074 | false | 0 | 0.037037 | 0 | 0.111111 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ec23887093579b775d6cc8c318cdc36cbf24a51 | 41,341 | py | Python | bin/SNPQC_helpers.py | jkaessens/gwas-assoc | 1053c94222701f108362e33c99155cfc148f4ca2 | [
"MIT"
] | null | null | null | bin/SNPQC_helpers.py | jkaessens/gwas-assoc | 1053c94222701f108362e33c99155cfc148f4ca2 | [
"MIT"
] | null | null | null | bin/SNPQC_helpers.py | jkaessens/gwas-assoc | 1053c94222701f108362e33c99155cfc148f4ca2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sys
import re
import os
from os.path import join, dirname
# import string
# import gzip
# import math
# import decimal
# import datetime
# from os import listdir
# import subprocess
# may also need some of these:
# import Ingos lib
# sys.path.append(os.path.join(os.path.dirname[0], "..... | 38.032199 | 260 | 0.560243 | 4,885 | 41,341 | 4.501331 | 0.076356 | 0.006549 | 0.036018 | 0.017736 | 0.86375 | 0.838192 | 0.821274 | 0.787621 | 0.770203 | 0.755923 | 0 | 0.017253 | 0.261121 | 41,341 | 1,086 | 261 | 38.067219 | 0.702612 | 0.355362 | 0 | 0.696043 | 0 | 0 | 0.086253 | 0.01293 | 0 | 0 | 0 | 0.000921 | 0.010791 | 0 | null | null | 0 | 0.010791 | null | null | 0.091727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ec3919baea4b67cacbf0c0cfbc6227ce5412300 | 438,864 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_macsec_pl_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_macsec_pl_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_crypto_macsec_pl_oper.py | bopopescu/ACI | dd717bc74739eeed4747b3ea9e36b239580df5e1 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-07-22T04:04:44.000Z | 2020-07-22T04:04:44.000Z | """ Cisco_IOS_XR_crypto_macsec_pl_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR crypto\-macsec\-pl package operational data.
This module contains definitions
for the following management objects\:
macsec\-platform\: MACSec operational data
Copyright (c) 2013\-2017 by Cisco Systems, ... | 61.716214 | 1,175 | 0.324896 | 26,794 | 438,864 | 5.040905 | 0.01825 | 0.029971 | 0.028786 | 0.040617 | 0.970289 | 0.959812 | 0.949869 | 0.941058 | 0.934558 | 0.927517 | 0 | 0.052014 | 0.606518 | 438,864 | 7,110 | 1,176 | 61.724895 | 0.730139 | 0.181184 | 0 | 0.834511 | 0 | 0.000416 | 0.132825 | 0.026181 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051559 | false | 0.00499 | 0.002079 | 0 | 0.085239 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
2efe23d7344f75a24f4cd58de0a93ca03d430d63 | 35,187 | py | Python | src/build/lib.linux-x86_64-2.7/systran_translation_api/apis/translation_api.py | alexissavva/NLP | 100963e96ebd6aae26027c2f13f42675dbd5ed9f | [
"MIT"
] | null | null | null | src/build/lib.linux-x86_64-2.7/systran_translation_api/apis/translation_api.py | alexissavva/NLP | 100963e96ebd6aae26027c2f13f42675dbd5ed9f | [
"MIT"
] | null | null | null | src/build/lib.linux-x86_64-2.7/systran_translation_api/apis/translation_api.py | alexissavva/NLP | 100963e96ebd6aae26027c2f13f42675dbd5ed9f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
"""
Copyright 2015 SYSTRAN Software, Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | 43.015892 | 1,368 | 0.607554 | 3,970 | 35,187 | 5.231234 | 0.083879 | 0.036017 | 0.055663 | 0.042084 | 0.861951 | 0.843509 | 0.82449 | 0.817074 | 0.807685 | 0.799403 | 0 | 0.001417 | 0.298121 | 35,187 | 817 | 1,369 | 43.068543 | 0.839495 | 0.333532 | 0 | 0.801489 | 0 | 0 | 0.212986 | 0.044782 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029777 | false | 0 | 0.014888 | 0 | 0.074442 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2c1b2e3bbbb189e255c4b472675039c1dac327d0 | 93 | py | Python | scripts/refresh.py | SornrasakC/MAL2GCal | dd69f9591410b9074009f00d5e82fbcc5b7e31fe | [
"Unlicense"
] | 1 | 2021-11-02T09:48:08.000Z | 2021-11-02T09:48:08.000Z | scripts/refresh.py | SornrasakC/MAL2GCal | dd69f9591410b9074009f00d5e82fbcc5b7e31fe | [
"Unlicense"
] | null | null | null | scripts/refresh.py | SornrasakC/MAL2GCal | dd69f9591410b9074009f00d5e82fbcc5b7e31fe | [
"Unlicense"
] | null | null | null | from utils import mal_refresh_token, g_refresh_token
mal_refresh_token()
g_refresh_token()
| 15.5 | 52 | 0.849462 | 15 | 93 | 4.733333 | 0.466667 | 0.676056 | 0.422535 | 0.450704 | 0.788732 | 0.788732 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 93 | 5 | 53 | 18.6 | 0.845238 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 8 |
25a439c84552846b33e8787084cd6f058aac52bb | 79,565 | py | Python | tests/test_console.py | Imanolasolo/AirBnB_clone | 1f1178f33ed1beb5ab017506b6858e20241c88cf | [
"MIT"
] | null | null | null | tests/test_console.py | Imanolasolo/AirBnB_clone | 1f1178f33ed1beb5ab017506b6858e20241c88cf | [
"MIT"
] | null | null | null | tests/test_console.py | Imanolasolo/AirBnB_clone | 1f1178f33ed1beb5ab017506b6858e20241c88cf | [
"MIT"
] | 1 | 2022-03-07T20:41:30.000Z | 2022-03-07T20:41:30.000Z | #!/usr/bin/python3
# File: test_console.py
# Authors: Imanol Asolo - Alex Arévalo
# email(s): <3848@holbertonschool.com>
# <3915@holbertonschool.com>
"""
This Module Defines Unittest for Console command interpreter.
Unittest classes:
TestHBNBCommand_prompt
TestHBNBCommand_help
TestHBNBCommand_ex... | 49.790363 | 79 | 0.599284 | 8,714 | 79,565 | 5.389947 | 0.021115 | 0.130663 | 0.091509 | 0.115355 | 0.960931 | 0.948752 | 0.943728 | 0.940023 | 0.930037 | 0.922671 | 0 | 0.001615 | 0.237416 | 79,565 | 1,597 | 80 | 49.82154 | 0.772476 | 0.013612 | 0 | 0.775453 | 0 | 0 | 0.157815 | 0.001098 | 0 | 0 | 0 | 0 | 0.391213 | 1 | 0.051604 | false | 0.012552 | 0.006276 | 0 | 0.064156 | 0.000697 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
25b299d31a832f0abac65f8cb218f75cdd1b6a47 | 34,706 | py | Python | kmip/tests/unit/core/messages/payloads/test_modify_attribute.py | ondrap/PyKMIP | c8ea17d8faf827e0f9d004972835128a1a71569f | [
"Apache-2.0"
] | 179 | 2015-03-20T06:08:59.000Z | 2022-03-14T02:24:38.000Z | kmip/tests/unit/core/messages/payloads/test_modify_attribute.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 600 | 2015-04-08T14:14:48.000Z | 2022-03-28T13:49:47.000Z | kmip/tests/unit/core/messages/payloads/test_modify_attribute.py | imharshr/PyKMIP | 9403ff3d2aa83de4c786b8eedeb85d169fd4a594 | [
"Apache-2.0"
] | 131 | 2015-03-30T12:51:49.000Z | 2022-03-23T04:34:34.000Z | # Copyright (c) 2019 The Johns Hopkins University/Applied Physics Laboratory
# 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/LICEN... | 35.559426 | 79 | 0.593269 | 3,349 | 34,706 | 6.064497 | 0.079725 | 0.02127 | 0.017725 | 0.024618 | 0.92644 | 0.910881 | 0.894141 | 0.859872 | 0.848941 | 0.831512 | 0 | 0.059958 | 0.323373 | 34,706 | 975 | 80 | 35.595897 | 0.804923 | 0.185357 | 0 | 0.742176 | 0 | 0.020864 | 0.159987 | 0.091966 | 0 | 0 | 0 | 0 | 0.154993 | 1 | 0.059613 | false | 0 | 0.010432 | 0 | 0.073025 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
d320c69070316fa75abe871cd96d4f4725f1ffb3 | 7,975 | py | Python | tests/test_conversation_webhook.py | victormb84/python-rest-api | 6e0b6b7a54183bb5383b43ac95c12da9a76d2108 | [
"BSD-2-Clause"
] | null | null | null | tests/test_conversation_webhook.py | victormb84/python-rest-api | 6e0b6b7a54183bb5383b43ac95c12da9a76d2108 | [
"BSD-2-Clause"
] | null | null | null | tests/test_conversation_webhook.py | victormb84/python-rest-api | 6e0b6b7a54183bb5383b43ac95c12da9a76d2108 | [
"BSD-2-Clause"
] | null | null | null | import unittest
import json
from datetime import datetime
from messagebird import Client
from messagebird.conversation_webhook import \
CONVERSATION_WEBHOOK_EVENT_CONVERSATION_CREATED, \
CONVERSATION_WEBHOOK_EVENT_CONVERSATION_UPDATED
try:
from unittest.mock import Mock
except ImportError:
# mock was a... | 90.625 | 2,034 | 0.735674 | 794 | 7,975 | 7.251889 | 0.192695 | 0.027093 | 0.051059 | 0.036124 | 0.800104 | 0.794547 | 0.764328 | 0.764328 | 0.764328 | 0.716916 | 0 | 0.196517 | 0.092665 | 7,975 | 88 | 2,035 | 90.625 | 0.599226 | 0.009655 | 0 | 0.208955 | 0 | 0.059701 | 0.639818 | 0.018617 | 0 | 0 | 0 | 0 | 0.134328 | 1 | 0.089552 | false | 0 | 0.119403 | 0 | 0.223881 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d36c9647903a766ff6e16663eba33a653ac8c6e3 | 462 | py | Python | sfaira/versions/topologies/mouse/embedding/__init__.py | theislab/sfaira | 77a7b49936047a0cdddc5ace4482186a868c3a7a | [
"BSD-3-Clause"
] | 110 | 2020-09-08T07:47:15.000Z | 2022-03-29T03:33:56.000Z | sfaira/versions/topologies/mouse/embedding/__init__.py | theislab/sfaira | 77a7b49936047a0cdddc5ace4482186a868c3a7a | [
"BSD-3-Clause"
] | 405 | 2020-09-15T15:05:46.000Z | 2022-03-16T14:44:23.000Z | sfaira/versions/topologies/mouse/embedding/__init__.py | theislab/sfaira | 77a7b49936047a0cdddc5ace4482186a868c3a7a | [
"BSD-3-Clause"
] | 20 | 2021-03-30T15:30:14.000Z | 2022-03-07T12:52:58.000Z | from sfaira.versions.topologies.mouse.embedding.ae import AE_TOPOLOGIES
from sfaira.versions.topologies.mouse.embedding.linear import LINEAR_TOPOLOGIES
from sfaira.versions.topologies.mouse.embedding.nmf import NMF_TOPOLOGIES
from sfaira.versions.topologies.mouse.embedding.vae import VAE_TOPOLOGIES
from sfaira.versions... | 66 | 81 | 0.883117 | 60 | 462 | 6.7 | 0.216667 | 0.149254 | 0.268657 | 0.41791 | 0.751244 | 0.751244 | 0.646766 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 462 | 6 | 82 | 77 | 0.917808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d3787db2d312832376186425ec3d49c0f62ffd16 | 25,008 | py | Python | octopus_deploy_swagger_client/octopus_deploy_client/user_roles_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/user_roles_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | octopus_deploy_swagger_client/octopus_deploy_client/user_roles_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api... | 41.889447 | 172 | 0.643794 | 2,925 | 25,008 | 5.185641 | 0.067009 | 0.056962 | 0.058017 | 0.080103 | 0.957476 | 0.95418 | 0.95418 | 0.946664 | 0.946664 | 0.94462 | 0 | 0.015854 | 0.276112 | 25,008 | 596 | 173 | 41.959732 | 0.822018 | 0.34397 | 0 | 0.792994 | 1 | 0 | 0.186885 | 0.06815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041401 | false | 0 | 0.012739 | 0 | 0.11465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6ccec2faad6a29af5ee8bfb4d615bd1507c82bc3 | 58,859 | py | Python | generated/nitclk/nitclk/session.py | mgunyho/nimi-python | f821321918442709978ad54ede65f67c2e7e5c16 | [
"MIT"
] | null | null | null | generated/nitclk/nitclk/session.py | mgunyho/nimi-python | f821321918442709978ad54ede65f67c2e7e5c16 | [
"MIT"
] | null | null | null | generated/nitclk/nitclk/session.py | mgunyho/nimi-python | f821321918442709978ad54ede65f67c2e7e5c16 | [
"MIT"
] | null | null | null | # This file was generated
import array
import ctypes
import datetime
import threading
import nitclk._attributes as _attributes
import nitclk._converters as _converters
import nitclk._library_singleton as _library_singleton
import nitclk._visatype as _visatype
import nitclk.errors as errors
# Used for __repr__ and __... | 55.318609 | 294 | 0.73304 | 7,967 | 58,859 | 5.253797 | 0.070164 | 0.01615 | 0.020068 | 0.025922 | 0.885587 | 0.866928 | 0.857061 | 0.843085 | 0.823757 | 0.821416 | 0 | 0.012879 | 0.222991 | 58,859 | 1,063 | 295 | 55.370649 | 0.902348 | 0.575664 | 0 | 0.441176 | 1 | 0 | 0.01728 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 1 | 0.134454 | false | 0 | 0.046218 | 0.008403 | 0.386555 | 0.008403 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9f4fe7bc953c2282957534628c1881b823abc647 | 1,919 | py | Python | src/dsalgo/chinese_remainder_theorem_test.py | kagemeka/python-algorithms | dface89b8c618845cf524429aa8e97c4b2b10ceb | [
"MIT"
] | 1 | 2022-02-10T02:13:07.000Z | 2022-02-10T02:13:07.000Z | src/dsalgo/chinese_remainder_theorem_test.py | kagemeka/python-algorithms | dface89b8c618845cf524429aa8e97c4b2b10ceb | [
"MIT"
] | 6 | 2022-01-05T09:15:54.000Z | 2022-01-09T05:48:43.000Z | src/dsalgo/chinese_remainder_theorem_test.py | kagemeka/python-algorithms | dface89b8c618845cf524429aa8e97c4b2b10ceb | [
"MIT"
] | null | null | null | import unittest
import dsalgo.chinese_remainder_theorem
class Test(unittest.TestCase):
def test_2_coprime(self) -> None:
x = dsalgo.chinese_remainder_theorem.crt_2_coprime(15, 2, 17, 8)
self.assertEqual(x % 15, 2)
self.assertEqual(x % 17, 8)
self.assertGreaterEqual(x, 0)
s... | 27.414286 | 79 | 0.570089 | 241 | 1,919 | 4.344398 | 0.165975 | 0.17192 | 0.210124 | 0.276982 | 0.816619 | 0.810888 | 0.7851 | 0.7383 | 0.625597 | 0.549188 | 0 | 0.087652 | 0.316311 | 1,919 | 69 | 80 | 27.811594 | 0.710366 | 0 | 0 | 0.410714 | 0 | 0 | 0.004169 | 0 | 0 | 0 | 0 | 0 | 0.446429 | 1 | 0.071429 | false | 0 | 0.035714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9f7c2dd4cc0dbb6f2109105ff2095301647e5399 | 13,784 | py | Python | backend/backend/tests/views/point_view.py | Drew138/v_website | c5b6556ccaf146d2296ff0c48c7473a7cc63d2ad | [
"MIT"
] | null | null | null | backend/backend/tests/views/point_view.py | Drew138/v_website | c5b6556ccaf146d2296ff0c48c7473a7cc63d2ad | [
"MIT"
] | 8 | 2020-12-03T15:15:32.000Z | 2022-03-12T00:58:27.000Z | backend/backend/tests/views/point_view.py | Drew138/v_website | c5b6556ccaf146d2296ff0c48c7473a7cc63d2ad | [
"MIT"
] | 1 | 2021-04-09T16:17:11.000Z | 2021-04-09T16:17:11.000Z | from rest_framework_simplejwt.tokens import RefreshToken
from backend.models import Point, Measurement
from rest_framework.test import APITestCase
from random import choice, uniform
from rest_framework import status
from django.urls import reverse
from model_bakery import baker
from faker import Faker
class TestPoint... | 42.807453 | 100 | 0.628192 | 1,640 | 13,784 | 5.153659 | 0.083537 | 0.081401 | 0.078798 | 0.065073 | 0.901443 | 0.871391 | 0.854591 | 0.843351 | 0.843351 | 0.821107 | 0 | 0.006707 | 0.232008 | 13,784 | 321 | 101 | 42.94081 | 0.791706 | 0.040772 | 0 | 0.796078 | 0 | 0 | 0.118497 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 1 | 0.054902 | false | 0 | 0.031373 | 0 | 0.090196 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9fc72173836be5ad0475a5a9a05e412d26de1f2a | 69,011 | py | Python | heat/core/linalg/tests/test_basics.py | fschlimb/heat | f7f6c3565409867950e54e89ae8249b50afd6278 | [
"MIT"
] | null | null | null | heat/core/linalg/tests/test_basics.py | fschlimb/heat | f7f6c3565409867950e54e89ae8249b50afd6278 | [
"MIT"
] | null | null | null | heat/core/linalg/tests/test_basics.py | fschlimb/heat | f7f6c3565409867950e54e89ae8249b50afd6278 | [
"MIT"
] | null | null | null | import torch
import os
import unittest
import heat as ht
import numpy as np
from ...tests.test_suites.basic_test import TestCase
class TestLinalgBasics(TestCase):
def test_dot(self):
# ONLY TESTING CORRECTNESS! ALL CALLS IN DOT ARE PREVIOUSLY TESTED
# cases to test:
data2d = np.ones((10, ... | 41.200597 | 99 | 0.57288 | 9,248 | 69,011 | 4.199394 | 0.024221 | 0.105443 | 0.077325 | 0.052632 | 0.927232 | 0.900427 | 0.884566 | 0.870352 | 0.864224 | 0.856731 | 0 | 0.047363 | 0.278883 | 69,011 | 1,674 | 100 | 41.225209 | 0.733025 | 0.073394 | 0 | 0.831913 | 0 | 0 | 0.001192 | 0 | 0 | 0 | 0 | 0 | 0.479473 | 1 | 0.006971 | false | 0 | 0.004648 | 0 | 0.012393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
98018b54e6f51f5b1ddbf64d66f80cfd7f49478c | 6,444 | py | Python | tests/unit/scalar/test_time.py | matt-koevort/tartiflette | 5777866b133d846ce4f8aa03f735fa81832896cd | [
"MIT"
] | 530 | 2019-06-04T11:45:36.000Z | 2022-03-31T09:29:56.000Z | tests/unit/scalar/test_time.py | matt-koevort/tartiflette | 5777866b133d846ce4f8aa03f735fa81832896cd | [
"MIT"
] | 242 | 2019-06-04T11:53:08.000Z | 2022-03-28T07:06:27.000Z | tests/unit/scalar/test_time.py | matt-koevort/tartiflette | 5777866b133d846ce4f8aa03f735fa81832896cd | [
"MIT"
] | 36 | 2019-06-21T06:40:27.000Z | 2021-11-04T13:11:16.000Z | import datetime
import pytest
from tartiflette.scalar.builtins.time import ScalarTime
@pytest.mark.parametrize(
"value,should_raise_exception,expected",
[
(None, True, "Time cannot represent value: < None >."),
(True, True, "Time cannot represent value: < True >."),
(False, True, "Ti... | 50.34375 | 76 | 0.539727 | 771 | 6,444 | 4.479896 | 0.070039 | 0.189925 | 0.332368 | 0.546034 | 0.95194 | 0.93399 | 0.931673 | 0.931673 | 0.898668 | 0.898668 | 0 | 0.069886 | 0.267225 | 6,444 | 127 | 77 | 50.740157 | 0.661584 | 0 | 0 | 0.826446 | 0 | 0 | 0.519398 | 0.011484 | 0 | 0 | 0 | 0 | 0.016529 | 1 | 0.016529 | false | 0 | 0.024793 | 0 | 0.041322 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
e2376c24af54bc1d15e8c5f604cde33c11c335d4 | 9,757 | py | Python | jupyter_project/tests/test_config.py | fcollonval/jupyter-project | 9d199e1ea63e9742701409f0d19fe7886ef2b4b9 | [
"BSD-3-Clause"
] | 14 | 2020-06-09T11:14:19.000Z | 2021-09-08T13:26:08.000Z | jupyter_project/tests/test_config.py | fcollonval/jupyter-project | 9d199e1ea63e9742701409f0d19fe7886ef2b4b9 | [
"BSD-3-Clause"
] | 30 | 2020-05-01T16:26:59.000Z | 2021-08-24T06:05:27.000Z | jupyter_project/tests/test_config.py | fcollonval/jupyter-project | 9d199e1ea63e9742701409f0d19fe7886ef2b4b9 | [
"BSD-3-Clause"
] | 1 | 2021-07-08T15:12:31.000Z | 2021-07-08T15:12:31.000Z | import pytest
from traitlets import TraitError
from traitlets.config import Config
from jupyter_project.config import FileTemplateLoader, JupyterProject, ProjectTemplate
@pytest.mark.parametrize(
"config, files, ptemplate",
[
({}, [], None,),
(
{
"file_templates": ... | 32.632107 | 144 | 0.356257 | 555 | 9,757 | 6.106306 | 0.165766 | 0.084391 | 0.057539 | 0.084391 | 0.81676 | 0.809088 | 0.804662 | 0.782532 | 0.772499 | 0.718796 | 0 | 0.013496 | 0.529159 | 9,757 | 298 | 145 | 32.741611 | 0.724205 | 0 | 0 | 0.510204 | 0 | 0.006803 | 0.24034 | 0.028185 | 0 | 0 | 0 | 0 | 0.010204 | 1 | 0.003401 | false | 0 | 0.013605 | 0 | 0.017007 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e245bfecf3c618488769f73d419c8b4bf1343bf8 | 118 | py | Python | app/services/user.py | budgetsapp/ba-identity | 0b2a6219aa314fc20a51ef9048bf5947cf878e3f | [
"MIT"
] | null | null | null | app/services/user.py | budgetsapp/ba-identity | 0b2a6219aa314fc20a51ef9048bf5947cf878e3f | [
"MIT"
] | 5 | 2020-06-06T01:24:45.000Z | 2021-06-10T22:34:19.000Z | app/services/user.py | budgetsapp/ba-auth-api | 0b2a6219aa314fc20a51ef9048bf5947cf878e3f | [
"MIT"
] | null | null | null | from app.models.user import User
def get_user_by_login(login):
return User.query.filter_by(login=login).first()
| 19.666667 | 52 | 0.771186 | 20 | 118 | 4.35 | 0.65 | 0.16092 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 118 | 5 | 53 | 23.6 | 0.836538 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
e2644ff47187f135fddbba43afb6c66106b0f274 | 19,169 | py | Python | python/pb/envoy/config/cluster/v3/outlier_detection_pb2.py | pomerium/enterprise-client | 899e568e59955533179167ff08066962991476c5 | [
"Apache-2.0"
] | 1 | 2021-09-14T04:34:29.000Z | 2021-09-14T04:34:29.000Z | src/envoy/config/cluster/v3/outlier_detection_pb2.py | pomerium/enterprise-client-python | 366d72cc9cd6dc05fae704582deb13b1ccd20a32 | [
"Apache-2.0"
] | 3 | 2021-09-15T15:10:41.000Z | 2022-01-04T21:03:03.000Z | python/pb/envoy/config/cluster/v3/outlier_detection_pb2.py | pomerium/enterprise-client | 899e568e59955533179167ff08066962991476c5 | [
"Apache-2.0"
] | 1 | 2021-09-14T17:32:12.000Z | 2021-09-14T17:32:12.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: envoy/config/cluster/v3/outlier_detection.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection ... | 76.370518 | 2,863 | 0.810632 | 2,595 | 19,169 | 5.60578 | 0.096724 | 0.035196 | 0.056163 | 0.061593 | 0.818451 | 0.777686 | 0.74524 | 0.703994 | 0.676978 | 0.602392 | 0 | 0.058168 | 0.082529 | 19,169 | 250 | 2,864 | 76.676 | 0.768977 | 0.016641 | 0 | 0.486957 | 1 | 0.013043 | 0.326185 | 0.298105 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03913 | 0 | 0.03913 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c6df088301837cd3bf040d13f2926216f603641 | 68,685 | py | Python | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/ratio_based_results/cmp_soplex/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/ratio_based_results/cmp_soplex/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/_bigLittle_hrrs_spec_tugberk_ml/ratio_based_results/cmp_soplex/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.147702 | 124 | 0.682434 | 8,082 | 68,685 | 5.793739 | 0.067186 | 0.123353 | 0.11276 | 0.093284 | 0.938623 | 0.930721 | 0.917758 | 0.886727 | 0.861741 | 0.841089 | 0 | 0.133186 | 0.224081 | 68,685 | 914 | 125 | 75.147702 | 0.745431 | 0 | 0 | 0.642232 | 0 | 0 | 0.656684 | 0.048045 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c8082374b93430acd0031c7db5970c7ab7a85f4 | 77,307 | py | Python | Code/beamdesigner.py | georgeselkassouf/a | 507ecb1c1f4c195b2119f0a55d681209c5b6a386 | [
"MIT"
] | 1 | 2021-02-16T20:20:08.000Z | 2021-02-16T20:20:08.000Z | Code/beamdesigner.py | georgeselkassouf/a | 507ecb1c1f4c195b2119f0a55d681209c5b6a386 | [
"MIT"
] | null | null | null | Code/beamdesigner.py | georgeselkassouf/a | 507ecb1c1f4c195b2119f0a55d681209c5b6a386 | [
"MIT"
] | null | null | null | from tkinter import *
from PIL import ImageTk,Image
from tkinter import ttk
import math
from tooltips import CreateToolTip
from tkinter import messagebox
import ast
import re
import ctypes
#BEAM DESIGNER TOOL
#CREATED BY GEORGES ELKASSOUF
#02/2021
#----------------------------------------------------------------------... | 31.774353 | 394 | 0.491831 | 8,711 | 77,307 | 4.363563 | 0.060269 | 0.069743 | 0.090474 | 0.020126 | 0.887322 | 0.874247 | 0.85128 | 0.835732 | 0.829786 | 0.810292 | 0 | 0.099144 | 0.362386 | 77,307 | 2,432 | 395 | 31.787418 | 0.671995 | 0.024125 | 0 | 0.810098 | 0 | 0 | 0.114737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005164 | false | 0 | 0.005164 | 0 | 0.010327 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c845bf46b700e4f3a9425ddf77186892cccb27f | 7,545 | py | Python | read_data.py | gauraviitg/BMTT-PETS-2017-surveillance-challenge | 3b2c442b2edd43fbcaefe800901977aaadfbbaa3 | [
"MIT"
] | 5 | 2018-05-27T15:57:54.000Z | 2020-02-03T14:05:57.000Z | read_data.py | gauraviitg/BMTT-PETS-2017-surveillance-challenge | 3b2c442b2edd43fbcaefe800901977aaadfbbaa3 | [
"MIT"
] | null | null | null | read_data.py | gauraviitg/BMTT-PETS-2017-surveillance-challenge | 3b2c442b2edd43fbcaefe800901977aaadfbbaa3 | [
"MIT"
] | 7 | 2018-11-15T02:33:02.000Z | 2020-10-13T14:04:14.000Z | #import cv2
import pickle
import numpy as np
import PIL
from PIL import Image
import os.path
import sys
# import cv2
def get_train_data(chunk, img_row, img_col):
# print(" \n get train data - running")
X_train = []
Y_train = []
with open("/home/amit/Desktop/vignesh/allmerge2.pickle",'rb') as f1:
... | 35.928571 | 89 | 0.549901 | 965 | 7,545 | 4.117098 | 0.087047 | 0.060408 | 0.035238 | 0.060408 | 0.926756 | 0.913919 | 0.89781 | 0.89781 | 0.889756 | 0.881198 | 0 | 0.01928 | 0.326309 | 7,545 | 209 | 90 | 36.100478 | 0.762345 | 0.166335 | 0 | 0.793333 | 0 | 0 | 0.153268 | 0.066486 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0 | 0.04 | 0 | 0.14 | 0.213333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2c849f4214d7acc181f4a94873d3bb0a13251752 | 2,716 | py | Python | utils.py | guhls/parabraille | ec1449bcceec068b0e81152d930d2686b08b4d99 | [
"MIT"
] | null | null | null | utils.py | guhls/parabraille | ec1449bcceec068b0e81152d930d2686b08b4d99 | [
"MIT"
] | null | null | null | utils.py | guhls/parabraille | ec1449bcceec068b0e81152d930d2686b08b4d99 | [
"MIT"
] | null | null | null | import numpy as np
def braille():
return {
'a' : np.array([[1, 0], [0, 0], [0, 0]], dtype=bool),
'b' : np.array([[1, 0], [1, 0], [0, 0]], dtype=bool),
'c' : np.array([[1, 1], [0, 0], [0, 0]], dtype=bool),
'd' : np.array([[1, 1], [0, 1], [0, 0]], dtype=bool),
'e' : np.array([[1, 0], [0, ... | 64.666667 | 109 | 0.397275 | 503 | 2,716 | 2.145129 | 0.091451 | 0.12975 | 0.278035 | 0.203892 | 0.929564 | 0.91937 | 0.774791 | 0.591288 | 0.591288 | 0.591288 | 0 | 0.137105 | 0.231959 | 2,716 | 42 | 110 | 64.666667 | 0.380153 | 0 | 0 | 0 | 0 | 0 | 0.01325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | true | 0 | 0.025 | 0.025 | 0.075 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 7 |
2ca50f1fbec07c4d5cfad3a1fd9a5d9f10f67d7e | 201,916 | py | Python | BAASPLUS/python/antchain_sdk_baasplus/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-28T06:40:50.000Z | 2022-02-25T11:02:18.000Z | BAASPLUS/python/antchain_sdk_baasplus/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | null | null | null | BAASPLUS/python/antchain_sdk_baasplus/models.py | alipay/antchain-openapi-prod-sdk | f78549e5135d91756093bd88d191ca260b28e083 | [
"MIT"
] | 6 | 2020-06-30T09:29:03.000Z | 2022-01-07T10:42:22.000Z | # -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
from Tea.model import TeaModel
class Config(TeaModel):
"""
Model for initing client
"""
def __init__(self, access_key_id=None, access_key_secret=None, security_token=None, protocol=None,
read_timeout=None, c... | 35.75 | 129 | 0.639157 | 26,434 | 201,916 | 4.556291 | 0.014792 | 0.048572 | 0.077067 | 0.031086 | 0.871165 | 0.852326 | 0.844837 | 0.83861 | 0.829618 | 0.82853 | 0 | 0.000206 | 0.255364 | 201,916 | 5,647 | 130 | 35.756331 | 0.800843 | 0.001436 | 0 | 0.865157 | 1 | 0 | 0.105176 | 0.00245 | 0 | 0 | 0 | 0 | 0 | 1 | 0.135466 | false | 0.045294 | 0.000208 | 0 | 0.237274 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2cb3d8cdb12d05ee0b197acc2a7dae203f8e1db2 | 3,570 | py | Python | torchntk/autograd/autograd_misc.py | pnnl/easy_ntk | b9eee4134e7f8d7a2e08fcee2fb019f0369a8a6c | [
"MIT"
] | null | null | null | torchntk/autograd/autograd_misc.py | pnnl/easy_ntk | b9eee4134e7f8d7a2e08fcee2fb019f0369a8a6c | [
"MIT"
] | null | null | null | torchntk/autograd/autograd_misc.py | pnnl/easy_ntk | b9eee4134e7f8d7a2e08fcee2fb019f0369a8a6c | [
"MIT"
] | null | null | null | #AUTHOR: ANDREW ENGEL
#andrew.engel@pnnl.gov
import torch
def autograd_components_Fisher(model: torch.nn.Module, y :torch.tensor):
fishers = {}
if len(y.shape) > 1:
raise ValueError('y must be 1-D, but its shape is: {}'.format(y.shape))
params_that_need_grad = []
for param in m... | 38.387097 | 112 | 0.658824 | 513 | 3,570 | 4.450292 | 0.261209 | 0.07972 | 0.104249 | 0.078844 | 0.849759 | 0.849759 | 0.849759 | 0.823478 | 0.823478 | 0.823478 | 0 | 0.002268 | 0.259104 | 3,570 | 93 | 113 | 38.387097 | 0.86087 | 0.302521 | 0 | 0.8 | 0 | 0 | 0.036076 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.016667 | 0 | 0.116667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e2eae4f6e2f7ff60c8bf96e44be64247796f1408 | 5,186 | py | Python | models/vi/conv.py | maltetoelle/mfvi-dip | cc67baa8abf38174763943a2618d8a14070746a4 | [
"MIT"
] | 4 | 2021-05-09T17:13:13.000Z | 2021-08-10T03:53:08.000Z | models/vi/conv.py | maltetoelle/mfvi-dip | cc67baa8abf38174763943a2618d8a14070746a4 | [
"MIT"
] | null | null | null | models/vi/conv.py | maltetoelle/mfvi-dip | cc67baa8abf38174763943a2618d8a14070746a4 | [
"MIT"
] | 2 | 2021-03-03T01:17:23.000Z | 2021-08-12T18:42:59.000Z | from torch.nn.functional import conv2d, conv3d
from torch.nn.modules.utils import _pair, _triple
from .reparam_layers import RTLayer, LRTLayer
class Conv2dRT(RTLayer):
def __init__(self,
in_channels,
out_channels,
kernel_size,
bias=True,
... | 36.265734 | 91 | 0.422869 | 421 | 5,186 | 4.88361 | 0.11639 | 0.107004 | 0.095331 | 0.085603 | 0.908074 | 0.908074 | 0.908074 | 0.908074 | 0.908074 | 0.908074 | 0 | 0.015936 | 0.516005 | 5,186 | 142 | 92 | 36.521127 | 0.803187 | 0 | 0 | 0.905983 | 0 | 0 | 0.005399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034188 | false | 0 | 0.025641 | 0 | 0.094017 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
391cb2ad0912dd7b6f8d6f88588a165f29709216 | 7,687 | py | Python | tests/api/test_metrics.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | tests/api/test_metrics.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | 11 | 2021-12-08T10:34:17.000Z | 2022-01-20T13:40:05.000Z | tests/api/test_metrics.py | RUrlus/ModelMetricUncertainty | f401a25dd196d6e4edf4901fcfee4b56ebd7c10b | [
"Apache-2.0"
] | null | null | null | import itertools
import pytest
import numpy as np
import mmu
from mmu.commons._testing import generate_test_labels
from mmu.commons._testing import compute_reference_metrics
Y_DTYPES = [
bool,
np.bool_,
int,
np.int32,
np.int64,
float,
np.float32,
np.float64,
]
YHAT_DTYPES = [
bool... | 31.37551 | 84 | 0.600364 | 1,011 | 7,687 | 4.334322 | 0.093966 | 0.044728 | 0.047467 | 0.044728 | 0.868097 | 0.783432 | 0.781607 | 0.746919 | 0.722273 | 0.658147 | 0 | 0.019251 | 0.263432 | 7,687 | 244 | 85 | 31.504098 | 0.75468 | 0.059191 | 0 | 0.512563 | 1 | 0 | 0.106711 | 0 | 0 | 0 | 0 | 0 | 0.070352 | 1 | 0.030151 | false | 0 | 0.030151 | 0 | 0.060302 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
391cefae5d09a4fdfd42830f2805945f28a99861 | 19,461 | py | Python | tests/test_pyswitch_slx/test_interfaceGeneric.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 6 | 2017-10-02T21:02:02.000Z | 2018-07-04T13:56:55.000Z | tests/test_pyswitch_slx/test_interfaceGeneric.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 23 | 2017-10-03T18:49:11.000Z | 2019-07-20T00:25:44.000Z | tests/test_pyswitch_slx/test_interfaceGeneric.py | mfeed/PySwitchLib | 54e872bcbe77f2ae840d845dadb7c5b9c12482ed | [
"Apache-2.0"
] | 4 | 2018-02-27T05:43:37.000Z | 2019-06-30T13:30:25.000Z | from __future__ import absolute_import
import unittest
from pyswitch.device import Device
class InterfaceGenericCase(unittest.TestCase):
def setUp(self):
self.rbridge_id = '1'
self.loopback_id = '12'
self.mtu = '1666'
self.vlan = '34'
self.second_vlan = 909
self.... | 44.635321 | 78 | 0.532963 | 2,168 | 19,461 | 4.563192 | 0.062269 | 0.070757 | 0.105529 | 0.0561 | 0.876074 | 0.849085 | 0.839887 | 0.81684 | 0.773375 | 0.750329 | 0 | 0.011689 | 0.375777 | 19,461 | 435 | 79 | 44.737931 | 0.802684 | 0.002466 | 0 | 0.688312 | 0 | 0 | 0.032715 | 0 | 0 | 0 | 0 | 0 | 0.119481 | 0 | null | null | 0.005195 | 0.007792 | null | null | 0.023377 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1a330d1ca4e8120d63cfa455b1fdab08b44a1efe | 5,569 | py | Python | smokey/test/test_hdfs_application_runner.py | godatadriven/hdp-smokey | b60c6941d77b66b4f84747d5fe10c972db88f7f7 | [
"Apache-2.0"
] | 1 | 2018-02-11T14:05:06.000Z | 2018-02-11T14:05:06.000Z | smokey/test/test_hdfs_application_runner.py | godatadriven/hdp-smokey | b60c6941d77b66b4f84747d5fe10c972db88f7f7 | [
"Apache-2.0"
] | null | null | null | smokey/test/test_hdfs_application_runner.py | godatadriven/hdp-smokey | b60c6941d77b66b4f84747d5fe10c972db88f7f7 | [
"Apache-2.0"
] | 1 | 2021-01-29T18:08:53.000Z | 2021-01-29T18:08:53.000Z | # flake8: noqa
import unittest
import logging
from unittest.mock import MagicMock
import subprocess
import hdfs.hdfs_application_runner as runner
class TestHdfsApplicationRunner(unittest.TestCase):
def setUp(self):
self.spark = runner.SparkHdfsTestRunner(logging)
self.mrgen = runner.MrTeragenRunn... | 62.573034 | 158 | 0.724187 | 837 | 5,569 | 4.731183 | 0.192354 | 0.028283 | 0.042424 | 0.056566 | 0.842677 | 0.833081 | 0.833081 | 0.833081 | 0.833081 | 0.833081 | 0 | 0.153897 | 0.177411 | 5,569 | 88 | 159 | 63.284091 | 0.710544 | 0.002155 | 0 | 0.594937 | 0 | 0.202532 | 0.584698 | 0.115212 | 0 | 0 | 0 | 0 | 0.037975 | 1 | 0.075949 | false | 0 | 0.063291 | 0 | 0.151899 | 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 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1a497c5d35ec1c21ffc1add012e07ee7c1ca61c3 | 220 | py | Python | crosscompute/macros/package.py | kashfifahim/crosscompute | 9ac6218265348e337a0e50554d861211c42dc46a | [
"MIT"
] | null | null | null | crosscompute/macros/package.py | kashfifahim/crosscompute | 9ac6218265348e337a0e50554d861211c42dc46a | [
"MIT"
] | null | null | null | crosscompute/macros/package.py | kashfifahim/crosscompute | 9ac6218265348e337a0e50554d861211c42dc46a | [
"MIT"
] | null | null | null | from importlib import import_module
def import_attribute(attribute_string):
module_string, attribute_name = attribute_string.rsplit('.', maxsplit=1)
return getattr(import_module(module_string), attribute_name)
| 31.428571 | 76 | 0.809091 | 27 | 220 | 6.259259 | 0.481481 | 0.142012 | 0.248521 | 0.295858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005102 | 0.109091 | 220 | 6 | 77 | 36.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.004545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.75 | 0 | 1.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
1a5ac6eda64a671054e302d79724f8f97ecab722 | 3,835 | py | Python | tests/crawer_test.py | hjiangsse/magic_click | dc104cc56e8c0ad78eadfc5c86c906157834ffde | [
"MIT"
] | null | null | null | tests/crawer_test.py | hjiangsse/magic_click | dc104cc56e8c0ad78eadfc5c86c906157834ffde | [
"MIT"
] | null | null | null | tests/crawer_test.py | hjiangsse/magic_click | dc104cc56e8c0ad78eadfc5c86c906157834ffde | [
"MIT"
] | null | null | null | import MagicClick.KCrawler as crawler
import time
if __name__ == "__main__":
# 1. 日间K线数据获取回测
start = time.time()
df_sh_600000 = crawler.get_day_k_data_pre_adjust("sh.600000", [])
print("time cost: ", time.time() - start)
print(df_sh_600000)
start = time.time()
df_sh_600000 = crawler.ge... | 33.060345 | 77 | 0.652673 | 561 | 3,835 | 4.089127 | 0.073084 | 0.219704 | 0.183086 | 0.137315 | 0.951613 | 0.951613 | 0.951613 | 0.951613 | 0.951613 | 0.951613 | 0 | 0.134572 | 0.199739 | 3,835 | 115 | 78 | 33.347826 | 0.612903 | 0.027119 | 0 | 0.724138 | 0 | 0 | 0.114961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022989 | 0 | 0.022989 | 0.482759 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 10 |
1a9f7b1e04772a944d619af5c23503a7b1374a6e | 26,924 | py | Python | scripts/PYTHON/vcf2fasta_rCRS.py | sjfandrews/MitoImputePrep | d9c08c36a7dc4b929ded39c46fb519090a491d80 | [
"MIT"
] | null | null | null | scripts/PYTHON/vcf2fasta_rCRS.py | sjfandrews/MitoImputePrep | d9c08c36a7dc4b929ded39c46fb519090a491d80 | [
"MIT"
] | null | null | null | scripts/PYTHON/vcf2fasta_rCRS.py | sjfandrews/MitoImputePrep | d9c08c36a7dc4b929ded39c46fb519090a491d80 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import time
import os
import sys
import gzip
import argparse
import fcntl, termios, struct
import itertools
import re
from tqdm import *
def memory_usage_resource():
# FROM: http://fa.bianp.net/blog/2013/different-ways-to-get-memory-consumption-or-lessons-learned-from-memory_profiler/
im... | 100.838951 | 16,582 | 0.815035 | 1,316 | 26,924 | 16.512158 | 0.180851 | 0.012149 | 0.008606 | 0.009664 | 0.150805 | 0.150805 | 0.142246 | 0.136125 | 0.133088 | 0.133088 | 0 | 0.009794 | 0.127804 | 26,924 | 267 | 16,583 | 100.838951 | 0.915556 | 0.017531 | 0 | 0.607527 | 0 | 0 | 0.712039 | 0.66824 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.010753 | 0.053763 | null | null | 0.155914 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
1aa0924cbe298129d417f1dedaec3dfa6484623d | 38,070 | bzl | Python | multiversion-example/3rdparty/jvm_deps.bzl | LaudateCorpus1/bazel-multiversion | 4490f3a39538d6033674def2f572314bd79e3b03 | [
"Apache-2.0"
] | 21 | 2021-01-15T20:29:53.000Z | 2022-02-23T13:22:33.000Z | multiversion-example/3rdparty/jvm_deps.bzl | scalameta/bazel-multideps | 4490f3a39538d6033674def2f572314bd79e3b03 | [
"Apache-2.0"
] | 19 | 2020-12-30T17:53:19.000Z | 2021-09-27T18:52:15.000Z | multiversion-example/3rdparty/jvm_deps.bzl | LaudateCorpus1/bazel-multiversion | 4490f3a39538d6033674def2f572314bd79e3b03 | [
"Apache-2.0"
] | 6 | 2021-01-04T16:19:31.000Z | 2022-03-21T00:59:20.000Z | # DO NOT EDIT: this file is auto-generated
def _jvm_deps_impl(ctx):
content = """
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
def load_jvm_deps():
http_file(name="com.google.code.findbugs_jsr305_1.3.9", urls=["https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3... | 167.709251 | 1,843 | 0.757 | 6,273 | 38,070 | 4.40204 | 0.028694 | 0.03194 | 0.018903 | 0.026979 | 0.883827 | 0.871044 | 0.86152 | 0.830992 | 0.750199 | 0.673354 | 0 | 0.128549 | 0.029603 | 38,070 | 226 | 1,844 | 168.451327 | 0.618926 | 0.001051 | 0 | 0.014085 | 1 | 0.894366 | 0.992506 | 0.821921 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014085 | false | 0 | 0.366197 | 0 | 0.380282 | 0.028169 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 13 |
6448f933f3a7143f49c7d3d22736a3eb61fc9bdf | 25,969 | py | Python | sdk/python/pulumi_azure/devtest/lab.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 109 | 2018-06-18T00:19:44.000Z | 2022-02-20T05:32:57.000Z | sdk/python/pulumi_azure/devtest/lab.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 663 | 2018-06-18T21:08:46.000Z | 2022-03-31T20:10:11.000Z | sdk/python/pulumi_azure/devtest/lab.py | henriktao/pulumi-azure | f1cbcf100b42b916da36d8fe28be3a159abaf022 | [
"ECL-2.0",
"Apache-2.0"
] | 41 | 2018-07-19T22:37:38.000Z | 2022-03-14T10:56:26.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 47.130672 | 212 | 0.668143 | 3,295 | 25,969 | 5.021244 | 0.059181 | 0.078453 | 0.087156 | 0.075793 | 0.899426 | 0.87809 | 0.856452 | 0.840737 | 0.818193 | 0.789483 | 0 | 0.003588 | 0.238015 | 25,969 | 550 | 213 | 47.216364 | 0.832525 | 0.349532 | 0 | 0.642623 | 1 | 0 | 0.124293 | 0.064558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163934 | false | 0.003279 | 0.016393 | 0 | 0.281967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
644ca1a506d96e37035a81be87257b599ba7ede6 | 8,157 | py | Python | src/airfly/_vendor/airflow/providers/google/cloud/operators/vision.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/providers/google/cloud/operators/vision.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/providers/google/cloud/operators/vision.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.models.baseoperator import BaseOperator
class CloudVisionAddProductToProductSetOperator(BaseOperator):
product_set_id: "str"
product_id: "str"
location: "str"
project_id: "typing.Union[str, NoneType]"
retry: "typing.Union[google... | 43.854839 | 93 | 0.738997 | 975 | 8,157 | 6.050256 | 0.081026 | 0.186472 | 0.085438 | 0.06713 | 0.861502 | 0.852178 | 0.850822 | 0.850822 | 0.835904 | 0.813019 | 0 | 0.00154 | 0.124188 | 8,157 | 185 | 94 | 44.091892 | 0.824188 | 0.004781 | 0 | 0.842105 | 1 | 0 | 0.550518 | 0.28721 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.006579 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 10 |
64b1d27bc313e54acf8fd4438b0547279daa3c41 | 19,202 | py | Python | test/test_tensorflow_recipe.py | huggingface/neural-compressor | aaad4c357a86914ffa583753c9a26d949838a2a5 | [
"Apache-2.0"
] | 172 | 2021-09-14T18:34:17.000Z | 2022-03-30T06:49:53.000Z | test/test_tensorflow_recipe.py | intel/lp-opt-tool | 130eefa3586b38df6c0ff78cc8807ae273f6a63f | [
"Apache-2.0"
] | 40 | 2021-09-14T02:26:12.000Z | 2022-03-29T08:34:04.000Z | test/test_tensorflow_recipe.py | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 33 | 2021-09-15T07:27:25.000Z | 2022-03-25T08:30:57.000Z | #
# -*- coding: utf-8 -*-
#
import unittest
import os
import yaml
import tensorflow as tf
from tensorflow.python.framework import graph_util
from neural_compressor.adaptor.tf_utils.util import disable_random
def build_fake_yaml_disable_first_quantization():
fake_yaml = '''
model:
name: fake_ya... | 38.099206 | 102 | 0.580252 | 2,195 | 19,202 | 4.836446 | 0.081549 | 0.036172 | 0.041447 | 0.011304 | 0.97061 | 0.964582 | 0.942069 | 0.915976 | 0.915787 | 0.908063 | 0 | 0.026368 | 0.318613 | 19,202 | 503 | 103 | 38.17495 | 0.785005 | 0.001094 | 0 | 0.867416 | 0 | 0 | 0.294013 | 0.055642 | 0 | 0 | 0 | 0 | 0.013483 | 1 | 0.031461 | false | 0 | 0.026966 | 0 | 0.060674 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
64cd3e63c5775b1391e0fb8a2b9a10cf1716cf72 | 915,391 | py | Python | python/phonenumbers/geodata/data16.py | CygnusNetworks/python-phonenumbers | 13cfa74c4509071e4688608e084568d7c75b0ec0 | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/geodata/data16.py | CygnusNetworks/python-phonenumbers | 13cfa74c4509071e4688608e084568d7c75b0ec0 | [
"Apache-2.0"
] | null | null | null | python/phonenumbers/geodata/data16.py | CygnusNetworks/python-phonenumbers | 13cfa74c4509071e4688608e084568d7c75b0ec0 | [
"Apache-2.0"
] | null | null | null | """Per-prefix data, mapping each prefix to a dict of locale:name.
Auto-generated file, do not edit by hand.
"""
from ..util import u
# Copyright (C) 2011-2015 The Libphonenumber Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licens... | 91.329043 | 139 | 0.647094 | 123,077 | 915,391 | 4.812792 | 0.088124 | 0.050646 | 0.025499 | 0.042897 | 0.848291 | 0.848223 | 0.848068 | 0.843142 | 0.843142 | 0.843142 | 0 | 0.312189 | 0.065723 | 915,391 | 10,022 | 140 | 91.338156 | 0.380426 | 0.000738 | 0 | 0 | 1 | 0.022093 | 0.72661 | 0.410615 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0001 | 0 | 0.0001 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
3754912bddaa725c2843673461e2b34de7705d89 | 61,887 | py | Python | calie/visualisations/graphs/graphs_and_stats_new.py | SebastianoF/calie | 187318fa340b6d2fbf8c5dbc643304b66e9d1c44 | [
"BSD-3-Clause"
] | null | null | null | calie/visualisations/graphs/graphs_and_stats_new.py | SebastianoF/calie | 187318fa340b6d2fbf8c5dbc643304b66e9d1c44 | [
"BSD-3-Clause"
] | null | null | null | calie/visualisations/graphs/graphs_and_stats_new.py | SebastianoF/calie | 187318fa340b6d2fbf8c5dbc643304b66e9d1c44 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from matplotlib import patches
####################
# 8 custom methods #
####################
def plot_custom_bar_chart_with_error(input_data,
input_names=None,
fig_tag=1,
... | 43.705508 | 119 | 0.528851 | 7,977 | 61,887 | 3.91463 | 0.047762 | 0.054472 | 0.051878 | 0.018253 | 0.873219 | 0.850418 | 0.837576 | 0.817594 | 0.797547 | 0.778717 | 0 | 0.04801 | 0.32687 | 61,887 | 1,415 | 120 | 43.736396 | 0.701594 | 0.043806 | 0 | 0.731173 | 0 | 0 | 0.094152 | 0 | 0 | 0 | 0 | 0 | 0.00858 | 1 | 0.009533 | false | 0.00286 | 0.00286 | 0 | 0.020972 | 0.001907 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37ba9435c1e913755882bfe0886efaa66ec2af9d | 34,631 | py | Python | src/conductor/client/http/api/metadata_resource_api.py | conductor-sdk/conductor-python | b3e4e0ae196f9963316a829fe42d9e7e01a390e2 | [
"Apache-2.0"
] | 3 | 2022-03-10T18:24:46.000Z | 2022-03-22T20:49:30.000Z | src/conductor/client/http/api/metadata_resource_api.py | conductor-sdk/conductor-python | b3e4e0ae196f9963316a829fe42d9e7e01a390e2 | [
"Apache-2.0"
] | 6 | 2022-03-08T17:48:28.000Z | 2022-03-30T00:39:22.000Z | src/conductor/client/http/api/metadata_resource_api.py | conductor-sdk/conductor-python | b3e4e0ae196f9963316a829fe42d9e7e01a390e2 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from conductor.client.http.api_client import ApiClient
class MetadataResourceApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the cla... | 36.841489 | 125 | 0.592388 | 3,896 | 34,631 | 5.018224 | 0.041581 | 0.047875 | 0.028643 | 0.036827 | 0.967725 | 0.962918 | 0.961178 | 0.953148 | 0.948801 | 0.941998 | 0 | 0.015359 | 0.315671 | 34,631 | 939 | 126 | 36.880724 | 0.809612 | 0.304063 | 0 | 0.816092 | 0 | 0 | 0.167424 | 0.04587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04023 | false | 0 | 0.007663 | 0 | 0.10728 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
37c572faefd5f0214f9a373937f6143a6e459bce | 1,918 | py | Python | tests/test_layer.py | jawaff/pycope | e36b6a410ed4d708959c47c89e97bc1c86285ef9 | [
"Apache-2.0"
] | null | null | null | tests/test_layer.py | jawaff/pycope | e36b6a410ed4d708959c47c89e97bc1c86285ef9 | [
"Apache-2.0"
] | 8 | 2019-12-07T07:37:18.000Z | 2021-06-02T00:49:30.000Z | tests/test_layer.py | jawaff/pycope | e36b6a410ed4d708959c47c89e97bc1c86285ef9 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Jake Waffle. Subject to the Apache2 license.
import layer
import context
def test_layer_init():
assert layer.Layer(context.Context(), {"name":"value"}, ["otherName"])
def test_layer_with():
ctx = context.Context()
cur_fields = ctx.peek_layer()
assert len(cur_fields) == 0
with... | 39.958333 | 81 | 0.5756 | 230 | 1,918 | 4.604348 | 0.173913 | 0.288952 | 0.103872 | 0.160529 | 0.734655 | 0.734655 | 0.734655 | 0.734655 | 0.734655 | 0.70255 | 0 | 0.040831 | 0.297706 | 1,918 | 47 | 82 | 40.808511 | 0.74536 | 0.030761 | 0 | 0.744186 | 0 | 0 | 0.124933 | 0 | 0 | 0 | 0 | 0 | 0.651163 | 1 | 0.046512 | false | 0 | 0.046512 | 0 | 0.093023 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
37c8c552bb3d907b8ab5565d0ea0724dc7a9cacd | 20,779 | py | Python | isi_mip/pages/migrations/0001_initial.py | ISI-MIP/isimip | c2a78c727337e38f3695031e00afd607da7d6dcb | [
"MIT"
] | 4 | 2017-07-05T08:06:18.000Z | 2021-03-01T17:23:18.000Z | isi_mip/pages/migrations/0001_initial.py | ISI-MIP/isimip | c2a78c727337e38f3695031e00afd607da7d6dcb | [
"MIT"
] | 4 | 2020-01-31T09:02:57.000Z | 2021-04-20T14:04:35.000Z | isi_mip/pages/migrations/0001_initial.py | ISI-MIP/isimip | c2a78c727337e38f3695031e00afd607da7d6dcb | [
"MIT"
] | 4 | 2017-10-12T01:48:55.000Z | 2020-04-29T13:50:03.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-04-14 07:57
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import isi_mip.contrib.blocks
import isi_mip.pages.blocks
import modelcluster.fields
import wagtail.contrib.routable_page.models
impo... | 104.944444 | 5,715 | 0.677367 | 2,248 | 20,779 | 6.166815 | 0.116993 | 0.141239 | 0.203563 | 0.086273 | 0.803434 | 0.78201 | 0.767583 | 0.762461 | 0.762461 | 0.736132 | 0 | 0.003609 | 0.14659 | 20,779 | 197 | 5,716 | 105.477157 | 0.778154 | 0.003224 | 0 | 0.566138 | 1 | 0 | 0.177169 | 0.004829 | 0.005291 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.063492 | 0 | 0.084656 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
80a060c3ad52757dbf4c86d9f6ca203e14b8e918 | 997 | py | Python | test/numbers/complex1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 1,482 | 2015-10-16T21:59:32.000Z | 2022-03-30T11:44:40.000Z | test/numbers/complex1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 226 | 2015-10-15T15:53:44.000Z | 2022-03-25T03:08:27.000Z | test/numbers/complex1.py | kylebarron/MagicPython | da6fa0793e2c85d3bf7709ff1d4f65ccf468db11 | [
"MIT"
] | 129 | 2015-10-20T02:41:49.000Z | 2022-03-22T01:44:36.000Z | 3.14j
10.j
10j
.001j
1e100j
3.14e-10j
3.14 : constant.numeric.float.python, source.python
j : constant.numeric.float.python, source.python, storage.type.imaginary.number.python
10. : constant.numeric.float.python, source.python
j : constant.numeric.float.python, source.pyth... | 45.318182 | 98 | 0.7001 | 127 | 997 | 5.496063 | 0.165354 | 0.25788 | 0.309456 | 0.372493 | 0.939828 | 0.939828 | 0.882521 | 0.882521 | 0.810888 | 0.810888 | 0 | 0.046914 | 0.187563 | 997 | 21 | 99 | 47.47619 | 0.814815 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
039aebe097736a763522e02a4c3b33a8d3ca2a74 | 11,160 | py | Python | referenceqvm/tests/test_stabilizer_utils.py | markf94/reference-qvm | e4ca313928f72b3d2348a3f9abfec6607944c59e | [
"Apache-2.0"
] | 28 | 2017-09-30T22:04:51.000Z | 2018-11-07T11:23:17.000Z | referenceqvm/tests/test_stabilizer_utils.py | markf94/reference-qvm | e4ca313928f72b3d2348a3f9abfec6607944c59e | [
"Apache-2.0"
] | 8 | 2017-09-30T21:32:33.000Z | 2018-10-15T16:36:57.000Z | referenceqvm/tests/test_stabilizer_utils.py | markf94/reference-qvm | e4ca313928f72b3d2348a3f9abfec6607944c59e | [
"Apache-2.0"
] | 12 | 2017-10-05T16:55:55.000Z | 2018-11-06T17:42:47.000Z | """
Test the infrastructure for building a state by projection onto the +1
eigenspace of a set of generators or stabilizers
"""
import numpy as np
from referenceqvm.stabilizer_utils import (compute_action, project_stabilized_state,
binary_stabilizer_to_pauli_stabilizer,
... | 37.830508 | 89 | 0.607527 | 1,521 | 11,160 | 4.147272 | 0.075608 | 0.229867 | 0.133164 | 0.068484 | 0.878408 | 0.854471 | 0.853361 | 0.830216 | 0.823716 | 0.810399 | 0 | 0.029837 | 0.300269 | 11,160 | 294 | 90 | 37.959184 | 0.777949 | 0.098387 | 0 | 0.746193 | 0 | 0 | 0.000507 | 0 | 0 | 0 | 0 | 0 | 0.187817 | 1 | 0.06599 | false | 0 | 0.025381 | 0 | 0.091371 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ff15d395632318061d95d7b55ee71e3945c19746 | 683 | py | Python | photongui/api/utils/dragExternalFile.py | Mohamed501258/photongui | bb7543d3efbdb42646992f875f5febc5b75c2225 | [
"BSD-3-Clause"
] | 7 | 2021-08-20T00:52:46.000Z | 2021-11-24T11:34:27.000Z | photongui/api/utils/dragExternalFile.py | Mohamed501258/photongui | bb7543d3efbdb42646992f875f5febc5b75c2225 | [
"BSD-3-Clause"
] | null | null | null | photongui/api/utils/dragExternalFile.py | Mohamed501258/photongui | bb7543d3efbdb42646992f875f5febc5b75c2225 | [
"BSD-3-Clause"
] | 1 | 2021-09-19T14:30:16.000Z | 2021-09-19T14:30:16.000Z | code = """/* Disabled External File Drag */
window.addEventListener("dragover",function(e){
if (e.target.type != "file") {
e.preventDefault();
e.dataTransfer.effectAllowed = "none";
e.dataTransfer.dropEffect = "none";
}
},false);
window.addEventListener("dragenter",function(e){
if (e.target.type != "f... | 28.458333 | 64 | 0.648609 | 72 | 683 | 6.152778 | 0.319444 | 0.176072 | 0.074492 | 0.081264 | 0.799097 | 0.799097 | 0.799097 | 0.799097 | 0.738149 | 0.738149 | 0 | 0 | 0.156662 | 683 | 23 | 65 | 29.695652 | 0.769097 | 0 | 0 | 0.608696 | 0 | 0.043478 | 0.979502 | 0.434846 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
206efc90357088da04ce74a989a1e395086be53b | 43,085 | py | Python | meltingpot/python/configs/scenarios/__init__.py | jagapiou/meltingpot | b3c07f2de74e4f2577749cfd3b3173cfe5cfdc30 | [
"Apache-2.0"
] | null | null | null | meltingpot/python/configs/scenarios/__init__.py | jagapiou/meltingpot | b3c07f2de74e4f2577749cfd3b3173cfe5cfdc30 | [
"Apache-2.0"
] | null | null | null | meltingpot/python/configs/scenarios/__init__.py | jagapiou/meltingpot | b3c07f2de74e4f2577749cfd3b3173cfe5cfdc30 | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 DeepMind Technologies Limited.
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | 34.550922 | 85 | 0.595938 | 4,448 | 43,085 | 5.27518 | 0.06295 | 0.067209 | 0.038442 | 0.019945 | 0.875597 | 0.856035 | 0.839371 | 0.78793 | 0.763212 | 0.72298 | 0 | 0.021609 | 0.302913 | 43,085 | 1,246 | 86 | 34.578652 | 0.759639 | 0.01504 | 0 | 0.830606 | 0 | 0 | 0.393144 | 0.252163 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000818 | false | 0.01964 | 0.003273 | 0 | 0.00982 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4591a6025cf5a64bd9d84b88b14e2df8e3a4e9a5 | 7,124 | py | Python | new_optimizers.py | mmahesh/variants-of-rmsprop-and-adagrad | b5f5343047304eb118142aa393cd42f4c2ee388d | [
"MIT"
] | 7 | 2019-04-07T02:55:17.000Z | 2021-11-22T14:59:09.000Z | new_optimizers.py | mmahesh/variants-of-rmsprop-and-adagrad | b5f5343047304eb118142aa393cd42f4c2ee388d | [
"MIT"
] | 1 | 2020-07-29T02:42:15.000Z | 2020-07-29T10:31:33.000Z | new_optimizers.py | mmahesh/variants-of-rmsprop-and-adagrad | b5f5343047304eb118142aa393cd42f4c2ee388d | [
"MIT"
] | null | null | null | """
This file contains the keras implementations of all the optimizers
proposed in
Variants of RMSProp and Adagrad with Logarithmic Regret Bounds
(http://arxiv.org/abs/1706.05507), M.C. Mukkamala and M. Hein
I used the format used in keras optimizers.py file.
I appreciate all the authors who contributed to keras.
"... | 35.798995 | 107 | 0.581275 | 1,017 | 7,124 | 3.930187 | 0.117994 | 0.01351 | 0.029272 | 0.045534 | 0.872154 | 0.85339 | 0.847386 | 0.835377 | 0.835377 | 0.830873 | 0 | 0.026481 | 0.284391 | 7,124 | 199 | 108 | 35.798995 | 0.757552 | 0.228804 | 0 | 0.828829 | 0 | 0 | 0.025028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.081081 | false | 0 | 0.018018 | 0 | 0.18018 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
45969b077601503ebfcd9f9fd8ac1f124406c863 | 318 | py | Python | wacky_rl/layers/__init__.py | maik97/wacky-rl | 7fde3bc473387f69deb69fadf21db1e82479516c | [
"MIT"
] | null | null | null | wacky_rl/layers/__init__.py | maik97/wacky-rl | 7fde3bc473387f69deb69fadf21db1e82479516c | [
"MIT"
] | 1 | 2021-09-19T06:38:33.000Z | 2021-09-29T21:25:54.000Z | wacky_rl/layers/__init__.py | maik97/wacky-rl | 7fde3bc473387f69deb69fadf21db1e82479516c | [
"MIT"
] | null | null | null | #from wacky_rl.layers.actor_layer import DiscreteActionLayer
#from wacky_rl.layers.actor_layer import ContinActionLayer
from wacky_rl.layers.contin_actor_layer import ContinActionLayer
from wacky_rl.layers.discrete_actor_layer import DiscreteActionLayer
from wacky_rl.layers.recurrent_encoder import RecurrentEncoder
| 45.428571 | 68 | 0.896226 | 42 | 318 | 6.5 | 0.333333 | 0.164835 | 0.201465 | 0.311355 | 0.809524 | 0.809524 | 0.809524 | 0.747253 | 0 | 0 | 0 | 0 | 0.066038 | 318 | 6 | 69 | 53 | 0.919192 | 0.36478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
45a2de3625b404975c83a5aa8910085004303308 | 12,206 | py | Python | sdk/python/pulumi_azure/appservice/plan.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appservice/plan.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/appservice/plan.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Plan(p... | 63.572917 | 321 | 0.696297 | 1,638 | 12,206 | 4.981685 | 0.1221 | 0.0625 | 0.060049 | 0.033333 | 0.816912 | 0.784559 | 0.767157 | 0.739093 | 0.726348 | 0.722059 | 0 | 0.000105 | 0.220875 | 12,206 | 191 | 322 | 63.905759 | 0.857939 | 0.47575 | 0 | 0.024691 | 1 | 0 | 0.157373 | 0.047235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.049383 | false | 0.012346 | 0.074074 | 0.024691 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
afda2bb4691a7d4dd12c3fb4578db80d61806c9b | 1,150 | py | Python | docs/themeicon/gradient.py | snehilvj/dmc-docs | f8e564dd93f005c8c2cdf84ad20f41c668041080 | [
"MIT"
] | 6 | 2022-01-28T17:12:58.000Z | 2022-03-16T01:29:18.000Z | docs/themeicon/gradient.py | snehilvj/dmc-demo | 3ac16f017922f8cdb322c91c29ad3144fd0bb886 | [
"MIT"
] | 1 | 2022-01-07T21:21:07.000Z | 2022-01-22T12:07:28.000Z | docs/themeicon/gradient.py | snehilvj/dmc-demo | 3ac16f017922f8cdb322c91c29ad3144fd0bb886 | [
"MIT"
] | 1 | 2022-02-05T18:00:36.000Z | 2022-02-05T18:00:36.000Z | import dash_mantine_components as dmc
from dash_iconify import DashIconify
component = dmc.Group(
children=[
dmc.ThemeIcon(
DashIconify(icon="tabler:photo", width=20),
variant="gradient",
gradient={"from": "indigo", "to": "cyan"},
size="lg",
),
... | 30.263158 | 64 | 0.48 | 106 | 1,150 | 5.179245 | 0.339623 | 0.10929 | 0.209472 | 0.245902 | 0.721311 | 0.721311 | 0.721311 | 0.721311 | 0.721311 | 0.721311 | 0 | 0.022636 | 0.346957 | 1,150 | 37 | 65 | 31.081081 | 0.708389 | 0 | 0 | 0.694444 | 0 | 0 | 0.167826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b3419074030ad7b32362b181da6d3513d4c05ab2 | 8,000 | py | Python | insights/tests/datasources/test_candlepin_broker.py | Manny27nyc/insights-core | 7b37e363cbc6326b300871157bb1e8feb7992281 | [
"Apache-2.0"
] | null | null | null | insights/tests/datasources/test_candlepin_broker.py | Manny27nyc/insights-core | 7b37e363cbc6326b300871157bb1e8feb7992281 | [
"Apache-2.0"
] | null | null | null | insights/tests/datasources/test_candlepin_broker.py | Manny27nyc/insights-core | 7b37e363cbc6326b300871157bb1e8feb7992281 | [
"Apache-2.0"
] | null | null | null | import pytest
from mock.mock import Mock
from insights.core.spec_factory import DatasourceProvider
from insights.core.dr import SkipComponent
from insights.specs.datasources.candlepin_broker import candlepin_broker, LocalSpecs
CANDLEPIN_BROKER = """
<configuration xmlns="urn:activemq"
xmlns:xsi="http:... | 45.714286 | 326 | 0.652625 | 772 | 8,000 | 6.665803 | 0.15544 | 0.069957 | 0.101049 | 0.08939 | 0.845317 | 0.807812 | 0.807812 | 0.807812 | 0.807812 | 0.795181 | 0 | 0.007333 | 0.215875 | 8,000 | 174 | 327 | 45.977011 | 0.813008 | 0 | 0 | 0.807947 | 0 | 0.033113 | 0.764 | 0.2185 | 0 | 0 | 0 | 0 | 0.059603 | 1 | 0.019868 | false | 0.013245 | 0.033113 | 0 | 0.05298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2faf4d7eee2f78889030c71fade36734ec245cd0 | 1,232 | py | Python | scannerdoesntwork.py | JNBarr/supersimple_pythonhackingtools | 3cbbe0e76fa9bfc0590ad005bf40bed9d5200f9e | [
"MIT"
] | 2 | 2020-06-23T23:53:58.000Z | 2020-09-10T15:29:56.000Z | scannerdoesntwork.py | jbsec/supersimple_pythonhackingtools | 3cbbe0e76fa9bfc0590ad005bf40bed9d5200f9e | [
"MIT"
] | null | null | null | scannerdoesntwork.py | jbsec/supersimple_pythonhackingtools | 3cbbe0e76fa9bfc0590ad005bf40bed9d5200f9e | [
"MIT"
] | null | null | null | """
import socket
import struct
import binascii
s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket. htnos(0x0800))
while True:
packet s.recvfrom(2048)
ethernet_header = packet [0:14]
eth_header = struct.unpack("!6s6s2s", ethernet_header)
print "Destination MAC: " + bianscii.hexli... | 36.235294 | 159 | 0.681006 | 167 | 1,232 | 4.874252 | 0.233533 | 0.077396 | 0.09828 | 0.117936 | 0.957002 | 0.947174 | 0.947174 | 0.947174 | 0.947174 | 0.947174 | 0 | 0.056807 | 0.171266 | 1,232 | 33 | 160 | 37.333333 | 0.740451 | 0 | 0 | 0 | 0 | 0 | 0.125413 | 0 | 0 | 0 | 0.009901 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2fc661676b74147b4dc261a5d7b8d665ccdc648d | 54,620 | py | Python | jamf/api/scripts_api.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | 1 | 2021-04-20T15:28:57.000Z | 2021-04-20T15:28:57.000Z | jamf/api/scripts_api.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | null | null | null | jamf/api/scripts_api.py | jensenbox/python-jamf | 85213085b1064a00375a7aa7df5e33c19f5178eb | [
"RSA-MD"
] | null | null | null | # coding: utf-8
"""
Jamf Pro API
## Overview This is a sample Jamf Pro server which allows for usage without any authentication. The Jamf Pro environment which supports the Try it Out functionality does not run the current beta version of Jamf Pro, thus any newly added endpoints will result in an error and sh... | 45.554629 | 460 | 0.596137 | 6,255 | 54,620 | 4.967226 | 0.048281 | 0.038108 | 0.059479 | 0.027808 | 0.965883 | 0.964789 | 0.957258 | 0.952494 | 0.947023 | 0.938429 | 0 | 0.015689 | 0.331326 | 54,620 | 1,198 | 461 | 45.592654 | 0.835008 | 0.503991 | 0 | 0.767619 | 0 | 0 | 0.161006 | 0.03577 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032381 | false | 0 | 0.009524 | 0 | 0.074286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2fd27ad808e57a92e540850e162fdfa67169e78d | 1,277 | py | Python | Exam17Sept/Sheriff.py | yani-valeva/Programming-Basics-Python | c553d331ffd210d362df0098bedf28e125a65dbf | [
"MIT"
] | null | null | null | Exam17Sept/Sheriff.py | yani-valeva/Programming-Basics-Python | c553d331ffd210d362df0098bedf28e125a65dbf | [
"MIT"
] | null | null | null | Exam17Sept/Sheriff.py | yani-valeva/Programming-Basics-Python | c553d331ffd210d362df0098bedf28e125a65dbf | [
"MIT"
] | null | null | null | number = int(input())
dots = ((3 * number) - 1) // 2
print('.' * dots + 'x' + '.' * dots)
print('.' * (dots - 1) + '/' + 'x' + '\\' + '.' * (dots - 1))
print('.' * (dots - 1) + 'x' + '|' + 'x' + '.' * (dots - 1))
ex = number
dots = ((3 * number) - ((ex * 2) + 1)) // 2
for i in range(1, (number // 2) + 2):
print('... | 32.74359 | 62 | 0.365701 | 178 | 1,277 | 2.623596 | 0.08427 | 0.171306 | 0.12848 | 0.141328 | 0.948608 | 0.948608 | 0.948608 | 0.901499 | 0.882227 | 0.835118 | 0 | 0.060159 | 0.310102 | 1,277 | 39 | 63 | 32.74359 | 0.469921 | 0 | 0 | 0.972222 | 0 | 0 | 0.046948 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
64053d5f5c780345fd0b4dccebecaa6cd0356179 | 199 | py | Python | skylib/extraction/__init__.py | SkynetRTN/skylib | 58fe57053db6a048f8a72d7b453ae411a2302545 | [
"Apache-2.0"
] | 1 | 2022-02-17T19:59:14.000Z | 2022-02-17T19:59:14.000Z | skylib/extraction/__init__.py | SkynetRTN/skylib | 58fe57053db6a048f8a72d7b453ae411a2302545 | [
"Apache-2.0"
] | null | null | null | skylib/extraction/__init__.py | SkynetRTN/skylib | 58fe57053db6a048f8a72d7b453ae411a2302545 | [
"Apache-2.0"
] | null | null | null | """
SkyLib source extraction functions - a replacement for SExtractor.
main: high-level source extraction interface.
isophotal: a fast implementation of isophotal analysis.
"""
from .main import *
| 22.111111 | 66 | 0.778894 | 24 | 199 | 6.458333 | 0.791667 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145729 | 199 | 8 | 67 | 24.875 | 0.911765 | 0.849246 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
64079ffd19af508546701b6090ecbbde5949f04c | 93 | py | Python | python/testData/inspections/PyFromFutureImportInspection/module_docstring.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyFromFutureImportInspection/module_docstring.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyFromFutureImportInspection/module_docstring.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | # This is a comment
""" This is a module docstring """
from __future__ import print_function
| 23.25 | 37 | 0.752688 | 14 | 93 | 4.642857 | 0.785714 | 0.184615 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 3 | 38 | 31 | 0.844156 | 0.494624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 7 |
ff969f324f2179eb6ff410b4709563cf39472a00 | 7,611 | py | Python | tests/trainer/test_train_loop_logging_1_0.py | chiragraman/pytorch-lightning | 0afc74fb83500b379e2a1abc09d1a2ae7a974329 | [
"Apache-2.0"
] | null | null | null | tests/trainer/test_train_loop_logging_1_0.py | chiragraman/pytorch-lightning | 0afc74fb83500b379e2a1abc09d1a2ae7a974329 | [
"Apache-2.0"
] | null | null | null | tests/trainer/test_train_loop_logging_1_0.py | chiragraman/pytorch-lightning | 0afc74fb83500b379e2a1abc09d1a2ae7a974329 | [
"Apache-2.0"
] | null | null | null | """
Tests to ensure that the training loop works with a dict (1.0)
"""
from pytorch_lightning import Trainer
from tests.base.deterministic_model import DeterministicModel
import os
import torch
def test__training_step__log(tmpdir):
"""
Tests that only training_step can be used
"""
os.environ['PL_DEV_D... | 31.065306 | 91 | 0.638812 | 946 | 7,611 | 4.816068 | 0.115222 | 0.108648 | 0.106014 | 0.098771 | 0.906277 | 0.895522 | 0.888938 | 0.882353 | 0.841528 | 0.841528 | 0 | 0.004617 | 0.26015 | 7,611 | 244 | 92 | 31.192623 | 0.804475 | 0.08895 | 0 | 0.705882 | 0 | 0 | 0.041248 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 1 | 0.070588 | false | 0 | 0.023529 | 0 | 0.135294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4486f392c6b0f81f78bb0d47b7b8bcf52ee1dacb | 146 | py | Python | cal_tools/exporter/utils.py | hsoju/cal-tools | b6b24926d1e32ecd09dd469be20538fcdafb0e15 | [
"MIT"
] | null | null | null | cal_tools/exporter/utils.py | hsoju/cal-tools | b6b24926d1e32ecd09dd469be20538fcdafb0e15 | [
"MIT"
] | null | null | null | cal_tools/exporter/utils.py | hsoju/cal-tools | b6b24926d1e32ecd09dd469be20538fcdafb0e15 | [
"MIT"
] | null | null | null | from typing import Iterable, Union
def sjoin(values: Iterable[Union[float, int]]) -> str:
return ' '.join([str(value) for value in values])
| 24.333333 | 54 | 0.691781 | 21 | 146 | 4.809524 | 0.761905 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 5 | 55 | 29.2 | 0.827869 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.