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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9abfe24a24423d51dd04a9f84591d30fdb33d58 | 160 | py | Python | tests/no_sys_import.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 26 | 2018-01-29T23:28:45.000Z | 2020-12-01T21:30:32.000Z | tests/no_sys_import.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 28 | 2018-03-31T19:41:12.000Z | 2019-01-30T21:57:43.000Z | tests/no_sys_import.py | gflaherty/rules_pyz | 900546b12e880f272c82534cdd2423dcb109e795 | [
"Apache-2.0"
] | 17 | 2018-03-08T21:30:22.000Z | 2019-11-22T17:16:00.000Z | #!/usr/bin/env python2.7
# should fail to execute: does not import sys
print 'sys.path:'
print sys.path
print os.path.dirname
print os.environ
print zipimport
| 17.777778 | 45 | 0.7625 | 28 | 160 | 4.357143 | 0.678571 | 0.131148 | 0.196721 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.1375 | 160 | 8 | 46 | 20 | 0.869565 | 0.41875 | 0 | 0 | 0 | 0 | 0.098901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d9bffdb7fe0afade4ed497dc6995b676e124a804 | 137 | py | Python | homebot/listener/__init__.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | homebot/listener/__init__.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | homebot/listener/__init__.py | HazardDede/homebot | 7a44f5470bdd84c1e7660cf48955d44a9e4c317a | [
"MIT"
] | null | null | null | """Listener package."""
from homebot.listener.base import Listener
from homebot.listener import slack
__all__ = ['slack', 'Listener']
| 17.125 | 42 | 0.744526 | 16 | 137 | 6.125 | 0.5 | 0.22449 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124088 | 137 | 7 | 43 | 19.571429 | 0.816667 | 0.124088 | 0 | 0 | 0 | 0 | 0.114035 | 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 |
d9dc4fa9d72065523dd26d37e52035acfceea673 | 215 | py | Python | torchbenchmark/models/dlrm/install.py | Chillee/benchmark | 91e1b2871327e44b9b7d24d173ca93720fb6565b | [
"BSD-3-Clause"
] | null | null | null | torchbenchmark/models/dlrm/install.py | Chillee/benchmark | 91e1b2871327e44b9b7d24d173ca93720fb6565b | [
"BSD-3-Clause"
] | null | null | null | torchbenchmark/models/dlrm/install.py | Chillee/benchmark | 91e1b2871327e44b9b7d24d173ca93720fb6565b | [
"BSD-3-Clause"
] | null | null | null | import subprocess
import sys
def pip_install_requirements():
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-r', 'requirements.txt'])
if __name__ == '__main__':
pip_install_requirements()
| 23.888889 | 93 | 0.716279 | 25 | 215 | 5.64 | 0.64 | 0.212766 | 0.312057 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125581 | 215 | 8 | 94 | 26.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.176744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 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 |
8a0a92697e30046db57ab947797f3dc188141af2 | 34,412 | py | Python | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/flowrange_2fd5d93183298b6434d0d9d422fee83c.py | OpenIxia/ixnetwork_restpy | f628db450573a104f327cf3c737ca25586e067ae | [
"MIT"
] | 20 | 2019-05-07T01:59:14.000Z | 2022-02-11T05:24:47.000Z | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/flowrange_2fd5d93183298b6434d0d9d422fee83c.py | OpenIxia/ixnetwork_restpy | f628db450573a104f327cf3c737ca25586e067ae | [
"MIT"
] | 60 | 2019-04-03T18:59:35.000Z | 2022-02-22T12:05:05.000Z | ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/flowrange_2fd5d93183298b6434d0d9d422fee83c.py | OpenIxia/ixnetwork_restpy | f628db450573a104f327cf3c737ca25586e067ae | [
"MIT"
] | 13 | 2019-05-20T10:48:31.000Z | 2021-10-06T07:45:44.000Z | # MIT LICENSE
#
# Copyright 1997 - 2020 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify,... | 58.52381 | 490 | 0.692694 | 4,179 | 34,412 | 5.634841 | 0.085666 | 0.012995 | 0.019492 | 0.027603 | 0.794165 | 0.781722 | 0.755775 | 0.751869 | 0.732928 | 0.718108 | 0 | 0.003656 | 0.221086 | 34,412 | 587 | 491 | 58.623509 | 0.874869 | 0.636929 | 0 | 0.125 | 0 | 0 | 0.123397 | 0.019666 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275 | false | 0 | 0.02 | 0 | 0.475 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8a0e3b7c0375d93791d5077e5ce254bee9064784 | 10,118 | py | Python | tests/agent/test_agent.py | dazzag24/prefect | 9d36c989c95cbbed091b071932553286edf25bb6 | [
"Apache-2.0"
] | null | null | null | tests/agent/test_agent.py | dazzag24/prefect | 9d36c989c95cbbed091b071932553286edf25bb6 | [
"Apache-2.0"
] | null | null | null | tests/agent/test_agent.py | dazzag24/prefect | 9d36c989c95cbbed091b071932553286edf25bb6 | [
"Apache-2.0"
] | null | null | null | from unittest.mock import MagicMock
import pytest
from prefect.agent import Agent
from prefect.engine.state import Scheduled
from prefect.utilities.configuration import set_temporary_config
from prefect.utilities.exceptions import AuthorizationError
from prefect.utilities.graphql import GraphQLResult
def test_agent... | 30.293413 | 87 | 0.587962 | 1,019 | 10,118 | 5.561335 | 0.105005 | 0.068819 | 0.070584 | 0.066526 | 0.839598 | 0.7916 | 0.753309 | 0.732839 | 0.725428 | 0.71537 | 0 | 0.00158 | 0.312117 | 10,118 | 333 | 88 | 30.384384 | 0.812644 | 0.014529 | 0 | 0.560886 | 0 | 0 | 0.07504 | 0.030096 | 0 | 0 | 0 | 0 | 0.077491 | 1 | 0.077491 | false | 0.01845 | 0.02583 | 0 | 0.103321 | 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 |
8a1d106fb9d7a1b202193072eb3cc7096cff6b03 | 103 | py | Python | df_filter/empty_filter.py | emirhanaydin/npp-data-miner | e65bf929d66569d7f583ab935a8976336cbc48ec | [
"Unlicense"
] | 1 | 2022-01-30T22:51:46.000Z | 2022-01-30T22:51:46.000Z | df_filter/empty_filter.py | emirhanaydin/npp-data-miner | e65bf929d66569d7f583ab935a8976336cbc48ec | [
"Unlicense"
] | null | null | null | df_filter/empty_filter.py | emirhanaydin/npp-data-miner | e65bf929d66569d7f583ab935a8976336cbc48ec | [
"Unlicense"
] | null | null | null | from pandas import DataFrame
def empty_filter(df: DataFrame):
return df.dropna(subset=['Front'])
| 17.166667 | 38 | 0.737864 | 14 | 103 | 5.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 39 | 20.6 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0.048544 | 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 |
8a2983904ae4ae0984387b0fc23890ff8f4721a9 | 3,008 | py | Python | tests/helper_methods.py | ywalakamar/store-manager-api-v2-revisted | ab326735f702719ee884263f5eb395b9e7a50011 | [
"Apache-2.0"
] | null | null | null | tests/helper_methods.py | ywalakamar/store-manager-api-v2-revisted | ab326735f702719ee884263f5eb395b9e7a50011 | [
"Apache-2.0"
] | 91 | 2019-01-02T13:12:50.000Z | 2019-09-04T22:45:17.000Z | tests/helper_methods.py | ywalakamar/store-manager-api-v2-revisted | ab326735f702719ee884263f5eb395b9e7a50011 | [
"Apache-2.0"
] | null | null | null | from flask import current_app
def user_registration(self, data):
"""User registration"""
return self.client.post(
'api/v1/register',
data=data,
content_type='application/json')
def user_login(self, data):
"""User registration"""
return se... | 34.181818 | 62 | 0.552527 | 309 | 3,008 | 5.255663 | 0.142395 | 0.086207 | 0.137931 | 0.224138 | 0.876232 | 0.837438 | 0.819581 | 0.776478 | 0.68165 | 0.562808 | 0 | 0.010902 | 0.329122 | 3,008 | 88 | 63 | 34.181818 | 0.793855 | 0.011636 | 0 | 0.694444 | 0 | 0 | 0.173135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.194444 | false | 0 | 0.013889 | 0.166667 | 0.402778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
8a3dcd5bbd05289c983c2e8ca8c86b8ab72f24d7 | 29 | py | Python | src/nukleus/spice/__init__.py | spielhuus/nukleus | 55d7ae6051720213024fa20c8c9a92110f5566ce | [
"MIT"
] | null | null | null | src/nukleus/spice/__init__.py | spielhuus/nukleus | 55d7ae6051720213024fa20c8c9a92110f5566ce | [
"MIT"
] | null | null | null | src/nukleus/spice/__init__.py | spielhuus/nukleus | 55d7ae6051720213024fa20c8c9a92110f5566ce | [
"MIT"
] | null | null | null | from .ngspice import ngspice
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
8a53c3e24225b3269ebe2649a9debc245d6daa57 | 142 | py | Python | python/dgl/ops/__init__.py | khaled-rahman/FusedMM4DGL | e3c46fc1ff886969774c382c944fdb49773a788f | [
"Apache-2.0"
] | null | null | null | python/dgl/ops/__init__.py | khaled-rahman/FusedMM4DGL | e3c46fc1ff886969774c382c944fdb49773a788f | [
"Apache-2.0"
] | null | null | null | python/dgl/ops/__init__.py | khaled-rahman/FusedMM4DGL | e3c46fc1ff886969774c382c944fdb49773a788f | [
"Apache-2.0"
] | null | null | null | """dgl operator module."""
from .spmm import *
from .sddmm import *
from .fusedmm import *
from .edge_softmax import *
from .segment import *
| 20.285714 | 27 | 0.71831 | 19 | 142 | 5.315789 | 0.578947 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 142 | 6 | 28 | 23.666667 | 0.84874 | 0.140845 | 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 |
8a936df01bd144c694eb48eb19791a0912253187 | 34 | py | Python | monailabel/utils/datastore/__init__.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | 1 | 2021-07-27T12:45:36.000Z | 2021-07-27T12:45:36.000Z | monailabel/utils/datastore/__init__.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | null | null | null | monailabel/utils/datastore/__init__.py | finalelement/MONAILabel | 3f63ffd4f49161076e77b7c74c733f6ce5cce78c | [
"Apache-2.0"
] | 1 | 2021-07-27T12:45:38.000Z | 2021-07-27T12:45:38.000Z | from .local import LocalDatastore
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ac455266f1a89d6921653852cf976c9312c6bf9 | 33,361 | py | Python | src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volume_commands.py | ZengTaoxu/azure-cli | 6be96de450da5ac9f07aafb22dd69880bea04792 | [
"MIT"
] | null | null | null | src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volume_commands.py | ZengTaoxu/azure-cli | 6be96de450da5ac9f07aafb22dd69880bea04792 | [
"MIT"
] | null | null | null | src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volume_commands.py | ZengTaoxu/azure-cli | 6be96de450da5ac9f07aafb22dd69880bea04792 | [
"MIT"
] | null | null | null | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 67.532389 | 467 | 0.661401 | 4,568 | 33,361 | 4.577058 | 0.067207 | 0.057346 | 0.047255 | 0.059977 | 0.816769 | 0.79515 | 0.758083 | 0.731729 | 0.715946 | 0.695667 | 0 | 0.016937 | 0.196517 | 33,361 | 493 | 468 | 67.669371 | 0.763067 | 0.055304 | 0 | 0.479564 | 0 | 0.13624 | 0.282536 | 0.026887 | 0 | 0 | 0 | 0 | 0.264305 | 1 | 0.051771 | false | 0 | 0.010899 | 0 | 0.070845 | 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 |
76d01b755fb74b639ff07b1669f23f676e9406d5 | 21,822 | py | Python | python/orca/src/bigdl/orca/data/file.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | python/orca/src/bigdl/orca/data/file.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | python/orca/src/bigdl/orca/data/file.py | DirkFi/BigDL | 7493209165c046116470b9a1e1c8f527915d6f1e | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2016 The BigDL Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 40.336414 | 98 | 0.592201 | 2,827 | 21,822 | 4.360453 | 0.087018 | 0.081772 | 0.049972 | 0.0318 | 0.775615 | 0.75217 | 0.739515 | 0.720613 | 0.718423 | 0.705362 | 0 | 0.013451 | 0.277747 | 21,822 | 540 | 99 | 40.411111 | 0.76867 | 0.110943 | 0 | 0.752273 | 0 | 0 | 0.080013 | 0.015335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031818 | false | 0 | 0.077273 | 0 | 0.218182 | 0.006818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0a1f6cfff5c5e0ad83f94a7b8a76237f412c6987 | 167 | py | Python | odoo-13.0/odoo/addons/test_action_bindings/models.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/odoo/addons/test_action_bindings/models.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | odoo-13.0/odoo/addons/test_action_bindings/models.py | VaibhavBhujade/Blockchain-ERP-interoperability | b5190a037fb6615386f7cbad024d51b0abd4ba03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from odoo import models
class A(models.Model):
_name = _description = 'tab.a'
class B(models.Model):
_name = _description = 'tab.b'
| 16.7 | 34 | 0.634731 | 23 | 167 | 4.434783 | 0.608696 | 0.215686 | 0.294118 | 0.509804 | 0.568627 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.203593 | 167 | 9 | 35 | 18.555556 | 0.759399 | 0.125749 | 0 | 0 | 0 | 0 | 0.069444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
0a3d50db51d065daa03722a04f8c6ddea5b81304 | 47 | py | Python | PRF/__init__.py | dcodrut/PRF | 1741ec6fc923ba6ba0a9f62ff53117b0a7998827 | [
"MIT"
] | 92 | 2018-11-16T04:37:29.000Z | 2022-03-09T23:04:56.000Z | PRF/__init__.py | dcodrut/PRF | 1741ec6fc923ba6ba0a9f62ff53117b0a7998827 | [
"MIT"
] | 3 | 2019-03-05T08:02:45.000Z | 2021-09-15T09:16:50.000Z | PRF/__init__.py | dcodrut/PRF | 1741ec6fc923ba6ba0a9f62ff53117b0a7998827 | [
"MIT"
] | 14 | 2018-11-20T11:11:06.000Z | 2022-03-27T07:54:09.000Z | from .PRF import RandomForestClassifier as prf
| 23.5 | 46 | 0.851064 | 6 | 47 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6a5135ca4293df9ae4cc44634ce627e563dffc43 | 21 | py | Python | build/lib/simple_connect/__init__.py | saeed-abdul-rahim/simple_connect | c1d6945f5116825d9635915793f5ebbb488ef413 | [
"MIT"
] | 1 | 2022-01-31T14:06:44.000Z | 2022-01-31T14:06:44.000Z | simple_connect/__init__.py | saeed-abdul-rahim/simple_connect | c1d6945f5116825d9635915793f5ebbb488ef413 | [
"MIT"
] | null | null | null | simple_connect/__init__.py | saeed-abdul-rahim/simple_connect | c1d6945f5116825d9635915793f5ebbb488ef413 | [
"MIT"
] | null | null | null | from . import connect | 21 | 21 | 0.809524 | 3 | 21 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0a85271266410c37a70ab0d4b2afd3af852410a4 | 44,481 | py | Python | src/amuse/test/suite/codes_tests/test_multiples.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 131 | 2015-06-04T09:06:57.000Z | 2022-02-01T12:11:29.000Z | src/amuse/test/suite/codes_tests/test_multiples.py | rknop/amuse | 85d5bdcc29cfc87dc69d91c264101fafd6658aec | [
"Apache-2.0"
] | 690 | 2015-10-17T12:18:08.000Z | 2022-03-31T16:15:58.000Z | src/amuse/test/suite/codes_tests/test_multiples.py | rieder/amuse | 3ac3b6b8f922643657279ddee5c8ab3fc0440d5e | [
"Apache-2.0"
] | 102 | 2015-01-22T10:00:29.000Z | 2022-02-09T13:29:43.000Z | # nosetests --nocapture --nologcapture -w test/codes_tests --tests=test_multiples
from amuse.test.amusetest import TestWithMPI
import os
import sys
import numpy
import time
import math
from amuse.community.hermite.interface import Hermite
from amuse.community.kepler.interface import Kepler
from amuse.community.smal... | 41.923657 | 164 | 0.633866 | 5,149 | 44,481 | 5.227811 | 0.045252 | 0.12122 | 0.066201 | 0.072219 | 0.885913 | 0.852589 | 0.816814 | 0.774649 | 0.742291 | 0.727617 | 0 | 0.031312 | 0.268384 | 44,481 | 1,060 | 165 | 41.963208 | 0.795839 | 0.023516 | 0 | 0.669767 | 0 | 0 | 0.00539 | 0.00106 | 0 | 0 | 0 | 0 | 0.173256 | 1 | 0.026744 | false | 0 | 0.019767 | 0 | 0.055814 | 0.039535 | 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 |
0aa2e3f77ab7844dadccac7d7828ec021a54add2 | 108 | py | Python | parquet_to_root/__init__.py | ponyisi/parquet_to_root | b978c0fba33d98428de35abbad2f424092e4f0c7 | [
"Apache-2.0"
] | 4 | 2020-12-19T22:48:31.000Z | 2021-08-17T23:01:03.000Z | parquet_to_root/__init__.py | ponyisi/parquet_to_root | b978c0fba33d98428de35abbad2f424092e4f0c7 | [
"Apache-2.0"
] | 2 | 2021-01-14T17:15:50.000Z | 2021-01-16T19:38:30.000Z | parquet_to_root/__init__.py | ponyisi/parquet_to_root | b978c0fba33d98428de35abbad2f424092e4f0c7 | [
"Apache-2.0"
] | 1 | 2020-12-19T22:55:17.000Z | 2020-12-19T22:55:17.000Z | from .parquet_to_root_pyroot import parquet_to_root_pyroot as parquet_to_root
__all__ = ['parquet_to_root']
| 36 | 77 | 0.861111 | 18 | 108 | 4.388889 | 0.444444 | 0.455696 | 0.658228 | 0.481013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 2 | 78 | 54 | 0.79798 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0ad631cdf6597275c367b066b7c97fe3721e1d65 | 224 | py | Python | pylogger/formats/__init__.py | agSant01/pylogger | 99a5d08b0f486c43dc4936cd89474e21a86f377a | [
"MIT"
] | null | null | null | pylogger/formats/__init__.py | agSant01/pylogger | 99a5d08b0f486c43dc4936cd89474e21a86f377a | [
"MIT"
] | null | null | null | pylogger/formats/__init__.py | agSant01/pylogger | 99a5d08b0f486c43dc4936cd89474e21a86f377a | [
"MIT"
] | null | null | null | from .timestamp import Timestamp
from .caller import ClassCaller, FunctionCaller, FileCaller, FileLine
from .format import Format
__all__ = ['Timestamp', 'ClassCaller', 'FunctionCaller', 'FileCaller', 'FileLine', 'Format']
| 37.333333 | 92 | 0.776786 | 22 | 224 | 7.727273 | 0.454545 | 0.294118 | 0.411765 | 0.505882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 224 | 5 | 93 | 44.8 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.258929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0adb0ed8f059ff05d15ce76e6992b8fe0da30683 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/95/82/31/185593a2ca9b7cb9e465738183b8a063bd6246f33735439a0f4b2d510f | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0ae659e7c9b9fd9429031373b7a90323f1071015 | 3,913 | py | Python | testo.py | radiojam11/esame_immobili | 7c1863b629fe2f9602f7ff634b2511d20fdeab72 | [
"MIT"
] | null | null | null | testo.py | radiojam11/esame_immobili | 7c1863b629fe2f9602f7ff634b2511d20fdeab72 | [
"MIT"
] | null | null | null | testo.py | radiojam11/esame_immobili | 7c1863b629fe2f9602f7ff634b2511d20fdeab72 | [
"MIT"
] | null | null | null | banner = """
_ _ _ _ _____ _
| | | | | | (_) |_ _| (_)
| | | | __ _| | ___ _ __ _ ___ | | ___ __ _ _ __ ___ _________... | 108.694444 | 117 | 0.131613 | 1 | 3,913 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.715308 | 3,913 | 36 | 118 | 108.694444 | 0.005386 | 0 | 0 | 0 | 0 | 0.642857 | 0.995912 | 0.006643 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0af626ba927d65a27879f2fd54b2f9098e64d60c | 42 | py | Python | python/testData/copyPaste/WholeIndentedLineSelectedWithoutIndentAndReplacedWithWord.after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/copyPaste/WholeIndentedLineSelectedWithoutIndentAndReplacedWithWord.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/copyPaste/WholeIndentedLineSelectedWithoutIndentAndReplacedWithWord.after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | if True:
if True:
pass
foo | 10.5 | 12 | 0.452381 | 6 | 42 | 3.166667 | 0.666667 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 42 | 4 | 13 | 10.5 | 0.904762 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7c633a13154c19b4e19c51e2ed490797f2c3c324 | 23 | py | Python | torchsolver/nn/__init__.py | killf/torchsolver | d9d651a646cff3a00ff36c455704cb009d45aa9a | [
"MIT"
] | 1,816 | 2018-02-14T01:59:51.000Z | 2022-03-31T17:09:20.000Z | torchsolver/nn/__init__.py | killf/torchsolver | d9d651a646cff3a00ff36c455704cb009d45aa9a | [
"MIT"
] | 340 | 2018-02-11T00:27:26.000Z | 2022-03-21T12:00:24.000Z | torchsolver/nn/__init__.py | killf/torchsolver | d9d651a646cff3a00ff36c455704cb009d45aa9a | [
"MIT"
] | 144 | 2018-03-18T00:08:16.000Z | 2022-02-26T01:51:58.000Z | from .view import View
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7c72c941ecc1bbef2168e6287b2f0f9479a55321 | 197,642 | py | Python | pirates/leveleditor/worldData/pvpShipIsland1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 81 | 2018-04-08T18:14:24.000Z | 2022-01-11T07:22:15.000Z | pirates/leveleditor/worldData/pvpShipIsland1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 4 | 2018-09-13T20:41:22.000Z | 2022-01-08T06:57:00.000Z | pirates/leveleditor/worldData/pvpShipIsland1.py | Willy5s/Pirates-Online-Rewritten | 7434cf98d9b7c837d57c181e5dabd02ddf98acb7 | [
"BSD-3-Clause"
] | 26 | 2018-05-26T12:49:27.000Z | 2021-09-11T09:11:59.000Z | from pandac.PandaModules import Point3, VBase3, Vec4, Vec3
objectStruct = {'Objects': {'1196970080.56sdnaik': {'Type': 'Island','Name': 'Team 1 HQ','File': '','Environment': 'OpenSky','Minimap': False,'Objects': {'1196991789.28sdnaik': {'Type': 'Dinghy','Aggro Radius': '20.0000','Hpr': VBase3(-179.869, 0.0, 0.0),'Locat... | 65,880.666667 | 197,430 | 0.681879 | 27,645 | 197,642 | 4.821523 | 0.073359 | 0.01424 | 0.014089 | 0.12748 | 0.679791 | 0.515264 | 0.458831 | 0.381976 | 0.350414 | 0.339993 | 0 | 0.293284 | 0.048896 | 197,642 | 3 | 197,431 | 65,880.666667 | 0.415793 | 0 | 0 | 0 | 0 | 0 | 0.544795 | 0.267877 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
7cfc9052ff6faec547979606eb005fae6742348f | 118,953 | py | Python | api_tests/nodes/views/test_node_list.py | birdbrained/osf.io | ca70cf9fdacc2f3771038c8e5bc1c19e7126fd50 | [
"Apache-2.0"
] | 1 | 2019-12-23T04:30:20.000Z | 2019-12-23T04:30:20.000Z | api_tests/nodes/views/test_node_list.py | birdbrained/osf.io | ca70cf9fdacc2f3771038c8e5bc1c19e7126fd50 | [
"Apache-2.0"
] | 20 | 2020-03-24T16:48:03.000Z | 2022-03-08T22:38:38.000Z | api_tests/nodes/views/test_node_list.py | birdbrained/osf.io | ca70cf9fdacc2f3771038c8e5bc1c19e7126fd50 | [
"Apache-2.0"
] | null | null | null | import pytest
from api.base.settings.defaults import API_BASE, MAX_PAGE_SIZE
from api_tests.nodes.filters.test_filters import NodesListFilteringMixin, NodesListDateFilteringMixin
from framework.auth.core import Auth
from osf.models import AbstractNode, Node, NodeLog
from osf.utils.sanitize import strip_html
from osf.u... | 35.52957 | 220 | 0.577211 | 13,570 | 118,953 | 4.767133 | 0.032498 | 0.078776 | 0.043036 | 0.037007 | 0.852558 | 0.81586 | 0.771649 | 0.731968 | 0.700618 | 0.675035 | 0 | 0.008806 | 0.313611 | 118,953 | 3,347 | 221 | 35.540185 | 0.783497 | 0.03266 | 0 | 0.689369 | 0 | 0.00036 | 0.097407 | 0.020623 | 0 | 0 | 0 | 0 | 0.183063 | 1 | 0.068468 | false | 0 | 0.004324 | 0.038919 | 0.117117 | 0.015496 | 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 |
6b0268b4a3e7c231f648eddcf16ac5863dae6bd1 | 3,031 | py | Python | users.py | LesyaLeontyeva/python_training | 869a5e3f7e8113024752b36c911deb352ca9b98e | [
"Apache-2.0"
] | null | null | null | users.py | LesyaLeontyeva/python_training | 869a5e3f7e8113024752b36c911deb352ca9b98e | [
"Apache-2.0"
] | null | null | null | users.py | LesyaLeontyeva/python_training | 869a5e3f7e8113024752b36c911deb352ca9b98e | [
"Apache-2.0"
] | null | null | null | class UserHelper:
def __init__(self, app):
self.app = app
def open_webpage(self):
wd = self.wd
wd.find_element_by_link_text("home").click()
if not (wd.current_url.endswith("/") and len(wd.find_elements_by_name("searchform")) > 0):
wd.get("http://localhost/addressbook/"... | 40.959459 | 98 | 0.665787 | 461 | 3,031 | 4.008677 | 0.195228 | 0.126623 | 0.260281 | 0.300325 | 0.767316 | 0.757035 | 0.719156 | 0.719156 | 0.294372 | 0.24513 | 0 | 0.009604 | 0.17552 | 3,031 | 74 | 99 | 40.959459 | 0.729892 | 0 | 0 | 0.258621 | 0 | 0 | 0.140501 | 0.055409 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6b23c3ec4ed48917c39b31820be03db71139a754 | 51 | py | Python | multilingual_t5/r_ta_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_ta_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | multilingual_t5/r_ta_en/__init__.py | sumanthd17/mt5 | c99b4e3ad1c69908c852c730a1323ccb52d48f58 | [
"Apache-2.0"
] | null | null | null | """r_ta_en dataset."""
from .r_ta_en import RTaEn
| 12.75 | 26 | 0.705882 | 10 | 51 | 3.2 | 0.7 | 0.1875 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 3 | 27 | 17 | 0.727273 | 0.313725 | 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 |
8689178b87193aa4fef9e8db2a15263ae5a5ab9b | 203 | py | Python | tccli/services/mdl/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/mdl/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | tccli/services/mdl/__init__.py | hapsyou/tencentcloud-cli-intl-en | fa8ba71164484f9a2be4b983080a1de08606c0b0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from tccli.services.mdl.mdl_client import register_arg
from tccli.services.mdl.mdl_client import get_actions_info
from tccli.services.mdl.mdl_client import AVAILABLE_VERSION_LIST
| 40.6 | 64 | 0.827586 | 32 | 203 | 5 | 0.53125 | 0.16875 | 0.31875 | 0.375 | 0.65625 | 0.65625 | 0.65625 | 0 | 0 | 0 | 0 | 0.005376 | 0.083744 | 203 | 4 | 65 | 50.75 | 0.854839 | 0.103448 | 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 |
8691ec0c75b139e2811d2cb1ab97ef8ff7c0c998 | 198 | py | Python | tests/test-global-ptrs1/test_data.py | bogdanm/udynlink | 4119954862d5d4c96212f29f282e5e2560158406 | [
"Apache-2.0"
] | 96 | 2017-10-10T12:52:48.000Z | 2022-03-05T02:28:08.000Z | tests/test-global-ptrs1/test_data.py | bogdanm/udynlink | 4119954862d5d4c96212f29f282e5e2560158406 | [
"Apache-2.0"
] | 5 | 2019-03-27T10:23:07.000Z | 2022-01-11T03:49:17.000Z | tests/test-global-ptrs1/test_data.py | bogdanm/udynlink | 4119954862d5d4c96212f29f282e5e2560158406 | [
"Apache-2.0"
] | 20 | 2018-06-21T15:36:36.000Z | 2022-01-10T00:47:22.000Z | # Test global pointers to data and code
test_data = {
"desc": "Global pointers to data and code",
"modules": [["mod_global_ptrs1.c"]],
"required": ["Running test 'mod_global_ptrs1'"]
}
| 24.75 | 51 | 0.656566 | 27 | 198 | 4.62963 | 0.518519 | 0.224 | 0.256 | 0.32 | 0.432 | 0.432 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.191919 | 198 | 7 | 52 | 28.285714 | 0.76875 | 0.186869 | 0 | 0 | 0 | 0 | 0.628931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
86c7d0832a68fc7b8196847fb8da7ca6c512e4f3 | 169 | py | Python | todo/admin.py | beshrkayali/fbmtodo | a7e82edd8d59a83c92bcef412954f05ba2e8a34e | [
"MIT"
] | null | null | null | todo/admin.py | beshrkayali/fbmtodo | a7e82edd8d59a83c92bcef412954f05ba2e8a34e | [
"MIT"
] | null | null | null | todo/admin.py | beshrkayali/fbmtodo | a7e82edd8d59a83c92bcef412954f05ba2e8a34e | [
"MIT"
] | null | null | null | from django.contrib import admin
from todo.models import TodoList, TodoItem, User
admin.site.register(User)
admin.site.register(TodoList)
admin.site.register(TodoItem)
| 24.142857 | 48 | 0.822485 | 24 | 169 | 5.791667 | 0.5 | 0.194245 | 0.366906 | 0.302158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08284 | 169 | 6 | 49 | 28.166667 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8126cbba00df09e00de1720de057f2d4da85ee3b | 25,746 | py | Python | src/natcap/opal/tests/test_offsets.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | 1 | 2020-04-15T23:23:27.000Z | 2020-04-15T23:23:27.000Z | src/natcap/opal/tests/test_offsets.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | null | null | null | src/natcap/opal/tests/test_offsets.py | natcap/opal | 7b960d51344483bae30d14ccfa6004bd550f3737 | [
"BSD-3-Clause"
] | null | null | null | import unittest
import os
import shutil
from shapely.geometry import Polygon
from natcap.opal.tests import vector, COLOMBIA_SRS
from natcap.opal.tests import test_smoke
from natcap.opal import offsets
class OffsetTest(unittest.TestCase):
def test_select_set_multifactor_bio(self):
parcels_dict = {
... | 36.160112 | 84 | 0.491921 | 2,421 | 25,746 | 5.017761 | 0.108633 | 0.012183 | 0.026342 | 0.011771 | 0.867139 | 0.839891 | 0.824251 | 0.805565 | 0.802107 | 0.794452 | 0 | 0.139756 | 0.373844 | 25,746 | 711 | 85 | 36.21097 | 0.613796 | 0.007069 | 0 | 0.673981 | 0 | 0 | 0.168917 | 0.006574 | 0 | 0 | 0 | 0 | 0.028213 | 1 | 0.029781 | false | 0 | 0.010972 | 0 | 0.04232 | 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 |
d49e80f416526d3bc9a6714fe0affa18b6e2624e | 5,500 | py | Python | data/chempy/tinker/make99_simple.py | dualword/pymol-open-source | abc307745d7d231af4f77f984ebd64f1b428cef8 | [
"CNRI-Python"
] | 636 | 2018-06-21T20:46:36.000Z | 2022-03-30T13:07:47.000Z | data/chempy/tinker/make99_simple.py | dualword/pymol-open-source | abc307745d7d231af4f77f984ebd64f1b428cef8 | [
"CNRI-Python"
] | 218 | 2018-06-25T00:10:59.000Z | 2022-03-23T14:15:48.000Z | data/chempy/tinker/make99_simple.py | dualword/pymol-open-source | abc307745d7d231af4f77f984ebd64f1b428cef8 | [
"CNRI-Python"
] | 192 | 2018-06-21T17:33:10.000Z | 2022-03-31T17:53:03.000Z | import string
f = open("parm99_wld.dat")
g = open("parm_simple.dat")
h = open("parm99_simple.dat",'w')
while 1:
l = f.readline()
if not len(string.strip(l)):
break
h.write(l)
g.readline() # skip first line
while 1:
l = g.readline()
h.write(l)
if not len(string.strip(l)):
break
l=f.r... | 26.829268 | 82 | 0.438727 | 1,066 | 5,500 | 2.260788 | 0.090994 | 0.151037 | 0.085892 | 0.06971 | 0.848548 | 0.80249 | 0.749378 | 0.709544 | 0.668465 | 0.615353 | 0 | 0.166516 | 0.395091 | 5,500 | 204 | 83 | 26.960784 | 0.55786 | 0.011091 | 0 | 0.639752 | 0 | 0.149068 | 0.636598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.006211 | 0 | 0.006211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d4b4c0eca8183968d2474a76a5af6cb25943d7e6 | 49 | py | Python | scan_models/proconos/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 1 | 2020-05-22T09:52:33.000Z | 2020-05-22T09:52:33.000Z | scan_models/proconos/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 8 | 2021-03-18T21:22:40.000Z | 2022-03-11T23:32:48.000Z | scan_models/proconos/__init__.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | null | null | null | from .scan import proconos_resolve, proconos_scan | 49 | 49 | 0.877551 | 7 | 49 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.911111 | 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 |
d4cc668a815fe00c944470fe10e696f10b2136f2 | 262 | py | Python | acoular/demo/__init__.py | ishine/acoular | 4d790517adb38dc012b1f06966262b94f3625358 | [
"BSD-3-Clause"
] | 294 | 2015-03-24T09:19:12.000Z | 2022-03-11T02:59:11.000Z | acoular/demo/__init__.py | ishine/acoular | 4d790517adb38dc012b1f06966262b94f3625358 | [
"BSD-3-Clause"
] | 45 | 2015-11-06T15:15:22.000Z | 2022-03-18T07:05:30.000Z | acoular/demo/__init__.py | ishine/acoular | 4d790517adb38dc012b1f06966262b94f3625358 | [
"BSD-3-Clause"
] | 100 | 2015-05-05T15:18:57.000Z | 2022-03-21T09:48:05.000Z | # coding=UTF-8
#------------------------------------------------------------------------------
# Copyright (c) 2007-2021, Acoular Development Team.
#------------------------------------------------------------------------------
from . import acoular_demo | 37.428571 | 80 | 0.274809 | 14 | 262 | 5.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0375 | 0.083969 | 262 | 7 | 81 | 37.428571 | 0.258333 | 0.835878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d4d80f876cbbd08e59366a453971f0927304035f | 239 | py | Python | semeval2020/preprocessor/tsne_preprocessor.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | 8 | 2020-12-02T23:18:59.000Z | 2021-12-19T11:19:28.000Z | semeval2020/preprocessor/tsne_preprocessor.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | 1 | 2020-05-24T15:22:26.000Z | 2020-05-25T08:08:07.000Z | semeval2020/preprocessor/tsne_preprocessor.py | DavidRother/semeval2020-task1 | 715f82afb8b282669d59ff610b63714d19db4618 | [
"MIT"
] | null | null | null | from semeval2020.factory_hub import preprocessor_factory
from sklearn.manifold import TSNE
preprocessor_factory.register("TSNE", TSNE)
preprocessor_factory.register("TSNE_AE", TSNE)
preprocessor_factory.register("TSNE_AE_Language", TSNE)
| 34.142857 | 56 | 0.853556 | 30 | 239 | 6.533333 | 0.4 | 0.387755 | 0.352041 | 0.47449 | 0.556122 | 0.377551 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.062762 | 239 | 6 | 57 | 39.833333 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.112971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d4d8d9a0446111d24169cb19abb7db2b7a4e29d1 | 29,954 | py | Python | notifications/tests/test_notifications.py | konradko/directory-api | e9cd05b1deaf575e94352c46ddbd1857d8119fda | [
"MIT"
] | 1 | 2021-11-06T12:08:26.000Z | 2021-11-06T12:08:26.000Z | notifications/tests/test_notifications.py | konradko/directory-api | e9cd05b1deaf575e94352c46ddbd1857d8119fda | [
"MIT"
] | null | null | null | notifications/tests/test_notifications.py | konradko/directory-api | e9cd05b1deaf575e94352c46ddbd1857d8119fda | [
"MIT"
] | null | null | null | from datetime import timedelta, datetime
from unittest.mock import patch, MagicMock, PropertyMock
import pytest
from freezegun import freeze_time
from django.core import mail
from django.utils import timezone
from buyer.tests.factories import BuyerFactory
from company.tests.factories import CompanyFactory
from noti... | 38.255428 | 79 | 0.745443 | 3,865 | 29,954 | 5.397671 | 0.065977 | 0.048318 | 0.034273 | 0.041559 | 0.881411 | 0.84618 | 0.808743 | 0.761384 | 0.712731 | 0.668201 | 0 | 0.024174 | 0.153435 | 29,954 | 782 | 80 | 38.304348 | 0.798525 | 0.004974 | 0 | 0.649311 | 0 | 0 | 0.117852 | 0.042752 | 0 | 0 | 0 | 0 | 0.182236 | 1 | 0.041348 | false | 0.003063 | 0.018377 | 0 | 0.059724 | 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 |
d4de281f3061eece69c0327324f7a63c2dd087c7 | 10,037 | py | Python | understat/understat.py | arkjinli/understat | 09d8d839f07d433e5eefde2592f570986661ac93 | [
"MIT"
] | null | null | null | understat/understat.py | arkjinli/understat | 09d8d839f07d433e5eefde2592f570986661ac93 | [
"MIT"
] | null | null | null | understat/understat.py | arkjinli/understat | 09d8d839f07d433e5eefde2592f570986661ac93 | [
"MIT"
] | null | null | null | from understat.constants import BASE_URL, LEAGUE_URL, PLAYER_URL, TEAM_URL
from understat.utils import (filter_by_positions, filter_data, get_data,
to_league_name)
class Understat():
def __init__(self, session):
self.session = session
async def get_stats(self, options=Non... | 34.255973 | 79 | 0.627578 | 1,318 | 10,037 | 4.640364 | 0.081184 | 0.034336 | 0.022891 | 0.034009 | 0.836494 | 0.826357 | 0.808371 | 0.769294 | 0.704872 | 0.671517 | 0 | 0.000562 | 0.291422 | 10,037 | 292 | 80 | 34.373288 | 0.859393 | 0 | 0 | 0.673469 | 0 | 0 | 0.036229 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010204 | false | 0 | 0.020408 | 0 | 0.173469 | 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 |
078e2fd420e9fce3ec8b1d26c6ee8124b1fe1ab9 | 33 | py | Python | cupy_alias/cudnn.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 142 | 2018-06-07T07:43:10.000Z | 2021-10-30T21:06:32.000Z | cupy_alias/cudnn.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 282 | 2018-06-07T08:35:03.000Z | 2021-03-31T03:14:32.000Z | cupy_alias/cudnn.py | fixstars/clpy | 693485f85397cc110fa45803c36c30c24c297df0 | [
"BSD-3-Clause"
] | 19 | 2018-06-19T11:07:53.000Z | 2021-05-13T20:57:04.000Z | from clpy.cudnn import * # NOQA
| 16.5 | 32 | 0.69697 | 5 | 33 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 33 | 1 | 33 | 33 | 0.884615 | 0.121212 | 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 |
079660efc9c7224851ad1cac13a799845dafdbcf | 189 | py | Python | common/src/autogluon/common/__init__.py | daobook/autogluon | 7309118f2ab1c9519f25acf61a283a95af95842b | [
"Apache-2.0"
] | 1 | 2022-02-19T13:22:26.000Z | 2022-02-19T13:22:26.000Z | common/src/autogluon/common/__init__.py | daobook/autogluon | 7309118f2ab1c9519f25acf61a283a95af95842b | [
"Apache-2.0"
] | 3 | 2021-12-30T20:28:01.000Z | 2022-02-09T20:19:21.000Z | common/src/autogluon/common/__init__.py | engsarah365/autogluon | bdbaac2d13d14d075b7aa751561f0bbd39927789 | [
"Apache-2.0"
] | null | null | null | from .version import __version__
# Fixes logger in Kaggle to show logs in notebook.
from .utils.log_utils import fix_logging_if_kaggle as __fix_logging_if_kaggle
__fix_logging_if_kaggle()
| 31.5 | 77 | 0.846561 | 31 | 189 | 4.580645 | 0.548387 | 0.211268 | 0.253521 | 0.380282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116402 | 189 | 5 | 78 | 37.8 | 0.850299 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
07a42b5dff5707142dd908ead0681eb0d7c4227b | 11,372 | py | Python | tests/cupy_tests/statics_tests/test_meanvar.py | casheera/cupy | c670b6f6f1282665c9985180c10f498d8591f909 | [
"MIT"
] | null | null | null | tests/cupy_tests/statics_tests/test_meanvar.py | casheera/cupy | c670b6f6f1282665c9985180c10f498d8591f909 | [
"MIT"
] | null | null | null | tests/cupy_tests/statics_tests/test_meanvar.py | casheera/cupy | c670b6f6f1282665c9985180c10f498d8591f909 | [
"MIT"
] | null | null | null | import unittest
import pytest
import numpy
import cupy
from cupy import testing
ignore_runtime_warnings = pytest.mark.filterwarnings(
"ignore", category=RuntimeWarning)
@testing.gpu
class TestAverage(unittest.TestCase):
_multiprocess_can_split_ = True
@testing.for_all_dtypes()
@testing.numpy_cupy... | 32.124294 | 70 | 0.639729 | 1,676 | 11,372 | 4.128878 | 0.062649 | 0.070809 | 0.087861 | 0.131792 | 0.886127 | 0.873844 | 0.858815 | 0.813873 | 0.807659 | 0.807659 | 0 | 0.030916 | 0.226345 | 11,372 | 353 | 71 | 32.215297 | 0.755626 | 0 | 0 | 0.597173 | 0 | 0 | 0.006243 | 0 | 0 | 0 | 0 | 0 | 0.014134 | 1 | 0.141343 | false | 0 | 0.017668 | 0 | 0.318021 | 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 |
07c0a8343acea07f85f14615bb56b8fa7617c907 | 9,391 | py | Python | CA-project/combined_logger_rainbow_critical.py | simewu/openssl | b4b95c47e8efc25630bd3db91aa1977b591317a1 | [
"OpenSSL"
] | null | null | null | CA-project/combined_logger_rainbow_critical.py | simewu/openssl | b4b95c47e8efc25630bd3db91aa1977b591317a1 | [
"OpenSSL"
] | null | null | null | CA-project/combined_logger_rainbow_critical.py | simewu/openssl | b4b95c47e8efc25630bd3db91aa1977b591317a1 | [
"OpenSSL"
] | null | null | null | # A separate file is saved for every individual algorithm, but samples themselves are overwritten
import os
import time
import datetime
num_samples = int(input("Enter number of times to loop: \n"))
openssl_dir = os.path.expanduser('~/openssl')
def initCert(algorithm, bits = ''):
if algorithm == 'rsa':
myCmd = f... | 38.805785 | 300 | 0.694175 | 1,409 | 9,391 | 4.418027 | 0.10291 | 0.062651 | 0.04498 | 0.06747 | 0.833092 | 0.797108 | 0.782972 | 0.773333 | 0.758233 | 0.749558 | 0 | 0.031344 | 0.150676 | 9,391 | 241 | 301 | 38.966805 | 0.749122 | 0.115856 | 0 | 0.64881 | 0 | 0.095238 | 0.44775 | 0.279995 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041667 | false | 0 | 0.017857 | 0 | 0.065476 | 0.005952 | 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 |
ed088d64233e5d09e774c763017730b0726c8575 | 36 | py | Python | nogfog/snapshot/__init__.py | rgozi/nogfog | 87b18322f95a6782ea077ba367531a90b8bcf35c | [
"MIT"
] | null | null | null | nogfog/snapshot/__init__.py | rgozi/nogfog | 87b18322f95a6782ea077ba367531a90b8bcf35c | [
"MIT"
] | null | null | null | nogfog/snapshot/__init__.py | rgozi/nogfog | 87b18322f95a6782ea077ba367531a90b8bcf35c | [
"MIT"
] | null | null | null | # Created by wangmeng at 2020/12/23
| 18 | 35 | 0.75 | 7 | 36 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.166667 | 36 | 1 | 36 | 36 | 0.633333 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9c3ee95711c52c0e2b98aeb4c70466340ee5a2a1 | 42 | py | Python | src/my_module.py | igorp-lopes/Desafio2-Syngenta-Digital-2021-s1 | 58eeb24793e31555545bb55976f3fab87cd9035d | [
"Apache-2.0"
] | null | null | null | src/my_module.py | igorp-lopes/Desafio2-Syngenta-Digital-2021-s1 | 58eeb24793e31555545bb55976f3fab87cd9035d | [
"Apache-2.0"
] | null | null | null | src/my_module.py | igorp-lopes/Desafio2-Syngenta-Digital-2021-s1 | 58eeb24793e31555545bb55976f3fab87cd9035d | [
"Apache-2.0"
] | null | null | null | def addOne(number):
return number + 1
| 14 | 21 | 0.666667 | 6 | 42 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.238095 | 42 | 2 | 22 | 21 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
9c4c5c5596e0eb7ba4f01f0762f43f918367e27e | 239 | py | Python | cloudmersive_virus_api_client/api/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Virus | 959abe2e58e1b86b3191f1dc6aa6d7373c13a87f | [
"Apache-2.0"
] | 3 | 2019-05-04T21:08:14.000Z | 2021-06-15T07:08:49.000Z | cloudmersive_virus_api_client/api/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Virus | 959abe2e58e1b86b3191f1dc6aa6d7373c13a87f | [
"Apache-2.0"
] | null | null | null | cloudmersive_virus_api_client/api/__init__.py | Cloudmersive/Cloudmersive.APIClient.Python.Virus | 959abe2e58e1b86b3191f1dc6aa6d7373c13a87f | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from cloudmersive_virus_api_client.api.scan_api import ScanApi
from cloudmersive_virus_api_client.api.scan_cloud_storage_api import ScanCloudStorageApi
| 29.875 | 88 | 0.874477 | 34 | 239 | 5.705882 | 0.529412 | 0.164948 | 0.216495 | 0.247423 | 0.381443 | 0.381443 | 0.381443 | 0 | 0 | 0 | 0 | 0.00463 | 0.096234 | 239 | 7 | 89 | 34.142857 | 0.893519 | 0.171548 | 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 |
9c59fe87ec906db25361bdbf225cca3197a78288 | 2,076 | py | Python | harbor/models/__init__.py | angeiv/python-harbor | 98e1c096f031da4974dc5a5717272f55813c391c | [
"MIT"
] | 1 | 2022-01-26T18:08:56.000Z | 2022-01-26T18:08:56.000Z | harbor/models/__init__.py | angeiv/python-harbor | 98e1c096f031da4974dc5a5717272f55813c391c | [
"MIT"
] | null | null | null | harbor/models/__init__.py | angeiv/python-harbor | 98e1c096f031da4974dc5a5717272f55813c391c | [
"MIT"
] | 1 | 2022-01-25T18:18:45.000Z | 2022-01-25T18:18:45.000Z | # coding: utf-8
# flake8: noqa
"""
Harbor API
These APIs provide services for manipulating Harbor project. # noqa: E501
OpenAPI spec version: 2.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
# import models into model package
from... | 39.923077 | 78 | 0.854528 | 274 | 2,076 | 6.375912 | 0.350365 | 0.200343 | 0.32055 | 0.078993 | 0.0664 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003741 | 0.098748 | 2,076 | 51 | 79 | 40.705882 | 0.929984 | 0.115607 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9c7d987d3369df6ac9b19d9232de13cbd1726719 | 370 | py | Python | terrascript/resource/tls.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/resource/tls.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/resource/tls.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/resource/tls.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:45 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.tls
#
# instead of
#
# >>> import terrascript.resource.hashicorp.tls
#
# This is only available for 'official' and 'partner' providers.
... | 24.666667 | 73 | 0.737838 | 49 | 370 | 5.571429 | 0.714286 | 0.278388 | 0.161172 | 0.227106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037618 | 0.137838 | 370 | 14 | 74 | 26.428571 | 0.818182 | 0.797297 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
92c8107afd3d1f31f233edf0e9313de433483ece | 12,351 | py | Python | mtl/embedders/pretrained.py | vandurme/TFMTL | 5958187900bdf67089a237c523b6caa899f63ac1 | [
"Apache-2.0"
] | 10 | 2019-05-18T22:23:44.000Z | 2022-01-25T15:24:45.000Z | mtl/embedders/pretrained.py | vandurme/TFMTL | 5958187900bdf67089a237c523b6caa899f63ac1 | [
"Apache-2.0"
] | 1 | 2020-01-07T15:24:16.000Z | 2020-01-15T00:39:01.000Z | mtl/embedders/pretrained.py | vandurme/TFMTL | 5958187900bdf67089a237c523b6caa899f63ac1 | [
"Apache-2.0"
] | 1 | 2021-12-02T02:24:06.000Z | 2021-12-02T02:24:06.000Z | # Copyright 2018 Johns Hopkins University. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | 41.033223 | 86 | 0.585135 | 1,326 | 12,351 | 5.269231 | 0.156863 | 0.03206 | 0.045084 | 0.028338 | 0.738514 | 0.720624 | 0.712895 | 0.704594 | 0.704594 | 0.68513 | 0 | 0.007802 | 0.335843 | 12,351 | 300 | 87 | 41.17 | 0.84396 | 0.225731 | 0 | 0.719388 | 0 | 0 | 0.14266 | 0 | 0 | 0 | 0 | 0.003333 | 0.040816 | 1 | 0.015306 | false | 0 | 0.05102 | 0 | 0.081633 | 0.010204 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1315e4accc3506256b2d97595c125ea0cf029945 | 1,878 | py | Python | datasets.py | leekunpeng/MAGIC | f0b3d0838de15d83b97b58e3e54ef6075c1358b2 | [
"MIT"
] | 11 | 2020-08-20T13:06:27.000Z | 2022-02-16T05:39:53.000Z | datasets.py | leekunpeng/MAGIC | f0b3d0838de15d83b97b58e3e54ef6075c1358b2 | [
"MIT"
] | null | null | null | datasets.py | leekunpeng/MAGIC | f0b3d0838de15d83b97b58e3e54ef6075c1358b2 | [
"MIT"
] | 6 | 2021-03-02T20:47:24.000Z | 2021-12-17T08:49:00.000Z | import glob
import numpy as np
import os
import scipy.io as scio
import torch
from torch.utils.data import Dataset
class trainset_loader(Dataset):
def __init__(self, root, dose):
self.file_path = 'input_' + dose
self.files_A = sorted(glob.glob(os.path.join(root, 'train', self.file_path, 'data') + '... | 39.125 | 103 | 0.657082 | 263 | 1,878 | 4.346008 | 0.197719 | 0.03937 | 0.062992 | 0.099738 | 0.864392 | 0.864392 | 0.864392 | 0.864392 | 0.813648 | 0.813648 | 0 | 0.005413 | 0.212993 | 1,878 | 47 | 104 | 39.957447 | 0.76793 | 0 | 0 | 0.682927 | 0 | 0 | 0.06656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146341 | false | 0 | 0.146341 | 0.04878 | 0.439024 | 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 |
132ad4298368a948d0317c0e6f5bb1fed9388019 | 21,038 | py | Python | coronet/bingrad_common_updated.py | sabuj7177/CovidProject | b4b7bcfa5ace165520507f489dc74da7b695e2f0 | [
"Apache-2.0"
] | null | null | null | coronet/bingrad_common_updated.py | sabuj7177/CovidProject | b4b7bcfa5ace165520507f489dc74da7b695e2f0 | [
"Apache-2.0"
] | null | null | null | coronet/bingrad_common_updated.py | sabuj7177/CovidProject | b4b7bcfa5ace165520507f489dc74da7b695e2f0 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
# FLAGS = tf.app.flags.FLAGS
# tf.app.flags.DEFINE_integer('max_steps',370000,
# """Number of batches to run.""")
# tf.app.flags.DEFINE_string('net', 'alexne... | 38.320583 | 124 | 0.639842 | 2,653 | 21,038 | 4.889936 | 0.087071 | 0.019425 | 0.024281 | 0.022046 | 0.850998 | 0.807446 | 0.7854 | 0.783705 | 0.774994 | 0.768982 | 0 | 0.0133 | 0.274503 | 21,038 | 548 | 125 | 38.390511 | 0.836664 | 0.359778 | 0 | 0.688581 | 0 | 0 | 0.004563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069204 | false | 0 | 0.013841 | 0 | 0.15917 | 0.00346 | 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 |
13495de762d74dd836659966c1b770a9f723c748 | 27 | py | Python | recipes/core/util/recipe/__init__.py | bschnitz/recipes | 8af348774a1edc11ccab3da9753bc456c19f2000 | [
"MIT"
] | null | null | null | recipes/core/util/recipe/__init__.py | bschnitz/recipes | 8af348774a1edc11ccab3da9753bc456c19f2000 | [
"MIT"
] | null | null | null | recipes/core/util/recipe/__init__.py | bschnitz/recipes | 8af348774a1edc11ccab3da9753bc456c19f2000 | [
"MIT"
] | null | null | null | from .recipe import Recipe
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
135ed97212594fcf515ec0e81f9d0e7827762bd2 | 64 | py | Python | python/gateway_api/__init__.py | Koisell/SmartCoffeeMachine | 40844039970d177b20b9d3c6d3e7eedf7352885e | [
"MIT"
] | null | null | null | python/gateway_api/__init__.py | Koisell/SmartCoffeeMachine | 40844039970d177b20b9d3c6d3e7eedf7352885e | [
"MIT"
] | null | null | null | python/gateway_api/__init__.py | Koisell/SmartCoffeeMachine | 40844039970d177b20b9d3c6d3e7eedf7352885e | [
"MIT"
] | null | null | null | from .flask_app import add_route
from .doc_sender import add_doc | 32 | 32 | 0.859375 | 12 | 64 | 4.25 | 0.666667 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109375 | 64 | 2 | 33 | 32 | 0.894737 | 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 |
1360852c9802efa3694fa221e49bbb3a11243789 | 3,986 | py | Python | scripts/post_checks.py | flufpuf/ieee_fp_comp_pkg | a0c36d0648bf11e56c9f5f2989e462f5ea81ba52 | [
"MIT"
] | null | null | null | scripts/post_checks.py | flufpuf/ieee_fp_comp_pkg | a0c36d0648bf11e56c9f5f2989e462f5ea81ba52 | [
"MIT"
] | null | null | null | scripts/post_checks.py | flufpuf/ieee_fp_comp_pkg | a0c36d0648bf11e56c9f5f2989e462f5ea81ba52 | [
"MIT"
] | null | null | null | import numpy as np
import struct
import os
import csv
def hex_to_ieee_fp(hex_str):
hex_str = hex_str.strip()
if hex_str[0:2] in ["0x", "0X"]:
hex_str = hex_str[2:]
return struct.unpack(">f", bytes.fromhex(hex_str))[0]
def str_to_bool(bool_str):
if bool_str.strip() in ["true", "True", "1... | 29.094891 | 93 | 0.529604 | 544 | 3,986 | 3.588235 | 0.125 | 0.04918 | 0.040984 | 0.050717 | 0.868852 | 0.861168 | 0.861168 | 0.861168 | 0.861168 | 0.861168 | 0 | 0.012075 | 0.335173 | 3,986 | 137 | 94 | 29.094891 | 0.724528 | 0.011791 | 0 | 0.604651 | 0 | 0 | 0.092503 | 0 | 0 | 0 | 0.001525 | 0 | 0 | 1 | 0.069767 | false | 0 | 0.046512 | 0 | 0.197674 | 0.093023 | 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 |
1393ad31e8974b2358a3a84e4354d882fa3e9117 | 27,885 | py | Python | tests/agent/test_docker_agent.py | mattalhonte/prefect | aa4f0a42d721c9d926265f761a47ccfd8e4e7393 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/agent/test_docker_agent.py | mattalhonte/prefect | aa4f0a42d721c9d926265f761a47ccfd8e4e7393 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2022-02-14T11:25:57.000Z | 2022-02-27T16:25:14.000Z | tests/agent/test_docker_agent.py | mattalhonte/prefect | aa4f0a42d721c9d926265f761a47ccfd8e4e7393 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-05-31T04:42:56.000Z | 2020-05-31T04:42:56.000Z | from unittest.mock import MagicMock
import pytest
from prefect import context
from prefect.agent.docker import DockerAgent
from prefect.environments.storage import Docker, Local
from prefect.utilities.configuration import set_temporary_config
from prefect.utilities.graphql import GraphQLResult
def test_docker_agent... | 29.759872 | 98 | 0.602008 | 2,916 | 27,885 | 5.47668 | 0.077846 | 0.073137 | 0.078272 | 0.093926 | 0.854101 | 0.82129 | 0.798873 | 0.754101 | 0.73757 | 0.733125 | 0 | 0.00272 | 0.274736 | 27,885 | 936 | 99 | 29.791667 | 0.786936 | 0.021374 | 0 | 0.642202 | 0 | 0 | 0.215438 | 0.141217 | 0 | 0 | 0 | 0 | 0.102228 | 1 | 0.04325 | false | 0 | 0.013106 | 0 | 0.056356 | 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 |
13cd7c4da098facf1a6158a62737e976e427b9d8 | 256,588 | py | Python | test/test_autopep8.py | bryanwills/autopep8 | 577774fa57619ea87682c0999d9e91cd1cdb7425 | [
"MIT"
] | null | null | null | test/test_autopep8.py | bryanwills/autopep8 | 577774fa57619ea87682c0999d9e91cd1cdb7425 | [
"MIT"
] | null | null | null | test/test_autopep8.py | bryanwills/autopep8 | 577774fa57619ea87682c0999d9e91cd1cdb7425 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
"""Test suite for autopep8.
Unit tests go in "UnitTests". System tests go in "SystemTests".
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import os
import re
import sys
i... | 33.792704 | 417 | 0.56823 | 29,003 | 256,588 | 4.870703 | 0.056787 | 0.067851 | 0.070017 | 0.075872 | 0.864326 | 0.838856 | 0.812275 | 0.790443 | 0.76411 | 0.740806 | 0 | 0.042957 | 0.283996 | 256,588 | 7,592 | 418 | 33.797155 | 0.725966 | 0.012121 | 0 | 0.697372 | 0 | 0.033385 | 0.444255 | 0.111292 | 0.000618 | 0 | 0 | 0.000263 | 0.10881 | 1 | 0.093045 | false | 0.026584 | 0.019165 | 0 | 0.119475 | 0.029366 | 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 |
b92c758844f5d078d36f95f18133e96bdc1ac954 | 103 | py | Python | adversarial_search/__init__.py | marcelodeleon/heuristic-training | 67a6bb35e95a1d84ef248f7abb5d689110494a7e | [
"MIT"
] | null | null | null | adversarial_search/__init__.py | marcelodeleon/heuristic-training | 67a6bb35e95a1d84ef248f7abb5d689110494a7e | [
"MIT"
] | null | null | null | adversarial_search/__init__.py | marcelodeleon/heuristic-training | 67a6bb35e95a1d84ef248f7abb5d689110494a7e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from . import core
from . import utils
from . import games
from . import agents | 20.6 | 23 | 0.679612 | 15 | 103 | 4.666667 | 0.6 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.194175 | 103 | 5 | 24 | 20.6 | 0.831325 | 0.203884 | 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 |
b932fe8664fe9f397483822f7b69214fb7404be6 | 10,982 | py | Python | Packs/Anomali_Enterprise/Integrations/Anomali_Enterprise/Anomali_Enterprise_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 1 | 2021-08-07T00:21:58.000Z | 2021-08-07T00:21:58.000Z | Packs/Anomali_Enterprise/Integrations/Anomali_Enterprise/Anomali_Enterprise_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 3 | 2019-12-13T13:27:20.000Z | 2020-01-01T14:27:45.000Z | Packs/Anomali_Enterprise/Integrations/Anomali_Enterprise/Anomali_Enterprise_test.py | matan-xmcyber/content | 7f02301c140b35956af3cd20cb8dfc64f34afb3e | [
"MIT"
] | 1 | 2021-01-05T12:20:30.000Z | 2021-01-05T12:20:30.000Z | import pytest
from Anomali_Enterprise import *
def test_domain_command_benign(mocker):
"""
Given:
- a domain
When:
- mocking the server response for a benign domain, running domain_command
Then:
- validating that the domain score is unknown
- validating the returned c... | 39.081851 | 120 | 0.606265 | 1,246 | 10,982 | 5.157303 | 0.128411 | 0.010271 | 0.010271 | 0.044818 | 0.84267 | 0.82991 | 0.81606 | 0.759882 | 0.74821 | 0.74821 | 0 | 0.036701 | 0.238299 | 10,982 | 280 | 121 | 39.221429 | 0.7315 | 0.159443 | 0 | 0.512346 | 0 | 0 | 0.354115 | 0.06885 | 0 | 0 | 0 | 0 | 0.067901 | 1 | 0.049383 | false | 0.049383 | 0.012346 | 0 | 0.061728 | 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 |
b938e38576fe7998cefc0e2d9b43b03482037de6 | 25,426 | py | Python | tests/test_relations_hyperlink.py | loic/django-rest-framework | c5a2d501e56201c437118aa65004b33d20216b55 | [
"Unlicense"
] | null | null | null | tests/test_relations_hyperlink.py | loic/django-rest-framework | c5a2d501e56201c437118aa65004b33d20216b55 | [
"Unlicense"
] | null | null | null | tests/test_relations_hyperlink.py | loic/django-rest-framework | c5a2d501e56201c437118aa65004b33d20216b55 | [
"Unlicense"
] | null | null | null | from __future__ import unicode_literals
from django.conf.urls import patterns, url
from django.test import TestCase
from rest_framework import serializers
from rest_framework.test import APIRequestFactory
from tests.models import (
ManyToManyTarget, ManyToManySource, ForeignKeyTarget, ForeignKeySource,
Nullable... | 58.585253 | 219 | 0.661331 | 2,498 | 25,426 | 6.672938 | 0.061649 | 0.133541 | 0.075469 | 0.052193 | 0.85722 | 0.828124 | 0.816966 | 0.801788 | 0.795669 | 0.782171 | 0 | 0.013755 | 0.17368 | 25,426 | 433 | 220 | 58.720554 | 0.779629 | 0.045937 | 0 | 0.594752 | 0 | 0 | 0.363873 | 0.023536 | 0 | 0 | 0 | 0.002309 | 0.154519 | 1 | 0.069971 | false | 0 | 0.017493 | 0 | 0.145773 | 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 |
b9b2ee756f748c92bb03985c35eddbe6e2c1ba2d | 104 | py | Python | pasa/__init__.py | sonoisa/pasa | 90dbcd72890bfe390d2a58f2a4cdb79d42a9f9f8 | [
"MIT"
] | 5 | 2018-07-23T05:45:24.000Z | 2021-04-04T14:59:15.000Z | pasa/__init__.py | sonoisa/pasa | 90dbcd72890bfe390d2a58f2a4cdb79d42a9f9f8 | [
"MIT"
] | 2 | 2019-01-28T04:33:12.000Z | 2019-11-20T14:30:27.000Z | pasa/__init__.py | sonoisa/pasa | 90dbcd72890bfe390d2a58f2a4cdb79d42a9f9f8 | [
"MIT"
] | 1 | 2020-02-07T08:09:12.000Z | 2020-02-07T08:09:12.000Z | # -*- coding: utf-8 -*-
from . import init
from . import parse
from . import result
from . import dict
| 14.857143 | 23 | 0.663462 | 15 | 104 | 4.6 | 0.6 | 0.57971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.211538 | 104 | 6 | 24 | 17.333333 | 0.829268 | 0.201923 | 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 |
6a3e3118a996ef5c50f54ed54d0642c7d849b9cb | 11,545 | py | Python | hgraph/hgnn.py | siboehm/hgraph2graph | 91d0dc763be1f9bc97e0c2473b0a00a058b4a9f9 | [
"MIT"
] | null | null | null | hgraph/hgnn.py | siboehm/hgraph2graph | 91d0dc763be1f9bc97e0c2473b0a00a058b4a9f9 | [
"MIT"
] | null | null | null | hgraph/hgnn.py | siboehm/hgraph2graph | 91d0dc763be1f9bc97e0c2473b0a00a058b4a9f9 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import rdkit.Chem as Chem
import torch.nn.functional as F
from hgraph.mol_graph import MolGraph
from hgraph.encoder import HierMPNEncoder
from hgraph.decoder import HierMPNDecoder
from hgraph.nnutils import *
def make_cuda(tensors):
tree_tensors, graph_tensors = tensors
make... | 41.82971 | 99 | 0.629104 | 1,675 | 11,545 | 4.01791 | 0.079403 | 0.065379 | 0.047845 | 0.045468 | 0.847103 | 0.826449 | 0.802823 | 0.769391 | 0.751263 | 0.7263 | 0 | 0.010355 | 0.255522 | 11,545 | 275 | 100 | 41.981818 | 0.772659 | 0.011 | 0 | 0.561181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004219 | 1 | 0.059072 | false | 0 | 0.033755 | 0 | 0.151899 | 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 |
dbe5488b0c9dd7e0247e4e990ce64e39938abad2 | 8,031 | py | Python | polyaxon_cli/cli/bookmark.py | vfdev-5/polyaxon-cli | 9232c3b614d3025b9e31c79fbe632cd35fcfcc64 | [
"MIT"
] | null | null | null | polyaxon_cli/cli/bookmark.py | vfdev-5/polyaxon-cli | 9232c3b614d3025b9e31c79fbe632cd35fcfcc64 | [
"MIT"
] | null | null | null | polyaxon_cli/cli/bookmark.py | vfdev-5/polyaxon-cli | 9232c3b614d3025b9e31c79fbe632cd35fcfcc64 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
import sys
import click
from polyaxon_cli.cli.getters.user import get_username_or_local
from polyaxon_cli.client import PolyaxonClient
from polyaxon_cli.client.exceptions import PolyaxonHTTPError, PolyaxonShouldExitError
from po... | 29.855019 | 97 | 0.671772 | 953 | 8,031 | 5.499475 | 0.114376 | 0.068689 | 0.068689 | 0.048655 | 0.815112 | 0.810151 | 0.749857 | 0.74356 | 0.732494 | 0.726388 | 0 | 0.001727 | 0.206824 | 8,031 | 268 | 98 | 29.966418 | 0.821036 | 0.130494 | 0 | 0.653846 | 0 | 0 | 0.174062 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0.038462 | 0.057692 | 0 | 0.096154 | 0.198718 | 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 |
dbec1484508cf913e48b6ca0d59283ded58ac0f0 | 12,219 | py | Python | homeassistant/components/zwave/discovery_schemas.py | petewill/home-assistant | 5859dba4344f05fb8774aa1207e47ac28f627a67 | [
"Apache-2.0"
] | 3 | 2020-01-21T18:09:09.000Z | 2022-01-17T08:06:03.000Z | homeassistant/components/zwave/discovery_schemas.py | petewill/home-assistant | 5859dba4344f05fb8774aa1207e47ac28f627a67 | [
"Apache-2.0"
] | 39 | 2016-12-16T12:40:34.000Z | 2017-02-13T17:53:42.000Z | homeassistant/components/zwave/discovery_schemas.py | petewill/home-assistant | 5859dba4344f05fb8774aa1207e47ac28f627a67 | [
"Apache-2.0"
] | 3 | 2020-03-03T18:14:10.000Z | 2020-10-04T06:52:45.000Z | """Z-Wave discovery schemas."""
from . import const
DEFAULT_VALUES_SCHEMA = {
"power": {
const.DISC_SCHEMAS: [
{
const.DISC_COMMAND_CLASS: [const.COMMAND_CLASS_SENSOR_MULTILEVEL],
const.DISC_INDEX: [const.INDEX_SENSOR_MULTILEVEL_POWER],
},
... | 38.790476 | 88 | 0.548245 | 1,105 | 12,219 | 5.561086 | 0.085068 | 0.172823 | 0.088527 | 0.095688 | 0.879089 | 0.813507 | 0.78633 | 0.750041 | 0.703173 | 0.653051 | 0 | 0.00118 | 0.376054 | 12,219 | 314 | 89 | 38.914013 | 0.804827 | 0.006465 | 0 | 0.569132 | 0 | 0 | 0.019205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003215 | 0 | 0.003215 | 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 |
dbfdd93c750cfcec4ab1203d229b04930d5e07b0 | 111 | py | Python | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/parse/__init__.py | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/parse/__init__.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tools/Vitis-AI-Quantizer/vai_q_pytorch/pytorch_binding/pytorch_nndct/parse/__init__.py | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | from .trace_helper import *
from .parser import *
from .node_transformer import *
from .script_helper import *
| 22.2 | 31 | 0.783784 | 15 | 111 | 5.6 | 0.533333 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144144 | 111 | 4 | 32 | 27.75 | 0.884211 | 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 |
e00da7aa608b57094acd1a2b272e291b47817bfb | 29 | py | Python | agds_API/app/__init__.py | Maelstro/twitter-semantic-analysis | 16425590c0644b25cc070c2e9fcf490946b9f9db | [
"W3C"
] | null | null | null | agds_API/app/__init__.py | Maelstro/twitter-semantic-analysis | 16425590c0644b25cc070c2e9fcf490946b9f9db | [
"W3C"
] | null | null | null | agds_API/app/__init__.py | Maelstro/twitter-semantic-analysis | 16425590c0644b25cc070c2e9fcf490946b9f9db | [
"W3C"
] | null | null | null | from text_processing import * | 29 | 29 | 0.862069 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 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 |
e010f79371a109bfdbf1eed1e95a7b753b0eeca0 | 8,468 | py | Python | tests/test_ddl_compiler.py | jferg368/sqlalchemy-redshift | 5bd6e0dcefbd0a2f3cee0001efc5565ac2395cd2 | [
"MIT"
] | null | null | null | tests/test_ddl_compiler.py | jferg368/sqlalchemy-redshift | 5bd6e0dcefbd0a2f3cee0001efc5565ac2395cd2 | [
"MIT"
] | null | null | null | tests/test_ddl_compiler.py | jferg368/sqlalchemy-redshift | 5bd6e0dcefbd0a2f3cee0001efc5565ac2395cd2 | [
"MIT"
] | null | null | null | import difflib
import pytest
from sqlalchemy import Table, Column, Integer, String, MetaData
from sqlalchemy.exc import CompileError
from sqlalchemy.schema import CreateTable
from sqlalchemy_redshift.dialect import RedshiftDDLCompiler, RedshiftDialect
class TestDDLCompiler(object):
@pytest.fixture
def comp... | 34.704918 | 79 | 0.527515 | 886 | 8,468 | 4.905192 | 0.092551 | 0.015647 | 0.04694 | 0.060746 | 0.818914 | 0.814772 | 0.814772 | 0.814772 | 0.814772 | 0.814772 | 0 | 0.004999 | 0.362187 | 8,468 | 243 | 80 | 34.847737 | 0.799667 | 0 | 0 | 0.671569 | 0 | 0 | 0.157298 | 0 | 0 | 0 | 0 | 0 | 0.063725 | 1 | 0.068627 | false | 0 | 0.029412 | 0 | 0.112745 | 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 |
e016265bd6b3ef20b07955f576a3ed6b89e6e085 | 179 | py | Python | microfreshener/core/importer/iimporter.py | di-unipi-socc/micro-tosca | 5d5c9361b34eeabaed8955ddc62282607672bd81 | [
"MIT"
] | null | null | null | microfreshener/core/importer/iimporter.py | di-unipi-socc/micro-tosca | 5d5c9361b34eeabaed8955ddc62282607672bd81 | [
"MIT"
] | 3 | 2019-10-02T13:55:39.000Z | 2021-06-01T22:55:20.000Z | microfreshener/core/importer/iimporter.py | di-unipi-socc/microFreshener-core | 5d5c9361b34eeabaed8955ddc62282607672bd81 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from ..model import MicroToscaModel
class Importer(ABC):
@abstractmethod
def Import(self, path:str)->MicroToscaModel:
pass | 22.375 | 48 | 0.72067 | 20 | 179 | 6.45 | 0.65 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201117 | 179 | 8 | 49 | 22.375 | 0.902098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.666667 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
e01702c547a5af98158f2ccdfc89232e44603f5c | 140 | py | Python | campuscats/campus/admin.py | CaptainMorch/CampusCats | 82c35fcb3c498fb969726c3d4c30efa7aaf985cc | [
"MIT"
] | 1 | 2021-09-29T07:26:19.000Z | 2021-09-29T07:26:19.000Z | campuscats/campus/admin.py | CaptainMorch/CampusCats | 82c35fcb3c498fb969726c3d4c30efa7aaf985cc | [
"MIT"
] | null | null | null | campuscats/campus/admin.py | CaptainMorch/CampusCats | 82c35fcb3c498fb969726c3d4c30efa7aaf985cc | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Campus, Location
# Register your models here.
admin.site.register((Campus, Location,)) | 28 | 40 | 0.792857 | 19 | 140 | 5.842105 | 0.631579 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 140 | 5 | 40 | 28 | 0.895161 | 0.185714 | 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 |
e03c0e31b5b6e774529fe162c64db5b6d9411dc2 | 80 | py | Python | test/test_vis.py | quizlet/abracadabra | eda599bd02f14b96efdc521f53132d93c9100ede | [
"MIT"
] | 24 | 2020-06-12T16:12:32.000Z | 2021-09-01T12:25:38.000Z | test/test_vis.py | quizlet/abracadabra | eda599bd02f14b96efdc521f53132d93c9100ede | [
"MIT"
] | 20 | 2020-06-12T06:26:08.000Z | 2022-03-12T00:57:51.000Z | test/test_vis.py | quizlet/abracadabra | eda599bd02f14b96efdc521f53132d93c9100ede | [
"MIT"
] | 4 | 2020-06-14T12:14:11.000Z | 2021-05-28T15:36:44.000Z | from abra import vis
def test_colors():
assert hasattr(vis.COLORS, 'blue') | 16 | 38 | 0.7125 | 12 | 80 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 5 | 38 | 16 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e048cb88abb2c24f0f497aa995457a16647491cb | 389 | py | Python | exercicios/ex115c.py | EduardoPessanha/Git-Python | 87aa10af09510469032732ed2c55d0d65eb4c1d6 | [
"MIT"
] | null | null | null | exercicios/ex115c.py | EduardoPessanha/Git-Python | 87aa10af09510469032732ed2c55d0d65eb4c1d6 | [
"MIT"
] | null | null | null | exercicios/ex115c.py | EduardoPessanha/Git-Python | 87aa10af09510469032732ed2c55d0d65eb4c1d6 | [
"MIT"
] | null | null | null | from utilitarios import titulo
# *********************** Desafio 115c *********************** #
# Finalizando o projeto #
# Vamos finalizar o projeto de acesso a arquivos em Python. #
# ************************************************************ #
titulo('Finalizando o projet... | 43.222222 | 64 | 0.33162 | 23 | 389 | 5.608696 | 0.73913 | 0.186047 | 0.294574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009677 | 0.203085 | 389 | 8 | 65 | 48.625 | 0.406452 | 0.791774 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0eb9037c8a405ad1bb82c4f5b85e5a70f2001cc7 | 22 | py | Python | project/apps/task_queue/implementation/__init__.py | expert-m/crazy-bear | 46b7a907f940116831378e1eff6d01badbdcc975 | [
"MIT"
] | null | null | null | project/apps/task_queue/implementation/__init__.py | expert-m/crazy-bear | 46b7a907f940116831378e1eff6d01badbdcc975 | [
"MIT"
] | 5 | 2021-08-14T03:12:56.000Z | 2022-02-16T12:37:15.000Z | project/apps/task_queue/implementation/__init__.py | expert-m/crazy-bear | 46b7a907f940116831378e1eff6d01badbdcc975 | [
"MIT"
] | null | null | null | from .thread import *
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 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 |
0ef328fc401a01ebf89010f58f3848fa8b5218b2 | 5,874 | py | Python | valid8/validation_lib/types.py | smarie/python-validate | c8a10ccede1c0782355439b0966f532bf00dfcab | [
"BSD-3-Clause"
] | 26 | 2018-01-10T03:44:19.000Z | 2021-11-28T07:56:31.000Z | valid8/validation_lib/types.py | smarie/python-validate | c8a10ccede1c0782355439b0966f532bf00dfcab | [
"BSD-3-Clause"
] | 55 | 2017-11-06T14:45:47.000Z | 2021-05-12T08:28:11.000Z | valid8/validation_lib/types.py | smarie/python-valid8 | c8a10ccede1c0782355439b0966f532bf00dfcab | [
"BSD-3-Clause"
] | null | null | null | from valid8.base import ValidationFailure
class HasWrongType(ValidationFailure, TypeError):
""" Custom ValidationFailure raised by instance_of """
help_msg = "Value should be an instance of {ref_type}"
def __init__(self,
wrong_value,
ref_type,
**kwargs
... | 36.7125 | 118 | 0.545965 | 699 | 5,874 | 4.380544 | 0.1402 | 0.144024 | 0.032658 | 0.045722 | 0.901372 | 0.839974 | 0.753756 | 0.753103 | 0.743305 | 0.734161 | 0 | 0.00306 | 0.387981 | 5,874 | 159 | 119 | 36.943396 | 0.848679 | 0.23919 | 0 | 0.679612 | 0 | 0 | 0.105456 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07767 | false | 0 | 0.009709 | 0 | 0.223301 | 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 |
0ef6cea666315dd67960efaac5ad382c01a34b3f | 51 | py | Python | src/pytorch_beam_search/__init__.py | jarobyte91/pytorch_text_generation | ff3b2d6f0f650c5818bba53788229742bdfeafdd | [
"MIT"
] | 4 | 2021-11-09T01:38:14.000Z | 2021-12-17T15:03:20.000Z | src/pytorch_beam_search/__init__.py | jarobyte91/pytorch_text_generation | ff3b2d6f0f650c5818bba53788229742bdfeafdd | [
"MIT"
] | null | null | null | src/pytorch_beam_search/__init__.py | jarobyte91/pytorch_text_generation | ff3b2d6f0f650c5818bba53788229742bdfeafdd | [
"MIT"
] | null | null | null | from . import autoregressive
from . import seq2seq
| 17 | 28 | 0.803922 | 6 | 51 | 6.833333 | 0.666667 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.156863 | 51 | 2 | 29 | 25.5 | 0.930233 | 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 |
163df5a096915502a8e5dc85448b0ed5e475c7bb | 91 | py | Python | alttprbot/alttprgen/randomizer/smb3r.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | 15 | 2019-10-15T21:35:59.000Z | 2022-03-31T19:49:39.000Z | alttprbot/alttprgen/randomizer/smb3r.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | 12 | 2019-10-06T01:33:13.000Z | 2022-03-10T14:35:16.000Z | alttprbot/alttprgen/randomizer/smb3r.py | floresmatthew/sahasrahbot | a3fcc2aba9cd204331ce612ecf269d8a48a1ebc4 | [
"MIT"
] | 28 | 2019-11-25T23:49:56.000Z | 2022-03-10T04:03:31.000Z | import random
def roll_smb3r(flags):
return random.randrange(0, 999999999999), flags
| 15.166667 | 51 | 0.758242 | 12 | 91 | 5.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.153846 | 91 | 5 | 52 | 18.2 | 0.701299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
1642f450fe8402d4014bbc9fdca0cd22a88fc01f | 32,064 | py | Python | defectsep/check_rules.py | gustavorps/rtscheck | c3aaa8bc44d43b08f048573c3cb73092a72c88e2 | [
"MIT"
] | 2 | 2020-07-28T15:35:39.000Z | 2021-12-19T19:58:27.000Z | defectsep/check_rules.py | gustavorps/rtscheck | c3aaa8bc44d43b08f048573c3cb73092a72c88e2 | [
"MIT"
] | null | null | null | defectsep/check_rules.py | gustavorps/rtscheck | c3aaa8bc44d43b08f048573c3cb73092a72c88e2 | [
"MIT"
] | 2 | 2021-01-02T03:55:33.000Z | 2021-03-15T21:33:46.000Z | #!/usr/bin/python3
import os
import sys
import time
import subprocess as sub
import re
import shutil
import argparse
import datetime
import collections
import distutils.core
SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) # Dir of this script
RUN_FIXED_THEN_BUGGY_TABLE = SCRIPT_DIR + '/tables/defectsep-fixed... | 53.44 | 97 | 0.638754 | 3,898 | 32,064 | 4.906619 | 0.053874 | 0.031894 | 0.027606 | 0.04486 | 0.850779 | 0.816532 | 0.79222 | 0.760535 | 0.719178 | 0.704747 | 0 | 0.016789 | 0.256955 | 32,064 | 599 | 98 | 53.529215 | 0.785981 | 0.064371 | 0 | 0.610039 | 0 | 0 | 0.065782 | 0.035748 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052124 | false | 0 | 0.019305 | 0 | 0.079151 | 0.005792 | 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 |
1646fcaf425cf9303b58bc9f34d153f983898af5 | 165 | py | Python | django/code/TheSphinx/consumers/__init__.py | aitalshashank2/The-Meeting-Sphinx | 7825c8f94748298f0c81bb0f40eeac56177526f7 | [
"Apache-2.0"
] | 4 | 2021-05-16T18:02:30.000Z | 2021-05-21T16:32:17.000Z | django/code/TheSphinx/consumers/__init__.py | aitalshashank2/The-Meeting-Sphinx | 7825c8f94748298f0c81bb0f40eeac56177526f7 | [
"Apache-2.0"
] | 5 | 2021-05-07T16:31:27.000Z | 2021-06-04T12:24:28.000Z | django/code/TheSphinx/consumers/__init__.py | aitalshashank2/The-Meeting-Sphinx | 7825c8f94748298f0c81bb0f40eeac56177526f7 | [
"Apache-2.0"
] | 2 | 2021-05-24T06:56:53.000Z | 2021-08-05T10:10:58.000Z | from TheSphinx.consumers.meeting import MeetingConsumer
from TheSphinx.consumers.chat import ChatConsumer
from TheSphinx.consumers.videoCall import VideoCallConsumer | 55 | 59 | 0.89697 | 18 | 165 | 8.222222 | 0.555556 | 0.263514 | 0.445946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 165 | 3 | 59 | 55 | 0.961039 | 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 |
166af83276d70f368643f6ee3e6488bd684c1eb9 | 250 | py | Python | src/Lib/python/roadwork/roadwork/server/__init__.py | Random-Word/Roadwork-RL | 146d96a9adbee3284d46b17bac28a43bae8a72c1 | [
"MIT"
] | null | null | null | src/Lib/python/roadwork/roadwork/server/__init__.py | Random-Word/Roadwork-RL | 146d96a9adbee3284d46b17bac28a43bae8a72c1 | [
"MIT"
] | null | null | null | src/Lib/python/roadwork/roadwork/server/__init__.py | Random-Word/Roadwork-RL | 146d96a9adbee3284d46b17bac28a43bae8a72c1 | [
"MIT"
] | null | null | null | from roadwork.server.base_server import Server
from roadwork.server.actor_service import RoadworkActorService
from roadwork.server.actor_interface import RoadworkActorInterface
__all__ = [ "Server", "RoadworkActorService", "RoadworkActorInterface" ] | 50 | 72 | 0.856 | 25 | 250 | 8.28 | 0.44 | 0.173913 | 0.26087 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076 | 250 | 5 | 72 | 50 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.191235 | 0.087649 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
16da482d6ae9826ff55d1dbda34f4cd21eb64288 | 642 | py | Python | Packages/Patterns_Package/symbols/filled_symbols/Reverse_Left_Faced_Right_angle_Triangle.py | saribalarakeshreddy/Python-3.9.0 | 25b4c74feb2a27b91e69aa82becde23e356e82c4 | [
"MIT"
] | null | null | null | Packages/Patterns_Package/symbols/filled_symbols/Reverse_Left_Faced_Right_angle_Triangle.py | saribalarakeshreddy/Python-3.9.0 | 25b4c74feb2a27b91e69aa82becde23e356e82c4 | [
"MIT"
] | null | null | null | Packages/Patterns_Package/symbols/filled_symbols/Reverse_Left_Faced_Right_angle_Triangle.py | saribalarakeshreddy/Python-3.9.0 | 25b4c74feb2a27b91e69aa82becde23e356e82c4 | [
"MIT"
] | null | null | null | def for_Reverse_Left_faced_Right_Angled_Triangle():
""" pattern for : Reverse_Left_faced_Right_Angled_Triangle"""
for i in range(5):
for j in range(5):
if i<=j:
print('*',end=' ')
else:
print(' ',end=' ')
print()
def while_Reverse_... | 29.181818 | 66 | 0.46729 | 74 | 642 | 3.756757 | 0.283784 | 0.158273 | 0.230216 | 0.302158 | 0.766187 | 0.766187 | 0.766187 | 0.755396 | 0.755396 | 0.57554 | 0 | 0.020942 | 0.404984 | 642 | 22 | 67 | 29.181818 | 0.706806 | 0.169782 | 0 | 0.5 | 0 | 0 | 0.016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.1 | 0.3 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
16e161c49470115f0bd3115c390fca3a8ad4fe82 | 96 | py | Python | cmspy/MS/__init__.py | AlanLoh/cmspy | baafb1e0fea8d3b192f20db165be1dbb23be664a | [
"MIT"
] | null | null | null | cmspy/MS/__init__.py | AlanLoh/cmspy | baafb1e0fea8d3b192f20db165be1dbb23be664a | [
"MIT"
] | null | null | null | cmspy/MS/__init__.py | AlanLoh/cmspy | baafb1e0fea8d3b192f20db165be1dbb23be664a | [
"MIT"
] | null | null | null | #! /usr/bin/python3
# -*- coding: utf-8 -*-
from .plot_func import *
from .util_func import *
| 13.714286 | 24 | 0.635417 | 14 | 96 | 4.214286 | 0.785714 | 0.338983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.177083 | 96 | 6 | 25 | 16 | 0.721519 | 0.416667 | 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 |
bc59b8474161495951d86586cc215624b0af3fe3 | 240 | py | Python | consul/__init__.py | authbox-lib/python-consul | 347347df750eaa2a39d410fc5f32faf58619180c | [
"MIT"
] | null | null | null | consul/__init__.py | authbox-lib/python-consul | 347347df750eaa2a39d410fc5f32faf58619180c | [
"MIT"
] | null | null | null | consul/__init__.py | authbox-lib/python-consul | 347347df750eaa2a39d410fc5f32faf58619180c | [
"MIT"
] | 1 | 2018-04-02T22:06:34.000Z | 2018-04-02T22:06:34.000Z | __version__ = '0.3.15'
from consul.std import Consul
from consul.base import ConsulException
from consul.base import ACLPermissionDenied
from consul.base import ACLDisabled
from consul.base import NotFound
from consul.base import Timeout
| 24 | 43 | 0.833333 | 34 | 240 | 5.764706 | 0.411765 | 0.306122 | 0.357143 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0.120833 | 240 | 9 | 44 | 26.666667 | 0.909953 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 |
bc8564e9b3ab1d6a0723b63240d862e2402161e9 | 220 | py | Python | Commands/Command_Verify_Tensorflow_Keras_Theano.py | amrfarouqa/Egyptian-Hieroglyph-Recognition | 0b9220b8d3fd0756270cfa68899ddcc5a8024b3a | [
"Unlicense"
] | null | null | null | Commands/Command_Verify_Tensorflow_Keras_Theano.py | amrfarouqa/Egyptian-Hieroglyph-Recognition | 0b9220b8d3fd0756270cfa68899ddcc5a8024b3a | [
"Unlicense"
] | null | null | null | Commands/Command_Verify_Tensorflow_Keras_Theano.py | amrfarouqa/Egyptian-Hieroglyph-Recognition | 0b9220b8d3fd0756270cfa68899ddcc5a8024b3a | [
"Unlicense"
] | null | null | null | # theano
import theano
print('theano: %s' % theano.__version__)
# tensorflow
import tensorflow
print('tensorflow: %s' % tensorflow.__version__)
# keras
from tensorflow import keras
print('keras: %s' % keras.__version__) | 24.444444 | 48 | 0.759091 | 26 | 220 | 5.961538 | 0.307692 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 220 | 9 | 49 | 24.444444 | 0.798969 | 0.104545 | 0 | 0 | 0 | 0 | 0.170103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
bcbcb9eaad857eeb9664871e3f9414cc0364ddc8 | 30 | py | Python | tradssat/weather/wth/__init__.py | FabioSeixas/traDSSAT | e7ac31a3c2d0f4f303c64c0ea685ce2903502b4c | [
"MIT"
] | 6 | 2020-10-05T11:50:37.000Z | 2022-02-24T08:36:22.000Z | tradssat/weather/wth/__init__.py | FabioSeixas/traDSSAT | e7ac31a3c2d0f4f303c64c0ea685ce2903502b4c | [
"MIT"
] | 23 | 2018-11-08T19:16:36.000Z | 2021-07-20T23:34:18.000Z | tradssat/weather/wth/__init__.py | FabioSeixas/traDSSAT | e7ac31a3c2d0f4f303c64c0ea685ce2903502b4c | [
"MIT"
] | 9 | 2018-11-06T21:04:07.000Z | 2021-06-19T05:43:24.000Z | from .wth_file import WTHFile
| 15 | 29 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 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 |
4c0a323200596f3d988ecdf03d74699fd003f5b9 | 23 | py | Python | drop/demo/__init__.py | jemten/drop | 6e9b586304875c30862dacee320959d16cc98cfe | [
"MIT"
] | 58 | 2019-10-18T22:53:21.000Z | 2022-03-30T08:37:05.000Z | drop/demo/__init__.py | jemten/drop | 6e9b586304875c30862dacee320959d16cc98cfe | [
"MIT"
] | 185 | 2020-01-10T13:39:12.000Z | 2022-03-31T15:25:01.000Z | drop/demo/__init__.py | jemten/drop | 6e9b586304875c30862dacee320959d16cc98cfe | [
"MIT"
] | 32 | 2019-10-15T15:13:20.000Z | 2022-03-22T05:25:25.000Z | from .fixPaths import * | 23 | 23 | 0.782609 | 3 | 23 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 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 |
9128e9f5103fbf01b673ff33229cc1aca74bc939 | 160 | py | Python | index.py | coder-yuan/vue-template-api | 135f13d7c32b4a2830366fc0b79a1e2a1eda6923 | [
"MIT"
] | null | null | null | index.py | coder-yuan/vue-template-api | 135f13d7c32b4a2830366fc0b79a1e2a1eda6923 | [
"MIT"
] | null | null | null | index.py | coder-yuan/vue-template-api | 135f13d7c32b4a2830366fc0b79a1e2a1eda6923 | [
"MIT"
] | null | null | null | from app import flask_app
if __name__ == '__main__':
flask_app.run(host=flask_app.config.get('HOST'),
port=flask_app.config.get('PORT'))
| 26.666667 | 52 | 0.65 | 23 | 160 | 4 | 0.521739 | 0.347826 | 0.304348 | 0.369565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20625 | 160 | 5 | 53 | 32 | 0.724409 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9137b5c28733918046e5eacb19c4728ba5c7e3ab | 140 | py | Python | run-server.py | teodorescuserban/hxl-proxy | 5bd535edf0ca84fc76adeb000f366a4cf16bce5e | [
"Unlicense"
] | null | null | null | run-server.py | teodorescuserban/hxl-proxy | 5bd535edf0ca84fc76adeb000f366a4cf16bce5e | [
"Unlicense"
] | null | null | null | run-server.py | teodorescuserban/hxl-proxy | 5bd535edf0ca84fc76adeb000f366a4cf16bce5e | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
"""Run a local dev copy of the HXL Proxy"""
import sys
from hxl_proxy import app
app.run(debug=True, host='0.0.0.0')
| 20 | 43 | 0.7 | 29 | 140 | 3.344828 | 0.724138 | 0.061856 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.142857 | 140 | 6 | 44 | 23.333333 | 0.775 | 0.414286 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
914c2c5928fe6cc64f0b23915b391e57e2e59696 | 4,099 | py | Python | benchmark/bench_vigra.py | k-dominik/fastfilters | 715281e8ee20e15080e416b60e13e1d33984908f | [
"MIT"
] | 7 | 2016-06-13T13:48:28.000Z | 2021-05-30T06:49:43.000Z | benchmark/bench_vigra.py | hci-unihd/fastfilters | 715281e8ee20e15080e416b60e13e1d33984908f | [
"MIT"
] | 16 | 2016-06-14T22:00:05.000Z | 2019-10-05T12:12:24.000Z | benchmark/bench_vigra.py | hci-unihd/fastfilters | 715281e8ee20e15080e416b60e13e1d33984908f | [
"MIT"
] | 10 | 2016-06-13T19:55:54.000Z | 2021-01-28T06:43:28.000Z | import numpy as np
import fastfilters as ff
import vigra
import time
class Timer(object):
def __enter__(self):
self.a = time.clock()
return self
def __exit__(self, *args):
self.b = time.clock()
self.delta = self.b - self.a
a = np.zeros((5000,5000)).astype(np.float32)
for order in [0,1,2]:
for sigma in [... | 29.489209 | 146 | 0.661625 | 632 | 4,099 | 4.278481 | 0.107595 | 0.066568 | 0.081361 | 0.140533 | 0.928254 | 0.928254 | 0.928254 | 0.928254 | 0.928254 | 0.928254 | 0 | 0.037225 | 0.180776 | 4,099 | 139 | 147 | 29.489209 | 0.768017 | 0 | 0 | 0.689655 | 0 | 0.114943 | 0.182927 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0 | 0.045977 | 0 | 0.091954 | 0.114943 | 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 |
e684ea01851888d9d790557a56c7131cfc4e2a3a | 99 | py | Python | pycfmodel/__init__.py | donatoaz/pycfmodel | 1586e290b67d2347493dd4a77d2b0c8ee6c0936b | [
"Apache-2.0"
] | 23 | 2018-06-28T10:45:01.000Z | 2021-05-07T11:12:39.000Z | pycfmodel/__init__.py | donatoaz/pycfmodel | 1586e290b67d2347493dd4a77d2b0c8ee6c0936b | [
"Apache-2.0"
] | 27 | 2019-03-09T08:33:22.000Z | 2022-03-03T14:59:11.000Z | pycfmodel/__init__.py | donatoaz/pycfmodel | 1586e290b67d2347493dd4a77d2b0c8ee6c0936b | [
"Apache-2.0"
] | 7 | 2019-03-09T02:18:18.000Z | 2021-07-22T20:33:09.000Z | from pycfmodel.model.cf_model import CFModel
def parse(template):
return CFModel(**template)
| 16.5 | 44 | 0.767677 | 13 | 99 | 5.769231 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 5 | 45 | 19.8 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e6ec0d1d9663366e31b42d23b63d4548e5e0df59 | 31 | py | Python | tests/syntax/future_typo.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 287 | 2019-04-08T13:18:29.000Z | 2021-03-14T19:10:21.000Z | tests/syntax/future_typo.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 191 | 2019-04-08T14:39:18.000Z | 2021-03-14T22:14:56.000Z | tests/syntax/future_typo.py | matan-h/friendly | 3ab0fc6541c837271e8865e247750007acdd18fb | [
"MIT"
] | 9 | 2019-04-08T12:54:08.000Z | 2020-11-20T02:26:27.000Z | from __future__ import divisio
| 15.5 | 30 | 0.870968 | 4 | 31 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.851852 | 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 |
fc235d2973db62136fc3a17ebc5c70adb40edc1b | 1,418 | py | Python | sppas/documentation/scripting_solutions/skeleton.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/documentation/scripting_solutions/skeleton.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/documentation/scripting_solutions/skeleton.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | #!/usr/bin python
"""
:author: Fix Me
:date: Now
:contact: me@me.org
:license: GPL, v3
:copyright: Copyright (C) 2018 Fixme
:summary: This is the skeleton of a python script.
Use of this software is governed by the GNU Public License, version 3.
This is free software: you can redistr... | 30.170213 | 78 | 0.528914 | 163 | 1,418 | 4.552147 | 0.588957 | 0.032345 | 0.052561 | 0.076819 | 0.110512 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.155853 | 1,418 | 46 | 79 | 30.826087 | 0.614035 | 0.925952 | 0 | 0 | 0 | 0 | 0.091954 | 0 | 0 | 0 | 0 | 0.021739 | 0 | 1 | 0 | true | 0.2 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
fc2eae105d420dc6c2140174155a5ab683fbf3b0 | 3,079 | py | Python | numba-dppy/numba_dppy/tests/dppl/test_arg_types.py | reazulhoque/numba | 3d663cf0e8d61b481589c3b520dd1ecd2299ab88 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | numba-dppy/numba_dppy/tests/dppl/test_arg_types.py | reazulhoque/numba | 3d663cf0e8d61b481589c3b520dd1ecd2299ab88 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | numba-dppy/numba_dppy/tests/dppl/test_arg_types.py | reazulhoque/numba | 3d663cf0e8d61b481589c3b520dd1ecd2299ab88 | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | from __future__ import print_function, division, absolute_import
import numpy as np
import numba_dppy, numba_dppy as dppl
from numba_dppy.testing import unittest
from numba_dppy.testing import DPPLTestCase
import dpctl
@dppl.kernel
def mul_kernel(A, B, test):
i = dppl.get_global_id(0)
B[i] = A[i] * test
de... | 31.742268 | 77 | 0.616759 | 450 | 3,079 | 3.982222 | 0.166667 | 0.078125 | 0.107143 | 0.074219 | 0.777902 | 0.748884 | 0.748884 | 0.748884 | 0.710938 | 0.66183 | 0 | 0.029476 | 0.261773 | 3,079 | 96 | 78 | 32.072917 | 0.758909 | 0 | 0 | 0.716216 | 0 | 0 | 0.041572 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 1 | 0.135135 | false | 0 | 0.081081 | 0 | 0.243243 | 0.013514 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fc578ccd7f1950ce831f7e496bd197698482b240 | 149 | py | Python | lib/datasets/__init__.py | giussepi/semantic-segmentation-codebase | 163b0edfa30a8e1147b532a737d0784ea09f4fc2 | [
"MIT"
] | 37 | 2021-01-12T06:37:23.000Z | 2022-03-23T08:14:09.000Z | lib/datasets/__init__.py | giussepi/semantic-segmentation-codebase | 163b0edfa30a8e1147b532a737d0784ea09f4fc2 | [
"MIT"
] | 8 | 2021-01-17T07:53:24.000Z | 2021-11-16T08:55:48.000Z | lib/datasets/__init__.py | giussepi/semantic-segmentation-codebase | 163b0edfa30a8e1147b532a737d0784ea09f4fc2 | [
"MIT"
] | 6 | 2021-03-14T11:09:30.000Z | 2021-08-24T11:40:53.000Z | from .VOCDataset import *
#from .COCODataset import *
#from .CityscapesDataset import *
#from .ADE20KDataset import *
#from .ContextDataset import *
| 24.833333 | 33 | 0.771812 | 15 | 149 | 7.666667 | 0.466667 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015504 | 0.134228 | 149 | 5 | 34 | 29.8 | 0.875969 | 0.771812 | 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 |
fca48c3d09922796bc5df56eea8ca633eac15102 | 40 | py | Python | backend/addons/sale_invoice_line_note/wizard/__init__.py | maherjaballi/odoo-react-cicd | e99f0e3216094818d94e99df19da9626afe7f9d8 | [
"MIT"
] | null | null | null | backend/addons/sale_invoice_line_note/wizard/__init__.py | maherjaballi/odoo-react-cicd | e99f0e3216094818d94e99df19da9626afe7f9d8 | [
"MIT"
] | null | null | null | backend/addons/sale_invoice_line_note/wizard/__init__.py | maherjaballi/odoo-react-cicd | e99f0e3216094818d94e99df19da9626afe7f9d8 | [
"MIT"
] | null | null | null | from . import sale_make_invoice_advance
| 20 | 39 | 0.875 | 6 | 40 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 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 |
5d792ccebf329d3d5ffca3372bae084018989e3e | 26,990 | py | Python | code/scGCO_code/scGCO/Visualization.py | Coke-Zhang/scGCO-1 | cca9955e28334560e7a134a8738de5b67312b85f | [
"MIT"
] | null | null | null | code/scGCO_code/scGCO/Visualization.py | Coke-Zhang/scGCO-1 | cca9955e28334560e7a134a8738de5b67312b85f | [
"MIT"
] | null | null | null | code/scGCO_code/scGCO/Visualization.py | Coke-Zhang/scGCO-1 | cca9955e28334560e7a134a8738de5b67312b85f | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import matplotlib as mpl
import matplotlib
import matplotlib.cm as cm
import matplotlib.pyplot as plt
import matplotlib.path as mplPath
from scipy.spatial import Voronoi, voronoi_plot_2d, Delaunay, KDTree, ConvexHull
from matplotlib.patches import Polygon
from matplotlib.collectio... | 38.338068 | 113 | 0.577992 | 3,811 | 26,990 | 3.934138 | 0.095775 | 0.041619 | 0.019809 | 0.009338 | 0.798373 | 0.780564 | 0.766424 | 0.738144 | 0.726206 | 0.713133 | 0 | 0.026026 | 0.29674 | 26,990 | 704 | 114 | 38.338068 | 0.763869 | 0.148685 | 0 | 0.71097 | 0 | 0 | 0.022711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025316 | false | 0 | 0.033755 | 0 | 0.061181 | 0.00211 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5d9661ee8a1cad30a17363390c19aeb6a6f8c2f7 | 193 | py | Python | python/testData/quickFixes/PyAddCallSuperQuickFixTest/positionalOnlyParameters_after.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyAddCallSuperQuickFixTest/positionalOnlyParameters_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/quickFixes/PyAddCallSuperQuickFixTest/positionalOnlyParameters_after.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
def __init__(self, a, /, b, *args, c, **kwargs):
pass
class B(A):
def __init__(self, a, /, b, *args, c, **kwargs):
super().__init__(a, b, *args, c=c, **kwargs) | 27.571429 | 52 | 0.518135 | 30 | 193 | 2.933333 | 0.366667 | 0.068182 | 0.204545 | 0.238636 | 0.568182 | 0.568182 | 0.568182 | 0.568182 | 0.568182 | 0 | 0 | 0 | 0.259067 | 193 | 7 | 53 | 27.571429 | 0.615385 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
5d9fef922e3a1a44b55cb160a1d8ecf32f992c5b | 186 | py | Python | 0x03-python-data_structures/dev/3-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/dev/3-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | null | null | null | 0x03-python-data_structures/dev/3-main.py | johncoleman83/bootcampschool-higher_level_programming | a83c3b7092cfe893c87e495f8d8eec9228c9b808 | [
"MIT"
] | 1 | 2020-09-25T17:54:36.000Z | 2020-09-25T17:54:36.000Z | #!/usr/bin/python3
print_reversed_list_integer = __import__('3-print_reversed_list_integer').print_reversed_list_integer
my_list = [1, 2, 3, 4, 5]
print_reversed_list_integer(my_list)
| 26.571429 | 101 | 0.811828 | 30 | 186 | 4.433333 | 0.466667 | 0.390977 | 0.511278 | 0.721805 | 0.451128 | 0.451128 | 0 | 0 | 0 | 0 | 0 | 0.040698 | 0.075269 | 186 | 6 | 102 | 31 | 0.732558 | 0.091398 | 0 | 0 | 0 | 0 | 0.173653 | 0.173653 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
5de33b7b48e4d293610f65bcae57bf882d427918 | 32 | py | Python | base_processor/__init__.py | Pennsieve/base-processor | 5800e81e15aab6d9f32e799086c68c8a87e4f251 | [
"Apache-2.0"
] | null | null | null | base_processor/__init__.py | Pennsieve/base-processor | 5800e81e15aab6d9f32e799086c68c8a87e4f251 | [
"Apache-2.0"
] | null | null | null | base_processor/__init__.py | Pennsieve/base-processor | 5800e81e15aab6d9f32e799086c68c8a87e4f251 | [
"Apache-2.0"
] | null | null | null | from .base import BaseProcessor
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 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 |
f8ffdb16d1922b3ce56c67199e8da6020a31679a | 78 | py | Python | tests/test_app.py | harshav7/dscookie | c4623165fdd8a95c841f3f79a9f41e3e5f640a51 | [
"FTL"
] | null | null | null | tests/test_app.py | harshav7/dscookie | c4623165fdd8a95c841f3f79a9f41e3e5f640a51 | [
"FTL"
] | null | null | null | tests/test_app.py | harshav7/dscookie | c4623165fdd8a95c841f3f79a9f41e3e5f640a51 | [
"FTL"
] | null | null | null | from app import index
def test_index():
assert index() == "Hello, world" | 15.6 | 36 | 0.666667 | 11 | 78 | 4.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 78 | 5 | 36 | 15.6 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5d2e8aed642f8360e6a87e6ad8e3d5f0f3389934 | 8,023 | py | Python | utils/dingding.py | huangzp152/CyptoGridStrategy | 58c2f30dff65ee6a44674a515e257c70bf84fd71 | [
"MIT"
] | 1 | 2021-07-03T06:08:42.000Z | 2021-07-03T06:08:42.000Z | utils/dingding.py | huangzp152/CyptoGridStrategy | 58c2f30dff65ee6a44674a515e257c70bf84fd71 | [
"MIT"
] | null | null | null | utils/dingding.py | huangzp152/CyptoGridStrategy | 58c2f30dff65ee6a44674a515e257c70bf84fd71 | [
"MIT"
] | 1 | 2022-03-13T07:19:41.000Z | 2022-03-13T07:19:41.000Z | # author-wechat:findpanpan
import requests,json
# windows
# from app.authorization import dingding_token, recv_window,api_secret,api_key
# from app.BinanceAPI import BinanceAPI
# linux
class Message:
def do_buy_limit_msg(self,market, quantity, price, profit_usdt=0):
'''
合约开多,带有钉钉消息的封装
:... | 36.468182 | 154 | 0.564502 | 890 | 8,023 | 4.924719 | 0.141573 | 0.063883 | 0.041068 | 0.077572 | 0.830253 | 0.826603 | 0.795802 | 0.775724 | 0.712526 | 0.712526 | 0 | 0.006488 | 0.308363 | 8,023 | 220 | 155 | 36.468182 | 0.783384 | 0.260127 | 0 | 0.495146 | 0 | 0.009709 | 0.165385 | 0.11685 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097087 | false | 0 | 0.009709 | 0 | 0.23301 | 0.009709 | 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 |
5d3036704d47d3166704fd2f26ded0878965ca89 | 57 | py | Python | katas/kyu_8/removing_elements.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_8/removing_elements.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_8/removing_elements.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def remove_every_other(my_list):
return my_list[::2]
| 19 | 32 | 0.736842 | 10 | 57 | 3.8 | 0.8 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.140351 | 57 | 2 | 33 | 28.5 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5d525706c06d07e70fd7ce1f86b5a9e85f7ff43c | 31 | py | Python | remotejoystick/__init__.py | littlecodersh/remotejoysticks | 10d5e39bd143dafd49ad04b1bb746b58a86228a3 | [
"MIT"
] | 8 | 2016-09-13T06:36:58.000Z | 2021-11-18T13:57:44.000Z | remotejoystick/__init__.py | littlecodersh/RemoteJoystick | 10d5e39bd143dafd49ad04b1bb746b58a86228a3 | [
"MIT"
] | 1 | 2016-09-13T06:21:31.000Z | 2016-09-13T06:21:31.000Z | remotejoystick/__init__.py | littlecodersh/RemoteJoystick | 10d5e39bd143dafd49ad04b1bb746b58a86228a3 | [
"MIT"
] | 6 | 2017-08-07T04:13:59.000Z | 2019-04-16T01:46:02.000Z | from .main import __version__
| 15.5 | 30 | 0.806452 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.807692 | 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 |
5392e6a6b92a074003712a8b932b58c33fbf5ad4 | 76 | py | Python | PyPunch/__init__.py | TheToddLuci0/PyPunch | c4d7d092333d3ca365a94944986afb50fb958b82 | [
"BSD-3-Clause"
] | 3 | 2020-04-29T00:59:27.000Z | 2021-04-28T19:57:49.000Z | PyPunch/__init__.py | TheToddLuci0/PyPunch | c4d7d092333d3ca365a94944986afb50fb958b82 | [
"BSD-3-Clause"
] | null | null | null | PyPunch/__init__.py | TheToddLuci0/PyPunch | c4d7d092333d3ca365a94944986afb50fb958b82 | [
"BSD-3-Clause"
] | null | null | null | from PyPunch.main import build_card
from PyPunch.mappings import MAPPINGS
| 25.333333 | 38 | 0.842105 | 11 | 76 | 5.727273 | 0.636364 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 76 | 2 | 39 | 38 | 0.954545 | 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 |
53f9f9095e765f769cac3d7f3c2b6d5b4f4605fe | 14,985 | py | Python | tests/api/v3_1_0/test_anc_policy.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 36 | 2021-05-18T16:24:19.000Z | 2022-03-05T13:44:41.000Z | tests/api/v3_1_0/test_anc_policy.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 15 | 2021-06-08T19:03:37.000Z | 2022-02-25T14:47:33.000Z | tests/api/v3_1_0/test_anc_policy.py | CiscoISE/ciscoisesdk | 860b0fc7cc15d0c2a39c64608195a7ab3d5f4885 | [
"MIT"
] | 6 | 2021-06-10T09:32:01.000Z | 2022-01-12T08:34:39.000Z | # -*- coding: utf-8 -*-
"""IdentityServicesEngineAPI anc_policy 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 Software without res... | 29.324853 | 109 | 0.704304 | 1,881 | 14,985 | 5.27698 | 0.105795 | 0.113339 | 0.048761 | 0.04322 | 0.832561 | 0.813016 | 0.808281 | 0.796393 | 0.792263 | 0.758312 | 0 | 0.019616 | 0.220954 | 14,985 | 510 | 110 | 29.382353 | 0.830649 | 0.077144 | 0 | 0.670051 | 0 | 0 | 0.065186 | 0.027999 | 0 | 0 | 0 | 0 | 0.137056 | 1 | 0.114213 | false | 0 | 0.01269 | 0 | 0.218274 | 0.022843 | 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 |
54f63d5622dacf91070079ad5e252adbbd0c4d3a | 30,468 | py | Python | pypykatz/smb/cmdhelper.py | ohio813/pypykatz | af308f686c7231e566d095492deff06cd12c63f2 | [
"MIT"
] | null | null | null | pypykatz/smb/cmdhelper.py | ohio813/pypykatz | af308f686c7231e566d095492deff06cd12c63f2 | [
"MIT"
] | null | null | null | pypykatz/smb/cmdhelper.py | ohio813/pypykatz | af308f686c7231e566d095492deff06cd12c63f2 | [
"MIT"
] | null | null | null |
#!/usr/bin/env python3
#
# Author:
# Tamas Jos (@skelsec)
#
import os
import json
import ntpath
import asyncio
import platform
import argparse
import base64
import traceback
from pypykatz import logging
from pypykatz.commons.common import UniversalEncoder
from pypykatz.alsadecryptor.packages.msv.decryptor import L... | 47.830455 | 242 | 0.702672 | 4,199 | 30,468 | 4.944987 | 0.09407 | 0.056685 | 0.051628 | 0.043826 | 0.827345 | 0.783375 | 0.765459 | 0.731795 | 0.726257 | 0.708919 | 0 | 0.007222 | 0.159282 | 30,468 | 637 | 243 | 47.830455 | 0.803396 | 0.002297 | 0 | 0.510848 | 0 | 0.045365 | 0.298303 | 0.019338 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009862 | false | 0.015779 | 0.063116 | 0 | 0.076923 | 0.057199 | 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.