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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c88431dd8b111e4b638834dd3dd63e469bfd06c | 32 | py | Python | downloadNLTK.py | ExploreNcrack/Language-Model-Information-Retrieval | d7042209558e0ab5207f30660ea3fb43955f4a96 | [
"MIT"
] | 1 | 2020-09-30T19:53:36.000Z | 2020-09-30T19:53:36.000Z | downloadNLTK.py | ExploreNcrack/Language-Model-Information-Retrieval | d7042209558e0ab5207f30660ea3fb43955f4a96 | [
"MIT"
] | null | null | null | downloadNLTK.py | ExploreNcrack/Language-Model-Information-Retrieval | d7042209558e0ab5207f30660ea3fb43955f4a96 | [
"MIT"
] | null | null | null | import nltk
nltk.download("all") | 16 | 20 | 0.78125 | 5 | 32 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 32 | 2 | 20 | 16 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
7c8ef041ec4e6947688c30a7575b6dbfe1744c8b | 1,379 | py | Python | 1-50/PE8.py | Skylite73/My_Project_Euler | 8c5f7fcb5ecab90bab44e6a4d26ebc0a6779990a | [
"MIT"
] | null | null | null | 1-50/PE8.py | Skylite73/My_Project_Euler | 8c5f7fcb5ecab90bab44e6a4d26ebc0a6779990a | [
"MIT"
] | null | null | null | 1-50/PE8.py | Skylite73/My_Project_Euler | 8c5f7fcb5ecab90bab44e6a4d26ebc0a6779990a | [
"MIT"
] | null | null | null | # Project Euler 8
import timeit
def thing():
num = str(7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934... | 81.117647 | 1,015 | 0.851342 | 53 | 1,379 | 22.150943 | 0.528302 | 0.006814 | 0.008518 | 0.011925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.82329 | 0.1095 | 1,379 | 16 | 1,016 | 86.1875 | 0.132736 | 0.010877 | 0 | 0 | 0 | 0 | 0.008076 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0.153846 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7cbad17b3f5e7e98192c3c1cb1d2e2da8d281385 | 4,138 | py | Python | e2e_tests/tests/nightly/test_capability.py | gh-determined-ai/determined | 9a1ab33a3a356b69681b3351629fef4ab98ddb56 | [
"Apache-2.0"
] | null | null | null | e2e_tests/tests/nightly/test_capability.py | gh-determined-ai/determined | 9a1ab33a3a356b69681b3351629fef4ab98ddb56 | [
"Apache-2.0"
] | null | null | null | e2e_tests/tests/nightly/test_capability.py | gh-determined-ai/determined | 9a1ab33a3a356b69681b3351629fef4ab98ddb56 | [
"Apache-2.0"
] | null | null | null | import pytest
from tests import config as conf
from tests import experiment as exp
@pytest.mark.nightly
def test_mmdetection_pytorch_const() -> None:
config = conf.load_config(conf.cv_examples_path("mmdetection_pytorch/const_fake_data.yaml"))
config = conf.set_max_length(config, {"batches": 200})
exp.ru... | 37.618182 | 100 | 0.769696 | 595 | 4,138 | 4.952941 | 0.115966 | 0.162878 | 0.069223 | 0.081439 | 0.90397 | 0.888361 | 0.865287 | 0.808619 | 0.65151 | 0.638276 | 0 | 0.014367 | 0.108507 | 4,138 | 109 | 101 | 37.963303 | 0.784494 | 0 | 0 | 0.430556 | 0 | 0 | 0.192122 | 0.11479 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.041667 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7cd1a1442b81b6fae7804af3a5638504c2dc2126 | 71 | py | Python | src/evaluator/__init__.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | src/evaluator/__init__.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | src/evaluator/__init__.py | natgen-team/NatGen | b1a7070caf3ff45cf2be1fc2196198e4e23cb30d | [
"MIT"
] | null | null | null | from .CodeBLEU import *
from .bleu import *
from .smooth_bleu import *
| 17.75 | 26 | 0.746479 | 10 | 71 | 5.2 | 0.5 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169014 | 71 | 3 | 27 | 23.666667 | 0.881356 | 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 | 0 | 0 | 0 | 5 |
7cfda1ef20a769fe9c7708be023f89901c031501 | 118 | py | Python | decision_tree/__init__.py | metjush/decision_tree | 561299819068b393f599f9f4c4c86f0ffb8c6d98 | [
"MIT"
] | 5 | 2015-11-09T16:07:04.000Z | 2021-04-08T06:47:14.000Z | decision_tree/__init__.py | metjush/decision_tree | 561299819068b393f599f9f4c4c86f0ffb8c6d98 | [
"MIT"
] | null | null | null | decision_tree/__init__.py | metjush/decision_tree | 561299819068b393f599f9f4c4c86f0ffb8c6d98 | [
"MIT"
] | 3 | 2016-06-20T22:52:45.000Z | 2021-04-08T06:47:43.000Z | from ClassTree import ClassificationTree
from ClassForest import RandomForest
from ClassTreeBagging import TreeBagger
| 29.5 | 40 | 0.898305 | 12 | 118 | 8.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 118 | 3 | 41 | 39.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
6b0b68b9cd08d080cce53ec9456ad346967c77ba | 113 | py | Python | corecat/models/__init__.py | DanceCats/dancecat-core | 877c475413237205526cca02372f378b6f39dbb3 | [
"MIT"
] | 1 | 2017-03-25T14:30:30.000Z | 2017-03-25T14:30:30.000Z | corecat/models/__init__.py | DanceCats/dancecat-core | 877c475413237205526cca02372f378b6f39dbb3 | [
"MIT"
] | 3 | 2017-03-23T11:05:02.000Z | 2017-04-03T08:38:40.000Z | corecat/models/__init__.py | DanceCats/dancecat-core | 877c475413237205526cca02372f378b6f39dbb3 | [
"MIT"
] | 1 | 2017-03-18T07:21:59.000Z | 2017-03-18T07:21:59.000Z | """Initial file for corecat.models packages."""
from ._sqlalchemy import Base, ProxyDictMixin, CoreCatBaseMixin
| 28.25 | 63 | 0.79646 | 12 | 113 | 7.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 113 | 3 | 64 | 37.666667 | 0.881188 | 0.362832 | 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 | 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 | 5 |
86427665958f0b8e9d275a1ae02ae6fc4f58e20d | 67 | py | Python | pylookup/__init__.py | zachbateman/pylookup | 77e4837a32464570c2a771e860d5d1175276df4d | [
"MIT"
] | 1 | 2021-11-27T20:18:08.000Z | 2021-11-27T20:18:08.000Z | pylookup/__init__.py | zachbateman/pylookup | 77e4837a32464570c2a771e860d5d1175276df4d | [
"MIT"
] | null | null | null | pylookup/__init__.py | zachbateman/pylookup | 77e4837a32464570c2a771e860d5d1175276df4d | [
"MIT"
] | null | null | null | from .pylookup import pylookup, file_lookup
from . import __main__
| 22.333333 | 43 | 0.820896 | 9 | 67 | 5.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 67 | 2 | 44 | 33.5 | 0.862069 | 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 | 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 | 5 |
864934997ca0565990bf4242b7ceb86191499ab5 | 105 | py | Python | python/testData/inspections/ChainedComparison4.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/ChainedComparison4.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/ChainedComparison4.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | a = <weak_warning descr="Simplify chained comparison">0 <= <caret>x < top and 0 >= y > top</weak_warning> | 105 | 105 | 0.695238 | 17 | 105 | 4.176471 | 0.764706 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.142857 | 105 | 1 | 105 | 105 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.254717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
86498d1a7849b73f2e21af2d7f3f9a86263ad01a | 112,272 | py | Python | manila/tests/share/drivers/test_service_instance.py | deiter/manila | ba94d20e823d2edad7e9bd01546cf1642b17d212 | [
"Apache-2.0"
] | 1 | 2019-05-06T10:33:38.000Z | 2019-05-06T10:33:38.000Z | manila/tests/share/drivers/test_service_instance.py | deiter/manila | ba94d20e823d2edad7e9bd01546cf1642b17d212 | [
"Apache-2.0"
] | 4 | 2019-05-06T11:45:17.000Z | 2019-05-09T14:23:28.000Z | manila/tests/share/drivers/test_service_instance.py | deiter/manila | ba94d20e823d2edad7e9bd01546cf1642b17d212 | [
"Apache-2.0"
] | 3 | 2019-05-03T12:32:47.000Z | 2021-01-30T20:26:19.000Z | # Copyright (c) 2014 NetApp, Inc.
# Copyright (c) 2015 Mirantis, Inc.
# All Rights Reserved.
#
# 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/license... | 46.760516 | 79 | 0.658009 | 13,006 | 112,272 | 5.243657 | 0.035522 | 0.052259 | 0.045573 | 0.036496 | 0.855262 | 0.818355 | 0.76768 | 0.723383 | 0.696946 | 0.671447 | 0 | 0.00568 | 0.245751 | 112,272 | 2,400 | 80 | 46.78 | 0.799684 | 0.012862 | 0 | 0.621764 | 0 | 0 | 0.119006 | 0.036024 | 0 | 0 | 0 | 0 | 0.143816 | 1 | 0.065197 | false | 0.002397 | 0.011026 | 0.005753 | 0.101151 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
864c59e08bd2557de0ede22256930763f97b92d4 | 906 | py | Python | atividade02/PGMMatrixInterface.py | chinaglia-rafa/PDI | d136c9803f88f9bf21a52c420cc2aa5fa93e79b9 | [
"MIT"
] | null | null | null | atividade02/PGMMatrixInterface.py | chinaglia-rafa/PDI | d136c9803f88f9bf21a52c420cc2aa5fa93e79b9 | [
"MIT"
] | null | null | null | atividade02/PGMMatrixInterface.py | chinaglia-rafa/PDI | d136c9803f88f9bf21a52c420cc2aa5fa93e79b9 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class PGMMatrixInterface(ABC):
def __init__():
pass
@abstractmethod
def init(self, matrix):
pass
@abstractmethod
def str(self, matrix):
pass
@abstractmethod
def set_item(self, matrix, i, j, value, debug = False):
pass
... | 17.423077 | 59 | 0.613687 | 93 | 906 | 5.870968 | 0.354839 | 0.362637 | 0.423077 | 0.346154 | 0.423077 | 0.139194 | 0 | 0 | 0 | 0 | 0 | 0 | 0.306843 | 906 | 51 | 60 | 17.764706 | 0.869427 | 0 | 0 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.324324 | false | 0.324324 | 0.027027 | 0 | 0.378378 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
869a212503f58edc4405e561201cf665604c0e4a | 201 | py | Python | EnergyIntensityIndicators/Industry/__init__.py | NREL/EnergyIntensityIndicators | 6d5a6d528ecd27b930d82088055224473ba2d63e | [
"BSD-3-Clause"
] | 7 | 2020-07-30T15:02:23.000Z | 2022-01-23T20:02:55.000Z | EnergyIntensityIndicators/Industry/__init__.py | NREL/EnergyIntensityIndicators | 6d5a6d528ecd27b930d82088055224473ba2d63e | [
"BSD-3-Clause"
] | 36 | 2020-06-18T15:47:32.000Z | 2021-09-13T21:20:49.000Z | EnergyIntensityIndicators/Industry/__init__.py | NREL/EnergyIntensityIndicators | 6d5a6d528ecd27b930d82088055224473ba2d63e | [
"BSD-3-Clause"
] | 2 | 2020-06-18T13:30:43.000Z | 2020-11-17T11:34:10.000Z | """
Industrial Sector Data Module
"""
"""
Industry Sector Data Module
"""
from .manufacturing import Manufacturing
from .nonmanufacuturing import NonManufacturing
from .asm_price_fit import Mfg_prices | 20.1 | 47 | 0.80597 | 23 | 201 | 6.913043 | 0.652174 | 0.125786 | 0.201258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 201 | 10 | 48 | 20.1 | 0.898305 | 0.144279 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
86dc3c677e388b5eaf4633b40bf0f3018bc888fe | 1,029 | py | Python | userpath/core.py | ThatXliner/userpath | fb29f5a7049d9bc84729d2c2b5a893253e1d8eaa | [
"Apache-2.0",
"MIT"
] | 111 | 2017-09-21T02:02:55.000Z | 2022-02-07T14:53:20.000Z | userpath/core.py | ThatXliner/userpath | fb29f5a7049d9bc84729d2c2b5a893253e1d8eaa | [
"Apache-2.0",
"MIT"
] | 30 | 2017-09-21T11:54:03.000Z | 2022-03-14T15:53:23.000Z | userpath/core.py | ThatXliner/userpath | fb29f5a7049d9bc84729d2c2b5a893253e1d8eaa | [
"Apache-2.0",
"MIT"
] | 19 | 2017-09-21T08:59:55.000Z | 2021-12-25T20:39:31.000Z | from .interface import Interface
from .utils import in_current_path
def prepend(location, app_name=None, shells=None, all_shells=False, home=None, check=False):
interface = Interface(shells=shells, all_shells=all_shells, home=home)
return interface.put(location, front=True, app_name=app_name, check=check)
d... | 44.73913 | 92 | 0.787172 | 152 | 1,029 | 5.118421 | 0.190789 | 0.138817 | 0.154242 | 0.097686 | 0.812339 | 0.812339 | 0.736504 | 0.667095 | 0.605398 | 0.605398 | 0 | 0 | 0.107872 | 1,029 | 22 | 93 | 46.772727 | 0.847495 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
86fc7ef7da670556d7cdec389fcc24eb61ff198a | 161 | py | Python | portfolio_website/portfolio/admin.py | carolwanjohi/personal-portfolio | add2e305221c9598873ec38423afc63f0c54624f | [
"MIT"
] | null | null | null | portfolio_website/portfolio/admin.py | carolwanjohi/personal-portfolio | add2e305221c9598873ec38423afc63f0c54624f | [
"MIT"
] | null | null | null | portfolio_website/portfolio/admin.py | carolwanjohi/personal-portfolio | add2e305221c9598873ec38423afc63f0c54624f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Creator, Project
# Register your models here.
admin.site.register(Creator)
admin.site.register(Project)
| 16.1 | 36 | 0.795031 | 22 | 161 | 5.818182 | 0.545455 | 0.140625 | 0.265625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 9 | 37 | 17.888889 | 0.907801 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
8100074fa37d00bf783ca00bee93a1274d364c84 | 147 | py | Python | UnitTesting/Columbus/forms.py | FalseG0d/AdvancedDjango | 52715ffea132e591f98f94b781960fc12a8613e4 | [
"MIT"
] | 9 | 2020-10-17T14:03:35.000Z | 2022-01-12T17:51:14.000Z | UnitTesting/Columbus/forms.py | FalseG0d/AdvancedDjango | 52715ffea132e591f98f94b781960fc12a8613e4 | [
"MIT"
] | null | null | null | UnitTesting/Columbus/forms.py | FalseG0d/AdvancedDjango | 52715ffea132e591f98f94b781960fc12a8613e4 | [
"MIT"
] | 4 | 2020-10-20T06:52:26.000Z | 2022-01-07T23:51:59.000Z | from .models import Name
from django.forms import ModelForm
class NameForm(ModelForm):
class Meta:
model=Name
fields='__all__' | 21 | 34 | 0.70068 | 18 | 147 | 5.5 | 0.722222 | 0.282828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231293 | 147 | 7 | 35 | 21 | 0.876106 | 0 | 0 | 0 | 0 | 0 | 0.047297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
81286af76139b70180b9936ac20bebe0df06d4d1 | 102 | py | Python | tunr/__init__.py | Starofall/VMTune | 68db71b8162b2faab83fd9fdff7a270373b12c2a | [
"MIT"
] | 1 | 2019-11-17T22:49:17.000Z | 2019-11-17T22:49:17.000Z | tunr/__init__.py | Starofall/VMTune | 68db71b8162b2faab83fd9fdff7a270373b12c2a | [
"MIT"
] | null | null | null | tunr/__init__.py | Starofall/VMTune | 68db71b8162b2faab83fd9fdff7a270373b12c2a | [
"MIT"
] | null | null | null | from colorama import Fore
def info(any, color=Fore.GREEN):
print(color + str(any) + Fore.RESET)
| 17 | 40 | 0.696078 | 16 | 102 | 4.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 102 | 5 | 41 | 20.4 | 0.845238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8138a88c168a39a9a9c2133efad225c0e9988a07 | 104 | py | Python | tags/api/tags/tags_route.py | andrequeiroz2/api-tags | ccc84c6b1ca5a6f907ea4c36db49a763c7d50445 | [
"MIT"
] | null | null | null | tags/api/tags/tags_route.py | andrequeiroz2/api-tags | ccc84c6b1ca5a6f907ea4c36db49a763c7d50445 | [
"MIT"
] | null | null | null | tags/api/tags/tags_route.py | andrequeiroz2/api-tags | ccc84c6b1ca5a6f907ea4c36db49a763c7d50445 | [
"MIT"
] | null | null | null | from .tags_api import TagsApi
def init_tags_api(api):
api.add_resource(TagsApi, "/api/users/tags")
| 20.8 | 48 | 0.75 | 17 | 104 | 4.352941 | 0.588235 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 4 | 49 | 26 | 0.813187 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8141609096114c44c0af062774d3a6f41c101bd8 | 229 | py | Python | app/api/dependencies/tasks.py | umluizlima/email-sender | d952874918fc6edc896dabe6d1c1e1391f9d8697 | [
"MIT"
] | 7 | 2020-05-24T16:49:05.000Z | 2021-05-03T18:50:00.000Z | app/api/dependencies/tasks.py | umluizlima/email-sender | d952874918fc6edc896dabe6d1c1e1391f9d8697 | [
"MIT"
] | 1 | 2021-11-07T18:52:54.000Z | 2021-11-07T18:52:55.000Z | app/api/dependencies/tasks.py | umluizlima/email-sender | d952874918fc6edc896dabe6d1c1e1391f9d8697 | [
"MIT"
] | 2 | 2020-05-24T16:49:07.000Z | 2022-02-03T00:57:25.000Z | from fastapi import Depends
from app.core.tasks import get_tasks_producer
from app.settings import Settings, get_settings
def tasks_producer(settings: Settings = Depends(get_settings)):
return get_tasks_producer(settings)
| 25.444444 | 63 | 0.825328 | 32 | 229 | 5.6875 | 0.375 | 0.214286 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117904 | 229 | 8 | 64 | 28.625 | 0.90099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
d4adb904438e8aafacd920a7354fe64924bb8df0 | 24 | py | Python | server/blogsley_flask/post/__init__.py | blogsley/blogsley-flask | 96257fe8195888eba77c25868112810b5374ae9f | [
"MIT"
] | 2 | 2020-02-23T05:58:08.000Z | 2020-05-03T18:11:19.000Z | server/blogsley_flask/post/__init__.py | blogsley/blogsley-flask | 96257fe8195888eba77c25868112810b5374ae9f | [
"MIT"
] | 4 | 2021-06-08T22:47:07.000Z | 2022-03-12T00:52:04.000Z | server/blogsley_flask/post/__init__.py | blogsley/blogsley-flask | 96257fe8195888eba77c25868112810b5374ae9f | [
"MIT"
] | null | null | null | from .entity import Post | 24 | 24 | 0.833333 | 4 | 24 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d4d83621aa02c67144d0433a80f67468032a3b4f | 78 | py | Python | autompc/tuning/__init__.py | StochLab/autompc | 657cf9c6ae6771b65b20fdcbaaadde31150afdff | [
"BSD-3-Clause"
] | 22 | 2021-06-05T21:10:46.000Z | 2022-03-16T08:29:05.000Z | autompc/tuning/__init__.py | StochLab/autompc | 657cf9c6ae6771b65b20fdcbaaadde31150afdff | [
"BSD-3-Clause"
] | 6 | 2022-02-21T03:10:33.000Z | 2022-03-22T10:43:35.000Z | autompc/tuning/__init__.py | StochLab/autompc | 657cf9c6ae6771b65b20fdcbaaadde31150afdff | [
"BSD-3-Clause"
] | 5 | 2021-10-14T16:55:50.000Z | 2022-03-04T09:38:54.000Z | from .pipeline_tuner import PipelineTuner
from .model_tuner import ModelTuner
| 26 | 41 | 0.871795 | 10 | 78 | 6.6 | 0.7 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 42 | 39 | 0.942857 | 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 | 0 | 0 | 0 | 5 |
be1de8d83d9064931ea2911c12de96e62a27c454 | 5,622 | py | Python | transformers-master/examples/code/oneshot.py | VITA-Group/BERT-Tickets | 4d8e0356939e7045e2f5ee908412a5026051d162 | [
"MIT"
] | 95 | 2020-08-20T23:24:50.000Z | 2022-03-03T16:56:51.000Z | oneshot.py | TAMU-VITA/BERT-Tickets | 4d8e0356939e7045e2f5ee908412a5026051d162 | [
"MIT"
] | 6 | 2020-10-07T16:35:29.000Z | 2022-03-10T03:30:15.000Z | transformers-master/examples/oneshot.py | harrywuhust2022/BERT-Tickets | 4d8e0356939e7045e2f5ee908412a5026051d162 | [
"MIT"
] | 12 | 2020-08-20T23:25:06.000Z | 2022-01-14T12:06:30.000Z | import argparse
from transformers import BertForMaskedLM, BertForSequenceClassification, BertForQuestionAnswering
from transformers import BertConfig
import torch.nn.utils.prune as prune
import numpy as np
import torch
parser = argparse.ArgumentParser(description='PyTorch Cifar10 Training')
parser.add_argument('--... | 34.072727 | 109 | 0.66471 | 730 | 5,622 | 4.954795 | 0.132877 | 0.052253 | 0.079624 | 0.104507 | 0.797346 | 0.765828 | 0.765828 | 0.739287 | 0.709981 | 0.683992 | 0 | 0.004661 | 0.198684 | 5,622 | 164 | 110 | 34.280488 | 0.798224 | 0 | 0 | 0.524194 | 0 | 0 | 0.083437 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016129 | false | 0 | 0.048387 | 0 | 0.072581 | 0.048387 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
078254c9916a6fb9dbfec95c12de8f28e37ca4cf | 158 | py | Python | book_1/branching.py | D-Mbithi/Real-Python-Course-Solutions | 6e743af5f9f40260df8d42b667b3535caed9db3b | [
"MIT"
] | 1 | 2019-10-24T17:56:23.000Z | 2019-10-24T17:56:23.000Z | book_1/branching.py | D-Mbithi/Real-Python-Course-Solutions | 6e743af5f9f40260df8d42b667b3535caed9db3b | [
"MIT"
] | null | null | null | book_1/branching.py | D-Mbithi/Real-Python-Course-Solutions | 6e743af5f9f40260df8d42b667b3535caed9db3b | [
"MIT"
] | null | null | null | num = 10
if num < 10:
print("number is less than 10")
elif num > 10:
print("number is greater than 10")
else:
print("the number is equal to 10")
| 17.555556 | 38 | 0.626582 | 28 | 158 | 3.535714 | 0.5 | 0.151515 | 0.20202 | 0.323232 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0.259494 | 158 | 8 | 39 | 19.75 | 0.74359 | 0 | 0 | 0 | 0 | 0 | 0.455696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0786fd8c4e5cbc21a407156bcdc83ce19b2750fd | 250 | py | Python | grow/extensions/hooks/dev_handler_hook_test.py | akashkalal/grow | e4813efecb270e00c52c4bb1cb317766a8c92e29 | [
"MIT"
] | 335 | 2016-04-02T20:12:21.000Z | 2022-03-28T18:55:26.000Z | grow/extensions/hooks/dev_handler_hook_test.py | kmcnellis/grow | 4787f5a01681ef0800e9b4388a56cdbc48209368 | [
"MIT"
] | 784 | 2016-04-01T16:56:41.000Z | 2022-03-05T01:25:34.000Z | grow/extensions/hooks/dev_handler_hook_test.py | kmcnellis/grow | 4787f5a01681ef0800e9b4388a56cdbc48209368 | [
"MIT"
] | 54 | 2016-05-03T13:06:15.000Z | 2021-09-24T04:46:23.000Z | """Tests for dev handler hook."""
import unittest
from grow.extensions.hooks import dev_handler_hook
class DevHandlerHookTestCase(unittest.TestCase):
"""Test the dev handler hook."""
def test_something(self):
"""?"""
pass
| 19.230769 | 50 | 0.68 | 29 | 250 | 5.758621 | 0.689655 | 0.179641 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 250 | 12 | 51 | 20.833333 | 0.835 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
078d3b92d7b8a75ff717c0523c0a22b73cae04d1 | 16,482 | py | Python | src/discipleClass.py | TestowanieAutomatyczneUG/projekt-i-Darkstaron123 | fe8c1e74eb73267ebb985bd030714250bb7adf67 | [
"MIT"
] | null | null | null | src/discipleClass.py | TestowanieAutomatyczneUG/projekt-i-Darkstaron123 | fe8c1e74eb73267ebb985bd030714250bb7adf67 | [
"MIT"
] | null | null | null | src/discipleClass.py | TestowanieAutomatyczneUG/projekt-i-Darkstaron123 | fe8c1e74eb73267ebb985bd030714250bb7adf67 | [
"MIT"
] | null | null | null | class DiscipleClass:
def displayAllDisciples(self,language):
import json
if (language == "EN"):
try:
with open('../data/data.txt') as json_file:
data = json.load(json_file)
for i in data['disciples']:
print('... | 48.763314 | 133 | 0.45668 | 1,420 | 16,482 | 5.28662 | 0.125352 | 0.065805 | 0.061809 | 0.079126 | 0.769548 | 0.744372 | 0.709338 | 0.709338 | 0.669508 | 0.62515 | 0 | 0.005218 | 0.418639 | 16,482 | 337 | 134 | 48.908012 | 0.77823 | 0.008191 | 0 | 0.739264 | 0 | 0 | 0.17808 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02454 | false | 0.006135 | 0.039877 | 0.003067 | 0.134969 | 0.282209 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
07c606bc582b49dfc0af1a39d01c419d014d2805 | 9,588 | py | Python | coba/tests/test_environments_core.py | VowpalWabbit/coba | f3ba37280ea6125dc334a501ba39b3d30696ef4b | [
"BSD-3-Clause"
] | 30 | 2020-08-06T22:17:34.000Z | 2022-03-15T12:20:20.000Z | coba/tests/test_environments_core.py | VowpalWabbit/coba | f3ba37280ea6125dc334a501ba39b3d30696ef4b | [
"BSD-3-Clause"
] | 5 | 2021-02-25T02:06:22.000Z | 2022-01-11T14:18:34.000Z | coba/tests/test_environments_core.py | VowpalWabbit/coba | f3ba37280ea6125dc334a501ba39b3d30696ef4b | [
"BSD-3-Clause"
] | 9 | 2020-11-25T19:55:44.000Z | 2021-10-01T20:20:36.000Z | import unittest
import unittest.mock
from pathlib import Path
from coba.pipes import DiskIO
from coba.environments import Environments, Environment, Shuffle, Take
class TestEnvironment(Environment):
def __init__(self, id) -> None:
self._id = id
@property
def params(self):
return {'id':se... | 40.8 | 113 | 0.601481 | 1,204 | 9,588 | 4.680233 | 0.086379 | 0.276841 | 0.053239 | 0.102041 | 0.807453 | 0.760071 | 0.713043 | 0.604259 | 0.58598 | 0.561668 | 0 | 0.030631 | 0.220275 | 9,588 | 235 | 114 | 40.8 | 0.723114 | 0 | 0 | 0.494505 | 0 | 0 | 0.114298 | 0.037543 | 0 | 0 | 0 | 0 | 0.576923 | 1 | 0.131868 | false | 0 | 0.027473 | 0.010989 | 0.181319 | 0.005495 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
07d4d3a9b7e00ad62ad2ebb073aa41828cf5cd27 | 18,564 | py | Python | tests/fields/test_lazy_reference_field.py | shellcodesniper/mongoengine | d76cb345be98045cde0fa078569cc8021c0d0162 | [
"MIT"
] | 3 | 2019-06-18T07:54:38.000Z | 2022-01-22T23:27:41.000Z | tests/fields/test_lazy_reference_field.py | shellcodesniper/mongoengine | d76cb345be98045cde0fa078569cc8021c0d0162 | [
"MIT"
] | 1 | 2022-01-22T23:27:23.000Z | 2022-01-22T23:27:23.000Z | tests/fields/test_lazy_reference_field.py | shellcodesniper/mongoengine | d76cb345be98045cde0fa078569cc8021c0d0162 | [
"MIT"
] | null | null | null | from bson import DBRef, ObjectId
import pytest
from mongoengine import *
from mongoengine.base import LazyReference
from tests.utils import MongoDBTestCase
class TestLazyReferenceField(MongoDBTestCase):
def test_lazy_reference_config(self):
# Make sure ReferenceField only accepts a document class or a s... | 32.229167 | 88 | 0.605365 | 1,858 | 18,564 | 5.89774 | 0.093649 | 0.052382 | 0.037781 | 0.035682 | 0.802884 | 0.755521 | 0.702865 | 0.690546 | 0.679139 | 0.66253 | 0 | 0.008777 | 0.294225 | 18,564 | 575 | 89 | 32.285217 | 0.827584 | 0.039054 | 0 | 0.75286 | 0 | 0 | 0.027608 | 0.001349 | 0 | 0 | 0 | 0 | 0.107551 | 1 | 0.052632 | false | 0.022883 | 0.011442 | 0 | 0.176201 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
07e991fb186447e1d70582fdad760abc2387e3c6 | 32 | py | Python | demo/build/broken.py | robopsi/calm | 1acf0847015e0e5d6fe2f14f30970fa69267c3a9 | [
"BSD-3-Clause"
] | 18 | 2017-07-03T21:18:58.000Z | 2017-10-31T11:27:28.000Z | demo/build/broken.py | mitsuhiko/calm | 1acf0847015e0e5d6fe2f14f30970fa69267c3a9 | [
"BSD-3-Clause"
] | 1 | 2017-07-05T20:24:37.000Z | 2017-07-05T20:24:37.000Z | demo/build/broken.py | mitsuhiko/calm | 1acf0847015e0e5d6fe2f14f30970fa69267c3a9 | [
"BSD-3-Clause"
] | 3 | 2017-07-12T18:26:26.000Z | 2021-03-03T11:38:49.000Z | class badlynamedclass:
pass
| 10.666667 | 22 | 0.75 | 3 | 32 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 32 | 2 | 23 | 16 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6afaea622c3622fa84c75e4324856bf6b6ef1013 | 58 | py | Python | te.py | wu-xiu-shu/test | 535f3425c8f997a54d637793949366e9a1f07141 | [
"Apache-2.0"
] | null | null | null | te.py | wu-xiu-shu/test | 535f3425c8f997a54d637793949366e9a1f07141 | [
"Apache-2.0"
] | null | null | null | te.py | wu-xiu-shu/test | 535f3425c8f997a54d637793949366e9a1f07141 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
#coding: utf-8
import re
import urllib
| 9.666667 | 17 | 0.724138 | 10 | 58 | 4.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.137931 | 58 | 5 | 18 | 11.6 | 0.82 | 0.5 | 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 | 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 | 5 |
ed02d06936dff8133836d40c280f2d78278d44a1 | 216 | py | Python | demo/apps/soakinspecks/admin.py | mysidewalk/pykc-meetup1 | 258dfb8debc46174c089cfb0583cb88b03fbbe07 | [
"MIT"
] | null | null | null | demo/apps/soakinspecks/admin.py | mysidewalk/pykc-meetup1 | 258dfb8debc46174c089cfb0583cb88b03fbbe07 | [
"MIT"
] | null | null | null | demo/apps/soakinspecks/admin.py | mysidewalk/pykc-meetup1 | 258dfb8debc46174c089cfb0583cb88b03fbbe07 | [
"MIT"
] | null | null | null | from django.contrib import admin
from soakinspecks.models import *
admin.site.register(Flavor)
admin.site.register(MixturePart)
admin.site.register(Mixture)
admin.site.register(Inventory)
admin.site.register(Order)
| 24 | 33 | 0.828704 | 29 | 216 | 6.172414 | 0.482759 | 0.251397 | 0.47486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064815 | 216 | 8 | 34 | 27 | 0.886139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
ed2cb7dc9bfb2043db7d2ec8d448e09704bf7602 | 703 | py | Python | hydra/core/environment/basic/resources.py | rpacholek/hydra | 60e3c2eec5ab1fd1dde8e510baa5175173c66a6a | [
"MIT"
] | null | null | null | hydra/core/environment/basic/resources.py | rpacholek/hydra | 60e3c2eec5ab1fd1dde8e510baa5175173c66a6a | [
"MIT"
] | null | null | null | hydra/core/environment/basic/resources.py | rpacholek/hydra | 60e3c2eec5ab1fd1dde8e510baa5175173c66a6a | [
"MIT"
] | null | null | null | import platform
from ..common.EnvVisibility import *
class CPUResource:
def get_name():
return "CPU"
@resource
def get_architecture():
return "architecture", platform.machine(), Public
@resource
def get_processor_type():
return "type", platform.processor(), Protected
... | 19 | 65 | 0.631579 | 72 | 703 | 5.958333 | 0.458333 | 0.097902 | 0.130536 | 0.074592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003876 | 0.266003 | 703 | 36 | 66 | 19.527778 | 0.827519 | 0.00569 | 0 | 0.3 | 0 | 0 | 0.082051 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.3 | true | 0 | 0.1 | 0.3 | 0.8 | 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 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ed425abce1e8e7745656b24f5646ed9ec3f76afa | 37 | py | Python | card_site/__init__.py | WiiLink24/Digicard | a6bbefb43aec2c31474380fe8f13cc7fc5939e7d | [
"MIT"
] | null | null | null | card_site/__init__.py | WiiLink24/Digicard | a6bbefb43aec2c31474380fe8f13cc7fc5939e7d | [
"MIT"
] | null | null | null | card_site/__init__.py | WiiLink24/Digicard | a6bbefb43aec2c31474380fe8f13cc7fc5939e7d | [
"MIT"
] | 1 | 2021-09-26T12:18:39.000Z | 2021-09-26T12:18:39.000Z | from . import assets, routes, upload
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.903226 | 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 | 0 | 0 | 0 | 5 |
ed4ad957a3a116652bee38b4bbc32d91cc0bab4e | 1,053 | py | Python | flockos/apis/users.py | bilmyers/pyflock | b440ffbcd6a18c0d81b81dcdcbae7ae16c025d39 | [
"Apache-2.0"
] | 14 | 2017-02-14T07:02:59.000Z | 2022-03-30T13:59:59.000Z | flockos/apis/users.py | bilmyers/pyflock | b440ffbcd6a18c0d81b81dcdcbae7ae16c025d39 | [
"Apache-2.0"
] | 10 | 2016-10-22T20:52:00.000Z | 2021-05-10T10:40:30.000Z | flockos/apis/users.py | bilmyers/pyflock | b440ffbcd6a18c0d81b81dcdcbae7ae16c025d39 | [
"Apache-2.0"
] | 8 | 2017-03-03T13:16:34.000Z | 2020-07-23T17:59:54.000Z | # coding: utf-8
# python 2 and python 3 compatibility library
from six import iteritems
from ..api_client import call_api
def get_info(token, **kwargs):
"""
This method makes a synchronous HTTP request.
:param str token: (required)
:return: response dict
"""
params = locals()
... | 23.4 | 73 | 0.645774 | 128 | 1,053 | 5.210938 | 0.414063 | 0.083958 | 0.047976 | 0.062969 | 0.734633 | 0.734633 | 0.734633 | 0.734633 | 0.734633 | 0.734633 | 0 | 0.003727 | 0.235518 | 1,053 | 44 | 74 | 23.931818 | 0.824845 | 0.273504 | 0 | 0.666667 | 0 | 0 | 0.122832 | 0.033237 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c0aadaede18f31fdf23d874beaa62ac6e976b5a | 289 | py | Python | gemini/__init__.py | randyesq/gemini-python | 6ced9d9620f39ce64e032f3033b9e89d472d95a2 | [
"MIT"
] | null | null | null | gemini/__init__.py | randyesq/gemini-python | 6ced9d9620f39ce64e032f3033b9e89d472d95a2 | [
"MIT"
] | null | null | null | gemini/__init__.py | randyesq/gemini-python | 6ced9d9620f39ce64e032f3033b9e89d472d95a2 | [
"MIT"
] | null | null | null | from .public_client import PublicClient
from .private_client import PrivateClient
try:
from .basewebsocket import BaseWebSocket
from .marketdataws import MarketDataWS
from .ordereventsws import OrderEventsWS
except ImportError:
pass
from .order_book import GeminiOrderBook
| 28.9 | 44 | 0.820069 | 31 | 289 | 7.548387 | 0.548387 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152249 | 289 | 9 | 45 | 32.111111 | 0.955102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.777778 | 0 | 0.777778 | 0 | 0 | 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 | 5 |
9c2c0d50bedd444ba002c6c29900bc8d7e282337 | 14,648 | py | Python | applications/FluidDynamicsApplication/tests/two_fluid_hydrostatic_pool_test.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 2 | 2020-04-30T19:13:08.000Z | 2021-04-14T19:40:47.000Z | applications/FluidDynamicsApplication/tests/two_fluid_hydrostatic_pool_test.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-04-30T19:19:09.000Z | 2020-05-02T14:22:36.000Z | applications/FluidDynamicsApplication/tests/two_fluid_hydrostatic_pool_test.py | AndreaVoltan/MyKratos7.0 | e977752722e8ef1b606f25618c4bf8fd04c434cc | [
"BSD-4-Clause"
] | 1 | 2020-06-12T08:51:24.000Z | 2020-06-12T08:51:24.000Z | from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import KratosMultiphysics
import KratosMultiphysics.FluidDynamicsApplication
from fluid_dynamics_analysis import FluidDynamicsAnalysis
import KratosMultiphysics.kratos_utilities as kra... | 51.038328 | 134 | 0.604997 | 1,217 | 14,648 | 7.103533 | 0.169269 | 0.108271 | 0.067091 | 0.057259 | 0.796992 | 0.793175 | 0.781608 | 0.781608 | 0.766686 | 0.759167 | 0 | 0.015619 | 0.305025 | 14,648 | 287 | 135 | 51.038328 | 0.833595 | 0.046696 | 0 | 0.663717 | 0 | 0 | 0.273496 | 0.054556 | 0 | 0 | 0 | 0 | 0.044248 | 1 | 0.057522 | false | 0 | 0.048673 | 0 | 0.123894 | 0.017699 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c3883db5717bd218694a8769f28ef94204d6562 | 69 | py | Python | CodingBat/Warmup-1/front3.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/front3.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | CodingBat/Warmup-1/front3.py | arthxvr/coding--python | 1e91707be6cb8fef816dad0c1a65f2cc3327357e | [
"MIT"
] | null | null | null | def front3(str):
return str * 3 if len(str) < 3 else str[:3] * 3
| 23 | 51 | 0.57971 | 14 | 69 | 2.857143 | 0.571429 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 0.26087 | 69 | 2 | 52 | 34.5 | 0.686275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
9c3abfbef092561fa6b9458c128c90e380208e32 | 1,322 | py | Python | lib/systems/d-allose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/d-allose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/d-allose.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns d-allose as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C 3.0639 -0.8179 -0.1121
C 1.8753 0.1728 -0.1688
C 0.5179 ... | 41.3125 | 64 | 0.396369 | 198 | 1,322 | 2.631313 | 0.535354 | 0.015355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.546282 | 0.501513 | 1,322 | 31 | 65 | 42.645161 | 0.24431 | 0.079425 | 0 | 0 | 0 | 0 | 0.929825 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | true | 0 | 0.035714 | 0 | 0.107143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c58e735698e62702c7331c99954fc7443ae2e24 | 41 | py | Python | tests/__init__.py | arunnarayanan/boilerplate | e7163cfc027053da8c31c03c87a09a920e398163 | [
"MIT"
] | null | null | null | tests/__init__.py | arunnarayanan/boilerplate | e7163cfc027053da8c31c03c87a09a920e398163 | [
"MIT"
] | null | null | null | tests/__init__.py | arunnarayanan/boilerplate | e7163cfc027053da8c31c03c87a09a920e398163 | [
"MIT"
] | null | null | null | """Unit test package for boilerplate."""
| 20.5 | 40 | 0.707317 | 5 | 41 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.805556 | 0.829268 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9c7325ee5f321e2c092a426d2f5a949f20e76925 | 471 | py | Python | src/minerl/herobraine/hero/__init__.py | imatge-upc/pixelcoordEDL | 353632feed6ac8c93758c1a2a1b7a477e7ff053c | [
"MIT"
] | 1 | 2021-06-10T04:03:24.000Z | 2021-06-10T04:03:24.000Z | src/minerl/herobraine/hero/__init__.py | imatge-upc/pixelcoordEDL | 353632feed6ac8c93758c1a2a1b7a477e7ff053c | [
"MIT"
] | null | null | null | src/minerl/herobraine/hero/__init__.py | imatge-upc/pixelcoordEDL | 353632feed6ac8c93758c1a2a1b7a477e7ff053c | [
"MIT"
] | null | null | null | """
minerl.herobraine.hero -- The interface between Hero (Malmo) and the minerl.herobraine package.
"""
import logging
logger = logging.getLogger(__name__)
import minerl.herobraine.hero.mc
import minerl.herobraine.hero.spaces
# from minerl.herobraine.hero.instance_manager import InstanceManager
from min... | 29.4375 | 96 | 0.794055 | 59 | 471 | 6.237288 | 0.440678 | 0.347826 | 0.380435 | 0.26087 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125265 | 471 | 15 | 97 | 31.4 | 0.893204 | 0.447983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9c7ba336b09fd960d6d11983cb144597d12c7f32 | 323 | py | Python | xoeuf/tests/test_fields_integration_with_reports/tests/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | 3 | 2015-05-16T04:40:14.000Z | 2016-01-26T05:36:20.000Z | xoeuf/tests/test_fields_integration_with_reports/tests/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | null | null | null | xoeuf/tests/test_fields_integration_with_reports/tests/__init__.py | merchise-autrement/xoeuf | 583a0faa345480e73110d467203eefd142b0a710 | [
"BSD-3-Clause"
] | 1 | 2017-03-23T23:08:50.000Z | 2017-03-23T23:08:50.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Copyright (c) Merchise Autrement [~º/~] and Contributors
# All rights reserved.
#
# This is free software; you can do what the LICENCE file allows you to.
#
from . import test_report_integration # no... | 32.3 | 72 | 0.547988 | 37 | 323 | 4.72973 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003597 | 0.139319 | 323 | 9 | 73 | 35.888889 | 0.625899 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1319a8c071a18b84f37c076059ba74f0eebdd953 | 102 | py | Python | pontos-turisticos/enderecos/admin.py | LucasVarela42/PontosTuristicos | 96d8a20739dbd9f56ae26bda069ae1862b89e35d | [
"BSD-3-Clause"
] | null | null | null | pontos-turisticos/enderecos/admin.py | LucasVarela42/PontosTuristicos | 96d8a20739dbd9f56ae26bda069ae1862b89e35d | [
"BSD-3-Clause"
] | null | null | null | pontos-turisticos/enderecos/admin.py | LucasVarela42/PontosTuristicos | 96d8a20739dbd9f56ae26bda069ae1862b89e35d | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from enderecos.models import Endereco
admin.site.register(Endereco) | 20.4 | 37 | 0.843137 | 14 | 102 | 6.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 102 | 5 | 38 | 20.4 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 5 |
134992ad72e88891be1a167e2d0ee539e91ff0eb | 55 | py | Python | tally_ho/settings/default.py | crononauta/tally-ho | ba2207bfaef27bee3ff13a393983ca493f767238 | [
"Apache-2.0"
] | null | null | null | tally_ho/settings/default.py | crononauta/tally-ho | ba2207bfaef27bee3ff13a393983ca493f767238 | [
"Apache-2.0"
] | null | null | null | tally_ho/settings/default.py | crononauta/tally-ho | ba2207bfaef27bee3ff13a393983ca493f767238 | [
"Apache-2.0"
] | null | null | null | from tally_ho.settings.common import * # flake8: noqa
| 27.5 | 54 | 0.763636 | 8 | 55 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.145455 | 55 | 1 | 55 | 55 | 0.851064 | 0.218182 | 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 | 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 | 5 |
13a1a7f7c55e1582f3b11f251429f92e0bcedf8b | 558 | py | Python | Refactoring/Python/prescription.py | signed/KataMedicineClash | ffe9265f632c3a7a82d25bb015ebeb9abb57cc5a | [
"MIT"
] | 7 | 2015-01-02T11:01:08.000Z | 2019-06-13T07:16:16.000Z | Refactoring/Python/prescription.py | signed/KataMedicineClash | ffe9265f632c3a7a82d25bb015ebeb9abb57cc5a | [
"MIT"
] | null | null | null | Refactoring/Python/prescription.py | signed/KataMedicineClash | ffe9265f632c3a7a82d25bb015ebeb9abb57cc5a | [
"MIT"
] | 8 | 2015-05-17T20:30:11.000Z | 2021-12-15T22:41:31.000Z | from datetime import timedelta, date
class Prescription(object):
def __init__(self, dispense_date=None, days_supply=30):
self.dispense_date = dispense_date or date.today()
self.days_supply = days_supply
def completion_date(self):
return self.dispense_date + timedelta(days = se... | 34.875 | 88 | 0.684588 | 73 | 558 | 4.931507 | 0.369863 | 0.233333 | 0.222222 | 0.122222 | 0.216667 | 0.216667 | 0.216667 | 0 | 0 | 0 | 0 | 0.00464 | 0.227599 | 558 | 16 | 89 | 34.875 | 0.830626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0.272727 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
13df136b853fb96c17e92504ccf459781694a138 | 587 | py | Python | nestedtensor/__init__.py | swolchok/nestedtensor | 3300e3bc42394ab4bb226cef8acc631012a72ef0 | [
"BSD-3-Clause"
] | 229 | 2019-10-23T22:05:35.000Z | 2022-03-23T00:42:43.000Z | nestedtensor/__init__.py | swolchok/nestedtensor | 3300e3bc42394ab4bb226cef8acc631012a72ef0 | [
"BSD-3-Clause"
] | 110 | 2019-11-07T19:58:00.000Z | 2022-02-22T21:29:45.000Z | nestedtensor/__init__.py | swolchok/nestedtensor | 3300e3bc42394ab4bb226cef8acc631012a72ef0 | [
"BSD-3-Clause"
] | 25 | 2019-10-28T15:01:21.000Z | 2022-02-22T21:23:41.000Z | import torch
from .nested.creation import as_nested_tensor
from .nested.creation import nested_tensor
from .nested.masking import nested_tensor_from_tensor_mask
from .nested.masking import nested_tensor_from_padded_tensor
from .nested.nested import NestedTensor
from .nested.nested import to_nested_tensor
from .neste... | 25.521739 | 60 | 0.846678 | 90 | 587 | 5.244444 | 0.255556 | 0.233051 | 0.169492 | 0.186441 | 0.552966 | 0.349576 | 0.165254 | 0 | 0 | 0 | 0 | 0 | 0.110733 | 587 | 22 | 61 | 26.681818 | 0.904215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
13e00580b8e56180859b0ba61b03800d01444f19 | 30,577 | py | Python | skyportal/tests/api/test_comments.py | dmitryduev/skyportal | 6c2ca82da38954d671c3d8f1de0ee03f362f5190 | [
"BSD-3-Clause"
] | 1 | 2021-01-20T05:58:16.000Z | 2021-01-20T05:58:16.000Z | skyportal/tests/api/test_comments.py | dmitryduev/skyportal | 6c2ca82da38954d671c3d8f1de0ee03f362f5190 | [
"BSD-3-Clause"
] | 151 | 2020-10-15T23:49:47.000Z | 2022-03-12T08:42:46.000Z | skyportal/tests/api/test_comments.py | dmitryduev/skyportal | 6c2ca82da38954d671c3d8f1de0ee03f362f5190 | [
"BSD-3-Clause"
] | null | null | null | import uuid
from skyportal.tests import api
def test_add_and_retrieve_comment_group_id(comment_token, public_source, public_group):
status, data = api(
'POST',
f'sources/{public_source.id}/comments',
data={
'text': 'Comment text',
'group_ids': [public_group.id],
... | 95.553125 | 7,322 | 0.886091 | 1,026 | 30,577 | 26.164717 | 0.098441 | 0.016986 | 0.015124 | 0.021606 | 0.154628 | 0.152505 | 0.147216 | 0.143602 | 0.141665 | 0.13943 | 0 | 0.10585 | 0.075874 | 30,577 | 319 | 7,323 | 95.852665 | 0.84418 | 0.011774 | 0 | 0.69434 | 0 | 0 | 0.801344 | 0.771186 | 0 | 1 | 0 | 0 | 0.184906 | 1 | 0.033962 | false | 0 | 0.007547 | 0 | 0.041509 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b918284784f063690690d1ac59c10a5590454d48 | 170 | py | Python | OOPS/Modules/Operations.py | TausifAnsari/PyHub | f6c949dc6a3974f57d7d146708443d0ceeb4418f | [
"MIT"
] | 1 | 2020-09-30T19:31:20.000Z | 2020-09-30T19:31:20.000Z | OOPS/Modules/Operations.py | TanviSutar/PyHub | 6281e9f515674fb51f0d0862c26ec18020fa7d83 | [
"MIT"
] | null | null | null | OOPS/Modules/Operations.py | TanviSutar/PyHub | 6281e9f515674fb51f0d0862c26ec18020fa7d83 | [
"MIT"
] | null | null | null | def add(a,b):
return a+b
def subtraction(a,b):
return a-b
def multiply(a,b):
return a*b
def division(a,b):
return a/b
def modulas(a,b):
return a%b | 12.142857 | 21 | 0.6 | 35 | 170 | 2.914286 | 0.257143 | 0.196078 | 0.392157 | 0.441176 | 0.607843 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252941 | 170 | 14 | 22 | 12.142857 | 0.80315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b91bd599a7a0caca033927acc0b2ad2bb8b2c5f3 | 117 | py | Python | server/app/wide/__init__.py | Rennty/x-proba | 939b71296d28b7a0a966c6022ed10dfb1612c6d6 | [
"MIT"
] | null | null | null | server/app/wide/__init__.py | Rennty/x-proba | 939b71296d28b7a0a966c6022ed10dfb1612c6d6 | [
"MIT"
] | null | null | null | server/app/wide/__init__.py | Rennty/x-proba | 939b71296d28b7a0a966c6022ed10dfb1612c6d6 | [
"MIT"
] | 2 | 2019-04-17T23:25:40.000Z | 2019-04-23T14:02:39.000Z | # -*- coding: utf-8 -*-
from flask import Blueprint
bp = Blueprint('wide', __name__)
from app.wide import routes
| 13 | 32 | 0.683761 | 16 | 117 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.179487 | 117 | 8 | 33 | 14.625 | 0.78125 | 0.179487 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
b91d27b5680a70cc80ac089f5caac4ec4d90390f | 65 | py | Python | lisp_shell/__init__.py | lisp/lisp_kernel | 203d77e497111ada93b185ec4c92f38b10c73f13 | [
"BSD-3-Clause"
] | null | null | null | lisp_shell/__init__.py | lisp/lisp_kernel | 203d77e497111ada93b185ec4c92f38b10c73f13 | [
"BSD-3-Clause"
] | null | null | null | lisp_shell/__init__.py | lisp/lisp_kernel | 203d77e497111ada93b185ec4c92f38b10c73f13 | [
"BSD-3-Clause"
] | null | null | null | """A lisp kernel for Jupyter"""
from .kernel import __version__
| 16.25 | 31 | 0.738462 | 9 | 65 | 4.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 3 | 32 | 21.666667 | 0.8 | 0.384615 | 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 | 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 | 5 |
b966a77f8404b7309d643a91d338b5c055c46450 | 151 | py | Python | odherogrid/__init__.py | PederHA/odherogrid | 3e9a5eb0949dc677961e86bf52c838a066f4b5fb | [
"MIT"
] | 5 | 2020-08-01T19:45:51.000Z | 2021-05-17T20:40:42.000Z | odherogrid/__init__.py | PederHA/odherogrid | 3e9a5eb0949dc677961e86bf52c838a066f4b5fb | [
"MIT"
] | 3 | 2020-08-02T00:00:39.000Z | 2021-06-02T00:24:56.000Z | odherogrid/__init__.py | PederHA/odherogrid | 3e9a5eb0949dc677961e86bf52c838a066f4b5fb | [
"MIT"
] | 2 | 2020-08-17T18:15:08.000Z | 2021-04-02T16:54:20.000Z | __version__ = '0.3.1'
from .cli import *
from .config import *
from .enums import *
from .odapi import *
from .odhg import *
from .resources import *
| 16.777778 | 24 | 0.701987 | 22 | 151 | 4.636364 | 0.545455 | 0.490196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.18543 | 151 | 8 | 25 | 18.875 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b99b339937fc1050dd7be7bdc103485c0c79c801 | 6,261 | py | Python | packages/augur-core/tests/libraries/math/test_safeMathUint256.py | zackster/augur | 74e9ab55477e788c1f2f115d19a18368a443ec87 | [
"MIT"
] | null | null | null | packages/augur-core/tests/libraries/math/test_safeMathUint256.py | zackster/augur | 74e9ab55477e788c1f2f115d19a18368a443ec87 | [
"MIT"
] | null | null | null | packages/augur-core/tests/libraries/math/test_safeMathUint256.py | zackster/augur | 74e9ab55477e788c1f2f115d19a18368a443ec87 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from ethereum.tools import tester
from ethereum.tools.tester import TransactionFailed
from pytest import fixture, mark, raises
@fixture(scope='session')
def testerSnapshot(sessionFixture):
sessionFixture.upload('solidity_test_helpers/SafeMathUint256Tester.sol')
return sessionFixture.crea... | 40.134615 | 106 | 0.701166 | 598 | 6,261 | 7.289298 | 0.108696 | 0.0156 | 0.077082 | 0.184217 | 0.827254 | 0.76279 | 0.740996 | 0.68502 | 0.668731 | 0.668731 | 0 | 0.071212 | 0.15892 | 6,261 | 155 | 107 | 40.393548 | 0.756551 | 0.003194 | 0 | 0.521429 | 0 | 0 | 0.195353 | 0.125321 | 0 | 0 | 0 | 0 | 0.078571 | 1 | 0.092857 | false | 0 | 0.021429 | 0 | 0.128571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b9b9d3e10b5803d4c514d9e30af495e6649f4fbd | 754 | py | Python | python/cudf/cudf/core/table.py | jrhemstad/pygdf | 8d7bf34ff045fbe1760c90ef825e6719bab1ff80 | [
"Apache-2.0"
] | 1 | 2020-01-14T01:44:35.000Z | 2020-01-14T01:44:35.000Z | python/cudf/cudf/core/table.py | CZZLEGEND/cudf | 5d2465d6738d00628673fffdc1fac51fad7ef9a7 | [
"Apache-2.0"
] | null | null | null | python/cudf/cudf/core/table.py | CZZLEGEND/cudf | 5d2465d6738d00628673fffdc1fac51fad7ef9a7 | [
"Apache-2.0"
] | null | null | null | from cudf._libxx.table import _Table
class Table(_Table):
def _unaryop(self, op):
result = self.copy()
for name, col in result._data.items():
result._data[name] = col.unary_operator(op)
return result
def sin(self):
return self._unaryop("sin")
def cos(self):
... | 20.378378 | 55 | 0.582228 | 95 | 754 | 4.452632 | 0.315789 | 0.212766 | 0.297872 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287798 | 754 | 36 | 56 | 20.944444 | 0.78771 | 0 | 0 | 0 | 0 | 0 | 0.041114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.04 | 0.36 | 0.88 | 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 | 0 | 0 | 0 | 5 |
b9de65b525c9b3a0039c3dbf8dc3e81472bba265 | 21,133 | py | Python | ostap/fitting/tests/test_fitting_models2_2D.py | Pro100Tema/ostap | 1765304fce43714e1f51dfe03be0daa5aa5d490f | [
"BSD-3-Clause"
] | null | null | null | ostap/fitting/tests/test_fitting_models2_2D.py | Pro100Tema/ostap | 1765304fce43714e1f51dfe03be0daa5aa5d490f | [
"BSD-3-Clause"
] | null | null | null | ostap/fitting/tests/test_fitting_models2_2D.py | Pro100Tema/ostap | 1765304fce43714e1f51dfe03be0daa5aa5d490f | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# =============================================================================
# Copyright (c) Ostap developers.
# =============================================================================
# @file ostap/fitting/tests/test_fitting_models2_2D.py
# Test module for ostap/... | 38.918969 | 137 | 0.468604 | 2,262 | 21,133 | 4.258621 | 0.094164 | 0.059172 | 0.063947 | 0.04796 | 0.770165 | 0.765597 | 0.745562 | 0.726876 | 0.717845 | 0.711928 | 0 | 0.036443 | 0.283254 | 21,133 | 542 | 138 | 38.990775 | 0.599525 | 0.209388 | 0 | 0.687166 | 0 | 0.024064 | 0.14259 | 0.001386 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032086 | false | 0 | 0.029412 | 0 | 0.061497 | 0.032086 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a0c496671139b16e9718440298b53fd6f8d3291 | 654 | py | Python | 10. FunctionsClasses/helperfunctions/collectionitem.py | michaelbwalker/Python-Data-Cleaning-Cookbook | 2da8d183e40d38caebba58f1503c3c252855e38d | [
"MIT"
] | 1 | 2021-05-31T03:17:00.000Z | 2021-05-31T03:17:00.000Z | 10. FunctionsClasses/helperfunctions/collectionitem.py | michaelbwalker/Python-Data-Cleaning-Cookbook | 2da8d183e40d38caebba58f1503c3c252855e38d | [
"MIT"
] | null | null | null | 10. FunctionsClasses/helperfunctions/collectionitem.py | michaelbwalker/Python-Data-Cleaning-Cookbook | 2da8d183e40d38caebba58f1503c3c252855e38d | [
"MIT"
] | null | null | null |
class Collectionitem:
collectionitemcnt = 0
def __init__(self, colldict):
self.colldict = colldict
Collectionitem.collectionitemcnt+=1
def birthyearcreator1(self):
if ("birth_year" in self.colldict['creators'][0]):
byear = self.colldict['creators'][0]['birth_year']
else:
... | 20.4375 | 57 | 0.636086 | 69 | 654 | 5.927536 | 0.405797 | 0.205379 | 0.195599 | 0.107579 | 0.122249 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.243119 | 654 | 31 | 58 | 21.096774 | 0.816162 | 0 | 0 | 0 | 0 | 0 | 0.126623 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6a494cbe792a8868d322b884ea8720674c7474af | 62 | py | Python | scripts/python-shell.py | DEMON1A/EasyShell | d37589b616f844c4d6f01ad594642033463f346b | [
"MIT"
] | 3 | 2021-02-02T15:07:27.000Z | 2021-05-21T10:02:08.000Z | scripts/python-shell.py | DEMON1A/EasyShell | d37589b616f844c4d6f01ad594642033463f346b | [
"MIT"
] | 7 | 2021-02-03T11:14:04.000Z | 2021-02-18T19:39:25.000Z | scripts/python-shell.py | DEMON1A/EasyShell | d37589b616f844c4d6f01ad594642033463f346b | [
"MIT"
] | null | null | null | from os import system
def Run(Input):
system("python") | 15.5 | 22 | 0.66129 | 9 | 62 | 4.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 62 | 4 | 23 | 15.5 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a499ac680aaf39612e4ee41512c8a88ec405cc2 | 78 | py | Python | examples/5.templates/v1.2/hello.py | wild-devops/pwshake | c514f0f8dddd39ed37466e444de5f2dff574e89c | [
"MIT"
] | null | null | null | examples/5.templates/v1.2/hello.py | wild-devops/pwshake | c514f0f8dddd39ed37466e444de5f2dff574e89c | [
"MIT"
] | null | null | null | examples/5.templates/v1.2/hello.py | wild-devops/pwshake | c514f0f8dddd39ed37466e444de5f2dff574e89c | [
"MIT"
] | null | null | null | import sys
print("Hello " + sys.argv[1] + "!", file=sys.stdout, flush=True)
| 26 | 65 | 0.628205 | 12 | 78 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.153846 | 78 | 2 | 66 | 39 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 0 | 1 | 0 | 5 |
6a4c571b5123b5bece755ff8319b53f0e29c4b14 | 397 | py | Python | app/blueprints/admin/errors.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | null | null | null | app/blueprints/admin/errors.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | null | null | null | app/blueprints/admin/errors.py | Anioko/landingpage_cms | b2d68d28287dd163de7d420b2c20b19050a2326a | [
"MIT"
] | null | null | null | from flask import render_template
from app.blueprints.admin.views import admin
@admin.app_errorhandler(403)
def forbidden(_):
return render_template('errors/403.html'), 403
@admin.app_errorhandler(404)
def page_not_found(_):
return render_template('errors/404.html'), 404
@admin.app_errorhandler(500)
def ... | 20.894737 | 50 | 0.7733 | 55 | 397 | 5.327273 | 0.436364 | 0.191126 | 0.204778 | 0.266212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076705 | 0.11335 | 397 | 18 | 51 | 22.055556 | 0.755682 | 0 | 0 | 0 | 0 | 0 | 0.11335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.272727 | 0.727273 | 0.090909 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e05b30ff8b882b2e04e8fe2446aed80a172e41ee | 220 | py | Python | createc/__init__.py | chenxu2394/py_createc | 7de578dd9369677cedc492231d5273aa710ea96c | [
"MIT"
] | null | null | null | createc/__init__.py | chenxu2394/py_createc | 7de578dd9369677cedc492231d5273aa710ea96c | [
"MIT"
] | null | null | null | createc/__init__.py | chenxu2394/py_createc | 7de578dd9369677cedc492231d5273aa710ea96c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed May 20 22:24:50 2020
@author: xuc1
"""
__version__ = '0.0.1'
from .Createc_pyCOM import CreatecWin32
from .Createc_pyFile import DAT_IMG
from .Createc_pyFile import VERT_SPEC
| 18.333333 | 39 | 0.727273 | 35 | 220 | 4.314286 | 0.771429 | 0.218543 | 0.225166 | 0.304636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101604 | 0.15 | 220 | 11 | 40 | 20 | 0.705882 | 0.331818 | 0 | 0 | 0 | 0 | 0.035971 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0ecb8b5895d601a34ac4838045d0e2615dedf606 | 427 | py | Python | aalpy/learning_algs/__init__.py | icezyclon/AALpy | 3c2f05fdbbcdc99b47ba6b918540239568fca17f | [
"MIT"
] | null | null | null | aalpy/learning_algs/__init__.py | icezyclon/AALpy | 3c2f05fdbbcdc99b47ba6b918540239568fca17f | [
"MIT"
] | null | null | null | aalpy/learning_algs/__init__.py | icezyclon/AALpy | 3c2f05fdbbcdc99b47ba6b918540239568fca17f | [
"MIT"
] | null | null | null | # public API for running automata learning algorithms
from .deterministic.LStar import run_Lstar
from .non_deterministic.OnfsmLstar import run_non_det_Lstar
from .non_deterministic.AbstractedOnfsmLstar import run_abstracted_ONFSM_Lstar
from .stochastic.StochasticLStar import run_stochastic_Lstar
from .stochastic_passiv... | 61 | 78 | 0.892272 | 55 | 427 | 6.618182 | 0.454545 | 0.148352 | 0.065934 | 0.137363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074941 | 427 | 7 | 79 | 61 | 0.921519 | 0.119438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 1 | 0 | 1 | 0 | 0 | 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 | 5 |
0ed3aea8f9f90fc3bcc2dae8068cdfd7d5a2585d | 147 | py | Python | cgtools/fastmath/__init__.py | tneumann/cgtools | 8f77b6a4642fe79ac85b8449ebd3f72ea0e56032 | [
"MIT"
] | 10 | 2019-05-02T14:08:32.000Z | 2021-03-15T16:07:19.000Z | cgtools/fastmath/__init__.py | tneumann/cgtools | 8f77b6a4642fe79ac85b8449ebd3f72ea0e56032 | [
"MIT"
] | null | null | null | cgtools/fastmath/__init__.py | tneumann/cgtools | 8f77b6a4642fe79ac85b8449ebd3f72ea0e56032 | [
"MIT"
] | 3 | 2019-05-02T14:08:33.000Z | 2021-02-10T03:47:29.000Z | from .dot import matmat, matvec
from .inv import inv3, inv2
from .cross import cross3
from .kron import multikron
from .polar_dec import polar_dec
| 24.5 | 32 | 0.802721 | 24 | 147 | 4.833333 | 0.583333 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.14966 | 147 | 5 | 33 | 29.4 | 0.904 | 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 | 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 | 5 |
0ef0f3a4830852c838985588d6408ba9048c6404 | 176 | py | Python | app/admin/__init__.py | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | 73 | 2018-12-14T18:12:33.000Z | 2022-02-23T21:39:59.000Z | app/admin/__init__.py | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | 4 | 2019-11-23T18:08:18.000Z | 2021-08-23T09:00:15.000Z | app/admin/__init__.py | uosorio/heroku_face | 7d6465e71dba17a15d8edaef520adb2fcd09d91e | [
"Apache-2.0"
] | 33 | 2019-06-03T00:30:57.000Z | 2022-03-10T23:54:43.000Z | """
AUTOR: Juanjo
FECHA DE CREACIÓN: 24/05/2019
"""
from flask import Blueprint
admin_bp = Blueprint('admin', __name__, template_folder='templates')
from . import routes
| 12.571429 | 68 | 0.727273 | 23 | 176 | 5.304348 | 0.826087 | 0.229508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053691 | 0.153409 | 176 | 13 | 69 | 13.538462 | 0.765101 | 0.25 | 0 | 0 | 0 | 0 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
161945a283c8c737d97a3d56842c6250090cd9c1 | 25 | py | Python | widgets/pygal/__init__.py | cheak1974/remi-app-template | 6c724dda0294b41b906134b9062eadce0f6c0617 | [
"Apache-2.0"
] | 12 | 2020-02-24T08:44:29.000Z | 2022-02-21T07:18:31.000Z | widgets/pygal/__init__.py | cheak1974/remi-app-template | 6c724dda0294b41b906134b9062eadce0f6c0617 | [
"Apache-2.0"
] | null | null | null | widgets/pygal/__init__.py | cheak1974/remi-app-template | 6c724dda0294b41b906134b9062eadce0f6c0617 | [
"Apache-2.0"
] | 3 | 2020-05-02T15:47:09.000Z | 2021-06-12T23:56:52.000Z | from .pygal import Pygal
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
166e60447058bb1027e6cc6809c8f0936259136d | 472,321 | py | Python | storm-client/src/py/storm/ttypes.py | hmcl/storm-apache | 7bc48361531027d078842e3cec00eae6945d22fa | [
"Apache-2.0"
] | null | null | null | storm-client/src/py/storm/ttypes.py | hmcl/storm-apache | 7bc48361531027d078842e3cec00eae6945d22fa | [
"Apache-2.0"
] | null | null | null | storm-client/src/py/storm/ttypes.py | hmcl/storm-apache | 7bc48361531027d078842e3cec00eae6945d22fa | [
"Apache-2.0"
] | 1 | 2019-02-07T11:13:29.000Z | 2019-02-07T11:13:29.000Z | #!/usr/bin/env python
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "... | 36.168236 | 808 | 0.557572 | 51,451 | 472,321 | 4.912499 | 0.033974 | 0.015173 | 0.027311 | 0.03454 | 0.80678 | 0.774202 | 0.715256 | 0.677385 | 0.654006 | 0.639981 | 0 | 0.044067 | 0.335151 | 472,321 | 13,058 | 809 | 36.171006 | 0.760822 | 0.035791 | 0 | 0.724863 | 0 | 0 | 0.044796 | 0.004769 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059142 | false | 0 | 0.000443 | 0.020128 | 0.125732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 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 | 5 |
1670cf6142eed8f46759590cf568a7d3ce322621 | 225 | py | Python | views/home.py | yekudename/reader | 93955051d1ac959f7713e66f67bf8b57d8b13df2 | [
"Apache-2.0"
] | null | null | null | views/home.py | yekudename/reader | 93955051d1ac959f7713e66f67bf8b57d8b13df2 | [
"Apache-2.0"
] | null | null | null | views/home.py | yekudename/reader | 93955051d1ac959f7713e66f67bf8b57d8b13df2 | [
"Apache-2.0"
] | null | null | null | import os
from flask import Blueprint, render_template
home_bp = Blueprint('home', __name__, template_folder='../template', static_folder='../static')
@home_bp.route('/')
def home():
return render_template('index.html') | 28.125 | 95 | 0.737778 | 29 | 225 | 5.37931 | 0.586207 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102222 | 225 | 8 | 96 | 28.125 | 0.772277 | 0 | 0 | 0 | 0 | 0 | 0.154867 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
1690435071ec041d2beaca0c2c32b6e29cf4d478 | 90 | py | Python | alpha_vantage/models/__init__.py | wstolk/alpha-vantage | d1d2d5513e5e1c204342da40019a633a5f75a3aa | [
"Apache-2.0"
] | null | null | null | alpha_vantage/models/__init__.py | wstolk/alpha-vantage | d1d2d5513e5e1c204342da40019a633a5f75a3aa | [
"Apache-2.0"
] | null | null | null | alpha_vantage/models/__init__.py | wstolk/alpha-vantage | d1d2d5513e5e1c204342da40019a633a5f75a3aa | [
"Apache-2.0"
] | null | null | null | from alpha_vantage.models.timeseries import MetadataModel, TimeSeriesModel, TimeSerieModel | 90 | 90 | 0.9 | 9 | 90 | 8.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 90 | 1 | 90 | 90 | 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 | 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 | 5 |
169f7032c823541606a2320303414cf449a77a2d | 99 | py | Python | resolwe/test_helpers/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 27 | 2015-12-07T18:29:12.000Z | 2022-03-16T08:01:47.000Z | resolwe/test_helpers/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 681 | 2015-12-01T11:52:24.000Z | 2022-03-21T07:43:37.000Z | resolwe/test_helpers/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 28 | 2015-12-01T08:32:57.000Z | 2021-12-14T00:04:16.000Z | """.. Ignore pydocstyle D400.
====================
Resolwe Test Helpers
====================
"""
| 12.375 | 29 | 0.383838 | 6 | 99 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.121212 | 99 | 7 | 30 | 14.142857 | 0.402299 | 0.909091 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
16a798a32059cf0f0313c892aa59b77396c22011 | 59 | py | Python | python_translator/__init__.py | bentettmar/python-translator | 7f4144e7ad80d54a8ad19ddee1d0745a98d3111a | [
"MIT"
] | 2 | 2022-03-12T08:04:25.000Z | 2022-03-13T18:00:28.000Z | python_translator/__init__.py | bentettmar/python-translator | 7f4144e7ad80d54a8ad19ddee1d0745a98d3111a | [
"MIT"
] | 2 | 2022-03-11T08:39:18.000Z | 2022-03-13T17:36:34.000Z | python_translator/__init__.py | bentettmar/python-translator | 7f4144e7ad80d54a8ad19ddee1d0745a98d3111a | [
"MIT"
] | 1 | 2022-03-11T00:30:29.000Z | 2022-03-11T00:30:29.000Z | from .translator import Translator
from . import exceptions | 29.5 | 34 | 0.847458 | 7 | 59 | 7.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 35 | 29.5 | 0.961538 | 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 | 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 | 5 |
16a886418786fef2e8877affb148e9e636d3f0fe | 272 | py | Python | common/facade/api/__init__.py | Softeq/PyCats | c71d54ca7fa958c22ca8c78ba9889c6a32b827be | [
"Apache-2.0"
] | 7 | 2020-06-12T15:16:10.000Z | 2020-06-20T18:42:07.000Z | common/facade/api/__init__.py | Softeq/PyCats | c71d54ca7fa958c22ca8c78ba9889c6a32b827be | [
"Apache-2.0"
] | 4 | 2020-06-15T20:08:32.000Z | 2020-06-29T16:51:57.000Z | common/facade/api/__init__.py | Softeq/SCAF | c71d54ca7fa958c22ca8c78ba9889c6a32b827be | [
"Apache-2.0"
] | 3 | 2020-07-27T10:45:36.000Z | 2021-01-13T12:10:46.000Z | # REST QA API imports
from common._rest_qa_api.base_endpoint import BaseEndpoint, endpoint_factory, BaseRequestModel, BaseResponseModel # noqa
from common._rest_qa_api import rest_checkers # noqa
from common._rest_qa_api.rest_utils import SKIP, pycats_dataclass # noqa
| 54.4 | 121 | 0.841912 | 39 | 272 | 5.512821 | 0.487179 | 0.111628 | 0.167442 | 0.223256 | 0.302326 | 0.213953 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110294 | 272 | 4 | 122 | 68 | 0.88843 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bc59d178d002dbe7c6c646f234beb3a8bb8cd27c | 275 | py | Python | pyhcl/dsl/dslchecker.py | raybdzhou/PyChip-py-hcl | 08edc6ad4d2978eb417482f6f92678f8f9a1e3c7 | [
"MIT"
] | 1 | 2021-12-10T14:02:54.000Z | 2021-12-10T14:02:54.000Z | pyhcl/dsl/dslchecker.py | raybdzhou/PyChip-py-hcl | 08edc6ad4d2978eb417482f6f92678f8f9a1e3c7 | [
"MIT"
] | null | null | null | pyhcl/dsl/dslchecker.py | raybdzhou/PyChip-py-hcl | 08edc6ad4d2978eb417482f6f92678f8f9a1e3c7 | [
"MIT"
] | 1 | 2022-03-04T03:36:01.000Z | 2022-03-04T03:36:01.000Z | from pyhcl.core._clock_manager import Clock_manager
class DslChecker:
@classmethod
def do_check(cls, vic):
DslChecker.clock_check(vic)
@classmethod
def clock_check(cls, vic):
pass
@classmethod
def loop_check(cls, vic):
pass | 18.333333 | 51 | 0.661818 | 34 | 275 | 5.147059 | 0.470588 | 0.24 | 0.188571 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261818 | 275 | 15 | 52 | 18.333333 | 0.862069 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.090909 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
bc96e66ba331b961d6ebc718883c1c5f3e3e8635 | 229 | py | Python | csrank/dataset_reader/labelranking/__init__.py | kiudee/cs-ranking | 47cf648fa286c37b9214bbad1926004d4d7d9796 | [
"Apache-2.0"
] | 65 | 2018-02-12T13:18:13.000Z | 2021-12-18T12:01:51.000Z | csrank/dataset_reader/labelranking/__init__.py | kiudee/cs-ranking | 47cf648fa286c37b9214bbad1926004d4d7d9796 | [
"Apache-2.0"
] | 189 | 2018-02-13T10:11:55.000Z | 2022-03-12T16:36:23.000Z | csrank/dataset_reader/labelranking/__init__.py | kiudee/cs-ranking | 47cf648fa286c37b9214bbad1926004d4d7d9796 | [
"Apache-2.0"
] | 19 | 2018-03-08T15:39:31.000Z | 2020-11-18T12:46:36.000Z | from .intelligent_system_group_dataset_reader import IntelligentSystemGroupDatasetReader
from .survey_dataset_reader import SurveyDatasetReader
__all__ = [
"IntelligentSystemGroupDatasetReader",
"SurveyDatasetReader",
]
| 28.625 | 88 | 0.851528 | 17 | 229 | 10.882353 | 0.647059 | 0.140541 | 0.205405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100437 | 229 | 7 | 89 | 32.714286 | 0.898058 | 0 | 0 | 0 | 0 | 0 | 0.235808 | 0.152838 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bcb2d5c62997ad5c3bde04bb69e117d3261be072 | 74 | py | Python | EasySelenium/webdriver/__init__.py | HHongSeungWoo/EasySelenium | 9b1c23d36f115b4b08ef8046c6c862f4bcafac17 | [
"MIT"
] | null | null | null | EasySelenium/webdriver/__init__.py | HHongSeungWoo/EasySelenium | 9b1c23d36f115b4b08ef8046c6c862f4bcafac17 | [
"MIT"
] | null | null | null | EasySelenium/webdriver/__init__.py | HHongSeungWoo/EasySelenium | 9b1c23d36f115b4b08ef8046c6c862f4bcafac17 | [
"MIT"
] | null | null | null | from selenium.webdriver import *
from .driver import Ie, Chrome, Firefox
| 18.5 | 39 | 0.783784 | 10 | 74 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148649 | 74 | 3 | 40 | 24.666667 | 0.920635 | 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 | 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 | 5 |
bcd29b8658b90a79ab5b62042bd2b76d9b31076d | 24 | py | Python | venv/Lib/site-packages/sindy.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | 1 | 2021-08-01T18:22:51.000Z | 2021-08-01T18:22:51.000Z | venv/Lib/site-packages/sindy.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | null | null | null | venv/Lib/site-packages/sindy.py | ayandeephazra/Chemical_Origins_Of_Life | 5858b51063c53b2db00529fe79a67d321193171e | [
"MIT"
] | null | null | null | from sparsereg import *
| 12 | 23 | 0.791667 | 3 | 24 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bcef4709778c7a5c345f9df9ccc80dc13888e4b5 | 119 | py | Python | src/flask/src/server.py | silconari/CORE-project-penguins- | d371311ef03b990d0787e52d981a44a792245ee2 | [
"Unlicense"
] | null | null | null | src/flask/src/server.py | silconari/CORE-project-penguins- | d371311ef03b990d0787e52d981a44a792245ee2 | [
"Unlicense"
] | 1 | 2021-08-19T14:03:34.000Z | 2021-08-21T16:20:16.000Z | src/flask/src/server.py | silconari/CORE-project-penguins- | d371311ef03b990d0787e52d981a44a792245ee2 | [
"Unlicense"
] | null | null | null | from config import PORT
import controllers.root_controllers
from app import app
app.run("0.0.0.0", PORT, debug=True)
| 17 | 36 | 0.773109 | 21 | 119 | 4.333333 | 0.52381 | 0.065934 | 0.065934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.12605 | 119 | 6 | 37 | 19.833333 | 0.836538 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bcfdec3885ceaaa1c96ffc1b3998f083c5009c02 | 368 | py | Python | medusa/lang/object_oriented/inherit.py | deadwind4/medusa | f2d2041349e70a7321f0e1f1c30137ac8769edd5 | [
"MIT"
] | null | null | null | medusa/lang/object_oriented/inherit.py | deadwind4/medusa | f2d2041349e70a7321f0e1f1c30137ac8769edd5 | [
"MIT"
] | null | null | null | medusa/lang/object_oriented/inherit.py | deadwind4/medusa | f2d2041349e70a7321f0e1f1c30137ac8769edd5 | [
"MIT"
] | null | null | null | class Base:
def __init__(self, name):
self.name = name
class Foo(Base):
def __init__(self, name, time):
Base.__init__(self, name)
self.time = time
class BaseA:
def __init__(self):
print("BaseA")
class FooA(BaseA):
def __init__(self):
BaseA.__init__(self)
... | 14.72 | 35 | 0.576087 | 45 | 368 | 4.088889 | 0.288889 | 0.26087 | 0.23913 | 0.163043 | 0.206522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298913 | 368 | 24 | 36 | 15.333333 | 0.713178 | 0 | 0 | 0.125 | 0 | 0 | 0.013587 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.0625 | 0 | 0 | 0.5 | 0.0625 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
4c1f918cc3f21841f18878865e6dba0ea7334b25 | 2,212 | py | Python | backend/sb_db/__init__.py | arontaupe/KommunikationsKrake | 145bf9a2b4b3d70635987d18a6a0d4d8438bfb96 | [
"MIT"
] | null | null | null | backend/sb_db/__init__.py | arontaupe/KommunikationsKrake | 145bf9a2b4b3d70635987d18a6a0d4d8438bfb96 | [
"MIT"
] | null | null | null | backend/sb_db/__init__.py | arontaupe/KommunikationsKrake | 145bf9a2b4b3d70635987d18a6a0d4d8438bfb96 | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Sommerblut-Database
Event and festival info # noqa: E501
OpenAPI spec version: 1.5.0
Contact: support@xtain.net
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import apis into sdk package
from sb... | 38.807018 | 70 | 0.853526 | 339 | 2,212 | 5.351032 | 0.286136 | 0.122381 | 0.163175 | 0.192944 | 0.233186 | 0.024256 | 0 | 0 | 0 | 0 | 0 | 0.004014 | 0.099005 | 2,212 | 56 | 71 | 39.5 | 0.906172 | 0.128391 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4c55a8f5d61ae301d8af59d841b0795bdc1999d3 | 7,944 | py | Python | net/data/verify_certificate_chain_unittest/many-names/generate-chains.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | net/data/verify_certificate_chain_unittest/many-names/generate-chains.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | net/data/verify_certificate_chain_unittest/many-names/generate-chains.py | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | #!/usr/bin/env python
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import sys
sys.path += ['../..']
import gencerts
def add_excluded_name_constraints(cert, num_dns, num_ip, num_dirnames, num_uri):
c... | 45.136364 | 80 | 0.702669 | 1,298 | 7,944 | 4.101695 | 0.105547 | 0.040571 | 0.061983 | 0.030428 | 0.794703 | 0.772727 | 0.769722 | 0.754132 | 0.73704 | 0.663411 | 0 | 0.052836 | 0.158988 | 7,944 | 175 | 81 | 45.394286 | 0.74405 | 0.049597 | 0 | 0.428571 | 0 | 0 | 0.262565 | 0.041639 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027211 | false | 0 | 0.013605 | 0 | 0.040816 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4c6fe167f4b1c8772f52c1621baa1361224eac90 | 11,849 | py | Python | census_data_downloader/tables/poverty.py | ian-r-rose/census-data-downloader | f8ac9d773e6d3f52be87bf916a2e32249391f966 | [
"MIT"
] | null | null | null | census_data_downloader/tables/poverty.py | ian-r-rose/census-data-downloader | f8ac9d773e6d3f52be87bf916a2e32249391f966 | [
"MIT"
] | null | null | null | census_data_downloader/tables/poverty.py | ian-r-rose/census-data-downloader | f8ac9d773e6d3f52be87bf916a2e32249391f966 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*
import collections
from census_data_downloader.core.tables import BaseTableConfig
from census_data_downloader.core.decorators import register
@register
class PovertyDownloader(BaseTableConfig):
"""
A simplified version of the poverty table that only returns grand ... | 41.575439 | 90 | 0.641995 | 1,547 | 11,849 | 4.247576 | 0.124758 | 0.312281 | 0.2613 | 0.170446 | 0.752245 | 0.733678 | 0.654238 | 0.628367 | 0.537361 | 0.508598 | 0 | 0.090941 | 0.269643 | 11,849 | 284 | 91 | 41.721831 | 0.668361 | 0.024559 | 0 | 0.559524 | 0 | 0 | 0.546663 | 0.467848 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003968 | false | 0 | 0.011905 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d5df431403f64172c72f521ac0b9a6cc95545c67 | 243 | py | Python | birdman/__init__.py | mortonjt/BIRDMAn | 2b26ead6fe595deddc7090f58ce0cb06a4767761 | [
"BSD-3-Clause"
] | null | null | null | birdman/__init__.py | mortonjt/BIRDMAn | 2b26ead6fe595deddc7090f58ce0cb06a4767761 | [
"BSD-3-Clause"
] | null | null | null | birdman/__init__.py | mortonjt/BIRDMAn | 2b26ead6fe595deddc7090f58ce0cb06a4767761 | [
"BSD-3-Clause"
] | null | null | null | from .model_base import BaseModel, RegressionModel
from .default_models import NegativeBinomial, NegativeBinomialLME, Multinomial
__all__ = ["BaseModel", "RegressionModel", "NegativeBinomial",
"NegativeBinomialLME", "Multinomial"]
| 40.5 | 78 | 0.786008 | 19 | 243 | 9.736842 | 0.631579 | 0.259459 | 0.497297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 243 | 5 | 79 | 48.6 | 0.868545 | 0 | 0 | 0 | 0 | 0 | 0.288066 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d5f08114d3dd0bb5444823619dc69dcb662e379e | 3,496 | py | Python | assets/world/tiles_0_0_1.py | Elephant34/flatSurvival | c5733d199048f16f5bec96ab92096db833779448 | [
"MIT"
] | null | null | null | assets/world/tiles_0_0_1.py | Elephant34/flatSurvival | c5733d199048f16f5bec96ab92096db833779448 | [
"MIT"
] | 3 | 2021-09-08T02:08:08.000Z | 2022-03-12T00:33:37.000Z | assets/world/tiles_0_0_1.py | Elephant34/flatSurvival | c5733d199048f16f5bec96ab92096db833779448 | [
"MIT"
] | null | null | null | """Stores the tile sprites for version: 0.0.1
"""
import pathlib
import arcade
class Basic(arcade.Sprite):
"""Creates a bass tile sprite
:param center_x: x position
:type center_x: int
:param center_y: y position
:type center_y: int
:param zone: zone coordinates
:type zone: str
"""
... | 21.447853 | 72 | 0.545195 | 418 | 3,496 | 4.277512 | 0.117225 | 0.113535 | 0.14094 | 0.082215 | 0.781879 | 0.781879 | 0.781879 | 0.738255 | 0.738255 | 0.738255 | 0 | 0.001315 | 0.347254 | 3,496 | 162 | 73 | 21.580247 | 0.782209 | 0.33095 | 0 | 0.5 | 0 | 0 | 0.076412 | 0.076412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.102941 | false | 0 | 0.029412 | 0 | 0.235294 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9111888169eb67b236e432ec5e89397a7c877e16 | 925 | py | Python | lit_script/src/compiler.py | MaciejWas/lit-script | d4488aed8f09e92a3ef6207f3e6aadc8197fe386 | [
"MIT"
] | 4 | 2021-10-03T15:22:13.000Z | 2021-10-04T09:37:11.000Z | lit_script/src/compiler.py | MaciejWas/lit-script | d4488aed8f09e92a3ef6207f3e6aadc8197fe386 | [
"MIT"
] | null | null | null | lit_script/src/compiler.py | MaciejWas/lit-script | d4488aed8f09e92a3ef6207f3e6aadc8197fe386 | [
"MIT"
] | null | null | null | from .core import Expression, Atom, Line, Context, inbuilt_functions
Compilable = list[Line]
class CompileLog:
def __init__(self):
self.events = []
def log(self, info: str):
self.events.append(info)
def __repr__(self):
return "\n".join(self.events)
def __str__(self):
... | 23.125 | 68 | 0.644324 | 111 | 925 | 5.108108 | 0.432432 | 0.070547 | 0.089947 | 0.05291 | 0.088183 | 0.088183 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245405 | 925 | 39 | 69 | 23.717949 | 0.812321 | 0.010811 | 0 | 0.16 | 0 | 0 | 0.03724 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.36 | false | 0.08 | 0.04 | 0.16 | 0.68 | 0.04 | 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 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
9115720aa80de8e80c86b615ca8ae0241cff4dec | 54 | py | Python | captum/insights/attr_vis/__init__.py | Europium248/captum | ac02fae2651b8d68a44bcb9d03b91cbb3959f2fc | [
"BSD-3-Clause"
] | 7 | 2020-08-26T09:36:54.000Z | 2021-12-21T15:46:32.000Z | captum/insights/attr_vis/__init__.py | Europium248/captum | ac02fae2651b8d68a44bcb9d03b91cbb3959f2fc | [
"BSD-3-Clause"
] | 16 | 2020-08-25T18:44:45.000Z | 2022-03-25T19:12:36.000Z | captum/insights/attr_vis/__init__.py | Europium248/captum | ac02fae2651b8d68a44bcb9d03b91cbb3959f2fc | [
"BSD-3-Clause"
] | 10 | 2020-09-30T19:27:17.000Z | 2021-04-04T14:50:31.000Z | from .app import AttributionVisualizer, Batch # noqa
| 27 | 53 | 0.796296 | 6 | 54 | 7.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 54 | 1 | 54 | 54 | 0.934783 | 0.074074 | 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 | 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 | 5 |
9121edb0f7fab56706f60e56fb3c98821fad4996 | 88 | py | Python | planning_system/app/blueprints/user/__init__.py | jehboyes/planning_system | a415f1408ef344732498d2ffb111dfd187b9b50f | [
"MIT"
] | null | null | null | planning_system/app/blueprints/user/__init__.py | jehboyes/planning_system | a415f1408ef344732498d2ffb111dfd187b9b50f | [
"MIT"
] | null | null | null | planning_system/app/blueprints/user/__init__.py | jehboyes/planning_system | a415f1408ef344732498d2ffb111dfd187b9b50f | [
"MIT"
] | null | null | null | """
User management section of the app.
"""
from .bp import user_bp
from . import login
| 14.666667 | 35 | 0.715909 | 14 | 88 | 4.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 5 | 36 | 17.6 | 0.861111 | 0.397727 | 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 | 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 | 5 |
e680d4138363e7c71746320f38b220e2e4efa810 | 114 | py | Python | python/dermomedic/encoder.py | fbrunacci/dermomedic.ai | 361f1f0a52c457d27e2bc648f0888bdf71cb0f32 | [
"Apache-2.0"
] | null | null | null | python/dermomedic/encoder.py | fbrunacci/dermomedic.ai | 361f1f0a52c457d27e2bc648f0888bdf71cb0f32 | [
"Apache-2.0"
] | null | null | null | python/dermomedic/encoder.py | fbrunacci/dermomedic.ai | 361f1f0a52c457d27e2bc648f0888bdf71cb0f32 | [
"Apache-2.0"
] | null | null | null | from json import JSONEncoder
class DictEncoder(JSONEncoder):
def default(self, o):
return o.__dict__
| 19 | 31 | 0.719298 | 14 | 114 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 114 | 5 | 32 | 22.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e6aa0f6654ae612b3d6e03152a37d40e81cf4608 | 18 | py | Python | One Road.py | MrAnonymous5635/CSCircles | 010ac82942c88da357e214ea5462ec378f3667b8 | [
"MIT"
] | 17 | 2018-09-19T09:44:33.000Z | 2022-01-17T15:17:11.000Z | One Road.py | MrAnonymous5635/CSCircles | 010ac82942c88da357e214ea5462ec378f3667b8 | [
"MIT"
] | 2 | 2020-02-24T15:28:33.000Z | 2021-11-16T00:04:52.000Z | One Road.py | MrAnonymous5635/CSCircles | 010ac82942c88da357e214ea5462ec378f3667b8 | [
"MIT"
] | 8 | 2020-02-20T00:02:06.000Z | 2022-01-06T17:25:51.000Z | print(min(a,b,c))
| 9 | 17 | 0.611111 | 5 | 18 | 2.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 18 | 1 | 18 | 18 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e6ae92c90360bed3a73e400477f49b83ba471043 | 50 | py | Python | watchdog_node/src/watchdog_node/monitors/__init__.py | Jailander/strands_apps | 5bc380bfb37e5717bc9503506eba82c5d86a4d93 | [
"MIT"
] | null | null | null | watchdog_node/src/watchdog_node/monitors/__init__.py | Jailander/strands_apps | 5bc380bfb37e5717bc9503506eba82c5d86a4d93 | [
"MIT"
] | null | null | null | watchdog_node/src/watchdog_node/monitors/__init__.py | Jailander/strands_apps | 5bc380bfb37e5717bc9503506eba82c5d86a4d93 | [
"MIT"
] | null | null | null | from base_monitor import MonitorType
import topics | 25 | 36 | 0.9 | 7 | 50 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 2 | 37 | 25 | 0.977778 | 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 | 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 | 5 |
fc0511ee6c6a7c181316be1a94fe6ae3a73be980 | 11,199 | py | Python | crypto/little_trick/little_trick.py | D0g3-Lab/i-SOON_CTF_2021 | e6eb2050df686953ea861259797a72a60a960ebf | [
"MIT"
] | 2 | 2022-03-03T15:40:14.000Z | 2022-03-06T02:50:36.000Z | crypto/little_trick/little_trick.py | D0g3-Lab/i-SOON_CTF_2021 | e6eb2050df686953ea861259797a72a60a960ebf | [
"MIT"
] | null | null | null | crypto/little_trick/little_trick.py | D0g3-Lab/i-SOON_CTF_2021 | e6eb2050df686953ea861259797a72a60a960ebf | [
"MIT"
] | null | null | null | from Crypto.Util.number import sieve_base, bytes_to_long, getPrime
import random
import gmpy2
import os
flag = b'D0g3{}'
flag = bytes_to_long(flag)
p = getPrime(1024)
q = getPrime(1024)
n = p * q
e = gmpy2.next_prime(bytes_to_long(os.urandom(3)))
c = gmpy2.powmod(flag,e,n)
print(p)
print(q)
print(c)
d... | 196.473684 | 3,924 | 0.579248 | 2,018 | 11,199 | 3.207631 | 0.217542 | 0.003244 | 0.003862 | 0.005098 | 0.025027 | 0.014213 | 0 | 0 | 0 | 0 | 0 | 0.653564 | 0.184481 | 11,199 | 56 | 3,925 | 199.982143 | 0.055185 | 0.914903 | 0 | 0 | 0 | 0 | 0.006742 | 0 | 0 | 0 | 0.007865 | 0 | 0 | 1 | 0 | false | 0 | 0.102564 | 0 | 0.102564 | 0.179487 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc110e2850b3632d0a46090bf0723ad016df9e7e | 284 | py | Python | src/py/test/unsupported_features.py | powderflask/gls-poetry | c55d650854957ac7a90ce8f133171c4da240b4f6 | [
"MIT"
] | 1 | 2020-08-05T16:06:26.000Z | 2020-08-05T16:06:26.000Z | src/py/test/unsupported_features.py | powderflask/gls-poetry | c55d650854957ac7a90ce8f133171c4da240b4f6 | [
"MIT"
] | null | null | null | src/py/test/unsupported_features.py | powderflask/gls-poetry | c55d650854957ac7a90ce8f133171c4da240b4f6 | [
"MIT"
] | 1 | 2020-08-05T16:09:31.000Z | 2020-08-05T16:09:31.000Z | import random
def run (autoTester):
def f():
return 3, 4
autoTester.check ((1, 2, *f()))
def g():
return [3, 4]
autoTester.check ([1, 2, *f()])
# doesn't compile
# d1 = {'a':1, 'b':2}
# d2 = {'c':3, **d1}
# autoTester.check(str(d2))
| 17.75 | 35 | 0.46831 | 41 | 284 | 3.243902 | 0.536585 | 0.338346 | 0.120301 | 0.270677 | 0.390977 | 0.390977 | 0.390977 | 0.390977 | 0 | 0 | 0 | 0.076923 | 0.31338 | 284 | 15 | 36 | 18.933333 | 0.605128 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 5 |
fc3882cc45a6890a805151e0d885de8507dff981 | 20,271 | py | Python | converter.py | cascino/np2vox | cc2047aca8d0c3d49e11033aa2f54a19aa442213 | [
"MIT"
] | null | null | null | converter.py | cascino/np2vox | cc2047aca8d0c3d49e11033aa2f54a19aa442213 | [
"MIT"
] | null | null | null | converter.py | cascino/np2vox | cc2047aca8d0c3d49e11033aa2f54a19aa442213 | [
"MIT"
] | null | null | null | import webbrowser
import json
import numpy as np
from jinja2 import Template
class MeshConverter():
def __init__(self):
pass
def scale_verts(self, x, y, z, face_type):
x *= 2
y *= 2
z *= 2
verts = []
if face_type == 0:
verts = [(0.0... | 45.247768 | 128 | 0.374328 | 1,836 | 20,271 | 4.075708 | 0.135076 | 0.012562 | 0.004811 | 0.006415 | 0.757183 | 0.746759 | 0.709876 | 0.691033 | 0.677937 | 0.674061 | 0 | 0.059996 | 0.519807 | 20,271 | 448 | 129 | 45.247768 | 0.708753 | 0.014454 | 0 | 0.624665 | 0 | 0.02681 | 0.726057 | 0.147835 | 0 | 0 | 0.007379 | 0 | 0 | 1 | 0.016086 | false | 0.010724 | 0.010724 | 0 | 0.037534 | 0.005362 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fc40f8586711f193c0ecb3c74d2639a1dddae59e | 152 | py | Python | proglearn/sims/__init__.py | KhelmholtzR/ProgLearn | f5177c720e53d2f5936272998b94e0746135a3b9 | [
"MIT"
] | 18 | 2020-10-13T00:43:06.000Z | 2022-03-28T09:03:52.000Z | proglearn/sims/__init__.py | KhelmholtzR/ProgLearn | f5177c720e53d2f5936272998b94e0746135a3b9 | [
"MIT"
] | 234 | 2020-10-04T17:19:15.000Z | 2022-03-17T15:43:57.000Z | proglearn/sims/__init__.py | KhelmholtzR/ProgLearn | f5177c720e53d2f5936272998b94e0746135a3b9 | [
"MIT"
] | 33 | 2020-06-10T23:12:09.000Z | 2020-09-28T05:09:44.000Z | from .gaussian_sim import generate_gaussian_parity
from .spiral_sim import generate_spirals
__all__ = ["generate_gaussian_parity", "generate_spirals"]
| 30.4 | 58 | 0.848684 | 19 | 152 | 6.157895 | 0.473684 | 0.153846 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085526 | 152 | 4 | 59 | 38 | 0.841727 | 0 | 0 | 0 | 1 | 0 | 0.263158 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fc519ef9bec6277eee950d64bb9c3294e0696570 | 80 | py | Python | build/lib/vengeance/excel_com/classes/__init__.py | michael-ross-ven/vengeance | 53c6eefba0573936d22a55ba5900744ac701f4b9 | [
"MIT"
] | 1 | 2020-01-18T18:23:26.000Z | 2020-01-18T18:23:26.000Z | build/lib/vengeance/excel_com/classes/__init__.py | michael-ross-ven/vengeance | 53c6eefba0573936d22a55ba5900744ac701f4b9 | [
"MIT"
] | null | null | null | build/lib/vengeance/excel_com/classes/__init__.py | michael-ross-ven/vengeance | 53c6eefba0573936d22a55ba5900744ac701f4b9 | [
"MIT"
] | null | null | null |
from .excel_levity_cls import excel_levity_cls
__all__ = ['excel_levity_cls']
| 16 | 46 | 0.8125 | 12 | 80 | 4.583333 | 0.5 | 0.6 | 0.763636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 4 | 47 | 20 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
fc551927de752b3f6d58f0019a430303884b23a3 | 190 | py | Python | gamefixes/750920.py | manueliglesiasgarcia/protonfixes | d676b6bf39f6e4268b4791d3d71c6d74e2127121 | [
"BSD-2-Clause"
] | 54 | 2019-06-21T22:03:45.000Z | 2022-03-20T19:24:36.000Z | gamefixes/750920.py | manueliglesiasgarcia/protonfixes | d676b6bf39f6e4268b4791d3d71c6d74e2127121 | [
"BSD-2-Clause"
] | 21 | 2020-06-13T22:49:18.000Z | 2022-03-20T08:28:39.000Z | gamefixes/750920.py | manueliglesiasgarcia/protonfixes | d676b6bf39f6e4268b4791d3d71c6d74e2127121 | [
"BSD-2-Clause"
] | 53 | 2019-09-11T15:23:25.000Z | 2022-03-20T08:18:49.000Z | """ Shadow of the Tomb Raider
"""
#pylint: disable=C0103
from protonfixes import util
def main():
""" Requires media foundation dlls
"""
util.protontricks('d3dcompiler_47')
| 14.615385 | 39 | 0.673684 | 22 | 190 | 5.772727 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046358 | 0.205263 | 190 | 12 | 40 | 15.833333 | 0.794702 | 0.436842 | 0 | 0 | 0 | 0 | 0.150538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5d92cf879ff05b949b7a671ad2df7770c00c0259 | 79 | py | Python | BICAMSZ/__init__.py | Sdniss/BICAMSZ | b6d4f1d5fbd515c01ef71e692474e2ad4f47c843 | [
"MIT"
] | null | null | null | BICAMSZ/__init__.py | Sdniss/BICAMSZ | b6d4f1d5fbd515c01ef71e692474e2ad4f47c843 | [
"MIT"
] | null | null | null | BICAMSZ/__init__.py | Sdniss/BICAMSZ | b6d4f1d5fbd515c01ef71e692474e2ad4f47c843 | [
"MIT"
] | null | null | null | from .functions import normalization_pipeline, data_check, pipeline_for_pandas
| 39.5 | 78 | 0.886076 | 10 | 79 | 6.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 79 | 1 | 79 | 79 | 0.90411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 | 5 |
5d986b925de6e94bc3eebb59c91ec8728b270fe1 | 176 | py | Python | accounts/urls.py | doorsas/rustusgid10 | 6f1cfc16328ebb8a54590a327d7153fcfd487cf8 | [
"MIT"
] | null | null | null | accounts/urls.py | doorsas/rustusgid10 | 6f1cfc16328ebb8a54590a327d7153fcfd487cf8 | [
"MIT"
] | null | null | null | accounts/urls.py | doorsas/rustusgid10 | 6f1cfc16328ebb8a54590a327d7153fcfd487cf8 | [
"MIT"
] | null | null | null | from django.urls import path, include
from .views import HomePageView, AboutPageView,PugosPageView, HomeView, ArticleDetailView, AddPostView,UpdatePostView, DeletePostView
| 25.142857 | 133 | 0.840909 | 17 | 176 | 8.705882 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 176 | 6 | 134 | 29.333333 | 0.936709 | 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 | 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 | 5 |
5da1fac924d1d1be3251f1ac4aca73bf89946b8a | 4,448 | py | Python | sahara_plugin_vanilla/tests/unit/plugins/vanilla/v2_7_5/test_edp_engine.py | tellesnobrega/sahara-plugin-vanilla | 0637de5fdb7102993e272c04aeb7e05e46d7be38 | [
"Apache-2.0"
] | null | null | null | sahara_plugin_vanilla/tests/unit/plugins/vanilla/v2_7_5/test_edp_engine.py | tellesnobrega/sahara-plugin-vanilla | 0637de5fdb7102993e272c04aeb7e05e46d7be38 | [
"Apache-2.0"
] | null | null | null | sahara_plugin_vanilla/tests/unit/plugins/vanilla/v2_7_5/test_edp_engine.py | tellesnobrega/sahara-plugin-vanilla | 0637de5fdb7102993e272c04aeb7e05e46d7be38 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2015 Red Hat, Inc.
#
# 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 writ... | 44.929293 | 76 | 0.732014 | 539 | 4,448 | 5.627087 | 0.213358 | 0.10155 | 0.073854 | 0.105506 | 0.778767 | 0.745137 | 0.731619 | 0.731619 | 0.731619 | 0.731619 | 0 | 0.007226 | 0.191097 | 4,448 | 98 | 77 | 45.387755 | 0.835742 | 0.124326 | 0 | 0.653333 | 0 | 0 | 0.195103 | 0.172423 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.08 | false | 0 | 0.053333 | 0 | 0.146667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5da562d5cb4133173c624acbcfd6bd52d998473f | 969 | py | Python | tests/outlook/test_folder.py | matthewgdv/office | 8a779cecb9382a196a34a358c43d23a30c48bb04 | [
"MIT"
] | 1 | 2020-12-26T16:08:42.000Z | 2020-12-26T16:08:42.000Z | tests/outlook/test_folder.py | matthewgdv/office | 8a779cecb9382a196a34a358c43d23a30c48bb04 | [
"MIT"
] | null | null | null | tests/outlook/test_folder.py | matthewgdv/office | 8a779cecb9382a196a34a358c43d23a30c48bb04 | [
"MIT"
] | 1 | 2021-05-30T11:25:20.000Z | 2021-05-30T11:25:20.000Z | # import pytest
class TestMessageFolder:
def test_folders(self): # synced
assert True
def test_messages(self): # synced
assert True
def test_order_messages_by_date(): # synced
assert True
class TestAttributes:
class TestChildFolderCount:
pass
... | 17.944444 | 48 | 0.598555 | 93 | 969 | 6.064516 | 0.333333 | 0.111702 | 0.255319 | 0.283688 | 0.287234 | 0.287234 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 969 | 53 | 49 | 18.283019 | 0.899522 | 0.078431 | 0 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 1 | 0.264706 | false | 0.176471 | 0 | 0 | 0.558824 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5dbb49ce14155c4603dc1e0f6c6622f904f2103f | 318 | py | Python | api/tests/test_dangling_admin.py | ShubhamGG/Anubis | 2c538ef258a1edf5463596a33bc66caa2ef7e35b | [
"MIT"
] | 2 | 2022-02-24T17:39:27.000Z | 2022-02-25T02:14:06.000Z | api/tests/test_dangling_admin.py | ShubhamGG/Anubis | 2c538ef258a1edf5463596a33bc66caa2ef7e35b | [
"MIT"
] | null | null | null | api/tests/test_dangling_admin.py | ShubhamGG/Anubis | 2c538ef258a1edf5463596a33bc66caa2ef7e35b | [
"MIT"
] | null | null | null | from utils import permission_test
def test_dangling_admin():
permission_test('/admin/dangling/list', fail_for=['student', 'ta', 'professor'])
permission_test('/admin/dangling/reset', fail_for=['student', 'ta', 'professor'])
permission_test('/admin/dangling/fix', fail_for=['student', 'ta', 'professor'])
| 39.75 | 85 | 0.710692 | 39 | 318 | 5.564103 | 0.410256 | 0.258065 | 0.262673 | 0.373272 | 0.59447 | 0.479263 | 0.479263 | 0.479263 | 0.479263 | 0 | 0 | 0 | 0.100629 | 318 | 7 | 86 | 45.428571 | 0.758741 | 0 | 0 | 0 | 0 | 0 | 0.358491 | 0.066038 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5dca870e069c6a0a5d577bc3920a45fd2a1a7e19 | 5,289 | py | Python | KNN/kNN.py | lance52587/MachineLearningNote | 0184f8de178990ee31ace2a43809830874313697 | [
"MIT"
] | 37 | 2018-06-06T05:58:54.000Z | 2022-02-21T04:49:54.000Z | KNN/kNN.py | YYangjlu/MachineLearningNote | d34a9b57af3b2c6f276d14c2a7a3dccadb585421 | [
"MIT"
] | null | null | null | KNN/kNN.py | YYangjlu/MachineLearningNote | d34a9b57af3b2c6f276d14c2a7a3dccadb585421 | [
"MIT"
] | 35 | 2018-10-01T16:12:34.000Z | 2022-02-21T03:35:33.000Z | # -*- coding: utf-8 -*-
# @Date : 2017-04-03 15:47:04
# @Author : Alan Lau (rlalan@outlook.com)
# import numpy as np
# import distance
# import fwalker
# import reader
# import statistic
# def get_data(data_path):
# label_vec = []
# files = fwalker.fun(data_path)
# for file in files:
# ech_labe... | 34.568627 | 123 | 0.650974 | 723 | 5,289 | 4.44675 | 0.181189 | 0.064697 | 0.0479 | 0.031726 | 0.789425 | 0.768274 | 0.707932 | 0.707932 | 0.707932 | 0.684292 | 0 | 0.02338 | 0.223672 | 5,289 | 153 | 124 | 34.568627 | 0.75962 | 0.482889 | 0 | 0 | 0 | 0 | 0.056327 | 0.031543 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.057143 | 0 | 0.228571 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5dd0b066966e752618b683585541142ec2b6dc9f | 238 | py | Python | garage/tf/envs/__init__.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | 3 | 2019-08-11T22:26:55.000Z | 2020-11-28T10:23:50.000Z | garage/tf/envs/__init__.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | null | null | null | garage/tf/envs/__init__.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | 2 | 2019-08-11T22:30:14.000Z | 2021-03-25T02:57:50.000Z | from garage.tf.envs.base import TfEnv
from garage.tf.envs.parallel_vec_env_executor import ParallelVecEnvExecutor
from garage.tf.envs.vec_env_executor import VecEnvExecutor
__all__ = ["TfEnv", "ParallelVecEnvExecutor", "VecEnvExecutor"]
| 39.666667 | 75 | 0.840336 | 30 | 238 | 6.366667 | 0.466667 | 0.157068 | 0.188482 | 0.251309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 238 | 5 | 76 | 47.6 | 0.868182 | 0 | 0 | 0 | 0 | 0 | 0.172269 | 0.092437 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5dd1af8eac6fe8e15edb39cb5e7679147307da3d | 96,551 | py | Python | tables/tests/test_indexes.py | crs4/PyTables | 02d23d41f714122fd5fd4f7e1063c0b31d1a774b | [
"BSD-3-Clause"
] | 1 | 2020-12-27T13:53:00.000Z | 2020-12-27T13:53:00.000Z | tables/tests/test_indexes.py | mrgloom/PyTables | c30c6f40cd3d5996ee711d5685328085f3569cfc | [
"BSD-3-Clause"
] | null | null | null | tables/tests/test_indexes.py | mrgloom/PyTables | c30c6f40cd3d5996ee711d5685328085f3569cfc | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
import os
import tempfile
import copy
from tables import *
from tables.index import Index, default_auto_index, default_index_filters
from tables.idxutils import calc_chunksize
from tables.tests.common import verbose, allequal, heavy, cleanup, \
PyTablesTestCase, TempFileMix... | 38.298691 | 88 | 0.600481 | 10,902 | 96,551 | 5.234452 | 0.063016 | 0.022868 | 0.031157 | 0.01451 | 0.789752 | 0.756352 | 0.732678 | 0.703904 | 0.669278 | 0.628255 | 0 | 0.029064 | 0.290841 | 96,551 | 2,520 | 89 | 38.313889 | 0.804381 | 0.069911 | 0 | 0.673763 | 0 | 0 | 0.103459 | 0.006953 | 0 | 0 | 0 | 0 | 0.125067 | 0 | null | null | 0 | 0.005322 | null | null | 0.159127 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f8f0f8244d81c561653a797d04424b2fb4a21c5d | 94,209 | py | Python | test/fixtures/vectors.py | FuzzyBearBTC/counterpartyd | 0733463249b71901daba5d73c7b30a334860bb0a | [
"MIT"
] | 1 | 2020-10-15T06:42:34.000Z | 2020-10-15T06:42:34.000Z | test/fixtures/vectors.py | FuzzyBearBTC/counterpartyd | 0733463249b71901daba5d73c7b30a334860bb0a | [
"MIT"
] | null | null | null | test/fixtures/vectors.py | FuzzyBearBTC/counterpartyd | 0733463249b71901daba5d73c7b30a334860bb0a | [
"MIT"
] | null | null | null | from .params import ADDR, MULTISIGADDR, DEFAULT_PARAMS as DP
UNITTEST_VECTOR = {
'burn': {
'validate': [{
'in': (ADDR[0], DP['unspendable'], DP['burn_quantity'], DP['burn_start']),
'out': ([])
}, {
'in': (ADDR[0], DP['unspendable'], 1.1 * DP['burn_quantity'], DP[... | 147.894819 | 897 | 0.727149 | 7,348 | 94,209 | 9.195155 | 0.046407 | 0.098481 | 0.118284 | 0.120948 | 0.57082 | 0.499038 | 0.407661 | 0.327724 | 0.251073 | 0.231995 | 0 | 0.335347 | 0.123406 | 94,209 | 636 | 898 | 148.127358 | 0.482714 | 0 | 0 | 0.415748 | 0 | 0.094488 | 0.696409 | 0.489985 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001575 | 0 | 0.001575 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f8fabf4be397cdfb5992de02121d2a3a34f0c227 | 78 | py | Python | UDP-TEXT-TRANSFER-CLIENT/rsatest.py | Aaronlikesmath/UDP-TEXT-TRANSFER | 8f8fe038dab869d1fb174eb78b0d678bb8967890 | [
"MIT"
] | null | null | null | UDP-TEXT-TRANSFER-CLIENT/rsatest.py | Aaronlikesmath/UDP-TEXT-TRANSFER | 8f8fe038dab869d1fb174eb78b0d678bb8967890 | [
"MIT"
] | null | null | null | UDP-TEXT-TRANSFER-CLIENT/rsatest.py | Aaronlikesmath/UDP-TEXT-TRANSFER | 8f8fe038dab869d1fb174eb78b0d678bb8967890 | [
"MIT"
] | null | null | null | import rsa
public_key, private_key = rsa.newkeys(2048)
print (str(public_key)) | 26 | 43 | 0.794872 | 13 | 78 | 4.538462 | 0.692308 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.089744 | 78 | 3 | 44 | 26 | 0.774648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5d0173bb20c2cc2fcb1f53b141a85ed7ef996efc | 220 | py | Python | apps/commands/admin.py | Nuriddin-Olimjon/resume_generator | e114f1d1861191e5da6a6bf4c31e7b7d6304a52a | [
"MIT"
] | null | null | null | apps/commands/admin.py | Nuriddin-Olimjon/resume_generator | e114f1d1861191e5da6a6bf4c31e7b7d6304a52a | [
"MIT"
] | null | null | null | apps/commands/admin.py | Nuriddin-Olimjon/resume_generator | e114f1d1861191e5da6a6bf4c31e7b7d6304a52a | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Command, CommandType, CommandTypeText
# Register your models here.
admin.site.register(Command)
admin.site.register(CommandType)
admin.site.register(CommandTypeText)
| 27.5 | 57 | 0.831818 | 27 | 220 | 6.777778 | 0.481481 | 0.147541 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086364 | 220 | 7 | 58 | 31.428571 | 0.910448 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
5d2ab9e156d6abddabc3403c308e2e473a17e063 | 176 | py | Python | venv/Lib/site-packages/qtpy/tests/test_qttest.py | BoxicaLion/BasicMathFormulas | 4d9782f2c0c75ecccf4c0ea995f324f93e4fb6e2 | [
"MIT"
] | 1,520 | 2015-01-06T15:55:15.000Z | 2022-03-31T21:50:23.000Z | qtpy/tests/test_qttest.py | phil65/qtpy | a228a667829be5822cf810fb06b53bf03a2b7b39 | [
"MIT"
] | 546 | 2015-01-02T07:59:42.000Z | 2022-03-31T12:51:29.000Z | qtpy/tests/test_qttest.py | phil65/qtpy | a228a667829be5822cf810fb06b53bf03a2b7b39 | [
"MIT"
] | 328 | 2015-01-06T15:55:21.000Z | 2022-03-28T22:07:25.000Z | from __future__ import absolute_import
import pytest
from qtpy import QtTest
def test_qttest():
"""Test the qtpy.QtTest namespace"""
assert QtTest.QTest is not None
| 17.6 | 40 | 0.755682 | 25 | 176 | 5.08 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 176 | 9 | 41 | 19.555556 | 0.881944 | 0.170455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.6 | 0 | 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 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.