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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
416d556c37282091270ab442f9cc0c1e665b8116 | 2,548 | py | Python | jacdac/proto_test/constants.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/proto_test/constants.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/proto_test/constants.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated constants for Protocol Test service
from jacdac.constants import *
JD_SERVICE_CLASS_PROTO_TEST = const(0x16c7466a)
JD_PROTO_TEST_REG_RW_BOOL = const(0x81)
JD_PROTO_TEST_REG_RO_BOOL = const(0x181)
JD_PROTO_TEST_REG_RW_U32 = const(0x82)
JD_PROTO_TEST_REG_RO_U32 = const(0x182)
JD_PROTO_TEST_REG_RW_I32 = co... | 39.8125 | 56 | 0.800628 | 508 | 2,548 | 3.362205 | 0.100394 | 0.316159 | 0.379977 | 0.229508 | 0.879391 | 0.869438 | 0.342506 | 0.259368 | 0.259368 | 0.076112 | 0 | 0.106081 | 0.115777 | 2,548 | 63 | 57 | 40.444444 | 0.65202 | 0.019231 | 0 | 0 | 1 | 0 | 0.045254 | 0 | 0 | 0 | 0.053264 | 0 | 0 | 1 | 0 | false | 0 | 0.016129 | 0 | 0.016129 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
418ec026fe4b1b292324600d0e892521d935a4fa | 23 | py | Python | vibora/request/__init__.py | brettcannon/vibora | 1933b631d4df62e7d748016f7463ab746d4695cc | [
"MIT"
] | 2,177 | 2015-01-02T09:56:51.000Z | 2022-03-27T01:48:37.000Z | vibora/request/__init__.py | brettcannon/vibora | 1933b631d4df62e7d748016f7463ab746d4695cc | [
"MIT"
] | 93 | 2019-12-07T01:43:50.000Z | 2021-08-01T13:30:44.000Z | vibora/request/__init__.py | brettcannon/vibora | 1933b631d4df62e7d748016f7463ab746d4695cc | [
"MIT"
] | 516 | 2015-01-02T18:48:29.000Z | 2022-01-26T07:12:35.000Z | from .request import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 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 |
41a18b602a2fe9bf9b451e29bc6d852c9ab66ec9 | 50 | py | Python | models/__init__.py | mengjian0502/TorchInference_SRAM | fcc465c73b79f2ab670b6af03aa53f9bb47c64ca | [
"MIT"
] | 1 | 2022-02-28T03:51:11.000Z | 2022-02-28T03:51:11.000Z | models/__init__.py | mengjian0502/TorchInference_SRAM | fcc465c73b79f2ab670b6af03aa53f9bb47c64ca | [
"MIT"
] | null | null | null | models/__init__.py | mengjian0502/TorchInference_SRAM | fcc465c73b79f2ab670b6af03aa53f9bb47c64ca | [
"MIT"
] | null | null | null | from .cnn import CNN
from .sram_cnn import SRAMCNN | 25 | 29 | 0.82 | 9 | 50 | 4.444444 | 0.555556 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 29 | 25 | 0.930233 | 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 |
ec015e1be422fd69e31a08ddca494d7b1c7c7423 | 42,893 | py | Python | qpid_tests/broker_0_10/msg_groups.py | martpat/qpid-python | 900baa9bfab0f9b348c517fe1dac3cc6e8f26b29 | [
"Apache-2.0"
] | 17 | 2016-09-04T03:34:10.000Z | 2021-11-09T22:29:30.000Z | qpid_tests/broker_0_10/msg_groups.py | martpat/qpid-python | 900baa9bfab0f9b348c517fe1dac3cc6e8f26b29 | [
"Apache-2.0"
] | 1 | 2016-07-11T09:32:41.000Z | 2016-07-11T09:32:41.000Z | qpid_tests/broker_0_10/msg_groups.py | martpat/qpid-python | 900baa9bfab0f9b348c517fe1dac3cc6e8f26b29 | [
"Apache-2.0"
] | 19 | 2016-07-11T09:23:50.000Z | 2021-11-09T22:29:20.000Z | #
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | 35.863712 | 130 | 0.515026 | 5,378 | 42,893 | 4.050762 | 0.073447 | 0.042231 | 0.071058 | 0.034886 | 0.772412 | 0.742575 | 0.732155 | 0.711682 | 0.700252 | 0.683406 | 0 | 0.035868 | 0.33896 | 42,893 | 1,195 | 131 | 35.893724 | 0.732454 | 0.199613 | 0 | 0.831847 | 0 | 0 | 0.174993 | 0.041835 | 0 | 0 | 0 | 0 | 0.233121 | 1 | 0.025478 | false | 0.026752 | 0.005096 | 0.002548 | 0.035669 | 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 |
ec4377316b7217f523059d544799334b134d046d | 188 | py | Python | construct_hou/utils.py | construct-org/construct_hou | 7c323c176ce238681f64cbf61ddd7ed5a9a81100 | [
"MIT"
] | null | null | null | construct_hou/utils.py | construct-org/construct_hou | 7c323c176ce238681f64cbf61ddd7ed5a9a81100 | [
"MIT"
] | null | null | null | construct_hou/utils.py | construct-org/construct_hou | 7c323c176ce238681f64cbf61ddd7ed5a9a81100 | [
"MIT"
] | 1 | 2020-02-15T12:16:21.000Z | 2020-02-15T12:16:21.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
def show_file_open_at_startup():
'''Returns True when there will be no autosave dialog at startup.'''
return True
| 20.888889 | 72 | 0.712766 | 27 | 188 | 4.62963 | 0.851852 | 0.144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.18617 | 188 | 8 | 73 | 23.5 | 0.810458 | 0.452128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 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 |
6b5a77292915e54ad040e0a094a98c0b61d2dafc | 9,412 | py | Python | Incident-Response/Tools/cyphon/cyphon/alerts/tests/test_admin.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 1 | 2021-07-24T17:22:50.000Z | 2021-07-24T17:22:50.000Z | Incident-Response/Tools/cyphon/cyphon/alerts/tests/test_admin.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-28T03:40:31.000Z | 2022-02-28T03:40:52.000Z | Incident-Response/Tools/cyphon/cyphon/alerts/tests/test_admin.py | sn0b4ll/Incident-Playbook | cf519f58fcd4255674662b3620ea97c1091c1efb | [
"MIT"
] | 2 | 2022-02-25T08:34:51.000Z | 2022-03-16T17:29:44.000Z | # -*- coding: utf-8 -*-
# Copyright 2017-2019 ControlScan, Inc.
#
# This file is part of Cyphon Engine.
#
# Cyphon Engine is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# Cyphon En... | 40.921739 | 81 | 0.697726 | 1,232 | 9,412 | 5.035714 | 0.114448 | 0.077369 | 0.092843 | 0.116054 | 0.844455 | 0.833495 | 0.814313 | 0.788524 | 0.774984 | 0.681818 | 0 | 0.004108 | 0.224182 | 9,412 | 229 | 82 | 41.100437 | 0.845522 | 0.200701 | 0 | 0.288 | 0 | 0 | 0.125088 | 0 | 0 | 0 | 0 | 0 | 0.288 | 1 | 0.152 | false | 0 | 0.056 | 0 | 0.216 | 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 |
6b8a040a738b4226027d6ded1815bd58e4403915 | 1,490 | py | Python | PICO-8/games/spin/repack/varint_test.py | VyrCossont/Pinput | 53acf9a0eaf1a64ae263826ea36108150ad0bfbe | [
"MIT"
] | 9 | 2021-10-03T06:49:23.000Z | 2022-02-17T22:10:21.000Z | PICO-8/games/spin/repack/varint_test.py | VyrCossont/Pinput | 53acf9a0eaf1a64ae263826ea36108150ad0bfbe | [
"MIT"
] | null | null | null | PICO-8/games/spin/repack/varint_test.py | VyrCossont/Pinput | 53acf9a0eaf1a64ae263826ea36108150ad0bfbe | [
"MIT"
] | null | null | null | from .varint import BitVector, read_varint, varint_encoded_length, write_varint
def test_write_short():
assert write_varint(0) == BitVector(size=4, bits=0b0000)
assert write_varint(1) == BitVector(size=4, bits=0b0001)
assert write_varint(2) == BitVector(size=4, bits=0b0010)
assert write_varint(3) == B... | 33.111111 | 79 | 0.720134 | 222 | 1,490 | 4.59009 | 0.18018 | 0.204122 | 0.183513 | 0.176644 | 0.541708 | 0.431796 | 0.37684 | 0.211973 | 0 | 0 | 0 | 0.13302 | 0.142282 | 1,490 | 44 | 80 | 33.863636 | 0.664319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014094 | 0 | 0.678571 | 1 | 0.285714 | true | 0 | 0.035714 | 0 | 0.321429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6bb8dc37d081c71fc937803e18726b12ee02e423 | 33 | py | Python | modules/retrieval/text_classification/libs/models/__init__.py | martinhoang11/vietnamese-ocr-toolbox | 524b4908bedceb0c87b2c7cd7b5e3f6e1126ace5 | [
"Apache-2.0"
] | 14 | 2021-09-05T10:42:14.000Z | 2022-03-10T16:27:26.000Z | modules/retrieval/text_classification/libs/models/__init__.py | martinhoang11/vietnamese-ocr-toolbox | 524b4908bedceb0c87b2c7cd7b5e3f6e1126ace5 | [
"Apache-2.0"
] | 1 | 2021-06-16T11:35:24.000Z | 2021-06-16T11:35:24.000Z | modules/retrieval/text_classification/libs/models/__init__.py | martinhoang11/vietnamese-ocr-toolbox | 524b4908bedceb0c87b2c7cd7b5e3f6e1126ace5 | [
"Apache-2.0"
] | 5 | 2021-09-05T13:26:51.000Z | 2022-03-09T07:49:45.000Z | from .readability_models import * | 33 | 33 | 0.848485 | 4 | 33 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6bc433dde74c0c2dea66fecad10e68bbe33f7f41 | 174 | py | Python | src/compas/datastructures/network/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/datastructures/network/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/datastructures/network/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | from .network import *
from .facenetwork import *
from .operations import *
from .network import __all__ as a
from .facenetwork import __all__ as b
__all__ = a + b
| 19.333333 | 38 | 0.718391 | 24 | 174 | 4.708333 | 0.375 | 0.265487 | 0.300885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 174 | 8 | 39 | 21.75 | 0.837037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d44bb43710f90ad55d8d6b7a2fb5d4aa58b3da7b | 522 | py | Python | sqlite/interfaces.py | samsonosiomwan/SQL-model | 24935e29182461af787a002c7d3bf15d7e71dc4a | [
"MIT"
] | null | null | null | sqlite/interfaces.py | samsonosiomwan/SQL-model | 24935e29182461af787a002c7d3bf15d7e71dc4a | [
"MIT"
] | null | null | null | sqlite/interfaces.py | samsonosiomwan/SQL-model | 24935e29182461af787a002c7d3bf15d7e71dc4a | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class CrudOperationInterface(ABC):
@abstractmethod
def read_all():
pass
@abstractmethod
def create():
pass
@abstractmethod
def get_passed():
pass
@abstractmethod
def get_failed():
pass
@abstractmethod
def ... | 14.108108 | 35 | 0.586207 | 48 | 522 | 6.25 | 0.4375 | 0.396667 | 0.42 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002907 | 0.340996 | 522 | 37 | 36 | 14.108108 | 0.869186 | 0 | 0 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | true | 0.346154 | 0.038462 | 0 | 0.423077 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d44d2ea773b5f949407a8b5f38985ef467a5aa23 | 26 | py | Python | elliot/recommender/unpersonalized/random_recommender/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 175 | 2021-03-04T15:46:25.000Z | 2022-03-31T05:56:58.000Z | elliot/recommender/unpersonalized/random_recommender/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 15 | 2021-03-06T17:53:56.000Z | 2022-03-24T17:02:07.000Z | elliot/recommender/unpersonalized/random_recommender/__init__.py | gategill/elliot | 113763ba6d595976e14ead2e3d460d9705cd882e | [
"Apache-2.0"
] | 39 | 2021-03-04T15:46:26.000Z | 2022-03-09T15:37:12.000Z | from .Random import Random | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 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 |
2e092d4d4567985ffe882659d69fac72dff03f92 | 1,759 | py | Python | request.py | HellsCrimson/DeepAi-Interface | 3c95074eb1d9909eeb55c219e2b6ed26e64b3e09 | [
"MIT"
] | null | null | null | request.py | HellsCrimson/DeepAi-Interface | 3c95074eb1d9909eeb55c219e2b6ed26e64b3e09 | [
"MIT"
] | null | null | null | request.py | HellsCrimson/DeepAi-Interface | 3c95074eb1d9909eeb55c219e2b6ed26e64b3e09 | [
"MIT"
] | null | null | null | import requests
api_key = "YOUR API KEY"
def Recognition(path): # not used (return string)
if path == None:
return
r = requests.post(
"https://api.deepai.org/api/celebrity-recognition",
files={
'image': open(path, 'rb'),
},
headers={'api-key': api_key}
)
return r.json()... | 20.218391 | 55 | 0.534395 | 220 | 1,759 | 4.236364 | 0.172727 | 0.103004 | 0.075107 | 0.120172 | 0.828326 | 0.828326 | 0.828326 | 0.828326 | 0.828326 | 0.828326 | 0 | 0.000799 | 0.288232 | 1,759 | 87 | 56 | 20.218391 | 0.74361 | 0.027857 | 0 | 0.607595 | 0 | 0 | 0.218384 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088608 | false | 0 | 0.012658 | 0 | 0.278481 | 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 |
cf4a571824e703e8dee7d972d1b977281408c11a | 3,120 | py | Python | alignholo.py | slimpotatoes/Holo_EM_2_keVs | e17a773092ff18b429ebd46ca380478d9fb3b819 | [
"BSD-3-Clause"
] | null | null | null | alignholo.py | slimpotatoes/Holo_EM_2_keVs | e17a773092ff18b429ebd46ca380478d9fb3b819 | [
"BSD-3-Clause"
] | null | null | null | alignholo.py | slimpotatoes/Holo_EM_2_keVs | e17a773092ff18b429ebd46ca380478d9fb3b819 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
from skimage import transform
def shift_holo(shift_gui, em_data):
# em_data.holo_2_aligned = shift(em_data.holo_2, shift_gui)
em_data.holo_2_aligned = np.roll(em_data.holo_2, shift_gui, axis=(0, 1))
def crop_phase(shift_gui, image_not_shifted, image_shifted):
print('shift image horizon... | 56.727273 | 116 | 0.674359 | 453 | 3,120 | 4.240618 | 0.094923 | 0.179073 | 0.218636 | 0.178032 | 0.789172 | 0.756377 | 0.736596 | 0.718376 | 0.697033 | 0.697033 | 0 | 0.02381 | 0.205769 | 3,120 | 55 | 117 | 56.727273 | 0.751412 | 0.018269 | 0 | 0.36 | 0 | 0 | 0.018942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.06 | false | 0 | 0.04 | 0 | 0.28 | 0.06 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf60515b82210ba3aba19760a8851e4ed65baee3 | 116 | py | Python | protoseg/filters/sobel.py | chriamue/protoseg | 4ddc7d613aadcb9d25b5773eff688214349ab23f | [
"MIT"
] | null | null | null | protoseg/filters/sobel.py | chriamue/protoseg | 4ddc7d613aadcb9d25b5773eff688214349ab23f | [
"MIT"
] | null | null | null | protoseg/filters/sobel.py | chriamue/protoseg | 4ddc7d613aadcb9d25b5773eff688214349ab23f | [
"MIT"
] | 1 | 2020-03-30T07:10:54.000Z | 2020-03-30T07:10:54.000Z | import cv2
def sobel(img, dx, dy, ksize = 5):
s = cv2.Sobel(img, cv2.CV_8U, dx, dy, ksize=ksize)
return s
| 16.571429 | 54 | 0.612069 | 22 | 116 | 3.181818 | 0.590909 | 0.228571 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0.241379 | 116 | 6 | 55 | 19.333333 | 0.738636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 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 | 0 | 1 | 0 | 0 | 6 |
cf773198e508c6ee2544a751d3ed3072b58daf9a | 12,341 | py | Python | tests/test_module.py | mollstam/skal | af2ce460d9addd07ad2459125511308cfa7cdb44 | [
"Apache-2.0"
] | 3 | 2016-01-20T06:52:39.000Z | 2019-01-18T09:06:32.000Z | tests/test_module.py | mollstam/skal | af2ce460d9addd07ad2459125511308cfa7cdb44 | [
"Apache-2.0"
] | null | null | null | tests/test_module.py | mollstam/skal | af2ce460d9addd07ad2459125511308cfa7cdb44 | [
"Apache-2.0"
] | 3 | 2015-09-30T22:04:28.000Z | 2020-12-26T10:36:20.000Z | # Copyright (c) 2012-2013 - Max Persson <max@looplab.se>
#
# 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 l... | 31.402036 | 79 | 0.635038 | 1,570 | 12,341 | 4.89172 | 0.102548 | 0.036458 | 0.060417 | 0.079297 | 0.802344 | 0.785286 | 0.76875 | 0.760026 | 0.716016 | 0.657813 | 0 | 0.00801 | 0.231181 | 12,341 | 392 | 80 | 31.482143 | 0.801433 | 0.059396 | 0 | 0.674342 | 0 | 0 | 0.219365 | 0.007594 | 0 | 0 | 0 | 0.002551 | 0.180921 | 1 | 0.095395 | false | 0 | 0.055921 | 0 | 0.151316 | 0.003289 | 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 |
cf870b0c1b4a980981b2414d38256f569ca4703f | 549 | py | Python | libopy/__init__.py | evdatsion/libopy | 6360dad043929b6767abbfdddbf3accfa8920797 | [
"MIT"
] | null | null | null | libopy/__init__.py | evdatsion/libopy | 6360dad043929b6767abbfdddbf3accfa8920797 | [
"MIT"
] | null | null | null | libopy/__init__.py | evdatsion/libopy | 6360dad043929b6767abbfdddbf3accfa8920797 | [
"MIT"
] | null | null | null | from hdwallets import BIP32DerivationError as BIP32DerivationError # noqa: F401
from libopy._transaction import Transaction as Transaction # noqa: F401
from libopy._wallet import generate_wallet as generate_wallet # noqa: F401
from libopy._wallet import privkey_to_address as privkey_to_address # noqa: F401
from li... | 61 | 81 | 0.834244 | 80 | 549 | 5.425 | 0.2 | 0.129032 | 0.165899 | 0.248848 | 0.428571 | 0.428571 | 0.290323 | 0.290323 | 0 | 0 | 0 | 0.052301 | 0.129326 | 549 | 8 | 82 | 68.625 | 0.855649 | 0.138434 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8433ce0335d10c182226dda6e0406924cc46172 | 2,264 | py | Python | tests/unitary/LiquidityGaugeWrapper/test_approve.py | forest-friends/curve-dao-contracts | dfc4f279e1cf87723e672f1255a7b87c00ff997e | [
"MIT"
] | null | null | null | tests/unitary/LiquidityGaugeWrapper/test_approve.py | forest-friends/curve-dao-contracts | dfc4f279e1cf87723e672f1255a7b87c00ff997e | [
"MIT"
] | null | null | null | tests/unitary/LiquidityGaugeWrapper/test_approve.py | forest-friends/curve-dao-contracts | dfc4f279e1cf87723e672f1255a7b87c00ff997e | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import brownie
import pytest
@pytest.mark.parametrize("idx", range(5))
def test_initial_approval_is_zero(gauge_wrapper, accounts, idx):
assert gauge_wrapper.allowance(accounts[0], accounts[idx]) == 0
def test_approve(gauge_wrapper, accounts):
gauge_wrapper.approve(accounts[1], 10**19, {'... | 32.342857 | 79 | 0.717756 | 309 | 2,264 | 5.080906 | 0.174757 | 0.236943 | 0.107643 | 0.189172 | 0.711465 | 0.711465 | 0.711465 | 0.653503 | 0.628025 | 0.628025 | 0 | 0.061337 | 0.121466 | 2,264 | 69 | 80 | 32.811594 | 0.728004 | 0.007509 | 0 | 0.216216 | 0 | 0 | 0.028062 | 0 | 0 | 0 | 0 | 0 | 0.297297 | 1 | 0.27027 | false | 0 | 0.054054 | 0 | 0.324324 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d84f4031891110170b6afde142b53e9c62183e51 | 4,100 | py | Python | src/utils.py | danbailo/T1-Teoria-Computacao | 542c5c28289f48cd73ab6ad3f6654e330990de60 | [
"MIT"
] | null | null | null | src/utils.py | danbailo/T1-Teoria-Computacao | 542c5c28289f48cd73ab6ad3f6654e330990de60 | [
"MIT"
] | null | null | null | src/utils.py | danbailo/T1-Teoria-Computacao | 542c5c28289f48cd73ab6ad3f6654e330990de60 | [
"MIT"
] | null | null | null | import os
from time import time
import json
from collections import defaultdict
import core
hooks = [
('Crescente', core.crescent),
('Decrescente', core.decrescent),
('Eficiente', core.efficiency)
]
def create_imgs_directory():
if not os.path.exists(os.path.join('..','imgs')):
os.makedirs(os.path.join('..','img... | 34.166667 | 163 | 0.657073 | 607 | 4,100 | 4.276771 | 0.156507 | 0.069337 | 0.053929 | 0.048536 | 0.830894 | 0.76849 | 0.76849 | 0.757319 | 0.741525 | 0.643297 | 0 | 0.018464 | 0.167805 | 4,100 | 120 | 164 | 34.166667 | 0.74238 | 0 | 0 | 0.622642 | 0 | 0 | 0.077786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.056604 | false | 0 | 0.04717 | 0.009434 | 0.113208 | 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 |
d8ecc3cfe2a6d87e064d01f92bd2ca1a17facc85 | 27,948 | py | Python | samitorch/inputs/datasets.py | sami-ets/samitorch | b0407c110ae198a9e18594716811bd7184ff2f36 | [
"MIT"
] | 7 | 2019-10-19T20:20:37.000Z | 2021-02-03T03:47:54.000Z | samitorch/inputs/datasets.py | sami-ets/SAMITorch | b0407c110ae198a9e18594716811bd7184ff2f36 | [
"MIT"
] | null | null | null | samitorch/inputs/datasets.py | sami-ets/SAMITorch | b0407c110ae198a9e18594716811bd7184ff2f36 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 SAMITorch Authors. All Rights Reserved.
#
# Licensed under the MIT License;
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://opensource.org/licenses/MIT
#
# Unless required by applicable law or agreed to... | 49.291005 | 121 | 0.631315 | 3,136 | 27,948 | 5.415179 | 0.079082 | 0.024909 | 0.012719 | 0.016253 | 0.845955 | 0.834177 | 0.818867 | 0.810623 | 0.790778 | 0.773878 | 0 | 0.00166 | 0.288858 | 27,948 | 566 | 122 | 49.378092 | 0.85278 | 0.297732 | 0 | 0.65411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082192 | false | 0.003425 | 0.05137 | 0.020548 | 0.222603 | 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 |
2b1628a48b2705c10e658d825951d894bf2a0132 | 37 | py | Python | unique/__init__.py | amarinelli/unique-value-domain | cab781736ffa3ce193edd21c7fed475265ba9781 | [
"MIT"
] | 1 | 2020-05-20T19:40:49.000Z | 2020-05-20T19:40:49.000Z | unique/__init__.py | amarinelli/unique-value-domain | cab781736ffa3ce193edd21c7fed475265ba9781 | [
"MIT"
] | null | null | null | unique/__init__.py | amarinelli/unique-value-domain | cab781736ffa3ce193edd21c7fed475265ba9781 | [
"MIT"
] | null | null | null | from .core import get_unique_feature
| 18.5 | 36 | 0.864865 | 6 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b565319e48bbc05e0a9d26f84b4e2327398bd35 | 27 | py | Python | ham_package/ham_module.py | thinkAmi-sandbox/python_modulefinder-sample | 564f337f05656c0a196fea39367a310c38bef02d | [
"Unlicense"
] | null | null | null | ham_package/ham_module.py | thinkAmi-sandbox/python_modulefinder-sample | 564f337f05656c0a196fea39367a310c38bef02d | [
"Unlicense"
] | null | null | null | ham_package/ham_module.py | thinkAmi-sandbox/python_modulefinder-sample | 564f337f05656c0a196fea39367a310c38bef02d | [
"Unlicense"
] | null | null | null | def ham():
print('ham') | 13.5 | 16 | 0.518519 | 4 | 27 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 27 | 2 | 16 | 13.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 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 |
2b5d1d95f862e6718444f43838f118a934572db6 | 21 | py | Python | python/fasttext_module/fasttext/numpy/__init__.py | telescout/fastText | 8b657bbc8edd2fe200623f952be0088ff790d4b9 | [
"MIT"
] | null | null | null | python/fasttext_module/fasttext/numpy/__init__.py | telescout/fastText | 8b657bbc8edd2fe200623f952be0088ff790d4b9 | [
"MIT"
] | null | null | null | python/fasttext_module/fasttext/numpy/__init__.py | telescout/fastText | 8b657bbc8edd2fe200623f952be0088ff790d4b9 | [
"MIT"
] | null | null | null | from .numpy import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 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 |
995dd9616d90ac26230301e47f49a18e2d451805 | 20 | py | Python | pip/c19/countries/__init__.py | siphr/c19 | 1acf258668c0c5ede13f579c06aec73eee443c7b | [
"MIT"
] | null | null | null | pip/c19/countries/__init__.py | siphr/c19 | 1acf258668c0c5ede13f579c06aec73eee443c7b | [
"MIT"
] | null | null | null | pip/c19/countries/__init__.py | siphr/c19 | 1acf258668c0c5ede13f579c06aec73eee443c7b | [
"MIT"
] | null | null | null |
from .pk import pk
| 6.666667 | 18 | 0.7 | 4 | 20 | 3.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 2 | 19 | 10 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
510b017f4477220c885d5ee9b0de9dc852fc5650 | 84 | py | Python | tests/test_lola.py | arghyagod-coder/lolaaur | c5efa29f183e4803f43a0387ada9bb5696beda4b | [
"MIT"
] | 1 | 2021-06-29T06:59:25.000Z | 2021-06-29T06:59:25.000Z | tests/test_lola.py | arghyagod-coder/lolaaur | c5efa29f183e4803f43a0387ada9bb5696beda4b | [
"MIT"
] | null | null | null | tests/test_lola.py | arghyagod-coder/lolaaur | c5efa29f183e4803f43a0387ada9bb5696beda4b | [
"MIT"
] | null | null | null | from lolacli import __version__
def test_version():
assert __version__=='0.1.4' | 21 | 31 | 0.75 | 12 | 84 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.142857 | 84 | 4 | 32 | 21 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
5a9208ec4e5dcd5d02b11b43ad734388025cb3cb | 373 | py | Python | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Center_of_Gravity/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Center_of_Gravity/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Center_of_Gravity/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | ## @defgroup Methods-Center_of_Gravity Center_of_Gravity
# Description
# @ingroup Methods
from .compute_component_centers_of_gravity import compute_component_centers_of_gravity
from .compute_mission_center_of_gravity import compute_mission_center_of_gravity
from .compute_fuel_center_of_gravity_longitudinal_range impor... | 41.444444 | 112 | 0.911528 | 51 | 373 | 6.039216 | 0.313725 | 0.233766 | 0.292208 | 0.162338 | 0.675325 | 0.279221 | 0.279221 | 0 | 0 | 0 | 0 | 0 | 0.061662 | 373 | 8 | 113 | 46.625 | 0.88 | 0.219839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5ae4452bc1f2fe79d8b631f61bc01d9888d6302b | 6,094 | py | Python | analysis.py | fanta-mnix/speech-to-text-comparison | 1e43b55edea2dd943f08b9277bd63e2551299e0c | [
"MIT"
] | null | null | null | analysis.py | fanta-mnix/speech-to-text-comparison | 1e43b55edea2dd943f08b9277bd63e2551299e0c | [
"MIT"
] | null | null | null | analysis.py | fanta-mnix/speech-to-text-comparison | 1e43b55edea2dd943f08b9277bd63e2551299e0c | [
"MIT"
] | null | null | null | from Levenshtein import distance
def ratio(t1, t2):
return 1 - float(distance(t1, t2))/max(len(t1), len(t2))
audio1 = '''amigos são poucos e escassos ao longo da vida e esta é uma lição que eu duramente aprendi nós temos centenas de conhecidos mas temos poucos amigos e eu já lancei uma vez e volta a dizer que é... | 152.35 | 850 | 0.786511 | 1,032 | 6,094 | 4.64438 | 0.225775 | 0.020655 | 0.023367 | 0.015022 | 0.740872 | 0.725642 | 0.698727 | 0.691216 | 0.656374 | 0.618193 | 0 | 0.006999 | 0.179357 | 6,094 | 39 | 851 | 156.25641 | 0.95141 | 0 | 0 | 0 | 0 | 0.32 | 0.91385 | 0.005087 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | false | 0.12 | 0.04 | 0.04 | 0.12 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
85268c9adcf8e3b7ce2874dc264c4884245fda1b | 35 | py | Python | co_cn/net/__init__.py | zhujiagang/co-cn | 4ea18441fa1842eb5d87a90ab8f28f3d803ef1a5 | [
"BSD-2-Clause"
] | 7 | 2018-04-18T13:27:22.000Z | 2020-05-27T14:43:49.000Z | co_cn/net/__init__.py | zhujiagang/co-cn | 4ea18441fa1842eb5d87a90ab8f28f3d803ef1a5 | [
"BSD-2-Clause"
] | null | null | null | co_cn/net/__init__.py | zhujiagang/co-cn | 4ea18441fa1842eb5d87a90ab8f28f3d803ef1a5 | [
"BSD-2-Clause"
] | 1 | 2019-02-14T08:53:24.000Z | 2019-02-14T08:53:24.000Z | from .co_occ import Model as CO_CN
| 17.5 | 34 | 0.8 | 8 | 35 | 3.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 1 | 35 | 35 | 0.896552 | 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 |
51f65e66e62b166c461efa2b74952bf4217885d6 | 46 | py | Python | lexos/io/__init__.py | scottkleinman/lexos | d362ddd05ef23b5173ce303eb7b08ff3583ac709 | [
"MIT"
] | null | null | null | lexos/io/__init__.py | scottkleinman/lexos | d362ddd05ef23b5173ce303eb7b08ff3583ac709 | [
"MIT"
] | null | null | null | lexos/io/__init__.py | scottkleinman/lexos | d362ddd05ef23b5173ce303eb7b08ff3583ac709 | [
"MIT"
] | null | null | null | """__init__.py."""
from .basic import Loader
| 11.5 | 25 | 0.673913 | 6 | 46 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 3 | 26 | 15.333333 | 0.675 | 0.26087 | 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 |
cfe68ed15267082f11c7543cbef77bcc0d7414e3 | 4,818 | py | Python | test/integration/replicasets/test_list_replicasets.py | RunsFor/cartridge-cli | 10ffc64450ca96452b0bd17a9000071382f34118 | [
"BSD-2-Clause"
] | 48 | 2019-08-29T10:05:01.000Z | 2022-01-25T16:41:59.000Z | test/integration/replicasets/test_list_replicasets.py | RunsFor/cartridge-cli | 10ffc64450ca96452b0bd17a9000071382f34118 | [
"BSD-2-Clause"
] | 306 | 2019-08-30T13:41:14.000Z | 2022-03-25T09:45:03.000Z | test/integration/replicasets/test_list_replicasets.py | RunsFor/cartridge-cli | 10ffc64450ca96452b0bd17a9000071382f34118 | [
"BSD-2-Clause"
] | 20 | 2019-08-29T14:30:21.000Z | 2022-03-18T12:11:24.000Z | import pytest
from integration.replicasets.utils import set_instance_zone
from utils import run_command_and_get_output, write_conf
def test_default_application(cartridge_cmd, default_project_with_instances):
project = default_project_with_instances.project
# setup replicasets
cmd = [
cartridge_cm... | 29.378049 | 83 | 0.63242 | 594 | 4,818 | 4.947811 | 0.156566 | 0.042872 | 0.06805 | 0.043552 | 0.819667 | 0.763525 | 0.727458 | 0.708404 | 0.708404 | 0.694454 | 0 | 0.03172 | 0.254047 | 4,818 | 163 | 84 | 29.558282 | 0.779633 | 0.030718 | 0 | 0.663934 | 0 | 0 | 0.341772 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 1 | 0.032787 | false | 0 | 0.02459 | 0 | 0.057377 | 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 |
5c9282737c7d45d0c39f8985609f52d92a3a0217 | 4,272 | py | Python | tests/integration/infra/api/devices/http_endpoints/test_index_controller/test_list_devices.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 19 | 2020-01-25T22:52:09.000Z | 2022-03-20T13:45:10.000Z | tests/integration/infra/api/devices/http_endpoints/test_index_controller/test_list_devices.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 15 | 2019-10-07T18:18:40.000Z | 2020-10-17T15:47:39.000Z | tests/integration/infra/api/devices/http_endpoints/test_index_controller/test_list_devices.py | mirumon/mirumon-backend | 9b4d914b67dcc839ed8264f470e822dc22c98ad7 | [
"MIT"
] | 1 | 2020-01-20T14:16:29.000Z | 2020-01-20T14:16:29.000Z | import uuid
import pytest
from mirumon.domain.devices.entities import Device
pytestmark = [pytest.mark.asyncio]
async def test_devices_list_without_registered_devices(app, client):
url = app.url_path_for("devices:list")
response = await client.get(url)
assert response.status_code == 200
assert resp... | 29.061224 | 87 | 0.643727 | 523 | 4,272 | 4.952199 | 0.118547 | 0.120463 | 0.075676 | 0.045946 | 0.834363 | 0.822394 | 0.801931 | 0.774131 | 0.746718 | 0.676834 | 0 | 0.012943 | 0.240403 | 4,272 | 146 | 88 | 29.260274 | 0.785208 | 0 | 0 | 0.543103 | 0 | 0 | 0.083567 | 0.01779 | 0 | 0 | 0 | 0 | 0.103448 | 1 | 0 | false | 0 | 0.025862 | 0 | 0.025862 | 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 |
7a2912671dd522c4bc0cd8edc8f612b7edbc0ad0 | 44 | py | Python | functions/villain/post/postVillain.py | jeffpignataro/hero-villan-serverless-api | 5c28e03f1a8b5c4de6e72c9cf718256b34e4a2df | [
"MIT"
] | null | null | null | functions/villain/post/postVillain.py | jeffpignataro/hero-villan-serverless-api | 5c28e03f1a8b5c4de6e72c9cf718256b34e4a2df | [
"MIT"
] | null | null | null | functions/villain/post/postVillain.py | jeffpignataro/hero-villan-serverless-api | 5c28e03f1a8b5c4de6e72c9cf718256b34e4a2df | [
"MIT"
] | null | null | null | from models.villain.villain import villain
| 22 | 43 | 0.840909 | 6 | 44 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.948718 | 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 |
7a50044d65a0e32345e057984558059246ba2672 | 32 | py | Python | python_tests/subprocess.py | qihqi/custom_loader | aaf54c8465a48ef3162dd5cbf9ac3185c44b3e30 | [
"BSD-3-Clause"
] | null | null | null | python_tests/subprocess.py | qihqi/custom_loader | aaf54c8465a48ef3162dd5cbf9ac3185c44b3e30 | [
"BSD-3-Clause"
] | null | null | null | python_tests/subprocess.py | qihqi/custom_loader | aaf54c8465a48ef3162dd5cbf9ac3185c44b3e30 | [
"BSD-3-Clause"
] | null | null | null | import subprocess
print('done')
| 10.666667 | 17 | 0.78125 | 4 | 32 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 2 | 18 | 16 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
8fffe9d25be75046fdde804fd31b0cef84183863 | 2,365 | py | Python | gen_ts_frames_from_video.py | GuilinZ/conditional-lane-detection | 7a98dcc0e0e7f48773cf97e9a0d9fd05c0f0e083 | [
"Apache-2.0"
] | null | null | null | gen_ts_frames_from_video.py | GuilinZ/conditional-lane-detection | 7a98dcc0e0e7f48773cf97e9a0d9fd05c0f0e083 | [
"Apache-2.0"
] | null | null | null | gen_ts_frames_from_video.py | GuilinZ/conditional-lane-detection | 7a98dcc0e0e7f48773cf97e9a0d9fd05c0f0e083 | [
"Apache-2.0"
] | null | null | null | import cv2
import numpy as np
import json
path = './freeway_drive.MP4'
cap = cv2.VideoCapture(path)
num_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
js_line = '{"lanes": [[-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, 410, 468, 483, 477, 460, 437, 412, 387, 356, 322, 288, 254, 220, 186, 152, 118, 84, 50, 16, -2, -2, -2,... | 67.571429 | 1,374 | 0.541649 | 437 | 2,365 | 2.87643 | 0.540046 | 0.14638 | 0.207637 | 0.260939 | 0.234686 | 0.188544 | 0.188544 | 0.172633 | 0.145585 | 0.145585 | 0 | 0.399678 | 0.211839 | 2,365 | 35 | 1,375 | 67.571429 | 0.274678 | 0.097252 | 0 | 0 | 0 | 0.043478 | 0.740602 | 0.076598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.130435 | 0 | 0.130435 | 0.086957 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
64fbc34b75a706e1799a524bc9146853351c8aa2 | 39,364 | py | Python | msksidekick.py | delphix/msksidekick | d8e06200ce7a5e6777bfd5286f8df63cfee39f30 | [
"Apache-2.0"
] | 4 | 2021-02-23T19:23:09.000Z | 2021-08-17T12:56:00.000Z | msksidekick.py | delphix/msksidekick | d8e06200ce7a5e6777bfd5286f8df63cfee39f30 | [
"Apache-2.0"
] | 3 | 2021-03-05T21:49:47.000Z | 2021-04-29T20:59:03.000Z | msksidekick.py | delphix/msksidekick | d8e06200ce7a5e6777bfd5286f8df63cfee39f30 | [
"Apache-2.0"
] | 1 | 2021-10-13T00:40:04.000Z | 2021-10-13T00:40:04.000Z | # Author : Ajay Thotangare
# Created : 05/11/2020
# Purpose : Sidekick for masking server.It heps to
# 1) Load balance masking job
# 2) Sync job/env/global objects/engines
# 3) Backup / Recover metadata to/from filesystem
#############################################################... | 28.339813 | 119 | 0.59684 | 4,071 | 39,364 | 5.677475 | 0.09408 | 0.038074 | 0.025008 | 0.027863 | 0.774759 | 0.759962 | 0.736815 | 0.705447 | 0.685761 | 0.681564 | 0 | 0.005202 | 0.277284 | 39,364 | 1,388 | 120 | 28.360231 | 0.807234 | 0.087669 | 0 | 0.739389 | 0 | 0 | 0.255894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022071 | false | 0.078947 | 0.009338 | 0.000849 | 0.033956 | 0.117148 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8f444b8fb7f3fbcb198108c584a5bfbfc257030d | 98 | py | Python | src/internals/errors/invalid_transition_error.py | mabel-dev/salmon | 90866d16b08925206d1f8d9b3c8290fcd35f5322 | [
"MIT"
] | null | null | null | src/internals/errors/invalid_transition_error.py | mabel-dev/salmon | 90866d16b08925206d1f8d9b3c8290fcd35f5322 | [
"MIT"
] | null | null | null | src/internals/errors/invalid_transition_error.py | mabel-dev/salmon | 90866d16b08925206d1f8d9b3c8290fcd35f5322 | [
"MIT"
] | null | null | null | from .base_exception import BaseException
class InvalidTransitionError(BaseException):
pass
| 16.333333 | 44 | 0.826531 | 9 | 98 | 8.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 5 | 45 | 19.6 | 0.941176 | 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 |
56bfef75d9729bec14e64b1cdd8d2232c8793f8e | 82 | py | Python | dashboard/__init__.py | mueller-stephan/car-classification | 6b620091e071535ea112a6e19c1d15de21dadbd1 | [
"MIT"
] | 2 | 2020-03-21T19:26:39.000Z | 2021-06-14T18:45:10.000Z | dashboard/__init__.py | fabianmax/car-classification | 2c32a57b0404c2da6c341a6f496c9912fbd19b50 | [
"MIT"
] | null | null | null | dashboard/__init__.py | fabianmax/car-classification | 2c32a57b0404c2da6c341a6f496c9912fbd19b50 | [
"MIT"
] | 5 | 2020-02-26T13:35:23.000Z | 2022-03-11T20:05:34.000Z | from .app import app, game_data, server
__all__ = ['app', 'game_data', 'server']
| 20.5 | 40 | 0.682927 | 12 | 82 | 4.166667 | 0.583333 | 0.28 | 0.44 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 3 | 41 | 27.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
56eff7be9ed41b8822eeeedde9c72911867ef3c8 | 70,941 | py | Python | game/optimize_dirty_rects.py | mouton5000/DiscreteEventApplicationEditor | 4a4272fd9b0a7f3f228fee1e9e7b351e4a21cd33 | [
"MIT"
] | null | null | null | game/optimize_dirty_rects.py | mouton5000/DiscreteEventApplicationEditor | 4a4272fd9b0a7f3f228fee1e9e7b351e4a21cd33 | [
"MIT"
] | null | null | null | game/optimize_dirty_rects.py | mouton5000/DiscreteEventApplicationEditor | 4a4272fd9b0a7f3f228fee1e9e7b351e4a21cd33 | [
"MIT"
] | null | null | null | # coding: ascii
# optimize_dirty_rects
"""Optimize a list of dirty rects so that there are no overlapping rects
File version: 1.1
Minimum Python version: 2.4
Inspirations:
"It turns out, that there are quite many combinations...
To represent all cases we use a table."
... | 46.549213 | 98 | 0.283926 | 5,607 | 70,941 | 3.416087 | 0.098448 | 0.032891 | 0.026731 | 0.039365 | 0.752637 | 0.735147 | 0.717605 | 0.70095 | 0.664143 | 0.63616 | 0 | 0.038994 | 0.575239 | 70,941 | 1,523 | 99 | 46.579777 | 0.596655 | 0.30641 | 0 | 0.738532 | 0 | 0 | 0.002265 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 1 | 0.029817 | false | 0 | 0.011468 | 0 | 0.084862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 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 |
71146a4e40552fabe6a61fb51a32d6af6e8e6fa4 | 4,075 | gyp | Python | sample/ajax/node_modules/_xd-synchttp@0.4.1@xd-synchttp/src/binding.gyp | WoJoinGitHub/t4node | 957c7b5ea2cd8328c3c86f3f9cd2643c2ab33563 | [
"Apache-2.0"
] | 4 | 2019-01-03T08:08:09.000Z | 2019-04-23T05:56:49.000Z | sample/ajax/node_modules/_xd-synchttp@0.4.1@xd-synchttp/src/binding.gyp | WoJoinGitHub/t4node | 957c7b5ea2cd8328c3c86f3f9cd2643c2ab33563 | [
"Apache-2.0"
] | null | null | null | sample/ajax/node_modules/_xd-synchttp@0.4.1@xd-synchttp/src/binding.gyp | WoJoinGitHub/t4node | 957c7b5ea2cd8328c3c86f3f9cd2643c2ab33563 | [
"Apache-2.0"
] | null | null | null | {
"targets": [
{
"target_name":"binding",
"sources":["png.c","jpeg.c","gif.c","imagesize.c","binding.c"],
'dependencies':['./binding.gyp:libhttp','./binding.gyp:libpng','./binding.gyp:libjpeg'],
},
{
"target_name":"libhttp",
"type":'static_library',
"sources":["http.c"]
},
{
"target_name"... | 29.107143 | 90 | 0.565153 | 483 | 4,075 | 4.724638 | 0.221532 | 0.359334 | 0.351884 | 0.295793 | 0.12007 | 0.1078 | 0.1078 | 0 | 0 | 0 | 0 | 0.001838 | 0.198773 | 4,075 | 139 | 91 | 29.316547 | 0.69709 | 0 | 0 | 0.134328 | 0 | 0 | 0.715302 | 0.581851 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8548330d203064b04fc68a41db859c80564fd24e | 15,868 | py | Python | Sentiment_Adjectives/lm_finetune/bert_ima_finetune.py | tilmanbeck/CausaLM | 0533a5dfa6107f996ddf84d736d0169d3cbdffc4 | [
"MIT"
] | 35 | 2020-06-14T13:15:37.000Z | 2022-03-28T10:41:39.000Z | Sentiment_Adjectives/lm_finetune/bert_ima_finetune.py | tilmanbeck/CausaLM | 0533a5dfa6107f996ddf84d736d0169d3cbdffc4 | [
"MIT"
] | 1 | 2022-01-05T02:51:25.000Z | 2022-01-05T02:51:25.000Z | Sentiment_Adjectives/lm_finetune/bert_ima_finetune.py | tilmanbeck/CausaLM | 0533a5dfa6107f996ddf84d736d0169d3cbdffc4 | [
"MIT"
] | 10 | 2020-07-20T08:05:10.000Z | 2022-02-09T01:26:00.000Z | from transformers.modeling_bert import BertLMPredictionHead, BertPreTrainedModel, BertModel
from BERT.lm_finetune.grad_reverse_layer import GradReverseLayerFunction
from BERT.bert_text_dataset import BertTextDataset
from BERT.bert_pos_tagger import BertTokenClassificationDataset
from torch.nn import CrossEntropyLoss
im... | 60.564885 | 153 | 0.650681 | 1,794 | 15,868 | 5.459866 | 0.122074 | 0.055539 | 0.02389 | 0.019602 | 0.838795 | 0.800919 | 0.798673 | 0.780602 | 0.768249 | 0.732415 | 0 | 0.005148 | 0.265503 | 15,868 | 261 | 154 | 60.796935 | 0.835264 | 0.40087 | 0 | 0.463768 | 0 | 0 | 0.001308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.050725 | 0.007246 | 0.253623 | 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 |
855dabac66e871e20f403b6761df07a3be15c02a | 71 | py | Python | mstc/learning/__init__.py | PhosphorylatedRabbits/mass_spec_trans_coding | 820103c6026b69486e0c89e487d4e90af84e87dc | [
"MIT"
] | 1 | 2021-09-06T08:35:14.000Z | 2021-09-06T08:35:14.000Z | mstc/learning/__init__.py | PhosphorylatedRabbits/mass_spec_trans_coding | 820103c6026b69486e0c89e487d4e90af84e87dc | [
"MIT"
] | null | null | null | mstc/learning/__init__.py | PhosphorylatedRabbits/mass_spec_trans_coding | 820103c6026b69486e0c89e487d4e90af84e87dc | [
"MIT"
] | null | null | null | from .pipeline import generate_cross_validation_pipeline # noqa: F401
| 35.5 | 70 | 0.84507 | 9 | 71 | 6.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.112676 | 71 | 1 | 71 | 71 | 0.857143 | 0.140845 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4517666c3848750ddc429b8dce94a83167f9c57 | 132 | py | Python | crawler/test_code/test_get_ip_address.py | Coslate/NBA_Win_Predictor | c8f4fb5a12fdd36bd43e573510bfb2307f37ec1f | [
"MIT"
] | null | null | null | crawler/test_code/test_get_ip_address.py | Coslate/NBA_Win_Predictor | c8f4fb5a12fdd36bd43e573510bfb2307f37ec1f | [
"MIT"
] | null | null | null | crawler/test_code/test_get_ip_address.py | Coslate/NBA_Win_Predictor | c8f4fb5a12fdd36bd43e573510bfb2307f37ec1f | [
"MIT"
] | null | null | null | #! /usr/bin/env python3.6
import package_tool_surf.tool_surf as tool_surf
print(f'ip_address = {tool_surf.GetPublicIPAddress()}')
| 22 | 55 | 0.780303 | 21 | 132 | 4.619048 | 0.714286 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.090909 | 132 | 5 | 56 | 26.4 | 0.791667 | 0.181818 | 0 | 0 | 0 | 0 | 0.420561 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
a471f15b413ec164b3d71a60d3c51d10c2d63a42 | 2,548 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_30_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_30_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_30_01_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_30_01_10 = {0: {'A': -0.226, 'C': 0.176, 'E': -0.07, 'D': 0.236, 'G': -0.022, 'F': 0.205, 'I': -0.423, 'H': -0.175, 'K': -0.699, 'M': -0.184, 'L': 0.1, 'N': 0.02, 'Q': -0.071, 'P': 0.372, 'S': 0.088, 'R': -0.425, 'T': 0.333, 'W': 0.31, 'V': 0.12, 'Y': 0.334}, 1: {'A': 0.222, 'C': 0.03, 'E': 0.206, 'D': 0.049, 'G': -0... | 2,548 | 2,548 | 0.390502 | 618 | 2,548 | 1.605178 | 0.279935 | 0.020161 | 0.010081 | 0.012097 | 0.014113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.36926 | 0.16248 | 2,548 | 1 | 2,548 | 2,548 | 0.095595 | 0 | 0 | 0 | 0 | 0 | 0.079639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a476fa3f4a2dab1ad63200eb80ffebbaa8bf3b30 | 36 | py | Python | rentomatic/domain/__init__.py | skhalymon/rentomatic | 87a59c9a16df6b86dbd3508170b000fba1661e14 | [
"MIT"
] | null | null | null | rentomatic/domain/__init__.py | skhalymon/rentomatic | 87a59c9a16df6b86dbd3508170b000fba1661e14 | [
"MIT"
] | null | null | null | rentomatic/domain/__init__.py | skhalymon/rentomatic | 87a59c9a16df6b86dbd3508170b000fba1661e14 | [
"MIT"
] | null | null | null | from .storageroom import StorageRoom | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 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 |
a49aa1819c8a4512630914c19964fce993e4f4c2 | 9,449 | py | Python | basset/tests/test_converter.py | team-supercharge/basset-ios | 8336eb2df0d03fe184c7fd14843c8facd471607d | [
"MIT"
] | null | null | null | basset/tests/test_converter.py | team-supercharge/basset-ios | 8336eb2df0d03fe184c7fd14843c8facd471607d | [
"MIT"
] | null | null | null | basset/tests/test_converter.py | team-supercharge/basset-ios | 8336eb2df0d03fe184c7fd14843c8facd471607d | [
"MIT"
] | null | null | null | import shutil
import tempfile
from unittest import TestCase
from wand.image import Image
from basset.exceptions import *
from basset.helpers.converter import Converter
class TestConverter(TestCase):
temp_dir_path = ""
converter_tests_resource_path = "converter"
converter_output_tests_resource_path = "c... | 47.245 | 123 | 0.698804 | 1,229 | 9,449 | 5.022783 | 0.108218 | 0.042767 | 0.068038 | 0.054431 | 0.812571 | 0.771424 | 0.749879 | 0.724931 | 0.710028 | 0.669529 | 0 | 0.023411 | 0.190814 | 9,449 | 199 | 124 | 47.482412 | 0.783939 | 0 | 0 | 0.5 | 0 | 0 | 0.099809 | 0.019157 | 0 | 0 | 0 | 0 | 0.196203 | 1 | 0.094937 | false | 0.006329 | 0.037975 | 0 | 0.164557 | 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 |
a49eb9f0519734ac375994589e3db5e2f4ccca7d | 156 | py | Python | scikits/talkbox/features/__init__.py | neEverett/talkbox | ee0ec30a6a6d483eb9284f72bdaf26bd99765f80 | [
"MIT"
] | 65 | 2015-02-18T05:23:12.000Z | 2022-02-21T13:09:34.000Z | scikits/talkbox/features/__init__.py | neEverett/talkbox | ee0ec30a6a6d483eb9284f72bdaf26bd99765f80 | [
"MIT"
] | 5 | 2016-06-26T08:46:22.000Z | 2019-01-09T03:03:39.000Z | scikits/talkbox/features/__init__.py | neEverett/talkbox | ee0ec30a6a6d483eb9284f72bdaf26bd99765f80 | [
"MIT"
] | 31 | 2015-02-23T22:42:15.000Z | 2022-02-21T13:09:34.000Z | from scikits.talkbox.features.mel import mel2hz, hz2mel
__all__ = ['mel2hz', 'hz2mel']
from scikits.talkbox.features.mfcc import mfcc
__all__ += ['mfcc']
| 26 | 55 | 0.75 | 20 | 156 | 5.45 | 0.5 | 0.201835 | 0.330275 | 0.477064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.115385 | 156 | 5 | 56 | 31.2 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a4a4bc948dded2d6afc5dcd9d23e525577f35d17 | 20 | py | Python | dataloaders/__init__.py | psui3905/CCT | 637cbac130b39f02733339c79cdf1d531e339e9c | [
"MIT"
] | 308 | 2020-06-09T13:37:17.000Z | 2022-03-24T07:43:33.000Z | dataloaders/__init__.py | lesvay/CCT | cf98ea7e6aefa7091e6c375a9025ba1e0f6e53ca | [
"MIT"
] | 55 | 2020-06-16T11:57:54.000Z | 2022-03-09T12:04:58.000Z | dataloaders/__init__.py | lesvay/CCT | cf98ea7e6aefa7091e6c375a9025ba1e0f6e53ca | [
"MIT"
] | 51 | 2020-06-08T02:42:14.000Z | 2022-02-25T16:38:36.000Z | from .voc import VOC | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 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 |
f10f65a7b08891482ef78385aedd40a97602cbcc | 44 | py | Python | build/lib/requestmap/Utilities/__init__.py | yyjlincoln/RequestMap | 3fff1117e4aef59afe66cce29cd29e7670ae46f7 | [
"Apache-2.0"
] | 2 | 2021-12-12T06:25:51.000Z | 2021-12-26T11:08:27.000Z | build/lib/requestmap/Utilities/__init__.py | yyjlincoln/RequestMap | 3fff1117e4aef59afe66cce29cd29e7670ae46f7 | [
"Apache-2.0"
] | null | null | null | build/lib/requestmap/Utilities/__init__.py | yyjlincoln/RequestMap | 3fff1117e4aef59afe66cce29cd29e7670ae46f7 | [
"Apache-2.0"
] | null | null | null | from . import JITDictionary as JITDictionary | 44 | 44 | 0.863636 | 5 | 44 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.974359 | 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 |
74c8547e0e3099bdcdaff0b6bd2f51cdf97e4409 | 112 | py | Python | app/file_management/__init__.py | kiza054/woodhall-scout-blog-prototype | bc7dc0b766263bb7a1a4d342d27c57d7989ff152 | [
"MIT"
] | null | null | null | app/file_management/__init__.py | kiza054/woodhall-scout-blog-prototype | bc7dc0b766263bb7a1a4d342d27c57d7989ff152 | [
"MIT"
] | null | null | null | app/file_management/__init__.py | kiza054/woodhall-scout-blog-prototype | bc7dc0b766263bb7a1a4d342d27c57d7989ff152 | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('file_management', __name__)
from app.file_management import routes | 22.4 | 43 | 0.821429 | 15 | 112 | 5.733333 | 0.666667 | 0.325581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 112 | 5 | 44 | 22.4 | 0.868687 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
74efa79d02e726ff5ce2006cb72132cea91ea0e8 | 10,947 | py | Python | cmframework/test/cmdsshandler_test.py | akraino-edge-stack/ta-config-manager | 8a3f88d0dbf6afdb0130b9d35e563f8a54d15d44 | [
"Apache-2.0"
] | null | null | null | cmframework/test/cmdsshandler_test.py | akraino-edge-stack/ta-config-manager | 8a3f88d0dbf6afdb0130b9d35e563f8a54d15d44 | [
"Apache-2.0"
] | null | null | null | cmframework/test/cmdsshandler_test.py | akraino-edge-stack/ta-config-manager | 8a3f88d0dbf6afdb0130b9d35e563f8a54d15d44 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Nokia
# 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, softwar... | 42.430233 | 100 | 0.730063 | 1,450 | 10,947 | 5.211034 | 0.084828 | 0.100053 | 0.113552 | 0.118184 | 0.867258 | 0.863684 | 0.850582 | 0.848465 | 0.834833 | 0.826628 | 0 | 0.0013 | 0.156755 | 10,947 | 257 | 101 | 42.595331 | 0.817246 | 0.049511 | 0 | 0.660494 | 0 | 0 | 0.237683 | 0.148961 | 0 | 0 | 0 | 0 | 0.209877 | 1 | 0.111111 | false | 0 | 0.049383 | 0 | 0.166667 | 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 |
2d07488f1b9312b8fb796945441f4f88c35afe8a | 27 | py | Python | parser/__init__.py | magarnicle/vcarded | d8663c0fd6a4472d1bf7a56e43dc134e7a853817 | [
"Unlicense"
] | null | null | null | parser/__init__.py | magarnicle/vcarded | d8663c0fd6a4472d1bf7a56e43dc134e7a853817 | [
"Unlicense"
] | null | null | null | parser/__init__.py | magarnicle/vcarded | d8663c0fd6a4472d1bf7a56e43dc134e7a853817 | [
"Unlicense"
] | null | null | null | from parser.parse import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7422b791b165d64a9c090a04a0ee6a03c755c42d | 1,890 | py | Python | mycode.py | Shaik-sameer-AIML/mobilerobot-openloopcontrol | 47748cc44a35d280db5d3f7c72a1c28c4c07e4d2 | [
"BSD-3-Clause"
] | null | null | null | mycode.py | Shaik-sameer-AIML/mobilerobot-openloopcontrol | 47748cc44a35d280db5d3f7c72a1c28c4c07e4d2 | [
"BSD-3-Clause"
] | null | null | null | mycode.py | Shaik-sameer-AIML/mobilerobot-openloopcontrol | 47748cc44a35d280db5d3f7c72a1c28c4c07e4d2 | [
"BSD-3-Clause"
] | null | null | null |
from robomaster import robot
import time
if _name_ == '_main_':
ep_robot = robot.Robot()
ep_robot.initialize(conn_type="ap")
ep_chassis = ep_robot.chassis
ep_led = ep_robot.led
ep_led.set_led(comp="all",r=255,g=0,b=0,effect="on")
ep_chassis.move(x=2, y=0, z=0, xy_speed=1).wait_for_complete... | 35 | 112 | 0.639153 | 388 | 1,890 | 2.93299 | 0.170103 | 0.102812 | 0.077329 | 0.106327 | 0.760984 | 0.760984 | 0.760984 | 0.734622 | 0.734622 | 0.732865 | 0 | 0.082759 | 0.156085 | 1,890 | 54 | 112 | 35 | 0.630721 | 0.003704 | 0 | 0.487805 | 0 | 0 | 0.039894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.04878 | null | null | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
742c6a53f115d2b8a18c4ed73dc55c5b1e2cc9d4 | 8,584 | py | Python | tests/unit/test_test_matchers.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 14 | 2020-04-28T08:51:43.000Z | 2022-02-12T13:40:34.000Z | tests/unit/test_test_matchers.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 47 | 2020-05-18T14:19:31.000Z | 2022-03-04T13:46:46.000Z | tests/unit/test_test_matchers.py | RerrerBuub/asciidoxy | 3402f37d59e30975e9919653465839e396f05513 | [
"Apache-2.0"
] | 8 | 2020-05-17T20:52:42.000Z | 2022-02-25T16:16:01.000Z | # Copyright (C) 2019-2021, TomTom (http://tomtom.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 o... | 50.792899 | 99 | 0.687092 | 1,054 | 8,584 | 5.406072 | 0.114801 | 0.185328 | 0.095823 | 0.138996 | 0.822218 | 0.805019 | 0.786943 | 0.769393 | 0.717269 | 0.583187 | 0 | 0.002728 | 0.145969 | 8,584 | 168 | 100 | 51.095238 | 0.774519 | 0.077936 | 0 | 0.350877 | 0 | 0 | 0.029762 | 0 | 0 | 0 | 0 | 0 | 0.552632 | 1 | 0.114035 | false | 0 | 0.017544 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
744b26a34d0b11d61b4ad844fc454d894622bc00 | 334 | py | Python | src/spaceone/inventory/connector/__init__.py | spaceone-dev/plugin-oracle-cloud-service-inven-collector | 555dac75b69ebc9ea0f778d69e81407a88be1853 | [
"Apache-2.0"
] | 2 | 2021-02-22T07:08:17.000Z | 2021-04-19T10:16:28.000Z | src/spaceone/inventory/connector/__init__.py | spaceone-dev/plugin-oracle-cloud-service-inven-collector | 555dac75b69ebc9ea0f778d69e81407a88be1853 | [
"Apache-2.0"
] | null | null | null | src/spaceone/inventory/connector/__init__.py | spaceone-dev/plugin-oracle-cloud-service-inven-collector | 555dac75b69ebc9ea0f778d69e81407a88be1853 | [
"Apache-2.0"
] | 4 | 2021-02-08T02:21:57.000Z | 2021-06-25T02:28:35.000Z | from spaceone.inventory.libs.connector import OCIConnector
from spaceone.inventory.connector.autonomous_database import AutonomousDatabaseConnector
from spaceone.inventory.connector.baremetal_vm_database import BareMetalVMDatabaseConnector
from spaceone.inventory.connector.exadata_cloud_database import ExadataCloudData... | 66.8 | 93 | 0.916168 | 33 | 334 | 9.121212 | 0.484848 | 0.159468 | 0.27907 | 0.299003 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047904 | 334 | 4 | 94 | 83.5 | 0.946541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
745f7e3fef475e081b2c57b32039dbc3780619e7 | 109 | py | Python | Python/myprojects/models/__init__.py | iatanasov77/my-web-projects-guis | 833899dc99ed952ee813c49f0d5852da498d93eb | [
"MIT"
] | null | null | null | Python/myprojects/models/__init__.py | iatanasov77/my-web-projects-guis | 833899dc99ed952ee813c49f0d5852da498d93eb | [
"MIT"
] | null | null | null | Python/myprojects/models/__init__.py | iatanasov77/my-web-projects-guis | 833899dc99ed952ee813c49f0d5852da498d93eb | [
"MIT"
] | null | null | null | from .postmodel import *
from .commentmodel import *
from .questionmodel import *
from .choicemodel import *
| 21.8 | 28 | 0.779817 | 12 | 109 | 7.083333 | 0.5 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 109 | 4 | 29 | 27.25 | 0.913978 | 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 |
74a7273d74378282c6c8da6a8a51a09ffb640c7c | 24 | py | Python | midas_web_solution/midas_web_solution/settings/__init__.py | jupiny/MIDASWebSolution | c6250bb7aeab815b3c759ae4f7b419da50c26b1c | [
"MIT"
] | null | null | null | midas_web_solution/midas_web_solution/settings/__init__.py | jupiny/MIDASWebSolution | c6250bb7aeab815b3c759ae4f7b419da50c26b1c | [
"MIT"
] | null | null | null | midas_web_solution/midas_web_solution/settings/__init__.py | jupiny/MIDASWebSolution | c6250bb7aeab815b3c759ae4f7b419da50c26b1c | [
"MIT"
] | null | null | null | from .partials import *
| 12 | 23 | 0.75 | 3 | 24 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77cabf0231475641fc08f1640f659ef30f41c2f0 | 114 | py | Python | Demos/HelloWorld/Assets/Test.py | WhoBrokeTheBuild/Ryme | 945c4ab135dbe411f43787cbf222589b13420d4b | [
"MIT"
] | null | null | null | Demos/HelloWorld/Assets/Test.py | WhoBrokeTheBuild/Ryme | 945c4ab135dbe411f43787cbf222589b13420d4b | [
"MIT"
] | null | null | null | Demos/HelloWorld/Assets/Test.py | WhoBrokeTheBuild/Ryme | 945c4ab135dbe411f43787cbf222589b13420d4b | [
"MIT"
] | null | null | null |
import ryme
ryme.Log("Hello, World!")
ryme.Log(repr(ryme.GetVersion()))
ryme.Log(repr(ryme.GetCurrentPath()))
| 12.666667 | 37 | 0.710526 | 16 | 114 | 5.0625 | 0.5 | 0.259259 | 0.271605 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 114 | 8 | 38 | 14.25 | 0.778846 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77ccd1dd7eaa3977f52ebf40d1349e25ff3bf7f7 | 52 | py | Python | submod_b/subpackages/submod_b/__init__.py | SpenserHaddad/pyinstaller-namespace-issue-repro | 0578b4063279ef95ce2c0735b76fe2c75945ad4f | [
"MIT"
] | null | null | null | submod_b/subpackages/submod_b/__init__.py | SpenserHaddad/pyinstaller-namespace-issue-repro | 0578b4063279ef95ce2c0735b76fe2c75945ad4f | [
"MIT"
] | null | null | null | submod_b/subpackages/submod_b/__init__.py | SpenserHaddad/pyinstaller-namespace-issue-repro | 0578b4063279ef95ce2c0735b76fe2c75945ad4f | [
"MIT"
] | null | null | null | def sayhi():
return "Hello from submodule B!!!"
| 17.333333 | 38 | 0.634615 | 7 | 52 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 2 | 39 | 26 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
77d436d7c37ad9bfe4ac8247a98cd877859555d8 | 34 | py | Python | bumpv/client/config/__init__.py | kylie-a/bumpversion | 13a150daa02f29e7dd74b5240c54c7929ec176b8 | [
"MIT"
] | null | null | null | bumpv/client/config/__init__.py | kylie-a/bumpversion | 13a150daa02f29e7dd74b5240c54c7929ec176b8 | [
"MIT"
] | null | null | null | bumpv/client/config/__init__.py | kylie-a/bumpversion | 13a150daa02f29e7dd74b5240c54c7929ec176b8 | [
"MIT"
] | 1 | 2019-11-24T15:36:19.000Z | 2019-11-24T15:36:19.000Z | from .config import Configuration
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 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 |
77ed766a4e2ebc7683b208018ab9e6092c469125 | 3,171 | py | Python | src/pyvalidations/rules/datetime.py | MajAhd/py_validations | 372b2b40c5b4e1565c04b1ec53b195596261c50d | [
"MIT"
] | 6 | 2021-12-15T23:33:07.000Z | 2022-02-13T17:12:53.000Z | src/pyvalidations/rules/datetime.py | MajAhd/py_validation | 372b2b40c5b4e1565c04b1ec53b195596261c50d | [
"MIT"
] | null | null | null | src/pyvalidations/rules/datetime.py | MajAhd/py_validation | 372b2b40c5b4e1565c04b1ec53b195596261c50d | [
"MIT"
] | null | null | null | from datetime import datetime
import re
class DateTime:
"""
Validate value is date/time
:param value : string
"""
def __init__(self, value):
self.value = value
def is_date(self):
"""
check date : YY-MM-YY
:return: bool
"""
try:
... | 26.425 | 102 | 0.465784 | 402 | 3,171 | 3.629353 | 0.136816 | 0.046607 | 0.069911 | 0.160384 | 0.840302 | 0.827279 | 0.823167 | 0.797121 | 0.695682 | 0.671693 | 0 | 0.045086 | 0.377483 | 3,171 | 119 | 103 | 26.647059 | 0.694022 | 0.193945 | 0 | 0.596774 | 0 | 0.048387 | 0.126525 | 0.089923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16129 | false | 0 | 0.032258 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77f28698c19737832656f6ebadfaa2056f303f89 | 132 | py | Python | src/Foundation/Module/mypkg/mod3.py | mryyomutga/PracticePython | e191d73064248d0983344b137fbe6b69e5eb1d12 | [
"MIT"
] | null | null | null | src/Foundation/Module/mypkg/mod3.py | mryyomutga/PracticePython | e191d73064248d0983344b137fbe6b69e5eb1d12 | [
"MIT"
] | null | null | null | src/Foundation/Module/mypkg/mod3.py | mryyomutga/PracticePython | e191d73064248d0983344b137fbe6b69e5eb1d12 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Module/mypkg/mod3.py
class MyClass():
def func3(self):
print("./mypkg/mod3.py")
print("func3")
| 18.857143 | 27 | 0.583333 | 18 | 132 | 4.277778 | 0.722222 | 0.233766 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046296 | 0.181818 | 132 | 6 | 28 | 22 | 0.666667 | 0.318182 | 0 | 0 | 0 | 0 | 0.246914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
77f6fe5689f503338b3dd8893892e3c6aeea2a19 | 138 | py | Python | online_pharmacy/cart/views.py | geekyJock8/online_pharmacy | 892852857786ec17259b71f2a178896cd6d12e60 | [
"Apache-2.0"
] | 5 | 2020-09-09T13:59:17.000Z | 2021-09-30T07:20:55.000Z | online_pharmacy/cart/views.py | geekyJock8/online_pharmacy | 892852857786ec17259b71f2a178896cd6d12e60 | [
"Apache-2.0"
] | 10 | 2017-09-03T06:13:31.000Z | 2017-10-10T15:22:30.000Z | online_pharmacy/cart/views.py | geekyJock8/Online-Pharmacy | 892852857786ec17259b71f2a178896cd6d12e60 | [
"Apache-2.0"
] | 9 | 2017-09-03T04:59:18.000Z | 2019-10-17T11:33:18.000Z | from django.http import HttpResponse
def showCart(request):
return HttpResponse('<h1>This is the cart of the required user. </h1>')
| 23 | 75 | 0.73913 | 20 | 138 | 5.1 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.15942 | 138 | 5 | 76 | 27.6 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.350365 | 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 |
7ae7ad6c6e8005228328a3deaa9863517a65cdf0 | 85 | py | Python | ranzen/torch/__init__.py | predictive-analytics-lab/mantra | 6c63d1d1e01745f31dbdc7c34f6c7932bcdccef8 | [
"Apache-2.0"
] | null | null | null | ranzen/torch/__init__.py | predictive-analytics-lab/mantra | 6c63d1d1e01745f31dbdc7c34f6c7932bcdccef8 | [
"Apache-2.0"
] | 4 | 2021-11-03T18:48:36.000Z | 2022-03-16T14:01:45.000Z | ranzen/torch/__init__.py | wearepal/ranzen | e249220026ccb5c05218c7202866690b5447d37e | [
"Apache-2.0"
] | null | null | null | from .data import *
from .loss import *
from .sampling import *
from .utils import *
| 17 | 23 | 0.717647 | 12 | 85 | 5.083333 | 0.5 | 0.491803 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188235 | 85 | 4 | 24 | 21.25 | 0.884058 | 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 |
7aed17745ee389a2a253ca209da95b23e8120ec6 | 94 | py | Python | python/multiply/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 2 | 2020-02-22T08:47:51.000Z | 2021-05-21T22:21:55.000Z | python/multiply/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | null | null | null | python/multiply/solution.py | hiljusti/codewars-solutions | 1a423e8cb0fbcac94738f6e51dc333f057b0a731 | [
"WTFPL"
] | 1 | 2021-11-09T17:22:10.000Z | 2021-11-09T17:22:10.000Z | # https://www.codewars.com/kata/50654ddff44f800200000004
def multiply(a, b):
return a * b
| 15.666667 | 56 | 0.723404 | 13 | 94 | 5.230769 | 0.846154 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234568 | 0.138298 | 94 | 5 | 57 | 18.8 | 0.604938 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
2495089e3bc04ee397577a6be58e07f9ed45a8e7 | 7,324 | py | Python | backpack/extensions/secondorder/hbp/linear.py | rioyokotalab/backpack | 000a1dbe7b2d6e5b309151df800edf866b9b514c | [
"MIT"
] | null | null | null | backpack/extensions/secondorder/hbp/linear.py | rioyokotalab/backpack | 000a1dbe7b2d6e5b309151df800edf866b9b514c | [
"MIT"
] | null | null | null | backpack/extensions/secondorder/hbp/linear.py | rioyokotalab/backpack | 000a1dbe7b2d6e5b309151df800edf866b9b514c | [
"MIT"
] | null | null | null | from backpack.core.derivatives.linear import LinearDerivatives
from backpack.extensions.secondorder.hbp.hbp_options import (
BackpropStrategy,
ExpectationApproximation,
)
from backpack.extensions.secondorder.hbp.hbpbase import HBPBaseModule
from backpack.utils.ein import einsum
class HBPLinear(HBPBaseModule):... | 35.553398 | 86 | 0.673266 | 874 | 7,324 | 5.262014 | 0.106407 | 0.057404 | 0.03392 | 0.028919 | 0.882148 | 0.815395 | 0.772777 | 0.71646 | 0.701022 | 0.676451 | 0 | 0.001607 | 0.235254 | 7,324 | 205 | 87 | 35.726829 | 0.819497 | 0 | 0 | 0.690789 | 0 | 0 | 0.04083 | 0.019391 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190789 | false | 0 | 0.026316 | 0.026316 | 0.414474 | 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 |
24d8bdd26e24a5d0554a74a1dd0dbb30e847cb4d | 188 | py | Python | Week1_PyThonBasic/InputOutputExerccise/Exercise1.py | minhvip2001/pythonproject | 0ad9e70203fae2cd038872a8d1a71c0bc9416cf3 | [
"MIT"
] | null | null | null | Week1_PyThonBasic/InputOutputExerccise/Exercise1.py | minhvip2001/pythonproject | 0ad9e70203fae2cd038872a8d1a71c0bc9416cf3 | [
"MIT"
] | null | null | null | Week1_PyThonBasic/InputOutputExerccise/Exercise1.py | minhvip2001/pythonproject | 0ad9e70203fae2cd038872a8d1a71c0bc9416cf3 | [
"MIT"
] | null | null | null | number1 = int(input("Enter number 1: "))
number2 = int(input("Enter number 2: "))
def multiplication(number1, number2):
return number1 * number2
print(multiplication(number1, number2)) | 37.6 | 41 | 0.734043 | 23 | 188 | 6 | 0.521739 | 0.304348 | 0.188406 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.12766 | 188 | 5 | 41 | 37.6 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
24ea3463355371cb0f00a55e6bd59c982719a000 | 96 | py | Python | venv/lib/python3.8/site-packages/toml/decoder.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/toml/decoder.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/toml/decoder.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/85/21/93/2dffb65810d9fdd768087585cba37ae3b5f2312875a37acdda8e1d1058 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.427083 | 0 | 96 | 1 | 96 | 96 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7019f81dcc2a8932414b45e0800613e41099e1b2 | 51 | py | Python | CybORG/CybORG/Shared/Actions/ShellActionsFolder/OpenConnectionFolder/CredentialAccessFolder/BruteForceAccessFolder/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 18 | 2021-08-20T15:07:55.000Z | 2022-03-11T12:05:15.000Z | CybORG/CybORG/Shared/Actions/ShellActionsFolder/OpenConnectionFolder/CredentialAccessFolder/BruteForceAccessFolder/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 7 | 2021-11-09T06:46:58.000Z | 2022-03-31T12:35:06.000Z | CybORG/CybORG/Shared/Actions/ShellActionsFolder/OpenConnectionFolder/CredentialAccessFolder/BruteForceAccessFolder/__init__.py | rafvasq/cage-challenge-1 | 95affdfa38afc1124f1a1a09c92fbc0ed5b96318 | [
"MIT"
] | 13 | 2021-08-17T00:26:31.000Z | 2022-03-29T20:06:45.000Z | from .SSHHydraBruteForce import SSHHydraBruteForce
| 25.5 | 50 | 0.901961 | 4 | 51 | 11.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 51 | 1 | 51 | 51 | 0.978723 | 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 |
702c3e09d098185abfb8f671a99d031e6b5a4436 | 7,053 | py | Python | backend/rma/migrations/0001_initial.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/rma/migrations/0001_initial.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | backend/rma/migrations/0001_initial.py | StichtingIAPC/swipe | d1ea35a40813d2d5e9cf9edde33148c0a825efc4 | [
"BSD-3-Clause-Clear"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.9 on 2018-05-29 18:22
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import money.models
class Migration(migrations.Migration):
initial = True
dependencies ... | 46.098039 | 191 | 0.595066 | 692 | 7,053 | 5.849711 | 0.156069 | 0.035573 | 0.058794 | 0.092391 | 0.79916 | 0.79916 | 0.76754 | 0.710227 | 0.710227 | 0.680089 | 0 | 0.005678 | 0.275911 | 7,053 | 152 | 192 | 46.401316 | 0.786959 | 0.009641 | 0 | 0.659722 | 1 | 0 | 0.142223 | 0.036952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.034722 | 0 | 0.0625 | 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 |
7088d947d53275271d7105866e2038ba15ebc949 | 98 | py | Python | python_nested_circular_imports/solution_case/dir_nest/shared_code/shared_callee.py | pmdscully/python_snippets | cd07ace1c0b5838fdbaeff08e72647946a8a7c5d | [
"Apache-2.0"
] | null | null | null | python_nested_circular_imports/solution_case/dir_nest/shared_code/shared_callee.py | pmdscully/python_snippets | cd07ace1c0b5838fdbaeff08e72647946a8a7c5d | [
"Apache-2.0"
] | null | null | null | python_nested_circular_imports/solution_case/dir_nest/shared_code/shared_callee.py | pmdscully/python_snippets | cd07ace1c0b5838fdbaeff08e72647946a8a7c5d | [
"Apache-2.0"
] | null | null | null | import sys
def my_callee():
print(__file__ + " -> " + sys._getframe().f_code.co_name + "()") | 19.6 | 68 | 0.602041 | 13 | 98 | 3.923077 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 98 | 5 | 68 | 19.6 | 0.6375 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 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 |
70aa30f9b23f7c055b558c12d48d78d41c35538e | 67 | py | Python | pytest_examples/test_all_fail.py | ds2643/runnerpy | 44b802c34c8a4c29083365186a7c80bb703998bc | [
"MIT"
] | 2 | 2017-12-09T13:31:08.000Z | 2017-12-30T06:28:24.000Z | pytest_examples/test_all_fail.py | ds2643/runnerpy | 44b802c34c8a4c29083365186a7c80bb703998bc | [
"MIT"
] | null | null | null | pytest_examples/test_all_fail.py | ds2643/runnerpy | 44b802c34c8a4c29083365186a7c80bb703998bc | [
"MIT"
] | null | null | null | def test_foo():
assert False
def test_bar():
assert False
| 11.166667 | 16 | 0.656716 | 10 | 67 | 4.2 | 0.6 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253731 | 67 | 5 | 17 | 13.4 | 0.84 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b1bbb670ea60d2d6c04d0c6528225de43777ab5 | 144 | py | Python | dist/Basilisk/simulation/exponentialAtmosphere/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | dist/Basilisk/simulation/exponentialAtmosphere/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | 1 | 2019-03-13T20:52:22.000Z | 2019-03-13T20:52:22.000Z | dist/Basilisk/simulation/exponentialAtmosphere/__init__.py | ian-cooke/basilisk_mag | a8b1e37c31c1287549d6fd4d71fcaa35b6fc3f14 | [
"0BSD"
] | null | null | null | # This __init__.py file for the exponentialAtmosphere package is automatically generated by the build system
from exponentialAtmosphere import * | 72 | 108 | 0.854167 | 18 | 144 | 6.611111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 144 | 2 | 109 | 72 | 0.944444 | 0.736111 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b301ff447ec0b4f6ac272f4fabe15299f8ed82d | 47 | py | Python | stve/workspace/__init__.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | stve/workspace/__init__.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | stve/workspace/__init__.py | TE-ToshiakiTanaka/stve | 30b1a0c9b8b20f7059999b0b25b16d6b43aa935c | [
"MIT"
] | null | null | null | from stve.workspace.workspace import Workspace
| 23.5 | 46 | 0.87234 | 6 | 47 | 6.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 1 | 47 | 47 | 0.953488 | 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 |
3b44bc796b6f270f39233bdc03ee5f6e6ccecb4c | 301 | py | Python | initdb.py | tradaviahe1982/labman-master | 0648410e1b449e8c21574a5bbbc0bcd9c38f1634 | [
"MIT"
] | 10 | 2016-08-18T07:12:37.000Z | 2019-10-13T06:35:27.000Z | initdb.py | PSOdAz/labman | 591f698a12e474df08ccba2503174655cc6a2265 | [
"MIT"
] | null | null | null | initdb.py | PSOdAz/labman | 591f698a12e474df08ccba2503174655cc6a2265 | [
"MIT"
] | 4 | 2018-09-06T15:49:59.000Z | 2020-09-29T13:16:21.000Z | #!/usr/bin/env python3
from app import db
if __name__ == '__main__':
print('Initializing the database...')
admin_username, admin_password = db.init_db()
print('Initialization done')
print('Initial admin username: {}, password: {}'.format(
admin_username, admin_password))
| 25.083333 | 60 | 0.677741 | 35 | 301 | 5.457143 | 0.657143 | 0.204188 | 0.188482 | 0.272251 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004082 | 0.186047 | 301 | 11 | 61 | 27.363636 | 0.77551 | 0.069767 | 0 | 0 | 0 | 0 | 0.340502 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 6 |
3b52f5c94fb5128dc7d9a50696d9770af42e4434 | 22,707 | py | Python | tests/ED_spinful_fermions_test.py | anton-buyskikh/QuSpin | 4e46b495e399414d9361d659e186492a1ac5b511 | [
"BSD-3-Clause"
] | 195 | 2016-10-24T18:05:31.000Z | 2022-03-29T10:11:56.000Z | tests/ED_spinful_fermions_test.py | cileeky/QuSpin | 769d3817870f6ff55c4283af46f94e11c36f4121 | [
"BSD-3-Clause"
] | 303 | 2016-10-25T20:08:11.000Z | 2022-03-31T16:52:09.000Z | tests/ED_spinful_fermions_test.py | cileeky/QuSpin | 769d3817870f6ff55c4283af46f94e11c36f4121 | [
"BSD-3-Clause"
] | 54 | 2017-01-03T18:47:52.000Z | 2022-03-16T06:54:33.000Z | from __future__ import print_function, division
import sys,os
quspin_path = os.path.join(os.getcwd(),"../")
sys.path.insert(0,quspin_path)
from quspin.operators import hamiltonian
from quspin.basis import spinful_fermion_basis_1d # Hilbert spaces
import numpy as np # general math functions
from itertools import produ... | 30.438338 | 161 | 0.650504 | 4,356 | 22,707 | 3.308999 | 0.044766 | 0.03788 | 0.034966 | 0.084501 | 0.891009 | 0.869433 | 0.852435 | 0.839809 | 0.822395 | 0.811988 | 0 | 0.056539 | 0.119038 | 22,707 | 745 | 162 | 30.479195 | 0.664017 | 0.039459 | 0 | 0.674747 | 0 | 0.052525 | 0.107138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026263 | false | 0 | 0.018182 | 0.00202 | 0.046465 | 0.00202 | 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 |
3b62f3bfcba0c2da2ccb0950bca6eb4ec23b5372 | 35 | py | Python | kzphoneme/__init__.py | Ardaq/kz_g2p | e725c6857a450c32b12689f4c7c7714fe3dedf87 | [
"MIT"
] | 3 | 2020-11-23T06:37:57.000Z | 2021-09-22T06:21:02.000Z | kzphoneme/__init__.py | Ardaq/kz_g2p | e725c6857a450c32b12689f4c7c7714fe3dedf87 | [
"MIT"
] | null | null | null | kzphoneme/__init__.py | Ardaq/kz_g2p | e725c6857a450c32b12689f4c7c7714fe3dedf87 | [
"MIT"
] | 1 | 2021-09-22T06:22:18.000Z | 2021-09-22T06:22:18.000Z | from kzphoneme.main import Phoneme
| 17.5 | 34 | 0.857143 | 5 | 35 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b63af1d15c77a2a243aa91e37a28a2868c401af | 234 | py | Python | infra/abstractS3.py | shu3-lab/ConvertingParquet | 9ce021dc8fde6fed13e2c6c510627928215806c8 | [
"Unlicense"
] | null | null | null | infra/abstractS3.py | shu3-lab/ConvertingParquet | 9ce021dc8fde6fed13e2c6c510627928215806c8 | [
"Unlicense"
] | null | null | null | infra/abstractS3.py | shu3-lab/ConvertingParquet | 9ce021dc8fde6fed13e2c6c510627928215806c8 | [
"Unlicense"
] | null | null | null | from abc import ABCMeta,abstractmethod
class abstract_S3(metaclass=ABCMeta):
@abstractmethod
def from_S3(self,bucketname,filename):
pass
@abstractmethod
def to_S3(self,bucketname,filename):
pass
| 19.5 | 42 | 0.700855 | 26 | 234 | 6.192308 | 0.576923 | 0.26087 | 0.198758 | 0.298137 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016575 | 0.226496 | 234 | 11 | 43 | 21.272727 | 0.872928 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3b94d4a0b983bdcc1402fc341e501c5e1c673adf | 59 | py | Python | src/gapp_login/wechat/__init__.py | decentfox/gapp-login | a2edf06b48a2d78c3928860a9a1f5ce26919ef8a | [
"BSD-3-Clause"
] | 1 | 2020-06-29T04:19:08.000Z | 2020-06-29T04:19:08.000Z | src/gapp_login/wechat/__init__.py | decentfox/gapp-login | a2edf06b48a2d78c3928860a9a1f5ce26919ef8a | [
"BSD-3-Clause"
] | null | null | null | src/gapp_login/wechat/__init__.py | decentfox/gapp-login | a2edf06b48a2d78c3928860a9a1f5ce26919ef8a | [
"BSD-3-Clause"
] | 2 | 2020-06-16T03:19:34.000Z | 2020-07-15T08:50:09.000Z | from .clients import MiniProgramClient, OAuth2WeChatClient
| 29.5 | 58 | 0.881356 | 5 | 59 | 10.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.084746 | 59 | 1 | 59 | 59 | 0.944444 | 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 |
8e633049d057c411ef3258e8cdab40f4322d30cb | 25 | py | Python | notochord/test/ObjectStore/__init__.py | jroose/notochord | da9a6ff5d0fabbf0694d0bee1b81a240b66fa006 | [
"MIT"
] | null | null | null | notochord/test/ObjectStore/__init__.py | jroose/notochord | da9a6ff5d0fabbf0694d0bee1b81a240b66fa006 | [
"MIT"
] | null | null | null | notochord/test/ObjectStore/__init__.py | jroose/notochord | da9a6ff5d0fabbf0694d0bee1b81a240b66fa006 | [
"MIT"
] | null | null | null | from .FileStore import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e6f28c6a2ac4730a10308bf89cb9ccb9f65ecef | 126 | py | Python | panelctmc/__init__.py | kmedian/panelctmc | 6ac9aa458a8e52f73e1e17dd4f2016703b4edbd7 | [
"MIT"
] | 1 | 2021-03-29T01:17:44.000Z | 2021-03-29T01:17:44.000Z | panelctmc/__init__.py | kmedian/panelctmc | 6ac9aa458a8e52f73e1e17dd4f2016703b4edbd7 | [
"MIT"
] | 9 | 2018-10-05T12:39:48.000Z | 2019-12-01T11:06:17.000Z | panelctmc/__init__.py | kmedian/panelctmc | 6ac9aa458a8e52f73e1e17dd4f2016703b4edbd7 | [
"MIT"
] | null | null | null | from .panel_to_datalist import panel_to_datalist
from .panelctmc_class import PanelCtmc
from .panelctmc_func import panelctmc
| 31.5 | 48 | 0.880952 | 18 | 126 | 5.833333 | 0.444444 | 0.133333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 126 | 3 | 49 | 42 | 0.921053 | 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 |
8e7323ed26f306d60397b94f783550c1b8fc360c | 142 | py | Python | general/util/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 14 | 2020-06-28T15:38:48.000Z | 2021-12-05T01:49:50.000Z | general/util/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | null | null | null | general/util/__init__.py | duennbart/masterthesis_VAE | 1a161bc5c234acc0a021d84cde8cd69e784174e1 | [
"BSD-3-Clause"
] | 3 | 2020-06-28T15:38:49.000Z | 2022-02-13T22:04:34.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from general.util.mssim import * | 28.4 | 38 | 0.866197 | 19 | 142 | 5.736842 | 0.526316 | 0.275229 | 0.440367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 142 | 5 | 39 | 28.4 | 0.865079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
8e7f8052fb7b0b71bbeab81611aad3e213ccc117 | 33 | py | Python | pyzfs/zfs/__init__.py | malramsay64/pyzfs | 515b0f7a54b684d8af088dbd934414768715875e | [
"MIT"
] | 5 | 2020-04-06T12:27:57.000Z | 2021-11-04T16:47:31.000Z | pyzfs/zfs/__init__.py | malramsay64/pyzfs | 515b0f7a54b684d8af088dbd934414768715875e | [
"MIT"
] | 13 | 2020-03-13T00:06:51.000Z | 2022-03-19T11:17:26.000Z | pyzfs/zfs/__init__.py | malramsay64/pyzfs | 515b0f7a54b684d8af088dbd934414768715875e | [
"MIT"
] | 7 | 2020-03-13T00:38:12.000Z | 2021-11-23T22:48:43.000Z | from .main import ZFSCalculation
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8eb2d7e4ace2fb8fe72c6c1022d752135743b797 | 89 | py | Python | osutk/blackhole/__init__.py | zardoru/osutk | 70158073fee99c7d1a22ced13c83f937ed06a2dc | [
"Unlicense"
] | 1 | 2016-04-08T11:59:50.000Z | 2016-04-08T11:59:50.000Z | osutk/blackhole/__init__.py | zardoru/osutk | 70158073fee99c7d1a22ced13c83f937ed06a2dc | [
"Unlicense"
] | null | null | null | osutk/blackhole/__init__.py | zardoru/osutk | 70158073fee99c7d1a22ced13c83f937ed06a2dc | [
"Unlicense"
] | null | null | null | from .compose import *
from .cycle import *
from .divisor import *
from .emitter import * | 22.25 | 22 | 0.741573 | 12 | 89 | 5.5 | 0.5 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 4 | 23 | 22.25 | 0.891892 | 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 |
d92ec22396e632d976e444992d379781f777cf9a | 960 | py | Python | huaweicloud-sdk-codehub/huaweicloudsdkcodehub/v2/model/__init__.py | JeffreyDin/huaweicloud-sdk-python-v3 | 5a52828777594a3cc4acb3fd481c0e324a9fa3ab | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-codehub/huaweicloudsdkcodehub/v2/model/__init__.py | JeffreyDin/huaweicloud-sdk-python-v3 | 5a52828777594a3cc4acb3fd481c0e324a9fa3ab | [
"Apache-2.0"
] | null | null | null | huaweicloud-sdk-codehub/huaweicloudsdkcodehub/v2/model/__init__.py | JeffreyDin/huaweicloud-sdk-python-v3 | 5a52828777594a3cc4acb3fd481c0e324a9fa3ab | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@author: JeffreyDin
@license:
@contact: dingjianfeng15@gmail.com
@software:
@file: __init__.py.py
@ide: PyCharm
@time: 2021/5/18 18:44
@desc:
"""
from __future__ import absolute_import
# import models into model package
from huaweicloudsdkcodehub.v2.model.create_rep... | 41.73913 | 120 | 0.865625 | 106 | 960 | 7.575472 | 0.518868 | 0.217933 | 0.235367 | 0.278954 | 0.440847 | 0.343711 | 0.283935 | 0.146949 | 0.146949 | 0 | 0 | 0.026786 | 0.066667 | 960 | 22 | 121 | 43.636364 | 0.86942 | 0.229167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d954c0a131825bf4df87028e46d3d7355f2f8e8f | 123 | py | Python | multiagent/algorithm/ucb.py | kiranprasad/multiagent-particle-envs | e28e3ff6606e80f11ee16bb2c42f21c442ad29a8 | [
"MIT"
] | null | null | null | multiagent/algorithm/ucb.py | kiranprasad/multiagent-particle-envs | e28e3ff6606e80f11ee16bb2c42f21c442ad29a8 | [
"MIT"
] | null | null | null | multiagent/algorithm/ucb.py | kiranprasad/multiagent-particle-envs | e28e3ff6606e80f11ee16bb2c42f21c442ad29a8 | [
"MIT"
] | null | null | null | from math import sqrt, log
def ucb(node):
return node.value / node.visits + sqrt(log(node.parent.visits)/node.visits)
| 24.6 | 79 | 0.723577 | 20 | 123 | 4.45 | 0.6 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 123 | 4 | 80 | 30.75 | 0.847619 | 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 |
d95ae7208bcba4bb91daf66a784871e0c7f5c2ee | 6,870 | py | Python | Helper/point_cloud.py | Baumwollboebele/python_algorithms | 62330a047a2b8965ec81f51e45f4db74024693d6 | [
"MIT"
] | null | null | null | Helper/point_cloud.py | Baumwollboebele/python_algorithms | 62330a047a2b8965ec81f51e45f4db74024693d6 | [
"MIT"
] | null | null | null | Helper/point_cloud.py | Baumwollboebele/python_algorithms | 62330a047a2b8965ec81f51e45f4db74024693d6 | [
"MIT"
] | null | null | null | from random import randint
from math import cos, sin, radians
class _Point2D:
def __init__(self, x=None, y=None):
"""
Initializes a 2D point object with x and y coordinates.
"""
if x is None:
x = randint(0, 50)
if y is None:
y = randint(0, 50)
... | 25.350554 | 82 | 0.536099 | 866 | 6,870 | 4.120092 | 0.094688 | 0.070067 | 0.047085 | 0.035314 | 0.803531 | 0.779709 | 0.717489 | 0.705717 | 0.68722 | 0.665359 | 0 | 0.015699 | 0.350946 | 6,870 | 270 | 83 | 25.444444 | 0.784481 | 0.247162 | 0 | 0.619048 | 0 | 0.015873 | 0.0255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206349 | false | 0 | 0.015873 | 0.031746 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d96095cfb6bde906def8dc842252efd88827a5be | 152 | py | Python | netmiko/keymile/__init__.py | josephwhite13/netmiko | c08c5ebb3484383f034e22b9576f88be07525f72 | [
"MIT"
] | 2,833 | 2015-01-04T20:04:10.000Z | 2022-03-31T13:03:17.000Z | netmiko/keymile/__init__.py | josephwhite13/netmiko | c08c5ebb3484383f034e22b9576f88be07525f72 | [
"MIT"
] | 2,137 | 2015-01-28T17:33:41.000Z | 2022-03-31T18:41:21.000Z | netmiko/keymile/__init__.py | georgesnow/netmiko | 185f51ca5c24ea2977d6ca31db1ae263aa72cc12 | [
"MIT"
] | 1,367 | 2015-01-04T20:04:10.000Z | 2022-03-31T19:13:28.000Z | from netmiko.keymile.keymile_ssh import KeymileSSH
from netmiko.keymile.keymile_nos_ssh import KeymileNOSSSH
__all__ = ["KeymileSSH", "KeymileNOSSSH"]
| 30.4 | 57 | 0.835526 | 18 | 152 | 6.666667 | 0.5 | 0.183333 | 0.3 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 152 | 4 | 58 | 38 | 0.863309 | 0 | 0 | 0 | 0 | 0 | 0.151316 | 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 |
d973a5aaa162bd85b869896c24c6158d13466dc0 | 158 | py | Python | Packages/Dead/demo/Lib/__init__.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | Packages/Dead/demo/Lib/__init__.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | Packages/Dead/demo/Lib/__init__.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | from About import *
from Args import *
from DemoSet import *
from DemoSplash import *
from geoparse import *
from MainDisplay import *
from MainMenu import *
| 19.75 | 25 | 0.778481 | 21 | 158 | 5.857143 | 0.428571 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 158 | 7 | 26 | 22.571429 | 0.946154 | 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 |
79772d79e6e511a8dee9fd463d229b09ccb26bdd | 46 | py | Python | merit/__init__.py | tayrobin/merit | 6274b5ca9f5f0962ca54c44d2adbd2a034188642 | [
"MIT"
] | null | null | null | merit/__init__.py | tayrobin/merit | 6274b5ca9f5f0962ca54c44d2adbd2a034188642 | [
"MIT"
] | null | null | null | merit/__init__.py | tayrobin/merit | 6274b5ca9f5f0962ca54c44d2adbd2a034188642 | [
"MIT"
] | null | null | null | from .merit import Merit
from .org import Org
| 15.333333 | 24 | 0.782609 | 8 | 46 | 4.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 46 | 2 | 25 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79d2ca3c3501467105a969c028a5b55bec45812b | 39 | py | Python | python/ql/test/library-tests/PointsTo/regressions/wrong/module-imports/conflict-stdlib/code-invalid-package-name/unique_name_use.py | timoles/codeql | 2d24387e9e300bf03be35694816b1e76ae88a50c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/library-tests/PointsTo/regressions/wrong/module-imports/conflict-stdlib/code-invalid-package-name/unique_name_use.py | baby636/codeql | 097b6e5e3364ecc7103586d6feb308861e15538e | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/library-tests/PointsTo/regressions/wrong/module-imports/conflict-stdlib/code-invalid-package-name/unique_name_use.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | from unique_name import foo
print(foo)
| 13 | 27 | 0.820513 | 7 | 39 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 28 | 19.5 | 0.911765 | 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 |
8db632eff1be39954e33b6fb7a47f71e55b16be2 | 101 | py | Python | bard/__init__.py | Xevib/bard | 922763027e013ff287aeb7ee67f24e9d980c1267 | [
"BSD-3-Clause"
] | 1 | 2022-02-03T17:31:56.000Z | 2022-02-03T17:31:56.000Z | bard/__init__.py | Xevib/bard | 922763027e013ff287aeb7ee67f24e9d980c1267 | [
"BSD-3-Clause"
] | 26 | 2018-02-11T19:56:18.000Z | 2021-03-31T19:08:40.000Z | bard/__init__.py | Xevib/bard | 922763027e013ff287aeb7ee67f24e9d980c1267 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from bard.bard import Bard
from bard.bard import ChangeHandler | 33.666667 | 38 | 0.871287 | 15 | 101 | 5.533333 | 0.4 | 0.192771 | 0.289157 | 0.433735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 101 | 3 | 39 | 33.666667 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
8dc9ba81d214257b682c4125705dedfae7ecb6c8 | 19,063 | py | Python | tests/test_swf/responses/test_activity_tasks.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | tests/test_swf/responses/test_activity_tasks.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | tests/test_swf/responses/test_activity_tasks.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | from boto.swf.exceptions import SWFResponseError
from botocore.exceptions import ClientError
from freezegun import freeze_time
import sure # noqa # pylint: disable=unused-import
from unittest import SkipTest
import pytest
from moto import mock_swf, mock_swf_deprecated
from moto import settings
from moto.swf import sw... | 37.305284 | 90 | 0.720506 | 2,191 | 19,063 | 5.960749 | 0.089 | 0.095559 | 0.031853 | 0.036371 | 0.886217 | 0.867381 | 0.856662 | 0.84977 | 0.814778 | 0.788821 | 0 | 0.011719 | 0.158475 | 19,063 | 510 | 91 | 37.378431 | 0.802394 | 0.053349 | 0 | 0.617866 | 0 | 0 | 0.207061 | 0.021261 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059553 | false | 0 | 0.027295 | 0 | 0.086849 | 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 |
5c33980f49792d2a64714ed7a93da999da37c2ad | 3,866 | py | Python | jstc/engines/test_handlebars.py | canaryhealth/jstc | d4be1f213e041b80708e8a7e40edfe2ae308b637 | [
"MIT"
] | null | null | null | jstc/engines/test_handlebars.py | canaryhealth/jstc | d4be1f213e041b80708e8a7e40edfe2ae308b637 | [
"MIT"
] | null | null | null | jstc/engines/test_handlebars.py | canaryhealth/jstc | d4be1f213e041b80708e8a7e40edfe2ae308b637 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <phil@canary.md>
# date: 2016/09/15
# copy: (C) Copyright 2016-EOT Canary Health, Inc., All Rights Reserved.
#--------------------------------------------------------------------... | 44.953488 | 277 | 0.530005 | 350 | 3,866 | 5.845714 | 0.302857 | 0.029326 | 0.01955 | 0.021505 | 0.762463 | 0.762463 | 0.741447 | 0.741447 | 0.741447 | 0.741447 | 0 | 0.01315 | 0.154165 | 3,866 | 85 | 278 | 45.482353 | 0.612538 | 0.247801 | 0 | 0.560976 | 0 | 0 | 0.240341 | 0.049116 | 0 | 0 | 0 | 0.035294 | 0.073171 | 1 | 0.073171 | false | 0 | 0.121951 | 0 | 0.219512 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
308ca2d2472880b0da634185070429e05d278732 | 95 | py | Python | instagram_api/exceptions/sentry_block.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | 13 | 2019-08-07T21:24:34.000Z | 2020-12-12T12:23:50.000Z | instagram_api/exceptions/sentry_block.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | instagram_api/exceptions/sentry_block.py | Yuego/instagram_api | b53f72db36c505a2eb24ebac1ba8267a0cc295bb | [
"MIT"
] | null | null | null | from .request import RequestException
class SentryBlockException(RequestException):
pass
| 15.833333 | 45 | 0.821053 | 8 | 95 | 9.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 5 | 46 | 19 | 0.95122 | 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 |
30b4933f47a82ede24d0a0e7152602edab6bb49b | 268 | py | Python | hacker/challenges/crypto/make_money_fast.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | hacker/challenges/crypto/make_money_fast.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | hacker/challenges/crypto/make_money_fast.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | # Decode with spammimic.com (it's encoded in a lot more than just punctuation, but there's no exact explanation)
# Every changed bit changes a select part of the generated spam, but there's no real value to learning to decode it
print("The answer is 'bezahler4ever'")
| 67 | 115 | 0.776119 | 47 | 268 | 4.425532 | 0.787234 | 0.076923 | 0.086538 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004464 | 0.164179 | 268 | 3 | 116 | 89.333333 | 0.924107 | 0.835821 | 0 | 0 | 1 | 0 | 0.707317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
30d9589eb3330a7a3eb462950686fdeaa041130c | 190 | py | Python | exercises/chapter02/test_02_10.py | deep-diver/fastai-course | 1a0a39311fba0e1b3f4720a612a17dc7c708d9bb | [
"MIT"
] | null | null | null | exercises/chapter02/test_02_10.py | deep-diver/fastai-course | 1a0a39311fba0e1b3f4720a612a17dc7c708d9bb | [
"MIT"
] | null | null | null | exercises/chapter02/test_02_10.py | deep-diver/fastai-course | 1a0a39311fba0e1b3f4720a612a17dc7c708d9bb | [
"MIT"
] | null | null | null | def test():
assert "learner.summary()" in __solution__, "summary() 메서드를 사용하셨나요?"
assert "learner.unfreeze()" in __solution__, "unfreeze() 메서드를 사용하셨나요?"
__msg__.good("잘 하셨습니다!")
| 31.666667 | 74 | 0.673684 | 22 | 190 | 5.272727 | 0.636364 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163158 | 190 | 5 | 75 | 38 | 0.72956 | 0 | 0 | 0 | 0 | 0 | 0.463158 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
30dfda242f67a38a0622bfdb5305cd9bd49868fa | 44 | py | Python | ticc/utils.py | gioxc88/ticc | 7704d7c6ca8c53d9eba994ba3154ffc0b0e1faef | [
"MIT"
] | null | null | null | ticc/utils.py | gioxc88/ticc | 7704d7c6ca8c53d9eba994ba3154ffc0b0e1faef | [
"MIT"
] | 1 | 2021-03-16T07:30:20.000Z | 2021-03-18T06:11:31.000Z | ticc/utils.py | gioxc88/ticc | 7704d7c6ca8c53d9eba994ba3154ffc0b0e1faef | [
"MIT"
] | null | null | null | import numpy as np
from scipy import stats
| 11 | 23 | 0.795455 | 8 | 44 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 24 | 14.666667 | 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 |
ebd5a255f1914ffe249931d7c2bbad03d1fd8026 | 148 | py | Python | utils/__init__.py | Riroaki/LemonML- | 3bb344c135e4dd7dab63a4fd2184ac0aaacc367d | [
"MIT"
] | 34 | 2019-06-23T03:45:41.000Z | 2021-11-30T12:28:41.000Z | utils/__init__.py | Riroaki/LemonML- | 3bb344c135e4dd7dab63a4fd2184ac0aaacc367d | [
"MIT"
] | null | null | null | utils/__init__.py | Riroaki/LemonML- | 3bb344c135e4dd7dab63a4fd2184ac0aaacc367d | [
"MIT"
] | 5 | 2019-06-14T09:41:24.000Z | 2019-10-23T11:21:22.000Z | import utils._cross_validate as cross_validate
import utils._scaling as scaling
from utils._batch import batch
import utils._make_data as make_data
| 29.6 | 46 | 0.864865 | 24 | 148 | 5 | 0.416667 | 0.275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 148 | 4 | 47 | 37 | 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 |
692071d62b9b2b1be70e7be550a9922cbc54df90 | 1,810 | py | Python | imagersite/imager_images/forms.py | brandonholderman/django-imager | 7538c843ca575415b3ac303e832147803e68419f | [
"MIT"
] | null | null | null | imagersite/imager_images/forms.py | brandonholderman/django-imager | 7538c843ca575415b3ac303e832147803e68419f | [
"MIT"
] | 5 | 2018-04-27T06:53:27.000Z | 2018-05-11T03:18:12.000Z | imagersite/imager_images/forms.py | brandonholderman/django-imager | 7538c843ca575415b3ac303e832147803e68419f | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from .models import Photo, Album
class PhotoForm(ModelForm):
"""Form for adding photo."""
class Meta:
model = Photo
fields = ['image', 'album', 'title', 'description', 'published']
# import pdb; pdb.set_trace()
def __init__(self, *args, **kwargs)... | 31.754386 | 72 | 0.6 | 185 | 1,810 | 5.6 | 0.232432 | 0.07722 | 0.061776 | 0.057915 | 0.754826 | 0.706564 | 0.706564 | 0.706564 | 0.706564 | 0.706564 | 0 | 0 | 0.256354 | 1,810 | 56 | 73 | 32.321429 | 0.769688 | 0.08895 | 0 | 0.789474 | 0 | 0 | 0.122311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.368421 | 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 |
693da5445ec466f1b982891ea075e9d39dc32238 | 39 | py | Python | tests/conftest.py | marctom/GPflow | 649b039b685e2c158bdaac3ecd8c2ad3ee18bc8f | [
"Apache-2.0"
] | 1 | 2020-01-27T19:05:28.000Z | 2020-01-27T19:05:28.000Z | tests/conftest.py | marctom/GPflow | 649b039b685e2c158bdaac3ecd8c2ad3ee18bc8f | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | marctom/GPflow | 649b039b685e2c158bdaac3ecd8c2ad3ee18bc8f | [
"Apache-2.0"
] | null | null | null | from gpflow.test_util import session_tf | 39 | 39 | 0.897436 | 7 | 39 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.916667 | 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 |
6970c4d5773551301ba50fe97d48ad4404687383 | 124 | py | Python | torch_geometric/utils/num_nodes.py | DL-85/pytorch_geometric | eb12a94a667e881c4a6bff26b0453428bcb72393 | [
"MIT"
] | 62 | 2018-12-12T16:06:34.000Z | 2022-02-18T11:32:04.000Z | torch_geometric/utils/num_nodes.py | chentingpc/pytorch_geometric | 44c4c5069dbc4c8a96761a3b5a7e7b45c8352a53 | [
"MIT"
] | 2 | 2019-12-26T12:51:47.000Z | 2020-09-02T10:39:55.000Z | torch_geometric/utils/num_nodes.py | chentingpc/pytorch_geometric | 44c4c5069dbc4c8a96761a3b5a7e7b45c8352a53 | [
"MIT"
] | 19 | 2018-12-12T17:51:43.000Z | 2021-09-19T08:01:29.000Z | def maybe_num_nodes(edge_index, num_nodes=None):
return edge_index.max().item() + 1 if num_nodes is None else num_nodes
| 41.333333 | 74 | 0.766129 | 23 | 124 | 3.826087 | 0.608696 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.137097 | 124 | 2 | 75 | 62 | 0.813084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.