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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1bb9e0d28aa0ea3dc952accd79a70d74690222fd | 44 | py | Python | facilities/serializers/__init__.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 19 | 2015-04-16T09:37:08.000Z | 2022-02-10T11:50:30.000Z | facilities/serializers/__init__.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 125 | 2015-03-26T14:05:49.000Z | 2020-05-14T08:16:50.000Z | facilities/serializers/__init__.py | Jenks18/mfl_api | ecbb8954053be06bbcac7e1132811d73534c78d9 | [
"MIT"
] | 39 | 2015-04-15T09:17:33.000Z | 2022-03-28T18:08:16.000Z | from .facility_serializers import * # noqa
| 22 | 43 | 0.772727 | 5 | 44 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 1 | 44 | 44 | 0.891892 | 0.090909 | 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 |
9468a84ae42d928ec5c1b3fbd116ee6be8c3600e | 74 | py | Python | shorttext/stack/__init__.py | vishalbelsare/PyShortTextCategorization | 4fa46a148a3eeb923885a7d70c789e988554f758 | [
"MIT"
] | 481 | 2016-10-07T16:48:40.000Z | 2022-03-16T12:44:12.000Z | shorttext/stack/__init__.py | vishalbelsare/PyShortTextCategorization | 4fa46a148a3eeb923885a7d70c789e988554f758 | [
"MIT"
] | 56 | 2017-02-02T17:50:14.000Z | 2021-12-15T05:14:28.000Z | shorttext/stack/__init__.py | vishalbelsare/PyShortTextCategorization | 4fa46a148a3eeb923885a7d70c789e988554f758 | [
"MIT"
] | 70 | 2017-01-28T15:20:46.000Z | 2021-09-30T15:08:41.000Z | from .stacking import StackedGeneralization, LogisticStackedGeneralization | 74 | 74 | 0.918919 | 5 | 74 | 13.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 74 | 1 | 74 | 74 | 0.971429 | 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 |
94861777f2ef2c49ca7b26affc5484c87ef1b1b8 | 66,540 | py | Python | acv_explainers/acv_tree.py | cyrlemaire/acv00 | 54af7b1f53c81651f7925d1fa604905949f8fb9a | [
"MIT"
] | 63 | 2021-03-25T11:52:23.000Z | 2022-03-31T09:10:53.000Z | acv_explainers/acv_tree.py | icml2022consistentexpl/ConsistentExplanationsICML | dcb090a2c03f97b4f71f8e87cbedda9a4103157c | [
"MIT"
] | 2 | 2021-03-27T13:22:29.000Z | 2021-06-11T11:27:49.000Z | acv_explainers/acv_tree.py | icml2022consistentexpl/ConsistentExplanationsICML | dcb090a2c03f97b4f71f8e87cbedda9a4103157c | [
"MIT"
] | 5 | 2021-11-08T11:39:45.000Z | 2021-12-19T13:32:35.000Z | from .base_tree import *
from .py_acv import *
from .utils_exp import *
from .utils_sdp import *
import numpy as np
import cyext_acv, cyext_acv_nopa, cyext_acv_cache
from acv_explainers.utils import extend_partition
from sklearn.utils.validation import check_array, column_or_1d, check_consistent_length
class ACVTree(B... | 60.822669 | 139 | 0.551458 | 8,386 | 66,540 | 4.155259 | 0.037563 | 0.01521 | 0.022097 | 0.035815 | 0.949463 | 0.932905 | 0.922028 | 0.909947 | 0.901366 | 0.894938 | 0 | 0.010295 | 0.354794 | 66,540 | 1,093 | 140 | 60.878317 | 0.80136 | 0.19994 | 0 | 0.680412 | 0 | 0 | 0.023548 | 0.023548 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153166 | false | 0 | 0.061856 | 0.044183 | 0.391753 | 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 |
84d0f750f75e7b7ada98affd6857838b73eb6ed7 | 24 | py | Python | Python/Delay/__init__.py | apohl79/AudioTK | 05ac241b0bc6a8f841d93257b4d81e5961b1f627 | [
"BSD-3-Clause"
] | 10 | 2018-05-17T15:29:05.000Z | 2021-12-19T22:26:08.000Z | Python/Delay/__init__.py | apohl79/AudioTK | 05ac241b0bc6a8f841d93257b4d81e5961b1f627 | [
"BSD-3-Clause"
] | null | null | null | Python/Delay/__init__.py | apohl79/AudioTK | 05ac241b0bc6a8f841d93257b4d81e5961b1f627 | [
"BSD-3-Clause"
] | 2 | 2020-04-21T13:43:57.000Z | 2020-04-28T19:10:14.000Z |
from .Delay import *
| 8 | 21 | 0.625 | 3 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 24 | 2 | 22 | 12 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
045fe995ddbbbfcc49874c35a021f77475dd5fd2 | 28,554 | py | Python | Part1_Classification_VectorSpaces/w2_unittest.py | picsag/NLP | 7fe8ec5cf9636fbbe1d5dd077455f4db62800ec9 | [
"MIT"
] | null | null | null | Part1_Classification_VectorSpaces/w2_unittest.py | picsag/NLP | 7fe8ec5cf9636fbbe1d5dd077455f4db62800ec9 | [
"MIT"
] | null | null | null | Part1_Classification_VectorSpaces/w2_unittest.py | picsag/NLP | 7fe8ec5cf9636fbbe1d5dd077455f4db62800ec9 | [
"MIT"
] | null | null | null | from utils import process_tweet, lookup
import numpy as np
import pandas as pd
import pickle
def test_count_tweets(target):
successful_cases = 0
failed_cases = []
test_cases = [
{
"name": "default_check",
"input": {
"result": {},
"tweets": [
... | 36.05303 | 157 | 0.434405 | 2,604 | 28,554 | 4.626728 | 0.100998 | 0.067563 | 0.033865 | 0.042331 | 0.85757 | 0.841467 | 0.831258 | 0.769837 | 0.762782 | 0.757553 | 0 | 0.075905 | 0.40989 | 28,554 | 791 | 158 | 36.098609 | 0.638754 | 0 | 0 | 0.609459 | 0 | 0.024324 | 0.274813 | 0.075156 | 0 | 0 | 0 | 0 | 0.025676 | 1 | 0.009459 | false | 0.02027 | 0.005405 | 0 | 0.014865 | 0.058108 | 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 |
04bf67cbd52d23b543bcf7ff211807e96dd1f386 | 4,601 | py | Python | test/queues/MessageQueueFixture.py | pip-services3-python/pip-services3-kafka-python | 8c6df619af56c033de68b518004c93e45a335517 | [
"MIT"
] | null | null | null | test/queues/MessageQueueFixture.py | pip-services3-python/pip-services3-kafka-python | 8c6df619af56c033de68b518004c93e45a335517 | [
"MIT"
] | null | null | null | test/queues/MessageQueueFixture.py | pip-services3-python/pip-services3-kafka-python | 8c6df619af56c033de68b518004c93e45a335517 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import time
from pip_services3_messaging.queues import MessageEnvelope, IMessageQueue
from pip_services3_messaging.test.TestMessageReceiver import TestMessageReceiver
class MessageQueueFixture:
_queue: IMessageQueue
def __init__(self, queue: IMessageQueue):
self._queue = queu... | 37.713115 | 85 | 0.685503 | 530 | 4,601 | 5.760377 | 0.137736 | 0.12283 | 0.115296 | 0.089093 | 0.749427 | 0.736325 | 0.736325 | 0.736325 | 0.718965 | 0.718965 | 0 | 0.044635 | 0.21604 | 4,601 | 121 | 86 | 38.024793 | 0.801774 | 0.015431 | 0 | 0.604651 | 0 | 0 | 0.047061 | 0 | 0 | 0 | 0 | 0 | 0.406977 | 1 | 0.104651 | false | 0 | 0.034884 | 0 | 0.162791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
04c0dfee375fa10451792eb5dc0b3eb7e94a2830 | 54 | py | Python | xuperchain/__init__.py | xuperchain/contract-sdk-py | 190c1f80d055ea29c3cb16e4eeea46845e06cd88 | [
"Apache-2.0"
] | null | null | null | xuperchain/__init__.py | xuperchain/contract-sdk-py | 190c1f80d055ea29c3cb16e4eeea46845e06cd88 | [
"Apache-2.0"
] | null | null | null | xuperchain/__init__.py | xuperchain/contract-sdk-py | 190c1f80d055ea29c3cb16e4eeea46845e06cd88 | [
"Apache-2.0"
] | 1 | 2021-04-02T03:50:57.000Z | 2021-04-02T03:50:57.000Z | from xuperchain.contract_method import contract_method | 54 | 54 | 0.925926 | 7 | 54 | 6.857143 | 0.714286 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 54 | 1 | 54 | 54 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
04e4d7392f0e9ff13acc1b220a62aa032cdd5764 | 47 | py | Python | acmicpc/1964.py | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/1964.py | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/1964.py | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | n = int(input())
print((n*(n*3+5)//2+1)%45678)
| 15.666667 | 29 | 0.531915 | 11 | 47 | 2.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 0.085106 | 47 | 2 | 30 | 23.5 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
04ee6dcefa8fb74fcee4d197384345c413c45dee | 39 | py | Python | test.py | acpirience/pymodule-template | c9e5abffeb79983c0ed0a068d598e2c02f855aab | [
"MIT"
] | null | null | null | test.py | acpirience/pymodule-template | c9e5abffeb79983c0ed0a068d598e2c02f855aab | [
"MIT"
] | null | null | null | test.py | acpirience/pymodule-template | c9e5abffeb79983c0ed0a068d598e2c02f855aab | [
"MIT"
] | null | null | null | """ test file """
def main():
pass | 9.75 | 17 | 0.487179 | 5 | 39 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282051 | 39 | 4 | 18 | 9.75 | 0.678571 | 0.230769 | 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 |
b6f1a84f10da9bcc863fd595c7bd08e8da7af8bf | 6,978 | py | Python | multiobject/placement.py | GpNico/MultiObjectDatasetCreator | bfe505e06c66a88da7bbe1530b9300ca47028200 | [
"MIT"
] | null | null | null | multiobject/placement.py | GpNico/MultiObjectDatasetCreator | bfe505e06c66a88da7bbe1530b9300ca47028200 | [
"MIT"
] | null | null | null | multiobject/placement.py | GpNico/MultiObjectDatasetCreator | bfe505e06c66a88da7bbe1530b9300ca47028200 | [
"MIT"
] | null | null | null | """
Store multiple functions that dictate the placements of
objects in the picture that are to be called by base.py
"""
import numpy as np
from utils.utilitary_functions import collide
"""
TWO OBJECTS
"""
thresh_force = 2
def random(**kwargs):
r_1, c_1, obj_size_1, obj_size_2, x_shape = kwargs['r_1'], kwargs['c... | 29.196653 | 139 | 0.592863 | 1,289 | 6,978 | 2.87277 | 0.06827 | 0.132325 | 0.090737 | 0.058331 | 0.876857 | 0.851742 | 0.848771 | 0.848771 | 0.825007 | 0.825007 | 0 | 0.075208 | 0.241617 | 6,978 | 239 | 140 | 29.196653 | 0.624528 | 0.034967 | 0 | 0.658915 | 0 | 0 | 0.07809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085271 | false | 0 | 0.015504 | 0 | 0.186047 | 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 |
b6f58935c56c57b74c65d2b49c40f0aad05ed5b3 | 172 | py | Python | daisyclient/common/exceptions.py | OpenDaisy/daisy-client | f1375cd4dc2f268433c87f6add043cbe003f3bec | [
"Apache-2.0"
] | 1 | 2015-12-22T09:10:31.000Z | 2015-12-22T09:10:31.000Z | daisyclient/common/exceptions.py | OpenDaisy/daisy-client | f1375cd4dc2f268433c87f6add043cbe003f3bec | [
"Apache-2.0"
] | null | null | null | daisyclient/common/exceptions.py | OpenDaisy/daisy-client | f1375cd4dc2f268433c87f6add043cbe003f3bec | [
"Apache-2.0"
] | null | null | null | # This is here for compatibility purposes. Once all known OpenStack clients
# are updated to use daisyclient.exc, this file should be removed
from daisyclient.exc import *
| 43 | 75 | 0.802326 | 26 | 172 | 5.307692 | 0.884615 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156977 | 172 | 3 | 76 | 57.333333 | 0.951724 | 0.796512 | 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 |
8e0701dbf2d1cd91a7d07e7b6aa1c22019a588ce | 1,289 | py | Python | zamba/tests/test_cnnensemble.py | qyj0731/data_work | ba303ce696ae5fefe05d05654fcf65682448e42f | [
"MIT"
] | null | null | null | zamba/tests/test_cnnensemble.py | qyj0731/data_work | ba303ce696ae5fefe05d05654fcf65682448e42f | [
"MIT"
] | null | null | null | zamba/tests/test_cnnensemble.py | qyj0731/data_work | ba303ce696ae5fefe05d05654fcf65682448e42f | [
"MIT"
] | null | null | null | import pytest
from zamba.models.cnnensemble.src import config
from zamba.models.manager import ModelManager
@pytest.mark.skip(reason="This test takes hours to run, makes network calls, and is really for local dev only.")
def test_predict():
data_dir = config.MODEL_DIR / "input" / "raw_test"
manager = ModelM... | 40.28125 | 118 | 0.716059 | 178 | 1,289 | 5.022472 | 0.308989 | 0.03132 | 0.06264 | 0.067114 | 0.805369 | 0.760626 | 0.760626 | 0.760626 | 0.760626 | 0.723714 | 0 | 0 | 0.166796 | 1,289 | 31 | 119 | 41.580645 | 0.832402 | 0 | 0 | 0.380952 | 0 | 0 | 0.269201 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 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 |
8e1c0449c1b3dc6f4758cb36c594fb50a423e8df | 87 | py | Python | py2store/trans.py | i2mint/py2store | 1b8ccb21cdff6ffb269460eebbe813cc471be748 | [
"MIT"
] | 10 | 2019-03-04T15:02:15.000Z | 2020-09-16T11:57:30.000Z | py2store/trans.py | i2mint/py2store | 1b8ccb21cdff6ffb269460eebbe813cc471be748 | [
"MIT"
] | 60 | 2019-08-08T14:38:56.000Z | 2021-04-08T15:19:11.000Z | py2store/trans.py | i2mint/py2store | 1b8ccb21cdff6ffb269460eebbe813cc471be748 | [
"MIT"
] | 10 | 2019-08-08T03:15:35.000Z | 2020-06-18T16:19:18.000Z | """Forwards to dol.trans:
Transformation/wrapping tools
"""
from dol.trans import *
| 10.875 | 29 | 0.724138 | 11 | 87 | 5.727273 | 0.818182 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 7 | 30 | 12.428571 | 0.851351 | 0.609195 | 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 |
f3e9aca7c871e3dd72c29eb393abe1bc71409f59 | 16 | py | Python | helper.py | ivokosir/icy-hall | 3f558b3805a8dd0c2f878939e8d94532f0050bf8 | [
"MIT"
] | null | null | null | helper.py | ivokosir/icy-hall | 3f558b3805a8dd0c2f878939e8d94532f0050bf8 | [
"MIT"
] | null | null | null | helper.py | ivokosir/icy-hall | 3f558b3805a8dd0c2f878939e8d94532f0050bf8 | [
"MIT"
] | null | null | null | from r import R
| 8 | 15 | 0.75 | 4 | 16 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 16 | 1 | 16 | 16 | 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 |
f3e9aec4d129afd5b869973d7e601793c7aee4a8 | 75 | py | Python | tests/feature_counter/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 11 | 2022-01-30T14:36:13.000Z | 2022-03-22T09:40:57.000Z | tests/feature_counter/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 2 | 2022-03-23T07:56:49.000Z | 2022-03-24T12:01:42.000Z | tests/feature_counter/__init__.py | jharrymoore/Icolos | c60cc00c34208ab7011d41d52a74651763673e7a | [
"Apache-2.0"
] | 8 | 2022-01-28T10:32:31.000Z | 2022-03-22T09:40:59.000Z | from tests.feature_counter.test_feature_counter import Test_FeatureCounter
| 37.5 | 74 | 0.92 | 10 | 75 | 6.5 | 0.7 | 0.430769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 75 | 1 | 75 | 75 | 0.915493 | 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 |
ed8e962fae54cfabb4e0f62d2188cb3dccc48c81 | 260 | py | Python | cblib/scripts/filters/cones.py | HFriberg/cblib-base | 164a00eb73ef3ac61f5b54f30492209cc69b854b | [
"Zlib"
] | 3 | 2019-06-13T06:57:31.000Z | 2020-06-18T09:58:11.000Z | cblib/scripts/filters/cones.py | HFriberg/cblib-base | 164a00eb73ef3ac61f5b54f30492209cc69b854b | [
"Zlib"
] | 1 | 2019-04-27T18:28:57.000Z | 2019-04-30T17:16:53.000Z | cblib/scripts/filters/cones.py | HFriberg/cblib-base | 164a00eb73ef3ac61f5b54f30492209cc69b854b | [
"Zlib"
] | 3 | 2019-04-30T11:19:34.000Z | 2019-05-31T13:12:17.000Z | import varcones
import mapcones
def keyquery(cnam=None, cdim=None):
return( varcones.keyquery(cnam,cdim) | mapcones.keyquery(cnam,cdim) )
def getval(prob, cnam=None, cdim=None):
return( varcones.getval(prob,cnam,cdim) + mapcones.getval(prob,cnam,cdim) )
| 28.888889 | 77 | 0.753846 | 37 | 260 | 5.297297 | 0.297297 | 0.163265 | 0.214286 | 0.163265 | 0.306122 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103846 | 260 | 8 | 78 | 32.5 | 0.841202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 0.666667 | 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 | 1 | 1 | 0 | 0 | 0 | 6 |
610806d7d0d4ac35ae6fa11be91b75c4b45ed861 | 3,345 | py | Python | test/pytest/test_integrate.py | purusharths/NumCpp | 269b0ff1341b06480c9679285cb6c6c6843df06b | [
"MIT"
] | 2,358 | 2018-09-05T03:43:23.000Z | 2022-03-31T09:02:56.000Z | test/pytest/test_integrate.py | BADBADBADBOY/NumCpp | 269b0ff1341b06480c9679285cb6c6c6843df06b | [
"MIT"
] | 134 | 2018-11-07T09:45:33.000Z | 2022-03-29T17:23:01.000Z | test/pytest/test_integrate.py | BADBADBADBOY/NumCpp | 269b0ff1341b06480c9679285cb6c6c6843df06b | [
"MIT"
] | 370 | 2018-09-05T08:38:04.000Z | 2022-03-28T09:24:46.000Z | import numpy as np
import os
import sys
sys.path.append(os.path.abspath(r'../lib'))
import NumCppPy as NumCpp # noqa E402
####################################################################################
NUM_DECIMALS_ROUND = 1
####################################################################################
... | 42.884615 | 91 | 0.591928 | 368 | 3,345 | 5.293478 | 0.192935 | 0.053388 | 0.073922 | 0.061602 | 0.810575 | 0.810575 | 0.798768 | 0.798768 | 0.798768 | 0.779261 | 0 | 0.026169 | 0.143199 | 3,345 | 77 | 92 | 43.441558 | 0.653524 | 0.02003 | 0 | 0.672414 | 0 | 0 | 0.002165 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 1 | 0.086207 | false | 0 | 0.068966 | 0 | 0.155172 | 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 |
61128590292dc15d263a4b3d52bab7bb23ab34bc | 27 | py | Python | btypes/__init__.py | kenseehart/btypes | 8270ce5efcff1d93a848a31c682edabd33867f04 | [
"MIT"
] | null | null | null | btypes/__init__.py | kenseehart/btypes | 8270ce5efcff1d93a848a31c682edabd33867f04 | [
"MIT"
] | 7 | 2020-05-02T02:25:57.000Z | 2020-05-05T21:27:56.000Z | btypes/__init__.py | kenseehart/btypes | 8270ce5efcff1d93a848a31c682edabd33867f04 | [
"MIT"
] | null | null | null |
from btypes.core import *
| 9 | 25 | 0.740741 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 2 | 26 | 13.5 | 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 |
b63047fa7cbd9cfa018d9358c21fdaf8f416e0f5 | 18,688 | py | Python | pirates/leveleditor/worldData/interior_mansion.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | 3 | 2021-02-25T06:38:13.000Z | 2022-03-22T07:00:15.000Z | pirates/leveleditor/worldData/interior_mansion.py | itsyaboyrocket/pirates | 6ca1e7d571c670b0d976f65e608235707b5737e3 | [
"BSD-3-Clause"
] | null | null | null | pirates/leveleditor/worldData/interior_mansion.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.interior_mansion
from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Objects': {'1... | 2,669.714286 | 18,243 | 0.662885 | 2,490 | 18,688 | 4.917269 | 0.182329 | 0.021725 | 0.022297 | 0.025155 | 0.534139 | 0.488974 | 0.470026 | 0.437439 | 0.372264 | 0.340493 | 0 | 0.251715 | 0.07165 | 18,688 | 7 | 18,244 | 2,669.714286 | 0.454032 | 0.011879 | 0 | 0 | 0 | 0 | 0.568898 | 0.293305 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
b66036f602a388e73b14d41641aec8a7752cc219 | 68 | py | Python | zeta/parser/__init__.py | mczwier/zeta | f368db3bb82e134c35bc26e17a3f5844d5e5ee92 | [
"MIT"
] | null | null | null | zeta/parser/__init__.py | mczwier/zeta | f368db3bb82e134c35bc26e17a3f5844d5e5ee92 | [
"MIT"
] | null | null | null | zeta/parser/__init__.py | mczwier/zeta | f368db3bb82e134c35bc26e17a3f5844d5e5ee92 | [
"MIT"
] | null | null | null |
class ParseError(RuntimeError):
pass
from . import textparser
| 11.333333 | 31 | 0.75 | 7 | 68 | 7.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 68 | 5 | 32 | 13.6 | 0.927273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
b664ef44a9b730b3528fe8d4a6bfa7bc5382f7dd | 13,599 | py | Python | modules/GCN_ori/nms.py | onomcanbot/VPS_GCN | a999cdffffd80f0292dbc0c5b2c7fbc24a62ac12 | [
"MIT"
] | null | null | null | modules/GCN_ori/nms.py | onomcanbot/VPS_GCN | a999cdffffd80f0292dbc0c5b2c7fbc24a62ac12 | [
"MIT"
] | null | null | null | modules/GCN_ori/nms.py | onomcanbot/VPS_GCN | a999cdffffd80f0292dbc0c5b2c7fbc24a62ac12 | [
"MIT"
] | null | null | null | import time
import cv2
import numpy as np
from shapely.geometry import Polygon
def boxes_3d_to_corners(boxes_3d):
all_corners = []
for box_3d in boxes_3d:
x3d, y3d, z3d, l, h, w, yaw = box_3d
R = np.array([[np.cos(yaw), 0, np.sin(yaw)],
[0, 1, 0 ],
... | 45.481605 | 80 | 0.639606 | 1,838 | 13,599 | 4.458651 | 0.088683 | 0.040146 | 0.058572 | 0.050763 | 0.823063 | 0.812325 | 0.768639 | 0.759243 | 0.746431 | 0.741794 | 0 | 0.027248 | 0.255166 | 13,599 | 298 | 81 | 45.634228 | 0.781815 | 0.082433 | 0 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0 | 0.015873 | 0 | 0.111111 | 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 |
b666850d02efef91569e46ae2dd299a0bc754419 | 116 | py | Python | coca/__init__.py | CISiPLab/cisip-GreenCap | 74c3f8461772016eec49840822f1407db4abe2b2 | [
"BSD-3-Clause"
] | 12 | 2021-03-06T13:33:51.000Z | 2022-03-09T06:38:14.000Z | coca/__init__.py | CISiPLab/cisip-GreenCap | 74c3f8461772016eec49840822f1407db4abe2b2 | [
"BSD-3-Clause"
] | null | null | null | coca/__init__.py | CISiPLab/cisip-GreenCap | 74c3f8461772016eec49840822f1407db4abe2b2 | [
"BSD-3-Clause"
] | 4 | 2021-12-05T07:26:22.000Z | 2022-03-31T08:36:31.000Z | # -*- coding: utf-8 -*-
"""
Created on 09 Jul 2020 23:36:50
@author: jiahuei
"""
from . import * # noqa: F401 F403
| 16.571429 | 34 | 0.594828 | 18 | 116 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 0.206897 | 116 | 6 | 35 | 19.333333 | 0.543478 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
1ea6a1b18578d31bb696006258b954a28cf6ca81 | 83 | py | Python | api_test.py | juancruzromero/flask_api | 66125bbb496f78f82214a64b723b596b409395ab | [
"MIT"
] | 3 | 2021-09-27T12:56:10.000Z | 2021-09-27T16:19:37.000Z | api_test.py | juancruzromero/flask_api | 66125bbb496f78f82214a64b723b596b409395ab | [
"MIT"
] | null | null | null | api_test.py | juancruzromero/flask_api | 66125bbb496f78f82214a64b723b596b409395ab | [
"MIT"
] | null | null | null | """ Testing script """
import unittest
class ApiTest(unittest.TestCase):
pass
| 13.833333 | 33 | 0.710843 | 9 | 83 | 6.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 5 | 34 | 16.6 | 0.855072 | 0.168675 | 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 |
9499dc375504d468ad5b191e8e2e78dc77361ea8 | 16,019 | py | Python | app/tests/v2/test_products.py | calebrotich10/store-manager-api-v2 | 16dff84823e77218f1135c99f0592f113fddee84 | [
"MIT"
] | null | null | null | app/tests/v2/test_products.py | calebrotich10/store-manager-api-v2 | 16dff84823e77218f1135c99f0592f113fddee84 | [
"MIT"
] | null | null | null | app/tests/v2/test_products.py | calebrotich10/store-manager-api-v2 | 16dff84823e77218f1135c99f0592f113fddee84 | [
"MIT"
] | 1 | 2018-11-04T18:09:38.000Z | 2018-11-04T18:09:38.000Z | """Module contains tests for admin
specific endpoints
"""
import json
from flask import current_app
from app.api.v2 import database
from . import base_test
from . import common_functions
class TestProduct(base_test.TestBaseClass):
""" Class contains tests for admin specific endpoints """
def test_add_new_... | 41.716146 | 121 | 0.630127 | 1,780 | 16,019 | 5.431461 | 0.085393 | 0.069818 | 0.031858 | 0.049235 | 0.877844 | 0.847228 | 0.815681 | 0.786409 | 0.733451 | 0.733451 | 0 | 0.01423 | 0.254198 | 16,019 | 384 | 122 | 41.716146 | 0.795011 | 0.076222 | 0 | 0.659091 | 0 | 0 | 0.191133 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 1 | 0.083333 | false | 0 | 0.018939 | 0 | 0.106061 | 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 |
a2180a68863b6d12d5f110fff87004ba25cecd12 | 23 | py | Python | ticclib/__init__.py | hedscan/TICC | 239b6741581f46f93ca8ef8c70999477d6ec8f4c | [
"BSD-2-Clause"
] | null | null | null | ticclib/__init__.py | hedscan/TICC | 239b6741581f46f93ca8ef8c70999477d6ec8f4c | [
"BSD-2-Clause"
] | 1 | 2021-03-16T07:30:20.000Z | 2021-03-18T06:11:31.000Z | ticclib/__init__.py | hedscan/TICC | 239b6741581f46f93ca8ef8c70999477d6ec8f4c | [
"BSD-2-Clause"
] | null | null | null | from .ticc import TICC
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bf5c4af5715447f113e1850f5c79b08369fc5aff | 209 | py | Python | nj/core/__init__.py | lig/mnj | 4d850cde6e42028ca7a418828d076dd48158f87a | [
"BSD-2-Clause"
] | 27 | 2015-03-16T14:43:01.000Z | 2022-03-30T09:26:45.000Z | nj/core/__init__.py | lig/mnj | 4d850cde6e42028ca7a418828d076dd48158f87a | [
"BSD-2-Clause"
] | 13 | 2015-03-16T14:53:32.000Z | 2016-06-17T22:59:22.000Z | nj/core/__init__.py | lig/mnj | 4d850cde6e42028ca7a418828d076dd48158f87a | [
"BSD-2-Clause"
] | 8 | 2015-03-21T17:45:55.000Z | 2022-03-30T09:26:46.000Z | from .base import MongoObject, MongoObject_T
from .exceptions import BaseMnjError
from .query import Q
from .types import BSONType
__all__ = ['BaseMnjError', 'BSONType', 'MongoObject', 'MongoObject_T', 'Q']
| 26.125 | 75 | 0.770335 | 25 | 209 | 6.2 | 0.48 | 0.283871 | 0.296774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124402 | 209 | 7 | 76 | 29.857143 | 0.846995 | 0 | 0 | 0 | 0 | 0 | 0.215311 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
bfcb5a5078ea50b6f5e645c7ac93b6cb856b4305 | 47 | py | Python | opentaxii/persistence/sqldb/__init__.py | fossabot/OpenTAXII | cb267fc3f5b17b72e16a52bf8a5cbf7a7789e9ad | [
"BSD-Source-Code"
] | 84 | 2018-04-16T18:35:27.000Z | 2022-03-02T15:50:22.000Z | opentaxii/persistence/sqldb/__init__.py | fossabot/OpenTAXII | cb267fc3f5b17b72e16a52bf8a5cbf7a7789e9ad | [
"BSD-Source-Code"
] | 90 | 2018-04-18T08:56:50.000Z | 2022-03-30T12:42:21.000Z | opentaxii/persistence/sqldb/__init__.py | fossabot/OpenTAXII | cb267fc3f5b17b72e16a52bf8a5cbf7a7789e9ad | [
"BSD-Source-Code"
] | 54 | 2018-05-05T03:10:39.000Z | 2022-03-11T16:26:49.000Z | # flake8: noqa
from .api import SQLDatabaseAPI
| 15.666667 | 31 | 0.787234 | 6 | 47 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.148936 | 47 | 2 | 32 | 23.5 | 0.9 | 0.255319 | 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 |
bfd9053556da7ae86d758e1755ff8b11742bb313 | 8,182 | py | Python | pandas_to_sql/utils/pandas_dataframe_intercepter.py | AmirPupko/pandas-to-sql | 12cb699d70acd368a284304d78c086fa0b1bc204 | [
"MIT"
] | 18 | 2021-01-21T17:10:29.000Z | 2022-03-30T19:48:00.000Z | pandas_to_sql/utils/pandas_dataframe_intercepter.py | AmirPupko/pandas-to-sql | 12cb699d70acd368a284304d78c086fa0b1bc204 | [
"MIT"
] | null | null | null | pandas_to_sql/utils/pandas_dataframe_intercepter.py | AmirPupko/pandas-to-sql | 12cb699d70acd368a284304d78c086fa0b1bc204 | [
"MIT"
] | null | null | null | from copy import copy
import operator
class PandasDataFrameIntercepter:
def __init__(self, df_pandas, df_sql_convert_table):
self.df_pandas = df_pandas
self.df_sql_convert_table = df_sql_convert_table
def __repr__(self):
return self.df_pandas.__repr__()
def __format__(self, fmt):
... | 41.958974 | 136 | 0.717306 | 958 | 8,182 | 5.56263 | 0.10334 | 0.228185 | 0.197035 | 0.247701 | 0.724526 | 0.673297 | 0.638018 | 0.612122 | 0.555639 | 0.527116 | 0 | 0 | 0.207407 | 8,182 | 194 | 137 | 42.175258 | 0.821742 | 0.0176 | 0 | 0.118519 | 0 | 0 | 0.012824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.325926 | false | 0 | 0.014815 | 0.251852 | 0.711111 | 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 |
44a5fc8dc5b583ecc154298ec386ef3c5d0c93aa | 76 | py | Python | faucet/User.py | a1xbu/DevergenceWallet | bf37407da4c23396bed25d7d98a37aaf2c12d5a9 | [
"MIT"
] | null | null | null | faucet/User.py | a1xbu/DevergenceWallet | bf37407da4c23396bed25d7d98a37aaf2c12d5a9 | [
"MIT"
] | null | null | null | faucet/User.py | a1xbu/DevergenceWallet | bf37407da4c23396bed25d7d98a37aaf2c12d5a9 | [
"MIT"
] | 1 | 2022-03-26T13:42:13.000Z | 2022-03-26T13:42:13.000Z | from base_contract import BaseContract
class User(BaseContract):
pass
| 12.666667 | 38 | 0.789474 | 9 | 76 | 6.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 5 | 39 | 15.2 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
7808675d3696c5e323540b4698b3eac9cc74160e | 118 | py | Python | app/main/views.py | Albert-Byrone/Corruption-Feed | bf8f14fa848c5538c646317c706aebc1d28f76d4 | [
"MIT"
] | null | null | null | app/main/views.py | Albert-Byrone/Corruption-Feed | bf8f14fa848c5538c646317c706aebc1d28f76d4 | [
"MIT"
] | 1 | 2019-10-30T13:16:35.000Z | 2019-10-30T13:16:35.000Z | app/main/views.py | Albert-Byrone/Corruption-Feed | bf8f14fa848c5538c646317c706aebc1d28f76d4 | [
"MIT"
] | 4 | 2019-10-28T12:26:31.000Z | 2019-10-30T11:58:20.000Z | from app.main import main
from flask import render_template
@main.route('/')
def index():
return '<h1>Test</h1>'
| 16.857143 | 33 | 0.694915 | 18 | 118 | 4.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.152542 | 118 | 6 | 34 | 19.666667 | 0.79 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
780ca47c1931bdf90db10c5c5b0653060c4acb1c | 31 | py | Python | aerosandbox/performance/__init__.py | peterdsharpe/AeroSandbox | 53f80812f3f82dfe56072afa323c43595a6ad539 | [
"MIT"
] | 322 | 2019-05-29T20:40:04.000Z | 2022-03-29T12:46:45.000Z | aerosandbox/performance/__init__.py | peterdsharpe/AeroSandbox | 53f80812f3f82dfe56072afa323c43595a6ad539 | [
"MIT"
] | 55 | 2019-07-14T09:52:59.000Z | 2022-03-28T16:02:21.000Z | aerosandbox/performance/__init__.py | peterdsharpe/AeroSandbox | 53f80812f3f82dfe56072afa323c43595a6ad539 | [
"MIT"
] | 68 | 2019-06-02T09:57:26.000Z | 2022-03-28T15:03:47.000Z | from .operating_point import *
| 15.5 | 30 | 0.806452 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 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 |
780e4a3303f0bf9f9e2bc113179be032cfe2bbed | 21,347 | py | Python | nfv/nfv-vim/nfv_vim/events/_vim_network_api_events.py | riddopic/nfv | e5ced4ade4916910646bcf8018dfabadef447fc2 | [
"Apache-2.0"
] | 2 | 2020-02-07T19:01:36.000Z | 2022-02-23T01:41:46.000Z | nfv/nfv-vim/nfv_vim/events/_vim_network_api_events.py | riddopic/nfv | e5ced4ade4916910646bcf8018dfabadef447fc2 | [
"Apache-2.0"
] | 1 | 2021-01-14T12:02:25.000Z | 2021-01-14T12:02:25.000Z | nfv/nfv-vim/nfv_vim/events/_vim_network_api_events.py | riddopic/nfv | e5ced4ade4916910646bcf8018dfabadef447fc2 | [
"Apache-2.0"
] | 2 | 2021-01-13T08:39:21.000Z | 2022-02-09T00:21:55.000Z | #
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from nfv_common import debug
from nfv_vim import directors
from nfv_vim import rpc
from nfv_vim import tables
DLOG = debug.debug_get_logger('nfv_vim.vim_network_api_events')
_subnet_create_operations = dict()
_subnet_update... | 39.975655 | 80 | 0.64009 | 2,401 | 21,347 | 5.39192 | 0.044981 | 0.047582 | 0.018075 | 0.032442 | 0.840337 | 0.776456 | 0.763402 | 0.727252 | 0.695891 | 0.679438 | 0 | 0.000648 | 0.276573 | 21,347 | 533 | 81 | 40.050657 | 0.837661 | 0.031105 | 0 | 0.727941 | 0 | 0 | 0.053655 | 0.004018 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044118 | false | 0.004902 | 0.009804 | 0 | 0.053922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
78328395e04eaa23d86e8f42e6d8934c72a65564 | 169 | py | Python | code/tmp_rtrip/test/test_warnings/data/stacklevel.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | 24 | 2018-01-23T05:28:40.000Z | 2021-04-13T20:52:59.000Z | code/tmp_rtrip/test/test_warnings/data/stacklevel.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | 17 | 2017-12-21T18:32:31.000Z | 2018-12-18T17:09:50.000Z | code/tmp_rtrip/test/test_warnings/data/stacklevel.py | emilyemorehouse/ast-and-me | 3f58117512e125e1ecbe3c72f2f0d26adb80b7b3 | [
"MIT"
] | null | null | null | import warnings
def outer(message, stacklevel=1):
inner(message, stacklevel)
def inner(message, stacklevel=1):
warnings.warn(message, stacklevel=stacklevel)
| 16.9 | 49 | 0.751479 | 20 | 169 | 6.35 | 0.45 | 0.535433 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 0.142012 | 169 | 9 | 50 | 18.777778 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
78a43bf59d05e1ef18cfdc235d14dfa84e4fad13 | 94 | py | Python | test/test.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | null | null | null | test/test.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 1 | 2019-10-22T21:28:31.000Z | 2019-10-22T21:39:12.000Z | test/test.py | bopopescu/Lauecollect | 60ae2b05ea8596ba0decf426e37aeaca0bc8b6be | [
"MIT"
] | 2 | 2019-06-06T15:06:46.000Z | 2020-07-20T02:03:22.000Z | from inspect import getfile
from os.path import dirname
def f(): pass
dir=dirname(getfile(f))
| 18.8 | 27 | 0.776596 | 16 | 94 | 4.5625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 94 | 4 | 28 | 23.5 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 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 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
78b9b928645caacdd9bd90bb0f5d8e98b017d45b | 47 | py | Python | test/__init__.py | cooperuser/rl_ctrnn | 5f05585dc6f017de60eec9929b8523a8d4da80f7 | [
"MIT"
] | 1 | 2021-10-05T13:30:00.000Z | 2021-10-05T13:30:00.000Z | test/__init__.py | cooperuser/rl_ctrnn | 5f05585dc6f017de60eec9929b8523a8d4da80f7 | [
"MIT"
] | null | null | null | test/__init__.py | cooperuser/rl_ctrnn | 5f05585dc6f017de60eec9929b8523a8d4da80f7 | [
"MIT"
] | null | null | null | from .ctrnn import *
from .oscillator import *
| 15.666667 | 25 | 0.744681 | 6 | 47 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 2 | 26 | 23.5 | 0.897436 | 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 |
78bfbb5bb79625267c52e31c3154a7e846eb0eb5 | 129 | py | Python | day3/using_module.py | lilbond/bitis | 58e5eeebade6cea99fbf86fdf285721fb602e4ef | [
"MIT"
] | null | null | null | day3/using_module.py | lilbond/bitis | 58e5eeebade6cea99fbf86fdf285721fb602e4ef | [
"MIT"
] | null | null | null | day3/using_module.py | lilbond/bitis | 58e5eeebade6cea99fbf86fdf285721fb602e4ef | [
"MIT"
] | null | null | null | from day3 import fibo
print(fibo.fib(10))
import day3.fibo as h
print(h.fib(10))
import day3.fibo
print(day3.fibo.fib(10))
| 9.923077 | 24 | 0.713178 | 25 | 129 | 3.68 | 0.36 | 0.163043 | 0.195652 | 0.326087 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.147287 | 129 | 12 | 25 | 10.75 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
15200526e88c77ff11c80cd5c184541f6f25e1e4 | 117 | py | Python | pytest_httpx/__init__.py | thomasleveil/pytest_httpx | 6ec65f73e99507ca62dbcadd71f73573b61d96cd | [
"MIT"
] | null | null | null | pytest_httpx/__init__.py | thomasleveil/pytest_httpx | 6ec65f73e99507ca62dbcadd71f73573b61d96cd | [
"MIT"
] | null | null | null | pytest_httpx/__init__.py | thomasleveil/pytest_httpx | 6ec65f73e99507ca62dbcadd71f73573b61d96cd | [
"MIT"
] | null | null | null | from pytest_httpx.version import __version__
from pytest_httpx._httpx_mock import httpx_mock, HTTPXMock, to_response
| 39 | 71 | 0.880342 | 17 | 117 | 5.470588 | 0.529412 | 0.215054 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08547 | 117 | 2 | 72 | 58.5 | 0.869159 | 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 |
ec77709a933179bb9e51508f58c704a76469d6cf | 131 | py | Python | utils/compat.py | anthill-arch/framework | a6c238a62ae9c3fb319d12e77f7e9047aab75e8d | [
"MIT"
] | 1 | 2018-11-30T21:56:14.000Z | 2018-11-30T21:56:14.000Z | utils/compat.py | anthill-arch/framework | a6c238a62ae9c3fb319d12e77f7e9047aab75e8d | [
"MIT"
] | null | null | null | utils/compat.py | anthill-arch/framework | a6c238a62ae9c3fb319d12e77f7e9047aab75e8d | [
"MIT"
] | null | null | null | import tornado
# TORXY means "Tornado X.Y or later"
TOR50 = tornado.version_info >= (5, 0)
TOR51 = tornado.version_info >= (5, 1)
| 21.833333 | 38 | 0.694656 | 21 | 131 | 4.238095 | 0.714286 | 0.314607 | 0.404494 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 0.167939 | 131 | 5 | 39 | 26.2 | 0.743119 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec929cbdb44c057d9d2824d98b4a2f5378e42b83 | 4,264 | py | Python | tests/utils/test_wascii.py | AfonsoV/easyGalaxy | f7b5dd7160c11be473e7811ffdf53de2fd777d8b | [
"MIT"
] | 14 | 2017-10-05T14:16:30.000Z | 2020-11-19T07:07:35.000Z | tests/utils/test_wascii.py | clannadxu/easyGalaxy | 0608b17d84d00c2bdc069ebfb83024bf8d15e309 | [
"MIT"
] | 4 | 2017-10-26T09:29:05.000Z | 2019-04-02T15:40:32.000Z | tests/utils/test_wascii.py | clannadxu/easyGalaxy | 0608b17d84d00c2bdc069ebfb83024bf8d15e309 | [
"MIT"
] | 8 | 2018-01-15T07:36:42.000Z | 2021-08-24T07:46:50.000Z | import unittest
import ezgal.utils as utils
import numpy as np
try:
import StringIO
except ImportError:
# In Python3 StringIO has moved into the io module.
import io as StringIO
class test_wascii(unittest.TestCase):
def test_integers(self):
# test outputting integers
test_array = np.as... | 30.457143 | 142 | 0.562852 | 607 | 4,264 | 3.83196 | 0.14168 | 0.146174 | 0.015477 | 0.018917 | 0.803955 | 0.803955 | 0.803955 | 0.788048 | 0.782459 | 0.782459 | 0 | 0.129809 | 0.299015 | 4,264 | 139 | 143 | 30.676259 | 0.648377 | 0.054174 | 0 | 0.527473 | 0 | 0.054945 | 0.140905 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 1 | 0.10989 | false | 0 | 0.065934 | 0 | 0.186813 | 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 |
eca5228b744b61107552634dd862ae01a439a80c | 703,245 | py | Python | GroundStation/Co-pilot_Gui/bg_rc.py | iturov/PruvaRov2019 | d99bea6875d519d79772cb99819b6a685b4b62ae | [
"MIT"
] | 4 | 2019-05-14T18:37:47.000Z | 2021-12-07T12:31:15.000Z | GroundStation/Co-pilot_Gui/bg_rc.py | iturov/PruvaRov2019 | d99bea6875d519d79772cb99819b6a685b4b62ae | [
"MIT"
] | null | null | null | GroundStation/Co-pilot_Gui/bg_rc.py | iturov/PruvaRov2019 | d99bea6875d519d79772cb99819b6a685b4b62ae | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.6.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x02\x24\x79\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\... | 66.810279 | 130 | 0.716385 | 167,870 | 703,245 | 3.000989 | 0.001757 | 0.186178 | 0.193658 | 0.168599 | 0.251523 | 0.188959 | 0.150781 | 0.117659 | 0.093006 | 0.079053 | 0 | 0.329146 | 0.030005 | 703,245 | 10,525 | 131 | 66.816627 | 0.409373 | 0.000215 | 0 | 0.053753 | 0 | 0.997431 | 0 | 0 | 0 | 1 | 0.000012 | 0 | 0 | 1 | 0.00019 | false | 0 | 0.000095 | 0 | 0.000285 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ecd2dce20472535f4875dcce054cff669e8eaf5b | 40 | py | Python | src/training_manager/__init__.py | anishacharya/BGMD | 03dee098217d2b9a209fea5759e2e0a2237390a5 | [
"MIT"
] | 5 | 2022-01-21T06:21:51.000Z | 2022-02-11T23:00:57.000Z | src/training_manager/__init__.py | anishacharya/BGMD | 03dee098217d2b9a209fea5759e2e0a2237390a5 | [
"MIT"
] | null | null | null | src/training_manager/__init__.py | anishacharya/BGMD | 03dee098217d2b9a209fea5759e2e0a2237390a5 | [
"MIT"
] | null | null | null | from .base_trainer import TrainPipeline
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
ecdcc6b506d12940717a207f8641bd318599997c | 39 | py | Python | 8_kyu/remove_first_and_last_character.py | nik4nd/codewars | efae95f1f9fbd5f31fc62b1b4f5a7d1ee511ced0 | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | 8_kyu/remove_first_and_last_character.py | nik4nd/codewars | efae95f1f9fbd5f31fc62b1b4f5a7d1ee511ced0 | [
"MIT"
] | null | null | null | 8_kyu/remove_first_and_last_character.py | nik4nd/codewars | efae95f1f9fbd5f31fc62b1b4f5a7d1ee511ced0 | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def remove_char(s):
return s[1:-1]
| 13 | 19 | 0.615385 | 8 | 39 | 2.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.205128 | 39 | 2 | 20 | 19.5 | 0.677419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
01ab473ce80c039f8855c6e6d547ffac26581724 | 207 | py | Python | tests/test_downloaders.py | refidAc/libgen.py | 0789ea614c7b55bc133987bda7db453edbd75630 | [
"MIT"
] | 248 | 2015-05-17T05:06:51.000Z | 2022-03-11T02:52:43.000Z | tests/test_downloaders.py | refidAc/libgen.py | 0789ea614c7b55bc133987bda7db453edbd75630 | [
"MIT"
] | 28 | 2018-02-05T16:45:40.000Z | 2020-05-03T20:39:23.000Z | tests/test_downloaders.py | user135711/libgen.py | 9b556f4c03fe1205a25576d618f4e45881388bb1 | [
"MIT"
] | 57 | 2016-01-12T09:44:56.000Z | 2022-02-21T19:29:16.000Z | from libgen.downloaders import filter_filename
def test_filter_filename():
filename = 'Русский язык (1962) - ####автор@.djvu'
assert filter_filename(filename) == 'Русский язык (1962) - автор.djvu'
| 29.571429 | 74 | 0.724638 | 25 | 207 | 5.84 | 0.56 | 0.287671 | 0.30137 | 0.39726 | 0.630137 | 0.630137 | 0.630137 | 0.630137 | 0 | 0 | 0 | 0.045455 | 0.149758 | 207 | 6 | 75 | 34.5 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 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 |
bf104bd64ebcc521a6cd10a3a5219fb770f4948e | 21,835 | py | Python | tests/urls_tests.py | DITGO/2021.1-PC-GO1-Archives | d9f28bb29dbe96331b6e2d0beb7ca37875d61300 | [
"MIT"
] | 1 | 2021-08-22T13:39:56.000Z | 2021-08-22T13:39:56.000Z | tests/urls_tests.py | DITGO/2021.1-PC-GO1-Archives | d9f28bb29dbe96331b6e2d0beb7ca37875d61300 | [
"MIT"
] | 36 | 2021-09-01T19:12:17.000Z | 2022-03-18T23:43:13.000Z | tests/urls_tests.py | DITGO/2021.1-PC-GO1-Archives | d9f28bb29dbe96331b6e2d0beb7ca37875d61300 | [
"MIT"
] | 5 | 2021-09-10T21:01:07.000Z | 2021-09-17T16:35:21.000Z | import pytest
from rest_framework.test import APIClient
from django.test import override_settings
from django.conf import settings
TESTS_MIDDLEWARE = [mc for mc in settings.MIDDLEWARE
if mc != 'archives_app.middleware.IsTokenValidMiddleware']
@pytest.mark.django_db(transaction=False)
class TestBo... | 29.348118 | 78 | 0.598672 | 2,243 | 21,835 | 5.567543 | 0.071333 | 0.073511 | 0.038517 | 0.067265 | 0.83344 | 0.821989 | 0.790759 | 0.745275 | 0.734465 | 0.715247 | 0 | 0.029463 | 0.266316 | 21,835 | 743 | 79 | 29.387618 | 0.750062 | 0 | 0 | 0.659504 | 0 | 0 | 0.197206 | 0.022991 | 0 | 0 | 0 | 0 | 0.115702 | 1 | 0.052893 | false | 0 | 0.006612 | 0 | 0.067769 | 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 |
bf1b136e840721fe90de7fa7167fd32df6205319 | 35 | py | Python | agent/estimator/estimator_examples_standalone/Estimator_Example.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | 4 | 2020-10-20T14:30:09.000Z | 2022-02-19T23:46:04.000Z | agent/estimator/estimator_examples_standalone/Estimator_Example.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | null | null | null | agent/estimator/estimator_examples_standalone/Estimator_Example.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | 1 | 2022-03-12T10:46:38.000Z | 2022-03-12T10:46:38.000Z | import numpy as np
import agent,env | 17.5 | 18 | 0.828571 | 7 | 35 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 2 | 19 | 17.5 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
170a88f16a0cdd1e7d908be2c2fa75e5bfcc8b7b | 7,805 | py | Python | args.py | gear/gfnn | 36667861caacba921469d43917d002896e832c3f | [
"MIT"
] | 46 | 2019-05-27T10:53:00.000Z | 2022-01-11T08:59:51.000Z | args.py | gear/gfnn | 36667861caacba921469d43917d002896e832c3f | [
"MIT"
] | 4 | 2020-02-04T12:41:27.000Z | 2021-11-15T18:25:49.000Z | args.py | gear/gfnn | 36667861caacba921469d43917d002896e832c3f | [
"MIT"
] | 4 | 2019-05-27T11:45:44.000Z | 2021-03-19T20:02:55.000Z | import argparse
import torch
noise_choices = [
'None',
'gaussian',
'gaussian_mimic',
'add_gaussian',
'add_gaussian_mimic',
'superimpose_gaussian',
'superimpose_gaussian_class',
'superimpose_gaussian_random',
'zero_test'
]
normalization_choices = [
'',
'AugNormAdj',
... | 46.458333 | 79 | 0.591288 | 909 | 7,805 | 4.941694 | 0.191419 | 0.110196 | 0.208148 | 0.045414 | 0.769813 | 0.739537 | 0.729519 | 0.719724 | 0.719724 | 0.714159 | 0 | 0.013336 | 0.269827 | 7,805 | 167 | 80 | 46.736527 | 0.774873 | 0.013837 | 0 | 0.577922 | 0 | 0 | 0.283988 | 0.006888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019481 | false | 0 | 0.012987 | 0 | 0.051948 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
170d2d9a8b039f4a0f2d10d45ce8eab857bdf627 | 6,747 | py | Python | src/MimicsDataset.py | isekulic/mimics-EL-benchmark | 2850c4ced2e857f9826bee71375a8bf82dacce46 | [
"MIT"
] | 3 | 2021-02-25T10:06:50.000Z | 2021-04-06T08:17:11.000Z | src/MimicsDataset.py | isekulic/mimics-EL-benchmark | 2850c4ced2e857f9826bee71375a8bf82dacce46 | [
"MIT"
] | null | null | null | src/MimicsDataset.py | isekulic/mimics-EL-benchmark | 2850c4ced2e857f9826bee71375a8bf82dacce46 | [
"MIT"
] | null | null | null | import argparse
import pandas as pd
import json
import os
import torch
from IPython import embed
from torch.utils.data import DataLoader, Dataset
from transformers import AlbertTokenizer
from sklearn.model_selection import train_test_split
class MimicsDataset(Dataset):
def __init__(self, tokenizer, args, mode='de... | 35.140625 | 107 | 0.586631 | 854 | 6,747 | 4.375878 | 0.175644 | 0.017126 | 0.019267 | 0.024083 | 0.79422 | 0.79422 | 0.777094 | 0.777094 | 0.777094 | 0.777094 | 0 | 0.008861 | 0.280717 | 6,747 | 191 | 108 | 35.324607 | 0.761179 | 0.04817 | 0 | 0.773973 | 0 | 0 | 0.108997 | 0.016217 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068493 | false | 0 | 0.061644 | 0.013699 | 0.19863 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
173e7185ac15ec490120790ecc13ddfde856f058 | 64 | py | Python | examples/examplelibrary2/b_only/__init__.py | yonatanp/quicklib | bd96c6ed5204d0c4e802b320d285d22248beb243 | [
"MIT"
] | 1 | 2021-12-16T07:27:59.000Z | 2021-12-16T07:27:59.000Z | examples/examplelibrary2/b_only/__init__.py | yonatanp/quicklib | bd96c6ed5204d0c4e802b320d285d22248beb243 | [
"MIT"
] | 6 | 2018-01-15T11:51:37.000Z | 2019-08-18T13:37:52.000Z | examples/examplelibrary2/b_only/__init__.py | yonatanp/quicklib | bd96c6ed5204d0c4e802b320d285d22248beb243 | [
"MIT"
] | null | null | null | from __future__ import print_function
print("b_only imported")
| 16 | 37 | 0.828125 | 9 | 64 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 3 | 38 | 21.333333 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
175367885bbc6c8b22d39dcf59f2999742284e20 | 515 | py | Python | src/Domain/Entities/Square.py | Urbistondo/EventbriteShogi | 0160d31080a0c69e843b64feab47d93d1f22a425 | [
"MIT"
] | null | null | null | src/Domain/Entities/Square.py | Urbistondo/EventbriteShogi | 0160d31080a0c69e843b64feab47d93d1f22a425 | [
"MIT"
] | null | null | null | src/Domain/Entities/Square.py | Urbistondo/EventbriteShogi | 0160d31080a0c69e843b64feab47d93d1f22a425 | [
"MIT"
] | null | null | null | class Square:
piece = None
promoting = False
def __init__(self, promoting=False):
self.promoting = promoting
def set_piece(self, piece):
self.piece = piece
def remove_piece(self):
self.piece = None
def get_piece(self):
return self.piece
def is_empty(self)... | 20.6 | 73 | 0.623301 | 68 | 515 | 4.558824 | 0.294118 | 0.203226 | 0.180645 | 0.183871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293204 | 515 | 24 | 74 | 21.458333 | 0.851648 | 0 | 0 | 0 | 0 | 0 | 0.003884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.411765 | false | 0 | 0 | 0.235294 | 0.823529 | 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 |
bd8e13c695783e5c32095bf2990196301204b3a2 | 114 | py | Python | model/multi_doc/__init__.py | NickSchoelkopf/SummerTime | 9a89aab8e1544e3c52c043b9c47ab325e665e11e | [
"Apache-2.0"
] | 178 | 2021-07-07T23:46:20.000Z | 2022-03-26T17:47:21.000Z | model/multi_doc/__init__.py | NickSchoelkopf/SummerTime | 9a89aab8e1544e3c52c043b9c47ab325e665e11e | [
"Apache-2.0"
] | 77 | 2021-06-18T21:44:53.000Z | 2022-02-20T00:23:06.000Z | model/multi_doc/__init__.py | NickSchoelkopf/SummerTime | 9a89aab8e1544e3c52c043b9c47ab325e665e11e | [
"Apache-2.0"
] | 19 | 2021-06-18T22:24:47.000Z | 2022-03-16T12:53:50.000Z | from .multi_doc_joint_model import MultiDocJointModel
from .multi_doc_separate_model import MultiDocSeparateModel
| 38 | 59 | 0.912281 | 14 | 114 | 7 | 0.642857 | 0.183673 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 114 | 2 | 60 | 57 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bdd1338cb84dd6cfde498b0a3ab17810ba09986b | 99 | py | Python | 2D_ObjectDetectors/yolov1/network/__init__.py | loaywael/ObjectDetection | 9006cfdb2284a83426510a70c894824b27f40566 | [
"Apache-2.0"
] | null | null | null | 2D_ObjectDetectors/yolov1/network/__init__.py | loaywael/ObjectDetection | 9006cfdb2284a83426510a70c894824b27f40566 | [
"Apache-2.0"
] | null | null | null | 2D_ObjectDetectors/yolov1/network/__init__.py | loaywael/ObjectDetection | 9006cfdb2284a83426510a70c894824b27f40566 | [
"Apache-2.0"
] | null | null | null | NET_PKG_PATH = "2D_ObjectDetectors/yolov1/network/"
DATA_PATH = "2D_ObjectDetectors/yolov1/data/"
| 24.75 | 51 | 0.808081 | 13 | 99 | 5.769231 | 0.615385 | 0.16 | 0.56 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.070707 | 99 | 3 | 52 | 33 | 0.771739 | 0 | 0 | 0 | 0 | 0 | 0.663265 | 0.663265 | 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 |
bdd1dbf8eefa025a56decc6e81fab51c022995d8 | 21 | py | Python | angr/pretty_printers/__init__.py | marcusbotacin/angr | 540c92e34022fc685d11be4d7660a7dc833478a5 | [
"BSD-2-Clause"
] | null | null | null | angr/pretty_printers/__init__.py | marcusbotacin/angr | 540c92e34022fc685d11be4d7660a7dc833478a5 | [
"BSD-2-Clause"
] | null | null | null | angr/pretty_printers/__init__.py | marcusbotacin/angr | 540c92e34022fc685d11be4d7660a7dc833478a5 | [
"BSD-2-Clause"
] | null | null | null | from .calls import *
| 10.5 | 20 | 0.714286 | 3 | 21 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bdf83400f716a416c791f0d481ff87e33a10209d | 137 | py | Python | sum_of_odd_numbers.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | sum_of_odd_numbers.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | sum_of_odd_numbers.py | Kunalpod/codewars | 8dc1af2f3c70e209471045118fd88b3ea1e627e5 | [
"MIT"
] | null | null | null | #Kunal Gautam
#Codewars : @Kunalpod
#Problem name: Sum of Odd Numbers
#Problem level: 7 kyu
def row_sum_odd_numbers(n):
return n**3
| 17.125 | 33 | 0.729927 | 23 | 137 | 4.217391 | 0.782609 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.175182 | 137 | 7 | 34 | 19.571429 | 0.840708 | 0.613139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
da5e82f9eccd76346144a537089bf0e4641c7d9e | 1,420 | py | Python | graphics/bar.py | tman540/probability-simulator | c3bc679d1f77fd751bc981734583bdc017290aef | [
"MIT"
] | null | null | null | graphics/bar.py | tman540/probability-simulator | c3bc679d1f77fd751bc981734583bdc017290aef | [
"MIT"
] | null | null | null | graphics/bar.py | tman540/probability-simulator | c3bc679d1f77fd751bc981734583bdc017290aef | [
"MIT"
] | null | null | null | # Imports
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.style as style
# Set theme of graph
# style.use('seaborn-poster')
style.use('ggplot')
# Initials vars
title = ""
labels = []
data = []
x_label = ""
y_label = ""
# Function for vertical bar graphs
def plot_x():
# Create an array from... | 25.818182 | 55 | 0.682394 | 217 | 1,420 | 4.410138 | 0.299539 | 0.056426 | 0.068966 | 0.058516 | 0.741902 | 0.741902 | 0.741902 | 0.741902 | 0.741902 | 0.741902 | 0 | 0.01084 | 0.220423 | 1,420 | 54 | 56 | 26.296296 | 0.853659 | 0.412676 | 0 | 0.518519 | 0 | 0 | 0.00738 | 0 | 0 | 0 | 0 | 0.018519 | 0 | 1 | 0.074074 | false | 0 | 0.111111 | 0 | 0.185185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
da695cd55311efd000fce7c4f7513a2c690793bf | 201 | py | Python | pixel/pixel.py | tartavull/pixel | 43545726187434054f6a37ba936855f436ce2160 | [
"MIT"
] | null | null | null | pixel/pixel.py | tartavull/pixel | 43545726187434054f6a37ba936855f436ce2160 | [
"MIT"
] | 2 | 2021-03-25T21:46:23.000Z | 2021-11-15T17:47:10.000Z | pixel/pixel.py | tartavull/pixel | 43545726187434054f6a37ba936855f436ce2160 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from backend import start_server
def display_grayscale(arr):
start_server()
def display_segmentation(arr):
start_server()
def display_affinities(arr):
start_server()
| 14.357143 | 32 | 0.736318 | 26 | 201 | 5.423077 | 0.538462 | 0.312057 | 0.297872 | 0.446809 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.144279 | 201 | 13 | 33 | 15.461538 | 0.813953 | 0.104478 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
e51d22de9bc04485d7f453d1e94b3351b40a7497 | 12,137 | py | Python | jigsawpy/tools/orthoball.py | trackow/jigsaw-python | f87571945975b4882d8c27bdfff9275f6e46baa8 | [
"Unlicense"
] | 18 | 2020-01-26T15:35:25.000Z | 2022-03-29T00:52:15.000Z | jigsawpy/tools/orthoball.py | trackow/jigsaw-python | f87571945975b4882d8c27bdfff9275f6e46baa8 | [
"Unlicense"
] | 5 | 2020-02-14T22:23:21.000Z | 2021-10-07T02:29:09.000Z | jigsawpy/tools/orthoball.py | jreniel/jigsaw-python | f87571945975b4882d8c27bdfff9275f6e46baa8 | [
"Unlicense"
] | 8 | 2020-01-28T19:10:12.000Z | 2022-01-31T09:57:04.000Z |
import numpy as np
from jigsawpy.tools.predicate import istri_1, istri_2, istri_3
from jigsawpy.tools.mathutils import inv_2x2, inv_3x3
def tribal1(ppos, tri1):
"""
TRIBAL1 compute the circumballs associated with a 1-cell
triangulation embedded in R^2 or R^3.
BALL = TRIBAL1(PPOS,TRI1) returns the se... | 29.387409 | 62 | 0.417154 | 1,562 | 12,137 | 3.234315 | 0.068502 | 0.030681 | 0.059184 | 0.077395 | 0.869557 | 0.844616 | 0.805226 | 0.75099 | 0.720903 | 0.720903 | 0 | 0.087275 | 0.325945 | 12,137 | 412 | 63 | 29.458738 | 0.530253 | 0.217681 | 0 | 0.669528 | 0 | 0 | 0.007119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025751 | false | 0 | 0.012876 | 0 | 0.064378 | 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 |
e52ed5da3cd8fd349192b84dab2585ef5ca5c928 | 476 | py | Python | octicons16px/diff_removed.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/diff_removed.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/diff_removed.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_DIFF_REMOVED = """
<svg class="octicon octicon-diff-removed" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2.75 2.5h10.5a.25.25 0 01.25.25v10.5a.25.25 0 01-.25.25H2.75a.25.25 0 01-.25-.25V2.75a.25.25 0 01.25-.25zM13.25 1H2.75A1.75 1.75 0 001 2.75v10... | 95.2 | 443 | 0.676471 | 117 | 476 | 2.735043 | 0.452991 | 0.046875 | 0.0625 | 0.0875 | 0.2625 | 0.14375 | 0 | 0 | 0 | 0 | 0 | 0.419204 | 0.102941 | 476 | 4 | 444 | 119 | 0.330211 | 0 | 0 | 0 | 0 | 0.333333 | 0.936842 | 0.183158 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e5d4d396d526ee5ff6bae7ec19ec425f26534aaa | 244 | py | Python | cluster_drug_discovery/input_preprocess/feature_extraction.py | NostrumBioDiscovery/cluster_drug_discovery | e7088f4683884bc7ff7f55fef0b4f38294f0564a | [
"Apache-2.0"
] | 1 | 2021-03-09T04:15:47.000Z | 2021-03-09T04:15:47.000Z | cluster_drug_discovery/input_preprocess/feature_extraction.py | NostrumBioDiscovery/cluster_drug_discovery | e7088f4683884bc7ff7f55fef0b4f38294f0564a | [
"Apache-2.0"
] | null | null | null | cluster_drug_discovery/input_preprocess/feature_extraction.py | NostrumBioDiscovery/cluster_drug_discovery | e7088f4683884bc7ff7f55fef0b4f38294f0564a | [
"Apache-2.0"
] | 1 | 2019-07-31T15:09:44.000Z | 2019-07-31T15:09:44.000Z |
class FeatureExtractor(object):
def __init__(self, files):
self.files = files
def retrieve_coords(self):
return self._retrieve_coords()
def retrieve_dihedrals(self):
return self._retrieve_dihedrals()
| 20.333333 | 42 | 0.668033 | 26 | 244 | 5.884615 | 0.423077 | 0.117647 | 0.183007 | 0.287582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245902 | 244 | 11 | 43 | 22.181818 | 0.831522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
e5ea95f414dd3a8d75943ef826d74544501ea50d | 3,355 | py | Python | client/http_client.py | orltom/airlock-gateway-client-python | a83e81dfdddb4ddaafd8aca4532cb20cfecb6a63 | [
"MIT"
] | null | null | null | client/http_client.py | orltom/airlock-gateway-client-python | a83e81dfdddb4ddaafd8aca4532cb20cfecb6a63 | [
"MIT"
] | null | null | null | client/http_client.py | orltom/airlock-gateway-client-python | a83e81dfdddb4ddaafd8aca4532cb20cfecb6a63 | [
"MIT"
] | null | null | null | import requests
from .request_logger import RequestLogger
from typing import Final
from abc import ABCMeta
class HttpClient(metaclass=ABCMeta):
"""HTTP client which want implement HTTP request operation need to implement this interface."""
DEFAULT_HEADERS: Final = {'Accept': 'application/json', 'Content-Type... | 29.173913 | 113 | 0.597019 | 375 | 3,355 | 5.288 | 0.154667 | 0.07766 | 0.055472 | 0.131114 | 0.750378 | 0.750378 | 0.748865 | 0.700958 | 0.700958 | 0.68583 | 0 | 0 | 0.301043 | 3,355 | 114 | 114 | 29.429825 | 0.845629 | 0.198212 | 0 | 0.45 | 0 | 0 | 0.029472 | 0.009005 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.083333 | 0.066667 | 0.1 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
f9059b2f4f8da8533331d1a30ccf18da09dcae1b | 20 | py | Python | utils/__init__.py | szho42/latenttrack | 1ffe68b46fb8f7470b94f946518d49878ae967f9 | [
"Apache-2.0"
] | 1 | 2022-01-31T20:23:26.000Z | 2022-01-31T20:23:26.000Z | utils/__init__.py | BioMedAnalysis/latenttrack | 1ffe68b46fb8f7470b94f946518d49878ae967f9 | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | BioMedAnalysis/latenttrack | 1ffe68b46fb8f7470b94f946518d49878ae967f9 | [
"Apache-2.0"
] | null | null | null | from .embed import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
009babbd1ae49f7b56fd8591ce6e3d42b1bc7ce8 | 266 | py | Python | ginkgo_rl/__init__.py | johannbrehmer/ginkgo-rl | 8bdbf6074b095cb169b3f068e33a8c741372c15a | [
"MIT"
] | 9 | 2020-11-18T17:59:56.000Z | 2021-09-29T12:36:24.000Z | ginkgo_rl/__init__.py | johannbrehmer/ginkgo-rl | 8bdbf6074b095cb169b3f068e33a8c741372c15a | [
"MIT"
] | 1 | 2021-09-27T08:44:38.000Z | 2021-09-27T08:44:38.000Z | ginkgo_rl/__init__.py | johannbrehmer/ginkgo-rl | 8bdbf6074b095cb169b3f068e33a8c741372c15a | [
"MIT"
] | 1 | 2020-12-23T14:57:45.000Z | 2020-12-23T14:57:45.000Z | from .envs import GinkgoLikelihoodEnv, GinkgoLikelihood1DEnv
from .eval import GinkgoEvaluator, GinkgoRLInterface
from .agents import BatchedACERAgent, RandomMCTSAgent, PolicyMCTSAgent, GreedyAgent, RandomAgent, LikelihoodMCTSAgent, ImitationLearningPolicyMCTSAgent
| 66.5 | 151 | 0.883459 | 20 | 266 | 11.75 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.075188 | 266 | 3 | 152 | 88.666667 | 0.95122 | 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 |
da97bf65cb5e8bbd2b847618feb9fbbfffbbcfa8 | 130 | py | Python | tests/missing_data/test_missing_data_air_passengers_None_Constant.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/missing_data/test_missing_data_air_passengers_None_Constant.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/missing_data/test_missing_data_air_passengers_None_Constant.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.missing_data.test_missing_data_air_passengers_generic as gen
gen.test_air_passengers_missing_data(None, 'Constant')
| 32.5 | 73 | 0.884615 | 20 | 130 | 5.25 | 0.6 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053846 | 130 | 3 | 74 | 43.333333 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
dabb26025e6da8bb31fca6c1b618e30529397ab2 | 32 | py | Python | settings.py | screwnet/awslimits | 9968e9e40b379bdda8103cc6f67ef00545e0ae5f | [
"Apache-2.0"
] | 64 | 2016-10-12T16:57:30.000Z | 2021-07-18T04:50:06.000Z | settings.py | Yipit/awslimits | 9968e9e40b379bdda8103cc6f67ef00545e0ae5f | [
"Apache-2.0"
] | 17 | 2016-11-14T20:22:02.000Z | 2020-03-27T19:45:32.000Z | settings.py | spulec/awslimits | 9968e9e40b379bdda8103cc6f67ef00545e0ae5f | [
"Apache-2.0"
] | 5 | 2017-03-30T18:45:11.000Z | 2019-09-16T19:16:18.000Z | from awslimits.settings import * | 32 | 32 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.931034 | 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 |
dae623b69219a99a53da7849fb08f1accf0d9200 | 2,659 | py | Python | tutorials/basic/_7_connect.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 10 | 2018-07-13T09:46:21.000Z | 2021-06-22T13:34:50.000Z | tutorials/basic/_7_connect.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 8 | 2018-09-09T11:32:40.000Z | 2019-10-08T07:47:31.000Z | tutorials/basic/_7_connect.py | qedalab/spira | 32e4d2096e298b9fcc5952abd654312dc232a259 | [
"MIT"
] | 7 | 2019-01-17T18:50:17.000Z | 2022-01-13T20:27:52.000Z | import spira.all as spira
class ResistorManhattan(spira.PCell):
width = spira.NumberParameter(default=spira.RDD.R1.MIN_WIDTH, doc='Width of the shunt resistance.')
length = spira.NumberParameter(default=spira.RDD.R1.MIN_LENGTH, doc='Length of the shunt resistance.')
p1 = spira.Parameter(fdef_name='creat... | 33.658228 | 130 | 0.678827 | 358 | 2,659 | 4.946927 | 0.189944 | 0.045172 | 0.060983 | 0.072276 | 0.790514 | 0.769622 | 0.769057 | 0.769057 | 0.769057 | 0.769057 | 0 | 0.03099 | 0.186912 | 2,659 | 78 | 131 | 34.089744 | 0.788159 | 0.024445 | 0 | 0.68 | 0 | 0 | 0.097297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22 | false | 0 | 0.02 | 0.08 | 0.72 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
971b86d2fb03236b0add450e0c50b1288afd9435 | 27 | py | Python | src/euler_python_package/euler_python/medium/p365.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p365.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | src/euler_python_package/euler_python/medium/p365.py | wilsonify/euler | 5214b776175e6d76a7c6d8915d0e062d189d9b79 | [
"MIT"
] | null | null | null | def problem365():
pass
| 9 | 17 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.7 | 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 |
974c98647513145d1e1512505ddbc2cedf769787 | 165 | py | Python | e_shop/core/admin.py | rafattushar/e-shop | e0e4494cdac5299fcf51d83e23b21ea06dd5d6f5 | [
"MIT"
] | null | null | null | e_shop/core/admin.py | rafattushar/e-shop | e0e4494cdac5299fcf51d83e23b21ea06dd5d6f5 | [
"MIT"
] | null | null | null | e_shop/core/admin.py | rafattushar/e-shop | e0e4494cdac5299fcf51d83e23b21ea06dd5d6f5 | [
"MIT"
] | null | null | null | from django.contrib import admin
# from .models import Product, Category
# Register your models here.
# admin.site.register(Product)
# admin.site.register(Category)
| 27.5 | 39 | 0.787879 | 22 | 165 | 5.909091 | 0.545455 | 0.138462 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 5 | 40 | 33 | 0.890411 | 0.745455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
974e74e2fd448e51a09d9dc92b8e6440c031ce00 | 40 | py | Python | src/models/__init__.py | ryanapfel/clustering | 682bf22eeff2253acc0128323db97968a9a3b420 | [
"MIT"
] | null | null | null | src/models/__init__.py | ryanapfel/clustering | 682bf22eeff2253acc0128323db97968a9a3b420 | [
"MIT"
] | null | null | null | src/models/__init__.py | ryanapfel/clustering | 682bf22eeff2253acc0128323db97968a9a3b420 | [
"MIT"
] | null | null | null | from src.models.clustering import K_Mean | 40 | 40 | 0.875 | 7 | 40 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.918919 | 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 |
976db43172de1982d4f82d8fbc8bec8120d66125 | 325 | py | Python | src/fonduer/parser/visual_parser/__init__.py | annelhote/fonduer | bd5b1feebfb2860286ae8b5a520b24baa023b445 | [
"MIT"
] | 379 | 2018-03-29T10:06:02.000Z | 2022-03-30T22:51:43.000Z | src/fonduer/parser/visual_parser/__init__.py | annelhote/fonduer | bd5b1feebfb2860286ae8b5a520b24baa023b445 | [
"MIT"
] | 328 | 2018-03-29T03:34:46.000Z | 2021-09-02T21:24:41.000Z | src/fonduer/parser/visual_parser/__init__.py | annelhote/fonduer | bd5b1feebfb2860286ae8b5a520b24baa023b445 | [
"MIT"
] | 86 | 2018-03-30T12:56:33.000Z | 2022-01-12T09:10:48.000Z | """Fonduer's visual parser module."""
from fonduer.parser.visual_parser.hocr_visual_parser import HocrVisualParser
from fonduer.parser.visual_parser.pdf_visual_parser import PdfVisualParser
from fonduer.parser.visual_parser.visual_parser import VisualParser
__all__ = ["VisualParser", "PdfVisualParser", "HocrVisualPars... | 46.428571 | 76 | 0.846154 | 38 | 325 | 6.921053 | 0.342105 | 0.319392 | 0.273764 | 0.262357 | 0.330798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067692 | 325 | 6 | 77 | 54.166667 | 0.867987 | 0.095385 | 0 | 0 | 0 | 0 | 0.149306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
978f87475faf222e18c164c4015d68786e01ddda | 2,937 | py | Python | feelit/posts/migrations/0001_initial.py | Feelit/Back-end | e14b9f8a8ce57a7e70ea163647bc70e85a6389f2 | [
"MIT"
] | null | null | null | feelit/posts/migrations/0001_initial.py | Feelit/Back-end | e14b9f8a8ce57a7e70ea163647bc70e85a6389f2 | [
"MIT"
] | null | null | null | feelit/posts/migrations/0001_initial.py | Feelit/Back-end | e14b9f8a8ce57a7e70ea163647bc70e85a6389f2 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.11 on 2020-12-10 22:08
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Comment',
fields=[
... | 46.619048 | 155 | 0.575077 | 303 | 2,937 | 5.432343 | 0.267327 | 0.060146 | 0.08384 | 0.094775 | 0.701094 | 0.701094 | 0.701094 | 0.701094 | 0.701094 | 0.701094 | 0 | 0.0091 | 0.28907 | 2,937 | 62 | 156 | 47.370968 | 0.779215 | 0.015662 | 0 | 0.6 | 1 | 0 | 0.23053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.036364 | 0 | 0.109091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
97a1eec144555b29000b68c9659627a7e6313ea7 | 22 | py | Python | Connector/wsutils/__init__.py | swapper-pegasus/NodeChain | e1f7c6b372b1e5032fbeb2767503c1d2e878aa9c | [
"MIT"
] | 4 | 2021-05-05T18:34:03.000Z | 2022-01-05T06:41:02.000Z | Connector/wsutils/__init__.py | swapper-pegasus/NodeChain | e1f7c6b372b1e5032fbeb2767503c1d2e878aa9c | [
"MIT"
] | 94 | 2021-05-05T18:38:10.000Z | 2022-03-31T23:00:59.000Z | Connector/wsutils/__init__.py | swapper-pegasus/NodeChain | e1f7c6b372b1e5032fbeb2767503c1d2e878aa9c | [
"MIT"
] | 4 | 2021-05-03T14:44:43.000Z | 2022-01-21T19:56:04.000Z | from . import wsutils
| 11 | 21 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.944444 | 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 |
97d086033f41cc7a5db403fc76f8c59ec01b3081 | 21 | py | Python | astropy/utils/iers/__init__.py | jayvdb/astropy | bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | astropy/utils/iers/__init__.py | jayvdb/astropy | bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | astropy/utils/iers/__init__.py | jayvdb/astropy | bc6d8f106dd5b60bf57a8e6e29c4e2ae2178991f | [
"BSD-3-Clause"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z |
from .iers import *
| 7 | 19 | 0.666667 | 3 | 21 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 21 | 2 | 20 | 10.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c12db66c49c66a564c5e67200d748faea4c67e3e | 177 | py | Python | examples/simple/celeryconf.py | metglobal/octavious | 685b10f925432afb7bd0f2509db617600b065b86 | [
"Unlicense"
] | 1 | 2017-06-08T13:30:50.000Z | 2017-06-08T13:30:50.000Z | examples/simple/celeryconf.py | metglobal/octavious | 685b10f925432afb7bd0f2509db617600b065b86 | [
"Unlicense"
] | null | null | null | examples/simple/celeryconf.py | metglobal/octavious | 685b10f925432afb7bd0f2509db617600b065b86 | [
"Unlicense"
] | null | null | null | BROKER_URL = 'redis://localhost:6379/0'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_IMPORTS = ("octavious.parallelizer.celery", )
CELERY_TASK_RESULT_EXPIRES = 300
| 35.4 | 52 | 0.785311 | 23 | 177 | 5.73913 | 0.652174 | 0.212121 | 0.272727 | 0.287879 | 0.378788 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079268 | 0.073446 | 177 | 4 | 53 | 44.25 | 0.72561 | 0 | 0 | 0 | 0 | 0 | 0.435028 | 0.435028 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c145b875acb56e84455abb6e11b6df39971ea1d4 | 606,200 | py | Python | gs_quant/target/common.py | robertoronderosjr/gs-quant-1 | 34641c5d5a900695539dc9745da9f9eb673658aa | [
"Apache-2.0"
] | null | null | null | gs_quant/target/common.py | robertoronderosjr/gs-quant-1 | 34641c5d5a900695539dc9745da9f9eb673658aa | [
"Apache-2.0"
] | 1 | 2019-09-07T19:54:35.000Z | 2019-09-07T19:54:35.000Z | gs_quant/target/common.py | niuyuzhi/gs-quant | 6ca6ab6859d8a57ee89c51675f7d9934d6689f53 | [
"Apache-2.0"
] | 1 | 2019-11-27T16:34:45.000Z | 2019-11-27T16:34:45.000Z | """
Copyright 2019 Goldman Sachs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software di... | 31.818182 | 883 | 0.648783 | 57,013 | 606,200 | 6.651325 | 0.047358 | 0.040442 | 0.074731 | 0.105503 | 0.805093 | 0.789039 | 0.776007 | 0.768193 | 0.76246 | 0.512471 | 0 | 0.003237 | 0.254475 | 606,200 | 19,051 | 884 | 31.819852 | 0.835844 | 0.085452 | 0 | 0.666458 | 0 | 0 | 0.077849 | 0.014111 | 0 | 0 | 0 | 0 | 0 | 1 | 0.237063 | false | 0 | 0.002223 | 0.053831 | 0.419254 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c175091d5125b83b30f18f42218538805f6ac3ce | 16,231 | py | Python | cottonformation/res/cassandra.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 5 | 2021-07-22T03:45:59.000Z | 2021-12-17T21:07:14.000Z | cottonformation/res/cassandra.py | MacHu-GWU/cottonformation-project | 23e28c08cfb5a7cc0db6dbfdb1d7e1585c773f3b | [
"BSD-2-Clause"
] | 1 | 2021-06-25T18:01:31.000Z | 2021-06-25T18:01:31.000Z | cottonformation/res/cassandra.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 PropTableEncryptionSpecification(Property):
"""
AWS Object Type = "AW... | 58.175627 | 213 | 0.761567 | 1,753 | 16,231 | 6.961209 | 0.05077 | 0.112431 | 0.045972 | 0.071048 | 0.884209 | 0.883881 | 0.858477 | 0.817504 | 0.817258 | 0.814718 | 0 | 0.000069 | 0.106463 | 16,231 | 278 | 214 | 58.384892 | 0.841343 | 0.326043 | 0 | 0.356164 | 0 | 0 | 0.095106 | 0.054922 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027397 | 0 | 0.273973 | 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 |
c198407d60294728aabf2e7e4eece422a43453f6 | 9,494 | py | Python | nessclient_tests/test_alarm.py | nickw444/py-ness-232 | 783d3c713d22a53108ec8f9494386ba6e4f71d15 | [
"MIT"
] | 9 | 2018-11-19T05:08:57.000Z | 2021-07-09T03:34:51.000Z | nessclient_tests/test_alarm.py | nickw444/nessclient | 783d3c713d22a53108ec8f9494386ba6e4f71d15 | [
"MIT"
] | 14 | 2018-11-15T07:32:55.000Z | 2021-06-02T04:35:46.000Z | nessclient_tests/test_alarm.py | nickw444/py-ness-232 | 783d3c713d22a53108ec8f9494386ba6e4f71d15 | [
"MIT"
] | 3 | 2019-03-11T05:07:28.000Z | 2021-09-08T07:04:23.000Z | from unittest.mock import Mock
import pytest
from nessclient.alarm import Alarm, ArmingState
from nessclient.event import ArmingUpdate, ZoneUpdate, SystemStatusEvent
def test_state_is_initially_unknown(alarm):
assert alarm.arming_state == ArmingState.UNKNOWN
def test_zones_are_initially_unknown(alarm):
fo... | 33.907143 | 77 | 0.712029 | 1,163 | 9,494 | 5.545142 | 0.078246 | 0.085285 | 0.066987 | 0.113041 | 0.882462 | 0.870057 | 0.80183 | 0.788184 | 0.752985 | 0.715925 | 0 | 0.010174 | 0.202865 | 9,494 | 279 | 78 | 34.028674 | 0.841966 | 0.011165 | 0 | 0.679426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186603 | 1 | 0.138756 | false | 0 | 0.019139 | 0.004785 | 0.162679 | 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 |
c1ac8871c7f71655cc0360fb208cb0880a907ed5 | 24 | py | Python | GUI/__init__.py | PaulleDemon/ChatAssistant | 1cccb36154164238711daad5725d04c3438ffc8b | [
"MIT"
] | null | null | null | GUI/__init__.py | PaulleDemon/ChatAssistant | 1cccb36154164238711daad5725d04c3438ffc8b | [
"MIT"
] | null | null | null | GUI/__init__.py | PaulleDemon/ChatAssistant | 1cccb36154164238711daad5725d04c3438ffc8b | [
"MIT"
] | null | null | null | from GUI import chatbox
| 12 | 23 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
c1d550b655a0c8e7431aad27b0c33b491423f49d | 3,913 | py | Python | tests/test_iterators.py | gertvdijk/peony-twitter | b68411ce66c1f0fca916e25f826a2f7fe6ded432 | [
"MIT"
] | 79 | 2016-08-30T07:18:07.000Z | 2022-03-24T11:02:48.000Z | tests/test_iterators.py | gertvdijk/peony-twitter | b68411ce66c1f0fca916e25f826a2f7fe6ded432 | [
"MIT"
] | 42 | 2016-11-07T13:38:14.000Z | 2022-02-11T11:59:48.000Z | tests/test_iterators.py | gertvdijk/peony-twitter | b68411ce66c1f0fca916e25f826a2f7fe6ded432 | [
"MIT"
] | 13 | 2016-10-05T20:53:42.000Z | 2022-01-26T09:24:37.000Z | # -*- coding: utf-8 -*-
import pytest
from peony import iterators
from . import MockIteratorRequest
data = [{'id': 1, 'text': "Hello"}]
@pytest.mark.parametrize('response', (data, {'statuses': data}))
def test_get_data(response):
iterator = iterators.with_max_id(MockIteratorRequest)
assert iterator.get_da... | 26.439189 | 77 | 0.60874 | 490 | 3,913 | 4.689796 | 0.128571 | 0.057441 | 0.039164 | 0.057441 | 0.8651 | 0.847258 | 0.806789 | 0.802437 | 0.723673 | 0.691471 | 0 | 0.022159 | 0.284948 | 3,913 | 147 | 78 | 26.619048 | 0.799142 | 0.005367 | 0 | 0.693069 | 0 | 0 | 0.027764 | 0 | 0 | 0 | 0 | 0 | 0.108911 | 1 | 0.019802 | false | 0 | 0.029703 | 0 | 0.049505 | 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 |
a9fcf67740298ee68db8c752f4287387738cc95e | 28,446 | py | Python | pymaster/workspaces.py | LSSTDESC/NaMaster | 3707cf5d78688340f81d836f24a48435149d4df3 | [
"BSD-3-Clause"
] | 37 | 2018-08-31T15:59:52.000Z | 2022-02-08T19:47:36.000Z | pymaster/workspaces.py | LSSTDESC/NaMaster | 3707cf5d78688340f81d836f24a48435149d4df3 | [
"BSD-3-Clause"
] | 96 | 2018-08-20T07:35:37.000Z | 2022-02-22T13:38:23.000Z | pymaster/workspaces.py | LSSTDESC/NaMaster | 3707cf5d78688340f81d836f24a48435149d4df3 | [
"BSD-3-Clause"
] | 22 | 2018-08-16T21:15:48.000Z | 2022-03-29T05:28:48.000Z | from pymaster import nmtlib as lib
from pymaster.utils import _toeplitz_sanity
import numpy as np
class NmtWorkspace(object):
"""
NmtWorkspace objects are used to compute and store the coupling \
matrix associated with an incomplete sky coverage, and used in the \
MASTER algorithm. When initialized, t... | 41.527007 | 79 | 0.605744 | 4,067 | 28,446 | 4.116794 | 0.094173 | 0.035537 | 0.01087 | 0.010512 | 0.819327 | 0.794541 | 0.763065 | 0.738458 | 0.702741 | 0.688945 | 0 | 0.021048 | 0.303522 | 28,446 | 684 | 80 | 41.587719 | 0.824046 | 0.478907 | 0 | 0.539877 | 0 | 0 | 0.089458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079755 | false | 0 | 0.009202 | 0 | 0.134969 | 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 |
e712f77066f93add350f7e7c135f4e65a08d7f00 | 31 | py | Python | lib/umqtt/__init__.py | makercrew/turkey_temp_tracker | 39a7c60c9f3c04beff09ed438f658634fdeaeac9 | [
"MIT"
] | null | null | null | lib/umqtt/__init__.py | makercrew/turkey_temp_tracker | 39a7c60c9f3c04beff09ed438f658634fdeaeac9 | [
"MIT"
] | null | null | null | lib/umqtt/__init__.py | makercrew/turkey_temp_tracker | 39a7c60c9f3c04beff09ed438f658634fdeaeac9 | [
"MIT"
] | 1 | 2019-02-13T08:43:20.000Z | 2019-02-13T08:43:20.000Z | from .simple import MQTTClient
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e75ead56809076c3a53188559da618d07e8cf513 | 551 | py | Python | heaps/constructHeap.py | iamlmn/PyDS | 11b00629a91e8231eea7f8feb7c3c6065fdb1ce5 | [
"MIT"
] | null | null | null | heaps/constructHeap.py | iamlmn/PyDS | 11b00629a91e8231eea7f8feb7c3c6065fdb1ce5 | [
"MIT"
] | null | null | null | heaps/constructHeap.py | iamlmn/PyDS | 11b00629a91e8231eea7f8feb7c3c6065fdb1ce5 | [
"MIT"
] | null | null | null | class MinHeap:
def __init__(self, array):
# Do not edit the line below.
self.heap = self.buildHeap(array)
def buildHeap(self, array):
# Write your code here.
pass
def siftDown(self):
# Write your code here.
pass
def siftUp(self):
# Write your co... | 19 | 41 | 0.537205 | 67 | 551 | 4.358209 | 0.373134 | 0.184932 | 0.267123 | 0.349315 | 0.537671 | 0.465753 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 0.38294 | 551 | 28 | 42 | 19.678571 | 0.858824 | 0.288566 | 0 | 0.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.466667 | false | 0.4 | 0 | 0 | 0.533333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
e77477bc23ceaef61d23955961cf22fb2a778486 | 19,222 | py | Python | tests/test_genrequest.py | surfer190/python-zimbra | 9d38364b068fd3651e43dfd40246e52fe7a99137 | [
"BSD-2-Clause"
] | 50 | 2015-04-16T20:03:25.000Z | 2021-12-20T08:03:20.000Z | tests/test_genrequest.py | surfer190/python-zimbra | 9d38364b068fd3651e43dfd40246e52fe7a99137 | [
"BSD-2-Clause"
] | 19 | 2015-01-09T12:23:52.000Z | 2022-03-04T18:17:11.000Z | tests/test_genrequest.py | surfer190/python-zimbra | 9d38364b068fd3651e43dfd40246e52fe7a99137 | [
"BSD-2-Clause"
] | 22 | 2015-01-06T03:32:48.000Z | 2021-07-27T08:08:36.000Z | """ Test usage of communication.authenticate and communication.gen_request
"""
from unittest import TestCase
from pythonzimbra.exceptions.communication import UnknownRequestType
from pythonzimbra.request_json import RequestJson
from pythonzimbra.request_xml import RequestXml
from pythonzimbra.tools.auth import authenti... | 26.734353 | 77 | 0.453751 | 1,452 | 19,222 | 5.850551 | 0.071625 | 0.062507 | 0.107357 | 0.129959 | 0.917834 | 0.908534 | 0.908534 | 0.908534 | 0.908534 | 0.908534 | 0 | 0.001145 | 0.454895 | 19,222 | 718 | 78 | 26.771588 | 0.809601 | 0.060556 | 0 | 0.691684 | 0 | 0 | 0.178252 | 0 | 0 | 0 | 0 | 0 | 0.060852 | 1 | 0.022312 | false | 0 | 0.014199 | 0 | 0.03854 | 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 |
e77cfdfd4105464a3a9edd9da1f38ffd5d45fc1c | 23 | py | Python | dung/__init__.py | dgholz/dung | ab7ca42c97dfe53377b819083fbf44df45e78e6d | [
"MIT"
] | null | null | null | dung/__init__.py | dgholz/dung | ab7ca42c97dfe53377b819083fbf44df45e78e6d | [
"MIT"
] | null | null | null | dung/__init__.py | dgholz/dung | ab7ca42c97dfe53377b819083fbf44df45e78e6d | [
"MIT"
] | null | null | null | from .dung import Dung
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e77d56ef41363f85946e17fb5f83b3d253619b31 | 54 | py | Python | pdffitx/calibration/__init__.py | st3107/pdffitx | c746f6dfaf5656e9bb62508a9847c00567b34bbe | [
"BSD-3-Clause"
] | 1 | 2022-03-10T11:59:34.000Z | 2022-03-10T11:59:34.000Z | pdffitx/calibration/__init__.py | st3107/pdffitx | c746f6dfaf5656e9bb62508a9847c00567b34bbe | [
"BSD-3-Clause"
] | null | null | null | pdffitx/calibration/__init__.py | st3107/pdffitx | c746f6dfaf5656e9bb62508a9847c00567b34bbe | [
"BSD-3-Clause"
] | 2 | 2020-12-14T18:38:43.000Z | 2022-03-30T00:25:35.000Z | from .main import calib_pipe
calib_pipe = calib_pipe
| 13.5 | 28 | 0.814815 | 9 | 54 | 4.555556 | 0.555556 | 0.658537 | 0.682927 | 0.878049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 3 | 29 | 18 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
e7a1f287362a625d457dce033aa8f448556fece0 | 36 | py | Python | treeshake/__init__.py | getpova/treeshake | bc5087c002c075ef24277c5801390cefefeb3086 | [
"MIT"
] | 2 | 2021-04-28T20:29:31.000Z | 2021-04-29T13:34:30.000Z | treeshake/__init__.py | jackmanapp/treeshake | bc5087c002c075ef24277c5801390cefefeb3086 | [
"MIT"
] | 12 | 2021-04-28T20:15:59.000Z | 2021-06-12T13:01:11.000Z | treeshake/__init__.py | jackmanapp/treeshake | bc5087c002c075ef24277c5801390cefefeb3086 | [
"MIT"
] | null | null | null | from treeshake.shaker import Shaker
| 18 | 35 | 0.861111 | 5 | 36 | 6.2 | 0.8 | 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 |
99b0aca61d82f9d51a05fe32b528bfad4fbe603a | 2,749 | py | Python | cogs/anti_link.py | Kumarozh/Modration_bot | 1d99ed22a2952aa0ec2f4dee2238928bad3fdc96 | [
"MIT"
] | null | null | null | cogs/anti_link.py | Kumarozh/Modration_bot | 1d99ed22a2952aa0ec2f4dee2238928bad3fdc96 | [
"MIT"
] | null | null | null | cogs/anti_link.py | Kumarozh/Modration_bot | 1d99ed22a2952aa0ec2f4dee2238928bad3fdc96 | [
"MIT"
] | null | null | null | import discord
from discord import Embed
from discord.ext import commands
import datetime
class anti_link(commands.Cog):
def __init__(self, client):
self.client=client
@commands.Cog.listener()
async def on_message(self, message):
#links///////////////////////////////////////////////////////////... | 70.487179 | 163 | 0.627137 | 324 | 2,749 | 5.185185 | 0.194444 | 0.066667 | 0.047619 | 0.05 | 0.858333 | 0.858333 | 0.83869 | 0.83869 | 0.83869 | 0.83869 | 0 | 0.039613 | 0.210258 | 2,749 | 39 | 164 | 70.487179 | 0.734224 | 0.050564 | 0 | 0.605263 | 0 | 0.105263 | 0.155152 | 0 | 0 | 0 | 0.01235 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.105263 | 0 | 0.184211 | 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 |
822aa4c5774865d358908b7b6bc30267ea48f553 | 18,904 | py | Python | myproductivitytool/project/views.py | jhahitesh/myroductivitytool | 40d2409bae408ab6b57136922d5d5fba47e6d9c5 | [
"MIT"
] | null | null | null | myproductivitytool/project/views.py | jhahitesh/myroductivitytool | 40d2409bae408ab6b57136922d5d5fba47e6d9c5 | [
"MIT"
] | 5 | 2020-06-05T21:43:28.000Z | 2021-06-10T18:22:52.000Z | myproductivitytool/project/views.py | jhahitesh/myproductivitytool | 40d2409bae408ab6b57136922d5d5fba47e6d9c5 | [
"MIT"
] | null | null | null | from myproductivitytool.common.utils import *
from myproductivitytool.common.models import *
from myproductivitytool.common.responses import *
from myproductivitytool.common.serializers import *
from myproductivitytool.common.services import *
from myproductivitytool.project.utils import *
from myproductivitytool.pro... | 30.441224 | 129 | 0.709109 | 2,420 | 18,904 | 5.382645 | 0.083471 | 0.08176 | 0.062183 | 0.033548 | 0.823507 | 0.777368 | 0.764318 | 0.7462 | 0.742131 | 0.73123 | 0 | 0.000647 | 0.182078 | 18,904 | 620 | 130 | 30.490323 | 0.841806 | 0.031052 | 0 | 0.689732 | 0 | 0 | 0.19343 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020089 | false | 0 | 0.044643 | 0 | 0.229911 | 0.020089 | 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 |
824724d885be1e815777f1de312fdb648ee66f4c | 30 | py | Python | optimization/quantization/quant/__init__.py | AICryptoGroup/TorchSlim | 5e1a5eb994b7b22e226cce9ee3849a623ddaacb7 | [
"Apache-2.0"
] | 5 | 2022-03-11T09:35:33.000Z | 2022-03-26T14:47:03.000Z | optimization/quantization/quant/__init__.py | AICryptoGroup/TorchSlim | 5e1a5eb994b7b22e226cce9ee3849a623ddaacb7 | [
"Apache-2.0"
] | null | null | null | optimization/quantization/quant/__init__.py | AICryptoGroup/TorchSlim | 5e1a5eb994b7b22e226cce9ee3849a623ddaacb7 | [
"Apache-2.0"
] | 1 | 2022-03-11T09:47:28.000Z | 2022-03-11T09:47:28.000Z | from .qat import QAT_Quantizer | 30 | 30 | 0.866667 | 5 | 30 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4192b01e71c550a885102ea8a1f5ee005e1139d2 | 347 | py | Python | aws.py | aishwaryashand/CB | 1015890f8b6789d42540f325aa7913c286dc56d8 | [
"Apache-2.0"
] | null | null | null | aws.py | aishwaryashand/CB | 1015890f8b6789d42540f325aa7913c286dc56d8 | [
"Apache-2.0"
] | null | null | null | aws.py | aishwaryashand/CB | 1015890f8b6789d42540f325aa7913c286dc56d8 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python2
import os
import webbrowser
#import camera
#nam=camera.name1()
#os.system(scp -i ../Downloads/warya.pem "subject_id" ubuntu@172.31.46.125)'
# copy image captured to instance
os.system("scp -i /home/adhoc/Downloads/warya.pem /home/adhoc/Desktop/attendance/Gallery/aishwarya.jpg ubuntu@18.222.253.203... | 23.133333 | 147 | 0.752161 | 56 | 347 | 4.642857 | 0.75 | 0.061538 | 0.084615 | 0.092308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072555 | 0.086455 | 347 | 14 | 148 | 24.785714 | 0.747634 | 0.446686 | 0 | 0 | 0 | 0.333333 | 0.728261 | 0.679348 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
68dbe0d5331345da822b8ed10ff16229a3580693 | 10,888 | py | Python | data-hub-api/apps/migrator/tests/queries/test_extras.py | uktrade/data-hub-api-old | 5ecf093d88692870982a638ced45de6a82d55672 | [
"MIT"
] | null | null | null | data-hub-api/apps/migrator/tests/queries/test_extras.py | uktrade/data-hub-api-old | 5ecf093d88692870982a638ced45de6a82d55672 | [
"MIT"
] | 18 | 2016-04-04T12:42:45.000Z | 2016-09-01T07:21:05.000Z | data-hub-api/apps/migrator/tests/queries/test_extras.py | uktrade/data-hub-api-old | 5ecf093d88692870982a638ced45de6a82d55672 | [
"MIT"
] | 1 | 2016-06-01T15:45:21.000Z | 2016-06-01T15:45:21.000Z | from django.db.models import Count
from migrator.tests.models import SimpleObj
from migrator.tests.base import BaseMockedCDMSRestApiTestCase
from reversion.models import Revision, Version
class SingleObjMixin(object):
def setUp(self):
super(SingleObjMixin, self).setUp()
self.obj = SimpleObj.obje... | 28.502618 | 98 | 0.651819 | 922 | 10,888 | 7.578091 | 0.110629 | 0.112208 | 0.161013 | 0.270502 | 0.870331 | 0.804637 | 0.763704 | 0.714613 | 0.697438 | 0.482181 | 0 | 0.003428 | 0.249816 | 10,888 | 381 | 99 | 28.577428 | 0.851983 | 0.002663 | 0 | 0.641196 | 0 | 0 | 0.027634 | 0 | 0 | 0 | 0 | 0 | 0.405316 | 1 | 0.162791 | false | 0 | 0.013289 | 0 | 0.259136 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
68f6678a6311f09b0a752bb80c0a275f7d64d3c0 | 128 | py | Python | __init__.py | hoainv99/vehicle-plate-number-detection | 5df6fd9714b8f3045319d78c7ddf1dfc725ae0b4 | [
"MIT"
] | null | null | null | __init__.py | hoainv99/vehicle-plate-number-detection | 5df6fd9714b8f3045319d78c7ddf1dfc725ae0b4 | [
"MIT"
] | null | null | null | __init__.py | hoainv99/vehicle-plate-number-detection | 5df6fd9714b8f3045319d78c7ddf1dfc725ae0b4 | [
"MIT"
] | 1 | 2021-11-23T08:36:08.000Z | 2021-11-23T08:36:08.000Z | import sys
from importlib import reload
sys.path.append("plate_detection/")
sys.path.append("plate_recognition/")
reload(sys)
| 16 | 37 | 0.789063 | 18 | 128 | 5.5 | 0.555556 | 0.181818 | 0.262626 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085938 | 128 | 7 | 38 | 18.285714 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
ec3d1f3a21b06f8310d98704d8dc3e49b0124ef7 | 10,007 | py | Python | tasks/calc-1/flags_and_teams.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | 3 | 2021-03-30T06:27:58.000Z | 2021-04-03T17:56:35.000Z | tasks/calc-1/flags_and_teams.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | tasks/calc-1/flags_and_teams.py | irdkwmnsb/lkshl-ctf | e5c0200ddc8ba73df5f321b87b9763fb1bbaba57 | [
"MIT"
] | null | null | null | data = {'CYmDPYOd0ozF': 'LKL{U_r_a_calculator_MpU6R52l}', 'tsMJbzUwvBM8': 'LKL{U_r_a_calculator_ZCMMryOX}', '9ZIfQSZWlUEM': 'LKL{U_r_a_calculator_zQhyTruO}', 'aZyY84MtXqsP': 'LKL{U_r_a_calculator_ezQkaKy7}', 'NQc0Twe0rsTG': 'LKL{U_r_a_calculator_NLOxU80o}', 'AWKw80OZi395': 'LKL{U_r_a_calculator_ZRqFdjDu}', 'qa2bg6368L8... | 10,007 | 10,007 | 0.79984 | 1,401 | 10,007 | 5.142041 | 0.289793 | 0.111049 | 0.138812 | 0.166574 | 0.444198 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066833 | 0.040072 | 10,007 | 1 | 10,007 | 10,007 | 0.683115 | 0 | 0 | 0 | 0 | 0 | 0.839329 | 0.59952 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ec4f82ae85cff9fdfc494cfb2ad685bfae84acd7 | 129 | py | Python | neuralqa/utils/__init__.py | thecloudcircle/neuralqa | 4bf8a01c75af747053bf52d1dd8f0cc23daf1d58 | [
"MIT"
] | 220 | 2020-06-30T16:16:41.000Z | 2022-03-21T08:01:13.000Z | neuralqa/utils/__init__.py | thecloudcircle/neuralqa | 4bf8a01c75af747053bf52d1dd8f0cc23daf1d58 | [
"MIT"
] | 36 | 2020-06-15T16:28:04.000Z | 2022-02-27T09:59:57.000Z | neuralqa/utils/__init__.py | thecloudcircle/neuralqa | 4bf8a01c75af747053bf52d1dd8f0cc23daf1d58 | [
"MIT"
] | 33 | 2020-08-01T05:33:37.000Z | 2021-11-29T18:31:10.000Z | from .config_utils import ConfigParser
from .file_utils import *
from .data_utils import import_sample_data, parse_field_content
| 32.25 | 63 | 0.860465 | 19 | 129 | 5.473684 | 0.578947 | 0.317308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100775 | 129 | 3 | 64 | 43 | 0.896552 | 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 |
ec5159393494a531fec3b4a82eb073349463facb | 23,153 | py | Python | qap/test_cli.py | manwithadodla/quality-assessment-protocol | 9f4d660bd67eb20d4b4a28ae7e837e6d396f0318 | [
"BSD-3-Clause"
] | 38 | 2015-01-23T20:07:22.000Z | 2021-11-08T07:08:27.000Z | qap/test_cli.py | manwithadodla/quality-assessment-protocol | 9f4d660bd67eb20d4b4a28ae7e837e6d396f0318 | [
"BSD-3-Clause"
] | 107 | 2015-01-09T00:34:34.000Z | 2022-02-28T07:44:10.000Z | qap/test_cli.py | manwithadodla/quality-assessment-protocol | 9f4d660bd67eb20d4b4a28ae7e837e6d396f0318 | [
"BSD-3-Clause"
] | 24 | 2015-09-14T16:11:12.000Z | 2021-10-04T08:09:16.000Z |
import pytest
import unittest
# un-skip this once the CLI is un-classed
@pytest.mark.skip()
class TestValidateConfigDict(unittest.TestCase):
def setUp(self):
from qap.cli import validate_config_dict
self.validate_config_dict = validate_config_dict
self.good_config_dict = {"num_processors... | 39.37585 | 166 | 0.616724 | 3,215 | 23,153 | 4.097667 | 0.077449 | 0.026871 | 0.037498 | 0.030742 | 0.856612 | 0.813952 | 0.793988 | 0.778883 | 0.742979 | 0.705784 | 0 | 0.051345 | 0.248823 | 23,153 | 587 | 167 | 39.44293 | 0.706129 | 0.051613 | 0 | 0.593103 | 0 | 0.032184 | 0.331965 | 0.177294 | 0 | 0 | 0 | 0 | 0.11954 | 1 | 0.057471 | false | 0.013793 | 0.057471 | 0 | 0.126437 | 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 |
ec59440191ee70d6d9f31a34b765939b314cbb3e | 47 | py | Python | scripts/portal/in_party2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/in_party2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/in_party2.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 221023200
sm.warp(221023300, 0)
sm.dispose()
| 11.75 | 21 | 0.723404 | 7 | 47 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.106383 | 47 | 3 | 22 | 15.666667 | 0.357143 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b60bd41986fcb52446141fc1ace9084fe8cbec0 | 109 | py | Python | appvalidator/loader.py | mstriemer/app-validator | ceaa373965192e3e08e7b38476cca09d44b345e7 | [
"BSD-3-Clause"
] | 20 | 2015-01-16T21:35:27.000Z | 2021-11-11T00:22:43.000Z | appvalidator/loader.py | mstriemer/app-validator | ceaa373965192e3e08e7b38476cca09d44b345e7 | [
"BSD-3-Clause"
] | 14 | 2015-01-15T21:26:33.000Z | 2016-01-18T16:47:15.000Z | appvalidator/loader.py | mstriemer/app-validator | ceaa373965192e3e08e7b38476cca09d44b345e7 | [
"BSD-3-Clause"
] | 14 | 2015-02-14T22:42:40.000Z | 2021-11-11T00:22:33.000Z | import testcases.content
import testcases.locales
import testcases.packagelayout
import testcases.webappbase
| 21.8 | 30 | 0.889908 | 12 | 109 | 8.083333 | 0.5 | 0.618557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 109 | 4 | 31 | 27.25 | 0.960396 | 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 |
6b696f08ecc88688073219a803f98c46be1a9298 | 182 | py | Python | katas/kyu_8/adam_and_eve.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_8/adam_and_eve.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_8/adam_and_eve.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | class Human:
pass
class Man(Human):
pass
class Woman(Human):
pass
def God():
""" god == PEP8 (forced to capitalize by CodeWars) """
return [Man(), Woman()]
| 11.375 | 58 | 0.576923 | 23 | 182 | 4.565217 | 0.608696 | 0.257143 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007576 | 0.274725 | 182 | 15 | 59 | 12.133333 | 0.787879 | 0.252747 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0.375 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6b9922931db1752f19d74b549f513ba66a2b5c58 | 34 | py | Python | backend/tr/__init__.py | YaoYu-102-00/TrWebOCR | b4fd333b775378fdb94d3390d69b0b0e63635f71 | [
"Apache-2.0"
] | 1,228 | 2020-05-05T05:19:27.000Z | 2022-03-31T02:25:25.000Z | backend/tr/__init__.py | YaoYu-102-00/TrWebOCR | b4fd333b775378fdb94d3390d69b0b0e63635f71 | [
"Apache-2.0"
] | 129 | 2019-08-24T21:34:02.000Z | 2022-03-25T14:34:21.000Z | backend/tr/__init__.py | YaoYu-102-00/TrWebOCR | b4fd333b775378fdb94d3390d69b0b0e63635f71 | [
"Apache-2.0"
] | 348 | 2020-05-07T06:11:52.000Z | 2022-03-28T15:59:04.000Z | # coding: utf-8
from .tr import *
| 11.333333 | 17 | 0.647059 | 6 | 34 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.205882 | 34 | 2 | 18 | 17 | 0.777778 | 0.382353 | 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 |
6bd0891189a5ad37f50b9d3df08a7f7780434b59 | 174 | py | Python | cmsplugin_yandex_maps/addon_urls.py | useHTML5/cmsplugin-yandex-maps | 21e2004e3191f2018dcd059a421dcd6b5f901252 | [
"MIT"
] | 4 | 2017-04-25T10:38:40.000Z | 2020-03-10T09:08:28.000Z | cmsplugin_yandex_maps/addon_urls.py | useHTML5/cmsplugin-yandex-maps | 21e2004e3191f2018dcd059a421dcd6b5f901252 | [
"MIT"
] | 9 | 2017-02-07T08:28:09.000Z | 2017-02-28T09:50:03.000Z | cmsplugin_yandex_maps/addon_urls.py | useHTML5/cmsplugin-yandex-maps | 21e2004e3191f2018dcd059a421dcd6b5f901252 | [
"MIT"
] | 3 | 2019-09-29T01:25:21.000Z | 2022-03-29T08:45:47.000Z | from django.conf.urls import include, url
import cmsplugin_yandex_maps.urls
urlpatterns = (
url(r'^yamaps/', include(cmsplugin_yandex_maps.urls, namespace='yamaps')),
) | 24.857143 | 78 | 0.764368 | 23 | 174 | 5.608696 | 0.608696 | 0.232558 | 0.294574 | 0.356589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109195 | 174 | 7 | 79 | 24.857143 | 0.832258 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2e2d416ef5e0afad7ca05f8da19c5171c1333254 | 63 | py | Python | component/scripts/__init__.py | sepal-contrib/alert_module | fa1b45308bb04da5269177e5a05f37f4cf6add1e | [
"MIT"
] | null | null | null | component/scripts/__init__.py | sepal-contrib/alert_module | fa1b45308bb04da5269177e5a05f37f4cf6add1e | [
"MIT"
] | 3 | 2020-09-21T11:42:26.000Z | 2020-10-07T16:19:20.000Z | component/scripts/__init__.py | 12rambau/alert_module | fa1b45308bb04da5269177e5a05f37f4cf6add1e | [
"MIT"
] | null | null | null | from .alert import *
from .planet import *
from .grid import *
| 15.75 | 21 | 0.714286 | 9 | 63 | 5 | 0.555556 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 3 | 22 | 21 | 0.882353 | 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 |
2e2fa6363f5519bcde5da15657ce65db42a9f74e | 23 | py | Python | utils/awrams/utils/messaging/__init__.py | Zac-HD/awra_cms | ebc51df859ee665d936cf9600ea29dc8e45321d7 | [
"NetCDF"
] | 20 | 2016-12-01T03:13:50.000Z | 2021-12-02T23:43:38.000Z | utils/awrams/utils/messaging/__init__.py | Zac-HD/awra_cms | ebc51df859ee665d936cf9600ea29dc8e45321d7 | [
"NetCDF"
] | 2 | 2018-02-05T03:42:11.000Z | 2018-04-27T05:49:44.000Z | utils/awrams/utils/messaging/__init__.py | Zac-HD/awra_cms | ebc51df859ee665d936cf9600ea29dc8e45321d7 | [
"NetCDF"
] | 22 | 2016-12-13T19:57:43.000Z | 2021-12-08T02:52:19.000Z |
from .general import * | 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 2 | 22 | 11.5 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.