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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b5b250cc936520304f0c51d8563343a076e90a0 | 23 | py | Python | src/bgmtinygrail/model_link/__init__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 5 | 2020-05-17T02:41:01.000Z | 2020-07-01T23:24:41.000Z | src/bgmtinygrail/model_link/__init__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | null | null | null | src/bgmtinygrail/model_link/__init__.py | no1xsyzy/bgmtinygrail | 4e762a58337f3021440a070967f1cb7a0213f8a6 | [
"MIT"
] | 1 | 2021-02-09T04:41:15.000Z | 2021-02-09T04:41:15.000Z | from . import accounts
| 11.5 | 22 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b620ab6ca7fc96ed1866343b8dccf95ce7fb0df | 60 | py | Python | models/__init__.py | chenghanc/Facial-Expression-Recognition.Pytorch | 13963142067953d581031bf84ee12d0f3424c98c | [
"MIT"
] | null | null | null | models/__init__.py | chenghanc/Facial-Expression-Recognition.Pytorch | 13963142067953d581031bf84ee12d0f3424c98c | [
"MIT"
] | null | null | null | models/__init__.py | chenghanc/Facial-Expression-Recognition.Pytorch | 13963142067953d581031bf84ee12d0f3424c98c | [
"MIT"
] | null | null | null | from .vgg import *
from .resnet import *
from .dtan import * | 20 | 21 | 0.716667 | 9 | 60 | 4.777778 | 0.555556 | 0.465116 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 60 | 3 | 22 | 20 | 0.877551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b7c926dbad3a19bdcfad8a78b41b1f9bc5621d0 | 157 | py | Python | python/moBu/core/__init__.py | CountZer0/PipelineConstructionSet | 0aa73a8a63c72989b2d1c677efd78dad4388d335 | [
"BSD-3-Clause"
] | 21 | 2015-04-27T05:01:36.000Z | 2021-11-22T13:45:14.000Z | python/moBu/core/__init__.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | null | null | null | python/moBu/core/__init__.py | 0xb1dd1e/PipelineConstructionSet | 621349da1b6d1437e95d0c9e48ee9f36d59f19fd | [
"BSD-3-Clause"
] | 7 | 2015-04-11T11:37:19.000Z | 2020-05-22T09:49:04.000Z | '''
Author: jason
Created: Apr 22, 2012
Module: moBu.core.__init__
Purpose: to import core modules
'''
print "moBu.core.__init__ imported" | 17.444444 | 36 | 0.66242 | 20 | 157 | 4.8 | 0.8 | 0.166667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 0.229299 | 157 | 9 | 36 | 17.444444 | 0.743802 | 0 | 0 | 0 | 0 | 0 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
298c70f8edb971753afa3e1d0fdd3e134ac2ae5b | 788 | py | Python | test/test_delete_contact.py | SvetlanaPopova/python_1 | 5acc26e3d3746d7fcf48603d9ca9064e39c248ca | [
"Apache-2.0"
] | null | null | null | test/test_delete_contact.py | SvetlanaPopova/python_1 | 5acc26e3d3746d7fcf48603d9ca9064e39c248ca | [
"Apache-2.0"
] | null | null | null | test/test_delete_contact.py | SvetlanaPopova/python_1 | 5acc26e3d3746d7fcf48603d9ca9064e39c248ca | [
"Apache-2.0"
] | null | null | null | __author__ = 'User'
from model.contact import Contact
import random
def test_delete_some_contact(app, db, check_ui):
if app.contact.count() == 0:
app.contact.add_new(Contact(firstname="TestContact"))
old_contacts = db.get_contact_list_all()
contact = random.choice(old_contacts)
app.contact.de... | 32.833333 | 73 | 0.75 | 114 | 788 | 4.842105 | 0.280702 | 0.144928 | 0.047101 | 0.061594 | 0.887681 | 0.800725 | 0.800725 | 0.800725 | 0.800725 | 0.608696 | 0 | 0.002954 | 0.140863 | 788 | 23 | 74 | 34.26087 | 0.812408 | 0 | 0 | 0.470588 | 0 | 0 | 0.032995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
298d384c02719b013854718ee5840e3b7a9897dc | 162 | py | Python | precise/skaters/portfoliostatic/allstaticalloc.py | ChandanKSingh/precise | 3c420fe34d252a557b7a17ed9f7637be2fa86e20 | [
"MIT"
] | null | null | null | precise/skaters/portfoliostatic/allstaticalloc.py | ChandanKSingh/precise | 3c420fe34d252a557b7a17ed9f7637be2fa86e20 | [
"MIT"
] | null | null | null | precise/skaters/portfoliostatic/allstaticalloc.py | ChandanKSingh/precise | 3c420fe34d252a557b7a17ed9f7637be2fa86e20 | [
"MIT"
] | null | null | null | from precise.skaters.portfoliostatic.weakalloc import WEAK_ALLOC
from precise.skaters.portfoliostatic.diagalloc import DIAG_ALLOC
ALLOC = WEAK_ALLOC + DIAG_ALLOC | 40.5 | 64 | 0.87037 | 21 | 162 | 6.52381 | 0.47619 | 0.160584 | 0.262774 | 0.481752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 162 | 4 | 65 | 40.5 | 0.919463 | 0 | 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 | 1 | 0 | 0 | 6 |
29d49b0554017887849182e51227cede02cf68c0 | 40 | py | Python | python/labours/__init__.py | akx/hercules | 724e3742ce34304f51811e586b904aa2fc5c1f37 | [
"Apache-2.0"
] | null | null | null | python/labours/__init__.py | akx/hercules | 724e3742ce34304f51811e586b904aa2fc5c1f37 | [
"Apache-2.0"
] | null | null | null | python/labours/__init__.py | akx/hercules | 724e3742ce34304f51811e586b904aa2fc5c1f37 | [
"Apache-2.0"
] | null | null | null | from labours.labours import * # noqa:F
| 20 | 39 | 0.725 | 6 | 40 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.878788 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4b14169b13f80ab04da97a78bd45063f6f7d4625 | 2,498 | py | Python | evalml/tests/automl_tests/test_engine_base.py | RG4421/evalml | 33c62abe6d107d1da2f54e9e44a90f18aaf916a9 | [
"BSD-3-Clause"
] | null | null | null | evalml/tests/automl_tests/test_engine_base.py | RG4421/evalml | 33c62abe6d107d1da2f54e9e44a90f18aaf916a9 | [
"BSD-3-Clause"
] | 13 | 2021-03-04T19:29:09.000Z | 2022-03-07T01:00:43.000Z | evalml/tests/automl_tests/test_engine_base.py | RG4421/evalml | 33c62abe6d107d1da2f54e9e44a90f18aaf916a9 | [
"BSD-3-Clause"
] | null | null | null | from unittest.mock import patch
import numpy as np
import pandas as pd
from evalml.automl.automl_search import AutoMLSearch
from evalml.automl.engine import EngineBase
@patch('evalml.pipelines.BinaryClassificationPipeline.score')
@patch('evalml.pipelines.BinaryClassificationPipeline.fit')
def test_train_and_score_p... | 55.511111 | 112 | 0.765813 | 356 | 2,498 | 5.036517 | 0.22191 | 0.089236 | 0.063581 | 0.080312 | 0.877301 | 0.858896 | 0.825432 | 0.804239 | 0.804239 | 0.804239 | 0 | 0.008242 | 0.125701 | 2,498 | 44 | 113 | 56.772727 | 0.812729 | 0 | 0 | 0.578947 | 0 | 0 | 0.155725 | 0.080064 | 0 | 0 | 0 | 0 | 0.342105 | 1 | 0.052632 | false | 0 | 0.131579 | 0 | 0.184211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4b24b6003a64526148c4d59ebe2a5b62fe642591 | 33 | py | Python | infinisdk/infinibox/__init__.py | kobutton/infinisdk | 4ae5c66a2d7926636a52cb0a1452f9a2809b2ec2 | [
"BSD-3-Clause"
] | 5 | 2019-02-26T20:11:43.000Z | 2021-03-10T08:45:38.000Z | infinisdk/infinibox/__init__.py | kobutton/infinisdk | 4ae5c66a2d7926636a52cb0a1452f9a2809b2ec2 | [
"BSD-3-Clause"
] | 11 | 2017-11-15T19:20:23.000Z | 2021-09-14T18:17:47.000Z | infinisdk/infinibox/__init__.py | kobutton/infinisdk | 4ae5c66a2d7926636a52cb0a1452f9a2809b2ec2 | [
"BSD-3-Clause"
] | 2 | 2017-11-16T11:59:05.000Z | 2019-02-25T20:44:23.000Z | from .infinibox import InfiniBox
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9a20ed9c751f346bc383d2a419fcf71b94ed066 | 282 | py | Python | python/graphscope/experimental/nx/tests/algorithms/forward/test_hybrid.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 2 | 2020-12-15T08:42:10.000Z | 2022-01-14T09:13:16.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/test_hybrid.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2020-12-22T13:15:40.000Z | 2020-12-22T13:15:40.000Z | python/graphscope/experimental/nx/tests/algorithms/forward/test_hybrid.py | wenyuanyu/GraphScope | a40ccaf70557e608d8b091eb25ab04477f99ce21 | [
"Apache-2.0"
] | 1 | 2021-11-23T03:40:43.000Z | 2021-11-23T03:40:43.000Z | import networkx.algorithms.tests.test_hybrid
import pytest
from graphscope.experimental.nx.utils.compat import import_as_graphscope_nx
import_as_graphscope_nx(networkx.algorithms.tests.test_hybrid,
decorators=pytest.mark.usefixtures("graphscope_session"))
| 35.25 | 81 | 0.801418 | 34 | 282 | 6.382353 | 0.529412 | 0.165899 | 0.211982 | 0.248848 | 0.304147 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 282 | 7 | 82 | 40.285714 | 0.882114 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9a660fda22871a0ea581c723ef0f9ed1ca7d5f6 | 5,180 | py | Python | tests/test_union.py | michelp/cxxheaderparser | 83bb2903790cf448bf838cdb8a93ca96e758bd1a | [
"BSD-3-Clause"
] | 12 | 2020-12-28T09:40:53.000Z | 2022-03-13T15:36:21.000Z | tests/test_union.py | michelp/cxxheaderparser | 83bb2903790cf448bf838cdb8a93ca96e758bd1a | [
"BSD-3-Clause"
] | 28 | 2021-01-04T14:58:59.000Z | 2022-01-03T03:00:16.000Z | tests/test_union.py | michelp/cxxheaderparser | 83bb2903790cf448bf838cdb8a93ca96e758bd1a | [
"BSD-3-Clause"
] | 1 | 2021-11-06T03:44:53.000Z | 2021-11-06T03:44:53.000Z | # Note: testcases generated via `python -m cxxheaderparser.gentest`
from cxxheaderparser.types import (
AnonymousName,
ClassDecl,
Field,
FundamentalSpecifier,
NameSpecifier,
PQName,
Type,
)
from cxxheaderparser.simple import (
ClassScope,
NamespaceScope,
parse_string,
Parsed... | 33.419355 | 87 | 0.275676 | 227 | 5,180 | 6.198238 | 0.259912 | 0.099502 | 0.156361 | 0.089552 | 0.716418 | 0.716418 | 0.700071 | 0.700071 | 0.646055 | 0.608387 | 0 | 0.001677 | 0.654633 | 5,180 | 154 | 88 | 33.636364 | 0.784796 | 0.012548 | 0 | 0.62069 | 1 | 0 | 0.072365 | 0 | 0 | 0 | 0 | 0 | 0.013793 | 1 | 0.013793 | false | 0 | 0.013793 | 0 | 0.027586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9a6fc2bd83a729eb3e97380cee1f86c56b1fc35 | 386 | py | Python | slixmpp/plugins/xep_0060/stanza/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 86 | 2016-07-04T13:26:02.000Z | 2022-02-19T10:26:21.000Z | slixmpp/plugins/xep_0060/stanza/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 10 | 2016-09-30T18:55:41.000Z | 2020-05-01T14:22:47.000Z | slixmpp/plugins/xep_0060/stanza/__init__.py | anirudhrata/slixmpp | 1fcee0e80a212eeb274d2f560e69099d8a61bf7f | [
"BSD-3-Clause"
] | 45 | 2016-09-30T18:48:41.000Z | 2022-03-18T21:39:33.000Z |
# Slixmpp: The Slick XMPP Library
# Copyright (C) 2011 Nathanael C. Fritz
# This file is part of Slixmpp.
# See the file LICENSE for copying permission.
from slixmpp.plugins.xep_0060.stanza.pubsub import *
from slixmpp.plugins.xep_0060.stanza.pubsub_owner import *
from slixmpp.plugins.xep_0060.stanza.pubsub_event imp... | 38.6 | 59 | 0.803109 | 59 | 386 | 5.135593 | 0.508475 | 0.145215 | 0.237624 | 0.277228 | 0.547855 | 0.547855 | 0.547855 | 0.425743 | 0 | 0 | 0 | 0.058824 | 0.119171 | 386 | 9 | 60 | 42.888889 | 0.832353 | 0.375648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9c9b4730de9fc5fa1c760dab6bf6f8bdc345ccc | 2,467 | py | Python | Dynamic Programming/BuyAndSellStock_WithCoolDown.py | PK-100/Competitive_Programming | d0863feaaa99462b2999e85dcf115f7a6c08bb8d | [
"MIT"
] | 70 | 2018-06-25T21:20:15.000Z | 2022-03-24T03:55:17.000Z | Dynamic Programming/BuyAndSellStock_WithCoolDown.py | An3sha/Competitive_Programming | ee7eadf51939a360d0b004d787ebabda583e92f0 | [
"MIT"
] | 4 | 2018-09-04T13:12:20.000Z | 2021-06-20T08:29:12.000Z | Dynamic Programming/BuyAndSellStock_WithCoolDown.py | An3sha/Competitive_Programming | ee7eadf51939a360d0b004d787ebabda583e92f0 | [
"MIT"
] | 24 | 2018-12-26T05:15:32.000Z | 2022-01-23T23:04:54.000Z | #LCM309
class Solution:
def maxProfit_LinearSpace(self, prices: List[int]) -> int:
# LINEAR SPACE, LINEAR TIME
# initialise the arrays for buy and sell to be used for bottom up DP
n = len(prices)
if n<2:
return 0
buy, sell = [0]*n, [0]*n
buy[0], sell[0] =... | 46.54717 | 105 | 0.560195 | 410 | 2,467 | 3.317073 | 0.219512 | 0.017647 | 0.032353 | 0.025 | 0.819118 | 0.758088 | 0.742647 | 0.742647 | 0.742647 | 0.742647 | 0 | 0.038559 | 0.358735 | 2,467 | 52 | 106 | 47.442308 | 0.821113 | 0.490069 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d9cade1e28f3c34fa34b2c5e52023948d7a1dd39 | 73 | py | Python | bench/qpy_/__init__.py | adibossiseu/python-evoque | 3948733335fe434cebdc50c7fd4c29fc1316739b | [
"AFL-1.1"
] | null | null | null | bench/qpy_/__init__.py | adibossiseu/python-evoque | 3948733335fe434cebdc50c7fd4c29fc1316739b | [
"AFL-1.1"
] | null | null | null | bench/qpy_/__init__.py | adibossiseu/python-evoque | 3948733335fe434cebdc50c7fd4c29fc1316739b | [
"AFL-1.1"
] | null | null | null | from qpy.compile import compile_qpy_files
compile_qpy_files(__path__[0])
| 24.333333 | 41 | 0.863014 | 12 | 73 | 4.583333 | 0.583333 | 0.363636 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.068493 | 73 | 2 | 42 | 36.5 | 0.794118 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d9ce79fca597653fbe75a3d591295116ddf30d0f | 109 | py | Python | models/__init__.py | darylfung96/ENAS-pytorch | 6ce6417b5625643d6d72f0361fb32783ad24e7f3 | [
"Apache-2.0"
] | 2,745 | 2018-02-15T05:14:06.000Z | 2022-03-23T08:34:20.000Z | models/__init__.py | darylfung96/ENAS-pytorch | 6ce6417b5625643d6d72f0361fb32783ad24e7f3 | [
"Apache-2.0"
] | 53 | 2018-02-15T05:06:54.000Z | 2021-07-29T05:28:26.000Z | models/__init__.py | darylfung96/ENAS-pytorch | 6ce6417b5625643d6d72f0361fb32783ad24e7f3 | [
"Apache-2.0"
] | 522 | 2018-02-15T07:36:30.000Z | 2022-03-28T06:18:48.000Z | from models.shared_rnn import RNN
from models.shared_cnn import CNN
from models.controller import Controller
| 27.25 | 40 | 0.862385 | 17 | 109 | 5.411765 | 0.411765 | 0.326087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 109 | 3 | 41 | 36.333333 | 0.948454 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d9e22c08fd9095ed83b266e1d9a36590eff60c02 | 134 | py | Python | editor/views.py | zifeiyusama/blog | 8c87d93291e0a4193aefa83f1d732a46208cf23f | [
"MIT"
] | null | null | null | editor/views.py | zifeiyusama/blog | 8c87d93291e0a4193aefa83f1d732a46208cf23f | [
"MIT"
] | null | null | null | editor/views.py | zifeiyusama/blog | 8c87d93291e0a4193aefa83f1d732a46208cf23f | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def preview(request):
return render(request, 'editor/editor.html')
| 22.333333 | 48 | 0.761194 | 18 | 134 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 5 | 49 | 26.8 | 0.886957 | 0.171642 | 0 | 0 | 0 | 0 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d9e382ceb48d8903d0fecde773c47cee5dae8d13 | 27 | py | Python | ajtrace/__init__.py | zilder/ajtrace | 53b5795f621d0d9017d75b669d69b947e2a4f495 | [
"MIT"
] | null | null | null | ajtrace/__init__.py | zilder/ajtrace | 53b5795f621d0d9017d75b669d69b947e2a4f495 | [
"MIT"
] | null | null | null | ajtrace/__init__.py | zilder/ajtrace | 53b5795f621d0d9017d75b669d69b947e2a4f495 | [
"MIT"
] | 1 | 2021-11-01T09:45:22.000Z | 2021-11-01T09:45:22.000Z | from . import ebpf_modules
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9ec59606a9bbe79915eadc69453e82e10926b3a | 7,241 | py | Python | tests/python_client/base/utility_wrapper.py | ss892714028/milvus | 260d3e124d3d1b9c0654c52f70d47bfc1221b145 | [
"Apache-2.0"
] | 1 | 2021-12-13T07:46:54.000Z | 2021-12-13T07:46:54.000Z | tests/python_client/base/utility_wrapper.py | ggalancs/milvus | 288ad629976697aca43fd8bec79cdb68776c14cd | [
"Apache-2.0"
] | null | null | null | tests/python_client/base/utility_wrapper.py | ggalancs/milvus | 288ad629976697aca43fd8bec79cdb68776c14cd | [
"Apache-2.0"
] | 1 | 2020-08-17T14:28:14.000Z | 2020-08-17T14:28:14.000Z | from datetime import datetime
from pymilvus import utility
import sys
sys.path.append("..")
from check.func_check import ResponseChecker
from utils.api_request import api_request
TIMEOUT = 20
class ApiUtilityWrapper:
""" Method of encapsulating utility files """
ut = utility
def get_query_segment_in... | 54.856061 | 120 | 0.64121 | 871 | 7,241 | 5.009185 | 0.095293 | 0.102682 | 0.041714 | 0.047674 | 0.80816 | 0.755444 | 0.740775 | 0.728398 | 0.728398 | 0.709603 | 0 | 0.000762 | 0.274962 | 7,241 | 131 | 121 | 55.274809 | 0.830286 | 0.00511 | 0 | 0.542857 | 0 | 0 | 0.010978 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12381 | false | 0 | 0.047619 | 0 | 0.314286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a68558691d6929831f591effbd7f99117d1f8de | 31,525 | py | Python | tests/cli/v2_1_1/test_discovery.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | tests/cli/v2_1_1/test_discovery.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | tests/cli/v2_1_1/test_discovery.py | AltusConsulting/dnacentercli | 26ea46fdbd40fc30649ea1d8803158655aa545aa | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""DNACenterAPI Discovery API fixtures and tests.
Copyright (c) 2019 Cisco and/or its affiliates.
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, incl... | 46.22434 | 342 | 0.523489 | 2,867 | 31,525 | 5.543076 | 0.087548 | 0.029952 | 0.006607 | 0.047068 | 0.882582 | 0.855588 | 0.823433 | 0.778002 | 0.744085 | 0.723068 | 0 | 0.007482 | 0.330119 | 31,525 | 681 | 343 | 46.292217 | 0.745052 | 0.036225 | 0 | 0.393064 | 0 | 0 | 0.066586 | 0.037865 | 0 | 0 | 0 | 0 | 0.131021 | 1 | 0.131021 | false | 0 | 0.007707 | 0 | 0.204239 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a6b9b428518e73e6ecaa32a515a6e60f2dbc58d | 41,567 | py | Python | contextualise/topic.py | stratosgear/contextualise | 41ed338d194b32631aad20d9a47ae4f67c3b6b1d | [
"MIT"
] | null | null | null | contextualise/topic.py | stratosgear/contextualise | 41ed338d194b32631aad20d9a47ae4f67c3b6b1d | [
"MIT"
] | null | null | null | contextualise/topic.py | stratosgear/contextualise | 41ed338d194b32631aad20d9a47ae4f67c3b6b1d | [
"MIT"
] | null | null | null | import os
import shutil
from collections import deque
from datetime import datetime
import maya
import mistune
from contextualise.topic_store import get_topic_store
from flask import Blueprint, session, flash, render_template, request, url_for, redirect, current_app
from flask_security import login_required, current_u... | 37.788182 | 171 | 0.634927 | 4,727 | 41,567 | 5.310133 | 0.052253 | 0.056412 | 0.093622 | 0.076969 | 0.824429 | 0.792917 | 0.769173 | 0.734871 | 0.701167 | 0.687343 | 0 | 0.005218 | 0.280776 | 41,567 | 1,099 | 172 | 37.822566 | 0.834393 | 0.061732 | 0 | 0.599338 | 0 | 0.014349 | 0.168096 | 0.026681 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013245 | false | 0 | 0.019868 | 0 | 0.058499 | 0.002208 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a87051e45a76f595e8954722b2d2a9628a9374b | 105 | py | Python | wpa_project/membership/models/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | 1 | 2022-01-03T02:46:34.000Z | 2022-01-03T02:46:34.000Z | wpa_project/membership/models/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | 31 | 2021-12-29T17:43:06.000Z | 2022-03-25T01:03:17.000Z | wpa_project/membership/models/__init__.py | s-amundson/wpa_2p1 | 43deb859123e5ef2eab3652e403c8d2f53d43b77 | [
"MIT"
] | null | null | null | from .level_model import Level
from .member_model import Member
from .membership_model import Membership
| 26.25 | 40 | 0.857143 | 15 | 105 | 5.8 | 0.4 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 3 | 41 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8a96ffac842a1187abb8503b67bdeb18e1af1988 | 93 | py | Python | Twitter_Frontend_API/__init__.py | mkaraki/Twitter_Frontend_API | 106af7c25c8f8055ab92dd26a0db87fc2cba1c00 | [
"MIT"
] | null | null | null | Twitter_Frontend_API/__init__.py | mkaraki/Twitter_Frontend_API | 106af7c25c8f8055ab92dd26a0db87fc2cba1c00 | [
"MIT"
] | null | null | null | Twitter_Frontend_API/__init__.py | mkaraki/Twitter_Frontend_API | 106af7c25c8f8055ab92dd26a0db87fc2cba1c00 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .main import Client
from .main import API
__version__ = "1.1.1" | 18.6 | 24 | 0.655914 | 15 | 93 | 3.8 | 0.666667 | 0.280702 | 0.491228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.172043 | 93 | 5 | 25 | 18.6 | 0.688312 | 0.225806 | 0 | 0 | 0 | 0 | 0.070423 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ac2b34f4915de070c181182521568c265503da4 | 30 | py | Python | typedb_data_offshoreleaks/migrate_helpers/__init__.py | typedb-osi/typedb-offshoreleaks | 4395c4757838865db77ecdc835f9162de28d83f5 | [
"Apache-2.0"
] | 13 | 2022-01-18T12:43:58.000Z | 2022-03-08T20:46:35.000Z | typedb_data_offshoreleaks/migrate_helpers/__init__.py | typedb-osi/typedb-offshoreleaks | 4395c4757838865db77ecdc835f9162de28d83f5 | [
"Apache-2.0"
] | null | null | null | typedb_data_offshoreleaks/migrate_helpers/__init__.py | typedb-osi/typedb-offshoreleaks | 4395c4757838865db77ecdc835f9162de28d83f5 | [
"Apache-2.0"
] | 2 | 2022-02-12T03:12:24.000Z | 2022-02-13T15:32:05.000Z | from .migrate_helpers import * | 30 | 30 | 0.833333 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ac5ad781157b2d15772b46174e20ce757e3caea | 35 | py | Python | neuralynx_io/__init__.py | Yarn/NeuralynxIO | 869129fe521bc713fff0579057a4488318489c17 | [
"MIT"
] | 7 | 2018-09-15T04:12:34.000Z | 2022-01-28T14:27:41.000Z | neuralynx_io/__init__.py | Yarn/NeuralynxIO | 869129fe521bc713fff0579057a4488318489c17 | [
"MIT"
] | 3 | 2015-09-04T16:33:11.000Z | 2021-05-28T09:59:55.000Z | neuralynx_io/__init__.py | Yarn/NeuralynxIO | 869129fe521bc713fff0579057a4488318489c17 | [
"MIT"
] | 4 | 2018-02-28T02:25:30.000Z | 2022-03-24T02:47:30.000Z | from .neuralynx_io import load_ncs
| 17.5 | 34 | 0.857143 | 6 | 35 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
76f4c35caaee5a7690e85f816c82b12c69139215 | 36,960 | py | Python | tests/test_admin.py | chaosk/djangocms-navigation | 0b0cbdf58dd98670094365e5c64e5088656bf77d | [
"BSD-3-Clause"
] | null | null | null | tests/test_admin.py | chaosk/djangocms-navigation | 0b0cbdf58dd98670094365e5c64e5088656bf77d | [
"BSD-3-Clause"
] | null | null | null | tests/test_admin.py | chaosk/djangocms-navigation | 0b0cbdf58dd98670094365e5c64e5088656bf77d | [
"BSD-3-Clause"
] | null | null | null | from unittest.mock import patch
from django.contrib import admin
from django.contrib.contenttypes.models import ContentType
from django.contrib.sites.models import Site
from django.shortcuts import reverse
from django.test import RequestFactory, TestCase
from cms.test_utils.testcases import CMSTestCase
from djangocm... | 40.130293 | 88 | 0.668534 | 4,067 | 36,960 | 5.789034 | 0.0627 | 0.059803 | 0.031218 | 0.057934 | 0.867525 | 0.836179 | 0.806745 | 0.786612 | 0.769368 | 0.762827 | 0 | 0.004454 | 0.234632 | 36,960 | 920 | 89 | 40.173913 | 0.827842 | 0.03869 | 0 | 0.699588 | 0 | 0 | 0.136856 | 0.069332 | 0 | 0 | 0 | 0 | 0.139918 | 1 | 0.068587 | false | 0 | 0.019204 | 0 | 0.100137 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a0ddc92ea986bfdd8bd53f165e51d88ba0d083d | 95 | py | Python | d-series/d532.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | 1 | 2018-10-21T10:03:42.000Z | 2018-10-21T10:03:42.000Z | d-series/d532.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | null | null | null | d-series/d532.py | TheLurkingCat/ZeroJudge | 6fc49c54a45e2b4b3a8d04b7a5a1fc81a2ff4eee | [
"MIT"
] | 2 | 2018-10-12T16:40:11.000Z | 2021-04-05T12:05:36.000Z | from calendar import leapdays
a, b = [int(x) for x in input().split()]
print(leapdays(a, b+1))
| 23.75 | 40 | 0.673684 | 18 | 95 | 3.555556 | 0.777778 | 0.28125 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.147368 | 95 | 3 | 41 | 31.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0a3ec504e934482a9ba61f2eb512b4e16dbde76f | 22 | py | Python | modules/sysinfo/__init__.py | sa2c/excalibur-tests | f9d15550d72609a69f728fb4fec4c8afa472b535 | [
"Apache-2.0"
] | 9 | 2020-11-05T09:17:28.000Z | 2022-02-21T21:38:04.000Z | modules/sysinfo/__init__.py | sa2c/excalibur-tests | f9d15550d72609a69f728fb4fec4c8afa472b535 | [
"Apache-2.0"
] | 11 | 2021-07-22T14:02:26.000Z | 2022-03-18T16:25:47.000Z | modules/sysinfo/__init__.py | sa2c/excalibur-tests | f9d15550d72609a69f728fb4fec4c8afa472b535 | [
"Apache-2.0"
] | 4 | 2020-11-07T12:44:35.000Z | 2021-09-03T19:51:17.000Z | from .sysinfo import * | 22 | 22 | 0.772727 | 3 | 22 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a6f57b9ea9ce9a167267e15988e59019950dba0 | 112 | py | Python | archivedtst/romcomma/__init__.py | judejeh/rom-comma | 2cace7c4d9d72a35237bc7ddc0f54aec3b9b1d63 | [
"BSD-3-Clause"
] | 1 | 2021-06-08T16:01:09.000Z | 2021-06-08T16:01:09.000Z | archivedtst/romcomma/__init__.py | judejeh/rom-comma | 2cace7c4d9d72a35237bc7ddc0f54aec3b9b1d63 | [
"BSD-3-Clause"
] | null | null | null | archivedtst/romcomma/__init__.py | judejeh/rom-comma | 2cace7c4d9d72a35237bc7ddc0f54aec3b9b1d63 | [
"BSD-3-Clause"
] | 2 | 2021-07-05T11:58:05.000Z | 2021-11-06T17:35:11.000Z |
from . import data
from . import distribution
from . import function
from . import typing_
from . import model
| 16 | 26 | 0.767857 | 15 | 112 | 5.666667 | 0.466667 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 112 | 6 | 27 | 18.666667 | 0.934066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a6befe7894c994cd1081f0c5c387fb58aec5006 | 3,305 | py | Python | tabular data/classification/SplitSD4X/patterns_extraction.py | RemilYoucef/SPLITSD4X | e7625a4d649e7d61bebcf193d956c5d73ee5e08b | [
"MIT"
] | 2 | 2021-02-10T08:29:19.000Z | 2021-04-29T14:33:31.000Z | tabular data/classification/SplitSD4X/patterns_extraction.py | RemilYoucef/SPLITSD4X | e7625a4d649e7d61bebcf193d956c5d73ee5e08b | [
"MIT"
] | null | null | null | tabular data/classification/SplitSD4X/patterns_extraction.py | RemilYoucef/SPLITSD4X | e7625a4d649e7d61bebcf193d956c5d73ee5e08b | [
"MIT"
] | null | null | null | import os
import numpy as np
import pandas as pd
import codecs, json
import math
from neighbors_generation import *
def patterns (P, split_point, data, att_names_) :
patt_dict = dict()
rank = 0
for s,p in P.items() :
description = ''
it = 0
d = dict ()
... | 30.045455 | 121 | 0.363994 | 370 | 3,305 | 3.118919 | 0.159459 | 0.097054 | 0.114385 | 0.041594 | 0.868284 | 0.856153 | 0.733969 | 0.717504 | 0.681109 | 0.681109 | 0 | 0.027248 | 0.444781 | 3,305 | 109 | 122 | 30.321101 | 0.601635 | 0.021483 | 0 | 0.767123 | 0 | 0 | 0.071561 | 0.041512 | 0.054795 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0.082192 | 0 | 0.136986 | 0.136986 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6a97e71adf320b98e7bae794bc980867ba2883f6 | 3,921 | py | Python | mpesa_api/tests.py | Bernard2030/EcommercePortal | 84b7547a10861cf86634b0107d0622cb89ec3a78 | [
"MIT"
] | 1 | 2021-11-11T23:36:42.000Z | 2021-11-11T23:36:42.000Z | mpesa_api/tests.py | Bernard2030/EcommercePortal | 84b7547a10861cf86634b0107d0622cb89ec3a78 | [
"MIT"
] | 3 | 2021-11-16T10:29:45.000Z | 2022-03-01T01:45:20.000Z | mpesa_api/tests.py | Bernard2030/EcommercePortal | 84b7547a10861cf86634b0107d0622cb89ec3a78 | [
"MIT"
] | 1 | 2021-11-28T10:51:47.000Z | 2021-11-28T10:51:47.000Z | from django.test import TestCase
# from mpesa_api.models import MpesaPayments,MpesaCallbacks,BaseModel,MpesaCalls
# from mpesa_api.models import MpesaPayments,MpesaCallbacks,BaseModel,MpesaCalls
# Create your tests here.
"""
class MpesaPaymentsTest(TestCase):
def setUp(self):
self.mpesa_payments = Mpesa... | 39.21 | 123 | 0.688345 | 408 | 3,921 | 6.370098 | 0.129902 | 0.161601 | 0.175452 | 0.175452 | 0.824548 | 0.729896 | 0.524432 | 0.344363 | 0.312043 | 0.242401 | 0 | 0.064848 | 0.20556 | 3,921 | 99 | 124 | 39.606061 | 0.769502 | 0.046162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6ab5b5040265e075f639a511111a36e4d1fbaa6d | 13,313 | py | Python | networkx/algorithms/operators/tests/test_product.py | rakschahsa/networkx | 6cac55b1064c3c346665f9281680fa3b66442ad0 | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | SLpackage/private/thirdparty/pythonpkgs/networkx/networkx_2.2/lib/python2.7/site-packages/networkx/algorithms/operators/tests/test_product.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | SLpackage/private/thirdparty/pythonpkgs/networkx/networkx_2.2/lib/python2.7/site-packages/networkx/algorithms/operators/tests/test_product.py | fanglab/6mASCOPE | 3f1fdcb7693ff152f17623ce549526ec272698b1 | [
"BSD-3-Clause"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z | import networkx as nx
from nose.tools import assert_true, assert_equal, raises
from networkx.testing import assert_edges_equal
@raises(nx.NetworkXError)
def test_tensor_product_raises():
P = nx.tensor_product(nx.DiGraph(), nx.Graph())
def test_tensor_product_null():
null = nx.null_graph()
empty10 = nx.e... | 33.875318 | 77 | 0.635845 | 2,223 | 13,313 | 3.560504 | 0.055331 | 0.033354 | 0.074289 | 0.086671 | 0.824005 | 0.790777 | 0.771447 | 0.7506 | 0.748579 | 0.737081 | 0 | 0.042643 | 0.214377 | 13,313 | 392 | 78 | 33.961735 | 0.714122 | 0.039585 | 0 | 0.516129 | 0 | 0 | 0.000548 | 0 | 0 | 0 | 0 | 0 | 0.280645 | 1 | 0.087097 | false | 0 | 0.009677 | 0 | 0.096774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6ad8a0e5efc80456d26bc4c4bdd713c069bfe4f3 | 23 | py | Python | lang/Python/quine-6.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/quine-6.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/quine-6.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | print((__file__[:-3]))
| 11.5 | 22 | 0.608696 | 3 | 23 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.043478 | 23 | 1 | 23 | 23 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
6ae134de15cb19f908f6e9656044d8621b52c42e | 6,625 | py | Python | test/processes/server.py | buntine/laser-drift | 6fca9944d6feb1a7505e203ab3eee7a1fe188716 | [
"MIT"
] | 9 | 2017-08-28T10:31:30.000Z | 2021-08-29T15:27:16.000Z | test/processes/server.py | buntine/laser-drift | 6fca9944d6feb1a7505e203ab3eee7a1fe188716 | [
"MIT"
] | null | null | null | test/processes/server.py | buntine/laser-drift | 6fca9944d6feb1a7505e203ab3eee7a1fe188716 | [
"MIT"
] | 5 | 2018-02-18T23:30:07.000Z | 2020-01-21T06:27:37.000Z | import unittest
import laserdrift.processes.server as s
from unittest.mock import MagicMock
class TestServer(unittest.TestCase):
def setUp(self):
self.server = self.mock_server()
def mock_request(self, response: str) -> MagicMock:
req = MagicMock()
req.recv = MagicMock(return_value=byt... | 28.311966 | 78 | 0.568604 | 729 | 6,625 | 4.971193 | 0.106996 | 0.102097 | 0.12362 | 0.094371 | 0.846302 | 0.817605 | 0.764625 | 0.73234 | 0.73234 | 0.73234 | 0 | 0.0109 | 0.307623 | 6,625 | 233 | 79 | 28.433476 | 0.779158 | 0 | 0 | 0.595376 | 0 | 0 | 0.061434 | 0 | 0 | 0 | 0 | 0 | 0.208092 | 1 | 0.121387 | false | 0 | 0.017341 | 0 | 0.156069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a7d9f382f65f8c834b4a3ea24c73c5cdd78ea47 | 47 | py | Python | tests/roots/test-ext-autosummary-imported_members/autosummary_dummy_package/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 4,973 | 2015-01-03T15:44:00.000Z | 2022-03-31T03:11:51.000Z | tests/roots/test-ext-autosummary-imported_members/autosummary_dummy_package/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 7,850 | 2015-01-02T08:09:25.000Z | 2022-03-31T18:57:40.000Z | tests/roots/test-ext-autosummary-imported_members/autosummary_dummy_package/__init__.py | samdoran/sphinx | 4c91c038b220d07bbdfe0c1680af42fe897f342c | [
"BSD-2-Clause"
] | 2,179 | 2015-01-03T15:26:53.000Z | 2022-03-31T12:22:44.000Z | from .autosummary_dummy_module import Bar, foo
| 23.5 | 46 | 0.851064 | 7 | 47 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 47 | 1 | 47 | 47 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a936c5c9f87e6e898ca161f8bbcdc6ae6400851 | 41 | py | Python | tests/unit/test_cli.py | manoadamro/jason | e6a152797cc47fc158b41f1f4b4d55f79d0494f7 | [
"MIT"
] | null | null | null | tests/unit/test_cli.py | manoadamro/jason | e6a152797cc47fc158b41f1f4b4d55f79d0494f7 | [
"MIT"
] | 136 | 2019-05-15T07:30:47.000Z | 2021-07-19T05:21:39.000Z | tests/unit/test_cli.py | manoadamro/jason | e6a152797cc47fc158b41f1f4b4d55f79d0494f7 | [
"MIT"
] | 1 | 2019-05-15T10:00:34.000Z | 2019-05-15T10:00:34.000Z | import pytest
from jason.cli import CLI
| 10.25 | 25 | 0.804878 | 7 | 41 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 41 | 3 | 26 | 13.666667 | 0.970588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0aa37c256d0ad82868bd014bc26beb9905272e00 | 8,134 | py | Python | tests/integration/test_data_lake.py | dstright/open-data-access-tools-1 | 5ea461b34d550be163a7206164eedb960b282326 | [
"BSD-3-Clause"
] | 6 | 2020-12-07T21:01:12.000Z | 2022-02-03T20:48:12.000Z | tests/integration/test_data_lake.py | dstright/open-data-access-tools-1 | 5ea461b34d550be163a7206164eedb960b282326 | [
"BSD-3-Clause"
] | 2 | 2021-04-06T14:30:09.000Z | 2022-03-10T21:13:16.000Z | tests/integration/test_data_lake.py | dstright/open-data-access-tools-1 | 5ea461b34d550be163a7206164eedb960b282326 | [
"BSD-3-Clause"
] | 6 | 2021-01-28T20:42:44.000Z | 2022-03-17T22:44:56.000Z | """
Deploy OEDI data lake before running the integration tests.
To deploy OEDI data lake, run the commands below:
$ oedi init
$ cd oedi/AWS
$ cdk deploy
"""
import os
import pytest
from oedi.config import AWSDataLakeConfig
from oedi.AWS.athena import OEDIAthena
from oedi.AWS.glue import OEDIGlue
TEST_CONFIG_FILE = o... | 39.105769 | 125 | 0.736907 | 1,093 | 8,134 | 5.107045 | 0.129918 | 0.064493 | 0.069867 | 0.09029 | 0.886779 | 0.867252 | 0.859549 | 0.859549 | 0.859549 | 0.859549 | 0 | 0.03573 | 0.160438 | 8,134 | 208 | 126 | 39.105769 | 0.781666 | 0.039956 | 0 | 0.664336 | 0 | 0 | 0.222379 | 0.138875 | 0 | 0 | 0 | 0 | 0.244755 | 1 | 0.041958 | false | 0 | 0.034965 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ab838f51df95a5e69e7c55faf2861d6142014ff | 138 | py | Python | flocka/forms/__init__.py | sleekslush/flocka | 3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68 | [
"BSD-2-Clause"
] | 1 | 2018-10-09T14:09:12.000Z | 2018-10-09T14:09:12.000Z | flocka/forms/__init__.py | sleekslush/flocka | 3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68 | [
"BSD-2-Clause"
] | 11 | 2017-03-22T15:26:05.000Z | 2017-06-01T20:17:52.000Z | flocka/forms/__init__.py | sleekslush/flocka | 3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68 | [
"BSD-2-Clause"
] | null | null | null | from .login import LoginForm
from .signup import SignupForm
from .change_password import ChangePasswordForm
from .branch import BranchForm | 34.5 | 47 | 0.862319 | 17 | 138 | 6.941176 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 138 | 4 | 48 | 34.5 | 0.95935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
0ac9695f820a048205edd5fcd4ce8904cc312980 | 169 | py | Python | tuples_sets.py | ecxzqute/python3-basics | 34714b896fbda93e0625a1b6f09f68975bfbf28a | [
"MIT"
] | null | null | null | tuples_sets.py | ecxzqute/python3-basics | 34714b896fbda93e0625a1b6f09f68975bfbf28a | [
"MIT"
] | null | null | null | tuples_sets.py | ecxzqute/python3-basics | 34714b896fbda93e0625a1b6f09f68975bfbf28a | [
"MIT"
] | null | null | null | # A Tuple is a collection which is ordered and unchangeable. Allows duplicate members.
# A Set is a collection which is unordered and unindexed. No duplicate members.
| 33.8 | 86 | 0.786982 | 26 | 169 | 5.115385 | 0.576923 | 0.045113 | 0.195489 | 0.270677 | 0.300752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177515 | 169 | 4 | 87 | 42.25 | 0.956835 | 0.95858 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 6 |
7c13bf1bbc84d1d2c1b6e508e5009967f90bdc39 | 79 | py | Python | __init__.py | braibaud/jinja_flask_web | 9b9270f8b5a75c029983a5e333baa9183c7f1702 | [
"MIT"
] | null | null | null | __init__.py | braibaud/jinja_flask_web | 9b9270f8b5a75c029983a5e333baa9183c7f1702 | [
"MIT"
] | null | null | null | __init__.py | braibaud/jinja_flask_web | 9b9270f8b5a75c029983a5e333baa9183c7f1702 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from . import const
from . import app
| 13.166667 | 38 | 0.797468 | 11 | 79 | 5.272727 | 0.545455 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 5 | 39 | 15.8 | 0.892308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c3a4fa7dd6e24db7e3765e477d0e28cd9adaeb0 | 35,534 | py | Python | Mir.py | aghawahab8/mir.py | 8274d4c7b2f9d09791e3349414f46c53a350e22d | [
"Apache-2.0"
] | null | null | null | Mir.py | aghawahab8/mir.py | 8274d4c7b2f9d09791e3349414f46c53a350e22d | [
"Apache-2.0"
] | null | null | null | Mir.py | aghawahab8/mir.py | 8274d4c7b2f9d09791e3349414f46c53a350e22d | [
"Apache-2.0"
] | null | null | null | PK zO.TmJ��j� }_ __main__.pyUT 7��a7��aux �( �( �]{[۸����i�t�m���.˲\e�r�%M7k[
�8�K�g?�2Vn�}V���!ьu��hF�GR��a\��atf��G��]L���8Zt~n��j���Cy�7�a�h�y���H�#Ƨ9l������
�7t�mu�y
ck�U7��-u��*��"�
��Daxe����X�T�w����HW�cl��Xal�@u]exVMaxu�����\S���pg+
�q~S^[ep�.^U�E���06�H�Uex&R�s���... | 129.214545 | 758 | 0.288709 | 15,424 | 35,534 | 1.71499 | 0.158519 | 0.033721 | 0.006805 | 0.005444 | 0.032928 | 0.006276 | 0.004839 | 0.003932 | 0.003932 | 0.003932 | 0.43699 | 0.042992 | 0.041031 | 35,534 | 274 | 759 | 129.686131 | 0.252847 | 0 | 0 | 0 | 0 | 0.5 | 0.124013 | 0.082129 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7c3adb26bb2217e37a8f8c1e7bfbdad855fc4662 | 145 | py | Python | python/MultiCampus/com/ggoreb/python/writer/print.py | dayoungMM/TIL | b844ef5621657908d4c256cdfe233462dd075e8b | [
"MIT"
] | null | null | null | python/MultiCampus/com/ggoreb/python/writer/print.py | dayoungMM/TIL | b844ef5621657908d4c256cdfe233462dd075e8b | [
"MIT"
] | null | null | null | python/MultiCampus/com/ggoreb/python/writer/print.py | dayoungMM/TIL | b844ef5621657908d4c256cdfe233462dd075e8b | [
"MIT"
] | null | null | null | from ggoreb.python.reader import * # reader 패키지의 모든 모듈
def write():
print('barcode print:', barcode.data)
print('qrcode print:', qrcode.data)
| 24.166667 | 54 | 0.717241 | 21 | 145 | 4.952381 | 0.666667 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 5 | 55 | 29 | 0.832 | 0.117241 | 0 | 0 | 0 | 0 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
7ca86508be6c01d091f29bd58b71335676e6997d | 45 | py | Python | libaccess/database/__init__.py | bubbapizza/rpi_door | c9a7feb4a8bc3e48db896f34711817c0e0b9372e | [
"MIT"
] | null | null | null | libaccess/database/__init__.py | bubbapizza/rpi_door | c9a7feb4a8bc3e48db896f34711817c0e0b9372e | [
"MIT"
] | null | null | null | libaccess/database/__init__.py | bubbapizza/rpi_door | c9a7feb4a8bc3e48db896f34711817c0e0b9372e | [
"MIT"
] | null | null | null | import schema
from type import SQLite, mySQL
| 15 | 30 | 0.822222 | 7 | 45 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 31 | 22.5 | 0.973684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7ca9800fbc2a9e91bce3dee8494ebd47aad7f0aa | 8,656 | py | Python | CONTOH_CONTOH/aoc2021/hari4.ms.py | jiaminglimjm/JawiPython | affbb34c7876498a7cc3eef2ef87d59f7cccd8b1 | [
"0BSD"
] | null | null | null | CONTOH_CONTOH/aoc2021/hari4.ms.py | jiaminglimjm/JawiPython | affbb34c7876498a7cc3eef2ef87d59f7cccd8b1 | [
"0BSD"
] | null | null | null | CONTOH_CONTOH/aoc2021/hari4.ms.py | jiaminglimjm/JawiPython | affbb34c7876498a7cc3eef2ef87d59f7cccd8b1 | [
"0BSD"
] | null | null | null | اينڤوت = '''67 97 50 51 1
47 15 77 31 66
24 14 55 70 52
76 46 19 32 73
34 22 54 75 17
44 11 97 50 71
66 7 24 9 67
88 39 82 93 57
77 5 6 58 51
85 61 65 70 23
72 74 58 71 41
4 57 45 89 67
78 55 66 28 48
82 61 87 85 84
96 8 94 76 97
25 33 45 16 68
60 27 22 13 29
92 95 93 50 36
43 1 66 51 99
85 14 20 52 58
65 4... | 13.175038 | 58 | 0.614372 | 2,699 | 8,656 | 1.969618 | 0.050389 | 0.00301 | 0.001881 | 0.005643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.898514 | 0.362523 | 8,656 | 656 | 59 | 13.195122 | 0.064879 | 0.001155 | 0 | 0.003781 | 0 | 0 | 0.880352 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b20fee51212786d7944efdeb9db6472e8fd411b | 39 | py | Python | model_center/dataset/cpm2/__init__.py | zh-zheng/ModelCenter | 2b7fc148c48e41a2a024b32b8bd1f989d8b1f654 | [
"Apache-2.0"
] | 4 | 2022-03-24T04:26:01.000Z | 2022-03-30T13:08:08.000Z | model_center/dataset/cpm2/__init__.py | zh-zheng/ModelCenter | 2b7fc148c48e41a2a024b32b8bd1f989d8b1f654 | [
"Apache-2.0"
] | null | null | null | model_center/dataset/cpm2/__init__.py | zh-zheng/ModelCenter | 2b7fc148c48e41a2a024b32b8bd1f989d8b1f654 | [
"Apache-2.0"
] | null | null | null | from .cpm2_dataset import CPM2_Dataset
| 19.5 | 38 | 0.871795 | 6 | 39 | 5.333333 | 0.666667 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.102564 | 39 | 1 | 39 | 39 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
6b34d6e3ec97c9c735455d9f47b0549787d2be5c | 93 | py | Python | src/DateTime/dayOfYear.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | src/DateTime/dayOfYear.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | src/DateTime/dayOfYear.py | mikeludemann/helperFunctions_Python | 62b1e8279eee216f3603f55cf2d010d611e3be0e | [
"MIT"
] | null | null | null | import time
import datetime
def dayOfYear():
return datetime.date.today().strftime("%j") | 18.6 | 47 | 0.731183 | 12 | 93 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 93 | 5 | 47 | 18.6 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
6b358de55c66e336b812fe61b4be908a2460d154 | 37 | py | Python | riposte/printer/__init__.py | macdaliot/riposte | 4f51528e31636586c36218ed0993ba1f4b4a8ab8 | [
"MIT"
] | 481 | 2018-11-20T10:35:10.000Z | 2022-03-26T20:33:54.000Z | riposte/printer/__init__.py | macdaliot/riposte | 4f51528e31636586c36218ed0993ba1f4b4a8ab8 | [
"MIT"
] | 11 | 2019-07-03T21:01:46.000Z | 2021-05-22T10:00:49.000Z | riposte/printer/__init__.py | macdaliot/riposte | 4f51528e31636586c36218ed0993ba1f4b4a8ab8 | [
"MIT"
] | 53 | 2019-07-08T07:53:16.000Z | 2022-01-09T03:32:57.000Z | from .palette import Palette # noqa
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 1 | 37 | 37 | 0.933333 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
860a7634d44cc936168863b349ff992a4ba3178c | 258,361 | py | Python | instances/passenger_demand/pas-20210422-1717-int1/68.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/68.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int1/68.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 19174
passenger_arriving = (
(8, 6, 8, 5, 3, 3, 3, 1, 2, 1, 1, 0, 0, 5, 6, 2, 2, 3, 2, 3, 0, 2, 1, 0, 0, 0), # 0
(5, 6, 5, 7, 4, 4, 1, 2, 5, 3, 2, 0, 0, 6, 5, 5, 4, 3, 4, 2, 3, 1, 2, 2, 0, 0), # 1
(12, 7, 6, 6, 4, 0, 0, 3, 3, 1, 0, 0, 0, 8, 5, 6, 1, 8, 5, 4, 1, 0, 0, 0, 1, 0),... | 276.321925 | 494 | 0.769609 | 32,987 | 258,361 | 6.027405 | 0.216964 | 0.358504 | 0.344019 | 0.651826 | 0.375751 | 0.367527 | 0.364786 | 0.364117 | 0.363956 | 0.363956 | 0 | 0.849846 | 0.095734 | 258,361 | 934 | 495 | 276.617773 | 0.001194 | 0.015525 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8614c744b11f0edee2eb2e23b32682ab4a77e035 | 134 | py | Python | testcase/admin.py | Shivam-Maithil/PickPics | bd3d45c9266c54b0a13ee73ae148d9f5206aba7b | [
"MIT"
] | null | null | null | testcase/admin.py | Shivam-Maithil/PickPics | bd3d45c9266c54b0a13ee73ae148d9f5206aba7b | [
"MIT"
] | null | null | null | testcase/admin.py | Shivam-Maithil/PickPics | bd3d45c9266c54b0a13ee73ae148d9f5206aba7b | [
"MIT"
] | null | null | null | from django.contrib import admin
# from .models import Student, Course
# admin.site.register(Student)
# admin.site.register(Course)
| 19.142857 | 37 | 0.776119 | 18 | 134 | 5.777778 | 0.555556 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 134 | 6 | 38 | 22.333333 | 0.881356 | 0.686567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8625ff01b0cfb16f14c43940df3c90231cc67495 | 111 | py | Python | app/organizations/__init__.py | cpa-bayarea/pope-api | eb830273fef138c447250105c5c467938de5c818 | [
"MIT"
] | 2 | 2019-07-18T13:28:48.000Z | 2019-10-15T10:49:12.000Z | app/organizations/__init__.py | cpa-bayarea/pope-api | eb830273fef138c447250105c5c467938de5c818 | [
"MIT"
] | null | null | null | app/organizations/__init__.py | cpa-bayarea/pope-api | eb830273fef138c447250105c5c467938de5c818 | [
"MIT"
] | null | null | null | from flask import Blueprint
organizations = Blueprint('organizations', __name__)
from . import views # noqa
| 18.5 | 52 | 0.774775 | 12 | 111 | 6.833333 | 0.666667 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153153 | 111 | 5 | 53 | 22.2 | 0.87234 | 0.036036 | 0 | 0 | 0 | 0 | 0.12381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
865562708599609322bb19a5511381bf886ec4c8 | 13,218 | py | Python | tests/test_hdf5.py | BvB93/Nano-Utils | 32e3a9d8715aa59134edd2b10c6c807cd548d18b | [
"Apache-2.0"
] | null | null | null | tests/test_hdf5.py | BvB93/Nano-Utils | 32e3a9d8715aa59134edd2b10c6c807cd548d18b | [
"Apache-2.0"
] | 29 | 2020-06-02T19:32:48.000Z | 2022-03-28T22:56:00.000Z | tests/test_hdf5.py | BvB93/Nano-Utils | 32e3a9d8715aa59134edd2b10c6c807cd548d18b | [
"Apache-2.0"
] | 1 | 2020-08-16T20:55:31.000Z | 2020-08-16T20:55:31.000Z | from __future__ import annotations
import copy
import pickle
import weakref
from pathlib import Path
from typing import TYPE_CHECKING, Any
from collections.abc import Iterator, Callable, KeysView, ItemsView, ValuesView
import pytest
from assertionlib import assertion
from nanoutils import RecursiveKeysView, Recursive... | 37.551136 | 91 | 0.603949 | 1,633 | 13,218 | 4.789345 | 0.074709 | 0.042066 | 0.032221 | 0.059327 | 0.879555 | 0.825086 | 0.809104 | 0.763457 | 0.717044 | 0.682521 | 0 | 0.02213 | 0.234226 | 13,218 | 351 | 92 | 37.65812 | 0.750543 | 0 | 0 | 0.575439 | 0 | 0 | 0.087608 | 0 | 0 | 0 | 0 | 0 | 0.308772 | 1 | 0.175439 | false | 0 | 0.045614 | 0 | 0.231579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8676a6d5b61352fce01d3578ae28c80af6eae464 | 12,918 | py | Python | tests/api/v1_3_1/test_event_management.py | wastorga/dnacentersdk | 1a25aaef2eaa016fe54ebebbd7448919e0effa3f | [
"MIT"
] | null | null | null | tests/api/v1_3_1/test_event_management.py | wastorga/dnacentersdk | 1a25aaef2eaa016fe54ebebbd7448919e0effa3f | [
"MIT"
] | null | null | null | tests/api/v1_3_1/test_event_management.py | wastorga/dnacentersdk | 1a25aaef2eaa016fe54ebebbd7448919e0effa3f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""DNACenterAPI event_management API fixtures and tests.
Copyright (c) 2019 Cisco and/or its affiliates.
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 restrictio... | 27.840517 | 306 | 0.717758 | 1,602 | 12,918 | 5.447566 | 0.126092 | 0.113441 | 0.03896 | 0.045835 | 0.838662 | 0.830526 | 0.804858 | 0.758451 | 0.717429 | 0.600092 | 0 | 0.013423 | 0.204134 | 12,918 | 463 | 307 | 27.900648 | 0.835425 | 0.088946 | 0 | 0.606509 | 0 | 0 | 0.097092 | 0.026526 | 0 | 0 | 0 | 0 | 0.059172 | 1 | 0.147929 | false | 0 | 0.008876 | 0 | 0.245562 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
869e0e1998fb65fa6a995aae81472c3a54ffc2e8 | 396 | py | Python | address_generation.py | Hoclor/Blockchain-Investigation | cf2d0c3698dc6550bc42079c30075cfa46682f53 | [
"MIT"
] | null | null | null | address_generation.py | Hoclor/Blockchain-Investigation | cf2d0c3698dc6550bc42079c30075cfa46682f53 | [
"MIT"
] | null | null | null | address_generation.py | Hoclor/Blockchain-Investigation | cf2d0c3698dc6550bc42079c30075cfa46682f53 | [
"MIT"
] | null | null | null | import blockcypher
address = blockcypher.generate_new_address(coin_symbol='btc-testnet', api_key='api_key')
print(address)
# address: mvcM9NV5hesnSUNpZGZ9Pyt3PK8xDFmCTp
# private: a62563d8a5a01a725c511ea1c7d3b6b03e4469c004228baef97bccc226c47cde
# public: 0388b0bbbfd432f0a2b752952cbef2c83a3efd48cf6d1f99a73d789... | 44 | 89 | 0.861111 | 25 | 396 | 13.44 | 0.76 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236915 | 0.083333 | 396 | 9 | 90 | 44 | 0.688705 | 0.643939 | 0 | 0 | 1 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
86ba165e0db821187aac372a41ec24cc50d7a662 | 9,232 | py | Python | python/subway_network.py | UPGo-McGill/nyc-bikeshare | e3fe2573a15f894885af93d39909ff458ccd3e0a | [
"MIT"
] | 2 | 2019-07-17T14:27:22.000Z | 2019-11-20T02:28:22.000Z | python/subway_network.py | UPGo-McGill/nyc-bikeshare | e3fe2573a15f894885af93d39909ff458ccd3e0a | [
"MIT"
] | null | null | null | python/subway_network.py | UPGo-McGill/nyc-bikeshare | e3fe2573a15f894885af93d39909ff458ccd3e0a | [
"MIT"
] | null | null | null | import csv
import os
import sys
import networkx as nx
import osmnx as ox
import argparse
def parseLong(input):
clean = input.replace('c', '')
clean = clean.replace('(', '')
long = float(clean)
return long
def parseLat(input):
clean = input.replace(')', '')
clean = clean.replace(' '... | 45.034146 | 123 | 0.594779 | 1,132 | 9,232 | 4.686396 | 0.128975 | 0.03393 | 0.05655 | 0.094251 | 0.886711 | 0.88181 | 0.868615 | 0.843732 | 0.843732 | 0.843732 | 0 | 0.007764 | 0.260615 | 9,232 | 204 | 124 | 45.254902 | 0.769411 | 0.077881 | 0 | 0.697143 | 0 | 0 | 0.264682 | 0.052724 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.034286 | 0 | 0.074286 | 0.171429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8123a9df0d0e0fd04f99533caa9d67dc3afea6e2 | 35 | py | Python | {{cookiecutter.project_slug}}/app/db/base.py | maximovd/fastapi-template | 57bf6d14adcd04168e2989454cb1926c03ec4568 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/db/base.py | maximovd/fastapi-template | 57bf6d14adcd04168e2989454cb1926c03ec4568 | [
"MIT"
] | null | null | null | {{cookiecutter.project_slug}}/app/db/base.py | maximovd/fastapi-template | 57bf6d14adcd04168e2989454cb1926c03ec4568 | [
"MIT"
] | null | null | null | from app.db.base_class import Base
| 17.5 | 34 | 0.828571 | 7 | 35 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8139e6e5f5305a27d79aa0d9e3f5b7186d6f6b67 | 28 | py | Python | {{ cookiecutter.repo_name }}/{{ cookiecutter.python_module_name }}/__init__.py | knaaptime/md-manuscript | 10018b1f188279014299a40661ec5d117581ec10 | [
"MIT"
] | 21 | 2020-01-24T01:07:45.000Z | 2021-11-08T11:46:37.000Z | {{ cookiecutter.repo_name }}/{{ cookiecutter.python_module_name }}/__init__.py | knaaptime/md-manuscript | 10018b1f188279014299a40661ec5d117581ec10 | [
"MIT"
] | 5 | 2020-01-24T00:44:38.000Z | 2020-03-31T19:08:53.000Z | {{ cookiecutter.repo_name }}/{{ cookiecutter.python_module_name }}/__init__.py | knaaptime/md-manuscript | 10018b1f188279014299a40661ec5d117581ec10 | [
"MIT"
] | 7 | 2020-01-24T01:07:52.000Z | 2021-12-01T00:05:21.000Z | from .util import save_table | 28 | 28 | 0.857143 | 5 | 28 | 4.6 | 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 | 1 | 0 | 0 | 6 |
d4b612d63309218ab1cd02a4f44a489772a75e3b | 54,516 | py | Python | wagtail/admin/tests/test_compare.py | Nawarrr/wagtail | 4db71de5a2af19086026605be8fcb92c4be623aa | [
"BSD-3-Clause"
] | null | null | null | wagtail/admin/tests/test_compare.py | Nawarrr/wagtail | 4db71de5a2af19086026605be8fcb92c4be623aa | [
"BSD-3-Clause"
] | null | null | null | wagtail/admin/tests/test_compare.py | Nawarrr/wagtail | 4db71de5a2af19086026605be8fcb92c4be623aa | [
"BSD-3-Clause"
] | null | null | null | from functools import partial
from django.test import TestCase
from django.utils.safestring import SafeString
from wagtail.admin import compare
from wagtail.core.blocks import StreamValue
from wagtail.images import get_image_model
from wagtail.images.tests.utils import get_test_image_file
from wagtail.tests.testapp.m... | 35.631373 | 279 | 0.541768 | 4,793 | 54,516 | 5.958481 | 0.061757 | 0.04517 | 0.027312 | 0.050772 | 0.880738 | 0.856508 | 0.842817 | 0.81568 | 0.795896 | 0.768479 | 0 | 0.00505 | 0.353438 | 54,516 | 1,529 | 280 | 35.654676 | 0.80518 | 0.033275 | 0 | 0.695224 | 0 | 0.018954 | 0.156632 | 0.07033 | 0 | 0 | 0 | 0 | 0.153904 | 1 | 0.040182 | false | 0 | 0.006065 | 0 | 0.067475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4cdc4e37e9f6f5727a7689119f3b9728576416f | 293 | py | Python | fifty_off/api/serializers/homepage/homepage_serializer.py | DanielSalazar1/50off | e39c8709ea8ac81b39c02060517353ed03b60074 | [
"BSD-3-Clause"
] | null | null | null | fifty_off/api/serializers/homepage/homepage_serializer.py | DanielSalazar1/50off | e39c8709ea8ac81b39c02060517353ed03b60074 | [
"BSD-3-Clause"
] | 10 | 2020-06-05T20:15:38.000Z | 2022-01-13T01:58:11.000Z | fifty_off/api/serializers/homepage/homepage_serializer.py | DanielSalazar1/50off | e39c8709ea8ac81b39c02060517353ed03b60074 | [
"BSD-3-Clause"
] | null | null | null | from rest_framework import serializers
from django.contrib.auth.models import User
class UserLocationSerializer(serializers.Serializer):
country = serializers.CharField(required=False)
province = serializers.CharField(required=False)
city = serializers.CharField(required=False)
| 32.555556 | 53 | 0.812287 | 31 | 293 | 7.645161 | 0.612903 | 0.253165 | 0.35443 | 0.417722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112628 | 293 | 8 | 54 | 36.625 | 0.911538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be04a11f257b61d75a7d8509b6d6c1c6c119a530 | 15,367 | py | Python | tests/pfcwd_test.py | phiea/sonic-utilities | f5efe8939530ba9767bcd92e5a688b2275c5f151 | [
"Apache-2.0"
] | null | null | null | tests/pfcwd_test.py | phiea/sonic-utilities | f5efe8939530ba9767bcd92e5a688b2275c5f151 | [
"Apache-2.0"
] | null | null | null | tests/pfcwd_test.py | phiea/sonic-utilities | f5efe8939530ba9767bcd92e5a688b2275c5f151 | [
"Apache-2.0"
] | null | null | null | import importlib
import os
import sys
from unittest.mock import patch
from click.testing import CliRunner
from utilities_common.db import Db
from .pfcwd_input.pfcwd_test_vectors import *
test_path = os.path.dirname(os.path.abspath(__file__))
modules_path = os.path.dirname(test_path)
scripts_path = os.path.join(modu... | 30.734 | 88 | 0.562764 | 1,686 | 15,367 | 4.946026 | 0.090154 | 0.083463 | 0.067154 | 0.091018 | 0.854179 | 0.819403 | 0.77971 | 0.747452 | 0.703442 | 0.686773 | 0 | 0.019578 | 0.325242 | 15,367 | 499 | 89 | 30.795591 | 0.784647 | 0.061756 | 0 | 0.608911 | 0 | 0 | 0.104217 | 0.022511 | 0 | 0 | 0 | 0 | 0.138614 | 1 | 0.061881 | false | 0.004951 | 0.054455 | 0 | 0.121287 | 0.094059 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
be085a406e2619141a9e00a1b84799b671f2efeb | 124 | py | Python | src/deepctr_torch/__init__.py | WEIFZH/IPscenario | 7dff3916ea5976473c8148418a05653d9a4d2e2a | [
"MIT"
] | 3 | 2021-03-02T07:17:16.000Z | 2021-03-12T08:09:16.000Z | src/deepctr_torch/__init__.py | WEIFZH/IPscenario | 7dff3916ea5976473c8148418a05653d9a4d2e2a | [
"MIT"
] | null | null | null | src/deepctr_torch/__init__.py | WEIFZH/IPscenario | 7dff3916ea5976473c8148418a05653d9a4d2e2a | [
"MIT"
] | null | null | null | from . import layers
from . import models
from .utils import check_version
__version__ = '0.2.2'
check_version(__version__) | 20.666667 | 32 | 0.790323 | 18 | 124 | 4.888889 | 0.5 | 0.227273 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.129032 | 124 | 6 | 33 | 20.666667 | 0.787037 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
be0d355f96f612fdae91c7ebb3836ccd73590f13 | 2,586 | py | Python | split.py | elias-ela/nlp | abf738bb54c11ab50324411da59b4f90f0a65feb | [
"MIT"
] | null | null | null | split.py | elias-ela/nlp | abf738bb54c11ab50324411da59b4f90f0a65feb | [
"MIT"
] | null | null | null | split.py | elias-ela/nlp | abf738bb54c11ab50324411da59b4f90f0a65feb | [
"MIT"
] | null | null | null | def file_to_array(file_path):
with open(file_path, 'r') as reader:
return reader.readlines()
def array_to_file(array_object, filename):
with open(filename, 'w') as writer:
writer.writelines(array_object)
def split(first_file, second_file):
from sklearn.model_selection import train_test_s... | 41.047619 | 111 | 0.66628 | 402 | 2,586 | 3.975124 | 0.114428 | 0.095745 | 0.100125 | 0.12015 | 0.944931 | 0.939299 | 0.939299 | 0.857947 | 0.857947 | 0.857947 | 0 | 0.022533 | 0.141918 | 2,586 | 62 | 112 | 41.709677 | 0.697612 | 0.601701 | 0 | 0 | 0 | 0 | 0.153693 | 0.143713 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.105263 | 0 | 0.368421 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07970ee3e199576b36c3c9ffcc052afda2cb023f | 1,509 | py | Python | tests/test_mlpipeline_analyzer/test_visualizer/test_pipelineDiagram.py | JasmineBhalla17/ml-pipeline-analyzer | 9beb94925b77ba4d50007d8f6fcde05d086bb361 | [
"MIT"
] | 5 | 2022-02-14T19:27:33.000Z | 2022-03-29T01:38:45.000Z | tests/test_mlpipeline_analyzer/test_visualizer/test_pipelineDiagram.py | JasmineBhalla17/ml-pipeline-analyzer | 9beb94925b77ba4d50007d8f6fcde05d086bb361 | [
"MIT"
] | null | null | null | tests/test_mlpipeline_analyzer/test_visualizer/test_pipelineDiagram.py | JasmineBhalla17/ml-pipeline-analyzer | 9beb94925b77ba4d50007d8f6fcde05d086bb361 | [
"MIT"
] | 3 | 2022-02-19T20:05:52.000Z | 2022-03-08T09:31:36.000Z | import diagrams
import graphviz
import joblib
from mlpipeline_analyzer.visualizer.PipelineDiagram import PipelineDiagram
class TestPipelineDiagram:
def test_show_sklearn(self):
sklearn_pipe = joblib.load('examples/sample_models/ml_pipeline.pkl')
diagram = PipelineDiagram(sklearn_pipe)
with... | 48.677419 | 128 | 0.728297 | 173 | 1,509 | 6.092486 | 0.225434 | 0.083491 | 0.041746 | 0.083491 | 0.864326 | 0.85389 | 0.85389 | 0.85389 | 0.85389 | 0.85389 | 0 | 0 | 0.168986 | 1,509 | 30 | 129 | 50.3 | 0.84051 | 0 | 0 | 0.64 | 0 | 0 | 0.200133 | 0.10603 | 0 | 0 | 0 | 0 | 0.16 | 1 | 0.16 | false | 0 | 0.16 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07a9c195305159bea5e9ae3142ab4c28b851d3d6 | 8,159 | py | Python | indra/sources/gnbr/api.py | johnbachman/belpy | 1f8052c294fa05b3cd471c544b725f6f0adf9869 | [
"BSD-2-Clause"
] | 136 | 2016-02-11T22:06:37.000Z | 2022-03-31T17:26:20.000Z | indra/sources/gnbr/api.py | johnbachman/belpy | 1f8052c294fa05b3cd471c544b725f6f0adf9869 | [
"BSD-2-Clause"
] | 748 | 2016-02-03T16:27:56.000Z | 2022-03-09T14:27:54.000Z | indra/sources/gnbr/api.py | johnbachman/belpy | 1f8052c294fa05b3cd471c544b725f6f0adf9869 | [
"BSD-2-Clause"
] | 56 | 2015-08-28T14:03:44.000Z | 2022-02-04T06:15:55.000Z | __all__ = ['process_gene_gene', 'process_gene_gene_from_web',
'process_gene_disease', 'process_gene_disease_from_web',
'process_chemical_disease', 'process_chemical_disease_from_web',
'process_chemical_gene', 'process_chemical_gene_from_web',
'process_from_files', 'process_fr... | 32.636 | 80 | 0.647996 | 993 | 8,159 | 5.143001 | 0.109768 | 0.101821 | 0.033288 | 0.04112 | 0.887214 | 0.841003 | 0.831995 | 0.83082 | 0.813198 | 0.794791 | 0 | 0.008263 | 0.273195 | 8,159 | 250 | 81 | 32.636 | 0.852277 | 0.507047 | 0 | 0.263158 | 0 | 0 | 0.179223 | 0.090347 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175439 | false | 0 | 0.052632 | 0 | 0.403509 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
07b659263e785e3f0a72ea10b12facf0ec038f7b | 37 | py | Python | gnenv/__init__.py | sovaa/gnenv | 26b9732afecdc1da825b0ae0bbda7105751f44f3 | [
"MIT"
] | null | null | null | gnenv/__init__.py | sovaa/gnenv | 26b9732afecdc1da825b0ae0bbda7105751f44f3 | [
"MIT"
] | null | null | null | gnenv/__init__.py | sovaa/gnenv | 26b9732afecdc1da825b0ae0bbda7105751f44f3 | [
"MIT"
] | null | null | null | from gnenv.environ import create_env
| 18.5 | 36 | 0.864865 | 6 | 37 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
58062fcb5a3a649dd3431219e63a1eb7efb3b551 | 158 | py | Python | rlattack/bench/__init__.py | EmeseThamo/rl-attack | 2bb72aed3c684d2f88eec84df9b82b0099de8b25 | [
"MIT"
] | null | null | null | rlattack/bench/__init__.py | EmeseThamo/rl-attack | 2bb72aed3c684d2f88eec84df9b82b0099de8b25 | [
"MIT"
] | null | null | null | rlattack/bench/__init__.py | EmeseThamo/rl-attack | 2bb72aed3c684d2f88eec84df9b82b0099de8b25 | [
"MIT"
] | null | null | null | # import * means import everything from the benchmarks.py and monitor.py files.
from rlattack.bench.benchmarks import *
from rlattack.bench.monitor import *
| 31.6 | 79 | 0.797468 | 22 | 158 | 5.727273 | 0.545455 | 0.190476 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132911 | 158 | 4 | 80 | 39.5 | 0.919708 | 0.487342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ed2aac63dc3ea9f630cdce47b8e1383a0045026a | 54,720 | py | Python | gcp_service_enum/gcp_service_enum.py | rmusser01/cloud-service-enum | 801f4174820efe365e7cbaee433048bb1c7d56c2 | [
"Apache-2.0"
] | null | null | null | gcp_service_enum/gcp_service_enum.py | rmusser01/cloud-service-enum | 801f4174820efe365e7cbaee433048bb1c7d56c2 | [
"Apache-2.0"
] | null | null | null | gcp_service_enum/gcp_service_enum.py | rmusser01/cloud-service-enum | 801f4174820efe365e7cbaee433048bb1c7d56c2 | [
"Apache-2.0"
] | 1 | 2021-09-29T00:33:24.000Z | 2021-09-29T00:33:24.000Z | import requests
import google.oauth2.credentials
from googleapiclient.discovery import build
import pprint
from datetime import datetime
import json
import argparse
from argparse import RawTextHelpFormatter
from termcolor import colored
import sys
import os
parser = argparse.ArgumentParser(formatter_class=RawTextHelpF... | 237.913043 | 31,820 | 0.696985 | 7,076 | 54,720 | 5.377332 | 0.089881 | 0.065913 | 0.098397 | 0.229041 | 0.76247 | 0.74431 | 0.727017 | 0.657162 | 0.570355 | 0.429198 | 0 | 0.011286 | 0.072204 | 54,720 | 230 | 31,821 | 237.913043 | 0.738187 | 0.013121 | 0 | 0.385475 | 0 | 0.022346 | 0.704006 | 0.093766 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005587 | 0.061453 | 0 | 0.061453 | 0.134078 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ed6b265f5f79f57e727b5e0caba366774949fbfb | 88 | py | Python | monoport/lib/modeling/normalizers/__init__.py | ArshdeepSahni/MonoPort | a67fdc02b4fb45b3cc187aa4ae34053574d0383c | [
"Unlicense"
] | 1 | 2021-01-15T09:42:29.000Z | 2021-01-15T09:42:29.000Z | monoport/lib/modeling/normalizers/__init__.py | ArshdeepSahni/MonoPort | a67fdc02b4fb45b3cc187aa4ae34053574d0383c | [
"Unlicense"
] | null | null | null | monoport/lib/modeling/normalizers/__init__.py | ArshdeepSahni/MonoPort | a67fdc02b4fb45b3cc187aa4ae34053574d0383c | [
"Unlicense"
] | null | null | null | from .DepthNormalizer import DepthNormalizer
from .DepthNormalizer import PIFuNomalizer
| 29.333333 | 44 | 0.886364 | 8 | 88 | 9.75 | 0.5 | 0.487179 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 45 | 44 | 0.975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
9c06e7debb6a6cd84db46f952abfb79ba2dcd59a | 50,368 | py | Python | tests/unit/states/test_mount.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/unit/states/test_mount.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/unit/states/test_mount.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | """
:codeauthor: Jayesh Kariya <jayeshk@saltstack.com>
"""
import os
import salt.states.mount as mount
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.mock import MagicMock, patch
from tests.support.unit import TestCase
class MountTestCase(TestCase, LoaderModuleMockMixin):
"""
... | 38.894208 | 106 | 0.455368 | 4,543 | 50,368 | 4.800572 | 0.05547 | 0.045394 | 0.070613 | 0.054473 | 0.883809 | 0.852217 | 0.830529 | 0.792654 | 0.777477 | 0.747535 | 0 | 0.010059 | 0.417726 | 50,368 | 1,294 | 107 | 38.924266 | 0.733565 | 0.022892 | 0 | 0.67072 | 0 | 0 | 0.183432 | 0.008794 | 0 | 0 | 0 | 0 | 0.088868 | 1 | 0.03087 | false | 0.008419 | 0.004677 | 0.000935 | 0.037418 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c4d66905d52c2edddb52239ead1e09e4ea26ce2 | 2,849 | py | Python | src/genie/libs/parser/iosxr/tests/ShowRibTables/cli/equal/golden_output1_expected.py | danielgraziano/genieparser | 74d5e1ded9794561af1ac3284307c58365617673 | [
"Apache-2.0"
] | 4 | 2020-08-20T12:23:12.000Z | 2021-06-15T14:10:02.000Z | src/genie/libs/parser/iosxr/tests/ShowRibTables/cli/equal/golden_output1_expected.py | dalwar23/genieparser | a9df45d3ee23f107bfb55915068e90782f92fc99 | [
"Apache-2.0"
] | 119 | 2020-07-10T22:37:51.000Z | 2021-03-18T02:40:05.000Z | src/genie/libs/parser/iosxr/tests/ShowRibTables/cli/equal/golden_output1_expected.py | dalwar23/genieparser | a9df45d3ee23f107bfb55915068e90782f92fc99 | [
"Apache-2.0"
] | 2 | 2020-07-10T15:33:42.000Z | 2021-04-05T09:48:56.000Z | expected_output = {
'table_id': {
'0xe0000000': {
'forward_referenced': 'No',
'prefix_count': 12,
'prefix_limit': 10000000,
'prefix_limit_notified': 'No... | 48.288136 | 67 | 0.288171 | 146 | 2,849 | 5.280822 | 0.253425 | 0.114137 | 0.098573 | 0.129702 | 0.808042 | 0.702983 | 0.702983 | 0.702983 | 0.702983 | 0.562905 | 0 | 0.09707 | 0.616708 | 2,849 | 58 | 68 | 49.12069 | 0.608974 | 0 | 0 | 0.553571 | 0 | 0 | 0.269568 | 0.064584 | 0 | 0 | 0.02808 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c4ed83d0ef47ebf36b77fc4f5bb5caf16c066f6 | 141 | py | Python | api/core/admin.py | mila411/django-nuxt-ssr | a626b055e1040c6df37cd256ae99421f14d9982a | [
"MIT"
] | 5 | 2020-07-23T17:56:33.000Z | 2022-02-18T07:15:30.000Z | api/core/admin.py | mila411/django-nuxt-ssr | a626b055e1040c6df37cd256ae99421f14d9982a | [
"MIT"
] | 4 | 2021-02-05T15:39:43.000Z | 2022-01-22T10:17:00.000Z | api/core/admin.py | mila411/django-nuxt-ssr | a626b055e1040c6df37cd256ae99421f14d9982a | [
"MIT"
] | 1 | 2020-08-28T15:46:17.000Z | 2020-08-28T15:46:17.000Z | from django.contrib import admin
from .models import WaterPlants # 追加
# Register your models here.
admin.site.register(WaterPlants) # 追加
| 20.142857 | 38 | 0.77305 | 19 | 141 | 5.736842 | 0.631579 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156028 | 141 | 6 | 39 | 23.5 | 0.915966 | 0.22695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92c19525ec1e79f1438272b10bd01d6baf0aacbc | 210 | py | Python | tests/backend/test_backend.py | ytakashina/optpanda | b228c5e355eef178f8d384cba74eea0c90db2fb1 | [
"MIT"
] | null | null | null | tests/backend/test_backend.py | ytakashina/optpanda | b228c5e355eef178f8d384cba74eea0c90db2fb1 | [
"MIT"
] | 2 | 2020-11-04T15:52:54.000Z | 2020-11-07T14:11:18.000Z | tests/backend/test_backend.py | ytakashina/optpanda | b228c5e355eef178f8d384cba74eea0c90db2fb1 | [
"MIT"
] | null | null | null | import optpanda.backend as B
from optpanda import set_backend
def test_get_backend():
assert B.backend() == 'pulp'
def test_set_backend():
set_backend('ortools')
assert B.backend() == 'ortools'
| 17.5 | 35 | 0.704762 | 29 | 210 | 4.896552 | 0.448276 | 0.211268 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17619 | 210 | 11 | 36 | 19.090909 | 0.820809 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | true | 0 | 0.285714 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
92d9078fcf033219aacadf870754f6c1f327b73e | 92 | py | Python | PRModule/__init__.py | sungyun98/PhaseRetrieval | bc855b0c28ed8f5a7f0a23330ce08bfb1a7a6070 | [
"BSD-2-Clause"
] | 1 | 2021-12-26T01:39:12.000Z | 2021-12-26T01:39:12.000Z | PRModule/__init__.py | sungyun98/PhaseRetrieval | bc855b0c28ed8f5a7f0a23330ce08bfb1a7a6070 | [
"BSD-2-Clause"
] | null | null | null | PRModule/__init__.py | sungyun98/PhaseRetrieval | bc855b0c28ed8f5a7f0a23330ce08bfb1a7a6070 | [
"BSD-2-Clause"
] | null | null | null | # PRModule initializer
from .func import *
from .phaseretrieval import *
from .eval import * | 23 | 29 | 0.771739 | 11 | 92 | 6.454545 | 0.636364 | 0.28169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 4 | 30 | 23 | 0.910256 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92e8e3fd0c4e927cae61711f4e4ec4de5572e7c7 | 239 | py | Python | slackers/routing.py | sburns/djangobot-example | 697c74dd8220b88c1b44a5ca97fa40357a710331 | [
"MIT"
] | 2 | 2016-06-24T13:44:09.000Z | 2017-03-03T12:47:47.000Z | slackers/routing.py | djangobot/djangobot-example | 697c74dd8220b88c1b44a5ca97fa40357a710331 | [
"MIT"
] | null | null | null | slackers/routing.py | djangobot/djangobot-example | 697c74dd8220b88c1b44a5ca97fa40357a710331 | [
"MIT"
] | null | null | null | channel_routing = {
'websocket.receive': 'chat.consumers.ws_message',
'websocket.connect': 'chat.consumers.ws_add',
'websocket.disconnect': 'chat.consumers.ws_disconnect',
'slack.message': 'chat.consumers.slack_message',
}
| 34.142857 | 59 | 0.719665 | 26 | 239 | 6.423077 | 0.461538 | 0.311377 | 0.269461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117155 | 239 | 6 | 60 | 39.833333 | 0.791469 | 0 | 0 | 0 | 0 | 0 | 0.707113 | 0.426778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13506e4692f1c90a31a22d312c639b57560c441c | 153 | py | Python | URI onJudge/1020.py | murillotlopes/DSM-Python | 2822b9b1b988936ab098c7052180ee3c3d7dd735 | [
"MIT"
] | null | null | null | URI onJudge/1020.py | murillotlopes/DSM-Python | 2822b9b1b988936ab098c7052180ee3c3d7dd735 | [
"MIT"
] | null | null | null | URI onJudge/1020.py | murillotlopes/DSM-Python | 2822b9b1b988936ab098c7052180ee3c3d7dd735 | [
"MIT"
] | null | null | null | # Idade em Dias
dia=int(input())
print('{} ano(s)'.format(dia//365))
print('{} mes(es)'.format((dia%365)//30))
print('{} dia(s)'.format((dia%365)%30))
| 19.125 | 41 | 0.588235 | 26 | 153 | 3.461538 | 0.538462 | 0.3 | 0.4 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092857 | 0.084967 | 153 | 7 | 42 | 21.857143 | 0.55 | 0.084967 | 0 | 0 | 0 | 0 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
13877ec0070a84eac75ea9b467d3bd2c12fc7c65 | 14,704 | py | Python | networkx/algorithms/bipartite/tests/test_project.py | FrancescoBonacina/networkx | a73a610e0bbd6e13b183b15ca47b221df5f8e26a | [
"BSD-3-Clause"
] | 10 | 2020-04-29T10:38:03.000Z | 2022-03-16T03:30:28.000Z | networkx/algorithms/bipartite/tests/test_project.py | FrancescoBonacina/networkx | a73a610e0bbd6e13b183b15ca47b221df5f8e26a | [
"BSD-3-Clause"
] | 1 | 2019-12-19T16:49:00.000Z | 2019-12-20T06:22:46.000Z | networkx/algorithms/bipartite/tests/test_project.py | FrancescoBonacina/networkx | a73a610e0bbd6e13b183b15ca47b221df5f8e26a | [
"BSD-3-Clause"
] | 2 | 2020-02-13T10:33:34.000Z | 2020-08-09T07:59:26.000Z | import networkx as nx
from networkx.algorithms import bipartite
from networkx.testing import assert_edges_equal, assert_nodes_equal
class TestBipartiteProject:
def test_path_projected_graph(self):
G = nx.path_graph(4)
P = bipartite.projected_graph(G, [1, 3])
assert_nodes_equal(list(P), [1... | 40.395604 | 104 | 0.495103 | 2,078 | 14,704 | 3.33205 | 0.053898 | 0.07539 | 0.070768 | 0.11554 | 0.842288 | 0.788706 | 0.758232 | 0.743501 | 0.736713 | 0.728047 | 0 | 0.04199 | 0.306787 | 14,704 | 363 | 105 | 40.506887 | 0.6373 | 0.010813 | 0 | 0.574924 | 0 | 0 | 0.038993 | 0 | 0 | 0 | 0 | 0 | 0.229358 | 1 | 0.06422 | false | 0 | 0.009174 | 0.003058 | 0.088685 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1395b21090eb879b3bac08f1927a700e46d58f87 | 31,927 | py | Python | src/backend/tests/partaj/core/test_api_referrallite.py | MTES-MCT/partaj | 0025c17a96d9212430d18ec36f6a2474c4609738 | [
"MIT"
] | 2 | 2020-10-15T11:28:26.000Z | 2021-06-25T15:24:33.000Z | src/backend/tests/partaj/core/test_api_referrallite.py | MTES-MCT/partaj | 0025c17a96d9212430d18ec36f6a2474c4609738 | [
"MIT"
] | 7 | 2020-10-01T14:49:51.000Z | 2022-01-24T09:44:10.000Z | src/backend/tests/partaj/core/test_api_referrallite.py | MTES-MCT/partaj | 0025c17a96d9212430d18ec36f6a2474c4609738 | [
"MIT"
] | 3 | 2020-03-18T15:53:26.000Z | 2021-09-16T14:39:27.000Z | import datetime
import uuid
from datetime import timedelta
from time import perf_counter
from unittest import mock
from django.test import TestCase
import arrow
from rest_framework.authtoken.models import Token
from partaj.core import factories, models
class ReferralLiteApiTestCase(TestCase):
"""
Test API ... | 40.261034 | 95 | 0.625301 | 3,356 | 31,927 | 5.818832 | 0.07062 | 0.053001 | 0.073023 | 0.049775 | 0.875819 | 0.859381 | 0.836338 | 0.826864 | 0.804076 | 0.777909 | 0 | 0.01064 | 0.281705 | 31,927 | 792 | 96 | 40.311869 | 0.840884 | 0.154759 | 0 | 0.682594 | 0 | 0 | 0.082412 | 0.060941 | 0 | 0 | 0 | 0 | 0.124573 | 1 | 0.044369 | false | 0 | 0.015358 | 0 | 0.061433 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
13d740072a478e90bd4442cebbdf41cd9915271d | 4,613 | py | Python | qcelemental/tests/test_molparse_to_string.py | mussard/QCElemental | 4ae662b02cd099a5bbadf7e2c03ef2a39b8eee1a | [
"BSD-3-Clause"
] | null | null | null | qcelemental/tests/test_molparse_to_string.py | mussard/QCElemental | 4ae662b02cd099a5bbadf7e2c03ef2a39b8eee1a | [
"BSD-3-Clause"
] | null | null | null | qcelemental/tests/test_molparse_to_string.py | mussard/QCElemental | 4ae662b02cd099a5bbadf7e2c03ef2a39b8eee1a | [
"BSD-3-Clause"
] | null | null | null | import pytest
import qcelemental
from qcelemental.testing import compare
_results = {
"subject1": """
3 au
Co 0 0 0
H 2 0 0
h_OTher -2 0 0
""",
"ans1_au": """3 au
CoH2
Co 0.000000000000 0.000000000000 0.000000000000
H 2.000000000000 0.000000000000 0.00000000000... | 35.75969 | 112 | 0.559072 | 509 | 4,613 | 4.960707 | 0.1611 | 0.314059 | 0.405941 | 0.360396 | 0.691485 | 0.680792 | 0.611881 | 0.569505 | 0.476832 | 0.445941 | 0 | 0.397041 | 0.29677 | 4,613 | 128 | 113 | 36.039063 | 0.381319 | 0.008888 | 0 | 0.46729 | 0 | 0 | 0.735333 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 1 | 0.018692 | false | 0 | 0.037383 | 0 | 0.056075 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b92a0d5f58ac32d5ea96dcf1d827ab0ccff3c7d2 | 5,022 | py | Python | figuras/PycharmKayStatisticalReport/problem_8_28_an.py | bor9/estudiando_el_kay | 6e07908b8b0b5a5166dadce30001e6100e8304c3 | [
"MIT"
] | null | null | null | figuras/PycharmKayStatisticalReport/problem_8_28_an.py | bor9/estudiando_el_kay | 6e07908b8b0b5a5166dadce30001e6100e8304c3 | [
"MIT"
] | null | null | null | figuras/PycharmKayStatisticalReport/problem_8_28_an.py | bor9/estudiando_el_kay | 6e07908b8b0b5a5166dadce30001e6100e8304c3 | [
"MIT"
] | 1 | 2021-11-02T05:27:27.000Z | 2021-11-02T05:27:27.000Z | import matplotlib.pyplot as plt
import numpy as np
from matplotlib import rc
__author__ = 'ernesto'
# if use latex or mathtext
rc('text', usetex=False)
rc('mathtext', fontset='cm')
# construccion de a[m]=s*m+t(recta)
a0 = 1
ap = 0.2
p = 5
t = a0
s = (ap - t) / p
m = np.arange(p)
a = s * m + t
### Respuesta la imp... | 36.656934 | 100 | 0.662286 | 837 | 5,022 | 3.894863 | 0.151732 | 0.034356 | 0.03681 | 0.066258 | 0.81227 | 0.81227 | 0.800307 | 0.788957 | 0.788957 | 0.788957 | 0 | 0.045796 | 0.126045 | 5,022 | 137 | 101 | 36.656934 | 0.69697 | 0.020709 | 0 | 0.458716 | 0 | 0 | 0.092408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027523 | 0 | 0.027523 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b930651a0511925a09221734f5cd2c23e085c6c5 | 15,821 | py | Python | pybind/slxos/v17r_2_00/system_monitor/tm/discard_packet/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/system_monitor/tm/discard_packet/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/system_monitor/tm/discard_packet/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 81.974093 | 736 | 0.732255 | 2,177 | 15,821 | 5.059256 | 0.090032 | 0.11331 | 0.10759 | 0.04576 | 0.85237 | 0.793989 | 0.775195 | 0.76203 | 0.743145 | 0.743145 | 0 | 0.01269 | 0.133304 | 15,821 | 192 | 737 | 82.401042 | 0.790548 | 0.120473 | 0 | 0.40625 | 0 | 0.023438 | 0.385214 | 0.170108 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.289063 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b93df3665338f7ab20e5fa6a49842f6fabddde77 | 219 | py | Python | bugtests/test110.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test110.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test110.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | """
Check "in" on a dict.
"""
import support
if 1 in {2:2, 3:3}:
raise support.TestError("in keyword an a dict should work")
if 2 not in {2:2, 3:3}:
raise support.TestError("in keyword an a dict should work")
| 19.909091 | 63 | 0.648402 | 42 | 219 | 3.380952 | 0.428571 | 0.105634 | 0.056338 | 0.070423 | 0.746479 | 0.746479 | 0.746479 | 0.746479 | 0.746479 | 0.746479 | 0 | 0.057803 | 0.210046 | 219 | 10 | 64 | 21.9 | 0.763006 | 0.09589 | 0 | 0.4 | 0 | 0 | 0.336842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b951fcc065b1b5bf07407a9a59e0dbab1218f538 | 115 | py | Python | puzzle/plugins/vcf/mixins/__init__.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 24 | 2015-10-15T16:29:58.000Z | 2020-12-08T22:14:13.000Z | puzzle/plugins/vcf/mixins/__init__.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 212 | 2015-10-08T14:28:36.000Z | 2020-04-29T22:44:10.000Z | puzzle/plugins/vcf/mixins/__init__.py | robinandeer/puzzle | 9476f05b416d3a5135d25492cb31411fdf831c58 | [
"MIT"
] | 11 | 2015-10-08T09:26:46.000Z | 2018-02-02T16:45:07.000Z | from .variant_extras import VariantExtras
from .case_mixin import CaseMixin
from .variant_mixin import VariantMixin | 38.333333 | 41 | 0.878261 | 15 | 115 | 6.533333 | 0.6 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095652 | 115 | 3 | 42 | 38.333333 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9588ee1d01956d041c69ffb42246c45dc66abba | 189 | py | Python | d3rlpy/online/utility.py | meokz/d3rlpy | 40504e2d8b424547558ab82786c523e8f4626a82 | [
"MIT"
] | 2 | 2021-04-21T08:19:29.000Z | 2021-05-17T09:08:06.000Z | d3rlpy/online/utility.py | meokz/d3rlpy | 40504e2d8b424547558ab82786c523e8f4626a82 | [
"MIT"
] | null | null | null | d3rlpy/online/utility.py | meokz/d3rlpy | 40504e2d8b424547558ab82786c523e8f4626a82 | [
"MIT"
] | null | null | null | def get_action_size_from_env(env):
from gym.spaces import Discrete
if isinstance(env.action_space, Discrete):
return env.action_space.n
return env.action_space.shape[0]
| 31.5 | 46 | 0.746032 | 29 | 189 | 4.62069 | 0.586207 | 0.201493 | 0.313433 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.174603 | 189 | 5 | 47 | 37.8 | 0.852564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 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 | 1 | 0 | 0 | 6 |
b964300ee43f808bd7d433670f1529387e88607c | 22 | py | Python | quasi_newton/__init__.py | Hintonthu/opt_methods | e711ca708479c6fc99b7cad8fa2a078bd8d48cfd | [
"MIT"
] | 1 | 2020-07-17T08:46:18.000Z | 2020-07-17T08:46:18.000Z | quasi_newton/__init__.py | Hintonthu/opt_methods | e711ca708479c6fc99b7cad8fa2a078bd8d48cfd | [
"MIT"
] | null | null | null | quasi_newton/__init__.py | Hintonthu/opt_methods | e711ca708479c6fc99b7cad8fa2a078bd8d48cfd | [
"MIT"
] | null | null | null | from .bfgs import Bfgs | 22 | 22 | 0.818182 | 4 | 22 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b98204511f983eab6cda3319a045b7fe4cfa36a3 | 39 | py | Python | removebg/__init__.py | theunkn0wn1/remove-bg | b50fd22da3d390b8fe6d87cb332b199ffcc00b55 | [
"MIT"
] | 1 | 2020-05-26T06:19:47.000Z | 2020-05-26T06:19:47.000Z | removebg/__init__.py | y0un35/remove-bg | b50fd22da3d390b8fe6d87cb332b199ffcc00b55 | [
"MIT"
] | null | null | null | removebg/__init__.py | y0un35/remove-bg | b50fd22da3d390b8fe6d87cb332b199ffcc00b55 | [
"MIT"
] | 1 | 2020-08-31T04:03:30.000Z | 2020-08-31T04:03:30.000Z | from removebg.removebg import RemoveBg
| 19.5 | 38 | 0.871795 | 5 | 39 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9af552a5e2dec360cc4906cb77ad2497e2c89da | 1,160 | py | Python | PROGRAMMING/Python/Dice.py | DARREN-2000/PROGRAMS | 04c30a22eed5012a579eccca9a7ee94fe4d7ea47 | [
"MIT"
] | null | null | null | PROGRAMMING/Python/Dice.py | DARREN-2000/PROGRAMS | 04c30a22eed5012a579eccca9a7ee94fe4d7ea47 | [
"MIT"
] | null | null | null | PROGRAMMING/Python/Dice.py | DARREN-2000/PROGRAMS | 04c30a22eed5012a579eccca9a7ee94fe4d7ea47 | [
"MIT"
] | null | null | null | import random
print(" DICE SIMULATOR ")
x = "y"
while x == "y":
number = random.randint(1,6)
if number == 1:
print(" -----------")
print("| |")
print("| O |")
print("| |")
print(" -----------")
if number == 2:
print(" -----... | 20.714286 | 41 | 0.265517 | 91 | 1,160 | 3.384615 | 0.252747 | 0.253247 | 0.181818 | 0.311688 | 0.577922 | 0.415584 | 0.084416 | 0 | 0 | 0 | 0 | 0.012579 | 0.451724 | 1,160 | 56 | 42 | 20.714286 | 0.471698 | 0 | 0 | 0.714286 | 0 | 0 | 0.377939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.02381 | 0.738095 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b9b50ceb5fdb4f197a61c4f81cd44d99ee1401ed | 28 | py | Python | tid/__init__.py | chrahunt/tid | eba05725524b0edb5a79402d191f4319cf87a6cf | [
"MIT"
] | null | null | null | tid/__init__.py | chrahunt/tid | eba05725524b0edb5a79402d191f4319cf87a6cf | [
"MIT"
] | null | null | null | tid/__init__.py | chrahunt/tid | eba05725524b0edb5a79402d191f4319cf87a6cf | [
"MIT"
] | null | null | null | from ._gettid import gettid
| 14 | 27 | 0.821429 | 4 | 28 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9b672b673cd9e80921d4728c764f0161685ac6f | 21,615 | py | Python | stix2patterns/v20/grammars/STIXPatternLexer.py | chisholm/cti-pattern-validator | e926d0a14adf88de08acb908a51db1f453c13647 | [
"BSD-3-Clause"
] | null | null | null | stix2patterns/v20/grammars/STIXPatternLexer.py | chisholm/cti-pattern-validator | e926d0a14adf88de08acb908a51db1f453c13647 | [
"BSD-3-Clause"
] | null | null | null | stix2patterns/v20/grammars/STIXPatternLexer.py | chisholm/cti-pattern-validator | e926d0a14adf88de08acb908a51db1f453c13647 | [
"BSD-3-Clause"
] | null | null | null | # Generated from STIXPattern.g4 by ANTLR 4.8
# encoding: utf-8
from __future__ import print_function
from io import StringIO
import sys
from antlr4 import *
def serializedATN():
with StringIO() as buf:
buf.write(u"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2")
buf.write(u"\67\u01ef\b\1\4... | 61.232295 | 103 | 0.573953 | 5,134 | 21,615 | 2.410791 | 0.130308 | 0.123132 | 0.069565 | 0.076917 | 0.309122 | 0.239719 | 0.214753 | 0.143815 | 0.128545 | 0.11788 | 0 | 0.330763 | 0.148184 | 21,615 | 352 | 104 | 61.40625 | 0.341462 | 0.002683 | 0 | 0 | 1 | 0.418675 | 0.618086 | 0.56663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006024 | false | 0 | 0.012048 | 0 | 0.207831 | 0.003012 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9ccd84f942e72960f10ab06b4c1e4f89b4c7d20 | 10,658 | py | Python | tests/relaxations/test_composition.py | eth-sri/3dcertify | bb10f339f80149a9ebc7c07d041b2ef222efb394 | [
"Apache-2.0"
] | 9 | 2021-03-31T20:27:50.000Z | 2022-01-07T21:52:47.000Z | tests/relaxations/test_composition.py | eth-sri/3dcertify | bb10f339f80149a9ebc7c07d041b2ef222efb394 | [
"Apache-2.0"
] | 2 | 2021-06-21T15:38:07.000Z | 2021-11-08T09:10:09.000Z | tests/relaxations/test_composition.py | eth-sri/3dcertify | bb10f339f80149a9ebc7c07d041b2ef222efb394 | [
"Apache-2.0"
] | 4 | 2021-07-17T15:04:14.000Z | 2022-02-09T17:51:39.000Z | import unittest
from functools import partial
import numpy as np
from parameterized import parameterized
from relaxations import taylor
from tests.RelaxationTestCase import RelaxationTestCase, sample_points, sample_params
from transformations.composition import Composition
from transformations.manual_composition impo... | 40.524715 | 131 | 0.69863 | 1,054 | 10,658 | 6.888046 | 0.064516 | 0.109091 | 0.075758 | 0.096419 | 0.881129 | 0.851928 | 0.807989 | 0.757714 | 0.6927 | 0.649036 | 0 | 0.012649 | 0.191499 | 10,658 | 262 | 132 | 40.679389 | 0.829871 | 0 | 0 | 0.747788 | 0 | 0 | 0.000751 | 0 | 0 | 0 | 0 | 0 | 0.128319 | 1 | 0.110619 | false | 0 | 0.048673 | 0 | 0.172566 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b9d17122509d1094b1c6e2949f455dd74af6641d | 27 | py | Python | pkgs/feat_metrics/__init__.py | felipery03/stock-prices-predictor | f73c99a72d9d6c3684a23d31a69adbda60068a7c | [
"MIT"
] | 1 | 2021-02-04T03:10:07.000Z | 2021-02-04T03:10:07.000Z | pkgs/feat_metrics/__init__.py | felipery03/stock-prices-predictor | f73c99a72d9d6c3684a23d31a69adbda60068a7c | [
"MIT"
] | null | null | null | pkgs/feat_metrics/__init__.py | felipery03/stock-prices-predictor | f73c99a72d9d6c3684a23d31a69adbda60068a7c | [
"MIT"
] | null | null | null | from .feat_metrics import * | 27 | 27 | 0.814815 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9da83eaab411be02a255e3869cef457be65eecc | 169 | py | Python | frappe/patches/v7_0/update_send_after_in_bulk_email.py | Nxweb-in/frappe | 56b3eb52bf56dd71bee29fde3ed28ed9c6d15947 | [
"MIT"
] | 1 | 2021-06-03T07:04:48.000Z | 2021-06-03T07:04:48.000Z | frappe/patches/v7_0/update_send_after_in_bulk_email.py | Nxweb-in/frappe | 56b3eb52bf56dd71bee29fde3ed28ed9c6d15947 | [
"MIT"
] | null | null | null | frappe/patches/v7_0/update_send_after_in_bulk_email.py | Nxweb-in/frappe | 56b3eb52bf56dd71bee29fde3ed28ed9c6d15947 | [
"MIT"
] | null | null | null |
import frappe
from frappe.utils import now_datetime
def execute():
frappe.db.sql('update `tabEmail Queue` set send_after=%s where send_after is null', now_datetime()) | 28.166667 | 100 | 0.781065 | 27 | 169 | 4.740741 | 0.740741 | 0.171875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118343 | 169 | 6 | 100 | 28.166667 | 0.85906 | 0 | 0 | 0 | 0 | 0 | 0.390533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b9e9122c69da851a430b29ec2fdf30db6b40ea55 | 9,882 | py | Python | models/networks.py | millermuttu/torch_soft | 70a692650b6eb8c70000e0f8dc2b22cbb9f94741 | [
"MIT"
] | null | null | null | models/networks.py | millermuttu/torch_soft | 70a692650b6eb8c70000e0f8dc2b22cbb9f94741 | [
"MIT"
] | null | null | null | models/networks.py | millermuttu/torch_soft | 70a692650b6eb8c70000e0f8dc2b22cbb9f94741 | [
"MIT"
] | null | null | null | from __future__ import print_function
import torch.nn.functional as F
import torch
import torch.nn as nn
from utils.normalization import *
gbn_splits = 4
dropout_value = 0.05
class NetS6(nn.Module):
def __init__(self, batch_normalization_type="BN"):
super(NetS6, self).__init__()
# Input Block
... | 55.830508 | 228 | 0.672941 | 1,364 | 9,882 | 4.673754 | 0.090176 | 0.103529 | 0.089412 | 0.067765 | 0.850824 | 0.844863 | 0.824471 | 0.809569 | 0.788235 | 0.763137 | 0 | 0.08174 | 0.195305 | 9,882 | 176 | 229 | 56.147727 | 0.719945 | 0.150779 | 0 | 0.459459 | 0 | 0 | 0.015926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.033784 | 0 | 0.087838 | 0.006757 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0689689bf20859f54ba7069f59a2faba78f3068 | 9,797 | py | Python | tests/api/v3_1_1/test_native_supplicant_profile.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_1_1/test_native_supplicant_profile.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_1_1/test_native_supplicant_profile.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI native_supplicant_profile API fixtures and tests.
Copyright (c) 2021 Cisco and/or its affiliates.
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 Softw... | 33.43686 | 160 | 0.738491 | 1,190 | 9,797 | 5.742857 | 0.157983 | 0.15218 | 0.218759 | 0.12072 | 0.759731 | 0.759731 | 0.759731 | 0.75417 | 0.748171 | 0.736611 | 0 | 0.016576 | 0.193324 | 9,797 | 292 | 161 | 33.55137 | 0.848159 | 0.119526 | 0 | 0.648148 | 0 | 0 | 0.067525 | 0.027381 | 0 | 0 | 0 | 0 | 0.138889 | 1 | 0.115741 | false | 0 | 0.023148 | 0 | 0.231481 | 0.023148 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e06ba65448469355a637d1fbacdb70499c511aad | 15,128 | py | Python | stacktach/migrations/0004_create_instancereconcile.py | PreetiKamble29/stacktach | f4f905393a0d7eaa226a72b6a27b61e4ef52211d | [
"Apache-2.0"
] | null | null | null | stacktach/migrations/0004_create_instancereconcile.py | PreetiKamble29/stacktach | f4f905393a0d7eaa226a72b6a27b61e4ef52211d | [
"Apache-2.0"
] | 4 | 2020-02-28T10:27:34.000Z | 2022-02-02T01:13:09.000Z | stacktach/migrations/0004_create_instancereconcile.py | PreetiKamble29/stacktach | f4f905393a0d7eaa226a72b6a27b61e4ef52211d | [
"Apache-2.0"
] | null | null | null | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 84.988764 | 164 | 0.578728 | 1,709 | 15,128 | 4.990053 | 0.114687 | 0.096623 | 0.167448 | 0.239212 | 0.790572 | 0.782716 | 0.773218 | 0.76325 | 0.747889 | 0.741323 | 0 | 0.011252 | 0.177552 | 15,128 | 177 | 165 | 85.468927 | 0.674168 | 0.055791 | 0 | 0.322148 | 0 | 0 | 0.560923 | 0.287227 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013423 | false | 0 | 0.026846 | 0 | 0.060403 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e077db600867561363c209e39628fc2bb8e80b61 | 39 | py | Python | src/synamic/core/services/user/__init__.py | SabujXi/SynamicX | 13773409ae5ed9b953b3531e23ce87166c041b79 | [
"MIT"
] | 7 | 2017-10-15T16:58:47.000Z | 2020-07-02T01:08:21.000Z | src/synamic/core/services/user/__init__.py | SabujXi/SynamicX | 13773409ae5ed9b953b3531e23ce87166c041b79 | [
"MIT"
] | 5 | 2021-03-18T20:30:32.000Z | 2022-03-11T23:20:09.000Z | src/synamic/core/services/user/__init__.py | SabujXi/SynamicX | 13773409ae5ed9b953b3531e23ce87166c041b79 | [
"MIT"
] | 2 | 2018-02-04T14:03:38.000Z | 2018-02-04T15:25:59.000Z | from .user_service import UserService
| 19.5 | 38 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0eff318b762b7d06d4e652de9babe848860e14b0 | 117 | py | Python | src/TB3Util/tb3importer.py | csvance/tb3util | 63191c4e9fddec809d3943f9ee402eae0e2d4659 | [
"MIT"
] | null | null | null | src/TB3Util/tb3importer.py | csvance/tb3util | 63191c4e9fddec809d3943f9ee402eae0e2d4659 | [
"MIT"
] | null | null | null | src/TB3Util/tb3importer.py | csvance/tb3util | 63191c4e9fddec809d3943f9ee402eae0e2d4659 | [
"MIT"
] | null | null | null | class TB3Importer:
def __init__(self,import_path):
self.path = import_path
def import_bank(self):
assert(False) | 23.4 | 32 | 0.769231 | 17 | 117 | 4.882353 | 0.588235 | 0.240964 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.128205 | 117 | 5 | 33 | 23.4 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.4 | false | 0 | 0.8 | 0 | 1.4 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
162545dece69d7d3758e4ba52b2fc9e4f75f6ccb | 2,604 | py | Python | bitcoind-patch/src/sgx/verification/ias_test.py | bl4ck5un/proof-of-useful-work | 73aba24be375914f7cf2efef85d50aa15badc795 | [
"MIT"
] | 6 | 2018-03-20T22:42:56.000Z | 2021-09-07T08:35:45.000Z | bitcoind/src/sgx/verification/ias_test.py | bl4ck5un/proof-of-useful-work | 73aba24be375914f7cf2efef85d50aa15badc795 | [
"MIT"
] | null | null | null | bitcoind/src/sgx/verification/ias_test.py | bl4ck5un/proof-of-useful-work | 73aba24be375914f7cf2efef85d50aa15badc795 | [
"MIT"
] | 5 | 2018-03-27T05:57:11.000Z | 2020-09-06T11:51:41.000Z | import requests as rq
import httpsig
import json
import pprint
KEY_DIR = '/home/fanz/.ias/'
cert=(KEY_DIR + '/client.crt', KEY_DIR + '/client.key')
def print_headers(headers):
print 'HEADERS: '
for k, v in headers.iteritems():
print k, ': ', v
def parse_request(r):
print '-------------BEGIN RESPO... | 59.181818 | 1,498 | 0.829877 | 180 | 2,604 | 11.9 | 0.616667 | 0.008403 | 0.018207 | 0.016807 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064356 | 0.069124 | 2,604 | 43 | 1,499 | 60.55814 | 0.819307 | 0 | 0 | 0.121212 | 0 | 0.060606 | 0.69278 | 0.601767 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0.030303 | 0.151515 | null | null | 0.333333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
164cd558722155c7d8d092c321b1b61e43a1e493 | 8,537 | py | Python | lib/PyAMF-0.7.2/pyamf/tests/remoting/test_remoteobject.py | MiCHiLU/google_appengine_sdk | 3da9f20d7e65e26c4938d2c4054bc4f39cbc5522 | [
"Apache-2.0"
] | 87 | 2015-01-25T14:54:00.000Z | 2021-11-16T13:12:40.000Z | pyamf/tests/remoting/test_remoteobject.py | thijstriemstra/pyamf | d13915dfc68d06eb69ffc3e4e2a23257383568cc | [
"MIT"
] | 36 | 2015-01-05T01:24:59.000Z | 2021-09-15T20:40:33.000Z | pyamf/tests/remoting/test_remoteobject.py | thijstriemstra/pyamf | d13915dfc68d06eb69ffc3e4e2a23257383568cc | [
"MIT"
] | 37 | 2015-01-04T03:31:28.000Z | 2022-01-20T04:38:49.000Z | # -*- coding: utf-8 -*-
#
# Copyright (c) The PyAMF Project.
# See LICENSE.txt for details.
"""
RemoteObject Tests.
@since: 0.1
"""
import unittest
import pyamf
from pyamf import remoting
from pyamf.remoting import amf3, gateway
from pyamf.flex import messaging
class RandomIdGeneratorTestCase(unittest.TestCase):
... | 32.337121 | 79 | 0.640272 | 872 | 8,537 | 6.223624 | 0.130734 | 0.08771 | 0.110558 | 0.064677 | 0.800442 | 0.768749 | 0.752349 | 0.752349 | 0.741478 | 0.721946 | 0 | 0.0059 | 0.24552 | 8,537 | 263 | 80 | 32.460076 | 0.836671 | 0.014759 | 0 | 0.685864 | 0 | 0 | 0.032709 | 0 | 0 | 0 | 0 | 0 | 0.319372 | 1 | 0.13089 | false | 0 | 0.026178 | 0.026178 | 0.198953 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16504b6f43cf7e8a573e4315d9f365157601a84f | 6,006 | py | Python | 13.py | goldsborough/euler | d0674ac9e9f71318d719c42f91351d40a36acecd | [
"MIT"
] | null | null | null | 13.py | goldsborough/euler | d0674ac9e9f71318d719c42f91351d40a36acecd | [
"MIT"
] | null | null | null | 13.py | goldsborough/euler | d0674ac9e9f71318d719c42f91351d40a36acecd | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Work out the first ten digits of the sum of the
following one-hundred 50-digit numbers.
"""
n = """37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
9194221336357416... | 40.857143 | 65 | 0.921745 | 268 | 6,006 | 20.604478 | 0.55597 | 0.006519 | 0.004346 | 0.003622 | 0.004346 | 0 | 0 | 0 | 0 | 0 | 0 | 0.880798 | 0.048785 | 6,006 | 147 | 66 | 40.857143 | 0.085769 | 0.021645 | 0 | 0.022556 | 0 | 0 | 0.870314 | 0.852079 | 0 | 1 | 0 | 0 | 0 | 1 | 0.030075 | false | 0 | 0 | 0.007519 | 0.052632 | 0.015038 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
167cd21a90cfb37fe6ad3a97d1fd763793c84fb6 | 4,591 | py | Python | g_module2.py | gautam-pala/Social-distancing-surveillance-using-computer-vision | 34a6110ba42db4797267d7ef8a6a8bd457f9847d | [
"MIT"
] | null | null | null | g_module2.py | gautam-pala/Social-distancing-surveillance-using-computer-vision | 34a6110ba42db4797267d7ef8a6a8bd457f9847d | [
"MIT"
] | null | null | null | g_module2.py | gautam-pala/Social-distancing-surveillance-using-computer-vision | 34a6110ba42db4797267d7ef8a6a8bd457f9847d | [
"MIT"
] | null | null | null |
import cv2
import numpy as np
def bird_eye_view(frame, distances_mat, bottom_points, scale_w, scale_h, risk_count):
h = frame.shape[0]
w = frame.shape[1]
red = (0, 0, 255)
green = (0, 255, 0)
yellow = (0, 255, 255)
white = (200, 200, 200)
blank_image = np.zeros((int(h * scale_h), int(w *... | 42.119266 | 217 | 0.541059 | 759 | 4,591 | 3.142292 | 0.126482 | 0.241509 | 0.22348 | 0.10566 | 0.740881 | 0.710692 | 0.710692 | 0.700629 | 0.667505 | 0.662474 | 0 | 0.079115 | 0.28142 | 4,591 | 108 | 218 | 42.509259 | 0.643831 | 0 | 0 | 0.355263 | 0 | 0 | 0.024188 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026316 | false | 0 | 0.026316 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16c2be2086323a4d58371625d9102fc4caefc0f3 | 4,708 | py | Python | tests/checks/test_baseline.py | augusto-herrmann/frictionless-py | b4ff35f064141a2c04882edb592666ca6b066776 | [
"MIT"
] | 247 | 2020-08-04T16:42:09.000Z | 2022-03-30T11:54:54.000Z | tests/checks/test_baseline.py | augusto-herrmann/frictionless-py | b4ff35f064141a2c04882edb592666ca6b066776 | [
"MIT"
] | 444 | 2020-07-29T09:13:59.000Z | 2022-03-31T14:54:57.000Z | tests/checks/test_baseline.py | augusto-herrmann/frictionless-py | b4ff35f064141a2c04882edb592666ca6b066776 | [
"MIT"
] | 60 | 2020-09-04T11:39:34.000Z | 2022-03-23T18:59:51.000Z | from frictionless import validate, helpers
IS_UNIX = not helpers.is_platform("windows")
# General
def test_validate():
report = validate("data/table.csv")
assert report.valid
def test_validate_invalid():
report = validate("data/invalid.csv")
assert report.flatten(["rowPosition", "fieldPosition",... | 31.810811 | 141 | 0.640399 | 518 | 4,708 | 5.673745 | 0.121622 | 0.08166 | 0.08166 | 0.117387 | 0.850629 | 0.820687 | 0.807758 | 0.754678 | 0.754678 | 0.754678 | 0 | 0.117964 | 0.211342 | 4,708 | 147 | 142 | 32.027211 | 0.673579 | 0.002761 | 0 | 0.485981 | 0 | 0 | 0.335891 | 0.126172 | 0 | 0 | 0 | 0 | 0.186916 | 1 | 0.149533 | false | 0 | 0.009346 | 0 | 0.158879 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16ccde04edc85262b131b359bb2f75a269166ddf | 100 | py | Python | model/__init__.py | bhadreshpsavani/TAPER-EHR | ab938749756fcaaef52a7002a074421f483e3562 | [
"MIT"
] | 12 | 2020-04-10T02:24:20.000Z | 2021-11-09T22:52:24.000Z | model/__init__.py | bhadreshpsavani/TAPER-EHR | ab938749756fcaaef52a7002a074421f483e3562 | [
"MIT"
] | 7 | 2020-05-03T10:03:29.000Z | 2022-02-09T23:38:21.000Z | model/__init__.py | bhadreshpsavani/TAPER-EHR | ab938749756fcaaef52a7002a074421f483e3562 | [
"MIT"
] | 10 | 2020-06-14T09:37:35.000Z | 2022-02-04T22:21:16.000Z | from .mem_transformer import *
from .gelu import *
from .gru_ae import *
from .textcodepre import *
| 20 | 30 | 0.76 | 14 | 100 | 5.285714 | 0.571429 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 100 | 4 | 31 | 25 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bc4342dbba1ff4e18fc6ae49835703dfd8ca67a8 | 9,465 | py | Python | tests/test_dynamodb/test_dynamodb_expression_tokenizer.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | tests/test_dynamodb/test_dynamodb_expression_tokenizer.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | tests/test_dynamodb/test_dynamodb_expression_tokenizer.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | from moto.dynamodb.exceptions import (
InvalidTokenException,
InvalidExpressionAttributeNameKey,
)
from moto.dynamodb.parsing.tokens import ExpressionTokenizer, Token
def test_expression_tokenizer_single_set_action():
set_action = "SET attrName = :attrValue"
token_list = ExpressionTokenizer.make_list(... | 34.797794 | 89 | 0.658426 | 1,014 | 9,465 | 5.858974 | 0.093688 | 0.166639 | 0.134321 | 0.138866 | 0.874937 | 0.862481 | 0.844134 | 0.820232 | 0.764013 | 0.754923 | 0 | 0.002296 | 0.217644 | 9,465 | 271 | 90 | 34.926199 | 0.8 | 0.027047 | 0 | 0.681614 | 0 | 0 | 0.103621 | 0.003272 | 0 | 0 | 0 | 0 | 0.143498 | 1 | 0.089686 | false | 0 | 0.008969 | 0 | 0.098655 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.