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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5ea579971d9c9e126b008428c86b057f30d9322b | 39 | py | Python | favorite-animals/mike_tyson.py | mpixton/learn-git | 8420becd49acea2d5609d6106512ece7df85e9d4 | [
"MIT"
] | 9 | 2020-09-22T13:20:38.000Z | 2022-03-24T19:55:39.000Z | favorite-animals/mike_tyson.py | mpixton/learn-git | 8420becd49acea2d5609d6106512ece7df85e9d4 | [
"MIT"
] | 11 | 2020-09-21T23:40:54.000Z | 2020-10-01T03:44:26.000Z | favorite-animals/mike_tyson.py | mpixton/learn-git | 8420becd49acea2d5609d6106512ece7df85e9d4 | [
"MIT"
] | 39 | 2020-09-23T03:38:39.000Z | 2020-09-25T22:20:42.000Z | print("My favorite animal is a monkey") | 39 | 39 | 0.769231 | 7 | 39 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.882353 | 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 |
0d5e7197a593dc49e30740fc226e5c7edfb00a7c | 154 | py | Python | intcode/__init__.py | marcolussetti/intcode | c0d11e0b1beca190224c4f45a7b32fe02b5a9d6b | [
"MIT"
] | null | null | null | intcode/__init__.py | marcolussetti/intcode | c0d11e0b1beca190224c4f45a7b32fe02b5a9d6b | [
"MIT"
] | null | null | null | intcode/__init__.py | marcolussetti/intcode | c0d11e0b1beca190224c4f45a7b32fe02b5a9d6b | [
"MIT"
] | null | null | null |
from .intcode import chain_intercodes
from .intcode import looping_intcodes
from .intcode import intcode
name = "intcode/intcode"
__version__ = "1.0.0"
| 19.25 | 37 | 0.792208 | 21 | 154 | 5.52381 | 0.52381 | 0.284483 | 0.439655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.12987 | 154 | 7 | 38 | 22 | 0.843284 | 0 | 0 | 0 | 0 | 0 | 0.130719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d75f0cfbd0d4c82c6fc9ee56a24ebc1442635c5 | 280 | py | Python | _src/implementing-serverless-microservice-architecture-patterns/serverless-microservice-architecture-patterns/test/__init__.py | paullewallencom/microservices-978-1-7888-3957-0 | c57b13b91688265f3646a96ad3554aa89c87d133 | [
"Apache-2.0"
] | null | null | null | _src/implementing-serverless-microservice-architecture-patterns/serverless-microservice-architecture-patterns/test/__init__.py | paullewallencom/microservices-978-1-7888-3957-0 | c57b13b91688265f3646a96ad3554aa89c87d133 | [
"Apache-2.0"
] | null | null | null | _src/implementing-serverless-microservice-architecture-patterns/serverless-microservice-architecture-patterns/test/__init__.py | paullewallencom/microservices-978-1-7888-3957-0 | c57b13b91688265f3646a96ad3554aa89c87d133 | [
"Apache-2.0"
] | null | null | null | import sys
sys.path.append("../")
from lambda_dynamo_read import *
from lambda_aurora import *
from lambda_aurora_secure import *
from lambda_dynamo_replicator import *
from lambda_kinesis_visits_metrics import *
from lambda_sqs_process import *
from lambda_dynamo_xray import *
| 25.454545 | 43 | 0.828571 | 40 | 280 | 5.45 | 0.425 | 0.321101 | 0.440367 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 280 | 10 | 44 | 28 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0.010714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0d77832d4734e7c000c4212978bfbb7775e23900 | 60,680 | py | Python | data_utils.py | mingdachen/WikiTableT | eb97dda0777f19f91870fc15a961abc337415781 | [
"MIT"
] | 13 | 2021-01-02T14:32:49.000Z | 2022-02-27T23:06:20.000Z | data_utils.py | mingdachen/WikiTableT | eb97dda0777f19f91870fc15a961abc337415781 | [
"MIT"
] | 2 | 2021-01-08T03:55:00.000Z | 2021-07-02T15:29:31.000Z | data_utils.py | mingdachen/WikiTableT | eb97dda0777f19f91870fc15a961abc337415781 | [
"MIT"
] | null | null | null | import os
import pickle
import json
import statistics
import numpy as np
from glob import glob
from subword_nmt.apply_bpe import BPE, read_vocabulary
from decorators import auto_init_args
from config import UNK_IDX, UNK_WORD, BOS_IDX, EOS_IDX, \
BOC_IDX, BOV_IDX, BOQK_IDX, BOQV_IDX, SUBSEC_IDX, \
EOC_IDX, MAX... | 48.120539 | 114 | 0.419183 | 5,686 | 60,680 | 4.169012 | 0.040802 | 0.052985 | 0.013668 | 0.021599 | 0.834043 | 0.797427 | 0.758869 | 0.730858 | 0.712508 | 0.697363 | 0 | 0.01196 | 0.475033 | 60,680 | 1,260 | 115 | 48.15873 | 0.732193 | 0.001318 | 0 | 0.658824 | 0 | 0 | 0.071605 | 0 | 0 | 0 | 0 | 0 | 0.017195 | 1 | 0.01448 | false | 0 | 0.008145 | 0.004525 | 0.034389 | 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 |
0d949eab0780ec4010226facfbf0f30bdaf05668 | 2,585 | py | Python | test_time.py | ThomasHangstoerfer/pyHomeCtrl | 0a52512308bb0e13eb110543c04030889af341ac | [
"Apache-2.0"
] | null | null | null | test_time.py | ThomasHangstoerfer/pyHomeCtrl | 0a52512308bb0e13eb110543c04030889af341ac | [
"Apache-2.0"
] | 2 | 2021-02-08T20:34:10.000Z | 2021-06-02T00:29:53.000Z | test_time.py | ThomasHangstoerfer/pyHomeCtrl | 0a52512308bb0e13eb110543c04030889af341ac | [
"Apache-2.0"
] | null | null | null | import time
class T:
def __init__(self, h, m):
self.tm_hour = h
self.tm_min = m
t = T(10, 36)
def is_earlier(h, m):
# 10 10 40 20
return (t.tm_hour == h and t.tm_min > m) or t.tm_hour > h
def is_later(h, m):
# 23 23 00 01
r... | 39.769231 | 117 | 0.538878 | 528 | 2,585 | 2.473485 | 0.085227 | 0.133231 | 0.160796 | 0.159265 | 0.899694 | 0.896631 | 0.896631 | 0.896631 | 0.896631 | 0.896631 | 0 | 0.11585 | 0.265377 | 2,585 | 64 | 118 | 40.390625 | 0.57188 | 0.026306 | 0 | 0.529412 | 0 | 0 | 0.216195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.019608 | 0.039216 | 0.137255 | 0.27451 | 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 |
0d9ed91688617954ecb1e016cf64e28d2b1b5159 | 79 | py | Python | keyword_only_args/__init__.py | ceridwen/keyword_only_args | 3528790642c4237b5db9feb4a12838112d010a01 | [
"MIT"
] | null | null | null | keyword_only_args/__init__.py | ceridwen/keyword_only_args | 3528790642c4237b5db9feb4a12838112d010a01 | [
"MIT"
] | null | null | null | keyword_only_args/__init__.py | ceridwen/keyword_only_args | 3528790642c4237b5db9feb4a12838112d010a01 | [
"MIT"
] | null | null | null | from keyword_only_args.keyword_only_args import decorator_factory as decorator
| 39.5 | 78 | 0.911392 | 12 | 79 | 5.583333 | 0.666667 | 0.328358 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 1 | 79 | 79 | 0.917808 | 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 |
0dd352ea55ff735af2820377384102deea0a0777 | 97 | py | Python | ibl_stuff/gui/__init__.py | csaez/ibl_stuff | 6cf4b40c1328fff53a7749ceba85309fc16e7d2b | [
"MIT"
] | 4 | 2015-05-28T16:12:44.000Z | 2018-11-19T11:54:52.000Z | ibl_stuff/gui/__init__.py | csaez/ibl_stuff | 6cf4b40c1328fff53a7749ceba85309fc16e7d2b | [
"MIT"
] | null | null | null | ibl_stuff/gui/__init__.py | csaez/ibl_stuff | 6cf4b40c1328fff53a7749ceba85309fc16e7d2b | [
"MIT"
] | null | null | null | from ibl_stuff.gui.explorer import Explorer
from ibl_stuff.gui.detailed_view import DetailedView
| 32.333333 | 52 | 0.876289 | 15 | 97 | 5.466667 | 0.6 | 0.170732 | 0.292683 | 0.365854 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082474 | 97 | 2 | 53 | 48.5 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
df025566308e83519fb058a3447369ead500934b | 43,607 | py | Python | sdk/storage/azure-storage-blob/tests/test_block_blob_async.py | kushan2018/azure-sdk-for-python | 08a9296207281f4e90e23cf7a30173863accc867 | [
"MIT"
] | null | null | null | sdk/storage/azure-storage-blob/tests/test_block_blob_async.py | kushan2018/azure-sdk-for-python | 08a9296207281f4e90e23cf7a30173863accc867 | [
"MIT"
] | 1 | 2020-03-06T05:57:16.000Z | 2020-03-06T05:57:16.000Z | sdk/storage/azure-storage-blob/tests/test_block_blob_async.py | kushan2018/azure-sdk-for-python | 08a9296207281f4e90e23cf7a30173863accc867 | [
"MIT"
] | null | null | null | # coding: utf-8
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------... | 38.118007 | 110 | 0.674525 | 5,507 | 43,607 | 4.971309 | 0.050481 | 0.029806 | 0.039888 | 0.047339 | 0.903897 | 0.890784 | 0.875187 | 0.844614 | 0.819557 | 0.777806 | 0 | 0.005962 | 0.226936 | 43,607 | 1,143 | 111 | 38.151356 | 0.806146 | 0.065196 | 0 | 0.648964 | 0 | 0 | 0.024775 | 0.002069 | 0 | 0 | 0 | 0 | 0.145078 | 1 | 0.066062 | false | 0.003886 | 0.011658 | 0.002591 | 0.111399 | 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 |
df268f59ac181f0d83cb82281a1c715a46047070 | 73 | py | Python | depr/0.1.3/dtools/__init__.py | rosspalmer/DataTools | 7857e68af56e243598dd6b0e95aa1cc592df4b6b | [
"MIT"
] | 1 | 2015-09-09T01:46:19.000Z | 2015-09-09T01:46:19.000Z | depr/0.1.3/dtools/__init__.py | rosspalmer/DataTools | 7857e68af56e243598dd6b0e95aa1cc592df4b6b | [
"MIT"
] | null | null | null | depr/0.1.3/dtools/__init__.py | rosspalmer/DataTools | 7857e68af56e243598dd6b0e95aa1cc592df4b6b | [
"MIT"
] | null | null | null | from manage.base import manager
from manage.project import create_project | 36.5 | 41 | 0.876712 | 11 | 73 | 5.727273 | 0.636364 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 73 | 2 | 41 | 36.5 | 0.954545 | 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 |
10d008b0a7ab2351c86353c741dcd9f509e400c3 | 129 | py | Python | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/AdditionalInputFiles/PRSCondition/backflowDiodeResistorController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | 10 | 2020-09-17T18:55:31.000Z | 2022-02-23T02:52:38.000Z | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/ReadyToUseFiles/RestingCondition/backflowDiodeResistorController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | null | null | null | Documentation/GuidesFromPlosCompBioPaper/ExampleCaseC/ReadyToUseFiles/RestingCondition/backflowDiodeResistorController.py | carthurs/CRIMSONGUI | 1464df9c4d04cf3ba131ca90b91988a06845c68e | [
"BSD-3-Clause"
] | 3 | 2021-05-19T09:02:21.000Z | 2021-07-26T17:39:57.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:4a55483170c50b05bc54d36136490a515c388345081bbd795f6d8c6715c18081
size 2840
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.463415 | 0.046512 | 129 | 3 | 76 | 43 | 0.463415 | 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 |
10ea37033b8afd6edc04f91f013d887244e268fb | 261,030 | py | Python | instances/passenger_demand/pas-20210422-1717-int16e/68.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/68.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int16e/68.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 30595
passenger_arriving = (
(8, 11, 8, 5, 7, 1, 4, 2, 5, 4, 0, 1, 0, 1, 6, 7, 3, 5, 8, 4, 2, 5, 1, 3, 2, 0), # 0
(9, 14, 8, 8, 6, 4, 6, 5, 3, 4, 2, 1, 0, 7, 7, 6, 4, 2, 6, 2, 4, 6, 2, 4, 0, 0), # 1
(11, 10, 4, 7, 10, 4, 4, 2, 2, 3, 1, 1, 0, 9, 11, 7, 5, 4, 8, 7, 3, 5, 7, 2, 0... | 279.176471 | 491 | 0.771965 | 32,987 | 261,030 | 6.108315 | 0.230667 | 0.353756 | 0.339463 | 0.643192 | 0.366242 | 0.360386 | 0.359364 | 0.359195 | 0.359195 | 0.359195 | 0 | 0.851542 | 0.094755 | 261,030 | 934 | 492 | 279.475375 | 0.001181 | 0.015366 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
800d84ee258d0668ae142201be5e5c8cb6b677d3 | 18,527 | py | Python | resources/xtsSymphony/CombinedAPI/marketdataRequest.py | ashBabu/SmartTrades | f0adaa3177de62cb3be1da9abdf0dc95ce6e41ab | [
"MIT"
] | null | null | null | resources/xtsSymphony/CombinedAPI/marketdataRequest.py | ashBabu/SmartTrades | f0adaa3177de62cb3be1da9abdf0dc95ce6e41ab | [
"MIT"
] | null | null | null | resources/xtsSymphony/CombinedAPI/marketdataRequest.py | ashBabu/SmartTrades | f0adaa3177de62cb3be1da9abdf0dc95ce6e41ab | [
"MIT"
] | 2 | 2021-06-04T11:31:03.000Z | 2021-08-21T06:06:45.000Z | import requests
import json
from requests.exceptions import HTTPError
from exception import *
import configparser
import os
global response, tokenn, userID
headers = {}
Instruments = []
currDirMain = os.getcwd()
configParser = configparser.RawConfigParser()
configFilePath = os.path.join(currDirMain, 'config.ini')
con... | 43.086047 | 120 | 0.659524 | 1,765 | 18,527 | 6.894618 | 0.09745 | 0.028022 | 0.021366 | 0.026296 | 0.825622 | 0.813625 | 0.766291 | 0.720108 | 0.704495 | 0.61328 | 0 | 0.003025 | 0.250607 | 18,527 | 429 | 121 | 43.18648 | 0.873451 | 0.258811 | 0 | 0.558594 | 0 | 0 | 0.151301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066406 | false | 0 | 0.023438 | 0 | 0.160156 | 0.070313 | 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 |
8020ab1b197fc1ca677ad07ce9c5b83e5bc1fefc | 114 | py | Python | stump/serializers/__init__.py | The-Politico/politico-civic-stump | b66f4288841823d327a49563ffbc9ad1c826e247 | [
"MIT"
] | null | null | null | stump/serializers/__init__.py | The-Politico/politico-civic-stump | b66f4288841823d327a49563ffbc9ad1c826e247 | [
"MIT"
] | null | null | null | stump/serializers/__init__.py | The-Politico/politico-civic-stump | b66f4288841823d327a49563ffbc9ad1c826e247 | [
"MIT"
] | null | null | null | # flake8: noqa
from .appearance import AppearanceSerializer
from .appearance_type import AppearanceTypeSerializer
| 28.5 | 53 | 0.868421 | 11 | 114 | 8.909091 | 0.727273 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.096491 | 114 | 3 | 54 | 38 | 0.941748 | 0.105263 | 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 |
804cb76795973b588d555bdb04dc59a567473269 | 114 | py | Python | app/backend/manage/__init__.py | ID3055/flaskvue | bab8d9a7d6f20199ce20b9d13774e40ff48de289 | [
"MIT"
] | null | null | null | app/backend/manage/__init__.py | ID3055/flaskvue | bab8d9a7d6f20199ce20b9d13774e40ff48de289 | [
"MIT"
] | 5 | 2019-11-27T06:39:38.000Z | 2022-02-27T10:24:02.000Z | app/backend/manage/__init__.py | ID3055/flaskvue | bab8d9a7d6f20199ce20b9d13774e40ff48de289 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import Blueprint
manage = Blueprint('manage', __name__)
from . import views
| 14.25 | 38 | 0.684211 | 14 | 114 | 5.285714 | 0.714286 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.175439 | 114 | 7 | 39 | 16.285714 | 0.776596 | 0.184211 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
33c24fc71a0046c3bdf9f5abb7ad3e0e212724b2 | 718 | py | Python | items_shelve_waste/paidProject/activationPlatform/simpleShow/models.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | items_shelve_waste/paidProject/activationPlatform/simpleShow/models.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | items_shelve_waste/paidProject/activationPlatform/simpleShow/models.py | jiangwenfan/pythonScripts | c9004944f162af575e111522f98d4de4f59885e6 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class User(models.Model):
"""administrator"""
def __str__(self):
return self.username
username = models.CharField(max_length=20)
userpassword = models.CharField(max_length=30)
class ActivationInfo(models.Model):
"""activation info"""... | 28.72 | 54 | 0.713092 | 87 | 718 | 5.689655 | 0.425287 | 0.272727 | 0.327273 | 0.436364 | 0.452525 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035654 | 0.179666 | 718 | 24 | 55 | 29.916667 | 0.804754 | 0.082173 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.0625 | 0.0625 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
33f50a494b5ab0d71fd09187c267e0d0cb9c3f90 | 273 | py | Python | main.py | dhirajwork/Chat-Matrix | f468e420c85c00540383d84dbcccf77180324e07 | [
"Apache-2.0"
] | null | null | null | main.py | dhirajwork/Chat-Matrix | f468e420c85c00540383d84dbcccf77180324e07 | [
"Apache-2.0"
] | 1 | 2021-10-16T08:27:46.000Z | 2021-10-16T08:27:46.000Z | main.py | dhirajwork/Chat-Matrix | f468e420c85c00540383d84dbcccf77180324e07 | [
"Apache-2.0"
] | null | null | null | import os
os.system("sudo apt-get install python3-dev")
os.system("sudo apt-get install -y libpq-dev")
os.system("sudo apt-get install -y gcc-x86-64-linux-gnu")
os.system("python3 setup.py bdist_wheel")
os.system("pip install -e .[all,dev]")
os.system("./demo/start.sh")
| 27.3 | 57 | 0.717949 | 50 | 273 | 3.9 | 0.52 | 0.246154 | 0.184615 | 0.230769 | 0.425641 | 0.425641 | 0.297436 | 0.297436 | 0 | 0 | 0 | 0.024292 | 0.095238 | 273 | 9 | 58 | 30.333333 | 0.765182 | 0 | 0 | 0 | 0 | 0 | 0.648352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1d5f6e8004ed4c6103f31d4d3e4f4de65ca31632 | 75 | py | Python | src/tabslash/__init__.py | bskinn/tabslash | 748a243de6f37a76521f0685c676c63edb7d84c4 | [
"MIT"
] | null | null | null | src/tabslash/__init__.py | bskinn/tabslash | 748a243de6f37a76521f0685c676c63edb7d84c4 | [
"MIT"
] | null | null | null | src/tabslash/__init__.py | bskinn/tabslash | 748a243de6f37a76521f0685c676c63edb7d84c4 | [
"MIT"
] | null | null | null | from tabslash.tabslash import foo
from tabslash.version import __version__
| 25 | 40 | 0.866667 | 10 | 75 | 6.1 | 0.5 | 0.393443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 41 | 37.5 | 0.910448 | 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 |
d51ea398f9f866fd71da2f8329eee6f7c1356562 | 173 | wsgi | Python | aiplayground.wsgi | stackburner/aiplayground | edd5592ab88760181d1dc3082fabe5e3ab1335ba | [
"MIT"
] | null | null | null | aiplayground.wsgi | stackburner/aiplayground | edd5592ab88760181d1dc3082fabe5e3ab1335ba | [
"MIT"
] | 1 | 2020-07-23T17:10:31.000Z | 2020-07-23T17:10:31.000Z | aiplayground.wsgi | stackburner/aiplayground | edd5592ab88760181d1dc3082fabe5e3ab1335ba | [
"MIT"
] | 1 | 2020-12-06T00:34:05.000Z | 2020-12-06T00:34:05.000Z | #!/usr/bin/python
import sys
sys.path.insert(0,"/var/www/aiplayground/")
sys.path.insert(0,"/var/www/aiplayground/aiplayground/")
from aiplayground import app as application | 34.6 | 56 | 0.780347 | 26 | 173 | 5.192308 | 0.576923 | 0.103704 | 0.192593 | 0.207407 | 0.474074 | 0.474074 | 0.474074 | 0 | 0 | 0 | 0 | 0.01227 | 0.057803 | 173 | 5 | 57 | 34.6 | 0.815951 | 0.092486 | 0 | 0 | 0 | 0 | 0.363057 | 0.363057 | 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 |
d592c5d6bce3c9b86211a5493baec0bb61fe0bda | 37 | py | Python | dr_explainer/__init__.py | wilsonjr/ClusterShapley | 510ae53801724af083b461a6cbb50362ff7bba12 | [
"BSD-3-Clause"
] | 30 | 2021-05-13T03:21:46.000Z | 2022-03-12T05:07:15.000Z | dr_explainer/__init__.py | wilsonjr/ClusterShapley | 510ae53801724af083b461a6cbb50362ff7bba12 | [
"BSD-3-Clause"
] | null | null | null | dr_explainer/__init__.py | wilsonjr/ClusterShapley | 510ae53801724af083b461a6cbb50362ff7bba12 | [
"BSD-3-Clause"
] | null | null | null | from .explainer import ClusterShapley | 37 | 37 | 0.891892 | 4 | 37 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.970588 | 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 |
637051357de00910702e02b4a07fc57ca71a22ee | 316 | py | Python | DQM/TrackingMonitor/python/MonitorTrackSTACosmicMuons_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 13 | 2015-11-30T15:49:45.000Z | 2022-02-08T16:11:30.000Z | DQM/TrackingMonitor/python/MonitorTrackSTACosmicMuons_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 640 | 2015-02-11T18:55:47.000Z | 2022-03-31T14:12:23.000Z | DQM/TrackingMonitor/python/MonitorTrackSTACosmicMuons_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 51 | 2015-08-11T21:01:40.000Z | 2022-03-30T07:31:34.000Z | import FWCore.ParameterSet.Config as cms
import DQM.TrackingMonitor.MonitorTrackSTAMuons_cfi
MonitorTrackSTACosmicMuons = DQM.TrackingMonitor.MonitorTrackSTAMuons_cfi.MonitorTrackSTAMuons.clone()
MonitorTrackSTACosmicMuons.FolderName = 'Muons/cosmicMuons'
MonitorTrackSTACosmicMuons.TrackProducer = 'cosmicMuons'
| 35.111111 | 102 | 0.879747 | 25 | 316 | 11.04 | 0.64 | 0.130435 | 0.275362 | 0.297101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056962 | 316 | 8 | 103 | 39.5 | 0.926175 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
63b0af3eccc661be127a2e9a1a991b9fe983e976 | 24,557 | py | Python | docker-app/qfieldcloud/core/tests/test_qgis_file.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | docker-app/qfieldcloud/core/tests/test_qgis_file.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | docker-app/qfieldcloud/core/tests/test_qgis_file.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | import io
import logging
import tempfile
import time
from pathlib import PurePath
from django.core.management import call_command
from django.http import FileResponse
from qfieldcloud.authentication.models import AuthToken
from qfieldcloud.core import utils
from qfieldcloud.core.models import (
Job,
ProcessPro... | 38.611635 | 87 | 0.620475 | 2,919 | 24,557 | 5.099007 | 0.085988 | 0.097756 | 0.073905 | 0.09742 | 0.831833 | 0.792193 | 0.782653 | 0.764445 | 0.749731 | 0.736899 | 0 | 0.029567 | 0.245266 | 24,557 | 635 | 88 | 38.672441 | 0.773497 | 0.063281 | 0 | 0.630802 | 0 | 0.00211 | 0.111135 | 0.056527 | 0 | 0 | 0 | 0 | 0.278481 | 1 | 0.042194 | false | 0.004219 | 0.027426 | 0 | 0.084388 | 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 |
63b21e7d5e5eec4dec7c76cbdacd7e1d3a10cd66 | 292 | py | Python | torchdefenses/trainer/__init__.py | Harry24k/adversarial-defenses-pytorch | 96948b2d30014826ecac45c701b1772ad04df416 | [
"MIT"
] | 29 | 2020-10-09T09:07:16.000Z | 2022-03-09T12:58:20.000Z | torchdefenses/trainer/__init__.py | Harry24k/adversarial-defenses-pytorch | 96948b2d30014826ecac45c701b1772ad04df416 | [
"MIT"
] | 1 | 2022-02-18T08:42:10.000Z | 2022-02-18T08:42:10.000Z | torchdefenses/trainer/__init__.py | Harry24k/adversarial-defenses-pytorch | 96948b2d30014826ecac45c701b1772ad04df416 | [
"MIT"
] | 7 | 2021-04-25T13:56:59.000Z | 2022-02-09T05:33:29.000Z | from .standard import Standard
from .empirical_defenses.at import AT
from .empirical_defenses.fast import Fast
from .empirical_defenses.free import Free
from .empirical_defenses.gradalign import GradAlign
from .empirical_defenses.mart import MART
from .empirical_defenses.trades import TRADES | 41.714286 | 51 | 0.863014 | 40 | 292 | 6.15 | 0.275 | 0.317073 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092466 | 292 | 7 | 52 | 41.714286 | 0.928302 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89221e53241f30017a1b6cc99ac26b08d8b0ab01 | 175 | py | Python | consumers/venv/lib/python3.7/site-packages/faust/cli/__init__.py | spencerpomme/Public-Transit-Status-with-Apache-Kafka | 2c85d7daadf4614fe7ce2eabcd13ff87236b1c7e | [
"MIT"
] | null | null | null | consumers/venv/lib/python3.7/site-packages/faust/cli/__init__.py | spencerpomme/Public-Transit-Status-with-Apache-Kafka | 2c85d7daadf4614fe7ce2eabcd13ff87236b1c7e | [
"MIT"
] | null | null | null | consumers/venv/lib/python3.7/site-packages/faust/cli/__init__.py | spencerpomme/Public-Transit-Status-with-Apache-Kafka | 2c85d7daadf4614fe7ce2eabcd13ff87236b1c7e | [
"MIT"
] | null | null | null | """Command-line Interface."""
from .base import AppCommand, Command, argument, call_command, option
__all__ = ['AppCommand', 'Command', 'argument', 'call_command', 'option']
| 35 | 73 | 0.725714 | 19 | 175 | 6.368421 | 0.578947 | 0.280992 | 0.413223 | 0.479339 | 0.694215 | 0.694215 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102857 | 175 | 4 | 74 | 43.75 | 0.770701 | 0.131429 | 0 | 0 | 0 | 0 | 0.294521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
893c70c7d3966cf8fa7ac93d43176d36954fa16a | 174 | py | Python | earthpy/tests/test_epsg.py | mirob9363/earthpy | 6e43724fac10e980489d182bc028fc94021f7d2f | [
"BSD-3-Clause"
] | 1 | 2021-07-18T15:54:09.000Z | 2021-07-18T15:54:09.000Z | earthpy/tests/test_epsg.py | mirob9363/earthpy | 6e43724fac10e980489d182bc028fc94021f7d2f | [
"BSD-3-Clause"
] | null | null | null | earthpy/tests/test_epsg.py | mirob9363/earthpy | 6e43724fac10e980489d182bc028fc94021f7d2f | [
"BSD-3-Clause"
] | 2 | 2021-01-02T02:32:41.000Z | 2021-01-02T02:32:41.000Z | import earthpy as et
def test_epsg():
"""Unit test for loading EPSG to Proj4 string dictionary."""
assert et.epsg["4326"] == "+proj=longlat +datum=WGS84 +no_defs"
| 21.75 | 67 | 0.678161 | 26 | 174 | 4.461538 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0.183908 | 174 | 7 | 68 | 24.857143 | 0.767606 | 0.310345 | 0 | 0 | 0 | 0 | 0.342105 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
89526e2a95386e6cc5c79483cdb297059dc72571 | 242 | py | Python | vlcp/protocol/openflow/__init__.py | geek-plus/vlcp | e7936e00929fcef00c04d4da39b67d9679d5f083 | [
"Apache-2.0"
] | 1 | 2016-09-10T12:09:29.000Z | 2016-09-10T12:09:29.000Z | vlcp/protocol/openflow/__init__.py | wan-qy/vlcp | e7936e00929fcef00c04d4da39b67d9679d5f083 | [
"Apache-2.0"
] | null | null | null | vlcp/protocol/openflow/__init__.py | wan-qy/vlcp | e7936e00929fcef00c04d4da39b67d9679d5f083 | [
"Apache-2.0"
] | null | null | null | from .defs import common, openflow10, openflow13, definations
from .openflow import Openflow, OpenflowAsyncMessageEvent, OpenflowConnectionStateEvent, OpenflowExperimenterMessageEvent, OpenflowPresetupMessageEvent,\
OpenflowResponseEvent
| 60.5 | 153 | 0.871901 | 16 | 242 | 13.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.082645 | 242 | 3 | 154 | 80.666667 | 0.932432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
896c1d1c01de8fa031fc843a8b2a3e985f63c091 | 28 | py | Python | hellow.py | Tounie123/python | 6fc05a4d1726f53d70247b1323f2e9259a243ba7 | [
"MIT"
] | null | null | null | hellow.py | Tounie123/python | 6fc05a4d1726f53d70247b1323f2e9259a243ba7 | [
"MIT"
] | null | null | null | hellow.py | Tounie123/python | 6fc05a4d1726f53d70247b1323f2e9259a243ba7 | [
"MIT"
] | null | null | null | print("Hello python world!") | 28 | 28 | 0.75 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 28 | 1 | 28 | 28 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.655172 | 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 |
98256a9e9739475ca1923817e166ac2629eb5254 | 981,267 | py | Python | tests/examples/minlplib/eg_disc2_s.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 2 | 2021-07-03T13:19:10.000Z | 2022-02-06T10:48:13.000Z | tests/examples/minlplib/eg_disc2_s.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | 1 | 2021-07-04T14:52:14.000Z | 2021-07-15T10:17:11.000Z | tests/examples/minlplib/eg_disc2_s.py | ouyang-w-19/decogo | 52546480e49776251d4d27856e18a46f40c824a1 | [
"MIT"
] | null | null | null | # MINLP written by GAMS Convert at 04/21/18 13:51:39
#
# Equation counts
# Total E G L N X C B
# 28 0 27 1 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 119.056904 | 120 | 0.456375 | 173,977 | 981,267 | 2.574053 | 0.01937 | 0.145557 | 0.054584 | 0.042454 | 0.874395 | 0.874302 | 0.865582 | 0.511368 | 0.466087 | 0.216207 | 0 | 0.477984 | 0.249995 | 981,267 | 8,241 | 121 | 119.071351 | 0.130512 | 0.000638 | 0 | 0.071045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000122 | 0 | 0.000122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98aa1b58ac58616ee52efdca87b2e4976dddd391 | 2,648 | py | Python | recovery.caribosystem.py | ZanvokCorporation/CariboSystem | 1b267c6acc9872cbca3f071f7c85f1dd7ab543b7 | [
"Apache-2.0"
] | 1 | 2022-01-08T16:21:08.000Z | 2022-01-08T16:21:08.000Z | recovery.caribosystem.py | ZanvokCorporation/CariboSystem-Recovery | 0ca1804c4b9be2d98c4234ab377568af2bec7660 | [
"MIT"
] | null | null | null | recovery.caribosystem.py | ZanvokCorporation/CariboSystem-Recovery | 0ca1804c4b9be2d98c4234ab377568af2bec7660 | [
"MIT"
] | 1 | 2022-01-22T11:15:52.000Z | 2022-01-22T11:15:52.000Z | import os
import sys
import subprocess
if sys.platform == "win32":
os.system('cls')
else:
os.system('clear')
print("CariboSystem Recovery Tool v0.0.1")
print()
print("Select System:")
print("\t 1) CariboSystem 6.0.4")
print("\t 2) CariboSystem 6.0.5")
print("\t 3) CariboSystem 6.1.0")
print("\t... | 43.409836 | 168 | 0.574018 | 338 | 2,648 | 4.497041 | 0.224852 | 0.023684 | 0.023026 | 0.052632 | 0.727632 | 0.701316 | 0.701316 | 0.701316 | 0.701316 | 0.701316 | 0 | 0.052138 | 0.27568 | 2,648 | 61 | 169 | 43.409836 | 0.740355 | 0 | 0 | 0.40678 | 0 | 0.067797 | 0.528003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050847 | 0 | 0.050847 | 0.457627 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7f4b9f329332994363ae9070c73bf2b47ac3cbc0 | 62,584 | py | Python | tests/test_column.py | jjmachan/hangar-py | c1cfa2f8f997d7d0f114e015aea333829e029451 | [
"Apache-2.0"
] | null | null | null | tests/test_column.py | jjmachan/hangar-py | c1cfa2f8f997d7d0f114e015aea333829e029451 | [
"Apache-2.0"
] | null | null | null | tests/test_column.py | jjmachan/hangar-py | c1cfa2f8f997d7d0f114e015aea333829e029451 | [
"Apache-2.0"
] | null | null | null | import pytest
import numpy as np
from conftest import fixed_shape_backend_params, variable_shape_backend_params
from itertools import permutations
def assert_equal(arr, arr2):
assert np.array_equal(arr, arr2)
assert arr.dtype == arr2.dtype
class TestColumn(object):
@pytest.mark.parametrize('name', [
... | 42.777854 | 129 | 0.624744 | 7,751 | 62,584 | 4.848149 | 0.052767 | 0.047182 | 0.069189 | 0.065038 | 0.832189 | 0.796636 | 0.760551 | 0.73543 | 0.702113 | 0.685028 | 0 | 0.03295 | 0.248354 | 62,584 | 1,462 | 130 | 42.807114 | 0.765885 | 0.025741 | 0 | 0.6875 | 0 | 0 | 0.077966 | 0.00248 | 0 | 0 | 0 | 0 | 0.199675 | 1 | 0.061688 | false | 0 | 0.008117 | 0 | 0.073052 | 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 |
f68f4fa5be023eeb25bd539756f7cbc646f43b9d | 1,052 | py | Python | swagger_client/api/__init__.py | swat5421/swagger_portainer | e18b287dc906e171077912677515469ee3f4e5c2 | [
"RSA-MD"
] | null | null | null | swagger_client/api/__init__.py | swat5421/swagger_portainer | e18b287dc906e171077912677515469ee3f4e5c2 | [
"RSA-MD"
] | null | null | null | swagger_client/api/__init__.py | swat5421/swagger_portainer | e18b287dc906e171077912677515469ee3f4e5c2 | [
"RSA-MD"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from swagger_client.api.auth_api import AuthApi
from swagger_client.api.dockerhub_api import DockerhubApi
from swagger_client.api.endpoint_groups_api import EndpointGroupsApi
from swagger_client.api.endpoints_api import EndpointsApi
... | 45.73913 | 72 | 0.885932 | 151 | 1,052 | 5.89404 | 0.324503 | 0.210112 | 0.324719 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001032 | 0.078897 | 1,052 | 22 | 73 | 47.818182 | 0.917441 | 0.038973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f6bb8363322cdb89c73ddef16201cbd5bea206ce | 43 | py | Python | CodeWars/8 Kyu/Counting sheep....py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Counting sheep....py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/8 Kyu/Counting sheep....py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def count_sheeps(x):
return x.count(True) | 21.5 | 22 | 0.744186 | 8 | 43 | 3.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 2 | 22 | 21.5 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f6e7512e36342c654181d0860843aafef181ce0b | 193 | py | Python | marol/__init__.py | scoremedia/marol | ca7b72fa73fffbddd97a84346a4d648f0dabd903 | [
"Apache-2.0"
] | 1 | 2019-01-04T18:39:13.000Z | 2019-01-04T18:39:13.000Z | marol/__init__.py | scoremedia/marol | ca7b72fa73fffbddd97a84346a4d648f0dabd903 | [
"Apache-2.0"
] | null | null | null | marol/__init__.py | scoremedia/marol | ca7b72fa73fffbddd97a84346a4d648f0dabd903 | [
"Apache-2.0"
] | null | null | null | from .core import get_lambda_files
from . import helpers
from .helpers import build_marol_environment, build_environment, get_or_build_marol_environment_path, \
is_handler_function_present
| 38.6 | 103 | 0.860104 | 27 | 193 | 5.666667 | 0.592593 | 0.130719 | 0.27451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103627 | 193 | 4 | 104 | 48.25 | 0.884393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1003361c85eaff78bd3b40fded387ffd0f78789e | 36 | py | Python | python/packages/isce3/geometry/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 64 | 2019-08-06T19:22:22.000Z | 2022-03-20T17:11:46.000Z | python/packages/isce3/geometry/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 8 | 2020-09-01T22:46:53.000Z | 2021-11-04T00:05:28.000Z | python/packages/isce3/geometry/__init__.py | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 29 | 2019-08-05T21:40:55.000Z | 2022-03-23T00:17:03.000Z | from pybind_isce3.geometry import *
| 18 | 35 | 0.833333 | 5 | 36 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.111111 | 36 | 1 | 36 | 36 | 0.875 | 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 |
123625b7addadd45cf219f83178d5cfb2ca23a3c | 337 | py | Python | core/views.py | djteniente/webempresa | 7d71247ede106e169098d4a5985efa8b8f6f88f0 | [
"MIT"
] | null | null | null | core/views.py | djteniente/webempresa | 7d71247ede106e169098d4a5985efa8b8f6f88f0 | [
"MIT"
] | null | null | null | core/views.py | djteniente/webempresa | 7d71247ede106e169098d4a5985efa8b8f6f88f0 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def home(request):
return render(request, "core/index.html")
def about(request):
return render(request, "core/about.html")
def services(request):
return render(request, "core/services.html")
def store(request):
return render(request, "co... | 19.823529 | 48 | 0.721068 | 45 | 337 | 5.4 | 0.422222 | 0.213992 | 0.312757 | 0.427984 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151335 | 337 | 16 | 49 | 21.0625 | 0.84965 | 0.068249 | 0 | 0 | 0 | 0 | 0.202572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.111111 | 0.444444 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
12675ec812715deaf55505a8320d4b036098bff5 | 1,339 | py | Python | tests/spec/strip_xscope_test.py | smarkets/bravado-core | 5d9c7eff417118462893c08accc40e27b066e2f6 | [
"BSD-3-Clause"
] | null | null | null | tests/spec/strip_xscope_test.py | smarkets/bravado-core | 5d9c7eff417118462893c08accc40e27b066e2f6 | [
"BSD-3-Clause"
] | null | null | null | tests/spec/strip_xscope_test.py | smarkets/bravado-core | 5d9c7eff417118462893c08accc40e27b066e2f6 | [
"BSD-3-Clause"
] | 1 | 2022-03-26T12:14:35.000Z | 2022-03-26T12:14:35.000Z | # -*- coding: utf-8 -*-
from bravado_core.spec import strip_xscope
def test_empty():
assert {} == strip_xscope({})
def test_contained_in_dict():
fragment = {
'MON': {
'$ref': '#/definitions/DayHours',
'x-scope': [
'file:///happyhour/api_docs/swagger.json',
... | 22.694915 | 80 | 0.495892 | 117 | 1,339 | 5.512821 | 0.307692 | 0.130233 | 0.204651 | 0.155039 | 0.779845 | 0.711628 | 0.711628 | 0.711628 | 0.711628 | 0.711628 | 0 | 0.002283 | 0.34578 | 1,339 | 58 | 81 | 23.086207 | 0.734018 | 0.015683 | 0 | 0.469388 | 0 | 0 | 0.304711 | 0.253799 | 0 | 0 | 0 | 0 | 0.122449 | 1 | 0.081633 | false | 0 | 0.020408 | 0 | 0.102041 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
126c965a9fb67dc2c184e83cfb087abfe3d1b024 | 5,861 | py | Python | dbms/TravellingMamas/models.py | compiletimeterror/Traveling_Mamas | f806fc15c9b99ec8f8d28deb715cd15ffe373f00 | [
"MIT"
] | null | null | null | dbms/TravellingMamas/models.py | compiletimeterror/Traveling_Mamas | f806fc15c9b99ec8f8d28deb715cd15ffe373f00 | [
"MIT"
] | null | null | null | dbms/TravellingMamas/models.py | compiletimeterror/Traveling_Mamas | f806fc15c9b99ec8f8d28deb715cd15ffe373f00 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class hotel(models.Model):
hotel_id = models.AutoField(primary_key=True)
hotel_name = models.CharField(max_length=100)
description = models.CharField(max_length=100)
location = models.CharField(max_length=100)
reviews = models.CharField(max_le... | 37.33121 | 80 | 0.747313 | 784 | 5,861 | 5.350765 | 0.107143 | 0.239571 | 0.287485 | 0.383313 | 0.841478 | 0.789988 | 0.599285 | 0.489154 | 0.427652 | 0.342551 | 0 | 0.039976 | 0.142126 | 5,861 | 157 | 81 | 37.33121 | 0.794352 | 0.004095 | 0 | 0.464 | 0 | 0 | 0.023646 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.008 | 0.008 | 0 | 0.944 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
d63f25f646055696d84c1b7aef8b7505b92f1431 | 123 | py | Python | GPy/plotting/gpy_plot/__init__.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 1,685 | 2015-01-03T14:46:25.000Z | 2022-03-30T02:41:35.000Z | GPy/plotting/gpy_plot/__init__.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 778 | 2015-01-15T18:21:25.000Z | 2022-03-30T14:52:32.000Z | GPy/plotting/gpy_plot/__init__.py | ekalosak/GPy | ff82f12c3d321bfc3ce6615447fad25aea9de6bd | [
"BSD-3-Clause"
] | 584 | 2015-01-06T06:30:43.000Z | 2022-03-29T13:05:33.000Z | from .. import plotting_library
from . import data_plots, gp_plots, latent_plots, kernel_plots, plot_util, inference_plots
| 41 | 90 | 0.829268 | 18 | 123 | 5.277778 | 0.666667 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 123 | 2 | 91 | 61.5 | 0.863636 | 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 |
d64d856bf7119b8057cc6bac0eb7720c410a8ccc | 28 | py | Python | addons14/sms_ovh_http/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-06-10T14:59:13.000Z | 2021-06-10T14:59:13.000Z | addons14/sms_ovh_http/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | null | null | null | addons14/sms_ovh_http/tests/__init__.py | odoochain/addons_oca | 55d456d798aebe16e49b4a6070765f206a8885ca | [
"MIT"
] | 1 | 2021-04-09T09:44:44.000Z | 2021-04-09T09:44:44.000Z | from . import test_send_sms
| 14 | 27 | 0.821429 | 5 | 28 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 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 |
c3f2c7028ddbb41aceed36f2304f0459595ba77d | 19 | py | Python | raisim_gym/env/__init__.py | feracero/raisimGym | c445ae56ed9b6a90839a5fa09db266e426e7b886 | [
"MIT"
] | 150 | 2019-06-23T01:57:39.000Z | 2021-07-16T04:21:56.000Z | raisim_gym/env/__init__.py | feracero/raisimGym | c445ae56ed9b6a90839a5fa09db266e426e7b886 | [
"MIT"
] | 51 | 2019-06-26T17:58:44.000Z | 2020-12-30T07:18:22.000Z | raisim_gym/env/__init__.py | feracero/raisimGym | c445ae56ed9b6a90839a5fa09db266e426e7b886 | [
"MIT"
] | 44 | 2019-06-26T17:46:20.000Z | 2020-11-11T08:55:39.000Z | from . import env
| 6.333333 | 17 | 0.684211 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 19 | 2 | 18 | 9.5 | 0.928571 | 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 |
6147c87545824dca14e8d015c740be95db840575 | 5,319 | py | Python | tests/integrationtests/test_mixin.py | jonasspenger/tamperproofbroadcast | fa35dfb7ae5c4f569870ffec3295bca1aa49b60e | [
"MIT"
] | null | null | null | tests/integrationtests/test_mixin.py | jonasspenger/tamperproofbroadcast | fa35dfb7ae5c4f569870ffec3295bca1aa49b60e | [
"MIT"
] | null | null | null | tests/integrationtests/test_mixin.py | jonasspenger/tamperproofbroadcast | fa35dfb7ae5c4f569870ffec3295bca1aa49b60e | [
"MIT"
] | null | null | null | import unittest
import time
class TestMixin(unittest.TestCase):
# total-order: both histories share same order of delivery
# check: history of delivered messages of h1 is prefix of h2, or vice versa
def total_order(self, test_time=60):
# broadcast and deliver for test_time seconds
t0 = tim... | 36.9375 | 97 | 0.521903 | 692 | 5,319 | 3.965318 | 0.143064 | 0.037172 | 0.028061 | 0.044096 | 0.713921 | 0.713921 | 0.713921 | 0.713921 | 0.713921 | 0.699708 | 0 | 0.025617 | 0.398195 | 5,319 | 143 | 98 | 37.195804 | 0.831615 | 0.222974 | 0 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.038462 | false | 0.038462 | 0.019231 | 0 | 0.067308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
616f4b01c168f857d3295b071d2cedd061a53940 | 60 | py | Python | deepred_pytorch/visualization/__init__.py | dileep-kishore/DEEPred-pytorch | 17f5189ebce41b9f0b959a2c7e797545b93f762c | [
"MIT"
] | null | null | null | deepred_pytorch/visualization/__init__.py | dileep-kishore/DEEPred-pytorch | 17f5189ebce41b9f0b959a2c7e797545b93f762c | [
"MIT"
] | null | null | null | deepred_pytorch/visualization/__init__.py | dileep-kishore/DEEPred-pytorch | 17f5189ebce41b9f0b959a2c7e797545b93f762c | [
"MIT"
] | null | null | null | from .visualization import perf_vs_modelsize, perf_vs_level
| 30 | 59 | 0.883333 | 9 | 60 | 5.444444 | 0.777778 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 60 | 1 | 60 | 60 | 0.890909 | 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 |
f651b0f093fcdf584ae0fc8ea1aae846350eade6 | 77 | py | Python | scripts/sfs_from_vcf.py | santiago1234/popgene-utils | c3e6e5530c9f401055f93f27c452b5b276144d9f | [
"MIT"
] | null | null | null | scripts/sfs_from_vcf.py | santiago1234/popgene-utils | c3e6e5530c9f401055f93f27c452b5b276144d9f | [
"MIT"
] | null | null | null | scripts/sfs_from_vcf.py | santiago1234/popgene-utils | c3e6e5530c9f401055f93f27c452b5b276144d9f | [
"MIT"
] | null | null | null | # Compute Site Frequency Spectrum from VCF file
# usage: TODO
import allele
| 15.4 | 47 | 0.779221 | 11 | 77 | 5.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 77 | 4 | 48 | 19.25 | 0.952381 | 0.74026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f66f1c96f60435b636a48fc0dadb8b37e22fb95b | 153 | py | Python | config.py | michardy/account-hijacking-prevention | 55216f5ca23b5736a825577da6fa6b65717ae182 | [
"MIT"
] | 3 | 2019-05-04T00:34:04.000Z | 2021-01-22T02:05:06.000Z | config.py | michardy/account-hijacking-prevention | 55216f5ca23b5736a825577da6fa6b65717ae182 | [
"MIT"
] | 164 | 2016-10-31T04:48:07.000Z | 2022-03-18T16:17:25.000Z | config.py | michardy/account-hijacking-prevention | 55216f5ca23b5736a825577da6fa6b65717ae182 | [
"MIT"
] | null | null | null | #This file defines what user tracking modules are in use
import modules.ip_address_checker
import modules.fingerprint
import modules.keystroke_dynamics
| 25.5 | 56 | 0.862745 | 22 | 153 | 5.863636 | 0.772727 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 153 | 5 | 57 | 30.6 | 0.948529 | 0.359477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 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 |
9c97f3915b5a948b35ce72c3ad834c786f7d1351 | 188 | py | Python | classes/__init__.py | sp4ce/pyDLA | c9bfbca11f5ccdcd3ceb84961d5abef081539e8f | [
"MIT"
] | null | null | null | classes/__init__.py | sp4ce/pyDLA | c9bfbca11f5ccdcd3ceb84961d5abef081539e8f | [
"MIT"
] | null | null | null | classes/__init__.py | sp4ce/pyDLA | c9bfbca11f5ccdcd3ceb84961d5abef081539e8f | [
"MIT"
] | null | null | null | from position import Position
from field import Field
from particle import Particle
from particle import StandardParticle
from aggregate import Aggregate
from simulation import Simulation
| 26.857143 | 37 | 0.87234 | 24 | 188 | 6.833333 | 0.333333 | 0.146341 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 188 | 6 | 38 | 31.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9cb9f6f43947ccb906dd955ab56ae98784560c82 | 124 | py | Python | python/rogue_gym/__init__.py | kngwyu/rogue-gym | 00de77e6c9f3d2b9ed602f93abb5526c13791ca9 | [
"Apache-2.0",
"MIT"
] | 67 | 2018-11-29T03:05:59.000Z | 2022-02-23T20:05:21.000Z | python/rogue_gym/__init__.py | kngwyu/rogue-gym | 00de77e6c9f3d2b9ed602f93abb5526c13791ca9 | [
"Apache-2.0",
"MIT"
] | 2 | 2019-02-27T10:44:05.000Z | 2022-03-05T22:25:49.000Z | python/rogue_gym/__init__.py | kngwyu/rogue-gym | 00de77e6c9f3d2b9ed602f93abb5526c13791ca9 | [
"Apache-2.0",
"MIT"
] | 6 | 2020-05-11T01:37:53.000Z | 2022-03-05T20:56:19.000Z | from . import envs
try:
import rainy
from . import rainy_impls
except ImportError:
pass
__version__ = '0.0.2'
| 12.4 | 29 | 0.677419 | 17 | 124 | 4.647059 | 0.705882 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.25 | 124 | 9 | 30 | 13.777778 | 0.817204 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
140c456ebaac131867807cc961684545c3400c58 | 6,384 | py | Python | 2_entity_resolution/ER_g2a_games_cpu_and_techpowerup_cpu.py | ravikiran0606/Game-and-Requirements-KG | ede2c176c83e33b401b879461a9312660049cf10 | [
"MIT"
] | null | null | null | 2_entity_resolution/ER_g2a_games_cpu_and_techpowerup_cpu.py | ravikiran0606/Game-and-Requirements-KG | ede2c176c83e33b401b879461a9312660049cf10 | [
"MIT"
] | 1 | 2020-04-28T19:44:05.000Z | 2020-04-28T19:44:05.000Z | 2_entity_resolution/ER_g2a_games_cpu_and_techpowerup_cpu.py | ravikiran0606/game-and-requirements-kg | ede2c176c83e33b401b879461a9312660049cf10 | [
"MIT"
] | 2 | 2020-05-02T19:31:39.000Z | 2020-07-23T23:49:19.000Z | import jsonlines
import rltk
def compare_cpu(g2a_min_cpu_1,techpowerup_cpu,g2a_min_cpu_2=None,max_score_1=-1,max_score_2=-1):
#techpowerup_cpu_reader = jsonlines.open(techpowerup_cpu, 'r')
similar_id_1 = ''
similar_id_2 = ''
most_similar_cpu_1 = ''
most_similar_cpu_2 = ''
score_1 = -9999
sc... | 48.363636 | 121 | 0.561873 | 871 | 6,384 | 3.677382 | 0.082664 | 0.087418 | 0.092726 | 0.062441 | 0.821417 | 0.773962 | 0.751483 | 0.742741 | 0.736497 | 0.687793 | 0 | 0.047998 | 0.311404 | 6,384 | 131 | 122 | 48.732824 | 0.680619 | 0.038847 | 0 | 0.55 | 0 | 0 | 0.131429 | 0.020898 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01 | false | 0 | 0.02 | 0 | 0.08 | 0.01 | 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 |
1475adaa5f1b26a5d8ac93becf5e5a1eabec9e55 | 96 | py | Python | venv/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 1 | 2021-11-07T22:40:27.000Z | 2021-11-07T22:40:27.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/cryptography/hazmat/primitives/serialization/base.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/58/08/1a/392428add43a1015e6fc931cfb984d931c2a0df99e6bb660e5f0bca59f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 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 |
1ad262ad58027693003d308640272043eeb6afe0 | 43 | py | Python | python-basic-grammer/python-basic/01-python-summary/hello_python.py | jinrunheng/base-of-python | 595bdbc8bfaf2136d8f1f9ea82c03b84aeaf0a39 | [
"Apache-2.0"
] | null | null | null | python-basic-grammer/python-basic/01-python-summary/hello_python.py | jinrunheng/base-of-python | 595bdbc8bfaf2136d8f1f9ea82c03b84aeaf0a39 | [
"Apache-2.0"
] | null | null | null | python-basic-grammer/python-basic/01-python-summary/hello_python.py | jinrunheng/base-of-python | 595bdbc8bfaf2136d8f1f9ea82c03b84aeaf0a39 | [
"Apache-2.0"
] | null | null | null | print("Hello Python")
print("Hello World")
| 14.333333 | 21 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 43 | 2 | 22 | 21.5 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.534884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1aebc82ce44263d94e38106f0659f6f57ffa909c | 174 | py | Python | tests/test_config.py | jeff-99/toolbox | 40f1d2442754ade593f1c6aba97093fb26b953d8 | [
"0BSD"
] | 1 | 2017-05-24T17:51:55.000Z | 2017-05-24T17:51:55.000Z | tests/test_config.py | jeff-99/toolbox | 40f1d2442754ade593f1c6aba97093fb26b953d8 | [
"0BSD"
] | 1 | 2021-03-25T21:33:07.000Z | 2021-03-25T21:33:07.000Z | tests/test_config.py | jeff-99/toolbox | 40f1d2442754ade593f1c6aba97093fb26b953d8 | [
"0BSD"
] | null | null | null | import unittest
class TestConfig(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_000_something(self):
pass | 14.5 | 36 | 0.626437 | 20 | 174 | 5.35 | 0.65 | 0.224299 | 0.205607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.298851 | 174 | 12 | 37 | 14.5 | 0.852459 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
1af4abbef248157d59ac4c2067e7dd1b5d48fac1 | 49 | py | Python | Python/Tests/TestData/RemoveImport/LocalScopeOnly.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/RemoveImport/LocalScopeOnly.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | Python/Tests/TestData/RemoveImport/LocalScopeOnly.py | nanshuiyu/pytools | 9f9271fe8cf564b4f94e9456d400f4306ea77c23 | [
"Apache-2.0"
] | null | null | null | import dne
def f():
import baz
oar | 8.166667 | 15 | 0.510204 | 7 | 49 | 3.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 49 | 6 | 16 | 8.166667 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
21283afce146b729c05d2908ffc8f2c8e459d1f9 | 1,651 | py | Python | FPAIT/lib/models/basic.py | D-X-Y/MSPLD-2018 | 71a6a75830ac84c7a861e63367ad3ace991fae77 | [
"MIT"
] | 63 | 2018-07-12T10:36:25.000Z | 2019-04-26T11:30:09.000Z | FPAIT/lib/models/basic.py | D-X-Y/MSPLD-2018 | 71a6a75830ac84c7a861e63367ad3ace991fae77 | [
"MIT"
] | null | null | null | FPAIT/lib/models/basic.py | D-X-Y/MSPLD-2018 | 71a6a75830ac84c7a861e63367ad3ace991fae77 | [
"MIT"
] | 8 | 2018-07-14T02:47:12.000Z | 2019-06-03T07:39:13.000Z | from .omniglotnet import omniglotnet
from .cnn_lstm import CNN_RNN
from .cnn_lstm import CNN_SIMPLE
from .cnn_fait import CNN_FAIT
from .cnn_tcn import CNN_TCN
def obtain_model(option):
if option.arch == 'omniglotnet':
net = omniglotnet(option.num_classes)
elif option.arch == 'cnn_lstm':
net = CNN_RNN (o... | 35.891304 | 73 | 0.704422 | 253 | 1,651 | 4.367589 | 0.142292 | 0.126697 | 0.129412 | 0.159276 | 0.862443 | 0.765611 | 0.765611 | 0.719457 | 0.719457 | 0.719457 | 0 | 0.007965 | 0.163537 | 1,651 | 45 | 74 | 36.688889 | 0.79218 | 0 | 0 | 0.439024 | 0 | 0 | 0.099939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.121951 | 0 | 0.219512 | 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 |
21294ae5af744bf4a937b9bff3439b8cece49658 | 5,855 | py | Python | utils/permissions/checks.py | Chr1sDev/Bloo | 3e580c06c415f949997a1b6417308aa93543d64b | [
"MIT"
] | 34 | 2021-10-30T16:48:28.000Z | 2022-03-25T03:22:12.000Z | utils/permissions/checks.py | Chr1sDev/Bloo | 3e580c06c415f949997a1b6417308aa93543d64b | [
"MIT"
] | 9 | 2021-11-19T04:25:29.000Z | 2022-03-09T22:35:46.000Z | utils/permissions/checks.py | Chr1sDev/Bloo | 3e580c06c415f949997a1b6417308aa93543d64b | [
"MIT"
] | 20 | 2021-11-05T21:14:59.000Z | 2022-03-30T21:15:40.000Z | from discord.ext import commands
from data.services.guild_service import guild_service
from utils.context import BlooContext
from utils.permissions.permissions import permissions
class PermissionsFailure(commands.BadArgument):
def __init__(self, message):
super().__init__(message)
def always_whisper():
... | 36.59375 | 131 | 0.650384 | 774 | 5,855 | 4.847545 | 0.147287 | 0.039979 | 0.063433 | 0.074627 | 0.834755 | 0.834755 | 0.813166 | 0.804904 | 0.782516 | 0.75 | 0 | 0.002743 | 0.252775 | 5,855 | 160 | 132 | 36.59375 | 0.853486 | 0.16994 | 0 | 0.678899 | 0 | 0 | 0.113825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.137615 | false | 0 | 0.036697 | 0 | 0.458716 | 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 |
dcc615b1a2a54984352850e4e4b485ae829c38ee | 45 | py | Python | python/sWAP cASE.py | haneefnani/hackerrank | 795e4d1db0637baf610632aea5e9dd6b44777365 | [
"MIT"
] | null | null | null | python/sWAP cASE.py | haneefnani/hackerrank | 795e4d1db0637baf610632aea5e9dd6b44777365 | [
"MIT"
] | null | null | null | python/sWAP cASE.py | haneefnani/hackerrank | 795e4d1db0637baf610632aea5e9dd6b44777365 | [
"MIT"
] | null | null | null | import string
print string.swapcase(input())
| 15 | 30 | 0.8 | 6 | 45 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 2 | 31 | 22.5 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
dcc7dbc06e3ffb25b2acc5a2441b9ef15a5d279a | 666 | py | Python | basic_grammar/docstrings.py | OnoYuta/python_programing | 5d191bef5666c0a826f6daa0bd45bc9dd6603d59 | [
"MIT"
] | null | null | null | basic_grammar/docstrings.py | OnoYuta/python_programing | 5d191bef5666c0a826f6daa0bd45bc9dd6603d59 | [
"MIT"
] | null | null | null | basic_grammar/docstrings.py | OnoYuta/python_programing | 5d191bef5666c0a826f6daa0bd45bc9dd6603d59 | [
"MIT"
] | null | null | null | # Pythonの関数の説明は次のように関数内にコメントする
def example_func(param1, param2):
"""Example function with types documented in the docstring
Args:
param1 (int): The first parameter
param2 (str): The second parameter
Returns:
bool: The return value. True for success, False otherwise.
""... | 25.615385 | 68 | 0.659159 | 75 | 666 | 5.773333 | 0.413333 | 0.050808 | 0.08776 | 0.110855 | 0.729792 | 0.729792 | 0.729792 | 0.729792 | 0.729792 | 0.729792 | 0 | 0.016393 | 0.267267 | 666 | 26 | 68 | 25.615385 | 0.870902 | 0.72973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dce421691ed9d3ad841f1e4ddde45a74b00ab6f8 | 100 | py | Python | observer_pattern/observer_wrapper.py | sebastianmaxwell1/sweepstakes_1 | d76f4276e983f7ee971f8c6beefc53dff37c1bb3 | [
"MIT"
] | null | null | null | observer_pattern/observer_wrapper.py | sebastianmaxwell1/sweepstakes_1 | d76f4276e983f7ee971f8c6beefc53dff37c1bb3 | [
"MIT"
] | null | null | null | observer_pattern/observer_wrapper.py | sebastianmaxwell1/sweepstakes_1 | d76f4276e983f7ee971f8c6beefc53dff37c1bb3 | [
"MIT"
] | null | null | null | from observer_pattern.publisher import Publisher
from observer_pattern.subscriber import Subscriber
| 33.333333 | 50 | 0.9 | 12 | 100 | 7.333333 | 0.5 | 0.272727 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 2 | 51 | 50 | 0.956522 | 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 |
dcf36031eb6859f4c4f263ba53539fc9af152489 | 31 | py | Python | guardian_robot/guardian_pad/src/guardian_pad/srv/__init__.py | inesc-tec-robotics/guardian-ros-pkg | faeba3ba836ed997af4bdb2cc2777cf85b0dd71b | [
"BSD-3-Clause"
] | 1 | 2020-04-18T08:14:11.000Z | 2020-04-18T08:14:11.000Z | guardian_robot/guardian_pad/src/guardian_pad/srv/__init__.py | inesc-tec-robotics/guardian_ros_pkg | faeba3ba836ed997af4bdb2cc2777cf85b0dd71b | [
"BSD-3-Clause"
] | null | null | null | guardian_robot/guardian_pad/src/guardian_pad/srv/__init__.py | inesc-tec-robotics/guardian_ros_pkg | faeba3ba836ed997af4bdb2cc2777cf85b0dd71b | [
"BSD-3-Clause"
] | null | null | null | from ._enable_disable import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b4c5e491c4ab66fe158d81a06dd54a63b8f481f9 | 415 | py | Python | zcommon/modules_test.py | LamaAni/zcommon.py | 4d2df1d431638edc439fff09981a0458c3a8dea8 | [
"MIT"
] | null | null | null | zcommon/modules_test.py | LamaAni/zcommon.py | 4d2df1d431638edc439fff09981a0458c3a8dea8 | [
"MIT"
] | null | null | null | zcommon/modules_test.py | LamaAni/zcommon.py | 4d2df1d431638edc439fff09981a0458c3a8dea8 | [
"MIT"
] | null | null | null | import pytest
from zcommon.fs import relative_abspath
from zcommon.modules import load_module_dynamic, load_module_dynamic_with_timestamp
def test_try_load_module():
load_module_dynamic(relative_abspath("./classes.py"))
def test_try_load_module_dynamic_with_timestamp():
load_module_dynamic_with_timestamp(re... | 25.9375 | 83 | 0.80241 | 56 | 415 | 5.303571 | 0.410714 | 0.20202 | 0.286195 | 0.212121 | 0.40404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098795 | 415 | 15 | 84 | 27.666667 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.081928 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b4e20def6b9a2fb5863c3bb4d6b94c169b6cd7c4 | 6,859 | py | Python | atom/nucleus/python/test/test_portfolio_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 11 | 2019-04-16T02:11:17.000Z | 2021-12-16T22:51:40.000Z | atom/nucleus/python/test/test_portfolio_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 81 | 2019-11-19T23:24:28.000Z | 2022-03-28T11:35:47.000Z | atom/nucleus/python/test/test_portfolio_api.py | ShekharPaatni/SDK | 6534ffdb63af87c02c431df9add05a90370183cb | [
"Apache-2.0"
] | 11 | 2020-07-08T02:29:56.000Z | 2022-03-28T10:05:33.000Z | # coding: utf-8
"""
Hydrogen Nucleus API
The Hydrogen Nucleus API # noqa: E501
OpenAPI spec version: 1.9.4
Contact: info@hydrogenplatform.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import nucleus_api
from nu... | 26.482625 | 77 | 0.668173 | 842 | 6,859 | 5.054632 | 0.092637 | 0.065789 | 0.082707 | 0.112782 | 0.875705 | 0.731438 | 0.673402 | 0.570489 | 0.205357 | 0.051692 | 0 | 0.0218 | 0.271031 | 6,859 | 258 | 78 | 26.585271 | 0.8294 | 0.467707 | 0 | 0.434211 | 1 | 0 | 0.002747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.447368 | false | 0.434211 | 0.065789 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2c213d3d8581cf94afc34306060a3ab1e3fd490f | 40 | py | Python | toolkit/__init__.py | cosmos-org/ml-toolkit | 2f1d06bafabb0f84c2598038402f9671c2d7720e | [
"MIT"
] | null | null | null | toolkit/__init__.py | cosmos-org/ml-toolkit | 2f1d06bafabb0f84c2598038402f9671c2d7720e | [
"MIT"
] | null | null | null | toolkit/__init__.py | cosmos-org/ml-toolkit | 2f1d06bafabb0f84c2598038402f9671c2d7720e | [
"MIT"
] | null | null | null | from .entity_class import Topic, Opinion | 40 | 40 | 0.85 | 6 | 40 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2574e7fa9f3dac33ba7052b123a6be6f76ff3dfa | 18,977 | py | Python | tests/components/test_hassio.py | nihj/home-assistant | 525f15111451c6e184b3e2064b0fe36344597dfd | [
"Apache-2.0"
] | null | null | null | tests/components/test_hassio.py | nihj/home-assistant | 525f15111451c6e184b3e2064b0fe36344597dfd | [
"Apache-2.0"
] | null | null | null | tests/components/test_hassio.py | nihj/home-assistant | 525f15111451c6e184b3e2064b0fe36344597dfd | [
"Apache-2.0"
] | null | null | null | """The tests for the hassio component."""
import asyncio
import os
import aiohttp
import homeassistant.components.hassio as ho
from homeassistant.setup import setup_component, async_setup_component
from tests.common import (
get_test_home_assistant, assert_setup_component)
class TestHassIOSetup(object):
""... | 33.766904 | 79 | 0.613111 | 2,456 | 18,977 | 4.55171 | 0.059039 | 0.116289 | 0.064406 | 0.020395 | 0.889704 | 0.880043 | 0.847482 | 0.825924 | 0.778424 | 0.770731 | 0 | 0.027968 | 0.244454 | 18,977 | 561 | 80 | 33.827094 | 0.751709 | 0.053222 | 0 | 0.671569 | 0 | 0 | 0.13933 | 0.013916 | 0 | 0 | 0 | 0 | 0.223039 | 1 | 0.063725 | false | 0.009804 | 0.014706 | 0 | 0.083333 | 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 |
257f34fcbadb4d41f293c4a6f964375c054c8f84 | 68 | py | Python | conformer/__init__.py | Z-MU-Z/conformer | 42447073032d740a793e2ea002877d66e626d090 | [
"MIT"
] | 211 | 2020-07-26T19:33:28.000Z | 2022-03-30T02:49:06.000Z | conformer/__init__.py | Z-MU-Z/conformer | 42447073032d740a793e2ea002877d66e626d090 | [
"MIT"
] | 8 | 2020-10-10T01:51:42.000Z | 2021-05-31T08:19:10.000Z | conformer/__init__.py | Z-MU-Z/conformer | 42447073032d740a793e2ea002877d66e626d090 | [
"MIT"
] | 42 | 2020-10-24T03:21:56.000Z | 2022-03-20T14:45:02.000Z | from conformer.conformer import ConformerConvModule, ConformerBlock
| 34 | 67 | 0.897059 | 6 | 68 | 10.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 68 | 1 | 68 | 68 | 0.968254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
25b8c6a120cf84153fa8a0c07991df87036f9500 | 29 | py | Python | blargh.py | Lyreguin/cs3240-labdemo | cdb81dcee5fc04350ab505e92fcc323a28d15dae | [
"MIT"
] | null | null | null | blargh.py | Lyreguin/cs3240-labdemo | cdb81dcee5fc04350ab505e92fcc323a28d15dae | [
"MIT"
] | null | null | null | blargh.py | Lyreguin/cs3240-labdemo | cdb81dcee5fc04350ab505e92fcc323a28d15dae | [
"MIT"
] | null | null | null | def nein():
print("nein") | 14.5 | 17 | 0.551724 | 4 | 29 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 2 | 17 | 14.5 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d3359b6037494edd24e0fd072ffb297faf9ad255 | 657 | py | Python | 3056.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | 3 | 2021-09-21T18:50:20.000Z | 2021-12-14T13:07:31.000Z | 3056.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | 3056.py | gabzin/uri | 177bdf3f87bacfd924bd031a973b8db877379fe5 | [
"MIT"
] | null | null | null | #preguicoso
x=[9,25,81,289,1089,4225,16641,66049,263169,1050625,4198401,16785409,67125249,268468225,1073807361,4295098369,17180131329,68720001025,274878955521,1099513724929,4398050705409,17592194433025,70368760954881,281475010265089,1125899973951489,4503599761588225,18014398777917441,72057594574798849,28823037722545356... | 164.25 | 619 | 0.901065 | 57 | 657 | 10.385965 | 0.982456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.866972 | 0.004566 | 657 | 3 | 620 | 219 | 0.038226 | 0.015221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d34f263669743a3aebe18704d9cf038b5eb12479 | 38 | py | Python | pydiscovergy/__init__.py | mrdrogdrog/pydiscovergy | 52cb1ca39fe4405d82554fc3f27454ce3df75bc6 | [
"MIT"
] | null | null | null | pydiscovergy/__init__.py | mrdrogdrog/pydiscovergy | 52cb1ca39fe4405d82554fc3f27454ce3df75bc6 | [
"MIT"
] | null | null | null | pydiscovergy/__init__.py | mrdrogdrog/pydiscovergy | 52cb1ca39fe4405d82554fc3f27454ce3df75bc6 | [
"MIT"
] | 1 | 2020-09-17T16:29:01.000Z | 2020-09-17T16:29:01.000Z | from .pydiscovergy import PyDiscovergy | 38 | 38 | 0.894737 | 4 | 38 | 8.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 1 | 38 | 38 | 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 |
d370c984503097356e337fb908f5178bc9e5bc07 | 369 | py | Python | daenerys/pipeline/__init__.py | cailuo/daenerys | 1fdd4854adbe5267ce183d66f5a377bb9d1db32b | [
"Apache-2.0"
] | 80 | 2017-04-15T00:03:08.000Z | 2020-08-05T05:48:03.000Z | daenerys/pipeline/__init__.py | cailuo/daenerys | 1fdd4854adbe5267ce183d66f5a377bb9d1db32b | [
"Apache-2.0"
] | 1 | 2017-07-20T11:30:18.000Z | 2017-07-20T11:30:18.000Z | daenerys/pipeline/__init__.py | cailuo/daenerys | 1fdd4854adbe5267ce183d66f5a377bb9d1db32b | [
"Apache-2.0"
] | 37 | 2017-04-15T06:19:34.000Z | 2018-10-07T09:40:33.000Z | from .base import PipelineProperty
from .html import ElementTreeProperty, XPathTextProperty
from .network import (HTTPClientProperty, TextResponseProperty,
JSONResponseProperty)
__all__ = ["PipelineProperty", "ElementTreeProperty", "XPathTextProperty",
"HTTPClientProperty", "TextRespo... | 36.9 | 74 | 0.737127 | 22 | 369 | 12.181818 | 0.545455 | 0.268657 | 0.432836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186992 | 369 | 9 | 75 | 41 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0.298103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6c9bf3a3ef803fbe5d1a2f2dfcea62ff28098764 | 142 | py | Python | data/studio21_generated/interview/1988/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1988/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1988/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | class Solution:
def shortestAlternatingPaths(self, n: int, red_edges: List[List[int]], blue_edges: List[List[int]]) -> List[int]:
| 47.333333 | 117 | 0.676056 | 19 | 142 | 4.947368 | 0.578947 | 0.223404 | 0.276596 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 142 | 3 | 118 | 47.333333 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6cb9efb9197bf8fff7cfe4025f7e55109b236695 | 114 | py | Python | flask/ytegg/ytegg/todo/__init__.py | hyteer/starter | 8e8c62ef29d195c657d029648b4c7a657debea0d | [
"Apache-2.0"
] | null | null | null | flask/ytegg/ytegg/todo/__init__.py | hyteer/starter | 8e8c62ef29d195c657d029648b4c7a657debea0d | [
"Apache-2.0"
] | 6 | 2019-12-26T16:38:51.000Z | 2020-01-06T18:55:03.000Z | flask/ytmicro/ytegg/ytegg/todo/__init__.py | hyteer/starter | 8e8c62ef29d195c657d029648b4c7a657debea0d | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
todo = Blueprint('todo', __name__, template_folder='templates')
from . import views
| 19 | 63 | 0.77193 | 14 | 114 | 5.928571 | 0.714286 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 64 | 22.8 | 0.838384 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
6cbcaeb2e5e85e17e60193b8048c9d10f9299652 | 183 | py | Python | ladvien_ml/__init__.py | Ladvien/ladvien_ml | c6904825344029285d0aff7a06ceac9a9fef1032 | [
"MIT"
] | null | null | null | ladvien_ml/__init__.py | Ladvien/ladvien_ml | c6904825344029285d0aff7a06ceac9a9fef1032 | [
"MIT"
] | null | null | null | ladvien_ml/__init__.py | Ladvien/ladvien_ml | c6904825344029285d0aff7a06ceac9a9fef1032 | [
"MIT"
] | null | null | null | from .feature_engineer import FeatureEngineer
from .feature_prep import FeaturePrep
from .feature_model import FeatureModel
from .utility import Utility
from .images import ImageUtils | 36.6 | 45 | 0.868852 | 23 | 183 | 6.782609 | 0.521739 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103825 | 183 | 5 | 46 | 36.6 | 0.95122 | 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 |
9f0919750de309815bf80c8ab969ffde812888f0 | 3,623 | py | Python | objective_weighting/normalizations.py | energyinpython/pre-objective-weighting | 8af3afa49aff1309397d603f400963f4e617e00e | [
"MIT"
] | null | null | null | objective_weighting/normalizations.py | energyinpython/pre-objective-weighting | 8af3afa49aff1309397d603f400963f4e617e00e | [
"MIT"
] | null | null | null | objective_weighting/normalizations.py | energyinpython/pre-objective-weighting | 8af3afa49aff1309397d603f400963f4e617e00e | [
"MIT"
] | null | null | null | import numpy as np
# linear normalization
def linear_normalization(X, types):
"""
Normalize decision matrix using linear normalization method.
Parameters
----------
X : ndarray
Decision matrix with m alternatives in rows and n criteria in columns
types : ndarray
... | 29.696721 | 108 | 0.548441 | 462 | 3,623 | 4.255411 | 0.11039 | 0.091556 | 0.078332 | 0.055951 | 0.889115 | 0.881994 | 0.874873 | 0.755341 | 0.728891 | 0.710071 | 0 | 0.027294 | 0.302236 | 3,623 | 121 | 109 | 29.942149 | 0.750396 | 0.497378 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178571 | false | 0 | 0.035714 | 0 | 0.392857 | 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 |
9f370892df0711f48b9627c5cf02afd0489e85b6 | 2,778 | py | Python | tests/parsers/reports/test_ReportInfo.py | Tberdy/python-amazon-mws-tools | 2925118ce113851a2d8db98ad7f99163154f4151 | [
"Unlicense"
] | 9 | 2017-03-28T12:58:36.000Z | 2020-03-02T14:42:32.000Z | tests/parsers/reports/test_ReportInfo.py | Tberdy/python-amazon-mws-tools | 2925118ce113851a2d8db98ad7f99163154f4151 | [
"Unlicense"
] | 5 | 2017-01-05T19:36:18.000Z | 2021-12-13T19:43:42.000Z | tests/parsers/reports/test_ReportInfo.py | Tberdy/python-amazon-mws-tools | 2925118ce113851a2d8db98ad7f99163154f4151 | [
"Unlicense"
] | 5 | 2017-02-15T17:29:02.000Z | 2019-03-06T07:30:55.000Z | from unittest import TestCase
import datetime
from unittest import TestSuite
from unittest import main
from unittest import makeSuite
from mwstools.parsers.reports import ReportInfo
class TestReportInfoNotAcknowledged(TestCase):
body = """
<ReportInfo xmlns="http://mws.amazonaws.com/doc/2009-01-01/">
... | 29.553191 | 90 | 0.709503 | 326 | 2,778 | 5.825153 | 0.214724 | 0.058978 | 0.090047 | 0.109005 | 0.73723 | 0.73723 | 0.726172 | 0.701422 | 0.701422 | 0.645603 | 0 | 0.040994 | 0.174586 | 2,778 | 93 | 91 | 29.870968 | 0.787178 | 0 | 0 | 0.606061 | 0 | 0 | 0.327214 | 0.204104 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.227273 | false | 0 | 0.090909 | 0 | 0.393939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9f970af0e9a646f82c8cbb5c4c4e3c57fa02df2c | 26,221 | py | Python | build/devel/lib/python3/dist-packages/rtabmap_ros/msg/_Info.py | joaorpsgomes/rtabmap_ros | 439c7e46d3f14b9e9ff4a220fd97ee95b3f8e955 | [
"BSD-3-Clause"
] | null | null | null | build/devel/lib/python3/dist-packages/rtabmap_ros/msg/_Info.py | joaorpsgomes/rtabmap_ros | 439c7e46d3f14b9e9ff4a220fd97ee95b3f8e955 | [
"BSD-3-Clause"
] | null | null | null | build/devel/lib/python3/dist-packages/rtabmap_ros/msg/_Info.py | joaorpsgomes/rtabmap_ros | 439c7e46d3f14b9e9ff4a220fd97ee95b3f8e955 | [
"BSD-3-Clause"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from rtabmap_ros/Info.msg. Do not edit."""
import codecs
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import geometry_msgs.msg
import std_msgs.msg
class Info(genpy.Message):
_md5sum = "1... | 36.468707 | 380 | 0.630334 | 3,204 | 26,221 | 5.044944 | 0.092072 | 0.072259 | 0.05172 | 0.054689 | 0.726182 | 0.718263 | 0.703291 | 0.700074 | 0.695249 | 0.687825 | 0 | 0.015034 | 0.226307 | 26,221 | 718 | 381 | 36.519499 | 0.781732 | 0.057549 | 0 | 0.737405 | 1 | 0.001527 | 0.14074 | 0.02309 | 0 | 0 | 0.000407 | 0 | 0 | 1 | 0.015267 | false | 0 | 0.00916 | 0 | 0.045802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9faa2d98bde1e350e9bd45099eefc5ef9d6cd880 | 258 | py | Python | dthm4kaiako/learning_area_cards/apps.py | taskmaker1/dthm4kaiako | 681babc10b3223b5ae7fdf19b98c53d2bef4ea1a | [
"MIT"
] | 3 | 2018-12-10T07:03:02.000Z | 2021-04-12T02:18:30.000Z | dthm4kaiako/learning_area_cards/apps.py | taskmaker1/dthm4kaiako | 681babc10b3223b5ae7fdf19b98c53d2bef4ea1a | [
"MIT"
] | 566 | 2018-09-30T02:54:28.000Z | 2022-03-28T01:20:01.000Z | dthm4kaiako/learning_area_cards/apps.py | taskmaker1/dthm4kaiako | 681babc10b3223b5ae7fdf19b98c53d2bef4ea1a | [
"MIT"
] | 3 | 2019-04-04T19:53:39.000Z | 2021-05-16T02:04:46.000Z | """Application configuration for learning area cards application."""
from django.apps import AppConfig
class LearningAreaCardsAppConfig(AppConfig):
"""Application configuration for learning area cards application."""
name = 'learning_area_cards'
| 25.8 | 72 | 0.782946 | 26 | 258 | 7.692308 | 0.538462 | 0.18 | 0.255 | 0.35 | 0.55 | 0.55 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.135659 | 258 | 9 | 73 | 28.666667 | 0.896861 | 0.484496 | 0 | 0 | 0 | 0 | 0.155738 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4c8d35fbe06cf9c457409d4d5de187af5bb195aa | 13,406 | py | Python | utils/numba/spherical_harmonics.py | david-zwicker/py-utils | dae98cb3125f8160b59a1721e01640f344c9dc64 | [
"MIT"
] | null | null | null | utils/numba/spherical_harmonics.py | david-zwicker/py-utils | dae98cb3125f8160b59a1721e01640f344c9dc64 | [
"MIT"
] | null | null | null | utils/numba/spherical_harmonics.py | david-zwicker/py-utils | dae98cb3125f8160b59a1721e01640f344c9dc64 | [
"MIT"
] | null | null | null |
import math
from cmath import sqrt as csqrt
from scipy.special import sph_harm
from numba import jit
def spherical_index_k(l, m=0):
""" returns the mode k from the degree l and order m """
if not -l <= m <= l:
raise ValueError('m must lie between -l and l')
return l*(l + 1) + m
def spherical... | 35.278947 | 116 | 0.498061 | 1,847 | 13,406 | 3.595019 | 0.086086 | 0.09488 | 0.09488 | 0.126506 | 0.789157 | 0.773042 | 0.741114 | 0.726657 | 0.722139 | 0.712349 | 0 | 0.217224 | 0.341713 | 13,406 | 380 | 117 | 35.278947 | 0.535184 | 0.063404 | 0 | 0.697885 | 0 | 0 | 0.00576 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024169 | false | 0 | 0.012085 | 0 | 0.326284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 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 |
4cb17b7c0be34943828fb46492c9f2cd723cbeff | 12,205 | py | Python | src/openfermion/circuits/slater_determinants_test.py | Emieeel/OpenFermion | c19d9667c5970473893f9bc0183556c4cd354dd7 | [
"Apache-2.0"
] | 1,291 | 2017-09-27T22:00:26.000Z | 2022-03-25T14:34:50.000Z | src/openfermion/circuits/slater_determinants_test.py | marselzaripov/OpenFermion | 6187085f2a7707012b68370b625acaeed547e62b | [
"Apache-2.0"
] | 521 | 2017-09-27T21:36:17.000Z | 2022-03-02T12:45:56.000Z | src/openfermion/circuits/slater_determinants_test.py | marselzaripov/OpenFermion | 6187085f2a7707012b68370b625acaeed547e62b | [
"Apache-2.0"
] | 365 | 2017-09-27T21:25:38.000Z | 2022-03-29T19:28:46.000Z | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distribu... | 44.061372 | 80 | 0.648587 | 1,305 | 12,205 | 5.812261 | 0.154023 | 0.029532 | 0.015821 | 0.016875 | 0.810283 | 0.805933 | 0.796177 | 0.785102 | 0.785102 | 0.785102 | 0 | 0.006315 | 0.28644 | 12,205 | 277 | 81 | 44.061372 | 0.864623 | 0.239574 | 0 | 0.673333 | 0 | 0 | 0.010228 | 0.002529 | 0 | 0 | 0 | 0 | 0.14 | 1 | 0.08 | false | 0 | 0.04 | 0 | 0.14 | 0.013333 | 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 |
4cb858b88b2c2192d7ec283a3e7c3618396c045e | 273 | py | Python | passbook/factors/dummy/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/factors/dummy/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | passbook/factors/dummy/apps.py | fossabot/passbook | cba17f6659404445ac3025f11657d89368cc8b4f | [
"MIT"
] | null | null | null | """passbook dummy factor config"""
from django.apps import AppConfig
class PassbookFactorDummyConfig(AppConfig):
"""passbook dummy factor config"""
name = "passbook.factors.dummy"
label = "passbook_factors_dummy"
verbose_name = "passbook Factors.Dummy"
| 22.75 | 43 | 0.736264 | 29 | 273 | 6.827586 | 0.517241 | 0.227273 | 0.30303 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161172 | 273 | 11 | 44 | 24.818182 | 0.864629 | 0.208791 | 0 | 0 | 0 | 0 | 0.321951 | 0.214634 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.8 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
4cbdebd8acad953e03c1f772a3d28dd22355662b | 4,904 | py | Python | migrations/versions/d9e18343c92f_create_struct.py | emregeldegul/dolphin | 1b75e7a3175424792606bfb3ab633e37cbd28fd3 | [
"Apache-2.0"
] | 2 | 2022-03-27T14:13:09.000Z | 2022-03-27T15:45:43.000Z | migrations/versions/d9e18343c92f_create_struct.py | emregeldegul/dolphin | 1b75e7a3175424792606bfb3ab633e37cbd28fd3 | [
"Apache-2.0"
] | null | null | null | migrations/versions/d9e18343c92f_create_struct.py | emregeldegul/dolphin | 1b75e7a3175424792606bfb3ab633e37cbd28fd3 | [
"Apache-2.0"
] | null | null | null | """create struct
Revision ID: d9e18343c92f
Revises:
Create Date: 2022-03-24 17:50:06.943487
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'd9e18343c92f'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto gene... | 46.264151 | 96 | 0.666191 | 629 | 4,904 | 5.109698 | 0.146264 | 0.114499 | 0.163348 | 0.189484 | 0.781269 | 0.781269 | 0.768202 | 0.753889 | 0.69135 | 0.657747 | 0 | 0.01474 | 0.128467 | 4,904 | 105 | 97 | 46.704762 | 0.737248 | 0.057708 | 0 | 0.482759 | 0 | 0 | 0.176702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0.057471 | 0.022989 | 0 | 0.045977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4cbea931303e9a7633948d58bcaaad764d2b8918 | 132 | py | Python | tests/test_sourcetools/__init__.py | mmiguel6288code/sourcetools | 5c7dbb3d24a7790a9e0a18a506c7b6b0846d30d0 | [
"MIT"
] | 8 | 2020-09-02T21:20:33.000Z | 2022-02-03T19:31:25.000Z | tests/test_sourcetools/__init__.py | mmiguel6288code/sourcetools | 5c7dbb3d24a7790a9e0a18a506c7b6b0846d30d0 | [
"MIT"
] | null | null | null | tests/test_sourcetools/__init__.py | mmiguel6288code/sourcetools | 5c7dbb3d24a7790a9e0a18a506c7b6b0846d30d0 | [
"MIT"
] | 1 | 2020-11-12T06:32:48.000Z | 2020-11-12T06:32:48.000Z | import sys, os.path
sys.path.insert(0,os.path.abspath(os.path.join(os.path.dirname(__file__),'../../src')))
from .myptkcmd import *
| 33 | 87 | 0.712121 | 22 | 132 | 4.090909 | 0.590909 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.060606 | 132 | 3 | 88 | 44 | 0.717742 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4cdcccd943b861d5db6a09240fb3d0f8813ffb50 | 17,839 | py | Python | representability/purification/unitary_subspace_purification.py | rigetticomputing/representability | 5410159bea7ac5619022d69014807213c18277fe | [
"BSD-3-Clause"
] | 6 | 2018-12-03T20:42:10.000Z | 2022-01-03T01:54:24.000Z | representability/purification/unitary_subspace_purification.py | rigetticomputing/representability | 5410159bea7ac5619022d69014807213c18277fe | [
"BSD-3-Clause"
] | null | null | null | representability/purification/unitary_subspace_purification.py | rigetticomputing/representability | 5410159bea7ac5619022d69014807213c18277fe | [
"BSD-3-Clause"
] | 3 | 2018-12-03T20:42:14.000Z | 2022-01-03T01:54:36.000Z | """Purify a 2-marginal by the unitary decomposition technique
0. Decompose tpdm into it's three components of the unitary group
1. set 2D(0) to be fixed by the trace
2. set 2D(1) to be fixed by a valid opdm contracted from the real one
3. reconstruct total tpdm
5. diagonalize and find exposed operators
6. decompose ex... | 41.389791 | 107 | 0.602444 | 2,506 | 17,839 | 4.03751 | 0.10415 | 0.017296 | 0.033603 | 0.013046 | 0.840779 | 0.806483 | 0.781281 | 0.756671 | 0.748863 | 0.736905 | 0 | 0.029351 | 0.299064 | 17,839 | 430 | 108 | 41.486047 | 0.77983 | 0.232692 | 0 | 0.691358 | 0 | 0 | 0.017706 | 0 | 0 | 0 | 0 | 0 | 0.144033 | 1 | 0.012346 | false | 0 | 0.032922 | 0 | 0.053498 | 0.016461 | 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 |
2c3958b2826b24376d7187f6955899f7785c663d | 70 | py | Python | API-challenge-master/starter_code/api_keys.py | 1to1marketing/python-api-challenge | d854b8fe3c2107c227f834f252a29a447dee2cab | [
"ADSL"
] | null | null | null | API-challenge-master/starter_code/api_keys.py | 1to1marketing/python-api-challenge | d854b8fe3c2107c227f834f252a29a447dee2cab | [
"ADSL"
] | null | null | null | API-challenge-master/starter_code/api_keys.py | 1to1marketing/python-api-challenge | d854b8fe3c2107c227f834f252a29a447dee2cab | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
api_key = "f620fb30c60847c22331c6a34ade79d5"
| 23.333333 | 44 | 0.842857 | 6 | 70 | 9.666667 | 0.666667 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.1 | 70 | 2 | 45 | 35 | 0.587302 | 0.314286 | 0 | 0 | 0 | 0 | 0.695652 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e2bad5b8bb9827ff5700f5345948c70f7b04d088 | 48 | py | Python | tests/__init__.py | cPoolChia/ChiaAutoplotter-Backend | 8d875c1f846df395ddc76e3d84b36da45ad4d557 | [
"MIT"
] | 7 | 2021-06-01T09:20:34.000Z | 2021-10-12T07:24:04.000Z | tests/__init__.py | cPoolChia/ChiaAutoplotter-Worker | 7368396bda018a5adedef74173aba7b6f8f0eccc | [
"MIT"
] | null | null | null | tests/__init__.py | cPoolChia/ChiaAutoplotter-Worker | 7368396bda018a5adedef74173aba7b6f8f0eccc | [
"MIT"
] | 1 | 2021-05-31T13:08:14.000Z | 2021-05-31T13:08:14.000Z | from .conftest import Session, User, TestClient
| 24 | 47 | 0.8125 | 6 | 48 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.928571 | 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 |
3912e3d514883f924d9b3302ac08283608c8658f | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/activation/batch/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/activation/batch/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/activation/batch/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/2b/48/15/7f0b9757bba868c0cbee6a16182abbb930f323ae20899cd043cb36aa75 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 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 |
393005f5c16f0860a2c7680c5979052d4bef8da4 | 80 | py | Python | __init__.py | niasand/experiment_code | b4eaa255667952ab7a412e8217687aab2539edcb | [
"MIT"
] | null | null | null | __init__.py | niasand/experiment_code | b4eaa255667952ab7a412e8217687aab2539edcb | [
"MIT"
] | 30 | 2018-06-27T02:09:09.000Z | 2021-07-25T09:22:51.000Z | __init__.py | niasand/experiment_code | b4eaa255667952ab7a412e8217687aab2539edcb | [
"MIT"
] | 1 | 2018-06-26T07:46:21.000Z | 2018-06-26T07:46:21.000Z | # -*- coding: utf-8 -*-
# @Time : 2020-10-07 13:33
# @Author : Zhiwei Yang
| 16 | 29 | 0.525 | 12 | 80 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216667 | 0.25 | 80 | 4 | 30 | 20 | 0.483333 | 0.9 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
39412bbf8122addb1334dc3473585d5d79900f67 | 31 | py | Python | batchstorage/puller/__init__.py | persiyanov/batch-storage | 46136a51f3427b575482271985c185448274cb8e | [
"MIT"
] | 1 | 2017-05-09T14:51:27.000Z | 2017-05-09T14:51:27.000Z | batchstorage/puller/__init__.py | persiyanov/batch-storage | 46136a51f3427b575482271985c185448274cb8e | [
"MIT"
] | null | null | null | batchstorage/puller/__init__.py | persiyanov/batch-storage | 46136a51f3427b575482271985c185448274cb8e | [
"MIT"
] | null | null | null | from .puller import BatchPuller | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 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 |
394f076e4a9efe9dff5b140b1ca964fec77f5e31 | 1,452 | py | Python | plenum/test/view_change/slow_nodes/test_view_change_2_of_4_nodes_with_new_primary.py | WandyLau/indy-plenum | b7a4c3df4da78a8897f915ddbb57f7b342486d40 | [
"Apache-2.0"
] | null | null | null | plenum/test/view_change/slow_nodes/test_view_change_2_of_4_nodes_with_new_primary.py | WandyLau/indy-plenum | b7a4c3df4da78a8897f915ddbb57f7b342486d40 | [
"Apache-2.0"
] | null | null | null | plenum/test/view_change/slow_nodes/test_view_change_2_of_4_nodes_with_new_primary.py | WandyLau/indy-plenum | b7a4c3df4da78a8897f915ddbb57f7b342486d40 | [
"Apache-2.0"
] | null | null | null | from plenum.test.test_node import get_last_master_non_primary_node, get_first_master_non_primary_node
from plenum.test.view_change.helper import view_change_in_between_3pc
def slow_nodes(node_set):
return [get_first_master_non_primary_node(node_set),
get_last_master_non_primary_node(node_set)]
def t... | 39.243243 | 101 | 0.676309 | 203 | 1,452 | 4.507389 | 0.241379 | 0.087432 | 0.091803 | 0.103825 | 0.880874 | 0.856831 | 0.721311 | 0.721311 | 0.721311 | 0.721311 | 0 | 0.025424 | 0.268595 | 1,452 | 36 | 102 | 40.333333 | 0.836158 | 0.305096 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.125 | 0.0625 | 0.375 | 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 |
1a3c8fe86d11c2f91561e2876d1295050f5ff037 | 70 | py | Python | egnn_pytorch/__init__.py | amorehead/egnn-pytorch | fd8fc967324f32ee75b7a06b446bea8ae485eb3a | [
"MIT"
] | null | null | null | egnn_pytorch/__init__.py | amorehead/egnn-pytorch | fd8fc967324f32ee75b7a06b446bea8ae485eb3a | [
"MIT"
] | null | null | null | egnn_pytorch/__init__.py | amorehead/egnn-pytorch | fd8fc967324f32ee75b7a06b446bea8ae485eb3a | [
"MIT"
] | null | null | null | from egnn_pytorch.egnn_pytorch import EGNN, EGNN_sparse, EGNN_Network
| 35 | 69 | 0.871429 | 11 | 70 | 5.181818 | 0.545455 | 0.385965 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 1 | 70 | 70 | 0.890625 | 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 |
1a541d8b1c9b4de1db6c63a218c191b8b3fdfc05 | 32 | py | Python | scrapers/fail.py | fedorov/actcianable | c5e215df5dd3958766e41f52aa5e0747e58420f5 | [
"MIT"
] | 1 | 2021-12-22T16:02:27.000Z | 2021-12-22T16:02:27.000Z | curso_hector/12-metodos_de_coleccciones/collections.py | corahama/python | 234fa60ac6258905b158f1e114868a2629d52773 | [
"MIT"
] | 11 | 2020-12-30T16:22:51.000Z | 2022-03-31T15:01:17.000Z | curso_hector/12-metodos_de_coleccciones/collections.py | corahama/python | 234fa60ac6258905b158f1e114868a2629d52773 | [
"MIT"
] | null | null | null | from collections import Counter
| 16 | 31 | 0.875 | 4 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a84f032ad27b72d263f3af0bb43204b3bce66ac | 13,209 | py | Python | tests/rest/datacube/test_processbuilder.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null | tests/rest/datacube/test_processbuilder.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null | tests/rest/datacube/test_processbuilder.py | clausmichele/openeo-python-client | b20af2b24fcb12d0fce0e2acdb8afeeb881ff454 | [
"Apache-2.0"
] | null | null | null | from openeo.internal.graph_building import PGNode
from openeo.processes import ProcessBuilder
from ... import load_json_resource
def test_apply_callback_absolute_str(con100):
im = con100.load_collection("S2")
result = im.apply("absolute")
assert result.graph == load_json_resource('data/1.0.0/apply_absolu... | 37.632479 | 118 | 0.670452 | 1,736 | 13,209 | 4.858871 | 0.057028 | 0.054535 | 0.109069 | 0.099111 | 0.903142 | 0.860462 | 0.82051 | 0.814582 | 0.805809 | 0.799881 | 0 | 0.048675 | 0.180332 | 13,209 | 350 | 119 | 37.74 | 0.730396 | 0 | 0 | 0.534091 | 0 | 0 | 0.181316 | 0.087819 | 0 | 0 | 0 | 0 | 0.143939 | 1 | 0.166667 | false | 0 | 0.060606 | 0.022727 | 0.25 | 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 |
46ef45ea8dabd6bc8ccc89b67e2fb0ebaa5ee4b7 | 39,223 | py | Python | tests/test_process.py | Anaconda-Platform/accord | 8c0457eafb11b623028e86145dfe1b45357047e0 | [
"Apache-2.0"
] | null | null | null | tests/test_process.py | Anaconda-Platform/accord | 8c0457eafb11b623028e86145dfe1b45357047e0 | [
"Apache-2.0"
] | 1 | 2020-05-15T21:38:21.000Z | 2020-05-15T21:38:21.000Z | tests/test_process.py | Anaconda-Platform/accord | 8c0457eafb11b623028e86145dfe1b45357047e0 | [
"Apache-2.0"
] | 1 | 2020-01-29T01:43:20.000Z | 2020-01-29T01:43:20.000Z |
from .fixtures import process_returns
import unittest
from unittest import TestCase
from accord import exceptions
from accord import process
from accord import models
import logging
import pathlib
import mock
import os
import sh
class TestProcess(TestCase):
def setUp(self):
logging.disable(logging.ER... | 38.757905 | 79 | 0.547281 | 4,075 | 39,223 | 5.048834 | 0.05816 | 0.083115 | 0.090405 | 0.109896 | 0.844124 | 0.817537 | 0.774473 | 0.748663 | 0.730874 | 0.703655 | 0 | 0.00221 | 0.354052 | 39,223 | 1,011 | 80 | 38.796241 | 0.809836 | 0.010224 | 0 | 0.677419 | 0 | 0 | 0.221372 | 0.131472 | 0 | 0 | 0 | 0 | 0.051843 | 1 | 0.058756 | false | 0.008065 | 0.012673 | 0.002304 | 0.084101 | 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 |
202a7b782e4a51826cd9b78472c5a9234b401111 | 139 | py | Python | app_test.py | Evomatic/pc-rest-api | 9bb100b3c73a090ad4a09b43154fd146edc389fe | [
"MIT"
] | null | null | null | app_test.py | Evomatic/pc-rest-api | 9bb100b3c73a090ad4a09b43154fd146edc389fe | [
"MIT"
] | null | null | null | app_test.py | Evomatic/pc-rest-api | 9bb100b3c73a090ad4a09b43154fd146edc389fe | [
"MIT"
] | null | null | null | from app import findAll
def test_find():
"""Should FIND all data"""
# response = findAll()
assert findAll().get("code")==200
| 17.375 | 37 | 0.625899 | 18 | 139 | 4.777778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.215827 | 139 | 7 | 38 | 19.857143 | 0.761468 | 0.302158 | 0 | 0 | 0 | 0 | 0.043956 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2041b58da63cd653b8b2eaa85f1bc956b5b246e8 | 85 | py | Python | tests/test_examples.py | jeanCarloMachado/PythonSearch | 9d9342d3131e7dab2a1ad7df8fb3a17cf65e9aa6 | [
"Apache-2.0"
] | 14 | 2021-12-14T13:02:03.000Z | 2022-03-11T14:44:25.000Z | tests/test_examples.py | jeanCarloMachado/PythonSearch | 9d9342d3131e7dab2a1ad7df8fb3a17cf65e9aa6 | [
"Apache-2.0"
] | null | null | null | tests/test_examples.py | jeanCarloMachado/PythonSearch | 9d9342d3131e7dab2a1ad7df8fb3a17cf65e9aa6 | [
"Apache-2.0"
] | 1 | 2022-01-03T20:52:47.000Z | 2022-01-03T20:52:47.000Z | def test_loads():
from examples.minimal import config
assert config != None
| 17 | 39 | 0.705882 | 11 | 85 | 5.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223529 | 85 | 4 | 40 | 21.25 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2055cc9d6c2fb8a06abb300dde269f98e8a0f94d | 73 | py | Python | src/ag/crossovers/__init__.py | rafael2ll/ic-pso-hibrido | 2b622da191e20294b9f4071be03b335365532c20 | [
"MIT"
] | null | null | null | src/ag/crossovers/__init__.py | rafael2ll/ic-pso-hibrido | 2b622da191e20294b9f4071be03b335365532c20 | [
"MIT"
] | null | null | null | src/ag/crossovers/__init__.py | rafael2ll/ic-pso-hibrido | 2b622da191e20294b9f4071be03b335365532c20 | [
"MIT"
] | null | null | null | from .crossover import CrossOver
from .ox1_crossover import OX1CrossOver
| 24.333333 | 39 | 0.863014 | 9 | 73 | 6.888889 | 0.555556 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.109589 | 73 | 2 | 40 | 36.5 | 0.923077 | 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 |
647e6f37ef59624b53287de8f3884833397d160f | 148 | py | Python | django_projects/scheduler/update/tasks.py | ajpasic/greenhouse | d3cce9b86111672aaea7473f18bec6ee9a287e09 | [
"MIT"
] | null | null | null | django_projects/scheduler/update/tasks.py | ajpasic/greenhouse | d3cce9b86111672aaea7473f18bec6ee9a287e09 | [
"MIT"
] | null | null | null | django_projects/scheduler/update/tasks.py | ajpasic/greenhouse | d3cce9b86111672aaea7473f18bec6ee9a287e09 | [
"MIT"
] | null | null | null | # Create your tasks here
from celery import shared_task
@shared_task
def detect_and_send():
# run Max's code
import sprouttestintegration
| 16.444444 | 32 | 0.763514 | 21 | 148 | 5.190476 | 0.857143 | 0.183486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 148 | 8 | 33 | 18.5 | 0.908333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
647e7c9fa25f6b9eae64dd06a5cd76ab1f70e8c9 | 108 | py | Python | aiowamp/templ/__init__.py | gieseladev/wampio | d0275dd0370718c96e9be1d27af60b560cd372be | [
"MIT"
] | null | null | null | aiowamp/templ/__init__.py | gieseladev/wampio | d0275dd0370718c96e9be1d27af60b560cd372be | [
"MIT"
] | 2 | 2019-12-04T17:16:41.000Z | 2021-06-02T00:44:35.000Z | aiowamp/templ/__init__.py | gieseladev/wampio | d0275dd0370718c96e9be1d27af60b560cd372be | [
"MIT"
] | null | null | null | from .handler import create_invocation_entry_point, create_subscription_entry_point
from .template import *
| 36 | 83 | 0.87963 | 14 | 108 | 6.357143 | 0.642857 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 2 | 84 | 54 | 0.89899 | 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 |
6498fe5e1ebd37c81bc4d72a3d5eeb80a4a3ed87 | 68 | py | Python | jackal/helpers/__init__.py | joyongjin/Jackal | 63d637e92228d669cf8a6fc4b219a8c08471f5e3 | [
"MIT"
] | 6 | 2018-11-09T05:48:42.000Z | 2020-06-25T07:14:40.000Z | jackal/helpers/__init__.py | jrog612/Jackal | 63d637e92228d669cf8a6fc4b219a8c08471f5e3 | [
"MIT"
] | 1 | 2020-05-16T16:06:02.000Z | 2020-05-16T16:06:02.000Z | jackal/helpers/__init__.py | jrog612/Jackal | 63d637e92228d669cf8a6fc4b219a8c08471f5e3 | [
"MIT"
] | null | null | null | from . import math_helper as math
from . import data_helper as data
| 22.666667 | 33 | 0.794118 | 12 | 68 | 4.333333 | 0.5 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 2 | 34 | 34 | 0.928571 | 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 |
649c101f9ac4ecc1a89a25c022ddc2c07f8da0db | 289 | py | Python | tomasula-simulator/memory_bus.py | SwapnilBhosale/tomasula-simulator | 2ae152e0574159314ccf7fc298b82d6865a03169 | [
"Apache-2.0"
] | null | null | null | tomasula-simulator/memory_bus.py | SwapnilBhosale/tomasula-simulator | 2ae152e0574159314ccf7fc298b82d6865a03169 | [
"Apache-2.0"
] | null | null | null | tomasula-simulator/memory_bus.py | SwapnilBhosale/tomasula-simulator | 2ae152e0574159314ccf7fc298b82d6865a03169 | [
"Apache-2.0"
] | null | null | null |
class MemoryBus:
def __init__(self, busy_until=0):
self.busy_until = busy_until
def is_busy(self, clk):
return self.busy_until > clk
def set_busy_until(self, clk):
self.busy_until = clk
def get_busy_until(self):
return self.busy_until
| 18.0625 | 37 | 0.643599 | 42 | 289 | 4.071429 | 0.309524 | 0.421053 | 0.380117 | 0.222222 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.273356 | 289 | 15 | 38 | 19.266667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0 | 0.222222 | 0.777778 | 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 |
64b5e501def643187a47cf907ec827a450ba2a04 | 23 | py | Python | module/ccl_vhdx/__init__.py | cclgroupltd/ccl-vhdx | 92d686e4fdf9aa1e04341b021191672860a85445 | [
"MIT"
] | 2 | 2021-03-02T10:17:12.000Z | 2021-05-23T22:56:06.000Z | module/ccl_vhdx/__init__.py | cclgroupltd/ccl-vhdx | 92d686e4fdf9aa1e04341b021191672860a85445 | [
"MIT"
] | null | null | null | module/ccl_vhdx/__init__.py | cclgroupltd/ccl-vhdx | 92d686e4fdf9aa1e04341b021191672860a85445 | [
"MIT"
] | null | null | null | from .ccl_vhdx import * | 23 | 23 | 0.782609 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 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 |
b3929b81e3796922276e1dca9666f42feca5f611 | 40,320 | py | Python | python_spec/python_blocks/lagrangians/mrcc_methods.py | ak-ustutt/GeCCo-public | 8d43a6c9323aeba7eb54625b95553bfd4b2418c6 | [
"MIT"
] | null | null | null | python_spec/python_blocks/lagrangians/mrcc_methods.py | ak-ustutt/GeCCo-public | 8d43a6c9323aeba7eb54625b95553bfd4b2418c6 | [
"MIT"
] | null | null | null | python_spec/python_blocks/lagrangians/mrcc_methods.py | ak-ustutt/GeCCo-public | 8d43a6c9323aeba7eb54625b95553bfd4b2418c6 | [
"MIT"
] | null | null | null | """
core part for setting up the different methods
"""
import python_interface.gecco_modules.string_to_form as stf
from python_interface.gecco_interface import *
from python_interface.gecco_modules.NoticeUtil import *
#===================================================================================#
# helper rou... | 39.107662 | 167 | 0.495858 | 5,549 | 40,320 | 3.24545 | 0.047216 | 0.064412 | 0.114831 | 0.069299 | 0.840135 | 0.828863 | 0.812594 | 0.769671 | 0.739519 | 0.702871 | 0 | 0.052621 | 0.270858 | 40,320 | 1,030 | 168 | 39.145631 | 0.559951 | 0.152059 | 0 | 0.642415 | 0 | 0.00774 | 0.175115 | 0.025947 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018576 | false | 0 | 0.004644 | 0.012384 | 0.040248 | 0.003096 | 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 |
b3abe39c87024532cccbb0f7de113de336635f51 | 12,689 | py | Python | eventstore/management/commands/tests/test_migrate_to_eventstore.py | praekeltfoundation/ndoh-hub | 91d834ff8fe43b930a73d8debdaa0e6af78c5efc | [
"BSD-3-Clause"
] | null | null | null | eventstore/management/commands/tests/test_migrate_to_eventstore.py | praekeltfoundation/ndoh-hub | 91d834ff8fe43b930a73d8debdaa0e6af78c5efc | [
"BSD-3-Clause"
] | 126 | 2016-07-12T19:39:44.000Z | 2022-03-24T13:39:38.000Z | eventstore/management/commands/tests/test_migrate_to_eventstore.py | praekeltfoundation/ndoh-hub | 91d834ff8fe43b930a73d8debdaa0e6af78c5efc | [
"BSD-3-Clause"
] | 3 | 2016-09-28T13:16:11.000Z | 2020-11-07T15:32:37.000Z | from datetime import date
from uuid import UUID
from django.contrib.auth.models import User
from django.core.management import call_command
from django.test import TestCase
from changes.models import Change
from eventstore.models import (
BabySwitch,
ChannelSwitch,
CHWRegistration,
IdentificationSwitc... | 37.877612 | 83 | 0.619513 | 1,273 | 12,689 | 6.019639 | 0.10055 | 0.13115 | 0.093175 | 0.090435 | 0.843664 | 0.81639 | 0.789117 | 0.783505 | 0.783505 | 0.763409 | 0 | 0.109153 | 0.262117 | 12,689 | 334 | 84 | 37.991018 | 0.709281 | 0.015683 | 0 | 0.615917 | 0 | 0 | 0.250464 | 0.166653 | 0 | 0 | 0 | 0 | 0.231834 | 1 | 0.034602 | false | 0.020761 | 0.027682 | 0 | 0.065744 | 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 |
373347ed27089e1f9ee22082c1cb5819436b8fca | 66 | py | Python | sggm/analysis/cifar_svhn/__init__.py | pierresegonne/SGGM | 46663a722384b4ee2b3358261d6eb626a16ca51a | [
"Apache-2.0"
] | 4 | 2020-10-27T13:56:54.000Z | 2021-05-23T19:16:15.000Z | sggm/analysis/cifar_svhn/__init__.py | pierresegonne/SGGM | 46663a722384b4ee2b3358261d6eb626a16ca51a | [
"Apache-2.0"
] | 16 | 2021-03-29T09:59:56.000Z | 2022-03-12T01:00:38.000Z | sggm/analysis/cifar_svhn/__init__.py | pierresegonne/SGGM | 46663a722384b4ee2b3358261d6eb626a16ca51a | [
"Apache-2.0"
] | null | null | null | from sggm.analysis.cifar_svhn.main import plot as cifar_svhn_plot
| 33 | 65 | 0.863636 | 12 | 66 | 4.5 | 0.75 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 1 | 66 | 66 | 0.9 | 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 |
37411f7a8b84dc0ba005b583dc00a9302377845a | 36 | py | Python | elasticizer/__init__.py | AdamZarger/elasticizer | 19a29767088563659568547eddb3721364a2e218 | [
"CC0-1.0"
] | 6 | 2016-06-16T18:24:34.000Z | 2016-11-14T00:44:45.000Z | elasticizer/__init__.py | AdamZarger/elasticizer | 19a29767088563659568547eddb3721364a2e218 | [
"CC0-1.0"
] | 11 | 2016-06-16T19:13:42.000Z | 2016-11-09T21:55:25.000Z | elasticizer/__init__.py | AdamZarger/elasticizer | 19a29767088563659568547eddb3721364a2e218 | [
"CC0-1.0"
] | 8 | 2016-06-16T17:59:08.000Z | 2021-02-20T10:58:58.000Z | from elasticizer.pipelines import *
| 18 | 35 | 0.833333 | 4 | 36 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.