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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2544523311cc08e244cfc6c3f7029491eb958c6b | 65 | py | Python | data/scrape/link_extractors/__init__.py | jamesrharwood/journal-guidelines | fe6c0a6d3c0443df6fc816b9503fad24459ddb4a | [
"MIT"
] | null | null | null | data/scrape/link_extractors/__init__.py | jamesrharwood/journal-guidelines | fe6c0a6d3c0443df6fc816b9503fad24459ddb4a | [
"MIT"
] | null | null | null | data/scrape/link_extractors/__init__.py | jamesrharwood/journal-guidelines | fe6c0a6d3c0443df6fc816b9503fad24459ddb4a | [
"MIT"
] | null | null | null | from .extractors import extract_links, extract_links_by_strategy
| 32.5 | 64 | 0.892308 | 9 | 65 | 6 | 0.777778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 65 | 1 | 65 | 65 | 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 |
c25f383b08dc16b275556e63301d0fafc05360a0 | 124 | py | Python | strongr/core/exception/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/core/exception/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | strongr/core/exception/__init__.py | bigr-erasmusmc/StrongR | 48573e170771a251f629f2d13dba7173f010a38c | [
"Apache-2.0"
] | null | null | null | from .isnotcallableexception import IsNotCallableException
from .invalidparameterexception import InvalidParameterException
| 41.333333 | 64 | 0.919355 | 8 | 124 | 14.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 124 | 2 | 65 | 62 | 0.982759 | 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 |
c261396a1367bc9b5512a504dcafa2e8bcfd1807 | 102 | py | Python | vnpy/app/algo_trading/__init__.py | Billy-Meng/vnpy_origin | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | 1 | 2020-06-18T16:38:29.000Z | 2020-06-18T16:38:29.000Z | vnpy/app/algo_trading/__init__.py | Billy-Meng/vnpy_origin | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | 2 | 2020-06-22T12:12:43.000Z | 2020-06-23T01:26:10.000Z | vnpy/app/algo_trading/__init__.py | Billy-Meng/vnpy_origin | b0b0868027d70b1ba5dac65aa1a6d5e4246a0900 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import sys
import vnpy_algotrading
sys.modules[__name__] = vnpy_algotrading
| 12.75 | 40 | 0.735294 | 13 | 102 | 5.307692 | 0.692308 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.137255 | 102 | 7 | 41 | 14.571429 | 0.772727 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
c2aad64a2aad2f61466e44cae8495b6cafe36146 | 5,168 | py | Python | test/test_get_transaction_details_by_transaction_id_response_item_blockchain_specific.py | xan187/Crypto_APIs_2.0_SDK_Python | a56c75df54ef037b39be1315ed6e54de35bed55b | [
"MIT"
] | null | null | null | test/test_get_transaction_details_by_transaction_id_response_item_blockchain_specific.py | xan187/Crypto_APIs_2.0_SDK_Python | a56c75df54ef037b39be1315ed6e54de35bed55b | [
"MIT"
] | null | null | null | test/test_get_transaction_details_by_transaction_id_response_item_blockchain_specific.py | xan187/Crypto_APIs_2.0_SDK_Python | a56c75df54ef037b39be1315ed6e54de35bed55b | [
"MIT"
] | 1 | 2021-07-21T03:35:18.000Z | 2021-07-21T03:35:18.000Z | """
CryptoAPIs
Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of thei... | 90.666667 | 484 | 0.909443 | 348 | 5,168 | 13.149425 | 0.33046 | 0.033654 | 0.045673 | 0.052885 | 0.218313 | 0.218313 | 0.218313 | 0.218313 | 0.218313 | 0.218313 | 0 | 0.003083 | 0.05863 | 5,168 | 56 | 485 | 92.285714 | 0.937513 | 0.180147 | 0 | 0.090909 | 0 | 0 | 0.18275 | 0.180843 | 0 | 1 | 0 | 0.017857 | 0 | 1 | 0.090909 | false | 0.090909 | 0.424242 | 0 | 0.545455 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
c2b5b21620b9700cb8ad7260e94e93fb05dfdd01 | 417 | py | Python | templatedir/nice/objective.py | Kooper95/Shape-optimiser | caff58644bf64f5425fef5047688098d71b062b0 | [
"MIT"
] | null | null | null | templatedir/nice/objective.py | Kooper95/Shape-optimiser | caff58644bf64f5425fef5047688098d71b062b0 | [
"MIT"
] | null | null | null | templatedir/nice/objective.py | Kooper95/Shape-optimiser | caff58644bf64f5425fef5047688098d71b062b0 | [
"MIT"
] | null | null | null | import sys
#if len(sys.argv) == 1:
# print(200000)
#else:
Powerout = (float(sys.argv[1]) - 298.15) * 3.14159265 * 0.1 * 0.1 * 0.22 / 0.005
#p = 611.21 * 2.718281828 ** ((18.678 - (float(sys.argv[1])-273.15)/234.5)*((float(sys.argv[1])-273.15)/(float(sys.argv[1])-16.01)))
#Powerin = float(sys.argv[2]) * 2256600 * 1... | 34.75 | 132 | 0.609113 | 76 | 417 | 3.342105 | 0.473684 | 0.220472 | 0.330709 | 0.255906 | 0.141732 | 0.141732 | 0 | 0 | 0 | 0 | 0 | 0.303867 | 0.131894 | 417 | 11 | 133 | 37.909091 | 0.39779 | 0.659472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
665d4ee8e498a7f6eb6e8727b64c0dc527112f25 | 101 | py | Python | src/articles/utils.py | robzzy/articles-service | a37b0f382ec5544c9f67236672e8325de8d8cf6b | [
"MIT"
] | null | null | null | src/articles/utils.py | robzzy/articles-service | a37b0f382ec5544c9f67236672e8325de8d8cf6b | [
"MIT"
] | null | null | null | src/articles/utils.py | robzzy/articles-service | a37b0f382ec5544c9f67236672e8325de8d8cf6b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from datetime import datetime
def utcnow():
return datetime.utcnow()
| 11.222222 | 29 | 0.643564 | 12 | 101 | 5.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.207921 | 101 | 8 | 30 | 12.625 | 0.8 | 0.207921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
666f9404de84023163423cae5f0e889d7d73b5cf | 114 | py | Python | tatc/tatc/__init__.py | code-lab-org/tatc | 51ab32d69923e99637b8939bca6965ba218d6056 | [
"BSD-3-Clause"
] | null | null | null | tatc/tatc/__init__.py | code-lab-org/tatc | 51ab32d69923e99637b8939bca6965ba218d6056 | [
"BSD-3-Clause"
] | null | null | null | tatc/tatc/__init__.py | code-lab-org/tatc | 51ab32d69923e99637b8939bca6965ba218d6056 | [
"BSD-3-Clause"
] | null | null | null | from . import analysis
from . import generation
from . import schemas
from . import constants
from . import utils
| 19 | 24 | 0.780702 | 15 | 114 | 5.933333 | 0.466667 | 0.561798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 114 | 5 | 25 | 22.8 | 0.946809 | 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 |
6698840643e395fa623f15782641264872cbd6d1 | 77 | py | Python | Code_Challenges/fizz_buzz.py | fuse999/Python_Sandbox | 83d9c33a9c9e6e5cff40bbc6be525c9e604e9e41 | [
"MIT"
] | null | null | null | Code_Challenges/fizz_buzz.py | fuse999/Python_Sandbox | 83d9c33a9c9e6e5cff40bbc6be525c9e604e9e41 | [
"MIT"
] | null | null | null | Code_Challenges/fizz_buzz.py | fuse999/Python_Sandbox | 83d9c33a9c9e6e5cff40bbc6be525c9e604e9e41 | [
"MIT"
] | null | null | null | def fizz_buzz(num):
return "Fizz"*(num%3==0) + "Buzz"*(num%5==0) or str(num) | 38.5 | 57 | 0.61039 | 16 | 77 | 2.875 | 0.625 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.103896 | 77 | 2 | 57 | 38.5 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
669f4cf088ed7bab4dba3af533966368a6931102 | 5,790 | py | Python | tsfeatures/tsfeatures_r.py | vishalbelsare/tsfeatures-1 | 554581d795344a023d14cddcbbf52c491b2d6e14 | [
"MIT"
] | 57 | 2020-01-28T02:00:19.000Z | 2021-08-20T19:19:51.000Z | tsfeatures/tsfeatures_r.py | vishalbelsare/tsfeatures-1 | 554581d795344a023d14cddcbbf52c491b2d6e14 | [
"MIT"
] | 9 | 2019-11-30T23:56:39.000Z | 2021-09-01T17:27:13.000Z | tsfeatures/tsfeatures_r.py | vishalbelsare/tsfeatures-1 | 554581d795344a023d14cddcbbf52c491b2d6e14 | [
"MIT"
] | 18 | 2020-01-28T02:00:34.000Z | 2021-07-29T19:57:22.000Z | #!/usr/bin/env python
# coding: utf-8
from typing import List
import pandas as pd
import rpy2.robjects as robjects
from rpy2.robjects import pandas2ri
def tsfeatures_r(ts: pd.DataFrame,
freq: int,
features: List[str] = ["length", "acf_features", "arch_stat",
... | 37.115385 | 105 | 0.54905 | 526 | 5,790 | 5.857414 | 0.222433 | 0.127231 | 0.041545 | 0.103862 | 0.790652 | 0.790652 | 0.790652 | 0.790652 | 0.743265 | 0.743265 | 0 | 0.003612 | 0.33057 | 5,790 | 155 | 106 | 37.354839 | 0.79128 | 0.143523 | 0 | 0.666667 | 0 | 0 | 0.675564 | 0.17546 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021505 | false | 0 | 0.043011 | 0 | 0.086022 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
66a8f9b8cc1a5e38469c82b0fbb8d4d59fa5a00b | 48 | py | Python | ravel/ext/grpc/proto/__init__.py | gigaquads/pybiz | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | 2 | 2021-02-26T15:30:44.000Z | 2021-05-22T14:06:17.000Z | ravel/ext/grpc/proto/__init__.py | gigaquads/ravel | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | null | null | null | ravel/ext/grpc/proto/__init__.py | gigaquads/ravel | e9654592246be06a777934e889e03407c5c1673e | [
"MIT"
] | null | null | null | from .message_generator import MessageGenerator
| 24 | 47 | 0.895833 | 5 | 48 | 8.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.954545 | 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 |
66b770c881e21fad34af50dcae6abd39179c47c7 | 24 | py | Python | IBRAHIM/OPENCV(gözdengeçir)/opencv13.py | vektorelpython24proje/temelbilgiler | bced2723d247dbb8b10cf86e25ee209635f82921 | [
"MIT"
] | null | null | null | IBRAHIM/OPENCV(gözdengeçir)/opencv13.py | vektorelpython24proje/temelbilgiler | bced2723d247dbb8b10cf86e25ee209635f82921 | [
"MIT"
] | null | null | null | IBRAHIM/OPENCV(gözdengeçir)/opencv13.py | vektorelpython24proje/temelbilgiler | bced2723d247dbb8b10cf86e25ee209635f82921 | [
"MIT"
] | 3 | 2020-10-24T14:36:14.000Z | 2020-10-24T14:41:13.000Z | import cv2,numpy as np
| 8 | 22 | 0.75 | 5 | 24 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.208333 | 24 | 2 | 23 | 12 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd2a5cf8f71832711ba0041d79936803628b02c3 | 88 | py | Python | bot/utils/__init__.py | famaxth/Russian-Qiwi-Bot | d5b0f23516343205ca7bad15b2d2fae7b675f584 | [
"MIT"
] | null | null | null | bot/utils/__init__.py | famaxth/Russian-Qiwi-Bot | d5b0f23516343205ca7bad15b2d2fae7b675f584 | [
"MIT"
] | null | null | null | bot/utils/__init__.py | famaxth/Russian-Qiwi-Bot | d5b0f23516343205ca7bad15b2d2fae7b675f584 | [
"MIT"
] | null | null | null | from . import db_api
from . import misc
from .notify_admins import on_startup_notify
| 22 | 45 | 0.795455 | 14 | 88 | 4.714286 | 0.642857 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 3 | 46 | 29.333333 | 0.90411 | 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 |
dd3a98d9913755c248179ace7fd4339b164d8375 | 60 | py | Python | reprlearn/data/__init__.py | cocoaaa/ReprLearn | 58dc682aa62dbd59201ccc55b9b26480ff3d6773 | [
"MIT"
] | null | null | null | reprlearn/data/__init__.py | cocoaaa/ReprLearn | 58dc682aa62dbd59201ccc55b9b26480ff3d6773 | [
"MIT"
] | null | null | null | reprlearn/data/__init__.py | cocoaaa/ReprLearn | 58dc682aa62dbd59201ccc55b9b26480ff3d6773 | [
"MIT"
] | null | null | null | def data_fn():
print("src.data.__init__.py")
# data_fn() | 20 | 33 | 0.65 | 10 | 60 | 3.3 | 0.7 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 3 | 34 | 20 | 0.634615 | 0.15 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
dd58ae1c08481fd8fa7bad513b2a0bc59315eb1c | 6,721 | py | Python | src/cogs/image.py | Alone-ankush/Credo | cb7789589e31c46c8e1d699590a2abe6e8fe8d07 | [
"MIT"
] | null | null | null | src/cogs/image.py | Alone-ankush/Credo | cb7789589e31c46c8e1d699590a2abe6e8fe8d07 | [
"MIT"
] | null | null | null | src/cogs/image.py | Alone-ankush/Credo | cb7789589e31c46c8e1d699590a2abe6e8fe8d07 | [
"MIT"
] | 1 | 2021-11-22T16:11:52.000Z | 2021-11-22T16:11:52.000Z | import discord
from discord.ext import commands
import aiohttp
import requests
class Image(commands.Cog, name='Image'):
def __init__(self, bot):
self.bot = bot
@commands.command()
@commands.cooldown(1, 10, commands.BucketType.user)
async def cat(self, ctx):
"""Gives You Random Image O... | 44.217105 | 156 | 0.545752 | 820 | 6,721 | 4.408537 | 0.112195 | 0.059751 | 0.041494 | 0.049793 | 0.870539 | 0.854772 | 0.833748 | 0.795021 | 0.776763 | 0.776763 | 0 | 0.006 | 0.330457 | 6,721 | 151 | 157 | 44.509934 | 0.797333 | 0.070972 | 0 | 0.690265 | 0 | 0 | 0.09877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017699 | false | 0 | 0.035398 | 0 | 0.061947 | 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 |
dd645fa056ebfd23c4caebdfdc2152ec117fdf48 | 214 | py | Python | programmers/blind_phone_number.py | schio/algorithm_test | c240faca428a9adb2970591338d4792b2f4fb7f3 | [
"MIT"
] | null | null | null | programmers/blind_phone_number.py | schio/algorithm_test | c240faca428a9adb2970591338d4792b2f4fb7f3 | [
"MIT"
] | null | null | null | programmers/blind_phone_number.py | schio/algorithm_test | c240faca428a9adb2970591338d4792b2f4fb7f3 | [
"MIT"
] | null | null | null | # https://programmers.co.kr/learn/courses/30/lessons/12948
def solution(phone_number):
phone_number = list(phone_number)
phone_number[:-4] = ["*"] * (len(phone_number) - 4)
return "".join(phone_number)
| 35.666667 | 58 | 0.691589 | 29 | 214 | 4.896552 | 0.62069 | 0.464789 | 0.225352 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.130841 | 214 | 5 | 59 | 42.8 | 0.715054 | 0.261682 | 0 | 0 | 0 | 0 | 0.00641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
dd7a97cab10721a7ac3a4595ec291fc2eb2c99df | 27 | py | Python | models/det/__init__.py | BruceHan98/OCHTPS | 5bee02bcbff36029cd47b4802178216f980a4298 | [
"MIT"
] | null | null | null | models/det/__init__.py | BruceHan98/OCHTPS | 5bee02bcbff36029cd47b4802178216f980a4298 | [
"MIT"
] | null | null | null | models/det/__init__.py | BruceHan98/OCHTPS | 5bee02bcbff36029cd47b4802178216f980a4298 | [
"MIT"
] | null | null | null | from .pannet import PANNet
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dd959355e365d9613862ee93daf2b03fcc0afbb8 | 32 | py | Python | main.py | Abhishek-P/py-hello-world-run-from-colab | efd9539f49dfd324e1e475321e2c7c5ecb70e3ac | [
"MIT"
] | null | null | null | main.py | Abhishek-P/py-hello-world-run-from-colab | efd9539f49dfd324e1e475321e2c7c5ecb70e3ac | [
"MIT"
] | null | null | null | main.py | Abhishek-P/py-hello-world-run-from-colab | efd9539f49dfd324e1e475321e2c7c5ecb70e3ac | [
"MIT"
] | null | null | null | print("Hello World! from Colab") | 32 | 32 | 0.75 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 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 |
b09e86d17222e2c84aa7c7682a198b25873a6309 | 28 | py | Python | flask_web/flask_app/deep_learning/machine_learning/ml_utils.py | Yakings/system_demo | 6ec9596db1e60e221054282a06d9129246e88f54 | [
"Apache-2.0"
] | 7 | 2021-09-02T06:47:35.000Z | 2022-03-09T05:13:00.000Z | data/shapenet.py | pkudba/SCL | 78e85344a579075d3d07ed77eab8e13144321c6a | [
"MIT"
] | null | null | null | data/shapenet.py | pkudba/SCL | 78e85344a579075d3d07ed77eab8e13144321c6a | [
"MIT"
] | 1 | 2020-08-18T10:55:10.000Z | 2020-08-18T10:55:10.000Z | import os
import numpy as np | 14 | 18 | 0.821429 | 6 | 28 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 28 | 2 | 18 | 14 | 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 |
b09f6e59e32b5245279365673bc84979d193225e | 177 | py | Python | experiments/series_1/experiment_2/experiment_setup.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2020-03-09T18:56:01.000Z | 2020-03-09T18:56:01.000Z | experiments/series_1/experiment_2/experiment_setup.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | null | null | null | experiments/series_1/experiment_2/experiment_setup.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2019-10-25T13:09:40.000Z | 2019-10-25T13:09:40.000Z | TRAIN_DIR = '/net/archive/groups/plggluna/plgtodrzygozdz/lvl1/train_epochs_new_eval'
VALID_FILE = '/net/archive/groups/plggluna/plgtodrzygozdz/lvl1/valid_new/valid_eval.pickle'
| 59 | 91 | 0.841808 | 25 | 177 | 5.68 | 0.56 | 0.140845 | 0.225352 | 0.338028 | 0.591549 | 0.591549 | 0 | 0 | 0 | 0 | 0 | 0.011696 | 0.033898 | 177 | 2 | 92 | 88.5 | 0.818713 | 0 | 0 | 0 | 0 | 0 | 0.824859 | 0.824859 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ff0b81e53133aba91462aecf89de89bda59ec1a | 129 | py | Python | file_converters/ifcjson/__init__.py | IFCJSON-Team/IFC2JSON_python | 20452c1c5d4461e6dc462c0c3855f3a213197279 | [
"MIT"
] | 15 | 2020-05-28T16:12:08.000Z | 2022-02-17T15:12:19.000Z | file_converters/ifcjson/__init__.py | claudioperez/IFC2JSON_python | 20452c1c5d4461e6dc462c0c3855f3a213197279 | [
"MIT"
] | 2 | 2020-08-03T07:06:21.000Z | 2020-10-03T12:29:33.000Z | file_converters/ifcjson/__init__.py | claudioperez/IFC2JSON_python | 20452c1c5d4461e6dc462c0c3855f3a213197279 | [
"MIT"
] | 8 | 2020-09-03T06:44:34.000Z | 2021-05-19T06:11:05.000Z | from ifcjson.ifc2json4 import IFC2JSON4
from ifcjson.ifc2json5a import IFC2JSON5a
# from ifcjson.to_ifcopenshell import JSON2IFC
| 32.25 | 46 | 0.868217 | 16 | 129 | 6.9375 | 0.5 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077586 | 0.100775 | 129 | 3 | 47 | 43 | 0.87931 | 0.341085 | 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 |
9ff12bd165478b168116c20184aa85f7204d868f | 424 | py | Python | src/07_mongoengine/service_central/nosql/mongo_setup.py | jabelk/mongodb-for-python-developers | 36df20d18b6e74fca986d6b01a58f32e983efdbf | [
"MIT"
] | null | null | null | src/07_mongoengine/service_central/nosql/mongo_setup.py | jabelk/mongodb-for-python-developers | 36df20d18b6e74fca986d6b01a58f32e983efdbf | [
"MIT"
] | null | null | null | src/07_mongoengine/service_central/nosql/mongo_setup.py | jabelk/mongodb-for-python-developers | 36df20d18b6e74fca986d6b01a58f32e983efdbf | [
"MIT"
] | null | null | null | import mongoengine
def global_init():
# this is where would pass in creds and port and such
# name= is the database db name
# when we define our classes we will refer to the "core" connection
# default localhost and port
mongoengine.register_connection(alias='core', name='demo_dealership')
# ... | 32.615385 | 78 | 0.731132 | 57 | 424 | 5.368421 | 0.719298 | 0.045752 | 0.189542 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193396 | 424 | 12 | 79 | 35.333333 | 0.894737 | 0.641509 | 0 | 0 | 0 | 0 | 0.131034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c680f37234049d05b70d11aac85295f6c4622c68 | 350 | py | Python | clusterwrapper/clustermetrics.py | opennlp/DeepPhrase | 54bd6ca96c12475e3c3ff3745a4eb7c245b6e870 | [
"MIT"
] | 2 | 2019-06-19T12:52:31.000Z | 2020-05-20T15:29:56.000Z | clusterwrapper/clustermetrics.py | opennlp/DeepPhrase | 54bd6ca96c12475e3c3ff3745a4eb7c245b6e870 | [
"MIT"
] | 5 | 2019-12-17T05:44:10.000Z | 2022-02-10T00:29:31.000Z | clusterwrapper/clustermetrics.py | opennlp/DeepPhrase | 54bd6ca96c12475e3c3ff3745a4eb7c245b6e870 | [
"MIT"
] | 3 | 2019-10-06T13:31:31.000Z | 2022-03-16T16:13:09.000Z | from sklearn.metrics import silhouette_score, calinski_harabaz_score
def get_silhouette_coefficient(cluster_train_data,labels_assigned):
return silhouette_score(cluster_train_data,labels_assigned)
def get_calinski_harabaz_coefficient(cluster_train_data, labels_assigned):
return calinski_harabaz_score(cluste... | 38.888889 | 74 | 0.88 | 45 | 350 | 6.333333 | 0.377778 | 0.168421 | 0.224561 | 0.308772 | 0.575439 | 0.575439 | 0.329825 | 0 | 0 | 0 | 0 | 0 | 0.074286 | 350 | 9 | 75 | 38.888889 | 0.87963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c6d555d859bb876aa1349e06152d5eef3dc029ae | 117 | py | Python | 0x02-python-import_modules/5-variable_load.py | darkares23/holbertonschool-higher_level_programming | 931b1b701d8a1d990b7cd931486496c0b5502e21 | [
"MIT"
] | null | null | null | 0x02-python-import_modules/5-variable_load.py | darkares23/holbertonschool-higher_level_programming | 931b1b701d8a1d990b7cd931486496c0b5502e21 | [
"MIT"
] | null | null | null | 0x02-python-import_modules/5-variable_load.py | darkares23/holbertonschool-higher_level_programming | 931b1b701d8a1d990b7cd931486496c0b5502e21 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
if __name__ == "__main__":
import variable_load_5
print("{:d}".format(variable_load_5.a))
| 23.4 | 43 | 0.683761 | 17 | 117 | 4 | 0.823529 | 0.352941 | 0.382353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.136752 | 117 | 4 | 44 | 29.25 | 0.643564 | 0.145299 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 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 |
c6d683a4278c405775be1daf2baed45d4e050d96 | 126 | py | Python | 7kyu/jaden_casing_strings.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | 1 | 2018-12-02T23:04:38.000Z | 2018-12-02T23:04:38.000Z | 7kyu/jaden_casing_strings.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | 7kyu/jaden_casing_strings.py | nhsz/codewars | 82703959e910254d6feff4162f78c6dbd7a1c3ed | [
"MIT"
] | null | null | null | # http://www.codewars.com/kata/5390bac347d09b7da40006f6/
import string
def to_jaden_case(s):
return string.capwords(s)
| 15.75 | 56 | 0.761905 | 17 | 126 | 5.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 0.119048 | 126 | 7 | 57 | 18 | 0.702703 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
af5762516a430f1426529d0c6968ccfdddc2c3a9 | 26 | py | Python | __init__.py | pslustig/galfitwrap | f8f695083e3b10806aeb6fb0f748234bd840a0d2 | [
"MIT"
] | null | null | null | __init__.py | pslustig/galfitwrap | f8f695083e3b10806aeb6fb0f748234bd840a0d2 | [
"MIT"
] | null | null | null | __init__.py | pslustig/galfitwrap | f8f695083e3b10806aeb6fb0f748234bd840a0d2 | [
"MIT"
] | null | null | null | from .galaxywrap import *
| 13 | 25 | 0.769231 | 3 | 26 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
afd143bd5e84c3a69dfc14385c7dd489f2e9fbb7 | 51,669 | py | Python | Bin/init.py | mfneirae/GrupLAC-Complete | f4ccefe2553b90015d28df0e8d7730b4bad37d84 | [
"MIT"
] | null | null | null | Bin/init.py | mfneirae/GrupLAC-Complete | f4ccefe2553b90015d28df0e8d7730b4bad37d84 | [
"MIT"
] | null | null | null | Bin/init.py | mfneirae/GrupLAC-Complete | f4ccefe2553b90015d28df0e8d7730b4bad37d84 | [
"MIT"
] | 1 | 2021-06-10T09:21:18.000Z | 2021-06-10T09:21:18.000Z | #
#
# #############################################################################
# Copyright (c) 2018 Universidad Nacional de Colombia All Rights Reserved.
#
# This work was made as a development to improve data collection
# for self-assessment and accreditation processes in the Vicedeanship
... | 29.831986 | 122 | 0.744953 | 6,414 | 51,669 | 5.743374 | 0.082476 | 0.166459 | 0.103426 | 0.083392 | 0.890466 | 0.885499 | 0.873772 | 0.864461 | 0.850915 | 0.814539 | 0 | 0.010224 | 0.116008 | 51,669 | 1,731 | 123 | 29.84922 | 0.7963 | 0.014361 | 0 | 0.503835 | 0 | 0.00118 | 0.262223 | 0.00065 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00059 | false | 0 | 0 | 0 | 0.00059 | 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 |
a550fbf0806ccc2e40e0a75340a7b677dae1c755 | 78 | py | Python | tests/printing/test_registry_rendering.py | anna-naden/qalgebra | e7641ef77a2433caf2f587df27235800b894b631 | [
"MIT"
] | 2 | 2020-08-17T12:18:19.000Z | 2020-08-25T11:17:27.000Z | tests/printing/test_registry_rendering.py | anna-naden/qalgebra | e7641ef77a2433caf2f587df27235800b894b631 | [
"MIT"
] | 1 | 2022-01-13T10:29:18.000Z | 2022-01-13T10:29:18.000Z | tests/printing/test_registry_rendering.py | anna-naden/qalgebra | e7641ef77a2433caf2f587df27235800b894b631 | [
"MIT"
] | null | null | null | import os
import pytest
from qalgebra.utils.testing import datadir
# TODO
| 8.666667 | 42 | 0.782051 | 11 | 78 | 5.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 78 | 8 | 43 | 9.75 | 0.953125 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
a552f91d3303c3c4ba023cfcd62f634b5b719020 | 44 | py | Python | plugin/lighthouse/reader/__init__.py | x9090/lighthouse | b7378ee5948ba81900ef80538870f2e2b47610f4 | [
"MIT"
] | 1,741 | 2017-02-21T14:09:27.000Z | 2022-03-30T19:49:25.000Z | plugin/lighthouse/reader/__init__.py | x9090/lighthouse | b7378ee5948ba81900ef80538870f2e2b47610f4 | [
"MIT"
] | 114 | 2017-03-12T21:46:16.000Z | 2022-03-16T22:10:49.000Z | plugin/lighthouse/reader/__init__.py | x9090/lighthouse | b7378ee5948ba81900ef80538870f2e2b47610f4 | [
"MIT"
] | 264 | 2017-02-21T14:46:16.000Z | 2022-03-14T12:21:15.000Z | from .coverage_reader import CoverageReader
| 22 | 43 | 0.886364 | 5 | 44 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 44 | 1 | 44 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5b0d52e0078ea20025f0753051928c6476236c3 | 43 | py | Python | h1st/core/__init__.py | Shiti/h1st | 0805452bda2453924663203b11f448e31525d596 | [
"Apache-2.0"
] | null | null | null | h1st/core/__init__.py | Shiti/h1st | 0805452bda2453924663203b11f448e31525d596 | [
"Apache-2.0"
] | null | null | null | h1st/core/__init__.py | Shiti/h1st | 0805452bda2453924663203b11f448e31525d596 | [
"Apache-2.0"
] | null | null | null | from .dataclass import NodeInfo, GraphInfo
| 21.5 | 42 | 0.837209 | 5 | 43 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a5b3fe8a62484a08f85e5b9ff9a70af0ed0c8faf | 225 | py | Python | utils/start_server.py | FGAUnB-REQ-GM/2021.2-PousadaAnimal | b7371aebccad0da23073de0db642a6ce824f919e | [
"MIT"
] | null | null | null | utils/start_server.py | FGAUnB-REQ-GM/2021.2-PousadaAnimal | b7371aebccad0da23073de0db642a6ce824f919e | [
"MIT"
] | 95 | 2022-02-04T19:40:09.000Z | 2022-03-31T20:24:11.000Z | utils/start_server.py | FGAUnB-REQ-GM/2021.2-PousadaAnimal | b7371aebccad0da23073de0db642a6ce824f919e | [
"MIT"
] | 4 | 2022-01-26T23:51:48.000Z | 2022-01-27T18:28:16.000Z | from os import system
# Database
system('python3 manage.py makemigrations users pets hosting services message payment host')
system('python3 manage.py migrate')
# Server
system('python3 manage.py runserver localhost:8000') | 25 | 91 | 0.8 | 30 | 225 | 6 | 0.7 | 0.216667 | 0.316667 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035354 | 0.12 | 225 | 9 | 92 | 25 | 0.873737 | 0.066667 | 0 | 0 | 0 | 0 | 0.711538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 |
3c3b1f75cf099592f20b9f3fb8aa02e9dab8062a | 148 | py | Python | Chapter 2/wall_time.py | indrag49/Computational-Stat-Mech | 0877f54a0245fce815f03478f4fb219fd6314951 | [
"MIT"
] | 19 | 2018-06-29T12:22:47.000Z | 2022-03-10T03:18:18.000Z | Chapter 2/wall_time.py | indrag49/Computational-Stat-Mech | 0877f54a0245fce815f03478f4fb219fd6314951 | [
"MIT"
] | null | null | null | Chapter 2/wall_time.py | indrag49/Computational-Stat-Mech | 0877f54a0245fce815f03478f4fb219fd6314951 | [
"MIT"
] | 7 | 2018-11-30T01:56:36.000Z | 2021-12-23T15:29:56.000Z | from sympy import oo
def wall_time(pos, vel, radius): return (1.0-radius-pos)/vel if vel>0.0 else (pos-radius)/abs(vel) if vel<0.0 else float(oo)
| 49.333333 | 125 | 0.709459 | 32 | 148 | 3.25 | 0.53125 | 0.115385 | 0.153846 | 0.173077 | 0.269231 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.135135 | 148 | 2 | 126 | 74 | 0.765625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0.5 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
3c5deb62501fc581506d694af7891b5f422871dc | 22,655 | py | Python | app/utils.py | mirsazzathossain/SPMS-Project | eb2b9144b6ddb8d18c146a4c4d6f79b9f7a7eeb5 | [
"MIT"
] | null | null | null | app/utils.py | mirsazzathossain/SPMS-Project | eb2b9144b6ddb8d18c146a4c4d6f79b9f7a7eeb5 | [
"MIT"
] | null | null | null | app/utils.py | mirsazzathossain/SPMS-Project | eb2b9144b6ddb8d18c146a4c4d6f79b9f7a7eeb5 | [
"MIT"
] | null | null | null | from django.db import connection
import numpy as np
def getstudentcoursewisePLO(studentID, courseID):
with connection.cursor() as cursor:
cursor.execute('''
SELECT p.ploNum as plonum,100*(sum(e.obtainedMarks)/sum(a.totalMarks)) as plopercent
FROM app_registration_t r,
... | 35.343214 | 122 | 0.455352 | 2,317 | 22,655 | 4.294778 | 0.067328 | 0.020098 | 0.032459 | 0.032158 | 0.773792 | 0.743543 | 0.72445 | 0.705758 | 0.666566 | 0.62848 | 0 | 0.011656 | 0.462238 | 22,655 | 641 | 123 | 35.343214 | 0.805138 | 0 | 0 | 0.761194 | 0 | 0.020522 | 0.636851 | 0.025595 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024254 | false | 0 | 0.003731 | 0 | 0.052239 | 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 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3c66bd87520d7163328c7042283d619a6348309f | 45 | py | Python | pyaugmecon/__init__.py | vishalbelsare/pyaugmecon | b9b6310b66007d1be7035f50a7e2691e7669f74e | [
"MIT"
] | 5 | 2021-05-29T20:18:06.000Z | 2022-01-20T08:56:26.000Z | pyaugmecon/__init__.py | vishalbelsare/pyaugmecon | b9b6310b66007d1be7035f50a7e2691e7669f74e | [
"MIT"
] | null | null | null | pyaugmecon/__init__.py | vishalbelsare/pyaugmecon | b9b6310b66007d1be7035f50a7e2691e7669f74e | [
"MIT"
] | 3 | 2021-08-20T19:27:28.000Z | 2022-01-21T13:42:49.000Z | from pyaugmecon.pyaugmecon import PyAugmecon
| 22.5 | 44 | 0.888889 | 5 | 45 | 8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
593e1e17a425e56881cf41a7f836ee82374b8d59 | 171 | py | Python | OpenGLCffi/GLX/EXT/SGIX/dmbuffer.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLX/EXT/SGIX/dmbuffer.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/GLX/EXT/SGIX/dmbuffer.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.GLX import params
@params(api='glx', prms=['dpy', 'pbuffer', 'params', 'dmbuffer'])
def glXAssociateDMPbufferSGIX(dpy, pbuffer, params, dmbuffer):
pass
| 24.428571 | 65 | 0.730994 | 20 | 171 | 6.25 | 0.65 | 0.16 | 0.256 | 0.384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 171 | 6 | 66 | 28.5 | 0.816993 | 0 | 0 | 0 | 0 | 0 | 0.159763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3ca729505e43392eecb38753ae74fd29ff951cd7 | 1,202 | py | Python | code/functions/segment/__init__.py | a9w/Fat2_polarizes_WAVE | be39ba21245a9b532a70954a38139976a2355a7d | [
"MIT"
] | null | null | null | code/functions/segment/__init__.py | a9w/Fat2_polarizes_WAVE | be39ba21245a9b532a70954a38139976a2355a7d | [
"MIT"
] | null | null | null | code/functions/segment/__init__.py | a9w/Fat2_polarizes_WAVE | be39ba21245a9b532a70954a38139976a2355a7d | [
"MIT"
] | null | null | null | """Functions for segmenting images."""
from .interface import (
interface_endpoints_mask,
interface_endpoints_coords,
interface_shape_edge_method,
trim_interface,
refine_junction,
edge_between_neighbors,
)
from .timelapse import (
segment_epithelium_timelapse,
largest_object_mask_timela... | 24.04 | 38 | 0.742928 | 124 | 1,202 | 6.58871 | 0.314516 | 0.088127 | 0.083231 | 0.075887 | 0.895961 | 0.895961 | 0.895961 | 0.895961 | 0.895961 | 0.895961 | 0 | 0 | 0.178869 | 1,202 | 49 | 39 | 24.530612 | 0.827761 | 0.026622 | 0 | 0 | 0 | 0 | 0.345361 | 0.197595 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.065217 | 0 | 0.065217 | 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 |
3cc05d6b6890f5cd2771c0bf4e20222a059024a6 | 31 | py | Python | snippets/python/automation/beep.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/automation/beep.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | snippets/python/automation/beep.py | c6401/Snippets | a88d97005658eeda99f1a2766e3d069a64e142cb | [
"MIT"
] | null | null | null | def beep():
print('\007')
| 7.75 | 17 | 0.483871 | 4 | 31 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.258065 | 31 | 3 | 18 | 10.333333 | 0.521739 | 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 |
3ce5fd9779d7d65bfe16fb75039683fefaa02664 | 36 | py | Python | src/cryptos/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | src/cryptos/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | 4 | 2020-10-09T15:59:09.000Z | 2020-11-18T08:34:44.000Z | src/cryptos/__init__.py | villoro/airflow_tasks | 81bd892744a9bbbf6e01903649b6c3786a955a5a | [
"MIT"
] | null | null | null | from .process import update_cryptos
| 18 | 35 | 0.861111 | 5 | 36 | 6 | 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 |
a70d88641d80e3344d467bea499761a70a1897c3 | 21,155 | py | Python | tests/test_mc_cnn.py | CNES/Pandora_MCCNN | 54d4423f88d31831065ff28ccb5affb724239988 | [
"Apache-2.0"
] | 3 | 2021-07-20T09:41:56.000Z | 2021-12-13T08:29:43.000Z | tests/test_mc_cnn.py | qfardet/Pandora_MCCNN | 0bd26d78f2f4dc1d8571f2cdf47e327dc1628c9e | [
"Apache-2.0"
] | null | null | null | tests/test_mc_cnn.py | qfardet/Pandora_MCCNN | 0bd26d78f2f4dc1d8571f2cdf47e327dc1628c9e | [
"Apache-2.0"
] | 2 | 2021-07-09T15:08:05.000Z | 2022-01-20T16:27:03.000Z | #!/usr/bin/env python
# coding: utf8
#
# Copyright (c) 2021 Centre National d'Etudes Spatiales (CNES).
#
# This file is part of PANDORA_MCCNN
#
# https://github.com/CNES/Pandora_MCCNN
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the Licens... | 40.918762 | 116 | 0.597636 | 3,049 | 21,155 | 3.878649 | 0.090521 | 0.039574 | 0.056824 | 0.030441 | 0.869948 | 0.8494 | 0.83198 | 0.825216 | 0.807374 | 0.789024 | 0 | 0.042419 | 0.277901 | 21,155 | 516 | 117 | 40.998062 | 0.731736 | 0.256535 | 0 | 0.668103 | 0 | 0 | 0.037748 | 0.007612 | 0 | 0 | 0 | 0 | 0.043103 | 1 | 0.043103 | false | 0 | 0.034483 | 0 | 0.086207 | 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 |
5966d63840b7ab8028ae290541bcf4513c66c13a | 211 | py | Python | tests/conftest.py | Agilicus/copper-sdk | dfdecd4aa76bdd47661fdd4bfada7781f8eae835 | [
"MIT"
] | 4 | 2021-01-03T07:40:01.000Z | 2021-09-03T09:21:02.000Z | tests/conftest.py | Agilicus/copper-sdk | dfdecd4aa76bdd47661fdd4bfada7781f8eae835 | [
"MIT"
] | 5 | 2020-09-03T17:28:13.000Z | 2021-10-04T22:47:23.000Z | tests/conftest.py | Agilicus/copper-sdk | dfdecd4aa76bdd47661fdd4bfada7781f8eae835 | [
"MIT"
] | 4 | 2021-01-07T05:30:49.000Z | 2021-09-13T08:08:54.000Z | import pytest
from copper_sdk import COPPER_API_TOKEN, COPPER_API_EMAIL
from copper_sdk.copper import Copper
@pytest.fixture(scope='session')
def copper():
return Copper(COPPER_API_TOKEN, COPPER_API_EMAIL)
| 26.375 | 57 | 0.824645 | 32 | 211 | 5.125 | 0.40625 | 0.219512 | 0.158537 | 0.243902 | 0.341463 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104265 | 211 | 7 | 58 | 30.142857 | 0.867725 | 0 | 0 | 0 | 0 | 0 | 0.033175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
59a2b7f390bd55399c067382bffd0b88305d91cf | 3,770 | py | Python | pirates/leveleditor/worldData/CaveBTemplate.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/CaveBTemplate.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/CaveBTemplate.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 1 | 2021-02-25T06:38:17.000Z | 2021-02-25T06:38:17.000Z | # uncompyle6 version 3.2.0
# Python bytecode 2.4 (62061)
# Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
# Embedded file name: pirates.leveleditor.worldData.CaveBTemplate
from pandac.PandaModules import Point3, VBase3
objectStruct = {'Objects': {'1172185213.66sdn... | 628.333333 | 3,495 | 0.659416 | 513 | 3,770 | 4.807018 | 0.352827 | 0.017843 | 0.019465 | 0.019465 | 0.360097 | 0.301298 | 0.248175 | 0.231955 | 0.212084 | 0.202758 | 0 | 0.270348 | 0.077719 | 3,770 | 6 | 3,495 | 628.333333 | 0.438884 | 0.05809 | 0 | 0 | 0 | 0 | 0.564421 | 0.254863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
59b9ab7aa44e85318936fa3ee35b19c5aa8d531f | 824 | py | Python | qork/easy.py | flipcoder/qork | 86f10f0db2edc82786516fd30bbd9f046b1a27aa | [
"MIT"
] | 3 | 2020-03-19T06:31:32.000Z | 2021-08-24T19:19:50.000Z | qork/easy.py | flipcoder/qork | 86f10f0db2edc82786516fd30bbd9f046b1a27aa | [
"MIT"
] | null | null | null | qork/easy.py | flipcoder/qork | 86f10f0db2edc82786516fd30bbd9f046b1a27aa | [
"MIT"
] | null | null | null | #!/usr/bin/python
from collections import defaultdict
from qork.signal import Signal
from qork.reactive import *
APP = None
def qork_app(a=None):
global APP
if a is None:
return APP
APP = a
return APP
def cache(*args, **kwargs):
return APP.cache(*args, **kwargs)
def add(*args, **kwar... | 15.846154 | 52 | 0.634709 | 118 | 824 | 4.415254 | 0.288136 | 0.24952 | 0.214971 | 0.255278 | 0.122841 | 0.122841 | 0.122841 | 0 | 0 | 0 | 0 | 0 | 0.20267 | 824 | 51 | 53 | 16.156863 | 0.792998 | 0.078884 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.346154 | false | 0 | 0.115385 | 0.307692 | 0.846154 | 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 |
ab7f0aaf5c29c103ff087961487efc01b174671f | 82 | py | Python | paths_cli/__init__.py | dwhswenson/openpathsampling-cli | 9d20fb069b08ea516174607fe4464fb5f9a74b12 | [
"MIT"
] | 1 | 2020-02-11T13:31:53.000Z | 2020-02-11T13:31:53.000Z | paths_cli/__init__.py | dwhswenson/openpathsampling-cli | 9d20fb069b08ea516174607fe4464fb5f9a74b12 | [
"MIT"
] | null | null | null | paths_cli/__init__.py | dwhswenson/openpathsampling-cli | 9d20fb069b08ea516174607fe4464fb5f9a74b12 | [
"MIT"
] | null | null | null | from .cli import OpenPathSamplingCLI
from . import commands
from . import version
| 20.5 | 36 | 0.817073 | 10 | 82 | 6.7 | 0.6 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 3 | 37 | 27.333333 | 0.957143 | 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 |
ab902eebf9ec437998e96a8a77820cb0063c7fc1 | 35 | py | Python | piwebasync/websockets/__init__.py | newvicx/piwebasync | fc0d159aa4b99667777f428a090fe7a102481fea | [
"MIT"
] | null | null | null | piwebasync/websockets/__init__.py | newvicx/piwebasync | fc0d159aa4b99667777f428a090fe7a102481fea | [
"MIT"
] | 2 | 2022-03-02T17:42:21.000Z | 2022-03-29T19:24:01.000Z | piwebasync/websockets/__init__.py | newvicx/piwebasync | fc0d159aa4b99667777f428a090fe7a102481fea | [
"MIT"
] | null | null | null | from .client import WebsocketClient | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
abb9f37a6fa130250d38acc4dde44fb5a49531ff | 131 | py | Python | orb_simulator/orbsim_language/orbsim_ast/bitwise_shift_right_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 1 | 2022-01-19T22:49:09.000Z | 2022-01-19T22:49:09.000Z | orb_simulator/orbsim_language/orbsim_ast/bitwise_shift_right_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | 15 | 2021-11-10T14:25:02.000Z | 2022-02-12T19:17:11.000Z | orb_simulator/orbsim_language/orbsim_ast/bitwise_shift_right_node.py | dmguezjaviersnet/IA-Sim-Comp-Project | 8165b9546efc45f98091a3774e2dae4f45942048 | [
"MIT"
] | null | null | null | from orbsim_language.orbsim_ast.binary_expr_node import BinaryExprNode
# >>
class BitwiseShiftRightNode(BinaryExprNode):
pass
| 21.833333 | 70 | 0.832061 | 14 | 131 | 7.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 131 | 5 | 71 | 26.2 | 0.897436 | 0.015267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
abce9487f37e68f9114d032ce10077abc1f38211 | 29 | py | Python | library/source1/mdl/v44/__init__.py | anderlli0053/SourceIO | 3c0c4839939ce698439987ac52154f89ee2f5341 | [
"MIT"
] | null | null | null | library/source1/mdl/v44/__init__.py | anderlli0053/SourceIO | 3c0c4839939ce698439987ac52154f89ee2f5341 | [
"MIT"
] | null | null | null | library/source1/mdl/v44/__init__.py | anderlli0053/SourceIO | 3c0c4839939ce698439987ac52154f89ee2f5341 | [
"MIT"
] | null | null | null | from .mdl_file import MdlV44
| 14.5 | 28 | 0.827586 | 5 | 29 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 29 | 1 | 29 | 29 | 0.84 | 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 |
abd455a86a3ffc917698b585fae0d39293200f58 | 40 | py | Python | problems/DivisionTwo_Practice/solution.py | Pactionly/SpringComp2019 | f684b84375b0d1fe98f3dffac6d2fac26ba6e2f1 | [
"MIT"
] | 1 | 2020-04-21T00:42:47.000Z | 2020-04-21T00:42:47.000Z | problems/DivisionTwo_Practice/solution.py | Pactionly/SpringComp2019 | f684b84375b0d1fe98f3dffac6d2fac26ba6e2f1 | [
"MIT"
] | null | null | null | problems/DivisionTwo_Practice/solution.py | Pactionly/SpringComp2019 | f684b84375b0d1fe98f3dffac6d2fac26ba6e2f1 | [
"MIT"
] | 1 | 2020-04-23T02:09:45.000Z | 2020-04-23T02:09:45.000Z | print("Hello World from Division Two!")
| 20 | 39 | 0.75 | 6 | 40 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.857143 | 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 |
abe2175d966ffb568f2530920d141df8286c646b | 10,354 | py | Python | sjb/hack/determine_install_upgrade_version_test.py | brenton/aos-cd-jobs | 34e427bb7091c52791bc93a34f062e57dc005082 | [
"Apache-2.0"
] | 45 | 2017-05-09T15:49:06.000Z | 2021-11-07T19:48:35.000Z | sjb/hack/determine_install_upgrade_version_test.py | brenton/aos-cd-jobs | 34e427bb7091c52791bc93a34f062e57dc005082 | [
"Apache-2.0"
] | 1,313 | 2017-01-19T13:40:43.000Z | 2022-03-30T14:25:44.000Z | sjb/hack/determine_install_upgrade_version_test.py | brenton/aos-cd-jobs | 34e427bb7091c52791bc93a34f062e57dc005082 | [
"Apache-2.0"
] | 165 | 2017-01-17T22:19:04.000Z | 2022-03-02T12:15:13.000Z | import unittest
from determine_install_upgrade_version import *
class TestPackage(object):
def __init__(self, name, version, release, epoch, vra, pkgtup):
self.name = name
self.version = version
self.release = release
self.epoch = epoch
self.vra = vra
self.pkgtup = pkgtup
def __eq__(self, other):
retu... | 51.257426 | 135 | 0.758934 | 1,662 | 10,354 | 4.443442 | 0.075812 | 0.061747 | 0.008937 | 0.011374 | 0.845904 | 0.811239 | 0.768179 | 0.736899 | 0.693433 | 0.60826 | 0 | 0.050999 | 0.106143 | 10,354 | 202 | 136 | 51.257426 | 0.746948 | 0.225903 | 0 | 0.283582 | 0 | 0 | 0.191665 | 0.097615 | 0 | 0 | 0 | 0 | 0.216418 | 1 | 0.238806 | false | 0 | 0.014925 | 0.007463 | 0.320896 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
abef62196bfa039670d1b1408e40569773e9a263 | 38,079 | py | Python | instances/passenger_demand/pas-20210421-2109-int16e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210421-2109-int16e/45.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 3619
passenger_arriving = (
(4, 8, 8, 4, 6, 0, 7, 6, 4, 7, 5, 0), # 0
(8, 5, 5, 1, 0, 0, 5, 9, 6, 2, 4, 0), # 1
(4, 14, 10, 6, 1, 0, 8, 9, 5, 4, 0, 0), # 2
(8, 9, 4, 4, 3, 0, 7, 13, 8, 2, 2, 0), # 3
(1, 17, 7, 2, 0, 0, 13, 10, 1, 5, 2, 0), # 4
(4, 8, 7, 6, 3, 0, 7, 5, 6,... | 113.668657 | 214 | 0.730455 | 5,147 | 38,079 | 5.401982 | 0.22926 | 0.310747 | 0.246008 | 0.46612 | 0.326284 | 0.325565 | 0.325565 | 0.325565 | 0.325565 | 0.325565 | 0 | 0.820051 | 0.118543 | 38,079 | 334 | 215 | 114.008982 | 0.008312 | 0.031802 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.015823 | 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 |
f9fc952d1ccf29274ec0973eb4a467f04bcaa21d | 146 | py | Python | flog/user/__init__.py | mutalisk999/Flog | 5d836e26967b39faebdf2d5a2c558316bf93221b | [
"MIT"
] | 1 | 2020-08-24T03:39:52.000Z | 2020-08-24T03:39:52.000Z | flog/user/__init__.py | mutalisk999/Flog | 5d836e26967b39faebdf2d5a2c558316bf93221b | [
"MIT"
] | null | null | null | flog/user/__init__.py | mutalisk999/Flog | 5d836e26967b39faebdf2d5a2c558316bf93221b | [
"MIT"
] | null | null | null | """
MIT License
Copyright (c) 2020 Andy Zhou
"""
from flask import Blueprint
user_bp = Blueprint("user", __name__)
from . import views
| 14.6 | 38 | 0.678082 | 19 | 146 | 4.947368 | 0.789474 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.219178 | 146 | 9 | 39 | 16.222222 | 0.789474 | 0.273973 | 0 | 0 | 0 | 0 | 0.044944 | 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 |
e6583e674ba2e81a101b4e7e7b28bee80e278c5c | 35 | py | Python | swf/responses/__init__.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | 69 | 2015-02-24T00:49:40.000Z | 2022-02-05T02:35:04.000Z | swf/responses/__init__.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | 295 | 2015-02-06T11:02:00.000Z | 2022-03-21T11:01:34.000Z | swf/responses/__init__.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | 27 | 2015-08-31T22:14:42.000Z | 2022-02-08T07:25:01.000Z | from .base import Response # NOQA
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.928571 | 0.114286 | 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 |
0510b47d60ee89fe0f4905a512bdc61e7ec08cb3 | 2,805 | py | Python | ML/code/linear_model.py | DistributedML/Biscotti | dfba71b3924e1bafd2ab2545881fb741193f224e | [
"BSD-2-Clause"
] | 61 | 2019-01-13T22:07:00.000Z | 2022-02-16T16:53:13.000Z | ML/code/linear_model.py | cm20210602/Biscotti | dfba71b3924e1bafd2ab2545881fb741193f224e | [
"BSD-2-Clause"
] | null | null | null | ML/code/linear_model.py | cm20210602/Biscotti | dfba71b3924e1bafd2ab2545881fb741193f224e | [
"BSD-2-Clause"
] | 14 | 2019-05-26T15:11:39.000Z | 2022-03-02T16:10:24.000Z | from __future__ import division
import numpy as np
import utils
import pdb
lammy = 0.1
verbose = 1
maxEvals = 10000
X = 0
y = 0
iteration = 1
alpha = 1e-2
d = 0
hist_grad = 0
def init(dataset):
global X
X = utils.load_dataset(dataset)['X']
global y
y = utils.load_dataset(dataset)['y']
global d
... | 21.576923 | 62 | 0.596435 | 434 | 2,805 | 3.764977 | 0.251152 | 0.044064 | 0.017136 | 0.056304 | 0.734394 | 0.709914 | 0.709914 | 0.709914 | 0.709914 | 0.709914 | 0 | 0.021923 | 0.284492 | 2,805 | 130 | 63 | 21.576923 | 0.792227 | 0.13262 | 0 | 0.580247 | 0 | 0 | 0.042131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.049383 | null | null | 0.049383 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
057920a1e2854b49360f4c734ccb7bc39d232c72 | 98 | py | Python | lockbot/controllers/ping.py | preyneyv/iot-door-opener | dc84803e8a853dd4db2fbc8310f16381da9dfffa | [
"MIT"
] | null | null | null | lockbot/controllers/ping.py | preyneyv/iot-door-opener | dc84803e8a853dd4db2fbc8310f16381da9dfffa | [
"MIT"
] | null | null | null | lockbot/controllers/ping.py | preyneyv/iot-door-opener | dc84803e8a853dd4db2fbc8310f16381da9dfffa | [
"MIT"
] | null | null | null | from starlette.responses import PlainTextResponse
def ping(_):
return PlainTextResponse('')
| 16.333333 | 49 | 0.77551 | 9 | 98 | 8.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 5 | 50 | 19.6 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
553e3c05ff43b750f67e560612f2b93db0cef109 | 94 | py | Python | tests/test_dummy.py | rmflight/GOcats | fc7b367583a5a579a76c58a83a37fe13c69ebccc | [
"Unlicense"
] | 10 | 2017-03-31T19:12:22.000Z | 2021-09-28T01:29:38.000Z | tests/test_dummy.py | rmflight/GOcats | fc7b367583a5a579a76c58a83a37fe13c69ebccc | [
"Unlicense"
] | 8 | 2018-04-23T15:40:56.000Z | 2021-03-31T14:22:06.000Z | tests/test_dummy.py | rmflight/GOcats | fc7b367583a5a579a76c58a83a37fe13c69ebccc | [
"Unlicense"
] | 3 | 2017-04-23T14:15:41.000Z | 2021-06-20T18:38:01.000Z | import pytest
def test_run_script():
# run 1
# run 2
# assert
assert 1 == 1
| 10.444444 | 22 | 0.553191 | 14 | 94 | 3.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.361702 | 94 | 8 | 23 | 11.75 | 0.766667 | 0.191489 | 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 |
55410510df321bd146836470591e53e089a30174 | 181 | py | Python | fjlt/__init__.py | gabobert/fast-jlt | b4f1156fd355ae4dca53b2d661f4bdd5a74fb8fa | [
"MIT"
] | 8 | 2015-09-29T11:41:37.000Z | 2022-01-31T17:59:58.000Z | fjlt/__init__.py | gabobert/fast-jlt | b4f1156fd355ae4dca53b2d661f4bdd5a74fb8fa | [
"MIT"
] | 1 | 2017-07-13T11:00:35.000Z | 2017-07-14T00:42:32.000Z | fjlt/__init__.py | gabobert/fast-jlt | b4f1156fd355ae4dca53b2d661f4bdd5a74fb8fa | [
"MIT"
] | 8 | 2015-08-14T18:33:38.000Z | 2020-02-10T07:56:21.000Z | import os
from .version import __version__
def get_include():
''' Path of cython headers for compiling cython modules '''
return os.path.dirname(os.path.abspath(__file__))
| 25.857143 | 63 | 0.740331 | 25 | 181 | 5 | 0.72 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160221 | 181 | 6 | 64 | 30.166667 | 0.822368 | 0.281768 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55450421321a9d78d6344e925ca710a027620a80 | 23,700 | py | Python | tests/vcf_chunker_test.py | oxfordfun/minos | e7165f1a398b1003e82a8aa00480ef5cd65fa834 | [
"MIT"
] | 14 | 2018-01-25T15:20:42.000Z | 2022-03-25T07:57:19.000Z | tests/vcf_chunker_test.py | oxfordfun/minos | e7165f1a398b1003e82a8aa00480ef5cd65fa834 | [
"MIT"
] | 41 | 2018-01-25T15:47:13.000Z | 2021-11-04T10:30:21.000Z | tests/vcf_chunker_test.py | oxfordfun/minos | e7165f1a398b1003e82a8aa00480ef5cd65fa834 | [
"MIT"
] | 11 | 2018-01-25T15:11:32.000Z | 2021-11-04T08:59:55.000Z | import filecmp
import shutil
import os
import unittest
import cluster_vcf_records
from minos import vcf_chunker
this_dir = os.path.dirname(os.path.abspath(__file__))
data_dir = os.path.join(this_dir, "data", "vcf_chunker")
class TestVcfChunker(unittest.TestCase):
def test_total_variants_and_alleles_in_vcf_dict... | 35.585586 | 88 | 0.567511 | 2,873 | 23,700 | 4.298991 | 0.068918 | 0.11497 | 0.126306 | 0.109222 | 0.848838 | 0.829002 | 0.809732 | 0.782447 | 0.765363 | 0.738078 | 0 | 0.03759 | 0.333249 | 23,700 | 665 | 89 | 35.639098 | 0.74402 | 0.02384 | 0 | 0.573744 | 0 | 0.001621 | 0.048608 | 0.03874 | 0 | 0 | 0 | 0 | 0.171799 | 1 | 0.009724 | false | 0.011345 | 0.009724 | 0 | 0.02269 | 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 |
557abe7d3140721c2a79214e8a58388bd9de455d | 33 | py | Python | grasshopper/__init__.py | aholyoke/grasshopper | b9e11ac3aafdb6e2a61cc8a74ca67e36b690da69 | [
"BSD-3-Clause"
] | null | null | null | grasshopper/__init__.py | aholyoke/grasshopper | b9e11ac3aafdb6e2a61cc8a74ca67e36b690da69 | [
"BSD-3-Clause"
] | null | null | null | grasshopper/__init__.py | aholyoke/grasshopper | b9e11ac3aafdb6e2a61cc8a74ca67e36b690da69 | [
"BSD-3-Clause"
] | null | null | null | from .framework import Framework
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
55984b7c0e3a37ed751f5916d817fb1f0c1d3de6 | 313 | py | Python | python scripts/detect_winning_team.py | Geoffry-Skionfinschii/Datapack_SurvivalGames | 476a7da18e6b5a1eca96fcb7969b63b0c0ddc87f | [
"Apache-2.0"
] | 10 | 2020-05-30T09:08:47.000Z | 2022-01-28T07:07:56.000Z | python scripts/detect_winning_team.py | Geoffry-Skionfinschii/Datapack_SurvivalGames | 476a7da18e6b5a1eca96fcb7969b63b0c0ddc87f | [
"Apache-2.0"
] | 18 | 2020-05-31T15:16:00.000Z | 2022-03-13T13:34:17.000Z | python scripts/detect_winning_team.py | Geoffry-Skionfinschii/Datapack_SurvivalGames | 476a7da18e6b5a1eca96fcb7969b63b0c0ddc87f | [
"Apache-2.0"
] | 5 | 2020-04-17T15:07:12.000Z | 2020-12-02T01:03:45.000Z | def main():
print("# Generated by python script")
for i in range(1, 22):
print("execute as @r[team=TEAM_{0}, tag=InGame] run tag @a[team=TEAM_{0}] add Winner".format(i))
print("execute as @r[team=TEAM_{0}, tag=InGame] run scoreboard players add @a[team=TEAM_{0}] Wins 1".format(i))
main() | 44.714286 | 119 | 0.638978 | 54 | 313 | 3.62963 | 0.518519 | 0.163265 | 0.183673 | 0.153061 | 0.367347 | 0.367347 | 0.367347 | 0.367347 | 0.367347 | 0.367347 | 0 | 0.03125 | 0.182109 | 313 | 7 | 120 | 44.714286 | 0.734375 | 0 | 0 | 0 | 1 | 0.333333 | 0.627389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
559dba20f272da8e85bd02cd1799c9bf91921491 | 10,862 | py | Python | 09_road_limit/model.py | yeodongbin/2020AIChallengeCode | 776c686b65a67bc0d71eed1118eed6cf45ea17c6 | [
"MIT"
] | null | null | null | 09_road_limit/model.py | yeodongbin/2020AIChallengeCode | 776c686b65a67bc0d71eed1118eed6cf45ea17c6 | [
"MIT"
] | null | null | null | 09_road_limit/model.py | yeodongbin/2020AIChallengeCode | 776c686b65a67bc0d71eed1118eed6cf45ea17c6 | [
"MIT"
] | null | null | null | import torchvision
from torchvision.models.detection.faster_rcnn import FastRCNNPredictor
from torchvision.models.detection.mask_rcnn import MaskRCNNPredictor
from efficientnet_pytorch import EfficientNet
from torchvision.models.detection import FasterRCNN
from torchvision.models.detection import MaskRCNN
from torchv... | 45.638655 | 290 | 0.62981 | 1,254 | 10,862 | 5.208134 | 0.157895 | 0.045935 | 0.033839 | 0.047772 | 0.836166 | 0.812127 | 0.79314 | 0.784872 | 0.784872 | 0.784872 | 0 | 0.076306 | 0.288161 | 10,862 | 237 | 291 | 45.831224 | 0.768365 | 0.409593 | 0 | 0.5 | 0 | 0.053191 | 0.159317 | 0.019282 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085106 | false | 0 | 0.095745 | 0 | 0.265957 | 0.106383 | 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 |
559e2f16b9c8d8149f2ea49ac5c688b029b0d86d | 27 | py | Python | steamprofile/__init__.py | aaronlyy/steamprofile | 43002e62f4924a2a2040a240ed1362c28ad7a8f5 | [
"MIT"
] | null | null | null | steamprofile/__init__.py | aaronlyy/steamprofile | 43002e62f4924a2a2040a240ed1362c28ad7a8f5 | [
"MIT"
] | null | null | null | steamprofile/__init__.py | aaronlyy/steamprofile | 43002e62f4924a2a2040a240ed1362c28ad7a8f5 | [
"MIT"
] | null | null | null | from .steamprofile import * | 27 | 27 | 0.814815 | 3 | 27 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 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 |
e94a4e5cc42d1e471dd1294588d5acc65b8a33e1 | 12,946 | py | Python | tests/test_views.py | yezyilomo/drf-pretty-put | 1bc77f5f8fea58b2c30e4e3d7c0837b55b679d59 | [
"MIT"
] | 28 | 2019-08-27T14:27:41.000Z | 2020-02-04T18:54:18.000Z | tests/test_views.py | yezyilomo/drf-pretty-put | 1bc77f5f8fea58b2c30e4e3d7c0837b55b679d59 | [
"MIT"
] | 3 | 2019-09-04T10:06:15.000Z | 2019-09-06T10:48:42.000Z | tests/test_views.py | yezyilomo/drf-pretty-update | 1bc77f5f8fea58b2c30e4e3d7c0837b55b679d59 | [
"MIT"
] | null | null | null | from django.urls import reverse
from rest_framework.test import APITestCase
from tests.testapp.models import Book, Course, Student, Phone
class ViewTests(APITestCase):
def setUp(self):
self.book1 = Book.objects.create(title="Advanced Data Structures", author="S.Mobit")
self.book2 = Book.objects.cr... | 32.691919 | 99 | 0.400046 | 996 | 12,946 | 5.114458 | 0.111446 | 0.043973 | 0.03671 | 0.047114 | 0.851786 | 0.816647 | 0.78563 | 0.738516 | 0.719278 | 0.702199 | 0 | 0.038811 | 0.446702 | 12,946 | 396 | 100 | 32.691919 | 0.672344 | 0.007647 | 0 | 0.581267 | 0 | 0 | 0.217489 | 0 | 0 | 0 | 0 | 0 | 0.038567 | 1 | 0.044077 | false | 0 | 0.008264 | 0 | 0.055096 | 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 |
e98574d4316ffc2546acdf0d678a3e6348fee7c4 | 1,319 | py | Python | prob08/prob8.py | speyejack/EulersProblems | b13714c9bab15d8ac31ea66b4ddc5de944e4f8d9 | [
"MIT"
] | null | null | null | prob08/prob8.py | speyejack/EulersProblems | b13714c9bab15d8ac31ea66b4ddc5de944e4f8d9 | [
"MIT"
] | null | null | null | prob08/prob8.py | speyejack/EulersProblems | b13714c9bab15d8ac31ea66b4ddc5de944e4f8d9 | [
"MIT"
] | null | null | null | from operator import itemgetter
from functools import reduce
num = """73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
668966489504452445231617318564030987111217223... | 45.482759 | 132 | 0.91812 | 67 | 1,319 | 18.029851 | 0.686567 | 0.027318 | 0.013245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.790845 | 0.039424 | 1,319 | 28 | 133 | 47.107143 | 0.162589 | 0 | 0 | 0 | 0 | 0 | 0.789833 | 0.758725 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.08 | 0 | 0.08 | 0.04 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e9a259e76f8beb10a60cd94e22813838141dff75 | 37 | py | Python | setwallpaper/__init__.py | tinaxd/setwallpaper | 199787c7603d4ac7bdf0c2bdbaa09720ed53f93f | [
"MIT"
] | null | null | null | setwallpaper/__init__.py | tinaxd/setwallpaper | 199787c7603d4ac7bdf0c2bdbaa09720ed53f93f | [
"MIT"
] | 1 | 2021-07-29T10:45:29.000Z | 2021-07-29T10:45:29.000Z | setwallpaper/__init__.py | tinaxd/setwallpaper | 199787c7603d4ac7bdf0c2bdbaa09720ed53f93f | [
"MIT"
] | null | null | null | from .wallpaper import set_wallpaper
| 18.5 | 36 | 0.864865 | 5 | 37 | 6.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
75d7b71b9034ef64fd2b359b3feab75f7cb6ee30 | 943 | py | Python | Easy/Repeated String/repeatedString.py | Zealll/HackerRank | 0f03ba284a699f5f37138e866b348c616d4d101a | [
"MIT"
] | null | null | null | Easy/Repeated String/repeatedString.py | Zealll/HackerRank | 0f03ba284a699f5f37138e866b348c616d4d101a | [
"MIT"
] | null | null | null | Easy/Repeated String/repeatedString.py | Zealll/HackerRank | 0f03ba284a699f5f37138e866b348c616d4d101a | [
"MIT"
] | null | null | null | def repeatedString(s, n):
dictionary = {'a': 0}
length = n // len(s)
if 'a' not in s:
return 0
for i in s:
if i == 'a':
dictionary['a'] += 1
remaining = n - len(s) * length
total = int(dictionary['a'] * length)
if remaining > 0:
for i in range(rema... | 15.983051 | 43 | 0.415695 | 115 | 943 | 3.408696 | 0.182609 | 0.168367 | 0.05102 | 0.071429 | 0.908163 | 0.760204 | 0.760204 | 0.760204 | 0.760204 | 0.760204 | 0 | 0.018868 | 0.437964 | 943 | 59 | 44 | 15.983051 | 0.720755 | 0.510074 | 0 | 0 | 0 | 0 | 0.013514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.2 | 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 |
f93ed093ff43559433edfd036a4c4cb26d6e5443 | 24,160 | py | Python | experiments/utils/nets/cnn_factory.py | ezetl/deep-learning-techniques-thesis | 8092dfc8bbd99d9a0d148139a381363b46fe09b4 | [
"CC0-1.0"
] | null | null | null | experiments/utils/nets/cnn_factory.py | ezetl/deep-learning-techniques-thesis | 8092dfc8bbd99d9a0d148139a381363b46fe09b4 | [
"CC0-1.0"
] | null | null | null | experiments/utils/nets/cnn_factory.py | ezetl/deep-learning-techniques-thesis | 8092dfc8bbd99d9a0d148139a381363b46fe09b4 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python2.7
import caffe
from caffe import (layers as L, params as P)
from layers_wrappers import *
caffe.set_device(0)
caffe.set_mode_gpu()
class MNISTNetFactory:
@staticmethod
def standar(lmdb_path=None, batch_size=125, scale=1.0, is_train=True, learn_all=True):
"""
Creates a... | 61.319797 | 254 | 0.683733 | 3,825 | 24,160 | 4.072157 | 0.062745 | 0.064201 | 0.0547 | 0.064715 | 0.900616 | 0.888354 | 0.860683 | 0.830573 | 0.797509 | 0.793015 | 0 | 0.027645 | 0.195985 | 24,160 | 393 | 255 | 61.475827 | 0.774208 | 0.166556 | 0 | 0.564815 | 0 | 0 | 0.040963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.013889 | 0 | 0.106481 | 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 |
f95d80f6b2f10443f11498a8fbea081fb1bc38e2 | 38 | py | Python | src/affe/tests/__init__.py | eliavw/affe | 0e57d7f40cb67f9a300292e03e3f83b4b591d1e3 | [
"MIT"
] | 1 | 2020-12-02T06:16:00.000Z | 2020-12-02T06:16:00.000Z | src/affe/tests/__init__.py | eliavw/affe | 0e57d7f40cb67f9a300292e03e3f83b4b591d1e3 | [
"MIT"
] | null | null | null | src/affe/tests/__init__.py | eliavw/affe | 0e57d7f40cb67f9a300292e03e3f83b4b591d1e3 | [
"MIT"
] | null | null | null | from .resources import get_dummy_flow
| 19 | 37 | 0.868421 | 6 | 38 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 38 | 1 | 38 | 38 | 0.911765 | 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 |
f9bdd7bc3ffc492d558ea976403f626c443d40c0 | 1,840 | py | Python | tests/test_logic/test_tree/test_functions.py | cdhiraj40/wemake-python-styleguide | 7cef9be081d594c30045b7a98cae77a9be46e1aa | [
"MIT"
] | 1,931 | 2018-03-17T13:52:45.000Z | 2022-03-27T09:39:17.000Z | tests/test_logic/test_tree/test_functions.py | amansr02/wemake-python-styleguide | 681035ed21fbe28ebfb32b8807b98e8de76b64aa | [
"MIT"
] | 2,231 | 2018-03-09T21:19:05.000Z | 2022-03-31T08:35:37.000Z | tests/test_logic/test_tree/test_functions.py | amansr02/wemake-python-styleguide | 681035ed21fbe28ebfb32b8807b98e8de76b64aa | [
"MIT"
] | 492 | 2018-05-18T21:20:28.000Z | 2022-03-20T14:11:50.000Z | import pytest
from wemake_python_styleguide.logic.tree import functions
@pytest.mark.parametrize(('function_call', 'function_name'), [
# Simple builtin functions
('print("Hello world!")', 'print'),
('int("10")', 'int'),
('bool(1)', 'bool'),
('open("/tmp/file.txt", "r")', 'open'),
('str(10)', ... | 30.666667 | 76 | 0.636957 | 224 | 1,840 | 5.022321 | 0.290179 | 0.085333 | 0.101333 | 0.081778 | 0.837333 | 0.780444 | 0.725333 | 0.725333 | 0.725333 | 0.725333 | 0 | 0.013201 | 0.17663 | 1,840 | 59 | 77 | 31.186441 | 0.729373 | 0.142391 | 0 | 0.571429 | 0 | 0 | 0.286812 | 0.060179 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.047619 | false | 0 | 0.047619 | 0 | 0.095238 | 0.047619 | 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 |
f9c085c8c1b92b87c14d3482f5a9791aa3b801ae | 106 | py | Python | weld-python/weld/grizzly/core/indexes/base.py | tustvold/weld | dcbba9a45ae2a190b31badec530ea54a58437606 | [
"BSD-3-Clause"
] | 2,912 | 2017-03-16T19:32:54.000Z | 2022-03-30T09:03:11.000Z | weld-python/weld/grizzly/core/indexes/base.py | QiangHeisenberg/weld | 0926f84f6f4361e40842fcd6e00b7afdcc10a87f | [
"BSD-3-Clause"
] | 285 | 2017-03-16T18:01:00.000Z | 2021-08-12T10:58:23.000Z | weld-python/weld/grizzly/core/indexes/base.py | QiangHeisenberg/weld | 0926f84f6f4361e40842fcd6e00b7afdcc10a87f | [
"BSD-3-Clause"
] | 272 | 2017-03-17T06:28:58.000Z | 2022-02-24T04:22:02.000Z |
from abc import ABC
class Index(ABC):
"""
Base class for an index in Grizzly.
"""
pass
| 10.6 | 39 | 0.575472 | 15 | 106 | 4.066667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.330189 | 106 | 9 | 40 | 11.777778 | 0.859155 | 0.330189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
ddbbdc7b1e6e50953351ff74a0aa07962f6666af | 58 | py | Python | jd/api/__init__.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 5 | 2019-10-30T01:16:30.000Z | 2020-06-14T03:32:19.000Z | jd/api/__init__.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 2 | 2020-10-12T07:12:48.000Z | 2021-06-02T03:15:47.000Z | jd/api/__init__.py | fengjinqi/linjuanbang | 8cdc4e81df73ccd737ac547da7f2c7dca545862a | [
"MIT"
] | 3 | 2019-12-06T17:33:49.000Z | 2021-03-01T13:24:22.000Z | from jd.api.rest import *
from jd.api.base import FileItem | 29 | 32 | 0.793103 | 11 | 58 | 4.181818 | 0.636364 | 0.26087 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 58 | 2 | 32 | 29 | 0.901961 | 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 |
fb06cfeab0c901cc01b748c3466219b1ee6e39dc | 120 | py | Python | musictools/custom_exceptions.py | zfazli/zfmusicc | 7620b70699f26837b30dc4039cb997ec3c2b5cc3 | [
"MIT"
] | 49 | 2017-03-14T14:35:31.000Z | 2017-04-07T09:15:29.000Z | musictools/custom_exceptions.py | zulfazliansyah/music | 7620b70699f26837b30dc4039cb997ec3c2b5cc3 | [
"MIT"
] | 5 | 2017-09-13T02:58:01.000Z | 2021-07-12T10:23:48.000Z | musictools/custom_exceptions.py | zulfazliansyah/music | 7620b70699f26837b30dc4039cb997ec3c2b5cc3 | [
"MIT"
] | 7 | 2017-06-21T13:21:20.000Z | 2020-09-11T21:31:36.000Z | class SongNotFound(Exception):
def __init__(self, message, dErrorArg):
Exception.__init__(self, message, dErrorArg)
| 24 | 46 | 0.783333 | 13 | 120 | 6.615385 | 0.615385 | 0.186047 | 0.348837 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 4 | 47 | 30 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fb12e527ea3fb00741b7c06ae9f7e2c83dd9fa0b | 121 | py | Python | blog/views/post_view.py | ShahadatShuvo/blood_lagbe | c5edb52bf20c084425e2a89e3bddc7e5705edf30 | [
"Apache-2.0"
] | 3 | 2021-04-24T16:30:09.000Z | 2021-06-19T08:02:22.000Z | blog/views/post_view.py | ShahadatShuvo/blood_lagbe | c5edb52bf20c084425e2a89e3bddc7e5705edf30 | [
"Apache-2.0"
] | 16 | 2021-04-24T07:44:34.000Z | 2021-04-28T17:12:25.000Z | blog/views/post_view.py | ShahadatShuvo/blood_lagbe | c5edb52bf20c084425e2a89e3bddc7e5705edf30 | [
"Apache-2.0"
] | 4 | 2021-04-24T23:42:51.000Z | 2021-06-20T16:53:00.000Z | from django.shortcuts import render
def postView(request, id):
return render(request, 'blog/blog.html', context={}) | 24.2 | 56 | 0.735537 | 16 | 121 | 5.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 5 | 56 | 24.2 | 0.847619 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
fb1dcdfba92bbedd533afca86a61f62410952118 | 159 | py | Python | backend/schema.py | ReynaldoCC/arango-backend | fe7e28b7ee266ce9b50054758018cfad976bc7c3 | [
"BSD-3-Clause"
] | null | null | null | backend/schema.py | ReynaldoCC/arango-backend | fe7e28b7ee266ce9b50054758018cfad976bc7c3 | [
"BSD-3-Clause"
] | null | null | null | backend/schema.py | ReynaldoCC/arango-backend | fe7e28b7ee266ce9b50054758018cfad976bc7c3 | [
"BSD-3-Clause"
] | null | null | null | from abc import ABC
from django.db.backends.base.schema import BaseDatabaseSchemaEditor
class DatabaseSchemaEditor(BaseDatabaseSchemaEditor, ABC):
pass
| 19.875 | 67 | 0.830189 | 17 | 159 | 7.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119497 | 159 | 7 | 68 | 22.714286 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
34bb50770b6d16ee92d7df01119fd24059f26213 | 21 | py | Python | Unidad 2/packages/extra/ugly/omega.py | angelxehg/utzac-ppy | fb88bcc661518bb35c08a102a67c20d0659f71db | [
"MIT"
] | null | null | null | Unidad 2/packages/extra/ugly/omega.py | angelxehg/utzac-ppy | fb88bcc661518bb35c08a102a67c20d0659f71db | [
"MIT"
] | null | null | null | Unidad 2/packages/extra/ugly/omega.py | angelxehg/utzac-ppy | fb88bcc661518bb35c08a102a67c20d0659f71db | [
"MIT"
] | null | null | null | def funO():
pass
| 7 | 11 | 0.52381 | 3 | 21 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 21 | 2 | 12 | 10.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
55069127b3a4bb0fc89225d0f89824fe31ac92cf | 384 | py | Python | utils/__init__.py | JacobChen258/AI-Constraints-Satisfaction | 9b01cfce447e40678eb2e426413b4e2e437257f0 | [
"MIT"
] | null | null | null | utils/__init__.py | JacobChen258/AI-Constraints-Satisfaction | 9b01cfce447e40678eb2e426413b4e2e437257f0 | [
"MIT"
] | null | null | null | utils/__init__.py | JacobChen258/AI-Constraints-Satisfaction | 9b01cfce447e40678eb2e426413b4e2e437257f0 | [
"MIT"
] | null | null | null | from .directions import Direction
from .directions import direction_to_vector
from .directions import vector_to_direction
from .constants import ASSETS
from .constants import LINE_LIMIT
from .constants import TILESIZE
from .constants import TETROMINO_GRID_SIZE
from .constants import BORDER
from .utils import load_grid... | 32 | 43 | 0.854167 | 53 | 384 | 6.018868 | 0.396226 | 0.203762 | 0.297806 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117188 | 384 | 11 | 44 | 34.909091 | 0.941003 | 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 | 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 |
9b64b2a7431b2238a96db3dce1afd55264830e4e | 36 | py | Python | src/melissa/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | src/melissa/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | src/melissa/__init__.py | aleksandrgordienko/melissa-quiz | 49b165acc9aae0ad84cf751cbeb4f6a27dd5ab0f | [
"MIT"
] | null | null | null | from melissa.melissa import Melissa
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9b7c8b16f664fc8e6e0bdb34685ccbe413103c9b | 82 | py | Python | plugins/supervisor/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 3,777 | 2015-02-21T00:10:12.000Z | 2022-03-30T15:33:22.000Z | plugins/supervisor/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 749 | 2015-03-12T14:17:03.000Z | 2022-03-25T13:22:28.000Z | plugins/supervisor/__init__.py | ajenti/ajen | 177c1a67278a7763ed06eb2f773d7b409a85ec77 | [
"MIT"
] | 687 | 2015-03-21T10:42:33.000Z | 2022-03-21T23:18:12.000Z | # pyflakes: disable-all
from .api import *
from .aug import *
from .main import *
| 16.4 | 23 | 0.707317 | 12 | 82 | 4.833333 | 0.666667 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182927 | 82 | 4 | 24 | 20.5 | 0.865672 | 0.256098 | 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 |
9b8c163ee58a3767776a54eaed4e118faa56927f | 7,793 | py | Python | foundation/organisation/migrations/0001_initial.py | Mindelirium/foundation | 2d07e430915d696ca7376afea633692119c4d30e | [
"MIT"
] | null | null | null | foundation/organisation/migrations/0001_initial.py | Mindelirium/foundation | 2d07e430915d696ca7376afea633692119c4d30e | [
"MIT"
] | null | null | null | foundation/organisation/migrations/0001_initial.py | Mindelirium/foundation | 2d07e430915d696ca7376afea633692119c4d30e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Person'
db.create_table(u'organisation_person', (
... | 59.946154 | 115 | 0.603747 | 889 | 7,793 | 5.163105 | 0.086614 | 0.102832 | 0.176906 | 0.252723 | 0.820915 | 0.755991 | 0.712636 | 0.712636 | 0.694771 | 0.693464 | 0 | 0.00825 | 0.191197 | 7,793 | 130 | 116 | 59.946154 | 0.719975 | 0.035801 | 0 | 0.466019 | 0 | 0 | 0.485006 | 0.312675 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019417 | false | 0 | 0.038835 | 0 | 0.087379 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fd5aaecf58a2361f54fe46788333b514263a9988 | 39 | py | Python | torchnet/containers/models/__init__.py | a5chin/torchnet | 6895735a3def7be03b04ae330d06eaf7e6258f10 | [
"MIT"
] | null | null | null | torchnet/containers/models/__init__.py | a5chin/torchnet | 6895735a3def7be03b04ae330d06eaf7e6258f10 | [
"MIT"
] | null | null | null | torchnet/containers/models/__init__.py | a5chin/torchnet | 6895735a3def7be03b04ae330d06eaf7e6258f10 | [
"MIT"
] | null | null | null | from .classification import Classifier
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5cac31572b2496bccbfdfd8efd0fdf9ff3a7b3a | 8,700 | py | Python | backend/lib/google/cloud/grpc/datastore/v1/datastore_pb2_grpc.py | isaiah-solo/Droptalk | 578a647adceecfae9d30ca6b98fdaae7077d683f | [
"MIT"
] | null | null | null | backend/lib/google/cloud/grpc/datastore/v1/datastore_pb2_grpc.py | isaiah-solo/Droptalk | 578a647adceecfae9d30ca6b98fdaae7077d683f | [
"MIT"
] | null | null | null | backend/lib/google/cloud/grpc/datastore/v1/datastore_pb2_grpc.py | isaiah-solo/Droptalk | 578a647adceecfae9d30ca6b98fdaae7077d683f | [
"MIT"
] | null | null | null | import grpc
from grpc.framework.common import cardinality
from grpc.framework.interfaces.face import utilities as face_utilities
import google.cloud.grpc.datastore.v1.datastore_pb2 as google_dot_cloud_dot_grpc_dot_datastore_dot_v1_dot_datastore__pb2
import google.cloud.grpc.datastore.v1.datastore_pb2 as google_dot_clo... | 55.063291 | 139 | 0.811034 | 1,124 | 8,700 | 5.80605 | 0.118327 | 0.132394 | 0.07723 | 0.093779 | 0.824088 | 0.824088 | 0.824088 | 0.749617 | 0.749617 | 0.749617 | 0 | 0.013567 | 0.127356 | 8,700 | 157 | 140 | 55.414013 | 0.846022 | 0.128276 | 0 | 0.333333 | 0 | 0 | 0.080358 | 0.036101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.138889 | 0 | 0.231481 | 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 |
bd3b5192e37e67b890d6f238c4fa601930e90daa | 27,353 | py | Python | post_optimization_studies/mad_analyses/ma100MeV_L2TeV_deta2_1/Output/Histos/MadAnalysis5job_0/selection_3.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L2TeV_deta2_1/Output/Histos/MadAnalysis5job_0/selection_3.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | post_optimization_studies/mad_analyses/ma100MeV_L2TeV_deta2_1/Output/Histos/MadAnalysis5job_0/selection_3.py | sheride/axion_pheno | 7d3fc08f5ae5b17a3500eba19a2e43f87f076ce5 | [
"MIT"
] | null | null | null | def selection_3():
# Library import
import numpy
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
# Library version
matplotlib_version = matplotlib.__version__
numpy_version = numpy.__version__
# Histo binning
xBinning = numpy.lin... | 140.994845 | 1,762 | 0.754177 | 5,390 | 27,353 | 3.691651 | 0.187384 | 0.190471 | 0.280581 | 0.367876 | 0.392803 | 0.392803 | 0.390089 | 0.382652 | 0.364408 | 0.364408 | 0 | 0.523893 | 0.060505 | 27,353 | 193 | 1,763 | 141.725389 | 0.250409 | 0.046905 | 0 | 0.185841 | 0 | 0.00885 | 0.039909 | 0.007682 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00885 | false | 0 | 0.035398 | 0 | 0.044248 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1fd084450ab7989741cd1d8f31d5b1b6c83f3cdb | 43 | py | Python | altair/vegalite/v2/schema/__init__.py | hydrosquall/altair | ded897b0967a88a467828b1e2c133bd92862de23 | [
"BSD-3-Clause"
] | null | null | null | altair/vegalite/v2/schema/__init__.py | hydrosquall/altair | ded897b0967a88a467828b1e2c133bd92862de23 | [
"BSD-3-Clause"
] | null | null | null | altair/vegalite/v2/schema/__init__.py | hydrosquall/altair | ded897b0967a88a467828b1e2c133bd92862de23 | [
"BSD-3-Clause"
] | null | null | null | from .core import *
from .channels import * | 21.5 | 23 | 0.744186 | 6 | 43 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 23 | 21.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1fefd29342dc01347b09406a2334475730114bff | 133 | py | Python | scripts/npc/autogen_10308.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_10308.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/npc/autogen_10308.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # ObjectID: 1000002
# ParentID: 10308
# Character field ID when accessed: 4000032
# Object Position X: 2522
# Object Position Y: -22
| 22.166667 | 43 | 0.744361 | 18 | 133 | 5.5 | 0.888889 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.172932 | 133 | 5 | 44 | 26.6 | 0.672727 | 0.917293 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1ff0515c6eb3e9318b37eb944d57d34d627b9e8c | 3,841 | py | Python | counter_attack/cli/commands/approximation_dataset.py | samuelemarro/anti-attacks | f63829ee26e24d40aecdd2d6cc6bd7026d11a016 | [
"MIT"
] | null | null | null | counter_attack/cli/commands/approximation_dataset.py | samuelemarro/anti-attacks | f63829ee26e24d40aecdd2d6cc6bd7026d11a016 | [
"MIT"
] | null | null | null | counter_attack/cli/commands/approximation_dataset.py | samuelemarro/anti-attacks | f63829ee26e24d40aecdd2d6cc6bd7026d11a016 | [
"MIT"
] | null | null | null | import pathlib
import click
import torch
from counter_attack import defenses, rejectors, training, utils
from counter_attack.cli import definitions, options, parsing
@click.group(name='approximation-dataset')
def approximation_dataset():
pass
@approximation_dataset.command(name='preprocessor')
@options.global_o... | 41.75 | 158 | 0.829732 | 399 | 3,841 | 7.621554 | 0.14787 | 0.328839 | 0.071029 | 0.071029 | 0.722789 | 0.720816 | 0.70832 | 0.706018 | 0.706018 | 0.607037 | 0 | 0 | 0.096329 | 3,841 | 91 | 159 | 42.208791 | 0.876116 | 0.047644 | 0 | 0.530303 | 0 | 0 | 0.138606 | 0.02728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060606 | false | 0.015152 | 0.075758 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
951352401456a0ad5a4f14435c8689c5d005440b | 968 | py | Python | DQM/CSCMonitorModule/python/csc_dqm_masked_hw_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/CSCMonitorModule/python/csc_dqm_masked_hw_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/CSCMonitorModule/python/csc_dqm_masked_hw_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
#--------------------------
# Masked HW Elements
#--------------------------
CSCMaskedHW = cms.untracked.vstring(
# == Post LS1 - All ME4/2 chambers should be enabled
# == mask most or ME+4/2 chambers, except 9,10,11,12,13
#'1,4,2,1,*,*,*',
#'1,4,2,2,*,*,*',
#'1,4,2,... | 22 | 57 | 0.334711 | 168 | 968 | 1.928571 | 0.363095 | 0.209877 | 0.287037 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201701 | 0.149793 | 968 | 43 | 58 | 22.511628 | 0.191981 | 0.764463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
952ed6d84ab9007d29ee9db38bef13d4465845bd | 152 | py | Python | loop2.py | musaibnazir/MixedPy | b2911f06e2f99aba9fb5b6fa802471710196ba4b | [
"MIT"
] | null | null | null | loop2.py | musaibnazir/MixedPy | b2911f06e2f99aba9fb5b6fa802471710196ba4b | [
"MIT"
] | null | null | null | loop2.py | musaibnazir/MixedPy | b2911f06e2f99aba9fb5b6fa802471710196ba4b | [
"MIT"
] | null | null | null | num = 5
for i in range(0,num):
for j in range(0,num-i-1):
print(end=" ")
for j in range(1,i+1):
print(j," ",end="")
print()
| 19 | 30 | 0.473684 | 29 | 152 | 2.482759 | 0.37931 | 0.291667 | 0.222222 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.315789 | 152 | 7 | 31 | 21.714286 | 0.634615 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
20fa196194e51243cbdb7f40115b79715cfb9074 | 139 | py | Python | src/nitpick/style/__init__.py | jaysonsantos/nitpick | 34d24993fed4de40c029d676a434761c19029860 | [
"MIT"
] | null | null | null | src/nitpick/style/__init__.py | jaysonsantos/nitpick | 34d24993fed4de40c029d676a434761c19029860 | [
"MIT"
] | 1 | 2021-03-30T09:40:53.000Z | 2021-03-30T10:08:40.000Z | src/nitpick/style/__init__.py | jaysonsantos/nitpick | 34d24993fed4de40c029d676a434761c19029860 | [
"MIT"
] | null | null | null | """Styles parsing and merging."""
from .cache import parse_cache_option
from .core import Style
__all__ = ("Style", "parse_cache_option")
| 23.166667 | 41 | 0.755396 | 19 | 139 | 5.105263 | 0.631579 | 0.206186 | 0.329897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122302 | 139 | 5 | 42 | 27.8 | 0.795082 | 0.194245 | 0 | 0 | 0 | 0 | 0.216981 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
1f5a6c2662f454cc1ac83a1c3606a8bd4b790ead | 83 | py | Python | app/ctr/__init__.py | ihong9059/flasky | c1cd3ef83f92fae165ec8794c0a2b7de23757f3d | [
"MIT"
] | null | null | null | app/ctr/__init__.py | ihong9059/flasky | c1cd3ef83f92fae165ec8794c0a2b7de23757f3d | [
"MIT"
] | null | null | null | app/ctr/__init__.py | ihong9059/flasky | c1cd3ef83f92fae165ec8794c0a2b7de23757f3d | [
"MIT"
] | null | null | null | from flask import Blueprint
ctr = Blueprint('ctr', __name__)
from . import views
| 13.833333 | 32 | 0.746988 | 11 | 83 | 5.272727 | 0.636364 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 5 | 33 | 16.6 | 0.84058 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 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 |
2f5eec7c331b21462246f58d6ec8f2ef3293a0f4 | 42 | py | Python | src/ODM2Sensor/settings/production.py | UCHIC/ODM2Sensor | 488630f3a6535d201c652d9fbcfa1e8269253e0c | [
"BSD-3-Clause"
] | 7 | 2015-04-11T19:27:25.000Z | 2020-10-16T09:14:09.000Z | src/ODM2Sensor/settings/production.py | UCHIC/ODM2Sensor | 488630f3a6535d201c652d9fbcfa1e8269253e0c | [
"BSD-3-Clause"
] | 193 | 2015-04-13T22:30:40.000Z | 2018-06-19T19:49:05.000Z | src/ODM2Sensor/settings/production.py | UCHIC/ODM2Sensor | 488630f3a6535d201c652d9fbcfa1e8269253e0c | [
"BSD-3-Clause"
] | 5 | 2016-03-22T18:57:23.000Z | 2018-03-23T00:25:29.000Z | # TODO: write configuration for production | 42 | 42 | 0.833333 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 0.952381 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2f7dcf4c22b4d1c0c7d38301f88b9ef4e705040d | 4,294 | py | Python | python-lib/modellightgbm/dku_lightgbm.py | shippeo/dss-plugin-model-lightgbm | 9c2bf2e010775501d7ff2ffdf25d1b51c01a0187 | [
"MIT"
] | 3 | 2021-06-15T16:02:38.000Z | 2021-12-08T06:38:47.000Z | python-lib/modellightgbm/dku_lightgbm.py | shippeo/dss-plugin-model-lightgbm | 9c2bf2e010775501d7ff2ffdf25d1b51c01a0187 | [
"MIT"
] | null | null | null | python-lib/modellightgbm/dku_lightgbm.py | shippeo/dss-plugin-model-lightgbm | 9c2bf2e010775501d7ff2ffdf25d1b51c01a0187 | [
"MIT"
] | 1 | 2021-06-15T16:06:02.000Z | 2021-06-15T16:06:02.000Z | from lightgbm import LGBMClassifier, LGBMRegressor
class DkuLGBMClassifier(LGBMClassifier):
def __init__(self, boosting_type='gbdt', num_leaves=31, max_depth=-1, learning_rate=0.1, n_estimators=100,
subsample_for_bin=200000, objective=None, class_weight=None, min_split_gain=0.0, min_... | 97.590909 | 196 | 0.688402 | 557 | 4,294 | 4.901257 | 0.131059 | 0.066667 | 0.083516 | 0.024908 | 0.931868 | 0.924542 | 0.924542 | 0.924542 | 0.924542 | 0.924542 | 0 | 0.024677 | 0.226129 | 4,294 | 44 | 197 | 97.590909 | 0.79687 | 0 | 0 | 0.685714 | 0 | 0 | 0.007916 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114286 | false | 0 | 0.142857 | 0.057143 | 0.371429 | 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 |
2f7eea72e07f1252862fdc72b203bccf4d49ed00 | 6,181 | py | Python | examples/pruning_two_instances.py | laudv/veritas | ba1761cc333b08b4381afa720b24ace065a9f106 | [
"Apache-2.0"
] | 6 | 2020-10-29T10:20:48.000Z | 2022-03-31T13:39:47.000Z | examples/pruning_two_instances.py | laudv/veritas | ba1761cc333b08b4381afa720b24ace065a9f106 | [
"Apache-2.0"
] | 1 | 2021-11-25T13:15:11.000Z | 2021-12-08T09:23:24.000Z | examples/pruning_two_instances.py | laudv/veritas | ba1761cc333b08b4381afa720b24ace065a9f106 | [
"Apache-2.0"
] | null | null | null | import xgboost as xgb
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
import veritas
import veritas.xgb
# Generate a random dataset
np.random.seed(14)
N = 2000
x = np.random.randint(0, 100, size=(N, 1)).astype(float)
y = np.random.randint(0, 100, size=(N, 1)).astype(float)
... | 36.791667 | 98 | 0.668986 | 1,019 | 6,181 | 4.002944 | 0.223749 | 0.007355 | 0.027458 | 0.011768 | 0.73572 | 0.727874 | 0.727874 | 0.715126 | 0.715126 | 0.672959 | 0 | 0.056439 | 0.145769 | 6,181 | 167 | 99 | 37.011976 | 0.715909 | 0.239605 | 0 | 0.567797 | 1 | 0 | 0.083942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.050847 | 0 | 0.050847 | 0.076271 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
85cd1711c069b83c769da11d7c138d705bd98d3c | 22,554 | py | Python | Parabola/prop1_probs.py | pdcxs/ManimProjects | 550a281e430a1a1568ae1978ccfe817bedcc9ef8 | [
"WTFPL"
] | 29 | 2019-12-09T13:57:37.000Z | 2022-02-15T12:18:25.000Z | Parabola/prop1_probs.py | pdcxs/ManimProjects | 550a281e430a1a1568ae1978ccfe817bedcc9ef8 | [
"WTFPL"
] | 1 | 2019-12-22T09:15:18.000Z | 2019-12-23T02:16:43.000Z | Parabola/prop1_probs.py | pdcxs/ManimProjects | 550a281e430a1a1568ae1978ccfe817bedcc9ef8 | [
"WTFPL"
] | 4 | 2020-04-16T12:50:09.000Z | 2021-07-09T12:39:04.000Z | from manimlib.imports import *
from ManimProjects.utils.Parabola import Parabola
from ManimProjects.utils.geometry import CText
class Prob1(Parabola):
CONFIG = {
'x_min' : -5
}
def construct(self):
self.adjust_x_range()
graph = self.get_graph(color=LIGHT_BROWN)
directrix = s... | 29.027027 | 73 | 0.524652 | 2,958 | 22,554 | 3.756254 | 0.0524 | 0.069301 | 0.110881 | 0.110161 | 0.815768 | 0.767978 | 0.747727 | 0.745297 | 0.701737 | 0.694897 | 0 | 0.037219 | 0.349561 | 22,554 | 777 | 74 | 29.027027 | 0.720177 | 0 | 0 | 0.697205 | 0 | 0 | 0.007892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009317 | false | 0 | 0.004658 | 0 | 0.031056 | 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 |
c8128a8dd438ad2d493df254ee45c6a1a57355fd | 95,273 | py | Python | cottonformation/res/batch.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/batch.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/batch.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 2 | 2021-06-27T03:08:21.000Z | 2021-06-28T22:15:51.000Z | # -*- coding: utf-8 -*-
"""
This module
"""
import attr
import typing
from ..core.model import (
Property, Resource, Tag, GetAtt, TypeHint, TypeCheck,
)
from ..core.constant import AttrMeta
#--- Property declaration ---
@attr.s
class PropJobDefinitionAuthorizationConfig(Property):
"""
AWS Object Type =... | 69.84824 | 268 | 0.779581 | 9,851 | 95,273 | 7.449802 | 0.022333 | 0.097618 | 0.043168 | 0.066714 | 0.901932 | 0.901483 | 0.887461 | 0.847632 | 0.847632 | 0.847632 | 0 | 0.000302 | 0.094917 | 95,273 | 1,363 | 269 | 69.899486 | 0.850771 | 0.331217 | 0 | 0.392996 | 0 | 0 | 0.091891 | 0.058525 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001297 | false | 0 | 0.005188 | 0 | 0.254215 | 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 |
c8454b6a7b2868452100a1d7f2609db3537a2db9 | 149 | py | Python | treecompare/__init__.py | mx-pycoder/treecompare | 784676039a6961366c92d131bc5496e10140200b | [
"MIT"
] | null | null | null | treecompare/__init__.py | mx-pycoder/treecompare | 784676039a6961366c92d131bc5496e10140200b | [
"MIT"
] | null | null | null | treecompare/__init__.py | mx-pycoder/treecompare | 784676039a6961366c92d131bc5496e10140200b | [
"MIT"
] | null | null | null | # API
from ._treecompare import namecomp
from ._treecompare import treedups
from ._treecompare import treepurge
from ._treecompare import duplicate
| 21.285714 | 35 | 0.838926 | 17 | 149 | 7.117647 | 0.470588 | 0.495868 | 0.694215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 149 | 6 | 36 | 24.833333 | 0.930769 | 0.020134 | 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 |
c0b39ad9484f5f8d4a92121a2e472c16c9f3a7e6 | 49 | py | Python | raspberrypi/python/python1_test.py | dambergn/programing-examples | d1086047caa52c7cc6d2e7877cbbbebd2a1cbee0 | [
"MIT"
] | null | null | null | raspberrypi/python/python1_test.py | dambergn/programing-examples | d1086047caa52c7cc6d2e7877cbbbebd2a1cbee0 | [
"MIT"
] | null | null | null | raspberrypi/python/python1_test.py | dambergn/programing-examples | d1086047caa52c7cc6d2e7877cbbbebd2a1cbee0 | [
"MIT"
] | null | null | null | #!/usr/bin/python
print 'Python1 Test Sucessfull' | 24.5 | 31 | 0.77551 | 7 | 49 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.081633 | 49 | 2 | 31 | 24.5 | 0.822222 | 0.326531 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
c0b4119e86cb14bc5067185a43c030a53cc5f2a5 | 26 | py | Python | Python/pyworkout/modules_and_packages/menu/__init__.py | honchardev/Fun | ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc | [
"MIT"
] | null | null | null | Python/pyworkout/modules_and_packages/menu/__init__.py | honchardev/Fun | ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc | [
"MIT"
] | 3 | 2020-03-24T16:26:35.000Z | 2020-04-15T19:40:41.000Z | Python/pyworkout/modules_and_packages/menu/__init__.py | honchardev/Fun | ca7c0076e9bb3017c5d7e89aa7d5bd54a83c8ecc | [
"MIT"
] | null | null | null | from menu.menu import menu | 26 | 26 | 0.846154 | 5 | 26 | 4.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c0c3a69cdf407b5a520a7aaf6817c943a7e8ec5f | 120 | py | Python | tensortrade/base/__init__.py | bwcknr/tensortrade | 376f5e4cc4ad7df271774088884fbe88f8feb7d8 | [
"Apache-2.0"
] | 34 | 2020-06-05T22:39:53.000Z | 2022-01-09T03:09:12.000Z | tensortrade/base/__init__.py | bwcknr/tensortrade | 376f5e4cc4ad7df271774088884fbe88f8feb7d8 | [
"Apache-2.0"
] | 4 | 2020-11-13T18:48:52.000Z | 2022-02-10T01:29:47.000Z | tensortrade/base/__init__.py | bwcknr/tensortrade | 376f5e4cc4ad7df271774088884fbe88f8feb7d8 | [
"Apache-2.0"
] | 8 | 2020-06-01T12:09:53.000Z | 2022-01-18T14:45:29.000Z | from .clock import Clock
from .component import *
from .context import *
from .core import *
from .exceptions import *
| 17.142857 | 25 | 0.75 | 16 | 120 | 5.625 | 0.4375 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 120 | 6 | 26 | 20 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8d0cdb46fef6be7ec32f19ff100a24890613d302 | 4,205 | py | Python | tests/test_htmlreflector.py | christabor/codeReflector | 21c38ebaa6a418402b9bf97cc1d1a140b10d38e6 | [
"Apache-2.0"
] | 3 | 2015-07-12T04:41:36.000Z | 2015-09-18T02:28:35.000Z | tests/test_htmlreflector.py | christabor/codeReflector | 21c38ebaa6a418402b9bf97cc1d1a140b10d38e6 | [
"Apache-2.0"
] | null | null | null | tests/test_htmlreflector.py | christabor/codeReflector | 21c38ebaa6a418402b9bf97cc1d1a140b10d38e6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
__author__ = """Chris Tabor (dxdstudio@gmail.com)"""
import unittest
from code_reflector import html_reflector
class SelectorOutputTestCase(unittest.TestCase):
def setUp(self):
self.ref = html_reflector.HTMLReflector()
def test_single_class(self):
res = self.ref.pro... | 39.669811 | 79 | 0.597146 | 520 | 4,205 | 4.621154 | 0.103846 | 0.046608 | 0.068664 | 0.087391 | 0.862672 | 0.862672 | 0.862672 | 0.862672 | 0.80774 | 0.782355 | 0 | 0.00031 | 0.231867 | 4,205 | 105 | 80 | 40.047619 | 0.743653 | 0.004994 | 0 | 0.511905 | 0 | 0 | 0.226208 | 0.042324 | 0 | 0 | 0 | 0 | 0.178571 | 1 | 0.190476 | false | 0 | 0.02381 | 0 | 0.22619 | 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 |
23e314e87d1ce2b38f17668f757e05eb0bc939b5 | 529 | py | Python | running_modes/enums/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 26 | 2021-04-30T23:21:17.000Z | 2022-03-10T06:33:11.000Z | running_modes/enums/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 6 | 2021-10-03T08:35:48.000Z | 2022-03-24T09:57:39.000Z | running_modes/enums/__init__.py | marco-foscato/Lib-INVENT | fe6a65ab7165abd87b25752a6b4208c8703d11f7 | [
"Apache-2.0"
] | 10 | 2021-04-28T14:08:17.000Z | 2022-03-04T04:18:13.000Z | from running_modes.enums.diversity_filter_enum import DiversityFilterEnum
from running_modes.enums.learning_strategy_enum import LearningStrategyEnum
from running_modes.enums.logging_mode_enum import LoggingModeEnum
from running_modes.enums.running_mode_enum import RunningModeEnum
from running_modes.enums.generative_mo... | 58.777778 | 89 | 0.918715 | 63 | 529 | 7.380952 | 0.380952 | 0.165591 | 0.24086 | 0.316129 | 0.154839 | 0.154839 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05482 | 529 | 8 | 90 | 66.125 | 0.93 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
23fa09c32208a388fee77f1efd42018f79e4deb4 | 9,971 | py | Python | wechat.py | TANG617/2021-C-Homework | 2056ae75c927ad1b5f96ef9c60e5f81af5910213 | [
"MIT"
] | null | null | null | wechat.py | TANG617/2021-C-Homework | 2056ae75c927ad1b5f96ef9c60e5f81af5910213 | [
"MIT"
] | null | null | null | wechat.py | TANG617/2021-C-Homework | 2056ae75c927ad1b5f96ef9c60e5f81af5910213 | [
"MIT"
] | null | null | null | data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAEYANIDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEA... | 2,492.75 | 9,907 | 0.978237 | 210 | 9,971 | 46.442857 | 0.990476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146368 | 0.000301 | 9,971 | 4 | 9,908 | 2,492.75 | 0.832063 | 0 | 0 | 0 | 0 | 0 | 0.002708 | 0.002708 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f1d4a924e8a5953f6e4d0b1a281f439de7754890 | 106 | py | Python | netpbmfile/__init__.py | cgohlke/netpbmfile | 4c84636d5535c44aa2e91fbc315b9a5282ecdf20 | [
"BSD-3-Clause"
] | 4 | 2020-02-23T20:18:01.000Z | 2022-03-05T09:47:55.000Z | netpbmfile/__init__.py | cgohlke/netpbmfile | 4c84636d5535c44aa2e91fbc315b9a5282ecdf20 | [
"BSD-3-Clause"
] | null | null | null | netpbmfile/__init__.py | cgohlke/netpbmfile | 4c84636d5535c44aa2e91fbc315b9a5282ecdf20 | [
"BSD-3-Clause"
] | null | null | null | # netpbmfile/__init__.py
from .netpbmfile import __doc__, __all__, __version__
from .netpbmfile import *
| 21.2 | 53 | 0.801887 | 12 | 106 | 5.75 | 0.666667 | 0.405797 | 0.57971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 106 | 4 | 54 | 26.5 | 0.741935 | 0.207547 | 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 |
f1e01161020bd19cd408163fd68e8137d22d090d | 121 | py | Python | ezotv/cache_tools/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | ezotv/cache_tools/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | 7 | 2020-01-23T00:50:39.000Z | 2020-04-18T20:34:40.000Z | ezotv/cache_tools/__init__.py | marcsello/ezotv-frontend | 405c440a567e8a0f1577f10d45385f3171398afe | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python3
from .redis_client import redis_client
from .cached_base_http_session import CachedBaseHttpSession | 40.333333 | 59 | 0.867769 | 17 | 121 | 5.882353 | 0.764706 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.07438 | 121 | 3 | 59 | 40.333333 | 0.883929 | 0.173554 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.