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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fdc544cefe176e8b714241ce02e220f6af863566 | 152 | py | Python | src/mayapip/_internal/maya/maya_linux.py | jonntd/maya-pip | 2a579da17fe348053149d2ad4c45a2ff6efb60ed | [
"MIT"
] | 2 | 2019-03-05T04:11:44.000Z | 2019-03-05T07:26:53.000Z | src/mayapip/_internal/maya/maya_linux.py | jonntd/maya-pip | 2a579da17fe348053149d2ad4c45a2ff6efb60ed | [
"MIT"
] | null | null | null | src/mayapip/_internal/maya/maya_linux.py | jonntd/maya-pip | 2a579da17fe348053149d2ad4c45a2ff6efb60ed | [
"MIT"
] | null | null | null | def get_python_executables():
"""
:return: Linux maya python executables
:rtype: dict
"""
maya_pythons = {}
return maya_pythons
| 19 | 42 | 0.631579 | 16 | 152 | 5.75 | 0.625 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 152 | 7 | 43 | 21.714286 | 0.821429 | 0.335526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
fdc59cee41171b477d1b018fa98d1c9fa51eff0d | 18 | py | Python | Project Ideas/Mini Journal/mini_journal_reader.py | vishnu-rvn/PyPractice | 521cf6582b49aabd9a4c1c0aef0dd3608c9ee63b | [
"MIT"
] | 9 | 2018-07-13T16:29:41.000Z | 2018-07-14T14:40:38.000Z | Project Ideas/Mini Journal/mini_journal_reader.py | vishnu-rvn/PyPractice | 521cf6582b49aabd9a4c1c0aef0dd3608c9ee63b | [
"MIT"
] | 11 | 2018-07-15T07:56:57.000Z | 2018-07-21T17:41:13.000Z | Project Ideas/Mini Journal/mini_journal_reader.py | vishnu-rvn/PyPractice | 521cf6582b49aabd9a4c1c0aef0dd3608c9ee63b | [
"MIT"
] | 8 | 2018-07-13T02:37:53.000Z | 2018-07-14T20:36:44.000Z | # Read from file.
| 9 | 17 | 0.666667 | 3 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.857143 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fdf8fb77472de397cdaff7d10a8a3e740135bffa | 219 | py | Python | mozillaTut/utils.py | Rildlanster/django_local_library | eddf8f8c36b996bc2fcef11193632848174d8ab0 | [
"Apache-2.0"
] | null | null | null | mozillaTut/utils.py | Rildlanster/django_local_library | eddf8f8c36b996bc2fcef11193632848174d8ab0 | [
"Apache-2.0"
] | null | null | null | mozillaTut/utils.py | Rildlanster/django_local_library | eddf8f8c36b996bc2fcef11193632848174d8ab0 | [
"Apache-2.0"
] | null | null | null | from django.core.mail import send_mail
'''
para: é uma lista de destinatários.
'''
def send_prf_mail(assunto, mensagem, para):
send_mail(assunto, mensagem, 'rodrigo.nogueira@prf.gov.br', para, fail_silently=False)
| 27.375 | 90 | 0.753425 | 33 | 219 | 4.848485 | 0.69697 | 0.1 | 0.2375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118721 | 219 | 7 | 91 | 31.285714 | 0.829016 | 0 | 0 | 0 | 0 | 0 | 0.153409 | 0.153409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8bf47987aea1f0ed3e68b376c62b78bb44705f7f | 2,903 | py | Python | evalme/tests/test_classification_dynamic_labels.py | heartexlabs/evalme | 4413fc2660fdd35a55eb7665cef53eda5cf47206 | [
"MIT"
] | null | null | null | evalme/tests/test_classification_dynamic_labels.py | heartexlabs/evalme | 4413fc2660fdd35a55eb7665cef53eda5cf47206 | [
"MIT"
] | null | null | null | evalme/tests/test_classification_dynamic_labels.py | heartexlabs/evalme | 4413fc2660fdd35a55eb7665cef53eda5cf47206 | [
"MIT"
] | null | null | null | import pytest
from evalme.classification import ClassificationEvalItem, ChoicesEvalItem, naive, exact_matching_choices
from evalme.metrics import Metrics
def test_dynamic_choices_not_matching():
"""
Dynamic choices: not matching choices
"""
result1 = {"result": [
{
"id": "zMpKg1F... | 26.633028 | 104 | 0.45918 | 239 | 2,903 | 5.389121 | 0.192469 | 0.074534 | 0.079193 | 0.071429 | 0.786491 | 0.749224 | 0.749224 | 0.749224 | 0.747671 | 0.747671 | 0 | 0.029308 | 0.412332 | 2,903 | 109 | 105 | 26.633028 | 0.725674 | 0.024457 | 0 | 0.56044 | 0 | 0 | 0.207709 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 1 | 0.021978 | false | 0 | 0.032967 | 0 | 0.054945 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8bffa5b9b8bfcc6884700a9361ab5d3daa745aba | 110 | py | Python | number_detection_model/seed_setter.py | RodneyMcQuain/Digit-Inator | 2ca759dd85a7ada0f19b7eb9569a37be0519475e | [
"MIT"
] | 2 | 2021-01-10T03:44:03.000Z | 2021-05-03T14:54:57.000Z | number_detection_model/seed_setter.py | RodneyMcQuain/Digit-Inator | 2ca759dd85a7ada0f19b7eb9569a37be0519475e | [
"MIT"
] | 14 | 2020-12-17T00:09:11.000Z | 2022-02-27T11:03:47.000Z | number_detection_model/seed_setter.py | RodneyMcQuain/Digit-Inator | 2ca759dd85a7ada0f19b7eb9569a37be0519475e | [
"MIT"
] | 2 | 2021-01-28T00:52:34.000Z | 2021-11-22T18:24:30.000Z | from numpy.random import seed
import tensorflow
def set_seed():
seed(1)
tensorflow.random.set_seed(2) | 18.333333 | 33 | 0.745455 | 17 | 110 | 4.705882 | 0.588235 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.163636 | 110 | 6 | 33 | 18.333333 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e3221b92d4c086b255ccba4f1681b82d8200ae10 | 111 | py | Python | plydata/tidy/__init__.py | has2k1/plydata | d9d022def44ade656fbb39c16d2f7fe45e9e96da | [
"BSD-3-Clause"
] | 247 | 2017-05-06T08:56:29.000Z | 2022-03-16T00:36:35.000Z | plydata/tidy/__init__.py | sthagen/plydata | 7ecbabaae8af68e9d9b094ba1830cf8008746eca | [
"BSD-3-Clause"
] | 28 | 2017-05-19T06:52:32.000Z | 2022-02-17T10:41:47.000Z | plydata/tidy/__init__.py | sthagen/plydata | 7ecbabaae8af68e9d9b094ba1830cf8008746eca | [
"BSD-3-Clause"
] | 14 | 2017-05-14T11:47:16.000Z | 2020-11-20T18:07:49.000Z | from .tidy_verbs import * # noqa
from .. import _get_all_imports
__all__ = _get_all_imports(globals())
| 18.5 | 38 | 0.720721 | 15 | 111 | 4.6 | 0.6 | 0.173913 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 111 | 5 | 39 | 22.2 | 0.766667 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e339f85c4aabbab36b1b9ce3b97d90623308871d | 304 | py | Python | Sheikh.Shahzeb/Assignments/assign_landpage/assign_1_landingpage.py | webguru001/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | 5 | 2019-05-17T01:30:02.000Z | 2021-06-17T21:02:58.000Z | Sheikh.Shahzeb/Assignments/assign_landpage/assign_1_landingpage.py | curest0x1021/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | null | null | null | Sheikh.Shahzeb/Assignments/assign_landpage/assign_1_landingpage.py | curest0x1021/Python-Django-Web | 6264bc4c90ef1432ba0902c76b567cf3caaae221 | [
"MIT"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template("landing_page.html")
@app.route('/ninjas')
def ninjas():
return render_template("ninjas.html")
@app.route('/dojo')
def dojo():
return render_template("dojo.html")
app.run(debug=True) | 20.266667 | 45 | 0.726974 | 43 | 304 | 4.930233 | 0.44186 | 0.264151 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098684 | 304 | 15 | 46 | 20.266667 | 0.773723 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.25 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e35f863453ada5abf5258d00993e84b8105cc49b | 120 | py | Python | tools/__init__.py | Sngunfei/graph-embedding | 34308d7f4be03bd8610058d6b4896616c750e36d | [
"MIT"
] | null | null | null | tools/__init__.py | Sngunfei/graph-embedding | 34308d7f4be03bd8610058d6b4896616c750e36d | [
"MIT"
] | null | null | null | tools/__init__.py | Sngunfei/graph-embedding | 34308d7f4be03bd8610058d6b4896616c750e36d | [
"MIT"
] | 1 | 2020-09-27T02:23:12.000Z | 2020-09-27T02:23:12.000Z | from __future__ import absolute_import
from .hierarchy import *
from .util import *
from .const import *
name = "tools" | 20 | 38 | 0.766667 | 16 | 120 | 5.4375 | 0.5625 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 120 | 6 | 39 | 20 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8b6b70d7fa73392316f0a87d9e0902ad2d407550 | 111 | py | Python | srcs/parser/tokens/close_bracket_token.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/parser/tokens/close_bracket_token.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/parser/tokens/close_bracket_token.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | from srcs.parser.tokens.abstract_token import AbstractToken
class CloseBracketToken(AbstractToken):
pass
| 18.5 | 59 | 0.828829 | 12 | 111 | 7.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117117 | 111 | 5 | 60 | 22.2 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
47432b81a16c61b558c5a0115811ade5e891448d | 28 | py | Python | app/notifications/forms.py | woooo-code/site | a12e8c3895df9651dfb97a79adf36d58cdc50eb7 | [
"PostgreSQL"
] | null | null | null | app/notifications/forms.py | woooo-code/site | a12e8c3895df9651dfb97a79adf36d58cdc50eb7 | [
"PostgreSQL"
] | 2 | 2021-03-31T19:37:20.000Z | 2021-12-13T20:35:29.000Z | app/notifications/forms.py | woooo-code/site | a12e8c3895df9651dfb97a79adf36d58cdc50eb7 | [
"PostgreSQL"
] | null | null | null | #app/notifications/forms.py
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 28 | 1 | 28 | 28 | 0.851852 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
477e83b2a1f615d35adf14333d6c4606e8b4cd09 | 260 | py | Python | src/utils/testbed_parser.py | weucode/COMFORT | 0cfce5d70a58503f8ba3c3ff825abc24b79a1d2b | [
"Apache-2.0"
] | 55 | 2021-03-05T06:42:22.000Z | 2022-02-22T05:33:47.000Z | src/utils/testbed_parser.py | Delepha/COMFORT | a76ab2cc0069542b2bd75e4952c4709eef936124 | [
"Apache-2.0"
] | null | null | null | src/utils/testbed_parser.py | Delepha/COMFORT | a76ab2cc0069542b2bd75e4952c4709eef936124 | [
"Apache-2.0"
] | 20 | 2021-04-14T15:17:05.000Z | 2022-02-15T10:48:00.000Z | def get_version(testbed: str):
path = [e for e in testbed.split(" ") if e.find("/") > -1][0]
full_name = path.split("/")[-1]
return full_name.replace(".jar", "")
def parse_engine_name(testbed: str):
return get_version(testbed).split("-")[0]
| 26 | 65 | 0.615385 | 39 | 260 | 3.948718 | 0.538462 | 0.12987 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018605 | 0.173077 | 260 | 9 | 66 | 28.888889 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0.030888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
47851d9d5c8270ff78673fa96340b9f3520b592b | 8,430 | py | Python | models/VGAE.py | zengshiwen/valen | 5e997d1767236bbfdf60a4ac872148aa95ddbca2 | [
"MulanPSL-1.0"
] | 5 | 2021-11-12T05:31:45.000Z | 2022-03-01T08:51:49.000Z | models/VGAE.py | zengshiwen/valen | 5e997d1767236bbfdf60a4ac872148aa95ddbca2 | [
"MulanPSL-1.0"
] | null | null | null | models/VGAE.py | zengshiwen/valen | 5e997d1767236bbfdf60a4ac872148aa95ddbca2 | [
"MulanPSL-1.0"
] | 3 | 2021-11-12T05:31:47.000Z | 2022-01-24T05:50:32.000Z | from numpy.core.numeric import outer
import torch
from torch import log, mean, nn
import torch.nn.functional as F
import numpy as np
class VGAE_Encoder(nn.Module):
def __init__(self, n_in, n_hid, n_out, adj=None):
super(VGAE_Encoder, self).__init__()
self.n_out = n_out
self.base_gcn = Gra... | 32.801556 | 81 | 0.584816 | 1,242 | 8,430 | 3.725443 | 0.102254 | 0.031986 | 0.016425 | 0.032418 | 0.767236 | 0.763129 | 0.759023 | 0.740653 | 0.735682 | 0.701318 | 0 | 0.026202 | 0.289205 | 8,430 | 257 | 82 | 32.801556 | 0.745995 | 0.037604 | 0 | 0.658654 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139423 | false | 0 | 0.024038 | 0 | 0.269231 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47e1567c4c50d89068f245ba6baea4a57325a4b5 | 62,019 | py | Python | src/caustics/point_source_magnification.py | fbartolic/caustics | 4fa7737cee44143e8967817de9a544a8cc2c765e | [
"MIT"
] | null | null | null | src/caustics/point_source_magnification.py | fbartolic/caustics | 4fa7737cee44143e8967817de9a544a8cc2c765e | [
"MIT"
] | null | null | null | src/caustics/point_source_magnification.py | fbartolic/caustics | 4fa7737cee44143e8967817de9a544a8cc2c765e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
__all__ = [
"images_point_source_binary",
"images_point_source_triple",
"mag_point_source_binary",
"mag_point_source_triple",
"critical_and_caustic_curves_binary",
"critical_and_caustic_curves_triple",
"lens_eq_binary",
"lens_eq_triple",
]
from functools import p... | 36.675931 | 92 | 0.317225 | 9,897 | 62,019 | 1.962514 | 0.017076 | 0.063481 | 0.02842 | 0.015446 | 0.940226 | 0.861041 | 0.661175 | 0.461824 | 0.284148 | 0.248159 | 0 | 0.206598 | 0.492156 | 62,019 | 1,690 | 93 | 36.697633 | 0.410084 | 0.049582 | 0 | 0.056884 | 0 | 0 | 0.004977 | 0.002829 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00905 | false | 0 | 0.003232 | 0 | 0.021332 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47e58887efb8510cdf5081d4042353c32b1fcec9 | 35 | py | Python | yawsso/__main__.py | MikeBourgault/yawsso | caec4af57049ad97bcd8d20aa70521aa3b6ff44f | [
"MIT"
] | null | null | null | yawsso/__main__.py | MikeBourgault/yawsso | caec4af57049ad97bcd8d20aa70521aa3b6ff44f | [
"MIT"
] | null | null | null | yawsso/__main__.py | MikeBourgault/yawsso | caec4af57049ad97bcd8d20aa70521aa3b6ff44f | [
"MIT"
] | null | null | null | from yawsso.cli import main
main()
| 11.666667 | 27 | 0.771429 | 6 | 35 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 28 | 17.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9a114c6a75c50ec672bc569609cc099412e7c7cf | 202 | py | Python | salt/modules/test_virtual.py | jkur/salt | 3e62675550f9869d550d7787800270e632955d2f | [
"Apache-2.0"
] | 3 | 2015-04-16T18:42:35.000Z | 2017-10-30T16:57:49.000Z | salt/salt/modules/test_virtual.py | smallyear/linuxLearn | 342e5020bf24b5fac732c4275a512087b47e578d | [
"Apache-2.0"
] | 16 | 2015-11-18T00:44:03.000Z | 2018-10-29T20:48:27.000Z | salt/salt/modules/test_virtual.py | smallyear/linuxLearn | 342e5020bf24b5fac732c4275a512087b47e578d | [
"Apache-2.0"
] | 1 | 2018-04-19T16:57:27.000Z | 2018-04-19T16:57:27.000Z | # -*- coding: utf-8 -*-
'''
Module for running arbitrary tests with a __virtual__ function
'''
from __future__ import absolute_import
def __virtual__():
return False
def ping():
return True
| 14.428571 | 62 | 0.69802 | 25 | 202 | 5.12 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.19802 | 202 | 13 | 63 | 15.538462 | 0.783951 | 0.420792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9a38eec911c4308c32f39ea12acdaba4f5875e6f | 39,015 | py | Python | augmentation.py | yilmaz0734/Image-Augmentor-GUI-For-Data-Science | 4fd91a63acf5cfe0bd6dcc75dfabfbb36adbeb86 | [
"MIT"
] | null | null | null | augmentation.py | yilmaz0734/Image-Augmentor-GUI-For-Data-Science | 4fd91a63acf5cfe0bd6dcc75dfabfbb36adbeb86 | [
"MIT"
] | null | null | null | augmentation.py | yilmaz0734/Image-Augmentor-GUI-For-Data-Science | 4fd91a63acf5cfe0bd6dcc75dfabfbb36adbeb86 | [
"MIT"
] | 1 | 2022-03-23T09:52:37.000Z | 2022-03-23T09:52:37.000Z | import PyQt5
import os
import imutils
import cv2
import numpy as np
from PIL import Image as im
from PyQt5 import QtWidgets, uic, QtGui
from PyQt5.QtGui import QGuiApplication
import sys
#Image augmentation GUI App
def contour_crop_no_resize(image,dim):
'''
Contour and crop the image (generally... | 61.34434 | 155 | 0.592413 | 4,718 | 39,015 | 4.669351 | 0.063374 | 0.074353 | 0.136314 | 0.178257 | 0.822197 | 0.779936 | 0.750749 | 0.723241 | 0.647118 | 0.594734 | 0 | 0.071112 | 0.271203 | 39,015 | 635 | 156 | 61.440945 | 0.703665 | 0.026656 | 0 | 0.130926 | 0 | 0 | 0.116097 | 0.010256 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029345 | false | 0 | 0.020316 | 0 | 0.072235 | 0.002257 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d03d3037d7aefec1ea3c61beae34ddc03afc8f23 | 98 | py | Python | fakertype/__init__.py | yasirroni/faketype | 3c99e95ec184f7870b1ea26a3fe339301b907687 | [
"MIT"
] | null | null | null | fakertype/__init__.py | yasirroni/faketype | 3c99e95ec184f7870b1ea26a3fe339301b907687 | [
"MIT"
] | null | null | null | fakertype/__init__.py | yasirroni/faketype | 3c99e95ec184f7870b1ea26a3fe339301b907687 | [
"MIT"
] | null | null | null | from .version import __version__
from .core import FakerType
from .generator import int_generator | 24.5 | 36 | 0.846939 | 13 | 98 | 6 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 4 | 36 | 24.5 | 0.906977 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d059ccc6ce088cd3e05215b9198d908fb6905ee3 | 334 | py | Python | menu.py | tianlunjiang/_NukeStudio_v2 | 5ed9b9217aff16d903bdcda5c2f1e1cd3bebe367 | [
"CNRI-Python"
] | 6 | 2019-08-27T01:30:15.000Z | 2020-11-17T00:40:01.000Z | menu.py | tianlunjiang/_NukeMods | 47861bfc273262abba55b9f9a61782a5d89479b1 | [
"CNRI-Python"
] | 2 | 2019-01-22T04:09:28.000Z | 2019-01-23T15:11:39.000Z | menu.py | tianlunjiang/_NukeMods | 47861bfc273262abba55b9f9a61782a5d89479b1 | [
"CNRI-Python"
] | 1 | 2020-08-03T22:43:23.000Z | 2020-08-03T22:43:23.000Z | '''
menu.py for _NukeMods
to used in a VFX Studio enviroment
*for importing modules only
'''
#-------------------------------------------------------------------------------
#-Import Menus
#-------------------------------------------------------------------------------
from menu_items import *
from menu_defa... | 15.181818 | 80 | 0.368263 | 25 | 334 | 4.8 | 0.76 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116766 | 334 | 21 | 81 | 15.904762 | 0.40678 | 0.769461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d06f71e125de815838853ac5043c589ca2a587e2 | 163 | py | Python | administration/serializers/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | administration/serializers/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | null | null | null | administration/serializers/__init__.py | SamusChief/myth-caster-api | 76a43f48b70c6a4b509c90757d7906689799cc25 | [
"MIT"
] | 1 | 2021-08-14T18:46:52.000Z | 2021-08-14T18:46:52.000Z | """ Serializers for the administration routes """
from .user import UserSerializer
from .group import GroupSerializer
from .permission import PermissionSerializer
| 32.6 | 49 | 0.828221 | 17 | 163 | 7.941176 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116564 | 163 | 4 | 50 | 40.75 | 0.9375 | 0.251534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d0a36d58725409bc1884274ecd03525515c85fc1 | 49 | py | Python | tests/__init__.py | hootnot/virtual-yahoofinance-REST-API | 3246d3f4c14821e4ef0f9de57dd759cf03f42681 | [
"Apache-2.0"
] | 1 | 2022-03-18T08:27:34.000Z | 2022-03-18T08:27:34.000Z | tests/__init__.py | hootnot/virtual-yahoofinance-REST-API | 3246d3f4c14821e4ef0f9de57dd759cf03f42681 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | hootnot/virtual-yahoofinance-REST-API | 3246d3f4c14821e4ef0f9de57dd759cf03f42681 | [
"Apache-2.0"
] | 1 | 2021-06-18T02:14:03.000Z | 2021-06-18T02:14:03.000Z | """Unit test package for virtual_finance_api."""
| 24.5 | 48 | 0.755102 | 7 | 49 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.795455 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d0aef5dee9daaae44ea987408683ffd8b1bbd1df | 3,438 | py | Python | Buffer Overflow BOF Scripts/FCDTMP3C_v3.1.py | JAYMONSECURITY/JMSec-Blog-Resources | 61bcab0cbfceab8d46c039f5a5165b8f9da6737f | [
"MIT"
] | 2 | 2021-09-08T23:57:47.000Z | 2022-02-15T09:58:36.000Z | Buffer Overflow BOF Scripts/FCDTMP3C_v3.1.py | JAYMONSECURITY/JMSec-Blog-Resources | 61bcab0cbfceab8d46c039f5a5165b8f9da6737f | [
"MIT"
] | null | null | null | Buffer Overflow BOF Scripts/FCDTMP3C_v3.1.py | JAYMONSECURITY/JMSec-Blog-Resources | 61bcab0cbfceab8d46c039f5a5165b8f9da6737f | [
"MIT"
] | 2 | 2021-09-09T13:42:12.000Z | 2022-02-15T23:39:02.000Z | #!/usr/share/python
#-----------------------------------------------------------------------------------------------------------#
# Software = Free CD to MP3 Converter 3.1 - Buffer Overflow #
# Download Link = https://www.exploit-db.com/apps/b8d87f65406d8524d79742359b81dd... | 49.826087 | 117 | 0.44619 | 396 | 3,438 | 3.873737 | 0.598485 | 0.01043 | 0.019557 | 0.022164 | 0.026076 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143885 | 0.272251 | 3,438 | 68 | 118 | 50.558824 | 0.469225 | 0.518906 | 0 | 0 | 0 | 0.5 | 0.626168 | 0.538318 | 0 | 0 | 0.006231 | 0 | 0 | 0 | null | null | 0 | 0.055556 | null | null | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d0bd951afcd55d573236f88e11459f365c404ecd | 536 | py | Python | api/src/converter/static/AudioSpeakConverterStatic.py | SamuelJansen/ai-voice-api | 5752fb9b1287945c0b074687552b0fcb205ed27a | [
"MIT"
] | 2 | 2022-02-07T12:22:13.000Z | 2022-03-04T02:42:55.000Z | api/src/converter/static/AudioSpeakConverterStatic.py | SamuelJansen/voice-api | 6e143e01ad3e06d4f836646f024d3ca06cb37efa | [
"MIT"
] | null | null | null | api/src/converter/static/AudioSpeakConverterStatic.py | SamuelJansen/voice-api | 6e143e01ad3e06d4f836646f024d3ca06cb37efa | [
"MIT"
] | null | null | null | from converter.static import SpeakConverterStatic
def fullAudioPathAndNameAndExtension(audioData) :
return SpeakConverterStatic.fullAudioPathAndNameAndExtension(audioData)
def getValidName(originalName):
return SpeakConverterStatic.getValidName(originalName)
def getDefaultValidName(dto):
return SpeakCon... | 29.777778 | 75 | 0.841418 | 41 | 536 | 11 | 0.414634 | 0.288248 | 0.128603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098881 | 536 | 17 | 76 | 31.529412 | 0.933747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
d0e79bcb59b1129af410029611926a971edbbd29 | 440 | py | Python | populus/config/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | 2 | 2018-08-15T21:27:59.000Z | 2018-08-21T17:56:12.000Z | populus/config/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | null | null | null | populus/config/__init__.py | mandarvaze/populus | 4577bba67f6cba3c4800d250f2a228562a5d9a8f | [
"MIT"
] | 1 | 2018-07-27T07:19:49.000Z | 2018-07-27T07:19:49.000Z | from .base import ( # noqa: F401
Config,
)
from .web3 import ( # noqa: F401
Web3Config,
)
from .chain import ( # noqa: F401
ChainConfig,
)
from .compiler import ( # noqa: F401
CompilerConfig,
)
from .loading import ( # noqa: F401
load_config,
write_config,
)
from .defaults import ( # noqa:... | 18.333333 | 39 | 0.654545 | 51 | 440 | 5.509804 | 0.392157 | 0.24911 | 0.348754 | 0.192171 | 0.170819 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069277 | 0.245455 | 440 | 23 | 40 | 19.130435 | 0.777108 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.304348 | 0 | 0.304348 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d0ef596a3071d1fb0f1da4cdacd0aa3ef3b3b9c7 | 70,293 | py | Python | sdk/python/pulumi_oci/devops/_inputs.py | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/python/pulumi_oci/devops/_inputs.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/python/pulumi_oci/devops/_inputs.py | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 39.691135 | 285 | 0.673268 | 7,583 | 70,293 | 6.038243 | 0.045628 | 0.098738 | 0.061151 | 0.053333 | 0.830327 | 0.773128 | 0.701385 | 0.615118 | 0.59782 | 0.557723 | 0 | 0.001473 | 0.217817 | 70,293 | 1,770 | 286 | 39.713559 | 0.831308 | 0.2219 | 0 | 0.610603 | 1 | 0 | 0.164656 | 0.108615 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211152 | false | 0 | 0.00457 | 0.013711 | 0.340951 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 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 | 5 |
eff9335098362207495c723ca8947dfed946b75a | 149 | py | Python | python/toyota_corolla.py | xpsurgery/car-plant | 7c1f2c188a06adc79240145890b569462ee1ced6 | [
"MIT"
] | 1 | 2018-12-22T22:20:22.000Z | 2018-12-22T22:20:22.000Z | python/toyota_corolla.py | xpsurgery/car-plant | 7c1f2c188a06adc79240145890b569462ee1ced6 | [
"MIT"
] | null | null | null | python/toyota_corolla.py | xpsurgery/car-plant | 7c1f2c188a06adc79240145890b569462ee1ced6 | [
"MIT"
] | null | null | null | from front_wheel_drive_car import FrontWheelDriveCar
class ToyotaCorolla(FrontWheelDriveCar):
def name(self):
return "Toyota Corolla"
| 18.625 | 52 | 0.771812 | 16 | 149 | 7 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174497 | 149 | 7 | 53 | 21.285714 | 0.910569 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4bf96e8f09f09d5541b2ee7c9152dcc35682a7d2 | 49 | py | Python | cpen/__init__.py | kajchang/CodePen-Downloader | 6a979e5f5e614d11c4c9a41060a309ba0e7c1b2a | [
"MIT"
] | 2 | 2018-11-06T00:19:48.000Z | 2021-04-02T18:36:28.000Z | cpen/__init__.py | kajchang/CodePen-Downloader | 6a979e5f5e614d11c4c9a41060a309ba0e7c1b2a | [
"MIT"
] | null | null | null | cpen/__init__.py | kajchang/CodePen-Downloader | 6a979e5f5e614d11c4c9a41060a309ba0e7c1b2a | [
"MIT"
] | 1 | 2020-02-28T03:27:49.000Z | 2020-02-28T03:27:49.000Z | from .codepen_downloader import download_codepen
| 24.5 | 48 | 0.897959 | 6 | 49 | 7 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3256802b9fe4e31349bdfd03e2e51f43af490fd9 | 4,030 | py | Python | tests/test_util.py | kaizensoze/popular-books | 0c1a125c620174a1819c19ef31cf00d588aa4d3b | [
"MIT"
] | null | null | null | tests/test_util.py | kaizensoze/popular-books | 0c1a125c620174a1819c19ef31cf00d588aa4d3b | [
"MIT"
] | 3 | 2016-08-14T00:21:25.000Z | 2016-08-14T08:23:57.000Z | tests/test_util.py | kaizensoze/popular-books | 0c1a125c620174a1819c19ef31cf00d588aa4d3b | [
"MIT"
] | null | null | null |
import pytest
from popbooks.util import generate_signature
class TestGenerateSignature:
@pytest.mark.parametrize('url, string_to_sign, expected_signature', [
("http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&AssociateTag=mytag-20&Operation=ItemLookup... | 223.888889 | 786 | 0.851365 | 442 | 4,030 | 7.735294 | 0.30543 | 0.020474 | 0.055572 | 0.043872 | 0.443112 | 0.396315 | 0.350687 | 0.327874 | 0.311202 | 0.283416 | 0 | 0.117136 | 0.029777 | 4,030 | 17 | 787 | 237.058824 | 0.757289 | 0 | 0 | 0 | 1 | 0.714286 | 0.893026 | 0.476793 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
325a80e2ef75df29f5f83b66a7bbf348f05caae6 | 125 | py | Python | combinato-windows/css-prepare-sorting.py | marijeterwal/combinato | 4ccac676279c1e0bc679d25529849e85323c36df | [
"MIT"
] | null | null | null | combinato-windows/css-prepare-sorting.py | marijeterwal/combinato | 4ccac676279c1e0bc679d25529849e85323c36df | [
"MIT"
] | null | null | null | combinato-windows/css-prepare-sorting.py | marijeterwal/combinato | 4ccac676279c1e0bc679d25529849e85323c36df | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from combinato.cluster.prepare import parse_arguments
if __name__ == "__main__":
parse_arguments()
| 25 | 53 | 0.768 | 16 | 125 | 5.375 | 0.875 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 125 | 4 | 54 | 31.25 | 0.781818 | 0.16 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
325ad75b9ecdfd2494a23df12cadf3bda692bb8a | 95 | py | Python | big-gan/test.py | shauray8/Clip-Gan | 99ac73ae884ed9e30912b649132b886616bf7280 | [
"MIT"
] | null | null | null | big-gan/test.py | shauray8/Clip-Gan | 99ac73ae884ed9e30912b649132b886616bf7280 | [
"MIT"
] | null | null | null | big-gan/test.py | shauray8/Clip-Gan | 99ac73ae884ed9e30912b649132b886616bf7280 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
if __name__ == "__main__":
print("Testing the model")
| 13.571429 | 30 | 0.694737 | 14 | 95 | 4.142857 | 0.785714 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 95 | 6 | 31 | 15.833333 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
328f862f8601a7b2532e4f1615438811a5e93919 | 46 | py | Python | src/cmdtree/exceptions.py | winkidney/cmdtree | 8558be856f4c3044cf13d2d07a86b69877bb6491 | [
"MIT"
] | 63 | 2016-07-29T10:55:20.000Z | 2021-06-28T09:11:48.000Z | src/cmdtree/exceptions.py | winkidney/cmdtree | 8558be856f4c3044cf13d2d07a86b69877bb6491 | [
"MIT"
] | 3 | 2016-09-22T08:42:18.000Z | 2016-12-10T12:02:01.000Z | src/cmdtree/exceptions.py | winkidney/cmdtree | 8558be856f4c3044cf13d2d07a86b69877bb6491 | [
"MIT"
] | 3 | 2016-07-30T23:53:29.000Z | 2016-08-30T11:03:39.000Z | class ArgumentParseError(ValueError):
pass | 23 | 37 | 0.804348 | 4 | 46 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 2 | 38 | 23 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
086e5ecb5213040c15cd4b8899640ca0b6ab16ff | 86,915 | py | Python | cogs/server_utils.py | EdVraz/antonstechbotv2 | bf594bd1d7fbcb49a35e8b4ca71434d55e040c22 | [
"MIT"
] | 1 | 2021-11-07T15:44:49.000Z | 2021-11-07T15:44:49.000Z | cogs/server_utils.py | EdVraz/antonstechbotv2 | bf594bd1d7fbcb49a35e8b4ca71434d55e040c22 | [
"MIT"
] | 10 | 2021-11-08T17:58:18.000Z | 2021-12-23T23:15:26.000Z | cogs/server_utils.py | EdVraz/antonstechbotv2 | bf594bd1d7fbcb49a35e8b4ca71434d55e040c22 | [
"MIT"
] | 1 | 2021-11-07T17:13:56.000Z | 2021-11-07T17:13:56.000Z | import asyncio
import re
import traceback
from typing import Union
import discord
from discord.ext.commands import AutoShardedBot, Cog
from discord_slash import ButtonStyle, ComponentContext, SlashContext, cog_ext
from discord_slash.utils import manage_components
from utils import punishments, utils
class ServerUti... | 42.314995 | 175 | 0.514134 | 8,124 | 86,915 | 5.298252 | 0.051206 | 0.079548 | 0.099157 | 0.057896 | 0.85396 | 0.786655 | 0.762052 | 0.712009 | 0.651697 | 0.611412 | 0 | 0.010565 | 0.398849 | 86,915 | 2,053 | 176 | 42.335606 | 0.81324 | 0.00764 | 0 | 0.634814 | 0 | 0.005682 | 0.154259 | 0.006495 | 0 | 0 | 0 | 0.000487 | 0 | 1 | 0.001033 | false | 0.000517 | 0.005682 | 0 | 0.026343 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
08d0fd86875d113175b78bb6d9188630439473a8 | 73 | py | Python | delab/sentiment/download_nltk.py | juliandehne/delab | 763dbab38527e3fcc1caa5e19c74678f591fcc64 | [
"MIT"
] | null | null | null | delab/sentiment/download_nltk.py | juliandehne/delab | 763dbab38527e3fcc1caa5e19c74678f591fcc64 | [
"MIT"
] | 12 | 2021-11-01T07:03:15.000Z | 2022-03-31T13:03:38.000Z | delab/sentiment/download_nltk.py | juliandehne/whowhatwhy | fa4c89158e65d90b1cea62838f3d12f7c14e59fb | [
"MIT"
] | null | null | null | import nltk
nltk.download('twitter_samples')
nltk.download('stopwords')
| 14.6 | 32 | 0.794521 | 9 | 73 | 6.333333 | 0.666667 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068493 | 73 | 4 | 33 | 18.25 | 0.838235 | 0 | 0 | 0 | 0 | 0 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
08d4779c5244d4ba503a2d673282843fdf4a26f5 | 153 | py | Python | Python/loops/pg6.py | Resolution-1/Python-tryout | 44cdd124e1b8865d907f57e0ca75bf620f7167b8 | [
"MIT"
] | 21 | 2020-10-01T16:19:16.000Z | 2021-11-08T13:01:47.000Z | Python/loops/pg6.py | Resolution-1/Python-tryout | 44cdd124e1b8865d907f57e0ca75bf620f7167b8 | [
"MIT"
] | 13 | 2020-10-01T13:10:25.000Z | 2021-10-01T06:27:44.000Z | Python/loops/pg6.py | Resolution-1/Python-tryout | 44cdd124e1b8865d907f57e0ca75bf620f7167b8 | [
"MIT"
] | 77 | 2020-10-01T11:28:37.000Z | 2021-10-16T09:27:37.000Z | '''Print multiplication table of given number'''
n=int(input("Enter the no:"))
print("Multiplication table is:")
for i in range(1,11):
print(i*n) | 30.6 | 49 | 0.673203 | 25 | 153 | 4.12 | 0.76 | 0.368932 | 0.466019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.156863 | 153 | 5 | 50 | 30.6 | 0.775194 | 0.27451 | 0 | 0 | 0 | 0 | 0.362745 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
08d486553394820dd6ac88999e38c2b6e97bfd6a | 70 | py | Python | feishuconnector/__init__.py | aslan9/feishuconnector | 9cbfa9fa8f39106f788e24a3ceb548acbdc97fd4 | [
"MIT"
] | 1 | 2022-02-16T02:22:42.000Z | 2022-02-16T02:22:42.000Z | feishuconnector/__init__.py | aslan9/feishuconnector | 9cbfa9fa8f39106f788e24a3ceb548acbdc97fd4 | [
"MIT"
] | null | null | null | feishuconnector/__init__.py | aslan9/feishuconnector | 9cbfa9fa8f39106f788e24a3ceb548acbdc97fd4 | [
"MIT"
] | 1 | 2022-03-18T06:36:29.000Z | 2022-03-18T06:36:29.000Z | from ._version import __version__
from .manager import FeishuConnector | 35 | 36 | 0.871429 | 8 | 70 | 7 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 2 | 36 | 35 | 0.888889 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
08d4ecd8fc03c71f540fbb1754dcc70375edba44 | 197 | py | Python | script/csnt2lab.py | loretoparisi/audionamix.js | d429435dce634924ddeef2a4b24863eb013a15d0 | [
"MIT"
] | 3 | 2016-10-11T08:49:46.000Z | 2019-07-24T13:14:51.000Z | script/csnt2lab.py | loretoparisi/audionamix.js | d429435dce634924ddeef2a4b24863eb013a15d0 | [
"MIT"
] | null | null | null | script/csnt2lab.py | loretoparisi/audionamix.js | d429435dce634924ddeef2a4b24863eb013a15d0 | [
"MIT"
] | null | null | null | import json
import sys
consonants_activity = json.loads(json.load(sys.stdin)['consonants_activity'])
it = iter(consonants_activity)
for x in it:
print '{}\t{}\tconsonant'.format(x, next(it))
| 21.888889 | 77 | 0.730964 | 29 | 197 | 4.862069 | 0.62069 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116751 | 197 | 8 | 78 | 24.625 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.182741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
08ef4cc4d6808afd2dddc2a6568c892a3c555619 | 217 | py | Python | erpnext_etsy/erpnext_etsy/doctype/etsy_profile/test_etsy_profile.py | spacehaven/erpnext_etsy | 08113723b1b072c0e246706b635a49786973f8c1 | [
"MIT"
] | 3 | 2020-12-19T15:51:11.000Z | 2021-05-13T11:29:09.000Z | erpnext_etsy/erpnext_etsy/doctype/etsy_profile/test_etsy_profile.py | spacehaven/erpnext_etsy | 08113723b1b072c0e246706b635a49786973f8c1 | [
"MIT"
] | null | null | null | erpnext_etsy/erpnext_etsy/doctype/etsy_profile/test_etsy_profile.py | spacehaven/erpnext_etsy | 08113723b1b072c0e246706b635a49786973f8c1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright (c) 2017, Jonathan Martin and Contributors
# See license.txt
from __future__ import unicode_literals
import frappe
import unittest
class TestEtsyProfile(unittest.TestCase):
pass
| 19.727273 | 54 | 0.774194 | 27 | 217 | 6.037037 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026738 | 0.138249 | 217 | 10 | 55 | 21.7 | 0.84492 | 0.414747 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
3ead262a083e9a7537b5c4e1d033c53cf2420080 | 130 | py | Python | Admission Counselling For Direct Second Year/Web-Application/AdmissionDirectSecondYear/TopMaharashtraCollegeList/apps.py | atharvaagrawal/direct-second-year-admission-analysis | 4744753c5b69d5e06211f006d56150997793c5bf | [
"MIT"
] | null | null | null | Admission Counselling For Direct Second Year/Web-Application/AdmissionDirectSecondYear/TopMaharashtraCollegeList/apps.py | atharvaagrawal/direct-second-year-admission-analysis | 4744753c5b69d5e06211f006d56150997793c5bf | [
"MIT"
] | 1 | 2020-03-25T11:06:18.000Z | 2020-03-25T11:06:18.000Z | Admission Counselling For Direct Second Year/Web-Application/AdmissionDirectSecondYear/TopMaharashtraCollegeList/apps.py | atharvaagrawal/direct-second-year-admission-analysis | 4744753c5b69d5e06211f006d56150997793c5bf | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TopmaharashtracollegelistConfig(AppConfig):
name = 'TopMaharashtraCollegeList'
| 21.666667 | 50 | 0.792308 | 10 | 130 | 10.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 5 | 51 | 26 | 0.936364 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
410d2bf55cf73801ec9cabff1101fa975448b3ff | 96 | py | Python | corehq/ex-submodules/fluff/exceptions.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 471 | 2015-01-10T02:55:01.000Z | 2022-03-29T18:07:18.000Z | corehq/ex-submodules/fluff/exceptions.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 14,354 | 2015-01-01T07:38:23.000Z | 2022-03-31T20:55:14.000Z | corehq/ex-submodules/fluff/exceptions.py | dimagilg/commcare-hq | ea1786238eae556bb7f1cbd8d2460171af1b619c | [
"BSD-3-Clause"
] | 175 | 2015-01-06T07:16:47.000Z | 2022-03-29T13:27:01.000Z | class EmitterTypeError(Exception):
pass
class EmitterValidationError(Exception):
pass
| 13.714286 | 40 | 0.770833 | 8 | 96 | 9.25 | 0.625 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 6 | 41 | 16 | 0.925 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4114d6b94e1324c494f1a6511499222b3cfa758a | 279 | py | Python | teapot/exceptions.py | admiralobvious/teapot | 870b334f88f922d08b51629c8ccb6f459f546a8f | [
"MIT"
] | null | null | null | teapot/exceptions.py | admiralobvious/teapot | 870b334f88f922d08b51629c8ccb6f459f546a8f | [
"MIT"
] | null | null | null | teapot/exceptions.py | admiralobvious/teapot | 870b334f88f922d08b51629c8ccb6f459f546a8f | [
"MIT"
] | null | null | null | from urllib3.exceptions import HTTPError
class HTTPResponseError(HTTPError):
def __init__(self, response):
self.response = response
def __str__(self):
return "{} {} for url {}".format(self.response.status, self.response.reason, self.response.geturl())
| 27.9 | 108 | 0.702509 | 31 | 279 | 6.064516 | 0.612903 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004348 | 0.175627 | 279 | 9 | 109 | 31 | 0.813043 | 0 | 0 | 0 | 0 | 0 | 0.057348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
41229635b8cacb24e77de6b93f692b46d39e3f56 | 134 | py | Python | Strategy/after_strategy/UpsStrategy.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | Strategy/after_strategy/UpsStrategy.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | Strategy/after_strategy/UpsStrategy.py | deorerohan/DesignPatterns | 2bd698246e12ed289917bb4e3b84eaa2210534fd | [
"MIT"
] | null | null | null | from after_strategy import AbsStrategy
class UpsStrategy(AbsStrategy.AbsStrategy):
def calculate(self, order):
return 5.5 | 26.8 | 43 | 0.761194 | 16 | 134 | 6.3125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.171642 | 134 | 5 | 44 | 26.8 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f5db9d4fc67abd7cf145153cee163e6545ee68f6 | 115 | py | Python | EX006/app.py | DEVRobertorecife/html-css | f252552db238987d24e1a2559533c3502f7d194f | [
"MIT"
] | null | null | null | EX006/app.py | DEVRobertorecife/html-css | f252552db238987d24e1a2559533c3502f7d194f | [
"MIT"
] | null | null | null | EX006/app.py | DEVRobertorecife/html-css | f252552db238987d24e1a2559533c3502f7d194f | [
"MIT"
] | null | null | null | n = int(input('digite um numero: '))
n2 = int(input('digite um numero: '))
def soma ():
s = n + n2
print(soma)
| 19.166667 | 37 | 0.582609 | 19 | 115 | 3.526316 | 0.578947 | 0.238806 | 0.41791 | 0.477612 | 0.656716 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.217391 | 115 | 5 | 38 | 23 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.313043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eb1836ebd858e75b9b69da91d0a3e67ca49e88c0 | 4,826 | py | Python | tests/_display/test_line_joints_interface.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 16 | 2021-04-16T02:01:29.000Z | 2022-01-01T08:53:49.000Z | tests/_display/test_line_joints_interface.py | ynsnf/apysc | b10ffaf76ec6beb187477d0a744fca00e3efc3fb | [
"MIT"
] | 613 | 2021-03-24T03:37:38.000Z | 2022-03-26T10:58:37.000Z | tests/_display/test_line_joints_interface.py | simon-ritchie/apyscript | c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279 | [
"MIT"
] | 2 | 2021-06-20T07:32:58.000Z | 2021-12-26T08:22:11.000Z | import re
from random import randint
from typing import Match
from typing import Optional
from retrying import retry
import apysc as ap
from apysc._display.line_joints_interface import LineJointsInterface
from apysc._expression import expression_data_util
from tests.testing_helper import assert_raises
... | 47.313725 | 89 | 0.716121 | 547 | 4,826 | 5.928702 | 0.170018 | 0.104841 | 0.09374 | 0.090657 | 0.814061 | 0.794326 | 0.748998 | 0.727105 | 0.655257 | 0.655257 | 0 | 0.012539 | 0.206797 | 4,826 | 101 | 90 | 47.782178 | 0.83464 | 0.011604 | 0 | 0.564706 | 0 | 0 | 0.053196 | 0.039039 | 0 | 0 | 0 | 0 | 0.164706 | 1 | 0.070588 | false | 0 | 0.105882 | 0 | 0.188235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de3275c60d2f226fcbb457101ec3fbbdd8ab768c | 159 | py | Python | datalad_registry/tests/test_root.py | datalad/datalad-registry | 2e517f70300f2211fe08600c757e150f1c35eaeb | [
"MIT"
] | null | null | null | datalad_registry/tests/test_root.py | datalad/datalad-registry | 2e517f70300f2211fe08600c757e150f1c35eaeb | [
"MIT"
] | 53 | 2020-10-26T21:50:04.000Z | 2021-10-13T17:31:33.000Z | datalad_registry/tests/test_root.py | datalad/datalad-registry | 2e517f70300f2211fe08600c757e150f1c35eaeb | [
"MIT"
] | 1 | 2021-07-16T16:27:43.000Z | 2021-07-16T16:27:43.000Z | def test_root_redirect(client):
r_root = client.get("/")
assert r_root.status_code == 302
assert r_root.headers["Location"].endswith("/overview/")
| 31.8 | 60 | 0.698113 | 22 | 159 | 4.772727 | 0.681818 | 0.142857 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.144654 | 159 | 4 | 61 | 39.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.119497 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de3aaf0a24182c34e4e2790588ca343c6c3ef59d | 101 | py | Python | code/AST/ElseAST.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | null | null | null | code/AST/ElseAST.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | null | null | null | code/AST/ElseAST.py | antuniooh/Dattebayo-compiler | fd6767aee1c131dcbf76fc061bce43224df03f8b | [
"MIT"
] | 1 | 2021-12-05T14:00:39.000Z | 2021-12-05T14:00:39.000Z | from .AST import AST
class ElseAST(AST):
def __init__(self, scope):
self.scope = scope
| 14.428571 | 30 | 0.643564 | 14 | 101 | 4.357143 | 0.642857 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257426 | 101 | 6 | 31 | 16.833333 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
de6357fb96adf51c08a1f8052b7287e77904d423 | 166 | py | Python | phygnn/model_interfaces/__init__.py | leilei-help/phygnn | 889d6abb255a984c4d02f575c39c8280fc2cb839 | [
"BSD-3-Clause"
] | 41 | 2020-08-20T17:05:00.000Z | 2022-03-04T12:23:50.000Z | phygnn/model_interfaces/__init__.py | leilei-help/phygnn | 889d6abb255a984c4d02f575c39c8280fc2cb839 | [
"BSD-3-Clause"
] | 19 | 2020-08-24T17:14:04.000Z | 2022-03-28T22:37:15.000Z | phygnn/model_interfaces/__init__.py | NREL/phygnn | 3a508ccd3efda66e851d418f9f4eda319d58a947 | [
"BSD-3-Clause"
] | 11 | 2020-09-24T16:54:17.000Z | 2022-02-15T00:07:58.000Z | # -*- coding: utf-8 -*-
"""Model Interfaces"""
from .phygnn_model import PhygnnModel
from .random_forest_model import RandomForestModel
from .tf_model import TfModel
| 27.666667 | 50 | 0.777108 | 21 | 166 | 5.952381 | 0.666667 | 0.264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006803 | 0.114458 | 166 | 5 | 51 | 33.2 | 0.843537 | 0.23494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
de75711095a115e602b336b77b22e8ae988f11a0 | 43 | py | Python | ariesk/params/__init__.py | dcdanko/AriesK | f761913c701b9e2526714cd3b96db3aaa3eeff8c | [
"MIT"
] | null | null | null | ariesk/params/__init__.py | dcdanko/AriesK | f761913c701b9e2526714cd3b96db3aaa3eeff8c | [
"MIT"
] | 2 | 2019-11-05T21:58:41.000Z | 2019-11-05T21:58:47.000Z | ariesk/params/__init__.py | dcdanko/AriesK | f761913c701b9e2526714cd3b96db3aaa3eeff8c | [
"MIT"
] | null | null | null |
from .param_picker import ParameterPicker
| 14.333333 | 41 | 0.860465 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 42 | 21.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
de8009b3660d3f4062a2d9745e8ea1b94268d582 | 73 | py | Python | katas/beta/rotated_string.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/beta/rotated_string.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/beta/rotated_string.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def is_rotation(s1, s2):
return s1 in s2 + s2 and len(s1) == len(s2)
| 24.333333 | 47 | 0.616438 | 15 | 73 | 2.933333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.232877 | 73 | 2 | 48 | 36.5 | 0.660714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
de94e027cf54fdcd538f6493c9f9ec455283946d | 150 | py | Python | BasicModel/__init__.py | whutJamesYoung/CryptoClassification | ac58da12542eb13e9977d150e619f06224d6458c | [
"Unlicense"
] | 2 | 2021-12-05T09:02:56.000Z | 2021-12-20T06:21:45.000Z | BasicModel/__init__.py | whutJamesYoung/CryptoClassification | ac58da12542eb13e9977d150e619f06224d6458c | [
"Unlicense"
] | null | null | null | BasicModel/__init__.py | whutJamesYoung/CryptoClassification | ac58da12542eb13e9977d150e619f06224d6458c | [
"Unlicense"
] | null | null | null | from BasicModel.conv_extractor import get_conv_feature
from BasicModel.rf import RF
from BasicModel.svm import SVM
from BasicModel.train import train
| 30 | 54 | 0.866667 | 23 | 150 | 5.521739 | 0.434783 | 0.440945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 150 | 4 | 55 | 37.5 | 0.947761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
def35b43dcf9468b22f12ce216d578cdcefc412c | 40 | py | Python | tests/__init__.py | willingc/escapement | a02cc5f4367acf6cbc7f0734744b5093b4b02597 | [
"MIT"
] | null | null | null | tests/__init__.py | willingc/escapement | a02cc5f4367acf6cbc7f0734744b5093b4b02597 | [
"MIT"
] | null | null | null | tests/__init__.py | willingc/escapement | a02cc5f4367acf6cbc7f0734744b5093b4b02597 | [
"MIT"
] | null | null | null | """Unit test package for escapement."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
72373738145b01ccecd4c99dc9d6eed3262ec700 | 185 | py | Python | redash_toolbelt/__init__.py | rpietzsch/redash-toolbelt | 7900a6e88c711b7ec86336f61de8cce9323bf923 | [
"BSD-2-Clause"
] | null | null | null | redash_toolbelt/__init__.py | rpietzsch/redash-toolbelt | 7900a6e88c711b7ec86336f61de8cce9323bf923 | [
"BSD-2-Clause"
] | null | null | null | redash_toolbelt/__init__.py | rpietzsch/redash-toolbelt | 7900a6e88c711b7ec86336f61de8cce9323bf923 | [
"BSD-2-Clause"
] | null | null | null | #from .client import Redash
#from .date_ranges import get_frontend_vals
#"""Namespace __init__.py file."""
#from pkgutil import extend_path
#__path__ = extend_path(__path__, __name__)
| 26.428571 | 43 | 0.789189 | 25 | 185 | 5 | 0.68 | 0.16 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 185 | 6 | 44 | 30.833333 | 0.757576 | 0.940541 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
724605e76a5483239f9f55bfa0b2c273ec9f3e8d | 104 | py | Python | tests/python_slices/list.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 362 | 2018-02-17T10:25:11.000Z | 2022-03-30T21:04:59.000Z | tests/python_slices/list.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 70 | 2018-02-17T04:00:14.000Z | 2019-08-21T18:01:52.000Z | tests/python_slices/list.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 36 | 2018-02-18T23:11:25.000Z | 2021-09-20T07:19:36.000Z | a[-1]
a[-2:]
a[:-2]
a[::-1]
a[1::-1]
a[:-3:-1]
a[-3::-1]
point_coords = coords[i, :]
main(sys.argv[1:])
| 10.4 | 27 | 0.461538 | 25 | 104 | 1.88 | 0.4 | 0.170213 | 0.12766 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 0.115385 | 104 | 9 | 28 | 11.555556 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a0e274d26ba37ef098fb1c296751da0b90ef4730 | 72 | py | Python | curator/__init__.py | wjimenez5271/curator | 68c2311327dc276394aa8cc4be30296da13fe23f | [
"Apache-2.0"
] | 1 | 2017-12-06T11:07:48.000Z | 2017-12-06T11:07:48.000Z | curator/__init__.py | wjimenez5271/curator | 68c2311327dc276394aa8cc4be30296da13fe23f | [
"Apache-2.0"
] | 1 | 2020-02-22T20:29:15.000Z | 2020-02-22T20:29:15.000Z | curator/__init__.py | wjimenez5271/curator | 68c2311327dc276394aa8cc4be30296da13fe23f | [
"Apache-2.0"
] | null | null | null | from ._version import __version__
from .api import *
from .cli import *
| 18 | 33 | 0.763889 | 10 | 72 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 72 | 3 | 34 | 24 | 0.833333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a0ee012f683b1f43f409a332094d01d7fe4923d5 | 113 | py | Python | WeatherPy/api_keys.py | yash5OG/PythonAPIChallenge-W6-Y5 | 48d9d4bf3d10b319c8452400c86dab0a378946d8 | [
"MIT"
] | null | null | null | WeatherPy/api_keys.py | yash5OG/PythonAPIChallenge-W6-Y5 | 48d9d4bf3d10b319c8452400c86dab0a378946d8 | [
"MIT"
] | null | null | null | WeatherPy/api_keys.py | yash5OG/PythonAPIChallenge-W6-Y5 | 48d9d4bf3d10b319c8452400c86dab0a378946d8 | [
"MIT"
] | null | null | null | # OpenWeatherMap API Key
weather_api_key = "Insert your own key"
# Google API Key
g_key = "Insert your own key"
| 18.833333 | 39 | 0.743363 | 19 | 113 | 4.263158 | 0.473684 | 0.222222 | 0.320988 | 0.395062 | 0.469136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185841 | 113 | 5 | 40 | 22.6 | 0.880435 | 0.327434 | 0 | 0 | 0 | 0 | 0.520548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
19c7ce3e29b310ddd2176b56c992746aba20f7d4 | 26 | py | Python | rucliptiny/__init__.py | cene555/ru-clip-tiny | 43dbde55170696f8df679b5d8c40dcd9a8b55967 | [
"MIT"
] | 18 | 2022-02-01T18:09:02.000Z | 2022-03-16T16:42:00.000Z | rucliptiny/__init__.py | Lednik7/ru-clip-tiny | 8db8249d0ba18d74c501591ae8db49b769f57c23 | [
"MIT"
] | null | null | null | rucliptiny/__init__.py | Lednik7/ru-clip-tiny | 8db8249d0ba18d74c501591ae8db49b769f57c23 | [
"MIT"
] | 1 | 2022-02-01T14:29:02.000Z | 2022-02-01T14:29:02.000Z | from .rucliptiny import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c204303b00dbd3ac33cf57595336f9b921448aa9 | 27,630 | py | Python | fn_ioc_parser_v2/fn_ioc_parser_v2/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2020-08-25T03:43:07.000Z | 2020-08-25T03:43:07.000Z | fn_ioc_parser_v2/fn_ioc_parser_v2/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | 1 | 2019-07-08T16:57:48.000Z | 2019-07-08T16:57:48.000Z | fn_ioc_parser_v2/fn_ioc_parser_v2/util/customize.py | rudimeyer/resilient-community-apps | 7a46841ba41fa7a1c421d4b392b0a3ca9e36bd00 | [
"MIT"
] | null | null | null | # (c) Copyright IBM Corp. 2010, 2019. All Rights Reserved.
# -*- coding: utf-8 -*-
"""Generate the Resilient customizations required for fn_ioc_parser_v2"""
from __future__ import print_function
from resilient_circuits.util import *
def codegen_reload_data():
"""Parameters to codegen used to generate the fn_ioc_... | 71.395349 | 192 | 0.957727 | 600 | 27,630 | 43.951667 | 0.756667 | 0.005802 | 0.007091 | 0.002465 | 0.018164 | 0.007736 | 0.007736 | 0.007736 | 0.003944 | 0.003944 | 0 | 0.117488 | 0.033333 | 27,630 | 387 | 193 | 71.395349 | 0.869857 | 0.028701 | 0 | 0.011268 | 1 | 0 | 0.971783 | 0.949425 | 0 | 1 | 0 | 0 | 0 | 1 | 0.005634 | false | 0 | 0.008451 | 0 | 0.016901 | 0.002817 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c24154a3a27f0266dd5261b59e925bea70b02f73 | 69 | py | Python | datasets/__init__.py | Lilytopia/WakeNet | 0273504ef4672826542a598f418bcfee5a0caf94 | [
"MIT"
] | 4 | 2021-11-28T13:44:22.000Z | 2022-03-26T08:43:43.000Z | datasets/__init__.py | Lilytopia/WakeNet | 0273504ef4672826542a598f418bcfee5a0caf94 | [
"MIT"
] | 1 | 2021-11-29T06:51:23.000Z | 2021-11-29T12:53:27.000Z | datasets/__init__.py | Lilytopia/WakeNet | 0273504ef4672826542a598f418bcfee5a0caf94 | [
"MIT"
] | 2 | 2021-12-05T15:01:38.000Z | 2022-02-26T13:08:09.000Z | from .collater import Collater
from .swim_dataset import SWIMDataset
| 23 | 37 | 0.855072 | 9 | 69 | 6.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 38 | 34.5 | 0.95082 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dfb90850fcdf8ceb0e8c0fd5b19ecb42b6661c91 | 174 | py | Python | tests/integration/utils.py | krjakbrjak/time_management | 54ed55ddf0da9500722da4d0aafbc71ebfccc205 | [
"MIT"
] | null | null | null | tests/integration/utils.py | krjakbrjak/time_management | 54ed55ddf0da9500722da4d0aafbc71ebfccc205 | [
"MIT"
] | 8 | 2021-11-10T11:05:34.000Z | 2021-11-14T16:07:25.000Z | tests/integration/utils.py | krjakbrjak/time_management | 54ed55ddf0da9500722da4d0aafbc71ebfccc205 | [
"MIT"
] | null | null | null | import uvicorn
from time_manager.main import app
from time_manager.utils.settings import Server
def run():
uvicorn.run(app=app, host="0.0.0.0", port=int(Server.port))
| 19.333333 | 63 | 0.747126 | 30 | 174 | 4.266667 | 0.533333 | 0.046875 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.126437 | 174 | 8 | 64 | 21.75 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.04023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.6 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dfd60645e31fe4086faa16b16df3c6ddb42c50d6 | 174 | py | Python | lib/all.py | mcnuggetsx20/QPanel | cb4a0a85382df5822386ed6b5510f142d0e00552 | [
"MIT"
] | null | null | null | lib/all.py | mcnuggetsx20/QPanel | cb4a0a85382df5822386ed6b5510f142d0e00552 | [
"MIT"
] | null | null | null | lib/all.py | mcnuggetsx20/QPanel | cb4a0a85382df5822386ed6b5510f142d0e00552 | [
"MIT"
] | null | null | null | from lib.clock import CLOCK
from lib.text import TEXT
from lib.button import clicky_text
from lib.cpu import CPU
from lib.pic import pic
from lib.indicator import INDICATOR
| 24.857143 | 35 | 0.821839 | 31 | 174 | 4.580645 | 0.322581 | 0.295775 | 0.15493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143678 | 174 | 6 | 36 | 29 | 0.95302 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dfdeae4875bf6b8e25305aa9cb2b89eaad31979e | 2,165 | py | Python | tests.py | chrismolli/loss-funs-for-uncertainty | d02cf7223195c198a7b0f69aca51aa39617b315b | [
"MIT"
] | null | null | null | tests.py | chrismolli/loss-funs-for-uncertainty | d02cf7223195c198a7b0f69aca51aa39617b315b | [
"MIT"
] | null | null | null | tests.py | chrismolli/loss-funs-for-uncertainty | d02cf7223195c198a7b0f69aca51aa39617b315b | [
"MIT"
] | null | null | null | import tensorflow as tf
import tensorflow.keras.backend as K
import unittest
import pytest
from aleatoric_log_loss import AleatoricLogLoss
from aleatoric_reg_loss import AleatoricRegLoss
class LogLossTests(unittest.TestCase):
@pytest.fixture(autouse=True)
def init_params(self):
self.params = {
... | 31.376812 | 66 | 0.588453 | 283 | 2,165 | 4.219081 | 0.204947 | 0.092127 | 0.060302 | 0.095477 | 0.705193 | 0.705193 | 0.705193 | 0.705193 | 0.705193 | 0.705193 | 0 | 0.019117 | 0.299307 | 2,165 | 68 | 67 | 31.838235 | 0.767963 | 0 | 0 | 0.631579 | 0 | 0 | 0.058199 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 1 | 0.140351 | false | 0 | 0.105263 | 0.035088 | 0.315789 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dfe3d86b6eb2dcf88ad337efb82dae4ff656db24 | 155 | py | Python | daemon/test_song.py | naren-m/home_assistant | a20d64b79d97cbb2c9bae197c0900515ed8bfbfc | [
"MIT"
] | null | null | null | daemon/test_song.py | naren-m/home_assistant | a20d64b79d97cbb2c9bae197c0900515ed8bfbfc | [
"MIT"
] | null | null | null | daemon/test_song.py | naren-m/home_assistant | a20d64b79d97cbb2c9bae197c0900515ed8bfbfc | [
"MIT"
] | null | null | null | import action_part as ap
actions = ap.MyActions()
# actions.play_specified_song("/home/narenuday/Music/songs/Yenduko.mp3")
actions.play_specified_song()
| 22.142857 | 72 | 0.8 | 22 | 155 | 5.409091 | 0.727273 | 0.184874 | 0.336134 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.077419 | 155 | 6 | 73 | 25.833333 | 0.825175 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a0b4798b948ad1ba5d9203da0a18a4d913c4e0ad | 103 | py | Python | archive/utils_archive/file_functions.py | Sensors-in-Paradise/OpportunityML | a123b4842de45f735d517be6bcd96ca35171db91 | [
"MIT"
] | 1 | 2022-03-25T16:00:36.000Z | 2022-03-25T16:00:36.000Z | src/utils/file_functions.py | Sensors-in-Paradise/OpportunityML | a123b4842de45f735d517be6bcd96ca35171db91 | [
"MIT"
] | 1 | 2022-03-28T13:50:28.000Z | 2022-03-28T13:50:28.000Z | src/utils/file_functions.py | Sensors-in-Paradise/OpportunityML | a123b4842de45f735d517be6bcd96ca35171db91 | [
"MIT"
] | null | null | null | import os
def get_subfolder_names(path):
return [f.name for f in os.scandir(path) if f.is_dir()]
| 17.166667 | 59 | 0.708738 | 20 | 103 | 3.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174757 | 103 | 5 | 60 | 20.6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 5 |
39ffb055666f6c01e0c45b5d1393b96bc87532c4 | 100 | py | Python | django_heroku_deploy/whatever/admin.py | AhmadAmmar260/temp | 7df9b2868b4d29fe036228a6cd1c09665bb40ad2 | [
"Apache-2.0"
] | null | null | null | django_heroku_deploy/whatever/admin.py | AhmadAmmar260/temp | 7df9b2868b4d29fe036228a6cd1c09665bb40ad2 | [
"Apache-2.0"
] | null | null | null | django_heroku_deploy/whatever/admin.py | AhmadAmmar260/temp | 7df9b2868b4d29fe036228a6cd1c09665bb40ad2 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from whatever.models import Whatever
admin.site.register(Whatever) | 25 | 36 | 0.85 | 14 | 100 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 100 | 4 | 37 | 25 | 0.934066 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
263ca1024cb39735e5b21dc11852924cd2ff9531 | 26 | py | Python | delta_node/app/__init__.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | 4 | 2021-07-22T01:11:15.000Z | 2022-03-17T03:26:20.000Z | delta_node/app/__init__.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | 10 | 2021-09-13T09:55:02.000Z | 2022-03-23T09:41:26.000Z | delta_node/app/__init__.py | delta-mpc/delta-node | 674fc61f951e41ed353597f93ca6ea6bc74a102b | [
"Apache-2.0"
] | 1 | 2021-04-30T12:37:11.000Z | 2021-04-30T12:37:11.000Z | from .app import app, run
| 13 | 25 | 0.730769 | 5 | 26 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 26 | 1 | 26 | 26 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
26593ba79970d2b1a2b8d061a694fae92ab83fd6 | 550 | py | Python | PyCAD/InputMode.py | danheeks/HeeksCAM | eb54f5c402effd74aa97fee4041ab303bafd1a7e | [
"BSD-2-Clause"
] | 5 | 2015-12-07T15:27:43.000Z | 2021-03-03T15:51:52.000Z | PyCAD/InputMode.py | danheeks/HeeksCAM | eb54f5c402effd74aa97fee4041ab303bafd1a7e | [
"BSD-2-Clause"
] | null | null | null | PyCAD/InputMode.py | danheeks/HeeksCAM | eb54f5c402effd74aa97fee4041ab303bafd1a7e | [
"BSD-2-Clause"
] | 4 | 2017-02-12T10:30:28.000Z | 2020-06-15T12:18:21.000Z | class InputMode:
def __init__(self):
pass
def GetTitle(self):
return ""
def TitleHighlighted(self):
return True
def GetHelpText(self):
return None
def OnMouse(self, event):
pass
def OnKeyDown(self, event):
pass
def OnKe... | 16.666667 | 37 | 0.527273 | 57 | 550 | 4.982456 | 0.403509 | 0.147887 | 0.137324 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.396364 | 550 | 33 | 38 | 16.666667 | 0.855422 | 0 | 0 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.478261 | false | 0.304348 | 0 | 0.173913 | 0.695652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
267d61fa601ddf4841d98dad195da6dc52ec1e2d | 10,720 | py | Python | Old MRI segmentation code/Histogram-segmentation.py | akac0297/PETLAB | 950cc153ce230d12d752ad0d11111e7fc22d9e7d | [
"MIT"
] | null | null | null | Old MRI segmentation code/Histogram-segmentation.py | akac0297/PETLAB | 950cc153ce230d12d752ad0d11111e7fc22d9e7d | [
"MIT"
] | null | null | null | Old MRI segmentation code/Histogram-segmentation.py | akac0297/PETLAB | 950cc153ce230d12d752ad0d11111e7fc22d9e7d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[1]:
#read in ipsilateral breast labelmap/volume
#mask this patient's breast
#generate histogram of intensity
#DIR to new patient's breast
#expand/dilate region (might need to be manual)
#mask new patient's breast
#generate histogram of intensity
# In[2]:
#import modules... | 24.363636 | 180 | 0.785914 | 1,772 | 10,720 | 4.362302 | 0.147291 | 0.043467 | 0.020828 | 0.041785 | 0.813325 | 0.735834 | 0.718887 | 0.661449 | 0.645537 | 0.640621 | 0 | 0.07224 | 0.08834 | 10,720 | 439 | 181 | 24.419134 | 0.718715 | 0.085168 | 0 | 0.514706 | 1 | 0 | 0.164613 | 0.126617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004902 | false | 0 | 0.034314 | 0 | 0.039216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cd41423555a5e5c937c028d547852258b24c7b74 | 86 | py | Python | testdemo.py | xurihouse/seg_tests | 712772305423684750331f580b19cbf459650533 | [
"MIT"
] | null | null | null | testdemo.py | xurihouse/seg_tests | 712772305423684750331f580b19cbf459650533 | [
"MIT"
] | null | null | null | testdemo.py | xurihouse/seg_tests | 712772305423684750331f580b19cbf459650533 | [
"MIT"
] | null | null | null | import os
import sys
import random
import math
import numpy as np
print(sys.version)
| 10.75 | 18 | 0.802326 | 15 | 86 | 4.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 86 | 7 | 19 | 12.285714 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd4d6f168ef21ddb7450ca7c231c6737bda11e56 | 211 | py | Python | ckanext/datastore/tests/test_configure.py | namgk/ckan | 523c6e61570a4a5ec1db02f2a7721b0494dd4c51 | [
"Apache-2.0"
] | null | null | null | ckanext/datastore/tests/test_configure.py | namgk/ckan | 523c6e61570a4a5ec1db02f2a7721b0494dd4c51 | [
"Apache-2.0"
] | null | null | null | ckanext/datastore/tests/test_configure.py | namgk/ckan | 523c6e61570a4a5ec1db02f2a7721b0494dd4c51 | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
import unittest
import ckan.plugins
import nose.tools
import pyutilib.component.core
import ckanext.datastore.plugin as plugin
class InvalidUrlsOrPermissionsException(Exception):
pass
| 15.071429 | 51 | 0.815166 | 25 | 211 | 6.88 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.127962 | 211 | 13 | 52 | 16.230769 | 0.929348 | 0.07109 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.714286 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
26a60d80854b8f5f4c1959aafcc98e4e37831401 | 852 | py | Python | pandas/testing.py | RonKbS/pandas | ba1b6571bd507c27072900d778adf81a99affc7a | [
"BSD-3-Clause"
] | 1 | 2021-11-09T06:22:43.000Z | 2021-11-09T06:22:43.000Z | pandas/testing.py | RonKbS/pandas | ba1b6571bd507c27072900d778adf81a99affc7a | [
"BSD-3-Clause"
] | null | null | null | pandas/testing.py | RonKbS/pandas | ba1b6571bd507c27072900d778adf81a99affc7a | [
"BSD-3-Clause"
] | 1 | 2021-09-16T00:54:01.000Z | 2021-09-16T00:54:01.000Z | """
Public testing utility functions.
"""
from pandas._testing import (
assert_almost_equal,
assert_categorical_equal,
assert_datetime_array_equal,
assert_equal,
assert_extension_array_equal,
assert_frame_equal,
assert_index_equal,
assert_interval_array_equal,
assert_numpy_array_equ... | 23.666667 | 35 | 0.751174 | 99 | 852 | 5.767677 | 0.232323 | 0.462347 | 0.336252 | 0.08056 | 0.8669 | 0.751313 | 0.663748 | 0.663748 | 0.663748 | 0.514886 | 0 | 0 | 0.172535 | 852 | 35 | 36 | 24.342857 | 0.809929 | 0.038732 | 0 | 0 | 0 | 0 | 0.357583 | 0.251541 | 0 | 0 | 0 | 0 | 0.866667 | 1 | 0 | false | 0 | 0.033333 | 0 | 0.033333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
26acd2acec8df8307e3b73dbc7eca9068c3295ce | 46 | py | Python | exceptions.py | dizzam/goldendict-web-translation | 4a16e12223b2c82c7e940d7f60efe301c349c63b | [
"MIT"
] | null | null | null | exceptions.py | dizzam/goldendict-web-translation | 4a16e12223b2c82c7e940d7f60efe301c349c63b | [
"MIT"
] | null | null | null | exceptions.py | dizzam/goldendict-web-translation | 4a16e12223b2c82c7e940d7f60efe301c349c63b | [
"MIT"
] | null | null | null | class TranslateException(Exception):
pass
| 15.333333 | 36 | 0.782609 | 4 | 46 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 37 | 23 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
26b28d48f92f04a8e0be786ee057802ab0e3ba9a | 11,028 | py | Python | data_plotting/display_wavefronts.py | qgoestch/sinecity_testcases | ec04ba707ff69b5c1b4b42e56e522855a2f34a65 | [
"BSD-3-Clause"
] | null | null | null | data_plotting/display_wavefronts.py | qgoestch/sinecity_testcases | ec04ba707ff69b5c1b4b42e56e522855a2f34a65 | [
"BSD-3-Clause"
] | null | null | null | data_plotting/display_wavefronts.py | qgoestch/sinecity_testcases | ec04ba707ff69b5c1b4b42e56e522855a2f34a65 | [
"BSD-3-Clause"
] | 1 | 2021-02-18T13:07:10.000Z | 2021-02-18T13:07:10.000Z | # -*- coding: utf-8 -*-
##
# \file display_wavefronts.py
# \title Comparison of the spectrum and instantaneous pressure display.
# \author Pierre Chobeau
# \version 0.1
# \license BSD 3-Clause License
# \inst UMRAE (Ifsttar Nantes), LAUM (Le Mans Université)
# \date 2017, 06 Oct.
##
import ... | 43.588933 | 112 | 0.581429 | 1,660 | 11,028 | 3.751205 | 0.150602 | 0.022162 | 0.024089 | 0.028264 | 0.773246 | 0.75285 | 0.740164 | 0.726192 | 0.69552 | 0.688132 | 0 | 0.026808 | 0.282916 | 11,028 | 253 | 113 | 43.588933 | 0.760622 | 0.144269 | 0 | 0.44 | 0 | 0 | 0.076533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.064 | null | null | 0.024 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
26b4bfb330d6d20f6d47d2255997d4550478fa37 | 20 | py | Python | reguests_http/hello.py | Zapel/python_traning | c13051867cda84246443947a9c7559248634a325 | [
"Apache-2.0"
] | null | null | null | reguests_http/hello.py | Zapel/python_traning | c13051867cda84246443947a9c7559248634a325 | [
"Apache-2.0"
] | null | null | null | reguests_http/hello.py | Zapel/python_traning | c13051867cda84246443947a9c7559248634a325 | [
"Apache-2.0"
] | null | null | null | print 'Hello, Zapel' | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
26b7a9a0a8dd7c76a3e9255a5f1cadd62d4d71c2 | 248 | py | Python | rse.py | IciarCivantosGomez/Simplex-1 | c6b37132062972414716831377a972e2c4b6f8d5 | [
"MIT"
] | null | null | null | rse.py | IciarCivantosGomez/Simplex-1 | c6b37132062972414716831377a972e2c4b6f8d5 | [
"MIT"
] | null | null | null | rse.py | IciarCivantosGomez/Simplex-1 | c6b37132062972414716831377a972e2c4b6f8d5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed May 6 09:28:40 2020
@author: yo
Función auxiliar para calcular el RSE
"""
import numpy as np
def calc_rse(valores,prediccion):
return(sum(valores-prediccion)**2/sum((valores-np.mean(valores))**2)) | 19.076923 | 73 | 0.685484 | 40 | 248 | 4.225 | 0.8 | 0.201183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066351 | 0.149194 | 248 | 13 | 73 | 19.076923 | 0.734597 | 0.443548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
26baed1a5048a2e6883e1c2903f4fb8c3cec97a9 | 108 | py | Python | bot/src/plugins/monitor/controller/index.py | Shimada666/BadGo | 162532f0578bc30c141c1f12c5da4103ff5aceda | [
"MIT"
] | null | null | null | bot/src/plugins/monitor/controller/index.py | Shimada666/BadGo | 162532f0578bc30c141c1f12c5da4103ff5aceda | [
"MIT"
] | null | null | null | bot/src/plugins/monitor/controller/index.py | Shimada666/BadGo | 162532f0578bc30c141c1f12c5da4103ff5aceda | [
"MIT"
] | 1 | 2021-11-17T16:28:24.000Z | 2021-11-17T16:28:24.000Z | from fastapi import APIRouter
router = APIRouter()
@router.get('/')
def index():
return 'hello ergo'
| 12 | 29 | 0.675926 | 13 | 108 | 5.615385 | 0.846154 | 0.410959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 8 | 30 | 13.5 | 0.829545 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
26d1fbdf2e1cd581668cb7b10205692b2a15a87b | 18 | py | Python | .virtual_documents/tools/notebook/examples/Untitled.ipynb.py | cdmitri/healthcare-data-harmonization | 087cdb4928c3a97444b4b59283663049e121125f | [
"Apache-2.0"
] | null | null | null | .virtual_documents/tools/notebook/examples/Untitled.ipynb.py | cdmitri/healthcare-data-harmonization | 087cdb4928c3a97444b4b59283663049e121125f | [
"Apache-2.0"
] | null | null | null | .virtual_documents/tools/notebook/examples/Untitled.ipynb.py | cdmitri/healthcare-data-harmonization | 087cdb4928c3a97444b4b59283663049e121125f | [
"Apache-2.0"
] | null | null | null | a = 10
print(a)
| 3.6 | 8 | 0.5 | 4 | 18 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.333333 | 18 | 4 | 9 | 4.5 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f8338e3c258ea28d0f52201a7ed774153b1dc28a | 132 | py | Python | overwrite_mrp/models/__init__.py | xpheragroup/FJAgosto21 | aad1ba8104a6ea1dfcc39fc250897465872ea930 | [
"MIT"
] | 1 | 2022-01-21T16:23:20.000Z | 2022-01-21T16:23:20.000Z | overwrite_mrp/models/__init__.py | xpheragroup/FJAgosto21 | aad1ba8104a6ea1dfcc39fc250897465872ea930 | [
"MIT"
] | null | null | null | overwrite_mrp/models/__init__.py | xpheragroup/FJAgosto21 | aad1ba8104a6ea1dfcc39fc250897465872ea930 | [
"MIT"
] | 1 | 2022-03-02T21:41:46.000Z | 2022-03-02T21:41:46.000Z | # -*- coding: utf-8 -*-
from . import mrp_bom, mrp_bom_line, food_time, food_group, mrp_production, stock_move, material_list_group | 44 | 107 | 0.765152 | 21 | 132 | 4.380952 | 0.761905 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.113636 | 132 | 3 | 107 | 44 | 0.777778 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f864dbcbca5b601a469e100651a01363aa70c855 | 658 | py | Python | light_head_rcnn/links/model/__init__.py | knorth55/chainer-light-head-rcnn | 4408311384d5abe550cd6ad004fa190aaced2c95 | [
"MIT"
] | 17 | 2018-07-13T12:37:29.000Z | 2019-03-25T10:10:23.000Z | light_head_rcnn/links/model/__init__.py | knorth55/chainer-light-head-rcnn | 4408311384d5abe550cd6ad004fa190aaced2c95 | [
"MIT"
] | 9 | 2018-07-19T09:59:00.000Z | 2020-07-01T01:14:17.000Z | light_head_rcnn/links/model/__init__.py | knorth55/chainer-light-head-rcnn | 4408311384d5abe550cd6ad004fa190aaced2c95 | [
"MIT"
] | 1 | 2019-09-06T07:11:01.000Z | 2019-09-06T07:11:01.000Z | from light_head_rcnn.links.model.global_context_module import GlobalContextModule # NOQA
from light_head_rcnn.links.model.light_head_rcnn_base import LightHeadRCNN # NOQA
from light_head_rcnn.links.model.light_head_rcnn_resnet101 import LightHeadRCNNResNet101 # NOQA
from light_head_rcnn.links.model.light_head_rcnn_r... | 82.25 | 100 | 0.882979 | 90 | 658 | 6.077778 | 0.277778 | 0.197441 | 0.285192 | 0.21755 | 0.590494 | 0.590494 | 0.541133 | 0.484461 | 0.484461 | 0.484461 | 0 | 0.029557 | 0.074468 | 658 | 7 | 101 | 94 | 0.868637 | 0.051672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f8740a0649418c4945833accc285ac32ec0bdaec | 84 | py | Python | backend/backend/cars/admin.py | epm0dev/django-vue-postgres-celery-redis | 82884645626acbd7f106ac8ee31f14d7a8fefbee | [
"MIT"
] | 2 | 2020-12-29T05:33:27.000Z | 2022-01-17T21:34:18.000Z | backend/backend/cars/admin.py | epm0dev/django-vue-postgres-celery-redis | 82884645626acbd7f106ac8ee31f14d7a8fefbee | [
"MIT"
] | 14 | 2020-06-05T20:40:15.000Z | 2022-03-12T00:13:31.000Z | backend/backend/cars/admin.py | epm0dev/django-vue-postgres-celery-redis | 82884645626acbd7f106ac8ee31f14d7a8fefbee | [
"MIT"
] | 1 | 2020-02-18T14:38:14.000Z | 2020-02-18T14:38:14.000Z | from django.contrib import admin
from .models import Car
admin.site.register(Car)
| 14 | 32 | 0.797619 | 13 | 84 | 5.153846 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 84 | 5 | 33 | 16.8 | 0.917808 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f89cf1ee30e621e5c68709b5dab5d29ea59e26c4 | 122 | py | Python | src/movies/admin.py | Rezwanul-Haque/NotIMDB-Project | 8ddbf513b0a5b6808ecb027b1a626d175ecf7ca4 | [
"MIT"
] | null | null | null | src/movies/admin.py | Rezwanul-Haque/NotIMDB-Project | 8ddbf513b0a5b6808ecb027b1a626d175ecf7ca4 | [
"MIT"
] | null | null | null | src/movies/admin.py | Rezwanul-Haque/NotIMDB-Project | 8ddbf513b0a5b6808ecb027b1a626d175ecf7ca4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from movies.models import Movie
# Register your models here.
admin.site.register(Movie) | 20.333333 | 32 | 0.811475 | 18 | 122 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 122 | 6 | 33 | 20.333333 | 0.925234 | 0.213115 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3e093730da706355a66f20685a081d84e54f225b | 61 | py | Python | paymentpoller/__main__.py | tahv0/etherneumpaymentbot | 1485f6b069f698f5d29045414a4ebd4b2a924935 | [
"BSD-2-Clause"
] | 2 | 2018-01-17T06:35:52.000Z | 2019-12-16T16:02:08.000Z | paymentpoller/__main__.py | tahv0/etherneumpaymentbot | 1485f6b069f698f5d29045414a4ebd4b2a924935 | [
"BSD-2-Clause"
] | null | null | null | paymentpoller/__main__.py | tahv0/etherneumpaymentbot | 1485f6b069f698f5d29045414a4ebd4b2a924935 | [
"BSD-2-Clause"
] | 3 | 2019-01-04T17:55:17.000Z | 2021-07-16T22:58:42.000Z | from .blockchainpoller import start_polling
start_polling()
| 15.25 | 43 | 0.852459 | 7 | 61 | 7.142857 | 0.714286 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 61 | 3 | 44 | 20.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3e51a4a5ef98409157689a039c14c6d0bfd1bf25 | 7,972 | py | Python | porespy/tools/_sphere_insertions.py | xu-kai-xu/porespy | 9df231bfd4010e3a13efc66585474e148cd08d6c | [
"MIT"
] | null | null | null | porespy/tools/_sphere_insertions.py | xu-kai-xu/porespy | 9df231bfd4010e3a13efc66585474e148cd08d6c | [
"MIT"
] | null | null | null | porespy/tools/_sphere_insertions.py | xu-kai-xu/porespy | 9df231bfd4010e3a13efc66585474e148cd08d6c | [
"MIT"
] | null | null | null | import numpy as np
import numba
__all__ = [
'_make_disk',
'_make_disks',
'_make_ball',
'_make_balls',
'_insert_disk_at_points',
'_insert_disks_at_points',
]
@numba.jit(nopython=True, parallel=False)
def _make_disks(r, smooth=True): # pragma: no cover
r"""
Returns a list of disks fro... | 32.275304 | 85 | 0.506523 | 1,144 | 7,972 | 3.486888 | 0.137238 | 0.010028 | 0.012033 | 0.045124 | 0.844573 | 0.824267 | 0.815994 | 0.779895 | 0.696666 | 0.679619 | 0 | 0.020196 | 0.372679 | 7,972 | 246 | 86 | 32.406504 | 0.777445 | 0.40153 | 0 | 0.655462 | 0 | 0 | 0.020088 | 0.01039 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05042 | false | 0 | 0.016807 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3e70958bf37792064151a7d8f51829d0c10177bf | 20 | py | Python | checkov/version.py | chazzrobbz/checkov | ca945387df5e4f20f67b067889b38e6d4c7b578f | [
"Apache-2.0"
] | 1 | 2022-01-24T15:40:28.000Z | 2022-01-24T15:40:28.000Z | checkov/version.py | chazzrobbz/checkov | ca945387df5e4f20f67b067889b38e6d4c7b578f | [
"Apache-2.0"
] | null | null | null | checkov/version.py | chazzrobbz/checkov | ca945387df5e4f20f67b067889b38e6d4c7b578f | [
"Apache-2.0"
] | null | null | null | version = '2.0.734'
| 10 | 19 | 0.6 | 4 | 20 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0.15 | 20 | 1 | 20 | 20 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3e8c35029ba084b7ac9ae204552932dcb28a3e72 | 27 | py | Python | odoo-13.0/venv/lib/python3.8/site-packages/ImageWin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 3 | 2015-11-20T08:44:42.000Z | 2016-12-14T01:40:03.000Z | odoo-13.0/venv/lib/python3.8/site-packages/ImageWin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | 1 | 2017-09-04T14:04:32.000Z | 2020-05-26T19:04:00.000Z | odoo-13.0/venv/lib/python3.8/site-packages/ImageWin.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | from PIL.ImageWin import *
| 13.5 | 26 | 0.777778 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e44cea203bef9ee91a9617109fed69dfb9e57bf9 | 878 | py | Python | setup.py | samirelanduk/fuzz | c2b75009686ca9775d8bfaa4e489e7e1db5ac22b | [
"MIT"
] | 1 | 2020-04-21T21:38:04.000Z | 2020-04-21T21:38:04.000Z | setup.py | samirelanduk/fuzz | c2b75009686ca9775d8bfaa4e489e7e1db5ac22b | [
"MIT"
] | null | null | null | setup.py | samirelanduk/fuzz | c2b75009686ca9775d8bfaa4e489e7e1db5ac22b | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name="fuzz",
version="0.1.1",
description="Contains tools for modelling values with associated uncertainty.",
url="https://fuzz.samireland.com",
author="Sam Ireland",
author_email="mail@samireland.com",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Inte... | 31.357143 | 80 | 0.683371 | 99 | 878 | 6.050505 | 0.575758 | 0.253756 | 0.33389 | 0.347245 | 0.09015 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025538 | 0.15262 | 878 | 27 | 81 | 32.518519 | 0.77957 | 0 | 0 | 0 | 0 | 0 | 0.712984 | 0.025057 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.038462 | 0 | 0.038462 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e45faf4588158942b3ae1610f9bccc4dbca69169 | 57 | py | Python | vizard/__init__.py | Ritvik19/Vizard | 77a96f789cd2eaaa7faf22be6d7e1be7349b00e2 | [
"MIT"
] | 5 | 2021-02-21T06:20:06.000Z | 2021-11-18T12:00:42.000Z | vizard/__init__.py | Ritvik19/Vizard | 77a96f789cd2eaaa7faf22be6d7e1be7349b00e2 | [
"MIT"
] | null | null | null | vizard/__init__.py | Ritvik19/Vizard | 77a96f789cd2eaaa7faf22be6d7e1be7349b00e2 | [
"MIT"
] | 2 | 2021-02-23T18:22:05.000Z | 2021-11-18T12:00:58.000Z | from .Vizard import Vizard
from .VizardIn import VizardIn | 28.5 | 30 | 0.842105 | 8 | 57 | 6 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 2 | 30 | 28.5 | 0.96 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9025ffaee76d2b42f8f81a353cd17f8db189f522 | 90 | py | Python | src/abb_communication/clients_withRN/rfl_robot/__init__.py | createchaos/abb_communication | e4f5eae90f9423d8a20be9f6e0738467d1a5f5aa | [
"MIT"
] | 3 | 2020-02-07T20:16:16.000Z | 2020-12-18T01:14:51.000Z | src/abb_communication/clients_withRN/rfl_robot/__init__.py | createchaos/abb_communication | e4f5eae90f9423d8a20be9f6e0738467d1a5f5aa | [
"MIT"
] | 21 | 2021-01-14T14:55:03.000Z | 2021-01-28T00:44:15.000Z | src/abb_communication/clients_withRN/rfl_robot/__init__.py | createchaos/abb_communication | e4f5eae90f9423d8a20be9f6e0738467d1a5f5aa | [
"MIT"
] | 1 | 2021-04-01T15:59:21.000Z | 2021-04-01T15:59:21.000Z | from robot import Robot
from robot4x import Robot4x
from tool import Tool, MeshMouldTool | 30 | 36 | 0.833333 | 13 | 90 | 5.769231 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.155556 | 90 | 3 | 36 | 30 | 0.960526 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
904314ae2b21beebede47c48c5d3ed4f8142c260 | 116 | py | Python | redcache/__init__.py | tomekwojcik/redcache | 3d353dd9e4a988ede9edc0e1222d4d3e816af05a | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2015-10-17T16:41:42.000Z | 2017-03-26T22:00:34.000Z | redcache/__init__.py | tomekwojcik/redcache | 3d353dd9e4a988ede9edc0e1222d4d3e816af05a | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | redcache/__init__.py | tomekwojcik/redcache | 3d353dd9e4a988ede9edc0e1222d4d3e816af05a | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from cache_manager import CacheManager, default_cache
from connection import get_current_connection, use_connection
| 38.666667 | 61 | 0.896552 | 15 | 116 | 6.6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 116 | 2 | 62 | 58 | 0.933962 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5f64fe59f409867a00f333d2b4974e051e4a2abb | 2,978 | py | Python | tests/readr.py | vlrusu/ads112c04 | b09c555bd23d7815ef2164397278e7aacd0f8591 | [
"MIT"
] | null | null | null | tests/readr.py | vlrusu/ads112c04 | b09c555bd23d7815ef2164397278e7aacd0f8591 | [
"MIT"
] | null | null | null | tests/readr.py | vlrusu/ads112c04 | b09c555bd23d7815ef2164397278e7aacd0f8591 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import time
import os, sys
sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
import smbus
from smbus import SMBus
from ads112c04 import ads112c04
I2C_sleep_time = 0.2 # seconds to sleep between each channel reading
bus0 = SMBus(0)
bus1 = SMBus(1)
addresses = [0x40,... | 21.271429 | 77 | 0.665212 | 466 | 2,978 | 4.165236 | 0.22103 | 0.036064 | 0.02473 | 0.045337 | 0.799073 | 0.757342 | 0.748068 | 0.729521 | 0.729521 | 0.645028 | 0 | 0.080706 | 0.201142 | 2,978 | 139 | 78 | 21.42446 | 0.735183 | 0.366017 | 0 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040366 | 0 | 0 | 1 | 0 | false | 0 | 0.073529 | 0 | 0.073529 | 0.029412 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5f66bc67d11e43f6c34feee55a947f3fad067a2d | 113 | py | Python | dizoo/gfootball/model/bots/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | dizoo/gfootball/model/bots/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | dizoo/gfootball/model/bots/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .kaggle_5th_place_model import FootballKaggle5thPlaceModel
from .rule_based_bot import FootballRuleBaseModel | 56.5 | 63 | 0.920354 | 13 | 113 | 7.615385 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.061947 | 113 | 2 | 64 | 56.5 | 0.915094 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5f9cc0426cf4922e3220edf0a4c25a99103cc025 | 46 | py | Python | devinstaller_core/__init__.py | devinstaller/devinstaller | 8d360dee5bcec36287d75616a95214f74a55a52d | [
"MIT"
] | null | null | null | devinstaller_core/__init__.py | devinstaller/devinstaller | 8d360dee5bcec36287d75616a95214f74a55a52d | [
"MIT"
] | null | null | null | devinstaller_core/__init__.py | devinstaller/devinstaller | 8d360dee5bcec36287d75616a95214f74a55a52d | [
"MIT"
] | null | null | null | from rich.traceback import install
install()
| 11.5 | 34 | 0.804348 | 6 | 46 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 3 | 35 | 15.333333 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5fc5073d7bac220f9dc7cccd0af8eb0b2303952a | 279 | py | Python | web_app/modules/location/__init__.py | ai404/esafe-platform | 2e29ab2d3deb81fd999b74a2f6844c54a836c6d8 | [
"MIT"
] | null | null | null | web_app/modules/location/__init__.py | ai404/esafe-platform | 2e29ab2d3deb81fd999b74a2f6844c54a836c6d8 | [
"MIT"
] | null | null | null | web_app/modules/location/__init__.py | ai404/esafe-platform | 2e29ab2d3deb81fd999b74a2f6844c54a836c6d8 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp_location = Blueprint('location', __name__, template_folder="templates", url_prefix='/location')
from .views.location import *
bp_entity = Blueprint('entity', __name__, template_folder="templates", url_prefix='/entity')
from .views.entity import * | 39.857143 | 98 | 0.781362 | 34 | 279 | 6 | 0.411765 | 0.117647 | 0.176471 | 0.264706 | 0.352941 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089606 | 279 | 7 | 99 | 39.857143 | 0.80315 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.6 | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
5fd4d8e038676dde6e6e4ff48068b616dfa876ed | 158 | py | Python | classes/statistic/apistatistic.py | Kur0N3k0/webdock | b7b74c778b0aa20eec63d5cbf1bcac77b2fc1d78 | [
"MIT"
] | null | null | null | classes/statistic/apistatistic.py | Kur0N3k0/webdock | b7b74c778b0aa20eec63d5cbf1bcac77b2fc1d78 | [
"MIT"
] | null | null | null | classes/statistic/apistatistic.py | Kur0N3k0/webdock | b7b74c778b0aa20eec63d5cbf1bcac77b2fc1d78 | [
"MIT"
] | null | null | null | from classes.statistic.statistic import Statistic
class APIStatistic(Statistic):
def __init__(self):
pass
def notify(self):
pass | 19.75 | 49 | 0.670886 | 17 | 158 | 6 | 0.647059 | 0.156863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259494 | 158 | 8 | 50 | 19.75 | 0.871795 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
397b0a7d386a5f7675b72d437564ee9a90c93105 | 119 | py | Python | exile/exceptions.py | pyauth/exile | 38fd9c4d22edcecae0b6fd4dbc9a9d894f366b2f | [
"Apache-2.0"
] | 43 | 2019-02-15T04:49:17.000Z | 2022-01-15T08:28:19.000Z | exile/exceptions.py | pyauth/exile | 38fd9c4d22edcecae0b6fd4dbc9a9d894f366b2f | [
"Apache-2.0"
] | 1 | 2019-04-11T15:37:52.000Z | 2019-04-11T15:37:52.000Z | exile/exceptions.py | pyauth/exile | 38fd9c4d22edcecae0b6fd4dbc9a9d894f366b2f | [
"Apache-2.0"
] | 1 | 2021-11-30T22:49:56.000Z | 2021-11-30T22:49:56.000Z | class ExileError(Exception):
pass
class SCardError(ExileError):
pass
class YKOATHError(ExileError):
pass
| 13.222222 | 30 | 0.731092 | 12 | 119 | 7.25 | 0.5 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193277 | 119 | 8 | 31 | 14.875 | 0.90625 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
39a1d97145bb68ada88d88c27432c2300f5750ce | 681 | py | Python | numerize/test.py | kostnerek/numerize | 65af924681e794c95bf80d16b498df017f83cda2 | [
"MIT"
] | 47 | 2018-04-17T06:33:27.000Z | 2022-03-10T07:07:01.000Z | numerize/test.py | kostnerek/numerize | 65af924681e794c95bf80d16b498df017f83cda2 | [
"MIT"
] | 3 | 2018-04-18T01:33:40.000Z | 2022-02-16T01:33:32.000Z | numerize/test.py | kostnerek/numerize | 65af924681e794c95bf80d16b498df017f83cda2 | [
"MIT"
] | 9 | 2018-04-17T14:39:05.000Z | 2021-11-15T23:16:03.000Z | import unittest
from numerize import numerize
class TestNumerizeFunc(unittest.TestCase):
def test_numerize(self):
self.assertEqual(numerize(1), "1")
self.assertEqual(numerize(10), "10")
def test_thousand(self):
self.assertEqual(numerize(1000), "1K")
def test_strict(self):
sel... | 35.842105 | 55 | 0.649046 | 79 | 681 | 5.443038 | 0.341772 | 0.313953 | 0.481395 | 0.251163 | 0.395349 | 0.260465 | 0.260465 | 0.260465 | 0.260465 | 0.260465 | 0 | 0.083789 | 0.193833 | 681 | 19 | 56 | 35.842105 | 0.699454 | 0 | 0 | 0 | 0 | 0 | 0.055718 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.388889 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f2d65ffa29d0be414344db3e39a3166df0f682d2 | 12,805 | py | Python | tests/test_common_util.py | openstreetmap-polska/gugik2osm | 60ebd0660ed55e3b3db0f034486a607975c5eb45 | [
"MIT"
] | 18 | 2020-01-31T11:19:28.000Z | 2022-01-05T08:58:51.000Z | tests/test_common_util.py | openstreetmap-polska/gugik2osm | 60ebd0660ed55e3b3db0f034486a607975c5eb45 | [
"MIT"
] | 103 | 2019-12-11T11:35:01.000Z | 2022-03-01T21:10:50.000Z | tests/test_common_util.py | openstreetmap-polska/gugik2osm | 60ebd0660ed55e3b3db0f034486a607975c5eb45 | [
"MIT"
] | 6 | 2020-12-06T14:53:43.000Z | 2021-04-18T18:09:29.000Z | import unittest
import lxml.etree
from lxml import etree
from app.common import util
class ConversionToOSMObjectsTests(unittest.TestCase):
def test_creating_node(self):
point = util.InputPoint(tags={}, latitude=0.1, longitude=0.3)
nodes, ways, relations = util.convert_to_osm_style_objects([poin... | 45.896057 | 140 | 0.631472 | 1,774 | 12,805 | 4.339346 | 0.069335 | 0.054949 | 0.042089 | 0.051442 | 0.802806 | 0.765783 | 0.738244 | 0.708496 | 0.668745 | 0.66212 | 0 | 0.038797 | 0.231082 | 12,805 | 278 | 141 | 46.061151 | 0.743043 | 0.013901 | 0 | 0.534483 | 0 | 0 | 0.025678 | 0 | 0 | 0 | 0 | 0 | 0.353448 | 1 | 0.12069 | false | 0.043103 | 0.017241 | 0 | 0.146552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8464f35c1784b7440801b5bb65c11b30e7f3b665 | 97 | py | Python | enthought/contexts/with_mask.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/contexts/with_mask.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/contexts/with_mask.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from codetools.contexts.with_mask import *
| 24.25 | 42 | 0.845361 | 13 | 97 | 5.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 97 | 3 | 43 | 32.333333 | 0.883721 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fff7cdcaf1ac7afb5028494860d74990157f0bbb | 3,204 | py | Python | account/tests/test_views.py | NimaAram1/Lemoon | e0a61431279dd6a44d94120d48fc69c3616d0bd4 | [
"MIT"
] | null | null | null | account/tests/test_views.py | NimaAram1/Lemoon | e0a61431279dd6a44d94120d48fc69c3616d0bd4 | [
"MIT"
] | null | null | null | account/tests/test_views.py | NimaAram1/Lemoon | e0a61431279dd6a44d94120d48fc69c3616d0bd4 | [
"MIT"
] | null | null | null | from rest_framework.test import APITestCase
from rest_framework import status
from django.contrib.auth import get_user_model
from django.contrib.auth import authenticate
from rest_framework_simplejwt.tokens import RefreshToken
from ..utils import generate6Code
User = get_user_model()
class AuthenticationTests(APITest... | 47.117647 | 117 | 0.674469 | 381 | 3,204 | 5.511811 | 0.209974 | 0.052381 | 0.068095 | 0.085714 | 0.743333 | 0.71381 | 0.705238 | 0.705238 | 0.621429 | 0.621429 | 0 | 0.041361 | 0.192572 | 3,204 | 68 | 118 | 47.117647 | 0.77039 | 0 | 0 | 0.409836 | 0 | 0.016393 | 0.241498 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 1 | 0.081967 | false | 0.163934 | 0.098361 | 0 | 0.196721 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
08019df8c3729d3122e4a38310efe64c1991a7a4 | 48 | py | Python | QWeb/keywords/__init__.py | kivipe/qweb | abf5881aa67412e4a243b13a59528a3c80aa2f52 | [
"Apache-2.0"
] | 33 | 2021-03-16T12:26:44.000Z | 2022-03-30T17:44:57.000Z | QWeb/keywords/__init__.py | kivipe/qweb | abf5881aa67412e4a243b13a59528a3c80aa2f52 | [
"Apache-2.0"
] | 24 | 2021-03-18T16:21:37.000Z | 2022-03-24T17:52:14.000Z | QWeb/keywords/__init__.py | kivipe/qweb | abf5881aa67412e4a243b13a59528a3c80aa2f52 | [
"Apache-2.0"
] | 13 | 2021-03-24T17:48:50.000Z | 2022-02-25T03:22:01.000Z | """Directory containing all keyword modules."""
| 24 | 47 | 0.75 | 5 | 48 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.837209 | 0.854167 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0804dc198deb2d1e9aff6acdbdfff68040ad4e27 | 164 | py | Python | IRN/util/helpers.py | Barry-Menglong-Yao/conll2019-snopes-crawling | f803a99e27866036b92175c7d9786611ad1f389b | [
"Apache-2.0"
] | 1 | 2021-12-28T16:28:19.000Z | 2021-12-28T16:28:19.000Z | IRN/util/helpers.py | Barry-Menglong-Yao/conll2019-snopes-crawling | f803a99e27866036b92175c7d9786611ad1f389b | [
"Apache-2.0"
] | null | null | null | IRN/util/helpers.py | Barry-Menglong-Yao/conll2019-snopes-crawling | f803a99e27866036b92175c7d9786611ad1f389b | [
"Apache-2.0"
] | null | null | null | import os
import time
import json
import torch
import pickle
import numpy as np
from PIL import Image
from typing import List, Tuple
from util.config import Config
| 16.4 | 30 | 0.823171 | 28 | 164 | 4.821429 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 9 | 31 | 18.222222 | 0.985401 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
080fbbb14028d99d625fdfce5de252704b738b89 | 197 | py | Python | coop_cms/apps/test_app/admin.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 3 | 2016-01-29T10:55:09.000Z | 2022-03-08T16:02:12.000Z | coop_cms/apps/test_app/admin.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 11 | 2015-03-07T17:30:24.000Z | 2016-07-13T09:40:43.000Z | coop_cms/apps/test_app/admin.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 5 | 2018-08-30T09:03:22.000Z | 2019-09-10T13:01:56.000Z | # -*- coding: utf-8 -*-
"""admin"""
from django.contrib import admin
from coop_cms.apps.test_app import models
@admin.register(models.TestClass)
class TestClassAdmin(admin.ModelAdmin):
pass
| 17.909091 | 41 | 0.736041 | 26 | 197 | 5.5 | 0.769231 | 0.125874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.126904 | 197 | 10 | 42 | 19.7 | 0.825581 | 0.142132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
0838aa3bd6f0c7bcc46c91ca59bfbfe2976839d2 | 2,373 | py | Python | inventory/models.py | aruppcb/A-webserver-with-Django | 2ece35a1f7813c3b7f83a45d063b0b2db1a57822 | [
"MIT"
] | null | null | null | inventory/models.py | aruppcb/A-webserver-with-Django | 2ece35a1f7813c3b7f83a45d063b0b2db1a57822 | [
"MIT"
] | null | null | null | inventory/models.py | aruppcb/A-webserver-with-Django | 2ece35a1f7813c3b7f83a45d063b0b2db1a57822 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Item(models.Model):
Record_ID = models.IntegerField()
Record_Type = models.CharField(max_length=200, blank=False)
Campaign_ID = models.IntegerField()
Campaign = models.CharField(max_length=200, blank=False)
Budget = models.DecimalF... | 29.6625 | 89 | 0.63759 | 281 | 2,373 | 5.245552 | 0.245552 | 0.11194 | 0.134328 | 0.179104 | 0.719132 | 0.719132 | 0.719132 | 0.69403 | 0.666214 | 0.666214 | 0 | 0.020343 | 0.212811 | 2,373 | 79 | 90 | 30.037975 | 0.768737 | 0.678045 | 0 | 0.157895 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.157895 | 0.052632 | 0.052632 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.