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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
efbccdc45a904f15badf9daef4578450bad3bc56 | 44 | py | Python | invoiceapp/uniforminvoice/__init__.py | Retr0327/uniform-invoice-tkinter-app | 0446721a9432ec7f20f71333a98dfa5ab8554097 | [
"Apache-2.0"
] | null | null | null | invoiceapp/uniforminvoice/__init__.py | Retr0327/uniform-invoice-tkinter-app | 0446721a9432ec7f20f71333a98dfa5ab8554097 | [
"Apache-2.0"
] | null | null | null | invoiceapp/uniforminvoice/__init__.py | Retr0327/uniform-invoice-tkinter-app | 0446721a9432ec7f20f71333a98dfa5ab8554097 | [
"Apache-2.0"
] | null | null | null | from .uniform_invoice import UniformInvoice
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
efcd7ae4acc188c9df19e44433b3be7a63468172 | 22 | py | Python | login.py | Tiffanykey/project1 | 003b2045aa25a30baaf4a0f81ef6babd12312386 | [
"MIT"
] | null | null | null | login.py | Tiffanykey/project1 | 003b2045aa25a30baaf4a0f81ef6babd12312386 | [
"MIT"
] | null | null | null | login.py | Tiffanykey/project1 | 003b2045aa25a30baaf4a0f81ef6babd12312386 | [
"MIT"
] | null | null | null | a = 2;
b = 5;
c = 4;
| 4.4 | 6 | 0.272727 | 6 | 22 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.454545 | 22 | 4 | 7 | 5.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
eff04bcf0d5e0e5b0300b7277fe48c8caa8fbc12 | 11,514 | py | Python | tests/integration/mongodb/helper/info.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 5 | 2020-08-26T20:12:00.000Z | 2020-12-11T16:39:22.000Z | tests/integration/mongodb/helper/info.py | RaenonX/Jelly-Bot | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 234 | 2019-12-14T03:45:19.000Z | 2020-08-26T18:55:19.000Z | tests/integration/mongodb/helper/info.py | RaenonX/Jelly-Bot-API | c7da1e91783dce3a2b71b955b3a22b68db9056cf | [
"MIT"
] | 2 | 2019-10-23T15:21:15.000Z | 2020-05-22T09:35:55.000Z | from datetime import datetime
from bson import ObjectId
from django.conf import settings
from extutils.emailutils import EmailServer
from flags import Platform, MessageType
from models import ChannelModel, ChannelConfigModel, MessageRecordModel, ChannelProfileConnectionModel
from mongodb.factory import ChannelManager... | 52.575342 | 116 | 0.718082 | 1,420 | 11,514 | 5.488028 | 0.092958 | 0.091749 | 0.052355 | 0.080072 | 0.863852 | 0.833184 | 0.802643 | 0.75709 | 0.745413 | 0.664571 | 0 | 0.026489 | 0.183603 | 11,514 | 218 | 117 | 52.816514 | 0.802553 | 0 | 0 | 0.6 | 0 | 0 | 0.037606 | 0 | 0 | 0 | 0 | 0 | 0.3 | 1 | 0.05 | false | 0 | 0.055556 | 0.005556 | 0.183333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4bf6853dc91f970b10de065c232b2b60375be661 | 29,879 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_bios.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_bios.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/test_idrac_bios.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Dell EMC OpenManage Ansible Modules
# Version 3.0.0
# Copyright (C) 2018-2020 Dell Inc. or its subsidiaries. All Rights Reserved.
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#
from __future__ import (absolute_import, division, print_functio... | 70.138498 | 120 | 0.65705 | 3,246 | 29,879 | 5.619224 | 0.075169 | 0.049123 | 0.084814 | 0.132018 | 0.892544 | 0.877851 | 0.848465 | 0.825384 | 0.810417 | 0.79989 | 0 | 0.003631 | 0.253288 | 29,879 | 425 | 121 | 70.303529 | 0.813903 | 0.007965 | 0 | 0.664921 | 0 | 0 | 0.174265 | 0.016569 | 0 | 0 | 0 | 0 | 0.065445 | 1 | 0.070681 | false | 0.036649 | 0.039267 | 0 | 0.123037 | 0.002618 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ef0216ba105965b4ec5dbb443f1160bb862166c6 | 112 | py | Python | model/video/facedetector/retinaface/data/__init__.py | hafizhahmadzuhdi/aware | b4da8b70a0c33ad5cfb91bc58f08c84c6066a591 | [
"MIT"
] | 2 | 2019-10-08T17:22:48.000Z | 2019-10-09T11:41:32.000Z | model/video/facedetector/retinaface/data/__init__.py | hafizhahmadzuhdi/aware | b4da8b70a0c33ad5cfb91bc58f08c84c6066a591 | [
"MIT"
] | 8 | 2019-10-08T17:18:57.000Z | 2019-11-15T12:34:59.000Z | model/video/facedetector/retinaface/data/__init__.py | hafizhahmadzuhdi/aware | b4da8b70a0c33ad5cfb91bc58f08c84c6066a591 | [
"MIT"
] | 3 | 2019-10-08T16:33:42.000Z | 2019-10-12T05:13:10.000Z | from .config import *
from .data_augment import *
from .wider_face import WiderFaceDetection, detection_collate
| 28 | 61 | 0.830357 | 14 | 112 | 6.428571 | 0.714286 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 112 | 3 | 62 | 37.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef05417655da3fe99dd4584a0bd1ebf7d87a0500 | 85 | py | Python | tidysol/commands/__init__.py | joeweaver/tidysol | 37d1c078ff5c8a805b9e44f3ec75402d8968c68f | [
"MIT"
] | null | null | null | tidysol/commands/__init__.py | joeweaver/tidysol | 37d1c078ff5c8a805b9e44f3ec75402d8968c68f | [
"MIT"
] | null | null | null | tidysol/commands/__init__.py | joeweaver/tidysol | 37d1c078ff5c8a805b9e44f3ec75402d8968c68f | [
"MIT"
] | null | null | null | from .times import Times
from .vars import *
from .meta import *
from .tidy import *
| 17 | 24 | 0.729412 | 13 | 85 | 4.769231 | 0.461538 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 4 | 25 | 21.25 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ef319ccccb3e585c849ee83a90201b9af0912add | 151 | py | Python | lang/py/cookbook/v2/source/cb2_5_4_exm_4.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_5_4_exm_4.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_5_4_exm_4.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | from operator import itemgetter
def dict_items_sorted_by_value(d, reverse=False):
return sorted(d.iteritems(), key=itemgetter(1), reverse=reverse)
| 37.75 | 68 | 0.794702 | 22 | 151 | 5.272727 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.099338 | 151 | 3 | 69 | 50.333333 | 0.845588 | 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 | 1 | 0 | 0 | 6 |
ef3384fb6852bf024b2eff5ae8f256d6d073b8ac | 157 | py | Python | ifitwala_ed/accounting/doctype/payment_terms_template/test_payment_terms_template.py | mohsinalimat/ifitwala_ed | 8927695ed9dee36e56571c442ebbe6e6431c7d46 | [
"MIT"
] | 13 | 2020-09-02T10:27:57.000Z | 2022-03-11T15:28:46.000Z | ifitwala_ed/accounting/doctype/payment_terms_template/test_payment_terms_template.py | mohsinalimat/ifitwala_ed | 8927695ed9dee36e56571c442ebbe6e6431c7d46 | [
"MIT"
] | 43 | 2020-09-02T07:00:42.000Z | 2021-07-05T13:22:58.000Z | ifitwala_ed/accounting/doctype/payment_terms_template/test_payment_terms_template.py | mohsinalimat/ifitwala_ed | 8927695ed9dee36e56571c442ebbe6e6431c7d46 | [
"MIT"
] | 6 | 2020-10-19T01:02:18.000Z | 2022-03-11T15:28:47.000Z | # Copyright (c) 2021, ifitwala and Contributors
# See license.txt
# import frappe
import unittest
class TestPaymentTermsTemplate(unittest.TestCase):
pass
| 17.444444 | 50 | 0.796178 | 18 | 157 | 6.944444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.133758 | 157 | 8 | 51 | 19.625 | 0.889706 | 0.477707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ef5c445befb555895ae75b8a6acdb1385adfa530 | 90 | py | Python | tests/data/__init__.py | agaveplatform/agavepy | c2b39fdf60648f7025234f7aa175af873ef0ff75 | [
"BSD-3-Clause"
] | 16 | 2015-07-24T16:54:23.000Z | 2020-10-18T23:10:37.000Z | tests/data/__init__.py | agaveplatform/agavepy | c2b39fdf60648f7025234f7aa175af873ef0ff75 | [
"BSD-3-Clause"
] | 77 | 2015-06-11T22:08:10.000Z | 2020-09-09T19:25:27.000Z | tests/data/__init__.py | agaveplatform/agavepy | c2b39fdf60648f7025234f7aa175af873ef0ff75 | [
"BSD-3-Clause"
] | 24 | 2015-11-05T20:32:48.000Z | 2022-01-26T22:05:53.000Z | from . import clients
from . import keys
from . import settings
from . import integration
| 18 | 25 | 0.777778 | 12 | 90 | 5.833333 | 0.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 90 | 4 | 26 | 22.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
323856a33280207b2a489541f03a0428b418e5f1 | 36 | py | Python | psy/ctt/__init__.py | Alias-Alan/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 169 | 2017-08-29T01:35:49.000Z | 2022-03-01T05:03:02.000Z | psy/ctt/__init__.py | a854367688/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 8 | 2017-12-05T05:20:35.000Z | 2021-10-03T05:40:45.000Z | psy/ctt/__init__.py | a854367688/pypsy | f055fe1f4901b654d99d9a776152e8192e014f5f | [
"MIT"
] | 67 | 2017-09-01T04:18:54.000Z | 2022-02-24T08:21:18.000Z | from psy.ctt.ctt import BivariateCtt | 36 | 36 | 0.861111 | 6 | 36 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
326740a00529018ec17ff6f38c3bf2e4d8ffb30c | 23,058 | py | Python | AC08_Servidor_Disciplinas/runtests_lms_v2.py | Lenildo1234/sistemasDistribuidos | 268b43470f3f3f8337866fc3b611f3d4eaf7a360 | [
"Apache-2.0"
] | null | null | null | AC08_Servidor_Disciplinas/runtests_lms_v2.py | Lenildo1234/sistemasDistribuidos | 268b43470f3f3f8337866fc3b611f3d4eaf7a360 | [
"Apache-2.0"
] | null | null | null | AC08_Servidor_Disciplinas/runtests_lms_v2.py | Lenildo1234/sistemasDistribuidos | 268b43470f3f3f8337866fc3b611f3d4eaf7a360 | [
"Apache-2.0"
] | null | null | null | import requests
import unittest
import sqlite3
class TestStringMethods(unittest.TestCase):
def a_000_alunos_retorna_lista(self):
r = requests.get('http://localhost:5002/alunos')
self.assertEqual(type(r.json()),type([]))
def a_001_adiciona_alunos(self):
r = requests.post('http://local... | 53.129032 | 183 | 0.657082 | 2,998 | 23,058 | 4.907605 | 0.072048 | 0.118399 | 0.105485 | 0.142731 | 0.884456 | 0.867872 | 0.824781 | 0.819004 | 0.798613 | 0.776048 | 0 | 0.059835 | 0.172999 | 23,058 | 433 | 184 | 53.251732 | 0.711731 | 0 | 0 | 0.560773 | 0 | 0 | 0.325917 | 0 | 0 | 0 | 0 | 0 | 0.334254 | 1 | 0.107735 | false | 0 | 0.01105 | 0 | 0.124309 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3282c8cce4169988d61839ed5e437aedd19f8011 | 24 | py | Python | learn_python_packaging/__init__.py | indranisen/learn_python_packaging | 83912030ffe0281af83069e612f2386d25e65f10 | [
"MIT"
] | null | null | null | learn_python_packaging/__init__.py | indranisen/learn_python_packaging | 83912030ffe0281af83069e612f2386d25e65f10 | [
"MIT"
] | null | null | null | learn_python_packaging/__init__.py | indranisen/learn_python_packaging | 83912030ffe0281af83069e612f2386d25e65f10 | [
"MIT"
] | null | null | null | from .text import learn
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
329f15d06cfc42d17638dfde25233a62043831e1 | 140 | py | Python | src/test_generator/ast_node.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/test_generator/ast_node.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/test_generator/ast_node.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Any
class ASTNode(ABC):
@abstractmethod
def accept(self, visitor: Any): pass | 23.333333 | 40 | 0.75 | 19 | 140 | 5.526316 | 0.684211 | 0.32381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 140 | 6 | 40 | 23.333333 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
32a6b32c6d138608d20c618ac48ab92c1e1eba61 | 1,274 | py | Python | alpyro_msgs/control_msgs/singlejointpositionactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | 1 | 2020-12-13T13:07:10.000Z | 2020-12-13T13:07:10.000Z | alpyro_msgs/control_msgs/singlejointpositionactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | alpyro_msgs/control_msgs/singlejointpositionactionfeedback.py | rho2/alpyro_msgs | b5a680976c40c83df70d61bb2db1de32a1cde8d3 | [
"MIT"
] | null | null | null | from typing import Final
from alpyro_msgs import RosMessage
from alpyro_msgs.actionlib_msgs.goalstatus import GoalStatus
from alpyro_msgs.control_msgs.singlejointpositionfeedback import SingleJointPositionFeedback
from alpyro_msgs.std_msgs.header import Header
class SingleJointPositionActionFeedback(RosMessage):
__... | 79.625 | 762 | 0.94113 | 53 | 1,274 | 22.188679 | 0.45283 | 0.034014 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08347 | 0.040816 | 1,274 | 15 | 763 | 84.933333 | 0.878887 | 0 | 0 | 0 | 0 | 0 | 0.645212 | 0.645212 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
089342fa686cab05fd62e60741b11ad10ff0c1ff | 48 | py | Python | data/indicator/SL2/__init__.py | simonzabrocki/Anticipe | ad0e0aa39217a7e38ed10e1b3eb5be8e47d0e965 | [
"MIT"
] | null | null | null | data/indicator/SL2/__init__.py | simonzabrocki/Anticipe | ad0e0aa39217a7e38ed10e1b3eb5be8e47d0e965 | [
"MIT"
] | 1 | 2022-01-27T07:44:44.000Z | 2022-01-27T07:44:44.000Z | data/indicator/SL2/__init__.py | simonzabrocki/Anticipe | ad0e0aa39217a7e38ed10e1b3eb5be8e47d0e965 | [
"MIT"
] | null | null | null | from data.indicator.SL2.preprocess import config | 48 | 48 | 0.875 | 7 | 48 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.0625 | 48 | 1 | 48 | 48 | 0.911111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
08aa3fcec65b702290a3d9b3e4b8e2bbbfbb5aad | 113 | py | Python | tests/structure/test_package_items.py | gregorybchris/dependy | 06e377abe97e8e7b7e13ee39806cf17e107f546d | [
"Apache-2.0"
] | null | null | null | tests/structure/test_package_items.py | gregorybchris/dependy | 06e377abe97e8e7b7e13ee39806cf17e107f546d | [
"Apache-2.0"
] | 1 | 2019-10-08T21:32:00.000Z | 2019-10-08T21:32:00.000Z | tests/structure/test_package_items.py | gregorybchris/dependy | 06e377abe97e8e7b7e13ee39806cf17e107f546d | [
"Apache-2.0"
] | null | null | null | from dependy.structure.package_file import PackageFile
def test_create_file():
PackageFile('name', 'path')
| 18.833333 | 54 | 0.769912 | 14 | 113 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 113 | 5 | 55 | 22.6 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3eaf26d01ca18aa5c3d625c0847cf53cb6245128 | 44 | py | Python | src/bgmtinygrail/__main__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 5 | 2020-05-17T02:41:01.000Z | 2020-07-01T23:24:41.000Z | src/bgmtinygrail/__main__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | null | null | null | src/bgmtinygrail/__main__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 1 | 2021-02-09T04:41:15.000Z | 2021-02-09T04:41:15.000Z | from .cli import entry_point
entry_point()
| 11 | 28 | 0.795455 | 7 | 44 | 4.714286 | 0.714286 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 3 | 29 | 14.666667 | 0.868421 | 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 | 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 | 6 |
3eb9bdadd806849f00eeb9efbd50f5410ed06e8a | 149 | py | Python | myvenv/lib/python3.5/site-packages/IPython/utils/log.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 6,989 | 2017-07-18T06:23:18.000Z | 2022-03-31T15:58:36.000Z | SLpackage/private/thirdparty/pythonpkgs/ipython/ipython_4.0.0/lib/python2.7/site-packages/IPython/utils/log.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 1,978 | 2017-07-18T09:17:58.000Z | 2022-03-31T14:28:43.000Z | SLpackage/private/thirdparty/pythonpkgs/ipython/ipython_4.0.0/lib/python2.7/site-packages/IPython/utils/log.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 1,228 | 2017-07-18T09:03:13.000Z | 2022-03-29T05:57:40.000Z | from __future__ import absolute_import
from warnings import warn
warn("IPython.utils.log has moved to traitlets.log")
from traitlets.log import *
| 18.625 | 52 | 0.805369 | 22 | 149 | 5.227273 | 0.590909 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134228 | 149 | 7 | 53 | 21.285714 | 0.891473 | 0 | 0 | 0 | 0 | 0 | 0.295302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3eef798960044175f29bedca6a85f76b7784b35c | 20 | py | Python | mmskeleton/ops/__init__.py | fserracant/mmskeleton | 44008bdef3dd6354a17c220fac8bcd8cd08ed201 | [
"Apache-2.0"
] | 1,347 | 2019-08-24T19:03:50.000Z | 2022-03-29T05:44:57.000Z | mmskeleton/ops/__init__.py | fserracant/mmskeleton | 44008bdef3dd6354a17c220fac8bcd8cd08ed201 | [
"Apache-2.0"
] | 246 | 2019-08-24T15:36:11.000Z | 2022-03-23T06:57:02.000Z | mmskeleton/ops/__init__.py | fserracant/mmskeleton | 44008bdef3dd6354a17c220fac8bcd8cd08ed201 | [
"Apache-2.0"
] | 335 | 2019-08-25T14:54:19.000Z | 2022-03-31T23:07:18.000Z | from . import st_gcn | 20 | 20 | 0.8 | 4 | 20 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4110ab69b547eb725d0cdbb36834b3175addcdeb | 123 | py | Python | pype/modules/adobe_communicator/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | pype/modules/adobe_communicator/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | pype/modules/adobe_communicator/__init__.py | kalisp/pype | 28bbffaf2d12ccee48313cd9985e8dfa05e81a5c | [
"MIT"
] | null | null | null | from .adobe_comunicator import AdobeCommunicator
def tray_init(tray_widget, main_widget):
return AdobeCommunicator()
| 20.5 | 48 | 0.821138 | 14 | 123 | 6.928571 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 123 | 5 | 49 | 24.6 | 0.898148 | 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 | 1 | 0 | 0 | 6 |
412d77e71974e0e36dcb4fdf8fa2721cb669f159 | 158 | py | Python | Codewars/ConvertPascalCaseIntoSnakeCase.py | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | Codewars/ConvertPascalCaseIntoSnakeCase.py | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | Codewars/ConvertPascalCaseIntoSnakeCase.py | SelvorWhim/competitive | b9daaf21920d6f7669dc0c525e903949f4e33b62 | [
"Unlicense"
] | null | null | null | def map_letter(c):
return "_" + c.lower() if c.isupper() else c
def to_underscore(s):
return str.lstrip("".join(map_letter(c) for c in str(s)), "_")
| 26.333333 | 66 | 0.632911 | 28 | 158 | 3.392857 | 0.607143 | 0.189474 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 158 | 5 | 67 | 31.6 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f5cbe2fff259a87e0a4eb31b6107a1fe57d6fcd6 | 49 | py | Python | GITcourse/a/a2/hello.py | CristianTeodorNita/GITcourse | 0aa418b5f8700e243bff61ad030350a39a31568c | [
"MIT"
] | null | null | null | GITcourse/a/a2/hello.py | CristianTeodorNita/GITcourse | 0aa418b5f8700e243bff61ad030350a39a31568c | [
"MIT"
] | null | null | null | GITcourse/a/a2/hello.py | CristianTeodorNita/GITcourse | 0aa418b5f8700e243bff61ad030350a39a31568c | [
"MIT"
] | null | null | null | def hello():
print("Welcome to the lottery!") | 24.5 | 36 | 0.653061 | 7 | 49 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 49 | 2 | 36 | 24.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.46 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
f5da532555771568d2cab9a0847cfffd27a70783 | 31 | py | Python | ACIT 2515/Lab1A/lab1a.py | jtw10/T2 | f44e465d92f51fb74769f5665a6e4f2bccf8de61 | [
"Unlicense"
] | null | null | null | ACIT 2515/Lab1A/lab1a.py | jtw10/T2 | f44e465d92f51fb74769f5665a6e4f2bccf8de61 | [
"Unlicense"
] | null | null | null | ACIT 2515/Lab1A/lab1a.py | jtw10/T2 | f44e465d92f51fb74769f5665a6e4f2bccf8de61 | [
"Unlicense"
] | null | null | null | print("Hello World from Josh")
| 15.5 | 30 | 0.741935 | 5 | 31 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
de36145b31f874955009e9ced95ecaf60d571b17 | 2,145 | py | Python | osmfunctest.py | TimSC/ZiggDb | 50ce50bb3ebff583b38746a5e744637d07ba4a6f | [
"MIT"
] | 1 | 2015-08-10T18:48:47.000Z | 2015-08-10T18:48:47.000Z | osmfunctest.py | TimSC/ZiggDb | 50ce50bb3ebff583b38746a5e744637d07ba4a6f | [
"MIT"
] | null | null | null | osmfunctest.py | TimSC/ZiggDb | 50ce50bb3ebff583b38746a5e744637d07ba4a6f | [
"MIT"
] | null | null | null |
import zigg, osmapi
class DbContext(object):
pass
if __name__ == "__main__":
osmData = {"node": {}, "way": {}, "relation": {}}
lat = 51.1
lon = -0.5
dbHandles = DbContext()
osmapi.OpenOsmDatabaseHandles(dbHandles)
idAssignment = None
osmData["node"][-1] = [(lat, lon), {"foo": "bar"}]
osmData["node"][-2... | 30.642857 | 79 | 0.621911 | 285 | 2,145 | 4.652632 | 0.168421 | 0.135747 | 0.102564 | 0.036199 | 0.790347 | 0.790347 | 0.790347 | 0.790347 | 0.790347 | 0.759427 | 0 | 0.049709 | 0.118415 | 2,145 | 69 | 80 | 31.086957 | 0.651507 | 0 | 0 | 0.666667 | 0 | 0 | 0.10686 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0 | false | 0.018519 | 0.018519 | 0 | 0.037037 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de522bd9b7366d14fcd39c74ce47dc27cd9890ab | 38,817 | py | Python | tests/test_iso_gcn.py | ricosjp/siml | 8fc07d798cdedd77622c16221ee44a575d36bad0 | [
"Apache-2.0"
] | 11 | 2020-12-28T16:22:33.000Z | 2021-11-14T17:09:27.000Z | tests/test_iso_gcn.py | ricosjp/siml | 8fc07d798cdedd77622c16221ee44a575d36bad0 | [
"Apache-2.0"
] | null | null | null | tests/test_iso_gcn.py | ricosjp/siml | 8fc07d798cdedd77622c16221ee44a575d36bad0 | [
"Apache-2.0"
] | 2 | 2021-04-28T09:41:47.000Z | 2021-07-01T21:18:51.000Z |
import glob
from pathlib import Path
import shutil
import unittest
import numpy as np
import scipy.sparse as sp
import torch
import siml.datasets as datasets
import siml.inferer as inferer
import siml.networks.iso_gcn as iso_gcn
import siml.setting as setting
import siml.trainer as trainer
PLOT = False
class Tes... | 43.419463 | 79 | 0.628951 | 4,459 | 38,817 | 5.173357 | 0.069971 | 0.035764 | 0.050069 | 0.047859 | 0.829331 | 0.793654 | 0.770808 | 0.733007 | 0.710031 | 0.664947 | 0 | 0.015096 | 0.272999 | 38,817 | 893 | 80 | 43.468085 | 0.802339 | 0.041528 | 0 | 0.649007 | 0 | 0 | 0.137475 | 0.082156 | 0 | 0 | 0 | 0 | 0.033113 | 1 | 0.050331 | false | 0 | 0.015894 | 0.005298 | 0.095364 | 0.056954 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
de786dd67eae9f6eb10a128b4b6ef53d151758b0 | 86 | py | Python | src/config/common/tests/test_suite.py | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 3 | 2019-01-11T06:16:40.000Z | 2021-02-24T23:48:21.000Z | src/config/common/tests/test_suite.py | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 2 | 2018-12-04T02:20:52.000Z | 2018-12-22T06:16:30.000Z | src/config/common/tests/test_suite.py | biswajit-mandal/contrail-controller | 80c4a7e8515f7296b18ba4c21a439bd3daefcc4a | [
"Apache-2.0"
] | 18 | 2017-01-12T09:28:44.000Z | 2019-04-18T20:47:42.000Z | from test_analytics_client import *
from test_importutils import *
from fake import *
| 21.5 | 35 | 0.825581 | 12 | 86 | 5.666667 | 0.583333 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 36 | 28.666667 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
defdb1b0b255c09a0299d233f2f9b18fda1faa5e | 3,390 | py | Python | tests/cli/history/test_history_clear.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/history/test_history_clear.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | tests/cli/history/test_history_clear.py | EddLabs/eddington-static | cdd1d9514c4eea1bd06c24894b3922e6cc3fb1f5 | [
"Apache-2.0"
] | null | null | null | import random
import pytest
from statue.cli import statue_cli
def test_history_clear_empty_history(cli_runner, mock_build_configuration_from_file):
configuration = mock_build_configuration_from_file.return_value
configuration.cache.number_of_evaluations = 0
result = cli_runner.invoke(statue_cli, ["hist... | 33.564356 | 85 | 0.735693 | 440 | 3,390 | 5.35 | 0.165909 | 0.057774 | 0.137213 | 0.11045 | 0.81096 | 0.787171 | 0.787171 | 0.770603 | 0.716228 | 0.716228 | 0 | 0.00531 | 0.166667 | 3,390 | 100 | 86 | 33.9 | 0.827965 | 0 | 0 | 0.554054 | 0 | 0 | 0.21003 | 0.027139 | 0 | 0 | 0 | 0 | 0.189189 | 1 | 0.067568 | false | 0 | 0.040541 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
19b422fee2a40c363a73bb897c81fdb8fdf875a0 | 40 | py | Python | settings.py | Strangemother/coffee | e5ee7a62e3cb0fc5d4638decaded9905bf3cae74 | [
"MIT"
] | null | null | null | settings.py | Strangemother/coffee | e5ee7a62e3cb0fc5d4638decaded9905bf3cae74 | [
"MIT"
] | null | null | null | settings.py | Strangemother/coffee | e5ee7a62e3cb0fc5d4638decaded9905bf3cae74 | [
"MIT"
] | null | null | null | from reserved.settings.dev_jay import *
| 20 | 39 | 0.825 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
19d0112d78d71e9cf6774b17d2ad98e45e3feeba | 91 | py | Python | src/apps/trainings/serializers/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | null | null | null | src/apps/trainings/serializers/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | null | null | null | src/apps/trainings/serializers/__init__.py | sanderland/katago-server | 6414fab080d007c05068a06ff4f25907b92848bd | [
"MIT"
] | null | null | null | from .network import NetworkSerializer, NetworkSerializerForTasks, NetworkSerializerForElo
| 45.5 | 90 | 0.901099 | 6 | 91 | 13.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065934 | 91 | 1 | 91 | 91 | 0.964706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f1aa6c02507d1629bc9be04414cb13839690a93 | 103 | py | Python | selfsupervised3d/model/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | 5 | 2020-05-01T15:54:05.000Z | 2021-11-24T11:37:23.000Z | selfsupervised3d/model/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | 1 | 2022-01-25T15:05:11.000Z | 2022-01-25T15:05:11.000Z | selfsupervised3d/model/__init__.py | jcreinhold/selfsupervised3d | 735f0b8d0e5344fd7692649523a13a7c04ac2584 | [
"Apache-2.0"
] | null | null | null | from .blendowski import *
from .discriminator import *
from .doersch import *
from .frankunet import *
| 20.6 | 28 | 0.76699 | 12 | 103 | 6.583333 | 0.5 | 0.379747 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15534 | 103 | 4 | 29 | 25.75 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a0503d10457491b4d0ebe6d12f0ef030b8c26f6e | 330 | py | Python | test_fraction_addition.py | tubex3/exercise1 | e0fc11abbf8ade49003014f4ab2f7a224ab19124 | [
"Apache-2.0"
] | null | null | null | test_fraction_addition.py | tubex3/exercise1 | e0fc11abbf8ade49003014f4ab2f7a224ab19124 | [
"Apache-2.0"
] | null | null | null | test_fraction_addition.py | tubex3/exercise1 | e0fc11abbf8ade49003014f4ab2f7a224ab19124 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Nov 9 20::43 2020
@author: Toni Krajina
"""
from Krajina_Aufgabe1 import gcd
from Krajina_Aufgabe1 import add_frac
def test_gcd():
assert gcd(10,5) == 5
def test_add_frac():
assert add_frac(4,2,8,2) == print("Das Ergebnis lautet: ", 6, "/", 1)
... | 17.368421 | 74 | 0.593939 | 50 | 330 | 3.78 | 0.66 | 0.111111 | 0.201058 | 0.26455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 0.260606 | 330 | 18 | 75 | 18.333333 | 0.684426 | 0.239394 | 0 | 0 | 0 | 0 | 0.097778 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a07297eed456702af2d4702cead96d14e0a06862 | 219 | py | Python | accounts/admin.py | TheoElia/Todo | 34fb19ddc8ea6331df1ba12ee19e02dade96f25d | [
"MIT"
] | null | null | null | accounts/admin.py | TheoElia/Todo | 34fb19ddc8ea6331df1ba12ee19e02dade96f25d | [
"MIT"
] | null | null | null | accounts/admin.py | TheoElia/Todo | 34fb19ddc8ea6331df1ba12ee19e02dade96f25d | [
"MIT"
] | 1 | 2021-06-13T05:05:49.000Z | 2021-06-13T05:05:49.000Z | from django.contrib import admin
from .models import CustomUser
from django.contrib.auth.admin import UserAdmin
class CustomUserAdmin(UserAdmin):
pass
# Register your models here.
admin.site.register(CustomUser)
| 19.909091 | 47 | 0.808219 | 28 | 219 | 6.321429 | 0.571429 | 0.112994 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127854 | 219 | 10 | 48 | 21.9 | 0.926702 | 0.118721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
a09eb37b9fbd5e241b4917168ba69f16d8c0b713 | 198 | py | Python | apps/finance/admin.py | bigyanlamsal/school-management-system | bced2b58576a3a393bb0de2f8d3196d8a4bf72d3 | [
"MIT"
] | null | null | null | apps/finance/admin.py | bigyanlamsal/school-management-system | bced2b58576a3a393bb0de2f8d3196d8a4bf72d3 | [
"MIT"
] | null | null | null | apps/finance/admin.py | bigyanlamsal/school-management-system | bced2b58576a3a393bb0de2f8d3196d8a4bf72d3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.Invoice)
admin.site.register(models.InvoiceItem)
admin.site.register(models.Receipt)
| 19.8 | 39 | 0.808081 | 27 | 198 | 5.925926 | 0.481481 | 0.16875 | 0.31875 | 0.43125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09596 | 198 | 9 | 40 | 22 | 0.893855 | 0.131313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 | 6 |
a0b2328938c4af3f3e9e3917c64642de7e725b9c | 617 | py | Python | pajbot/tests/modules/test_join_to_sentence.py | MrBean355/pajbot | 3f27aabccfb242f5e3e8eedd20c97633b0d39950 | [
"MIT"
] | 145 | 2019-06-08T15:38:40.000Z | 2022-03-29T22:51:47.000Z | pajbot/tests/modules/test_join_to_sentence.py | MrBean355/pajbot | 3f27aabccfb242f5e3e8eedd20c97633b0d39950 | [
"MIT"
] | 671 | 2019-05-26T22:19:08.000Z | 2022-03-31T06:00:49.000Z | pajbot/tests/modules/test_join_to_sentence.py | MrBean355/pajbot | 3f27aabccfb242f5e3e8eedd20c97633b0d39950 | [
"MIT"
] | 105 | 2019-05-25T18:22:13.000Z | 2022-02-23T00:57:27.000Z | from pajbot.modules.bingo import join_to_sentence
def test_length_zero():
assert join_to_sentence([]) == ""
def test_length_one():
assert join_to_sentence(["asd"]) == "asd"
def test_length_two():
assert join_to_sentence(["asd", "def"]) == "asd and def"
def test_length_three():
assert join_to_sen... | 23.730769 | 96 | 0.648298 | 89 | 617 | 4.202247 | 0.269663 | 0.128342 | 0.262032 | 0.320856 | 0.534759 | 0.473262 | 0.259358 | 0.176471 | 0 | 0 | 0 | 0 | 0.162075 | 617 | 25 | 97 | 24.68 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0.200972 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.461538 | true | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
26226d26a345e4ab614a35fac15b275689f5e210 | 29 | py | Python | multiview/db/__init__.py | bsmind/react-multisciview | 613dbe327542d0384e5d6b87697a05db17f42ca8 | [
"MIT"
] | 1 | 2018-11-16T18:00:28.000Z | 2018-11-16T18:00:28.000Z | multiview/db/__init__.py | bsmind/react-multisciview | 613dbe327542d0384e5d6b87697a05db17f42ca8 | [
"MIT"
] | null | null | null | multiview/db/__init__.py | bsmind/react-multisciview | 613dbe327542d0384e5d6b87697a05db17f42ca8 | [
"MIT"
] | 1 | 2020-08-28T16:27:03.000Z | 2020-08-28T16:27:03.000Z | from . import multiviewmongo
| 14.5 | 28 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
266b414d3e0686fca3b3268468ec74f1988fd6b1 | 84 | py | Python | src/python3/machine/__init__.py | Morteo/kiot | 58124eb409ef4b7ca935403064cec0d97cad6023 | [
"MIT"
] | 2 | 2017-04-27T04:21:52.000Z | 2017-05-28T11:37:07.000Z | src/python3/machine/__init__.py | Morteo/kiota | 58124eb409ef4b7ca935403064cec0d97cad6023 | [
"MIT"
] | null | null | null | src/python3/machine/__init__.py | Morteo/kiota | 58124eb409ef4b7ca935403064cec0d97cad6023 | [
"MIT"
] | null | null | null |
from machine.Pin import Pin
def unique_id():
import uuid
return uuid.getnode() | 14 | 27 | 0.738095 | 13 | 84 | 4.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 6 | 28 | 14 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26838ab8f021e6e82cae25031e4676fcc694db51 | 62 | py | Python | test.py | crossangle-dev/binance_chain_python_sample | 24c5d087db719ab113b00deb1d4a8934e016f108 | [
"MIT"
] | null | null | null | test.py | crossangle-dev/binance_chain_python_sample | 24c5d087db719ab113b00deb1d4a8934e016f108 | [
"MIT"
] | null | null | null | test.py | crossangle-dev/binance_chain_python_sample | 24c5d087db719ab113b00deb1d4a8934e016f108 | [
"MIT"
] | 1 | 2019-09-26T03:57:09.000Z | 2019-09-26T03:57:09.000Z | from tests import test_decode_tx
test_decode_tx.decode_test() | 20.666667 | 32 | 0.870968 | 11 | 62 | 4.454545 | 0.545455 | 0.408163 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 62 | 3 | 33 | 20.666667 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cd4847b737b20b722a119043f596cea203e6e5f1 | 199 | py | Python | executable/logical.py | rana-akash/hackFest | b6a73c8a38f089a56596e36e7b11ff235a0f5704 | [
"MIT"
] | null | null | null | executable/logical.py | rana-akash/hackFest | b6a73c8a38f089a56596e36e7b11ff235a0f5704 | [
"MIT"
] | null | null | null | executable/logical.py | rana-akash/hackFest | b6a73c8a38f089a56596e36e7b11ff235a0f5704 | [
"MIT"
] | null | null | null | class logicalResult:
def __init__(self):
self.resultList=[]
def addLogicalResult(self,item):
self.resultList.append(item)
def getData(self):
return self.resultList | 28.428571 | 36 | 0.663317 | 21 | 199 | 6.095238 | 0.52381 | 0.328125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236181 | 199 | 7 | 37 | 28.428571 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
269519b61f3e1849fff560f15c8679d3b08b9ea0 | 47 | py | Python | tests/test_functions.py | MaxHorwood/crude_backend_skeleton | 7c929034e50bb15106e3d13f06bb76ea7b1ab359 | [
"MIT"
] | null | null | null | tests/test_functions.py | MaxHorwood/crude_backend_skeleton | 7c929034e50bb15106e3d13f06bb76ea7b1ab359 | [
"MIT"
] | null | null | null | tests/test_functions.py | MaxHorwood/crude_backend_skeleton | 7c929034e50bb15106e3d13f06bb76ea7b1ab359 | [
"MIT"
] | null | null | null | def test_sanity():
assert 1 == 1, "WTF?"
| 15.666667 | 26 | 0.531915 | 7 | 47 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.276596 | 47 | 2 | 27 | 23.5 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
26abf2d93fb74dccc432fca57f72a4a677a101f7 | 5,345 | py | Python | z2/part2/interactive/jm/random_fuzzy_arrows_1/867787617.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part2/interactive/jm/random_fuzzy_arrows_1/867787617.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part2/interactive/jm/random_fuzzy_arrows_1/867787617.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 867787617
"""
"""
random actions, total chaos
"""
board = gamma_new(7, 5, 6, 6)
assert board is... | 33.198758 | 46 | 0.650702 | 997 | 5,345 | 3.336008 | 0.045135 | 0.373722 | 0.414913 | 0.553217 | 0.843957 | 0.801864 | 0.689717 | 0.400782 | 0.25436 | 0.25436 | 0 | 0.12698 | 0.18522 | 5,345 | 160 | 47 | 33.40625 | 0.636739 | 0 | 0 | 0.145833 | 0 | 0 | 0.01712 | 0 | 0 | 0 | 0 | 0 | 0.819444 | 1 | 0 | false | 0 | 0.006944 | 0 | 0.006944 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
26ac013bbe1df328041297aa83b0774c5e13a385 | 744 | py | Python | deutschland/dwd/__init__.py | kiranmusze/deutschland | 86d8ead3f38ad88ad66bb338b9f5a8db06992344 | [
"Apache-2.0"
] | null | null | null | deutschland/dwd/__init__.py | kiranmusze/deutschland | 86d8ead3f38ad88ad66bb338b9f5a8db06992344 | [
"Apache-2.0"
] | null | null | null | deutschland/dwd/__init__.py | kiranmusze/deutschland | 86d8ead3f38ad88ad66bb338b9f5a8db06992344 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
"""
Deutscher Wetterdienst: API
Aktuelle Wetterdaten von allen Deutschen Wetterstationen # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
__version__ = "1.0.0"
# import ApiClient
from deutschland.dwd.api_client import ApiClien... | 26.571429 | 74 | 0.811828 | 87 | 744 | 6.885057 | 0.436782 | 0.200334 | 0.240401 | 0.280467 | 0.340568 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015432 | 0.129032 | 744 | 27 | 75 | 27.555556 | 0.908951 | 0.346774 | 0 | 0 | 1 | 0 | 0.010893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26bd36c7cba190e8b5d356c440ccea7e617b91bb | 29 | py | Python | corkus/utils/__init__.py | MrBartusek/corkus.py | 031c11e3e251f0bddbcb67415564357460fe7fea | [
"MIT"
] | 5 | 2021-09-10T14:20:15.000Z | 2022-01-09T11:27:49.000Z | corkus/utils/__init__.py | MrBartusek/corkus.py | 031c11e3e251f0bddbcb67415564357460fe7fea | [
"MIT"
] | 11 | 2021-08-15T09:39:09.000Z | 2022-01-12T14:11:24.000Z | corkus/utils/__init__.py | MrBartusek/corkus.py | 031c11e3e251f0bddbcb67415564357460fe7fea | [
"MIT"
] | 2 | 2021-12-01T23:33:14.000Z | 2022-01-12T11:08:18.000Z | from .enum import CorkusEnum
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
26f84076b98bf76818c677a2a3b84a675b054bf9 | 194 | py | Python | src/blip_sdk/extensions/artificial_intelligence/__init__.py | chr0m1ng/blip-sdk-js | 74f404a3ef048a100cc330f78a9751572e31fb0b | [
"MIT"
] | null | null | null | src/blip_sdk/extensions/artificial_intelligence/__init__.py | chr0m1ng/blip-sdk-js | 74f404a3ef048a100cc330f78a9751572e31fb0b | [
"MIT"
] | 9 | 2021-05-27T21:08:23.000Z | 2021-06-14T20:10:10.000Z | src/blip_sdk/extensions/artificial_intelligence/__init__.py | chr0m1ng/blip-sdk-python | 74f404a3ef048a100cc330f78a9751572e31fb0b | [
"MIT"
] | null | null | null | from .ai_model import *
from .ai_analytics import *
from .content_assistant import *
from .entities import *
from .intents import *
from .word_set import *
from .ai_extension import AiExtension
| 24.25 | 37 | 0.78866 | 27 | 194 | 5.481481 | 0.481481 | 0.405405 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 194 | 7 | 38 | 27.714286 | 0.891566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f812cca33f1e300ec6cc462cb376a026f7c39090 | 28 | py | Python | openpyxl_templates/table_sheet/__init__.py | ecmascriptguru/openpyxl-templates | 635a84cf1538f713a0aff29c5dfaa1eb578db6a9 | [
"MIT"
] | 38 | 2017-03-29T09:05:16.000Z | 2021-07-08T07:48:03.000Z | openpyxl_templates/table_sheet/__init__.py | ecmascriptguru/openpyxl-templates | 635a84cf1538f713a0aff29c5dfaa1eb578db6a9 | [
"MIT"
] | 11 | 2018-01-06T11:34:32.000Z | 2020-05-08T12:40:39.000Z | openpyxl_templates/table_sheet/__init__.py | ecmascriptguru/openpyxl-templates | 635a84cf1538f713a0aff29c5dfaa1eb578db6a9 | [
"MIT"
] | 15 | 2018-01-06T11:48:39.000Z | 2020-09-23T02:27:19.000Z | from .table_sheet import *
| 9.333333 | 26 | 0.75 | 4 | 28 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 27 | 14 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f84e5d2aa0f39999bc14cc1a9b4c3b36c2f95419 | 288 | py | Python | server/models/__init__.py | huntingtonwest/OFFICIAL | 728e6d6ea35b9b334622f28fb6788020c60c1607 | [
"MIT"
] | null | null | null | server/models/__init__.py | huntingtonwest/OFFICIAL | 728e6d6ea35b9b334622f28fb6788020c60c1607 | [
"MIT"
] | null | null | null | server/models/__init__.py | huntingtonwest/OFFICIAL | 728e6d6ea35b9b334622f28fb6788020c60c1607 | [
"MIT"
] | null | null | null | from server.models.roles import Emails, Roles
from server.models.properties import Properties, PropertyImgs
from server.models.users import Users
from server.models.aboutinfo import AboutInfo
from server.models.files import Files
from server.models.history import History, HistoryContent
| 41.142857 | 61 | 0.854167 | 39 | 288 | 6.307692 | 0.333333 | 0.243902 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 288 | 6 | 62 | 48 | 0.942529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f86e5c92d9100630003009ada6874db34b3d2997 | 14,147 | py | Python | cogs/fun/roleplay.py | fightlol/Cloud-Nine | 14a02026c8efe2d0354a33d3449eccc8f26bfa65 | [
"MIT"
] | null | null | null | cogs/fun/roleplay.py | fightlol/Cloud-Nine | 14a02026c8efe2d0354a33d3449eccc8f26bfa65 | [
"MIT"
] | null | null | null | cogs/fun/roleplay.py | fightlol/Cloud-Nine | 14a02026c8efe2d0354a33d3449eccc8f26bfa65 | [
"MIT"
] | null | null | null | import discord
import aiohttp # requests are gey. dey blocking
import random
from discord.ext import commands
from discord.ext.commands.core import command
npa = "" # default value for the args param if not passed in by a user
class Roleplay(commands.Cog):
def __init__(self, bot):
se... | 40.652299 | 141 | 0.547325 | 1,689 | 14,147 | 4.546477 | 0.087034 | 0.060945 | 0.05756 | 0.09819 | 0.852715 | 0.849329 | 0.849329 | 0.819247 | 0.769111 | 0.769111 | 0 | 0 | 0.306779 | 14,147 | 348 | 142 | 40.652299 | 0.783012 | 0.00827 | 0 | 0.456604 | 0 | 0 | 0.151015 | 0.038883 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007547 | false | 0 | 0.018868 | 0 | 0.030189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f8845350a8b2c1eb19210069402e9088f478b411 | 38 | py | Python | test.py | freezly/gitpod-test | 8722ed1c5cd8bf6926a7cc353eda19c3aa460b69 | [
"MIT"
] | null | null | null | test.py | freezly/gitpod-test | 8722ed1c5cd8bf6926a7cc353eda19c3aa460b69 | [
"MIT"
] | null | null | null | test.py | freezly/gitpod-test | 8722ed1c5cd8bf6926a7cc353eda19c3aa460b69 | [
"MIT"
] | null | null | null | import numpy as np
print(np.abs(-1))
| 9.5 | 18 | 0.684211 | 8 | 38 | 3.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.157895 | 38 | 3 | 19 | 12.666667 | 0.78125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f898a3ab4a36957f914b369600e6c498140af099 | 55,609 | py | Python | generated-libraries/python/netapp/security/__init__.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/security/__init__.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/security/__init__.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | from netapp.connection import NaConnection
from security_login_role_delete_iter_key_td import SecurityLoginRoleDeleteIterKeyTd # 3 properties
from hex_string import HexString # 0 properties
from security_login_role_modify_iter_info import SecurityLoginRoleModifyIterInfo # 3 properties
from security_login_role_delete_it... | 53.676641 | 424 | 0.608265 | 6,171 | 55,609 | 5.369146 | 0.060606 | 0.047868 | 0.029759 | 0.019618 | 0.859566 | 0.821296 | 0.787493 | 0.773247 | 0.751034 | 0.735671 | 0 | 0.004085 | 0.313331 | 55,609 | 1,035 | 425 | 53.728502 | 0.863611 | 0.526695 | 0 | 0.592982 | 0 | 0 | 0.223807 | 0.073045 | 0 | 0 | 0 | 0 | 0 | 1 | 0.094737 | false | 0.045614 | 0.080702 | 0 | 0.273684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3e1a98799907afc4f39c200c9ed2b37f041f2a00 | 175 | py | Python | old-projects/equal.py | waitblock/gists | 3dfe65a4f0f593ab4378eb3b518c98e2e882844d | [
"MIT"
] | 3 | 2021-06-10T18:44:28.000Z | 2021-11-19T02:48:38.000Z | old-projects/equal.py | waitblock/side-projects | 3dfe65a4f0f593ab4378eb3b518c98e2e882844d | [
"MIT"
] | null | null | null | old-projects/equal.py | waitblock/side-projects | 3dfe65a4f0f593ab4378eb3b518c98e2e882844d | [
"MIT"
] | null | null | null | import random
x = random.randint(1, 6)
y = random.randint(1, 6)
print x
print y
if x == y:
print"1st number=2nd number."
else:
print"1st number!=2nd number."
| 17.5 | 35 | 0.628571 | 30 | 175 | 3.666667 | 0.433333 | 0.236364 | 0.254545 | 0.272727 | 0.418182 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 0.24 | 175 | 9 | 36 | 19.444444 | 0.766917 | 0 | 0 | 0 | 0 | 0 | 0.271084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.111111 | null | null | 0.444444 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3e1e6b8dd20fff9c1b5ed62e0a000ce85fb7bbe1 | 27 | py | Python | livetest.py | exsonebo/DIT-Master-AI | 8758414f514f7a11781d897ca5a0f2ae3f5dea76 | [
"BSD-3-Clause"
] | null | null | null | livetest.py | exsonebo/DIT-Master-AI | 8758414f514f7a11781d897ca5a0f2ae3f5dea76 | [
"BSD-3-Clause"
] | null | null | null | livetest.py | exsonebo/DIT-Master-AI | 8758414f514f7a11781d897ca5a0f2ae3f5dea76 | [
"BSD-3-Clause"
] | null | null | null | import numpy
import pandas
| 9 | 13 | 0.851852 | 4 | 27 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 2 | 14 | 13.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e41319a495bdde573a850f1f869cf6865d25a772 | 11,519 | py | Python | src/python/zquantum/optimizers/daemon_optimizer/proxy/client_test.py | wugaxp/z-quantum-optimizers | 6af467a724afa20b41a24a12c4ed4688f7211c5a | [
"Apache-2.0"
] | null | null | null | src/python/zquantum/optimizers/daemon_optimizer/proxy/client_test.py | wugaxp/z-quantum-optimizers | 6af467a724afa20b41a24a12c4ed4688f7211c5a | [
"Apache-2.0"
] | null | null | null | src/python/zquantum/optimizers/daemon_optimizer/proxy/client_test.py | wugaxp/z-quantum-optimizers | 6af467a724afa20b41a24a12c4ed4688f7211c5a | [
"Apache-2.0"
] | null | null | null | from .client import Client
from .server_mock import MockServer
import json
import http.client
import time
import random
import unittest
from werkzeug.wrappers import Response
class TestOptimizationServer(unittest.TestCase):
def setUp(self):
self.port = 8080
self.ipaddress = "localhost"
... | 38.142384 | 119 | 0.659779 | 1,278 | 11,519 | 5.71518 | 0.097809 | 0.078587 | 0.078861 | 0.065717 | 0.842552 | 0.806407 | 0.782859 | 0.757804 | 0.711528 | 0.66402 | 0 | 0.013292 | 0.248893 | 11,519 | 301 | 120 | 38.269103 | 0.830906 | 0.066238 | 0 | 0.651741 | 0 | 0 | 0.092577 | 0.044146 | 0 | 0 | 0 | 0 | 0.069652 | 1 | 0.19403 | false | 0 | 0.044776 | 0 | 0.348259 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e4260366020affe9ed0a51a6e3b77a36be1095f3 | 125 | py | Python | daraja_api/clients/b2b_api_client.py | jakhax/python_daraja_api | 7584679d0c5eaa2beafbfa221254e6370f40f12d | [
"MIT"
] | 4 | 2019-10-30T09:19:58.000Z | 2020-04-18T12:32:09.000Z | daraja_api/clients/b2b_api_client.py | jakhax/python_daraja_api | 7584679d0c5eaa2beafbfa221254e6370f40f12d | [
"MIT"
] | 2 | 2019-10-31T20:39:57.000Z | 2019-10-31T20:41:32.000Z | daraja_api/clients/b2b_api_client.py | jakhax/python_daraja_api | 7584679d0c5eaa2beafbfa221254e6370f40f12d | [
"MIT"
] | 3 | 2020-04-17T23:03:25.000Z | 2021-05-14T08:26:07.000Z | from daraja_api.clients.abstract_api_client import AbstractApiClient
class AbstractB2BApiClient(AbstractApiClient):
pass | 31.25 | 68 | 0.872 | 13 | 125 | 8.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008772 | 0.088 | 125 | 4 | 69 | 31.25 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e49f4ad94f509a59f65db7ce1ede28493d72da39 | 30 | py | Python | rogal/wrappers/term/__init__.py | kosciak/ecs-rogal | d553104e0ea350d11272d274a900419620b9389e | [
"MIT"
] | 4 | 2021-01-23T13:25:46.000Z | 2021-03-19T03:08:05.000Z | rogal/wrappers/term/__init__.py | kosciak/ecs-rogal | d553104e0ea350d11272d274a900419620b9389e | [
"MIT"
] | null | null | null | rogal/wrappers/term/__init__.py | kosciak/ecs-rogal | d553104e0ea350d11272d274a900419620b9389e | [
"MIT"
] | null | null | null | from .core import TermWrapper
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e4ad8054a796bbe9c6b9a92d44a9172330c599ed | 65 | py | Python | src/resources/__init__.py | kumardeepak/file-server | b94d87cadcc93c142a7d4f9bb368d75f7eda5671 | [
"MIT"
] | null | null | null | src/resources/__init__.py | kumardeepak/file-server | b94d87cadcc93c142a7d4f9bb368d75f7eda5671 | [
"MIT"
] | null | null | null | src/resources/__init__.py | kumardeepak/file-server | b94d87cadcc93c142a7d4f9bb368d75f7eda5671 | [
"MIT"
] | null | null | null | from .fileupload import FileDownloadResource, FileUploadResource
| 32.5 | 64 | 0.892308 | 5 | 65 | 11.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
900594e80bda5407c67f397af2a08783cb49ebc7 | 25 | py | Python | src/stats/__init__.py | gvso/eleccionespy | f02e5fc66e7b632a108dba94787d4109c996ecf3 | [
"MIT"
] | null | null | null | src/stats/__init__.py | gvso/eleccionespy | f02e5fc66e7b632a108dba94787d4109c996ecf3 | [
"MIT"
] | null | null | null | src/stats/__init__.py | gvso/eleccionespy | f02e5fc66e7b632a108dba94787d4109c996ecf3 | [
"MIT"
] | null | null | null | from .stats import Stats
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
900aa628d30973b5abaa823b4120cd9627555d29 | 41,423 | py | Python | jdcloud_cli/controllers/services/detection.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 95 | 2018-06-05T10:49:32.000Z | 2019-12-31T11:07:36.000Z | jdcloud_cli/controllers/services/detection.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 22 | 2018-06-05T10:58:59.000Z | 2020-07-31T12:13:19.000Z | jdcloud_cli/controllers/services/detection.py | Tanc009/jdcloud-cli | 4e11de77c68501f44e7026c0ad1c24e5d043197e | [
"Apache-2.0"
] | 21 | 2018-06-04T12:50:27.000Z | 2020-11-05T10:55:28.000Z | # coding=utf8
# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed ... | 54.289646 | 522 | 0.594114 | 4,279 | 41,423 | 5.682169 | 0.100958 | 0.052645 | 0.033396 | 0.017109 | 0.762935 | 0.744098 | 0.728593 | 0.720655 | 0.713827 | 0.705931 | 0 | 0.009626 | 0.225044 | 41,423 | 762 | 523 | 54.360892 | 0.747796 | 0.015306 | 0 | 0.704246 | 0 | 0.046852 | 0.348744 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029283 | false | 0 | 0.065886 | 0 | 0.125915 | 0.084919 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9013ee7e5a558f761bcb7e4dfded95c02b44e273 | 33 | py | Python | plugins/trivia/__init__.py | wuhoodude/Bappybot | c7f0bf42678758d2d042b48f843c8c341b737e70 | [
"MIT"
] | 7 | 2015-06-08T17:57:16.000Z | 2017-12-14T09:09:01.000Z | plugins/trivia/__init__.py | wuhoodude/Bappybot | c7f0bf42678758d2d042b48f843c8c341b737e70 | [
"MIT"
] | 8 | 2015-06-08T19:51:50.000Z | 2021-12-13T19:46:10.000Z | plugins/trivia/__init__.py | wuhoodude/Bappybot | c7f0bf42678758d2d042b48f843c8c341b737e70 | [
"MIT"
] | 21 | 2015-06-08T17:06:42.000Z | 2020-07-23T07:21:12.000Z | from plugins.trivia import trivia | 33 | 33 | 0.878788 | 5 | 33 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5f8c2fa1dca605d7f14a6012afc17e3c06c55e25 | 9,602 | py | Python | scripts/behavior.py | kv3n/gaimeface | 74db8a3010963f90588689a6972b880bf25aff00 | [
"MIT"
] | null | null | null | scripts/behavior.py | kv3n/gaimeface | 74db8a3010963f90588689a6972b880bf25aff00 | [
"MIT"
] | null | null | null | scripts/behavior.py | kv3n/gaimeface | 74db8a3010963f90588689a6972b880bf25aff00 | [
"MIT"
] | null | null | null | import random
class Behavior:
def __init__(self):
self.expected_outcome = 0 # player expected it to succeed or fail
self.utility = 0.0 # The utility of that play being successful
self.probability = 0.0 # The probability of that play being successful
def __str__(self):
... | 55.183908 | 162 | 0.599875 | 990 | 9,602 | 5.653535 | 0.076768 | 0.19439 | 0.140075 | 0.07504 | 0.82169 | 0.803466 | 0.77613 | 0.740754 | 0.715383 | 0.715383 | 0 | 0.021931 | 0.316184 | 9,602 | 173 | 163 | 55.50289 | 0.83049 | 0.094147 | 0 | 0.614865 | 0 | 0 | 0.017162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060811 | false | 0 | 0.006757 | 0.013514 | 0.175676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5facdf456e29bac33fb3e1ef9b78130a86af64fa | 10,972 | py | Python | tests/test_ASCIIMath2MathML.py | belerico/py-asciimath | e15edf0202252946c0b087c5a65971f16ff335b8 | [
"MIT"
] | 17 | 2020-04-06T16:33:33.000Z | 2022-02-09T18:52:14.000Z | tests/test_ASCIIMath2MathML.py | belerico/py-asciimath | e15edf0202252946c0b087c5a65971f16ff335b8 | [
"MIT"
] | 7 | 2020-04-07T19:28:01.000Z | 2022-03-01T14:04:22.000Z | tests/test_ASCIIMath2MathML.py | belerico/py-asciimath | e15edf0202252946c0b087c5a65971f16ff335b8 | [
"MIT"
] | 3 | 2020-05-24T07:11:54.000Z | 2021-07-17T10:32:56.000Z | import os
import unittest
import lxml.etree
from py_asciimath import PROJECT_ROOT
from py_asciimath.grammar.asciimath_grammar import asciimath_grammar
from py_asciimath.transformer.transformer import ASCIIMath2MathMLTransformer
from py_asciimath.translator.translator import (
ASCIIMath2MathML,
LarkTranslator,... | 45.716667 | 1,027 | 0.548943 | 1,419 | 10,972 | 4.162086 | 0.08809 | 0.117846 | 0.052828 | 0.050796 | 0.798341 | 0.770742 | 0.741619 | 0.712326 | 0.700135 | 0.697426 | 0 | 0.02209 | 0.232592 | 10,972 | 239 | 1,028 | 45.90795 | 0.679335 | 0 | 0 | 0.584475 | 0 | 0.050228 | 0.439391 | 0.235873 | 0 | 0 | 0 | 0 | 0.073059 | 1 | 0.068493 | false | 0 | 0.031963 | 0 | 0.105023 | 0.073059 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f2cf09ee53012022434bc8833a617da2eff48135 | 178 | py | Python | icebrk/__init__.py | bainbrid/icenet | 0b261dc97451fd7f896ed27f2b90dd2668e635ca | [
"MIT"
] | null | null | null | icebrk/__init__.py | bainbrid/icenet | 0b261dc97451fd7f896ed27f2b90dd2668e635ca | [
"MIT"
] | null | null | null | icebrk/__init__.py | bainbrid/icenet | 0b261dc97451fd7f896ed27f2b90dd2668e635ca | [
"MIT"
] | null | null | null | from .common import *
from .cutstats import *
from .fasthistos import *
from .features import *
from .histos import *
from .loop import *
from .PDG import *
from .tools import *
| 19.777778 | 25 | 0.730337 | 24 | 178 | 5.416667 | 0.416667 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 178 | 8 | 26 | 22.25 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8418351e0dc441f6ec13bfb9f7abec3498d18de5 | 2,699 | py | Python | app/closeLoop/trainModels.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | null | null | null | app/closeLoop/trainModels.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | null | null | null | app/closeLoop/trainModels.py | fkwai/geolearn | 30cb4353d22af5020a48100d07ab04f465a315b0 | [
"MIT"
] | 2 | 2021-04-04T02:45:59.000Z | 2022-03-19T09:41:39.000Z | from hydroDL import pathSMAP, master, utils
from hydroDL.master import default
from hydroDL.post import plot, stat
import os
import matplotlib.pyplot as plt
import numpy as np
import torch
# training
tLst = [[20150402, 20160401], [20160402, 20170401], [20170402, 20180401]]
yrLst = ['2015', '2016', '2017']
for k in ran... | 39.115942 | 80 | 0.653205 | 310 | 2,699 | 5.622581 | 0.245161 | 0.074584 | 0.114745 | 0.061962 | 0.811245 | 0.780264 | 0.780264 | 0.780264 | 0.780264 | 0.729776 | 0 | 0.048289 | 0.209707 | 2,699 | 68 | 81 | 39.691176 | 0.76887 | 0.371249 | 0 | 0.486486 | 0 | 0 | 0.094068 | 0.034152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.189189 | 0 | 0.189189 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
843e35eb739cd52e411502216183d44bfe3dc550 | 138 | py | Python | src/wai/annotations/yolo/od/specifier/__init__.py | waikato-ufdl/wai-annotations-yolo | 93efbed0c99f2e9cfc2e4ee564da6502e5cc8414 | [
"Apache-2.0"
] | null | null | null | src/wai/annotations/yolo/od/specifier/__init__.py | waikato-ufdl/wai-annotations-yolo | 93efbed0c99f2e9cfc2e4ee564da6502e5cc8414 | [
"Apache-2.0"
] | 1 | 2022-02-23T04:26:19.000Z | 2022-02-23T04:26:19.000Z | src/wai/annotations/yolo/od/specifier/__init__.py | waikato-ufdl/wai-annotations-yolo | 93efbed0c99f2e9cfc2e4ee564da6502e5cc8414 | [
"Apache-2.0"
] | null | null | null | from ._YOLOODInputFormatSpecifier import YOLOODInputFormatSpecifier
from ._YOLOODOutputFormatSpecifier import YOLOODOutputFormatSpecifier
| 46 | 69 | 0.927536 | 8 | 138 | 15.75 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 138 | 2 | 70 | 69 | 0.969231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffc73b1140bdfde3576d9a90d437e9e8f3e4e6a6 | 97 | py | Python | quantumnetworks/analysis/__init__.py | Phionx/quantumnetworks | 9e89cac61cdbc1885689336cd31bb5f7dbdde22a | [
"MIT"
] | 7 | 2021-11-22T18:45:00.000Z | 2022-02-21T16:01:10.000Z | quantumnetworks/analysis/__init__.py | Phionx/quantumnetworks | 9e89cac61cdbc1885689336cd31bb5f7dbdde22a | [
"MIT"
] | 35 | 2021-09-29T08:05:35.000Z | 2022-02-20T02:11:15.000Z | quantumnetworks/analysis/__init__.py | Phionx/quantumnetworks | 9e89cac61cdbc1885689336cd31bb5f7dbdde22a | [
"MIT"
] | 1 | 2022-02-01T18:05:34.000Z | 2022-02-01T18:05:34.000Z | """
Analysis Tools
"""
from .quantities import *
from .performance import *
from .error import *
| 13.857143 | 26 | 0.71134 | 11 | 97 | 6.272727 | 0.636364 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 6 | 27 | 16.166667 | 0.851852 | 0.14433 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ffca831bfe73166688788b5aa077dc88d69f8d4e | 99 | py | Python | proj/cheese-emp-ai/com_cheese_api/cmm/tst/test/module.py | youjeong2/EMP | 1afdf2789b09e55e4f6a2241a2cc2d0d1b607d9e | [
"MIT"
] | 1 | 2021-11-17T06:37:50.000Z | 2021-11-17T06:37:50.000Z | proj/cheese-emp-ai/com_cheese_api/cmm/tst/test/module.py | youjeong2/EMP | 1afdf2789b09e55e4f6a2241a2cc2d0d1b607d9e | [
"MIT"
] | 1 | 2020-10-26T06:06:41.000Z | 2020-10-26T06:06:41.000Z | proj/cheese-emp-ai/com_cheese_api/cmm/tst/test/module.py | youjeong2/EMP | 1afdf2789b09e55e4f6a2241a2cc2d0d1b607d9e | [
"MIT"
] | 8 | 2020-10-05T08:19:16.000Z | 2021-11-17T06:37:52.000Z | def hello():
print("Hello!")
print("===============")
print(__name__)
print("===============") | 16.5 | 24 | 0.414141 | 8 | 99 | 4.625 | 0.5 | 0.540541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 6 | 25 | 16.5 | 0.41573 | 0 | 0 | 0.4 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
fffb13d67bcbc9ce032fce59e87a38dae404c0ab | 203 | py | Python | mayan/apps/documents/templatetags/documents_tags.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 4 | 2019-02-17T08:35:42.000Z | 2019-03-28T06:02:11.000Z | mayan/apps/documents/templatetags/documents_tags.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 7 | 2020-06-06T00:01:04.000Z | 2022-01-13T01:47:17.000Z | mayan/apps/documents/templatetags/documents_tags.py | Syunkolee9891/Mayan-EDMS | 3759a9503a264a180b74cc8518388f15ca66ac1a | [
"Apache-2.0"
] | 3 | 2019-01-29T13:21:57.000Z | 2019-10-27T03:20:15.000Z | from __future__ import unicode_literals
from django.template import Library
register = Library()
@register.simple_tag
def get_api_image_url(obj, **kwargs):
return obj.get_api_image_url(**kwargs)
| 18.454545 | 42 | 0.793103 | 29 | 203 | 5.137931 | 0.655172 | 0.201342 | 0.147651 | 0.187919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123153 | 203 | 10 | 43 | 20.3 | 0.837079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
4b2d476c985a36428ac4432efa466ccb2a57c87b | 226 | py | Python | repository/repos/legislature_repo.py | FreeCaribou/ZinnekeBabeleir | 4015f86fb54248e4da6a45d6e8d564b9cd101a4e | [
"Apache-2.0"
] | null | null | null | repository/repos/legislature_repo.py | FreeCaribou/ZinnekeBabeleir | 4015f86fb54248e4da6a45d6e8d564b9cd101a4e | [
"Apache-2.0"
] | null | null | null | repository/repos/legislature_repo.py | FreeCaribou/ZinnekeBabeleir | 4015f86fb54248e4da6a45d6e8d564b9cd101a4e | [
"Apache-2.0"
] | null | null | null | from ..models import Legislature
def get_all():
return Legislature.objects.all()
def get_one_last_by_parliament(parliament):
return Legislature.objects.filter(parliament=parliament).order_by('-begin_date').first()
| 22.6 | 92 | 0.778761 | 29 | 226 | 5.827586 | 0.62069 | 0.071006 | 0.284024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 226 | 9 | 93 | 25.111111 | 0.836634 | 0 | 0 | 0 | 0 | 0 | 0.048673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
299f3f1277a369295a6f2687b4a208ef0ba81bc1 | 15,938 | py | Python | src/tests/test_db_resize_handler.py | orosz-usgs/aqts-capture-ecosystem-switch | 14202aa2fe709ad56982b3503e1073ce36e80f77 | [
"CC0-1.0"
] | null | null | null | src/tests/test_db_resize_handler.py | orosz-usgs/aqts-capture-ecosystem-switch | 14202aa2fe709ad56982b3503e1073ce36e80f77 | [
"CC0-1.0"
] | 212 | 2020-08-14T21:58:43.000Z | 2021-08-03T10:58:54.000Z | src/tests/test_db_resize_handler.py | orosz-usgs/aqts-capture-ecosystem-switch | 14202aa2fe709ad56982b3503e1073ce36e80f77 | [
"CC0-1.0"
] | 6 | 2020-08-13T18:23:07.000Z | 2020-12-16T14:28:47.000Z | import os
from unittest import TestCase, mock
from src import db_resize_handler
from src.db_resize_handler import SMALL_DB_SIZE, BIG_DB_SIZE, DEFAULT_DB_CLUSTER_IDENTIFIER, BIG_OB_DB_SIZE, \
SMALL_OB_DB_SIZE
from src.handler import DEFAULT_DB_INSTANCE_IDENTIFIER
from src.utils import OBSERVATION_INSTANCE_TAGS, CAP... | 42.729223 | 110 | 0.638537 | 1,816 | 15,938 | 5.160793 | 0.065529 | 0.06146 | 0.115237 | 0.088348 | 0.939607 | 0.932352 | 0.931285 | 0.916987 | 0.894686 | 0.880068 | 0 | 0.005441 | 0.250408 | 15,938 | 372 | 111 | 42.844086 | 0.779024 | 0.002259 | 0 | 0.678363 | 0 | 0 | 0.212704 | 0.123774 | 0 | 0 | 0 | 0 | 0.084795 | 1 | 0.076023 | false | 0.002924 | 0.017544 | 0 | 0.096491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29c2a9e892365e259ae76447255036b475b0defd | 6,140 | py | Python | pyclient/zeroos/orchestrator/client/CPUStats.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 3 | 2017-07-04T14:02:02.000Z | 2019-07-06T23:34:08.000Z | pyclient/zeroos/orchestrator/client/CPUStats.py | 5l1v3r1/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 497 | 2017-05-31T07:55:40.000Z | 2018-01-03T12:10:43.000Z | pyclient/zeroos/orchestrator/client/CPUStats.py | zero-os/0-orchestrator | 9373a4acb1517ff001df526925c224a7a93b3274 | [
"Apache-2.0"
] | 8 | 2017-06-14T09:45:56.000Z | 2021-02-01T18:12:55.000Z | """
Auto-generated class for CPUStats
"""
from . import client_support
class CPUStats(object):
"""
auto-generated. don't touch.
"""
@staticmethod
def create(guestNice, idle, ioWait, irq, nice, softIrq, steal, stolen, system, user):
"""
:type guestNice: float
:type idle: f... | 36.117647 | 107 | 0.594137 | 712 | 6,140 | 4.956461 | 0.098315 | 0.136016 | 0.079343 | 0.107679 | 0.741853 | 0.741853 | 0.741853 | 0.741853 | 0.741853 | 0.741853 | 0 | 0.000477 | 0.316938 | 6,140 | 169 | 108 | 36.331361 | 0.840963 | 0.044463 | 0 | 0.620155 | 1 | 0 | 0.031528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03876 | false | 0 | 0.007752 | 0.023256 | 0.085271 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
29e666c67e0344ecc9c8090731960166de880f7b | 174 | py | Python | base/views.py | fernandolcouto/repo_py392 | d0c830d0178e7af4e39d81e986284e56415edc90 | [
"MIT"
] | null | null | null | base/views.py | fernandolcouto/repo_py392 | d0c830d0178e7af4e39d81e986284e56415edc90 | [
"MIT"
] | 6 | 2021-03-20T17:48:49.000Z | 2021-03-31T16:51:31.000Z | base/views.py | fernandolcouto/repo_python_392 | d0c830d0178e7af4e39d81e986284e56415edc90 | [
"MIT"
] | null | null | null | from django.http import HttpResponse
# from django.shortcuts import render
def home(request):
return HttpResponse('Py392: Projeto Django: Depoly automático no Heroku')
| 24.857143 | 77 | 0.787356 | 22 | 174 | 6.227273 | 0.772727 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020134 | 0.143678 | 174 | 6 | 78 | 29 | 0.899329 | 0.201149 | 0 | 0 | 0 | 0 | 0.364964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d9a01a8df9c5bcb0db2082a7406057419eebf6e0 | 5,138 | py | Python | tests/test_class_oelint_file_inappmsg.py | QuakeSaver/oelint-adv | e03617b51c7ebdeb8ea245eb61da3e3e03195b37 | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_file_inappmsg.py | QuakeSaver/oelint-adv | e03617b51c7ebdeb8ea245eb61da3e3e03195b37 | [
"BSD-2-Clause"
] | null | null | null | tests/test_class_oelint_file_inappmsg.py | QuakeSaver/oelint-adv | e03617b51c7ebdeb8ea245eb61da3e3e03195b37 | [
"BSD-2-Clause"
] | null | null | null | import pytest
from base import TestBaseClass
class TestClassOelintFileUpstreamStatusInAppMsg(TestBaseClass):
@pytest.mark.parametrize('id', ['oelint.file.inappropriatemsg'])
@pytest.mark.parametrize('occurrence', [1])
@pytest.mark.parametrize('input',
[
{
'oelint_adv-test... | 26.348718 | 68 | 0.38225 | 362 | 5,138 | 5.303867 | 0.160221 | 0.159375 | 0.115104 | 0.132813 | 0.890104 | 0.890104 | 0.890104 | 0.890104 | 0.890104 | 0.890104 | 0 | 0.00258 | 0.471974 | 5,138 | 194 | 69 | 26.484536 | 0.705123 | 0 | 0 | 0.347107 | 0 | 0 | 0.238486 | 0.019993 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016529 | false | 0 | 0.016529 | 0 | 0.041322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9a5b3d68a17160c560e2df72c0fc532dab8c341 | 25,190 | py | Python | test/test_users__beta_api.py | launchdarkly/api-client-python | b72bd94fb65ac57bd95df5767aebcdaff50e5cb6 | [
"Apache-2.0"
] | 6 | 2020-02-06T20:17:25.000Z | 2021-12-28T20:13:34.000Z | test/test_users__beta_api.py | launchdarkly/api-client-python | b72bd94fb65ac57bd95df5767aebcdaff50e5cb6 | [
"Apache-2.0"
] | 7 | 2019-02-18T21:51:47.000Z | 2021-09-03T17:49:33.000Z | test/test_users__beta_api.py | launchdarkly/api-client-python | b72bd94fb65ac57bd95df5767aebcdaff50e5cb6 | [
"Apache-2.0"
] | 6 | 2019-08-02T16:10:31.000Z | 2021-05-23T17:47:03.000Z | # -*- coding: utf-8 -*-
"""
LaunchDarkly REST API
# Overview ## Authentication All REST API resources are authenticated with either [personal or service access tokens](https://docs.launchdarkly.com/home/account-security/api-access-tokens), or session cookies. Other authentication mechanisms are not supporte... | 645.897436 | 24,467 | 0.668122 | 3,283 | 25,190 | 5.115139 | 0.231496 | 0.007146 | 0.004288 | 0.006848 | 0.225451 | 0.19794 | 0.169594 | 0.151432 | 0.127077 | 0.113261 | 0 | 0.02094 | 0.222707 | 25,190 | 38 | 24,468 | 662.894737 | 0.836721 | 0.971655 | 0 | 0.166667 | 0 | 0 | 0.021448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.166667 | 0.25 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
8a138046f9e903978d19e34090e7d00511a76221 | 251 | py | Python | allauth/socialaccount/providers/keycloak_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/keycloak_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | allauth/socialaccount/providers/keycloak_provider/urls.py | Fuzzwah/django-allauth | 071cbef1388bb61a563d3e41197bd5b7c26664d2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from allauth.socialaccount.providers.keycloak_provider.provider import KeycloakProvider
from allauth.socialaccount.providers.oauth2_provider.urls import default_urlpatterns
urlpatterns = default_urlpatterns(KeycloakProvider)
| 35.857143 | 87 | 0.848606 | 26 | 251 | 8.038462 | 0.576923 | 0.105263 | 0.229665 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008584 | 0.071713 | 251 | 6 | 88 | 41.833333 | 0.888412 | 0.083665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 6 |
8a393bdd5dc258a4157a5234da39fa735058100c | 162 | py | Python | dqsort/__init__.py | MaestroGraph/quicksort | 54e1aba3b8a1acf3cd5326f5efab2b0a853f4b40 | [
"MIT"
] | null | null | null | dqsort/__init__.py | MaestroGraph/quicksort | 54e1aba3b8a1acf3cd5326f5efab2b0a853f4b40 | [
"MIT"
] | null | null | null | dqsort/__init__.py | MaestroGraph/quicksort | 54e1aba3b8a1acf3cd5326f5efab2b0a853f4b40 | [
"MIT"
] | null | null | null | from .sort import Split, SortLayer
from .tensors import contract
from .neuralsort import NeuralSort, det_neuralsort
# from .tensors import flatten_indices_mat
| 20.25 | 50 | 0.820988 | 21 | 162 | 6.190476 | 0.571429 | 0.169231 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 162 | 7 | 51 | 23.142857 | 0.928571 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a89abf354a93106dc4f0868e5e0910a786d9042 | 5,051 | py | Python | dfirtrack_api/tests/dfirtrack_main/tag/test_tag_api_views.py | cclauss/dfirtrack | 2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a | [
"Apache-2.0"
] | null | null | null | dfirtrack_api/tests/dfirtrack_main/tag/test_tag_api_views.py | cclauss/dfirtrack | 2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a | [
"Apache-2.0"
] | null | null | null | dfirtrack_api/tests/dfirtrack_main/tag/test_tag_api_views.py | cclauss/dfirtrack | 2a307c5fe82e927b3c229a20a02bc0c7a5d66d9a | [
"Apache-2.0"
] | null | null | null | import urllib.parse
from django.contrib.auth.models import User
from django.test import TestCase
from dfirtrack_main.models import Tag, Tagcolor
class TagAPIViewTestCase(TestCase):
""" tag API view tests """
@classmethod
def setUpTestData(cls):
# create object
tagcolor_1 = Tagcolor.obj... | 35.570423 | 96 | 0.635914 | 597 | 5,051 | 5.135678 | 0.137353 | 0.054795 | 0.041096 | 0.035877 | 0.834964 | 0.812459 | 0.765493 | 0.718526 | 0.626549 | 0.612851 | 0 | 0.025844 | 0.249258 | 5,051 | 141 | 97 | 35.822695 | 0.7827 | 0.146308 | 0 | 0.409091 | 0 | 0 | 0.13631 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.151515 | false | 0.121212 | 0.060606 | 0 | 0.227273 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8a9cee3e462fe5161bcfdc422ec520bf6ed24d49 | 91 | py | Python | unicorn_messaging/components/hello.py | Joetib/jshop | 810ce5dcf2cf2d23b45536dd0c8806efd3b7fc91 | [
"MIT"
] | 1 | 2021-09-29T18:48:00.000Z | 2021-09-29T18:48:00.000Z | unicorn_messaging/components/hello.py | Joetib/jshop | 810ce5dcf2cf2d23b45536dd0c8806efd3b7fc91 | [
"MIT"
] | null | null | null | unicorn_messaging/components/hello.py | Joetib/jshop | 810ce5dcf2cf2d23b45536dd0c8806efd3b7fc91 | [
"MIT"
] | null | null | null | from django_unicorn.components import UnicornView
class HelloView(UnicornView):
pass
| 15.166667 | 49 | 0.813187 | 10 | 91 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 91 | 5 | 50 | 18.2 | 0.935897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0a3ab3811f914bd0ff91f1c6b84c0a00a2dd73d2 | 16,473 | py | Python | data.py | santacml/nn_pruning | 6714cfafa9b90a452df81f9cc102f8f672b1f9c2 | [
"Apache-2.0"
] | null | null | null | data.py | santacml/nn_pruning | 6714cfafa9b90a452df81f9cc102f8f672b1f9c2 | [
"Apache-2.0"
] | null | null | null | data.py | santacml/nn_pruning | 6714cfafa9b90a452df81f9cc102f8f672b1f9c2 | [
"Apache-2.0"
] | 1 | 2021-12-03T00:07:10.000Z | 2021-12-03T00:07:10.000Z | from transformers import AutoTokenizer
from torch.utils.data import Dataset
from datasets import load_dataset, load_from_disk
import json
import torch
class wikisql(Dataset):
def __init__(self, dataset_path: str,
type_path: str,
input_length: int,
... | 44.163539 | 204 | 0.574152 | 1,747 | 16,473 | 5.112192 | 0.096737 | 0.046579 | 0.02329 | 0.040309 | 0.842683 | 0.823536 | 0.795208 | 0.785466 | 0.785466 | 0.759601 | 0 | 0.004025 | 0.306137 | 16,473 | 373 | 205 | 44.163539 | 0.77734 | 0.276452 | 0 | 0.678218 | 0 | 0.004951 | 0.083862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09901 | false | 0 | 0.024752 | 0.024752 | 0.227723 | 0.014851 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a3d2183909b88cb15a2a400735173f628b10f94 | 14,945 | py | Python | test/geometry/test_linalg.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 51 | 2019-10-11T18:47:30.000Z | 2021-05-03T06:42:37.000Z | test/geometry/test_linalg.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2022-01-25T00:28:05.000Z | 2022-03-20T09:14:39.000Z | test/geometry/test_linalg.py | shaunster0/kornia | 71acf455ee36f2050b7be5ea993b6db773f502eb | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2019-10-11T19:59:05.000Z | 2020-07-10T02:28:52.000Z | import pytest
import torch
from torch.autograd import gradcheck
import kornia
import kornia.testing as utils # test utils
from kornia.testing import assert_close
def identity_matrix(batch_size, device, dtype):
r"""Creates a batched homogeneous identity matrix"""
return torch.eye(4, device=device, dtype=dtyp... | 39.225722 | 118 | 0.617598 | 2,077 | 14,945 | 4.239769 | 0.091478 | 0.01499 | 0.016012 | 0.10243 | 0.842607 | 0.790257 | 0.75846 | 0.716443 | 0.709403 | 0.67613 | 0 | 0.11087 | 0.258883 | 14,945 | 380 | 119 | 39.328947 | 0.684182 | 0.060422 | 0 | 0.637584 | 0 | 0 | 0.008716 | 0 | 0 | 0 | 0 | 0 | 0.077181 | 1 | 0.073826 | false | 0 | 0.020134 | 0 | 0.120805 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ab325ed070b6c8ba7e39a1fc9b961ecd04bf6e6 | 109 | py | Python | lib/rfk/exc/__init__.py | buckket/PyRfK | 531ecadb5df4733be79757f6c8f45a9b8596cabb | [
"BSD-3-Clause"
] | null | null | null | lib/rfk/exc/__init__.py | buckket/PyRfK | 531ecadb5df4733be79757f6c8f45a9b8596cabb | [
"BSD-3-Clause"
] | null | null | null | lib/rfk/exc/__init__.py | buckket/PyRfK | 531ecadb5df4733be79757f6c8f45a9b8596cabb | [
"BSD-3-Clause"
] | null | null | null | from . import api # API related exceptions
from . import base # user and authentication related exceptions
| 36.333333 | 64 | 0.779817 | 14 | 109 | 6.071429 | 0.642857 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 109 | 2 | 65 | 54.5 | 0.955056 | 0.59633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6add4f32cd832980649cafc50475eb61629749f9 | 91 | py | Python | rrc_example_package/benchmark_rrc/python/residual_learning/__init__.py | wq13552463699/TriFinger_Research | 6ddfab4531cb4ba05a0fbb41227a734295dce378 | [
"BSD-3-Clause"
] | 3 | 2021-10-03T08:21:41.000Z | 2022-02-04T09:07:44.000Z | rrc_example_package/benchmark_rrc/python/residual_learning/__init__.py | wq13552463699/TriFinger_Research | 6ddfab4531cb4ba05a0fbb41227a734295dce378 | [
"BSD-3-Clause"
] | 1 | 2022-02-04T08:48:54.000Z | 2022-02-22T01:08:46.000Z | rrc_example_package/benchmark_rrc/python/residual_learning/__init__.py | wq13552463699/TriFinger_Research | 6ddfab4531cb4ba05a0fbb41227a734295dce378 | [
"BSD-3-Clause"
] | null | null | null | # from .residual_sac import ResidualSAC
# from .make_training_env import make_training_env
| 30.333333 | 50 | 0.846154 | 13 | 91 | 5.538462 | 0.615385 | 0.333333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 91 | 2 | 51 | 45.5 | 0.888889 | 0.945055 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 6 |
6adf26b8d0aae742d55daac9bf2ea902d0e0ee11 | 137 | py | Python | nyroglancer/__init__.py | kmader/nyroglancer | 286a869511145a753c7e8d0cee8329b6f5eda86b | [
"Apache-2.0"
] | 29 | 2016-06-30T14:19:46.000Z | 2022-03-20T06:25:38.000Z | nyroglancer/__init__.py | sheridana/nyroglancer | d621eadb31d17e4580ca5cb1a39cd921f8a1c0ea | [
"Apache-2.0"
] | 6 | 2016-11-07T21:48:00.000Z | 2017-12-27T23:03:05.000Z | nyroglancer/__init__.py | sheridana/nyroglancer | d621eadb31d17e4580ca5cb1a39cd921f8a1c0ea | [
"Apache-2.0"
] | 12 | 2016-06-16T10:26:52.000Z | 2019-08-10T23:43:39.000Z | from extension import load_jupyter_server_extension
from viewer import Viewer, volumes
from hdf5_viewer import Hdf5Viewer
import shaders
| 27.4 | 51 | 0.883212 | 19 | 137 | 6.157895 | 0.578947 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.109489 | 137 | 4 | 52 | 34.25 | 0.942623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6aeb235831f1de857b2eb98fa832e4fd9b4b90fd | 25,971 | py | Python | karrio/api/parcels_api.py | karrioapi/karrio-python | 7b7e3b386016a138a5668644884a7a9fc497b15c | [
"MIT"
] | 1 | 2018-12-28T18:32:37.000Z | 2018-12-28T18:32:37.000Z | karrio/api/parcels_api.py | karrioapi/karrio-python | 7b7e3b386016a138a5668644884a7a9fc497b15c | [
"MIT"
] | null | null | null | karrio/api/parcels_api.py | karrioapi/karrio-python | 7b7e3b386016a138a5668644884a7a9fc497b15c | [
"MIT"
] | null | null | null | """
Karrio API
## API Reference Karrio is an open source multi-carrier shipping API that simplifies the integration of logistic carrier services. The Karrio API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and ... | 37.048502 | 1,831 | 0.505679 | 2,536 | 25,971 | 4.991325 | 0.12776 | 0.031996 | 0.02054 | 0.02133 | 0.780929 | 0.76347 | 0.752884 | 0.742455 | 0.728788 | 0.722547 | 0 | 0.004969 | 0.411074 | 25,971 | 700 | 1,832 | 37.101429 | 0.822622 | 0.433368 | 0 | 0.658482 | 0 | 0 | 0.216819 | 0.040974 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013393 | false | 0 | 0.020089 | 0 | 0.046875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a75c0b087e47955e4abf0108a27b8727d41a83b | 9,700 | py | Python | model/MWCNN_NonDWT.py | yanglixiaoshen/SAP-Net | d8691ee800be32b3ee1f410579a4d5c49772c200 | [
"MIT"
] | 17 | 2021-03-11T07:16:47.000Z | 2022-02-16T12:51:26.000Z | model/MWCNN_NonDWT.py | yanglixiaoshen/SAP-Net | d8691ee800be32b3ee1f410579a4d5c49772c200 | [
"MIT"
] | null | null | null | model/MWCNN_NonDWT.py | yanglixiaoshen/SAP-Net | d8691ee800be32b3ee1f410579a4d5c49772c200 | [
"MIT"
] | 3 | 2021-03-22T14:34:25.000Z | 2022-03-07T11:42:43.000Z | from model import common
import torch
import torch.nn as nn
import scipy.io as sio
# 创建模型
def make_model(args, parent=False):
return BSR(args)
def matrix_init():
a = torch.linspace(1, 15, steps=15) - 8
a = a.float()
mat_1 = torch.mul(a, a)
mat_1, mat_3 = torch.meshgrid([mat_1, m... | 35.144928 | 111 | 0.530309 | 1,342 | 9,700 | 3.679583 | 0.100596 | 0.034022 | 0.031187 | 0.062373 | 0.809032 | 0.77501 | 0.745444 | 0.738963 | 0.718105 | 0.713042 | 0 | 0.083922 | 0.314536 | 9,700 | 276 | 112 | 35.144928 | 0.658746 | 0.556392 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057143 | false | 0 | 0.057143 | 0.014286 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a970ea47fa203be72be7f08298a916c9d9b3e34 | 138 | py | Python | vacations/admin.py | yienyien/dayoff | 158795133084931a5fe34c047508ca225ce6fb12 | [
"Apache-2.0"
] | null | null | null | vacations/admin.py | yienyien/dayoff | 158795133084931a5fe34c047508ca225ce6fb12 | [
"Apache-2.0"
] | null | null | null | vacations/admin.py | yienyien/dayoff | 158795133084931a5fe34c047508ca225ce6fb12 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from . import models
@admin.register(models.Vacation)
class VacationAdmin(admin.ModelAdmin):
pass
| 15.333333 | 38 | 0.782609 | 17 | 138 | 6.352941 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 138 | 8 | 39 | 17.25 | 0.907563 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0a9d1c243fd5d8fb5e4eb2784a7a86b5a99aa3fe | 21,190 | py | Python | env/Lib/site-packages/plotly/graph_objs/layout/_modebar.py | andresgreen-byte/Laboratorio-1--Inversion-de-Capital | 8a4707301d19c3826c31026c4077930bcd6a8182 | [
"MIT"
] | 7 | 2022-01-16T12:28:16.000Z | 2022-03-04T15:31:45.000Z | packages/python/plotly/plotly/graph_objs/layout/_modebar.py | jiangrongbo/plotly.py | df19fc702b309586cc24e25373b87e8bdbb3ff60 | [
"MIT"
] | 14 | 2021-10-20T23:33:47.000Z | 2021-12-21T04:50:37.000Z | packages/python/plotly/plotly/graph_objs/layout/_modebar.py | jiangrongbo/plotly.py | df19fc702b309586cc24e25373b87e8bdbb3ff60 | [
"MIT"
] | 1 | 2021-11-29T22:55:05.000Z | 2021-11-29T22:55:05.000Z | from plotly.basedatatypes import BaseLayoutHierarchyType as _BaseLayoutHierarchyType
import copy as _copy
class Modebar(_BaseLayoutHierarchyType):
# class properties
# --------------------
_parent_path_str = "layout"
_path_str = "layout.modebar"
_valid_props = {
"activecolor",
"ad... | 38.18018 | 84 | 0.569372 | 1,896 | 21,190 | 6.315401 | 0.196203 | 0.010523 | 0.013529 | 0.009771 | 0.807082 | 0.7999 | 0.796726 | 0.793219 | 0.793219 | 0.790379 | 0 | 0.007381 | 0.328646 | 21,190 | 554 | 85 | 38.249097 | 0.834317 | 0.561727 | 0 | 0.110526 | 0 | 0 | 0.412789 | 0.025315 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.010526 | 0.005263 | 0.194737 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0acd49eb5289be4aa7f5d62adacf25b8aeea66ad | 9,030 | py | Python | src/olympia/lib/tests/test_jingo_minify_helpers.py | Patil2099/addons-server | b1684182a8e0e3d8dfbc1f5b64946580f20de933 | [
"BSD-3-Clause"
] | null | null | null | src/olympia/lib/tests/test_jingo_minify_helpers.py | Patil2099/addons-server | b1684182a8e0e3d8dfbc1f5b64946580f20de933 | [
"BSD-3-Clause"
] | null | null | null | src/olympia/lib/tests/test_jingo_minify_helpers.py | Patil2099/addons-server | b1684182a8e0e3d8dfbc1f5b64946580f20de933 | [
"BSD-3-Clause"
] | null | null | null | import os
from django.conf import settings
from django.test.utils import override_settings
from unittest import mock
import six
from olympia.amo.utils import from_string
try:
from build import BUILD_ID_CSS, BUILD_ID_JS, BUILD_ID_IMG, BUNDLE_HASHES
except ImportError:
BUILD_ID_CSS = BUILD_ID_JS = BUILD_ID_IM... | 34.334601 | 110 | 0.62691 | 1,129 | 9,030 | 4.855624 | 0.108946 | 0.04378 | 0.051076 | 0.065669 | 0.842941 | 0.808282 | 0.791135 | 0.7583 | 0.733674 | 0.682233 | 0 | 0.008202 | 0.203433 | 9,030 | 262 | 111 | 34.465649 | 0.753927 | 0.047065 | 0 | 0.486631 | 0 | 0.026738 | 0.396469 | 0.163101 | 0 | 0 | 0 | 0 | 0.101604 | 1 | 0.026738 | false | 0 | 0.042781 | 0 | 0.069519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e406fbf2b978616c101d371e1e6446449362ac48 | 162,891 | py | Python | hydrus/test/TestClientDBTags.py | Trivernis/hydrus | 212088ba4b504c3dbce45c602741b0cce2e799b4 | [
"WTFPL"
] | 1 | 2021-07-01T13:18:40.000Z | 2021-07-01T13:18:40.000Z | hydrus/test/TestClientDBTags.py | Bararie/hydrus | c1bfa314abf6a7c9f2bed954d08633ae3dd68268 | [
"WTFPL"
] | 23 | 2020-09-28T21:07:00.000Z | 2021-07-13T16:04:42.000Z | hydrus/test/TestClientDBTags.py | Bararie/hydrus | c1bfa314abf6a7c9f2bed954d08633ae3dd68268 | [
"WTFPL"
] | 2 | 2021-01-04T14:12:38.000Z | 2021-04-18T03:37:02.000Z | import os
import random
import time
import unittest
from hydrus.core import HydrusConstants as HC
from hydrus.core import HydrusData
from hydrus.core import HydrusGlobals as HG
from hydrus.client import ClientConstants as CC
from hydrus.client import ClientSearch
from hydrus.client import ClientServices
from hydrus.c... | 55.423954 | 465 | 0.609764 | 17,428 | 162,891 | 5.368373 | 0.039764 | 0.05419 | 0.032343 | 0.03805 | 0.905643 | 0.862997 | 0.812537 | 0.782503 | 0.75047 | 0.734726 | 0 | 0.006713 | 0.271095 | 162,891 | 2,938 | 466 | 55.442818 | 0.781272 | 0.032856 | 0 | 0.527689 | 0 | 0 | 0.261591 | 0.023276 | 0 | 0 | 0 | 0 | 0.102236 | 1 | 0.015974 | false | 0.00426 | 0.027157 | 0.001065 | 0.043663 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c384258249a953fdf6ffab844c83a2055e19fc0 | 185 | py | Python | model/__init__.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | model/__init__.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | model/__init__.py | FellowHashbrown/virus.sh | 757e50fa402f63ab7161518dcec7e1441aa880dd | [
"MIT"
] | null | null | null | from model.entry import Entry
from model.normal_file import NormalFile
from model.virus_file import VirusFile
from model.save_file import SaveFile
from model.directory import Directory
| 30.833333 | 40 | 0.864865 | 28 | 185 | 5.607143 | 0.428571 | 0.286624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 185 | 5 | 41 | 37 | 0.951515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ca888a9b0b93327f6e7ba884c9f7562d2d600c8 | 4,940 | py | Python | mliv/ensemble/ensemble.py | microsoft/AdversarialGMM | 7a5cd51353c8a81e16c01220b71f77e4e1102add | [
"MIT"
] | 23 | 2020-12-01T22:55:40.000Z | 2022-01-26T04:11:14.000Z | mliv/ensemble/ensemble.py | microsoft/AdversarialGMM | 7a5cd51353c8a81e16c01220b71f77e4e1102add | [
"MIT"
] | null | null | null | mliv/ensemble/ensemble.py | microsoft/AdversarialGMM | 7a5cd51353c8a81e16c01220b71f77e4e1102add | [
"MIT"
] | 10 | 2020-12-05T17:12:49.000Z | 2022-01-10T23:42:37.000Z | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
import numpy as np
from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
from sklearn.base import clone
def _mysign(x):
return 2 * (x >= 0) - 1
class EnsembleIV:
def __init__(self, adversary='auto', learner='auto... | 39.206349 | 159 | 0.558502 | 666 | 4,940 | 3.930931 | 0.156156 | 0.022918 | 0.042017 | 0.034377 | 0.788388 | 0.775401 | 0.771581 | 0.771581 | 0.752483 | 0.752483 | 0 | 0.029238 | 0.314575 | 4,940 | 125 | 160 | 39.52 | 0.743946 | 0.013765 | 0 | 0.712871 | 0 | 0 | 0.008215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138614 | false | 0 | 0.029703 | 0.069307 | 0.326733 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cb336a58f91ee464e2f2fedbddad3ddbb40ad4c | 68,555 | py | Python | heat/tests/test_validate.py | noironetworks/heat | 7cdadf1155f4d94cf8f967635b98e4012a7acfb7 | [
"Apache-2.0"
] | 1 | 2019-02-03T07:48:11.000Z | 2019-02-03T07:48:11.000Z | heat/tests/test_validate.py | noironetworks/heat | 7cdadf1155f4d94cf8f967635b98e4012a7acfb7 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | heat/tests/test_validate.py | noironetworks/heat | 7cdadf1155f4d94cf8f967635b98e4012a7acfb7 | [
"Apache-2.0"
] | 2 | 2020-03-15T01:24:15.000Z | 2020-07-22T20:34:26.000Z | #
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# ... | 32.246002 | 79 | 0.581475 | 6,778 | 68,555 | 5.690469 | 0.077752 | 0.028934 | 0.034975 | 0.032149 | 0.839072 | 0.81203 | 0.791937 | 0.764532 | 0.740368 | 0.719653 | 0 | 0.019252 | 0.303698 | 68,555 | 2,125 | 80 | 32.261176 | 0.78875 | 0.018788 | 0 | 0.689773 | 0 | 0.001136 | 0.466331 | 0.041894 | 0 | 0 | 0 | 0 | 0.061364 | 1 | 0.042614 | false | 0.009659 | 0.010795 | 0 | 0.053977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7cffdefe76606239eb33a1b8e67a002df1c35e38 | 114 | py | Python | environment/__init__.py | Marxlp/RLFrame | 1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a | [
"MIT"
] | null | null | null | environment/__init__.py | Marxlp/RLFrame | 1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a | [
"MIT"
] | null | null | null | environment/__init__.py | Marxlp/RLFrame | 1fcfa4fb26c1f0e407c8ea77c86d9d51af8b579a | [
"MIT"
] | null | null | null | from .fake_gym.fake_gym import EnvironmentImpl as FakeGym
from .rlbench.rlbench import EnvironmentImpl as RLBench
| 38 | 57 | 0.859649 | 16 | 114 | 6 | 0.5 | 0.145833 | 0.479167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 114 | 2 | 58 | 57 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8652d918a9c0b00936b3df189cf1eceba8dd8171 | 6,538 | py | Python | tests/flatsplode_test.py | amancevice/flatsplode | efe8d1be080596dd7a5ddcd06af6dd1cab2956c0 | [
"MIT"
] | 9 | 2019-12-26T02:26:30.000Z | 2021-12-14T07:50:31.000Z | tests/flatsplode_test.py | amancevice/flatsplode | efe8d1be080596dd7a5ddcd06af6dd1cab2956c0 | [
"MIT"
] | 6 | 2019-12-23T07:56:00.000Z | 2022-01-21T23:31:56.000Z | tests/flatsplode_test.py | amancevice/flatsplode | efe8d1be080596dd7a5ddcd06af6dd1cab2956c0 | [
"MIT"
] | 2 | 2019-12-04T16:49:51.000Z | 2020-12-20T12:48:44.000Z | import pytest
from flatsplode import (explode, flatsplode, flatten)
@pytest.mark.parametrize(('item', 'exp'), [
(
{
'a': 'b',
'jar': ['bar', 'car'],
'fizz': ['buzz', 'jazz', 'fuzz'],
'foo': 'bar',
},
[
{'a': 'b', 'jar': 'bar', 'f... | 26.577236 | 74 | 0.272866 | 575 | 6,538 | 3.097391 | 0.076522 | 0.286917 | 0.11735 | 0.09096 | 0.812465 | 0.798989 | 0.794497 | 0.697361 | 0.671533 | 0.671533 | 0 | 0.03329 | 0.531355 | 6,538 | 245 | 75 | 26.685714 | 0.547977 | 0 | 0 | 0.57563 | 0 | 0 | 0.227134 | 0 | 0 | 0 | 0 | 0 | 0.012605 | 1 | 0.012605 | false | 0 | 0.008403 | 0 | 0.021008 | 0.008403 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
866288320c727f328eb6db7b054a76b08f810ca4 | 21,072 | py | Python | userbot/plugins/karbon.py | figter-lgnd/catuserbot-1 | c3b31f5100b5c91259f8f3b634c12e9a8d203ab8 | [
"MIT"
] | 2 | 2020-04-12T11:51:06.000Z | 2020-04-18T14:08:06.000Z | userbot/plugins/karbon.py | figter-lgnd/catuserbot-1 | c3b31f5100b5c91259f8f3b634c12e9a8d203ab8 | [
"MIT"
] | null | null | null | userbot/plugins/karbon.py | figter-lgnd/catuserbot-1 | c3b31f5100b5c91259f8f3b634c12e9a8d203ab8 | [
"MIT"
] | 1 | 2020-05-13T02:51:35.000Z | 2020-05-13T02:51:35.000Z | """Carbon Scraper Plugin for Userbot. //text in creative way.
usage: .kar1 //as a reply to any text message
usage: .kar2 //as a reply to any text message
usage: .kar3 //as a reply to any text message
usage: .kar4 //as a reply to any text message
usage: .rgbk2//as a reply to any text message
usage: .kargb //as a reply t... | 41.15625 | 262 | 0.642796 | 2,809 | 21,072 | 4.752581 | 0.125312 | 0.062322 | 0.050337 | 0.062921 | 0.904494 | 0.901948 | 0.897978 | 0.878427 | 0.865393 | 0.842846 | 0 | 0.023613 | 0.190063 | 21,072 | 511 | 263 | 41.236791 | 0.748872 | 0.106255 | 0 | 0.695266 | 0 | 0.017751 | 0.288505 | 0.069049 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050296 | 0 | 0.050296 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86ae94d223ded8105144f9f78744afe8b3256ed9 | 13,939 | py | Python | onnx/backend/test/case/node/maxpool.py | stillmatic/onnx | 8d5eb62d5299f6dcb6ac787f0ea8e6cf5b8331a7 | [
"Apache-2.0"
] | null | null | null | onnx/backend/test/case/node/maxpool.py | stillmatic/onnx | 8d5eb62d5299f6dcb6ac787f0ea8e6cf5b8331a7 | [
"Apache-2.0"
] | null | null | null | onnx/backend/test/case/node/maxpool.py | stillmatic/onnx | 8d5eb62d5299f6dcb6ac787f0ea8e6cf5b8331a7 | [
"Apache-2.0"
] | null | null | null | # SPDX-License-Identifier: Apache-2.0
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import numpy as np
import onnx
from ..base import Base
from . import expect
from .pool_op_common import get_output_shape, get_pad_... | 32.952719 | 107 | 0.473276 | 1,821 | 13,939 | 3.431631 | 0.063152 | 0.015042 | 0.067211 | 0.072012 | 0.909105 | 0.863978 | 0.808129 | 0.786686 | 0.756441 | 0.732597 | 0 | 0.110119 | 0.356984 | 13,939 | 422 | 108 | 33.030806 | 0.58708 | 0.101012 | 0 | 0.679245 | 0 | 0 | 0.058613 | 0.032183 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04717 | false | 0 | 0.028302 | 0 | 0.078616 | 0.003145 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86dd621b9031efbaf5fa0af3a9352b3581c00546 | 168 | py | Python | api-django/app/core/admin.py | Velniai/registry-test | a6a7dc783e26673cc3dc6d6f493fcdfd033969e4 | [
"MIT"
] | null | null | null | api-django/app/core/admin.py | Velniai/registry-test | a6a7dc783e26673cc3dc6d6f493fcdfd033969e4 | [
"MIT"
] | null | null | null | api-django/app/core/admin.py | Velniai/registry-test | a6a7dc783e26673cc3dc6d6f493fcdfd033969e4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Expense)
admin.site.register(models.ExpenseType)
admin.site.register(models.Supplier)
| 24 | 39 | 0.827381 | 23 | 168 | 6.043478 | 0.478261 | 0.194245 | 0.366906 | 0.496403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 168 | 6 | 40 | 28 | 0.891026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 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 | 6 |
86dd90221265fdb841f997b3493af74edbac05df | 12,490 | py | Python | test_Statistics.py | leodflag/TimeSeriesAnalysisAPI | 235aa076f23359d2de3f7d28a453ae310ac2b634 | [
"MIT"
] | 4 | 2020-12-10T14:23:41.000Z | 2020-12-26T06:17:20.000Z | test_Statistics.py | leodflag/TimeSeriesAnalysisAPI | 235aa076f23359d2de3f7d28a453ae310ac2b634 | [
"MIT"
] | null | null | null | test_Statistics.py | leodflag/TimeSeriesAnalysisAPI | 235aa076f23359d2de3f7d28a453ae310ac2b634 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2020 by leodflag
import unittest
import pandas as pd
import numpy as np
import Math.Statistics as Math
class MathTestCase(unittest.TestCase):
def setUp(self):
self.__listA = [5, 9, 6, 7, 2, 2]
self.__listB = [3, 6, 7, 2, 9, 5]
sel... | 55.022026 | 114 | 0.713851 | 1,591 | 12,490 | 5.179761 | 0.081081 | 0.178619 | 0.230312 | 0.265744 | 0.834971 | 0.79238 | 0.720908 | 0.658779 | 0.533916 | 0.430773 | 0 | 0.023514 | 0.179424 | 12,490 | 226 | 115 | 55.265487 | 0.780564 | 0.005604 | 0 | 0.13 | 0 | 0 | 0.000805 | 0 | 0 | 0 | 0 | 0 | 0.57 | 1 | 0.1 | false | 0 | 0.02 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86f42a1e328c189b2f5d1ab2398bf25119aa45be | 30 | py | Python | FastAutoAugment/__init__.py | G-H-Li/fast-autoaugment | d7e2af64e3e8a9a0954677a12ce7ea5859a5e248 | [
"MIT"
] | null | null | null | FastAutoAugment/__init__.py | G-H-Li/fast-autoaugment | d7e2af64e3e8a9a0954677a12ce7ea5859a5e248 | [
"MIT"
] | null | null | null | FastAutoAugment/__init__.py | G-H-Li/fast-autoaugment | d7e2af64e3e8a9a0954677a12ce7ea5859a5e248 | [
"MIT"
] | null | null | null | from FastAutoAugment import *
| 15 | 29 | 0.833333 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d495ab88bd94994ca9045df28770ff5bc81f4f56 | 145 | py | Python | practice_platform_backend/account/admin.py | Jamison-Chen/practice_platform_backend | 860b2e3bd7d57eb7db0e98f5fdda29565951e532 | [
"MIT"
] | null | null | null | practice_platform_backend/account/admin.py | Jamison-Chen/practice_platform_backend | 860b2e3bd7d57eb7db0e98f5fdda29565951e532 | [
"MIT"
] | null | null | null | practice_platform_backend/account/admin.py | Jamison-Chen/practice_platform_backend | 860b2e3bd7d57eb7db0e98f5fdda29565951e532 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from .models import user
admin.site.register(user, UserAdmin)
| 20.714286 | 47 | 0.82069 | 21 | 145 | 5.666667 | 0.52381 | 0.168067 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 145 | 6 | 48 | 24.166667 | 0.922481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d4bf0ea5037c516a2c715222388e56019b0428d6 | 45 | py | Python | slack_sdk/socket_mode/builtin/__init__.py | priya1puresoftware/python-slack-sdk | 3503182feaaf4d41b57fd8bf10038ebc99f1f3c7 | [
"MIT"
] | 2,486 | 2016-11-03T14:31:43.000Z | 2020-10-26T23:07:44.000Z | slack_sdk/socket_mode/builtin/__init__.py | priya1puresoftware/python-slack-sdk | 3503182feaaf4d41b57fd8bf10038ebc99f1f3c7 | [
"MIT"
] | 721 | 2016-11-03T21:26:56.000Z | 2020-10-26T12:41:29.000Z | slack_sdk/socket_mode/builtin/__init__.py | priya1puresoftware/python-slack-sdk | 3503182feaaf4d41b57fd8bf10038ebc99f1f3c7 | [
"MIT"
] | 627 | 2016-11-02T19:04:19.000Z | 2020-10-25T19:21:13.000Z | from .client import SocketModeClient # noqa
| 22.5 | 44 | 0.8 | 5 | 45 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.947368 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be1389e251eb05b82b6e5357d5a324e185d83c2c | 68 | py | Python | nrs_lib/__init__.py | FilippoRanza/nurse-routing-solver | fce4f0ff0404f645459eb56df511a44e95841134 | [
"MIT"
] | 1 | 2020-04-13T11:06:01.000Z | 2020-04-13T11:06:01.000Z | nrs_lib/__init__.py | FilippoRanza/nurse-routing-solver | fce4f0ff0404f645459eb56df511a44e95841134 | [
"MIT"
] | null | null | null | nrs_lib/__init__.py | FilippoRanza/nurse-routing-solver | fce4f0ff0404f645459eb56df511a44e95841134 | [
"MIT"
] | 1 | 2022-03-19T02:49:41.000Z | 2022-03-19T02:49:41.000Z | #! /usr/bin/python
from .nrs_engine import *
from .nrs_io import *
| 13.6 | 25 | 0.705882 | 11 | 68 | 4.181818 | 0.727273 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161765 | 68 | 4 | 26 | 17 | 0.807018 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0775fa4b5d37298ea42e93058abd0c96b60f8659 | 16,160 | py | Python | AdversarialSampleGeneratorV11/AdversarialSampleGeneratorV11/AttackWrappersWhiteBox.py | MetaMain/BewareAdvML | 52d489b565b0df36cb588b5709c29c2e8e4d3f49 | [
"BSD-3-Clause"
] | 1 | 2022-03-25T07:53:13.000Z | 2022-03-25T07:53:13.000Z | AdversarialSampleGeneratorV11/AdversarialSampleGeneratorV11/AttackWrappersWhiteBox.py | MetaMain/BewareAdvML | 52d489b565b0df36cb588b5709c29c2e8e4d3f49 | [
"BSD-3-Clause"
] | null | null | null | AdversarialSampleGeneratorV11/AdversarialSampleGeneratorV11/AttackWrappersWhiteBox.py | MetaMain/BewareAdvML | 52d489b565b0df36cb588b5709c29c2e8e4d3f49 | [
"BSD-3-Clause"
] | null | null | null | import tensorflow
from tensorflow import keras
import numpy
import time
import DataManager
from l2_attack import CarliniL2
from li_attack import CarliniLi
from l0_attack import CarliniL0
from cleverhans.attacks import FastGradientMethod
from cleverhans.utils_keras import KerasModelWrapper
from cleverhans.uti... | 58.33935 | 210 | 0.729022 | 1,905 | 16,160 | 6.11706 | 0.148032 | 0.025487 | 0.047885 | 0.058697 | 0.80829 | 0.792843 | 0.787523 | 0.777568 | 0.777053 | 0.761606 | 0 | 0.009781 | 0.171225 | 16,160 | 276 | 211 | 58.550725 | 0.8603 | 0.195916 | 0 | 0.645299 | 0 | 0 | 0.077846 | 0.001895 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07265 | false | 0 | 0.064103 | 0.004274 | 0.209402 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.