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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b42d78232e95b861f9b2a997ce4b159c14d99125 | 564 | py | Python | GNN/model/metric.py | HamletWantToCode/alchemy | 4af98323e7ae64e1c4b7901c544dddb48b4780b6 | [
"MIT"
] | 2 | 2019-07-23T03:47:09.000Z | 2019-07-24T09:20:15.000Z | GNN/model/metric.py | HamletWantToCode/alchemy | 4af98323e7ae64e1c4b7901c544dddb48b4780b6 | [
"MIT"
] | null | null | null | GNN/model/metric.py | HamletWantToCode/alchemy | 4af98323e7ae64e1c4b7901c544dddb48b4780b6 | [
"MIT"
] | null | null | null | import torch
def mse_metric(output, target):
with torch.no_grad():
assert output.shape[0] == len(target)
accuracy = torch.mean((output - target)**2, dim=0)
if accuracy.device.type == 'cuda':
accuracy = accuracy.cpu()
return accuracy.numpy()
def mae_metric(output, target):
... | 29.684211 | 62 | 0.613475 | 71 | 564 | 4.816901 | 0.380282 | 0.140351 | 0.105263 | 0.128655 | 0.836257 | 0.836257 | 0.836257 | 0.836257 | 0.836257 | 0.836257 | 0 | 0.011765 | 0.246454 | 564 | 18 | 63 | 31.333333 | 0.792941 | 0 | 0 | 0.666667 | 0 | 0 | 0.014184 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 1 | 0.133333 | false | 0 | 0.066667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b4390b07616f485648f0231e43d2440b21dbfd96 | 28 | py | Python | nlp_features/nlp_features/__init__.py | zgb0537/Multimodal-Irony-Detection | c27e6a21dfac9d001f71542d9f78e68470c1665c | [
"MIT"
] | null | null | null | nlp_features/nlp_features/__init__.py | zgb0537/Multimodal-Irony-Detection | c27e6a21dfac9d001f71542d9f78e68470c1665c | [
"MIT"
] | null | null | null | nlp_features/nlp_features/__init__.py | zgb0537/Multimodal-Irony-Detection | c27e6a21dfac9d001f71542d9f78e68470c1665c | [
"MIT"
] | null | null | null | from .nlp_features import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b46ea7225852fcd669e3c7f85c2d192f0e64fe5c | 33 | py | Python | deep_compression/runners/__init__.py | YodaEmbedding/deep-compression | cc1ea691921fbe2e5cffeb30a02b777dadd08700 | [
"MIT"
] | null | null | null | deep_compression/runners/__init__.py | YodaEmbedding/deep-compression | cc1ea691921fbe2e5cffeb30a02b777dadd08700 | [
"MIT"
] | null | null | null | deep_compression/runners/__init__.py | YodaEmbedding/deep-compression | cc1ea691921fbe2e5cffeb30a02b777dadd08700 | [
"MIT"
] | null | null | null | from .custom import CustomRunner
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f05da04b180112b9284b2ee9822d4b909c9bc1d | 222 | py | Python | wsgi/barbara/views/__init__.py | rajagopal28/barbara-server | 4adad586aba9e4578563f6cc39d2e4643921c643 | [
"MIT"
] | null | null | null | wsgi/barbara/views/__init__.py | rajagopal28/barbara-server | 4adad586aba9e4578563f6cc39d2e4643921c643 | [
"MIT"
] | null | null | null | wsgi/barbara/views/__init__.py | rajagopal28/barbara-server | 4adad586aba9e4578563f6cc39d2e4643921c643 | [
"MIT"
] | null | null | null | from flask import render_template
from barbara import app, db
@app.route("/")
def home():
return render_template('home.html')
@app.route("/about-app")
def about_app():
return render_template('about-app.html')
| 15.857143 | 44 | 0.707207 | 32 | 222 | 4.78125 | 0.4375 | 0.27451 | 0.261438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 222 | 13 | 45 | 17.076923 | 0.805263 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6f06cee144202b7a912feda5267834323d3dcab2 | 24,203 | py | Python | arrayfire/algorithm.py | arrayfire/arrayfire-python | 96fa9768ee02e5fb5ffcaf3d1f744c898b141637 | [
"BSD-3-Clause"
] | 420 | 2015-07-30T00:02:21.000Z | 2022-03-28T16:52:28.000Z | arrayfire/algorithm.py | arrayfire/arrayfire-python | 96fa9768ee02e5fb5ffcaf3d1f744c898b141637 | [
"BSD-3-Clause"
] | 198 | 2015-07-29T17:17:36.000Z | 2022-01-20T18:31:28.000Z | arrayfire/algorithm.py | arrayfire/arrayfire-python | 96fa9768ee02e5fb5ffcaf3d1f744c898b141637 | [
"BSD-3-Clause"
] | 75 | 2015-07-29T15:17:54.000Z | 2022-02-24T06:50:23.000Z | #######################################################
# Copyright (c) 2015, ArrayFire
# All rights reserved.
#
# This file is distributed under 3-clause BSD license.
# The complete license agreement can be obtained at:
# http://arrayfire.com/licenses/BSD-3-Clause
######################################################... | 30.714467 | 149 | 0.620667 | 3,418 | 24,203 | 4.284084 | 0.067583 | 0.0392 | 0.036058 | 0.040839 | 0.863553 | 0.843202 | 0.798334 | 0.770675 | 0.738032 | 0.725944 | 0 | 0.004025 | 0.271123 | 24,203 | 787 | 150 | 30.753494 | 0.82603 | 0.586704 | 0 | 0.46114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.186529 | false | 0 | 0.010363 | 0 | 0.466321 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f2045bf06246bcaf29c1bc5a6a18fc3fa64953e | 161,989 | py | Python | cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_rpc.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_rpc.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_rpc.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XE_rpc
NED RPC YANG module for IOS
Copyright (c) 2016\-2018 by Cisco Systems, Inc.
All rights reserved.
"""
from collections import OrderedDict
from ydk.types import Entity, EntityPath, Identity, Enum, YType, YLeaf, YLeafList, YList, LeafDataList, Bits, Empty, Decimal64
from ydk.filters import YFilter... | 35.001945 | 362 | 0.475884 | 15,136 | 161,989 | 4.783761 | 0.022331 | 0.027138 | 0.033919 | 0.036806 | 0.835306 | 0.788598 | 0.75048 | 0.737512 | 0.716105 | 0.691383 | 0 | 0.01099 | 0.40796 | 161,989 | 4,627 | 363 | 35.009509 | 0.744004 | 0.147701 | 0 | 0.681679 | 0 | 0.003498 | 0.099401 | 0.029853 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0892 | false | 0.003935 | 0.002186 | 0 | 0.156974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f3c346de2529e3a77452320334bb1c2715644e0 | 4,877 | py | Python | src/secml/array/tests/test_c_array_utils_search.py | zangobot/secml | 95a293e1201c24256eb7fe2f1d2125cd5f318c8c | [
"Apache-2.0"
] | 63 | 2020-04-20T16:31:16.000Z | 2022-03-29T01:05:35.000Z | src/secml/array/tests/test_c_array_utils_search.py | zangobot/secml | 95a293e1201c24256eb7fe2f1d2125cd5f318c8c | [
"Apache-2.0"
] | 5 | 2020-04-21T11:31:39.000Z | 2022-03-24T13:42:56.000Z | src/secml/array/tests/test_c_array_utils_search.py | zangobot/secml | 95a293e1201c24256eb7fe2f1d2125cd5f318c8c | [
"Apache-2.0"
] | 8 | 2020-04-21T09:16:42.000Z | 2022-02-23T16:28:43.000Z | from secml.array.tests import CArrayTestCases
from secml.array import CArray
class TestCArrayUtilsSearch(CArrayTestCases):
"""Unit test for CArray UTILS - SEARCH methods."""
def test_find(self):
"""Test for CArray.find() method."""
self.logger.info("Test for CArray.find() method.")
... | 46.894231 | 79 | 0.627435 | 720 | 4,877 | 4.002778 | 0.091667 | 0.137405 | 0.136017 | 0.124913 | 0.826509 | 0.78626 | 0.747051 | 0.72415 | 0.701249 | 0.699167 | 0 | 0.031871 | 0.195817 | 4,877 | 103 | 80 | 47.349515 | 0.702958 | 0.053927 | 0 | 0.459459 | 0 | 0 | 0.107672 | 0.009372 | 0 | 0 | 0 | 0 | 0.256757 | 1 | 0.054054 | false | 0 | 0.027027 | 0 | 0.094595 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f4d2088660a1cd3efdf04fe6eb362d8729dfd09 | 28 | py | Python | coders/curso_python/fundamentos/primeiro_exemplo.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 2 | 2021-02-20T23:50:07.000Z | 2021-08-15T03:04:35.000Z | coders/curso_python/fundamentos/primeiro_exemplo.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 18 | 2019-08-07T02:33:00.000Z | 2021-03-18T22:52:38.000Z | coders/curso_python/fundamentos/primeiro_exemplo.py | flaviogf/Cursos | 2b120dbcd24a907121f58482fdcdfa01b164872c | [
"MIT"
] | 2 | 2020-09-28T13:00:09.000Z | 2021-12-30T12:21:08.000Z | print('primeiro programa')
| 14 | 27 | 0.75 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
48998720ed637872059442a48af2ccd30dc98799 | 194 | py | Python | project/text_recognizer/models/__init__.py | desireechen/handwriting-recognition | 0aebf318535f8208ddefa55654c4469a1c9ea14f | [
"MIT"
] | null | null | null | project/text_recognizer/models/__init__.py | desireechen/handwriting-recognition | 0aebf318535f8208ddefa55654c4469a1c9ea14f | [
"MIT"
] | null | null | null | project/text_recognizer/models/__init__.py | desireechen/handwriting-recognition | 0aebf318535f8208ddefa55654c4469a1c9ea14f | [
"MIT"
] | null | null | null | """Model modules."""
from .character_model import CharacterModel
from .line_model import LineModel
from .line_model_ctc import LineModelCtc
from .line_detector_model import LineDetectorModel
| 21.555556 | 50 | 0.835052 | 24 | 194 | 6.5 | 0.5 | 0.211538 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 194 | 8 | 51 | 24.25 | 0.901734 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48a60918b8a772f7c106294241155eaf196b15a3 | 5,971 | py | Python | SuperDiffer/tests/test_base_descriptor.py | gpaOliveira/SuperDiffer | 1936ead7ab209994892f6bc29a33a47415fa95e8 | [
"MIT"
] | 2 | 2016-10-12T16:11:04.000Z | 2017-08-25T18:29:44.000Z | SuperDiffer/tests/test_base_descriptor.py | gpaOliveira/SuperDiffer | 1936ead7ab209994892f6bc29a33a47415fa95e8 | [
"MIT"
] | null | null | null | SuperDiffer/tests/test_base_descriptor.py | gpaOliveira/SuperDiffer | 1936ead7ab209994892f6bc29a33a47415fa95e8 | [
"MIT"
] | null | null | null | from SuperDiffer.tests import *
from SuperDiffer.id import controllers as ID
import json
import pdb
class SupperDifferBaseDescriptorTestCase(SupperDifferBaseTestCase):
def _descriptor_add_ok(self, descriptor, value = "abcd"):
#Given initial db count is recorded
initial_db_count = ID.count()
... | 40.619048 | 110 | 0.610451 | 769 | 5,971 | 4.582575 | 0.105332 | 0.112372 | 0.127128 | 0.059024 | 0.872588 | 0.86294 | 0.86294 | 0.850738 | 0.846198 | 0.815551 | 0 | 0.013936 | 0.315023 | 5,971 | 147 | 111 | 40.619048 | 0.847677 | 0.291408 | 0 | 0.666667 | 0 | 0 | 0.05537 | 0 | 0 | 0 | 0 | 0 | 0.349206 | 1 | 0.126984 | false | 0 | 0.063492 | 0 | 0.206349 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48adb4a66b50d1e05e0242c33f23cee3d96f8fe9 | 3,469 | py | Python | fortniteversus/static/data/data_tienda.py | oliverbarreto/FortniteVS | c09f0514558912d9d058552dc1295ddfa266132c | [
"Apache-2.0"
] | 1 | 2019-07-02T19:53:04.000Z | 2019-07-02T19:53:04.000Z | fortniteversus/static/data/data_tienda.py | oliverbarreto/FortniteVS | c09f0514558912d9d058552dc1295ddfa266132c | [
"Apache-2.0"
] | null | null | null | fortniteversus/static/data/data_tienda.py | oliverbarreto/FortniteVS | c09f0514558912d9d058552dc1295ddfa266132c | [
"Apache-2.0"
] | null | null | null | {"date": "2019-05-18", "store_items": [{"imageUrl": "https://cdn.thetrackernetwork.com/cdn/fortnite/B3E011641_large.png", "manifestId": 11641, "name": "Assassin", "rarity": "Handmade", "storeCategory": "BRDailyStorefront", "vBucks": 300}, {"imageUrl": "https://cdn.thetrackernetwork.com/cdn/fortnite/F4CB11642_large.png"... | 3,469 | 3,469 | 0.72211 | 359 | 3,469 | 6.927577 | 0.267409 | 0.088862 | 0.109369 | 0.225573 | 0.628066 | 0.581021 | 0.581021 | 0.524327 | 0.524327 | 0.501809 | 0 | 0.078462 | 0.063131 | 3,469 | 1 | 3,469 | 3,469 | 0.686769 | 0 | 0 | 0 | 0 | 0 | 0.731988 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48b0662f1c598f95b46e8bad94dbcc4d2a57a1e5 | 91 | py | Python | hello_world.py | 4n3i5v74/Python-CGI | a9f2e8e0d43acce64d06bb53ae9b00cb66b29e37 | [
"MIT"
] | 4 | 2015-11-08T17:52:08.000Z | 2021-01-09T15:49:29.000Z | hello_world.py | 4n3i5v74/Python-CGI | a9f2e8e0d43acce64d06bb53ae9b00cb66b29e37 | [
"MIT"
] | null | null | null | hello_world.py | 4n3i5v74/Python-CGI | a9f2e8e0d43acce64d06bb53ae9b00cb66b29e37 | [
"MIT"
] | 6 | 2015-04-09T14:41:08.000Z | 2021-05-15T03:02:29.000Z | #! /usr/bin/python
# Filename : hello_world.py
print "Hello World"
print "Hello " "World"
| 15.166667 | 27 | 0.692308 | 13 | 91 | 4.769231 | 0.615385 | 0.483871 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 5 | 28 | 18.2 | 0.805195 | 0.472527 | 0 | 0 | 0 | 0 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
48bc6fbbce7c511bdbaacb1006c59e2b0e7d3cf8 | 65 | py | Python | python/20190303/Code/flask_todo_app/config/testing.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 3 | 2019-01-17T05:50:51.000Z | 2019-03-15T10:10:07.000Z | python/20190303/Code/flask_todo_app/config/testing.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 10 | 2019-01-17T06:07:03.000Z | 2019-02-19T05:55:25.000Z | python/20190303/Code/flask_todo_app/config/testing.py | Realize0917/career | b5d02ac53cfc3ce3a2ca38d11480c51560283e67 | [
"MIT"
] | 4 | 2018-12-22T07:32:55.000Z | 2019-03-06T09:13:48.000Z | from .default import Config
class TestingConfig(Config):
pass
| 13 | 28 | 0.784615 | 8 | 65 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 4 | 29 | 16.25 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
48c12894fb4654178d8a99235fb0205fe991879d | 367 | py | Python | 04Cuarto/Desarrollo_de_aplicaciones_de_internet_DAI/Practica3_semanas_8-9/src/restaurantes/templatetags/functions_extra.py | elsudano/Facultad | 8ff2c5904f0a38a3a0682e040da4439f2bc872f2 | [
"MIT"
] | 2 | 2017-02-20T09:26:42.000Z | 2021-11-21T21:56:35.000Z | 04Cuarto/Desarrollo_de_aplicaciones_de_internet_DAI/Practica3_semanas_8-9/src/restaurantes/templatetags/functions_extra.py | elsudano/Facultad | 8ff2c5904f0a38a3a0682e040da4439f2bc872f2 | [
"MIT"
] | 1 | 2016-10-06T16:59:39.000Z | 2017-09-21T08:04:51.000Z | 04Cuarto/Desarrollo_de_aplicaciones_de_internet_DAI/Practica3_semanas_8-9/src/restaurantes/templatetags/functions_extra.py | elsudano/Facultad | 8ff2c5904f0a38a3a0682e040da4439f2bc872f2 | [
"MIT"
] | 4 | 2016-10-06T16:41:01.000Z | 2019-11-21T12:37:20.000Z | from django import template
register = template.Library()
@register.filter(is_safe=True)
def getid(obj):
return obj._id
@register.filter(is_safe=True)
def getname(obj):
return obj.name
@register.filter(is_safe=True)
def getcoordinates(obj):
return obj.location.coordinates
@register.filter(is_safe=True)... | 19.315789 | 35 | 0.757493 | 53 | 367 | 5.150943 | 0.415094 | 0.205128 | 0.234432 | 0.29304 | 0.395604 | 0.395604 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128065 | 367 | 19 | 36 | 19.315789 | 0.853125 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.285714 | 0.642857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
48d84b38943796537920af712e3c19bae076d9ff | 408 | py | Python | strings/multiline strings.py | paniseven/py-playground | e42ffaaaeadbc0ec014709bbf76faf9d7b28c20b | [
"Unlicense"
] | null | null | null | strings/multiline strings.py | paniseven/py-playground | e42ffaaaeadbc0ec014709bbf76faf9d7b28c20b | [
"Unlicense"
] | null | null | null | strings/multiline strings.py | paniseven/py-playground | e42ffaaaeadbc0ec014709bbf76faf9d7b28c20b | [
"Unlicense"
] | null | null | null | a = """Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua."""
print(a)
# lowkey prints out the things above das in quotes
# does the same with single quotes
sixtynine = '''Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
se... | 24 | 51 | 0.737745 | 59 | 408 | 5.101695 | 0.59322 | 0.066445 | 0.099668 | 0.119601 | 0.710963 | 0.710963 | 0.710963 | 0.710963 | 0.710963 | 0.710963 | 0 | 0 | 0.198529 | 408 | 16 | 52 | 25.5 | 0.920489 | 0.198529 | 0 | 0.4 | 0 | 0 | 0.798701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d289f99c3d03d75ce66a0deae7d675b87f9cf998 | 48 | py | Python | tests/test_sigfig.py | pstefano91/plepy | d17a937e209165fa4d00ab148c6db018fe2bb055 | [
"MIT"
] | 1 | 2020-09-15T14:18:19.000Z | 2020-09-15T14:18:19.000Z | tests/test_sigfig.py | pstefano91/plepy | d17a937e209165fa4d00ab148c6db018fe2bb055 | [
"MIT"
] | 3 | 2020-09-17T16:02:05.000Z | 2020-10-26T14:18:52.000Z | tests/test_sigfig.py | pstefano91/plepy | d17a937e209165fa4d00ab148c6db018fe2bb055 | [
"MIT"
] | 3 | 2020-09-11T15:22:32.000Z | 2020-09-16T18:16:51.000Z | def test_sigfig__3sigfigs_of_pi_314():
pass
| 16 | 38 | 0.791667 | 8 | 48 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.145833 | 48 | 2 | 39 | 24 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d28ba6ea2e16304eb255db11b5bace4ffcd8b794 | 17,557 | py | Python | tests/core/test_serialization.py | dewmeht/great_expectations | 7d359e039dea393b4c9051ab7a770fb9423024f4 | [
"Apache-2.0"
] | null | null | null | tests/core/test_serialization.py | dewmeht/great_expectations | 7d359e039dea393b4c9051ab7a770fb9423024f4 | [
"Apache-2.0"
] | null | null | null | tests/core/test_serialization.py | dewmeht/great_expectations | 7d359e039dea393b4c9051ab7a770fb9423024f4 | [
"Apache-2.0"
] | null | null | null | import copy
import logging
from decimal import Decimal
import pandas as pd
from great_expectations import DataContext
from great_expectations.checkpoint import Checkpoint
from great_expectations.core.batch import BatchRequest, RuntimeBatchRequest
from great_expectations.core.util import (
convert_to_json_serializ... | 36.884454 | 124 | 0.552372 | 1,547 | 17,557 | 5.798966 | 0.115061 | 0.06521 | 0.027533 | 0.046372 | 0.841601 | 0.822985 | 0.810946 | 0.784082 | 0.750752 | 0.734701 | 0 | 0.03067 | 0.346301 | 17,557 | 475 | 125 | 36.962105 | 0.75098 | 0.004784 | 0 | 0.585812 | 0 | 0 | 0.292885 | 0.103886 | 0 | 0 | 0 | 0.002105 | 0.036613 | 1 | 0.01373 | false | 0 | 0.022883 | 0 | 0.036613 | 0.004577 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2a217c05db1ca7cd3465cc425bf7f722cb76b74 | 3,896 | py | Python | data_model.py | redefik/ConvNILM | 8a1a23fed5b9c1e39687fb3c2e7c018ec8ac656a | [
"MIT"
] | 3 | 2020-11-23T09:47:04.000Z | 2021-08-28T03:10:53.000Z | data_model.py | redefik/ConvNILM | 8a1a23fed5b9c1e39687fb3c2e7c018ec8ac656a | [
"MIT"
] | null | null | null | data_model.py | redefik/ConvNILM | 8a1a23fed5b9c1e39687fb3c2e7c018ec8ac656a | [
"MIT"
] | null | null | null | import tensorflow as tf
from tensorflow.keras.regularizers import l2
def build_dishwasher_cnn(window_size, evaluation_metric=None):
"""
Defines and compiles the convolutive neural network to be trained
to infer dishwasher's power consumption.
Args:
window_size (int): size of the sliding window used in th... | 48.7 | 103 | 0.663244 | 468 | 3,896 | 5.373932 | 0.220085 | 0.050099 | 0.055666 | 0.083499 | 0.90497 | 0.87992 | 0.877535 | 0.857654 | 0.825845 | 0.757853 | 0 | 0.021376 | 0.23152 | 3,896 | 80 | 104 | 48.7 | 0.818637 | 0.172228 | 0 | 0.490196 | 0 | 0 | 0.041208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.039216 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2a54b705dd8b21b1a1c67a962c88d92cf78aec0 | 324 | py | Python | configs/gdrn/ycbvSingleObj/resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_SO/resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_13_24Bowl_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 33 | 2021-12-15T07:11:47.000Z | 2022-03-29T08:58:32.000Z | configs/gdrn/ycbvSingleObj/resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_SO/resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_13_24Bowl_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | 3 | 2021-12-15T11:39:54.000Z | 2022-03-29T07:24:23.000Z | configs/gdrn/ycbvSingleObj/resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_SO/resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_13_24Bowl_bop_test.py | THU-DA-6D-Pose-Group/self6dpp | c267cfa55e440e212136a5e9940598720fa21d16 | [
"Apache-2.0"
] | null | null | null | _base_ = "./resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_01_02MasterChefCan_bop_test.py"
OUTPUT_DIR = "output/gdrn/ycbv/resnest50d_AugCosyAAE_BG05_mlBCE_DoubleMask_visib10_ycbvRealKuwPbr_100e_SO/13_24Bowl"
DATASETS = dict(TRAIN=("ycbv_024_bowl_train_real_aligned_Kuw", "ycbv_024_bowl_train_pbr... | 81 | 116 | 0.895062 | 45 | 324 | 5.711111 | 0.666667 | 0.155642 | 0.18677 | 0.225681 | 0.498054 | 0.498054 | 0.498054 | 0.498054 | 0 | 0 | 0 | 0.101911 | 0.030864 | 324 | 3 | 117 | 108 | 0.716561 | 0 | 0 | 0 | 0 | 0 | 0.814815 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2d12628d464afe9a9f9510dae8f77d9f963f35c | 194 | py | Python | geekshop/mainapp/admin.py | klim1286/django | d4d0fc73e920cfcbaa88ac37a0c37359836b6789 | [
"MIT"
] | null | null | null | geekshop/mainapp/admin.py | klim1286/django | d4d0fc73e920cfcbaa88ac37a0c37359836b6789 | [
"MIT"
] | null | null | null | geekshop/mainapp/admin.py | klim1286/django | d4d0fc73e920cfcbaa88ac37a0c37359836b6789 | [
"MIT"
] | null | null | null | from configparser import MAX_INTERPOLATION_DEPTH
from django.contrib import admin
from .models import Product, ProductCategory
admin.site.register(Product)
admin.site.register(ProductCategory)
| 27.714286 | 48 | 0.860825 | 24 | 194 | 6.875 | 0.583333 | 0.109091 | 0.206061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 194 | 6 | 49 | 32.333333 | 0.926966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2dc7285f3fb3eb2463317859f2e5f5256874a96 | 39 | py | Python | python/lsst/faro/preparation/__init__.py | lsst/faro | c9d0b822c4e3533531fa3849ae4bb92545373db5 | [
"MIT"
] | null | null | null | python/lsst/faro/preparation/__init__.py | lsst/faro | c9d0b822c4e3533531fa3849ae4bb92545373db5 | [
"MIT"
] | 32 | 2021-03-05T17:13:30.000Z | 2022-03-28T19:48:28.000Z | python/lsst/faro/preparation/__init__.py | lsst/faro | c9d0b822c4e3533531fa3849ae4bb92545373db5 | [
"MIT"
] | 2 | 2021-02-11T06:00:58.000Z | 2021-02-19T23:11:30.000Z | from .MatchedPreparationTasks import *
| 19.5 | 38 | 0.846154 | 3 | 39 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d2ea916fd5387249a176176606dbd7c42fd4b68c | 42,709 | py | Python | tcga_encoder/models/survival/main.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | 2 | 2017-12-19T15:32:46.000Z | 2018-01-12T11:24:24.000Z | tcga_encoder/models/survival/main.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | null | null | null | tcga_encoder/models/survival/main.py | tedmeeds/tcga_encoder | 805f9a5bcc422a43faea45baa0996c88d346e3b4 | [
"MIT"
] | null | null | null | from tcga_encoder.utils.helpers import *
from tcga_encoder.data.data import *
from tcga_encoder.definitions.tcga import *
from tcga_encoder.definitions.nn import *
from tcga_encoder.definitions.locations import *
from tcga_encoder.models.survival_analysis import *
#from tcga_encoder.algorithms import *
import seaborn a... | 55.975098 | 337 | 0.67227 | 7,003 | 42,709 | 3.736399 | 0.044838 | 0.024765 | 0.025224 | 0.026217 | 0.830887 | 0.799817 | 0.756898 | 0.708362 | 0.64966 | 0.615493 | 0 | 0.028147 | 0.180618 | 42,709 | 763 | 338 | 55.975098 | 0.71956 | 0.180711 | 0 | 0.376923 | 0 | 0 | 0.076755 | 0.007546 | 0 | 0 | 0 | 0 | 0.001923 | 0 | null | null | 0.001923 | 0.065385 | null | null | 0.086538 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2f13e920ac770108e33c6bffe13a1139f86b000 | 149 | py | Python | examples/django/django_example/views.py | Asphalt-framework/asphalt-web | 8816ff78b486585d19862d593b0e1b622b3a0b15 | [
"Apache-2.0"
] | null | null | null | examples/django/django_example/views.py | Asphalt-framework/asphalt-web | 8816ff78b486585d19862d593b0e1b622b3a0b15 | [
"Apache-2.0"
] | null | null | null | examples/django/django_example/views.py | Asphalt-framework/asphalt-web | 8816ff78b486585d19862d593b0e1b622b3a0b15 | [
"Apache-2.0"
] | null | null | null | from django.http import HttpRequest, HttpResponse
async def index(request: HttpRequest) -> HttpResponse:
return HttpResponse(b"Hello, world!")
| 24.833333 | 54 | 0.771812 | 17 | 149 | 6.764706 | 0.823529 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 5 | 55 | 29.8 | 0.891473 | 0 | 0 | 0 | 0 | 0 | 0.087248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9604f2bc67d079b1ae21cb53cefdfcdfb8a0aee7 | 25 | py | Python | src/closure_table/comments/__init__.py | vyacheslav-bezborodov/dvhb | b3ff8bee6274c29e49f053ad8bc3f6ca050ec584 | [
"MIT"
] | null | null | null | src/closure_table/comments/__init__.py | vyacheslav-bezborodov/dvhb | b3ff8bee6274c29e49f053ad8bc3f6ca050ec584 | [
"MIT"
] | null | null | null | src/closure_table/comments/__init__.py | vyacheslav-bezborodov/dvhb | b3ff8bee6274c29e49f053ad8bc3f6ca050ec584 | [
"MIT"
] | null | null | null | from . import db, routes
| 12.5 | 24 | 0.72 | 4 | 25 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 25 | 1 | 25 | 25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9620ad1c1b7af8132c139ab713c524dab576565b | 18,505 | py | Python | packages/ekstep_pipelines_tests/catalogue_dao_tests.py | jeevan-revaneppa-hirethanad/audio-to-speech-pipeline | a5bd7f0321834507e4157eb1aea8659cd205bf1c | [
"MIT"
] | null | null | null | packages/ekstep_pipelines_tests/catalogue_dao_tests.py | jeevan-revaneppa-hirethanad/audio-to-speech-pipeline | a5bd7f0321834507e4157eb1aea8659cd205bf1c | [
"MIT"
] | null | null | null | packages/ekstep_pipelines_tests/catalogue_dao_tests.py | jeevan-revaneppa-hirethanad/audio-to-speech-pipeline | a5bd7f0321834507e4157eb1aea8659cd205bf1c | [
"MIT"
] | null | null | null | import json
import unittest
from unittest import mock
from ekstep_data_pipelines.common.dao.catalogue_dao import CatalogueDao
class CatalogueTests(unittest.TestCase):
def setUp(self):
self.maxDiff = None
@mock.patch("ekstep_data_pipelines.common.postgres_db_client.PostgresClient")
def test_get_... | 44.915049 | 383 | 0.635342 | 2,076 | 18,505 | 5.263487 | 0.092004 | 0.062597 | 0.093896 | 0.057198 | 0.811019 | 0.798023 | 0.784387 | 0.784387 | 0.728837 | 0.709435 | 0 | 0.02684 | 0.267117 | 18,505 | 411 | 384 | 45.024331 | 0.778867 | 0.014212 | 0 | 0.524781 | 0 | 0.008746 | 0.284401 | 0.142771 | 0 | 0 | 0 | 0 | 0.093294 | 1 | 0.049563 | false | 0 | 0.011662 | 0 | 0.06414 | 0.005831 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96255a07ff550b30e79c8b7b109438908ee3ac40 | 19,509 | py | Python | sdk/python/pulumi_cloudflare/teams_location.py | pulumi/pulumi-cloudflare | d444af2fab6101b388a15cf2e3933e45e9935cc6 | [
"ECL-2.0",
"Apache-2.0"
] | 35 | 2019-03-14T21:29:29.000Z | 2022-03-30T00:00:59.000Z | sdk/python/pulumi_cloudflare/teams_location.py | pulumi/pulumi-cloudflare | d444af2fab6101b388a15cf2e3933e45e9935cc6 | [
"ECL-2.0",
"Apache-2.0"
] | 128 | 2019-03-08T23:45:58.000Z | 2022-03-31T21:05:22.000Z | sdk/python/pulumi_cloudflare/teams_location.py | pulumi/pulumi-cloudflare | d444af2fab6101b388a15cf2e3933e45e9935cc6 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2019-05-10T12:52:56.000Z | 2020-03-24T15:02:14.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 ... | 40.391304 | 154 | 0.640474 | 2,145 | 19,509 | 5.593007 | 0.09324 | 0.092606 | 0.058348 | 0.044011 | 0.817704 | 0.781445 | 0.746187 | 0.708677 | 0.694507 | 0.637243 | 0 | 0.012398 | 0.255779 | 19,509 | 482 | 155 | 40.475104 | 0.813899 | 0.288482 | 0 | 0.580153 | 1 | 0 | 0.114128 | 0.036938 | 0 | 0 | 0 | 0 | 0 | 1 | 0.160305 | false | 0.003817 | 0.026718 | 0.007634 | 0.28626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
827dc82244970ead3c3a3ed277c5bf8e70003d49 | 47 | py | Python | tests/__init__.py | u6k/scoring-horse-raicing | c16a57ca98eb475f4b8fbbb8789806b5f1524417 | [
"MIT"
] | null | null | null | tests/__init__.py | u6k/scoring-horse-raicing | c16a57ca98eb475f4b8fbbb8789806b5f1524417 | [
"MIT"
] | 7 | 2020-01-10T12:11:42.000Z | 2022-03-03T21:55:27.000Z | tests/__init__.py | u6k/scoring-horse-raicing | c16a57ca98eb475f4b8fbbb8789806b5f1524417 | [
"MIT"
] | null | null | null | # flake8: noqa
from .test_pipelines import *
| 15.666667 | 30 | 0.723404 | 6 | 47 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.191489 | 47 | 2 | 31 | 23.5 | 0.842105 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
828f8884ebd4a8becb2ee6e707b93c635ff76cc6 | 46 | py | Python | src/zarame/__init__.py | pistatium/zarame | 7669e5f1ef9831b0a6a1980eb103df4ab24f8788 | [
"MIT"
] | 3 | 2018-03-14T11:27:51.000Z | 2021-01-23T07:00:58.000Z | src/zarame/__init__.py | pistatium/zarame | 7669e5f1ef9831b0a6a1980eb103df4ab24f8788 | [
"MIT"
] | 2 | 2018-04-09T12:27:39.000Z | 2019-12-07T05:09:46.000Z | src/zarame/__init__.py | pistatium/zarame | 7669e5f1ef9831b0a6a1980eb103df4ab24f8788 | [
"MIT"
] | null | null | null | from .load import load
from .dump import dump
| 15.333333 | 22 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
82bcd93baf0da7b8ad0f2c5274a3ef2d6c20a5ec | 3,875 | py | Python | tests/test_transformer_data_batching.py | will-thompson-k/deeplearning-nlp-models | d3afac437b1ddf563c8d2694ada950bf20ab1c34 | [
"MIT"
] | 77 | 2020-11-01T19:22:32.000Z | 2021-12-12T20:41:34.000Z | tests/test_transformer_data_batching.py | will-thompson-k/deeplearning-nlp-models | d3afac437b1ddf563c8d2694ada950bf20ab1c34 | [
"MIT"
] | 3 | 2020-11-16T02:59:22.000Z | 2020-12-21T23:22:55.000Z | tests/test_transformer_data_batching.py | will-thompson-k/deeplearning-nlp-models | d3afac437b1ddf563c8d2694ada950bf20ab1c34 | [
"MIT"
] | 6 | 2020-12-10T10:10:34.000Z | 2020-12-21T14:17:49.000Z | import torch
from nlpmodels.utils.elt.transformer_batch import TransformerBatch
from nlpmodels.utils.elt.transformer_dataset import TransformerDataset
from nlpmodels.utils.vocabulary import NLPVocabulary
def test_transformer_batch_dimensions():
src_tokens = [["the", "cow", "jumped", "over", "the", "moon"], ["the... | 59.615385 | 111 | 0.723613 | 495 | 3,875 | 5.359596 | 0.173737 | 0.051263 | 0.067848 | 0.06634 | 0.863174 | 0.828119 | 0.811534 | 0.80588 | 0.716547 | 0.644176 | 0 | 0.004834 | 0.145806 | 3,875 | 64 | 112 | 60.546875 | 0.796677 | 0.047742 | 0 | 0.553191 | 0 | 0 | 0.070866 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 1 | 0.06383 | false | 0 | 0.085106 | 0 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d89b86a8a241e86498b7f86530af632396ac692 | 186 | py | Python | smlb/features/__init__.py | CitrineInformatics/smlb | 28a3689bd36aa8d51031b4faf7e2331bbd8148a9 | [
"Apache-2.0"
] | 6 | 2020-07-27T21:08:55.000Z | 2021-05-04T07:00:29.000Z | smlb/features/__init__.py | CitrineInformatics/smlb | 28a3689bd36aa8d51031b4faf7e2331bbd8148a9 | [
"Apache-2.0"
] | 18 | 2020-09-01T00:47:04.000Z | 2021-09-15T22:16:56.000Z | smlb/features/__init__.py | CitrineInformatics/smlb | 28a3689bd36aa8d51031b4faf7e2331bbd8148a9 | [
"Apache-2.0"
] | 2 | 2020-08-24T21:50:16.000Z | 2020-12-06T05:18:57.000Z | from smlb.features.chemistry_development_kit_molecules import (
ChemistryDevelopmentKitMoleculeFeatures,
)
from smlb.features.matminer_composition import MatminerCompositionFeatures
| 37.2 | 74 | 0.887097 | 16 | 186 | 10.0625 | 0.75 | 0.099379 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 186 | 4 | 75 | 46.5 | 0.936047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7da6587de0941ce15319d8f235acef5f321d6b3c | 94 | py | Python | PredictiveOutlierExplanationBenchmark/src/models/__init__.py | myrtakis/MxM | 552fa5ad27e542f41ade04ad1af565fdc6213be7 | [
"Apache-2.0"
] | 5 | 2021-07-13T07:48:32.000Z | 2022-02-28T10:59:15.000Z | PredictiveOutlierExplanationBenchmark/src/models/__init__.py | myrtakis/MxM | 552fa5ad27e542f41ade04ad1af565fdc6213be7 | [
"Apache-2.0"
] | 5 | 2021-03-19T15:30:01.000Z | 2022-03-12T00:51:20.000Z | PredictiveOutlierExplanationBenchmark/src/models/__init__.py | myrtakis/MxM | 552fa5ad27e542f41ade04ad1af565fdc6213be7 | [
"Apache-2.0"
] | null | null | null | from models.FeatureSelection import FeatureSelection
from models.Classifier import Classifier
| 31.333333 | 52 | 0.893617 | 10 | 94 | 8.4 | 0.5 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 94 | 2 | 53 | 47 | 0.976744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7dd5f98d9924722f9076792de3b0e282f271faaa | 6,221 | py | Python | seq2sql_model_testing.py | vinayakpandi/RoBERTa-NL2SQL | 3fa1d10167c235eb17ab57952d6e1294c2e07900 | [
"MIT"
] | 12 | 2020-10-24T07:51:56.000Z | 2022-03-11T07:44:05.000Z | seq2sql_model_testing.py | vinayakpandi/RoBERTa-NL2SQL | 3fa1d10167c235eb17ab57952d6e1294c2e07900 | [
"MIT"
] | 2 | 2020-12-03T18:08:04.000Z | 2021-01-22T17:58:00.000Z | seq2sql_model_testing.py | vinayakpandi/RoBERTa-NL2SQL | 3fa1d10167c235eb17ab57952d6e1294c2e07900 | [
"MIT"
] | 4 | 2020-10-29T17:00:19.000Z | 2021-11-27T04:45:13.000Z | import torch
#import torch_xla
#import torch_xla.core.xla_model as xm
device = torch.device("cuda")
def generate_sql_q(sql_i, tb):
sql_q = []
for b, sql_i1 in enumerate(sql_i):
tb1 = tb[b]
sql_q1 = generate_sql_q1(sql_i1, tb1)
sql_q.append(sql_q1)
return sql_q
def ... | 35.752874 | 117 | 0.527407 | 895 | 6,221 | 3.326257 | 0.135196 | 0.062479 | 0.056433 | 0.040309 | 0.741686 | 0.734968 | 0.734968 | 0.734968 | 0.734968 | 0.734968 | 0 | 0.019647 | 0.271821 | 6,221 | 173 | 118 | 35.959538 | 0.637528 | 0.309436 | 0 | 0.652174 | 1 | 0.021739 | 0.247282 | 0.046271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054348 | false | 0 | 0.01087 | 0 | 0.108696 | 0.271739 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8175c3525cd30e24035cda2eed64e43ec94b527f | 6,190 | py | Python | upstream/tera/hubconf.py | ftshijt/s3prl | 26c856ba19294a095725a181f86b26e97ac17b90 | [
"MIT"
] | null | null | null | upstream/tera/hubconf.py | ftshijt/s3prl | 26c856ba19294a095725a181f86b26e97ac17b90 | [
"MIT"
] | null | null | null | upstream/tera/hubconf.py | ftshijt/s3prl | 26c856ba19294a095725a181f86b26e97ac17b90 | [
"MIT"
] | null | null | null | import os
import torch
from utility.download import _gdriveids_to_filepaths, _urls_to_filepaths
from upstream.tera.expert import UpstreamExpert as _UpstreamExpert
def tera_local(ckpt, feature_selection=None, *args, **kwargs):
"""
The model from local ckpt
ckpt (str): PATH
feature_... | 29.47619 | 102 | 0.633441 | 786 | 6,190 | 4.821883 | 0.160305 | 0.084433 | 0.063325 | 0.087071 | 0.774934 | 0.755409 | 0.755409 | 0.722691 | 0.702639 | 0.642216 | 0 | 0.069294 | 0.237641 | 6,190 | 210 | 103 | 29.47619 | 0.733842 | 0.316317 | 0 | 0.183673 | 0 | 0.183673 | 0.189149 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 1 | 0.326531 | false | 0 | 0.081633 | 0 | 0.734694 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81a2ce5ce594e1fbd09e6a9212b991b8eccbd465 | 15,483 | py | Python | tests/server/blueprints/api_v1/test_views_query_auth.py | Clinical-Genomics/cgbeacon2 | 968771c80d65b265141a0a67c6c58c565536fa49 | [
"MIT"
] | null | null | null | tests/server/blueprints/api_v1/test_views_query_auth.py | Clinical-Genomics/cgbeacon2 | 968771c80d65b265141a0a67c6c58c565536fa49 | [
"MIT"
] | 169 | 2020-04-08T08:34:17.000Z | 2022-03-31T12:25:30.000Z | tests/server/blueprints/api_v1/test_views_query_auth.py | Clinical-Genomics/cgbeacon2 | 968771c80d65b265141a0a67c6c58c565536fa49 | [
"MIT"
] | 1 | 2020-10-26T15:50:56.000Z | 2020-10-26T15:50:56.000Z | # -*- coding: utf-8 -*-
import copy
import json
import pytest
from authlib.jose import jwt
from authlib.jose.errors import ExpiredTokenError
from cgbeacon2.constants import (
MISSING_TOKEN,
WRONG_SCHEME,
EXPIRED_TOKEN_SIGNATURE,
INVALID_TOKEN_CLAIMS,
MISSING_TOKEN_CLAIMS,
MISSING_PUBLIC_KEY,
... | 34.793258 | 121 | 0.716722 | 2,054 | 15,483 | 5.219572 | 0.088608 | 0.02677 | 0.026863 | 0.022386 | 0.821752 | 0.801604 | 0.770077 | 0.753661 | 0.738364 | 0.71262 | 0 | 0.013369 | 0.1884 | 15,483 | 444 | 122 | 34.871622 | 0.839806 | 0.286895 | 0 | 0.672269 | 0 | 0 | 0.119901 | 0.002021 | 0 | 0 | 0 | 0 | 0.138655 | 1 | 0.12605 | false | 0.033613 | 0.029412 | 0.05042 | 0.205882 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81c5ae84e21b5a0c952017193d02e3d12a2d12bb | 194 | py | Python | src/eclingo/solver/candidate.py | jorgefandinno/eclingo | 93554201963ad20dc242c841af32759236c93713 | [
"MIT"
] | 1 | 2022-01-24T18:34:59.000Z | 2022-01-24T18:34:59.000Z | src/eclingo/solver/candidate.py | jorgefandinno/eclingo | 93554201963ad20dc242c841af32759236c93713 | [
"MIT"
] | null | null | null | src/eclingo/solver/candidate.py | jorgefandinno/eclingo | 93554201963ad20dc242c841af32759236c93713 | [
"MIT"
] | null | null | null | from typing import List, NamedTuple
from clingo import Symbol
class Candidate(NamedTuple):
pos: List[Symbol]
neg: List[Symbol]
test_pos: List[Symbol]
test_neg: List[Symbol]
| 21.555556 | 35 | 0.71134 | 26 | 194 | 5.230769 | 0.461538 | 0.294118 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206186 | 194 | 9 | 36 | 21.555556 | 0.883117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 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 | 0 | 0 | 1 | 0 | 0 | 6 |
81c9bd8f1ad8ec7bef2411105e9fee9bb442bd31 | 64 | py | Python | SRGAN/__init__.py | iamharsha1999/theganbibliotheca | c764af367e850555d04d6760b6bca756737670d3 | [
"MIT"
] | 1 | 2021-02-03T19:46:35.000Z | 2021-02-03T19:46:35.000Z | SRGAN/__init__.py | iamharsha1999/theganbibliotheca | c764af367e850555d04d6760b6bca756737670d3 | [
"MIT"
] | null | null | null | SRGAN/__init__.py | iamharsha1999/theganbibliotheca | c764af367e850555d04d6760b6bca756737670d3 | [
"MIT"
] | null | null | null | from .srgan import *
from .dataset import *
from .train import * | 21.333333 | 22 | 0.734375 | 9 | 64 | 5.222222 | 0.555556 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 23 | 21.333333 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81e1ef7244dde446903380e76c53610e71b0ae92 | 4,026 | py | Python | tests/decorators/test_uri_parsing.py | qhvuEprod/connexion | 602f7087a95e436f7b87ce44c8abcd0fbe4bd295 | [
"Apache-2.0"
] | 14 | 2021-06-10T19:37:54.000Z | 2021-06-24T18:13:35.000Z | tests/decorators/test_uri_parsing.py | qhvuEprod/connexion | 602f7087a95e436f7b87ce44c8abcd0fbe4bd295 | [
"Apache-2.0"
] | 5 | 2021-06-11T09:27:43.000Z | 2021-07-15T14:39:17.000Z | tests/decorators/test_uri_parsing.py | qhvuEprod/connexion | 602f7087a95e436f7b87ce44c8abcd0fbe4bd295 | [
"Apache-2.0"
] | null | null | null | import pytest
from connexion.decorators.uri_parsing import (AlwaysMultiURIParser,
FirstValueURIParser,
Swagger2URIParser)
from werkzeug.datastructures import MultiDict
QUERY1 = MultiDict([("letters", "a"), ("letters", "b,c"),
... | 39.087379 | 86 | 0.547442 | 419 | 4,026 | 5.140811 | 0.138425 | 0.022284 | 0.033426 | 0.041783 | 0.800371 | 0.76091 | 0.709378 | 0.709378 | 0.709378 | 0.709378 | 0 | 0.012268 | 0.250869 | 4,026 | 102 | 87 | 39.470588 | 0.701923 | 0 | 0 | 0.619565 | 0 | 0 | 0.134377 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 1 | 0.032609 | false | 0 | 0.032609 | 0 | 0.195652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4e4cc66eaa2052987dc407f43b80ecbff930ca9 | 48 | py | Python | arcade_solutions/the_core/enclose_in_brackets.py | nickaigi/automatic-dollop | eb8222475c7871c1d5710242c5aed8c70ea0d2c8 | [
"Unlicense"
] | null | null | null | arcade_solutions/the_core/enclose_in_brackets.py | nickaigi/automatic-dollop | eb8222475c7871c1d5710242c5aed8c70ea0d2c8 | [
"Unlicense"
] | null | null | null | arcade_solutions/the_core/enclose_in_brackets.py | nickaigi/automatic-dollop | eb8222475c7871c1d5710242c5aed8c70ea0d2c8 | [
"Unlicense"
] | null | null | null | def enclose_in_brackets(s):
return f'({s})'
| 16 | 27 | 0.645833 | 8 | 48 | 3.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 28 | 24 | 0.725 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f20fd8adf55e749106267c1eb5b297f9db0b8570 | 208 | py | Python | inquire/agents/__init__.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | inquire/agents/__init__.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | inquire/agents/__init__.py | HARPLab/inquire | fa74eb10e5391a0f226753668a31527c68fc6962 | [
"BSD-3-Clause"
] | null | null | null | from inquire.agents.agent import Agent
from inquire.agents.dempref import DemPref
from inquire.agents.inquire import FixedInteractions, Inquire
__all__ = ["Agent", "DemPref", "FixedInteractions", "Inquire"]
| 34.666667 | 62 | 0.802885 | 24 | 208 | 6.791667 | 0.333333 | 0.202454 | 0.312883 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 208 | 5 | 63 | 41.6 | 0.867021 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
484b3658dac4259aefd729aa70453867c1cca8ea | 63 | py | Python | tests/monitoring/fixtures/__init__.py | palango/raiden-services | f2cbc5da166d4c367e232e1f45a60e39696f52bf | [
"MIT"
] | null | null | null | tests/monitoring/fixtures/__init__.py | palango/raiden-services | f2cbc5da166d4c367e232e1f45a60e39696f52bf | [
"MIT"
] | null | null | null | tests/monitoring/fixtures/__init__.py | palango/raiden-services | f2cbc5da166d4c367e232e1f45a60e39696f52bf | [
"MIT"
] | null | null | null | from .contracts import * # noqa
from .server import * # noqa
| 21 | 32 | 0.68254 | 8 | 63 | 5.375 | 0.625 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 63 | 2 | 33 | 31.5 | 0.877551 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4851c4c233716b69d820a7d8539dc455ea9b5fda | 253 | py | Python | flask_auther/exceptions.py | xurvan/flask-auther | fc7b6da4ea219057964f2e48cb061917a38a3d50 | [
"Apache-2.0"
] | 1 | 2020-03-18T12:24:56.000Z | 2020-03-18T12:24:56.000Z | flask_auther/exceptions.py | xurvan/futh | fc7b6da4ea219057964f2e48cb061917a38a3d50 | [
"Apache-2.0"
] | null | null | null | flask_auther/exceptions.py | xurvan/futh | fc7b6da4ea219057964f2e48cb061917a38a3d50 | [
"Apache-2.0"
] | null | null | null | from auther.exceptions import *
class RuleNotFound(Exception):
pass
class CookieNotFound(Exception):
pass
class TokenExpired(Exception):
pass
class PermissionDenied(Exception):
pass
class IncorrectUserPass(Exception):
pass
| 11.5 | 35 | 0.73913 | 24 | 253 | 7.791667 | 0.5 | 0.347594 | 0.385027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193676 | 253 | 21 | 36 | 12.047619 | 0.916667 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.545455 | 0.090909 | 0 | 0.545455 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4856a5aac267a25575f991a27dfc396f156c7f0b | 181 | py | Python | piaudio/blueprints/__init__.py | fun4jimmy/piaudio | 01f9c26464f69037471443aa3db782ccb76cb0f0 | [
"MIT"
] | null | null | null | piaudio/blueprints/__init__.py | fun4jimmy/piaudio | 01f9c26464f69037471443aa3db782ccb76cb0f0 | [
"MIT"
] | null | null | null | piaudio/blueprints/__init__.py | fun4jimmy/piaudio | 01f9c26464f69037471443aa3db782ccb76cb0f0 | [
"MIT"
] | null | null | null | """The blueprints subpackage defines all the flask application blueprints.
Using blueprints allows the code to be much more modular.
"""
from piaudio.blueprints.index import index
| 30.166667 | 74 | 0.80663 | 25 | 181 | 5.84 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138122 | 181 | 5 | 75 | 36.2 | 0.935897 | 0.718232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
4885e789c8b953212c8e39e8a3cf6ff16ca8bb0d | 28 | py | Python | metrics/__init__.py | kaylode/mediaeval20-pp | 9c115d8121dbc84d4198ff1d117635a60b177d60 | [
"MIT"
] | 2 | 2021-07-10T14:46:02.000Z | 2021-12-13T01:33:09.000Z | metrics/__init__.py | kaylode/mediaeval20-pp | 9c115d8121dbc84d4198ff1d117635a60b177d60 | [
"MIT"
] | null | null | null | metrics/__init__.py | kaylode/mediaeval20-pp | 9c115d8121dbc84d4198ff1d117635a60b177d60 | [
"MIT"
] | null | null | null | from .ssim import SSIMMetric | 28 | 28 | 0.857143 | 4 | 28 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fc38a4153441bb6035ba061906aa83823dfb76d | 31 | py | Python | __init__.py | shalevy1/explainx | 131af0202db1e9b74e51689ab521a80dde099ea5 | [
"MIT"
] | 1 | 2020-09-12T17:05:32.000Z | 2020-09-12T17:05:32.000Z | __init__.py | shalevy1/explainx | 131af0202db1e9b74e51689ab521a80dde099ea5 | [
"MIT"
] | null | null | null | __init__.py | shalevy1/explainx | 131af0202db1e9b74e51689ab521a80dde099ea5 | [
"MIT"
] | null | null | null | from explainx.explain import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6fe1329d2bbdf3f04884b93bd2b36b31dd211638 | 170 | py | Python | send.py | Nova-472/mqttTesting | 10932f3eeb682ed279f37bf8356d2480f73e468b | [
"Unlicense"
] | null | null | null | send.py | Nova-472/mqttTesting | 10932f3eeb682ed279f37bf8356d2480f73e468b | [
"Unlicense"
] | null | null | null | send.py | Nova-472/mqttTesting | 10932f3eeb682ed279f37bf8356d2480f73e468b | [
"Unlicense"
] | null | null | null | import paho.mqtt.publish as publish
publish.single("", "Hello", hostname="test.mosquitto.org")
publish.single("", "World!", hostname="test.mosquitto.org")
print("Done")
| 28.333333 | 59 | 0.723529 | 22 | 170 | 5.590909 | 0.636364 | 0.211382 | 0.341463 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070588 | 170 | 5 | 60 | 34 | 0.778481 | 0 | 0 | 0 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b50ece3949627e935c2455b45b42bf86e6decd93 | 38 | py | Python | main.py | acoffin31/Daily-Work-11 | 2b25ee224145f6aaebcb0e2eb30f675631fadcfd | [
"MIT"
] | null | null | null | main.py | acoffin31/Daily-Work-11 | 2b25ee224145f6aaebcb0e2eb30f675631fadcfd | [
"MIT"
] | null | null | null | main.py | acoffin31/Daily-Work-11 | 2b25ee224145f6aaebcb0e2eb30f675631fadcfd | [
"MIT"
] | null | null | null | x = 510
y = 510
c = (x + y)
print(c)
| 6.333333 | 11 | 0.447368 | 9 | 38 | 1.888889 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0.342105 | 38 | 5 | 12 | 7.6 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d260466ac3098b19fd39d3cf31eae1c289c985cc | 48 | py | Python | tests/unit_tests/rf_client_test_resources/primary_dependencies/secondary_dependencies/tertiary_dependencies/Lib2.py | chrisBrookes93/robotframework-slave | 663fe5b6ffae4582f7edab012eb013904046349b | [
"MIT"
] | 6 | 2020-03-27T21:29:12.000Z | 2022-02-16T08:20:23.000Z | tests/unit_tests/rf_client_test_resources/primary_dependencies/secondary_dependencies/tertiary_dependencies/Lib2.py | chrisBrookes93/robotframework-slave | 663fe5b6ffae4582f7edab012eb013904046349b | [
"MIT"
] | 9 | 2020-12-30T18:21:51.000Z | 2021-02-05T10:00:46.000Z | tests/unit_tests/rf_client_test_resources/primary_dependencies/secondary_dependencies/tertiary_dependencies/Lib2.py | chrisBrookes93/robotframework-slave | 663fe5b6ffae4582f7edab012eb013904046349b | [
"MIT"
] | 3 | 2020-12-30T18:06:12.000Z | 2022-01-30T02:49:07.000Z |
def Lib2_Keyword1():
print('Keyword 1') | 12 | 22 | 0.604167 | 6 | 48 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.25 | 48 | 4 | 22 | 12 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 0 | 0 | 1 | 0 | 6 |
d281a2d0fd6277aed5a893e33a994bcba425b036 | 266 | py | Python | src/python/WMCore/WMBS/Oracle/Fileset/ListFilesetByTask.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 21 | 2015-11-19T16:18:45.000Z | 2021-12-02T18:20:39.000Z | src/python/WMCore/WMBS/Oracle/Fileset/ListFilesetByTask.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 5,671 | 2015-01-06T14:38:52.000Z | 2022-03-31T22:11:14.000Z | src/python/WMCore/WMBS/Oracle/Fileset/ListFilesetByTask.py | khurtado/WMCore | f74e252412e49189a92962945a94f93bec81cd1e | [
"Apache-2.0"
] | 67 | 2015-01-21T15:55:38.000Z | 2022-02-03T19:53:13.000Z | #!/usr/bin/env python
"""
_ListFilesetByTask_
Oracle implementation of Fileset.ListFilesetByTask
"""
from WMCore.WMBS.MySQL.Fileset.ListFilesetByTask import ListFilesetByTask as ListFilesetByTaskMySQL
class ListFilesetByTask(ListFilesetByTaskMySQL):
pass
| 16.625 | 99 | 0.819549 | 24 | 266 | 9 | 0.75 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109023 | 266 | 15 | 100 | 17.733333 | 0.911392 | 0.345865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
96291c73957669f4eaf6fd02ec820044195e5596 | 229 | py | Python | tests/test_tigera.py | charmed-kubernetes/layer-tigera-secure-ee | 53ae5bbe9340089177e946165819c8fd4e5fa350 | [
"Apache-2.0"
] | 1 | 2019-12-16T21:09:48.000Z | 2019-12-16T21:09:48.000Z | tests/test_tigera.py | charmed-kubernetes/layer-tigera-secure-ee | 53ae5bbe9340089177e946165819c8fd4e5fa350 | [
"Apache-2.0"
] | 11 | 2019-05-24T15:51:27.000Z | 2021-11-29T16:55:19.000Z | tests/test_tigera.py | charmed-kubernetes/layer-tigera-secure-ee | 53ae5bbe9340089177e946165819c8fd4e5fa350 | [
"Apache-2.0"
] | 1 | 2021-02-01T11:32:43.000Z | 2021-02-01T11:32:43.000Z | from charms.layer import status # patched
from reactive.calico import pre_series_upgrade
def test_series_upgrade():
assert status.blocked.call_count == 0
pre_series_upgrade()
assert status.blocked.call_count == 1
| 22.9 | 46 | 0.768559 | 32 | 229 | 5.25 | 0.59375 | 0.232143 | 0.190476 | 0.297619 | 0.488095 | 0.488095 | 0.488095 | 0 | 0 | 0 | 0 | 0.010417 | 0.161572 | 229 | 9 | 47 | 25.444444 | 0.864583 | 0.030568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 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 | 0 | 0 | 0 | 6 |
9644884ac66b969ab443a387344b15e49273ac8a | 1,993 | py | Python | webdriver/tests/bidi/browsing_context/navigate/invalid.py | flackr/wpt | ba85ed728a0f1ba273aa12d84c87181ff10b98ec | [
"BSD-3-Clause"
] | null | null | null | webdriver/tests/bidi/browsing_context/navigate/invalid.py | flackr/wpt | ba85ed728a0f1ba273aa12d84c87181ff10b98ec | [
"BSD-3-Clause"
] | null | null | null | webdriver/tests/bidi/browsing_context/navigate/invalid.py | flackr/wpt | ba85ed728a0f1ba273aa12d84c87181ff10b98ec | [
"BSD-3-Clause"
] | null | null | null | import pytest
import webdriver.bidi.error as error
pytestmark = pytest.mark.asyncio
@pytest.mark.parametrize("value", [None, False, 42, {}, []])
async def test_params_context_invalid_type(bidi_session, inline, value):
with pytest.raises(error.InvalidArgumentException):
await bidi_session.browsing_context... | 37.603774 | 83 | 0.71149 | 232 | 1,993 | 5.896552 | 0.163793 | 0.096491 | 0.092105 | 0.114035 | 0.91155 | 0.898392 | 0.815789 | 0.815789 | 0.77193 | 0.711988 | 0 | 0.003578 | 0.158555 | 1,993 | 52 | 84 | 38.326923 | 0.812165 | 0 | 0 | 0.538462 | 0 | 0 | 0.066232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.051282 | 0 | 0.051282 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9653777ea8c87ad96b15e8f56d55c377fd19d1a8 | 89 | py | Python | lightning_med/datasets/__init__.py | quanmario0311/medTrans | 18bd98789c10dfcff13f03f7efe535e6a77d0a86 | [
"MIT"
] | null | null | null | lightning_med/datasets/__init__.py | quanmario0311/medTrans | 18bd98789c10dfcff13f03f7efe535e6a77d0a86 | [
"MIT"
] | null | null | null | lightning_med/datasets/__init__.py | quanmario0311/medTrans | 18bd98789c10dfcff13f03f7efe535e6a77d0a86 | [
"MIT"
] | null | null | null | from .ISIC2019 import *
from .utils import *
from .base_datamodule import BaseDataModule
| 22.25 | 43 | 0.808989 | 11 | 89 | 6.454545 | 0.636364 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.134831 | 89 | 3 | 44 | 29.666667 | 0.87013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9655f1c6d6dc89ba47465898ea1e5ca174b2a790 | 165 | py | Python | tests/test_riak_failure/__init__.py | basho/cache_proxy_ee | 5bebd1ed23b6a1d9562c7d40981b14e116142b6b | [
"Apache-2.0"
] | null | null | null | tests/test_riak_failure/__init__.py | basho/cache_proxy_ee | 5bebd1ed23b6a1d9562c7d40981b14e116142b6b | [
"Apache-2.0"
] | null | null | null | tests/test_riak_failure/__init__.py | basho/cache_proxy_ee | 5bebd1ed23b6a1d9562c7d40981b14e116142b6b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#coding: utf-8
from riak_common import *
def setup():
cluster_setup_for_partition()
def teardown():
cluster_teardown_for_partition()
| 16.5 | 36 | 0.739394 | 23 | 165 | 5 | 0.73913 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.145455 | 165 | 9 | 37 | 18.333333 | 0.808511 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
966026e5d77181130b951e085b8d144a84a21c20 | 205 | py | Python | tests/test_toIdentifier.py | JwoolardAU/pandoc-numbering | e505c6bb26ce46c4cb9b53d084cc9aa430327a40 | [
"BSD-3-Clause"
] | null | null | null | tests/test_toIdentifier.py | JwoolardAU/pandoc-numbering | e505c6bb26ce46c4cb9b53d084cc9aa430327a40 | [
"BSD-3-Clause"
] | null | null | null | tests/test_toIdentifier.py | JwoolardAU/pandoc-numbering | e505c6bb26ce46c4cb9b53d084cc9aa430327a40 | [
"BSD-3-Clause"
] | null | null | null | # This Python file uses the following encoding: utf-8
from unittest import TestCase
from pandoc_numbering import toIdentifier
def test_toIdentifier():
assert toIdentifier(u'0123 Ê à') == 'e-a'
| 20.5 | 53 | 0.746341 | 29 | 205 | 5.206897 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029762 | 0.180488 | 205 | 9 | 54 | 22.777778 | 0.869048 | 0.24878 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
967f98e1ae70033edafaad6f76e31c3dd1483516 | 35 | py | Python | livemark/plugins/redirect/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/redirect/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/redirect/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import RedirectPlugin
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
738494bfad484d32e1733ddd40e8c8ecd31fa6b5 | 47 | bzl | Python | bazel.build/cpplint-demo/bazel/common.bzl | storypku/storydev | 61fbfbf665a5e6e2f1bcfdf80ce6bf21d9e28b95 | [
"Apache-2.0"
] | 6 | 2020-06-11T08:31:48.000Z | 2022-03-29T17:06:42.000Z | bazel.build/cpplint-demo/bazel/common.bzl | storypku/storydev | 61fbfbf665a5e6e2f1bcfdf80ce6bf21d9e28b95 | [
"Apache-2.0"
] | 1 | 2020-06-03T01:45:52.000Z | 2021-07-17T14:49:53.000Z | bazel.build/cpplint-demo/bazel/common.bzl | storypku/storydev | 61fbfbf665a5e6e2f1bcfdf80ce6bf21d9e28b95 | [
"Apache-2.0"
] | 1 | 2022-03-30T15:41:12.000Z | 2022-03-30T15:41:12.000Z | def clean_dep(dep):
return str(Label(dep))
| 15.666667 | 26 | 0.680851 | 8 | 47 | 3.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 27 | 23.5 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
73a8cada05f022687e6bcc8c9deb86eb69269ef8 | 56 | py | Python | myweb3/__init__.py | krizex/myweb3 | 9725d5002a4d4d833aedbaac643097ebf1e928fb | [
"MIT"
] | null | null | null | myweb3/__init__.py | krizex/myweb3 | 9725d5002a4d4d833aedbaac643097ebf1e928fb | [
"MIT"
] | null | null | null | myweb3/__init__.py | krizex/myweb3 | 9725d5002a4d4d833aedbaac643097ebf1e928fb | [
"MIT"
] | null | null | null | from .logger import set_root_logger
set_root_logger()
| 11.2 | 35 | 0.821429 | 9 | 56 | 4.666667 | 0.555556 | 0.333333 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 4 | 36 | 14 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
73c27246987483cbf7e3843c58b8b74aa63eefc2 | 148 | py | Python | dist/Basilisk/simulation/thrusterDynamicEffector/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/simulation/thrusterDynamicEffector/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/simulation/thrusterDynamicEffector/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the thrusterDynamicEffector package is automatically generated by the build system
from thrusterDynamicEffector import * | 74 | 110 | 0.858108 | 18 | 148 | 6.833333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 148 | 2 | 111 | 74 | 0.946154 | 0.72973 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73f02c00c06913c13f3df105a1fbdc3b710fc309 | 177 | py | Python | app/views/exception_template.py | hezmondo/lulu | 507a863f00086e827e4063d0666a4d97f10941c6 | [
"MIT"
] | null | null | null | app/views/exception_template.py | hezmondo/lulu | 507a863f00086e827e4063d0666a4d97f10941c6 | [
"MIT"
] | 7 | 2021-03-03T00:25:30.000Z | 2021-03-30T14:38:30.000Z | app/views/exception_template.py | hezmondo/lulu | 507a863f00086e827e4063d0666a4d97f10941c6 | [
"MIT"
] | null | null | null | class ExceptionTemplate(Exception):
def __call__(self, *args):
return self.__class__(*(self.args + args))
def __str__(self):
return ': '.join(self.args) | 29.5 | 50 | 0.638418 | 20 | 177 | 5.05 | 0.5 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214689 | 177 | 6 | 51 | 29.5 | 0.726619 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
fb9450737fe25dcc332c800999a004fb3a142811 | 25 | py | Python | medkit/initialisers/__init__.py | XanderJC/medkit-learn | 13b06906f6d093c4978f52f1e8f06e998608faa3 | [
"Apache-2.0"
] | 14 | 2021-06-06T18:14:55.000Z | 2022-03-18T14:00:05.000Z | medkit/initialisers/__init__.py | vanderschaarlab/medkit-learn | a8bed6e7a76769f28abfadb3231f139cbfe44b49 | [
"Apache-2.0"
] | 1 | 2021-06-13T05:34:21.000Z | 2021-06-15T09:52:50.000Z | medkit/initialisers/__init__.py | vanderschaarlab/medkit-learn | a8bed6e7a76769f28abfadb3231f139cbfe44b49 | [
"Apache-2.0"
] | 1 | 2021-10-18T14:07:45.000Z | 2021-10-18T14:07:45.000Z | from .VAE import VAEInit
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fb9a00602e041db6ba09be9b1372faa72cfc472a | 12,417 | py | Python | modules/helpers.py | rhoposit/self-attention-tacotron | bc1ce6a515925ff6f3c0b6b891fbe5fb112726c5 | [
"BSD-3-Clause"
] | null | null | null | modules/helpers.py | rhoposit/self-attention-tacotron | bc1ce6a515925ff6f3c0b6b891fbe5fb112726c5 | [
"BSD-3-Clause"
] | null | null | null | modules/helpers.py | rhoposit/self-attention-tacotron | bc1ce6a515925ff6f3c0b6b891fbe5fb112726c5 | [
"BSD-3-Clause"
] | 1 | 2021-06-24T22:15:58.000Z | 2021-06-24T22:15:58.000Z | # ==============================================================================
# Copyright (c) 2018, Yamagishi Laboratory, National Institute of Informatics
# Author: Yusuke Yasuda (yasuda@nii.ac.jp)
# All rights reserved.
# ==============================================================================
""" """
impo... | 44.505376 | 142 | 0.626077 | 1,657 | 12,417 | 4.320459 | 0.081473 | 0.088001 | 0.069842 | 0.06649 | 0.867579 | 0.848443 | 0.834474 | 0.818969 | 0.795083 | 0.754714 | 0 | 0.015163 | 0.256423 | 12,417 | 278 | 143 | 44.665468 | 0.760208 | 0.043972 | 0 | 0.682243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023364 | 1 | 0.172897 | false | 0 | 0.014019 | 0.098131 | 0.359813 | 0.004673 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fbae5858bd259b11c5b437b4fe918e2f7dcc18fb | 67 | py | Python | liboh/plugins/js/scripts/unitTests/__init__.py | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | 1 | 2016-05-09T03:34:51.000Z | 2016-05-09T03:34:51.000Z | liboh/plugins/js/scripts/unitTests/__init__.py | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | liboh/plugins/js/scripts/unitTests/__init__.py | pathorn/sirikata | 5d366a822ef2fb57cd9f64cc4f6085c0a635fdfa | [
"BSD-3-Clause"
] | null | null | null | import sys
import os.path
sys.path.append( os.path.dir(__file__ ))
| 16.75 | 40 | 0.761194 | 12 | 67 | 3.916667 | 0.583333 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 3 | 41 | 22.333333 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbc7a87a1493a55c73b15a84ea81acb318bf8440 | 129 | py | Python | emat/model/core_python/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 13 | 2019-03-26T13:27:43.000Z | 2022-02-02T18:30:36.000Z | emat/model/core_python/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 19 | 2019-04-24T20:58:10.000Z | 2020-09-11T22:31:06.000Z | emat/model/core_python/__init__.py | jinsanity07git/tmip-emat | ff816cf50f141825078bb276d6da46d92c5028a9 | [
"BSD-3-Clause"
] | 17 | 2019-02-19T16:13:52.000Z | 2022-02-14T20:50:36.000Z | # -*- coding: utf-8 -*-
from .core_python_api import PythonCoreModel
from .core_python_examples import Road_Capacity_Investment
| 25.8 | 58 | 0.806202 | 17 | 129 | 5.764706 | 0.764706 | 0.163265 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.108527 | 129 | 4 | 59 | 32.25 | 0.843478 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbdd9c7f5e5f97ecacf1eaf2c07aab3f211440ea | 130 | py | Python | problems/0013/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | problems/0013/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | problems/0013/compute.py | Dynortice/Project-Euler | 99a0201b5d5f147eab77fc52d9db8995045cded0 | [
"MIT"
] | null | null | null | from euler.big_int import BigInt
def compute(n: int, numbers: str) -> str:
return sum(map(BigInt, numbers.split('\n')))[:n]
| 21.666667 | 52 | 0.669231 | 21 | 130 | 4.095238 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 5 | 53 | 26 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
83c32c5d1e58f6a344965442834a06c5afb9eeaa | 724 | py | Python | fedml_core/distributed/communication/utils.py | LightSecAgg/MLSys2022_anonymous | ffda061ce8edaad2e7a3b8d6c38421c06f5bf7f7 | [
"Apache-2.0"
] | 2 | 2021-12-11T09:31:12.000Z | 2022-03-29T13:37:13.000Z | fedml_core/distributed/communication/utils.py | LightSecAgg/MLSys2022_anonymous | ffda061ce8edaad2e7a3b8d6c38421c06f5bf7f7 | [
"Apache-2.0"
] | null | null | null | fedml_core/distributed/communication/utils.py | LightSecAgg/MLSys2022_anonymous | ffda061ce8edaad2e7a3b8d6c38421c06f5bf7f7 | [
"Apache-2.0"
] | 1 | 2021-12-11T11:25:04.000Z | 2021-12-11T11:25:04.000Z | import logging
from time import time
def log_communication_tick(sender, receiver, timestamp=None):
logging.info("--Benchmark tick from {} to {} at {}".format(sender, receiver, timestamp or time()))
def log_communication_tock(sender, receiver, timestamp=None):
logging.info("--Benchmark tock from {} to {} at ... | 40.222222 | 113 | 0.727901 | 98 | 724 | 5.214286 | 0.265306 | 0.054795 | 0.078278 | 0.187867 | 0.81409 | 0.81409 | 0.782779 | 0.598826 | 0.598826 | 0.391389 | 0 | 0 | 0.128453 | 724 | 17 | 114 | 42.588235 | 0.809826 | 0 | 0 | 0 | 0 | 0 | 0.20442 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
83f5b82de77db0f1f921e3784b222b0706e22744 | 156 | py | Python | python/us-opp/poglavlje09/simple.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/us-opp/poglavlje09/simple.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | python/us-opp/poglavlje09/simple.py | jasarsoft/examples | d6fddfcb8c50c31fbfe170a3edd2b6c07890f13e | [
"MIT"
] | null | null | null | #modul simple
print("modul 'simple' napunjen")
def funkcija1():
print("'funkcija1' je pozvana")
def funkcija2():
print("'funkcija2' je pozvana")
| 15.6 | 35 | 0.673077 | 18 | 156 | 5.833333 | 0.5 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.166667 | 156 | 9 | 36 | 17.333333 | 0.776923 | 0.076923 | 0 | 0 | 0 | 0 | 0.471831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0 | 0 | 0.4 | 0.6 | 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 | 0 | 0 | 0 | 1 | 0 | 6 |
f7dbfbe68bf706c1f62d6e7291223f776323b136 | 108 | py | Python | Python/hello.py | ankitboghra/hello-world | 42c265ebf374c1a6195d0dd100e0d837f83cbd0d | [
"MIT"
] | null | null | null | Python/hello.py | ankitboghra/hello-world | 42c265ebf374c1a6195d0dd100e0d837f83cbd0d | [
"MIT"
] | null | null | null | Python/hello.py | ankitboghra/hello-world | 42c265ebf374c1a6195d0dd100e0d837f83cbd0d | [
"MIT"
] | null | null | null | def sayHello():#Function to print Hello World
print("Hello world !")
sayHello()#Calling the function
| 21.6 | 46 | 0.712963 | 14 | 108 | 5.5 | 0.642857 | 0.25974 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175926 | 108 | 4 | 47 | 27 | 0.865169 | 0.453704 | 0 | 0 | 0 | 0 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
793b91d972bee4e7e192b2959edd864ba051d6c3 | 42,753 | py | Python | app/admin/routes.py | neil-rutherford/icyfire-website | a8170b989fe845c49306247259bfc39d6070bbe9 | [
"MIT"
] | null | null | null | app/admin/routes.py | neil-rutherford/icyfire-website | a8170b989fe845c49306247259bfc39d6070bbe9 | [
"MIT"
] | null | null | null | app/admin/routes.py | neil-rutherford/icyfire-website | a8170b989fe845c49306247259bfc39d6070bbe9 | [
"MIT"
] | null | null | null | from flask import render_template, request, url_for, redirect, flash
from flask_login import login_required, current_user
from app import db
from app.admin import bp
from app.models import User, Sentry, Domain
from datetime import datetime, timedelta
# HELPER FUNCTION
def make_sentry(user_id, domain_id, ip_address, en... | 71.733221 | 537 | 0.735902 | 5,978 | 42,753 | 5.027267 | 0.040482 | 0.066549 | 0.0757 | 0.080291 | 0.910192 | 0.900642 | 0.858616 | 0.833394 | 0.826373 | 0.817922 | 0 | 0.015116 | 0.136552 | 42,753 | 596 | 538 | 71.733221 | 0.798998 | 0.122822 | 0 | 0.510101 | 0 | 0 | 0.178585 | 0.092996 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05303 | false | 0 | 0.015152 | 0 | 0.217172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f726be4df3aac1b1ae5b316e7cceff2b07cb123a | 38 | py | Python | files2md/structure_objects/structurable_directory/__init__.py | KacperKotlewski/file_structure_to_markdown | aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7 | [
"MIT"
] | 1 | 2020-02-22T00:41:04.000Z | 2020-02-22T00:41:04.000Z | files2md/structure_objects/structurable_directory/__init__.py | KacperKotlewski/file_structure_to_markdown | aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7 | [
"MIT"
] | null | null | null | files2md/structure_objects/structurable_directory/__init__.py | KacperKotlewski/file_structure_to_markdown | aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7 | [
"MIT"
] | null | null | null | from .directoryObj import DirectoryObj | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f73b5bf2af9066b425c3ca2403a9dd39d0dc81aa | 22,549 | py | Python | tripleo_workflows/tests/actions/test_deployment.py | bcrochet/tripleo-workflows | 3ac8aa6a47ef005358c98c987ddb17c31fd1d1a4 | [
"Apache-2.0"
] | null | null | null | tripleo_workflows/tests/actions/test_deployment.py | bcrochet/tripleo-workflows | 3ac8aa6a47ef005358c98c987ddb17c31fd1d1a4 | [
"Apache-2.0"
] | null | null | null | tripleo_workflows/tests/actions/test_deployment.py | bcrochet/tripleo-workflows | 3ac8aa6a47ef005358c98c987ddb17c31fd1d1a4 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 Red Hat, 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 ... | 43.784466 | 79 | 0.625571 | 2,348 | 22,549 | 5.67632 | 0.123509 | 0.027686 | 0.055222 | 0.060024 | 0.802896 | 0.776711 | 0.760579 | 0.750375 | 0.739046 | 0.720363 | 0 | 0.011153 | 0.276287 | 22,549 | 514 | 80 | 43.86965 | 0.805564 | 0.039115 | 0 | 0.685714 | 0 | 0 | 0.251791 | 0.143847 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.042857 | false | 0.009524 | 0.021429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7471d6b3b950b18a173e693b62b2283a3f2eeff | 118 | py | Python | boa3_test/test_sc/interop_test/policy/ImportInteropPolicy.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/interop_test/policy/ImportInteropPolicy.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/interop_test/policy/ImportInteropPolicy.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import interop, public
@public
def main() -> int:
return interop.policy.get_exec_fee_factor()
| 16.857143 | 47 | 0.745763 | 17 | 118 | 5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.152542 | 118 | 6 | 48 | 19.666667 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f7547065bbd8d70c371fbca871f7ebc70d1ac711 | 150 | py | Python | main.py | adeen-s/DumbAssistant | eb86a69340c86e2cb0dcc77693eef125223d1b1f | [
"MIT"
] | null | null | null | main.py | adeen-s/DumbAssistant | eb86a69340c86e2cb0dcc77693eef125223d1b1f | [
"MIT"
] | null | null | null | main.py | adeen-s/DumbAssistant | eb86a69340c86e2cb0dcc77693eef125223d1b1f | [
"MIT"
] | null | null | null | from speechinput import speech_input
from speechoutput import speech_output
in_speech = speech_input()
if (in_speech):
speech_output(in_speech)
| 18.75 | 38 | 0.813333 | 21 | 150 | 5.47619 | 0.428571 | 0.208696 | 0.243478 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 7 | 39 | 21.428571 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f7846427744beb52b5127b23d28246bda2e85a60 | 196 | py | Python | students/K33401/Komsomolenko_Vlad/lab_2/Hotel/accounts/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 4 | 2020-09-03T15:41:42.000Z | 2021-12-24T15:28:20.000Z | students/K33401/Komsomolenko_Vlad/lab_2/Hotel/accounts/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 48 | 2020-09-13T20:22:42.000Z | 2021-04-30T11:13:30.000Z | students/K33401/Komsomolenko_Vlad/lab_2/Hotel/accounts/admin.py | ShubhamKunal/ITMO_ICT_WebDevelopment_2020-2021 | bb91c91a56d21cec2b12ae4cc722eaa652a88420 | [
"MIT"
] | 69 | 2020-09-06T10:32:37.000Z | 2021-11-28T18:13:17.000Z | from django.contrib import admin
from .models import Hotel, Room, Reserve, Feedback
admin.site.register(Hotel)
admin.site.register(Room)
admin.site.register(Reserve)
admin.site.register(Feedback) | 28 | 50 | 0.816327 | 28 | 196 | 5.714286 | 0.428571 | 0.225 | 0.425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076531 | 196 | 7 | 51 | 28 | 0.883978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e3e9303ac78e3a2b7acb2e19852a890afd1fa6c3 | 102 | py | Python | webUI/syndataUI/views.py | stephanianevado/syndata | 8bcd35cd32f968d6b5918b7f7f2e6a5efcc44d07 | [
"MIT"
] | 1 | 2021-10-12T13:53:53.000Z | 2021-10-12T13:53:53.000Z | webUI/syndataUI/views.py | stephanianevado/syndata | 8bcd35cd32f968d6b5918b7f7f2e6a5efcc44d07 | [
"MIT"
] | null | null | null | webUI/syndataUI/views.py | stephanianevado/syndata | 8bcd35cd32f968d6b5918b7f7f2e6a5efcc44d07 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def base(request):
return render(request, "tools.html", {})
| 17 | 44 | 0.715686 | 13 | 102 | 5.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 5 | 45 | 20.4 | 0.848837 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
581bb397a4440f2e15c7e5f3a19b748d927d1319 | 28 | py | Python | pymultisort/__init__.py | 1smaa/pymultisort | c65c7b9659f647ed6e4dac86c483c7456d29dd35 | [
"MIT"
] | null | null | null | pymultisort/__init__.py | 1smaa/pymultisort | c65c7b9659f647ed6e4dac86c483c7456d29dd35 | [
"MIT"
] | null | null | null | pymultisort/__init__.py | 1smaa/pymultisort | c65c7b9659f647ed6e4dac86c483c7456d29dd35 | [
"MIT"
] | null | null | null | from .pymultisort import *
| 14 | 27 | 0.75 | 3 | 28 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 1 | 28 | 28 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
583aa9ae3a9f3da2ec96b03f9853a1c3bf77bbb9 | 98 | py | Python | ida_export/preselect/post_processors/__init__.py | RUB-SysSec/tropyhunter | 7d027bf18944c641296ed5d68462f4400dbc055e | [
"MIT"
] | 1 | 2020-11-06T21:18:01.000Z | 2020-11-06T21:18:01.000Z | ida_export/preselect/post_processors/__init__.py | RUB-SysSec/tropyhunter | 7d027bf18944c641296ed5d68462f4400dbc055e | [
"MIT"
] | null | null | null | ida_export/preselect/post_processors/__init__.py | RUB-SysSec/tropyhunter | 7d027bf18944c641296ed5d68462f4400dbc055e | [
"MIT"
] | null | null | null | # Export the post processor classes
from .call_graph_post_processor import CallGraphPostProcessor
| 32.666667 | 61 | 0.877551 | 12 | 98 | 6.916667 | 0.833333 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 98 | 2 | 62 | 49 | 0.943182 | 0.336735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5893cdbee6f7cc484859c21a288a636f2e553c41 | 126 | py | Python | optmlstat/ml/modeling/bayesian_modeler_base.py | sungheeyun/optmlstat | 11d529c915bf27976da9157471a6dbf7df34d205 | [
"MIT"
] | 4 | 2020-04-08T03:48:59.000Z | 2020-12-30T01:39:52.000Z | optmlstat/ml/modeling/bayesian_modeler_base.py | sungheeyun/optmlstat | 11d529c915bf27976da9157471a6dbf7df34d205 | [
"MIT"
] | null | null | null | optmlstat/ml/modeling/bayesian_modeler_base.py | sungheeyun/optmlstat | 11d529c915bf27976da9157471a6dbf7df34d205 | [
"MIT"
] | 1 | 2020-04-08T04:04:00.000Z | 2020-04-08T04:04:00.000Z | from abc import ABC
from ml.modeling.modeler_base import ModelerBase
class BayesianModelerBase(ModelerBase, ABC):
pass
| 15.75 | 48 | 0.801587 | 16 | 126 | 6.25 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150794 | 126 | 7 | 49 | 18 | 0.934579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
49abfbb989b3000e0ff3a20352b3ee0581bbe5c6 | 2,732 | py | Python | pdms/qtum_bridge/robin8/pmes_interface.py | chris0203/pmes | 97df332b859803e9953f983dda3ca47d4bc35758 | [
"Apache-2.0"
] | 5 | 2018-07-31T07:37:09.000Z | 2019-05-27T04:40:38.000Z | pdms/qtum_bridge/robin8/pmes_interface.py | chris0203/pmes | 97df332b859803e9953f983dda3ca47d4bc35758 | [
"Apache-2.0"
] | 4 | 2018-08-01T11:11:54.000Z | 2022-03-11T23:20:53.000Z | pdms/qtum_bridge/robin8/pmes_interface.py | chris0203/pmes | 97df332b859803e9953f983dda3ca47d4bc35758 | [
"Apache-2.0"
] | 5 | 2018-06-09T07:42:04.000Z | 2018-12-28T21:15:52.000Z | from abc import abstractmethod, ABCMeta
class Pmes_Interface:
__metaclass__ = ABCMeta
@abstractmethod
def setDescription(self, cid, descr):
return NotImplementedError()
@abstractmethod
def getCid(self, ipfs_hash):
return NotImplementedError()
@abstractmethod
def setAcces... | 24.176991 | 90 | 0.690337 | 234 | 2,732 | 7.952991 | 0.260684 | 0.237507 | 0.523912 | 0.564213 | 0.584632 | 0.424503 | 0.19022 | 0.074154 | 0.074154 | 0 | 0 | 0 | 0.233895 | 2,732 | 112 | 91 | 24.392857 | 0.889154 | 0 | 0 | 0.641975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.320988 | false | 0 | 0.012346 | 0.320988 | 0.679012 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
49bd0037b25b6a16a1f4506d8d032a248010b5b5 | 141 | py | Python | frag_test.py | dhiltonp/memtools | abb713fdbe52edc10be864839f42e7543c4d1dcb | [
"MIT"
] | null | null | null | frag_test.py | dhiltonp/memtools | abb713fdbe52edc10be864839f42e7543c4d1dcb | [
"MIT"
] | null | null | null | frag_test.py | dhiltonp/memtools | abb713fdbe52edc10be864839f42e7543c4d1dcb | [
"MIT"
] | 1 | 2022-01-08T18:29:55.000Z | 2022-01-08T18:29:55.000Z | from .frag import frag
def test_frag():
pagememsize, memsize, frag_ratio = frag()
assert frag_ratio < 1
assert frag_ratio > .1
| 17.625 | 45 | 0.680851 | 20 | 141 | 4.6 | 0.5 | 0.293478 | 0.326087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.234043 | 141 | 7 | 46 | 20.142857 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49d2a3678826e62f5204512e1e6a4543ec000d9d | 86,662 | py | Python | src/snc/environments/examples.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 5 | 2021-03-24T16:23:10.000Z | 2021-11-17T12:44:51.000Z | src/snc/environments/examples.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 3 | 2021-03-26T01:16:08.000Z | 2021-05-08T22:06:47.000Z | src/snc/environments/examples.py | dmcnamee/snc | c2da8c1e9ecdc42c59b9de73224b3d50ee1c9786 | [
"Apache-2.0"
] | 2 | 2021-03-24T17:20:06.000Z | 2021-04-19T09:01:12.000Z | # Set of examples of systems that can be modelled as controlled random walks, from CTCN book.
"""
*Explanation of boundary constraints data structure
list_boundary_constraint_matrices is a list (of np.ndarray type) of length equal to the
number of resources.
Each element of the list corresponds to a single resource, ... | 53.927816 | 100 | 0.523067 | 9,744 | 86,662 | 4.45392 | 0.052545 | 0.029125 | 0.027305 | 0.021291 | 0.813198 | 0.766746 | 0.744556 | 0.723381 | 0.711376 | 0.69308 | 0 | 0.067862 | 0.372735 | 86,662 | 1,606 | 101 | 53.961395 | 0.7305 | 0.139438 | 0 | 0.597913 | 0 | 0 | 0.00162 | 0 | 0 | 0 | 0 | 0.001245 | 0.02809 | 1 | 0.02488 | false | 0 | 0.007223 | 0 | 0.056982 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49e7f53563a5918f761f178716a0ce10f364fc96 | 280 | py | Python | snmpagent_unity/unity_impl/VolumeAllocatedSize.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:14:59.000Z | 2019-10-02T17:47:59.000Z | snmpagent_unity/unity_impl/VolumeAllocatedSize.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 2 | 2019-03-01T11:26:29.000Z | 2019-10-11T18:56:54.000Z | snmpagent_unity/unity_impl/VolumeAllocatedSize.py | factioninc/snmp-unity-agent | 3525dc0fac60d1c784dcdd7c41693544bcbef843 | [
"Apache-2.0"
] | 1 | 2019-10-03T21:09:17.000Z | 2019-10-03T21:09:17.000Z | class VolumeAllocatedSize(object):
def read_get(self, name, idx_name, unity_client):
return unity_client.get_lun_size_allocated(idx_name)
class VolumeAllocatedSizeColumn(object):
def get_idx(self, name, idx, unity_client):
return unity_client.get_luns()
| 31.111111 | 60 | 0.757143 | 37 | 280 | 5.405405 | 0.459459 | 0.22 | 0.11 | 0.22 | 0.31 | 0.31 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 280 | 8 | 61 | 35 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b74510536d3c448ef3c0fac4a0f394c9370684b0 | 3,277 | py | Python | dojo/unittests/tools/test_intsights_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 1,772 | 2018-01-22T23:32:15.000Z | 2022-03-31T14:49:33.000Z | dojo/unittests/tools/test_intsights_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 3,461 | 2018-01-20T19:12:28.000Z | 2022-03-31T17:14:39.000Z | dojo/unittests/tools/test_intsights_parser.py | axelpavageau/django-DefectDojo | 00b425742b783ada0f432241c2812ac1257feb73 | [
"BSD-3-Clause"
] | 1,173 | 2018-01-23T07:10:23.000Z | 2022-03-31T14:40:43.000Z | from django.test import TestCase
from dojo.models import Test
from dojo.tools.intsights.parser import IntSightsParser
class TestIntSightsParser(TestCase):
def test_intsights_parser_with_no_vuln_has_no_findings_json(self):
with self.assertRaises(ValueError):
testfile = open("dojo/unittests/scan... | 45.513889 | 116 | 0.712237 | 368 | 3,277 | 6.07337 | 0.201087 | 0.060403 | 0.057271 | 0.078747 | 0.81566 | 0.794183 | 0.774497 | 0.774497 | 0.774497 | 0.740492 | 0 | 0.016635 | 0.192859 | 3,277 | 71 | 117 | 46.15493 | 0.828355 | 0 | 0 | 0.491228 | 0 | 0 | 0.205981 | 0.14617 | 0 | 0 | 0 | 0 | 0.245614 | 1 | 0.140351 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3f84c82bedc12bdda9e5223f1c90f4d784c2bf2d | 7,075 | py | Python | tests/parsing/xpath/generic_xpath_functions_test.py | elifesciences/sciencebeam-judge | 357f1b4266674611b24371224468db268ed4574e | [
"MIT"
] | null | null | null | tests/parsing/xpath/generic_xpath_functions_test.py | elifesciences/sciencebeam-judge | 357f1b4266674611b24371224468db268ed4574e | [
"MIT"
] | 189 | 2018-01-11T17:14:18.000Z | 2022-03-28T17:30:11.000Z | tests/parsing/xpath/generic_xpath_functions_test.py | elifesciences/sciencebeam-judge | 357f1b4266674611b24371224468db268ed4574e | [
"MIT"
] | null | null | null | import pytest
from lxml.builder import E
from sciencebeam_judge.utils.xml import get_text_content_list
from sciencebeam_judge.parsing.xpath.generic_xpath_functions import register_functions
TEXT_1 = 'Text 1'
TEXT_2 = 'Text 2'
@pytest.fixture(autouse=True)
def _register_functions():
register_functions()
cla... | 33.530806 | 92 | 0.483392 | 724 | 7,075 | 4.48895 | 0.127072 | 0.033846 | 0.08 | 0.078462 | 0.813846 | 0.809538 | 0.772615 | 0.728615 | 0.727077 | 0.709231 | 0 | 0.014621 | 0.390954 | 7,075 | 210 | 93 | 33.690476 | 0.739615 | 0 | 0 | 0.620879 | 0 | 0 | 0.172862 | 0.09159 | 0 | 0 | 0 | 0 | 0.10989 | 1 | 0.115385 | false | 0 | 0.021978 | 0 | 0.17033 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3fa355d7937b4776745afa792a2229a4ef6ac504 | 195 | py | Python | src/backend/app/db/__init__.py | douglasdaly/dougliz-wedding | da673baf3a7387c3818960c0ffa12ab7c830a89b | [
"MIT"
] | 5 | 2020-02-02T02:39:23.000Z | 2021-08-17T15:50:57.000Z | src/backend/app/db/__init__.py | douglasdaly/dougliz-wedding | da673baf3a7387c3818960c0ffa12ab7c830a89b | [
"MIT"
] | 4 | 2021-03-31T19:39:57.000Z | 2022-01-22T09:29:10.000Z | src/backend/app/db/__init__.py | douglasdaly/dougliz-wedding | da673baf3a7387c3818960c0ffa12ab7c830a89b | [
"MIT"
] | 1 | 2020-04-12T17:11:43.000Z | 2020-04-12T17:11:43.000Z | # -*- coding: utf-8 -*-
"""
Database subpackage.
"""
from app.db.base_class import metadata # noqa: F401
from app.db.base_class import Base # noqa: F401
from app.db import models # noqa: F401
| 24.375 | 52 | 0.692308 | 30 | 195 | 4.433333 | 0.5 | 0.157895 | 0.203008 | 0.195489 | 0.548872 | 0.360902 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 0.169231 | 195 | 7 | 53 | 27.857143 | 0.759259 | 0.389744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3fdcbd4a32685def1ece7d2d88b658875dcea8fd | 13,232 | py | Python | locan/tests/data/test_region_utils.py | super-resolution/Locan | 94ed7759f7d7ceddee7c7feaabff80010cfedf30 | [
"BSD-3-Clause"
] | 8 | 2021-11-25T20:05:49.000Z | 2022-03-27T17:45:00.000Z | locan/tests/data/test_region_utils.py | super-resolution/Locan | 94ed7759f7d7ceddee7c7feaabff80010cfedf30 | [
"BSD-3-Clause"
] | 4 | 2021-12-15T22:39:20.000Z | 2022-03-11T17:35:34.000Z | locan/tests/data/test_region_utils.py | super-resolution/Locan | 94ed7759f7d7ceddee7c7feaabff80010cfedf30 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T19:53:13.000Z | 2022-03-22T19:53:13.000Z | import matplotlib.pyplot as plt # needed for visual inspection
import numpy as np
import pytest
from locan import ( # needed for visual inspection
Interval,
MultiPolygon,
Polygon,
Rectangle,
Region,
RoiRegion,
expand_region,
regions_union,
render_2d_mpl,
scatter_2d_mpl,
su... | 37.698006 | 87 | 0.663845 | 1,950 | 13,232 | 4.330256 | 0.060513 | 0.012316 | 0.039081 | 0.05874 | 0.898034 | 0.857887 | 0.846045 | 0.801279 | 0.787068 | 0.763619 | 0 | 0.089315 | 0.180925 | 13,232 | 350 | 88 | 37.805714 | 0.689795 | 0.063936 | 0 | 0.604651 | 0 | 0 | 0.019684 | 0 | 0 | 0 | 0 | 0 | 0.22093 | 1 | 0.03876 | false | 0 | 0.015504 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7837e08dcfc0598473fb5c402a83c0aab255d05 | 36 | py | Python | src/pydev_poetry/hello/greet.py | terasakisatoshi/pydev_poetry | 05293560e6367b4f4d5fac146be2355ef52bcfa3 | [
"MIT"
] | null | null | null | src/pydev_poetry/hello/greet.py | terasakisatoshi/pydev_poetry | 05293560e6367b4f4d5fac146be2355ef52bcfa3 | [
"MIT"
] | 2 | 2021-01-26T08:34:40.000Z | 2021-02-17T12:18:07.000Z | src/pydev_poetry/hello/greet.py | terasakisatoshi/pydev_poetry | 05293560e6367b4f4d5fac146be2355ef52bcfa3 | [
"MIT"
] | null | null | null | def greet(msg="Hi"):
return msg
| 12 | 20 | 0.611111 | 6 | 36 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 36 | 2 | 21 | 18 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b7a11bbab3ab205c6f9035a89a164d5c03764684 | 2,014 | py | Python | monitor/tests/test_endpoints.py | iwpnd/kafka-spark-streaming | e1fc16b4bcf72f1e549217b3e19aa156f0f0366f | [
"MIT"
] | null | null | null | monitor/tests/test_endpoints.py | iwpnd/kafka-spark-streaming | e1fc16b4bcf72f1e549217b3e19aa156f0f0366f | [
"MIT"
] | 1 | 2021-12-31T11:27:28.000Z | 2021-12-31T15:58:54.000Z | monitor/tests/test_endpoints.py | iwpnd/kafka-spark-streaming | e1fc16b4bcf72f1e549217b3e19aa156f0f0366f | [
"MIT"
] | 1 | 2021-04-30T01:39:01.000Z | 2021-04-30T01:39:01.000Z | import json
import pytest
def test_counter_producer_success(test_app):
test_payload = {"increment_by": 1}
response = test_app.post("/update/producer", data=json.dumps(test_payload))
assert response.status_code == 201
assert all(
[
key in response.json()
for key in [... | 25.493671 | 87 | 0.645482 | 233 | 2,014 | 5.351931 | 0.201717 | 0.056135 | 0.060144 | 0.096231 | 0.856455 | 0.838813 | 0.838813 | 0.838813 | 0.838813 | 0.785886 | 0 | 0.020979 | 0.218967 | 2,014 | 78 | 88 | 25.820513 | 0.771774 | 0 | 0 | 0.5 | 0 | 0 | 0.204072 | 0 | 0 | 0 | 0 | 0 | 0.232143 | 1 | 0.089286 | false | 0 | 0.035714 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7c655dd743ee40779ceae3f627bfb778e28c876 | 17,949 | py | Python | test/service/project_channel_service.py | xellos00/notification | e091c1eaeaf54d2669ac204c027aacddabad382a | [
"Apache-2.0"
] | null | null | null | test/service/project_channel_service.py | xellos00/notification | e091c1eaeaf54d2669ac204c027aacddabad382a | [
"Apache-2.0"
] | null | null | null | test/service/project_channel_service.py | xellos00/notification | e091c1eaeaf54d2669ac204c027aacddabad382a | [
"Apache-2.0"
] | null | null | null | import unittest
from unittest.mock import patch
from mongoengine import connect, disconnect
from spaceone.core.unittest.result import print_data
from spaceone.core.unittest.runner import RichTestRunner
from spaceone.core import config
from spaceone.core import utils
from spaceone.core.model.mongo_model import MongoMod... | 42.940191 | 118 | 0.671068 | 1,925 | 17,949 | 5.880519 | 0.082078 | 0.149647 | 0.040813 | 0.04364 | 0.835512 | 0.825442 | 0.816784 | 0.80212 | 0.783392 | 0.783392 | 0 | 0.001722 | 0.223466 | 17,949 | 418 | 119 | 42.940191 | 0.810446 | 0 | 0 | 0.626062 | 0 | 0 | 0.116156 | 0.016045 | 0 | 0 | 0 | 0 | 0.127479 | 1 | 0.045326 | false | 0 | 0.048159 | 0 | 0.096317 | 0.033994 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7f22e0b87e23cefb6438cda45d8b3f413d8632f | 20,382 | py | Python | sdk/python/pulumi_gcp/organizations/outputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/organizations/outputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/organizations/outputs.py | dimpu47/pulumi-gcp | 38355de300a5768e11c49d344a8165ba0735deed | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
from .. import ... | 42.551148 | 278 | 0.658571 | 2,440 | 20,382 | 5.342213 | 0.117213 | 0.020713 | 0.029919 | 0.043728 | 0.748293 | 0.741849 | 0.72382 | 0.721212 | 0.721212 | 0.721212 | 0 | 0.000194 | 0.242273 | 20,382 | 478 | 279 | 42.640167 | 0.843823 | 0.429398 | 0 | 0.644689 | 1 | 0 | 0.122355 | 0.048847 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.021978 | 0.065934 | 0.40293 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7fa6b39ee18e47f8a691a2fee0d57879894fbe8 | 8,707 | py | Python | rnn_cells/skip_rnn_cells.py | bkcui/mlassignment2 | 7ea3943316a075d77da70277d79aa46a38087845 | [
"MIT"
] | 78 | 2018-02-03T09:24:15.000Z | 2022-01-20T08:42:41.000Z | rnn_cells/skip_rnn_cells.py | bkcui/mlassignment2 | 7ea3943316a075d77da70277d79aa46a38087845 | [
"MIT"
] | 6 | 2018-02-04T12:49:45.000Z | 2021-01-26T08:00:26.000Z | rnn_cells/skip_rnn_cells.py | bkcui/mlassignment2 | 7ea3943316a075d77da70277d79aa46a38087845 | [
"MIT"
] | 22 | 2018-02-03T09:26:58.000Z | 2022-02-21T05:50:05.000Z | import torch
import torch.nn.functional as F
import torch.nn as nn
import numpy as np
from torch.autograd import Variable, Function
class BinaryLayer(Function):
def forward(self, input):
return input.round()
def backward(self, grad_output):
return grad_output
def SkipLSTMCell(input, hidden, ... | 39.577273 | 99 | 0.650167 | 1,327 | 8,707 | 3.908817 | 0.073851 | 0.123385 | 0.080201 | 0.039329 | 0.915751 | 0.901677 | 0.887796 | 0.815308 | 0.783304 | 0.751301 | 0 | 0.013019 | 0.206041 | 8,707 | 219 | 100 | 39.757991 | 0.737307 | 0.04215 | 0 | 0.612245 | 0 | 0 | 0.009251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.034014 | 0.013605 | 0.122449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b7fcd356ef042621ad05344cbd4d9e80774eadc0 | 2,890 | py | Python | tests/test_ssim.py | cnstark/iqa-torch | d8a1045c118a8370aed381f5322903fd45be6727 | [
"Apache-2.0"
] | 1 | 2022-03-29T06:04:30.000Z | 2022-03-29T06:04:30.000Z | tests/test_ssim.py | cnstark/iqa-torch | d8a1045c118a8370aed381f5322903fd45be6727 | [
"Apache-2.0"
] | null | null | null | tests/test_ssim.py | cnstark/iqa-torch | d8a1045c118a8370aed381f5322903fd45be6727 | [
"Apache-2.0"
] | 1 | 2022-02-05T03:18:43.000Z | 2022-02-05T03:18:43.000Z | import os
import sys
import unittest
sys.path.append(os.getcwd())
import numpy as np
import torch
from iqa import ssim
from libs.basicsr_psnr_ssim import calculate_ssim
IMAGE_SHAPES = (
('CHW', (3, 128, 128)),
('CHW', (1, 128, 128)),
('HWC', (128, 128, 3)),
('HWC', (128, 128, 1)),
)
class SSIMTestC... | 38.026316 | 98 | 0.604498 | 398 | 2,890 | 4.128141 | 0.148241 | 0.043822 | 0.048691 | 0.068168 | 0.841753 | 0.841753 | 0.841753 | 0.841753 | 0.841753 | 0.841753 | 0 | 0.060345 | 0.277509 | 2,890 | 75 | 99 | 38.533333 | 0.726533 | 0 | 0 | 0.561404 | 0 | 0 | 0.00692 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 1 | 0.070175 | false | 0 | 0.122807 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4d94e7c35366f6546c3ab3ed5d130e61576c9090 | 27 | py | Python | neupy/helpers/__init__.py | vishalbelsare/neupy | 684313cdaddcad326f2169384fb15ec3aa29d991 | [
"MIT"
] | null | null | null | neupy/helpers/__init__.py | vishalbelsare/neupy | 684313cdaddcad326f2169384fb15ec3aa29d991 | [
"MIT"
] | null | null | null | neupy/helpers/__init__.py | vishalbelsare/neupy | 684313cdaddcad326f2169384fb15ec3aa29d991 | [
"MIT"
] | null | null | null | from .progressbar import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4d9a2b0dab008947fa28b6b99409866323b7afc0 | 17,729 | py | Python | tests/providers/google/cloud/hooks/test_stackdriver.py | takuti/airflow | 0ac3b8c3dd749c59e60cf0169580b9e7c5049d9e | [
"Apache-2.0"
] | 8,092 | 2016-04-27T20:32:29.000Z | 2019-01-05T07:39:33.000Z | tests/providers/google/cloud/hooks/test_stackdriver.py | takuti/airflow | 0ac3b8c3dd749c59e60cf0169580b9e7c5049d9e | [
"Apache-2.0"
] | 2,961 | 2016-05-05T07:16:16.000Z | 2019-01-05T08:47:59.000Z | tests/providers/google/cloud/hooks/test_stackdriver.py | takuti/airflow | 0ac3b8c3dd749c59e60cf0169580b9e7c5049d9e | [
"Apache-2.0"
] | 3,546 | 2016-05-04T20:33:16.000Z | 2019-01-05T05:14:26.000Z | #
# 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 under the Apache License, Version 2.0 (the
# "License"); you may not... | 42.823671 | 109 | 0.695696 | 1,955 | 17,729 | 5.913043 | 0.09821 | 0.049048 | 0.042647 | 0.051903 | 0.852163 | 0.826471 | 0.805277 | 0.791349 | 0.786851 | 0.768426 | 0 | 0.004659 | 0.213041 | 17,729 | 413 | 110 | 42.927361 | 0.823896 | 0.042416 | 0 | 0.617729 | 0 | 0 | 0.196179 | 0.155964 | 0 | 0 | 0 | 0 | 0.055402 | 1 | 0.030471 | false | 0 | 0.019391 | 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 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4de4785098534e394377fdc1df1996c8c59d5192 | 1,374 | py | Python | server/database/db_access.py | thomas-michels/WebServiceSOAP | 25618d9b772f9a1df9e2ac74cc38882bab2ad5fd | [
"MIT"
] | null | null | null | server/database/db_access.py | thomas-michels/WebServiceSOAP | 25618d9b772f9a1df9e2ac74cc38882bab2ad5fd | [
"MIT"
] | null | null | null | server/database/db_access.py | thomas-michels/WebServiceSOAP | 25618d9b772f9a1df9e2ac74cc38882bab2ad5fd | [
"MIT"
] | null | null | null |
def get(table) -> list:
with open(rf"database/data/{table}.csv", 'r') as file:
return file.readlines()
def get_by_id(table, id):
with open(rf"database/data/{table}.csv", 'r') as file:
lines = file.readlines()
for line in lines[1:]:
line_formatted = line.split(',$')
if lin... | 25.924528 | 60 | 0.574236 | 191 | 1,374 | 4.052356 | 0.209424 | 0.072351 | 0.090439 | 0.162791 | 0.789406 | 0.789406 | 0.789406 | 0.789406 | 0.745478 | 0.745478 | 0 | 0.00789 | 0.262009 | 1,374 | 52 | 61 | 26.423077 | 0.755424 | 0.142649 | 0 | 0.65625 | 0 | 0 | 0.122972 | 0.106746 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15625 | false | 0 | 0 | 0 | 0.28125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4de9dea0cdc064c1686bfe4bf8b797a8ae070048 | 105 | py | Python | gsfarc/gptool/parameter/templates/ulong.py | geospatial-services-framework/gsfpyarc | 5ef69299fbc0b763ad4c1857ceac3ff087c0dc14 | [
"MIT"
] | 1 | 2021-11-06T18:36:28.000Z | 2021-11-06T18:36:28.000Z | gsfarc/gptool/parameter/templates/ulong.py | geospatial-services-framework/gsfpyarc | 5ef69299fbc0b763ad4c1857ceac3ff087c0dc14 | [
"MIT"
] | null | null | null | gsfarc/gptool/parameter/templates/ulong.py | geospatial-services-framework/gsfpyarc | 5ef69299fbc0b763ad4c1857ceac3ff087c0dc14 | [
"MIT"
] | null | null | null | """
"""
from .basic import BASIC
class ULONG(BASIC): pass
def template():
return ULONG('GPLong') | 9.545455 | 26 | 0.638095 | 13 | 105 | 5.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 105 | 11 | 26 | 9.545455 | 0.797619 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
4dea990c70a8e7275edc6cca18bb9d964a8c0dc7 | 140 | py | Python | codebase/ttzhuanba/survey/views.py | timeoutme/django-evn | 46868f37d74a6d03873252d432ce9242095d4ab1 | [
"bzip2-1.0.6"
] | null | null | null | codebase/ttzhuanba/survey/views.py | timeoutme/django-evn | 46868f37d74a6d03873252d432ce9242095d4ab1 | [
"bzip2-1.0.6"
] | null | null | null | codebase/ttzhuanba/survey/views.py | timeoutme/django-evn | 46868f37d74a6d03873252d432ce9242095d4ab1 | [
"bzip2-1.0.6"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def survey_list(request):
return render(request,'survey_list.html') | 23.333333 | 45 | 0.75 | 19 | 140 | 5.421053 | 0.789474 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164286 | 140 | 6 | 45 | 23.333333 | 0.880342 | 0.164286 | 0 | 0 | 0 | 0 | 0.144144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
128f9f316245c8ad962c210cdea9c50238639820 | 154 | py | Python | DBlog/config/views.py | Angorithm4/DjangoBlog-Systerm | a10f9e2106c8163d635dddc3446064b9be060478 | [
"MIT"
] | 1 | 2020-04-14T21:36:45.000Z | 2020-04-14T21:36:45.000Z | DBlog/config/views.py | Angorithm4/DjangoBlog-Systerm | a10f9e2106c8163d635dddc3446064b9be060478 | [
"MIT"
] | 3 | 2021-06-04T22:50:05.000Z | 2021-09-22T18:51:08.000Z | DBlog/config/views.py | Angorithm4/DjangoBlog-Systerm | a10f9e2106c8163d635dddc3446064b9be060478 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def links(request):
return HttpResponse('Link!')
| 19.25 | 36 | 0.772727 | 20 | 154 | 5.95 | 0.8 | 0.168067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149351 | 154 | 7 | 37 | 22 | 0.908397 | 0.149351 | 0 | 0 | 0 | 0 | 0.03876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
12a7fa6f701c374f0ea78defac8bfebe509b923d | 8,211 | py | Python | lenstronomy/LensModel/Profiles/cored_steep_ellipsoid.py | heather999/lenstronomy | 8102fe026c1f3ba6e81d8a1f59cceb90e68430b4 | [
"MIT"
] | null | null | null | lenstronomy/LensModel/Profiles/cored_steep_ellipsoid.py | heather999/lenstronomy | 8102fe026c1f3ba6e81d8a1f59cceb90e68430b4 | [
"MIT"
] | null | null | null | lenstronomy/LensModel/Profiles/cored_steep_ellipsoid.py | heather999/lenstronomy | 8102fe026c1f3ba6e81d8a1f59cceb90e68430b4 | [
"MIT"
] | null | null | null | __author__ = 'sibirrer'
from lenstronomy.LensModel.Profiles.base_profile import LensProfileBase
import numpy as np
from lenstronomy.Util import param_util
from lenstronomy.Util import util
__all__ = ['CSE', 'CSEMajorAxis', 'CSEMajorAxisSet']
class CSE(LensProfileBase):
"""
Cored steep ellipsoid (CSE)
so... | 32.583333 | 111 | 0.538789 | 1,256 | 8,211 | 3.304936 | 0.09793 | 0.013009 | 0.073717 | 0.095399 | 0.83233 | 0.802698 | 0.780776 | 0.759335 | 0.740544 | 0.699831 | 0 | 0.040871 | 0.317623 | 8,211 | 251 | 112 | 32.713147 | 0.699982 | 0.345025 | 0 | 0.348315 | 0 | 0 | 0.035466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.123596 | false | 0 | 0.044944 | 0 | 0.370787 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
12af12256bae584eb6e58e69ed307edba1cf3d2f | 3,691 | py | Python | etl/workflow/readers/mapping_rules_reader.py | PDCMFinder/pdcm-etl | df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de | [
"Apache-2.0"
] | 1 | 2022-01-28T16:01:59.000Z | 2022-01-28T16:01:59.000Z | etl/workflow/readers/mapping_rules_reader.py | PDCMFinder/pdcm-etl | df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de | [
"Apache-2.0"
] | 37 | 2022-02-09T18:19:13.000Z | 2022-03-29T12:14:19.000Z | etl/workflow/readers/mapping_rules_reader.py | PDCMFinder/pdcm-etl | df0006e4ad5ca2ddf9c1387e28a0b7fb24f195de | [
"Apache-2.0"
] | null | null | null | import luigi
import json
from luigi.contrib.spark import PySparkTask
from pyspark.sql import SparkSession
from etl.constants import Constants
from etl.workflow.config import PdcmConfig
class ReadDiagnosisMappingsFromJson(PySparkTask):
data_dir = luigi.Parameter()
data_dir_out = luigi.Parameter()
def mai... | 35.490385 | 119 | 0.66188 | 410 | 3,691 | 5.758537 | 0.234146 | 0.038119 | 0.033037 | 0.044049 | 0.810673 | 0.810673 | 0.795426 | 0.795426 | 0.792037 | 0.769589 | 0 | 0.004162 | 0.218911 | 3,691 | 103 | 120 | 35.834951 | 0.814776 | 0 | 0 | 0.682927 | 0 | 0 | 0.146573 | 0.034679 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.073171 | 0.04878 | 0.317073 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
421848f9e7161658a314c976ed71085e0f8d2948 | 25 | py | Python | basis/trimesh/scene/__init__.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 23 | 2021-04-02T09:02:04.000Z | 2022-03-22T05:31:03.000Z | basis/trimesh/scene/__init__.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 35 | 2021-04-12T09:41:05.000Z | 2022-03-26T13:32:46.000Z | basis/trimesh/scene/__init__.py | takuya-ki/wrs | f6e1009b94332504042fbde9b39323410394ecde | [
"MIT"
] | 16 | 2021-03-30T11:55:45.000Z | 2022-03-30T07:10:59.000Z | from .scene import Scene
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
421f9e0b021dbde24dd8e6a89ca140b74ba3d32b | 6,298 | py | Python | LocalDeploy/local_invoke.py | lobrien/AzureMachineLearning_Scratch | b0eee5900afb0576bad6ef3032f598ad5e9837ea | [
"MIT"
] | null | null | null | LocalDeploy/local_invoke.py | lobrien/AzureMachineLearning_Scratch | b0eee5900afb0576bad6ef3032f598ad5e9837ea | [
"MIT"
] | null | null | null | LocalDeploy/local_invoke.py | lobrien/AzureMachineLearning_Scratch | b0eee5900afb0576bad6ef3032f598ad5e9837ea | [
"MIT"
] | null | null | null | import os
from azureml.core import Dataset
from azureml.opendatasets import MNIST
import os
import glob
import json
import requests
import numpy as np
import gzip
import numpy as np
import struct
# load compressed MNIST gz files and return numpy arrays
def load_data(filename, label=False):
with gzip.open(filename... | 66.294737 | 150 | 0.478088 | 1,925 | 6,298 | 1.541818 | 0.068571 | 0.850404 | 1.226078 | 1.601078 | 0.681267 | 0.639488 | 0.617588 | 0.591981 | 0.571429 | 0.545822 | 0 | 0.322446 | 0.202763 | 6,298 | 95 | 151 | 66.294737 | 0.268672 | 0.725945 | 0 | 0.102564 | 0 | 0 | 0.10119 | 0.033333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0.282051 | 0 | 0.333333 | 0.102564 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.