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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1ee200c0bd1b6dc44194ce43e272adb66b847d6f | 5,837 | py | Python | flextensor/testing/others/hand-craft/config_yolo24_cpu.py | imxian/FlexTensor | 311af3362856ea1b0073404fffad42c54585c205 | [
"MIT"
] | 135 | 2020-03-15T11:28:48.000Z | 2022-03-26T00:54:32.000Z | flextensor/testing/others/hand-craft/config_yolo24_cpu.py | KnowingNothing/FlexTensor-Micro | 6de200326d4999c56af3f3343282149bc5758c15 | [
"MIT"
] | 11 | 2020-03-23T11:06:38.000Z | 2022-01-24T06:25:41.000Z | flextensor/testing/others/hand-craft/config_yolo24_cpu.py | KnowingNothing/FlexTensor-Micro | 6de200326d4999c56af3f3343282149bc5758c15 | [
"MIT"
] | 32 | 2020-03-17T05:12:59.000Z | 2022-03-26T00:54:33.000Z | """
Configurations of high performance schedules for conv2d_nchw
YOLO convolution layer 24
Target Intel CPU
====================================
**Author**: `Size Zheng`
the terms used below:
------------------------------------
method: fuse_and_bind --> only use parallel
spatial_order: flatten --> bo, ko, po, qo, bm... | 27.403756 | 100 | 0.565873 | 691 | 5,837 | 4.434153 | 0.193922 | 0.078329 | 0.042428 | 0.055483 | 0.807115 | 0.799935 | 0.78688 | 0.768603 | 0.768603 | 0.768603 | 0 | 0.101372 | 0.225972 | 5,837 | 212 | 101 | 27.533019 | 0.576804 | 0.130204 | 0 | 0.783333 | 0 | 0 | 0.474807 | 0.078245 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
94c72a79aa986addd715749343ebbba4a82ec803 | 5,267 | py | Python | tests/src/test_behavior_full.py | U8NWXD/scorevideo_lib | 2af8c9ce6adc43af502aaa2a987ecc349b8ac16c | [
"BSD-3-Clause"
] | null | null | null | tests/src/test_behavior_full.py | U8NWXD/scorevideo_lib | 2af8c9ce6adc43af502aaa2a987ecc349b8ac16c | [
"BSD-3-Clause"
] | 1 | 2018-08-06T00:00:43.000Z | 2018-08-06T00:00:43.000Z | tests/src/test_behavior_full.py | U8NWXD/scorevideo_lib | 2af8c9ce6adc43af502aaa2a987ecc349b8ac16c | [
"BSD-3-Clause"
] | 1 | 2020-06-05T00:38:23.000Z | 2020-06-05T00:38:23.000Z | # This file is part of scorevideo_lib: A library for working with scorevideo
# This file is part of scorevideo_lib: A library for working with scorevideo
# Use of this file is governed by the license in LICENSE.txt.
"""Unit tests for the :py:class:BehaviorFull class
"""
import pytest
from scorevideo_lib.parse_log im... | 29.757062 | 77 | 0.629011 | 720 | 5,267 | 4.45 | 0.130556 | 0.106742 | 0.138577 | 0.157303 | 0.885144 | 0.865481 | 0.810861 | 0.775593 | 0.773408 | 0.736267 | 0 | 0.095829 | 0.280805 | 5,267 | 176 | 78 | 29.926136 | 0.75 | 0.073476 | 0 | 0.402062 | 0 | 0 | 0.405178 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 1 | 0.298969 | false | 0 | 0.020619 | 0 | 0.319588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
94e00741769d472e48a16d9d070914d0e2b98304 | 145 | py | Python | pinax/submissions/compat.py | pinax/pinax-submissions | a3f3568f3a652a552661ed24a197d21b082d3df9 | [
"MIT"
] | 11 | 2015-10-16T19:31:57.000Z | 2022-02-16T06:41:49.000Z | pinax/submissions/compat.py | pinax/pinax-submissions | a3f3568f3a652a552661ed24a197d21b082d3df9 | [
"MIT"
] | 6 | 2015-11-12T16:34:48.000Z | 2020-03-21T02:24:29.000Z | pinax/pages/compat.py | pinax/pinax-pages | ad4101f390bf001a5d1c7bfd7a224d8f5acb3d7e | [
"MIT"
] | 6 | 2016-07-02T21:11:21.000Z | 2021-03-17T16:16:09.000Z | try:
from account.decorators import login_required
except ImportError:
from django.contrib.auth.decorators import login_required # noqa
| 29 | 69 | 0.8 | 18 | 145 | 6.333333 | 0.722222 | 0.280702 | 0.368421 | 0.508772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151724 | 145 | 4 | 70 | 36.25 | 0.926829 | 0.027586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a209e599a9f47e45ff861d4a0293b29328103b7d | 31,632 | py | Python | tests/common_tests/function_tests/test_collectors_manipulation.py | haihabi/model_optimization | 97372a9596378bb2287c59f1180b5059f741b2d6 | [
"Apache-2.0"
] | null | null | null | tests/common_tests/function_tests/test_collectors_manipulation.py | haihabi/model_optimization | 97372a9596378bb2287c59f1180b5059f741b2d6 | [
"Apache-2.0"
] | null | null | null | tests/common_tests/function_tests/test_collectors_manipulation.py | haihabi/model_optimization | 97372a9596378bb2287c59f1180b5059f741b2d6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Sony Semiconductors Israel, 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 b... | 56.892086 | 112 | 0.75509 | 4,615 | 31,632 | 4.68234 | 0.033803 | 0.031006 | 0.054792 | 0.082188 | 0.946828 | 0.936323 | 0.924152 | 0.90777 | 0.89671 | 0.883567 | 0 | 0.005323 | 0.162652 | 31,632 | 555 | 113 | 56.994595 | 0.810511 | 0.037589 | 0 | 0.794326 | 0 | 0 | 0.000265 | 0 | 0 | 0 | 0 | 0 | 0.193853 | 1 | 0.120567 | false | 0 | 0.014184 | 0 | 0.144208 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
bfd7ae63b85aa9dd95767f903456daf3c6bbada9 | 9,104 | py | Python | unit_tests/test_evaluate_f1_update_confusion_matrix.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | unit_tests/test_evaluate_f1_update_confusion_matrix.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | unit_tests/test_evaluate_f1_update_confusion_matrix.py | fensta/bracid2019 | ad9bf0b4e44c19f66c1597e857ef6cf70f56a646 | [
"MIT"
] | null | null | null | from unittest import TestCase
from collections import Counter
import pandas as pd
from scripts.utils import evaluate_f1_update_confusion_matrix, Data, Bounds
import scripts.vars as my_vars
class TestEvaluateF1UpdateConfusionMatrix(TestCase):
"""Tests evaluate_f1_update_confusion_matrix() in utils.py"""
def... | 54.190476 | 115 | 0.483634 | 1,212 | 9,104 | 3.457096 | 0.090759 | 0.058711 | 0.057279 | 0.060143 | 0.921241 | 0.898807 | 0.898807 | 0.874224 | 0.854893 | 0.824344 | 0 | 0.105495 | 0.350286 | 9,104 | 167 | 116 | 54.51497 | 0.602874 | 0.045035 | 0 | 0.782895 | 0 | 0 | 0.057262 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 1 | 0.013158 | false | 0 | 0.032895 | 0 | 0.052632 | 0.006579 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
44a2c0157e63705912d7ffc94fe3c015fa77dbee | 211 | py | Python | pybrain/rl/environments/twoplayergames/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 2,208 | 2015-01-02T02:14:41.000Z | 2022-03-31T04:45:46.000Z | pybrain/rl/environments/twoplayergames/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 91 | 2015-01-08T16:42:16.000Z | 2021-12-11T19:16:35.000Z | pybrain/rl/environments/twoplayergames/__init__.py | sveilleux1/pybrain | 1e1de73142c290edb84e29ca7850835f3e7bca8b | [
"BSD-3-Clause"
] | 786 | 2015-01-02T15:18:20.000Z | 2022-02-23T23:42:40.000Z | from pybrain.rl.environments.twoplayergames.capturegame import CaptureGame
from pybrain.rl.environments.twoplayergames.gomoku import GomokuGame
from pybrain.rl.environments.twoplayergames.tasks.__init__ import * | 70.333333 | 74 | 0.881517 | 24 | 211 | 7.583333 | 0.458333 | 0.181319 | 0.214286 | 0.412088 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052133 | 211 | 3 | 75 | 70.333333 | 0.91 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
44b2e5db3aa95b14081b897841a6e599a44beaaa | 7,922 | py | Python | src_manage/payload.py | MarcusJones/kaggle_petfinder_adoption | 2d745b48405f4d4211b523eae272b9169fcf9fa2 | [
"MIT"
] | 1 | 2019-01-24T04:22:39.000Z | 2019-01-24T04:22:39.000Z | src_manage/payload.py | MarcusJones/kaggle_petfinder_adoption | 2d745b48405f4d4211b523eae272b9169fcf9fa2 | [
"MIT"
] | 1 | 2021-09-08T01:14:02.000Z | 2021-09-08T01:14:02.000Z | src_manage/payload.py | bmj-hackathon/kaggle_airbus_ship_detection | ea2c655418e13452fd9dcfe51ae99d703e16d758 | [
"MIT"
] | null | null | null | from pathlib import Path
import bz2
from jinja2 import Template
import logging
logging.getLogger().setLevel(logging.info)
#%% Collect all imported tools
# UTILS_DIR = Path('~/kaggle/kaggle_utils/kaggle_utils/').expanduser()
# TEST_LINES_OUT_DIR = Path('').cwd() / '..' / 'tempdel.txt'
# TEST_ZIP_OUT_DIR = Path('').cwd()... | 78.435644 | 4,846 | 0.88412 | 425 | 7,922 | 16.232941 | 0.24 | 0.015944 | 0.018553 | 0.014785 | 0.079577 | 0.045079 | 0.031164 | 0.018988 | 0.011596 | 0 | 0 | 0.431869 | 0.048599 | 7,922 | 101 | 4,847 | 78.435644 | 0.483481 | 0.048094 | 0 | 0.0625 | 0 | 0 | 0.723034 | 0.660866 | 0 | 1 | 0 | 0 | 0.03125 | 1 | 0.015625 | false | 0 | 0.078125 | 0 | 0.109375 | 0.03125 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
44be45e5fa02670a668bab1575bf64db1d6ecaec | 4,282 | py | Python | LocalDeploy/invoke_hardcoded.py | lobrien/AzureMachineLearning_Scratch | b0eee5900afb0576bad6ef3032f598ad5e9837ea | [
"MIT"
] | null | null | null | LocalDeploy/invoke_hardcoded.py | lobrien/AzureMachineLearning_Scratch | b0eee5900afb0576bad6ef3032f598ad5e9837ea | [
"MIT"
] | null | null | null | LocalDeploy/invoke_hardcoded.py | lobrien/AzureMachineLearning_Scratch | b0eee5900afb0576bad6ef3032f598ad5e9837ea | [
"MIT"
] | null | null | null | import requests
normalized_pixel_values = "[\
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0... | 107.05 | 141 | 0.416861 | 1,605 | 4,282 | 1.108411 | 0.021807 | 1.418775 | 2.045531 | 2.671164 | 0.879146 | 0.879146 | 0.878583 | 0.870714 | 0.867903 | 0.861158 | 0 | 0.457533 | 0.197104 | 4,282 | 40 | 142 | 107.05 | 0.059919 | 0 | 0 | 0.171429 | 0 | 0.8 | 0.023115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0.057143 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 |
44d1e502b840edbf0c5b81acc30e121ea7642451 | 248 | py | Python | coffea/striped/__init__.py | hepaccelerate/coffea | 153061d6dd69a646fcd0a5b019168188595f6130 | [
"BSD-3-Clause"
] | 1 | 2019-06-26T12:40:13.000Z | 2019-06-26T12:40:13.000Z | coffea/striped/__init__.py | hepaccelerate/coffea | 153061d6dd69a646fcd0a5b019168188595f6130 | [
"BSD-3-Clause"
] | null | null | null | coffea/striped/__init__.py | hepaccelerate/coffea | 153061d6dd69a646fcd0a5b019168188595f6130 | [
"BSD-3-Clause"
] | 1 | 2019-07-05T14:49:12.000Z | 2019-07-05T14:49:12.000Z | from .StripedColumnTransformer import ColumnGroup
from .StripedColumnTransformer import PhysicalColumnGroup
from .ColumnGroup2JaggedTable import jaggedFromColumnGroup
from .Callback import HistCollectorCallback
from .UprootAdaptor import UprootJob
| 41.333333 | 58 | 0.899194 | 20 | 248 | 11.15 | 0.55 | 0.251121 | 0.304933 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.080645 | 248 | 5 | 59 | 49.6 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 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 | 7 |
44d291e7ae6a18f60c52f1c6a04265d0aa6de437 | 11,452 | py | Python | tests/test_model.py | Remi-Gau/rsatoolbox | 2b4b57fa4cee9d9b819c43ac0436278c696e2402 | [
"MIT"
] | 80 | 2015-03-02T15:11:37.000Z | 2022-03-21T17:25:36.000Z | tests/test_model.py | Remi-Gau/rsatoolbox | 2b4b57fa4cee9d9b819c43ac0436278c696e2402 | [
"MIT"
] | 150 | 2019-10-07T13:04:14.000Z | 2021-04-21T21:39:41.000Z | tests/test_model.py | Remi-Gau/rsatoolbox | 2b4b57fa4cee9d9b819c43ac0436278c696e2402 | [
"MIT"
] | 64 | 2015-03-02T15:11:17.000Z | 2022-03-28T12:05:32.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the model subpackage
"""
import unittest
import rsatoolbox.model as model
import numpy as np
from numpy.testing import assert_allclose
class TestModel(unittest.TestCase):
""" Tests for the Model superclass
"""
def test_creation(self):
_... | 39.626298 | 81 | 0.608016 | 1,470 | 11,452 | 4.508844 | 0.104082 | 0.065178 | 0.026554 | 0.041038 | 0.843543 | 0.831322 | 0.809747 | 0.801298 | 0.764031 | 0.754828 | 0 | 0.01338 | 0.282134 | 11,452 | 288 | 82 | 39.763889 | 0.792848 | 0.039469 | 0 | 0.723404 | 0 | 0 | 0.072173 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 1 | 0.076596 | false | 0 | 0.102128 | 0 | 0.208511 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
780585a979d975f2b8c0dc651e9434f80ef86dca | 6,980 | py | Python | components/paper/reference.py | JnkDog/i-rheo-web | 8b1e0a0ef297e1e67f34368aed54f1e5a5028123 | [
"MIT"
] | 1 | 2021-06-09T14:07:07.000Z | 2021-06-09T14:07:07.000Z | components/paper/reference.py | JnkDog/i-rheno-web | 8b1e0a0ef297e1e67f34368aed54f1e5a5028123 | [
"MIT"
] | 1 | 2021-07-13T20:40:34.000Z | 2021-07-13T20:40:34.000Z | components/paper/reference.py | JnkDog/i-rheno-web | 8b1e0a0ef297e1e67f34368aed54f1e5a5028123 | [
"MIT"
] | 2 | 2021-07-12T19:37:41.000Z | 2021-12-09T00:13:09.000Z | import dash
from dash.dependencies import Input, Output, State, ClientsideFunction
import dash_core_components as dcc
import dash_html_components as html
import dash_bootstrap_components as dbc
# Disgusting code
# Paper1 = html.P("1. R. Rivas-Barbosa, M. Escobedo-Sánchez, M. Tassieri, and M. Laurati, “i-Rheo: determi... | 68.431373 | 258 | 0.715186 | 1,042 | 6,980 | 4.785029 | 0.263916 | 0.059567 | 0.057762 | 0.077016 | 0.882872 | 0.882872 | 0.882872 | 0.882872 | 0.882872 | 0.882872 | 0 | 0.074236 | 0.146991 | 6,980 | 102 | 259 | 68.431373 | 0.763184 | 0.508453 | 0 | 0 | 0 | 0.68 | 0.90944 | 0.040708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7827706735c25e09a9ebee9b79c9855176e2410e | 335 | py | Python | exercicios/ex108.py | Siqueira-Vinicius/Python | bd1f7e2bcdfd5481724d32db387f51636bb4ad60 | [
"MIT"
] | null | null | null | exercicios/ex108.py | Siqueira-Vinicius/Python | bd1f7e2bcdfd5481724d32db387f51636bb4ad60 | [
"MIT"
] | null | null | null | exercicios/ex108.py | Siqueira-Vinicius/Python | bd1f7e2bcdfd5481724d32db387f51636bb4ad60 | [
"MIT"
] | null | null | null | import moeda
p = float(input(f'Digite um preço: {moeda.preço()}'))
print(f'a metade de {moeda.preço(p)} é {moeda.metade(p)}')
print(f'o dobro de {moeda.preço(p)} é {moeda.dobro(p)}')
print(f'o preço de {moeda.preço(p)} reduzido em 10% é {moeda.desconto(p)}')
print(f'e o preço de {moeda.preço(p)} aumentado em 13% é {moe... | 47.857143 | 75 | 0.671642 | 66 | 335 | 3.409091 | 0.363636 | 0.222222 | 0.213333 | 0.231111 | 0.337778 | 0.337778 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.116418 | 335 | 6 | 76 | 55.833333 | 0.746622 | 0 | 0 | 0 | 0 | 0.333333 | 0.764179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
7877daf6e30df1131d32ba127616387f96084632 | 12,163 | py | Python | src/antlr4_verilog/systemverilog/SystemVerilogPreParserListener.py | mtdsousa/antlr4-verilog | c2238beb56a38ac098cd6e06e0ac8d7de7c1eaad | [
"MIT"
] | 3 | 2022-02-15T15:51:43.000Z | 2022-02-21T13:18:09.000Z | src/antlr4_verilog/systemverilog/SystemVerilogPreParserListener.py | mtdsousa/antlr4-verilog | c2238beb56a38ac098cd6e06e0ac8d7de7c1eaad | [
"MIT"
] | 1 | 2022-02-21T12:35:10.000Z | 2022-02-21T16:45:56.000Z | src/antlr4_verilog/systemverilog/SystemVerilogPreParserListener.py | mtdsousa/antlr4-verilog-python | c2238beb56a38ac098cd6e06e0ac8d7de7c1eaad | [
"MIT"
] | null | null | null | # Generated from /home/mtdsousa/workspace/antlr4-verilog-python/extra/grammars-v4-2/verilog/systemverilog/SystemVerilogPreParser.g4 by ANTLR 4.9
from antlr4 import *
if __name__ is not None and "." in __name__:
from .SystemVerilogPreParser import SystemVerilogPreParser
else:
from SystemVerilogPreParser import S... | 41.797251 | 144 | 0.796761 | 1,272 | 12,163 | 7.386006 | 0.106132 | 0.040234 | 0.067057 | 0.120703 | 0.891006 | 0.891006 | 0.886535 | 0.722938 | 0.717084 | 0.338797 | 0 | 0.000681 | 0.15506 | 12,163 | 291 | 145 | 41.797251 | 0.913496 | 0.39094 | 0 | 0.473282 | 1 | 0 | 0.000137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.473282 | false | 0.473282 | 0.022901 | 0 | 0.503817 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 9 |
1542dd7930cb526237b3ce1c08c959f8e45bb83a | 102 | py | Python | snl/util/__init__.py | mackelab/SNL_py3port | 3da9ec0e03239646dce8b17f3b2ee22e56bc26c9 | [
"MIT"
] | 2 | 2019-10-14T03:47:16.000Z | 2019-12-15T15:28:02.000Z | snl/util/__init__.py | mackelab/SNL_py3port | 3da9ec0e03239646dce8b17f3b2ee22e56bc26c9 | [
"MIT"
] | null | null | null | snl/util/__init__.py | mackelab/SNL_py3port | 3da9ec0e03239646dce8b17f3b2ee22e56bc26c9 | [
"MIT"
] | 4 | 2019-02-06T23:42:21.000Z | 2020-05-16T14:24:28.000Z | import snl.util.io
import snl.util.math
import snl.util.misc
import snl.util.ml
import snl.util.plot
| 14.571429 | 20 | 0.794118 | 20 | 102 | 4.05 | 0.4 | 0.555556 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 102 | 6 | 21 | 17 | 0.89011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
15bfed425e577bd79ccb624fc28d456f83bfc93e | 40,241 | py | Python | integration/python/integration_api/api/baas_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 11 | 2019-04-16T02:11:17.000Z | 2021-12-16T22:51:40.000Z | integration/python/integration_api/api/baas_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 81 | 2019-11-19T23:24:28.000Z | 2022-03-28T11:35:47.000Z | integration/python/integration_api/api/baas_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 11 | 2020-07-08T02:29:56.000Z | 2022-03-28T10:05:33.000Z | # coding: utf-8
"""
Hydrogen Integration API
The Hydrogen Integration API # noqa: E501
OpenAPI spec version: 1.3.1
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2... | 42.809574 | 155 | 0.631396 | 4,701 | 40,241 | 5.063603 | 0.037864 | 0.046043 | 0.028735 | 0.027222 | 0.962569 | 0.954587 | 0.937195 | 0.923836 | 0.911359 | 0.902285 | 0 | 0.014898 | 0.284436 | 40,241 | 939 | 156 | 42.855165 | 0.811773 | 0.306727 | 0 | 0.756335 | 1 | 0 | 0.204768 | 0.059296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.007797 | 0 | 0.099415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ec6f4b0e8ea00a1d9e836e0ce9dd4bfe7fc0f269 | 169 | py | Python | src/__init__.py | caja-matematica/chimera-embedding | 637a3c1823d608e24c04ee355ae43b2590388216 | [
"Apache-2.0"
] | 26 | 2016-05-13T22:17:13.000Z | 2022-01-16T16:48:44.000Z | src/__init__.py | caja-matematica/chimera-embedding | 637a3c1823d608e24c04ee355ae43b2590388216 | [
"Apache-2.0"
] | 1 | 2019-06-20T16:49:00.000Z | 2019-06-20T16:49:00.000Z | src/__init__.py | caja-matematica/chimera-embedding | 637a3c1823d608e24c04ee355ae43b2590388216 | [
"Apache-2.0"
] | 23 | 2016-10-14T18:08:53.000Z | 2022-01-16T16:48:57.000Z | try:
from polynomialembedder import processor, random_processor
except ImportError:
from chimera_embedding.polynomialembedder import processor, random_processor
| 33.8 | 80 | 0.846154 | 17 | 169 | 8.235294 | 0.588235 | 0.342857 | 0.471429 | 0.557143 | 0.685714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12426 | 169 | 4 | 81 | 42.25 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
01ffaedab6f3ca7889d6a7e9a4c2516ee6baecfa | 2,098 | py | Python | src/test/string_instructions.py | cgjones/rr | dcdde9c497cad27618b27f6754c11b0693894178 | [
"MIT"
] | null | null | null | src/test/string_instructions.py | cgjones/rr | dcdde9c497cad27618b27f6754c11b0693894178 | [
"MIT"
] | null | null | null | src/test/string_instructions.py | cgjones/rr | dcdde9c497cad27618b27f6754c11b0693894178 | [
"MIT"
] | null | null | null | from rrutil import *
send_gdb('break string_store\n')
expect_gdb('Breakpoint 1')
# string_store 1-byte forwards
send_gdb('c\n')
expect_gdb('Breakpoint 1')
send_gdb('finish\n')
send_gdb('watch -l p[1000000]\n')
expect_gdb('watchpoint')
send_gdb('reverse-continue\n')
expect_gdb('Old value = 97')
expect_gdb('New value =... | 23.311111 | 57 | 0.706864 | 384 | 2,098 | 3.65625 | 0.140625 | 0.19943 | 0.19943 | 0.076923 | 0.85114 | 0.824786 | 0.787037 | 0.787037 | 0.740028 | 0.720085 | 0 | 0.080169 | 0.096282 | 2,098 | 89 | 58 | 23.573034 | 0.660338 | 0.120591 | 0 | 0.84 | 0 | 0 | 0.425694 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.013333 | 0 | 0.013333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
bd63ceb382d5ee184d8d6f6f53d3a166347f2f5d | 132 | py | Python | exit.py | sid1689/parking_lot_gate_final | d097c811aee706f23f1f1c83d130aa8e6654c7a8 | [
"MIT"
] | null | null | null | exit.py | sid1689/parking_lot_gate_final | d097c811aee706f23f1f1c83d130aa8e6654c7a8 | [
"MIT"
] | null | null | null | exit.py | sid1689/parking_lot_gate_final | d097c811aee706f23f1f1c83d130aa8e6654c7a8 | [
"MIT"
] | null | null | null | from exit_camera import ExitCamera
from utils import GATE_CAMERA_1, GATE_CAMERA_2, GATE_CAMERA_3, WEBCAM
ExitCamera(GATE_CAMERA_1)
| 26.4 | 69 | 0.863636 | 22 | 132 | 4.772727 | 0.5 | 0.380952 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0.098485 | 132 | 4 | 70 | 33 | 0.84874 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
da180a85518dbf933bcb617d3b6ada19c27298a7 | 1,928 | py | Python | dacbench/challenge_benchmarks/state_space_challenge/random_states.py | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | 11 | 2020-11-09T10:50:31.000Z | 2022-02-19T09:23:44.000Z | dacbench/challenge_benchmarks/state_space_challenge/random_states.py | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | 95 | 2020-11-18T09:37:30.000Z | 2022-02-17T10:05:33.000Z | dacbench/challenge_benchmarks/state_space_challenge/random_states.py | ndangtt/LeadingOnesDAC | 953747d8702f179851d7973c65779a1f830e03a1 | [
"Apache-2.0"
] | 11 | 2020-11-15T15:24:27.000Z | 2022-03-14T14:51:43.000Z | import numpy as np
def small_random_luby_state(self):
core_state = self.get_default_state(None)
num_random_elements = 20 - len(core_state)
for i in range(num_random_elements):
core_state.append(np.random.normal(3, 2.5))
return core_state
def random_luby_state(self):
core_state = self.get... | 32.133333 | 59 | 0.604772 | 270 | 1,928 | 4.059259 | 0.144444 | 0.229927 | 0.155109 | 0.104015 | 0.958029 | 0.958029 | 0.958029 | 0.958029 | 0.906934 | 0.906934 | 0 | 0.038856 | 0.292531 | 1,928 | 59 | 60 | 32.677966 | 0.764663 | 0 | 0 | 0.784314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.019608 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
da461498208022c63d566b06b25d172000c5b03b | 8,549 | py | Python | src/test/pythonFiles/typeFormatFiles/elseBlocks2.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | src/test/pythonFiles/typeFormatFiles/elseBlocks2.py | ChaseKnowlden/vscode-jupyter | 9bdaf87f0b6dcd717c508e9023350499a6093f97 | [
"MIT"
] | 8,428 | 2020-11-11T22:06:43.000Z | 2022-03-31T23:42:34.000Z | src/test/pythonFiles/typeFormatFiles/elseBlocks2.py | vasili8m/vscode-python | 846eee870e8b7bab38172600836faedb5fb80166 | [
"MIT"
] | 158 | 2020-11-12T07:49:02.000Z | 2022-03-27T20:50:20.000Z | var = 100
if var == 200:
print "1 - Got a true expression value"
print var
elif var == 150:
print "2 - Got a true expression value"
print var
elif var == 100:
print "3 - Got a true expression value"
print var
else:
print "4 - Got a false expression value"
print var
var = 100
if var == 200:
print ... | 23.357923 | 64 | 0.553866 | 1,252 | 8,549 | 3.778754 | 0.073482 | 0.037201 | 0.186007 | 0.213908 | 0.996195 | 0.996195 | 0.996195 | 0.996195 | 0.996195 | 0.996195 | 0 | 0.036733 | 0.331267 | 8,549 | 365 | 65 | 23.421918 | 0.790799 | 0 | 0 | 0.99373 | 0 | 0 | 0.240187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.00627 | 0 | null | null | 0.401254 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 11 |
da4b9ad0ca6cdb8cb1b1de17d0b8b5af337b5e81 | 210 | py | Python | init_map/admin.py | PavelMostovoy/map.aqa.science | 9a6e9a68228af54f98f37c2e3db3bb66b22b653c | [
"Apache-2.0"
] | null | null | null | init_map/admin.py | PavelMostovoy/map.aqa.science | 9a6e9a68228af54f98f37c2e3db3bb66b22b653c | [
"Apache-2.0"
] | null | null | null | init_map/admin.py | PavelMostovoy/map.aqa.science | 9a6e9a68228af54f98f37c2e3db3bb66b22b653c | [
"Apache-2.0"
] | null | null | null | from leaflet.admin import LeafletGeoAdmin
from django.contrib import admin
from .models import Spot, Polygon
admin.site.register((Polygon, Spot), LeafletGeoAdmin)
# admin.site.register(Polygon,LeafletGeoAdmin) | 35 | 53 | 0.828571 | 26 | 210 | 6.692308 | 0.461538 | 0.103448 | 0.195402 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 210 | 6 | 54 | 35 | 0.90625 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
e53a4e58537968f6d340737293b38acf2e824ab3 | 564 | py | Python | tests/test_all_imports.py | connor-mccarthy/snappy | 58b890ddffe46ea2de37c40bf8ab971788649b17 | [
"MIT"
] | null | null | null | tests/test_all_imports.py | connor-mccarthy/snappy | 58b890ddffe46ea2de37c40bf8ab971788649b17 | [
"MIT"
] | null | null | null | tests/test_all_imports.py | connor-mccarthy/snappy | 58b890ddffe46ea2de37c40bf8ab971788649b17 | [
"MIT"
] | null | null | null | # flake8: noqa
# type: ignore
from snappy.cli.application import *
from snappy.cli.commands import *
from snappy.cli.config import *
from snappy.cli.constants import *
from snappy.cli.helpers.aws.ecr import *
from snappy.cli.helpers.aws.general import *
from snappy.cli.helpers.aws.iam import *
from snappy.cli.helpers.a... | 28.2 | 52 | 0.785461 | 85 | 564 | 5.152941 | 0.341176 | 0.296804 | 0.438356 | 0.43379 | 0.383562 | 0.26484 | 0 | 0 | 0 | 0 | 0 | 0.002012 | 0.118794 | 564 | 19 | 53 | 29.684211 | 0.879276 | 0.044326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | true | 0.066667 | 0.933333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
e57200d198394d43c342a29c7f204b1d6bf807d3 | 20,398 | py | Python | code/DataLoader.py | wenhuchen/KGPT | f898577d8e0ebbf48ea84915777c7b01e616ca3a | [
"MIT"
] | 119 | 2020-10-06T08:21:21.000Z | 2022-03-25T12:00:10.000Z | code/DataLoader.py | wenhuchen/KGPT | f898577d8e0ebbf48ea84915777c7b01e616ca3a | [
"MIT"
] | 7 | 2020-10-29T09:34:14.000Z | 2021-12-28T14:27:27.000Z | code/DataLoader.py | wenhuchen/KGPT | f898577d8e0ebbf48ea84915777c7b01e616ca3a | [
"MIT"
] | 16 | 2020-10-07T18:58:48.000Z | 2022-02-23T07:42:29.000Z | import torch
import os
import numpy as np
import json
import torch
import random
import pandas
import re
import copy
from torch.utils.data import Dataset
def safe_setting(matrix, x_start, x_end, y_start, y_end):
if x_start >= matrix.shape[0] or y_start >= matrix.shape[0]:
return
matrix[x_start:min(mat... | 43.772532 | 162 | 0.585548 | 2,472 | 20,398 | 4.531958 | 0.066343 | 0.047487 | 0.048201 | 0.051058 | 0.857627 | 0.851111 | 0.835044 | 0.816746 | 0.792823 | 0.745515 | 0 | 0.013094 | 0.303608 | 20,398 | 465 | 163 | 43.866667 | 0.775572 | 0.004461 | 0 | 0.761905 | 0 | 0 | 0.027236 | 0 | 0 | 0 | 0 | 0 | 0.005602 | 1 | 0.061625 | false | 0.002801 | 0.028011 | 0.011204 | 0.162465 | 0.008403 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
e5ad7824694b522e6da97d8fd7dfc74973ed460c | 5,867 | py | Python | code/utils/functions/hypothesis.py | berkeley-stat159/project-alpha | 330d025c4eda94d390a82e86deecb791086c9dbf | [
"BSD-3-Clause"
] | 4 | 2015-10-30T23:08:32.000Z | 2021-06-24T03:44:02.000Z | code/utils/functions/hypothesis.py | berkeley-stat159/project-alpha | 330d025c4eda94d390a82e86deecb791086c9dbf | [
"BSD-3-Clause"
] | 179 | 2015-10-25T15:59:56.000Z | 2017-10-31T02:40:24.000Z | code/utils/functions/hypothesis.py | berkeley-stat159/project-alpha | 330d025c4eda94d390a82e86deecb791086c9dbf | [
"BSD-3-Clause"
] | 11 | 2015-10-20T19:15:10.000Z | 2019-02-23T19:33:03.000Z | #hypothesis testing function
from __future__ import absolute_import, division, print_function
from scipy.stats import t as t_dist
from glm import glm, glm_multiple
import numpy as np
import numpy.linalg as npl
def t_stat(data_4d, convolved, c = [0,1]):
"""
Return four values, the estimated beta, t-value,
... | 27.162037 | 80 | 0.603204 | 950 | 5,867 | 3.672632 | 0.154737 | 0.030954 | 0.041273 | 0.026082 | 0.887934 | 0.881628 | 0.870737 | 0.846088 | 0.832617 | 0.832617 | 0 | 0.019259 | 0.291972 | 5,867 | 215 | 81 | 27.288372 | 0.820655 | 0.527527 | 0 | 0.731343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044776 | false | 0 | 0.074627 | 0 | 0.164179 | 0.014925 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
008f5dace6c6c532cb842667e200fc48bee42f01 | 235 | py | Python | pymusicdl_termux/modules/__init__.py | insaiyancvk/pymusicdl-termux | 556f0bd1a99f6b219253ca905ba93a2e82fc0beb | [
"MIT"
] | 1 | 2021-12-04T01:40:00.000Z | 2021-12-04T01:40:00.000Z | pymusicdl_termux/modules/__init__.py | insaiyancvk/pymusicdl-termux | 556f0bd1a99f6b219253ca905ba93a2e82fc0beb | [
"MIT"
] | null | null | null | pymusicdl_termux/modules/__init__.py | insaiyancvk/pymusicdl-termux | 556f0bd1a99f6b219253ca905ba93a2e82fc0beb | [
"MIT"
] | null | null | null | from pymusicdl_termux.modules.common import common
from pymusicdl_termux.modules.spotify_downloader import spotify_downloader
from pymusicdl_termux.modules.ytDownloader import yt_downloader
from pymusicdl_termux.modules.picker import * | 58.75 | 74 | 0.897872 | 30 | 235 | 6.8 | 0.366667 | 0.254902 | 0.372549 | 0.509804 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 235 | 4 | 75 | 58.75 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
970559de9265fd276822fbcf92f97e39fd6f9b3e | 38,876 | py | Python | code/models.py | modichirag/cosmic-rim | 3b621e676fe9aaa6cdc84adc92bb9b9d8bbe5f25 | [
"MIT"
] | null | null | null | code/models.py | modichirag/cosmic-rim | 3b621e676fe9aaa6cdc84adc92bb9b9d8bbe5f25 | [
"MIT"
] | null | null | null | code/models.py | modichirag/cosmic-rim | 3b621e676fe9aaa6cdc84adc92bb9b9d8bbe5f25 | [
"MIT"
] | null | null | null | ###list of models:
import numpy as np
import os
#os.environ["CUDA_VISIBLE_DEVICES"]="1"
#
import tensorflow as tf
import tensorflow.contrib.slim as slim
from tensorflow.contrib.slim import add_arg_scope
from layers import wide_resnet, wide_resnet_snorm, valid_resnet
from layers import wide_resnet_snorm
from pixelcnn3... | 46.007101 | 155 | 0.601219 | 4,597 | 38,876 | 4.884925 | 0.074614 | 0.010688 | 0.032419 | 0.036338 | 0.888582 | 0.87647 | 0.867385 | 0.854115 | 0.841913 | 0.838039 | 0 | 0.022126 | 0.290822 | 38,876 | 844 | 156 | 46.061611 | 0.792383 | 0.168587 | 0 | 0.757874 | 0 | 0 | 0.036938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023622 | false | 0 | 0.023622 | 0 | 0.070866 | 0.031496 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
97093e1c15216677839306e4f7a46a60c1560a39 | 8,585 | py | Python | prysm/polynomials/hermite.py | Lixiaoxin-HIT/prysm | 42d95bd0352778d73555fc18f9b927706f841ae1 | [
"MIT"
] | 1 | 2022-03-29T02:10:14.000Z | 2022-03-29T02:10:14.000Z | prysm/polynomials/hermite.py | Lixiaoxin-HIT/prysm | 42d95bd0352778d73555fc18f9b927706f841ae1 | [
"MIT"
] | null | null | null | prysm/polynomials/hermite.py | Lixiaoxin-HIT/prysm | 42d95bd0352778d73555fc18f9b927706f841ae1 | [
"MIT"
] | null | null | null | """Hermite Polynomials."""
from prysm.mathops import np
def hermite_He(n, x):
"""Probabilist's Hermite polynomial He of order n at points x.
Parameters
----------
n : int
polynomial order
x : numpy.ndarray
point(s) to evaluate at. Scalars and arrays both work.
Returns
-... | 22.356771 | 80 | 0.528014 | 1,327 | 8,585 | 3.339111 | 0.116805 | 0.043331 | 0.027082 | 0.028887 | 0.905665 | 0.894606 | 0.868427 | 0.868427 | 0.867524 | 0.84947 | 0 | 0.042058 | 0.354688 | 8,585 | 383 | 81 | 22.415144 | 0.757762 | 0.49668 | 0 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.006579 | 0 | 0.217105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
974287d09250c7455846f7bf454bd8478b6d7d1c | 1,232 | py | Python | lista2/Q1-Q14/Q7.py | AlexandrePeBrito/Python | 79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0 | [
"MIT"
] | null | null | null | lista2/Q1-Q14/Q7.py | AlexandrePeBrito/Python | 79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0 | [
"MIT"
] | null | null | null | lista2/Q1-Q14/Q7.py | AlexandrePeBrito/Python | 79a09b1fb8e705dc7b6859d977c8916a2d0dd4d0 | [
"MIT"
] | null | null | null | #Faça um Programa que leia três números e mostre o maior e o menor deles
num1 = int(input("Informe o primeiro numero: "))
num2 = int(input("Informe o segundo numero: "))
num3 = int(input("Informe o terceiro numero: "))
if((num1>num2)and(num1>num3)):
print("O Primeiro numero que tem o valor %.0f eh o maior dentre ... | 51.333333 | 92 | 0.671266 | 220 | 1,232 | 3.759091 | 0.163636 | 0.065296 | 0.130593 | 0.141475 | 0.719468 | 0.704958 | 0.704958 | 0.704958 | 0.704958 | 0.704958 | 0 | 0.051706 | 0.215097 | 1,232 | 24 | 93 | 51.333333 | 0.803516 | 0.05763 | 0 | 0.285714 | 0 | 0 | 0.608958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 7 |
974779bebf3db40d2eca9dfa4c198763794ecb9c | 11,937 | py | Python | tests/ui_tests/test_mixed_ui_options.py | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | null | null | null | tests/ui_tests/test_mixed_ui_options.py | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | null | null | null | tests/ui_tests/test_mixed_ui_options.py | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | 44.375465 | 115 | 0.783195 | 1,694 | 11,937 | 5.068477 | 0.084416 | 0.046587 | 0.040997 | 0.047519 | 0.866993 | 0.860238 | 0.854647 | 0.850454 | 0.840904 | 0.832867 | 0 | 0.00236 | 0.148111 | 11,937 | 268 | 116 | 44.541045 | 0.841971 | 0.143085 | 0 | 0.707865 | 0 | 0 | 0.169716 | 0.115132 | 0 | 0 | 0 | 0 | 0.219101 | 1 | 0.101124 | false | 0 | 0.033708 | 0 | 0.134831 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9752dcfddfc7819d1fc49d848538d725ec7890b0 | 4,249 | py | Python | tests/test_Autoloader_update_inventory.py | Robpol86/tape_bulk_eject | 13b49565d5180925938b1182469bafb2929e0648 | [
"MIT"
] | 2 | 2018-03-08T21:49:06.000Z | 2019-07-03T20:39:04.000Z | tests/test_Autoloader_update_inventory.py | Robpol86/tape_bulk_eject | 13b49565d5180925938b1182469bafb2929e0648 | [
"MIT"
] | 1 | 2016-01-06T22:10:33.000Z | 2016-02-18T23:33:11.000Z | tests/test_Autoloader_update_inventory.py | Robpol86/tape_bulk_eject | 13b49565d5180925938b1182469bafb2929e0648 | [
"MIT"
] | 1 | 2019-06-30T19:07:14.000Z | 2019-06-30T19:07:14.000Z | import StringIO
import pytest
from tape_bulk_eject import Autoloader, HandledError
def test_bad_html(monkeypatch, caplog):
def urlopen(_):
return StringIO.StringIO('This is not HTML.')
monkeypatch.setattr('urllib2.urlopen', urlopen)
autoloader = Autoloader('host', '', '')
with pytest.raises... | 39.342593 | 98 | 0.560367 | 468 | 4,249 | 4.995727 | 0.196581 | 0.071856 | 0.150128 | 0.133447 | 0.762618 | 0.745509 | 0.745509 | 0.719846 | 0.719846 | 0.609068 | 0 | 0.086733 | 0.267357 | 4,249 | 107 | 99 | 39.71028 | 0.664311 | 0 | 0 | 0.702128 | 0 | 0.010638 | 0.617322 | 0.15792 | 0 | 0 | 0 | 0 | 0.042553 | 1 | 0.074468 | false | 0 | 0.031915 | 0.010638 | 0.148936 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9756fac96650732649ed769608ff66f725f28767 | 24,477 | py | Python | src/api/datahub/access/tests/fixture/access.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 84 | 2021-06-30T06:20:23.000Z | 2022-03-22T03:05:49.000Z | src/api/datahub/access/tests/fixture/access.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 7 | 2021-06-30T06:21:16.000Z | 2022-03-29T07:36:13.000Z | src/api/datahub/access/tests/fixture/access.py | Chromico/bk-base | be822d9bbee544a958bed4831348185a75604791 | [
"MIT"
] | 40 | 2021-06-30T06:21:26.000Z | 2022-03-29T12:42:26.000Z | # -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available.
Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
BK-BASE 蓝鲸基础平台 is licensed under the MIT License.
License for BK-BASE 蓝鲸基础平台:
------------------------------------------... | 36.10177 | 111 | 0.567226 | 2,998 | 24,477 | 4.356237 | 0.096731 | 0.070444 | 0.066616 | 0.079939 | 0.858499 | 0.852067 | 0.848851 | 0.841271 | 0.837519 | 0.829556 | 0 | 0.030738 | 0.284921 | 24,477 | 677 | 112 | 36.155096 | 0.71542 | 0.057523 | 0 | 0.770318 | 0 | 0.010601 | 0.434228 | 0.035233 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04947 | false | 0.010601 | 0.003534 | 0 | 0.053004 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
977029b94deded3231dea257c689363167f5b914 | 224 | py | Python | p0001/test_p0001.py | th3-z/euler | cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2 | [
"MIT"
] | null | null | null | p0001/test_p0001.py | th3-z/euler | cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2 | [
"MIT"
] | null | null | null | p0001/test_p0001.py | th3-z/euler | cccb6b2ccb6bf443ff42b28c7a7bf1d8e3c91af2 | [
"MIT"
] | null | null | null | from p0001 import mult35range
def test_mult35range():
assert sum(mult35range(0,1000)) == 233168
assert sum(mult35range(99,100)) == 99
assert sum(mult35range(0,100)) == 2318
assert sum(mult35range(0,1)) == 0
| 28 | 45 | 0.6875 | 31 | 224 | 4.935484 | 0.483871 | 0.235294 | 0.522876 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243243 | 0.174107 | 224 | 7 | 46 | 32 | 0.583784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
979bfe1038ba05e8dce925f73cc068565b73548f | 32,206 | py | Python | kapua-client/python-client/swagger_client/api/users_api.py | liang-faan/SmartIOT-Diec | 8336a4b558295295f10a82cf350d8b7ff3fb9f5c | [
"MIT"
] | 5 | 2019-05-30T02:55:16.000Z | 2020-03-03T14:18:23.000Z | kapua-client/python-client/swagger_client/api/users_api.py | liang-faan/SmartIOT-Diec | 8336a4b558295295f10a82cf350d8b7ff3fb9f5c | [
"MIT"
] | 3 | 2019-12-27T00:53:23.000Z | 2020-02-17T05:29:19.000Z | kapua-client/python-client/swagger_client/api/users_api.py | liang-faan/SmartIOT-Diec | 8336a4b558295295f10a82cf350d8b7ff3fb9f5c | [
"MIT"
] | 4 | 2019-06-04T06:26:14.000Z | 2021-01-07T04:25:32.000Z | # coding: utf-8
"""
Eclipse Kapua REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
... | 41.289744 | 120 | 0.609855 | 3,891 | 32,206 | 4.82678 | 0.051915 | 0.05069 | 0.020872 | 0.026836 | 0.964379 | 0.958948 | 0.956871 | 0.948565 | 0.945956 | 0.944625 | 0 | 0.016172 | 0.299199 | 32,206 | 779 | 121 | 41.342747 | 0.81595 | 0.350556 | 0 | 0.804762 | 1 | 0 | 0.201007 | 0.030265 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.009524 | 0 | 0.097619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
c13f47790a54888e3446fe3e754a740ee8912178 | 34,255 | py | Python | pyswmm/lidlayers.py | kmmacro/pyswmm | 028fc9a2c731bed4129ee100e295900d989867fd | [
"BSD-2-Clause"
] | 186 | 2015-06-12T13:24:02.000Z | 2022-03-24T10:19:43.000Z | pyswmm/lidlayers.py | kmmacro/pyswmm | 028fc9a2c731bed4129ee100e295900d989867fd | [
"BSD-2-Clause"
] | 256 | 2015-02-16T02:47:20.000Z | 2022-03-18T16:08:09.000Z | pyswmm/lidlayers.py | kmmacro/pyswmm | 028fc9a2c731bed4129ee100e295900d989867fd | [
"BSD-2-Clause"
] | 99 | 2015-01-11T17:06:44.000Z | 2022-03-15T09:26:44.000Z | # -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) 2018 Jennifer Wu
#
# Licensed under the terms of the BSD2 License
# See LICENSE.txt for details
# -----------------------------------------------------------------------------
from pyswmm.toolkitapi i... | 41.77439 | 89 | 0.432316 | 2,273 | 34,255 | 6.403432 | 0.063792 | 0.048231 | 0.068018 | 0.039711 | 0.867262 | 0.862384 | 0.85572 | 0.823772 | 0.74799 | 0.692546 | 0 | 0.000287 | 0.390337 | 34,255 | 819 | 90 | 41.825397 | 0.696658 | 0.369056 | 0 | 0.774112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.182741 | false | 0 | 0.002538 | 0 | 0.36802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a9b6765c1213c1a28cbaa18d03a0f87f3016764a | 816 | py | Python | Hangman drawings.py | Chief-kith/Pringles | 1490c9449588452c8464094d605d97794369b3e7 | [
"CC0-1.0"
] | null | null | null | Hangman drawings.py | Chief-kith/Pringles | 1490c9449588452c8464094d605d97794369b3e7 | [
"CC0-1.0"
] | null | null | null | Hangman drawings.py | Chief-kith/Pringles | 1490c9449588452c8464094d605d97794369b3e7 | [
"CC0-1.0"
] | null | null | null |
HANGMAN = (
"""
-----
| |
|
|
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
|
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
| -+-
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
| /-+-
|
|
|
|
|
--------
""",
"""
-----
| |
| 0
| /-+-\
|
|
|
|
|
--------... | 6.089552 | 12 | 0.020833 | 11 | 816 | 1.545455 | 0.181818 | 1.058824 | 1.411765 | 1.647059 | 0.588235 | 0.588235 | 0.588235 | 0.588235 | 0.588235 | 0 | 0 | 0.024938 | 0.508578 | 816 | 134 | 13 | 6.089552 | 0.017456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 7 |
e71a96de81fedf59936796923ed3df77c3fec33c | 4,579 | py | Python | tests/test_likenumpy.py | kgizdov/awkward-0.x | 11953017a5495527169d3a031a5e866904d824a2 | [
"BSD-3-Clause"
] | 224 | 2018-07-01T00:28:27.000Z | 2020-11-16T11:00:25.000Z | tests/test_likenumpy.py | kgizdov/awkward-0.x | 11953017a5495527169d3a031a5e866904d824a2 | [
"BSD-3-Clause"
] | 196 | 2018-07-12T06:48:42.000Z | 2020-11-01T17:18:51.000Z | tests/test_likenumpy.py | kgizdov/awkward-0.x | 11953017a5495527169d3a031a5e866904d824a2 | [
"BSD-3-Clause"
] | 42 | 2018-06-28T11:36:55.000Z | 2020-10-23T03:24:31.000Z | #!/usr/bin/env python
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-0.x/blob/master/LICENSE
import unittest
import numpy
import awkward0
class Test(unittest.TestCase):
def runTest(self):
pass
def test_likenumpy_slices(self):
print()
np = numpy.array([[1, 10, 10... | 57.962025 | 158 | 0.481109 | 754 | 4,579 | 2.919098 | 0.088859 | 0.058155 | 0.318037 | 0.177192 | 0.894139 | 0.894139 | 0.844162 | 0.752385 | 0.665152 | 0.607906 | 0 | 0.109531 | 0.232365 | 4,579 | 78 | 159 | 58.705128 | 0.516643 | 0.023586 | 0 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.8125 | 1 | 0.03125 | false | 0.015625 | 0.046875 | 0 | 0.09375 | 0.015625 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e72b38dc0ffb26d33e89fe5da8d51fd9b287e94f | 4,465 | py | Python | templates/handlers.py | hubenchang0515/AutoCRUD | 0a8b9a59506dac4f6118fd6d7404d02aa8b09481 | [
"MIT"
] | null | null | null | templates/handlers.py | hubenchang0515/AutoCRUD | 0a8b9a59506dac4f6118fd6d7404d02aa8b09481 | [
"MIT"
] | null | null | null | templates/handlers.py | hubenchang0515/AutoCRUD | 0a8b9a59506dac4f6118fd6d7404d02aa8b09481 | [
"MIT"
] | null | null | null | ###########################################
# Generated by AutoCRUD #
# #
# This file is used to create public #
# handlers #
###########################################
from flask import Flask, request, jsonify
from common i... | 32.355072 | 97 | 0.505039 | 482 | 4,465 | 4.543568 | 0.134855 | 0.109589 | 0.040183 | 0.0621 | 0.848402 | 0.834703 | 0.778539 | 0.700913 | 0.686301 | 0.654338 | 0 | 0.002778 | 0.274356 | 4,465 | 138 | 98 | 32.355072 | 0.673148 | 0.029339 | 0 | 0.735537 | 1 | 0 | 0.153992 | 0.068441 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.024793 | null | null | 0.066116 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
e756726c46f7469eaac90628168168163e6f6d3b | 123 | py | Python | tests/__init__.py | barroca/prime-number-table | 96704cde4cf889ba254f882d91756ed685aae685 | [
"MIT"
] | null | null | null | tests/__init__.py | barroca/prime-number-table | 96704cde4cf889ba254f882d91756ed685aae685 | [
"MIT"
] | null | null | null | tests/__init__.py | barroca/prime-number-table | 96704cde4cf889ba254f882d91756ed685aae685 | [
"MIT"
] | null | null | null | from tests.test_prime_number_generator import PrimeNumberGeneratorTest
from tests.test_prime_matrix import PrimeMatrixTest
| 41 | 70 | 0.918699 | 15 | 123 | 7.2 | 0.666667 | 0.166667 | 0.240741 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 123 | 2 | 71 | 61.5 | 0.93913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
99b06ff4e413535fff430d1fb4650a9be9a45258 | 104 | py | Python | torch_burn/traininer/__init__.py | Kitsunetic/torch_burn | 08810bc429ba793cbcfe7d3a997e9ffdc724f7b5 | [
"MIT"
] | null | null | null | torch_burn/traininer/__init__.py | Kitsunetic/torch_burn | 08810bc429ba793cbcfe7d3a997e9ffdc724f7b5 | [
"MIT"
] | null | null | null | torch_burn/traininer/__init__.py | Kitsunetic/torch_burn | 08810bc429ba793cbcfe7d3a997e9ffdc724f7b5 | [
"MIT"
] | null | null | null | from .predict import Predictor
from .trainer2 import Trainer2
from .trainer2 import Trainer2 as Trainer
| 26 | 41 | 0.836538 | 14 | 104 | 6.214286 | 0.5 | 0.275862 | 0.413793 | 0.597701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.134615 | 104 | 3 | 42 | 34.666667 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
99b4e9f2f3a6eb8c2d9b8ef0823929c44e500265 | 122 | py | Python | src/Classification/knn.py | yangbochang/FoolishMachineLearning | 41a3e6cff7e9630914be55ec91d43aed7e188c82 | [
"MIT"
] | null | null | null | src/Classification/knn.py | yangbochang/FoolishMachineLearning | 41a3e6cff7e9630914be55ec91d43aed7e188c82 | [
"MIT"
] | null | null | null | src/Classification/knn.py | yangbochang/FoolishMachineLearning | 41a3e6cff7e9630914be55ec91d43aed7e188c82 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
knn
"""
def run_knn():
''' run knn '''
print('\n' + '-' * 30 + '\n It\'s knn!')
| 12.2 | 44 | 0.360656 | 16 | 122 | 2.6875 | 0.6875 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.303279 | 122 | 9 | 45 | 13.555556 | 0.470588 | 0.286885 | 0 | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
41449190231a9781c049e6ff6cd7198e2d82840b | 132 | py | Python | src/models/loss_fn/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/models/loss_fn/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | src/models/loss_fn/__init__.py | kryvokhyzha/bert-for-ukranian-ner | 48da40f09cb216ad51a97c303998157858fbe8bc | [
"MIT"
] | null | null | null | from models.loss_fn.CrossEntropyLossCustom import CrossEntropyLossCustom
from models.loss_fn.FocalLossCustom import FocalLossCustom
| 44 | 72 | 0.909091 | 14 | 132 | 8.428571 | 0.5 | 0.169492 | 0.237288 | 0.271186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 132 | 2 | 73 | 66 | 0.951613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
416eff06b20e0bf6312986ae66ee22243ddab566 | 152 | py | Python | confirm/confirm.py | tueda/cli-confirm | 7d6d1335c241bdacff058ab826f5b8fc8ecd9a04 | [
"MIT"
] | null | null | null | confirm/confirm.py | tueda/cli-confirm | 7d6d1335c241bdacff058ab826f5b8fc8ecd9a04 | [
"MIT"
] | null | null | null | confirm/confirm.py | tueda/cli-confirm | 7d6d1335c241bdacff058ab826f5b8fc8ecd9a04 | [
"MIT"
] | null | null | null | """Function to confirm yes/no."""
import click
def confirm(text):
# type: (str) -> bool
"""Confirm yes/no."""
return click.confirm(text)
| 15.2 | 33 | 0.605263 | 20 | 152 | 4.6 | 0.65 | 0.217391 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 152 | 9 | 34 | 16.888889 | 0.766667 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
41c138a1829304e7b6cf03703866609a3fdb7e0b | 22,655 | py | Python | app/Archived Code for Reference Purposes/market_comp_csv_printer.py | hirokiden/Apprentice-Investor-Tool | 37b1deb5374244228e436003dfb17d4d12343672 | [
"MIT"
] | 1 | 2019-07-03T14:09:31.000Z | 2019-07-03T14:09:31.000Z | app/Archived Code for Reference Purposes/market_comp_csv_printer.py | hirokiden/Apprentice-Investor-Tool | 37b1deb5374244228e436003dfb17d4d12343672 | [
"MIT"
] | null | null | null | app/Archived Code for Reference Purposes/market_comp_csv_printer.py | hirokiden/Apprentice-Investor-Tool | 37b1deb5374244228e436003dfb17d4d12343672 | [
"MIT"
] | null | null | null | # python market_comp_csv_printer.py
import os
import requests
import json # need this to import json string into dictionary
from datetime import datetime # taken from stackoverflow
import csv # so you can write date to .csv
# Current Time for transaction pull
date_time = datetime.now().strftime("%m/%d/%Y, %I:%M:%S%... | 48.304904 | 166 | 0.699316 | 2,711 | 22,655 | 5.525267 | 0.10734 | 0.27879 | 0.068896 | 0.022832 | 0.816877 | 0.763068 | 0.718473 | 0.70225 | 0.690099 | 0.690099 | 0 | 0.005335 | 0.180976 | 22,655 | 468 | 167 | 48.40812 | 0.80194 | 0.282189 | 0 | 0.785156 | 0 | 0.003906 | 0.269183 | 0.004288 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003906 | false | 0 | 0.019531 | 0.003906 | 0.027344 | 0.042969 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
68e56edd8cd5b78dd277a63a1b077a081edc3eef | 236 | py | Python | run.py | MarlaWillemse/sales-forecast | d9d2d4d591eeba57375694acd1720c345f29c7ee | [
"MIT"
] | 1 | 2020-11-13T06:07:27.000Z | 2020-11-13T06:07:27.000Z | run.py | MarlaWillemse/sales-forecast | d9d2d4d591eeba57375694acd1720c345f29c7ee | [
"MIT"
] | null | null | null | run.py | MarlaWillemse/sales-forecast | d9d2d4d591eeba57375694acd1720c345f29c7ee | [
"MIT"
] | null | null | null | from preprocessing.data_utils import *
import sys
from preprocessing.data_prep1 import *
from preprocessing.xgboost_data import *
from models.xgboost_tune import *
from models.xgboost_preds import *
from create_report.md_func import *
| 26.222222 | 40 | 0.834746 | 33 | 236 | 5.757576 | 0.454545 | 0.210526 | 0.221053 | 0.242105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004785 | 0.114407 | 236 | 8 | 41 | 29.5 | 0.904306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
68fb94fdabbfeb9028407eb3272f3c551e44a51c | 148 | py | Python | robinhood/__init__.py | ChrisSowards/Robinhood | 76056dcf922e66ebca60f2f70bfc1f5c1d203d7b | [
"MIT"
] | 1 | 2020-06-18T18:08:32.000Z | 2020-06-18T18:08:32.000Z | robinhood/__init__.py | ChrisSowards/Robinhood | 76056dcf922e66ebca60f2f70bfc1f5c1d203d7b | [
"MIT"
] | null | null | null | robinhood/__init__.py | ChrisSowards/Robinhood | 76056dcf922e66ebca60f2f70bfc1f5c1d203d7b | [
"MIT"
] | null | null | null | import six
if six.PY3:
from .trader import Trader
else:
from .trader import Trader
from . import endpoints
from . import crypto_endpoints
| 14.8 | 30 | 0.743243 | 21 | 148 | 5.190476 | 0.428571 | 0.183486 | 0.293578 | 0.40367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.209459 | 148 | 9 | 31 | 16.444444 | 0.923077 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
68fca2440bbc4f490c504eb96997854efc2271ae | 676,716 | py | Python | hyper_resource/tests.py | IDEHCO3/kanban-backend | 902732f0fd569627925356d6b9d68a5ec7680b88 | [
"MIT"
] | null | null | null | hyper_resource/tests.py | IDEHCO3/kanban-backend | 902732f0fd569627925356d6b9d68a5ec7680b88 | [
"MIT"
] | null | null | null | hyper_resource/tests.py | IDEHCO3/kanban-backend | 902732f0fd569627925356d6b9d68a5ec7680b88 | [
"MIT"
] | null | null | null | import django
import rest_framework
#from rest_framework import generics
#from rest_framework.response import Response
#from rest_framework.views import APIView
#from rest_framework import permissions
#from rest_framework import permissions
from django.contrib.gis.geos import Point
from django.test import TestCase
# C... | 63.750919 | 644 | 0.743024 | 80,445 | 676,716 | 5.853216 | 0.012692 | 0.085596 | 0.047211 | 0.042399 | 0.969843 | 0.962505 | 0.952154 | 0.946324 | 0.940031 | 0.932101 | 0 | 0.007155 | 0.153425 | 676,716 | 10,614 | 645 | 63.756925 | 0.81475 | 0.043393 | 0 | 0.793229 | 0 | 0.00927 | 0.1533 | 0.056099 | 0 | 0 | 0 | 0.000377 | 0.505979 | 1 | 0.074164 | false | 0.007658 | 0.003225 | 0.000806 | 0.091361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
ec2fcc0503789b806683d8c4f39d4c37c976288e | 440 | py | Python | aiocouch/__init__.py | adrienverge/aiocouch | c75d6c8ef322947f8b4e8a2b329e68bb03be6b83 | [
"BSD-3-Clause"
] | null | null | null | aiocouch/__init__.py | adrienverge/aiocouch | c75d6c8ef322947f8b4e8a2b329e68bb03be6b83 | [
"BSD-3-Clause"
] | null | null | null | aiocouch/__init__.py | adrienverge/aiocouch | c75d6c8ef322947f8b4e8a2b329e68bb03be6b83 | [
"BSD-3-Clause"
] | null | null | null | from .couchdb import CouchDB
from .exception import (
BadRequestError,
ConflictError,
UnauthorizedError,
NotFoundError,
ExpectationFailedError,
PreconditionFailedError,
UnsupportedMediaTypeError,
)
__all__ = [
"CouchDB",
"BadRequestError",
"ConflictError",
"UnauthorizedError... | 20 | 32 | 0.711364 | 23 | 440 | 13.434783 | 0.521739 | 0.18123 | 0.291262 | 0.375405 | 0.828479 | 0.828479 | 0.828479 | 0 | 0 | 0 | 0 | 0 | 0.202273 | 440 | 21 | 33 | 20.952381 | 0.880342 | 0 | 0 | 0 | 0 | 0 | 0.306818 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 1 | 0 | 1 | null | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b619fd684aa25b6dbf08d7402ec1e7fa0d4e820 | 14,318 | py | Python | geosoft/gxapi/GXGRID3D.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 25 | 2017-07-14T06:39:37.000Z | 2022-03-09T21:39:51.000Z | geosoft/gxapi/GXGRID3D.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 100 | 2016-12-13T17:30:41.000Z | 2021-08-01T20:21:13.000Z | geosoft/gxapi/GXGRID3D.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 28 | 2016-12-12T17:34:40.000Z | 2022-03-16T15:39:39.000Z | ### extends 'class_empty.py'
### block ClassImports
# NOTICE: Do not edit anything here, it is generated code
from . import gxapi_cy
from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref
### endblock ClassImports
### block Header
# NOTICE: The code generator will not replace the code in this block
### end... | 28.521912 | 439 | 0.564534 | 1,783 | 14,318 | 4.37521 | 0.076837 | 0.019997 | 0.037687 | 0.056531 | 0.787976 | 0.76362 | 0.75516 | 0.735162 | 0.715165 | 0.698885 | 0 | 0.022777 | 0.334614 | 14,318 | 502 | 440 | 28.521912 | 0.796053 | 0.600293 | 0 | 0.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.369231 | false | 0 | 0.030769 | 0 | 0.646154 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b7b2a29bcbbdabcbf2cdba95df668b81ac90c1b | 11,584 | py | Python | PROJECTS/p001/PSEF_SCRIPTS/ctemplates.py | nihole/PSEFABRIC | 366461ab86f99665bf310425c6ce05a216343ec9 | [
"Apache-2.0",
"MIT"
] | 11 | 2017-06-29T10:12:39.000Z | 2020-03-12T07:19:11.000Z | PROJECTS/p001/PSEF_SCRIPTS/ctemplates.py | nihole/PSEFABRIC | 366461ab86f99665bf310425c6ce05a216343ec9 | [
"Apache-2.0",
"MIT"
] | null | null | null | PROJECTS/p001/PSEF_SCRIPTS/ctemplates.py | nihole/PSEFABRIC | 366461ab86f99665bf310425c6ce05a216343ec9 | [
"Apache-2.0",
"MIT"
] | 3 | 2019-04-18T06:44:21.000Z | 2021-06-26T14:22:55.000Z | import re
import cidr_to_netmask
'''
The list of templates for cisco
'''
######## vlan ###########
def cisco_create_vlan (name, ipv4_prefix, vlan, vrf, interface):
config_txt = '''
vlan %s
name %s''' % (vlan, name)
return config_txt
def cisco_delete_vlan (name, ipv4_prefix, vlan, vrf, interface):
config... | 31.736986 | 266 | 0.68068 | 1,520 | 11,584 | 4.886184 | 0.054605 | 0.087519 | 0.05655 | 0.048472 | 0.939814 | 0.931601 | 0.912751 | 0.899421 | 0.885283 | 0.85243 | 0 | 0.002491 | 0.202866 | 11,584 | 364 | 267 | 31.824176 | 0.801819 | 0.00682 | 0 | 0.78626 | 0 | 0.007634 | 0.197242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.10687 | false | 0 | 0.007634 | 0 | 0.221374 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6b9479a8612c1340081b404912f6263e96e9e0f4 | 2,536 | py | Python | tests/test_checker.py | drvinceknight/dwys | cdf34a43937d1f12d5e6705754469074aebf71d9 | [
"MIT"
] | null | null | null | tests/test_checker.py | drvinceknight/dwys | cdf34a43937d1f12d5e6705754469074aebf71d9 | [
"MIT"
] | 3 | 2019-11-07T10:56:13.000Z | 2019-11-07T11:46:54.000Z | tests/test_checker.py | drvinceknight/dwys | cdf34a43937d1f12d5e6705754469074aebf71d9 | [
"MIT"
] | null | null | null | import pytest
import dwys
def test_diff_with_no_diff_python():
input_code = [
"a = 4 + 4\nb = a + 3\nprint(b)\n",
"weights = [12, 15, 10]\nfor weight in weights:\n print(weight)\n",
]
expected_output_code = ["11\n12\n15\n10"]
diff, output_code, expected_output = dwys.diff(
... | 28.494382 | 78 | 0.591088 | 335 | 2,536 | 4.173134 | 0.146269 | 0.214592 | 0.23176 | 0.157368 | 0.934907 | 0.925608 | 0.881259 | 0.881259 | 0.881259 | 0.876967 | 0 | 0.040519 | 0.27011 | 2,536 | 88 | 79 | 28.818182 | 0.714749 | 0 | 0 | 0.506667 | 0 | 0 | 0.209385 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 1 | 0.08 | false | 0 | 0.026667 | 0 | 0.106667 | 0.093333 | 0 | 0 | 0 | null | 1 | 1 | 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 | 8 |
2e1125ce4d15c55676248d7998045dbe314c788f | 6,545 | py | Python | loldib/getratings/models/NA/na_syndra/na_syndra_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_syndra/na_syndra_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_syndra/na_syndra_sup.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Syndra_Sup_Aatrox(Ratings):
pass
class NA_Syndra_Sup_Ahri(Ratings):
pass
class NA_Syndra_Sup_Akali(Ratings):
pass
class NA_Syndra_Sup_Alistar(Ratings):
pass
class NA_Syndra_Sup_Amumu(Ratings):
pass
class NA_Syndra_Sup_Anivia(Ratings):
... | 15.695444 | 46 | 0.766692 | 972 | 6,545 | 4.736626 | 0.151235 | 0.209818 | 0.389661 | 0.479583 | 0.803432 | 0.803432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169748 | 6,545 | 416 | 47 | 15.733173 | 0.847258 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
cf1e28fae11f00409a5d1a10dadd6da478d5b0ab | 5,880 | py | Python | rest_api/general.py | giusdp/pandascore-API-python | 50c912ba5f4d63711bc94436a4da529becbe7311 | [
"MIT"
] | 1 | 2017-12-01T19:39:05.000Z | 2017-12-01T19:39:05.000Z | rest_api/general.py | giusdp/pandascore-API-python | 50c912ba5f4d63711bc94436a4da529becbe7311 | [
"MIT"
] | null | null | null | rest_api/general.py | giusdp/pandascore-API-python | 50c912ba5f4d63711bc94436a4da529becbe7311 | [
"MIT"
] | null | null | null | from rest_api.videogame import GenericCallsSet
class GeneralPanda(GenericCallsSet):
def __init__(self):
super().__init__()
# LEAGUES
def get_all_leagues(self, q_sort=None, q_filter=None, q_range=None):
"""Return all the leagues. They can be sorted, filtered
:param q_sort: a list ... | 54.444444 | 117 | 0.69949 | 897 | 5,880 | 4.217391 | 0.104794 | 0.050225 | 0.079038 | 0.115517 | 0.753106 | 0.73566 | 0.73566 | 0.722707 | 0.722707 | 0.671953 | 0 | 0 | 0.196599 | 5,880 | 107 | 118 | 54.953271 | 0.800804 | 0.106293 | 0 | 0.174603 | 0 | 0 | 0.061884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.396825 | false | 0 | 0.015873 | 0.365079 | 0.809524 | 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 | 1 | 1 | 0 | 0 | 8 |
cf2ec80ca94a935671070dfd15070fbbbd531bce | 3,565 | py | Python | dex_envs/__init__.py | huangwl18/geometry-dex | 0c629316258ef560b360c6103d83d5cb828e3ccd | [
"MIT"
] | 29 | 2021-11-11T23:05:02.000Z | 2022-03-10T06:05:23.000Z | dex_envs/__init__.py | huangwl18/geometry-dex | 0c629316258ef560b360c6103d83d5cb828e3ccd | [
"MIT"
] | 2 | 2021-12-13T16:18:14.000Z | 2022-03-09T14:04:37.000Z | dex_envs/__init__.py | huangwl18/geometry-dex | 0c629316258ef560b360c6103d83d5cb828e3ccd | [
"MIT"
] | 2 | 2021-11-18T06:00:30.000Z | 2021-12-17T03:04:52.000Z | import os
from gym.envs.registration import register
OWN_PATH = os.path.dirname(os.path.abspath(__file__))
# Arguments for different versions of dex-rotate environments, used to initialize ManipulateEnv from Gym
all_versions = {
'v0': {'target_position': 'ignore', 'target_rotation': 'xyz', 'reward_type': 'sparse... | 75.851064 | 166 | 0.701262 | 410 | 3,565 | 5.758537 | 0.241463 | 0.216857 | 0.135536 | 0.176197 | 0.735282 | 0.735282 | 0.735282 | 0.735282 | 0.735282 | 0.735282 | 0 | 0.009325 | 0.12763 | 3,565 | 46 | 167 | 77.5 | 0.749839 | 0.028612 | 0 | 0 | 0 | 0 | 0.552153 | 0.246749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 0.05 | 0 | 0 | 0 | null | 1 | 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 | 7 |
cf59f199b08ca5b585201bf0c78fe78ebf06c0b2 | 8,114 | py | Python | VNN/experiment/learning.py | arthuraleksandrovich/vector_ann | 35158b5f9741646c362ef2c069be3503186975c9 | [
"MIT"
] | null | null | null | VNN/experiment/learning.py | arthuraleksandrovich/vector_ann | 35158b5f9741646c362ef2c069be3503186975c9 | [
"MIT"
] | null | null | null | VNN/experiment/learning.py | arthuraleksandrovich/vector_ann | 35158b5f9741646c362ef2c069be3503186975c9 | [
"MIT"
] | null | null | null | """Model testing and validation"""
import matplotlib.pyplot as plt
import numpy as np
import time
def validate_model(model_generator, datasets_generator, epochs=50, loss_name="mean_squared_error", measure_name="val_mean_squared_error", \
print_summary=True):
"""K-fold validation of model"""
... | 38.638095 | 139 | 0.652699 | 1,018 | 8,114 | 4.878193 | 0.09332 | 0.149416 | 0.044503 | 0.024164 | 0.871929 | 0.803061 | 0.786549 | 0.750705 | 0.718083 | 0.70882 | 0 | 0.011271 | 0.25647 | 8,114 | 210 | 140 | 38.638095 | 0.811868 | 0.039315 | 0 | 0.710843 | 0 | 0 | 0.105643 | 0.01984 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024096 | false | 0 | 0.018072 | 0 | 0.042169 | 0.13253 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cf8115510aa9e767f689bce6d9254135740c1138 | 445 | py | Python | challenges/shift-list/shift_list_test.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | challenges/shift-list/shift_list_test.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | 4 | 2018-03-22T19:19:11.000Z | 2018-04-11T00:35:26.000Z | challenges/shift-list/shift_list_test.py | tyler-fishbone/data-structures-and-algorithms | 29790f2672d3ddb0aadf62725f28180b092f4568 | [
"MIT"
] | null | null | null | import shift_list
import pytest
def test_insert_shift_list_with_valid_list_odd():
assert shift_list.insert_shift_list([1,2,3,4,5,6,7,8,9], 'X') == [1, 2, 3, 4, 'X', 5, 6, 7, 8, 9]
def test_insert_shift_list_with_valid_list_even():
assert shift_list.insert_shift_list([1,2,3,4,5,6,7,8], 'X') == [1, 2, 3, 4, 'X'... | 37.083333 | 101 | 0.685393 | 90 | 445 | 3.044444 | 0.255556 | 0.328467 | 0.328467 | 0.058394 | 0.850365 | 0.843066 | 0.733577 | 0.733577 | 0.350365 | 0.350365 | 0 | 0.087629 | 0.12809 | 445 | 11 | 102 | 40.454545 | 0.618557 | 0 | 0 | 0 | 0 | 0 | 0.013483 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d86c08ebb3c818cb0a63145b6ee50e605c1652f9 | 1,005 | py | Python | test_fixtures/general_repo/very_long_file.py | SerejkaSJ/fiasko_bro | dfb8c30109f317c1e5b6d211e002fd148695809e | [
"MIT"
] | 25 | 2018-01-24T10:45:35.000Z | 2020-12-05T21:47:20.000Z | test_fixtures/general_repo/very_long_file.py | SerejkaSJ/fiasko_bro | dfb8c30109f317c1e5b6d211e002fd148695809e | [
"MIT"
] | 110 | 2018-01-21T12:25:13.000Z | 2021-06-10T19:27:22.000Z | test_fixtures/general_repo/very_long_file.py | SerejkaSJ/fiasko_bro | dfb8c30109f317c1e5b6d211e002fd148695809e | [
"MIT"
] | 13 | 2017-12-12T22:19:01.000Z | 2019-01-29T18:08:05.000Z | pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
pass
... | 4.975248 | 4 | 0.8 | 201 | 1,005 | 4 | 0.004975 | 1.99005 | 2.970149 | 3.940299 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0.2 | 1,005 | 201 | 5 | 5 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 13 |
d885868a7c81134d5bda828ced1d19aadcadb776 | 121 | py | Python | kanga/stats/batch_var.py | kushagragpt99/kanga | 1f2343d15965148ae7c1dea95168c31a87b27c4f | [
"MIT"
] | 1 | 2022-02-03T08:50:35.000Z | 2022-02-03T08:50:35.000Z | kanga/stats/batch_var.py | kushagragpt99/kanga | 1f2343d15965148ae7c1dea95168c31a87b27c4f | [
"MIT"
] | null | null | null | kanga/stats/batch_var.py | kushagragpt99/kanga | 1f2343d15965148ae7c1dea95168c31a87b27c4f | [
"MIT"
] | null | null | null | import numpy as np
from .batch_mean import batch_mean
def batch_var(x, b):
return np.var(batch_mean(x, b), ddof=1)
| 17.285714 | 43 | 0.719008 | 24 | 121 | 3.458333 | 0.583333 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 0.173554 | 121 | 6 | 44 | 20.166667 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
2b19abbf4cc5a26b4e6b67538df605cb5df6afa6 | 1,212 | py | Python | captivity/tests/test_merge.py | maxsnijders/captivity | c3c2bde554f83e567c8e078db4e6bccda57eff8b | [
"MIT"
] | null | null | null | captivity/tests/test_merge.py | maxsnijders/captivity | c3c2bde554f83e567c8e078db4e6bccda57eff8b | [
"MIT"
] | null | null | null | captivity/tests/test_merge.py | maxsnijders/captivity | c3c2bde554f83e567c8e078db4e6bccda57eff8b | [
"MIT"
] | null | null | null | import pytest
def test_merge_with_duplicate_columns():
import captivity
import pandas as pd
with pytest.raises(captivity.CaptivityException):
pd.DataFrame({"a": [1], "b": [2]}).merge(
pd.DataFrame({"a": [0, 2], "b": [3, 4]}), on="a",
)
captivity.warning_mode()
with py... | 28.857143 | 79 | 0.508251 | 158 | 1,212 | 3.822785 | 0.196203 | 0.218543 | 0.238411 | 0.129139 | 0.743377 | 0.743377 | 0.743377 | 0.743377 | 0.743377 | 0.743377 | 0 | 0.039344 | 0.24505 | 1,212 | 41 | 80 | 29.560976 | 0.620765 | 0 | 0 | 0.516129 | 0 | 0 | 0.028878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | true | 0 | 0.16129 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
2b1fa7dbce8d71892d9c7b2eaae229f0ffdd3b18 | 16,603 | py | Python | grad_tn/tensornetworks/peps/brute_force_contraction/obc.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | 1 | 2021-03-22T14:16:43.000Z | 2021-03-22T14:16:43.000Z | grad_tn/tensornetworks/peps/brute_force_contraction/obc.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | null | null | null | grad_tn/tensornetworks/peps/brute_force_contraction/obc.py | Jakob-Unfried/msc-legacy | 2c41f3f714936c25dd534bd66da802c26176fcfa | [
"MIT"
] | null | null | null | import numpy as onp
import grad_tn.tensornetworks.peps.brute_force_contraction._obc_instructions as instructions
from utils.jax_utils.ncon_jax import ncon
def two_layers(bra_tensors, ket_tensors):
lx, ly = len(bra_tensors), len(bra_tensors[0])
assert all(len(bra_tensors[x]) == ly for x in range(lx))
asser... | 36.093478 | 118 | 0.466783 | 2,928 | 16,603 | 2.498634 | 0.045765 | 0.062056 | 0.020503 | 0.044287 | 0.919492 | 0.915254 | 0.908967 | 0.896391 | 0.881629 | 0.878896 | 0 | 0.035601 | 0.355418 | 16,603 | 459 | 119 | 36.172113 | 0.64801 | 0.149852 | 0 | 0.722045 | 0 | 0 | 0.009165 | 0 | 0 | 0 | 0 | 0 | 0.051118 | 1 | 0.070288 | false | 0 | 0.009585 | 0.009585 | 0.309904 | 0.025559 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b3dd39f1163cd7d91d3dcecc75d4fd5fe52c9c3 | 103 | py | Python | pyball/constants.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | null | null | null | pyball/constants.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | null | null | null | pyball/constants.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | null | null | null | BASE_URL = "http://statsapi.mlb.com/api/v1/"
CURRENT_VERSION_URL = "http://statsapi.mlb.com/api/v1.1/"
| 34.333333 | 57 | 0.718447 | 18 | 103 | 3.944444 | 0.611111 | 0.197183 | 0.422535 | 0.507042 | 0.732394 | 0.732394 | 0.732394 | 0 | 0 | 0 | 0 | 0.030928 | 0.058252 | 103 | 2 | 58 | 51.5 | 0.701031 | 0 | 0 | 0 | 0 | 0 | 0.621359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2b6950773d069040200276ce9bf896f37ed052e9 | 6,563 | py | Python | nulspy/trxs/contract.py | xiangxn/nulspy | df2323bcb6fb76b16e236a5c2331a1a74ee99908 | [
"MIT"
] | 2 | 2020-03-16T06:00:55.000Z | 2020-03-16T21:09:03.000Z | nulspy/trxs/contract.py | xiangxn/nulspy | df2323bcb6fb76b16e236a5c2331a1a74ee99908 | [
"MIT"
] | null | null | null | nulspy/trxs/contract.py | xiangxn/nulspy | df2323bcb6fb76b16e236a5c2331a1a74ee99908 | [
"MIT"
] | null | null | null | from nulspy.coder import Coder
from .register import register_tx_type
from nulspy.base_data import BaseNulsData
from nulspy.define import Define
from nulspy.address import Address
from nulspy.trxs.base import BaseModuleData
import struct
import logging
LOGGER = logging.getLogger('contract_module')
class CreateContra... | 36.664804 | 83 | 0.587384 | 691 | 6,563 | 5.545586 | 0.151954 | 0.078288 | 0.10334 | 0.078288 | 0.808455 | 0.788361 | 0.76905 | 0.757568 | 0.757568 | 0.757568 | 0 | 0.009975 | 0.282036 | 6,563 | 179 | 84 | 36.664804 | 0.803268 | 0.021332 | 0 | 0.777027 | 0 | 0 | 0.113725 | 0 | 0 | 0 | 0 | 0.005587 | 0 | 1 | 0 | false | 0.027027 | 0.054054 | 0 | 0.114865 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
99a8f3cfb368522b098b2079313bf23640f75f37 | 16,744 | py | Python | boa3_test/tests/compiler_tests/test_relational.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/compiler_tests/test_relational.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | boa3_test/tests/compiler_tests/test_relational.py | DanPopa46/neo3-boa | e4ef340744b5bd25ade26f847eac50789b97f3e9 | [
"Apache-2.0"
] | null | null | null | from boa3.boa3 import Boa3
from boa3.exception.CompilerError import MismatchedTypes, NotSupportedOperation
from boa3.neo.vm.opcode.Opcode import Opcode
from boa3.neo.vm.type.Integer import Integer
from boa3_test.tests.boa_test import BoaTest
from boa3_test.tests.test_classes.TestExecutionException import TestExecutionE... | 34.738589 | 97 | 0.598722 | 1,787 | 16,744 | 5.421377 | 0.074426 | 0.114575 | 0.071841 | 0.119736 | 0.879026 | 0.875 | 0.843724 | 0.81441 | 0.794385 | 0.781585 | 0 | 0.019193 | 0.293657 | 16,744 | 481 | 98 | 34.810811 | 0.799949 | 0 | 0 | 0.747525 | 0 | 0 | 0.065038 | 0.008779 | 0 | 0 | 0 | 0 | 0.200495 | 1 | 0.066832 | false | 0 | 0.017327 | 0 | 0.089109 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
510bda90e0d53dcb3c958abd36404a8f5fdfff37 | 191 | py | Python | management/Events/admin.py | imbiswas/student-management-system | 4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518 | [
"MIT"
] | null | null | null | management/Events/admin.py | imbiswas/student-management-system | 4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518 | [
"MIT"
] | null | null | null | management/Events/admin.py | imbiswas/student-management-system | 4ef9a4a77848929cdf427bf0cb5f4aa93a9bc518 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.contrib import admin
from Events.models import *
# Register your models here.
admin.site.register(Event_Type)
admin.site.register(Event)
| 21.222222 | 39 | 0.82199 | 27 | 191 | 5.592593 | 0.592593 | 0.119205 | 0.225166 | 0.291391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109948 | 191 | 8 | 40 | 23.875 | 0.888235 | 0.136126 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
51466db620ff4736dd4c897ad57c4694bedeb417 | 13,660 | py | Python | tests/test_observable/test_map.py | christiansandberg/RxPY | 036027d2858ea6c9d45839c863bd791e5bb50c36 | [
"MIT"
] | null | null | null | tests/test_observable/test_map.py | christiansandberg/RxPY | 036027d2858ea6c9d45839c863bd791e5bb50c36 | [
"MIT"
] | null | null | null | tests/test_observable/test_map.py | christiansandberg/RxPY | 036027d2858ea6c9d45839c863bd791e5bb50c36 | [
"MIT"
] | null | null | null | import unittest
from reactivex import create, empty, return_value, throw
from reactivex.disposable import SerialDisposable
from reactivex.operators import map, map_indexed
from reactivex.testing import ReactiveTest, TestScheduler
on_next = ReactiveTest.on_next
on_completed = ReactiveTest.on_completed
on_error = React... | 28.818565 | 88 | 0.511786 | 1,520 | 13,660 | 4.421711 | 0.074342 | 0.105341 | 0.02946 | 0.038685 | 0.840798 | 0.812677 | 0.790061 | 0.778753 | 0.754947 | 0.732183 | 0 | 0.087434 | 0.373719 | 13,660 | 473 | 89 | 28.879493 | 0.698188 | 0.00388 | 0 | 0.762148 | 0 | 0 | 0.003675 | 0 | 0 | 0 | 0 | 0 | 0.11509 | 1 | 0.104859 | false | 0.002558 | 0.012788 | 0.01023 | 0.194373 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5aa4824098d3637fe5e3f5da5919a6352d54314e | 21,621 | py | Python | forms/migrations/0035_auto_20200114_1330.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 4 | 2020-01-05T09:14:19.000Z | 2022-02-17T03:22:09.000Z | forms/migrations/0035_auto_20200114_1330.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 68 | 2019-12-23T02:19:55.000Z | 2021-04-23T06:13:36.000Z | forms/migrations/0035_auto_20200114_1330.py | CodeForAfrica/gmmp | d7ffe2dac16bd57e81bb3555ddea9df1fe7e9ebf | [
"Apache-2.0"
] | 2 | 2020-11-07T12:23:21.000Z | 2021-11-07T18:21:31.000Z | # Generated by Django 2.2.9 on 2020-01-14 13:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('forms', '0034_auto_20191218_1356'),
]
operations = [
migrations.AlterField(
model_name='internetnewsperson',
name='f... | 77.494624 | 762 | 0.641321 | 2,812 | 21,621 | 4.842461 | 0.082148 | 0.077844 | 0.097305 | 0.112874 | 0.969377 | 0.969377 | 0.914445 | 0.888155 | 0.856209 | 0.848278 | 0 | 0.018541 | 0.221683 | 21,621 | 278 | 763 | 77.773381 | 0.790647 | 0.002081 | 0 | 0.841912 | 1 | 0.084559 | 0.508343 | 0.010939 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003676 | 0 | 0.014706 | 0.007353 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5aa8056034464d62358e3e0cb976930423ab1ffb | 1,295 | py | Python | userBotInterface/models.py | nimag42/HungryBot | 43f51925329b25e56856f3c411588153504155ac | [
"MIT"
] | null | null | null | userBotInterface/models.py | nimag42/HungryBot | 43f51925329b25e56856f3c411588153504155ac | [
"MIT"
] | null | null | null | userBotInterface/models.py | nimag42/HungryBot | 43f51925329b25e56856f3c411588153504155ac | [
"MIT"
] | null | null | null | from django.db import models
class choice_str(models.Model):
text = models.CharField(max_length=200)
nb_choice = models.IntegerField('Number of choice', default=0)
def __unicode__(self):
return self.text
class hello_morning(models.Model):
text = models.CharField(max_length=200)
def __uni... | 21.583333 | 66 | 0.689575 | 167 | 1,295 | 5.017964 | 0.191617 | 0.118138 | 0.161098 | 0.225537 | 0.871122 | 0.871122 | 0.871122 | 0.871122 | 0.819809 | 0.76611 | 0 | 0.027478 | 0.213127 | 1,295 | 59 | 67 | 21.949153 | 0.794897 | 0 | 0 | 0.710526 | 0 | 0 | 0.012355 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236842 | false | 0 | 0.026316 | 0.236842 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 11 |
51c981ea4d6b24ae4510f19c1bde8d5416c30cdc | 22,615 | py | Python | data_analysis_tools_for_gfbs_data/scraper_analyser_tests.py | MedadRufus/MastersProject | b2e498e14e1e8b9bcae29c4236522f65711f685b | [
"MIT"
] | null | null | null | data_analysis_tools_for_gfbs_data/scraper_analyser_tests.py | MedadRufus/MastersProject | b2e498e14e1e8b9bcae29c4236522f65711f685b | [
"MIT"
] | 205 | 2021-01-28T17:08:22.000Z | 2021-06-29T17:08:47.000Z | data_analysis_tools_for_gfbs_data/scraper_analyser_tests.py | MedadRufus/MastersProject | b2e498e14e1e8b9bcae29c4236522f65711f685b | [
"MIT"
] | null | null | null | import unittest
from datetime import datetime
from statistics import variance
class Test_Scorer(unittest.TestCase):
def test_variance_0(self):
values = [38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432128906, 38.800880432... | 1,027.954545 | 11,118 | 0.84665 | 2,267 | 22,615 | 8.439788 | 0.011469 | 0.985366 | 1.099305 | 1.967177 | 0.986411 | 0.986411 | 0.986411 | 0.986411 | 0.986411 | 0.986411 | 0 | 0.881932 | 0.053593 | 22,615 | 22 | 11,119 | 1,027.954545 | 0.012008 | 0 | 0 | 0.142857 | 0 | 0 | 0.000354 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.214286 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 13 |
51ea87e57eb8c0be4dd48a72bf77a7d41c9e3c32 | 1,926 | py | Python | tests/test_bha.py | R3bs/darwin | 3ebb0888ea9f0b688ba6aa1734667e62b721df53 | [
"MIT"
] | null | null | null | tests/test_bha.py | R3bs/darwin | 3ebb0888ea9f0b688ba6aa1734667e62b721df53 | [
"MIT"
] | 28 | 2019-06-12T19:55:23.000Z | 2019-08-06T02:47:26.000Z | tests/test_bha.py | R3bs/darwin | 3ebb0888ea9f0b688ba6aa1734667e62b721df53 | [
"MIT"
] | null | null | null |
import pytest
import darwin
import numpy as np
# define the mapping parameters used
x = (-200,+200)
y = (-1000,+1000)
# discrete used
map1 = (0,1,2,3)
map2 = ('a', 'b', 'c', 'd')
def test_htcondor_bha_continuous(supplyFitnessFunction):
bha = darwin.Algorithm(darwin.opt.BlackHoleAlgorithm)
bha.particles = np... | 32.644068 | 62 | 0.722222 | 233 | 1,926 | 5.909871 | 0.23176 | 0.046478 | 0.087146 | 0.092956 | 0.901235 | 0.901235 | 0.901235 | 0.888889 | 0.888889 | 0.888889 | 0 | 0.031921 | 0.154206 | 1,926 | 58 | 63 | 33.206897 | 0.813382 | 0.024922 | 0 | 0.765957 | 0 | 0 | 0.050214 | 0.023504 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.06383 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
cfd5c834aa6b5c09b06e22426499ae1e9c40bf4d | 40 | py | Python | alicehoyle/blueprints/pages/__init__.py | benhoyle/alicewebsite | 52516d56ca105cdc4e17f3e8e3855d135c845a35 | [
"MIT"
] | null | null | null | alicehoyle/blueprints/pages/__init__.py | benhoyle/alicewebsite | 52516d56ca105cdc4e17f3e8e3855d135c845a35 | [
"MIT"
] | null | null | null | alicehoyle/blueprints/pages/__init__.py | benhoyle/alicewebsite | 52516d56ca105cdc4e17f3e8e3855d135c845a35 | [
"MIT"
] | null | null | null | from blueprints.pages.views import pages | 40 | 40 | 0.875 | 6 | 40 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
320cdc92e10dadae0dea4c5979cf24490712f6c1 | 21,823 | py | Python | new/CustomVAE.py | yizhouzhao/3D_SLN | 5db241f1daa6e8095b69ff8467551ce374b598b6 | [
"Apache-2.0"
] | null | null | null | new/CustomVAE.py | yizhouzhao/3D_SLN | 5db241f1daa6e8095b69ff8467551ce374b598b6 | [
"Apache-2.0"
] | null | null | null | new/CustomVAE.py | yizhouzhao/3D_SLN | 5db241f1daa6e8095b69ff8467551ce374b598b6 | [
"Apache-2.0"
] | null | null | null | from logging import log
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.distributions import Categorical
from models.graph import make_mlp, GraphTripleConvNet, _init_weights
from torch_geometric.nn import RGCNConv
from torch_scatter import scatter_mean
from transformers import BertModel... | 41.967308 | 142 | 0.621363 | 2,944 | 21,823 | 4.238451 | 0.069973 | 0.100978 | 0.019795 | 0.030774 | 0.824571 | 0.798045 | 0.784821 | 0.762141 | 0.748037 | 0.743549 | 0 | 0.014045 | 0.288778 | 21,823 | 520 | 143 | 41.967308 | 0.789898 | 0.075196 | 0 | 0.787879 | 0 | 0 | 0.023932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032828 | false | 0 | 0.025253 | 0 | 0.090909 | 0.005051 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
32139b604c559e3108e15cb3750b678bd6830526 | 61 | py | Python | src/python/project/model.py | datitran/ds-concourse-ci | 6b993a28178dd991cb4af5e4322aa9f814a4890b | [
"MIT"
] | 2 | 2017-06-16T15:45:42.000Z | 2018-08-06T13:55:47.000Z | src/python/project/model.py | datitran/ds-concourse-ci | 6b993a28178dd991cb4af5e4322aa9f814a4890b | [
"MIT"
] | null | null | null | src/python/project/model.py | datitran/ds-concourse-ci | 6b993a28178dd991cb4af5e4322aa9f814a4890b | [
"MIT"
] | 1 | 2018-08-06T13:55:49.000Z | 2018-08-06T13:55:49.000Z | import numpy as np
def power(x):
return np.power(x, 2)
| 10.166667 | 25 | 0.639344 | 12 | 61 | 3.25 | 0.75 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.245902 | 61 | 5 | 26 | 12.2 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5c568c278a137d6c10d090a9e3effbf4296f7491 | 180,814 | py | Python | pyboto3/batch.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 91 | 2016-12-31T11:38:37.000Z | 2021-09-16T19:33:23.000Z | pyboto3/batch.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 7 | 2017-01-02T18:54:23.000Z | 2020-08-11T13:54:02.000Z | pyboto3/batch.py | gehad-shaat/pyboto3 | 4a0c2851a8bc04fb1c71c36086f7bb257e48181d | [
"MIT"
] | 26 | 2016-12-31T13:11:00.000Z | 2022-03-03T21:01:12.000Z | '''
The MIT License (MIT)
Copyright (c) 2016 WavyCloud
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 45.938516 | 9,457 | 0.637771 | 21,985 | 180,814 | 5.236798 | 0.048897 | 0.012117 | 0.00271 | 0.002397 | 0.884175 | 0.863964 | 0.844534 | 0.827779 | 0.816461 | 0.803971 | 0 | 0.011426 | 0.290868 | 180,814 | 3,935 | 9,458 | 45.950191 | 0.886485 | 0.984658 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 10 |
5c9eacc27f97a8db3208050bfc60a8ad36e580f4 | 203 | py | Python | vk/__init__.py | tsvstar/vk_downloader | 52c956b1b75f386677dcd3eb412f52443588a92f | [
"MIT"
] | 4 | 2015-06-02T01:27:29.000Z | 2018-04-15T20:14:51.000Z | v2/vk/__init__.py | seet61/one | c501a04e960eda26aad7bb275cf3ede5207b5812 | [
"BSD-2-Clause"
] | null | null | null | v2/vk/__init__.py | seet61/one | c501a04e960eda26aad7bb275cf3ede5207b5812 | [
"BSD-2-Clause"
] | 1 | 2021-04-25T12:38:41.000Z | 2021-04-25T12:38:41.000Z | from vk.api import APISession as API
from vk.api import VkError, VkAuthorizationError, VkAPIMethodError
from vk.mixins import EnterCaptchaMixin
class EnterCaptchaAPI(EnterCaptchaMixin, API):
pass
| 22.555556 | 66 | 0.82266 | 24 | 203 | 6.958333 | 0.583333 | 0.107784 | 0.107784 | 0.179641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133005 | 203 | 8 | 67 | 25.375 | 0.948864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 7 |
7a2b396cc9609c0ef84de11e1598f106f547daa3 | 968,588 | py | Python | Utils/words6.py | dobrosketchkun/MOI | 9e9907a443319f022acad61a92a4792574a77a5f | [
"Unlicense"
] | 3 | 2018-12-18T20:08:48.000Z | 2018-12-25T00:52:57.000Z | Utils/words6.py | dobrosketchkun/MOI | 9e9907a443319f022acad61a92a4792574a77a5f | [
"Unlicense"
] | null | null | null | Utils/words6.py | dobrosketchkun/MOI | 9e9907a443319f022acad61a92a4792574a77a5f | [
"Unlicense"
] | null | null | null | #slightly modified version of 12of12inf.txt in https://github.com/en-wl/wordlist
#SCOWL is derived from many sources under a BSD compatible license. The combined work is freely available under a MIT-like license.
words = ['aardvark', 'aardvarks', 'abacus', 'abacuses', 'abalone', 'abalones', 'abandon', 'abandoned', 'ab... | 242,147 | 968,374 | 0.69563 | 73,641 | 968,588 | 9.149509 | 0.99981 | 0.000018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000004 | 0.076023 | 968,588 | 4 | 968,374 | 242,147 | 0.752861 | 0.000216 | 0 | 0 | 0 | 0 | 0.695953 | 0.000312 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | false | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 9 |
7a3c57f7a33d6042fdef912e67178f45cb20a155 | 38,845 | py | Python | ydb/public/api/grpc/yq_v1_pb2_grpc.py | gridnevvvit/ydb-python-sdk | 952f7b4f179595b07711934691d2e15643929cc5 | [
"Apache-2.0"
] | 2 | 2022-02-18T16:18:52.000Z | 2022-02-19T20:15:05.000Z | ydb/public/api/grpc/yq_v1_pb2_grpc.py | gridnevvvit/ydb-python-sdk | 952f7b4f179595b07711934691d2e15643929cc5 | [
"Apache-2.0"
] | 1 | 2022-02-09T12:49:19.000Z | 2022-02-21T08:15:36.000Z | ydb/public/api/grpc/yq_v1_pb2_grpc.py | gridnevvvit/ydb-python-sdk | 952f7b4f179595b07711934691d2e15643929cc5 | [
"Apache-2.0"
] | 2 | 2022-02-03T14:58:56.000Z | 2022-02-22T19:42:59.000Z | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from ydb.public.api.protos import yq_pb2 as ydb_dot_public_dot_api_dot_protos_dot_yq__pb2
class YandexQueryServiceStub(object):
"""Missing associated docum... | 51.382275 | 143 | 0.693886 | 3,831 | 38,845 | 6.589402 | 0.058209 | 0.025353 | 0.060371 | 0.075463 | 0.854342 | 0.852401 | 0.807439 | 0.770916 | 0.764182 | 0.759666 | 0 | 0.005807 | 0.241962 | 38,845 | 755 | 144 | 51.450331 | 0.851491 | 0.04675 | 0 | 0.523364 | 1 | 0 | 0.089661 | 0.055885 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068536 | false | 0 | 0.003115 | 0.03271 | 0.109034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
7ac0002fe81ccf30bcaee2e5b697a14b5180fbd7 | 11,755 | py | Python | modules/webpage_generation.py | last-genius/homeworks_project | 759ba35003faf5888d84a8480db31d8875dda30f | [
"MIT"
] | null | null | null | modules/webpage_generation.py | last-genius/homeworks_project | 759ba35003faf5888d84a8480db31d8875dda30f | [
"MIT"
] | 3 | 2020-04-06T15:31:08.000Z | 2020-05-13T06:49:15.000Z | modules/webpage_generation.py | LastGenius-edu/homeworks_project | 759ba35003faf5888d84a8480db31d8875dda30f | [
"MIT"
] | 3 | 2020-05-19T19:37:09.000Z | 2020-05-19T21:54:29.000Z | def book_page(title, wordcolor):
"""
Generates a webpage for the book.
Compatible with flask template system
"""
return f"""
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="{{{{ url_for('static', filename='css/style.css') }}}}">
... | 37.31746 | 144 | 0.408252 | 1,057 | 11,755 | 4.498581 | 0.124882 | 0.029443 | 0.053838 | 0.058885 | 0.815352 | 0.77939 | 0.765931 | 0.746583 | 0.739432 | 0.739432 | 0 | 0.018419 | 0.431901 | 11,755 | 314 | 145 | 37.436306 | 0.693621 | 0.03054 | 0 | 0.754717 | 1 | 0.086792 | 0.875487 | 0.123982 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0 | 0 | 0.037736 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8f25758456f51f5a93a9a071662bd3ea80ae6524 | 22,930 | py | Python | tests/test_vector_jacobian_product.py | PennyLaneAI/pennylane-lightning | 772bf0e0a15103b46f651266212ce3178aaa9321 | [
"Apache-2.0"
] | 29 | 2020-08-12T15:05:27.000Z | 2022-03-11T15:49:58.000Z | tests/test_vector_jacobian_product.py | PennyLaneAI/pennylane-lightning | 772bf0e0a15103b46f651266212ce3178aaa9321 | [
"Apache-2.0"
] | 238 | 2020-08-12T15:04:28.000Z | 2022-03-30T14:35:35.000Z | tests/test_vector_jacobian_product.py | PennyLaneAI/pennylane-lightning | 772bf0e0a15103b46f651266212ce3178aaa9321 | [
"Apache-2.0"
] | 13 | 2020-10-14T14:59:29.000Z | 2022-03-23T08:53:17.000Z | # Copyright 2018-2021 Xanadu Quantum Technologies Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or... | 33.920118 | 100 | 0.58635 | 3,264 | 22,930 | 4.033395 | 0.084252 | 0.033726 | 0.030763 | 0.026662 | 0.851272 | 0.843449 | 0.824763 | 0.820053 | 0.814432 | 0.8079 | 0 | 0.050232 | 0.26812 | 22,930 | 675 | 101 | 33.97037 | 0.734239 | 0.095552 | 0 | 0.808036 | 0 | 0 | 0.038886 | 0 | 0 | 0 | 0 | 0 | 0.098214 | 1 | 0.069196 | false | 0 | 0.013393 | 0.006696 | 0.095982 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8f52a1dc1d8b8c1c594b04ab0d0afa0fe316132b | 13,544 | py | Python | tests/rule_engine/normalisation_rule.py | cnorthwood/ternip | 9bdca293585d97206ed1d0bc250789582645d885 | [
"Apache-2.0"
] | 54 | 2015-01-08T14:45:00.000Z | 2021-11-06T03:32:51.000Z | tests/rule_engine/normalisation_rule.py | cnorthwood/ternip | 9bdca293585d97206ed1d0bc250789582645d885 | [
"Apache-2.0"
] | 4 | 2015-03-23T00:31:39.000Z | 2016-01-27T20:41:32.000Z | tests/rule_engine/normalisation_rule.py | cnorthwood/ternip | 9bdca293585d97206ed1d0bc250789582645d885 | [
"Apache-2.0"
] | 14 | 2015-03-23T00:21:28.000Z | 2020-01-20T16:45:29.000Z | #!/usr/bin/env python
import unittest
from ternip.timex import Timex
from ternip.rule_engine.normalisation_rule import NormalisationRule
class normalisation_rule_Test(unittest.TestCase):
def testApplyValue(self):
rule = NormalisationRule(r'<(\d+)~.+><th~.+><January~.+><(\d{4})~.+>', 'date', ... | 46.068027 | 168 | 0.378913 | 1,269 | 13,544 | 4.033885 | 0.063042 | 0.201602 | 0.038289 | 0.096503 | 0.81891 | 0.81891 | 0.813245 | 0.804649 | 0.798593 | 0.794882 | 0 | 0.031233 | 0.333358 | 13,544 | 294 | 169 | 46.068027 | 0.535718 | 0.001477 | 0 | 0.738971 | 0 | 0 | 0.224926 | 0.06054 | 0 | 0 | 0 | 0 | 0.113971 | 1 | 0.069853 | false | 0 | 0.011029 | 0 | 0.084559 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8f64f7e75d6bf57f2450ffb543809c4e1a4df086 | 1,634 | py | Python | tests/pipeline/test_detect_faces.py | dregula/image-processing-pipeline | 7df1963247caa01b503980fe152138b88df6c526 | [
"MIT"
] | 45 | 2019-10-24T17:20:04.000Z | 2022-02-21T16:29:15.000Z | tests/pipeline/test_detect_faces.py | XiaohangShi/image-processing-pipeline | 7df1963247caa01b503980fe152138b88df6c526 | [
"MIT"
] | 2 | 2020-08-02T05:24:14.000Z | 2020-09-25T05:31:08.000Z | tests/pipeline/test_detect_faces.py | XiaohangShi/image-processing-pipeline | 7df1963247caa01b503980fe152138b88df6c526 | [
"MIT"
] | 16 | 2019-10-24T17:20:11.000Z | 2021-11-30T05:59:04.000Z | import os
from pipeline.capture_images import CaptureImages
from pipeline.detect_faces import DetectFaces
import tests.config as config
class TestDetectFaces:
def test_detect_faces(self):
capture_images = CaptureImages(os.path.join(config.ASSETS_IMAGES_DIR, "friends"))
prototxt = os.path.join(con... | 32.68 | 105 | 0.664015 | 194 | 1,634 | 5.381443 | 0.226804 | 0.068966 | 0.099617 | 0.16092 | 0.818008 | 0.818008 | 0.818008 | 0.818008 | 0.818008 | 0.818008 | 0 | 0.023144 | 0.23317 | 1,634 | 49 | 106 | 33.346939 | 0.810056 | 0 | 0 | 0.742857 | 0 | 0 | 0.105263 | 0.04896 | 0 | 0 | 0 | 0 | 0.228571 | 1 | 0.057143 | false | 0 | 0.114286 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
56b9fe9cdbb9a17890a1b669ae357754d13b291b | 7,971 | py | Python | tests/utils/boolrule/test_boolrule.py | DomineCore/bamboo-engine | fb4583e70f9e1e87d9d48c2393db8d8104306f37 | [
"MIT"
] | 55 | 2021-09-07T11:50:35.000Z | 2022-03-23T13:19:38.000Z | tests/utils/boolrule/test_boolrule.py | DomineCore/bamboo-engine | fb4583e70f9e1e87d9d48c2393db8d8104306f37 | [
"MIT"
] | 64 | 2021-09-07T12:04:12.000Z | 2022-03-29T03:47:18.000Z | tests/utils/boolrule/test_boolrule.py | DomineCore/bamboo-engine | fb4583e70f9e1e87d9d48c2393db8d8104306f37 | [
"MIT"
] | 20 | 2021-09-07T11:52:08.000Z | 2022-03-28T08:05:22.000Z | # -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community
Edition) available.
Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MIT License (the "License"); you may not use this file except in co... | 37.957143 | 115 | 0.554008 | 1,080 | 7,971 | 4.066667 | 0.113889 | 0.34745 | 0.266393 | 0.175319 | 0.79622 | 0.745674 | 0.729053 | 0.689891 | 0.650273 | 0.643443 | 0 | 0.047079 | 0.2139 | 7,971 | 209 | 116 | 38.138756 | 0.653846 | 0.114917 | 0 | 0.197183 | 0 | 0.077465 | 0.261005 | 0 | 0 | 0 | 0 | 0 | 0.746479 | 1 | 0.105634 | false | 0 | 0.007042 | 0 | 0.112676 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
56f3330aedf13b215fcf781e6e069d4dfcfc0730 | 174 | py | Python | CCC/CCC_12_J3_Icon_Scaling.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | null | null | null | CCC/CCC_12_J3_Icon_Scaling.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-10-14T18:26:56.000Z | 2021-10-14T18:26:56.000Z | CCC/CCC_12_J3_Icon_Scaling.py | Togohogo1/pg | ee3c36acde47769c66ee13a227762ee677591375 | [
"MIT"
] | 1 | 2021-08-06T03:39:55.000Z | 2021-08-06T03:39:55.000Z | k = int(input())
for i in range(k):
print("*"*k + "x"*k + "*"*k)
for i in range(k):
print(" "*k + "x"*k + "x"*k)
for i in range(k):
print("*"*k + " "*k + "*"*k)
| 19.333333 | 32 | 0.413793 | 33 | 174 | 2.181818 | 0.272727 | 0.166667 | 0.25 | 0.458333 | 0.833333 | 0.833333 | 0.833333 | 0.833333 | 0.555556 | 0 | 0 | 0 | 0.258621 | 174 | 8 | 33 | 21.75 | 0.55814 | 0 | 0 | 0.428571 | 0 | 0 | 0.051724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 8 |
56f70627e722f524a50c5ea86da51d95af84570a | 242 | py | Python | kiqpo/core/Navigate.py | bionic-py/Bionic | a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4 | [
"MIT"
] | 9 | 2021-10-31T03:38:16.000Z | 2021-12-17T00:03:36.000Z | kiqpo/core/Navigate.py | bionic-py/Bionic | a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4 | [
"MIT"
] | 12 | 2021-11-11T14:18:09.000Z | 2021-12-03T14:00:25.000Z | kiqpo/core/Navigate.py | kiqpo/kiqpo | a54c85107a6a2aa9a9563b6b3e1f9bb64d63faa4 | [
"MIT"
] | 3 | 2022-03-03T18:30:53.000Z | 2022-03-09T13:29:39.000Z | def navigate(path,windowRender,title,windowClassName):
return f"""<div class='Navigate-kiqpo' >
<a onclick="Navigate{path,windowRender,title,windowClassName}" href='{path}' id='Navigate'>{title}</a>
</div>"""
| 40.333333 | 118 | 0.636364 | 26 | 242 | 5.923077 | 0.576923 | 0.155844 | 0.311688 | 0.376623 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 242 | 5 | 119 | 48.4 | 0.777778 | 0 | 0 | 0 | 0 | 0.25 | 0.690083 | 0.438017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 9 |
7130cb1db445319eaf85f57edd058266feee5a55 | 4,452 | py | Python | tests/bfuck/test_interpreter.py | JavierLuna/esolangs | a1da280f42cef910745c0dd1f89da7454ddb03ad | [
"MIT"
] | null | null | null | tests/bfuck/test_interpreter.py | JavierLuna/esolangs | a1da280f42cef910745c0dd1f89da7454ddb03ad | [
"MIT"
] | null | null | null | tests/bfuck/test_interpreter.py | JavierLuna/esolangs | a1da280f42cef910745c0dd1f89da7454ddb03ad | [
"MIT"
] | null | null | null | import unittest
from io import StringIO
from unittest.mock import patch
from interpreters import BrainFuckInterpreter
class TestBFInterpreterUnitary(unittest.TestCase):
def test_ast_caching_no_execution(self):
interpreter = BrainFuckInterpreter("-.-.-.-.-.-.-.-")
self.assertIsNotNone(interpreter... | 39.052632 | 83 | 0.680818 | 440 | 4,452 | 6.563636 | 0.15 | 0.090374 | 0.131579 | 0.121884 | 0.83795 | 0.816136 | 0.793629 | 0.777008 | 0.725762 | 0.706025 | 0 | 0.001397 | 0.195867 | 4,452 | 113 | 84 | 39.39823 | 0.805307 | 0 | 0 | 0.652632 | 0 | 0 | 0.048518 | 0.024933 | 0.010526 | 0 | 0 | 0 | 0.442105 | 1 | 0.094737 | false | 0 | 0.042105 | 0 | 0.157895 | 0.021053 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
856bcda1ce8e8ae52422d377a86ada697d23a73b | 212 | py | Python | main/online/admin.py | MahanBi/Back-End | 5074ac1d341ad2addd1750e4aea2e6800be2bfef | [
"MIT"
] | null | null | null | main/online/admin.py | MahanBi/Back-End | 5074ac1d341ad2addd1750e4aea2e6800be2bfef | [
"MIT"
] | null | null | null | main/online/admin.py | MahanBi/Back-End | 5074ac1d341ad2addd1750e4aea2e6800be2bfef | [
"MIT"
] | 1 | 2021-12-06T21:36:28.000Z | 2021-12-06T21:36:28.000Z | from django.contrib import admin
from .models import Room, RoomMember, OnlineRanking, Word
admin.site.register(Room)
admin.site.register(RoomMember)
admin.site.register(Word)
admin.site.register(OnlineRanking)
| 23.555556 | 57 | 0.820755 | 28 | 212 | 6.214286 | 0.428571 | 0.206897 | 0.390805 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080189 | 212 | 8 | 58 | 26.5 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
8587059822ec510943db50c4450d0319055d99c9 | 66 | py | Python | topsis_101883048_HarnoorSandhu/__init__.py | sharnoor404/topsis_101883048_HarnoorSandhu | 577494c18ca0245ad2c8c3e71d6585b2e7a63246 | [
"MIT"
] | null | null | null | topsis_101883048_HarnoorSandhu/__init__.py | sharnoor404/topsis_101883048_HarnoorSandhu | 577494c18ca0245ad2c8c3e71d6585b2e7a63246 | [
"MIT"
] | null | null | null | topsis_101883048_HarnoorSandhu/__init__.py | sharnoor404/topsis_101883048_HarnoorSandhu | 577494c18ca0245ad2c8c3e71d6585b2e7a63246 | [
"MIT"
] | null | null | null | from topsis_101883048_HarnoorSandhu.topsis_101883048 import topsis | 66 | 66 | 0.939394 | 8 | 66 | 7.375 | 0.625 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.045455 | 66 | 1 | 66 | 66 | 0.650794 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
858ffa7e7ba4e6f61e1fd04e88c69fa0ea3f6445 | 27 | py | Python | addons/auto_generate_product_sku/wizard/__init__.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/auto_generate_product_sku/wizard/__init__.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/auto_generate_product_sku/wizard/__init__.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | 1 | 2021-05-05T07:59:08.000Z | 2021-05-05T07:59:08.000Z | from . import generate_sku
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a413586bc8593f912b6806681b78dddc2358c086 | 96 | py | Python | main.py | antoniofdias/lullaby | 04a6fa106cac4e0a6e5bd53e473325afdbbbf129 | [
"MIT"
] | null | null | null | main.py | antoniofdias/lullaby | 04a6fa106cac4e0a6e5bd53e473325afdbbbf129 | [
"MIT"
] | null | null | null | main.py | antoniofdias/lullaby | 04a6fa106cac4e0a6e5bd53e473325afdbbbf129 | [
"MIT"
] | null | null | null | import detect_closed_eyes
import mqtt_client
detect_closed_eyes.detect_eyes(mqtt_client.client) | 24 | 50 | 0.90625 | 15 | 96 | 5.333333 | 0.4 | 0.3 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 96 | 4 | 50 | 24 | 0.879121 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
a41a419fc83250c724e38f2ca0e34eb7f3e04218 | 770 | py | Python | py/lightControl.py | leeleavitt/autoGrow | b4454c0a00aed8111a86d72a667df49a7d285ce4 | [
"MIT"
] | 1 | 2020-02-09T23:17:58.000Z | 2020-02-09T23:17:58.000Z | py/lightControl.py | leeleavitt/autoGrow | b4454c0a00aed8111a86d72a667df49a7d285ce4 | [
"MIT"
] | 1 | 2020-01-26T15:27:57.000Z | 2020-01-26T15:27:57.000Z | py/lightControl.py | leeleavitt/autoGrow | b4454c0a00aed8111a86d72a667df49a7d285ce4 | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT, initial=GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
time.sleep(1)
GPIO.output(17, GPIO.HIGH)
time.sleep(... | 17.906977 | 42 | 0.72987 | 149 | 770 | 3.771812 | 0.114094 | 0.181495 | 0.284698 | 0.398577 | 0.852313 | 0.852313 | 0.852313 | 0.852313 | 0.852313 | 0.852313 | 0 | 0.070822 | 0.083117 | 770 | 43 | 43 | 17.906977 | 0.725212 | 0 | 0 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.054054 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
a45a38de655a407697923d0c47aa1c91de7f7bbd | 112,642 | py | Python | tests/unit/test_service.py | SofyaTavrovskaya/xrally-kubernetes | 302e8850affc4310ce99795d8ec65443fc582055 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_service.py | SofyaTavrovskaya/xrally-kubernetes | 302e8850affc4310ce99795d8ec65443fc582055 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_service.py | SofyaTavrovskaya/xrally-kubernetes | 302e8850affc4310ce99795d8ec65443fc582055 | [
"Apache-2.0"
] | 1 | 2020-01-23T20:09:35.000Z | 2020-01-23T20:09:35.000Z | # All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 31.429129 | 79 | 0.539772 | 10,919 | 112,642 | 5.237568 | 0.03297 | 0.07414 | 0.079316 | 0.092046 | 0.922852 | 0.904387 | 0.894927 | 0.881183 | 0.86431 | 0.853119 | 0 | 0.008947 | 0.361961 | 112,642 | 3,583 | 80 | 31.437901 | 0.786782 | 0.005673 | 0 | 0.715883 | 0 | 0 | 0.075715 | 0.002813 | 0 | 0 | 0 | 0 | 0.092404 | 1 | 0.044064 | false | 0 | 0.00855 | 0 | 0.057218 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a476187de8a25db101ee0be5fcb11aa9f744284b | 2,496 | py | Python | spider/consts.py | sppsun/spider | b5fb7fbd16df3960a5e12204db2ef1644fb3e882 | [
"MIT"
] | 1 | 2020-01-10T19:24:48.000Z | 2020-01-10T19:24:48.000Z | spider/consts.py | sunnypandas/spider | b5fb7fbd16df3960a5e12204db2ef1644fb3e882 | [
"MIT"
] | 1 | 2019-05-29T06:30:09.000Z | 2019-05-29T06:30:09.000Z | spider/consts.py | sppsun/spider | b5fb7fbd16df3960a5e12204db2ef1644fb3e882 | [
"MIT"
] | 3 | 2019-12-20T06:20:26.000Z | 2020-03-01T18:41:23.000Z | MYSQL_ITEM_PIPELINES = {
'scrapy.pipelines.images.ImagesPipeline': 1,
'spider.pipelines.MySqlPipeline': 100,
}
DB2_ITEM_PIPELINES = {
'scrapy.pipelines.images.ImagesPipeline': 1,
'spider.pipelines.DB2Pipeline': 100,
}
MONGODB_ITEM_PIPELINES = {
'scrapy.pipelines.images.ImagesPipeline': 1,
'spi... | 36.705882 | 82 | 0.777644 | 227 | 2,496 | 8.352423 | 0.237885 | 0.047468 | 0.117089 | 0.126582 | 0.7173 | 0.7173 | 0.7173 | 0.7173 | 0.7173 | 0.616034 | 0 | 0.03341 | 0.124599 | 2,496 | 68 | 83 | 36.705882 | 0.834325 | 0.187099 | 0 | 0.340909 | 0 | 0 | 0.619166 | 0.619166 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
a4938beefd2810ec18a7b3f758667dbbb79225e8 | 14,236 | py | Python | devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_MotorStatus.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_MotorStatus.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | devel/lib/python2.7/dist-packages/robotnik_msgs/msg/_MotorStatus.py | Jam-cpu/Masters-Project---Final | 0b266b1f117a579b96507249f0a128d0e3cc082a | [
"BSD-3-Clause-Clear"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from robotnik_msgs/MotorStatus.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class MotorStatus(genpy.Message):
_md5sum = "bee7a4674a1d69703bedee2437db3d... | 33.654846 | 183 | 0.601573 | 1,778 | 14,236 | 4.693476 | 0.101237 | 0.086279 | 0.068544 | 0.04985 | 0.738646 | 0.732175 | 0.719233 | 0.719233 | 0.709886 | 0.697663 | 0 | 0.018469 | 0.265945 | 14,236 | 422 | 184 | 33.734597 | 0.780096 | 0.096937 | 0 | 0.847594 | 1 | 0 | 0.073386 | 0.004488 | 0 | 0 | 0.000787 | 0 | 0 | 1 | 0.02139 | false | 0 | 0.010695 | 0 | 0.064171 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8efd10a652f705932eab758fb95d3be3f9ff1085 | 53,205 | py | Python | tests/integrations/conftest.py | aimakerspace/Synergos | ce972f6b031535e82be6724f42118c33f90e9189 | [
"Apache-2.0"
] | null | null | null | tests/integrations/conftest.py | aimakerspace/Synergos | ce972f6b031535e82be6724f42118c33f90e9189 | [
"Apache-2.0"
] | null | null | null | tests/integrations/conftest.py | aimakerspace/Synergos | ce972f6b031535e82be6724f42118c33f90e9189 | [
"Apache-2.0"
] | 3 | 2021-11-25T03:26:52.000Z | 2022-01-24T09:48:37.000Z | #!/usr/bin/env python
####################
# Required Modules #
####################
# Generic/Built-in
import logging
import pytest
# Libs
# Custom
from synergos import (
ProjectTask,
ExperimentTask,
RunTask,
ParticipantTask,
RegistrationTask,
TagTask,
AlignmentTask,
ModelTask,
... | 28.853037 | 84 | 0.45554 | 5,107 | 53,205 | 4.315058 | 0.040533 | 0.025593 | 0.02396 | 0.026138 | 0.965059 | 0.954123 | 0.939148 | 0.866996 | 0.866996 | 0.859237 | 0 | 0.054176 | 0.415074 | 53,205 | 1,844 | 85 | 28.853037 | 0.653931 | 0.02902 | 0 | 0.72641 | 0 | 0 | 0.208006 | 0.037801 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004748 | false | 0 | 0.00178 | 0.000593 | 0.011276 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8effe90420e39471270411e11ae20dd0b6334f29 | 3,250 | py | Python | src/python/LuisaCompute/_internal/type.py | Mike-Leo-Smith/LuisaCompute | 232c0039bffb743d3bb5dfffc40d37a39dcd7570 | [
"BSD-3-Clause"
] | 31 | 2020-11-21T08:16:53.000Z | 2021-09-05T13:46:32.000Z | src/python/LuisaCompute/_internal/type.py | Mike-Leo-Smith/LuisaCompute | 232c0039bffb743d3bb5dfffc40d37a39dcd7570 | [
"BSD-3-Clause"
] | 1 | 2021-03-08T04:15:26.000Z | 2021-03-19T04:40:02.000Z | src/python/LuisaCompute/_internal/type.py | Mike-Leo-Smith/LuisaCompute | 232c0039bffb743d3bb5dfffc40d37a39dcd7570 | [
"BSD-3-Clause"
] | 4 | 2020-12-02T09:41:22.000Z | 2021-03-06T06:36:40.000Z | from ctypes import c_void_p, c_char_p, c_int, c_int32, c_uint32, c_int64, c_uint64, c_size_t
from .config import dll
dll.luisa_compute_type_from_description.restype = c_void_p
dll.luisa_compute_type_from_description.argtypes = [c_char_p]
def type_from_description(desc):
return dll.luisa_compute_type_from_descri... | 23.381295 | 92 | 0.823077 | 565 | 3,250 | 4.217699 | 0.077876 | 0.171213 | 0.321024 | 0.40663 | 0.885439 | 0.82543 | 0.492237 | 0.214855 | 0 | 0 | 0 | 0.002731 | 0.098769 | 3,250 | 138 | 93 | 23.550725 | 0.810857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242857 | false | 0 | 0.028571 | 0.242857 | 0.514286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
2d014bbef7ca6dd6b56aa6e3bda509c329fe6f88 | 20,768 | py | Python | python_src/util_BinClass.py | kaitu02/StochasticProximalMethods | b73bb20aa8d858f7907be81b2c2fcf6bb89dc0fb | [
"BSD-3-Clause"
] | null | null | null | python_src/util_BinClass.py | kaitu02/StochasticProximalMethods | b73bb20aa8d858f7907be81b2c2fcf6bb89dc0fb | [
"BSD-3-Clause"
] | null | null | null | python_src/util_BinClass.py | kaitu02/StochasticProximalMethods | b73bb20aa8d858f7907be81b2c2fcf6bb89dc0fb | [
"BSD-3-Clause"
] | 1 | 2021-01-08T01:48:07.000Z | 2021-01-08T01:48:07.000Z | """!@package util_BinClass
Useful functions for binary classification with non-convex loss example.
\f$\min_{w\in\mathbb{R}^d}\left\{ F(w) := \frac{1}{n}\sum_{i=1}^n\ell(a_i^{\top}w, b_i) + \lambda\|w\|_1\right\} \f$
The package contains differnt functions to evaluate objective value, gradient as well as proximal op... | 27.87651 | 233 | 0.637712 | 3,500 | 20,768 | 3.652571 | 0.066286 | 0.012203 | 0.047559 | 0.019712 | 0.903473 | 0.893539 | 0.883761 | 0.869133 | 0.858182 | 0.845275 | 0 | 0.031993 | 0.196312 | 20,768 | 744 | 234 | 27.913978 | 0.733928 | 0.419732 | 0 | 0.768707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.013605 | 0 | 0.136054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d167c74f6c67998d0791608c1e406c16b715f4f | 5,116 | py | Python | Other/setDimensions.py | protimient/Glyphs-Scripts | 0481ea01153844667cff8cfa3fad97c33af09956 | [
"Apache-2.0"
] | 2 | 2021-02-12T20:36:29.000Z | 2021-11-03T08:04:01.000Z | Other/setDimensions.py | protimient/Glyphs-Scripts | 0481ea01153844667cff8cfa3fad97c33af09956 | [
"Apache-2.0"
] | null | null | null | Other/setDimensions.py | protimient/Glyphs-Scripts | 0481ea01153844667cff8cfa3fad97c33af09956 | [
"Apache-2.0"
] | null | null | null | # MenuTitle: Set Dimensions
# -*- coding: utf-8 -*-
__doc__ = """
Sets the Latin values for each master in the Dimesions pallette in the top right.
"""
Glyphs.clearLog()
# Glyphs.showMacroWindow()
class getMeasurements:
def __init__(self, m):
self.m = m
if Glyphs.font.userData["GSDimensionPlugin.... | 42.991597 | 113 | 0.617279 | 707 | 5,116 | 4.407355 | 0.123055 | 0.056162 | 0.058408 | 0.224647 | 0.854621 | 0.841142 | 0.810976 | 0.77792 | 0.741977 | 0.686457 | 0 | 0.023313 | 0.211884 | 5,116 | 118 | 114 | 43.355932 | 0.749504 | 0.014073 | 0 | 0.44898 | 0 | 0 | 0.154563 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112245 | false | 0 | 0 | 0 | 0.204082 | 0.010204 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2d208c7b0715fa7e15cedbd1958336d6a88c7e6d | 280 | py | Python | ros_package/setup.py | Tobias-Fischer/code_templates | c3e454515dba2b2a5fd3e27dadca5e617230d8df | [
"BSD-3-Clause"
] | 1 | 2021-04-20T22:28:14.000Z | 2021-04-20T22:28:14.000Z | ros_package/setup.py | Tobias-Fischer/code_templates | c3e454515dba2b2a5fd3e27dadca5e617230d8df | [
"BSD-3-Clause"
] | 15 | 2021-04-19T22:34:37.000Z | 2022-02-10T12:26:33.000Z | ros_package/setup.py | Tobias-Fischer/code_templates | c3e454515dba2b2a5fd3e27dadca5e617230d8df | [
"BSD-3-Clause"
] | 1 | 2022-02-10T04:24:47.000Z | 2022-02-10T04:24:47.000Z | from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
setup(**generate_distutils_setup(packages=['PACKAGE_NAME'],
scripts=['scripts/ADD_PY_NODE'],
package_dir={'': 'src'}))
| 40 | 65 | 0.614286 | 29 | 280 | 5.586207 | 0.62069 | 0.209877 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282143 | 280 | 6 | 66 | 46.666667 | 0.80597 | 0 | 0 | 0 | 1 | 0 | 0.121429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
77bdb7afb378a5d4719bccadddc8d06741d20c3c | 22,917 | py | Python | tb_rest_client/api/api_pe/solution_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 30 | 2020-06-19T06:42:50.000Z | 2021-08-23T21:16:36.000Z | tb_rest_client/api/api_pe/solution_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 25 | 2021-08-30T01:17:27.000Z | 2022-03-16T14:10:14.000Z | tb_rest_client/api/api_pe/solution_controller_api.py | samson0v/python_tb_rest_client | 08ff7898740f7cec2170e85d5c3c89e222e967f7 | [
"Apache-2.0"
] | 23 | 2020-07-06T13:41:54.000Z | 2021-08-23T21:04:50.000Z | # coding: utf-8
"""
ThingsBoard REST API
ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.3.3PAAS-RC1
Contact: info@thingsboard.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_impo... | 45.742515 | 186 | 0.660514 | 2,637 | 22,917 | 5.459613 | 0.075085 | 0.138918 | 0.085018 | 0.025005 | 0.952768 | 0.943322 | 0.934917 | 0.925887 | 0.921164 | 0.911857 | 0 | 0.022741 | 0.261247 | 22,917 | 500 | 187 | 45.834 | 0.827643 | 0.39198 | 0 | 0.795455 | 0 | 0 | 0.214419 | 0.08876 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.015152 | 0 | 0.117424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
77de934815d0230519633429fb72dcdfd66e189b | 8,181 | py | Python | eeghdf/convert.py | aragorn/eeg-hdfstorage | bfc2048a3cc6e941353eec43840b5086c4f115cf | [
"BSD-3-Clause"
] | null | null | null | eeghdf/convert.py | aragorn/eeg-hdfstorage | bfc2048a3cc6e941353eec43840b5086c4f115cf | [
"BSD-3-Clause"
] | null | null | null | eeghdf/convert.py | aragorn/eeg-hdfstorage | bfc2048a3cc6e941353eec43840b5086c4f115cf | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import mne
# TODO !!!:
# def hdf2edf(hf) # so can reverse process
def sechdf1020_to_mne(hf):
"""@hf is an eeghdf Eeghdf object opened on a file
from the stanford EEG corpus for a scalp EEG using
the 10-20 system"""
# start to make this into a function
# find useful_chan... | 28.307958 | 80 | 0.597971 | 1,093 | 8,181 | 4.383349 | 0.230558 | 0.052599 | 0.047589 | 0.016698 | 0.830724 | 0.812983 | 0.806721 | 0.79378 | 0.79378 | 0.79378 | 0 | 0.018628 | 0.297885 | 8,181 | 288 | 81 | 28.40625 | 0.81546 | 0.409974 | 0 | 0.813008 | 0 | 0 | 0.065348 | 0 | 0 | 0 | 0 | 0.010417 | 0 | 1 | 0.03252 | false | 0.01626 | 0.00813 | 0 | 0.203252 | 0.097561 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
7ae2801cbad727d971af4b1f8964418899ae580e | 10,558 | py | Python | Pycraft/DisplayUtils.py | demirdogukan/InsiderPycraft | 5567107326fbd222a7df6aabf4ab265e0a157636 | [
"MIT"
] | 22 | 2021-03-25T17:47:45.000Z | 2022-03-29T01:56:12.000Z | Pycraft/DisplayUtils.py | demirdogukan/InsiderPycraft | 5567107326fbd222a7df6aabf4ab265e0a157636 | [
"MIT"
] | 1 | 2021-12-22T16:12:59.000Z | 2021-12-22T16:12:59.000Z | Pycraft/DisplayUtils.py | demirdogukan/InsiderPycraft | 5567107326fbd222a7df6aabf4ab265e0a157636 | [
"MIT"
] | 3 | 2021-09-05T14:10:05.000Z | 2022-01-10T12:57:34.000Z | if not __name__ == "__main__":
print("Started <Pycraft_DisplayUtils>")
class DisplayUtils:
def __init__(self):
pass
def UpdateDisplay(self): # Run tests to make sure windows not too small
self.Data_aFPS = []
self.Data... | 50.516746 | 213 | 0.557492 | 1,088 | 10,558 | 5.032169 | 0.136949 | 0.13169 | 0.197078 | 0.127854 | 0.814429 | 0.806027 | 0.791781 | 0.791781 | 0.78484 | 0.773516 | 0 | 0.011259 | 0.352245 | 10,558 | 209 | 214 | 50.516746 | 0.789297 | 0.004167 | 0 | 0.78022 | 0 | 0 | 0.04852 | 0.031635 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043956 | false | 0.005495 | 0.010989 | 0 | 0.126374 | 0.010989 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
bb507127334af2651fbbedf3b62a999642fc7fd6 | 169 | py | Python | python/lsst/obs/vista/__init__.py | raphaelshirley/obs_vista | 69457409dcbeb856c174e4233d2dd5419602b93f | [
"Apache-2.0"
] | 1 | 2020-07-16T16:20:00.000Z | 2020-07-16T16:20:00.000Z | python/lsst/obs/vista/__init__.py | raphaelshirley/obs_vista | 69457409dcbeb856c174e4233d2dd5419602b93f | [
"Apache-2.0"
] | 1 | 2020-07-16T10:17:07.000Z | 2020-07-20T15:30:49.000Z | python/lsst/obs/vista/__init__.py | raphaelshirley/obs_vista | 69457409dcbeb856c174e4233d2dd5419602b93f | [
"Apache-2.0"
] | 1 | 2021-06-07T10:09:03.000Z | 2021-06-07T10:09:03.000Z | from ._instrument import *
from .vircamMapper import *
from .makeVircamRawVisitInfo import *
from ._instrument import *
from .rawFormatter import *
from .ingest import * | 28.166667 | 37 | 0.792899 | 18 | 169 | 7.333333 | 0.388889 | 0.378788 | 0.30303 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 6 | 38 | 28.166667 | 0.90411 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.