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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70ce53e98f029127d59a58d0a03d540892eb8226 | 159 | py | Python | src/tello/data_providers/__init__.py | libornovax/tello | 4273a97a74e20617bfea797968a11961d0695a83 | [
"MIT"
] | 2 | 2019-11-03T18:11:33.000Z | 2019-11-16T10:11:56.000Z | src/tello/data_providers/__init__.py | libornovax/tello | 4273a97a74e20617bfea797968a11961d0695a83 | [
"MIT"
] | null | null | null | src/tello/data_providers/__init__.py | libornovax/tello | 4273a97a74e20617bfea797968a11961d0695a83 | [
"MIT"
] | null | null | null | # flake8: noqa
from tello.data_providers.state_data_provider import StateDataProvider
from tello.data_providers.camera_data_provider import CameraDataProvider
| 39.75 | 72 | 0.893082 | 20 | 159 | 6.8 | 0.6 | 0.132353 | 0.191176 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.069182 | 159 | 3 | 73 | 53 | 0.912162 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cb0cf32ea18abaa5da3e93b086e8a7e4eec711cd | 593 | py | Python | urllib/parse/demo10.py | silianpan/seal-spider-demo | 23bf013d08f9edaf23823bc3787f579bccd0ec3a | [
"Apache-2.0"
] | null | null | null | urllib/parse/demo10.py | silianpan/seal-spider-demo | 23bf013d08f9edaf23823bc3787f579bccd0ec3a | [
"Apache-2.0"
] | 3 | 2021-09-08T01:11:16.000Z | 2022-03-02T15:14:03.000Z | urllib/parse/demo10.py | silianpan/seal-spider-demo | 23bf013d08f9edaf23823bc3787f579bccd0ec3a | [
"Apache-2.0"
] | 1 | 2019-08-04T09:57:29.000Z | 2019-08-04T09:57:29.000Z | from urllib.parse import urljoin
print(urljoin('http://www.baidu.com', 'FAQ.html'))
print(urljoin('http://www.baidu.com', 'https://cuiqingcai.com/FAQ.html'))
print(urljoin('http://www.baidu.com/about.html', 'https://cuiqingcai.com/FAQ.html'))
print(urljoin('http://www.baidu.com/about.html', 'https://cuiqingcai.com/FAQ... | 59.3 | 95 | 0.715008 | 90 | 593 | 4.711111 | 0.255556 | 0.226415 | 0.207547 | 0.268868 | 0.801887 | 0.801887 | 0.643868 | 0.643868 | 0.643868 | 0.556604 | 0 | 0.006981 | 0.033727 | 593 | 10 | 96 | 59.3 | 0.732984 | 0 | 0 | 0 | 0 | 0 | 0.632997 | 0.035354 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 0.111111 | 0.888889 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
cb282d58203417af2067b2527f6d82b5ba18ff80 | 153 | py | Python | libplf/__init__.py | yyyyyp/libplf | fb73e3c55277e3e94c63e596513b188fedadcf35 | [
"MIT"
] | 2 | 2020-06-10T11:38:50.000Z | 2020-06-11T10:22:39.000Z | libplf/__init__.py | yyyyyp/libplf | fb73e3c55277e3e94c63e596513b188fedadcf35 | [
"MIT"
] | null | null | null | libplf/__init__.py | yyyyyp/libplf | fb73e3c55277e3e94c63e596513b188fedadcf35 | [
"MIT"
] | 3 | 2020-06-11T10:25:02.000Z | 2020-06-12T03:01:34.000Z | from __future__ import annotations
from .vector import T as vector
from .point import T as point
from .piece import T as piece
from .plf import T as plf
| 25.5 | 34 | 0.79085 | 28 | 153 | 4.178571 | 0.357143 | 0.239316 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183007 | 153 | 5 | 35 | 30.6 | 0.936 | 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 |
cb5d6c8c4810a7e3fa3b41ae8c89aa2dea530ff2 | 8,068 | py | Python | utils/layer_macros.py | sreesxlnc/kaggle-right-whale | 14d5c8a002610dbaadaa0a3c84cca57252201a68 | [
"MIT"
] | 200 | 2016-01-18T17:13:41.000Z | 2022-02-18T10:50:50.000Z | utils/layer_macros.py | ashishlal/kaggle-right-whale | f5b8a369866144c7b9ccfeed803b578ae10abe3e | [
"MIT"
] | 4 | 2016-04-14T01:56:19.000Z | 2017-07-18T08:15:32.000Z | utils/layer_macros.py | ashishlal/kaggle-right-whale | f5b8a369866144c7b9ccfeed803b578ae10abe3e | [
"MIT"
] | 78 | 2016-01-18T22:31:39.000Z | 2020-01-04T11:26:41.000Z | import lasagne as nn
from lasagne.layers import dnn
from utils.layers import batch_norm2 as batch_norm
def conv2dbn(l, name, **kwargs):
""" Batch normalized DNN Conv2D Layer """
l = nn.layers.dnn.Conv2DDNNLayer(
l, name=name,
**kwargs
)
l = batch_norm(l, name='%sbn' % name)
return ... | 39.54902 | 94 | 0.595935 | 1,014 | 8,068 | 4.583826 | 0.105523 | 0.090361 | 0.039157 | 0.060241 | 0.950732 | 0.947504 | 0.924914 | 0.924914 | 0.924914 | 0.914587 | 0 | 0.016022 | 0.311477 | 8,068 | 203 | 95 | 39.743842 | 0.820702 | 0.26884 | 0 | 0.822581 | 0 | 0 | 0.053253 | 0 | 0 | 0 | 0 | 0.004926 | 0 | 1 | 0.040323 | false | 0 | 0.024194 | 0 | 0.104839 | 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 |
cbe66e15e2f4986cbebcc6242133ac5e5da4dc6f | 126,621 | py | Python | Thrift/gen-py/SpotifakeServices/AlbumService.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | Thrift/gen-py/SpotifakeServices/AlbumService.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | Thrift/gen-py/SpotifakeServices/AlbumService.py | BrunoLujan/Spotifake-DESER | a811444af0a1326659dd27949c6a1c66c7cd66a1 | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.13.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive impo... | 35.448208 | 134 | 0.610199 | 12,089 | 126,621 | 6.202085 | 0.021921 | 0.014404 | 0.025928 | 0.021607 | 0.872894 | 0.850808 | 0.840831 | 0.831922 | 0.830401 | 0.830401 | 0 | 0.006208 | 0.299089 | 126,621 | 3,571 | 135 | 35.458135 | 0.838603 | 0.0506 | 0 | 0.843798 | 1 | 0 | 0.041712 | 0.007573 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103369 | false | 0.00536 | 0.003063 | 0.032159 | 0.194104 | 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 |
1dca373c90483df08cab4e1663fc8d2126c87100 | 26 | py | Python | main.py | RazdolbayOne/gui-mark-counter-of-ai-mark | 7e5c065bbd9aa19f3ceec6c3f35e3cdcebf9078d | [
"MIT"
] | null | null | null | main.py | RazdolbayOne/gui-mark-counter-of-ai-mark | 7e5c065bbd9aa19f3ceec6c3f35e3cdcebf9078d | [
"MIT"
] | null | null | null | main.py | RazdolbayOne/gui-mark-counter-of-ai-mark | 7e5c065bbd9aa19f3ceec6c3f35e3cdcebf9078d | [
"MIT"
] | null | null | null |
import tkinter as tk
| 3.714286 | 20 | 0.653846 | 4 | 26 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 26 | 6 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
69b704b9840d7e385e46b897e01c3a048fe02832 | 168 | py | Python | utils/bson_encoding.py | Manu343726/biicode-common | 91b32c6fd1e4a72ce5451183f1766d313cd0e420 | [
"MIT"
] | 17 | 2015-04-15T09:40:23.000Z | 2017-05-17T20:34:49.000Z | utils/bson_encoding.py | Manu343726/biicode-common | 91b32c6fd1e4a72ce5451183f1766d313cd0e420 | [
"MIT"
] | 2 | 2015-04-22T11:29:36.000Z | 2018-09-25T09:31:09.000Z | utils/bson_encoding.py | bowlofstew/common | 45e9ca902be7bbbdd73dafe3ab8957bc4a006020 | [
"MIT"
] | 22 | 2015-04-15T09:46:00.000Z | 2020-09-29T17:03:31.000Z | '''
Bson encode and decode
'''
from bson import BSON
def decode_bson(data):
return BSON.decode(BSON(data))
def encode_bson(data):
return BSON.encode(data)
| 12 | 34 | 0.696429 | 25 | 168 | 4.6 | 0.36 | 0.208696 | 0.243478 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184524 | 168 | 13 | 35 | 12.923077 | 0.839416 | 0.130952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
69cedb9ccaa4b0eca75ae7dbc07045a7ed4e5255 | 5,355 | py | Python | docs/theory/figures/potential.py | wolfv/ElastoPlasticQPot | 7753c6cfb34d4bc79bc7ef07738a0dd1046222eb | [
"MIT"
] | null | null | null | docs/theory/figures/potential.py | wolfv/ElastoPlasticQPot | 7753c6cfb34d4bc79bc7ef07738a0dd1046222eb | [
"MIT"
] | null | null | null | docs/theory/figures/potential.py | wolfv/ElastoPlasticQPot | 7753c6cfb34d4bc79bc7ef07738a0dd1046222eb | [
"MIT"
] | null | null | null |
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
plt.style.use(['goose','goose-latex','goose-tick-lower'])
# --------------------------------------------------------------------------------------------------
eps_m = np.linspace(-1.1,+1.1,1000)
U = 9./2. * eps_m**2.
... | 20.207547 | 100 | 0.457143 | 766 | 5,355 | 3.062663 | 0.096606 | 0.08312 | 0.046036 | 0.054561 | 0.906223 | 0.906223 | 0.898551 | 0.88491 | 0.873402 | 0.873402 | 0 | 0.048904 | 0.190476 | 5,355 | 264 | 101 | 20.284091 | 0.492272 | 0.1662 | 0 | 0.806667 | 0 | 0 | 0.16124 | 0.120593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02 | 0 | 0.02 | 0 | 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 |
69e9217e831bca8d96cfc913059c4f8df2d1ea89 | 221 | py | Python | aiogram_tools/__init__.py | LDmitriy7/aiogram-tools | e1d00b9707b85930522e81188875d737b7e67f02 | [
"MIT"
] | 1 | 2021-09-05T14:46:40.000Z | 2021-09-05T14:46:40.000Z | aiogram_tools/__init__.py | LDmitriy7/aiogram-tools | e1d00b9707b85930522e81188875d737b7e67f02 | [
"MIT"
] | null | null | null | aiogram_tools/__init__.py | LDmitriy7/aiogram-tools | e1d00b9707b85930522e81188875d737b7e67f02 | [
"MIT"
] | null | null | null | from aiogram_tools.dispatcher import Dispatcher
from aiogram_tools import filters
from aiogram_tools import middlewares
from aiogram_tools import keyboards
__all__ = ['Dispatcher', 'filters', 'middlewares', 'keyboards']
| 31.571429 | 63 | 0.828054 | 26 | 221 | 6.730769 | 0.346154 | 0.251429 | 0.365714 | 0.377143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104072 | 221 | 6 | 64 | 36.833333 | 0.883838 | 0 | 0 | 0 | 0 | 0 | 0.167421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3861533bf34080e660c904e79461bbefea3323bc | 700 | py | Python | src/libs/faker/providers/phone_number/en_NZ/__init__.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | src/libs/faker/providers/phone_number/en_NZ/__init__.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | src/libs/faker/providers/phone_number/en_NZ/__init__.py | BarracudaPff/code-golf-data-pythpn | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | [
"MIT"
] | null | null | null | class Provider(PhoneNumberProvider):
formats = ("%## ####", "%##-####", "%######", "0{{area_code}} %## ####", "0{{area_code}} %##-####", "0{{area_code}}-%##-####", "0{{area_code}} %######", "(0{{area_code}}) %## ####", "(0{{area_code}}) %##-####", "(0{{area_code}}) %######", "+64 {{area_code}} %## ####", "+64 {{area_c... | 87.5 | 385 | 0.504286 | 82 | 700 | 4.085366 | 0.365854 | 0.310448 | 0.18806 | 0.179104 | 0.337313 | 0.337313 | 0.337313 | 0.337313 | 0.337313 | 0.337313 | 0 | 0.050553 | 0.095714 | 700 | 8 | 386 | 87.5 | 0.478673 | 0 | 0 | 0 | 0 | 0 | 0.46933 | 0.10271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
38bacb78603f04f9509e7ff89664f399106cf9df | 188 | py | Python | apps/stt_tests/serializers/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | apps/stt_tests/serializers/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | apps/stt_tests/serializers/__init__.py | michaldomino/Voice-interface-optimization-server | fff59d4c5db599e35d4b5f3915bbb272d2000a26 | [
"MIT"
] | null | null | null | from .stt_test_result_serializer import SttTestResultSerializer
from .stt_test_result_xlsx_serializer import SttTestResultXlsxSerializer
from .stt_test_serializer import SttTestSerializer
| 47 | 72 | 0.920213 | 21 | 188 | 7.809524 | 0.47619 | 0.128049 | 0.20122 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 188 | 3 | 73 | 62.666667 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
2a06456679e6324d1b7361b62707ed362db71b43 | 10,441 | py | Python | tests/integrationv2/test_client_authentication.py | aicas/s2n-tls | 1bfdf86b7b4210bc6f67ef4c075502c8d8968f05 | [
"Apache-2.0"
] | 1 | 2020-02-03T08:21:41.000Z | 2020-02-03T08:21:41.000Z | tests/integrationv2/test_client_authentication.py | aicas/s2n-tls | 1bfdf86b7b4210bc6f67ef4c075502c8d8968f05 | [
"Apache-2.0"
] | null | null | null | tests/integrationv2/test_client_authentication.py | aicas/s2n-tls | 1bfdf86b7b4210bc6f67ef4c075502c8d8968f05 | [
"Apache-2.0"
] | 1 | 2022-01-01T07:28:19.000Z | 2022-01-01T07:28:19.000Z | import copy
import os
import pytest
import time
from configuration import (available_ports, ALL_TEST_CIPHERS, ALL_TEST_CURVES,
ALL_TEST_CERTS, PROTOCOLS)
from common import Certificates, ProviderOptions, Protocols, data_bytes
from fixtures import managed_process
from providers import Provider, S2N, OpenSSL
from ut... | 42.443089 | 139 | 0.743703 | 1,333 | 10,441 | 5.6009 | 0.129032 | 0.047013 | 0.042861 | 0.048353 | 0.818511 | 0.789579 | 0.771899 | 0.74779 | 0.740825 | 0.740825 | 0 | 0.011773 | 0.178335 | 10,441 | 245 | 140 | 42.616327 | 0.858492 | 0.070012 | 0 | 0.768041 | 0 | 0 | 0.09209 | 0 | 0 | 0 | 0 | 0 | 0.231959 | 1 | 0.030928 | false | 0 | 0.046392 | 0 | 0.07732 | 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 |
2a2d5a856ba7153a0d3db72cd349fa84695856af | 158,369 | py | Python | pyboto3/clouddirectory.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/clouddirectory.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | pyboto3/clouddirectory.py | thecraftman/pyboto3 | 653a0db2b00b06708334431da8f169d1f7c7734f | [
"MIT"
] | null | null | null | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 42.435423 | 547 | 0.611136 | 17,237 | 158,369 | 5.596856 | 0.035679 | 0.012231 | 0.021457 | 0.013496 | 0.870409 | 0.848538 | 0.833321 | 0.820281 | 0.802971 | 0.782986 | 0 | 0.002342 | 0.320442 | 158,369 | 3,731 | 548 | 42.446797 | 0.894073 | 0.876333 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
2a5b5bfa1af91d08020455db80f4ecce29786656 | 3,713 | py | Python | tests/test_algorithms.py | subhamgcon/fliscopt | 8bd33b1313e12da4ce1a67d21662709c11e33d58 | [
"MIT"
] | null | null | null | tests/test_algorithms.py | subhamgcon/fliscopt | 8bd33b1313e12da4ce1a67d21662709c11e33d58 | [
"MIT"
] | null | null | null | tests/test_algorithms.py | subhamgcon/fliscopt | 8bd33b1313e12da4ce1a67d21662709c11e33d58 | [
"MIT"
] | null | null | null | try:
import fliscopt
except:
import sys
sys.path.append("..")
import unittest
from fliscopt.rs import RandomSearch
from fliscopt.sa import SimulatedAnnealing
from fliscopt.ga import GA
from fliscopt.hc import HillClimb
from fliscopt.utils.util import read_file
from fliscopt.fitness import griewank,domain
... | 57.123077 | 148 | 0.708322 | 541 | 3,713 | 4.809612 | 0.151571 | 0.146042 | 0.169101 | 0.199846 | 0.782859 | 0.782859 | 0.782859 | 0.782859 | 0.782859 | 0.782859 | 0 | 0.022244 | 0.176677 | 3,713 | 64 | 149 | 58.015625 | 0.828917 | 0 | 0 | 0.491228 | 0 | 0 | 0.387019 | 0 | 0 | 0 | 0 | 0 | 0.421053 | 1 | 0.070175 | false | 0 | 0.157895 | 0 | 0.245614 | 0.017544 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
aab789c9110a03b7ab21f5e849da7371542063c2 | 19,554 | py | Python | sdk/python/pulumi_azure/keyvault/key_vault.py | adnang/pulumi-azure | 32360d2f1e41e27d7fdd6522cb26d65e531f279f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/keyvault/key_vault.py | adnang/pulumi-azure | 32360d2f1e41e27d7fdd6522cb26d65e531f279f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/keyvault/key_vault.py | adnang/pulumi-azure | 32360d2f1e41e27d7fdd6522cb26d65e531f279f | [
"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 KeyVau... | 72.69145 | 392 | 0.695561 | 2,559 | 19,554 | 5.128957 | 0.113716 | 0.041067 | 0.032914 | 0.018286 | 0.802819 | 0.791771 | 0.786438 | 0.775162 | 0.754743 | 0.750857 | 0 | 0.000452 | 0.208346 | 19,554 | 268 | 393 | 72.962687 | 0.847416 | 0.525468 | 0 | 0.023256 | 1 | 0 | 0.167071 | 0.052727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0.011628 | 0.069767 | 0.023256 | 0.325581 | 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 |
aac59a8cadfe055e86a53844866466417b6a3474 | 1,937 | py | Python | src/c3nav/mapdata/migrations/0063_auto_20170508_1404.py | bate/c3nav | 9a86dd3eaeb3a10af3c5fa869575ed1e9300465a | [
"Apache-2.0"
] | 1 | 2021-07-07T06:16:40.000Z | 2021-07-07T06:16:40.000Z | src/c3nav/mapdata/migrations/0063_auto_20170508_1404.py | 0ki/c3nav | 18fdb34b3fbcf7eb4617794750494cfa16428c54 | [
"Apache-2.0"
] | null | null | null | src/c3nav/mapdata/migrations/0063_auto_20170508_1404.py | 0ki/c3nav | 18fdb34b3fbcf7eb4617794750494cfa16428c54 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-05-08 14:04
from __future__ import unicode_literals
import c3nav.mapdata.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('mapdata', '0062_auto_20170508_1400'),
]
operations = [
... | 31.241935 | 74 | 0.581311 | 166 | 1,937 | 6.680723 | 0.307229 | 0.108206 | 0.162308 | 0.235347 | 0.722272 | 0.722272 | 0.722272 | 0.722272 | 0.722272 | 0.665464 | 0 | 0.031618 | 0.297883 | 1,937 | 61 | 75 | 31.754098 | 0.783824 | 0.035106 | 0 | 0.666667 | 1 | 0 | 0.126474 | 0.012326 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2ab544fc3881ea7aea6c9dd7f7280a01ff88cc26 | 337 | py | Python | investments/contrib/payments/constants.py | gatsinski/investments | 4b903d6d9379993501e0c5fff2a93ddcaa2437ea | [
"MIT"
] | null | null | null | investments/contrib/payments/constants.py | gatsinski/investments | 4b903d6d9379993501e0c5fff2a93ddcaa2437ea | [
"MIT"
] | null | null | null | investments/contrib/payments/constants.py | gatsinski/investments | 4b903d6d9379993501e0c5fff2a93ddcaa2437ea | [
"MIT"
] | null | null | null | from django.utils.translation import gettext_lazy as _
MOHTLY = "monthly"
QUARTERLY = "quarterly"
SEMIANNUAL = "semiannual"
ANNUAL = "annual"
SPECIAL = "special"
DIVIDEND_TYPES = (
(MOHTLY, _("Monthly")),
(QUARTERLY, _("Quarterly")),
(SEMIANNUAL, _("Semiannual")),
(ANNUAL, _("Annual")),
(SPECIAL, ... | 21.0625 | 54 | 0.652819 | 30 | 337 | 7.066667 | 0.533333 | 0.122642 | 0.207547 | 0.292453 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0.726415 | 0 | 0 | 0.169139 | 337 | 15 | 55 | 22.466667 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0.231454 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2af26b30db0c70beb52cd99739e7056e0d3d0838 | 9,257 | py | Python | cellpack/mgl_tools/DejaVu/PropertyEditor.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | null | null | null | cellpack/mgl_tools/DejaVu/PropertyEditor.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | 21 | 2021-10-02T00:07:05.000Z | 2022-03-30T00:02:10.000Z | cellpack/mgl_tools/DejaVu/PropertyEditor.py | mesoscope/cellpack | ec6b736fc706c1fae16392befa814b5337a3a692 | [
"MIT"
] | null | null | null | ## Automatically adapted for numpy.oldnumeric Jul 23, 2007 by
#############################################################################
#
# Author: Michel F. SANNER
#
# Copyright: M. Sanner TSRI 2000
#
#############################################################################
# $Header: /opt/cvs/python/package... | 32.710247 | 110 | 0.538295 | 986 | 9,257 | 5.028398 | 0.151116 | 0.040339 | 0.016337 | 0.035296 | 0.817063 | 0.790641 | 0.786608 | 0.786608 | 0.766035 | 0.766035 | 0 | 0.032894 | 0.32019 | 9,257 | 282 | 111 | 32.826241 | 0.754966 | 0.06676 | 0 | 0.781659 | 0 | 0 | 0.036282 | 0 | 0 | 0 | 0 | 0 | 0.008734 | 1 | 0.034935 | false | 0 | 0.017467 | 0 | 0.069869 | 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 |
2af55bf812268cf975fc4696a9607d6dd842fea9 | 115 | py | Python | pylinky/__init__.py | LudovicRousseau/pyLinky | 62bbcc8355167014d4e763d7c5de6faaf0dd39ef | [
"Apache-2.0"
] | 42 | 2018-06-18T14:55:11.000Z | 2021-09-16T20:56:51.000Z | pylinky/__init__.py | LudovicRousseau/pyLinky | 62bbcc8355167014d4e763d7c5de6faaf0dd39ef | [
"Apache-2.0"
] | 27 | 2018-04-27T07:51:07.000Z | 2020-10-03T19:20:37.000Z | pylinky/__init__.py | LudovicRousseau/pyLinky | 62bbcc8355167014d4e763d7c5de6faaf0dd39ef | [
"Apache-2.0"
] | 27 | 2018-01-27T22:48:51.000Z | 2020-07-21T22:12:47.000Z | from pylinky.client import AbstractAuth
from pylinky.client import LinkyAPI
from pylinky.client import LinkyClient
| 28.75 | 39 | 0.869565 | 15 | 115 | 6.666667 | 0.466667 | 0.33 | 0.51 | 0.69 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 115 | 3 | 40 | 38.333333 | 0.970874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
2aff5dedb9c340f9f6a96e1eedfd2c84fc2cfef2 | 101 | py | Python | project/__init__.py | phiratio/django-forums-app | a8d50b436bc34f74ab8c58234f5f7cf5175e00c5 | [
"MIT"
] | null | null | null | project/__init__.py | phiratio/django-forums-app | a8d50b436bc34f74ab8c58234f5f7cf5175e00c5 | [
"MIT"
] | null | null | null | project/__init__.py | phiratio/django-forums-app | a8d50b436bc34f74ab8c58234f5f7cf5175e00c5 | [
"MIT"
] | null | null | null | # from celery import app as celery_app
from .celery import app as celery_app
__all__ = ['celery_app'] | 33.666667 | 38 | 0.782178 | 17 | 101 | 4.235294 | 0.352941 | 0.375 | 0.444444 | 0.527778 | 0.833333 | 0.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 3 | 39 | 33.666667 | 0.837209 | 0.356436 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
63028d028aaafa4ccfda566656125ddeaaeb9fae | 28,164 | py | Python | api/migrations/0001_initial.py | evan-rusin/fly-project | 8afc697f2a9fb63317cca2763ed0ed76f9ef2ead | [
"BSD-2-Clause"
] | 15 | 2016-11-17T08:34:52.000Z | 2021-11-12T07:08:58.000Z | api/migrations/0001_initial.py | evan-rusin/fly-project | 8afc697f2a9fb63317cca2763ed0ed76f9ef2ead | [
"BSD-2-Clause"
] | 137 | 2015-12-07T19:48:03.000Z | 2016-10-11T20:19:33.000Z | api/migrations/0001_initial.py | evan-rusin/fly-project | 8afc697f2a9fb63317cca2763ed0ed76f9ef2ead | [
"BSD-2-Clause"
] | 11 | 2016-10-21T22:43:54.000Z | 2021-08-28T14:41:02.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-03-24 18:47
from __future__ import unicode_literals
from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
depe... | 60.961039 | 292 | 0.595015 | 2,817 | 28,164 | 5.813277 | 0.083777 | 0.048913 | 0.054775 | 0.099658 | 0.845445 | 0.828591 | 0.794333 | 0.782792 | 0.758305 | 0.732658 | 0 | 0.0201 | 0.254545 | 28,164 | 461 | 293 | 61.093275 | 0.759895 | 0.002379 | 0 | 0.573951 | 1 | 0 | 0.107781 | 0.00331 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.011038 | 0 | 0.019868 | 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 |
6323a94ec9e41e9664c9046abdccf7481a4c64d1 | 7,783 | py | Python | neutralocean/eos/jmdfwg06.py | geoffstanley/neutralocean | 5e93c9732d3a64bf4c5dcb81a6d2f47839b0c6f7 | [
"MIT"
] | 10 | 2022-03-03T16:00:01.000Z | 2022-03-14T18:51:08.000Z | neutralocean/eos/jmdfwg06.py | geoffstanley/neutralocean | 5e93c9732d3a64bf4c5dcb81a6d2f47839b0c6f7 | [
"MIT"
] | null | null | null | neutralocean/eos/jmdfwg06.py | geoffstanley/neutralocean | 5e93c9732d3a64bf4c5dcb81a6d2f47839b0c6f7 | [
"MIT"
] | null | null | null | """
Density of Sea Water using the Jackett et al. (2006) [1]_ function
Functions:
rho :: computes in-situ density from salinity, potential temperature and
pressure
rho_s_t :: compute the partial derivatives of in-situ density with
respect to salinity and potential temperature
rho_p :: compute the partial de... | 27.024306 | 89 | 0.558525 | 1,090 | 7,783 | 3.946789 | 0.194495 | 0.013947 | 0.021153 | 0.011158 | 0.750814 | 0.743375 | 0.743375 | 0.730126 | 0.698047 | 0.698047 | 0 | 0.337584 | 0.314917 | 7,783 | 287 | 90 | 27.118467 | 0.469055 | 0.332905 | 0 | 0.765101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020134 | false | 0 | 0.013423 | 0 | 0.053691 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | 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 | 7 |
2d640d37aa341f6fd238012b5c62138f39effa1c | 9,904 | py | Python | scraper/user_agents.py | 2knal/medium-for-all | 8a53c8d3393f1e41519a4d5cbc74c07a89fcec97 | [
"MIT"
] | 3 | 2020-05-31T22:34:56.000Z | 2020-06-01T10:59:58.000Z | scraper/user_agents.py | 2knal/medium-for-all | 8a53c8d3393f1e41519a4d5cbc74c07a89fcec97 | [
"MIT"
] | 1 | 2021-03-31T19:57:21.000Z | 2021-03-31T19:57:21.000Z | scraper/user_agents.py | 2knal/medium-for-all | 8a53c8d3393f1e41519a4d5cbc74c07a89fcec97 | [
"MIT"
] | null | null | null | useragents = [
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2227.1 Safari/537.36",
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like G... | 96.15534 | 251 | 0.68649 | 1,937 | 9,904 | 3.495612 | 0.075891 | 0.030128 | 0.134249 | 0.167774 | 0.899129 | 0.889234 | 0.865899 | 0.853197 | 0.844188 | 0.787771 | 0 | 0.264699 | 0.137924 | 9,904 | 102 | 252 | 97.098039 | 0.528344 | 0 | 0 | 0 | 0 | 0.980392 | 0.91771 | 0.00212 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
937780b4ca634115490d05b7e15c4c0006ab7e12 | 7,018 | py | Python | gluon/policies/net_l3vpn.py | lfntac/ipv6 | 1cf305a5fe370e71157723a40833c73aeffdf35e | [
"Apache-2.0"
] | null | null | null | gluon/policies/net_l3vpn.py | lfntac/ipv6 | 1cf305a5fe370e71157723a40833c73aeffdf35e | [
"Apache-2.0"
] | null | null | null | gluon/policies/net_l3vpn.py | lfntac/ipv6 | 1cf305a5fe370e71157723a40833c73aeffdf35e | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2016 OpenStack Foundation.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | 32.64186 | 79 | 0.674551 | 869 | 7,018 | 5.225547 | 0.174914 | 0.126844 | 0.161859 | 0.184981 | 0.757322 | 0.757322 | 0.749615 | 0.749615 | 0.749615 | 0.749615 | 0 | 0.014804 | 0.22998 | 7,018 | 214 | 80 | 32.794393 | 0.8255 | 0.181961 | 0 | 0.767956 | 0 | 0 | 0.266188 | 0.164858 | 0 | 0 | 0 | 0.004673 | 0 | 1 | 0.005525 | false | 0 | 0.01105 | 0.005525 | 0.022099 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fad38150fbaceff59219291857b8a0d9d0bbccd0 | 107 | py | Python | moto/kms/utils.py | alexsult/moto | ed861ecae1039a048a6350a4ff832ef094cdf2c2 | [
"Apache-2.0"
] | 2 | 2019-07-10T14:44:12.000Z | 2020-06-08T17:26:29.000Z | moto/kms/utils.py | alexsult/moto | ed861ecae1039a048a6350a4ff832ef094cdf2c2 | [
"Apache-2.0"
] | 5 | 2018-04-25T21:04:20.000Z | 2018-11-02T19:59:27.000Z | moto/kms/utils.py | alexsult/moto | ed861ecae1039a048a6350a4ff832ef094cdf2c2 | [
"Apache-2.0"
] | 12 | 2017-09-06T22:11:15.000Z | 2021-05-28T17:22:31.000Z | from __future__ import unicode_literals
import uuid
def generate_key_id():
return str(uuid.uuid4())
| 13.375 | 39 | 0.766355 | 15 | 107 | 5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.158879 | 107 | 7 | 40 | 15.285714 | 0.822222 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 8 |
35562806951685a55d5a7c7552c48e3aa7b5ca00 | 5,913 | py | Python | tests/test_todo_parser.py | thejoeejoee/todo-to-issue-action | 65d59d6b32c85cabd1b099ae59268d71da804d00 | [
"MIT"
] | null | null | null | tests/test_todo_parser.py | thejoeejoee/todo-to-issue-action | 65d59d6b32c85cabd1b099ae59268d71da804d00 | [
"MIT"
] | null | null | null | tests/test_todo_parser.py | thejoeejoee/todo-to-issue-action | 65d59d6b32c85cabd1b099ae59268d71da804d00 | [
"MIT"
] | null | null | null | import os
import unittest
import json
from main import TodoParser
def count_issues_for_file_type(raw_issues, file_type):
num_issues = 0
for issue in raw_issues:
if issue.markdown_language == file_type:
num_issues += 1
return num_issues
class NewIssueTests(unittest.TestCase):
# Ch... | 40.5 | 107 | 0.702351 | 831 | 5,913 | 4.66065 | 0.12154 | 0.097599 | 0.134263 | 0.17196 | 0.866512 | 0.860831 | 0.846372 | 0.846372 | 0.844823 | 0.844823 | 0 | 0.008304 | 0.185354 | 5,913 | 145 | 108 | 40.77931 | 0.795723 | 0.052258 | 0 | 0.815534 | 0 | 0 | 0.071301 | 0.016083 | 0 | 0 | 0 | 0.006897 | 0.349515 | 1 | 0.300971 | false | 0 | 0.038835 | 0 | 0.378641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
356e41e008ab0a304ce0de791460204239ff200a | 237 | py | Python | extern/smplx_kinect/smplx_kinect/common/__init__.py | wangxihao/rgbd-kinect-pose | 03180723c99759ba2500bcd42b5fe7a1d26eb507 | [
"MIT"
] | 1 | 2022-02-07T06:12:26.000Z | 2022-02-07T06:12:26.000Z | extern/smplx_kinect/smplx_kinect/common/__init__.py | wangxihao/rgbd-kinect-pose | 03180723c99759ba2500bcd42b5fe7a1d26eb507 | [
"MIT"
] | null | null | null | extern/smplx_kinect/smplx_kinect/common/__init__.py | wangxihao/rgbd-kinect-pose | 03180723c99759ba2500bcd42b5fe7a1d26eb507 | [
"MIT"
] | null | null | null | import smplx_kinect.common.angle_representation
import smplx_kinect.common.body_models
import smplx_kinect.common.concater
import smplx_kinect.common.exp_bm_wrapper
import smplx_kinect.common.metrics
import smplx_kinect.common.smplx_vis
| 33.857143 | 47 | 0.898734 | 35 | 237 | 5.771429 | 0.4 | 0.326733 | 0.504951 | 0.683168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 237 | 6 | 48 | 39.5 | 0.897778 | 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 |
35ac88a70a91e8fc54d72a0c0007d8538e83a97c | 161 | py | Python | demo/example/foo/admin.py | Nuurek/django-plans | 97976521fa139a907aa13b66ab2b49d5c36948d2 | [
"MIT"
] | 3 | 2018-02-26T10:56:28.000Z | 2021-04-01T15:11:19.000Z | demo/example/foo/admin.py | Nuurek/django-plans | 97976521fa139a907aa13b66ab2b49d5c36948d2 | [
"MIT"
] | null | null | null | demo/example/foo/admin.py | Nuurek/django-plans | 97976521fa139a907aa13b66ab2b49d5c36948d2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Foo, Company, Profile
admin.site.register(Profile)
admin.site.register(Company)
admin.site.register(Foo)
| 17.888889 | 41 | 0.801242 | 23 | 161 | 5.608696 | 0.478261 | 0.209302 | 0.395349 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 8 | 42 | 20.125 | 0.889655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
35dc2a1bcd84afc2de81584378d63a7812b45c68 | 25,995 | py | Python | sdk/python/pulumi_vault/aws/secret_backend.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2019-10-07T17:44:18.000Z | 2022-03-30T20:46:33.000Z | sdk/python/pulumi_vault/aws/secret_backend.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 79 | 2019-10-11T18:13:07.000Z | 2022-03-31T21:09:41.000Z | sdk/python/pulumi_vault/aws/secret_backend.py | pulumi/pulumi-vault | 1682875f4a5d7d508f36e166529ad2b8aec34090 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-10-28T10:08:40.000Z | 2020-03-17T14:20:55.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 45.525394 | 204 | 0.653203 | 3,222 | 25,995 | 5.061763 | 0.057728 | 0.081611 | 0.079833 | 0.084984 | 0.901895 | 0.892145 | 0.887485 | 0.879821 | 0.87277 | 0.861733 | 0 | 0.000412 | 0.252933 | 25,995 | 570 | 205 | 45.605263 | 0.839392 | 0.352375 | 0 | 0.845912 | 1 | 0 | 0.0959 | 0.033591 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163522 | false | 0.003145 | 0.015723 | 0 | 0.27673 | 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 |
ea289fc21be2bf2347b4d418f593ab99851592fb | 92 | py | Python | scrutiny/__init__.py | ardinor/scrutiny | 3769e9db380b06ff45b0106dd5c4d727ecb2cb2f | [
"MIT"
] | null | null | null | scrutiny/__init__.py | ardinor/scrutiny | 3769e9db380b06ff45b0106dd5c4d727ecb2cb2f | [
"MIT"
] | null | null | null | scrutiny/__init__.py | ardinor/scrutiny | 3769e9db380b06ff45b0106dd5c4d727ecb2cb2f | [
"MIT"
] | null | null | null | from scrutiny.scrutiny import *
from scrutiny.models import *
from scrutiny.tests import *
| 18.4 | 31 | 0.793478 | 12 | 92 | 6.083333 | 0.416667 | 0.493151 | 0.493151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 92 | 4 | 32 | 23 | 0.924051 | 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 |
ea2ee794aa3e8622c79ea37fa5613640077da648 | 28,021 | py | Python | isi_sdk/apis/filepool_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | isi_sdk/apis/filepool_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | isi_sdk/apis/filepool_api.py | Atomicology/isilon_sdk_python | 91039da803ae37ed4abf8d2a3f59c333f3ef1866 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
FilepoolApi.py
Copyright 2016 SmartBear Software
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 ... | 37.968835 | 139 | 0.551336 | 2,670 | 28,021 | 5.568914 | 0.080524 | 0.063084 | 0.026229 | 0.027843 | 0.879279 | 0.856682 | 0.850024 | 0.835967 | 0.835026 | 0.835026 | 0 | 0.001133 | 0.370222 | 28,021 | 737 | 140 | 38.020353 | 0.841446 | 0.265158 | 0 | 0.819629 | 0 | 0 | 0.181239 | 0.049076 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026525 | false | 0 | 0.018568 | 0 | 0.071618 | 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 |
ea3abb24e745d7ffa490903970d14fcff455fc83 | 5,305 | py | Python | tests/slippinj/databases/drivers/test_sqlserver.py | scm-spain/slippin-jimmy | d0e52277daff523eda63f5d3137b5a990413923d | [
"Apache-2.0"
] | 7 | 2016-03-31T06:17:23.000Z | 2018-01-25T15:25:05.000Z | tests/slippinj/databases/drivers/test_sqlserver.py | scm-spain/slippin-jimmy | d0e52277daff523eda63f5d3137b5a990413923d | [
"Apache-2.0"
] | 8 | 2016-03-30T18:45:09.000Z | 2017-06-19T09:21:35.000Z | tests/slippinj/databases/drivers/test_sqlserver.py | scm-spain/slippin-jimmy | d0e52277daff523eda63f5d3137b5a990413923d | [
"Apache-2.0"
] | 13 | 2017-04-21T08:17:14.000Z | 2019-07-12T04:59:24.000Z | import logging
from mock import Mock
from slippinj.databases.drivers.sqlserver import Sqlserver
class TestSqlserver:
def setup_method(self, method):
self.logger = logging.getLogger('test')
self.logger.addHandler(logging.NullHandler())
def teardown_method(self, method):
self.logger =... | 46.130435 | 123 | 0.556456 | 514 | 5,305 | 5.315175 | 0.142023 | 0.112738 | 0.087848 | 0.061493 | 0.897145 | 0.854685 | 0.84224 | 0.821742 | 0.821742 | 0.804173 | 0 | 0.004292 | 0.341188 | 5,305 | 114 | 124 | 46.535088 | 0.777396 | 0 | 0 | 0.739583 | 0 | 0 | 0.12328 | 0.030537 | 0 | 0 | 0 | 0 | 0.020833 | 1 | 0.041667 | false | 0 | 0.03125 | 0 | 0.083333 | 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 |
575ef0b42161bd74747e94dde836117ddebee906 | 176,855 | py | Python | symFile.py | shurkova/currentVers | 25027f3f4faa9033b69041459f0785c1436c3f31 | [
"CECILL-B"
] | 3 | 2020-06-22T15:02:23.000Z | 2021-05-05T14:03:25.000Z | symFile.py | shurkova/currentVers | 25027f3f4faa9033b69041459f0785c1436c3f31 | [
"CECILL-B"
] | null | null | null | symFile.py | shurkova/currentVers | 25027f3f4faa9033b69041459f0785c1436c3f31 | [
"CECILL-B"
] | 11 | 2020-05-01T09:03:14.000Z | 2022-02-09T14:17:41.000Z | simType='sim_file'
symProps = [
{'set': 'memory', 'RBs': [{'higher_order': False, 'pred_name': 'non_exist', 'P': 'non_exist', 'object_name': 'bar_0.703780466095', 'pred_sem': [], 'object_sem': [['X', 1, 'X', 'nil', 'state'], ['X_0.790476190476', 1, 'X', 0.79047619047619044, 'value'], ['Y', 1, 'Y', 'nil', 'state'], ['Y_... | 1,028.226744 | 1,108 | 0.572853 | 25,523 | 176,855 | 3.803863 | 0.045136 | 0.111406 | 0.023361 | 0.069629 | 0.890633 | 0.890633 | 0.890633 | 0.890633 | 0.888686 | 0.888686 | 0 | 0.237177 | 0.104181 | 176,855 | 172 | 1,109 | 1,028.226744 | 0.375623 | 0 | 0 | 0 | 0 | 0 | 0.453403 | 0.008204 | 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 | 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 | 10 |
579345ab72eb9317ea9e46004c2c8a421e8de0b2 | 21,087 | py | Python | tests/cli/test_spec.py | maximzubkov/codeprep | 807ee1ea33796b6853c45e9dcb4e866b3f09a5f2 | [
"Apache-2.0"
] | 33 | 2020-03-02T23:42:15.000Z | 2022-03-18T02:34:32.000Z | tests/cli/test_spec.py | maximzubkov/codeprep | 807ee1ea33796b6853c45e9dcb4e866b3f09a5f2 | [
"Apache-2.0"
] | 10 | 2020-02-27T13:43:00.000Z | 2021-04-21T12:11:44.000Z | tests/cli/test_spec.py | maximzubkov/codeprep | 807ee1ea33796b6853c45e9dcb4e866b3f09a5f2 | [
"Apache-2.0"
] | 9 | 2020-03-16T14:28:06.000Z | 2021-09-30T09:40:56.000Z | # SPDX-FileCopyrightText: 2020 Hlib Babii <hlibbabii@gmail.com>
#
# SPDX-License-Identifier: Apache-2.0
import os
from unittest import mock
from unittest.mock import Mock
import pytest
from docopt import DocoptExit
from codeprep.bpepkg.bpe_config import BpeConfig, BpeParam
from codeprep.cli.spec import parse_and_run... | 34.121359 | 123 | 0.624887 | 2,684 | 21,087 | 4.697466 | 0.061103 | 0.052348 | 0.036643 | 0.048779 | 0.92703 | 0.92481 | 0.917195 | 0.907519 | 0.899508 | 0.882297 | 0 | 0.011601 | 0.207 | 21,087 | 618 | 124 | 34.121359 | 0.742375 | 0.006876 | 0 | 0.78865 | 0 | 0 | 0.150884 | 0.057907 | 0 | 0 | 0 | 0 | 0.07045 | 1 | 0.080235 | false | 0 | 0.015656 | 0 | 0.09589 | 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 |
57a8b1d5a5b8d135cc9f90282c61669726d433c3 | 49,188 | py | Python | download_genomes_ena/download_the_last_of_genomes.py | BioDragao/MAF | b20a39b474f2352920dae15273e633cea39b28d2 | [
"MIT"
] | null | null | null | download_genomes_ena/download_the_last_of_genomes.py | BioDragao/MAF | b20a39b474f2352920dae15273e633cea39b28d2 | [
"MIT"
] | null | null | null | download_genomes_ena/download_the_last_of_genomes.py | BioDragao/MAF | b20a39b474f2352920dae15273e633cea39b28d2 | [
"MIT"
] | null | null | null | import os
import json
import subprocess
import shutil
all_ftp_links = [
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR841/ERR841438/ERR841438.fastq.gz",
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR841/ERR841440/ERR841440.fastq.gz",
"ftp://ftp.sra.ebi.ac.uk/vol1/fastq/ERR841/ERR841441/ERR841441.fastq.gz",
"ftp://ftp.sra.ebi.ac.uk/... | 49.534743 | 94 | 0.761629 | 8,784 | 49,188 | 4.153233 | 0.035861 | 0.181898 | 0.116934 | 0.155913 | 0.76191 | 0.759936 | 0.759936 | 0.759936 | 0.759936 | 0.759087 | 0 | 0.256099 | 0.021672 | 49,188 | 992 | 95 | 49.584677 | 0.502016 | 0.003375 | 0 | 0 | 0 | 0.492212 | 0.912164 | 0.783318 | 0 | 0 | 0 | 0.001008 | 0 | 1 | 0 | false | 0 | 0.004154 | 0 | 0.004154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
57e3d55853ea296a5a212b0334893253d563bc61 | 8,031 | py | Python | unittests/test_property_dictionary.py | USGS-EROS/python-property-dictionary | 476a1c9d9ab52dea13629e8f236fd6604125282b | [
"Unlicense"
] | 3 | 2020-06-27T04:17:14.000Z | 2021-04-16T15:02:50.000Z | unittests/test_property_dictionary.py | USGS-EROS/python-property-dictionary | 476a1c9d9ab52dea13629e8f236fd6604125282b | [
"Unlicense"
] | 1 | 2017-05-01T15:51:50.000Z | 2017-05-01T15:51:50.000Z | unittests/test_property_dictionary.py | USGS-EROS/python-property-dictionary | 476a1c9d9ab52dea13629e8f236fd6604125282b | [
"Unlicense"
] | 6 | 2016-04-26T19:28:16.000Z | 2017-06-25T16:39:59.000Z |
import unittest
from espa import PropertyDict
class TestPropertyDict(unittest.TestCase):
def setUp(self):
self.dict_a = {'a': 1,
'b': 2,
'c': [3, 4, 5],
'd': [{'a': 1}, {'b': 2}]}
self.dict_b = {'z': {'a': 7}, 'zz': {'b': 8}... | 35.378855 | 72 | 0.524841 | 1,198 | 8,031 | 3.494157 | 0.073456 | 0.523172 | 0.558051 | 0.189202 | 0.824176 | 0.815815 | 0.807215 | 0.807215 | 0.802198 | 0.794553 | 0 | 0.046864 | 0.261362 | 8,031 | 226 | 73 | 35.535398 | 0.6588 | 0.060266 | 0 | 0.32967 | 0 | 0 | 0.048196 | 0 | 0 | 0 | 0 | 0 | 0.824176 | 1 | 0.038462 | false | 0.005495 | 0.010989 | 0 | 0.054945 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
aa2acb25c40a8d0ecedda30f94dfb8ac746a886f | 2,743 | py | Python | LR_3/main.py | Gr1dlock/AnalysisOfAlgorithms | 90da2704e9147e1c620f5476e3e1d7ac7cdd72ec | [
"MIT"
] | 1 | 2021-08-30T11:20:45.000Z | 2021-08-30T11:20:45.000Z | LR_3/main.py | Gr1dlock/AnalysisOfAlgorithms | 90da2704e9147e1c620f5476e3e1d7ac7cdd72ec | [
"MIT"
] | null | null | null | LR_3/main.py | Gr1dlock/AnalysisOfAlgorithms | 90da2704e9147e1c620f5476e3e1d7ac7cdd72ec | [
"MIT"
] | null | null | null | import sorting
import time
import random
def time_count():
for i in range(100, 1100, 100):
insertion_time = 0
comb_time = 0
quick_time = 0
arr = [random.randint(0, 1000) for k in range(i)]
for j in range(100):
time_1 = time.perf_counter()
res = sorti... | 33.45122 | 67 | 0.543565 | 361 | 2,743 | 3.914127 | 0.108033 | 0.067941 | 0.127389 | 0.11465 | 0.901628 | 0.871904 | 0.871904 | 0.871904 | 0.871904 | 0.871904 | 0 | 0.067107 | 0.337222 | 2,743 | 81 | 68 | 33.864198 | 0.710121 | 0 | 0 | 0.84 | 0 | 0 | 0.085339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013333 | false | 0 | 0.04 | 0 | 0.053333 | 0.24 | 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 |
104bb466e66f85ea53446abecee46780c09544d4 | 4,856 | py | Python | cipefilos/api/migrations/0001_initial.py | JesusJimenezG/cipefilos | 537c80a919a324d1c3d082aa089a590aa742fece | [
"MIT"
] | null | null | null | cipefilos/api/migrations/0001_initial.py | JesusJimenezG/cipefilos | 537c80a919a324d1c3d082aa089a590aa742fece | [
"MIT"
] | null | null | null | cipefilos/api/migrations/0001_initial.py | JesusJimenezG/cipefilos | 537c80a919a324d1c3d082aa089a590aa742fece | [
"MIT"
] | null | null | null | # Generated by Django 3.0.9 on 2020-08-17 22:04
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 45.811321 | 184 | 0.5729 | 464 | 4,856 | 5.892241 | 0.224138 | 0.016459 | 0.035845 | 0.056328 | 0.815655 | 0.815655 | 0.773958 | 0.773958 | 0.773958 | 0.773958 | 0 | 0.024327 | 0.280478 | 4,856 | 105 | 185 | 46.247619 | 0.758157 | 0.009267 | 0 | 0.683673 | 1 | 0.020408 | 0.168434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030612 | 0 | 0.071429 | 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 |
1075843803867449faa59b2c40f23936cf808aa7 | 212 | py | Python | tests/interfaces/test_hashdf.py | Ovakefali13/pyiron_base | 84a9b0c46dab434a7f7c14f987392f6fede68317 | [
"BSD-3-Clause"
] | 7 | 2020-09-12T11:01:09.000Z | 2022-03-01T20:59:46.000Z | tests/interfaces/test_hashdf.py | Ovakefali13/pyiron_base | 84a9b0c46dab434a7f7c14f987392f6fede68317 | [
"BSD-3-Clause"
] | 417 | 2018-07-03T12:44:00.000Z | 2022-03-31T14:25:31.000Z | tests/interfaces/test_hashdf.py | Ovakefali13/pyiron_base | 84a9b0c46dab434a7f7c14f987392f6fede68317 | [
"BSD-3-Clause"
] | 8 | 2018-04-03T05:21:07.000Z | 2021-12-27T09:55:19.000Z | import pyiron_base.interfaces.has_hdf
from pyiron_base._tests import PyironTestCase
class TestHasHDF(PyironTestCase):
@property
def docstring_module(self):
return pyiron_base.interfaces.has_hdf
| 23.555556 | 45 | 0.79717 | 26 | 212 | 6.230769 | 0.653846 | 0.185185 | 0.246914 | 0.283951 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146226 | 212 | 8 | 46 | 26.5 | 0.895028 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5e0e874186f22a21f39d2a9daeb6b730c266f15f | 127 | py | Python | pyramda/relation/min_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 124 | 2015-07-30T21:34:25.000Z | 2022-02-19T08:45:50.000Z | pyramda/relation/min_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 37 | 2015-08-31T23:02:20.000Z | 2022-02-04T04:45:28.000Z | pyramda/relation/min_test.py | sergiors/pyramda | 5bf200888809b1bc946e813e29460f204bccd13e | [
"MIT"
] | 20 | 2015-08-04T18:59:09.000Z | 2021-12-13T08:08:59.000Z | from .min import min
from pyramda.private.asserts import assert_equal
def min_test():
assert_equal(min([3, 1, 4, 2]), 1)
| 18.142857 | 48 | 0.708661 | 22 | 127 | 3.954545 | 0.636364 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04717 | 0.165354 | 127 | 6 | 49 | 21.166667 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
eaf0425b0c373044f4b5badd325f4afc4795d0e8 | 321 | py | Python | projeto_e_exemplos/configs.py | luizanisio/PesquisaTextualBR | 1e423901fef83c59dea9b20dcc404ef90c3e781f | [
"MIT"
] | null | null | null | projeto_e_exemplos/configs.py | luizanisio/PesquisaTextualBR | 1e423901fef83c59dea9b20dcc404ef90c3e781f | [
"MIT"
] | null | null | null | projeto_e_exemplos/configs.py | luizanisio/PesquisaTextualBR | 1e423901fef83c59dea9b20dcc404ef90c3e781f | [
"MIT"
] | null | null | null | DB_CONFIG_DEV = {'host': 'host',
'usuario':'usr_pesquisabr',
'senha':'senhapesquisabr',
'database': 'pesquisabr' }
DB_CONFIG_PROD = {'host': 'host',
'usuario':'usr_pesquisabr',
'senha':'senhapesquisabr',
'database': 'pesquisabr' }
... | 29.181818 | 41 | 0.501558 | 24 | 321 | 6.458333 | 0.458333 | 0.103226 | 0.193548 | 0.232258 | 0.851613 | 0.851613 | 0.851613 | 0.851613 | 0.851613 | 0 | 0 | 0 | 0.336449 | 321 | 10 | 42 | 32.1 | 0.7277 | 0 | 0 | 0.75 | 0 | 0 | 0.430868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 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 |
d83899054b2b8f50dbeca4807e4012d2ad050612 | 133 | py | Python | Chapter4_Packages/1_Packaging_2/my_package/utils/printing/__init__.py | franneck94/UdemyPythonProEng | fd25dc2e25eaf2af15935560c9fda23470298b39 | [
"MIT"
] | 2 | 2021-08-04T21:30:33.000Z | 2021-11-07T19:43:30.000Z | Chapter4_Packages/1_Packaging_2/my_package/utils/printing/__init__.py | franneck94/UdemyPythonProEng | fd25dc2e25eaf2af15935560c9fda23470298b39 | [
"MIT"
] | null | null | null | Chapter4_Packages/1_Packaging_2/my_package/utils/printing/__init__.py | franneck94/UdemyPythonProEng | fd25dc2e25eaf2af15935560c9fda23470298b39 | [
"MIT"
] | 2 | 2021-01-15T06:06:11.000Z | 2022-02-25T02:56:02.000Z | from ._printing import print_hello_world
from ._printing import print_name
__all__ = [
"print_hello_world",
"print_name"
]
| 14.777778 | 40 | 0.744361 | 17 | 133 | 5.117647 | 0.470588 | 0.275862 | 0.413793 | 0.528736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180451 | 133 | 8 | 41 | 16.625 | 0.798165 | 0 | 0 | 0 | 0 | 0 | 0.203008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 7 |
dc1b26f1d2176175ea6f3a477808865cb7741505 | 1,945 | py | Python | tests/pipe_proc_tests/mir.py | genematx/nmrglue | 8a24cf6cbd18451e552fc0673b84c42d1dcb69a2 | [
"BSD-3-Clause"
] | 150 | 2015-01-16T12:24:13.000Z | 2022-03-03T18:01:18.000Z | tests/pipe_proc_tests/mir.py | genematx/nmrglue | 8a24cf6cbd18451e552fc0673b84c42d1dcb69a2 | [
"BSD-3-Clause"
] | 129 | 2015-01-13T04:58:56.000Z | 2022-03-02T13:39:16.000Z | tests/pipe_proc_tests/mir.py | genematx/nmrglue | 8a24cf6cbd18451e552fc0673b84c42d1dcb69a2 | [
"BSD-3-Clause"
] | 88 | 2015-02-16T20:04:12.000Z | 2022-03-10T06:50:30.000Z | #! /usr/bin/env python
""" tests for MIR function """
import nmrglue.fileio.pipe as pipe
import nmrglue.process.pipe_proc as p
d, a = pipe.read("time_complex.fid")
d, a = p.mir(d, a, mode="left", sw=True)
pipe.write("mir1.glue", d, a, overwrite=True)
d, a = pipe.read("time_complex.fid")
d, a = p.mir(d, a, mode="righ... | 31.370968 | 52 | 0.643702 | 390 | 1,945 | 3.153846 | 0.138462 | 0.091057 | 0.068293 | 0.113821 | 0.873984 | 0.858537 | 0.858537 | 0.858537 | 0.858537 | 0.858537 | 0 | 0.023543 | 0.126478 | 1,945 | 61 | 53 | 31.885246 | 0.700412 | 0.023136 | 0 | 0.636364 | 0 | 0 | 0.226624 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.045455 | 0 | 0.045455 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
dc42027924f2e7761f462790b1777952766fdbf2 | 134 | py | Python | tests/test_cli.py | simonbowly/git-commit-untodo | 16918e3001ee269473ecae8af218249e0cf8005d | [
"MIT"
] | null | null | null | tests/test_cli.py | simonbowly/git-commit-untodo | 16918e3001ee269473ecae8af218249e0cf8005d | [
"MIT"
] | 9 | 2020-04-14T23:19:23.000Z | 2020-04-15T00:20:54.000Z | tests/test_cli.py | simonbowly/git-commit-untodo | 16918e3001ee269473ecae8af218249e0cf8005d | [
"MIT"
] | null | null | null | """ Just an import test for checking installation requirements. """
from git_commit_untodo.cli import cli
def test_cli():
pass
| 16.75 | 67 | 0.738806 | 19 | 134 | 5.052632 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 134 | 7 | 68 | 19.142857 | 0.872727 | 0.440299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
dc7ec567182b03b50033c79f1a0573b07f39fbe4 | 184 | py | Python | code/app/main/views.py | sophilabs/dev-on-production | 09dcf07944aa38002544022cb320995f368b680f | [
"BSD-3-Clause"
] | null | null | null | code/app/main/views.py | sophilabs/dev-on-production | 09dcf07944aa38002544022cb320995f368b680f | [
"BSD-3-Clause"
] | null | null | null | code/app/main/views.py | sophilabs/dev-on-production | 09dcf07944aa38002544022cb320995f368b680f | [
"BSD-3-Clause"
] | null | null | null | from django.template import RequestContext
from django.shortcuts import render_to_response
def index(request):
return render_to_response('index.html', {}, RequestContext(request)) | 36.8 | 72 | 0.815217 | 23 | 184 | 6.347826 | 0.608696 | 0.136986 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 184 | 5 | 72 | 36.8 | 0.879518 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
f4e7216a7dd035283e2c891b24391016e6141d6f | 155 | py | Python | Thomas_Test.py | rwawraf/handpose-control | e17c58864e12e928151516c111fd2cfe69f3cd88 | [
"MIT"
] | null | null | null | Thomas_Test.py | rwawraf/handpose-control | e17c58864e12e928151516c111fd2cfe69f3cd88 | [
"MIT"
] | null | null | null | Thomas_Test.py | rwawraf/handpose-control | e17c58864e12e928151516c111fd2cfe69f3cd88 | [
"MIT"
] | 1 | 2021-06-25T07:23:41.000Z | 2021-06-25T07:23:41.000Z | from classifier.centroid.train_centroid_classifier import train_centroid_classifier
import example_camera
train_centroid_classifier()
#example_camera()
| 22.142857 | 84 | 0.883871 | 19 | 155 | 6.842105 | 0.421053 | 0.3 | 0.530769 | 0.446154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 155 | 6 | 85 | 25.833333 | 0.889655 | 0.103226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
f4fa6b9c26fc56ca4da9e1b38145ce2274740b1b | 9,922 | py | Python | tests/test_all_tables_e2e/test_single_table.py | mgedmin/terminaltables | ad8f46e50afdbaea377fc1f713bc0e7a31c4fccc | [
"MIT"
] | 742 | 2015-01-03T21:46:14.000Z | 2022-03-27T05:49:32.000Z | tests/test_all_tables_e2e/test_single_table.py | mgedmin/terminaltables | ad8f46e50afdbaea377fc1f713bc0e7a31c4fccc | [
"MIT"
] | 64 | 2015-01-06T01:34:12.000Z | 2020-05-07T21:52:11.000Z | tests/test_all_tables_e2e/test_single_table.py | mgedmin/terminaltables | ad8f46e50afdbaea377fc1f713bc0e7a31c4fccc | [
"MIT"
] | 96 | 2015-02-26T16:42:42.000Z | 2022-02-06T14:00:24.000Z | """SingleTable end to end testing on Linux/OSX."""
import pytest
from terminaltables import SingleTable
from terminaltables.terminal_io import IS_WINDOWS
pytestmark = pytest.mark.skipif(str(IS_WINDOWS))
def test_single_line():
"""Test single-lined cells."""
table_data = [
['Name', 'Color', 'Type'],... | 57.686047 | 120 | 0.604515 | 1,874 | 9,922 | 3.189968 | 0.051227 | 1.150217 | 1.674139 | 2.163934 | 0.884075 | 0.876715 | 0.876715 | 0.876715 | 0.861827 | 0.861827 | 0 | 0.385595 | 0.192602 | 9,922 | 171 | 121 | 58.023392 | 0.360629 | 0.014816 | 0 | 0.64 | 0 | 0.536 | 0.796044 | 0.526494 | 0 | 0 | 0 | 0 | 0.032 | 1 | 0.016 | false | 0 | 0.024 | 0 | 0.04 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
523472d74fb2057b3820bcced906aacdd3f5f47a | 17,904 | py | Python | _unittests/ut_asv_benchmark/test_template_asv_benchmark.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 32 | 2018-03-04T23:33:30.000Z | 2022-03-10T19:15:06.000Z | _unittests/ut_asv_benchmark/test_template_asv_benchmark.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 184 | 2017-11-30T14:10:35.000Z | 2022-02-21T08:29:31.000Z | _unittests/ut_asv_benchmark/test_template_asv_benchmark.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 9 | 2019-07-24T13:18:00.000Z | 2022-03-07T04:08:07.000Z | """
@brief test log(time=2s)
"""
import os
import unittest
try:
from sklearn.utils._testing import ignore_warnings
except ImportError:
from sklearn.utils.testing import ignore_warnings
from skl2onnx.common.exceptions import MissingShapeCalculator
from pyquickhelper.pycode import ExtTestCase
from mlprodict.... | 45.790281 | 82 | 0.526028 | 1,834 | 17,904 | 4.924209 | 0.069248 | 0.051822 | 0.047835 | 0.029897 | 0.871554 | 0.866239 | 0.866239 | 0.834016 | 0.811649 | 0.80423 | 0 | 0.009125 | 0.332831 | 17,904 | 390 | 83 | 45.907692 | 0.746923 | 0.009495 | 0 | 0.856369 | 0 | 0 | 0.154384 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 1 | 0.02439 | false | 0 | 0.04607 | 0 | 0.086721 | 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 |
525d52ece48b573503ca731f2429904b1e396480 | 607 | py | Python | SViTE/backup/test_mask.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 50 | 2021-05-29T00:52:45.000Z | 2022-03-17T11:39:47.000Z | SViTE/backup/test_mask.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 2 | 2022-01-16T07:24:52.000Z | 2022-03-29T01:56:24.000Z | SViTE/backup/test_mask.py | VITA-Group/SViTE | b0c62fd153c8b0b99917ab935ee76925c9de1149 | [
"MIT"
] | 6 | 2021-06-27T22:24:16.000Z | 2022-01-17T02:45:32.000Z | import torch
all_masks = {}
for i in range(8):
all_masks[i] = torch.load('{}-init_mask.pt'.format(i), map_location='cpu')
for key in all_masks[0].keys():
result = []
for i in range(8):
result.append((all_masks[i][key]==all_masks[1][key]).float().mean().item())
print(key, result)
all_mask... | 24.28 | 83 | 0.611203 | 101 | 607 | 3.524752 | 0.277228 | 0.224719 | 0.067416 | 0.123596 | 0.960674 | 0.960674 | 0.960674 | 0.960674 | 0.960674 | 0.960674 | 0 | 0.016032 | 0.177924 | 607 | 25 | 84 | 24.28 | 0.697395 | 0 | 0 | 0.823529 | 0 | 0 | 0.065789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0.117647 | 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 |
52666a722fa0b78e438d5ad285ca47ebc22e5016 | 314,543 | py | Python | gestionale/controllers/default.py | ValentinoUberti/mcimporter | b9d777ab02eb51d193a86af096b7976e6d5a4dc9 | [
"Apache-2.0"
] | null | null | null | gestionale/controllers/default.py | ValentinoUberti/mcimporter | b9d777ab02eb51d193a86af096b7976e6d5a4dc9 | [
"Apache-2.0"
] | null | null | null | gestionale/controllers/default.py | ValentinoUberti/mcimporter | b9d777ab02eb51d193a86af096b7976e6d5a4dc9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# this file is released under public domain and you can use without limitations
# -------------------------------------------------------------------------
# This is a sample controller
# - index is the default action of any application
# - user is required for authentication and authoriz... | 40.013103 | 517 | 0.578945 | 34,179 | 314,543 | 5.073232 | 0.031715 | 0.010634 | 0.008253 | 0.011303 | 0.869797 | 0.841844 | 0.81787 | 0.803377 | 0.78261 | 0.770568 | 0 | 0.011871 | 0.313305 | 314,543 | 7,860 | 518 | 40.018193 | 0.790916 | 0.074193 | 0 | 0.779916 | 0 | 0 | 0.060625 | 0.005273 | 0.000442 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00929 | 0.046671 | null | null | 0.012165 | 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 |
5275044028f587d66417f5ac8aeafec69e3ceef8 | 4,160 | py | Python | rdmo/projects/tests/test_view_project_join.py | m6121/rdmo | db3990c7525138c6ce9634fc3e5b6b8ee9b915c8 | [
"Apache-2.0"
] | 77 | 2016-08-09T11:40:20.000Z | 2022-03-06T11:03:26.000Z | rdmo/projects/tests/test_view_project_join.py | m6121/rdmo | db3990c7525138c6ce9634fc3e5b6b8ee9b915c8 | [
"Apache-2.0"
] | 377 | 2016-07-01T13:59:36.000Z | 2022-03-30T13:53:19.000Z | rdmo/projects/tests/test_view_project_join.py | m6121/rdmo | db3990c7525138c6ce9634fc3e5b6b8ee9b915c8 | [
"Apache-2.0"
] | 47 | 2016-06-23T11:32:19.000Z | 2022-03-01T11:34:37.000Z | import pytest
from django.contrib.auth import get_user_model
from django.urls import reverse
from ..models import Invite, Membership, Project
membership_roles = ('owner', 'manager', 'author', 'guest')
@pytest.fixture()
def use_project_invite_timeout(settings):
settings.PROJECT_INVITE_TIMEOUT = 0
@pytest.mark.... | 34.666667 | 111 | 0.736058 | 541 | 4,160 | 5.487985 | 0.118299 | 0.113169 | 0.072752 | 0.066689 | 0.880431 | 0.871337 | 0.871337 | 0.818794 | 0.818794 | 0.818794 | 0 | 0.006946 | 0.134856 | 4,160 | 119 | 112 | 34.957983 | 0.818005 | 0 | 0 | 0.72619 | 0 | 0 | 0.072837 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 1 | 0.083333 | false | 0.071429 | 0.047619 | 0 | 0.130952 | 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 |
bff77e2d947828f8821ccfe39ceda6bf4aecb03d | 529 | py | Python | notebook/numpy_tile.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/numpy_tile.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/numpy_tile.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import numpy as np
a = np.array([0, 1, 2, 3])
print(np.tile(a, 2))
# [0 1 2 3 0 1 2 3]
print(np.tile(a, (3, 2)))
# [[0 1 2 3 0 1 2 3]
# [0 1 2 3 0 1 2 3]
# [0 1 2 3 0 1 2 3]]
print(np.tile(a, (2, 1)))
# [[0 1 2 3]
# [0 1 2 3]]
a = np.array([[11, 12], [21, 22]])
print(np.tile(a, 2))
# [[11 12 11 12]
# [21 22 2... | 14.694444 | 34 | 0.463138 | 132 | 529 | 1.856061 | 0.121212 | 0.089796 | 0.134694 | 0.179592 | 0.791837 | 0.791837 | 0.77551 | 0.706122 | 0.673469 | 0.587755 | 0 | 0.37467 | 0.283554 | 529 | 35 | 35 | 15.114286 | 0.271768 | 0.485822 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.666667 | 0 | 0 | 1 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
8757d886c4dd91956ae44a43a5275e9819ae25c3 | 78,539 | py | Python | sdk/python/pulumi_google_native/storage/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 44 | 2021-04-18T23:00:48.000Z | 2022-02-14T17:43:15.000Z | sdk/python/pulumi_google_native/storage/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 354 | 2021-04-16T16:48:39.000Z | 2022-03-31T17:16:39.000Z | sdk/python/pulumi_google_native/storage/v1/outputs.py | AaronFriel/pulumi-google-native | 75d1cda425e33d4610348972cd70bddf35f1770d | [
"Apache-2.0"
] | 8 | 2021-04-24T17:46:51.000Z | 2022-01-05T10:40:21.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** 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 _utilities
fro... | 44.802624 | 607 | 0.665058 | 9,381 | 78,539 | 5.430658 | 0.064279 | 0.01429 | 0.02118 | 0.030955 | 0.800157 | 0.77356 | 0.768711 | 0.737383 | 0.728982 | 0.722799 | 0 | 0.002791 | 0.251837 | 78,539 | 1,752 | 608 | 44.828196 | 0.862985 | 0.456092 | 0 | 0.639698 | 1 | 0.022654 | 0.195576 | 0.070439 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186624 | false | 0 | 0.006472 | 0 | 0.357066 | 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 |
5e6a7ebf142ab7f218f1af4a8b407ee1642cea30 | 8,536 | py | Python | tests/st/ops/gpu/test_fake_quant_perlayer_grad.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/st/ops/gpu/test_fake_quant_perlayer_grad.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/st/ops/gpu/test_fake_quant_perlayer_grad.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2020 Huawei Technologies Co., Ltd
#
# 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... | 38.45045 | 88 | 0.664011 | 1,376 | 8,536 | 4.013081 | 0.121366 | 0.013401 | 0.095074 | 0.05795 | 0.815103 | 0.815103 | 0.80967 | 0.80967 | 0.806411 | 0.805867 | 0 | 0.064339 | 0.147844 | 8,536 | 221 | 89 | 38.624434 | 0.694803 | 0.10895 | 0 | 0.834395 | 0 | 0 | 0.027697 | 0 | 0 | 0 | 0 | 0 | 0.057325 | 1 | 0.070064 | false | 0 | 0.038217 | 0.006369 | 0.121019 | 0.11465 | 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 |
5e6ef865780037fc8341d168eb1e6a094f5ab0fd | 25,171 | py | Python | tests/test_vectors.py | ashcherbakov/peer-did-python | 3d29c6a7935c0398fd0f9e353a614bc83dc514a0 | [
"Apache-2.0"
] | 3 | 2021-09-04T19:31:12.000Z | 2022-01-28T12:51:27.000Z | tests/test_vectors.py | ashcherbakov/peer-did-python | 3d29c6a7935c0398fd0f9e353a614bc83dc514a0 | [
"Apache-2.0"
] | 1 | 2021-09-03T07:23:12.000Z | 2021-09-03T07:23:12.000Z | tests/test_vectors.py | ashcherbakov/peer-did-python | 3d29c6a7935c0398fd0f9e353a614bc83dc514a0 | [
"Apache-2.0"
] | 3 | 2021-08-02T12:56:46.000Z | 2021-09-28T09:18:37.000Z | PEER_DID_NUMALGO_0 = "did:peer:0z6MkqRYqQiSgvZQdnBytw86Qbs2ZWUkGv22od935YF4s8M7V"
DID_DOC_NUMALGO_O_BASE58 = """
{
"id": "did:peer:0z6MkqRYqQiSgvZQdnBytw86Qbs2ZWUkGv22od935YF4s8M7V",
"authentication": [
{
"id": "did:peer:0z6MkqRYqQiSgvZQdnBytw86Qbs2ZWUkGv2... | 82.799342 | 492 | 0.755314 | 724 | 25,171 | 26.164365 | 0.107735 | 0.021433 | 0.020271 | 0.102307 | 0.949322 | 0.942406 | 0.908145 | 0.761548 | 0.68912 | 0.584174 | 0 | 0.136005 | 0.188232 | 25,171 | 303 | 493 | 83.072607 | 0.791073 | 0 | 0 | 0.551724 | 0 | 0.013793 | 0.974852 | 0.714115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 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 |
5e7ad5c90e2f6bdf05b4794fcb9b90dd4e3c3069 | 17,989 | py | Python | modern_logic_client/api/executions_api.py | latourette359/modern_logic_client | 16d415e1b07a66a975dc08a67465c0d70c90cbac | [
"MIT"
] | null | null | null | modern_logic_client/api/executions_api.py | latourette359/modern_logic_client | 16d415e1b07a66a975dc08a67465c0d70c90cbac | [
"MIT"
] | null | null | null | modern_logic_client/api/executions_api.py | latourette359/modern_logic_client | 16d415e1b07a66a975dc08a67465c0d70c90cbac | [
"MIT"
] | null | null | null | # coding: utf-8
"""
Modern Logic Api
Manage and version your customer decision logic outside of your codebase # noqa: E501
OpenAPI spec version: 1.0.0
Contact: info@usemodernlogic.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
im... | 41.070776 | 141 | 0.628551 | 2,094 | 17,989 | 5.142789 | 0.090258 | 0.042344 | 0.031572 | 0.026743 | 0.912434 | 0.887826 | 0.88179 | 0.868604 | 0.851054 | 0.833225 | 0 | 0.01648 | 0.284896 | 17,989 | 437 | 142 | 41.16476 | 0.820662 | 0.347101 | 0 | 0.733906 | 0 | 0 | 0.19832 | 0.056017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038627 | false | 0 | 0.017167 | 0 | 0.111588 | 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 |
21a8332c1aa09d21c074e79724a7b24e745bbbab | 45,702 | py | Python | devilry/devilry_admin/tests/assignment/students/test_create_groups_accumulated_score.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | devilry/devilry_admin/tests/assignment/students/test_create_groups_accumulated_score.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | devilry/devilry_admin/tests/assignment/students/test_create_groups_accumulated_score.py | aless80/devilry-django | 416c262e75170d5662542f15e2d7fecf5ab84730 | [
"BSD-3-Clause"
] | null | null | null | import mock
from django import test
from django.conf import settings
from django.contrib import messages
from django.http import Http404
from django_cradmin import cradmin_testhelpers
from django.contrib.contenttypes.models import ContentType
from model_mommy import mommy
from devilry.devilry_dbcache.customsql import... | 59.353247 | 120 | 0.68148 | 4,257 | 45,702 | 6.971106 | 0.052384 | 0.088219 | 0.05213 | 0.062778 | 0.918419 | 0.903491 | 0.880442 | 0.861706 | 0.854933 | 0.840511 | 0 | 0.020163 | 0.237123 | 45,702 | 769 | 121 | 59.430429 | 0.831005 | 0.002254 | 0 | 0.751397 | 0 | 0 | 0.137709 | 0.057527 | 0 | 0 | 0 | 0 | 0.081006 | 1 | 0.048883 | false | 0.00419 | 0.01676 | 0 | 0.071229 | 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 |
df2cffd4087f8bfcc48e1706c138472c0274d32b | 16,533 | py | Python | tensorflow_quantum/python/differentiators/parameter_shift.py | we-taper/quantum | 64b1efac36cd5b5026c8303bd107766a763987d8 | [
"Apache-2.0"
] | 1 | 2021-02-05T20:21:23.000Z | 2021-02-05T20:21:23.000Z | tensorflow_quantum/python/differentiators/parameter_shift.py | we-taper/quantum | 64b1efac36cd5b5026c8303bd107766a763987d8 | [
"Apache-2.0"
] | 1 | 2021-02-24T10:43:26.000Z | 2021-02-24T10:43:26.000Z | tensorflow_quantum/python/differentiators/parameter_shift.py | isabella232/quantum-1 | b95f08b7351b35ae353fd0789ae3a90034343b1a | [
"Apache-2.0"
] | 1 | 2021-11-02T18:52:06.000Z | 2021-11-02T18:52:06.000Z | # Copyright 2020 The TensorFlow Quantum Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 47.372493 | 80 | 0.628501 | 2,031 | 16,533 | 4.965534 | 0.165928 | 0.009916 | 0.017452 | 0.014279 | 0.815369 | 0.811006 | 0.793059 | 0.786713 | 0.777987 | 0.777987 | 0 | 0.011719 | 0.298071 | 16,533 | 348 | 81 | 47.508621 | 0.857303 | 0.54358 | 0 | 0.861789 | 0 | 0 | 0.017141 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056911 | false | 0.01626 | 0.02439 | 0.01626 | 0.138211 | 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 |
df3369e49701726fc7595e826283cd0f494a82d8 | 123 | py | Python | examples/genus-2.py | imallett/ImplicitGrapher | 8a474dc3a5625392ea7da82ec0f493bdce5a357a | [
"MIT"
] | 4 | 2017-06-23T16:25:01.000Z | 2020-07-21T02:23:36.000Z | examples/genus-2.py | imallett/ImplicitGrapher | 8a474dc3a5625392ea7da82ec0f493bdce5a357a | [
"MIT"
] | null | null | null | examples/genus-2.py | imallett/ImplicitGrapher | 8a474dc3a5625392ea7da82ec0f493bdce5a357a | [
"MIT"
] | null | null | null | def f(pos):
x,y,z = pos
return 2.0*z*(z*z - 3.0*x*x)*(1.0 - y*y) + (x*x + z*z)**2 - (2.0*y*y - 1.0)*(1.0 - y*y)
| 30.75 | 92 | 0.382114 | 36 | 123 | 1.305556 | 0.305556 | 0.12766 | 0.191489 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.260163 | 123 | 3 | 93 | 41 | 0.373626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
df416abdfe8fc6934f0b0051d004ef5cfc1e82fb | 177 | py | Python | deps/riak_pb/riak_pb/__init__.py | pexip/os-riak | 9e64fb0412121776c971c8f04e8c96df9f2a31de | [
"Apache-2.0"
] | null | null | null | deps/riak_pb/riak_pb/__init__.py | pexip/os-riak | 9e64fb0412121776c971c8f04e8c96df9f2a31de | [
"Apache-2.0"
] | null | null | null | deps/riak_pb/riak_pb/__init__.py | pexip/os-riak | 9e64fb0412121776c971c8f04e8c96df9f2a31de | [
"Apache-2.0"
] | 11 | 2015-02-11T21:57:01.000Z | 2018-07-25T21:30:12.000Z | from riak_pb.riak_pb2 import *
from riak_pb.riak_kv_pb2 import *
from riak_pb.riak_search_pb2 import *
from riak_pb.riak_dt_pb2 import *
from riak_pb.riak_yokozuna_pb2 import *
| 29.5 | 39 | 0.830508 | 34 | 177 | 3.911765 | 0.264706 | 0.300752 | 0.37594 | 0.526316 | 0.691729 | 0.691729 | 0 | 0 | 0 | 0 | 0 | 0.031847 | 0.112994 | 177 | 5 | 40 | 35.4 | 0.815287 | 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 |
df4acf59c7466f9f51992179a04282eaf6649c10 | 48 | py | Python | testcookies.py | IvanZyf666/cgi-lab | 380f4285ea963ac2261e3ea57e7539509ac471a1 | [
"Apache-2.0"
] | null | null | null | testcookies.py | IvanZyf666/cgi-lab | 380f4285ea963ac2261e3ea57e7539509ac471a1 | [
"Apache-2.0"
] | null | null | null | testcookies.py | IvanZyf666/cgi-lab | 380f4285ea963ac2261e3ea57e7539509ac471a1 | [
"Apache-2.0"
] | null | null | null | import os
def test_cookies():
print("Set") | 16 | 20 | 0.645833 | 7 | 48 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 48 | 3 | 21 | 16 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 7 |
df6f78dabb66286ba46927b9461738dc28e0711a | 1,480 | py | Python | FATS/import_lc_cluster.py | serdarozsoy/FATS | e2a1bf4f142c20eada5d0d63435599e9139d4a9d | [
"MIT"
] | null | null | null | FATS/import_lc_cluster.py | serdarozsoy/FATS | e2a1bf4f142c20eada5d0d63435599e9139d4a9d | [
"MIT"
] | null | null | null | FATS/import_lc_cluster.py | serdarozsoy/FATS | e2a1bf4f142c20eada5d0d63435599e9139d4a9d | [
"MIT"
] | null | null | null | <<<<<<< HEAD
#from Feature import FeatureSpace
import numpy as np
class ReadLC_MACHO:
def __init__(self,lc):
self.content1=lc
def ReadLC(self):
data = []
mjd = []
error = []
# Opening the blue band
#fid = open(self.id,'r')
self.content1 = self.cont... | 20 | 53 | 0.512162 | 162 | 1,480 | 4.617284 | 0.290123 | 0.192513 | 0.144385 | 0.07754 | 0.941176 | 0.941176 | 0.941176 | 0.941176 | 0.941176 | 0.941176 | 0 | 0.042508 | 0.364189 | 1,480 | 74 | 54 | 20 | 0.752391 | 0.132432 | 0 | 0.923077 | 0 | 0 | 0.001566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.051282 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
10d1a9bf87c2cec6f6accc8731757f75d95e38ab | 48 | py | Python | analysis/technical_analysis_cuda/tacuda/__init__.py | AleksandrIvanov89/trading | 36672cb47dee2c4a284d611b2a2bd0741f5c1c3f | [
"MIT"
] | null | null | null | analysis/technical_analysis_cuda/tacuda/__init__.py | AleksandrIvanov89/trading | 36672cb47dee2c4a284d611b2a2bd0741f5c1c3f | [
"MIT"
] | null | null | null | analysis/technical_analysis_cuda/tacuda/__init__.py | AleksandrIvanov89/trading | 36672cb47dee2c4a284d611b2a2bd0741f5c1c3f | [
"MIT"
] | null | null | null | from .ta_cuda import *
from .ta_kernels import * | 24 | 25 | 0.770833 | 8 | 48 | 4.375 | 0.625 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 48 | 2 | 25 | 24 | 0.853659 | 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 |
8006439c17d4cf5e4623287a00f579be9808b20f | 18,115 | py | Python | sdk/python/pulumi_azure/backup/_inputs.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/backup/_inputs.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/backup/_inputs.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... | 38.542553 | 249 | 0.619763 | 2,171 | 18,115 | 5.081529 | 0.066329 | 0.16153 | 0.086294 | 0.117839 | 0.920776 | 0.918963 | 0.918963 | 0.910624 | 0.910624 | 0.895667 | 0 | 0.00702 | 0.237207 | 18,115 | 469 | 250 | 38.624733 | 0.791359 | 0.353795 | 0 | 0.879121 | 1 | 0 | 0.069506 | 0.024963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21978 | false | 0 | 0.018315 | 0 | 0.3663 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
803eb06ef8cf0f51ead350bb003a86d24b2f6811 | 102 | py | Python | week1_00_packages/project/project_file_8.py | SaidMuratbekov/msai-python | fc694d9d6571af8dbdf162a35f98b6ffdd079396 | [
"MIT"
] | null | null | null | week1_00_packages/project/project_file_8.py | SaidMuratbekov/msai-python | fc694d9d6571af8dbdf162a35f98b6ffdd079396 | [
"MIT"
] | null | null | null | week1_00_packages/project/project_file_8.py | SaidMuratbekov/msai-python | fc694d9d6571af8dbdf162a35f98b6ffdd079396 | [
"MIT"
] | null | null | null | # project_file_8.py
from project_file_7 import *
from project_file_6 import *
print(PROJECT_VAR)
# 1
| 14.571429 | 28 | 0.794118 | 18 | 102 | 4.111111 | 0.611111 | 0.445946 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.137255 | 102 | 6 | 29 | 17 | 0.795455 | 0.186275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3390fb7c3beac231b47be3227fd06832d47d448f | 20,124 | py | Python | src/tests/unit/autoks/test_model_selection.py | lschlessinger1/MS-project | e1c02d1d1a7a2480ff6f14f30625dc42ee3417e3 | [
"MIT"
] | 2 | 2019-04-29T15:18:11.000Z | 2019-12-13T18:58:40.000Z | src/tests/unit/autoks/test_model_selection.py | lschlessinger1/MS-project | e1c02d1d1a7a2480ff6f14f30625dc42ee3417e3 | [
"MIT"
] | 275 | 2019-02-19T22:59:39.000Z | 2020-10-03T08:56:08.000Z | src/tests/unit/autoks/test_model_selection.py | lschlessinger1/MS-project | e1c02d1d1a7a2480ff6f14f30625dc42ee3417e3 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import MagicMock, patch
import numpy as np
from GPy.kern import RationalQuadratic, RBF, LinScaleShift
from src.autoks.core.covariance import Covariance
from src.autoks.core.gp_model import GPModel
from src.autoks.core.gp_model_population import ActiveModelPopulation
fr... | 59.362832 | 119 | 0.633075 | 2,240 | 20,124 | 5.358929 | 0.067857 | 0.127791 | 0.158614 | 0.195935 | 0.883456 | 0.861213 | 0.845052 | 0.834805 | 0.832139 | 0.832139 | 0 | 0.007658 | 0.266796 | 20,124 | 338 | 120 | 59.538462 | 0.805896 | 0 | 0 | 0.779661 | 0 | 0 | 0.062115 | 0.007056 | 0 | 0 | 0 | 0 | 0.566102 | 1 | 0.033898 | false | 0 | 0.044068 | 0 | 0.091525 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
1d2e8bacf598c5ef7dc1dbc1525653afba277f36 | 160 | py | Python | bpl_lib/crypto/__init__.py | DuneRoot/BPL-python | 3ac1026cfc01ca5a71515caa5e352e4517cba0cc | [
"MIT"
] | null | null | null | bpl_lib/crypto/__init__.py | DuneRoot/BPL-python | 3ac1026cfc01ca5a71515caa5e352e4517cba0cc | [
"MIT"
] | null | null | null | bpl_lib/crypto/__init__.py | DuneRoot/BPL-python | 3ac1026cfc01ca5a71515caa5e352e4517cba0cc | [
"MIT"
] | null | null | null | from bpl_lib.crypto.Crypto import ripemd160, sha1, sha256, hash160, hash256
from bpl_lib.crypto.Keys import Keys
from bpl_lib.crypto.Signature import Signature
| 40 | 75 | 0.8375 | 25 | 160 | 5.24 | 0.48 | 0.160305 | 0.229008 | 0.366412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 0.1 | 160 | 3 | 76 | 53.333333 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
d51a1f4e3af0a7a883b889d35ca41adb47957e08 | 94 | py | Python | netdev/utils/__init__.py | AudreyBeard/netdev | 156d49af5e911b454596bad590de1825d4415753 | [
"MIT"
] | 2 | 2019-10-02T14:17:43.000Z | 2020-01-31T01:05:07.000Z | netdev/utils/__init__.py | AudreyBeard/netdev | 156d49af5e911b454596bad590de1825d4415753 | [
"MIT"
] | null | null | null | netdev/utils/__init__.py | AudreyBeard/netdev | 156d49af5e911b454596bad590de1825d4415753 | [
"MIT"
] | null | null | null | # flake8: NOQA
from .clf_utils import *
from .general_utils import *
from .net_utils import *
| 18.8 | 28 | 0.755319 | 14 | 94 | 4.857143 | 0.571429 | 0.485294 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.159574 | 94 | 4 | 29 | 23.5 | 0.848101 | 0.12766 | 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 |
d52b6f1148279a2824aa3176a07a77337529f07d | 6,198 | py | Python | src/calculate_variable_1d.py | bdrummond1/um_post_proc | 2dc1dcaa164772e09e77cd3f3e7d927f2237228a | [
"MIT"
] | 1 | 2020-04-23T17:06:40.000Z | 2020-04-23T17:06:40.000Z | src/calculate_variable_1d.py | bdrummond1/um_post_proc | 2dc1dcaa164772e09e77cd3f3e7d927f2237228a | [
"MIT"
] | null | null | null | src/calculate_variable_1d.py | bdrummond1/um_post_proc | 2dc1dcaa164772e09e77cd3f3e7d927f2237228a | [
"MIT"
] | null | null | null | # Module to calculate variable (1D version)
# Looks for requested variable, reads in necessary data and calculates
from construct_variable import *
from constant_user import *
# ---------------------------------------------
# Main function to calculate requested variable
# --------------------------------------------... | 39.987097 | 111 | 0.723782 | 909 | 6,198 | 4.616062 | 0.114411 | 0.050048 | 0.070067 | 0.095091 | 0.851525 | 0.851525 | 0.837703 | 0.837703 | 0.817684 | 0.789085 | 0 | 0.012339 | 0.123911 | 6,198 | 154 | 112 | 40.246753 | 0.760405 | 0.17312 | 0 | 0.602041 | 0 | 0 | 0.059423 | 0.008237 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.020408 | null | null | 0.040816 | 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 |
d562001beec9d25268c58e1e847d8bcfb896d53f | 5,384 | py | Python | projects/vdk-plugins/vdk-impala/tests/functional/jobs/load_fact_snapshot_template_job/01_prepare_input_data.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 100 | 2021-10-04T09:32:04.000Z | 2022-03-30T11:23:53.000Z | projects/vdk-plugins/vdk-impala/tests/functional/jobs/load_fact_snapshot_template_job/01_prepare_input_data.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 208 | 2021-10-04T16:56:40.000Z | 2022-03-31T10:41:44.000Z | projects/vdk-plugins/vdk-impala/tests/functional/jobs/load_fact_snapshot_template_job/01_prepare_input_data.py | alod83/versatile-data-kit | 9ca672d3929eb3dc6fe5c677e8c8a75e2a0d2be8 | [
"Apache-2.0"
] | 14 | 2021-10-11T14:15:13.000Z | 2022-03-11T13:39:17.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
from vdk.api.job_input import IJobInput
__author__ = "VMware, Inc."
__copyright__ = (
"Copyright 2019 VMware, Inc. All rights reserved. -- VMware Confidential"
)
def run(job_input: IJobInput) -> None:
# Step 1: create a table that represen... | 41.736434 | 114 | 0.521174 | 820 | 5,384 | 3.329268 | 0.126829 | 0.18022 | 0.076923 | 0.054945 | 0.860073 | 0.815385 | 0.79011 | 0.784249 | 0.772161 | 0.742857 | 0 | 0.29709 | 0.272288 | 5,384 | 128 | 115 | 42.0625 | 0.399694 | 0.105312 | 0 | 0.333333 | 0 | 0 | 0.155268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
63a53f930cbcb2d2fa81fe96c83add8bca7966b8 | 163 | py | Python | models/face_recognition/utils/__init__.py | JasonZuu/Frame-Selection | 3eb6ecdbf8e5695ba53752bdd8446def9c5cfbb9 | [
"BSD-3-Clause"
] | 1 | 2022-03-29T03:11:24.000Z | 2022-03-29T03:11:24.000Z | models/face_recognition/utils/__init__.py | JasonZuu/Frame-Selection | 3eb6ecdbf8e5695ba53752bdd8446def9c5cfbb9 | [
"BSD-3-Clause"
] | null | null | null | models/face_recognition/utils/__init__.py | JasonZuu/Frame-Selection | 3eb6ecdbf8e5695ba53752bdd8446def9c5cfbb9 | [
"BSD-3-Clause"
] | null | null | null | from utils.face_features import *
from utils.cost_time import *
from utils.pull_faces import *
from utils.matrix_process import *
from utils.draw_boxs import * | 32.6 | 35 | 0.797546 | 25 | 163 | 5 | 0.52 | 0.36 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 163 | 5 | 36 | 32.6 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
89a9f269a10db26749bc0a3b0dfc4aebfc8c6ae0 | 2,909 | py | Python | pyaz/netappfiles/snapshot/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/netappfiles/snapshot/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | null | null | null | pyaz/netappfiles/snapshot/__init__.py | py-az-cli/py-az-cli | 9a7dc44e360c096a5a2f15595353e9dad88a9792 | [
"MIT"
] | 1 | 2022-02-03T09:12:01.000Z | 2022-02-03T09:12:01.000Z | '''
Manage Azure NetApp Files (ANF) Snapshot Resources.
'''
from ... pyaz_utils import _call_az
from . import policy
def show(account_name, name, pool_name, resource_group, volume_name):
'''
Get the specified ANF snapshot.
Required Parameters:
- account_name -- Name of the ANF account.
- name -- ... | 37.294872 | 161 | 0.69199 | 401 | 2,909 | 4.887781 | 0.13217 | 0.073469 | 0.087245 | 0.116327 | 0.802551 | 0.767857 | 0.766327 | 0.712755 | 0.712755 | 0.616837 | 0 | 0 | 0.214507 | 2,909 | 77 | 162 | 37.779221 | 0.857768 | 0.661396 | 0 | 0 | 0 | 0 | 0.188387 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
982d78650b3ba9ccf4dbcbe6a9c2820d2feb0542 | 1,758 | py | Python | main.py | kotsky/ai_dev | 9222a98dd11329ef65124d23249b3f62eff7925d | [
"MIT"
] | null | null | null | main.py | kotsky/ai_dev | 9222a98dd11329ef65124d23249b3f62eff7925d | [
"MIT"
] | null | null | null | main.py | kotsky/ai_dev | 9222a98dd11329ef65124d23249b3f62eff7925d | [
"MIT"
] | null | null | null | """Regression
Follow jupyter notebook workflow for better
understanding of how to apply data_reader and
Regression model to train your AI.
https://kotsky.github.io/projects/ai_from_scratch/regression_workflow.html
Jupiter notebook: https://github.com/kotsky/ai-dev/blob/main/regression_workflow.ipynb
Package:... | 32.555556 | 96 | 0.781001 | 257 | 1,758 | 5.210117 | 0.18677 | 0.065721 | 0.083645 | 0.119492 | 0.882748 | 0.882748 | 0.854369 | 0.854369 | 0.824496 | 0.817028 | 0 | 0 | 0.113766 | 1,758 | 53 | 97 | 33.169811 | 0.859435 | 0.214448 | 0 | 0 | 0 | 0 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
988ccbb386499f98bee9ef72da83a364d7fae41e | 9,816 | py | Python | cajas/movement/migrations/0001_initial.py | dmontoya1/cajas | 5eb3d5835250d5dafae398082200b79c1ca8063b | [
"MIT"
] | null | null | null | cajas/movement/migrations/0001_initial.py | dmontoya1/cajas | 5eb3d5835250d5dafae398082200b79c1ca8063b | [
"MIT"
] | null | null | null | cajas/movement/migrations/0001_initial.py | dmontoya1/cajas | 5eb3d5835250d5dafae398082200b79c1ca8063b | [
"MIT"
] | null | null | null | # Generated by Django 2.0.9 on 2019-04-08 16:14
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('concepts', '0001_initial'),
('boxes', '0001_initial'),
]
operations = [
migrati... | 62.923077 | 220 | 0.597392 | 981 | 9,816 | 5.831804 | 0.141692 | 0.157665 | 0.049991 | 0.065373 | 0.831323 | 0.780982 | 0.780982 | 0.780982 | 0.780982 | 0.780982 | 0 | 0.00763 | 0.252343 | 9,816 | 155 | 221 | 63.329032 | 0.771904 | 0.004584 | 0 | 0.689189 | 1 | 0 | 0.241888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013514 | 0 | 0.040541 | 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 |
98a9842ed2835f8ea3a93f0daef3dabf8de77272 | 2,962 | py | Python | maro/cli/k8s/job.py | yangboz/maro | 0973783e55ca07bf8e177910c9d47854117a4ea8 | [
"MIT"
] | 598 | 2020-09-23T00:50:22.000Z | 2022-03-31T08:12:54.000Z | maro/cli/k8s/job.py | gx9702/maro | 38c796f0a7ed1e0f64c299d96c6e0df032401fa9 | [
"MIT"
] | 235 | 2020-09-22T10:20:48.000Z | 2022-03-31T02:10:03.000Z | maro/cli/k8s/job.py | gx9702/maro | 38c796f0a7ed1e0f64c299d96c6e0df032401fa9 | [
"MIT"
] | 116 | 2020-09-22T09:19:04.000Z | 2022-02-12T05:04:07.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from maro.cli.utils.details_validity_wrapper import check_details_validity
from maro.cli.utils.operation_lock_wrapper import operation_lock
@check_details_validity
@operation_lock
def start_job(cluster_name: str, deployment_path: str, **kwargs... | 35.686747 | 92 | 0.75287 | 365 | 2,962 | 5.852055 | 0.139726 | 0.102996 | 0.051498 | 0.082397 | 0.869382 | 0.858614 | 0.84176 | 0.84176 | 0.84176 | 0.84176 | 0 | 0.008055 | 0.161715 | 2,962 | 82 | 93 | 36.121951 | 0.852195 | 0.058069 | 0 | 0.740741 | 0 | 0 | 0.099316 | 0.040302 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.259259 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7f54961fb9280016a8d516844754eef2a63704a0 | 8,318 | py | Python | main/tests/test_comments.py | geoah/mataroa | 5646af778bca8625b2d5efa4ebcfbe69a5f7dd12 | [
"MIT"
] | 30 | 2020-06-09T12:46:18.000Z | 2022-02-28T23:50:22.000Z | main/tests/test_comments.py | geoah/mataroa | 5646af778bca8625b2d5efa4ebcfbe69a5f7dd12 | [
"MIT"
] | 9 | 2020-06-11T15:59:00.000Z | 2022-03-03T00:39:54.000Z | main/tests/test_comments.py | geoah/mataroa | 5646af778bca8625b2d5efa4ebcfbe69a5f7dd12 | [
"MIT"
] | 5 | 2020-06-01T00:15:42.000Z | 2021-07-02T12:46:43.000Z | from django.conf import settings
from django.test import TestCase
from django.urls import reverse
from main import models
class CommentFullCreateTestCase(TestCase):
def setUp(self):
self.user = models.User.objects.create(username="alice", comments_on=True)
self.post = models.Post.objects.create(
... | 35.853448 | 83 | 0.598702 | 902 | 8,318 | 5.446785 | 0.084257 | 0.0977 | 0.105842 | 0.131081 | 0.913495 | 0.898229 | 0.898229 | 0.898229 | 0.889273 | 0.888052 | 0 | 0.005869 | 0.262563 | 8,318 | 231 | 84 | 36.008658 | 0.795077 | 0.004448 | 0 | 0.782178 | 0 | 0 | 0.086242 | 0 | 0 | 0 | 0 | 0 | 0.158416 | 1 | 0.089109 | false | 0 | 0.019802 | 0 | 0.153465 | 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 |
f6d5ce35b72c5d815f079106f3cb133d67e6f1be | 5,623 | py | Python | napari/tests/test_advanced.py | arokem/napari | e16e1163cf422d3aba6d86d1ae7dcd70a85b87dd | [
"BSD-3-Clause"
] | null | null | null | napari/tests/test_advanced.py | arokem/napari | e16e1163cf422d3aba6d86d1ae7dcd70a85b87dd | [
"BSD-3-Clause"
] | 1 | 2019-09-18T22:59:55.000Z | 2019-09-23T16:41:08.000Z | napari/tests/test_advanced.py | arokem/napari | e16e1163cf422d3aba6d86d1ae7dcd70a85b87dd | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from napari import Viewer
def test_4D_5D_images(qtbot):
"""Test adding 4D followed by 5D image layers to the viewer.
Intially only 2 sliders should be present, then a third slider should be
created.
"""
np.random.seed(0)
viewer = Viewer()
view = viewer.window.qt_viewer... | 32.316092 | 79 | 0.671528 | 840 | 5,623 | 4.428571 | 0.139286 | 0.074194 | 0.075269 | 0.045699 | 0.760484 | 0.760484 | 0.736559 | 0.727957 | 0.702151 | 0.69086 | 0 | 0.02784 | 0.207896 | 5,623 | 173 | 80 | 32.50289 | 0.807364 | 0.21003 | 0 | 0.727273 | 0 | 0 | 0.003676 | 0 | 0 | 0 | 0 | 0 | 0.518182 | 1 | 0.045455 | false | 0 | 0.018182 | 0 | 0.063636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f6d7a4dd05c74deb0606e272b4544f46a9f9f35c | 39,915 | py | Python | swagger_client/api/campaigns_api.py | klaviyo/klaviyo-python | 8f95cdaf1469711ab99ecfbfb64ce743451c490d | [
"MIT"
] | 10 | 2021-12-21T02:08:00.000Z | 2022-02-24T05:37:20.000Z | swagger_client/api/campaigns_api.py | klaviyo/klaviyo-python | 8f95cdaf1469711ab99ecfbfb64ce743451c490d | [
"MIT"
] | 3 | 2022-02-02T09:07:40.000Z | 2022-03-04T15:31:11.000Z | swagger_client/api/campaigns_api.py | klaviyo/klaviyo-python | 8f95cdaf1469711ab99ecfbfb64ce743451c490d | [
"MIT"
] | 2 | 2021-12-21T02:07:53.000Z | 2022-02-22T08:05:41.000Z | # coding: utf-8
"""
Klaviyo API
Empowering creators to own their destiny # noqa: E501
OpenAPI spec version: 2022.03.29
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility lib... | 39.755976 | 167 | 0.612051 | 4,655 | 39,915 | 5.003652 | 0.052846 | 0.053237 | 0.025416 | 0.027821 | 0.965009 | 0.957925 | 0.957324 | 0.951185 | 0.950841 | 0.942126 | 0 | 0.020041 | 0.296179 | 39,915 | 1,003 | 168 | 39.795613 | 0.809063 | 0.341676 | 0 | 0.816794 | 1 | 0 | 0.200765 | 0.041351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03626 | false | 0 | 0.007634 | 0 | 0.097328 | 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 |
10111cec7d8b32fe519014912e972988c397b245 | 11,219 | py | Python | ini_my_model.py | samxu0823/anfis-pytorch | b4ec3f0e8259963800e9e0a2904a580d1e56cc1c | [
"MIT"
] | null | null | null | ini_my_model.py | samxu0823/anfis-pytorch | b4ec3f0e8259963800e9e0a2904a580d1e56cc1c | [
"MIT"
] | null | null | null | ini_my_model.py | samxu0823/anfis-pytorch | b4ec3f0e8259963800e9e0a2904a580d1e56cc1c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# @ -*- coding: utf-8 -*-
# @Time: 2021/6/25 21:39
# @Author: Wei XU <samxu0823@gmail.com>
import numpy as np
import anfis
from membership import BellMembFunc, make_bell_mfs, make_tri_mfs, make_gauss_mfs
def my_model_m1(rules='less'):
"""
Initialization of the ANFIS regressor for ... | 48.357759 | 84 | 0.465282 | 2,084 | 11,219 | 2.416027 | 0.059021 | 0.047666 | 0.193049 | 0.206554 | 0.842105 | 0.807547 | 0.752334 | 0.73863 | 0.694935 | 0.662761 | 0 | 0.177698 | 0.307781 | 11,219 | 231 | 85 | 48.5671 | 0.470641 | 0.110972 | 0 | 0.434524 | 0 | 0 | 0.028924 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029762 | false | 0 | 0.017857 | 0 | 0.077381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1264b004db744b0677678461e3779c59c91fdeb2 | 20,388 | py | Python | src/python_pachyderm/proto/admin/v1_10/auth/auth_pb2_grpc.py | barretthinson/python-pachyderm | 82cea22d1105d70833a5522ccac750ca521694ff | [
"Apache-2.0"
] | null | null | null | src/python_pachyderm/proto/admin/v1_10/auth/auth_pb2_grpc.py | barretthinson/python-pachyderm | 82cea22d1105d70833a5522ccac750ca521694ff | [
"Apache-2.0"
] | null | null | null | src/python_pachyderm/proto/admin/v1_10/auth/auth_pb2_grpc.py | barretthinson/python-pachyderm | 82cea22d1105d70833a5522ccac750ca521694ff | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from python_pachyderm.proto.admin.v1_10.auth import auth_pb2 as client_dot_admin_dot_v1__10_dot_auth_dot_auth__pb2
class APIStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel)... | 52.411311 | 126 | 0.789288 | 2,413 | 20,388 | 6.123083 | 0.062992 | 0.080541 | 0.080541 | 0.0978 | 0.831201 | 0.831201 | 0.831201 | 0.738816 | 0.738816 | 0.738816 | 0 | 0.023555 | 0.146263 | 20,388 | 388 | 127 | 52.546392 | 0.82529 | 0.077055 | 0 | 0.32 | 1 | 0 | 0.09376 | 0.029173 | 0 | 0 | 0 | 0 | 0 | 1 | 0.070769 | false | 0.089231 | 0.006154 | 0 | 0.083077 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
89e5574287500ff2d661d7eab1ca771e893b855e | 1,481 | py | Python | snmp/snmptest.py | stanislavb/snmp-lldp | 66d1f418a05de3b3d74685a069b5a84035178b38 | [
"Unlicense"
] | 25 | 2015-02-10T18:38:33.000Z | 2021-07-31T11:22:37.000Z | snmp/snmptest.py | tsingliu1007/snmp-lldp | 66d1f418a05de3b3d74685a069b5a84035178b38 | [
"Unlicense"
] | 1 | 2015-07-03T18:01:29.000Z | 2015-07-03T18:01:29.000Z | snmp/snmptest.py | tsingliu1007/snmp-lldp | 66d1f418a05de3b3d74685a069b5a84035178b38 | [
"Unlicense"
] | 7 | 2017-05-25T07:02:28.000Z | 2020-10-05T07:36:55.000Z | #!/usr/bin/env python
import snmp
c = snmp.Connection("localhost")
l = [".1.3.6.1.2.1.1.1.0",
".1.3.6.1.2.1.1.2.0",
".1.3.6.1.2.1.1.3.0",
".1.3.6.1.2.1.1.4.0",
".1.3.6.1.2.1.1.5.0",
".1.3.6.1.2.1.1.6.0",
".1.3.6.1.2.1.1.7.0",
".1.3.6.1.2.1.1.8.0"]
lmixed = [".1.3.6.1.2.1.1.1.0",
... | 23.140625 | 48 | 0.442944 | 355 | 1,481 | 1.847887 | 0.123944 | 0.115854 | 0.150915 | 0.195122 | 0.801829 | 0.801829 | 0.775915 | 0.63872 | 0.541159 | 0.320122 | 0 | 0.237633 | 0.235652 | 1,481 | 63 | 49 | 23.507937 | 0.341873 | 0.021607 | 0 | 0.196078 | 0 | 0 | 0.514858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.019608 | null | null | 0.196078 | 0 | 0 | 1 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c3cef5eba4ae53d0691e2bdc8ec5e704f6415baa | 28,123 | py | Python | sdk/python/pulumiverse_unifi/user.py | pulumiverse/pulumi-unifi | e22e1bef9b409c71ad578b5d9e39284a26da355c | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-03-29T18:49:28.000Z | 2022-03-29T18:49:28.000Z | sdk/python/pulumiverse_unifi/user.py | pulumiverse/pulumi-unifi | e22e1bef9b409c71ad578b5d9e39284a26da355c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumiverse_unifi/user.py | pulumiverse/pulumi-unifi | e22e1bef9b409c71ad578b5d9e39284a26da355c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import ... | 39.777935 | 192 | 0.623262 | 3,503 | 28,123 | 4.781901 | 0.058521 | 0.104412 | 0.087756 | 0.089308 | 0.895469 | 0.884485 | 0.859889 | 0.848606 | 0.842218 | 0.830338 | 0 | 0.001941 | 0.26729 | 28,123 | 706 | 193 | 39.834278 | 0.810977 | 0.279949 | 0 | 0.808717 | 1 | 0 | 0.077059 | 0.011744 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164649 | false | 0.002421 | 0.012107 | 0 | 0.276029 | 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 |
7f090cbbe79053c92893788470dd061620f72fd9 | 21,222 | py | Python | src/make_model.py | statsu1990/ReZero-Cifar100 | b7b7c24293726283b346dac5a3fa15bd5f0de74c | [
"MIT"
] | 3 | 2020-03-29T06:30:03.000Z | 2020-04-03T02:09:03.000Z | src/make_model.py | statsu1990/ReZero-Cifar100 | b7b7c24293726283b346dac5a3fa15bd5f0de74c | [
"MIT"
] | null | null | null | src/make_model.py | statsu1990/ReZero-Cifar100 | b7b7c24293726283b346dac5a3fa15bd5f0de74c | [
"MIT"
] | null | null | null | import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import torch
import albumentations as alb
from albumentations.augmentations import transforms as albtr
from albumentations.pytorch import ToTensor as albToTensor
import torch.nn as nn
import torch.optim as optim
from data i... | 40.811538 | 171 | 0.621949 | 2,451 | 21,222 | 5.126071 | 0.05916 | 0.023639 | 0.036772 | 0.03311 | 0.952802 | 0.952802 | 0.952802 | 0.952802 | 0.952802 | 0.952802 | 0 | 0.13955 | 0.291584 | 21,222 | 519 | 172 | 40.890173 | 0.696155 | 0.030911 | 0 | 0.891892 | 0 | 0 | 0.017636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024324 | false | 0 | 0.035135 | 0 | 0.083784 | 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 |
7f135ff1781dd7ddc1429b2ed006ab83c03f03a5 | 5,823 | py | Python | tests/synthdefs/test_synthdefs_SynthDef_lifecycle.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 191 | 2015-11-13T02:28:42.000Z | 2022-03-29T10:26:44.000Z | tests/synthdefs/test_synthdefs_SynthDef_lifecycle.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 130 | 2016-01-04T16:59:02.000Z | 2022-02-26T15:37:20.000Z | tests/synthdefs/test_synthdefs_SynthDef_lifecycle.py | butayama/supriya | 0c197324ecee4232381221880d1f40e109bb756c | [
"MIT"
] | 22 | 2016-05-04T10:32:16.000Z | 2022-02-26T19:22:45.000Z | import supriya
def test_unaggregated_anonymous(server):
with supriya.SynthDefBuilder(frequency=440) as builder:
source = supriya.ugens.SinOsc.ar(frequency=builder["frequency"])
supriya.ugens.Out.ar(bus=0, source=source)
synthdef = builder.build()
assert synthdef not in server
with serv... | 37.326923 | 87 | 0.666838 | 687 | 5,823 | 5.557496 | 0.098981 | 0.06286 | 0.083814 | 0.066003 | 0.977737 | 0.977737 | 0.977737 | 0.967784 | 0.965427 | 0.965427 | 0 | 0.020959 | 0.229778 | 5,823 | 155 | 88 | 37.567742 | 0.830323 | 0.045166 | 0 | 0.782946 | 0 | 0 | 0.039993 | 0 | 0 | 0 | 0 | 0 | 0.217054 | 1 | 0.031008 | false | 0 | 0.007752 | 0 | 0.03876 | 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 |
61360b112cfde882f088c50d77334c32380948ea | 11,594 | py | Python | tts/integration_test/tts_integration.py | aws-robotics/tts-ros2 | f8278df1634b3806f26fe51b0af6f11e0cbcdafb | [
"Apache-2.0"
] | 8 | 2019-08-07T14:07:13.000Z | 2021-10-30T02:48:48.000Z | tts/integration_test/tts_integration.py | aws-robotics/tts-ros2 | f8278df1634b3806f26fe51b0af6f11e0cbcdafb | [
"Apache-2.0"
] | 29 | 2019-08-20T21:55:02.000Z | 2021-12-15T16:05:45.000Z | tts/integration_test/tts_integration.py | aws-robotics/tts-ros2 | f8278df1634b3806f26fe51b0af6f11e0cbcdafb | [
"Apache-2.0"
] | 5 | 2019-08-29T22:34:18.000Z | 2021-10-30T02:48:41.000Z | #!/usr/bin/env python
# Copyright (c) 2018, Amazon.com, Inc. or its affiliates. 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.
# A copy of the License is located at
#
# http://aws.amazon.com/apache2.0
#
# or i... | 38.138158 | 141 | 0.642229 | 1,425 | 11,594 | 5.117895 | 0.146667 | 0.037022 | 0.032086 | 0.049362 | 0.814891 | 0.805019 | 0.795695 | 0.77115 | 0.77115 | 0.77115 | 0 | 0.007075 | 0.244178 | 11,594 | 303 | 142 | 38.264026 | 0.825174 | 0.052613 | 0 | 0.80531 | 0 | 0 | 0.222962 | 0 | 0 | 0 | 0 | 0 | 0.243363 | 1 | 0.044248 | false | 0 | 0.097345 | 0 | 0.154867 | 0.022124 | 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 |
614c699db48515e272c53839f15d9740180db5ea | 33,205 | py | Python | tests/test_abstract.py | jpivarski/doremi | 0f8fb1fc8e9664b2e4b61fffc5382e41d8d624d6 | [
"BSD-3-Clause"
] | 1 | 2022-01-09T00:32:44.000Z | 2022-01-09T00:32:44.000Z | tests/test_abstract.py | jpivarski/doremi | 0f8fb1fc8e9664b2e4b61fffc5382e41d8d624d6 | [
"BSD-3-Clause"
] | null | null | null | tests/test_abstract.py | jpivarski/doremi | 0f8fb1fc8e9664b2e4b61fffc5382e41d8d624d6 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/jpivarski/doremi/blob/main/LICENSE
from fractions import Fraction
import pytest
from lark.tree import Tree
from lark.lexer import Token
from doremi.abstract import (
AbstractNote,
Scope,
Word,
Call,
AugmentStep,
AugmentDegree,
AugmentRatio,
... | 27.973884 | 87 | 0.41819 | 3,216 | 33,205 | 4.310323 | 0.028607 | 0.025682 | 0.165633 | 0.174001 | 0.93493 | 0.922306 | 0.881042 | 0.854855 | 0.810056 | 0.790434 | 0 | 0.049346 | 0.3897 | 33,205 | 1,186 | 88 | 27.99747 | 0.63469 | 0.002379 | 0 | 0.492203 | 0 | 0 | 0.053742 | 0 | 0 | 0 | 0 | 0 | 0.145224 | 1 | 0.007797 | false | 0.135478 | 0.004873 | 0 | 0.012671 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
61503efa08bdc454ecd1d0a372f3de46d986c4f2 | 41,423 | py | Python | python/experiments/lnpdfs/create_target_lnpfs.py | DrawZeroPoint/VIPS | 730f4e18c24afa6f561b13d1fe8af53ae89990a7 | [
"MIT"
] | 12 | 2018-07-11T14:35:51.000Z | 2020-12-07T03:54:28.000Z | python/experiments/lnpdfs/create_target_lnpfs.py | DrawZeroPoint/VIPS | 730f4e18c24afa6f561b13d1fe8af53ae89990a7 | [
"MIT"
] | null | null | null | python/experiments/lnpdfs/create_target_lnpfs.py | DrawZeroPoint/VIPS | 730f4e18c24afa6f561b13d1fe8af53ae89990a7 | [
"MIT"
] | 10 | 2018-07-11T14:36:00.000Z | 2022-01-14T21:41:41.000Z | import numpy as np
from experiments.GMM import GMM
from scipy.stats import multivariate_normal as normal_pdf
import os
file_path = os.path.dirname(os.path.realpath(__file__))
data_path = os.path.abspath(os.path.join(file_path, os.pardir, os.pardir, os.pardir)) + "/data/"
### Gaussian Mixture Model experiment
def bui... | 42.836608 | 247 | 0.611786 | 5,224 | 41,423 | 4.663476 | 0.073315 | 0.060832 | 0.033987 | 0.018718 | 0.863024 | 0.840818 | 0.826164 | 0.794311 | 0.762827 | 0.749938 | 0 | 0.030556 | 0.262077 | 41,423 | 966 | 248 | 42.880952 | 0.766447 | 0.066823 | 0 | 0.771863 | 0 | 0 | 0.006175 | 0.004559 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079848 | false | 0 | 0.050697 | 0.003802 | 0.231939 | 0.007605 | 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 |
61698a109a3d4c71ae2d700220f0e739b0f66489 | 6,353 | py | Python | tests/test_import.py | cazier/jeopardy | 2843985e98b9d871e0872c23f4ae2f8f0fa5f42a | [
"MIT"
] | null | null | null | tests/test_import.py | cazier/jeopardy | 2843985e98b9d871e0872c23f4ae2f8f0fa5f42a | [
"MIT"
] | 20 | 2021-01-15T20:47:59.000Z | 2022-01-23T17:53:58.000Z | tests/test_import.py | cazier/jeopardy | 2843985e98b9d871e0872c23f4ae2f8f0fa5f42a | [
"MIT"
] | null | null | null | import json
import pathlib
import pytest
from jeopardy import api
def test_add_one_long(emptyclient):
clue = {
"date": "2020-01-01",
"show": 1,
"round": 0,
"complete": True,
"answer": "answer",
"question": "question",
"external": True,
"value": 1,
... | 23.356618 | 90 | 0.487801 | 750 | 6,353 | 4.02 | 0.117333 | 0.098507 | 0.049751 | 0.089552 | 0.860365 | 0.831841 | 0.822554 | 0.798342 | 0.798342 | 0.746932 | 0 | 0.041193 | 0.335117 | 6,353 | 271 | 91 | 23.442804 | 0.672585 | 0 | 0 | 0.718062 | 0 | 0 | 0.15473 | 0 | 0 | 0 | 0 | 0 | 0.013216 | 1 | 0.066079 | false | 0 | 0.017621 | 0 | 0.0837 | 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 |
616d57a2e3829968aabb76f87b03b846880abe3f | 168 | py | Python | drifter_ml/classification_tests/__init__.py | mc-robinson/drifter_ml | fe9d0d71b57b9bfba7ad67968bb583dab7dc6212 | [
"MIT"
] | 88 | 2019-03-15T01:25:43.000Z | 2022-01-13T05:08:41.000Z | drifter_ml/classification_tests/__init__.py | mc-robinson/drifter_ml | fe9d0d71b57b9bfba7ad67968bb583dab7dc6212 | [
"MIT"
] | 32 | 2019-03-20T16:16:56.000Z | 2022-01-23T05:06:27.000Z | drifter_ml/classification_tests/__init__.py | mc-robinson/drifter_ml | fe9d0d71b57b9bfba7ad67968bb583dab7dc6212 | [
"MIT"
] | 8 | 2019-04-02T21:54:42.000Z | 2020-11-05T11:47:15.000Z | from .classification_tests import ClassificationTests
from .classification_tests import ClassifierComparison
__all__ = ["ClassificationTests", "ClassifierComparison"]
| 33.6 | 57 | 0.863095 | 13 | 168 | 10.692308 | 0.538462 | 0.258993 | 0.330935 | 0.417266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077381 | 168 | 4 | 58 | 42 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
6192d8ec841e34aaeb5fb877cfcd3f23cc0eb6aa | 1,565 | py | Python | 139-Word_Break.py | QuenLo/leecode | ce861103949510dc54fd5cb336bd992c40748de2 | [
"MIT"
] | 6 | 2018-06-13T06:48:42.000Z | 2020-11-25T10:48:13.000Z | 139-Word_Break.py | QuenLo/leecode | ce861103949510dc54fd5cb336bd992c40748de2 | [
"MIT"
] | null | null | null | 139-Word_Break.py | QuenLo/leecode | ce861103949510dc54fd5cb336bd992c40748de2 | [
"MIT"
] | null | null | null | ## Recursion with memoization
# Time: O(n^3)
class Solution:
def wordBreak(self, s: str, wordDict: List[str]) -> bool:
@lru_cache
def recur( s, word_dict, start ):
if start == len(s):
return True
for end in range( start+1, len(s)+1 ):
if s[star... | 31.3 | 76 | 0.480511 | 197 | 1,565 | 3.766497 | 0.213198 | 0.072776 | 0.080863 | 0.113208 | 0.781671 | 0.781671 | 0.781671 | 0.781671 | 0.718329 | 0.665768 | 0 | 0.01413 | 0.412141 | 1,565 | 49 | 77 | 31.938776 | 0.792391 | 0.040895 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
f605cae6d51330b79450dff4a3b1f36b8f2137fd | 81,264 | py | Python | tctf/crypto/babyring/release/task.py | deut-erium/WriteUps | 36b4193f5fab9f95527a48626ecba631d5a03796 | [
"MIT"
] | 11 | 2020-06-06T05:28:27.000Z | 2022-01-09T00:42:49.000Z | 2020/tctf/crypto/babyring/release/task.py | CSEA-IITB/WriteUps | 46e7f36b0c4ef182cbaf375fd10fda954b6667a0 | [
"MIT"
] | 1 | 2020-09-06T18:19:55.000Z | 2020-09-06T18:19:55.000Z | tctf/crypto/babyring/release/task.py | deut-erium/WriteUps | 36b4193f5fab9f95527a48626ecba631d5a03796 | [
"MIT"
] | 6 | 2020-06-06T05:36:43.000Z | 2021-08-11T10:17:18.000Z | #!/usr/bin/python2
import os,random,sys,string
from hashlib import sha256
from struct import pack, unpack
import SocketServer
from Crypto.Cipher import ARC4
from flag import flag
K = 64
def gen():
from Crypto.Util.number import getStrongPrime
e = 65537
Ns = []
for i in range(K):
p = getStrong... | 1,069.263158 | 79,121 | 0.986267 | 335 | 81,264 | 239.197015 | 0.525373 | 0.001785 | 0.001123 | 0.000412 | 0.001473 | 0.001023 | 0 | 0 | 0 | 0 | 0 | 0.980997 | 0.009254 | 81,264 | 75 | 79,122 | 1,083.52 | 0.014271 | 0.000209 | 0 | 0.04918 | 0 | 0 | 0.000972 | 0 | 0 | 1 | 0.000148 | 0 | 0 | 0 | null | null | 0.016393 | 0.114754 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f64dd9f5cb5cf171b9c843a08877dabf687a42e4 | 7,528 | gyp | Python | ui/webui/resources/js/cr/ui/compiled_resources2.gyp | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | ui/webui/resources/js/cr/ui/compiled_resources2.gyp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ui/webui/resources/js/cr/ui/compiled_resources2.gyp | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'array_data_model',
'dependencies': [
'../../compiled_resources2.gyp:cr',
'../compiled_resou... | 31.898305 | 86 | 0.534803 | 636 | 7,528 | 5.984277 | 0.128931 | 0.231739 | 0.270363 | 0.177352 | 0.877299 | 0.858907 | 0.807409 | 0.807409 | 0.79217 | 0.756963 | 0 | 0.013846 | 0.232465 | 7,528 | 235 | 87 | 32.034043 | 0.64486 | 0.02059 | 0 | 0.599138 | 0 | 0 | 0.652599 | 0.479034 | 0 | 0 | 0 | 0 | 0.021552 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
f669c417576ef2e5bfa2a4a46dbad98475df1f17 | 5,233 | py | Python | network_construction/ui.py | CheShangkun/Project-KnowNet | 3544b3632a521e5d384cef113ee8421c73a20a44 | [
"MIT"
] | 1 | 2018-08-20T18:11:01.000Z | 2018-08-20T18:11:01.000Z | network_construction/ui.py | CheShangkun/Project-KnowNet | 3544b3632a521e5d384cef113ee8421c73a20a44 | [
"MIT"
] | null | null | null | network_construction/ui.py | CheShangkun/Project-KnowNet | 3544b3632a521e5d384cef113ee8421c73a20a44 | [
"MIT"
] | null | null | null | # encoding=utf-8
from pathlib import Path
import os
from bottle import route, view, run, request, post
import network_construction.network as nc
import network_construction.database as db
from data_platform.config import ConfigManager
from data_platform.datasource.networkx import NetworkXDS
@route('/construction')
@v... | 28.440217 | 70 | 0.628129 | 560 | 5,233 | 5.719643 | 0.126786 | 0.06369 | 0.079613 | 0.02966 | 0.812988 | 0.805807 | 0.805807 | 0.805807 | 0.777084 | 0.777084 | 0 | 0.001261 | 0.2425 | 5,233 | 183 | 71 | 28.595628 | 0.806761 | 0.00879 | 0 | 0.810651 | 0 | 0 | 0.120054 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029586 | false | 0 | 0.04142 | 0 | 0.100592 | 0.153846 | 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 |
f66b8fc88b06fdfe9f56f0ece6139cbf763f6e2e | 1,781 | py | Python | venv/lib/python3.7/site-packages/numba-0.48.0-py37h6c726b0_0/info/test/run_test.py | Scott-Rubey/AudioSampler | 10ba3e8f283dc92fb8472087ff4be8917595adda | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/numba-0.48.0-py37h6c726b0_0/info/test/run_test.py | Scott-Rubey/AudioSampler | 10ba3e8f283dc92fb8472087ff4be8917595adda | [
"MIT"
] | null | null | null | venv/lib/python3.7/site-packages/numba-0.48.0-py37h6c726b0_0/info/test/run_test.py | Scott-Rubey/AudioSampler | 10ba3e8f283dc92fb8472087ff4be8917595adda | [
"MIT"
] | null | null | null | print("import: 'numba'")
import numba
print("import: 'numba.annotations'")
import numba.annotations
print("import: 'numba.cuda'")
import numba.cuda
print("import: 'numba.cuda.cudadrv'")
import numba.cuda.cudadrv
print("import: 'numba.cuda.kernels'")
import numba.cuda.kernels
print("import: 'numba.cuda.simulator'")... | 20.238636 | 48 | 0.752948 | 237 | 1,781 | 5.658228 | 0.113924 | 0.475764 | 0.34601 | 0.178971 | 0.333333 | 0.102908 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081415 | 1,781 | 87 | 49 | 20.471264 | 0.819682 | 0 | 0 | 0 | 0 | 0 | 0.426966 | 0.116292 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
9cfafce9e695c0f6b27e9a5d5f2d867c0220506d | 231,890 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/comprehend/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/comprehend/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/comprehend/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def batch_detect_dominant_language(self, TextList: List) -> Dict:
... | 65.339532 | 414 | 0.585588 | 26,199 | 231,890 | 5.158632 | 0.028818 | 0.012874 | 0.01212 | 0.01414 | 0.930922 | 0.916405 | 0.907851 | 0.903767 | 0.898514 | 0.893268 | 0 | 0.025505 | 0.325206 | 231,890 | 3,548 | 415 | 65.357948 | 0.838201 | 0.854026 | 0 | 0.462264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.462264 | false | 0.462264 | 0.066038 | 0 | 0.537736 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
1413e22684fcf53cff726acdcd9f9ab6e551b755 | 11,970 | py | Python | pyapprox/tests/test_iterative_hard_thresholding.py | ConnectedSystems/pyapprox | 4f405654c707cba83d211f327c0f0fdbc95efa29 | [
"MIT"
] | 26 | 2019-12-16T02:21:15.000Z | 2022-03-17T09:59:18.000Z | pyapprox/tests/test_iterative_hard_thresholding.py | ConnectedSystems/pyapprox | 4f405654c707cba83d211f327c0f0fdbc95efa29 | [
"MIT"
] | 9 | 2020-03-03T03:04:55.000Z | 2021-08-19T22:50:42.000Z | pyapprox/tests/test_iterative_hard_thresholding.py | ConnectedSystems/pyapprox | 4f405654c707cba83d211f327c0f0fdbc95efa29 | [
"MIT"
] | 7 | 2020-03-02T03:49:17.000Z | 2021-02-17T02:07:53.000Z | import unittest
from functools import partial
import copy
import numpy as np
from pyapprox.iterative_hard_thresholding import *
from pyapprox.function_train import *
from pyapprox.univariate_polynomials.orthonormal_recursions import \
jacobi_recurrence
class TestIHT(unittest.TestCase):
def test_gaussian_mat... | 38 | 81 | 0.642523 | 1,524 | 11,970 | 4.782152 | 0.14895 | 0.028814 | 0.018112 | 0.035675 | 0.800768 | 0.760977 | 0.732437 | 0.70472 | 0.700467 | 0.695664 | 0 | 0.019006 | 0.270343 | 11,970 | 314 | 82 | 38.121019 | 0.815434 | 0.145447 | 0 | 0.743119 | 0 | 0 | 0.007851 | 0 | 0 | 0 | 0 | 0 | 0.03211 | 1 | 0.06422 | false | 0 | 0.03211 | 0.036697 | 0.110092 | 0.022936 | 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 |
142adcf9ba0fa0e19a9d1a229ad61f1a66176627 | 803 | py | Python | DataProcess/ClearText/zhline.py | yongfang117/data_process | c77af1b336ec8b7f61b538ea43dd03ee005a5227 | [
"MIT"
] | null | null | null | DataProcess/ClearText/zhline.py | yongfang117/data_process | c77af1b336ec8b7f61b538ea43dd03ee005a5227 | [
"MIT"
] | null | null | null | DataProcess/ClearText/zhline.py | yongfang117/data_process | c77af1b336ec8b7f61b538ea43dd03ee005a5227 | [
"MIT"
] | null | null | null | # coding=utf8
from zhtools.langconv import *
# 转换繁体到简体
str1 = '上港5-4恒大5分领跑剑指冠军,下轮打平便可夺冠,武磊平纪录—广州恒大淘宝 上海上港 蔡慧康 武磊 胡尔克 张成林 阿兰 保利尼奥 王燊超 吕文君 懂球帝北京时间11月3日19:35,中超第28轮迎来天王山之战,广州恒大淘宝坐镇主场迎战上海上港。上半场吕文君和蔡慧康先后进球两度为上港取得领先,保利尼奥和阿兰两度为恒大将比分扳平,补时阶段保利尼奥进球反超比分,下半场武磊进球追平李金羽单赛季进球纪录,王燊超造成张成林乌龙,胡尔克点射破门,阿兰补时打进点球。最终,上海上港客场5-4战胜广州恒大淘宝,赛季双杀恒大... | 53.533333 | 298 | 0.83188 | 95 | 803 | 7.052632 | 0.557895 | 0.041791 | 0.065672 | 0.080597 | 0.776119 | 0.776119 | 0.776119 | 0.776119 | 0.776119 | 0.776119 | 0 | 0.048942 | 0.058531 | 803 | 14 | 299 | 57.357143 | 0.834656 | 0.033624 | 0 | 0 | 0 | 0.285714 | 0.790155 | 0.65285 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 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 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
1465c19b06734b74fe63674d54f8fb6c492420da | 80 | py | Python | api/base/__init__.py | felliott/SHARE | 8fd60ff4749349c9b867f6188650d71f4f0a1a56 | [
"Apache-2.0"
] | 87 | 2015-01-06T18:24:45.000Z | 2021-08-08T07:59:40.000Z | api/base/__init__.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 442 | 2015-01-01T19:16:01.000Z | 2022-03-30T21:10:26.000Z | api/base/__init__.py | fortress-biotech/SHARE | 9c5a05dd831447949fa6253afec5225ff8ab5d4f | [
"Apache-2.0"
] | 67 | 2015-03-10T16:32:58.000Z | 2021-11-12T16:33:41.000Z | from api.base.serializers import * # noqa
from api.base.views import * # noqa
| 26.666667 | 42 | 0.725 | 12 | 80 | 4.833333 | 0.583333 | 0.241379 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 2 | 43 | 40 | 0.878788 | 0.1125 | 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 |
148e336e2aec475523387e6f42159267cfa873ba | 2,939 | py | Python | src/mnist_nn.py | euske/introdl | f6d9da71c7172952e9b5872502293dbb41eb7d93 | [
"CC-BY-4.0"
] | 14 | 2022-03-07T02:34:18.000Z | 2022-03-23T06:34:54.000Z | src/mnist_nn.py | euske/introdl | f6d9da71c7172952e9b5872502293dbb41eb7d93 | [
"CC-BY-4.0"
] | null | null | null | src/mnist_nn.py | euske/introdl | f6d9da71c7172952e9b5872502293dbb41eb7d93 | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env python
import numpy as np
from nn_numpy import Layer
from nn_numpy import SoftmaxLayer
from mnist import load_mnist
np.random.seed(1)
def main1():
# 訓練データの画像・ラベルを読み込む (パス名は適宜変更)。
train_images = load_mnist('./MNIST/train-images-idx3-ubyte.gz')
train_labels = load_mnist('./MNIST/train-labels-i... | 33.022472 | 67 | 0.553249 | 382 | 2,939 | 4.180628 | 0.209424 | 0.05072 | 0.070132 | 0.050094 | 0.81841 | 0.81841 | 0.804634 | 0.804634 | 0.795867 | 0.795867 | 0 | 0.070894 | 0.318476 | 2,939 | 88 | 68 | 33.397727 | 0.724413 | 0.074175 | 0 | 0.783784 | 0 | 0 | 0.098893 | 0.098893 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.054054 | 0 | 0.081081 | 0.054054 | 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 |
14bb5066551cc8af8bcf666702b096f6f441eb98 | 46,303 | py | Python | AutotestWebD/all_models_for_dubbo/migrations/0001_initial.py | ltx100/sosotest_opensource | 57f2312bd4c43575046b0d2763ab5621af4144dd | [
"MIT"
] | 1 | 2022-03-31T02:41:53.000Z | 2022-03-31T02:41:53.000Z | AutotestWebD/all_models_for_dubbo/migrations/0001_initial.py | ltx100/sosotest_opensource | 57f2312bd4c43575046b0d2763ab5621af4144dd | [
"MIT"
] | null | null | null | AutotestWebD/all_models_for_dubbo/migrations/0001_initial.py | ltx100/sosotest_opensource | 57f2312bd4c43575046b0d2763ab5621af4144dd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2019-04-15 14:49
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('all_models', '0001_initial'),
]
... | 95.470103 | 275 | 0.657992 | 4,837 | 46,303 | 6.098201 | 0.092413 | 0.127538 | 0.053599 | 0.072516 | 0.883954 | 0.870529 | 0.859545 | 0.856053 | 0.856053 | 0.850188 | 0 | 0.023682 | 0.188368 | 46,303 | 484 | 276 | 95.667355 | 0.761209 | 0.001469 | 0 | 0.718487 | 1 | 0.004202 | 0.286425 | 0.08094 | 0 | 0 | 0 | 0 | 0.006303 | 1 | 0 | false | 0.018908 | 0.006303 | 0 | 0.014706 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.