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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
529ce14e30da741c312fc393c6a3bc3122276b10 | 2,283 | py | Python | genomics_data_index/test/unit/variant/model/test_QueryFeatureMutationSPDI.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | 12 | 2021-05-03T20:56:05.000Z | 2022-01-04T14:52:19.000Z | genomics_data_index/test/unit/variant/model/test_QueryFeatureMutationSPDI.py | apetkau/thesis-index | 6c96e9ed75d8e661437effe62a939727a0b473fc | [
"Apache-2.0"
] | 30 | 2021-04-26T23:03:40.000Z | 2022-02-25T18:41:14.000Z | genomics_data_index/test/unit/variant/model/test_QueryFeatureMutationSPDI.py | apetkau/genomics-data-index | d0cc119fd57b8cbd701affb1c84450cf7832fa01 | [
"Apache-2.0"
] | null | null | null | from genomics_data_index.storage.model.QueryFeatureMutationSPDI import QueryFeatureMutationSPDI
def test_create():
f = QueryFeatureMutationSPDI('ref:1:A:T')
assert 'ref:1:A:T' == f.id
assert 'ref:1:A:T' == f.id_no_prefix
def test_to_unknown():
f = QueryFeatureMutationSPDI('ref:1:A:T')
assert f.t... | 36.822581 | 95 | 0.670171 | 339 | 2,283 | 4.380531 | 0.129794 | 0.381818 | 0.245118 | 0.156229 | 0.824916 | 0.729293 | 0.645118 | 0.496296 | 0.338047 | 0.259933 | 0 | 0.040837 | 0.141919 | 2,283 | 61 | 96 | 37.42623 | 0.717203 | 0 | 0 | 0.170732 | 0 | 0 | 0.176522 | 0 | 0 | 0 | 0 | 0 | 0.536585 | 1 | 0.121951 | false | 0 | 0.02439 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
52c7b415470f1ee5a26642164d0c0f54c218476f | 1,096 | py | Python | tests/adapters/test_r_adapter.py | pietervans/viewflow | 3123b1e36ca4b9464d4a8cdf13c520384b71c600 | [
"MIT"
] | 106 | 2021-03-25T12:38:54.000Z | 2022-03-10T02:56:37.000Z | tests/adapters/test_r_adapter.py | pietervans/viewflow | 3123b1e36ca4b9464d4a8cdf13c520384b71c600 | [
"MIT"
] | null | null | null | tests/adapters/test_r_adapter.py | pietervans/viewflow | 3123b1e36ca4b9464d4a8cdf13c520384b71c600 | [
"MIT"
] | 7 | 2021-04-03T13:30:36.000Z | 2021-08-28T03:11:21.000Z | import viewflow
from unittest.mock import patch, ANY, call
@patch("viewflow.parsers.dependencies_r_patterns.custom_get_dependencies")
@patch("viewflow.parsers.dependencies_r_patterns.get_dependencies_default")
def test_default_dependencies_pattern(get_default_mock, get_custom_mock):
viewflow.create_dag("./tests/... | 39.142857 | 75 | 0.801095 | 149 | 1,096 | 5.543624 | 0.261745 | 0.062954 | 0.096852 | 0.154964 | 0.825666 | 0.825666 | 0.825666 | 0.825666 | 0.653753 | 0.653753 | 0 | 0 | 0.097628 | 1,096 | 27 | 76 | 40.592593 | 0.835187 | 0.115876 | 0 | 0.375 | 0 | 0 | 0.365424 | 0.336439 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 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 |
52e34aa39cddec7a3ff4b010a4ea70f119755c4a | 110 | py | Python | weatherbotskeleton/__init__.py | andrewmichaud/weatherbotskeleton | 37dcc1b6ad337622a6fca064cb156dc1d3ac77e4 | [
"BSD-3-Clause"
] | null | null | null | weatherbotskeleton/__init__.py | andrewmichaud/weatherbotskeleton | 37dcc1b6ad337622a6fca064cb156dc1d3ac77e4 | [
"BSD-3-Clause"
] | null | null | null | weatherbotskeleton/__init__.py | andrewmichaud/weatherbotskeleton | 37dcc1b6ad337622a6fca064cb156dc1d3ac77e4 | [
"BSD-3-Clause"
] | null | null | null | """Skeleton for weather twitter bots. Spooky weather."""
from weatherbotskeleton.weatherbot_skeleton import *
| 36.666667 | 56 | 0.809091 | 12 | 110 | 7.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 110 | 2 | 57 | 55 | 0.888889 | 0.454545 | 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 |
5e1db6b33ca47f83924d39e2b27e65a2927b1f53 | 36 | py | Python | smt/utils/__init__.py | jbussemaker/smt | a1d8bc0ebea936148a2534f4e20a1134e6760dca | [
"BSD-3-Clause"
] | 354 | 2017-08-15T22:12:58.000Z | 2022-03-31T08:34:19.000Z | smt/utils/__init__.py | yuhaibo2017/smt | ab3bda1e38ca3a785dfc0ed692f1437bf7e78bd3 | [
"BSD-3-Clause"
] | 258 | 2017-08-11T15:08:40.000Z | 2022-03-30T09:54:26.000Z | smt/utils/__init__.py | yuhaibo2017/smt | ab3bda1e38ca3a785dfc0ed692f1437bf7e78bd3 | [
"BSD-3-Clause"
] | 184 | 2017-08-11T14:55:17.000Z | 2022-03-17T11:22:50.000Z | from .misc import compute_rms_error
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.90625 | 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 |
eaa6d18cda9171f6fcc95d74b553285aab33299b | 19,272 | py | Python | aoc18_data.py | zidarsk8/aoc2020 | 21239a8bfd3cba31f16c91c28a176e1163ba4cf9 | [
"Apache-2.0"
] | 1 | 2020-12-02T08:29:50.000Z | 2020-12-02T08:29:50.000Z | aoc18_data.py | zidarsk8/aoc2020 | 21239a8bfd3cba31f16c91c28a176e1163ba4cf9 | [
"Apache-2.0"
] | null | null | null | aoc18_data.py | zidarsk8/aoc2020 | 21239a8bfd3cba31f16c91c28a176e1163ba4cf9 | [
"Apache-2.0"
] | null | null | null | data = """
(7 * 5 * 6 + (9 * 8 + 3 * 3 + 5) + 7) * (6 + 3 * 9) + 6 + 7 + (7 * 5) * 4
(4 + 9 + (8 * 2) + 5) * 8 + (3 + 2 * 3 * 7 * (7 * 4 * 5) * 9) * 2
3 + 7 + (9 + 6 + 4 * 7 * 3 + 5) * 9
3 + 3 * (5 + (7 * 5 + 4 * 8 + 9 * 2) + 3) * 8 * 7
(8 + 3 + 7 * 7) + (3 + 8) * 4 + 2
2 + 9 * (7 + 3 * 3 * 8) + 9 + 3
2 * ((5 + 7 + 9 +... | 50.849604 | 147 | 0.234745 | 4,517 | 19,272 | 1.00155 | 0.002214 | 0.039346 | 0.013263 | 0.007958 | 0.476348 | 0.070955 | 0.015252 | 0 | 0 | 0 | 0 | 0.425462 | 0.449357 | 19,272 | 378 | 148 | 50.984127 | 0.000848 | 0 | 0 | 0 | 0 | 0.64191 | 0.998858 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eabb21b286b72f3459b6347cff4fa98c0d52c7bc | 49 | py | Python | python/testData/formatter/optionalAlignForMethodParameters_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/formatter/optionalAlignForMethodParameters_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/formatter/optionalAlignForMethodParameters_after.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def long_method_name(bar,
baz):
pass
| 12.25 | 25 | 0.591837 | 7 | 49 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 49 | 3 | 26 | 16.333333 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.333333 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
eac92247cc785c1bbe237d6cdcaee52116efb1a8 | 767 | py | Python | py_hcl/firrtl_ir/expr/literal.py | zhongzc/py-hcl | 5a2be0208f915377a1dae12509f1af016df6412b | [
"MIT"
] | null | null | null | py_hcl/firrtl_ir/expr/literal.py | zhongzc/py-hcl | 5a2be0208f915377a1dae12509f1af016df6412b | [
"MIT"
] | null | null | null | py_hcl/firrtl_ir/expr/literal.py | zhongzc/py-hcl | 5a2be0208f915377a1dae12509f1af016df6412b | [
"MIT"
] | null | null | null | from ..type import UIntType, SIntType
from . import Expression
from ..utils import serialize_str
class UIntLiteral(Expression):
def __init__(self, value, width):
self.value = value
self.tpe = UIntType(width)
def serialize(self, output):
self.tpe.serialize(output)
output.write(... | 27.392857 | 76 | 0.6206 | 91 | 767 | 5.10989 | 0.274725 | 0.116129 | 0.103226 | 0.090323 | 0.731183 | 0.731183 | 0.731183 | 0.731183 | 0.731183 | 0.731183 | 0 | 0.003378 | 0.228162 | 767 | 27 | 77 | 28.407407 | 0.782095 | 0 | 0 | 0.666667 | 0 | 0 | 0.018253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.190476 | false | 0 | 0.142857 | 0 | 0.428571 | 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 |
dc3c44586a2cd192470454c7b5af0364f5af012f | 329 | py | Python | src/dx/ams/text/scraper/pickle_utils.py | lmmx/dx | 063e8f8cfc24dfdf09a12001b58b4017a75ea3e8 | [
"MIT"
] | null | null | null | src/dx/ams/text/scraper/pickle_utils.py | lmmx/dx | 063e8f8cfc24dfdf09a12001b58b4017a75ea3e8 | [
"MIT"
] | 2 | 2021-01-03T16:22:11.000Z | 2021-02-07T08:41:57.000Z | src/dx/ams/text/scraper/pickle_utils.py | lmmx/dx | 063e8f8cfc24dfdf09a12001b58b4017a75ea3e8 | [
"MIT"
] | null | null | null | from ..store import dir_path as store_dir
from ....share.scraper.pickle_utils import retrieve_pickle, store_as_pickle
from functools import partial
__all__ = ["retrieve_pickle", "store_as_pickle"]
retrieve_pickle = partial(retrieve_pickle, pickle_dir=store_dir)
store_as_pickle = partial(store_as_pickle, pickle_dir=st... | 36.555556 | 75 | 0.829787 | 49 | 329 | 5.102041 | 0.285714 | 0.224 | 0.208 | 0.168 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088146 | 329 | 8 | 76 | 41.125 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.091185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
dc6f845ce0df54c846e98b3105ea9322099cc3ac | 20,469 | py | Python | test/programytest/storage/stores/sql/store/test_conversations.py | cdoebler1/AIML2 | ee692ec5ea3794cd1bc4cc8ec2a6b5e5c20a0d6a | [
"MIT"
] | 345 | 2016-11-23T22:37:04.000Z | 2022-03-30T20:44:44.000Z | test/programytest/storage/stores/sql/store/test_conversations.py | MikeyBeez/program-y | 00d7a0c7d50062f18f0ab6f4a041068e119ef7f0 | [
"MIT"
] | 275 | 2016-12-07T10:30:28.000Z | 2022-02-08T21:28:33.000Z | test/programytest/storage/stores/sql/store/test_conversations.py | VProgramMist/modified-program-y | f32efcafafd773683b3fe30054d5485fe9002b7d | [
"MIT"
] | 159 | 2016-11-28T18:59:30.000Z | 2022-03-20T18:02:44.000Z | import unittest
from unittest.mock import patch
import programytest.storage.engines as Engines
from programy.dialog.conversation import Conversation
from programy.dialog.question import Question
from programy.parser.pattern.match import Match
from programy.parser.pattern.matchcontext import MatchContext
from programy.p... | 40.7749 | 133 | 0.6887 | 2,054 | 20,469 | 6.63778 | 0.078871 | 0.033739 | 0.035426 | 0.040487 | 0.828297 | 0.771234 | 0.74747 | 0.708523 | 0.662315 | 0.654393 | 0 | 0.016647 | 0.222287 | 20,469 | 501 | 134 | 40.856287 | 0.839814 | 0 | 0 | 0.585752 | 0 | 0 | 0.07548 | 0.054815 | 0 | 0 | 0 | 0 | 0.166227 | 1 | 0.094987 | false | 0 | 0.050132 | 0.034301 | 0.182058 | 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 |
dc95cafc17ab0c4c6e21da796505c0a067d3adaa | 140 | py | Python | registry_py/__init__.py | kasun/registry_py | 8d6323932ffab84a064f3f4eff1fd4c46c0e6f18 | [
"MIT"
] | null | null | null | registry_py/__init__.py | kasun/registry_py | 8d6323932ffab84a064f3f4eff1fd4c46c0e6f18 | [
"MIT"
] | null | null | null | registry_py/__init__.py | kasun/registry_py | 8d6323932ffab84a064f3f4eff1fd4c46c0e6f18 | [
"MIT"
] | null | null | null | from .registry import ClassNotRegistered, Registrable, Registry
__version__ = "0.1"
__all__ = [ClassNotRegistered, Registrable, Registry]
| 23.333333 | 63 | 0.8 | 13 | 140 | 8 | 0.692308 | 0.557692 | 0.711538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.114286 | 140 | 5 | 64 | 28 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
dc9ceb1308996c16bc45af0ee449ae0102fe7051 | 45,864 | py | Python | nova/network/api.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/network/api.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/network/api.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright (c) 2011 X.commerce, a business unit of eBay Inc.'
nl|'\n'
comment|'# Copyright 2010 United States Government as represented by the'
nl|'\n'
comment|'# Administrator of the National Aeronautics and Space Administration.'
nl|'\n'
comment|'# Copyright 2013 IBM Corp.'
nl|'\n'
comment|'# All... | 14.168675 | 1,216 | 0.622449 | 6,776 | 45,864 | 4.104634 | 0.064492 | 0.151656 | 0.068313 | 0.056089 | 0.783411 | 0.734656 | 0.6749 | 0.618596 | 0.576601 | 0.545033 | 0 | 0.000518 | 0.116344 | 45,864 | 3,236 | 1,217 | 14.173053 | 0.685748 | 0 | 0 | 0.93665 | 0 | 0.000618 | 0.854287 | 0.152625 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000927 | 0.004326 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dcae96d912559e20b274d32ee80812e93b0b6bab | 378 | py | Python | bika/lims/browser/fields/__init__.py | hocinebendou/bika.gsoc | 85bc0c587de7f52073ae0e89bddbc77bf875f295 | [
"MIT"
] | null | null | null | bika/lims/browser/fields/__init__.py | hocinebendou/bika.gsoc | 85bc0c587de7f52073ae0e89bddbc77bf875f295 | [
"MIT"
] | null | null | null | bika/lims/browser/fields/__init__.py | hocinebendou/bika.gsoc | 85bc0c587de7f52073ae0e89bddbc77bf875f295 | [
"MIT"
] | null | null | null | from addressfield import AddressField
from datetimefield import DateTimeField
from durationfield import DurationField
from aranalysesfield import ARAnalysesField
from interimfieldsfield import InterimFieldsField
from referenceresultsfield import ReferenceResultsField
from historyawarereferencefield import HistoryAwareR... | 42 | 65 | 0.915344 | 32 | 378 | 10.8125 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084656 | 378 | 8 | 66 | 47.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f4be7b1045efb742f732c41b714ecb00ec646734 | 132 | py | Python | AttackPatterns.py | stefanosesia/Cthulu | dc2531d7250a14453b2d83f370d5a37e7f74f49f | [
"BSD-3-Clause-Clear"
] | 4 | 2019-03-23T17:59:20.000Z | 2021-05-25T18:03:47.000Z | AttackPatterns.py | stefanosesia/Cthulu | dc2531d7250a14453b2d83f370d5a37e7f74f49f | [
"BSD-3-Clause-Clear"
] | null | null | null | AttackPatterns.py | stefanosesia/Cthulu | dc2531d7250a14453b2d83f370d5a37e7f74f49f | [
"BSD-3-Clause-Clear"
] | null | null | null | exploits = {"445": {"metasploit": ["exploit/linux/samba/is_known_pipename","exploit/multi/samba/usermap_script"]},
}
#@TODO add more | 44 | 114 | 0.734848 | 17 | 132 | 5.529412 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.060606 | 132 | 3 | 115 | 44 | 0.733871 | 0.106061 | 0 | 0 | 0 | 0 | 0.711864 | 0.601695 | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f4d2f355b8e36d4aff621ecf3a21feeb0d198f62 | 94 | py | Python | src/rubrix/sdk/__init__.py | drahnreb/rubrix | 340e545baf4d65a0d94e3c671ad6c93ff1d59700 | [
"Apache-2.0"
] | null | null | null | src/rubrix/sdk/__init__.py | drahnreb/rubrix | 340e545baf4d65a0d94e3c671ad6c93ff1d59700 | [
"Apache-2.0"
] | null | null | null | src/rubrix/sdk/__init__.py | drahnreb/rubrix | 340e545baf4d65a0d94e3c671ad6c93ff1d59700 | [
"Apache-2.0"
] | null | null | null | """ A client library for accessing Rubrix """
from .client import AuthenticatedClient, Client
| 31.333333 | 47 | 0.776596 | 11 | 94 | 6.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 2 | 48 | 47 | 0.901235 | 0.393617 | 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 |
f4f0b61e0966ba17b82ccb9bead9fa1c6018a32a | 183 | py | Python | ClassArch/utils/peek_hdf5.py | seungjunlee96/ClassArch | c8a07f5662fbc2bba97bb09055c222e5697482bb | [
"CC0-1.0"
] | null | null | null | ClassArch/utils/peek_hdf5.py | seungjunlee96/ClassArch | c8a07f5662fbc2bba97bb09055c222e5697482bb | [
"CC0-1.0"
] | null | null | null | ClassArch/utils/peek_hdf5.py | seungjunlee96/ClassArch | c8a07f5662fbc2bba97bb09055c222e5697482bb | [
"CC0-1.0"
] | null | null | null | import h5py
file_name = '../data/modelnet40/ply_data_labeled0.h5'
final_label = h5py.File(file_name, 'r')
print(final_label)
print(final_label['data'])
print(final_label['label'])
| 18.3 | 53 | 0.754098 | 28 | 183 | 4.642857 | 0.464286 | 0.307692 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.081967 | 183 | 9 | 54 | 20.333333 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.26776 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
520889d86fc73e4f2227dd4c4e9e72efd9c52c62 | 63 | py | Python | rina/__init__.py | ddk50/upfg_rina | c6808ffec6dd8c84ab1c02721ab2b57f29a5283b | [
"MIT"
] | null | null | null | rina/__init__.py | ddk50/upfg_rina | c6808ffec6dd8c84ab1c02721ab2b57f29a5283b | [
"MIT"
] | null | null | null | rina/__init__.py | ddk50/upfg_rina | c6808ffec6dd8c84ab1c02721ab2b57f29a5283b | [
"MIT"
] | null | null | null | from .notifications import Notifications
from .msg import Msg
| 15.75 | 40 | 0.825397 | 8 | 63 | 6.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 41 | 21 | 0.962963 | 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 |
520facfab8600a492d46797bc56417563edc70ea | 155 | py | Python | tests/base.py | sharadmv/deepx | 07470e7a579a63427de1d5ff90b9fd00d3f54b61 | [
"MIT"
] | 74 | 2015-11-13T02:26:37.000Z | 2021-07-29T11:00:45.000Z | tests/base.py | sharadmv/deepx | 07470e7a579a63427de1d5ff90b9fd00d3f54b61 | [
"MIT"
] | 21 | 2015-12-12T20:33:55.000Z | 2019-04-03T02:49:42.000Z | tests/base.py | sharadmv/deepx | 07470e7a579a63427de1d5ff90b9fd00d3f54b61 | [
"MIT"
] | 19 | 2015-11-23T10:07:01.000Z | 2021-08-30T17:06:00.000Z | import unittest
class BaseTest(unittest.TestCase):
def create_function(self, net):
# self.assertTrue(net.is_configured())
return net
| 19.375 | 46 | 0.690323 | 18 | 155 | 5.833333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212903 | 155 | 7 | 47 | 22.142857 | 0.860656 | 0.232258 | 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 |
52106f5f615145c1a366696ccc503c8a0738b1e3 | 92 | py | Python | molecules/utils/__init__.py | yngtodd/molecules | b16281ae3eda64891f603d23472092051c2bc244 | [
"MIT"
] | 2 | 2020-03-16T07:47:42.000Z | 2021-05-12T11:39:51.000Z | molecules/utils/__init__.py | yngtodd/molecules | b16281ae3eda64891f603d23472092051c2bc244 | [
"MIT"
] | 55 | 2018-02-10T23:22:15.000Z | 2019-12-22T23:11:13.000Z | molecules/utils/__init__.py | yngtodd/molecules | b16281ae3eda64891f603d23472092051c2bc244 | [
"MIT"
] | 4 | 2018-08-06T19:49:35.000Z | 2020-06-03T02:07:42.000Z | from matrix_op import triu_to_full
from read_file import read_h5_contact_maps, read_h5_RMSD
| 30.666667 | 56 | 0.891304 | 18 | 92 | 4.055556 | 0.722222 | 0.164384 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0.097826 | 92 | 2 | 57 | 46 | 0.855422 | 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 |
522063b1c67a35bc106ebce4eaa7f9ea1de957f3 | 17,391 | py | Python | reviewboard/search/tests.py | jeyaprabum/Reviewboard | fe4dc611ef961b12b6991a74faa24a22d393fb4a | [
"MIT"
] | 1 | 2019-08-20T03:39:04.000Z | 2019-08-20T03:39:04.000Z | reviewboard/search/tests.py | jeyaprabum/Reviewboard | fe4dc611ef961b12b6991a74faa24a22d393fb4a | [
"MIT"
] | 1 | 2019-08-20T03:39:45.000Z | 2019-08-20T03:39:45.000Z | reviewboard/search/tests.py | jeyaprabum/Reviewboard | fe4dc611ef961b12b6991a74faa24a22d393fb4a | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.contrib.auth.models import User
from django.contrib.sites.models import Site
from django.core.management import call_command
from django.utils import six
from djblets.siteconfig.models import SiteConfiguration
from djblets.testing.decorators import add_fixtures
from ... | 38.560976 | 78 | 0.651314 | 1,936 | 17,391 | 5.656508 | 0.110021 | 0.087846 | 0.035065 | 0.037805 | 0.785225 | 0.769154 | 0.753538 | 0.730253 | 0.708611 | 0.699297 | 0 | 0.00361 | 0.251337 | 17,391 | 450 | 79 | 38.646667 | 0.837481 | 0.127997 | 0 | 0.678571 | 0 | 0 | 0.073062 | 0.01835 | 0 | 0 | 0 | 0 | 0.203571 | 1 | 0.067857 | false | 0.039286 | 0.05 | 0 | 0.128571 | 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 |
5232bc7999efef13019d6f1b2c985c180c87823b | 632 | py | Python | tests/y2021/test_2021_d3.py | ErikThorsell/advent-of-code-python | 8afb3d2dd731b77a421eff9dbd33d1f6a9dfbee3 | [
"MIT"
] | 2 | 2021-12-03T16:17:13.000Z | 2022-01-27T12:29:45.000Z | tests/y2021/test_2021_d3.py | ErikThorsell/advent-of-code-python | 8afb3d2dd731b77a421eff9dbd33d1f6a9dfbee3 | [
"MIT"
] | null | null | null | tests/y2021/test_2021_d3.py | ErikThorsell/advent-of-code-python | 8afb3d2dd731b77a421eff9dbd33d1f6a9dfbee3 | [
"MIT"
] | 1 | 2021-12-29T20:38:38.000Z | 2021-12-29T20:38:38.000Z | """TEST MODULE TEMPLATE"""
from advent_of_code.y2021.d3 import solution_1
from advent_of_code.y2021.d3 import solution_2
from advent_of_code.utils.parse import split_str_by_newline
def test_solution_1():
example_input = """00100
11110
10110
10111
10101
01111
00111
11100
10000
11001
00010
01010"""
example_res... | 15.8 | 76 | 0.78481 | 96 | 632 | 4.84375 | 0.395833 | 0.103226 | 0.077419 | 0.103226 | 0.705376 | 0.705376 | 0.705376 | 0.705376 | 0.365591 | 0.365591 | 0 | 0.261993 | 0.142405 | 632 | 39 | 77 | 16.205128 | 0.595941 | 0.031646 | 0 | 0.727273 | 0 | 0 | 0.234323 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 1 | 0.060606 | false | 0 | 0.090909 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 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 |
525ffd2065b9ffba4f854faf0944dc840d048dfc | 131 | py | Python | utl/layout/__init__.py | angellbelger/Electronic-Ballot-Box | 2d929c9e42ea326be455f2347f2ee10dcf420ae9 | [
"MIT"
] | null | null | null | utl/layout/__init__.py | angellbelger/Electronic-Ballot-Box | 2d929c9e42ea326be455f2347f2ee10dcf420ae9 | [
"MIT"
] | null | null | null | utl/layout/__init__.py | angellbelger/Electronic-Ballot-Box | 2d929c9e42ea326be455f2347f2ee10dcf420ae9 | [
"MIT"
] | null | null | null | colour = {'r': '\033[31m', 'g': '\033[32m', 'w': '\033[33m', 'b': '\033[34m', 'p': '\033[35m', 'c': '\033[36m', 'limit': '\033[m'}
| 65.5 | 130 | 0.435115 | 22 | 131 | 2.590909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286957 | 0.122137 | 131 | 1 | 131 | 131 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0.496183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bff01ceadbd08e1782704d9d69e8bfef5179d8be | 21,702 | py | Python | tests/test_parser/test_rdfxml.py | cthoyt/pronto | aa1deaf8ed02c0ce8a3cbdb1a4e7dd18436bd017 | [
"MIT"
] | 182 | 2016-07-23T00:04:30.000Z | 2022-03-31T13:42:03.000Z | tests/test_parser/test_rdfxml.py | cthoyt/pronto | aa1deaf8ed02c0ce8a3cbdb1a4e7dd18436bd017 | [
"MIT"
] | 160 | 2016-08-11T19:12:48.000Z | 2022-03-28T07:22:42.000Z | tests/test_parser/test_rdfxml.py | cthoyt/pronto | aa1deaf8ed02c0ce8a3cbdb1a4e7dd18436bd017 | [
"MIT"
] | 44 | 2016-11-02T10:57:06.000Z | 2021-11-05T11:30:23.000Z | import io
import os
import unittest
import warnings
import xml.etree.ElementTree as etree
import pronto
class TestRdfXMLParser(unittest.TestCase):
@staticmethod
def get_ontology(content):
xml = f"""
<rdf:RDF xmlns="http://purl.obolibrary.org/obo/TEMP#"
xml:base="http://purl.obo... | 48.013274 | 137 | 0.589531 | 2,476 | 21,702 | 5.086026 | 0.084814 | 0.037164 | 0.06861 | 0.080044 | 0.800762 | 0.790836 | 0.75407 | 0.730326 | 0.699913 | 0.68141 | 0 | 0.0427 | 0.245692 | 21,702 | 451 | 138 | 48.119734 | 0.726573 | 0.02456 | 0 | 0.583333 | 0 | 0.138889 | 0.550384 | 0.032032 | 0 | 0 | 0 | 0 | 0.203704 | 1 | 0.095679 | false | 0 | 0.027778 | 0 | 0.12963 | 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 |
874de35dfed9fa1e42f40b3c1cf4355d5c87ef70 | 95 | py | Python | app/parking/__init__.py | joannekoye/parking-system | b70c48dc3e648e69dc3902572a7457e57dfc4f0b | [
"MIT"
] | null | null | null | app/parking/__init__.py | joannekoye/parking-system | b70c48dc3e648e69dc3902572a7457e57dfc4f0b | [
"MIT"
] | 1 | 2020-05-14T08:43:41.000Z | 2020-05-14T08:43:41.000Z | app/parking/__init__.py | joannekoye/parking-system | b70c48dc3e648e69dc3902572a7457e57dfc4f0b | [
"MIT"
] | null | null | null | from flask import Blueprint
parking = Blueprint('parking', __name__)
from . import views,forms | 23.75 | 40 | 0.789474 | 12 | 95 | 5.916667 | 0.666667 | 0.450704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 4 | 41 | 23.75 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0.072917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
8759ba42917de9b8c83de47fe9fc973f6bcc177d | 1,802 | py | Python | tests/test_grammar.py | bwhmather/python-lalr | 8a98db00c05ee7c13a5e5ec7b580d28e04cb43ca | [
"BSD-3-Clause"
] | 1 | 2018-04-11T14:45:58.000Z | 2018-04-11T14:45:58.000Z | tests/test_grammar.py | bwhmather/python-lalr | 8a98db00c05ee7c13a5e5ec7b580d28e04cb43ca | [
"BSD-3-Clause"
] | null | null | null | tests/test_grammar.py | bwhmather/python-lalr | 8a98db00c05ee7c13a5e5ec7b580d28e04cb43ca | [
"BSD-3-Clause"
] | null | null | null | import pytest
from lalr.grammar import Grammar, Production
def test_production_name_immutable():
production = Production("A", ("B",))
with pytest.raises(AttributeError):
production.name = "a"
def test_production_symbols_immutable():
production = Production("A", ("B",))
with pytest.raises(At... | 24.684932 | 49 | 0.476138 | 174 | 1,802 | 4.787356 | 0.149425 | 0.171669 | 0.194478 | 0.226891 | 0.833133 | 0.72509 | 0.684274 | 0.684274 | 0.633854 | 0.633854 | 0 | 0 | 0.292453 | 1,802 | 72 | 50 | 25.027778 | 0.653333 | 0 | 0 | 0.45614 | 0 | 0 | 0.038291 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 1 | 0.105263 | false | 0 | 0.035088 | 0 | 0.140351 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 0 | 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 |
5e468d2413b70f1452a5d871c307e98ee2f6ee09 | 19 | py | Python | checkov/version.py | mourlos/checkov | 9d74c43eebd1d88f2af85ce16647c9ac0d575117 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | mourlos/checkov | 9d74c43eebd1d88f2af85ce16647c9ac0d575117 | [
"Apache-2.0"
] | null | null | null | checkov/version.py | mourlos/checkov | 9d74c43eebd1d88f2af85ce16647c9ac0d575117 | [
"Apache-2.0"
] | null | null | null | version = '2.0.27'
| 9.5 | 18 | 0.578947 | 4 | 19 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5e4bc06e2b522ca4dddf996ce6b9548e74976792 | 157 | py | Python | tests/SampleApps/python/flask-setup-py-requirement-txt/app.py | samruddhikhandale/Oryx | 9031b36c02967bb4000645950680572a8a76fa56 | [
"MIT"
] | 403 | 2019-05-07T23:40:45.000Z | 2022-03-31T11:14:07.000Z | tests/SampleApps/python/flask-setup-py-requirement-txt/app.py | samruddhikhandale/Oryx | 9031b36c02967bb4000645950680572a8a76fa56 | [
"MIT"
] | 514 | 2019-05-07T17:00:14.000Z | 2022-03-31T20:09:16.000Z | tests/SampleApps/python/flask-setup-py-requirement-txt/app.py | samruddhikhandale/Oryx | 9031b36c02967bb4000645950680572a8a76fa56 | [
"MIT"
] | 108 | 2019-05-07T23:40:47.000Z | 2022-03-30T00:15:19.000Z | from flask import Flask
from datetime import datetime
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World! " + str(datetime.now())
| 15.7 | 48 | 0.687898 | 21 | 157 | 4.952381 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171975 | 157 | 9 | 49 | 17.444444 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
5ea028f7100c4cd8651a24292deb65d77ff55a0e | 8,628 | py | Python | segments_helpers.py | NateThom/partial_blackout | 58116cec821f94358f6bbb2c9d8873dea2d62a58 | [
"MIT"
] | null | null | null | segments_helpers.py | NateThom/partial_blackout | 58116cec821f94358f6bbb2c9d8873dea2d62a58 | [
"MIT"
] | null | null | null | segments_helpers.py | NateThom/partial_blackout | 58116cec821f94358f6bbb2c9d8873dea2d62a58 | [
"MIT"
] | null | null | null | import statistics
import numpy as np
def landmark_points(image_name, landmarks):
########## Hardcoded / Predefined Landmarks #########
# Eye Brow
brow_points = np.array([
[landmarks.loc[image_name, f'x_{17}'], landmarks.loc[image_name, f'y_{17}']],
[landmarks.loc[image_name, f'x_{18... | 61.191489 | 128 | 0.584492 | 1,252 | 8,628 | 3.738818 | 0.08147 | 0.273019 | 0.508438 | 0.628071 | 0.90878 | 0.898099 | 0.602008 | 0.582354 | 0.573809 | 0.538347 | 0 | 0.044303 | 0.217779 | 8,628 | 141 | 129 | 61.191489 | 0.649281 | 0.035466 | 0 | 0.37931 | 0 | 0 | 0.099515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025862 | false | 0 | 0.017241 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5ea7485a195bd839653b8d2c62bb55fdbe019d1b | 29 | py | Python | runner.py | DiZiNnEs/OLX-parser | 731ca4a8d32a7bba12ffa2ff0e332c56f16e24be | [
"MIT"
] | 1 | 2020-09-19T18:39:39.000Z | 2020-09-19T18:39:39.000Z | runner.py | Putri777/OLX-parser | 5c855533c83341bfa79cbe522a50a7463da61590 | [
"MIT"
] | null | null | null | runner.py | Putri777/OLX-parser | 5c855533c83341bfa79cbe522a50a7463da61590 | [
"MIT"
] | 1 | 2020-09-18T20:55:07.000Z | 2020-09-18T20:55:07.000Z | from src import main
main()
| 7.25 | 20 | 0.724138 | 5 | 29 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 29 | 3 | 21 | 9.666667 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0d5f54faefa8e8879faecfe3b9b74073edc0eb43 | 105 | py | Python | 7_Sarven_Desert/357-Harrowland/harrowland.py | katitek/Code-Combat | fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef | [
"MIT"
] | null | null | null | 7_Sarven_Desert/357-Harrowland/harrowland.py | katitek/Code-Combat | fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef | [
"MIT"
] | null | null | null | 7_Sarven_Desert/357-Harrowland/harrowland.py | katitek/Code-Combat | fbda1ac0ae4a2e2cbfce21492a2caec8098f1bef | [
"MIT"
] | null | null | null | # Advanced solutions for multiplayer battless and brawls will be ready after all levels will be finished
| 52.5 | 104 | 0.828571 | 16 | 105 | 5.4375 | 0.875 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 1 | 105 | 105 | 0.988636 | 0.971429 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d6198281f5001c84ecdecab4794751e06e52c89 | 75 | py | Python | neo4jdriver/views.py | absalon-james/cloud_snitch_web | 85e00b68b7cd267ce1173a01f565a86c14d5b087 | [
"Apache-2.0"
] | 1 | 2021-05-21T01:01:16.000Z | 2021-05-21T01:01:16.000Z | neo4jdriver/views.py | absalon-james/cloud_snitch_web | 85e00b68b7cd267ce1173a01f565a86c14d5b087 | [
"Apache-2.0"
] | 50 | 2021-05-20T21:00:55.000Z | 2022-03-12T00:59:18.000Z | neo4jdriver/views.py | absalon-james/cloud_snitch_web | 85e00b68b7cd267ce1173a01f565a86c14d5b087 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render # noqa F401
# Create your views here.
| 18.75 | 47 | 0.773333 | 11 | 75 | 5.272727 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048387 | 0.173333 | 75 | 3 | 48 | 25 | 0.887097 | 0.44 | 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 |
0d8edf7bcdef5842f1bfd01f58ac8e4ef8b29ff5 | 1,096 | py | Python | test/question.py | guoweikuang/zhihu-api | 84d15bc7fc6fbf14fe4a170fb18aa0a132c213b3 | [
"MIT"
] | 1,065 | 2017-04-16T14:22:15.000Z | 2022-03-17T13:10:29.000Z | test/question.py | guoweikuang/zhihu-api | 84d15bc7fc6fbf14fe4a170fb18aa0a132c213b3 | [
"MIT"
] | 44 | 2017-04-17T07:07:45.000Z | 2021-04-13T03:32:30.000Z | test/question.py | guoweikuang/zhihu-api | 84d15bc7fc6fbf14fe4a170fb18aa0a132c213b3 | [
"MIT"
] | 378 | 2017-04-17T06:51:35.000Z | 2022-02-23T03:17:29.000Z | # encoding: utf-8
import unittest
from zhihu import Question
class QuestionTestCase(unittest.TestCase):
def test_follow_question_with_id(self):
data = Question(id=32096743).follow_question()
self.assertEqual({"is_following": True}, data)
def test_unfollow_question_with_id(self):
data... | 34.25 | 105 | 0.694343 | 129 | 1,096 | 5.658915 | 0.27907 | 0.115068 | 0.157534 | 0.171233 | 0.791781 | 0.773973 | 0.731507 | 0.731507 | 0.445205 | 0.445205 | 0 | 0.055494 | 0.17792 | 1,096 | 31 | 106 | 35.354839 | 0.754717 | 0.046533 | 0 | 0.277778 | 0 | 0 | 0.1917 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 1 | 0.277778 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0d94830753bf4d5cb72b3ee2d29b788adf71448f | 88 | py | Python | src/ansible_navigator/image_manager/__init__.py | ekmixon/ansible-navigator | 9903d82ac76a4aee61a64c2e5f19f5ccca3cf136 | [
"Apache-2.0",
"MIT"
] | 134 | 2021-03-26T17:44:49.000Z | 2022-03-31T13:15:52.000Z | src/ansible_navigator/image_manager/__init__.py | cidrblock/ansible-navigator | 674e5edce4d4181e6f79b6f24b590a347156665d | [
"Apache-2.0",
"MIT"
] | 631 | 2021-03-26T19:38:32.000Z | 2022-03-31T22:57:36.000Z | src/ansible_navigator/image_manager/__init__.py | cidrblock/ansible-navigator | 674e5edce4d4181e6f79b6f24b590a347156665d | [
"Apache-2.0",
"MIT"
] | 48 | 2021-03-26T17:44:29.000Z | 2022-03-08T21:12:26.000Z | """image manager"""
from .puller import ImagePuller
from .inspector import inspect_all
| 17.6 | 34 | 0.784091 | 11 | 88 | 6.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 4 | 35 | 22 | 0.883117 | 0.147727 | 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 |
0da381b34f4d59767ef4e6edfda8eedf7b5a92fd | 135 | py | Python | pic_parser/utils.py | onakanob/ehd_exsitu | 28dcc3366f09f149b2d45fe51146d51c9be65c2f | [
"MIT"
] | null | null | null | pic_parser/utils.py | onakanob/ehd_exsitu | 28dcc3366f09f149b2d45fe51146d51c9be65c2f | [
"MIT"
] | null | null | null | pic_parser/utils.py | onakanob/ehd_exsitu | 28dcc3366f09f149b2d45fe51146d51c9be65c2f | [
"MIT"
] | null | null | null | import numpy as np
def cell_to_array(string):
split_string = string[1:-1].split()
return np.array(split_string).astype(float) | 22.5 | 47 | 0.725926 | 22 | 135 | 4.272727 | 0.636364 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.148148 | 135 | 6 | 47 | 22.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0de32b91134ada897cd65028115f0fd17b1bfc96 | 69 | py | Python | asaplib/kernel/__init__.py | BingqingCheng/ASAP | a92dd34eaa092dcbe46163e000ebd2ccee22f8ae | [
"MIT"
] | 74 | 2020-01-09T10:38:39.000Z | 2022-03-04T15:09:05.000Z | asaplib/kernel/__init__.py | FelixWodaczek/ASAP | d34a064cd7e409ad8b5ae0dec4f1c0a621717773 | [
"MIT"
] | 31 | 2020-01-30T13:15:42.000Z | 2022-03-03T05:42:51.000Z | asaplib/kernel/__init__.py | FelixWodaczek/ASAP | d34a064cd7e409ad8b5ae0dec4f1c0a621717773 | [
"MIT"
] | 14 | 2020-02-23T15:03:31.000Z | 2022-03-04T15:04:04.000Z | from .ml_kernel_operations import *
from .kernel_transforms import *
| 23 | 35 | 0.826087 | 9 | 69 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 36 | 34.5 | 0.885246 | 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 |
219a2fe56ae20108818f8f0d4c45f6c94472b2e4 | 18 | py | Python | apps/users/views.py | vuonghv/django_rocket | d0dacddb9a2464327b4bbfb03cb199e7dafe8f28 | [
"MIT"
] | 2 | 2018-11-19T07:43:31.000Z | 2018-11-20T03:36:00.000Z | apps/users/views.py | vuonghv/django_rocket | d0dacddb9a2464327b4bbfb03cb199e7dafe8f28 | [
"MIT"
] | null | null | null | apps/users/views.py | vuonghv/django_rocket | d0dacddb9a2464327b4bbfb03cb199e7dafe8f28 | [
"MIT"
] | null | null | null | # Input code here
| 9 | 17 | 0.722222 | 3 | 18 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.928571 | 0.833333 | 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 |
219b43c413d778cf4e16e7e0475d4ded0a55cd10 | 158 | py | Python | starfish/spots/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | 3 | 2020-09-01T12:18:20.000Z | 2021-05-18T03:50:31.000Z | starfish/spots/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | starfish/spots/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | from ._decoder import Decoder
from ._detector import SpotFinder
from ._pixel_decoder import PixelSpotDecoder
from ._target_assignment import TargetAssignment
| 31.6 | 48 | 0.873418 | 18 | 158 | 7.333333 | 0.555556 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 158 | 4 | 49 | 39.5 | 0.929577 | 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 |
21a1a68f314ffeaa8e6060d63c9efd42ecfb02d2 | 107 | py | Python | __init__.py | chenkovsky/recpy | 4e9387785021670862f73831d159bfc0b55ec5ba | [
"MIT"
] | 3 | 2015-08-18T16:16:18.000Z | 2016-02-29T12:13:20.000Z | __init__.py | chenkovsky/recpy | 4e9387785021670862f73831d159bfc0b55ec5ba | [
"MIT"
] | null | null | null | __init__.py | chenkovsky/recpy | 4e9387785021670862f73831d159bfc0b55ec5ba | [
"MIT"
] | null | null | null | __author__ = 'chenkovsky'
from .knn import UserBasedKNNRecommender
from .knn import ItemBasedKNNRecommender | 35.666667 | 40 | 0.859813 | 10 | 107 | 8.8 | 0.7 | 0.159091 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093458 | 107 | 3 | 41 | 35.666667 | 0.907216 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
21a737df32f9598ed98747c0a2d9e8decbd44971 | 163 | py | Python | gym_simplifiedtetris/_utils/__init__.py | OliverOverend/gym-simplifiedtetristemp | 832a0e99b52ec0c13bad1badc0dc1ba6453a6981 | [
"MIT"
] | 3 | 2021-10-04T19:38:14.000Z | 2022-03-15T09:15:09.000Z | gym_simplifiedtetris/_utils/__init__.py | OliverOverend/gym-simplifiedtetristemp | 832a0e99b52ec0c13bad1badc0dc1ba6453a6981 | [
"MIT"
] | 2 | 2021-10-05T18:19:29.000Z | 2021-10-05T18:29:37.000Z | gym_simplifiedtetris/_utils/__init__.py | OliverOverend/gym-simplifiedtetristemp | 832a0e99b52ec0c13bad1badc0dc1ba6453a6981 | [
"MIT"
] | 3 | 2021-11-19T20:50:07.000Z | 2022-03-24T16:37:37.000Z | """Initialise the utils package."""
from gym_simplifiedtetris._utils._piece import _Piece
from gym_simplifiedtetris._utils._colours import _Colours
__all__ = []
| 23.285714 | 57 | 0.809816 | 19 | 163 | 6.315789 | 0.578947 | 0.116667 | 0.383333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104294 | 163 | 6 | 58 | 27.166667 | 0.821918 | 0.177914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
21e754beffe5138bc7fda84796744b4e816a124a | 59 | py | Python | deep_compare/__init__.py | lavanyavijayk/deep-compare | c7943b883948795d5f7ca86af0ada5dc888db2b6 | [
"MIT"
] | null | null | null | deep_compare/__init__.py | lavanyavijayk/deep-compare | c7943b883948795d5f7ca86af0ada5dc888db2b6 | [
"MIT"
] | null | null | null | deep_compare/__init__.py | lavanyavijayk/deep-compare | c7943b883948795d5f7ca86af0ada5dc888db2b6 | [
"MIT"
] | 1 | 2020-10-08T06:20:24.000Z | 2020-10-08T06:20:24.000Z | from deep_compare.compare_variables import CompareVariables | 59 | 59 | 0.932203 | 7 | 59 | 7.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050847 | 59 | 1 | 59 | 59 | 0.946429 | 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 |
df20cce046d4a2e34e19d27317efb766ffb1c3ed | 105 | py | Python | game/citygen/__init__.py | Moguri/owg | 2acadef7d3307251f60820846e845a39595e36b5 | [
"Apache-2.0"
] | null | null | null | game/citygen/__init__.py | Moguri/owg | 2acadef7d3307251f60820846e845a39595e36b5 | [
"Apache-2.0"
] | null | null | null | game/citygen/__init__.py | Moguri/owg | 2acadef7d3307251f60820846e845a39595e36b5 | [
"Apache-2.0"
] | null | null | null | from citygen import CityGen
from util import mesh_to_p3d_node
from map import CityMap
from data import *
| 21 | 33 | 0.838095 | 18 | 105 | 4.722222 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.152381 | 105 | 4 | 34 | 26.25 | 0.94382 | 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 |
df4cfd1ccbe7c3a3b74141fad506db41b0bc72ce | 28 | py | Python | py_cf/__init__.py | bopopescu/local_scda | 40fa4a586f140dc00b8d3f53c732e22e022be338 | [
"MIT"
] | null | null | null | py_cf/__init__.py | bopopescu/local_scda | 40fa4a586f140dc00b8d3f53c732e22e022be338 | [
"MIT"
] | null | null | null | py_cf/__init__.py | bopopescu/local_scda | 40fa4a586f140dc00b8d3f53c732e22e022be338 | [
"MIT"
] | 2 | 2020-07-23T21:55:21.000Z | 2021-01-14T12:27:19.000Z | from cf_interpreter import * | 28 | 28 | 0.857143 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 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 |
df57ecf05730ff3e5c40fda2bddc313b7083ed73 | 940 | py | Python | session01_Decorators/test_assert_raises.py | morales-gregorio/Python-Module-of-the-Week | 2c68e20be3e174be9b91c92ac872806dd982e7d2 | [
"MIT"
] | 15 | 2017-06-22T11:57:38.000Z | 2022-03-31T13:34:07.000Z | session01_Decorators/test_assert_raises.py | morales-gregorio/Python-Module-of-the-Week | 2c68e20be3e174be9b91c92ac872806dd982e7d2 | [
"MIT"
] | 3 | 2019-10-16T10:32:55.000Z | 2020-01-09T09:24:48.000Z | session01_Decorators/test_assert_raises.py | morales-gregorio/Python-Module-of-the-Week | 2c68e20be3e174be9b91c92ac872806dd982e7d2 | [
"MIT"
] | 6 | 2016-10-07T12:50:24.000Z | 2019-11-28T11:15:04.000Z | #!/usr/bin/env python3
import sys
def test_we_can_import_module():
import assert_raises
def test_context_manager_exists():
import assert_raises
assert_raises.assert_raises
def test_context_manager_raises_exception():
import assert_raises
with assert_raises.assert_raises(Exception):
1 / 0... | 23.5 | 61 | 0.706383 | 108 | 940 | 5.759259 | 0.388889 | 0.250804 | 0.144695 | 0.192926 | 0.598071 | 0.553055 | 0.446945 | 0.446945 | 0.446945 | 0.446945 | 0 | 0.005502 | 0.226596 | 940 | 39 | 62 | 24.102564 | 0.850069 | 0.02234 | 0 | 0.580645 | 0 | 0 | 0.071895 | 0 | 0 | 0 | 0 | 0 | 0.419355 | 1 | 0.16129 | true | 0.096774 | 0.258065 | 0 | 0.419355 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
10c425aa5985bbd6ffcaf18085d8b73c1391169f | 1,524 | py | Python | src/sugar/logo.py | rahlk/MOOSE | e45b64cf625bb90aa8c1c24ab1c8f52ab485a316 | [
"MIT"
] | null | null | null | src/sugar/logo.py | rahlk/MOOSE | e45b64cf625bb90aa8c1c24ab1c8f52ab485a316 | [
"MIT"
] | 1 | 2016-11-27T20:18:00.000Z | 2016-11-27T20:18:00.000Z | src/sugar/logo.py | rahlk/MAPGen | 25bc1a84f07e30ab0dbb638cd2aa1ce416c510ff | [
"MIT"
] | null | null | null | from __future__ import print_function
print(r"""
__ __ ____ ____ _____ ______
| \/ |/ __ \ / __ \ / ____| ____|
| \ / | | | | | | | (___ | |__
| |\/| | | | | | | |\___ \| __|
| | | | |__| | |__| |____) | |____
|_| |_|\____/ \____/|_____/|_... | 38.1 | 51 | 0.096457 | 10 | 1,524 | 4.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.727034 | 1,524 | 40 | 52 | 38.1 | 0.100962 | 0 | 0 | 0 | 0 | 0 | 0.949508 | 0.01377 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.028571 | 0 | 0.028571 | 0.057143 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
10c452a323c1ec92b133eec28963164ad92e2f44 | 156 | py | Python | PasswordGenerationService/password_generation/util/_logging.py | zmcneilly/coral_barnacle | 9e24016db9363ed1e7923aaec0bbe3a407175fd1 | [
"Apache-2.0"
] | null | null | null | PasswordGenerationService/password_generation/util/_logging.py | zmcneilly/coral_barnacle | 9e24016db9363ed1e7923aaec0bbe3a407175fd1 | [
"Apache-2.0"
] | null | null | null | PasswordGenerationService/password_generation/util/_logging.py | zmcneilly/coral_barnacle | 9e24016db9363ed1e7923aaec0bbe3a407175fd1 | [
"Apache-2.0"
] | null | null | null | import logging
import os
logger = logging.getLogger()
logger.setLevel(logging.INFO)
if os.getenv("STAGE", "") == "dev":
logger.setLevel(logging.DEBUG)
| 19.5 | 35 | 0.717949 | 20 | 156 | 5.6 | 0.6 | 0.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121795 | 156 | 7 | 36 | 22.285714 | 0.817518 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
10c7ea1e4bcd397e6f106977ed323a359d752d4f | 126 | py | Python | tests/test_application.py | chriswhalen/junior | f49074fe4e890849b3aceb787c53b0e6f210b8e9 | [
"MIT"
] | 4 | 2021-03-13T09:09:56.000Z | 2022-02-20T03:59:36.000Z | tests/test_application.py | chriswhalen/junior | f49074fe4e890849b3aceb787c53b0e6f210b8e9 | [
"MIT"
] | 33 | 2021-05-14T21:36:14.000Z | 2022-03-25T03:10:36.000Z | tests/test_application.py | chriswhalen/junior | f49074fe4e890849b3aceb787c53b0e6f210b8e9 | [
"MIT"
] | null | null | null | class TestApplication:
# Will the application start?
def test_start(self, application):
application.start()
| 18 | 38 | 0.690476 | 13 | 126 | 6.615385 | 0.692308 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230159 | 126 | 6 | 39 | 21 | 0.886598 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 | 0 | 1 | 0 | 0 | 5 |
800beb22c40693a920aa7946cf703d8af0ab54fe | 28 | py | Python | cj/scraper/novels/ww.py | james-garfield/Captain-Japan | 8edc63f138f956fe9187b6eda3bffdd871fba839 | [
"Unlicense"
] | null | null | null | cj/scraper/novels/ww.py | james-garfield/Captain-Japan | 8edc63f138f956fe9187b6eda3bffdd871fba839 | [
"Unlicense"
] | null | null | null | cj/scraper/novels/ww.py | james-garfield/Captain-Japan | 8edc63f138f956fe9187b6eda3bffdd871fba839 | [
"Unlicense"
] | null | null | null | # Scraper for WuxiaWorld.com | 28 | 28 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.92 | 0.928571 | 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 |
33788adcdfbca85b0549c00274a0d0511db9dc68 | 196 | py | Python | tests/plugins/test_lyx_filters.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 136 | 2015-01-06T15:04:47.000Z | 2021-12-21T22:52:41.000Z | tests/plugins/test_lyx_filters.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 13 | 2015-01-26T14:06:58.000Z | 2020-03-27T21:16:10.000Z | tests/plugins/test_lyx_filters.py | dsoto/dexy | 0f2090250040c3c54c8481a16de8e476b559e87c | [
"MIT"
] | 34 | 2015-01-02T16:24:53.000Z | 2021-11-27T05:38:30.000Z | from tests.utils import assert_output
def test_lyx():
assert_output("lyxjinja",
"dexy:foo.py|idio:multiply",
"<< d['foo.py|idio']['multiply'] >>",
".tex")
| 24.5 | 49 | 0.545918 | 23 | 196 | 4.521739 | 0.73913 | 0.230769 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270408 | 196 | 7 | 50 | 28 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.362245 | 0.270408 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
33d07e55fe17455851006bcb513488dcf3540674 | 638 | py | Python | account_ux/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 1 | 2021-01-25T15:57:58.000Z | 2021-01-25T15:57:58.000Z | account_ux/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | null | null | null | account_ux/models/__init__.py | odoo-mastercore/odoo-argentina | 58cdfe8610bae42f69ddb9d652a28eb3245f6a04 | [
"MIT"
] | 2 | 2020-10-17T16:36:02.000Z | 2021-01-24T10:20:05.000Z | ##############################################################################
# For copyright and license notices, see __manifest__.py file in module root
# directory
##############################################################################
from . import account_group
from . import account_account
from . import ... | 35.444444 | 78 | 0.628527 | 68 | 638 | 5.558824 | 0.455882 | 0.31746 | 0.449735 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101881 | 638 | 17 | 79 | 37.529412 | 0.659686 | 0.131661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
33d0fffc2a410473b9d687a42eaa5f057a492ec7 | 126 | py | Python | info/moduels/news/__init__.py | haczfdx/information | 7364fb6eea54bb1d17b70c626cdceda129f99902 | [
"MIT"
] | null | null | null | info/moduels/news/__init__.py | haczfdx/information | 7364fb6eea54bb1d17b70c626cdceda129f99902 | [
"MIT"
] | null | null | null | info/moduels/news/__init__.py | haczfdx/information | 7364fb6eea54bb1d17b70c626cdceda129f99902 | [
"MIT"
] | null | null | null | """这个蓝图对应的是新闻页面的相关的操作"""
from flask import Blueprint
news_blue = Blueprint('news', __name__)
import info.moduels.news.views
| 18 | 39 | 0.777778 | 15 | 126 | 6.2 | 0.733333 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103175 | 126 | 6 | 40 | 21 | 0.823009 | 0.142857 | 0 | 0 | 0 | 0 | 0.039216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
33fff26f2bda55d6f746e8012701fab417fba8ec | 407 | py | Python | apprest/utils/exceptions.py | dsanchez-cells/calipsoplus-backend | 7eaa6904ec59d88052644b31041b92ee20e54354 | [
"MIT"
] | 4 | 2018-12-04T15:08:27.000Z | 2019-04-11T09:49:41.000Z | apprest/utils/exceptions.py | dsanchez-cells/calipsoplus-backend | 7eaa6904ec59d88052644b31041b92ee20e54354 | [
"MIT"
] | 63 | 2018-11-22T13:07:56.000Z | 2021-06-10T20:55:58.000Z | apprest/utils/exceptions.py | dsanchez-cells/calipsoplus-backend | 7eaa6904ec59d88052644b31041b92ee20e54354 | [
"MIT"
] | 10 | 2018-11-23T08:17:28.000Z | 2022-01-15T23:41:59.000Z | class QuotaExceptionExceeded(Exception):
pass
class QuotaMaxSimultaneousExceeded(QuotaExceptionExceeded):
pass
class QuotaCpuExceeded(QuotaExceptionExceeded):
pass
class QuotaMemoryExceeded(QuotaExceptionExceeded):
pass
class QuotaHddExceeded(QuotaExceptionExceeded):
pass
class ResourceAlr... | 15.074074 | 59 | 0.798526 | 28 | 407 | 11.607143 | 0.357143 | 0.166154 | 0.381538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149877 | 407 | 26 | 60 | 15.653846 | 0.939306 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1d299e71eceb5d1a7696dd7e38c963da446e0e4e | 9,902 | py | Python | inference.py | cemfi/BachNet | 81931952d96f36f45819a5ad77cc45106883a961 | [
"MIT"
] | 2 | 2019-09-16T09:35:48.000Z | 2022-01-11T10:09:38.000Z | inference.py | cemfi/BachNet | 81931952d96f36f45819a5ad77cc45106883a961 | [
"MIT"
] | 1 | 2020-09-24T14:25:51.000Z | 2020-09-24T16:05:34.000Z | inference.py | cemfi/BachNet | 81931952d96f36f45819a5ad77cc45106883a961 | [
"MIT"
] | null | null | null | from argparse import ArgumentParser
import utils
import torch
from torch.nn.functional import one_hot
from tqdm import tqdm
from data import pitch_sizes_parts, generate_data_inference, indices_parts
from model import BachNetInferenceContinuo, BachNetInferenceMiddleParts
# from music21 import environment
# environme... | 39.767068 | 127 | 0.639063 | 1,193 | 9,902 | 5.084661 | 0.139983 | 0.057864 | 0.078305 | 0.032971 | 0.78701 | 0.782888 | 0.764919 | 0.743653 | 0.666337 | 0.609463 | 0 | 0.019286 | 0.225005 | 9,902 | 248 | 128 | 39.927419 | 0.771175 | 0.088366 | 0 | 0.613636 | 1 | 0 | 0.053532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017045 | false | 0 | 0.039773 | 0 | 0.073864 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d51a63df1b0db1765947945e831546018c1e0252 | 79 | py | Python | python/mph.py/mph/__init__.py | MBender/muphasa | 7d0887d7f6c6b0f673510a6a70fa9ae1f2473b89 | [
"MIT"
] | 3 | 2022-01-08T13:45:16.000Z | 2022-03-14T12:11:34.000Z | python/mph.py/mph/__init__.py | MBender/muphasa | 7d0887d7f6c6b0f673510a6a70fa9ae1f2473b89 | [
"MIT"
] | null | null | null | python/mph.py/mph/__init__.py | MBender/muphasa | 7d0887d7f6c6b0f673510a6a70fa9ae1f2473b89 | [
"MIT"
] | 1 | 2022-01-11T16:57:36.000Z | 2022-01-11T16:57:36.000Z | from .mph import *
from ._version import __version__
from .examples import *
| 13.166667 | 33 | 0.759494 | 10 | 79 | 5.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 5 | 34 | 15.8 | 0.846154 | 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 |
d51c2f45c00a7845151973696c1d118b8214d486 | 159 | py | Python | tests/conftest.py | metno/py-mms | ccc970f00d4b4a3fb8989fd5679ab42ecaaae2de | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | metno/py-mms | ccc970f00d4b4a3fb8989fd5679ab42ecaaae2de | [
"Apache-2.0"
] | 20 | 2020-08-20T07:37:26.000Z | 2021-11-02T09:49:50.000Z | tests/conftest.py | metno/py-mms | ccc970f00d4b4a3fb8989fd5679ab42ecaaae2de | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test Config
"""
import os
import sys
sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir)))
| 17.666667 | 92 | 0.672956 | 26 | 159 | 3.961538 | 0.615385 | 0.23301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.106918 | 159 | 8 | 93 | 19.875 | 0.711268 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d52ceb6566eab5f6af94d8e00b8ad592007b1e21 | 42 | py | Python | tests/test_forms.py | pmrowla/p101stat | 8fa5ab63d13e395295b974294c6ec4c7c933bb8b | [
"BSD-3-Clause"
] | 1 | 2016-02-22T06:34:52.000Z | 2016-02-22T06:34:52.000Z | tests/test_forms.py | pmrowla/p101stat | 8fa5ab63d13e395295b974294c6ec4c7c933bb8b | [
"BSD-3-Clause"
] | null | null | null | tests/test_forms.py | pmrowla/p101stat | 8fa5ab63d13e395295b974294c6ec4c7c933bb8b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test forms."""
| 14 | 23 | 0.452381 | 5 | 42 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.166667 | 42 | 2 | 24 | 21 | 0.514286 | 0.809524 | 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 |
d543036f8026c68ba584e01bfd26d8cfc9d2fae6 | 99 | py | Python | twobuntu/ads/admin.py | muhiza/originarities | ca0a67363579e6237127386f13baa2ab7a7c2717 | [
"Apache-2.0"
] | null | null | null | twobuntu/ads/admin.py | muhiza/originarities | ca0a67363579e6237127386f13baa2ab7a7c2717 | [
"Apache-2.0"
] | null | null | null | twobuntu/ads/admin.py | muhiza/originarities | ca0a67363579e6237127386f13baa2ab7a7c2717 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from twobuntu.ads.models import Ad
admin.site.register(Ad)
| 16.5 | 35 | 0.767677 | 15 | 99 | 5.066667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 5 | 36 | 19.8 | 0.915663 | 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 |
d54836fa33a38982a420f819e48a85d1992ef47b | 47 | py | Python | cpyquickhelper/algorithms/__init__.py | sdpython/cpyquickhelper | c2bdebad2201c7e10a5999a836bbf53e27b963c7 | [
"MIT"
] | 2 | 2017-10-03T20:39:13.000Z | 2019-02-06T15:24:04.000Z | cpyquickhelper/algorithms/__init__.py | sdpython/cpyquickhelper | c2bdebad2201c7e10a5999a836bbf53e27b963c7 | [
"MIT"
] | 21 | 2017-09-17T11:14:04.000Z | 2021-01-01T13:24:20.000Z | cpyquickhelper/algorithms/__init__.py | sdpython/cpyquickhelper | c2bdebad2201c7e10a5999a836bbf53e27b963c7 | [
"MIT"
] | null | null | null | """
@file
@brief Shortcut to *algorithms*.
"""
| 9.4 | 32 | 0.617021 | 5 | 47 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 4 | 33 | 11.75 | 0.725 | 0.808511 | 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 |
d54f88f0b671db792bdab815d6938dcbb3e88e66 | 134 | py | Python | work/admin.py | lazypunky/makeportfolio | 010ed282d5b954e16b225d8c61737a0e744aaef1 | [
"MIT"
] | null | null | null | work/admin.py | lazypunky/makeportfolio | 010ed282d5b954e16b225d8c61737a0e744aaef1 | [
"MIT"
] | null | null | null | work/admin.py | lazypunky/makeportfolio | 010ed282d5b954e16b225d8c61737a0e744aaef1 | [
"MIT"
] | 1 | 2020-09-15T09:30:13.000Z | 2020-09-15T09:30:13.000Z | from django.contrib import admin
from .models import WorkCategory, Work
admin.site.register(WorkCategory)
admin.site.register(Work)
| 19.142857 | 38 | 0.820896 | 18 | 134 | 6.111111 | 0.555556 | 0.163636 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097015 | 134 | 6 | 39 | 22.333333 | 0.909091 | 0 | 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 |
d58af46ed562d6ef28e777c217c613c436a49650 | 79 | py | Python | pyobis/taxa/__init__.py | ayushanand18/pyobis | e4f37f47a0fe87eb91bbce63cd06aa68dbb0a882 | [
"MIT"
] | null | null | null | pyobis/taxa/__init__.py | ayushanand18/pyobis | e4f37f47a0fe87eb91bbce63cd06aa68dbb0a882 | [
"MIT"
] | null | null | null | pyobis/taxa/__init__.py | ayushanand18/pyobis | e4f37f47a0fe87eb91bbce63cd06aa68dbb0a882 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .taxa import search, taxon, common, taxon_search
| 19.75 | 53 | 0.670886 | 11 | 79 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.164557 | 79 | 3 | 54 | 26.333333 | 0.772727 | 0.265823 | 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 |
d599f3d7fe3a07c471a8a6593ef05cb05a974a56 | 67 | py | Python | ilastikrag/accumulators/edgeregion/__init__.py | ilastik/ilastikrag | e6cd157b25eaffed5283c48471f7b58a0e4889d7 | [
"BSD-3-Clause"
] | null | null | null | ilastikrag/accumulators/edgeregion/__init__.py | ilastik/ilastikrag | e6cd157b25eaffed5283c48471f7b58a0e4889d7 | [
"BSD-3-Clause"
] | 6 | 2017-10-21T00:03:33.000Z | 2021-12-21T17:30:17.000Z | ilastikrag/accumulators/edgeregion/__init__.py | ilastik/ilastikrag | e6cd157b25eaffed5283c48471f7b58a0e4889d7 | [
"BSD-3-Clause"
] | null | null | null | from .edgeregion_edge_accumulator import EdgeRegionEdgeAccumulator
| 33.5 | 66 | 0.925373 | 6 | 67 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 67 | 1 | 67 | 67 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
d5af01f515de0588bea08387a9f6681f63b5f33e | 58 | py | Python | test_twitchtracker.py | adegenaar/Twitch-Tracker | d6ccd984ad43e27e41dd1838e0d588961ddf209f | [
"MIT"
] | null | null | null | test_twitchtracker.py | adegenaar/Twitch-Tracker | d6ccd984ad43e27e41dd1838e0d588961ddf209f | [
"MIT"
] | null | null | null | test_twitchtracker.py | adegenaar/Twitch-Tracker | d6ccd984ad43e27e41dd1838e0d588961ddf209f | [
"MIT"
] | null | null | null | import pytest
def test_pass():
assert True
pass
| 8.285714 | 16 | 0.655172 | 8 | 58 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293103 | 58 | 6 | 17 | 9.666667 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0.5 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6358a2bff87f6ccafeefb7392d357c6bc582f414 | 49 | py | Python | src/backend/common/queries/exceptions.py | guineawheek/ftc-data-take-2 | 337bff2077eadb3bd6bbebd153cbb6181c99516f | [
"MIT"
] | 266 | 2015-01-04T00:10:48.000Z | 2022-03-28T18:42:05.000Z | src/backend/common/queries/exceptions.py | guineawheek/ftc-data-take-2 | 337bff2077eadb3bd6bbebd153cbb6181c99516f | [
"MIT"
] | 2,673 | 2015-01-01T20:14:33.000Z | 2022-03-31T18:17:16.000Z | src/backend/common/queries/exceptions.py | guineawheek/ftc-data-take-2 | 337bff2077eadb3bd6bbebd153cbb6181c99516f | [
"MIT"
] | 230 | 2015-01-04T00:10:48.000Z | 2022-03-26T18:12:04.000Z | class DoesNotExistException(Exception):
pass
| 16.333333 | 39 | 0.795918 | 4 | 49 | 9.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 49 | 2 | 40 | 24.5 | 0.928571 | 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 |
636e17cd678a9464158739e9de84b7e53d6688ed | 403 | py | Python | vvlogin/templatetags/vvlogin_tags.py | synw/django-vvlogin | f261bb73d39ef5a742c9e6d30cfea0c9fa8ba6f8 | [
"MIT"
] | 2 | 2017-04-22T11:13:57.000Z | 2021-07-05T17:52:59.000Z | vvlogin/templatetags/vvlogin_tags.py | synw/django-vvlogin | f261bb73d39ef5a742c9e6d30cfea0c9fa8ba6f8 | [
"MIT"
] | null | null | null | vvlogin/templatetags/vvlogin_tags.py | synw/django-vvlogin | f261bb73d39ef5a742c9e6d30cfea0c9fa8ba6f8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django import template
from vvlogin.conf import REGISTRATION_URL, LOGIN_REDIRECT_URL, LOGOUT_REDIRECT_URL
register = template.Library()
@register.simple_tag
def registration_url():
return REGISTRATION_URL
@register.simple_tag
def login_redirect_url():
return LOGIN_REDIRECT_UR... | 17.521739 | 82 | 0.789082 | 53 | 403 | 5.660377 | 0.377358 | 0.22 | 0.16 | 0.2 | 0.153333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002865 | 0.133995 | 403 | 22 | 83 | 18.318182 | 0.856734 | 0.052109 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.25 | 0.666667 | 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 |
63728c8980ad6e25bca988d0e0e323d2a5cceea7 | 529 | py | Python | Grade 7/Lesson 3/dot.py | arm-university/ASP_International-Intro-to-Computing | 2aae65503187c839cd1f39629c51ca4cf2f1b551 | [
"RSA-MD"
] | null | null | null | Grade 7/Lesson 3/dot.py | arm-university/ASP_International-Intro-to-Computing | 2aae65503187c839cd1f39629c51ca4cf2f1b551 | [
"RSA-MD"
] | null | null | null | Grade 7/Lesson 3/dot.py | arm-university/ASP_International-Intro-to-Computing | 2aae65503187c839cd1f39629c51ca4cf2f1b551 | [
"RSA-MD"
] | 1 | 2022-01-25T19:35:15.000Z | 2022-01-25T19:35:15.000Z | # Add your Python code here. E.g.
from microbit import *
from time import sleep
dot1 = Image("00000:"
"00000:"
"00000:"
"00000:"
"50000")
dot2 = Image("00000:"
"00000:"
"00000:"
"00000:"
"05000")
dot3... | 18.892857 | 34 | 0.431002 | 53 | 529 | 4.301887 | 0.45283 | 0.394737 | 0.394737 | 0.263158 | 0.486842 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288079 | 0.429112 | 529 | 28 | 35 | 18.892857 | 0.466887 | 0.058601 | 0 | 0.521739 | 0 | 0 | 0.17505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.086957 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
63955b5328608a167e1e656dd1d099cc5089cada | 9,120 | py | Python | tests/test_api.py | phracek/container-ci-suite | 6a1ec6228cc2c0344d32386e26474e6596d4ea4d | [
"MIT"
] | null | null | null | tests/test_api.py | phracek/container-ci-suite | 6a1ec6228cc2c0344d32386e26474e6596d4ea4d | [
"MIT"
] | null | null | null | tests/test_api.py | phracek/container-ci-suite | 6a1ec6228cc2c0344d32386e26474e6596d4ea4d | [
"MIT"
] | null | null | null | #!/bin/env python3
# MIT License
#
# Copyright (c) 2018-2019 Red Hat, Inc.
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to ... | 53.333333 | 229 | 0.741447 | 1,600 | 9,120 | 4.0925 | 0.1375 | 0.061087 | 0.082315 | 0.117135 | 0.742211 | 0.706017 | 0.694258 | 0.686622 | 0.686622 | 0.676542 | 0 | 0.038668 | 0.101096 | 9,120 | 170 | 230 | 53.647059 | 0.760063 | 0.119298 | 0 | 0.666667 | 0 | 0.217391 | 0.734116 | 0.660717 | 0 | 0 | 0 | 0 | 0.021739 | 1 | 0.028986 | false | 0 | 0.057971 | 0 | 0.094203 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
89200de0b5c0bc87babd0eee0f07388f6c0b43d5 | 1,413 | py | Python | lib/flows/tests.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | 1 | 2016-02-13T15:40:20.000Z | 2016-02-13T15:40:20.000Z | lib/flows/tests.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | 3 | 2020-09-11T12:54:50.000Z | 2020-09-11T12:55:01.000Z | lib/flows/tests.py | nahidupa/grr | 100a9d85ef2abb234e12e3ac2623caffb4116be7 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""Loads up all flow tests."""
# pylint: disable=unused-import
# These import populate the Flow test registry
from grr.lib.flows.console import debugging_test
# Cron tests.
from grr.lib.flows.cron import compactors_test
from grr.lib.flows.cron import filestore_stats_test
from grr.lib.flows.cron ... | 40.371429 | 57 | 0.840764 | 234 | 1,413 | 4.948718 | 0.230769 | 0.157168 | 0.224525 | 0.336788 | 0.67962 | 0.67962 | 0.658031 | 0 | 0 | 0 | 0 | 0 | 0.090587 | 1,413 | 34 | 58 | 41.558824 | 0.901167 | 0.093418 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.038462 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8940583c3ee56773c6cb38364d729d4de4246522 | 148 | py | Python | students/groups_context.py | ovod88/studentsdb | ade2cff0eea7a13644a0f708133901457352ff5c | [
"MIT"
] | null | null | null | students/groups_context.py | ovod88/studentsdb | ade2cff0eea7a13644a0f708133901457352ff5c | [
"MIT"
] | null | null | null | students/groups_context.py | ovod88/studentsdb | ade2cff0eea7a13644a0f708133901457352ff5c | [
"MIT"
] | null | null | null | from .models.groups import Group
from .utils import get_groups
def groups_context_processor(request):
return {'GROUPS_ALL' : get_groups(request)} | 24.666667 | 44 | 0.804054 | 21 | 148 | 5.428571 | 0.619048 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 148 | 6 | 44 | 24.666667 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
894837e000fcacf851767951a474a713927ae7bc | 155 | py | Python | Exercicios do curso em video/pythonProject/pythonexercicios/ex006.py | HiCosta/Exercicios-de-Python | 1dabbe8764f6742aba1d62a9ea14705534aaf6f7 | [
"MIT"
] | null | null | null | Exercicios do curso em video/pythonProject/pythonexercicios/ex006.py | HiCosta/Exercicios-de-Python | 1dabbe8764f6742aba1d62a9ea14705534aaf6f7 | [
"MIT"
] | null | null | null | Exercicios do curso em video/pythonProject/pythonexercicios/ex006.py | HiCosta/Exercicios-de-Python | 1dabbe8764f6742aba1d62a9ea14705534aaf6f7 | [
"MIT"
] | null | null | null | num = int(input('Digite um numero: '))
print('O dobro de', num, 'é {}'.format(num*2), 'seu triplo é {}'.format(num*3), 'e sua raiz é {}'.format(num**0.5))
| 51.666667 | 115 | 0.593548 | 29 | 155 | 3.172414 | 0.724138 | 0.228261 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029851 | 0.135484 | 155 | 2 | 116 | 77.5 | 0.656716 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
89709e56ef0d260a28aaa3c1cdfbd6a255ff909e | 5,799 | py | Python | backend/apps/workorder/views/workorder.py | bopopescu/Journey | 654eb66e0e2df59e916eff4c75b68b183f9b58b5 | [
"MIT"
] | 41 | 2019-01-02T09:36:54.000Z | 2022-02-20T13:13:05.000Z | backend/apps/workorder/views/workorder.py | bopopescu/Journey | 654eb66e0e2df59e916eff4c75b68b183f9b58b5 | [
"MIT"
] | 15 | 2019-09-30T05:40:20.000Z | 2022-02-17T19:28:41.000Z | backend/apps/workorder/views/workorder.py | bopopescu/Journey | 654eb66e0e2df59e916eff4c75b68b183f9b58b5 | [
"MIT"
] | 23 | 2019-02-18T10:50:10.000Z | 2022-01-06T07:53:18.000Z | # -*- coding: UTF-8 -*-
from django.db.models import Q
from rest_framework.response import Response
from rest_framework.views import APIView
from workorder.models.sqlorder import *
from workorder.models.autoorder import *
from workorder.serializers.workorder import *
from user.permissions import CustomerPremission
from... | 55.228571 | 200 | 0.677875 | 654 | 5,799 | 5.732416 | 0.178899 | 0.048013 | 0.059749 | 0.046946 | 0.740731 | 0.740731 | 0.736196 | 0.736196 | 0.717525 | 0.717525 | 0 | 0.003487 | 0.208829 | 5,799 | 105 | 201 | 55.228571 | 0.813644 | 0.021211 | 0 | 0.448276 | 0 | 0 | 0.03371 | 0.003883 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.126437 | 0 | 0.206897 | 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 |
8979c04dff2c16dfdeb45d5fcfa7969314bc19fa | 25 | py | Python | python/testData/inspections/PyArgumentListInspection/InitializingImportedTypingNamedTupleInheritor/a.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/inspections/PyArgumentListInspection/InitializingImportedTypingNamedTupleInheritor/a.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/PyArgumentListInspection/InitializingImportedTypingNamedTupleInheritor/a.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import b
b.MyTup(5, "5") | 8.333333 | 15 | 0.6 | 6 | 25 | 2.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.16 | 25 | 3 | 15 | 8.333333 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 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 |
89894b4c0e7aa909a8182b5cb7b00664994882dd | 8,375 | py | Python | test/test_statistics.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 11 | 2020-10-09T01:29:18.000Z | 2022-01-21T13:21:40.000Z | test/test_statistics.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 64 | 2020-10-20T04:55:22.000Z | 2022-01-24T15:52:32.000Z | test/test_statistics.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 1 | 2021-07-30T04:52:38.000Z | 2021-07-30T04:52:38.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright Toolkit Authors
"""Test base statistic calculation script with Pytest."""
import pytest
@pytest.mark.extra
@pytest.mark.ros
def test_base_statistic_calculation():
"""Run the base statistic calculation test."""
import pandas as pd
from pydtk.io ... | 32.714844 | 96 | 0.713075 | 1,005 | 8,375 | 5.725373 | 0.135323 | 0.034411 | 0.054745 | 0.02659 | 0.842023 | 0.764338 | 0.719499 | 0.6943 | 0.685262 | 0.663191 | 0 | 0.017394 | 0.18997 | 8,375 | 255 | 97 | 32.843137 | 0.830778 | 0.086209 | 0 | 0.770492 | 0 | 0 | 0.121791 | 0.094536 | 0 | 0 | 0 | 0 | 0.032787 | 1 | 0.04918 | false | 0.016393 | 0.185792 | 0 | 0.234973 | 0.04918 | 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 |
8999cd4f579c539cbfca7c1b60bb7c9cacf27566 | 77 | py | Python | asyncrai/arai/__init__.py | Z-Map/async-rai | 9aa59f1f87959bf249088485e253c41c95c4e578 | [
"MIT"
] | null | null | null | asyncrai/arai/__init__.py | Z-Map/async-rai | 9aa59f1f87959bf249088485e253c41c95c4e578 | [
"MIT"
] | null | null | null | asyncrai/arai/__init__.py | Z-Map/async-rai | 9aa59f1f87959bf249088485e253c41c95c4e578 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
""" Async RAI module
"""
from . import errors, arai
| 12.833333 | 26 | 0.571429 | 10 | 77 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.207792 | 77 | 5 | 27 | 15.4 | 0.704918 | 0.506494 | 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 |
89a744fb04f740285b9a1b36e33671802f2a3f1e | 2,403 | py | Python | ibmdbpy/tests/test_frame_private.py | marc-mclean1/ibmdbpy | 46d885e793da52c58424885d74ab1a6668c391b3 | [
"BSD-3-Clause"
] | 21 | 2016-02-18T13:10:48.000Z | 2020-11-09T00:09:07.000Z | ibmdbpy/tests/test_frame_private.py | marc-mclean1/ibmdbpy | 46d885e793da52c58424885d74ab1a6668c391b3 | [
"BSD-3-Clause"
] | 57 | 2016-02-29T15:14:05.000Z | 2021-07-23T07:19:41.000Z | ibmdbpy/tests/test_frame_private.py | marc-mclean1/ibmdbpy | 46d885e793da52c58424885d74ab1a6668c391b3 | [
"BSD-3-Clause"
] | 17 | 2016-01-04T07:11:37.000Z | 2021-11-05T12:45:41.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#-----------------------------------------------------------------------------
# Copyright (c) 2015, IBM Corp.
# All rights reserved.
#
# Distributed under the terms of the BSD Simplified License.
#
# The full license is in the LICENSE file, distributed with this software.
... | 24.272727 | 78 | 0.650437 | 303 | 2,403 | 4.79868 | 0.330033 | 0.115543 | 0.189821 | 0.242091 | 0.427098 | 0.413343 | 0.258597 | 0.093535 | 0 | 0 | 0 | 0.00426 | 0.218477 | 2,403 | 99 | 79 | 24.272727 | 0.769968 | 0.177695 | 0 | 0.389831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 1 | 0.40678 | false | 0.389831 | 0.101695 | 0 | 0.525424 | 0.016949 | 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 |
89abe9e14b2d472a6c222b7f4e4e9a4157836ed8 | 39 | py | Python | chapter4/4_7_2.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | null | null | null | chapter4/4_7_2.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | 1 | 2018-01-05T15:48:33.000Z | 2018-01-05T15:54:22.000Z | chapter4/4_7_2.py | kungbob/Machine_Learning_In_Action | 007db9d2a6c957d314ecd0b4322cad5b04da7113 | [
"MIT"
] | 2 | 2019-02-12T01:35:20.000Z | 2019-03-24T03:00:51.000Z | import bayes
bayes.getTopWords(ny,sf)
| 9.75 | 24 | 0.794872 | 6 | 39 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 3 | 25 | 13 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
98236e394645af4e13012ee612636e97073553a1 | 205 | py | Python | Validation/RecoEgamma/python/egammaPostValidationMiniAOD_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/RecoEgamma/python/egammaPostValidationMiniAOD_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/RecoEgamma/python/egammaPostValidationMiniAOD_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Validation.RecoEgamma.electronPostValidationSequenceMiniAOD_cff import *
egammaPostValidationMiniAOD = cms.Sequence( electronPostValidationSequenceMiniAOD )
| 34.166667 | 83 | 0.882927 | 16 | 205 | 11.25 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 205 | 5 | 84 | 41 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9879cf6b9b29119169ce5fd2e733fdf88c94c5a9 | 53 | py | Python | resolvere/__init__.py | dukhniav/reolvere | 34a8b3d8a63da9615f47e9c608535cca18ace6ff | [
"MIT"
] | null | null | null | resolvere/__init__.py | dukhniav/reolvere | 34a8b3d8a63da9615f47e9c608535cca18ace6ff | [
"MIT"
] | null | null | null | resolvere/__init__.py | dukhniav/reolvere | 34a8b3d8a63da9615f47e9c608535cca18ace6ff | [
"MIT"
] | null | null | null | import buy
import sell
from .config import coin_list
| 13.25 | 29 | 0.830189 | 9 | 53 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 3 | 30 | 17.666667 | 0.955556 | 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 |
98a58ef8fabfff2f39936546a04e564d0c9be221 | 357 | py | Python | src/109_swap_even_and_odd_bits.py | redfast00/daily-algorithm-challenge | 3507164d5ec58abe68a6e820120625e100dee96c | [
"MIT"
] | null | null | null | src/109_swap_even_and_odd_bits.py | redfast00/daily-algorithm-challenge | 3507164d5ec58abe68a6e820120625e100dee96c | [
"MIT"
] | null | null | null | src/109_swap_even_and_odd_bits.py | redfast00/daily-algorithm-challenge | 3507164d5ec58abe68a6e820120625e100dee96c | [
"MIT"
] | null | null | null | def swap_even_and_odd_bits(n):
'''Swaps the even and odd bits of an unsigned, 8-bits number.
>>> swap_even_and_odd_bits(0b10101010) == 0b01010101
True
>>> swap_even_and_odd_bits(0b11100010) == 0b11010001
True
'''
assert 0 <= n <= 0xFF, 'Not an 8-bit unsigned number'
return ((n & 0b10101... | 32.454545 | 65 | 0.638655 | 52 | 357 | 4.153846 | 0.5 | 0.12963 | 0.185185 | 0.259259 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216607 | 0.22409 | 357 | 10 | 66 | 35.7 | 0.563177 | 0.490196 | 0 | 0 | 0 | 0 | 0.180645 | 0 | 0 | 0 | 0.025806 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7f7cf03f04f2ce7e8bd8da2035501b8faa3af38c | 59 | py | Python | beginning-game-development/Chapter 12/12-3.py | CrtomirJuren/pygame-projects | f710f36050bfe3ece866bbda7d570caa1e037d7a | [
"MIT"
] | 43 | 2015-09-20T02:05:48.000Z | 2022-03-01T22:00:43.000Z | beginning-game-development/Chapter 12/12-3.py | CrtomirJuren/pygame-projects | f710f36050bfe3ece866bbda7d570caa1e037d7a | [
"MIT"
] | null | null | null | beginning-game-development/Chapter 12/12-3.py | CrtomirJuren/pygame-projects | f710f36050bfe3ece866bbda7d570caa1e037d7a | [
"MIT"
] | 40 | 2015-05-19T06:51:13.000Z | 2022-03-27T18:11:16.000Z | def additive_blend(src, dst):
return src * src.a + dst
| 19.666667 | 29 | 0.661017 | 10 | 59 | 3.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 59 | 2 | 30 | 29.5 | 0.826087 | 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 | 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 |
7f834f710e04553b1f9e56644c1eda2eb184a9e1 | 151 | py | Python | adelie/core/__init__.py | JRBCH/adelie | 02a12fcb424866635d248c356cc236f4ae5d12af | [
"MIT"
] | null | null | null | adelie/core/__init__.py | JRBCH/adelie | 02a12fcb424866635d248c356cc236f4ae5d12af | [
"MIT"
] | null | null | null | adelie/core/__init__.py | JRBCH/adelie | 02a12fcb424866635d248c356cc236f4ae5d12af | [
"MIT"
] | null | null | null | from .module import AdelieModule as Module
from .neurons import Neurons
from .connection import AdelieConnection as Connection
from .input import Input | 37.75 | 54 | 0.847682 | 20 | 151 | 6.4 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 4 | 55 | 37.75 | 0.969697 | 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 |
7f855138f28cf7e810d1b05210a9b14dbfa750f5 | 289 | py | Python | rex/exploit/cgc/__init__.py | tiedaoxiaotubie/rex | 049bbce3ab2717cbb4d2f0fc10fe8c0433b39c1d | [
"BSD-2-Clause"
] | 471 | 2016-08-20T19:25:33.000Z | 2019-12-06T04:46:55.000Z | rex/exploit/cgc/__init__.py | tiedaoxiaotubie/rex | 049bbce3ab2717cbb4d2f0fc10fe8c0433b39c1d | [
"BSD-2-Clause"
] | 42 | 2016-08-21T04:26:43.000Z | 2019-12-18T02:02:58.000Z | rex/exploit/cgc/__init__.py | tiedaoxiaotubie/rex | 049bbce3ab2717cbb4d2f0fc10fe8c0433b39c1d | [
"BSD-2-Clause"
] | 101 | 2016-08-21T02:21:26.000Z | 2019-09-12T07:22:24.000Z | from .cgc_type1_exploit import CGCType1Exploit
from .cgc_type2_exploit import CGCType2Exploit
from .cgc_exploit import CGCExploit
from .type1 import CGCType1RopExploit, CGCType1ShellcodeExploit, CGCType1CircumstantialExploit
from .type2 import CGCType2RopExploit, CGCType2ShellcodeExploit
| 48.166667 | 94 | 0.892734 | 28 | 289 | 9.035714 | 0.5 | 0.083004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041353 | 0.079585 | 289 | 5 | 95 | 57.8 | 0.909774 | 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 |
f6c7b454eb1e0172b5b5ab8241c30bd60292ac58 | 13,476 | py | Python | tests/test_ascii_art.py | JustinHBird/ascii_art | b34684a706863d38e3e1cbb6b45ac868b8d9c528 | [
"MIT"
] | null | null | null | tests/test_ascii_art.py | JustinHBird/ascii_art | b34684a706863d38e3e1cbb6b45ac868b8d9c528 | [
"MIT"
] | 4 | 2021-06-08T20:33:30.000Z | 2022-03-12T00:03:56.000Z | tests/test_ascii_art.py | JustinHBird/ascii_art | b34684a706863d38e3e1cbb6b45ac868b8d9c528 | [
"MIT"
] | null | null | null | import os
import pytest
from PIL import Image
import ascii_art
from ascii_art import Brightness, AsciiArt
@pytest.fixture(scope='function')
def test_image_path():
"""Test image pixel array for testing basic image functions."""
# Setup: Create PIL Image object from pixel array
test_pixel_matrix = [
... | 94.237762 | 263 | 0.413327 | 2,456 | 13,476 | 2.231678 | 0.058225 | 0.249954 | 0.558292 | 0.630542 | 0.641854 | 0.609743 | 0.591133 | 0.591133 | 0.591133 | 0.591133 | 0 | 0.364157 | 0.313075 | 13,476 | 142 | 264 | 94.901408 | 0.227936 | 0.076952 | 0 | 0.411765 | 0 | 0 | 0.01684 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 1 | 0.058824 | false | 0 | 0.04902 | 0 | 0.107843 | 0.009804 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
63ff20b575e4317946a0d6af93f33ad65b9c403a | 40 | py | Python | tests/__init__.py | leslieDLcy/eqstochsim | 305607f358622529376f8115f6b75c43813457ad | [
"MIT"
] | null | null | null | tests/__init__.py | leslieDLcy/eqstochsim | 305607f358622529376f8115f6b75c43813457ad | [
"MIT"
] | null | null | null | tests/__init__.py | leslieDLcy/eqstochsim | 305607f358622529376f8115f6b75c43813457ad | [
"MIT"
] | 1 | 2021-02-19T16:32:47.000Z | 2021-02-19T16:32:47.000Z | """Unit test package for eqstochsim."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 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 |
63fffe0ab563a2ed9ee4c028701a1897a3292567 | 44 | py | Python | src/bdbdatastore/src/google/protobuf/internal/__init__.py | sprymak/typhoonae | fe31bcc7b21fc14f8aa97b36d66cd7671974543b | [
"Apache-2.0"
] | 1 | 2018-12-02T10:36:07.000Z | 2018-12-02T10:36:07.000Z | src/bdbdatastore/src/google/protobuf/internal/__init__.py | sprymak/typhoonae | fe31bcc7b21fc14f8aa97b36d66cd7671974543b | [
"Apache-2.0"
] | null | null | null | src/bdbdatastore/src/google/protobuf/internal/__init__.py | sprymak/typhoonae | fe31bcc7b21fc14f8aa97b36d66cd7671974543b | [
"Apache-2.0"
] | 1 | 2018-12-02T10:36:08.000Z | 2018-12-02T10:36:08.000Z | # Empty __init.py__ for package recognition
| 22 | 43 | 0.818182 | 6 | 44 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 44 | 1 | 44 | 44 | 0.842105 | 0.931818 | 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 |
120aca77865065c70a1f69b043d2035053d4ad18 | 1,877 | py | Python | dalila/tests/penalty_tests.py | veronicatozzo/DaLiLa | 9d8ed4a1adb0a57316e6ca41852da97ffeb23996 | [
"BSD-2-Clause"
] | 5 | 2017-06-14T16:30:48.000Z | 2018-05-14T07:10:06.000Z | dalila/tests/penalty_tests.py | veronicatozzo/DaLiLa | 9d8ed4a1adb0a57316e6ca41852da97ffeb23996 | [
"BSD-2-Clause"
] | 1 | 2017-06-25T14:38:48.000Z | 2017-06-25T14:38:48.000Z | dalila/tests/penalty_tests.py | veronicatozzo/DaLiLa | 9d8ed4a1adb0a57316e6ca41852da97ffeb23996 | [
"BSD-2-Clause"
] | 2 | 2017-09-12T06:18:37.000Z | 2018-05-03T03:00:32.000Z | from nose.tools import *
import numpy as np
from dalila.dl.penalty import *
@raises(ValueError)
def negative_parameter_l1_test():
p = L1Penalty(-1)
x = np.random.rand(100,100)
p.apply_prox_operator(x, 0.1)
@raises(ValueError)
def negative_parameter_l2_test():
p = L2Penalty(-1)
x = np.random.ran... | 22.890244 | 69 | 0.689398 | 298 | 1,877 | 4.147651 | 0.184564 | 0.142395 | 0.169094 | 0.115696 | 0.830906 | 0.80178 | 0.774272 | 0.7411 | 0.665049 | 0.665049 | 0 | 0.086569 | 0.163026 | 1,877 | 81 | 70 | 23.17284 | 0.700191 | 0 | 0 | 0.551724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.189655 | false | 0 | 0.051724 | 0 | 0.241379 | 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 |
121dbe22279131c102f34bc0fc68dfd09a529be5 | 234 | py | Python | twitter_watcher/initiatives.py | azubieta/cmtrends | 31b98e0e6ceed72f58cf831715ec56468c90386a | [
"Apache-2.0"
] | null | null | null | twitter_watcher/initiatives.py | azubieta/cmtrends | 31b98e0e6ceed72f58cf831715ec56468c90386a | [
"Apache-2.0"
] | null | null | null | twitter_watcher/initiatives.py | azubieta/cmtrends | 31b98e0e6ceed72f58cf831715ec56468c90386a | [
"Apache-2.0"
] | null | null | null | from twitter_api import api
from twitter_api.models import User
from twitter_api.models import Status
def discover_tweets(since_id):
tweets = api.api_call('search', '#Initiative @CMobileTrends', since_id = since_id)
return tweets
| 26 | 83 | 0.803419 | 35 | 234 | 5.142857 | 0.485714 | 0.183333 | 0.233333 | 0.222222 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119658 | 234 | 8 | 84 | 29.25 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0.137339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 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 |
12235c913c206facb6871cda7fbed78248387730 | 31 | py | Python | arvestust/admin/permissions/__init__.py | lehvitus/arvestust | 2d508317b744eaf12a643a398ff95723893a046a | [
"BSD-3-Clause"
] | 1 | 2021-09-17T23:45:27.000Z | 2021-09-17T23:45:27.000Z | arvestust/admin/permissions/__init__.py | lehvitus/arvestust | 2d508317b744eaf12a643a398ff95723893a046a | [
"BSD-3-Clause"
] | 3 | 2020-07-25T05:40:54.000Z | 2020-08-11T04:01:19.000Z | arvestust/admin/permissions/__init__.py | lehvitus/arvestust | 2d508317b744eaf12a643a398ff95723893a046a | [
"BSD-3-Clause"
] | null | null | null | # lua:file_cabinet:permissions
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 31 | 1 | 31 | 31 | 0.862069 | 0.903226 | 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 |
89f1c85b3efd45e5779d5706fd5e5ff2cdb04745 | 179 | py | Python | imagelib/image/segmentation/image_segmenter.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | imagelib/image/segmentation/image_segmenter.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | imagelib/image/segmentation/image_segmenter.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from imagelib.image import Image
class ImageSegmenter(ABC):
@abstractmethod
def segment(self, image: Image) -> Image:
pass
| 16.272727 | 45 | 0.709497 | 21 | 179 | 6.047619 | 0.571429 | 0.267717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217877 | 179 | 10 | 46 | 17.9 | 0.907143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
d6250ce8cbb3a1e4979d3055c2a50d80500f7bf2 | 41 | py | Python | calculator/main.py | ine-rmotr-projects/pyp-w1-gw-demo-project | 58c58e5c317be1ee69d0a6ea84cbe687f70dc6ed | [
"MIT"
] | null | null | null | calculator/main.py | ine-rmotr-projects/pyp-w1-gw-demo-project | 58c58e5c317be1ee69d0a6ea84cbe687f70dc6ed | [
"MIT"
] | null | null | null | calculator/main.py | ine-rmotr-projects/pyp-w1-gw-demo-project | 58c58e5c317be1ee69d0a6ea84cbe687f70dc6ed | [
"MIT"
] | null | null | null | def calculate(x, y, operation):
pass
| 13.666667 | 31 | 0.658537 | 6 | 41 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 2 | 32 | 20.5 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d64584a3c79712573058c7b854ccc1cafb087538 | 314 | py | Python | grow/extensions/hooks/deployment_register_hook_test.py | tabulon-ext/grow | 2929c3e9b467a7768d5b5055fe965fbb5106603f | [
"MIT"
] | 335 | 2016-04-02T20:12:21.000Z | 2022-03-28T18:55:26.000Z | grow/extensions/hooks/deployment_register_hook_test.py | tabulon-ext/grow | 2929c3e9b467a7768d5b5055fe965fbb5106603f | [
"MIT"
] | 784 | 2016-04-01T16:56:41.000Z | 2022-03-05T01:25:34.000Z | grow/extensions/hooks/deployment_register_hook_test.py | tabulon-ext/grow | 2929c3e9b467a7768d5b5055fe965fbb5106603f | [
"MIT"
] | 54 | 2016-05-03T13:06:15.000Z | 2021-09-24T04:46:23.000Z | """Tests for deployment destination registration hook."""
import unittest
from grow.extensions.hooks import deployment_register_hook
class DeploymentRegisterHookTestCase(unittest.TestCase):
"""Test the deployment destination registration hook."""
def test_something(self):
"""?"""
pass
| 24.153846 | 60 | 0.738854 | 31 | 314 | 7.387097 | 0.709677 | 0.183406 | 0.28821 | 0.323144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165605 | 314 | 12 | 61 | 26.166667 | 0.874046 | 0.33121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
d650bf4ca4c457be75bc1b726d4f4f86a394a372 | 38 | py | Python | yaas/task.py | dmtucker/yaas | 5487312459326cd5b4218122ebe26e20ead80ece | [
"MIT"
] | null | null | null | yaas/task.py | dmtucker/yaas | 5487312459326cd5b4218122ebe26e20ead80ece | [
"MIT"
] | 28 | 2015-09-10T07:56:15.000Z | 2016-04-25T16:01:03.000Z | yaas/task.py | tucked/yaas | 5487312459326cd5b4218122ebe26e20ead80ece | [
"MIT"
] | 4 | 2015-09-09T22:03:35.000Z | 2017-02-14T23:59:27.000Z | # coding: utf-8
class Task:
pass
| 7.6 | 15 | 0.605263 | 6 | 38 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.289474 | 38 | 4 | 16 | 9.5 | 0.814815 | 0.342105 | 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 |
c3c992aa250529ab774c5a6774098db710224abd | 132 | py | Python | samcli/lib/iac/constants.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 2,959 | 2018-05-08T21:48:56.000Z | 2020-08-24T14:35:39.000Z | samcli/lib/iac/constants.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 1,469 | 2018-05-08T22:44:28.000Z | 2020-08-24T20:19:24.000Z | samcli/lib/iac/constants.py | torresxb1/aws-sam-cli | d307f2eb6e1a91a476a5e2ca6070f974b0c913f1 | [
"BSD-2-Clause",
"Apache-2.0"
] | 642 | 2018-05-08T22:09:19.000Z | 2020-08-17T09:04:37.000Z | """
General IaC constants
"""
PARAMETER_OVERRIDES = "parameter_overrides"
GLOBAL_PARAMETER_OVERRIDES = "global_parameter_overrides"
| 22 | 57 | 0.825758 | 13 | 132 | 7.923077 | 0.461538 | 0.699029 | 0.466019 | 0.640777 | 0.640777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 132 | 5 | 58 | 26.4 | 0.85124 | 0.159091 | 0 | 0 | 0 | 0 | 0.436893 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c3e81790f8991db85284d9d66cdd0701d61168a2 | 147 | py | Python | bin/helpers/yaml2json.py | mschlenstedt/LoxBerry-Plugin-MultiIO | 01adf6599ffa16fa6afd90c3f75eb261dc2d7918 | [
"Apache-2.0"
] | null | null | null | bin/helpers/yaml2json.py | mschlenstedt/LoxBerry-Plugin-MultiIO | 01adf6599ffa16fa6afd90c3f75eb261dc2d7918 | [
"Apache-2.0"
] | null | null | null | bin/helpers/yaml2json.py | mschlenstedt/LoxBerry-Plugin-MultiIO | 01adf6599ffa16fa6afd90c3f75eb261dc2d7918 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import json
import sys
import yaml
sys.stdout.write( json.dumps( yaml.safe_load( sys.stdin ), indent=4, sort_keys=True ) )
| 21 | 87 | 0.741497 | 25 | 147 | 4.28 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.122449 | 147 | 6 | 88 | 24.5 | 0.813953 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 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 |
7f01bed492c8a551b0f5c214c43a7d74c1a06657 | 162 | py | Python | tp_screening/models/__init__.py | MoffatMore/tp-screening | 20a98ba6fc57118968e507bdf5861cbdcada1848 | [
"MIT"
] | null | null | null | tp_screening/models/__init__.py | MoffatMore/tp-screening | 20a98ba6fc57118968e507bdf5861cbdcada1848 | [
"MIT"
] | null | null | null | tp_screening/models/__init__.py | MoffatMore/tp-screening | 20a98ba6fc57118968e507bdf5861cbdcada1848 | [
"MIT"
] | null | null | null | from .subject_screening import SubjectScreening
from .in_eligible_subject import IneligibleSubject
from .subject_rejections import subject_screening_on_post_save
| 40.5 | 62 | 0.907407 | 20 | 162 | 6.95 | 0.6 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 162 | 3 | 63 | 54 | 0.926667 | 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 |
7f1649f0c3e9f4e3723087c6cbb5ad82edb8a3f0 | 53 | py | Python | bioimageio/spec/model/v0_4/utils.py | bioimage-io/spec-bioimage-io | b534001c67b3903dbd47f80a8b3ff027cd249119 | [
"MIT"
] | 6 | 2021-05-10T09:08:12.000Z | 2022-03-27T17:44:08.000Z | bioimageio/spec/model/v0_4/utils.py | bioimage-io/spec-bioimage-io | b534001c67b3903dbd47f80a8b3ff027cd249119 | [
"MIT"
] | 227 | 2021-03-16T23:40:13.000Z | 2022-03-17T14:30:53.000Z | bioimageio/spec/model/v0_4/utils.py | bioimage-io/spec-bioimage-io | b534001c67b3903dbd47f80a8b3ff027cd249119 | [
"MIT"
] | 5 | 2021-03-26T14:16:49.000Z | 2021-11-28T11:24:40.000Z | from ..v0_3.utils import filter_resource_description
| 26.5 | 52 | 0.867925 | 8 | 53 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.075472 | 53 | 1 | 53 | 53 | 0.836735 | 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 |
615b3c36968aec36501fb6dc870469d7433b1a98 | 15,049 | py | Python | hiphip/http/client.py | nikitanovosibirsk/hiphip | 7ffac0e9e18368c847af873a2638ec13f4bccb28 | [
"MIT"
] | null | null | null | hiphip/http/client.py | nikitanovosibirsk/hiphip | 7ffac0e9e18368c847af873a2638ec13f4bccb28 | [
"MIT"
] | null | null | null | hiphip/http/client.py | nikitanovosibirsk/hiphip | 7ffac0e9e18368c847af873a2638ec13f4bccb28 | [
"MIT"
] | 1 | 2015-12-01T07:37:10.000Z | 2015-12-01T07:37:10.000Z | import errno
from json import loads as json_loads, dumps as json_dumps
try:
import requests
from requests.cookies import RequestsCookieJar
except ImportError:
print("Python module requests is required. Run this in your terminal:")
print("$ pip3 install requests")
exit(errno.ENOPKG)
try:
from r... | 32.644252 | 89 | 0.523822 | 1,604 | 15,049 | 4.857855 | 0.069202 | 0.054286 | 0.065067 | 0.028876 | 0.794918 | 0.794918 | 0.789528 | 0.774512 | 0.768994 | 0.768994 | 0 | 0.000225 | 0.40933 | 15,049 | 460 | 90 | 32.715217 | 0.876364 | 0.380025 | 0 | 0.617117 | 0 | 0 | 0.032878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0.004505 | 0.031532 | 0 | 0.162162 | 0.018018 | 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 |
61a98570edcf4511eddc0f4ccf57abc9ff642b4f | 41 | py | Python | rumor/exceptions.py | SudoQ/rumor | a02a0b8b4ee929d9cd41c33816b1533c24b9cdb3 | [
"MIT"
] | 1 | 2019-09-16T13:57:27.000Z | 2019-09-16T13:57:27.000Z | rumor/exceptions.py | SudoQ/rumor | a02a0b8b4ee929d9cd41c33816b1533c24b9cdb3 | [
"MIT"
] | null | null | null | rumor/exceptions.py | SudoQ/rumor | a02a0b8b4ee929d9cd41c33816b1533c24b9cdb3 | [
"MIT"
] | null | null | null | class UpstreamError(Exception):
pass
| 13.666667 | 31 | 0.756098 | 4 | 41 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 2 | 32 | 20.5 | 0.911765 | 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 |
f634f3a5d93b92ad784c7334f82881b94b090000 | 224 | py | Python | criticalityMaps/__init__.py | terrahaxton/criticalityMaps | 533490e1bc0f178cbce94814602caa545e438dcf | [
"MIT"
] | null | null | null | criticalityMaps/__init__.py | terrahaxton/criticalityMaps | 533490e1bc0f178cbce94814602caa545e438dcf | [
"MIT"
] | null | null | null | criticalityMaps/__init__.py | terrahaxton/criticalityMaps | 533490e1bc0f178cbce94814602caa545e438dcf | [
"MIT"
] | 1 | 2020-03-12T12:36:06.000Z | 2020-03-12T12:36:06.000Z | from criticalityMaps.mapping import inp_to_geojson, make_criticality_map, wn_dataframe
from criticalityMaps.criticality import fire_criticality_analysis, pipe_criticality_analysis, process_criticality
__version__ = '0.0.2'
| 44.8 | 113 | 0.879464 | 28 | 224 | 6.535714 | 0.678571 | 0.20765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014423 | 0.071429 | 224 | 4 | 114 | 56 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0.022321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f658c7d101365715042ebb3013aea7ecff99231b | 156 | py | Python | addons/auth_signup_verify_email/tests/__init__.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/auth_signup_verify_email/tests/__init__.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/auth_signup_verify_email/tests/__init__.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | 1 | 2021-05-05T07:59:08.000Z | 2021-05-05T07:59:08.000Z | # Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import test_verify_email
| 31.2 | 63 | 0.762821 | 25 | 156 | 4.68 | 0.88 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 0.108974 | 156 | 4 | 64 | 39 | 0.798561 | 0.75641 | 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 |
9c9101be8d08013e4401071f963d40a8648eed0f | 462 | py | Python | web/0-basic_dev_tools/server.py | b01lers/bootcamp-training-2020 | 5efa86f45df66541b1e4ca7340c689aeda95b99d | [
"MIT"
] | 9 | 2020-10-07T11:21:30.000Z | 2022-02-04T05:08:46.000Z | web/0-basic_dev_tools/server.py | b01lers/bootcamp-training-2020 | 5efa86f45df66541b1e4ca7340c689aeda95b99d | [
"MIT"
] | 1 | 2020-10-04T22:19:53.000Z | 2020-10-04T22:19:53.000Z | web/0-basic_dev_tools/server.py | b01lers/bootcamp-training-2020 | 5efa86f45df66541b1e4ca7340c689aeda95b99d | [
"MIT"
] | 5 | 2020-10-02T04:18:58.000Z | 2021-06-11T16:18:26.000Z | #!/usr/bin/env python3
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
@app.route('/flag2.5')
def flag2():
return render_template('flag2.5.html')
@app.route('/flag3')
def flag3():
return render_template('flag3.html')
@... | 15.931034 | 42 | 0.666667 | 66 | 462 | 4.409091 | 0.409091 | 0.24055 | 0.274914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.145022 | 462 | 28 | 43 | 16.5 | 0.686076 | 0.045455 | 0 | 0 | 0 | 0 | 0.177273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.25 | 0.5625 | 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 |
9cf80feafc424c2f87fee099f9644344a0cbe437 | 54 | py | Python | d-series/d827.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | 1 | 2018-10-21T10:03:42.000Z | 2018-10-21T10:03:42.000Z | d-series/d827.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | null | null | null | d-series/d827.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | 2 | 2018-10-12T16:40:11.000Z | 2021-04-05T12:05:36.000Z | a = int(input())
print((a % 12) * 5 + (a // 12) * 50)
| 18 | 36 | 0.425926 | 10 | 54 | 2.3 | 0.7 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.259259 | 54 | 2 | 37 | 27 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1405a5a579465ed26ce0fff2e31bb497d28af882 | 68 | py | Python | retina/optim/lr_schedulers/__init__.py | mike112223/retina | cdad3af8240471619f42e9edd1caf68a0241bea6 | [
"Apache-2.0"
] | null | null | null | retina/optim/lr_schedulers/__init__.py | mike112223/retina | cdad3af8240471619f42e9edd1caf68a0241bea6 | [
"Apache-2.0"
] | null | null | null | retina/optim/lr_schedulers/__init__.py | mike112223/retina | cdad3af8240471619f42e9edd1caf68a0241bea6 | [
"Apache-2.0"
] | null | null | null | from .builder import build_lr_scheduler
from .step_lr import StepLR
| 22.666667 | 39 | 0.852941 | 11 | 68 | 5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 68 | 2 | 40 | 34 | 0.916667 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.