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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
637bd5b6a0fc52cd1b8316822afe9b47e0d46a7b | 118 | py | Python | recrawler/recrawl/__init__.py | Andyccs/sport-news-retrieval | 12aad1f5c2436af4decd5cacbc25d4909d4551e0 | [
"MIT"
] | 6 | 2016-04-12T06:25:59.000Z | 2017-05-23T18:10:40.000Z | recrawler/recrawl/__init__.py | Andyccs/sport-news-retrieval | 12aad1f5c2436af4decd5cacbc25d4909d4551e0 | [
"MIT"
] | 3 | 2016-04-14T07:29:12.000Z | 2016-04-14T16:12:06.000Z | recrawler/recrawl/__init__.py | Andyccs/sport-news-retrieval | 12aad1f5c2436af4decd5cacbc25d4909d4551e0 | [
"MIT"
] | 2 | 2016-04-25T18:43:16.000Z | 2020-03-17T15:20:41.000Z | import os
import sys
sys.path.append(os.path.abspath('../crawler'))
sys.path.append(os.path.abspath('../classifier'))
| 23.6 | 49 | 0.728814 | 18 | 118 | 4.777778 | 0.444444 | 0.162791 | 0.302326 | 0.348837 | 0.604651 | 0.604651 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 118 | 4 | 50 | 29.5 | 0.767857 | 0 | 0 | 0 | 0 | 0 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
63c4ddd562e7cb0305de3a123c4349f94c56207c | 55 | py | Python | backend/src/shared/domain_model_abc.py | tuod/bikerides | ef5dfd25c6642f740c36e68cb4548b5c80d7ab44 | [
"Apache-2.0"
] | null | null | null | backend/src/shared/domain_model_abc.py | tuod/bikerides | ef5dfd25c6642f740c36e68cb4548b5c80d7ab44 | [
"Apache-2.0"
] | 6 | 2021-06-20T20:20:14.000Z | 2021-06-21T21:33:05.000Z | backend/src/shared/domain_model_abc.py | tuod/bikerides | ef5dfd25c6642f740c36e68cb4548b5c80d7ab44 | [
"Apache-2.0"
] | null | null | null | from abc import ABC
class DomainModel(ABC):
pass
| 9.166667 | 23 | 0.709091 | 8 | 55 | 4.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 55 | 5 | 24 | 11 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9845a762afb8d3bded276c8da7b79d3d68cd90a0 | 43 | py | Python | Configuration/AlCa/python/GlobalTag_condDBv2.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | Configuration/AlCa/python/GlobalTag_condDBv2.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | Configuration/AlCa/python/GlobalTag_condDBv2.py | gputtley/cmssw | c1ef8454804e4ebea8b65f59c4a952a6c94fde3b | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | from Configuration.AlCa.GlobalTag import *
| 21.5 | 42 | 0.837209 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 1 | 43 | 43 | 0.923077 | 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 |
986e9873f3cf0907380c9590738c7700e8fbd298 | 31 | py | Python | rozet/__init__.py | RozetProtocol/rozetPythonSdk | ced086ec42e9963136fee08f76a4361406ed9f64 | [
"MIT"
] | null | null | null | rozet/__init__.py | RozetProtocol/rozetPythonSdk | ced086ec42e9963136fee08f76a4361406ed9f64 | [
"MIT"
] | null | null | null | rozet/__init__.py | RozetProtocol/rozetPythonSdk | ced086ec42e9963136fee08f76a4361406ed9f64 | [
"MIT"
] | null | null | null | from .rozet import Rozet, Badge | 31 | 31 | 0.806452 | 5 | 31 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f74f032998303e51fd412520ab34653773127a3 | 10,859 | py | Python | devel/lib/python2.7/dist-packages/plutodrone/srv/_PlutoPilot.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | 2 | 2021-09-22T19:06:19.000Z | 2021-09-22T20:22:40.000Z | devel/lib/python2.7/dist-packages/plutodrone/srv/_PlutoPilot.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | null | null | null | devel/lib/python2.7/dist-packages/plutodrone/srv/_PlutoPilot.py | EveVengerov/Gesture-Controlling-Drone | 8fe38dbfdc496472e13e76bcdb55b471f51b42ea | [
"MIT"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from plutodrone/PlutoPilotRequest.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
class PlutoPilotRequest(genpy.Message):
_md5sum = "f8dca44e14493750e1a83... | 33.82866 | 193 | 0.652638 | 1,534 | 10,859 | 4.447849 | 0.117992 | 0.021984 | 0.03371 | 0.03283 | 0.748498 | 0.743661 | 0.743661 | 0.738531 | 0.723289 | 0.723289 | 0 | 0.037666 | 0.224975 | 10,859 | 320 | 194 | 33.934375 | 0.773051 | 0.233815 | 0 | 0.663677 | 1 | 0 | 0.124937 | 0.021936 | 0 | 0 | 0.002521 | 0 | 0 | 1 | 0.071749 | false | 0 | 0.035874 | 0 | 0.237668 | 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 |
7f8ca6924d467738b16bc48a7cff1ed8e459031a | 82 | py | Python | demo_impl/webui/api_blueprint/api_blueprint.py | JFF-Bohdan/vrc_t70_demo | 32c9630f3a216d1ddd98d67f36515d2aa0d15569 | [
"MIT"
] | null | null | null | demo_impl/webui/api_blueprint/api_blueprint.py | JFF-Bohdan/vrc_t70_demo | 32c9630f3a216d1ddd98d67f36515d2aa0d15569 | [
"MIT"
] | null | null | null | demo_impl/webui/api_blueprint/api_blueprint.py | JFF-Bohdan/vrc_t70_demo | 32c9630f3a216d1ddd98d67f36515d2aa0d15569 | [
"MIT"
] | null | null | null | from flask import Blueprint
api_blueprint = Blueprint("API Blueprint", __name__)
| 20.5 | 52 | 0.804878 | 10 | 82 | 6.1 | 0.6 | 0.393443 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 3 | 53 | 27.333333 | 0.847222 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
f68f620ea3a111655ec40cf46b6f086949bfbbb2 | 109 | py | Python | solas/_config/__init__.py | domoritz/solas | 23878fed9efbf14781791dafec26705c6762cfd1 | [
"Apache-2.0"
] | 2 | 2021-11-09T17:54:43.000Z | 2022-01-28T15:38:58.000Z | solas/_config/__init__.py | domoritz/solas | 23878fed9efbf14781791dafec26705c6762cfd1 | [
"Apache-2.0"
] | 27 | 2021-04-08T18:58:49.000Z | 2021-10-11T02:33:35.000Z | solas/_config/__init__.py | domoritz/solas | 23878fed9efbf14781791dafec26705c6762cfd1 | [
"Apache-2.0"
] | 1 | 2021-06-18T02:41:48.000Z | 2021-06-18T02:41:48.000Z | from solas._config import config
from solas._config.config import warning_format
from .config import Config
| 21.8 | 47 | 0.844037 | 16 | 109 | 5.5625 | 0.375 | 0.404494 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 4 | 48 | 27.25 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
f6a089f30af7ee171a6f4cb00e71b15196cc548a | 147 | py | Python | losses/__init__.py | kilsenp/person-multi-task-dataset | 2f186cafa3db2c77d8c6c4309b2cadc13d4f92ab | [
"MIT"
] | 4 | 2020-10-08T03:31:36.000Z | 2021-03-06T08:06:23.000Z | reid/scripts/triplet_reid/losses/__init__.py | VisualComputingInstitute/CROWDBOT_perception | df98f3f658c39fb3fa4ac0456f1214f7918009f6 | [
"MIT"
] | 7 | 2021-06-08T20:55:10.000Z | 2022-02-10T00:38:32.000Z | reid/scripts/triplet_reid/losses/__init__.py | VisualComputingInstitute/CROWDBOT_perception | df98f3f658c39fb3fa4ac0456f1214f7918009f6 | [
"MIT"
] | null | null | null | choices = ["BatchHard", "BatchSoft", "BatchHardWithSoftmax", "BatchHardSingleWithSoftmax", "BatchHardWithJunkSigmoid", "BatchHardWithJunkSoftmax"]
| 73.5 | 146 | 0.809524 | 7 | 147 | 17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054422 | 147 | 1 | 147 | 147 | 0.856115 | 0 | 0 | 0 | 0 | 0 | 0.761905 | 0.503401 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f6f210ef2ba8b79122ff4cea474e0b99a890db5c | 70 | py | Python | 115/indents.py | xtakacsx/bitesofpy | 91487cbf58af5eb58a0343ff2231a90c1032acb0 | [
"MIT"
] | 1 | 2020-01-10T00:05:34.000Z | 2020-01-10T00:05:34.000Z | 115/indents.py | xtakacsx/bitesofpy | 91487cbf58af5eb58a0343ff2231a90c1032acb0 | [
"MIT"
] | null | null | null | 115/indents.py | xtakacsx/bitesofpy | 91487cbf58af5eb58a0343ff2231a90c1032acb0 | [
"MIT"
] | null | null | null | def count_indents(text):
return len(text) - len(text.lstrip(' '))
| 23.333333 | 44 | 0.657143 | 10 | 70 | 4.5 | 0.7 | 0.311111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157143 | 70 | 2 | 45 | 35 | 0.762712 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 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 |
63f765122ae8aa2a3b8c72b21f9f38debc8ff17d | 6,393 | py | Python | src/FFEAT/test/strategies/selection/ElitismTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/test/strategies/selection/ElitismTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | src/FFEAT/test/strategies/selection/ElitismTest.py | PatrikValkovic/MasterThesis | 6e9f3b186541db6c8395ebc96ace7289d01c805b | [
"MIT"
] | null | null | null | ###############################
#
# Created by Patrik Valkovic
# 3/14/2021
#
###############################
import unittest
import torch as t
import ffeat
from ffeat.strategies import selection
from ffeat.utils import decay
from test.repeat import repeat
class ElitismTest(unittest.TestCase):
def test_should_work... | 44.089655 | 101 | 0.603003 | 843 | 6,393 | 4.428233 | 0.142349 | 0.040182 | 0.042861 | 0.053576 | 0.866059 | 0.837128 | 0.790249 | 0.753817 | 0.751942 | 0.751942 | 0 | 0.071386 | 0.219928 | 6,393 | 144 | 102 | 44.395833 | 0.677161 | 0.005631 | 0 | 0.616667 | 0 | 0 | 0.007949 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 1 | 0.125 | false | 0 | 0.05 | 0 | 0.183333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
124633bd0efa7de4f6b01a95125a7e5dae902839 | 218 | py | Python | lgtv_rs232/commands/screen/auto_tune.py | davo22/lgtv_rs232 | 40562cddf7acdf6fa95124029595e3838dd9e7b0 | [
"MIT"
] | null | null | null | lgtv_rs232/commands/screen/auto_tune.py | davo22/lgtv_rs232 | 40562cddf7acdf6fa95124029595e3838dd9e7b0 | [
"MIT"
] | null | null | null | lgtv_rs232/commands/screen/auto_tune.py | davo22/lgtv_rs232 | 40562cddf7acdf6fa95124029595e3838dd9e7b0 | [
"MIT"
] | null | null | null | class AutoTuneCommands(object):
_command = "ju"
def __init__(self, send_command):
self._send_command = send_command
async def call(self):
return await self._send_command(self._command, 1)
| 24.222222 | 57 | 0.688073 | 27 | 218 | 5.111111 | 0.518519 | 0.318841 | 0.326087 | 0.275362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.220183 | 218 | 8 | 58 | 27.25 | 0.805882 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
126325022449c57eefddaf73c0c0740a1f9b9aaf | 18,759 | py | Python | tests/timeseries/test_flag_jumps.py | evan-anderson-ts/pyjanitor | 3e62283b2d07c9f94dab6b5cb5c695b517a6bf84 | [
"MIT"
] | null | null | null | tests/timeseries/test_flag_jumps.py | evan-anderson-ts/pyjanitor | 3e62283b2d07c9f94dab6b5cb5c695b517a6bf84 | [
"MIT"
] | null | null | null | tests/timeseries/test_flag_jumps.py | evan-anderson-ts/pyjanitor | 3e62283b2d07c9f94dab6b5cb5c695b517a6bf84 | [
"MIT"
] | null | null | null | """
Unit tests for `.flag_jumps()`.
"""
import pandas as pd
import numpy as np
import pytest
import janitor.timeseries # noqa: F401
from janitor.timeseries import _flag_jumps_single_col
from janitor.errors import JanitorError
@pytest.fixture
def timeseries_dataframe() -> pd.DataFrame:
"""Returns a time series ... | 29.823529 | 79 | 0.621568 | 2,602 | 18,759 | 4.320907 | 0.090315 | 0.021525 | 0.022948 | 0.023837 | 0.817309 | 0.805212 | 0.774704 | 0.762341 | 0.731122 | 0.67731 | 0 | 0.074561 | 0.237859 | 18,759 | 628 | 80 | 29.871019 | 0.711828 | 0.191748 | 0 | 0.484932 | 0 | 0 | 0.132518 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 1 | 0.054795 | false | 0 | 0.016438 | 0 | 0.073973 | 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 |
89dbc3b9c982f546320379158b45c6b6b393f3c0 | 102 | py | Python | pydmps/__init__.py | phranq0/ros_dmp | 75317a79c74e3da33c27d660a7ab1489edbfa7a6 | [
"Apache-2.0"
] | 12 | 2019-03-01T08:09:05.000Z | 2020-06-13T12:55:25.000Z | pydmps/__init__.py | phranq0/ros_dmp | 75317a79c74e3da33c27d660a7ab1489edbfa7a6 | [
"Apache-2.0"
] | null | null | null | pydmps/__init__.py | phranq0/ros_dmp | 75317a79c74e3da33c27d660a7ab1489edbfa7a6 | [
"Apache-2.0"
] | 4 | 2019-02-22T14:34:57.000Z | 2020-02-06T11:37:10.000Z | from .dmp import DMPs
from .dmp_discrete import DMPs_discrete
from .dmp_rhythmic import DMPs_rhythmic
| 25.5 | 39 | 0.852941 | 16 | 102 | 5.1875 | 0.375 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 102 | 3 | 40 | 34 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 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 |
89f3e19022e3d2f610e85977bbdb1fd48eceaf5d | 280 | py | Python | hokuto_flask/hokuto_flask/blueprints/page/views.py | jackdbd/hokuto-no-ken-api | 5b092b7ecef3ad0f49215509a63cbb9c11cd5285 | [
"MIT"
] | null | null | null | hokuto_flask/hokuto_flask/blueprints/page/views.py | jackdbd/hokuto-no-ken-api | 5b092b7ecef3ad0f49215509a63cbb9c11cd5285 | [
"MIT"
] | 37 | 2018-09-08T22:14:58.000Z | 2022-03-02T14:58:56.000Z | hokuto_flask/hokuto_flask/blueprints/page/views.py | jackdbd/hokuto-no-ken-api | 5b092b7ecef3ad0f49215509a63cbb9c11cd5285 | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template
bp = Blueprint(name="page", import_name=__name__, template_folder="templates")
@bp.route("/")
def home():
return render_template("page/home.html")
@bp.route("/about")
def about():
return render_template("page/about.html")
| 20 | 78 | 0.721429 | 37 | 280 | 5.216216 | 0.459459 | 0.217617 | 0.207254 | 0.248705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117857 | 280 | 13 | 79 | 21.538462 | 0.781377 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d601e276d4e1c6eb6888dd2efd8ea837585d94be | 35 | py | Python | src/mgenomicsremotemail/dispatch/__init__.py | MarcoMernberger/mgenomicsremotemail | e3297861c288e8f5126383c335d16ff6c87e29c7 | [
"MIT"
] | 1 | 2022-03-04T11:55:04.000Z | 2022-03-04T11:55:04.000Z | src/mgenomicsremotemail/dispatch/__init__.py | MarcoMernberger/mgenomicsremotemail | e3297861c288e8f5126383c335d16ff6c87e29c7 | [
"MIT"
] | null | null | null | src/mgenomicsremotemail/dispatch/__init__.py | MarcoMernberger/mgenomicsremotemail | e3297861c288e8f5126383c335d16ff6c87e29c7 | [
"MIT"
] | null | null | null | from .dispatch import RunDispatcher | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 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 |
d60b1ec0ee356dbeb9ea607c8c684386807b16ca | 8,693 | py | Python | cumulusci/tasks/salesforce/tests/test_enable_prediction.py | davisagli/CumulusCI | fd74c324ad3ff662484b159395c639879011e711 | [
"BSD-3-Clause"
] | null | null | null | cumulusci/tasks/salesforce/tests/test_enable_prediction.py | davisagli/CumulusCI | fd74c324ad3ff662484b159395c639879011e711 | [
"BSD-3-Clause"
] | null | null | null | cumulusci/tasks/salesforce/tests/test_enable_prediction.py | davisagli/CumulusCI | fd74c324ad3ff662484b159395c639879011e711 | [
"BSD-3-Clause"
] | null | null | null | import pytest
import responses
from cumulusci.core.config.org_config import OrgConfig
from cumulusci.core.exceptions import CumulusCIException
from cumulusci.tasks.salesforce.enable_prediction import EnablePrediction
from cumulusci.tests.util import DummyKeychain
from .util import create_task
@pytest.fixture
def ta... | 37.149573 | 218 | 0.618314 | 988 | 8,693 | 5.314777 | 0.123482 | 0.051419 | 0.068558 | 0.079985 | 0.812417 | 0.798705 | 0.788421 | 0.788421 | 0.788421 | 0.763855 | 0 | 0.035313 | 0.211665 | 8,693 | 233 | 219 | 37.309013 | 0.730921 | 0 | 0 | 0.581731 | 0 | 0.120192 | 0.504544 | 0.016795 | 0 | 0 | 0 | 0 | 0.004808 | 1 | 0.033654 | false | 0 | 0.033654 | 0.004808 | 0.072115 | 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 |
d6590ebc0b2a6c5bc8130ea8763d952bf4d10b33 | 1,749 | py | Python | 008/solution.py | klen/euler | 269d765a2070f08ede45604909f6b5000917ee2f | [
"MIT"
] | 1 | 2015-01-28T09:15:30.000Z | 2015-01-28T09:15:30.000Z | 008/solution.py | klen/euler | 269d765a2070f08ede45604909f6b5000917ee2f | [
"MIT"
] | null | null | null | 008/solution.py | klen/euler | 269d765a2070f08ede45604909f6b5000917ee2f | [
"MIT"
] | null | null | null | """ Project Euler problem #8. """
import operator as op
def problem():
""" Solve the problem.
Find the greatest product of five consecutive digits in the 1000-digit
number.
Answer: 40824
"""
number = ''.join([
'73167176531330624919225119674426574742355349194934'
'9698352031... | 38.866667 | 74 | 0.753002 | 90 | 1,749 | 14.544444 | 0.722222 | 0.012223 | 0.019862 | 0.022918 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 0 | 0.702778 | 0.176672 | 1,749 | 44 | 75 | 39.75 | 0.20625 | 0 | 0 | 0 | 0 | 0 | 0.638783 | 0.633714 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.033333 | null | null | 0.033333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c3a042551d80353a4ffb05cc7d2f7391ca572a8c | 12,402 | py | Python | Avances/valeria&maicol.py | DiegoC386/Proyecto_CajeroEAN | 48420b1ea64dd2d3bf695a10b7ab962c4b533cf4 | [
"MIT"
] | null | null | null | Avances/valeria&maicol.py | DiegoC386/Proyecto_CajeroEAN | 48420b1ea64dd2d3bf695a10b7ab962c4b533cf4 | [
"MIT"
] | null | null | null | Avances/valeria&maicol.py | DiegoC386/Proyecto_CajeroEAN | 48420b1ea64dd2d3bf695a10b7ab962c4b533cf4 | [
"MIT"
] | null | null | null | """
#Entradas
Usuario-->input-->U
Contraseña-->input-->C
Opcion 1-->int-->1
Opcion 2-->int-->2
Opcion 3-->int-->3
Opcion 4-->int-->4
#Salidas
Operaciones-->float-->O.realizadas
"""
from datetime import datetime
ahora=datetime.now()
print(ahora.strftime('%Y-%m-%d %H:%M:%S'))
Cuentas=[]
print(".............................. | 41.757576 | 256 | 0.485244 | 1,259 | 12,402 | 4.804607 | 0.147736 | 0.042321 | 0.027773 | 0.061828 | 0.771367 | 0.771367 | 0.76244 | 0.757646 | 0.757646 | 0.757646 | 0 | 0.076718 | 0.334704 | 12,402 | 297 | 257 | 41.757576 | 0.652648 | 0.017094 | 0 | 0.774648 | 0 | 0.007042 | 0.316861 | 0.07585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.007042 | 0.003521 | 0 | 0.003521 | 0.295775 | 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 |
c3b40094cdbb7d7b912972302831457b5b8b2b44 | 264 | py | Python | jsonprclibveles/__init__.py | Borbaris161/jsonrpclibveles | 489f2069a0924315a632c0af58f5082e3e30fdd2 | [
"Apache-2.0"
] | null | null | null | jsonprclibveles/__init__.py | Borbaris161/jsonrpclibveles | 489f2069a0924315a632c0af58f5082e3e30fdd2 | [
"Apache-2.0"
] | null | null | null | jsonprclibveles/__init__.py | Borbaris161/jsonrpclibveles | 489f2069a0924315a632c0af58f5082e3e30fdd2 | [
"Apache-2.0"
] | 1 | 2019-06-28T12:32:43.000Z | 2019-06-28T12:32:43.000Z | from jsonprclibveles.config import Config
config = Config.instance()
from jsonprclibveles.history import History
logs = History.instance()
from jsonprclibveles.jsonrpc import Server, MultiCall, Fault
from jsonprclibveles.jsonrpc import ProtocolError, loads, dumps
| 37.714286 | 63 | 0.840909 | 30 | 264 | 7.4 | 0.466667 | 0.342342 | 0.243243 | 0.288288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 264 | 6 | 64 | 44 | 0.932773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7f1096b5c57ad9d7d884893baa97f9505eeecfb6 | 107 | py | Python | Utils/py/naoth/naoth/log/__init__.py | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2015-01-12T10:46:29.000Z | 2022-03-28T05:13:14.000Z | Utils/py/naoth/naoth/log/__init__.py | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-01-20T21:07:50.000Z | 2020-01-22T14:00:28.000Z | Utils/py/naoth/naoth/log/__init__.py | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2018-02-07T18:18:10.000Z | 2019-10-15T17:01:41.000Z | from ._experimental_reader import *
from ._experimental_parser import *
from ._experimental_xabsl import *
| 26.75 | 35 | 0.831776 | 12 | 107 | 6.916667 | 0.5 | 0.578313 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 36 | 35.666667 | 0.873684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7f1a8bfe5a3ecec7a4af5d80f731b5b876999cc1 | 96 | py | Python | venv/lib/python3.8/site-packages/libpasteurize/fixes/fix_add_all__future__imports.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/libpasteurize/fixes/fix_add_all__future__imports.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/libpasteurize/fixes/fix_add_all__future__imports.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/98/77/ad/d4b81b1e7f467e009818d6572a8fabb1e0d6ade02f51c0236707607931 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 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 |
6147aa931783def027236f243de14ef1bbc5a65e | 37 | py | Python | dlutils/preprocessing/__init__.py | fmi-basel/dl-utils | 15bbb7672314d72abc7c3f7fc86655401cde5eb6 | [
"MIT"
] | 26 | 2018-11-30T09:17:17.000Z | 2020-11-07T01:53:07.000Z | idunn/instant_answer/__init__.py | QwantResearch/idunn | 88b6862f1036187855b5541bbb6758ddd4df33c1 | [
"Apache-2.0"
] | 38 | 2018-06-08T09:41:04.000Z | 2020-12-07T17:39:12.000Z | idunn/instant_answer/__init__.py | Qwant/idunn | 65582dfed732093778bf7c2998db1e2cd78255b8 | [
"Apache-2.0"
] | 9 | 2018-05-18T13:07:00.000Z | 2020-08-01T16:42:40.000Z | from .normalization import normalize
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
614dca950e738511efd67bd07c116810f11eac32 | 1,973 | py | Python | tests/espressodb_tests/espressodb_tests/customizations/migrations/0001_initial.py | callat-qcd/espressodb | 70f88f33ba49f754ba240242c0653379ff269619 | [
"BSD-3-Clause"
] | 8 | 2019-12-10T04:30:01.000Z | 2020-10-30T09:40:22.000Z | tests/espressodb_tests/espressodb_tests/customizations/migrations/0001_initial.py | callat-qcd/espressodb | 70f88f33ba49f754ba240242c0653379ff269619 | [
"BSD-3-Clause"
] | 41 | 2019-10-23T00:26:25.000Z | 2021-10-21T07:55:57.000Z | tests/espressodb_tests/espressodb_tests/customizations/migrations/0001_initial.py | callat-qcd/espressodb | 70f88f33ba49f754ba240242c0653379ff269619 | [
"BSD-3-Clause"
] | 3 | 2020-01-09T21:29:09.000Z | 2021-03-14T22:20:52.000Z | # Generated by Django 3.0.5 on 2020-04-17 11:33
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 45.883721 | 247 | 0.62443 | 234 | 1,973 | 5.15812 | 0.358974 | 0.053024 | 0.059652 | 0.056338 | 0.737365 | 0.737365 | 0.737365 | 0.737365 | 0.737365 | 0.737365 | 0 | 0.014344 | 0.257983 | 1,973 | 42 | 248 | 46.97619 | 0.810109 | 0.022808 | 0 | 0.571429 | 1 | 0 | 0.227934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.085714 | 0 | 0.2 | 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 |
61825a222d6e0ff5f779575f9563937a7dc74497 | 32 | py | Python | src/perfprof/__init__.py | dmsteck/perfprof.py | bb813b234f39139e34e06d774fd866a6a189e0ad | [
"MIT"
] | 1 | 2021-07-09T11:40:36.000Z | 2021-07-09T11:40:36.000Z | src/perfprof/__init__.py | dmsteck/perfprof.py | bb813b234f39139e34e06d774fd866a6a189e0ad | [
"MIT"
] | null | null | null | src/perfprof/__init__.py | dmsteck/perfprof.py | bb813b234f39139e34e06d774fd866a6a189e0ad | [
"MIT"
] | 3 | 2021-09-12T16:23:25.000Z | 2022-03-18T22:35:54.000Z | from .perfprof import perfprof
| 16 | 31 | 0.8125 | 4 | 32 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 0.962963 | 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 |
6185697a874dd9873ab43e9531adcc5499bed5b7 | 38,719 | py | Python | pyfos/utils/extension/lan_flow_statistics_show.py | brocade/pyfos | 33565cfc1401f5dc54a9a9fb70913c9a670cb322 | [
"Apache-2.0"
] | 44 | 2017-11-17T12:03:11.000Z | 2022-02-03T20:57:56.000Z | pyfos/utils/extension/lan_flow_statistics_show.py | brocade/pyfos | 33565cfc1401f5dc54a9a9fb70913c9a670cb322 | [
"Apache-2.0"
] | 13 | 2018-10-09T15:34:15.000Z | 2022-02-24T20:03:17.000Z | pyfos/utils/extension/lan_flow_statistics_show.py | brocade/pyfos | 33565cfc1401f5dc54a9a9fb70913c9a670cb322 | [
"Apache-2.0"
] | 23 | 2017-12-14T18:08:33.000Z | 2022-02-03T15:33:40.000Z | #!/usr/bin/env python3
# Copyright © 2019-2020 Broadcom. All rights reserved.
# The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may also obtain a copy of th... | 52.46477 | 79 | 0.699734 | 5,094 | 38,719 | 4.927562 | 0.061837 | 0.080594 | 0.18804 | 0.131947 | 0.865782 | 0.841401 | 0.803076 | 0.755587 | 0.676945 | 0.601251 | 0 | 0.001574 | 0.228802 | 38,719 | 737 | 80 | 52.535957 | 0.839015 | 0.439242 | 0 | 0.160526 | 0 | 0 | 0.037532 | 0.019513 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010526 | false | 0 | 0.013158 | 0 | 0.036842 | 0.002632 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61910dccf21a1aa4ad3a5bb0f0360a32ac8e7f02 | 115 | py | Python | Ethanyan_mall/Ethanyan_mall/apps/goods/tests.py | Jaylen0829/E-commerce-sites | faa4443c11d1534642c8dc9f8262f818f489c554 | [
"MIT"
] | 17 | 2019-01-22T00:14:40.000Z | 2022-02-03T12:29:49.000Z | Ethanyan_mall/Ethanyan_mall/apps/goods/tests.py | Jaylen0829/E-commerce-sites | faa4443c11d1534642c8dc9f8262f818f489c554 | [
"MIT"
] | 1 | 2020-06-28T15:16:38.000Z | 2020-08-03T15:34:14.000Z | Ethanyan_mall/Ethanyan_mall/apps/goods/tests.py | EthanYan6/E-commerce-sites | faa4443c11d1534642c8dc9f8262f818f489c554 | [
"MIT"
] | 11 | 2020-02-24T00:22:08.000Z | 2022-03-26T17:03:40.000Z | from django.test import TestCase
from django.core.files.storage import FileSystemStorage
# Create your tests here.
| 28.75 | 55 | 0.834783 | 16 | 115 | 6 | 0.8125 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 3 | 56 | 38.333333 | 0.941176 | 0.2 | 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 |
61a636757fd76f3de493f20cbc5e957624af9e38 | 77 | py | Python | tests/common/ping/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/common/ping/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/common/ping/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | import azure.functions as func
def main(req: func.HttpRequest):
return
| 12.833333 | 32 | 0.74026 | 11 | 77 | 5.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 5 | 33 | 15.4 | 0.904762 | 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 |
9cea991f333e6c86dc80eefec9552687360de60e | 137 | py | Python | dcp/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | 3 | 2021-04-13T22:12:34.000Z | 2021-07-17T19:01:08.000Z | dcp/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | 1 | 2021-04-13T22:12:21.000Z | 2021-04-13T22:12:21.000Z | dcp/__init__.py | kvh/dcp | 1332b0fa44e755202d5f13342e834fe165b36ca5 | [
"BSD-3-Clause"
] | null | null | null | from dcp.data_copy import *
from dcp.data_format import *
from dcp.storage import *
from .logging import * # Disable logger by default
| 22.833333 | 51 | 0.766423 | 21 | 137 | 4.904762 | 0.571429 | 0.203884 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167883 | 137 | 5 | 52 | 27.4 | 0.903509 | 0.182482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1409eca370e7ee40e270168bfa913fcfff9f11f1 | 5,635 | py | Python | tests/test_div_shortcut.py | Pitmairen/hamlish-jinja | f8fdbddf2f444124c6fc69d1eb11603da2838093 | [
"BSD-3-Clause"
] | 45 | 2015-04-20T20:17:24.000Z | 2022-02-13T19:31:53.000Z | tests/test_div_shortcut.py | Pitmairen/hamlish-jinja | f8fdbddf2f444124c6fc69d1eb11603da2838093 | [
"BSD-3-Clause"
] | 3 | 2016-03-31T13:11:15.000Z | 2018-10-09T02:00:24.000Z | tests/test_div_shortcut.py | Pitmairen/hamlish-jinja | f8fdbddf2f444124c6fc69d1eb11603da2838093 | [
"BSD-3-Clause"
] | 4 | 2015-10-04T15:27:40.000Z | 2019-06-13T11:47:00.000Z | # -*- coding: utf-8 -*-
import unittest
from hamlish_jinja import Hamlish, Output
import testing_base
class TestSyntax(testing_base.TestCase):
def setUp(self):
self.hamlish = Hamlish(
Output(indent_string=' ', newline_string='\n'),
use_div_shortcut=True)
def test_div_clas... | 23 | 68 | 0.561136 | 782 | 5,635 | 3.865729 | 0.075448 | 0.156136 | 0.137612 | 0.146212 | 0.894145 | 0.888521 | 0.873305 | 0.819716 | 0.792259 | 0.737678 | 0 | 0.010763 | 0.241526 | 5,635 | 244 | 69 | 23.094262 | 0.696537 | 0.003727 | 0 | 0.53 | 0 | 0.005 | 0.379544 | 0.053101 | 0 | 0 | 0 | 0 | 0.13 | 1 | 0.13 | false | 0 | 0.015 | 0 | 0.15 | 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 |
1413d4166e527d46d63e81bff2c72b8978b6445e | 5,564 | py | Python | WaveletApp/Wavelet_One.py | ChairOfStructuralMechanicsTUM/Mechanics_Apps | b064a42d4df3fa9bde62a5cff9cb27ca61b0127c | [
"MIT"
] | 11 | 2017-05-06T17:05:29.000Z | 2020-11-12T09:26:47.000Z | WaveletApp/Wavelet_One.py | ChairOfStructuralMechanicsTUM/Mechanics_Apps | b064a42d4df3fa9bde62a5cff9cb27ca61b0127c | [
"MIT"
] | 49 | 2017-04-20T11:26:11.000Z | 2020-05-29T13:18:06.000Z | WaveletApp/Wavelet_One.py | ChairOfStructuralMechanicsTUM/Mechanics_Apps | b064a42d4df3fa9bde62a5cff9cb27ca61b0127c | [
"MIT"
] | 4 | 2017-02-14T12:55:34.000Z | 2022-01-12T15:07:07.000Z | import numpy as np
from scipy.integrate import quad
from math import sin, cos, pi, exp
def Find_Heaviside_Wavelet_One(T0,amp,Resolut):
"""
This function computes the wavelet transform of a heaviside function
input:
T0: float, representing the time where the step happen
amp: float, represent... | 38.638889 | 122 | 0.602444 | 847 | 5,564 | 3.90673 | 0.121606 | 0.02871 | 0.049864 | 0.067996 | 0.829858 | 0.824418 | 0.80417 | 0.788154 | 0.764581 | 0.736174 | 0 | 0.029573 | 0.276779 | 5,564 | 144 | 123 | 38.638889 | 0.792744 | 0.464774 | 0 | 0.608696 | 0 | 0 | 0.004375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144928 | false | 0 | 0.043478 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
143967ecdb807596bad84628a55decbf28df2bbb | 53,787 | py | Python | erc1155_deployer/vendor/fetchai/protocols/ledger_api/ledger_api_pb2.py | Ataxia123/agents-template | 513ae6afe02b9972929e39a26e15e276f0ed5b1c | [
"Apache-2.0"
] | null | null | null | erc1155_deployer/vendor/fetchai/protocols/ledger_api/ledger_api_pb2.py | Ataxia123/agents-template | 513ae6afe02b9972929e39a26e15e276f0ed5b1c | [
"Apache-2.0"
] | null | null | null | erc1155_deployer/vendor/fetchai/protocols/ledger_api/ledger_api_pb2.py | Ataxia123/agents-template | 513ae6afe02b9972929e39a26e15e276f0ed5b1c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ledger_api.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbo... | 36.490502 | 3,928 | 0.654284 | 5,376 | 53,787 | 6.147507 | 0.047805 | 0.033163 | 0.047929 | 0.05392 | 0.825169 | 0.767981 | 0.694998 | 0.653242 | 0.641926 | 0.630821 | 0 | 0.034655 | 0.25376 | 53,787 | 1,473 | 3,929 | 36.515275 | 0.788729 | 0.040679 | 0 | 0.714085 | 1 | 0.000704 | 0.221837 | 0.174565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.002817 | 0 | 0.002817 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
143f42e0ed4fe1e3e6a3ecef66105575c2c69a00 | 854 | py | Python | Class_Point2D.py | sdfxisme/lesson11 | 2559b2096d6329cddca7eae829b6360adced6dc6 | [
"MIT"
] | null | null | null | Class_Point2D.py | sdfxisme/lesson11 | 2559b2096d6329cddca7eae829b6360adced6dc6 | [
"MIT"
] | null | null | null | Class_Point2D.py | sdfxisme/lesson11 | 2559b2096d6329cddca7eae829b6360adced6dc6 | [
"MIT"
] | null | null | null | class Point2D():
def __init__(self, x,y):
self.coord = [x,y]
def __str__(self):
return f'Point:({self.coord[0]},{self.coord[1]})'
def __eq__(self,other):
return (self.coord[0]==other.coord[0])&(self.coord[1]==other.coord[1])
def __ne__(self,other):
return (self.coord[0]... | 27.548387 | 78 | 0.596019 | 122 | 854 | 3.844262 | 0.221311 | 0.211087 | 0.191898 | 0.24307 | 0.701493 | 0.667377 | 0.667377 | 0.667377 | 0.398721 | 0.398721 | 0 | 0.036496 | 0.197892 | 854 | 31 | 79 | 27.548387 | 0.648175 | 0 | 0 | 0.190476 | 0 | 0 | 0.054971 | 0.045614 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.380952 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
1446e6c23674c2f6ec72abbe62c765cefc1103f6 | 37 | py | Python | HelloWorld.py | Gersh2021/django_project | 621554d42828207c22047c48a04ed1ac72b1ec8c | [
"MIT"
] | null | null | null | HelloWorld.py | Gersh2021/django_project | 621554d42828207c22047c48a04ed1ac72b1ec8c | [
"MIT"
] | null | null | null | HelloWorld.py | Gersh2021/django_project | 621554d42828207c22047c48a04ed1ac72b1ec8c | [
"MIT"
] | null | null | null | print('Welcome to Django Learinig')
| 12.333333 | 35 | 0.756757 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 2 | 36 | 18.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
14b8275094e6afa2ecc99e5bf6af1269f5706a49 | 2,807 | py | Python | src/centralizeddictionarylearning.py | att/Distributed-Dictionary-Learning | c6915477dac1ffe7d9a732dd31333d540f5bd00b | [
"MIT"
] | 5 | 2020-07-25T18:44:54.000Z | 2022-03-27T14:14:20.000Z | src/centralizeddictionarylearning.py | att/Distributed-Dictionary-Learning | c6915477dac1ffe7d9a732dd31333d540f5bd00b | [
"MIT"
] | null | null | null | src/centralizeddictionarylearning.py | att/Distributed-Dictionary-Learning | c6915477dac1ffe7d9a732dd31333d540f5bd00b | [
"MIT"
] | 3 | 2019-09-04T08:04:09.000Z | 2022-03-27T14:14:26.000Z | import time
import numpy as np
from sparsecoding import sparse_encode_omp
from sparsecoding import sparse_encode_nnmp
from dictionaryupdate import l2_update_dict
from dictionaryupdate import nnl2_update_dict
def dict_learning_ksvd(X, dict_init, s, max_iter):
"""Solves a dictionary learning matrix f... | 35.531646 | 90 | 0.601354 | 371 | 2,807 | 4.407008 | 0.245283 | 0.039144 | 0.033028 | 0.034251 | 0.833639 | 0.792049 | 0.740673 | 0.740673 | 0.740673 | 0.740673 | 0 | 0.013768 | 0.301389 | 2,807 | 79 | 91 | 35.531646 | 0.81999 | 0.473459 | 0 | 0.571429 | 0 | 0 | 0.055512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.214286 | 0 | 0.357143 | 0.071429 | 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 |
1ad6be8bccd6f92d1eb48bfedd4667f3e8354537 | 392 | py | Python | src/train_plot.py | RosalRicardo/RTRGAN | 6f4551ab8445367f8b9c711f41f15dd465abaef1 | [
"MIT"
] | null | null | null | src/train_plot.py | RosalRicardo/RTRGAN | 6f4551ab8445367f8b9c711f41f15dd465abaef1 | [
"MIT"
] | null | null | null | src/train_plot.py | RosalRicardo/RTRGAN | 6f4551ab8445367f8b9c711f41f15dd465abaef1 | [
"MIT"
] | null | null | null | import train
def train_plot(df, epochs, batchsize, fair_epochs, lamda, nu, S, Y, S_under, Y_desire):
generator, critic, ohe, scaler, data_train, data_test, input_dim, critic_losses, gen_losses = train.train(df, S, Y, S_under, Y_desire, epochs, batchsize, fair_epochs, lamda, nu)
return generator, critic, ohe, s... | 56 | 181 | 0.75 | 62 | 392 | 4.467742 | 0.403226 | 0.108303 | 0.137184 | 0.180505 | 0.844765 | 0.844765 | 0.505415 | 0.505415 | 0.505415 | 0.505415 | 0 | 0 | 0.145408 | 392 | 7 | 182 | 56 | 0.826866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 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 |
1aed44476811af5d207a5e79795e1754da968150 | 209 | py | Python | mail_sender/admin.py | Kiritox0x/trp_assistant_bot | 9776d3b6fc6ebccb5d6b8c0ea68c9b145dc4e06a | [
"MIT"
] | null | null | null | mail_sender/admin.py | Kiritox0x/trp_assistant_bot | 9776d3b6fc6ebccb5d6b8c0ea68c9b145dc4e06a | [
"MIT"
] | null | null | null | mail_sender/admin.py | Kiritox0x/trp_assistant_bot | 9776d3b6fc6ebccb5d6b8c0ea68c9b145dc4e06a | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from mail_sender.models import *
admin.site.register(Bcm_room)
admin.site.register(Weekreport_Teacher)
admin.site.register(Weekreport_Assistant)
| 23.222222 | 41 | 0.832536 | 29 | 209 | 5.862069 | 0.586207 | 0.158824 | 0.3 | 0.317647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086124 | 209 | 8 | 42 | 26.125 | 0.890052 | 0.124402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
1af15f017a6de5ffecb6882b47e0671bf9f55c11 | 49 | py | Python | src/models/resnet/__init__.py | yizhe-ang/vi-lab | 65a46e41845982def17e553a46be849d948f9f45 | [
"MIT"
] | 1 | 2022-02-19T17:03:18.000Z | 2022-02-19T17:03:18.000Z | src/models/resnet/__init__.py | lemonwaffle/vi-lab | 65a46e41845982def17e553a46be849d948f9f45 | [
"MIT"
] | null | null | null | src/models/resnet/__init__.py | lemonwaffle/vi-lab | 65a46e41845982def17e553a46be849d948f9f45 | [
"MIT"
] | null | null | null | from .modules import ResNetEncoder, ResNetDecoder | 49 | 49 | 0.877551 | 5 | 49 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 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 |
21122cf60125f78dff73ab5b6977934e64c1668f | 118 | py | Python | GENBOT/code/model/__ init __.py | Snd18/GENBOT_public | a60f69749ffdf43b9b688153d5c4a3488b3a9396 | [
"Apache-2.0"
] | null | null | null | GENBOT/code/model/__ init __.py | Snd18/GENBOT_public | a60f69749ffdf43b9b688153d5c4a3488b3a9396 | [
"Apache-2.0"
] | null | null | null | GENBOT/code/model/__ init __.py | Snd18/GENBOT_public | a60f69749ffdf43b9b688153d5c4a3488b3a9396 | [
"Apache-2.0"
] | null | null | null | import model.UserData as userdata
import model.DataBase as db
import model.Table as table
import model.Field as field
| 23.6 | 33 | 0.830508 | 20 | 118 | 4.9 | 0.4 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 4 | 34 | 29.5 | 0.960784 | 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 |
21603a94fea2542273936e7f8fe1a9596f8505fa | 85 | py | Python | XPlaneSDKStub/XPLMUtilities.py | owentar/x-copilot-py | 15ffa9d22fc2a906b5437d8484b4002c635085fe | [
"MIT"
] | null | null | null | XPlaneSDKStub/XPLMUtilities.py | owentar/x-copilot-py | 15ffa9d22fc2a906b5437d8484b4002c635085fe | [
"MIT"
] | null | null | null | XPlaneSDKStub/XPLMUtilities.py | owentar/x-copilot-py | 15ffa9d22fc2a906b5437d8484b4002c635085fe | [
"MIT"
] | null | null | null | def XPLMFindCommand(command):
return 1
def XPLMCommandOnce(commandID):
pass
| 14.166667 | 31 | 0.741176 | 9 | 85 | 7 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.188235 | 85 | 5 | 32 | 17 | 0.898551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.25 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
dcddd753444dc30f3c8e9997a788150fe3e4eeea | 7,683 | py | Python | sumup_dev.py | systemdesignauthority/sumup | ecdc7f97b130ef41ad7d2b2d3b038fa8af00398f | [
"Apache-2.0"
] | null | null | null | sumup_dev.py | systemdesignauthority/sumup | ecdc7f97b130ef41ad7d2b2d3b038fa8af00398f | [
"Apache-2.0"
] | null | null | null | sumup_dev.py | systemdesignauthority/sumup | ecdc7f97b130ef41ad7d2b2d3b038fa8af00398f | [
"Apache-2.0"
] | null | null | null |
import requests, json
from datetime import date, timedelta
#authorize
url = 'https://api.sumup.com/authorize'
body = ''
response = requests.get(
url,
body, headers={'response_type': 'code',
'redirect_uri': 'https://me.sumup.com/callback',
'client_id': '5Ux... | 29.894942 | 115 | 0.604972 | 928 | 7,683 | 4.96444 | 0.163793 | 0.054265 | 0.026047 | 0.02952 | 0.86781 | 0.834165 | 0.834165 | 0.816149 | 0.816149 | 0.816149 | 0 | 0.014567 | 0.258363 | 7,683 | 256 | 116 | 30.011719 | 0.793963 | 0.475335 | 0 | 0.574074 | 0 | 0 | 0.245856 | 0.028564 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.018519 | 0.018519 | 0 | 0.018519 | 0.148148 | 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 |
b4bc32f833fef8791e3cc71fac2d219689070ee1 | 1,618 | py | Python | malcolm/core/__init__.py | dls-controls/github-publish-test | 25f6ce1af28eff9930f65e4f2c9fb0474e0b570c | [
"Apache-2.0"
] | null | null | null | malcolm/core/__init__.py | dls-controls/github-publish-test | 25f6ce1af28eff9930f65e4f2c9fb0474e0b570c | [
"Apache-2.0"
] | null | null | null | malcolm/core/__init__.py | dls-controls/github-publish-test | 25f6ce1af28eff9930f65e4f2c9fb0474e0b570c | [
"Apache-2.0"
] | null | null | null | # Make a nice namespace
from malcolm.core.attribute import Attribute # noqa
from malcolm.core.block import Block # noqa
from malcolm.core.controller import Controller # noqa
from malcolm.core.clientcomms import ClientComms # noqa
from malcolm.core.clientcontroller import ClientController # noqa
from malcolm.core.e... | 52.193548 | 80 | 0.800371 | 209 | 1,618 | 6.167464 | 0.267943 | 0.221877 | 0.30256 | 0.368503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137824 | 1,618 | 31 | 81 | 52.193548 | 0.924014 | 0.093325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.866667 | 0 | 0.866667 | 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 |
b4c71bf6c3fb7dd6ea0cbf6097a825bcc7a2ac64 | 62 | py | Python | src/quill/scan/__init__.py | spin-systems/quill | b210f840e228295e41feaf4ff79f2cc8bd96889d | [
"MIT"
] | null | null | null | src/quill/scan/__init__.py | spin-systems/quill | b210f840e228295e41feaf4ff79f2cc8bd96889d | [
"MIT"
] | 14 | 2020-11-22T09:59:08.000Z | 2021-11-02T16:05:35.000Z | src/quill/scan/__init__.py | spin-systems/quill | b210f840e228295e41feaf4ff79f2cc8bd96889d | [
"MIT"
] | null | null | null | from .io import *
from .lever import *
from .address import *
| 15.5 | 22 | 0.709677 | 9 | 62 | 4.888889 | 0.555556 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 3 | 23 | 20.666667 | 0.88 | 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 |
2ea48275791eab4062a46e7033dcd3cf3709e92d | 187 | py | Python | src/lib/trains/train_factory.py | larryv/IP-Net | ab0362097c4ca7ff07763dbf2dfca028f974b014 | [
"MIT"
] | 66 | 2020-03-31T04:24:45.000Z | 2022-02-22T02:55:02.000Z | src/lib/trains/train_factory.py | larryv/IP-Net | ab0362097c4ca7ff07763dbf2dfca028f974b014 | [
"MIT"
] | 12 | 2020-04-06T22:34:26.000Z | 2021-11-22T07:58:53.000Z | src/lib/trains/train_factory.py | larryv/IP-Net | ab0362097c4ca7ff07763dbf2dfca028f974b014 | [
"MIT"
] | 8 | 2020-09-20T09:01:45.000Z | 2022-02-22T02:55:04.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .ctdet import CtdetTrainer
train_factory = {
'ctdet': CtdetTrainer}
| 18.7 | 38 | 0.823529 | 22 | 187 | 6.318182 | 0.5 | 0.215827 | 0.345324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139037 | 187 | 9 | 39 | 20.777778 | 0.863354 | 0 | 0 | 0 | 0 | 0 | 0.026882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.166667 | 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 |
2584464703d0d9c136086920a97bbccca49fc2c3 | 7,194 | py | Python | evodynamic/connection/cellular_automata.py | SocratesNFR/evodynamic | 682b610096182bde2298cdca352e7b319a0e4c41 | [
"Apache-2.0"
] | 9 | 2019-06-07T22:57:07.000Z | 2022-01-17T12:35:08.000Z | evodynamic/connection/cellular_automata.py | SocratesNFR/evodynamic | 682b610096182bde2298cdca352e7b319a0e4c41 | [
"Apache-2.0"
] | null | null | null | evodynamic/connection/cellular_automata.py | SocratesNFR/evodynamic | 682b610096182bde2298cdca352e7b319a0e4c41 | [
"Apache-2.0"
] | 4 | 2020-09-02T16:17:58.000Z | 2021-12-05T21:28:32.000Z | """ Connections for cellular automata """
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
import numpy as np
def create_count_neighbors_ca1d(width):
"""
Returns a list with the weights for 'neighbors' and 'center_idx' parameters
of evodynamic.connection.cellular_automata.create_conn_matrix_ca1d(...).... | 31.142857 | 85 | 0.654712 | 993 | 7,194 | 4.590131 | 0.133938 | 0.033787 | 0.024133 | 0.021062 | 0.865292 | 0.845327 | 0.83348 | 0.810882 | 0.778412 | 0.747696 | 0 | 0.014593 | 0.237976 | 7,194 | 230 | 86 | 31.278261 | 0.816855 | 0.434807 | 0 | 0.481928 | 0 | 0 | 0.044304 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 1 | 0.072289 | false | 0 | 0.024096 | 0 | 0.168675 | 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 |
25ac55048a38c2c0f0fcd80dac8858260648a954 | 46 | py | Python | setenv.py | kodtanactc/kodpersonal | 25416dd492e4bcf60510e7744a88c740b3b55c72 | [
"Apache-2.0"
] | null | null | null | setenv.py | kodtanactc/kodpersonal | 25416dd492e4bcf60510e7744a88c740b3b55c72 | [
"Apache-2.0"
] | null | null | null | setenv.py | kodtanactc/kodpersonal | 25416dd492e4bcf60510e7744a88c740b3b55c72 | [
"Apache-2.0"
] | null | null | null | RedisPwd = "7rIHpYAMRCnuE93SMTXma0pd66DQECB2"
| 23 | 45 | 0.869565 | 2 | 46 | 20 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0.065217 | 46 | 1 | 46 | 46 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
25b26c9a34fa0ea8b295cf14c434f0c497c969c3 | 264 | py | Python | Section04_Prototype/RegularPrototype/Address.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | 1 | 2020-10-20T07:41:51.000Z | 2020-10-20T07:41:51.000Z | Section04_Prototype/RegularPrototype/Address.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | Section04_Prototype/RegularPrototype/Address.py | enriqueescobar-askida/Kinito.Python | e4c5521e771c4de0ceaf81776a4a61f7de01edb4 | [
"MIT"
] | null | null | null | class Address:
def __init__(self, street_address, city, country):
self.country = country
self.city = city
self.street_address = street_address
def __str__(self):
return f'{self.street_address}, {self.city}, {self.country}'
| 29.333333 | 68 | 0.651515 | 32 | 264 | 5 | 0.34375 | 0.325 | 0.31875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238636 | 264 | 8 | 69 | 33 | 0.79602 | 0 | 0 | 0 | 0 | 0 | 0.189394 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
25ce56d35da32880b6b5c64fe2bccbcbb16795ab | 80 | py | Python | elabjournal/elabjournal/SampleMetas.py | matthijsbrouwer/elabjournal-python | 4063b01993f0bf17ea2857009c1bedc5ace8b87b | [
"Apache-2.0"
] | 2 | 2021-06-29T11:17:27.000Z | 2022-01-11T18:41:49.000Z | elabjournal/elabjournal/SampleMetas.py | matthijsbrouwer/elabjournal-python | 4063b01993f0bf17ea2857009c1bedc5ace8b87b | [
"Apache-2.0"
] | null | null | null | elabjournal/elabjournal/SampleMetas.py | matthijsbrouwer/elabjournal-python | 4063b01993f0bf17ea2857009c1bedc5ace8b87b | [
"Apache-2.0"
] | 1 | 2019-06-06T13:23:11.000Z | 2019-06-06T13:23:11.000Z | from .eLABJournalPager import *
class SampleMetas(eLABJournalPager):
pass | 13.333333 | 36 | 0.775 | 7 | 80 | 8.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 80 | 6 | 37 | 13.333333 | 0.925373 | 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 |
25eba5b91cbf6c02ccdff69efd0d18aaf1b9d75e | 138 | py | Python | common/aist_common/grammar/qualifier_classifier.py | sfahad1414/AGENT | 84069edc96b6190bb03ffd5099cbc8966061a563 | [
"Apache-2.0"
] | 15 | 2020-05-06T16:17:56.000Z | 2022-03-30T12:25:16.000Z | common/aist_common/grammar/qualifier_classifier.py | dionny/AGENT | 8a833406b590e23623fcc67db99f6f964d002396 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:17:16.000Z | 2022-02-10T06:35:58.000Z | common/aist_common/grammar/qualifier_classifier.py | dionny/AGENT | 8a833406b590e23623fcc67db99f6f964d002396 | [
"Apache-2.0"
] | 7 | 2020-04-07T18:47:55.000Z | 2022-03-30T12:14:58.000Z |
class QualifierClassifier:
def __init__(self):
pass
@staticmethod
def get_qualifiers(act_state):
return {}
| 13.8 | 34 | 0.630435 | 13 | 138 | 6.230769 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.297101 | 138 | 9 | 35 | 15.333333 | 0.835052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
d32d57d92da53548112e980f62e724fabccdd263 | 20 | py | Python | MLSol/__init__.py | nicholaslaw/MLSol | 72e4a0195e5a2ec2a0ef5cb9c4fed949e39296e9 | [
"Apache-2.0"
] | 1 | 2021-01-29T12:37:31.000Z | 2021-01-29T12:37:31.000Z | MLSol/__init__.py | nicholaslaw/MLSol | 72e4a0195e5a2ec2a0ef5cb9c4fed949e39296e9 | [
"Apache-2.0"
] | null | null | null | MLSol/__init__.py | nicholaslaw/MLSol | 72e4a0195e5a2ec2a0ef5cb9c4fed949e39296e9 | [
"Apache-2.0"
] | null | null | null | from .mlsol import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d358dba4713d26fae0f7360f2dece69ff72e1013 | 2,841 | py | Python | opencl/test_fitness.py | vyscond/sliding-puzzle-problem | 4f79bde560abda61e3d14ba00dadef936a423926 | [
"MIT"
] | null | null | null | opencl/test_fitness.py | vyscond/sliding-puzzle-problem | 4f79bde560abda61e3d14ba00dadef936a423926 | [
"MIT"
] | null | null | null | opencl/test_fitness.py | vyscond/sliding-puzzle-problem | 4f79bde560abda61e3d14ba00dadef936a423926 | [
"MIT"
] | null | null | null | from lordran import platform_selector as ps
from lordran import sliding_puzzle_parallel as spp
def init_pop( context , random_list , puzzle ):
return spp.InitialPopulationGeneratorEnhanced( context ).execute( ps.Execution.ASYNC , random_list , [ -1 , puzzle.move_top , 1 , puzzle.move_bot ] )
if ... | 33.821429 | 153 | 0.597677 | 355 | 2,841 | 4.509859 | 0.261972 | 0.052467 | 0.037477 | 0.086196 | 0.725172 | 0.703935 | 0.703935 | 0.703935 | 0.703935 | 0.698314 | 0 | 0.038598 | 0.306934 | 2,841 | 83 | 154 | 34.228916 | 0.774505 | 0.362196 | 0 | 0.357143 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.107143 | null | null | 0.107143 | 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 |
d371c9a5c1360127a63b8834006342b9636e826b | 56,702 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ncs5500_coherent_node_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ncs5500_coherent_node_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ncs5500_coherent_node_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 49.738596 | 233 | 0.503051 | 4,886 | 56,702 | 5.633238 | 0.043185 | 0.082837 | 0.103546 | 0.145764 | 0.870767 | 0.84588 | 0.819612 | 0.78179 | 0.72573 | 0.684966 | 0 | 0.04032 | 0.357024 | 56,702 | 1,139 | 234 | 49.782265 | 0.714631 | 0 | 0 | 0.539235 | 0 | 0.001006 | 0.419841 | 0.324952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.008048 | 0 | 0.008048 | 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 |
d398da1a4c2daee667a87648532c8c8ca0232439 | 128 | py | Python | vestaboard/vbUrls.py | Xaelias/Vestaboard | a1bc7b6efe6b2ad49079e851c09542c2b9452409 | [
"MIT"
] | 19 | 2020-04-17T04:59:41.000Z | 2022-01-27T23:21:28.000Z | vestaboard/vbUrls.py | Xaelias/Vestaboard | a1bc7b6efe6b2ad49079e851c09542c2b9452409 | [
"MIT"
] | 11 | 2020-04-17T04:59:19.000Z | 2022-01-07T00:18:34.000Z | vestaboard/vbUrls.py | Xaelias/Vestaboard | a1bc7b6efe6b2ad49079e851c09542c2b9452409 | [
"MIT"
] | 10 | 2021-02-08T18:35:23.000Z | 2022-01-27T23:21:23.000Z | subscription = 'https://platform.vestaboard.com/subscriptions'
post = "https://platform.vestaboard.com/subscriptions/{}/message" | 64 | 65 | 0.789063 | 13 | 128 | 7.769231 | 0.615385 | 0.257426 | 0.455446 | 0.514851 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039063 | 128 | 2 | 65 | 64 | 0.821138 | 0 | 0 | 0 | 0 | 0 | 0.782946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ca1d9b37d35e8a105a9ff80d0e5c78f8aa49f79 | 177 | py | Python | udiary/udiaryapp/views.py | michaelzadra1/udiary | 3acaf154173971e2702307218105c8961c00771a | [
"MIT"
] | null | null | null | udiary/udiaryapp/views.py | michaelzadra1/udiary | 3acaf154173971e2702307218105c8961c00771a | [
"MIT"
] | null | null | null | udiary/udiaryapp/views.py | michaelzadra1/udiary | 3acaf154173971e2702307218105c8961c00771a | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Hello world. Welcome to uDiary!")
| 22.125 | 55 | 0.79096 | 24 | 177 | 5.833333 | 0.833333 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 177 | 7 | 56 | 25.285714 | 0.915033 | 0.129944 | 0 | 0 | 0 | 0 | 0.203947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
6ce4437d9f2bf91d703787cb2b60ea9bfbaa80d1 | 92 | py | Python | memformer/__init__.py | lucidrains/memformer | c8f9a97f8b3fc7a90c21f5d3ae911499bf13e50a | [
"MIT"
] | 62 | 2020-10-10T04:56:17.000Z | 2022-02-18T21:17:14.000Z | memformer/__init__.py | lucidrains/memformer | c8f9a97f8b3fc7a90c21f5d3ae911499bf13e50a | [
"MIT"
] | 3 | 2020-10-30T17:59:35.000Z | 2021-07-09T09:43:24.000Z | memformer/__init__.py | lucidrains/memformer | c8f9a97f8b3fc7a90c21f5d3ae911499bf13e50a | [
"MIT"
] | 4 | 2020-10-30T15:31:00.000Z | 2022-01-18T10:23:27.000Z | from memformer.memformer import Memformer
from memformer.mrbp import memory_replay_backprop
| 30.666667 | 49 | 0.891304 | 12 | 92 | 6.666667 | 0.583333 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 92 | 2 | 50 | 46 | 0.952381 | 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 |
9f11818b506c169e7a9be67d144ab57cece4bef5 | 374 | py | Python | src/hello.py | kabrezi/bstrip | 9386c79434c892d0dbef1263b9f7f1adb598bb5f | [
"Apache-2.0"
] | null | null | null | src/hello.py | kabrezi/bstrip | 9386c79434c892d0dbef1263b9f7f1adb598bb5f | [
"Apache-2.0"
] | null | null | null | src/hello.py | kabrezi/bstrip | 9386c79434c892d0dbef1263b9f7f1adb598bb5f | [
"Apache-2.0"
] | null | null | null |
import os
OAL = 4
print('sudo /home/pi/bstrip/src/Cutwire1.py -a advance_' + str(OAL))
def main():
os.system('sudo /home/pi/bstrip/src/Cutwire1.py -a advance_' + str(OAL))
main()
#os.system('sudo /home/pi/bstrip/src/Cutwire1.py -l ' + OAL[0] + ' -s ' + Strip_A[0] + ' -c ' + Stip_B[0] + ' -n ' + Quantity[0])
#main... | 31.166667 | 129 | 0.631016 | 66 | 374 | 3.5 | 0.409091 | 0.138528 | 0.17316 | 0.277056 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0.761905 | 0.601732 | 0 | 0.031348 | 0.147059 | 374 | 12 | 130 | 31.166667 | 0.69279 | 0.489305 | 0 | 0 | 0 | 0 | 0.510638 | 0.329787 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f1d60b83d1826a4e62e9336d7e7bf4d03d90672 | 11,128 | py | Python | kolibri/core/content/test/test_upgrade.py | MBKayro/kolibri | 0a38a5fb665503cf8f848b2f65938e73bfaa5989 | [
"MIT"
] | 545 | 2016-01-19T19:26:55.000Z | 2022-03-20T00:13:04.000Z | kolibri/core/content/test/test_upgrade.py | MBKayro/kolibri | 0a38a5fb665503cf8f848b2f65938e73bfaa5989 | [
"MIT"
] | 8,329 | 2016-01-19T19:32:02.000Z | 2022-03-31T21:23:12.000Z | kolibri/core/content/test/test_upgrade.py | MBKayro/kolibri | 0a38a5fb665503cf8f848b2f65938e73bfaa5989 | [
"MIT"
] | 493 | 2016-01-19T19:26:48.000Z | 2022-03-28T14:35:05.000Z | import tempfile
import uuid
from django.core.management import call_command
from django.test import TransactionTestCase
from le_utils.constants import content_kinds
from mock import call
from mock import patch
from .sqlalchemytesting import django_connection_engine
from kolibri.core.content.constants.schema_versions ... | 37.85034 | 87 | 0.654295 | 1,325 | 11,128 | 5.205283 | 0.100377 | 0.059156 | 0.047847 | 0.060896 | 0.827026 | 0.803393 | 0.749746 | 0.728868 | 0.722923 | 0.707699 | 0 | 0.013029 | 0.248203 | 11,128 | 293 | 88 | 37.979522 | 0.811379 | 0.031362 | 0 | 0.626923 | 0 | 0 | 0.046045 | 0.035184 | 0 | 0 | 0 | 0 | 0.080769 | 1 | 0.053846 | false | 0 | 0.088462 | 0.003846 | 0.161538 | 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 |
9f374414105bd6faa4e6103acad61f7686817d67 | 3,085 | py | Python | src/rating/manager/rating_instances.py | alterway/rating-operator-manager | 985252dbfa300a83938d6b19b8aa93c7c865916e | [
"Apache-2.0"
] | 11 | 2021-02-16T17:11:36.000Z | 2021-11-09T16:28:15.000Z | src/rating/manager/rating_instances.py | alterway/rating-operator-manager | 985252dbfa300a83938d6b19b8aa93c7c865916e | [
"Apache-2.0"
] | null | null | null | src/rating/manager/rating_instances.py | alterway/rating-operator-manager | 985252dbfa300a83938d6b19b8aa93c7c865916e | [
"Apache-2.0"
] | null | null | null | from logging import Logger
from typing import Dict
import kopf
import requests
from datetime import datetime as dt
from rating.manager import utils
@kopf.on.create('rating.alterway.fr', 'v1', 'ratingruleinstances')
@kopf.on.update('rating.alterway.fr', 'v1', 'ratingruleinstances')
@utils.assert_rating_namespace
def... | 41.133333 | 89 | 0.603566 | 330 | 3,085 | 5.569697 | 0.272727 | 0.039173 | 0.032644 | 0.028292 | 0.826442 | 0.806311 | 0.806311 | 0.806311 | 0.721436 | 0.670294 | 0 | 0.001363 | 0.286548 | 3,085 | 75 | 90 | 41.133333 | 0.833712 | 0.196759 | 0 | 0.566038 | 0 | 0 | 0.245861 | 0.018626 | 0 | 0 | 0 | 0 | 0.037736 | 1 | 0.037736 | false | 0 | 0.113208 | 0 | 0.150943 | 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 |
9f6619f5e5b2722b43c1c5853bc91f32ba40b670 | 145 | py | Python | models/__init__.py | zhangsiyu1103/ESNAC | ecec9860d1fb9f82a61c61dc2bcd1b17d58352dd | [
"MIT"
] | null | null | null | models/__init__.py | zhangsiyu1103/ESNAC | ecec9860d1fb9f82a61c61dc2bcd1b17d58352dd | [
"MIT"
] | null | null | null | models/__init__.py | zhangsiyu1103/ESNAC | ecec9860d1fb9f82a61c61dc2bcd1b17d58352dd | [
"MIT"
] | null | null | null | from .extension import *
from .resnet_m import *
from .vgg_m import *
from .shufflenet_m import *
from .alexnet_m import *
from .sample import *
| 20.714286 | 27 | 0.751724 | 22 | 145 | 4.772727 | 0.409091 | 0.47619 | 0.419048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165517 | 145 | 6 | 28 | 24.166667 | 0.867769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9f7d81551ac880094346429c772ed657c20f5206 | 99 | py | Python | pystiche/ops/__init__.py | jbueltemeier/pystiche | 0d0707121e63c4355303446e62a4894e86a7b763 | [
"BSD-3-Clause"
] | null | null | null | pystiche/ops/__init__.py | jbueltemeier/pystiche | 0d0707121e63c4355303446e62a4894e86a7b763 | [
"BSD-3-Clause"
] | null | null | null | pystiche/ops/__init__.py | jbueltemeier/pystiche | 0d0707121e63c4355303446e62a4894e86a7b763 | [
"BSD-3-Clause"
] | null | null | null | from .comparison import *
from .container import *
from .op import *
from .regularization import *
| 19.8 | 29 | 0.757576 | 12 | 99 | 6.25 | 0.5 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 4 | 30 | 24.75 | 0.903614 | 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 |
9f8c7efbd20aec3199f8b0ef0af080be35192260 | 193 | py | Python | theremini_player/setup.py | civerachb-cpr/theremini_ros | 162aabd0993b782869e3fbe69e090c8c8c9ca042 | [
"BSD-3-Clause"
] | null | null | null | theremini_player/setup.py | civerachb-cpr/theremini_ros | 162aabd0993b782869e3fbe69e090c8c8c9ca042 | [
"BSD-3-Clause"
] | null | null | null | theremini_player/setup.py | civerachb-cpr/theremini_ros | 162aabd0993b782869e3fbe69e090c8c8c9ca042 | [
"BSD-3-Clause"
] | null | null | null | from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['theremini_player'], package_dir={'': 'src'})
setup(**d)
| 24.125 | 60 | 0.792746 | 26 | 193 | 5.576923 | 0.615385 | 0.234483 | 0.303448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088083 | 193 | 7 | 61 | 27.571429 | 0.823864 | 0 | 0 | 0 | 1 | 0 | 0.098446 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9fbed254e77abddc91ffe591cfeb37ab31231580 | 22,311 | py | Python | mkhockeydata.py | GameMaker2k/Neo-Hockey-Test | 5737bfedf0d83f69964e85ac1dbf7e6a93c13f44 | [
"BSD-3-Clause"
] | 1 | 2020-04-04T10:25:42.000Z | 2020-04-04T10:25:42.000Z | mkhockeydata.py | GameMaker2k/Neo-Hockey-Test | 5737bfedf0d83f69964e85ac1dbf7e6a93c13f44 | [
"BSD-3-Clause"
] | null | null | null | mkhockeydata.py | GameMaker2k/Neo-Hockey-Test | 5737bfedf0d83f69964e85ac1dbf7e6a93c13f44 | [
"BSD-3-Clause"
] | 3 | 2021-09-07T08:44:33.000Z | 2021-12-07T23:49:39.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
This program is free software; you can redistribute it and/or modify
it under the terms of the Revised BSD License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCH... | 67.81459 | 812 | 0.745955 | 2,591 | 22,311 | 6.277113 | 0.103821 | 0.061977 | 0.103296 | 0.036153 | 0.81376 | 0.790212 | 0.782833 | 0.766171 | 0.756333 | 0.742683 | 0 | 0.004565 | 0.086863 | 22,311 | 328 | 813 | 68.021341 | 0.793747 | 0.028058 | 0 | 0.635739 | 0 | 0 | 0.252957 | 0.025786 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013746 | 0 | 0.013746 | 0.116838 | 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 |
e2425c2cb6764fde1d5472552b81250dc65c17f8 | 1,391 | py | Python | databroker_pack/commandline/_utils.py | gwbischof/databroker-pack | 361d4948f495973cc2992904d9db4cff385f9815 | [
"BSD-3-Clause"
] | 1 | 2021-06-17T04:20:47.000Z | 2021-06-17T04:20:47.000Z | databroker_pack/commandline/_utils.py | gwbischof/databroker-pack | 361d4948f495973cc2992904d9db4cff385f9815 | [
"BSD-3-Clause"
] | 22 | 2020-04-03T02:14:15.000Z | 2021-03-12T18:14:40.000Z | databroker_pack/commandline/_utils.py | gwbischof/databroker-pack | 361d4948f495973cc2992904d9db4cff385f9815 | [
"BSD-3-Clause"
] | 7 | 2020-04-01T01:24:12.000Z | 2020-08-31T20:15:03.000Z | import argparse
from .._version import get_versions
class ShowVersionAction(argparse.Action):
# a special action that allows the usage --version to override
# any 'required args' requirements, the same way that --help does
def __init__(
self,
option_strings,
dest=argparse.SUPPRESS... | 25.759259 | 72 | 0.59885 | 145 | 1,391 | 5.503448 | 0.358621 | 0.097744 | 0.085213 | 0.055138 | 0.749373 | 0.749373 | 0.749373 | 0.749373 | 0.749373 | 0.634085 | 0 | 0.002101 | 0.3156 | 1,391 | 53 | 73 | 26.245283 | 0.836134 | 0.183321 | 0 | 0.75 | 0 | 0 | 0.006189 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.075 | 0 | 0.225 | 0.05 | 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 |
e2958d1ef1431702155d88e34dcd6aef3658220b | 190 | py | Python | backend/server/assets/tokens.py | dkubatko/BubbleText | 0910ddabe5eda9aa6f6c9254e42411c9b01a6516 | [
"MIT"
] | null | null | null | backend/server/assets/tokens.py | dkubatko/BubbleText | 0910ddabe5eda9aa6f6c9254e42411c9b01a6516 | [
"MIT"
] | null | null | null | backend/server/assets/tokens.py | dkubatko/BubbleText | 0910ddabe5eda9aa6f6c9254e42411c9b01a6516 | [
"MIT"
] | null | null | null | import secrets
import settings.token_settings as local_settings
class Tokens:
@classmethod
def generate_token(cls):
return secrets.token_hex(local_settings.TOKEN_BITS_USED)
| 23.75 | 64 | 0.789474 | 25 | 190 | 5.72 | 0.64 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 190 | 7 | 65 | 27.142857 | 0.89375 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
2c3c22ca18dfc22b019f99c12d12105b68f75774 | 24 | py | Python | populy/__init__.py | R-mario/simuPy | ff5498c340851cbdc4fedd32c296ee9b50bbc06a | [
"MIT"
] | null | null | null | populy/__init__.py | R-mario/simuPy | ff5498c340851cbdc4fedd32c296ee9b50bbc06a | [
"MIT"
] | null | null | null | populy/__init__.py | R-mario/simuPy | ff5498c340851cbdc4fedd32c296ee9b50bbc06a | [
"MIT"
] | null | null | null | from . import population | 24 | 24 | 0.833333 | 3 | 24 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2c7fbd5fc36b5a936cb0a897b203b9ff0560a954 | 105 | py | Python | codigo/Live165/exemplo_01.py | BrunoPontesLira/live-de-python | da6e463a89ed90d9efaa1c34088ab6460e949de1 | [
"MIT"
] | 572 | 2018-04-03T03:17:08.000Z | 2022-03-31T19:05:32.000Z | codigo/Live165/exemplo_01.py | BrunoPontesLira/live-de-python | da6e463a89ed90d9efaa1c34088ab6460e949de1 | [
"MIT"
] | 176 | 2018-05-18T15:56:16.000Z | 2022-03-28T20:39:07.000Z | codigo/Live165/exemplo_01.py | BrunoPontesLira/live-de-python | da6e463a89ed90d9efaa1c34088ab6460e949de1 | [
"MIT"
] | 140 | 2018-04-18T13:59:11.000Z | 2022-03-29T00:43:49.000Z | from pydantic import validate_arguments
@validate_arguments
def soma(x: int, y: int):
return x + y
| 15 | 39 | 0.733333 | 16 | 105 | 4.6875 | 0.6875 | 0.453333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 105 | 6 | 40 | 17.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
2cbaaa9cb2c1f9c240ff43e15a551596128bfdc2 | 22 | py | Python | examples/example_open_mini1.py | ivan-kulikov-dev/pytib | 3be8c12071548944628cb517ff0bc41b7fd4d9cd | [
"MIT"
] | null | null | null | examples/example_open_mini1.py | ivan-kulikov-dev/pytib | 3be8c12071548944628cb517ff0bc41b7fd4d9cd | [
"MIT"
] | null | null | null | examples/example_open_mini1.py | ivan-kulikov-dev/pytib | 3be8c12071548944628cb517ff0bc41b7fd4d9cd | [
"MIT"
] | null | null | null | from .. import pytib
| 7.333333 | 20 | 0.681818 | 3 | 22 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 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 |
e2c27fcb493c0083d1c0bea4dd6c21fb4d8dfc02 | 7,688 | py | Python | tasks/tcn_call_test.py | evanharwin/keras-tcn | 81706eaabc069ad27a1786625bbf731b247bf2f0 | [
"MIT"
] | 1,473 | 2018-03-22T11:57:25.000Z | 2022-03-31T02:49:58.000Z | tasks/tcn_call_test.py | gf9619/keras-tcn | 078901b98e8538b85b5d40953ca8fc52ad9274e0 | [
"MIT"
] | 177 | 2018-04-05T04:28:55.000Z | 2022-03-19T13:26:57.000Z | tasks/tcn_call_test.py | gf9619/keras-tcn | 078901b98e8538b85b5d40953ca8fc52ad9274e0 | [
"MIT"
] | 414 | 2018-03-23T06:36:44.000Z | 2022-03-29T11:07:00.000Z | import unittest
import numpy as np
from tensorflow.keras import Input
from tensorflow.keras import Model
from tensorflow.keras.models import Sequential
from tcn import TCN
NB_FILTERS = 16
TIME_STEPS = 20
SEQ_LEN_1 = 5
SEQ_LEN_2 = 1
SEQ_LEN_3 = 10
def predict_with_tcn(time_steps=None, padding='causal', return_sequ... | 50.913907 | 119 | 0.653356 | 1,150 | 7,688 | 4.123478 | 0.105217 | 0.081611 | 0.077604 | 0.010122 | 0.840574 | 0.831295 | 0.826234 | 0.767609 | 0.749473 | 0.719528 | 0 | 0.052555 | 0.198101 | 7,688 | 150 | 120 | 51.253333 | 0.716626 | 0.045005 | 0 | 0.238532 | 0 | 0 | 0.0247 | 0 | 0 | 0 | 0 | 0 | 0.266055 | 1 | 0.110092 | false | 0.018349 | 0.055046 | 0 | 0.192661 | 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 |
1a8eaf223b1cd6517bfafcfcc9785ab80786e4b5 | 18 | py | Python | lib/wombatwiki/__init__.py | jimeggleston/wombatwiki | 5e0d7c8e6e4037de4040585b91fd5f8db7293b36 | [
"MIT"
] | null | null | null | lib/wombatwiki/__init__.py | jimeggleston/wombatwiki | 5e0d7c8e6e4037de4040585b91fd5f8db7293b36 | [
"MIT"
] | null | null | null | lib/wombatwiki/__init__.py | jimeggleston/wombatwiki | 5e0d7c8e6e4037de4040585b91fd5f8db7293b36 | [
"MIT"
] | null | null | null | import os, sys, re | 18 | 18 | 0.722222 | 4 | 18 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.866667 | 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 |
46d13a57e062b83dfd9097293233a5e9d6f88680 | 74 | py | Python | build/lib/amap/__init__.py | commerceblock/asset-mapping | ba33f2698ba7a9f7f1c59fea531cad919ed34fa3 | [
"MIT"
] | 3 | 2019-06-12T16:43:10.000Z | 2021-09-20T06:46:20.000Z | build/lib/amap/__init__.py | cryptopoly/asset-mapping | d61b196066fadc54f1a1600fb72ef7c5627db3e4 | [
"MIT"
] | 41 | 2019-05-03T14:52:45.000Z | 2019-10-25T09:07:15.000Z | build/lib/amap/__init__.py | cryptopoly/asset-mapping | d61b196066fadc54f1a1600fb72ef7c5627db3e4 | [
"MIT"
] | 3 | 2019-06-12T16:44:14.000Z | 2021-11-09T20:32:18.000Z | from ._version import __version__
import amap.mapping
import amap.rpchost
| 18.5 | 33 | 0.851351 | 10 | 74 | 5.8 | 0.6 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 3 | 34 | 24.666667 | 0.878788 | 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 |
46f71c943050902ec31441de0602aa6bdfc7b6ce | 84 | py | Python | src/visualization/recall.py | FilipCvetko/clinical_notes | 5fa0d26898e0083fcf424cdd61d2190b32a495be | [
"MIT"
] | 2 | 2021-11-17T16:51:47.000Z | 2021-12-16T23:00:26.000Z | src/visualization/recall.py | FilipCvetko/clinical_notes | 5fa0d26898e0083fcf424cdd61d2190b32a495be | [
"MIT"
] | null | null | null | src/visualization/recall.py | FilipCvetko/clinical_notes | 5fa0d26898e0083fcf424cdd61d2190b32a495be | [
"MIT"
] | null | null | null | import streamlit as st
def recall_app():
st.title("Patient notes collection")
| 14 | 40 | 0.72619 | 12 | 84 | 5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 5 | 41 | 16.8 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2037a9e902af27e73c40842b62da9f0262ffbba5 | 126 | py | Python | ProteoPy/__init__.py | cossio/ProteoPy | a3569dcef34e4d416863c812e90498d749dc288f | [
"MIT"
] | null | null | null | ProteoPy/__init__.py | cossio/ProteoPy | a3569dcef34e4d416863c812e90498d749dc288f | [
"MIT"
] | null | null | null | ProteoPy/__init__.py | cossio/ProteoPy | a3569dcef34e4d416863c812e90498d749dc288f | [
"MIT"
] | null | null | null | """
Simple tools to handle proteomics data.
"""
from ProteoPy.Services import Services
import ProteoPy.io
import ProteoPy.util | 21 | 39 | 0.801587 | 17 | 126 | 5.941176 | 0.705882 | 0.277228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 126 | 6 | 40 | 21 | 0.90991 | 0.309524 | 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 |
64562b5b8cc5301460a6fc567e4440a83f9331b0 | 158 | py | Python | backend/apps/sampleapp/admin.py | domasx2/django-angular-docker-seed | 5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb | [
"Unlicense"
] | 32 | 2015-04-27T02:01:59.000Z | 2021-04-06T10:19:42.000Z | backend/apps/sampleapp/admin.py | domasx2/django-angular-docker-seed | 5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb | [
"Unlicense"
] | 14 | 2015-03-21T08:20:34.000Z | 2016-02-15T07:07:39.000Z | backend/apps/sampleapp/admin.py | domasx2/django-angular-docker-seed | 5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb | [
"Unlicense"
] | 21 | 2015-03-18T18:40:12.000Z | 2021-03-16T22:12:44.000Z | from django.contrib import admin
from .models import Upload
# Register your models here.
@admin.register(Upload)
class UploadAdmin(admin.ModelAdmin):
pass | 26.333333 | 36 | 0.797468 | 21 | 158 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 158 | 6 | 37 | 26.333333 | 0.913043 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
645ecd2ccaa20cd884d58417b03f4c6851420cdb | 11,305 | py | Python | tests/mock_decorators/test_function_mock.py | fhuertas/mock_decorator | bb8971398aa80f555089db0ca57fff5a648f5405 | [
"Apache-2.0"
] | null | null | null | tests/mock_decorators/test_function_mock.py | fhuertas/mock_decorator | bb8971398aa80f555089db0ca57fff5a648f5405 | [
"Apache-2.0"
] | null | null | null | tests/mock_decorators/test_function_mock.py | fhuertas/mock_decorator | bb8971398aa80f555089db0ca57fff5a648f5405 | [
"Apache-2.0"
] | null | null | null | import sys
import unittest
from mock_decorators.function_mock import FunctionMock
from mock_decorators.function_mock import FunctionMockResult
from mock_decorators.function_mock import FunctionMockChangeResult
from mock_decorators.function_mock import FunctionMockCheckCall
from tests.mock_decorators import module_test
... | 38.715753 | 110 | 0.681203 | 1,326 | 11,305 | 5.474359 | 0.078431 | 0.10084 | 0.119025 | 0.115718 | 0.862516 | 0.822565 | 0.748863 | 0.725582 | 0.66359 | 0.625568 | 0 | 0.014661 | 0.239805 | 11,305 | 291 | 111 | 38.848797 | 0.829998 | 0 | 0 | 0.623853 | 0 | 0 | 0.08536 | 0 | 0 | 0 | 0 | 0 | 0.16055 | 1 | 0.247706 | false | 0.009174 | 0.036697 | 0.09633 | 0.426606 | 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 |
64b5391c7258de0feed045a9012767481dbf3a5e | 836 | py | Python | tests/test_preloaders.py | rohits2/iterlib | c239bb8f8485e01e281943bb6e4feea25b8e13d9 | [
"MIT"
] | null | null | null | tests/test_preloaders.py | rohits2/iterlib | c239bb8f8485e01e281943bb6e4feea25b8e13d9 | [
"MIT"
] | null | null | null | tests/test_preloaders.py | rohits2/iterlib | c239bb8f8485e01e281943bb6e4feea25b8e13d9 | [
"MIT"
] | null | null | null | import pytest
import iterlib
import random
@pytest.mark.timeout(10)
def test_thread_loader_equality():
random_ints = [random.randint(0, 100) for _ in range(10000)]
random_ints_sq = (x**2 for x in random_ints)
random_ints_sq_list = [x**2 for x in random_ints]
random_ints_thread_loader = iterlib.thread_p... | 36.347826 | 70 | 0.740431 | 138 | 836 | 4.137681 | 0.224638 | 0.315236 | 0.168126 | 0.042032 | 0.809107 | 0.809107 | 0.718039 | 0.718039 | 0.61296 | 0.61296 | 0 | 0.037303 | 0.166268 | 836 | 22 | 71 | 38 | 0.781923 | 0 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.105263 | false | 0 | 0.157895 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b3b415dd17be406cf74fa5b61a7523d349898dea | 139 | py | Python | hbmqtt/mqtt/puback.py | sjlongland/amqtt | 3db7c9a3501be503beaded052006b4190538dc0e | [
"MIT"
] | null | null | null | hbmqtt/mqtt/puback.py | sjlongland/amqtt | 3db7c9a3501be503beaded052006b4190538dc0e | [
"MIT"
] | null | null | null | hbmqtt/mqtt/puback.py | sjlongland/amqtt | 3db7c9a3501be503beaded052006b4190538dc0e | [
"MIT"
] | null | null | null | import warnings
from amqtt.mqtt.puback import *
warnings.warn("importing hbmqtt is deprecated. Please import amqtt", DeprecationWarning)
| 23.166667 | 88 | 0.81295 | 17 | 139 | 6.647059 | 0.764706 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 139 | 5 | 89 | 27.8 | 0.918699 | 0 | 0 | 0 | 0 | 0 | 0.366906 | 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 |
b3c112802497ca70e219de9cbfbac98c0b4a7a6e | 132 | py | Python | aas_core_codegen/csharp/reporting/__init__.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 5 | 2021-12-29T12:55:34.000Z | 2022-03-01T17:57:21.000Z | aas_core_codegen/csharp/reporting/__init__.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 10 | 2021-12-29T02:15:55.000Z | 2022-03-09T11:04:22.000Z | aas_core_codegen/csharp/reporting/__init__.py | aas-core-works/aas-core-codegen | afec2cf363b6cb69816e7724a2b58626e2165869 | [
"MIT"
] | 2 | 2021-12-29T01:42:12.000Z | 2022-02-15T13:46:33.000Z | """Generate C# code for reporting errors."""
from aas_core_codegen.csharp.reporting import _generate
generate = _generate.generate
| 26.4 | 55 | 0.80303 | 17 | 132 | 6 | 0.705882 | 0.470588 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 132 | 4 | 56 | 33 | 0.864407 | 0.287879 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b3d31cd0fdbbf2bb53c2c1b21e03c863e0f7bb7a | 22 | py | Python | examples/optics/__init__.py | abbasegbeyemi/pyqtgraph | 6aeafce477d1d7eebb9d2fe824d4c5573ef9ceed | [
"MIT"
] | 150 | 2018-03-27T16:45:37.000Z | 2022-03-30T03:47:56.000Z | examples/optics/__init__.py | abbasegbeyemi/pyqtgraph | 6aeafce477d1d7eebb9d2fe824d4c5573ef9ceed | [
"MIT"
] | 67 | 2019-11-30T14:45:05.000Z | 2022-03-14T20:26:06.000Z | examples/optics/__init__.py | abbasegbeyemi/pyqtgraph | 6aeafce477d1d7eebb9d2fe824d4c5573ef9ceed | [
"MIT"
] | 40 | 2018-04-06T19:42:21.000Z | 2022-01-11T00:34:17.000Z | from .pyoptic import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 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 |
b3e040649ebde9c07b60b7aa6faade509d18de1c | 39,099 | py | Python | tests/unit/cluster_test.py | king7997/rubrik-sdk-for-python | 6a691ec7e1e7ff57812512dcfc549d9052d55f7a | [
"MIT"
] | null | null | null | tests/unit/cluster_test.py | king7997/rubrik-sdk-for-python | 6a691ec7e1e7ff57812512dcfc549d9052d55f7a | [
"MIT"
] | null | null | null | tests/unit/cluster_test.py | king7997/rubrik-sdk-for-python | 6a691ec7e1e7ff57812512dcfc549d9052d55f7a | [
"MIT"
] | null | null | null | import pytest
from rubrik_cdm.exceptions import InvalidParameterException, CDMVersionException, InvalidTypeException
from rubrik_cdm import Connect
def test_cluster_version(rubrik, mocker):
def mock_get_v1_cluster_me_version():
return {'version': '5.0.1-1280'}
mock_get = mocker.patch('rubrik_cdm.Con... | 34.631532 | 147 | 0.532034 | 3,548 | 39,099 | 5.549324 | 0.074972 | 0.03342 | 0.044035 | 0.051806 | 0.89644 | 0.839301 | 0.800904 | 0.760323 | 0.723805 | 0.699172 | 0 | 0.04698 | 0.355431 | 39,099 | 1,128 | 148 | 34.662234 | 0.734267 | 0 | 0 | 0.649336 | 0 | 0.003319 | 0.254252 | 0.092765 | 0 | 0 | 0 | 0 | 0.029867 | 1 | 0.100664 | false | 0.00885 | 0.003319 | 0.057522 | 0.161504 | 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 |
374d747e117617bc056bc2c94da7f6a24dce3269 | 25 | py | Python | Morton3D/__init__.py | Jianningli/Morton3D | 7a58e067f23cbd1ff433219a4a6e4b0b0b3f8cdd | [
"MIT"
] | 1 | 2020-08-24T08:13:01.000Z | 2020-08-24T08:13:01.000Z | Morton3D/__init__.py | Jianningli/Morton3D | 7a58e067f23cbd1ff433219a4a6e4b0b0b3f8cdd | [
"MIT"
] | null | null | null | Morton3D/__init__.py | Jianningli/Morton3D | 7a58e067f23cbd1ff433219a4a6e4b0b0b3f8cdd | [
"MIT"
] | null | null | null |
from .Morton3D import *
| 8.333333 | 23 | 0.72 | 3 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.2 | 25 | 2 | 24 | 12.5 | 0.85 | 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 |
377760793eb22d4545e17687b9ee614a361a9a5e | 20 | py | Python | cantera_tools/__init__.py | amarkpayne/ampayne_tools | a47e9baa70edaedfb655ab51f79bf5035eaacd83 | [
"MIT"
] | null | null | null | cantera_tools/__init__.py | amarkpayne/ampayne_tools | a47e9baa70edaedfb655ab51f79bf5035eaacd83 | [
"MIT"
] | null | null | null | cantera_tools/__init__.py | amarkpayne/ampayne_tools | a47e9baa70edaedfb655ab51f79bf5035eaacd83 | [
"MIT"
] | null | null | null | from tools import *
| 10 | 19 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.9375 | 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 |
378226377e34e449760fd9cbac470ce87823480e | 2,316 | py | Python | tests/backend/metadata/test_hatch.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | tests/backend/metadata/test_hatch.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | tests/backend/metadata/test_hatch.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | import pytest
from hatchling.metadata.core import HatchMetadata
class TestMetadataConfig:
def test_default(self, isolation):
config = {}
metadata = HatchMetadata(str(isolation), config, None)
assert metadata.metadata_config == metadata.metadata_config == {}
def test_not_table(self, ... | 34.567164 | 104 | 0.65544 | 241 | 2,316 | 6.174274 | 0.174274 | 0.181452 | 0.114919 | 0.199597 | 0.868952 | 0.807796 | 0.774194 | 0.692876 | 0.617608 | 0.612231 | 0 | 0.001657 | 0.21848 | 2,316 | 66 | 105 | 35.090909 | 0.820442 | 0 | 0 | 0.477273 | 0 | 0 | 0.111831 | 0.020294 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.204545 | false | 0 | 0.045455 | 0 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 |
378e5ecda54ca6d9324a219f8fdbd4b8dca2abcf | 16,269 | py | Python | src/ckanext-userdatasets/ckanext/userdatasets/tests/test_auth_actions_unit.py | CI-WATER/portal | c61660c8389c7af82517cbd0154bc83f9737c4d1 | [
"BSD-3-Clause"
] | 1 | 2017-12-22T04:53:06.000Z | 2017-12-22T04:53:06.000Z | src/ckanext-userdatasets/ckanext/userdatasets/tests/test_auth_actions_unit.py | CI-WATER/portal | c61660c8389c7af82517cbd0154bc83f9737c4d1 | [
"BSD-3-Clause"
] | 4 | 2015-04-16T19:41:17.000Z | 2020-10-25T18:02:14.000Z | src/ckanext-userdatasets/ckanext/userdatasets/tests/test_auth_actions_unit.py | CI-WATER/portal | c61660c8389c7af82517cbd0154bc83f9737c4d1 | [
"BSD-3-Clause"
] | null | null | null | """Unit tests on the auth functions in ckanext.userdatasets.logic.auth
These tests test the auth functions' implementation independently of CKAN.
For that reason the CKAN calls are patched.
The first two tests check ckanext.userdatasets.auth.auth.user_owns_package_as_member and
ckanext.userdatasets.aut... | 40.979849 | 129 | 0.583687 | 1,830 | 16,269 | 4.882514 | 0.075956 | 0.05014 | 0.063123 | 0.141018 | 0.879239 | 0.840739 | 0.806715 | 0.787129 | 0.753106 | 0.753106 | 0 | 0.004481 | 0.300449 | 16,269 | 396 | 130 | 41.083333 | 0.780599 | 0.121704 | 0 | 0.602524 | 0 | 0 | 0.272565 | 0.127778 | 0 | 0 | 0 | 0 | 0.044164 | 1 | 0.041009 | false | 0 | 0.028391 | 0 | 0.07571 | 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 |
37bb3e96c31b694bb15ea7891fdc2993bbe46013 | 39 | py | Python | src/python/qeqiskit/simulator/__init__.py | TimWeaving/qe-qiskit | fe280835971f5c0203a5143f768cbf61fdef722c | [
"Apache-2.0"
] | 8 | 2020-10-06T13:54:36.000Z | 2022-03-03T23:22:31.000Z | src/python/qeqiskit/simulator/__init__.py | TimWeaving/qe-qiskit | fe280835971f5c0203a5143f768cbf61fdef722c | [
"Apache-2.0"
] | 39 | 2020-11-26T14:46:52.000Z | 2022-03-31T12:39:09.000Z | src/python/qeqiskit/simulator/__init__.py | TimWeaving/qe-qiskit | fe280835971f5c0203a5143f768cbf61fdef722c | [
"Apache-2.0"
] | 2 | 2021-01-14T22:26:46.000Z | 2021-09-30T13:40:59.000Z | from .simulator import QiskitSimulator
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
805c7abf41e06accdf55af22ddf647cecb31459f | 91 | py | Python | oldstuff/meh/api.py | miusuarioamigo/python-Le | dbb653255dab7d11b87f25eec94bcce63a86aa42 | [
"MIT"
] | null | null | null | oldstuff/meh/api.py | miusuarioamigo/python-Le | dbb653255dab7d11b87f25eec94bcce63a86aa42 | [
"MIT"
] | null | null | null | oldstuff/meh/api.py | miusuarioamigo/python-Le | dbb653255dab7d11b87f25eec94bcce63a86aa42 | [
"MIT"
] | null | null | null | def say_hello():
return {"pepe": "Regresame lo que sea y mata a un pato!", "otra":"2"}
| 30.333333 | 73 | 0.615385 | 16 | 91 | 3.4375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.197802 | 91 | 2 | 74 | 45.5 | 0.739726 | 0 | 0 | 0 | 0 | 0 | 0.516484 | 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 |
806fa604249be504d1e65d95b95c658fc5262e6e | 166 | py | Python | tests/unit/test_dwave_trng.py | sea212/qpu | 2ac23e78aed1b358640d6848406427cb2bf2b73d | [
"MIT"
] | 1 | 2020-10-20T07:04:15.000Z | 2020-10-20T07:04:15.000Z | tests/unit/test_dwave_trng.py | sea212/qpu | 2ac23e78aed1b358640d6848406427cb2bf2b73d | [
"MIT"
] | null | null | null | tests/unit/test_dwave_trng.py | sea212/qpu | 2ac23e78aed1b358640d6848406427cb2bf2b73d | [
"MIT"
] | null | null | null | import pytest # noqa: F401
import qpu.dwave.cryptography.trng as dwave_trng # noqa: F401
def test_random_deviation():
# TODO: implement
assert(42 == 42)
| 18.444444 | 62 | 0.704819 | 23 | 166 | 4.956522 | 0.73913 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075188 | 0.198795 | 166 | 8 | 63 | 20.75 | 0.781955 | 0.222892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
807fd672b02e1d171dc0dda168327902a516fca4 | 167 | py | Python | thinc/tests/mypy/modules/fail_no_plugin.py | TheVinhLuong102/thinc | 7b54f728ddec7765a1d8a5e553d4b4b90b9edaec | [
"MIT"
] | 2,542 | 2016-10-20T07:02:59.000Z | 2022-03-30T20:18:35.000Z | thinc/tests/mypy/modules/fail_no_plugin.py | TheVinhLuong102/thinc | 7b54f728ddec7765a1d8a5e553d4b4b90b9edaec | [
"MIT"
] | 453 | 2016-10-19T21:09:35.000Z | 2022-03-31T11:01:15.000Z | thinc/tests/mypy/modules/fail_no_plugin.py | TheVinhLuong102/thinc | 7b54f728ddec7765a1d8a5e553d4b4b90b9edaec | [
"MIT"
] | 265 | 2016-11-14T14:53:58.000Z | 2022-03-31T02:25:24.000Z | from thinc.api import chain, Relu, reduce_max, Softmax, add
bad_model = chain(Relu(10), reduce_max(), Softmax())
bad_model2 = add(Relu(10), reduce_max(), Softmax())
| 27.833333 | 59 | 0.718563 | 26 | 167 | 4.423077 | 0.538462 | 0.234783 | 0.417391 | 0.26087 | 0.382609 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034014 | 0.11976 | 167 | 5 | 60 | 33.4 | 0.748299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
80b6f78f4b0cbf9d47ea87a56e926f72362e2693 | 180 | py | Python | tests/test_input_thermo_elasticity_ess.py | Gkdnz/SfePy | a3a39d4e087705e9e0e8884cbf63513a2ded2108 | [
"BSD-3-Clause"
] | null | null | null | tests/test_input_thermo_elasticity_ess.py | Gkdnz/SfePy | a3a39d4e087705e9e0e8884cbf63513a2ded2108 | [
"BSD-3-Clause"
] | null | null | null | tests/test_input_thermo_elasticity_ess.py | Gkdnz/SfePy | a3a39d4e087705e9e0e8884cbf63513a2ded2108 | [
"BSD-3-Clause"
] | null | null | null | input_name = '../examples/multi_physics/thermo_elasticity_ess.py'
output_name = 'test_thermo_elasticity_ess.vtk'
from tests_basic import TestInput
class Test(TestInput):
pass
| 25.714286 | 65 | 0.811111 | 25 | 180 | 5.48 | 0.76 | 0.233577 | 0.277372 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 180 | 6 | 66 | 30 | 0.845679 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
80bf9522d06da3ca0067493a14d9e8c1ae06aa83 | 39 | py | Python | easyDataverse/__init__.py | JR-1991/easyDataverse | f4ed6c4b84193207247cd28375f9dac47c77f7d8 | [
"MIT"
] | 1 | 2022-01-19T14:47:14.000Z | 2022-01-19T14:47:14.000Z | easyDataverse/__init__.py | JR-1991/easyDataverse | f4ed6c4b84193207247cd28375f9dac47c77f7d8 | [
"MIT"
] | 1 | 2022-02-22T15:33:11.000Z | 2022-02-22T15:34:08.000Z | easyDataverse/__init__.py | JR-1991/easyDataverse | f4ed6c4b84193207247cd28375f9dac47c77f7d8 | [
"MIT"
] | null | null | null | from easyDataverse.core import Dataset
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
80ebe605592dc8cb9ae71ae594f35e113b7c9caa | 139 | py | Python | tests/zenko_tests/python_tests/zenko_e2e/fixtures/__init__.py | Public-Cloud-Projects/Zenko | d62a7bad90b69108bbf9ea1cbd2f9b983f1235b7 | [
"Apache-2.0"
] | 453 | 2017-07-11T13:14:05.000Z | 2022-03-31T20:50:01.000Z | tests/zenko_tests/python_tests/zenko_e2e/fixtures/__init__.py | Public-Cloud-Projects/Zenko | d62a7bad90b69108bbf9ea1cbd2f9b983f1235b7 | [
"Apache-2.0"
] | 987 | 2017-07-11T16:56:45.000Z | 2022-03-31T19:36:10.000Z | tests/zenko_tests/python_tests/zenko_e2e/fixtures/__init__.py | Public-Cloud-Projects/Zenko | d62a7bad90b69108bbf9ea1cbd2f9b983f1235b7 | [
"Apache-2.0"
] | 100 | 2017-07-11T16:16:29.000Z | 2022-03-11T15:07:54.000Z | from .backend import *
from .bucket import *
from .data import *
from .replication import *
from .object import *
from .lifecycle import *
| 19.857143 | 26 | 0.741007 | 18 | 139 | 5.722222 | 0.444444 | 0.485437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172662 | 139 | 6 | 27 | 23.166667 | 0.895652 | 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 |
03e69e14f24dd5c65abb80e9220c910dddf91c08 | 40 | py | Python | tests/__init__.py | KSanthanam/RaspberryPiMovementDetector | a415e5aca22fa41ce0eba0b61cf56d3035f92f64 | [
"MIT"
] | null | null | null | tests/__init__.py | KSanthanam/RaspberryPiMovementDetector | a415e5aca22fa41ce0eba0b61cf56d3035f92f64 | [
"MIT"
] | 1 | 2020-05-21T01:40:11.000Z | 2020-05-26T03:44:08.000Z | tests/__init__.py | KSanthanam/RaspberryPiMovementDetector | a415e5aca22fa41ce0eba0b61cf56d3035f92f64 | [
"MIT"
] | 1 | 2020-05-21T17:33:04.000Z | 2020-05-21T17:33:04.000Z | from MovementDetector.Watch import Watch | 40 | 40 | 0.9 | 5 | 40 | 7.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 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 |
206ee6dce1d82fde791de6be693e2f6f71dbce96 | 29 | py | Python | python/app/__init__.py | manneohrstrom/fashion | 1bbafdc88446fd12ee8ec4fcbf00a28762c9f67f | [
"Apache-2.0"
] | null | null | null | python/app/__init__.py | manneohrstrom/fashion | 1bbafdc88446fd12ee8ec4fcbf00a28762c9f67f | [
"Apache-2.0"
] | null | null | null | python/app/__init__.py | manneohrstrom/fashion | 1bbafdc88446fd12ee8ec4fcbf00a28762c9f67f | [
"Apache-2.0"
] | null | null | null | from .dialog import AppDialog | 29 | 29 | 0.862069 | 4 | 29 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2086aac577497edb949c911b9284f13b72ab9c3d | 39 | py | Python | hello.py | KamishDamani/MB215Lab1 | e775cb40de55f9cf96b911748a49be31c891f540 | [
"MIT"
] | null | null | null | hello.py | KamishDamani/MB215Lab1 | e775cb40de55f9cf96b911748a49be31c891f540 | [
"MIT"
] | null | null | null | hello.py | KamishDamani/MB215Lab1 | e775cb40de55f9cf96b911748a49be31c891f540 | [
"MIT"
] | null | null | null | print("hello world from Kamish Damani") | 39 | 39 | 0.794872 | 6 | 39 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
456b83c4bfcfe854878e47a58151bf0cfb62f611 | 256 | py | Python | pastpy/impl/dbf/dbf_database_configuration.py | minorg/pastpy | 81b26442046e11c6bd8f36586cf7db16ac9d8322 | [
"BSD-2-Clause"
] | null | null | null | pastpy/impl/dbf/dbf_database_configuration.py | minorg/pastpy | 81b26442046e11c6bd8f36586cf7db16ac9d8322 | [
"BSD-2-Clause"
] | 38 | 2018-03-18T00:48:26.000Z | 2018-12-16T00:47:30.000Z | pastpy/impl/dbf/dbf_database_configuration.py | minorg/pastpy | 81b26442046e11c6bd8f36586cf7db16ac9d8322 | [
"BSD-2-Clause"
] | null | null | null | from pathlib import Path
from typing import Optional, NamedTuple
class DbfDatabaseConfiguration(NamedTuple):
pp_images_dir_path: Optional[Path] = None
pp_install_dir_path: Optional[Path] = None
pp_objects_dbf_file_path: Optional[Path] = None
| 28.444444 | 51 | 0.792969 | 34 | 256 | 5.676471 | 0.5 | 0.186529 | 0.248705 | 0.310881 | 0.259067 | 0.259067 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144531 | 256 | 8 | 52 | 32 | 0.881279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 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 |
45a5b92a04834f5e804a15204b391a8d4dc8028b | 117 | py | Python | okta/models/schema/UserProfileCustomSubschema.py | CloudRunnerInc/oktasdk-python | b2d19418d2bd0a8c1bbf3764a69e83c148e42a41 | [
"Apache-2.0"
] | null | null | null | okta/models/schema/UserProfileCustomSubschema.py | CloudRunnerInc/oktasdk-python | b2d19418d2bd0a8c1bbf3764a69e83c148e42a41 | [
"Apache-2.0"
] | 3 | 2018-01-05T20:23:12.000Z | 2019-03-06T12:00:58.000Z | okta/models/schema/UserProfileCustomSubschema.py | CloudRunnerInc/oktasdk-python | b2d19418d2bd0a8c1bbf3764a69e83c148e42a41 | [
"Apache-2.0"
] | 1 | 2019-10-23T04:24:49.000Z | 2019-10-23T04:24:49.000Z | from okta.models.schema import BaseCustomSubschema
class UserProfileCustomSubschema(BaseCustomSubschema):
pass
| 19.5 | 54 | 0.846154 | 10 | 117 | 9.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 117 | 5 | 55 | 23.4 | 0.951923 | 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 |
afdabf1bd5812c511114258c48c9cb62a968d358 | 98 | py | Python | cogs/__init__.py | gio101046/pyvis | db2a8525e687689c189d08f601a6e759e6c3be54 | [
"MIT"
] | null | null | null | cogs/__init__.py | gio101046/pyvis | db2a8525e687689c189d08f601a6e759e6c3be54 | [
"MIT"
] | null | null | null | cogs/__init__.py | gio101046/pyvis | db2a8525e687689c189d08f601a6e759e6c3be54 | [
"MIT"
] | null | null | null | from cogs.finance import Finance
from cogs.fun import Fun
from cogs.programming import Programming | 32.666667 | 40 | 0.857143 | 15 | 98 | 5.6 | 0.4 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 3 | 40 | 32.666667 | 0.965517 | 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 |
afe8e488807e1a95ce4277ee56afffc8240706ad | 127 | py | Python | quadpy/enr2/tools.py | gdmcbain/quadpy | c083d500027d7c1b2187ae06ff2b7fbdd360ccc7 | [
"MIT"
] | 1 | 2019-01-02T19:04:42.000Z | 2019-01-02T19:04:42.000Z | quadpy/enr2/tools.py | gdmcbain/quadpy | c083d500027d7c1b2187ae06ff2b7fbdd360ccc7 | [
"MIT"
] | null | null | null | quadpy/enr2/tools.py | gdmcbain/quadpy | c083d500027d7c1b2187ae06ff2b7fbdd360ccc7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
import numpy
def integrate(f, rule, dot=numpy.dot):
return dot(f(rule.points.T), rule.weights)
| 15.875 | 46 | 0.637795 | 20 | 127 | 4.05 | 0.7 | 0.123457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009434 | 0.165354 | 127 | 7 | 47 | 18.142857 | 0.754717 | 0.165354 | 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 |
b310f84b8a46ae7012911b45c9a3290489853c1d | 55 | py | Python | ProteinFeatureAnalyzer/__init__.py | Kortemme-Lab/protein_feature_analysis | fa2ae8bc6eb7ecf17e8bf802ab30814461868114 | [
"MIT"
] | 6 | 2018-08-26T21:38:23.000Z | 2021-08-13T02:43:38.000Z | ProteinFeatureAnalyzer/__init__.py | Kortemme-Lab/protein_feature_analysis | fa2ae8bc6eb7ecf17e8bf802ab30814461868114 | [
"MIT"
] | null | null | null | ProteinFeatureAnalyzer/__init__.py | Kortemme-Lab/protein_feature_analysis | fa2ae8bc6eb7ecf17e8bf802ab30814461868114 | [
"MIT"
] | 1 | 2018-01-06T05:46:55.000Z | 2018-01-06T05:46:55.000Z | from . import job_distributors
from . import features
| 13.75 | 30 | 0.8 | 7 | 55 | 6.142857 | 0.714286 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 55 | 3 | 31 | 18.333333 | 0.934783 | 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 |
b32e75e32c5538011f10b24468fbf72688da8173 | 106 | py | Python | goprocam/exceptions.py | KonradIT/gopropy | 57385c84e86b8c47bec504eae9f90756b5187286 | [
"MIT"
] | null | null | null | goprocam/exceptions.py | KonradIT/gopropy | 57385c84e86b8c47bec504eae9f90756b5187286 | [
"MIT"
] | null | null | null | goprocam/exceptions.py | KonradIT/gopropy | 57385c84e86b8c47bec504eae9f90756b5187286 | [
"MIT"
] | null | null | null | class CameraNotConnected(Exception):
pass
class WiredControlAlreadyEstablished(Exception):
pass
| 15.142857 | 48 | 0.792453 | 8 | 106 | 10.5 | 0.625 | 0.309524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 6 | 49 | 17.666667 | 0.933333 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
b3379bd83710258fa07d478b65882a28ceb8e9e7 | 58 | py | Python | podpac/core/managers/test/test_aws.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 46 | 2018-04-06T19:54:32.000Z | 2022-02-08T02:00:02.000Z | podpac/core/managers/test/test_aws.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 474 | 2018-04-05T22:21:09.000Z | 2022-02-24T14:21:16.000Z | podpac/core/managers/test/test_aws.py | creare-com/podpac | 7feb5c957513c146ce73ba1c36c630284f513a6e | [
"Apache-2.0"
] | 4 | 2019-04-11T17:49:53.000Z | 2020-11-29T22:36:53.000Z | import pytest
import os
class TestAWS(object):
pass
| 8.285714 | 22 | 0.724138 | 8 | 58 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 6 | 23 | 9.666667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
2fe8af559be65e24a9c277f2611aa5d3c071240c | 1,040 | py | Python | code-challanges/401/multi_bracket_validation/test_multi_bracket_validation.py | schoentr/data-structures-and-algorithms | 535ac617a2ab32293014946b043bdb40a647d43b | [
"MIT"
] | null | null | null | code-challanges/401/multi_bracket_validation/test_multi_bracket_validation.py | schoentr/data-structures-and-algorithms | 535ac617a2ab32293014946b043bdb40a647d43b | [
"MIT"
] | 1 | 2019-03-11T02:13:58.000Z | 2019-03-11T02:13:58.000Z | code-challanges/401_code_challenges/multi_bracket_validation/test_multi_bracket_validation.py | schoentr/data-structures-and-algorithms | 535ac617a2ab32293014946b043bdb40a647d43b | [
"MIT"
] | null | null | null | from stacks_and_queues.stacks_and_queues import Queue
from multi_bracket_validation.multi_bracket_validation import bracket_validation
def test_one():
assert bracket_validation('th{his(hlie}v[') == False
def test_two():
assert bracket_validation('{}') == True
def test_three():
assert bracket_validatio... | 18.909091 | 80 | 0.691346 | 126 | 1,040 | 5.428571 | 0.309524 | 0.397661 | 0.437135 | 0.157895 | 0.353801 | 0.353801 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161538 | 1,040 | 54 | 81 | 19.259259 | 0.784404 | 0 | 0 | 0 | 0 | 0 | 0.095192 | 0.023077 | 0 | 0 | 0 | 0 | 0.464286 | 1 | 0.464286 | true | 0.035714 | 0.071429 | 0 | 0.535714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.