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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1cc1456234d268ec5519fd7d40d1486a56173d80 | 23 | py | Python | scholar/__init__.py | toni-heittola/pelican-btex | 788ab934efcba4edf238237ad9fff8f489d685b7 | [
"MIT"
] | 5 | 2016-11-13T10:24:28.000Z | 2019-08-05T05:03:50.000Z | scholar/__init__.py | toni-heittola/pelican-btex | 788ab934efcba4edf238237ad9fff8f489d685b7 | [
"MIT"
] | null | null | null | scholar/__init__.py | toni-heittola/pelican-btex | 788ab934efcba4edf238237ad9fff8f489d685b7 | [
"MIT"
] | null | null | null | from .scholar import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ce63a27207a8c7b718dc3352e66c55d28fc7d71 | 5,579 | py | Python | set_up_grasp_models/tests/test_set_up_model.py | martamatos/set_up_grasp_models | 0028f063c41104e3c0404956aa225e76aa6ac983 | [
"MIT"
] | null | null | null | set_up_grasp_models/tests/test_set_up_model.py | martamatos/set_up_grasp_models | 0028f063c41104e3c0404956aa225e76aa6ac983 | [
"MIT"
] | 5 | 2019-05-14T17:05:41.000Z | 2019-05-29T13:17:11.000Z | set_up_grasp_models/tests/test_set_up_model.py | martamatos/set_up_grasp_models | 0028f063c41104e3c0404956aa225e76aa6ac983 | [
"MIT"
] | null | null | null | import os
import unittest
from unittest.mock import patch
import pandas as pd
import pickle
from set_up_grasp_models.set_up_models.set_up_model import set_up_model
class TestSetUpModel(unittest.TestCase):
def setUp(self):
this_dir, this_filename = os.path.split(__file__)
self.test_folder = os.pa... | 43.248062 | 120 | 0.669475 | 837 | 5,579 | 4.127838 | 0.123059 | 0.052098 | 0.117511 | 0.113459 | 0.80521 | 0.80521 | 0.779161 | 0.763242 | 0.746744 | 0.746744 | 0 | 0.005392 | 0.202187 | 5,579 | 128 | 121 | 43.585938 | 0.770838 | 0.063273 | 0 | 0.542169 | 0 | 0 | 0.113432 | 0.049243 | 0 | 0 | 0 | 0 | 0.144578 | 1 | 0.084337 | false | 0 | 0.072289 | 0 | 0.168675 | 0.060241 | 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 |
1c771aff4232d23b8d12ee0f78dab7ef45dba319 | 20 | py | Python | randomstate/prng/pcg32/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 43 | 2016-02-11T03:38:16.000Z | 2022-02-03T10:00:15.000Z | randomstate/prng/pcg32/__init__.py | bashtage/pcg-python | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 31 | 2015-12-26T19:47:36.000Z | 2018-12-10T15:55:46.000Z | randomstate/prng/pcg32/__init__.py | bashtage/ng-numpy-randomstate | b397db9cb8688b291fc40071ab043009dfa05a85 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2016-04-28T02:00:38.000Z | 2020-08-07T10:33:10.000Z | from .pcg32 import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.15 | 20 | 1 | 20 | 20 | 0.764706 | 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 |
98c06dadf0d0ae5abbfca513b2b063a57e779ce2 | 620 | py | Python | sdk/python/pulumi_azure/datafactory/__init__.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/datafactory/__init__.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/datafactory/__init__.py | kenny-wealth/pulumi-azure | e57e3a81f95bf622e7429c53f0bff93e33372aa1 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .factory import *
from .dataset_mysql import *
from .dataset_postgresql import *
from ... | 36.470588 | 87 | 0.783871 | 90 | 620 | 5.177778 | 0.588889 | 0.214592 | 0.137339 | 0.197425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003745 | 0.13871 | 620 | 16 | 88 | 38.75 | 0.868914 | 0.353226 | 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 |
c727ab7314b6a50cceaee5a0a5dd6fc60055d251 | 135 | py | Python | src/__init__.py | Yang-33/vjudge-atcoder-submitID | 5b87594322a337e6acb25c84470d273427413445 | [
"MIT"
] | null | null | null | src/__init__.py | Yang-33/vjudge-atcoder-submitID | 5b87594322a337e6acb25c84470d273427413445 | [
"MIT"
] | 3 | 2018-02-07T16:35:27.000Z | 2018-02-07T17:47:36.000Z | src/__init__.py | Yang-33/vjudge-atcoder-submitID | 5b87594322a337e6acb25c84470d273427413445 | [
"MIT"
] | null | null | null | from . import GetSubmitID
from . import PrintIDs
from . import GetFromfileURL
from . import InputSTDIN
from . import PrintColor
| 19.285714 | 29 | 0.762963 | 15 | 135 | 6.866667 | 0.466667 | 0.485437 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 135 | 6 | 30 | 22.5 | 0.953704 | 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 |
c7b5957d881fb700bfd4cba0b8d26b1aa982e4b1 | 35,945 | py | Python | python/test/ml_ops/cconv_python.py | leomariga/Open3D | d197339fcd29ad0803a182ef8953d89e563f94d7 | [
"MIT"
] | 1 | 2021-06-27T22:04:38.000Z | 2021-06-27T22:04:38.000Z | python/test/ml_ops/cconv_python.py | leomariga/Open3D | d197339fcd29ad0803a182ef8953d89e563f94d7 | [
"MIT"
] | null | null | null | python/test/ml_ops/cconv_python.py | leomariga/Open3D | d197339fcd29ad0803a182ef8953d89e563f94d7 | [
"MIT"
] | null | null | null | # ----------------------------------------------------------------------------
# - Open3D: www.open3d.org -
# ----------------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2018-2021 www.open3d.org
#
# Permission i... | 40.162011 | 120 | 0.605981 | 4,885 | 35,945 | 4.268987 | 0.079427 | 0.027908 | 0.032799 | 0.016304 | 0.776686 | 0.749832 | 0.736358 | 0.729932 | 0.720677 | 0.715546 | 0 | 0.025597 | 0.296815 | 35,945 | 894 | 121 | 40.206935 | 0.799414 | 0.288051 | 0 | 0.73055 | 0 | 0 | 0.006102 | 0.001204 | 0 | 0 | 0 | 0 | 0.189753 | 1 | 0.017078 | false | 0 | 0.185958 | 0 | 0.229602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7ceae327f92874a146e3e651be302b319d658fe | 8,521 | py | Python | map/get_shop.py | 2218084076/hotpoor_autoclick_xhs | a52446ba691ac19e43410a465dc63f940c0e444d | [
"Apache-2.0"
] | 1 | 2021-12-21T10:42:46.000Z | 2021-12-21T10:42:46.000Z | map/get_shop.py | 2218084076/hotpoor_autoclick_xhs | a52446ba691ac19e43410a465dc63f940c0e444d | [
"Apache-2.0"
] | null | null | null | map/get_shop.py | 2218084076/hotpoor_autoclick_xhs | a52446ba691ac19e43410a465dc63f940c0e444d | [
"Apache-2.0"
] | null | null | null | import pyautogui
import time
import pyperclip
# 打开审查元素位置 921.6
# 2022/01/15
news_urls=[]
for i in urls:
news_urls.append(i)
print(len(urls))
print(len(news_urls))
print(len(news_urls))
print(len(news_urls))
def pyautogui_action(action):
if action["name"] in ["move_to_click"]:
pyautogui.moveTo(x=action... | 38.382883 | 135 | 0.62387 | 1,076 | 8,521 | 4.851301 | 0.144052 | 0.084483 | 0.042146 | 0.04636 | 0.857663 | 0.84272 | 0.84272 | 0.812069 | 0.785249 | 0.753448 | 0 | 0.028747 | 0.179439 | 8,521 | 221 | 136 | 38.556561 | 0.71782 | 0.002934 | 0 | 0.425532 | 0 | 0 | 0.160674 | 0.037172 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007092 | false | 0 | 0.021277 | 0 | 0.028369 | 0.042553 | 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 |
1bfd2e704fa924fb676400a0a75d85d1015a7fca | 26 | py | Python | bitwallet/__init__.py | lookfwd/bitwallet | b0f5efed7d8d896650c5e0d7318269abc20906b5 | [
"MIT"
] | 1 | 2018-01-25T15:04:34.000Z | 2018-01-25T15:04:34.000Z | bitwallet/__init__.py | lookfwd/bitwallet | b0f5efed7d8d896650c5e0d7318269abc20906b5 | [
"MIT"
] | 2 | 2018-02-19T02:27:13.000Z | 2018-04-27T06:16:18.000Z | bitwallet/__init__.py | lookfwd/bitwallet | b0f5efed7d8d896650c5e0d7318269abc20906b5 | [
"MIT"
] | null | null | null | from wallet import Wallet
| 13 | 25 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4021f2d392e89b8d5032a922f86c0d373508d007 | 81 | py | Python | app/modules/im/__init__.py | Eastwu5788/Heron | 646eeaacea77e293c6eccc6dad82a04ece9294a3 | [
"Apache-2.0"
] | 7 | 2018-01-29T02:46:31.000Z | 2018-03-25T11:15:10.000Z | app/modules/im/__init__.py | Eastwu5788/Heron | 646eeaacea77e293c6eccc6dad82a04ece9294a3 | [
"Apache-2.0"
] | 4 | 2021-06-08T19:38:03.000Z | 2022-03-11T23:18:46.000Z | app/modules/im/__init__.py | Eastwu5788/Heron | 646eeaacea77e293c6eccc6dad82a04ece9294a3 | [
"Apache-2.0"
] | 1 | 2021-06-12T14:14:35.000Z | 2021-06-12T14:14:35.000Z | from flask import Blueprint
im = Blueprint("im", __name__)
from . import immsg
| 13.5 | 30 | 0.740741 | 11 | 81 | 5.090909 | 0.636364 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 5 | 31 | 16.2 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
405b4077c24814ac6e86f916af423926e95d3206 | 96 | py | Python | pyball/models/conference/__init__.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | 74 | 2018-03-04T22:58:46.000Z | 2021-07-06T12:28:50.000Z | pyball/models/conference/__init__.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | 18 | 2018-03-10T19:17:54.000Z | 2020-01-04T15:42:47.000Z | pyball/models/conference/__init__.py | SebastianDang/PyBall | d1965aa01477b5ee0db9c0463ec584a7e3997395 | [
"MIT"
] | 13 | 2018-03-06T02:39:38.000Z | 2020-01-17T04:38:53.000Z | from .conference import Conference
from .conference import League
from .conference import Sport
| 24 | 34 | 0.84375 | 12 | 96 | 6.75 | 0.416667 | 0.518519 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 3 | 35 | 32 | 0.964286 | 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 |
40679a54b6b237ed1a7a0ae1cc73b7b8641c9ef7 | 39 | py | Python | __init__.py | dhruvagarwal/flask_restdemo | 3292fc4cc03cb76297502bb2296784d6c81d1a42 | [
"Apache-2.0"
] | null | null | null | __init__.py | dhruvagarwal/flask_restdemo | 3292fc4cc03cb76297502bb2296784d6c81d1a42 | [
"Apache-2.0"
] | null | null | null | __init__.py | dhruvagarwal/flask_restdemo | 3292fc4cc03cb76297502bb2296784d6c81d1a42 | [
"Apache-2.0"
] | null | null | null | from .flask_restdemo import CustomApi
| 13 | 37 | 0.846154 | 5 | 39 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 38 | 19.5 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
406f810443bf86957645845fb4d90fc6489a236f | 3,632 | py | Python | plot_error_correlations.py | danhagen/NonlinearControl | 3bda71a058ec3b1a598df886e9485fd4d08982ba | [
"MIT"
] | null | null | null | plot_error_correlations.py | danhagen/NonlinearControl | 3bda71a058ec3b1a598df886e9485fd4d08982ba | [
"MIT"
] | 5 | 2018-08-01T17:19:38.000Z | 2020-08-18T19:57:46.000Z | plot_error_correlations.py | danhagen/NonlinearControl | 3bda71a058ec3b1a598df886e9485fd4d08982ba | [
"MIT"
] | 1 | 2020-07-22T22:38:20.000Z | 2020-07-22T22:38:20.000Z | import pickle
from pathlib import Path
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import pearsonr
from pendulum_eqns.physiology.muscle_params_BIC_TRI import *
#### Fixed Initial Tendon Tension
out=pickle.load( open( Path(r"C:\Users\hagen\Documents\Github\NonlinearControl\output_figures\integr... | 31.042735 | 202 | 0.683921 | 569 | 3,632 | 4.282953 | 0.226714 | 0.022979 | 0.019696 | 0.03611 | 0.826426 | 0.826426 | 0.826426 | 0.826426 | 0.80673 | 0.774723 | 0 | 0.069642 | 0.130231 | 3,632 | 116 | 203 | 31.310345 | 0.701804 | 0.015419 | 0 | 0.673267 | 0 | 0.019802 | 0.219731 | 0.120516 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.059406 | 0 | 0.059406 | 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 |
407cd497cd6c9bbc3422be6d9cc1a621c67d597c | 103 | py | Python | mag_report/main.py | Curtin-Open-Knowledge-Initiative/mag_coverage_report | a75dd1273c44895b5c857ebd498407aa95bd45e5 | [
"Apache-2.0"
] | 1 | 2021-09-07T06:42:40.000Z | 2021-09-07T06:42:40.000Z | main.py | bmkramer/what_do_we_lose_mag | c60ea99915caafd5209ef30d21ab456a89ff89a0 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-08-30T11:52:25.000Z | 2021-09-02T12:11:05.000Z | mag_report/main.py | Curtin-Open-Knowledge-Initiative/mag_coverage_report | a75dd1273c44895b5c857ebd498407aa95bd45e5 | [
"Apache-2.0"
] | 3 | 2021-07-04T07:39:01.000Z | 2021-08-24T15:24:29.000Z | import process
from precipy.main import render_file
render_file('config.json', [process], storages=[]) | 25.75 | 50 | 0.786408 | 14 | 103 | 5.642857 | 0.714286 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087379 | 103 | 4 | 50 | 25.75 | 0.840426 | 0 | 0 | 0 | 0 | 0 | 0.105769 | 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 |
40d41ef56a8243b1710293775b2395e29459ae28 | 1,603 | py | Python | tensorflow/contrib/__init__.py | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 1 | 2017-09-14T23:59:05.000Z | 2017-09-14T23:59:05.000Z | tensorflow/contrib/__init__.py | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 1 | 2016-10-19T02:43:04.000Z | 2016-10-31T14:53:06.000Z | tensorflow/contrib/__init__.py | shishaochen/TensorFlow-0.8-Win | 63221dfc4f1a1d064308e632ba12e6a54afe1fd8 | [
"Apache-2.0"
] | 8 | 2016-10-23T00:50:02.000Z | 2019-04-21T11:11:57.000Z | # Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 41.102564 | 80 | 0.771678 | 213 | 1,603 | 5.723005 | 0.502347 | 0.195242 | 0.292863 | 0.376538 | 0.049221 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.126638 | 1,603 | 38 | 81 | 42.184211 | 0.865 | 0.887087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90865e4d830451658c1eb422bb94edee870ce196 | 4,003 | py | Python | python/test/test_bubble_sort.py | michaelreneer/Algorithms | 3752d6ad542d798c54eedf78b2624d27296b00be | [
"MIT"
] | 2 | 2019-01-08T04:35:44.000Z | 2020-11-06T18:57:05.000Z | python/test/test_bubble_sort.py | michaelreneer/algorithms | 3752d6ad542d798c54eedf78b2624d27296b00be | [
"MIT"
] | null | null | null | python/test/test_bubble_sort.py | michaelreneer/algorithms | 3752d6ad542d798c54eedf78b2624d27296b00be | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from __future__ import absolute_import
import unittest
import algorithms
class TestBubbleSort(unittest.TestCase):
def test_bubble_sort_with_one_item(self):
iterable = [1]
algorithms.bubble_sort(iterable)
expected = [1]
self.assertEqual(iterable, expected)
def test_bubble... | 30.325758 | 66 | 0.677492 | 580 | 4,003 | 4.439655 | 0.106897 | 0.147573 | 0.095922 | 0.125437 | 0.83068 | 0.787961 | 0.740194 | 0.711845 | 0.711845 | 0.658252 | 0 | 0.046468 | 0.193605 | 4,003 | 131 | 67 | 30.557252 | 0.751239 | 0.004996 | 0 | 0.509615 | 0 | 0 | 0.004018 | 0 | 0 | 0 | 0 | 0 | 0.182692 | 1 | 0.182692 | false | 0 | 0.028846 | 0 | 0.221154 | 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 |
90dc8744bb7dba3256160f533976958cec988371 | 19 | py | Python | systems/control/backend/__init__.py | stylekilla/syncmrt | 816bb57d80d6595719b8b9d7f027f4f17d0a6c0a | [
"Apache-2.0"
] | null | null | null | systems/control/backend/__init__.py | stylekilla/syncmrt | 816bb57d80d6595719b8b9d7f027f4f17d0a6c0a | [
"Apache-2.0"
] | 25 | 2019-03-05T05:56:35.000Z | 2019-07-24T13:11:57.000Z | systems/control/backend/__init__.py | stylekilla/syncmrt | 816bb57d80d6595719b8b9d7f027f4f17d0a6c0a | [
"Apache-2.0"
] | 1 | 2019-11-27T05:10:47.000Z | 2019-11-27T05:10:47.000Z | from . import epics | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 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 |
90de378c74ebe60d74691b0f17e9511261e0c7ef | 285 | py | Python | Darlington/phase1/python Basic 2/day 28 solution/qtn2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Darlington/phase1/python Basic 2/day 28 solution/qtn2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Darlington/phase1/python Basic 2/day 28 solution/qtn2.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | #program to compute the digit distance between two integers.
def digit_distance_nums(n1, n2):
return sum(map(int,str(abs(n1-n2))))
print(digit_distance_nums(123, 256))
print(digit_distance_nums(23, 56))
print(digit_distance_nums(1, 2))
print(digit_distance_nums(24232, 45645)) | 40.714286 | 60 | 0.768421 | 47 | 285 | 4.446809 | 0.595745 | 0.373206 | 0.406699 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101961 | 0.105263 | 285 | 7 | 61 | 40.714286 | 0.717647 | 0.207018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 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 | 0 | 1 | 0 | 1 | 0 | 6 |
29138bb1a037bad82fc3f688d71d83eb8fa96227 | 14,970 | py | Python | src/model_sac.py | sesem738/Calamari | f3e16682901138c5ee8bb5e94b335bfaee36afad | [
"Unlicense"
] | null | null | null | src/model_sac.py | sesem738/Calamari | f3e16682901138c5ee8bb5e94b335bfaee36afad | [
"Unlicense"
] | null | null | null | src/model_sac.py | sesem738/Calamari | f3e16682901138c5ee8bb5e94b335bfaee36afad | [
"Unlicense"
] | null | null | null | #########################################################################
# Implementation of Soft Actor Critic by Josias Moukpe
# from the https://arxiv.org/abs/1812.05905 paper
# and inspired by https://github.com/pranz24/pytorch-soft-actor-critic
################################################################... | 38.286445 | 120 | 0.615965 | 2,115 | 14,970 | 4.170213 | 0.115366 | 0.034694 | 0.047959 | 0.055102 | 0.787415 | 0.770522 | 0.75102 | 0.74093 | 0.739569 | 0.720068 | 0 | 0.060339 | 0.250501 | 14,970 | 390 | 121 | 38.384615 | 0.725758 | 0.158116 | 0 | 0.705882 | 0 | 0 | 0.055236 | 0 | 0 | 0 | 0 | 0.005128 | 0 | 1 | 0.07563 | false | 0 | 0.021008 | 0 | 0.142857 | 0.02521 | 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 |
2933dd0a1327b51c1ed1223ead1915492611c715 | 216 | py | Python | course/admin.py | LuoLuo0101/ChoiceCourse | 93eba91cd39a524455edab52ad29dfd09ac000ba | [
"Apache-2.0"
] | null | null | null | course/admin.py | LuoLuo0101/ChoiceCourse | 93eba91cd39a524455edab52ad29dfd09ac000ba | [
"Apache-2.0"
] | null | null | null | course/admin.py | LuoLuo0101/ChoiceCourse | 93eba91cd39a524455edab52ad29dfd09ac000ba | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from course.models import Student, Teacher, Course, Enrollment
admin.site.register(Student)
admin.site.register(Teacher)
admin.site.register(Course)
admin.site.register(Enrollment)
| 24 | 62 | 0.824074 | 29 | 216 | 6.137931 | 0.413793 | 0.202247 | 0.382022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078704 | 216 | 8 | 63 | 27 | 0.894472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
293d69d7e1b5bebc5ff967901b2ddcaed49fa0db | 42 | py | Python | botovod/dbdrivers/__init__.py | OlegYurchik/botovod | 20d7c97a4758ce280fcdc601e395b34c4f942a0f | [
"MIT"
] | 7 | 2018-09-03T11:03:55.000Z | 2020-07-11T16:13:56.000Z | botovod/dbdrivers/__init__.py | OlegYurchik/botovod | 20d7c97a4758ce280fcdc601e395b34c4f942a0f | [
"MIT"
] | null | null | null | botovod/dbdrivers/__init__.py | OlegYurchik/botovod | 20d7c97a4758ce280fcdc601e395b34c4f942a0f | [
"MIT"
] | 2 | 2019-09-03T12:09:40.000Z | 2020-06-05T18:09:52.000Z | from .dbdrivers import DBDriver, Follower
| 21 | 41 | 0.833333 | 5 | 42 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 1 | 42 | 42 | 0.945946 | 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 |
297a4e21ddb5eac9bf1e386239c9b292ebd19320 | 16,416 | py | Python | pegasus/tools/clustering.py | slowkow/pegasus | 9a840b4a485ad93e703b2087e21179b0329e0c41 | [
"BSD-3-Clause"
] | null | null | null | pegasus/tools/clustering.py | slowkow/pegasus | 9a840b4a485ad93e703b2087e21179b0329e0c41 | [
"BSD-3-Clause"
] | null | null | null | pegasus/tools/clustering.py | slowkow/pegasus | 9a840b4a485ad93e703b2087e21179b0329e0c41 | [
"BSD-3-Clause"
] | null | null | null | import time
import numpy as np
import pandas as pd
from pegasusio import MultimodalData
from natsort import natsorted
from sklearn.cluster import KMeans
from typing import List, Optional
from pegasus.tools import construct_graph
import logging
logger = logging.getLogger(__name__)
from pegasusio import timer
@time... | 33.365854 | 201 | 0.646991 | 2,037 | 16,416 | 5.078547 | 0.11242 | 0.050749 | 0.036539 | 0.02465 | 0.82813 | 0.810343 | 0.79971 | 0.783374 | 0.77158 | 0.747801 | 0 | 0.010396 | 0.232395 | 16,416 | 491 | 202 | 33.433809 | 0.810571 | 0.420078 | 0 | 0.53527 | 0 | 0 | 0.138814 | 0.005034 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024896 | false | 0 | 0.074689 | 0 | 0.107884 | 0.016598 | 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 |
29831e1e80772ba97b088169817051bcefe4c0cf | 157 | py | Python | lib/exception.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 14 | 2015-02-06T02:47:57.000Z | 2020-03-14T15:06:05.000Z | lib/exception.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 3 | 2019-02-27T19:29:11.000Z | 2021-06-02T02:14:27.000Z | lib/exception.py | sumedhpb/testrunner | 9ff887231c75571624abc31a3fb5248110e01203 | [
"Apache-2.0"
] | 108 | 2015-03-26T08:58:49.000Z | 2022-03-21T05:21:39.000Z | class TimeoutException(Exception):
def __init__(self, value):
self.parameter = value
def __str__(self):
return repr(self.parameter)
| 22.428571 | 35 | 0.66879 | 17 | 157 | 5.705882 | 0.647059 | 0.268041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235669 | 157 | 6 | 36 | 26.166667 | 0.808333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 |
4667d36ae3605c96abde4f55e8992a5919769195 | 160 | py | Python | IOT/RaspberryPi/hellog/rasp_server/admin.py | syureu/Hellog2 | f61524ffe6f2a3836d13085e9e29e2015bba9f87 | [
"Apache-2.0"
] | null | null | null | IOT/RaspberryPi/hellog/rasp_server/admin.py | syureu/Hellog2 | f61524ffe6f2a3836d13085e9e29e2015bba9f87 | [
"Apache-2.0"
] | null | null | null | IOT/RaspberryPi/hellog/rasp_server/admin.py | syureu/Hellog2 | f61524ffe6f2a3836d13085e9e29e2015bba9f87 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import User, Record, Machine
admin.site.register(User)
admin.site.register(Record)
admin.site.register(Machine)
| 20 | 41 | 0.80625 | 23 | 160 | 5.608696 | 0.478261 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 160 | 7 | 42 | 22.857143 | 0.889655 | 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 | 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 |
46aa43dcf86f46a8a8a1bd56df42cdd54c4f6229 | 174 | py | Python | magi/wrappers/__init__.py | akbir/magi | cff26ddb87165bb6e19796dc77521e3191afcffc | [
"Apache-2.0"
] | 86 | 2021-11-24T21:53:29.000Z | 2022-03-27T13:35:45.000Z | magi/wrappers/__init__.py | akbir/magi | cff26ddb87165bb6e19796dc77521e3191afcffc | [
"Apache-2.0"
] | 7 | 2021-11-26T17:23:29.000Z | 2022-03-07T21:49:44.000Z | magi/wrappers/__init__.py | akbir/magi | cff26ddb87165bb6e19796dc77521e3191afcffc | [
"Apache-2.0"
] | 3 | 2021-11-27T11:13:18.000Z | 2022-01-24T14:38:53.000Z | """Environment wrappers for dm_env.Environment."""
from magi.wrappers.filter import TakeKeyWrapper # noqa
from magi.wrappers.frame_stack import FrameStackingWrapper # noqa
| 43.5 | 66 | 0.816092 | 21 | 174 | 6.666667 | 0.666667 | 0.114286 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 174 | 3 | 67 | 58 | 0.897436 | 0.316092 | 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 |
46ab12c0ebb4553773651a58c9cd99300bc5d783 | 6,653 | py | Python | Pytorch/denseForecastNet.py | khsibr/forecastNet | f3a3d8a7a675dfdd37365e9945c1d02548465c61 | [
"MIT"
] | 81 | 2020-02-18T19:07:28.000Z | 2022-03-22T23:08:09.000Z | Pytorch/denseForecastNet.py | khsibr/forecastNet | f3a3d8a7a675dfdd37365e9945c1d02548465c61 | [
"MIT"
] | 12 | 2020-05-02T14:48:10.000Z | 2021-08-16T02:51:21.000Z | Pytorch/denseForecastNet.py | khsibr/forecastNet | f3a3d8a7a675dfdd37365e9945c1d02548465c61 | [
"MIT"
] | 23 | 2020-02-20T11:22:21.000Z | 2022-03-26T07:46:58.000Z | """
ForecastNet with cells comprising densely connected layers.
ForecastNetDenseModel provides the mixture density network outputs.
ForecastNetDenseModel2 provides the linear outputs.
Paper:
"ForecastNet: A Time-Variant Deep Feed-Forward Neural Network Architecture for Multi-Step-Ahead Time-Series Forecasting"
by Joel... | 47.863309 | 120 | 0.666767 | 905 | 6,653 | 4.660773 | 0.142541 | 0.083215 | 0.059744 | 0.023471 | 0.816027 | 0.811759 | 0.789474 | 0.785206 | 0.772167 | 0.754623 | 0 | 0.00715 | 0.243199 | 6,653 | 139 | 121 | 47.863309 | 0.830586 | 0.352623 | 0 | 0.567164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059701 | false | 0 | 0.044776 | 0 | 0.164179 | 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 |
d3c47d0dd1bb5afb5fbbc8a8970bd181f216950a | 7,773 | py | Python | src/saltext/vmware/modules/ntp.py | jain-prerna/salt-ext-modules-vmware-old | 89ea6dd77c6d5a35dc55c23adbdc361949a63057 | [
"Apache-2.0"
] | null | null | null | src/saltext/vmware/modules/ntp.py | jain-prerna/salt-ext-modules-vmware-old | 89ea6dd77c6d5a35dc55c23adbdc361949a63057 | [
"Apache-2.0"
] | null | null | null | src/saltext/vmware/modules/ntp.py | jain-prerna/salt-ext-modules-vmware-old | 89ea6dd77c6d5a35dc55c23adbdc361949a63057 | [
"Apache-2.0"
] | null | null | null | # SPDX-License-Identifier: Apache-2.0
def set_ntp_config(
host,
username,
password,
ntp_servers,
protocol=None,
port=None,
host_names=None,
verify_ssl=True,
):
"""
Set NTP configuration for a given host of list of host_names.
host
The location of the host.
usern... | 33.795652 | 111 | 0.670783 | 1,055 | 7,773 | 4.807583 | 0.143128 | 0.053233 | 0.033715 | 0.040812 | 0.777997 | 0.761238 | 0.745662 | 0.733044 | 0.703864 | 0.695189 | 0 | 0.00988 | 0.257816 | 7,773 | 229 | 112 | 33.943231 | 0.869301 | 0.560659 | 0 | 0.6625 | 0 | 0 | 0.065541 | 0.018206 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0375 | false | 0.075 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d3f02b57b6a0fe2696df5aeff800a681cd29c4df | 2,962 | py | Python | terrascript/databricks/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/databricks/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/databricks/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/databricks/r.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class databricks_aws_s3_mount(terrascript.Resource):
pass
class databricks_azure_adls_gen1_mount(t... | 16.640449 | 79 | 0.799797 | 326 | 2,962 | 6.98773 | 0.251534 | 0.276558 | 0.424056 | 0.503951 | 0.789728 | 0.656277 | 0.136523 | 0.045654 | 0 | 0 | 0 | 0.001565 | 0.13707 | 2,962 | 177 | 80 | 16.734463 | 0.889671 | 0.025321 | 0 | 0.47191 | 1 | 0 | 0.013523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.47191 | 0.022472 | 0 | 0.494382 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
3130608ee2b25f9f003e000c9bf2da1b03c611c6 | 68 | py | Python | wand/apps/relations/__init__.py | phvalguima/kafka_charm_lib | 0062a277c12f5650f2a18b17eae8529500fafafe | [
"Apache-2.0"
] | null | null | null | wand/apps/relations/__init__.py | phvalguima/kafka_charm_lib | 0062a277c12f5650f2a18b17eae8529500fafafe | [
"Apache-2.0"
] | null | null | null | wand/apps/relations/__init__.py | phvalguima/kafka_charm_lib | 0062a277c12f5650f2a18b17eae8529500fafafe | [
"Apache-2.0"
] | null | null | null | from .zookeeper import * # noqa
from .kafka_connect import * # noqa
| 22.666667 | 35 | 0.735294 | 9 | 68 | 5.444444 | 0.666667 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 68 | 2 | 36 | 34 | 0.875 | 0.132353 | 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 |
31388a55f4ca3cec5c3cbec0c8964b824d486b7c | 2,984 | py | Python | src/visualization/climate/amip.py | jejjohnson/2019_rbig_rs | 00df5c623d55895e0b43a4130bb6c601fae84890 | [
"MIT"
] | 2 | 2020-05-15T17:31:39.000Z | 2021-03-16T08:49:33.000Z | src/visualization/climate/amip.py | jejjohnson/rbig_eo | 00df5c623d55895e0b43a4130bb6c601fae84890 | [
"MIT"
] | null | null | null | src/visualization/climate/amip.py | jejjohnson/rbig_eo | 00df5c623d55895e0b43a4130bb6c601fae84890 | [
"MIT"
] | null | null | null | import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
plt.style.use(["seaborn-talk", "ggplot"])
def plot_individual(
df: pd.DataFrame, cmip_model: str, spatial_res: int, info: str = "h"
) -> None:
# subset data
df = df[df["cmip"] == cmip_model]
df = df[df["spat... | 31.410526 | 88 | 0.61059 | 436 | 2,984 | 4.050459 | 0.18578 | 0.039638 | 0.05436 | 0.05436 | 0.830691 | 0.798981 | 0.770102 | 0.755946 | 0.739524 | 0.667044 | 0 | 0.042006 | 0.218164 | 2,984 | 94 | 89 | 31.744681 | 0.714959 | 0.015751 | 0 | 0.588235 | 0 | 0 | 0.142906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.117647 | 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 |
314469c504e36285d4078f67f1447e280e0119cf | 114 | py | Python | app.py | FacundoLepere/test_heroku_cv2_python_3.9 | 5ca3ff8c5d4b661c3b55a92be2cbc770203a3c99 | [
"MIT"
] | null | null | null | app.py | FacundoLepere/test_heroku_cv2_python_3.9 | 5ca3ff8c5d4b661c3b55a92be2cbc770203a3c99 | [
"MIT"
] | null | null | null | app.py | FacundoLepere/test_heroku_cv2_python_3.9 | 5ca3ff8c5d4b661c3b55a92be2cbc770203a3c99 | [
"MIT"
] | null | null | null | from flask import Flask
import cv2
app = Flask(__name__)
@app.route("/")
def index():
return "Hello World!"
| 12.666667 | 25 | 0.675439 | 16 | 114 | 4.5625 | 0.75 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.184211 | 114 | 8 | 26 | 14.25 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.114035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
316b053358082f4364ac5e355e4d5ff9687b3c18 | 22 | py | Python | wamv_morse/src/wamv_sim/builder/sensors/__init__.py | mission-systems-pty-ltd/WamV-Morse-Sim | 80007b4a02fa10f69d167526eb0add636305555f | [
"BSD-2-Clause"
] | 2 | 2019-09-04T00:58:20.000Z | 2020-08-17T05:20:16.000Z | wamv_morse/src/wamv_sim/builder/sensors/__init__.py | mission-systems-pty-ltd/WamV-Morse-Sim | 80007b4a02fa10f69d167526eb0add636305555f | [
"BSD-2-Clause"
] | null | null | null | wamv_morse/src/wamv_sim/builder/sensors/__init__.py | mission-systems-pty-ltd/WamV-Morse-Sim | 80007b4a02fa10f69d167526eb0add636305555f | [
"BSD-2-Clause"
] | 1 | 2021-12-15T09:30:08.000Z | 2021-12-15T09:30:08.000Z | from .DVL import Dvl
| 7.333333 | 20 | 0.727273 | 4 | 22 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 22 | 2 | 21 | 11 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
317780c9aafe38ee41801a34e89682053d094689 | 40 | py | Python | cluster_tools/meshes/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 28 | 2018-12-09T22:11:52.000Z | 2022-02-01T16:48:23.000Z | cluster_tools/meshes/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 16 | 2019-01-27T10:59:33.000Z | 2022-01-11T09:09:24.000Z | cluster_tools/meshes/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 11 | 2018-12-09T22:11:56.000Z | 2021-08-08T20:10:13.000Z | from .mesh_workflow import MeshWorkflow
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
31845682767bcf2d8db4400e73c1f1c0990fa9ee | 27 | py | Python | axon_conabio/losses/__init__.py | mbsantiago/axon-conabio | 0348edda1a49855912057b15b9516562a999ccee | [
"MIT"
] | null | null | null | axon_conabio/losses/__init__.py | mbsantiago/axon-conabio | 0348edda1a49855912057b15b9516562a999ccee | [
"MIT"
] | null | null | null | axon_conabio/losses/__init__.py | mbsantiago/axon-conabio | 0348edda1a49855912057b15b9516562a999ccee | [
"MIT"
] | null | null | null | from .baseloss import Loss
| 13.5 | 26 | 0.814815 | 4 | 27 | 5.5 | 1 | 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 |
31b3c6533e83926f1092e1f7937a46beb7abfa2e | 125 | py | Python | backend_rest/sales/admin.py | ezrankayamba/twiga_expodocs | 39303f137f3761e7024e1e0e1a6449f4187e30e9 | [
"MIT"
] | null | null | null | backend_rest/sales/admin.py | ezrankayamba/twiga_expodocs | 39303f137f3761e7024e1e0e1a6449f4187e30e9 | [
"MIT"
] | 13 | 2020-02-21T13:58:18.000Z | 2022-03-12T00:16:26.000Z | backend_rest/sales/admin.py | ezrankayamba/twiga_expodocs | 39303f137f3761e7024e1e0e1a6449f4187e30e9 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Sale)
admin.site.register(models.SaleDoc)
| 17.857143 | 35 | 0.808 | 18 | 125 | 5.611111 | 0.555556 | 0.178218 | 0.336634 | 0.455446 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 6 | 36 | 20.833333 | 0.893805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 |
31c476dce6ecc6fc8eadb87d44d54635f2c42fae | 5,987 | py | Python | networks/resnet50.py | Times125/break_captcha | 9ab16d1d7737630786039d07caec308bdb8a26d9 | [
"MIT"
] | 13 | 2019-08-14T09:36:03.000Z | 2021-04-05T06:35:05.000Z | networks/resnet50.py | Times125/break_captcha | 9ab16d1d7737630786039d07caec308bdb8a26d9 | [
"MIT"
] | 6 | 2019-09-26T09:45:12.000Z | 2022-03-11T23:56:08.000Z | networks/resnet50.py | Times125/break_captcha | 9ab16d1d7737630786039d07caec308bdb8a26d9 | [
"MIT"
] | 6 | 2019-08-16T14:46:04.000Z | 2021-06-05T01:53:20.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
@Author: _defined
@Time: 2019/8/21 14:20
@Description:
This script defines some ResNet50 structures
"""
from tensorflow.python.keras import (backend, layers)
def _identity_block(input_tensor, kernel_size, filters, stage, block):
"""The identity block is the... | 39.388158 | 82 | 0.604309 | 839 | 5,987 | 4.141836 | 0.153754 | 0.052374 | 0.039137 | 0.051799 | 0.810935 | 0.791079 | 0.76518 | 0.76259 | 0.710791 | 0.653813 | 0 | 0.063414 | 0.257224 | 5,987 | 151 | 83 | 39.649007 | 0.718012 | 0.218306 | 0 | 0.563218 | 0 | 0 | 0.056828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.011494 | 0 | 0.08046 | 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 |
31c7f0fc1dff349aaa8fbf1d99639943f1e769b6 | 35 | py | Python | sketch/sketch/__init__.py | mmathys/bagua | e17978690452318b65b317b283259f09c24d59bb | [
"MIT"
] | null | null | null | sketch/sketch/__init__.py | mmathys/bagua | e17978690452318b65b317b283259f09c24d59bb | [
"MIT"
] | null | null | null | sketch/sketch/__init__.py | mmathys/bagua | e17978690452318b65b317b283259f09c24d59bb | [
"MIT"
] | null | null | null | from .sketch import SketchAlgorithm | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9ec4fd463c55391a02817e7ec7d743c6653ed8e0 | 118 | py | Python | dyntrack/plot/__init__.py | LouisFaure/dyntrack | 1af9d9a1851900a8ae62f54e44b20e04df618f29 | [
"BSD-3-Clause"
] | null | null | null | dyntrack/plot/__init__.py | LouisFaure/dyntrack | 1af9d9a1851900a8ae62f54e44b20e04df618f29 | [
"BSD-3-Clause"
] | null | null | null | dyntrack/plot/__init__.py | LouisFaure/dyntrack | 1af9d9a1851900a8ae62f54e44b20e04df618f29 | [
"BSD-3-Clause"
] | null | null | null | from .tracks import tracks
from .vector_field import vector_field
from .ftle import FTLE
from .fit_ppt import fit_ppt
| 23.6 | 38 | 0.830508 | 20 | 118 | 4.7 | 0.4 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 4 | 39 | 29.5 | 0.921569 | 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 |
9edae35377e2fa4c5edd6f49e00d8791402b29df | 1,881 | py | Python | ckanext/canada/tests/test_ati.py | HoussamBedja/ckanext-canada | 9099223beb088c65262cab403be10774e29e06b8 | [
"MIT"
] | 31 | 2015-04-19T16:14:55.000Z | 2021-08-20T13:18:44.000Z | ckanext/canada/tests/test_ati.py | HoussamBedja/ckanext-canada | 9099223beb088c65262cab403be10774e29e06b8 | [
"MIT"
] | 214 | 2015-01-20T20:43:26.000Z | 2022-03-29T20:36:01.000Z | ckanext/canada/tests/test_ati.py | HoussamBedja/ckanext-canada | 9099223beb088c65262cab403be10774e29e06b8 | [
"MIT"
] | 46 | 2015-02-18T17:11:06.000Z | 2022-01-17T17:05:09.000Z | # -*- coding: UTF-8 -*-
from nose.tools import assert_equal, assert_raises
from ckanapi import LocalCKAN, ValidationError
from ckan.tests.helpers import FunctionalTestBase
from ckan.tests.factories import Organization
from ckanext.recombinant.tables import get_chromo
class TestAti(FunctionalTestBase):
def setup(... | 33.589286 | 84 | 0.628389 | 208 | 1,881 | 5.504808 | 0.269231 | 0.087336 | 0.073362 | 0.066376 | 0.765066 | 0.70393 | 0.70393 | 0.70393 | 0.70393 | 0.70393 | 0 | 0.002123 | 0.248804 | 1,881 | 55 | 85 | 34.2 | 0.808209 | 0.011164 | 0 | 0.711111 | 0 | 0 | 0.047363 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.133333 | false | 0 | 0.111111 | 0 | 0.288889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9eeb47506cef88ee1225580c675e375cc7ce6674 | 2,039 | py | Python | contacts/swagger_params.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | contacts/swagger_params.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | contacts/swagger_params.py | sauravpanda/Django-CRM | c6b8cde02c9cf3d3f30f4e05b825f77d00734e87 | [
"MIT"
] | null | null | null | from drf_yasg import openapi
company_params_in_header = openapi.Parameter(
"company", openapi.IN_HEADER, required=True, type=openapi.TYPE_STRING
)
contact_list_get_params = [
company_params_in_header,
openapi.Parameter(
"name", openapi.IN_QUERY, type=openapi.TYPE_STRING
),
openapi.Paramet... | 29.128571 | 79 | 0.686121 | 237 | 2,039 | 5.607595 | 0.168776 | 0.216704 | 0.20316 | 0.268623 | 0.872837 | 0.862302 | 0.785553 | 0.665162 | 0.665162 | 0.461249 | 0 | 0 | 0.205002 | 2,039 | 69 | 80 | 29.550725 | 0.819864 | 0 | 0 | 0.634921 | 0 | 0 | 0.069642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015873 | 0 | 0.015873 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7318ce959245f1bda9db8492c73d803c32479af5 | 32 | py | Python | nwb_conversion_tools/behavior/__init__.py | wuffi/nwb-conversion-tools | 39cfb95b714155b26a17fdda9ed7d801eefd14ea | [
"BSD-3-Clause"
] | null | null | null | nwb_conversion_tools/behavior/__init__.py | wuffi/nwb-conversion-tools | 39cfb95b714155b26a17fdda9ed7d801eefd14ea | [
"BSD-3-Clause"
] | null | null | null | nwb_conversion_tools/behavior/__init__.py | wuffi/nwb-conversion-tools | 39cfb95b714155b26a17fdda9ed7d801eefd14ea | [
"BSD-3-Clause"
] | null | null | null | from .bpod.bpod import Bpod2NWB
| 16 | 31 | 0.8125 | 5 | 32 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 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 |
731952eb4c9e4b7b003bb7dbe20a19de2236b5a8 | 10,515 | py | Python | huaweicloud-sdk-swr/huaweicloudsdkswr/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-swr/huaweicloudsdkswr/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-swr/huaweicloudsdkswr/v2/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import SwrClient
from huaweicloudsdkswr.v2.swr_client import SwrClient
from huaweicloudsdkswr.v2.swr_async_client import SwrAsyncClient
# import models into sdk package
from huaweicloudsdkswr.v2.model.auth_info import AuthInfo
from huaweicloudsdkswr.v2.model.cr... | 83.452381 | 120 | 0.919353 | 1,156 | 10,515 | 8.08391 | 0.150519 | 0.265169 | 0.290423 | 0.347566 | 0.563617 | 0.517817 | 0.365864 | 0.140931 | 0.053826 | 0.02504 | 0 | 0.011872 | 0.046695 | 10,515 | 125 | 121 | 84.12 | 0.920391 | 0.005801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
73245a03b60bd8e4cd7d07da6f291701e6b06381 | 286 | py | Python | roomexplorer/__init__.py | alaflaquiere/room-explorer | 0fb1e4f9a65f18a4f7a20d3c22bf5f584ab7ed90 | [
"MIT"
] | null | null | null | roomexplorer/__init__.py | alaflaquiere/room-explorer | 0fb1e4f9a65f18a4f7a20d3c22bf5f584ab7ed90 | [
"MIT"
] | null | null | null | roomexplorer/__init__.py | alaflaquiere/room-explorer | 0fb1e4f9a65f18a4f7a20d3c22bf5f584ab7ed90 | [
"MIT"
] | null | null | null | from roomexplorer.renderer.bullet import bullet_tools
from roomexplorer.renderer.bullet.camera import Camera, CameraResolution
from roomexplorer.Agent import MobileArm
from roomexplorer.RoomEnvironment import create_environment
from roomexplorer.dataset_builder import generate_dataset
| 47.666667 | 72 | 0.895105 | 33 | 286 | 7.636364 | 0.484848 | 0.31746 | 0.190476 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073427 | 286 | 5 | 73 | 57.2 | 0.950943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
7326f746ad5cab74373a3c7f78d1aea02408c8e9 | 2,189 | py | Python | MNIST-master/tf_test_congress.py | FisherEat/python_mashine_projects | 9cf2e644e7f0814fe048488278c994e5fd40d629 | [
"MIT"
] | null | null | null | MNIST-master/tf_test_congress.py | FisherEat/python_mashine_projects | 9cf2e644e7f0814fe048488278c994e5fd40d629 | [
"MIT"
] | null | null | null | MNIST-master/tf_test_congress.py | FisherEat/python_mashine_projects | 9cf2e644e7f0814fe048488278c994e5fd40d629 | [
"MIT"
] | 1 | 2019-09-18T02:30:11.000Z | 2019-09-18T02:30:11.000Z |
'''
本案例是tensorflow 回归模型,采用tensorflow自带的梯度下降法生成回归曲线
'''
# import tensorflow as tf
# import numpy as np
# import matplotlib.pyplot as plt
#
# # Prepare train data
# train_X = np.linspace(-1, 1, 100)
# train_Y = 2 * train_X + np.random.randn(*train_X.shape) * 0.33 + 10
#
# # Define the model
# X = tf.placeholder("floa... | 27.3625 | 86 | 0.620831 | 366 | 2,189 | 3.584699 | 0.215847 | 0.068598 | 0.050305 | 0.054878 | 0.955793 | 0.955793 | 0.95503 | 0.921494 | 0.921494 | 0.921494 | 0 | 0.052273 | 0.19598 | 2,189 | 80 | 87 | 27.3625 | 0.693182 | 0.540429 | 0 | 0 | 0 | 0 | 0.057906 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.136364 | 0 | 0.136364 | 0.045455 | 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 |
733ba9569b401c728fac0d23c1f928d491d9e98d | 34 | py | Python | hello_world.py | eddycalgary/profiles-rest-api2 | d7416a36a274853550aea3a950893d86e3020781 | [
"MIT"
] | null | null | null | hello_world.py | eddycalgary/profiles-rest-api2 | d7416a36a274853550aea3a950893d86e3020781 | [
"MIT"
] | 7 | 2019-12-05T00:38:30.000Z | 2022-02-10T10:33:27.000Z | hello_world.py | eddycalgary/profiles-rest-api2 | d7416a36a274853550aea3a950893d86e3020781 | [
"MIT"
] | null | null | null | print("Hello Edgar how are you??") | 34 | 34 | 0.705882 | 6 | 34 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
736168ff4711b8b7b91358bc866093d5d0d8069b | 79 | py | Python | modules/2.79/bpy/types/LocRotScale.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/LocRotScale.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/LocRotScale.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | class LocRotScale:
def generate(self, context, ks, data):
pass
| 9.875 | 42 | 0.607595 | 9 | 79 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303797 | 79 | 7 | 43 | 11.285714 | 0.872727 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
7363b1bbf50890b8c03707f0764f65035ae45dfe | 16,755 | py | Python | src/python/turicreate/visualization/show.py | crouchingtigre/turicreate | 38c18e019be5b0c202790bedd6113d13d5d59796 | [
"BSD-3-Clause"
] | 1 | 2019-06-21T21:40:10.000Z | 2019-06-21T21:40:10.000Z | src/python/turicreate/visualization/show.py | crouchingtigre/turicreate | 38c18e019be5b0c202790bedd6113d13d5d59796 | [
"BSD-3-Clause"
] | null | null | null | src/python/turicreate/visualization/show.py | crouchingtigre/turicreate | 38c18e019be5b0c202790bedd6113d13d5d59796 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright © 2017 Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can
# be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
from __future__ import print_function as _
from __future__ import division as _
from... | 36.905286 | 127 | 0.63963 | 2,532 | 16,755 | 4.181675 | 0.083728 | 0.046468 | 0.031734 | 0.031734 | 0.838591 | 0.817813 | 0.798262 | 0.78844 | 0.77739 | 0.744333 | 0 | 0.008572 | 0.254969 | 16,755 | 453 | 128 | 36.986755 | 0.839542 | 0.68111 | 0 | 0.45122 | 0 | 0.012195 | 0.154313 | 0.086999 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121951 | false | 0 | 0.060976 | 0 | 0.292683 | 0.012195 | 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 |
b430bf6d438f8c8014af2a7b088121b378fb51f4 | 49 | py | Python | tests/integrations/sqlalchemy/__init__.py | annu-ps31/sentry-python | 3966b4a9744bfcb8c53dcca1b615bbadf4935aec | [
"BSD-2-Clause"
] | 1,213 | 2018-06-19T00:51:01.000Z | 2022-03-31T06:37:16.000Z | tests/integrations/sqlalchemy/__init__.py | annu-ps31/sentry-python | 3966b4a9744bfcb8c53dcca1b615bbadf4935aec | [
"BSD-2-Clause"
] | 1,020 | 2018-07-16T12:50:36.000Z | 2022-03-31T20:42:49.000Z | tests/integrations/sqlalchemy/__init__.py | annu-ps31/sentry-python | 3966b4a9744bfcb8c53dcca1b615bbadf4935aec | [
"BSD-2-Clause"
] | 340 | 2018-07-16T12:47:27.000Z | 2022-03-22T10:13:21.000Z | import pytest
pytest.importorskip("sqlalchemy")
| 12.25 | 33 | 0.816327 | 5 | 49 | 8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 3 | 34 | 16.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.204082 | 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 |
b44479ce1001de386b8385a16d1ca3e56873e17c | 59 | py | Python | tests/test_resource_manager.py | nghazali/KubeCapWatch | 5b99dedcee45e6e53c2361891e399b9247acfcf1 | [
"Apache-2.0"
] | null | null | null | tests/test_resource_manager.py | nghazali/KubeCapWatch | 5b99dedcee45e6e53c2361891e399b9247acfcf1 | [
"Apache-2.0"
] | 1 | 2021-08-17T23:13:37.000Z | 2021-08-18T06:39:04.000Z | tests/test_resource_manager.py | nghazali/KubeCapWatch | 5b99dedcee45e6e53c2361891e399b9247acfcf1 | [
"Apache-2.0"
] | null | null | null | import pytest
def test_default():
assert True == True | 11.8 | 23 | 0.694915 | 8 | 59 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 59 | 5 | 23 | 11.8 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b47686d40380ece6f55f5dcbd7535bd518d49a22 | 123 | py | Python | particle/__init__.py | abelsonlive/particle | 0058474e97f76c80deca7bb9ddb2a1248297eb3a | [
"MIT"
] | 3 | 2015-01-05T23:13:18.000Z | 2015-08-20T16:23:06.000Z | particle/__init__.py | abelsonlive/particle | 0058474e97f76c80deca7bb9ddb2a1248297eb3a | [
"MIT"
] | null | null | null | particle/__init__.py | abelsonlive/particle | 0058474e97f76c80deca7bb9ddb2a1248297eb3a | [
"MIT"
] | null | null | null | from particle.app import Particle
from particle.common import db
from particle.web import api
from particle.cli import cli
| 24.6 | 33 | 0.837398 | 20 | 123 | 5.15 | 0.45 | 0.466019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 4 | 34 | 30.75 | 0.962617 | 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 |
c31aaf13651883cdc63c7c19b73882ea4498f39c | 226 | py | Python | EDX_refit_under_dev.py | tkcroat/EDX | f447dfbc0b7cde248b70b43772eb177185232960 | [
"MIT"
] | null | null | null | EDX_refit_under_dev.py | tkcroat/EDX | f447dfbc0b7cde248b70b43772eb177185232960 | [
"MIT"
] | null | null | null | EDX_refit_under_dev.py | tkcroat/EDX | f447dfbc0b7cde248b70b43772eb177185232960 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Nov 2 13:55:04 2017
@author: tkc
"""
import matplotlib.pyplot as plt
from matplotlib.widgets import LassoSelector
from matplotlib.widgets import Lasso
from matplotlib import path
| 17.384615 | 44 | 0.743363 | 33 | 226 | 5.090909 | 0.727273 | 0.25 | 0.25 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063158 | 0.159292 | 226 | 12 | 45 | 18.833333 | 0.821053 | 0.318584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c324b1c9272dbfdae955749ec05b6ff671031bf1 | 34,502 | py | Python | model/subsystems.py | JBHilton/covid-19-in-households-public | 42fb31a3c581a3d5b6b6959078a5f6bf4f25212e | [
"Apache-2.0"
] | 4 | 2020-04-17T13:19:43.000Z | 2021-12-02T19:56:27.000Z | model/subsystems.py | JBHilton/covid-19-in-households-public | 42fb31a3c581a3d5b6b6959078a5f6bf4f25212e | [
"Apache-2.0"
] | 6 | 2020-06-16T17:06:52.000Z | 2021-02-08T18:32:39.000Z | model/subsystems.py | JBHilton/covid-19-in-households-public | 42fb31a3c581a3d5b6b6959078a5f6bf4f25212e | [
"Apache-2.0"
] | 3 | 2020-05-12T12:09:48.000Z | 2021-06-07T09:16:09.000Z | '''This script defines all the subsystems for specific compartmental structures.
First, some functions for doing standard transition events are defined, then
these are used to create some functions for implementing common comprtmental
structures. These are then stored in a dictionary, which always needs to go at
the ... | 34.885743 | 82 | 0.557823 | 3,964 | 34,502 | 4.531534 | 0.079465 | 0.03741 | 0.023381 | 0.036074 | 0.771586 | 0.753994 | 0.734287 | 0.726493 | 0.709625 | 0.706563 | 0 | 0.006221 | 0.366356 | 34,502 | 988 | 83 | 34.921053 | 0.815433 | 0.117327 | 0 | 0.791304 | 0 | 0 | 0.002778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016149 | false | 0 | 0.004969 | 0 | 0.038509 | 0.001242 | 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 |
c3442d547ed16220ae290209724033dee4258e18 | 22 | py | Python | fos/shader/__init__.py | fos/fos | 8d33bf0cd60292ad5164973b5285122acbc03b86 | [
"BSD-3-Clause"
] | 5 | 2015-08-08T22:04:49.000Z | 2020-05-29T10:30:09.000Z | fos/shader/__init__.py | fos/fos | 8d33bf0cd60292ad5164973b5285122acbc03b86 | [
"BSD-3-Clause"
] | 1 | 2018-04-25T12:59:56.000Z | 2018-04-25T13:26:47.000Z | fos/shader/__init__.py | fos/fos | 8d33bf0cd60292ad5164973b5285122acbc03b86 | [
"BSD-3-Clause"
] | null | null | null | from .lib import *
| 4.4 | 18 | 0.590909 | 3 | 22 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.318182 | 22 | 4 | 19 | 5.5 | 0.866667 | 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 |
c34cd05e72bbbb731ca3f241d7d8248b672c6f6e | 64,001 | py | Python | core/test/test_signal_processing.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | core/test/test_signal_processing.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | core/test/test_signal_processing.py | ajmal017/amp | 8de7e3b88be87605ec3bad03c139ac64eb460e5c | [
"BSD-3-Clause"
] | null | null | null | import collections
import logging
import os
import pprint
from typing import Any, List, Optional, Tuple, Union
import numpy as np
import pandas as pd
import pytest
import core.artificial_signal_generators as cartif
import core.signal_processing as csigna
import helpers.git as git
import helpers.printing as hprint
imp... | 34.557775 | 84 | 0.578725 | 8,428 | 64,001 | 4.156621 | 0.056716 | 0.02649 | 0.041105 | 0.025177 | 0.867407 | 0.853819 | 0.839747 | 0.815626 | 0.787566 | 0.75825 | 0 | 0.038578 | 0.296074 | 64,001 | 1,851 | 85 | 34.576445 | 0.739013 | 0.07028 | 0 | 0.657022 | 0 | 0 | 0.088268 | 0.028908 | 0 | 0 | 0 | 0.001621 | 0.00988 | 1 | 0.093155 | false | 0 | 0.009174 | 0.000706 | 0.134792 | 0.009174 | 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 |
c3746be33782173c6e26ae613070a38808df811d | 236 | py | Python | iotbx/dsn6/__init__.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | iotbx/dsn6/__init__.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null | iotbx/dsn6/__init__.py | rimmartin/cctbx_project | 644090f9432d9afc22cfb542fc3ab78ca8e15e5d | [
"BSD-3-Clause-LBNL"
] | null | null | null |
# TODO TESTS
from __future__ import division
import cctbx.array_family.flex # import dependency
import boost.python
ext = boost.python.import_ext("iotbx_dsn6_map_ext")
from iotbx_dsn6_map_ext import *
import iotbx_dsn6_map_ext as ext
| 23.6 | 51 | 0.830508 | 38 | 236 | 4.763158 | 0.473684 | 0.149171 | 0.198895 | 0.248619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014354 | 0.114407 | 236 | 9 | 52 | 26.222222 | 0.851675 | 0.118644 | 0 | 0 | 0 | 0 | 0.088235 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5edad3d842ae419bef69eb70531225b76d945f9b | 36,657 | py | Python | tessellate/utils/getRing.py | scientificomputing/tessellate | 2166863476faf7542530d0d6e2a28da3ab3f909c | [
"Apache-2.0"
] | null | null | null | tessellate/utils/getRing.py | scientificomputing/tessellate | 2166863476faf7542530d0d6e2a28da3ab3f909c | [
"Apache-2.0"
] | null | null | null | tessellate/utils/getRing.py | scientificomputing/tessellate | 2166863476faf7542530d0d6e2a28da3ab3f909c | [
"Apache-2.0"
] | 2 | 2017-12-08T22:13:43.000Z | 2019-10-14T10:12:50.000Z | import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
class dd_dict(dict): # the dd is for "deferred delete"
_deletes = None
def __delitem__(self, key):
if key not in self:
raise KeyError(str(key))
dict.__delitem__(self, key) if self._deletes is None ... | 51.629577 | 166 | 0.505961 | 4,280 | 36,657 | 4.310748 | 0.089486 | 0.064986 | 0.024715 | 0.012466 | 0.761626 | 0.7471 | 0.736369 | 0.726883 | 0.711545 | 0.70206 | 0 | 0.021041 | 0.389339 | 36,657 | 709 | 167 | 51.702398 | 0.803172 | 0.403197 | 0 | 0.736486 | 0 | 0 | 0.107359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024775 | false | 0.036036 | 0.038288 | 0 | 0.112613 | 0.009009 | 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 |
6f2abe8cd021cfc3a2b9a1151c68a7b8fe051a62 | 113 | py | Python | python/map/map.py | hulkcoder/studycoder | 93e05ff6c8778ac5698284c2b0862bab7e58b696 | [
"MIT"
] | null | null | null | python/map/map.py | hulkcoder/studycoder | 93e05ff6c8778ac5698284c2b0862bab7e58b696 | [
"MIT"
] | 9 | 2020-02-25T22:02:21.000Z | 2022-03-30T23:06:06.000Z | python/map/map.py | bodhileafy/studycoder | 07b526b8cc040ed3b3baf17ae0d93eac83a48d7a | [
"MIT"
] | null | null | null | print("map")
a = "["
x = range(30000,32767,1)
for i in range(30000,32768,1):
a = a + str(i) + ","
print a + "]" | 18.833333 | 30 | 0.530973 | 21 | 113 | 2.857143 | 0.619048 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 0.20354 | 113 | 6 | 31 | 18.833333 | 0.422222 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f344cd75700d42f0d8fa6ffba402679bdf47ebc | 38,490 | py | Python | tests/backend/builders/test_sdist.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | tests/backend/builders/test_sdist.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | tests/backend/builders/test_sdist.py | ashemedai/hatch | 9ec00d5e027c992efbc16dd777b1f6926368b6bf | [
"MIT"
] | null | null | null | import os
import tarfile
import pytest
from hatchling.builders.plugin.interface import BuilderInterface
from hatchling.builders.sdist import SdistBuilder
from hatchling.builders.utils import get_reproducible_timestamp
from hatchling.metadata.utils import get_core_metadata_constructors
def test_class():
assert i... | 35.022748 | 120 | 0.507976 | 3,719 | 38,490 | 5.027696 | 0.052433 | 0.04332 | 0.027917 | 0.033373 | 0.923093 | 0.91336 | 0.902503 | 0.896513 | 0.882822 | 0.851268 | 0 | 0.009494 | 0.354144 | 38,490 | 1,098 | 121 | 35.054645 | 0.742669 | 0.004495 | 0 | 0.667838 | 0 | 0.003515 | 0.154046 | 0.026359 | 0 | 0 | 0 | 0 | 0.163445 | 1 | 0.063269 | false | 0 | 0.012302 | 0 | 0.082601 | 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 |
6f345ebde49099357c68eb4601fc1103022f1c56 | 70 | py | Python | fetchmesh/bgp/__init__.py | SmartMonitoringSchemes/fetchmesh | 139a68a380786cca5caba33f16f4ff482477d66a | [
"MIT"
] | null | null | null | fetchmesh/bgp/__init__.py | SmartMonitoringSchemes/fetchmesh | 139a68a380786cca5caba33f16f4ff482477d66a | [
"MIT"
] | 5 | 2021-08-01T18:11:07.000Z | 2022-02-01T18:42:10.000Z | fetchmesh/bgp/__init__.py | SmartMonitoringSchemes/fetchmesh | 139a68a380786cca5caba33f16f4ff482477d66a | [
"MIT"
] | null | null | null | from .asnames import *
from .asndb import *
from .collectors import *
| 17.5 | 25 | 0.742857 | 9 | 70 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 70 | 3 | 26 | 23.333333 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f3eb94eeb4e87edff113004c29917ae86989ffe | 1,540 | py | Python | django_soc_lite/HTML_Escape.py | threatequation/django-soc-lite | 3df27d06ed63e5a382f5ab4e387c51f611b48f81 | [
"0BSD"
] | null | null | null | django_soc_lite/HTML_Escape.py | threatequation/django-soc-lite | 3df27d06ed63e5a382f5ab4e387c51f611b48f81 | [
"0BSD"
] | null | null | null | django_soc_lite/HTML_Escape.py | threatequation/django-soc-lite | 3df27d06ed63e5a382f5ab4e387c51f611b48f81 | [
"0BSD"
] | null | null | null | """custom escaping methods"""
def XSSEncode(maliciouscode):
"""custom xss containg input escaper"""
html_code = (
('"', '"'), ('%22', '"'),
("'", '''), ('%27', '''),
('/', '/'), ('%2f', '/'), ('%2F', '/'),
('<', '<'), ('%3C', '<'), ('%3c',... | 32.765957 | 63 | 0.391558 | 139 | 1,540 | 4.294964 | 0.280576 | 0.080402 | 0.053601 | 0.065327 | 0.770519 | 0.713568 | 0.713568 | 0.713568 | 0.713568 | 0.713568 | 0 | 0.042142 | 0.26039 | 1,540 | 47 | 64 | 32.765957 | 0.482002 | 0.055844 | 0 | 0.7 | 0 | 0 | 0.19319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.075 | false | 0 | 0.05 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2a2d7edaa3c299d94cf6a706ef02621335a07e2 | 34 | py | Python | pyspark_utilities/spark_udfs/__init__.py | zaksamalik/pyspark-utilities | da9f843bdf03658d58d1dbc8d5f3067bd6702494 | [
"MIT"
] | 9 | 2020-03-10T10:31:06.000Z | 2021-12-03T03:43:00.000Z | pyspark_utilities/spark_udfs/__init__.py | zaksamalik/pyspark-utilities | da9f843bdf03658d58d1dbc8d5f3067bd6702494 | [
"MIT"
] | null | null | null | pyspark_utilities/spark_udfs/__init__.py | zaksamalik/pyspark-utilities | da9f843bdf03658d58d1dbc8d5f3067bd6702494 | [
"MIT"
] | 2 | 2020-11-14T15:13:43.000Z | 2021-12-22T11:33:03.000Z | from .spark_udfs import SparkUDFs
| 17 | 33 | 0.852941 | 5 | 34 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.933333 | 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 |
960be7cf0370b3714d9693080ef55b70bf5c63c9 | 2,212 | py | Python | migrations/versions/2018_12_03_fix_migrations.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 1 | 2021-10-06T13:48:36.000Z | 2021-10-06T13:48:36.000Z | migrations/versions/2018_12_03_fix_migrations.py | AlexKouzy/ethnicity-facts-and-figures-publisher | 18ab2495a8633f585e18e607c7f75daa564a053d | [
"MIT"
] | 116 | 2018-11-02T17:20:47.000Z | 2022-02-09T11:06:22.000Z | migrations/versions/2018_12_03_fix_migrations.py | racedisparityaudit/rd_cms | a12f0e3f5461cc41eed0077ed02e11efafc5dd76 | [
"MIT"
] | 2 | 2018-11-09T16:47:35.000Z | 2020-04-09T13:06:48.000Z | """fix migrations by incorporating outstanding changes
Revision ID: 2018_12_03_fix_migrations
Revises: 2018_11_28_drop_contact_details
Create Date: 2018-12-03 10:51:52.822365
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "2018_12_03_fix_migrations"
down_revis... | 43.372549 | 119 | 0.764467 | 285 | 2,212 | 5.568421 | 0.242105 | 0.05293 | 0.098299 | 0.120983 | 0.809074 | 0.771267 | 0.7385 | 0.7385 | 0.7385 | 0.68305 | 0 | 0.039095 | 0.121157 | 2,212 | 50 | 120 | 44.24 | 0.777263 | 0.095841 | 0 | 0.111111 | 0 | 0 | 0.351908 | 0.202309 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82511270d5450862f4f276842012c9b0221f3782 | 96 | py | Python | venv/lib/python3.8/site-packages/rope/refactor/occurrences.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/rope/refactor/occurrences.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/rope/refactor/occurrences.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/af/90/f7/f89d139c04c31ed7354f13cdac5ec00282c4d4306d56ec430f55165137 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 96 | 1 | 96 | 96 | 0.458333 | 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 |
82c0a2e9e7007de4b7524c813fd6111e126c677f | 120 | py | Python | spidermon/python/__init__.py | heylouiz/spidermon | 3ae2c46d1cf5b46efb578798b881264be3e68394 | [
"BSD-3-Clause"
] | 2 | 2019-10-03T16:47:11.000Z | 2022-02-22T11:56:02.000Z | spidermon/python/__init__.py | heylouiz/spidermon | 3ae2c46d1cf5b46efb578798b881264be3e68394 | [
"BSD-3-Clause"
] | 23 | 2019-05-30T20:27:38.000Z | 2019-08-20T07:23:09.000Z | spidermon/python/__init__.py | heylouiz/spidermon | 3ae2c46d1cf5b46efb578798b881264be3e68394 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T03:01:19.000Z | 2022-03-24T03:01:19.000Z | from __future__ import absolute_import
from .interpreter import Interpreter
from . import factory
from . import schemas
| 24 | 38 | 0.841667 | 15 | 120 | 6.4 | 0.466667 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 120 | 4 | 39 | 30 | 0.923077 | 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 |
81a91d8c244dd48b0ff6383bf1ae09b584aa732c | 268 | py | Python | tests/test_imports.py | team23/django_textformat | e195f56a5d12f6ceb70855da1164251fc43d1c9d | [
"BSD-3-Clause"
] | 2 | 2016-03-22T16:59:26.000Z | 2016-07-15T09:39:31.000Z | tests/test_imports.py | team23/django_textformat | e195f56a5d12f6ceb70855da1164251fc43d1c9d | [
"BSD-3-Clause"
] | 2 | 2016-03-22T16:56:50.000Z | 2016-04-05T08:18:50.000Z | tests/test_imports.py | team23/django_textformat | e195f56a5d12f6ceb70855da1164251fc43d1c9d | [
"BSD-3-Clause"
] | null | null | null | def test_imports():
import django_textformat # noqa
from django_textformat import TextFormatField # noqa
assert TextFormatField is not None
def test_has_version():
import django_textformat
assert django_textformat.__version__.count('.') >= 2
| 22.333333 | 57 | 0.746269 | 31 | 268 | 6.096774 | 0.548387 | 0.338624 | 0.232804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.190299 | 268 | 11 | 58 | 24.363636 | 0.866359 | 0.033582 | 0 | 0.285714 | 0 | 0 | 0.003906 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | true | 0 | 0.571429 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81e164c90a2050c8f16a6941c46f1a1bab4387eb | 8,934 | py | Python | ogusa/tests/test_SS.py | rickecon/TaxFuncIntegr | 715cc76e3305c00dd64d79521c504bb388c6d87d | [
"CC0-1.0"
] | null | null | null | ogusa/tests/test_SS.py | rickecon/TaxFuncIntegr | 715cc76e3305c00dd64d79521c504bb388c6d87d | [
"CC0-1.0"
] | 1 | 2018-07-02T18:24:17.000Z | 2018-07-02T18:24:17.000Z | ogusa/tests/test_SS.py | rickecon/TaxFuncIntegr | 715cc76e3305c00dd64d79521c504bb388c6d87d | [
"CC0-1.0"
] | 6 | 2016-09-18T01:39:54.000Z | 2020-09-02T12:54:55.000Z | from __future__ import print_function
import pytest
import json
import pickle
import numpy as np
import os
import multiprocessing
from multiprocessing import Process
from dask.distributed import Client
from ogusa import SS, utils
# Define parameters to use for multiprocessing
# client = Client(processes=False)
# # nu... | 43.794118 | 90 | 0.705507 | 1,266 | 8,934 | 4.619273 | 0.134281 | 0.043092 | 0.071819 | 0.051984 | 0.804549 | 0.781977 | 0.766074 | 0.74145 | 0.707934 | 0.707934 | 0 | 0.001819 | 0.200246 | 8,934 | 203 | 91 | 44.009852 | 0.816655 | 0.12514 | 0 | 0.342282 | 0 | 0 | 0.102913 | 0.089439 | 0 | 0 | 0 | 0 | 0.067114 | 1 | 0.053691 | false | 0 | 0.067114 | 0 | 0.120805 | 0.013423 | 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 |
c4e4bb583fc0e23cd20d9b5f6fa6cf0aa2858e4c | 8,658 | py | Python | Dragon/python/dragon/vm/caffe/layers/loss.py | awesome-archive/Dragon | b35f9320909d07d138c2f6b345a4c24911f7c521 | [
"BSD-2-Clause"
] | null | null | null | Dragon/python/dragon/vm/caffe/layers/loss.py | awesome-archive/Dragon | b35f9320909d07d138c2f6b345a4c24911f7c521 | [
"BSD-2-Clause"
] | null | null | null | Dragon/python/dragon/vm/caffe/layers/loss.py | awesome-archive/Dragon | b35f9320909d07d138c2f6b345a4c24911f7c521 | [
"BSD-2-Clause"
] | null | null | null | # ------------------------------------------------------------
# Copyright (c) 2017-present, SeetaTech, Co.,Ltd.
#
# Licensed under the BSD 2-Clause License.
# You should have received a copy of the BSD 2-Clause License
# along with the software. If not, See,
#
# <https://opensource.org/licenses/BSD-2-Clause>
#
# ... | 37.318966 | 92 | 0.649573 | 864 | 8,658 | 6.283565 | 0.137731 | 0.028182 | 0.030945 | 0.026524 | 0.791122 | 0.783754 | 0.783754 | 0.767913 | 0.767913 | 0.756493 | 0 | 0.007683 | 0.23331 | 8,658 | 232 | 93 | 37.318966 | 0.810184 | 0.311042 | 0 | 0.70339 | 0 | 0 | 0.085264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.101695 | false | 0 | 0.042373 | 0 | 0.245763 | 0.008475 | 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 |
c4fd718e3889f57aa812056c2008c07b14cb2431 | 23 | py | Python | loci/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | 1 | 2016-10-30T16:29:51.000Z | 2016-10-30T16:29:51.000Z | loci/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | loci/__init__.py | t-brandt/acorns-adi | 6645fae7878a1801beeda0c6604b01e61f37ca15 | [
"BSD-2-Clause"
] | null | null | null | from loci import loci
| 7.666667 | 21 | 0.782609 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 23 | 2 | 22 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f20513ffe1da16c904bfe793fb24c8e8230fa4c1 | 4,191 | py | Python | pyEX/alternative/alternative.py | cjwang/pyEX | 1b5f40f80110afaa4809ea48fac067033c7bdf89 | [
"Apache-2.0"
] | 1 | 2020-10-11T07:05:49.000Z | 2020-10-11T07:05:49.000Z | pyEX/alternative/alternative.py | cjwang/pyEX | 1b5f40f80110afaa4809ea48fac067033c7bdf89 | [
"Apache-2.0"
] | null | null | null | pyEX/alternative/alternative.py | cjwang/pyEX | 1b5f40f80110afaa4809ea48fac067033c7bdf89 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import pandas as pd
from ..common import _expire, _getJson, _raiseIfNotStr, _strOrDate, _reindex, _toDatetime
def crypto(token='', version='', filter=''):
'''This will return an array of quotes for all Cryptocurrencies supported by the IEX API. Each element is a standard quote object with ... | 32.488372 | 160 | 0.657122 | 513 | 4,191 | 5.331384 | 0.19883 | 0.083364 | 0.085558 | 0.083364 | 0.804753 | 0.749177 | 0.722121 | 0.722121 | 0.722121 | 0.722121 | 0 | 0.001224 | 0.219995 | 4,191 | 128 | 161 | 32.742188 | 0.835424 | 0.580052 | 0 | 0.258065 | 0 | 0 | 0.095752 | 0.068105 | 0 | 0 | 0 | 0 | 0 | 1 | 0.193548 | false | 0 | 0.064516 | 0 | 0.483871 | 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 |
48006e8af8d6fa7af96f9554b33b8860ec73194e | 29 | py | Python | src/compas_maya/com/maya/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas_maya/com/maya/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas_maya/com/maya/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | from .sock import MayaSocket
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 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 |
4809412885ea70f8e146265c90bcc8e20db9fa31 | 398 | py | Python | autofit/plot/__init__.py | caoxiaoyue/PyAutoFit | 819cd2acc8d4069497a161c3bb6048128e44d828 | [
"MIT"
] | 39 | 2019-01-24T10:45:23.000Z | 2022-03-18T09:37:59.000Z | autofit/plot/__init__.py | caoxiaoyue/PyAutoFit | 819cd2acc8d4069497a161c3bb6048128e44d828 | [
"MIT"
] | 260 | 2018-11-27T12:56:33.000Z | 2022-03-31T16:08:59.000Z | autofit/plot/__init__.py | caoxiaoyue/PyAutoFit | 819cd2acc8d4069497a161c3bb6048128e44d828 | [
"MIT"
] | 13 | 2018-11-30T16:49:05.000Z | 2022-01-21T17:39:29.000Z | from autofit.plot.samples_plotters import SamplesPlotter
from autofit.non_linear.nest.dynesty.plotter import DynestyPlotter
from autofit.non_linear.nest.ultranest.plotter import UltraNestPlotter
from autofit.non_linear.mcmc.emcee.plotter import EmceePlotter
from autofit.non_linear.mcmc.zeus.plotter import ZeusPlott... | 56.857143 | 73 | 0.869347 | 52 | 398 | 6.538462 | 0.442308 | 0.194118 | 0.205882 | 0.294118 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075377 | 398 | 6 | 74 | 66.333333 | 0.923913 | 0 | 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 |
48094a27594f15064f8bb42cc12e7efe63e18edf | 165 | py | Python | continuum/tasks/__init__.py | psychicmario/continuum | 22f60d3fc71553f1334cffa7e88a1727cdf2413c | [
"MIT"
] | null | null | null | continuum/tasks/__init__.py | psychicmario/continuum | 22f60d3fc71553f1334cffa7e88a1727cdf2413c | [
"MIT"
] | null | null | null | continuum/tasks/__init__.py | psychicmario/continuum | 22f60d3fc71553f1334cffa7e88a1727cdf2413c | [
"MIT"
] | null | null | null | # pylint: disable=C0401
# flake8: noqa
from continuum.tasks.task_set import TaskSet
from continuum.tasks.utils import split_train_val, concat
__all__ = ["TaskSet"]
| 23.571429 | 57 | 0.793939 | 23 | 165 | 5.391304 | 0.782609 | 0.209677 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0.115152 | 165 | 6 | 58 | 27.5 | 0.815068 | 0.206061 | 0 | 0 | 0 | 0 | 0.054688 | 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 |
4809c422bf1321bdb476d8bf295e84a6d8af7d38 | 4,606 | py | Python | example/boost_lin_tree_1d.py | wgurecky/pCRTree | 3b7bf8596793b32bb8162db5df7a765cf774e2f1 | [
"BSD-3-Clause"
] | 1 | 2020-06-07T04:36:06.000Z | 2020-06-07T04:36:06.000Z | example/boost_lin_tree_1d.py | wgurecky/pCRTree | 3b7bf8596793b32bb8162db5df7a765cf774e2f1 | [
"BSD-3-Clause"
] | 6 | 2017-07-21T07:03:05.000Z | 2020-09-24T18:38:36.000Z | example/boost_lin_tree_1d.py | wgurecky/pCRTree | 3b7bf8596793b32bb8162db5df7a765cf774e2f1 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python3
from boosting.gbm import GBRTmodel
from matplotlib import gridspec
import numpy as np
MPL = False
try:
from pylab import cm
import matplotlib.pyplot as plt
MPL = True
except: pass
def example_boosed_lin_reg_lin(f, plot_name='1d_boosted_regression_lin_lin_ex.png'):
n_samples_per... | 36.267717 | 133 | 0.546678 | 704 | 4,606 | 3.455966 | 0.21875 | 0.009042 | 0.036991 | 0.039046 | 0.815043 | 0.787505 | 0.751336 | 0.730785 | 0.730785 | 0.730785 | 0 | 0.057478 | 0.297438 | 4,606 | 126 | 134 | 36.555556 | 0.694376 | 0.183239 | 0 | 0.614458 | 0 | 0 | 0.093098 | 0.019262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060241 | false | 0.012048 | 0.060241 | 0 | 0.156627 | 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 |
485061818a0eb4e60d6caa58c3947b002619beaa | 24 | py | Python | ppca/__init__.py | sinziana91/pca-magic | db813177028e7453f4bceec42cb9383809559dc0 | [
"Apache-2.0"
] | 218 | 2015-02-22T21:22:49.000Z | 2022-03-11T14:00:58.000Z | ppca/__init__.py | asinga1982/pca-magic | 1e94f983c61e41b31e353465810fc0d8d46a8c98 | [
"Apache-2.0"
] | 11 | 2016-07-09T23:49:45.000Z | 2022-03-08T09:19:18.000Z | ppca/__init__.py | asinga1982/pca-magic | 1e94f983c61e41b31e353465810fc0d8d46a8c98 | [
"Apache-2.0"
] | 45 | 2015-02-23T16:06:01.000Z | 2022-01-12T15:58:08.000Z | from ._ppca import PPCA
| 12 | 23 | 0.791667 | 4 | 24 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 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 |
6f83e73965f15f8699279a754045bb9013357ccb | 3,267 | py | Python | plaso/parsers/__init__.py | rick-slin/plaso | 8685bd1689cbbaea78ebf723881a842eeaf94c35 | [
"Apache-2.0"
] | null | null | null | plaso/parsers/__init__.py | rick-slin/plaso | 8685bd1689cbbaea78ebf723881a842eeaf94c35 | [
"Apache-2.0"
] | null | null | null | plaso/parsers/__init__.py | rick-slin/plaso | 8685bd1689cbbaea78ebf723881a842eeaf94c35 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""This file imports Python modules that register parsers."""
from plaso.parsers import asl
from plaso.parsers import android_app_usage
from plaso.parsers import apache_access
from plaso.parsers import apt_history
from plaso.parsers import aws_elb_access
from plaso.parsers import bash_history
f... | 35.901099 | 77 | 0.854913 | 486 | 3,267 | 5.652263 | 0.251029 | 0.268657 | 0.477612 | 0.656716 | 0.383327 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000345 | 0.112642 | 3,267 | 90 | 78 | 36.3 | 0.947223 | 0.086012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f8f7ed8337271bf7ac7ab965547f3e0fecc552d | 107 | py | Python | core/primitive/string.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | core/primitive/string.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | core/primitive/string.py | ponyatov/metaLpy | 96149313e8083536ade1c331825242f6996f05b3 | [
"MIT"
] | null | null | null | ## @file
from .primitive import *
## text string
## @ingroup primitive
class String(Primitive):
pass
| 11.888889 | 24 | 0.682243 | 12 | 107 | 6.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196262 | 107 | 8 | 25 | 13.375 | 0.848837 | 0.336449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
6fceb6b5ab16f3001ea7837c90e6cb2481f3d4e2 | 113,303 | py | Python | train_functions.py | vassilis-karavias/fNRI-mastersigma | d3f4fecf9d28a9bc6e6150994824ca7674006ed3 | [
"MIT"
] | null | null | null | train_functions.py | vassilis-karavias/fNRI-mastersigma | d3f4fecf9d28a9bc6e6150994824ca7674006ed3 | [
"MIT"
] | null | null | null | train_functions.py | vassilis-karavias/fNRI-mastersigma | d3f4fecf9d28a9bc6e6150994824ca7674006ed3 | [
"MIT"
] | null | null | null | '''
This code is based on https://github.com/ekwebb/fNRI which in turn is based on https://github.com/ethanfetaya/NRI
(MIT licence)
'''
import argparse
import csv
import datetime
import os
import pickle
import torch.optim as optim
from torch.optim import lr_scheduler
import time
from modules_sigma import *
from utils ... | 63.47507 | 220 | 0.545643 | 13,517 | 113,303 | 4.315159 | 0.04535 | 0.025562 | 0.035112 | 0.038163 | 0.87032 | 0.852164 | 0.827116 | 0.81112 | 0.794044 | 0.781751 | 0 | 0.014461 | 0.350026 | 113,303 | 1,784 | 221 | 63.51065 | 0.777565 | 0.13997 | 0 | 0.676621 | 0 | 0 | 0.030347 | 0.002193 | 0 | 0 | 0 | 0 | 0.002185 | 1 | 0.014567 | false | 0 | 0.01748 | 0 | 0.042972 | 0.024035 | 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 |
6fd1c908be6c0c70082ec929b4a531f8d57fd17a | 35,282 | py | Python | pybind/slxos/v17r_2_00/mpls_state/transit_traffic_statistics/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_state/transit_traffic_statistics/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | null | null | null | pybind/slxos/v17r_2_00/mpls_state/transit_traffic_statistics/__init__.py | extremenetworks/pybind | 44c467e71b2b425be63867aba6e6fa28b2cfe7fb | [
"Apache-2.0"
] | 1 | 2021-11-05T22:15:42.000Z | 2021-11-05T22:15:42.000Z |
from operator import attrgetter
import pyangbind.lib.xpathhelper as xpathhelper
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType
from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType
from pyangbind.lib.base import PybindBase
from d... | 72.746392 | 621 | 0.751346 | 4,678 | 35,282 | 5.368961 | 0.043181 | 0.036949 | 0.046823 | 0.045708 | 0.887323 | 0.858417 | 0.841057 | 0.825768 | 0.809763 | 0.79519 | 0 | 0.026051 | 0.12743 | 35,282 | 484 | 622 | 72.896694 | 0.789775 | 0.177087 | 0 | 0.477941 | 0 | 0.036765 | 0.373081 | 0.23199 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121324 | false | 0 | 0.029412 | 0 | 0.264706 | 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 |
6ffc4da15e0025892e43e4f3c07dd18b2566c3a5 | 43 | py | Python | quel/sort.py | eppingere/hackcmu18-backend | 696c050c4ce5acdf49aeaeeaded730a33443f5bd | [
"MIT"
] | 2 | 2018-09-22T00:18:06.000Z | 2018-09-23T04:49:29.000Z | quel/sort.py | eppingere/hackcmu18-backend | 696c050c4ce5acdf49aeaeeaded730a33443f5bd | [
"MIT"
] | null | null | null | quel/sort.py | eppingere/hackcmu18-backend | 696c050c4ce5acdf49aeaeeaded730a33443f5bd | [
"MIT"
] | null | null | null | def sort_a_list(xs):
return sorted(xs)
| 14.333333 | 21 | 0.697674 | 8 | 43 | 3.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 2 | 22 | 21.5 | 0.8 | 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 |
d264700d4866f36751930a2bbd7fb7604dcb757f | 44 | py | Python | Network Automation/Router/__init__.py | kuhakuu04/Network_Automation | f3eb99943e569f3311233f437ea17cd1862e3dc9 | [
"Apache-2.0"
] | null | null | null | Network Automation/Router/__init__.py | kuhakuu04/Network_Automation | f3eb99943e569f3311233f437ea17cd1862e3dc9 | [
"Apache-2.0"
] | null | null | null | Network Automation/Router/__init__.py | kuhakuu04/Network_Automation | f3eb99943e569f3311233f437ea17cd1862e3dc9 | [
"Apache-2.0"
] | null | null | null | from .Mikrotik import *
from .Cisco import * | 22 | 23 | 0.75 | 6 | 44 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 24 | 22 | 0.891892 | 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 |
d2694b9724a3b46e8859d0a0478f55a5f9278566 | 5,968 | py | Python | tests/test_cmd_execution.py | maximium/ffmpy | 40737b1ce2251914e8fb6b67e1b0ded274997a4f | [
"MIT"
] | null | null | null | tests/test_cmd_execution.py | maximium/ffmpy | 40737b1ce2251914e8fb6b67e1b0ded274997a4f | [
"MIT"
] | null | null | null | tests/test_cmd_execution.py | maximium/ffmpy | 40737b1ce2251914e8fb6b67e1b0ded274997a4f | [
"MIT"
] | null | null | null | import os
import subprocess
import threading
import time
import pytest
from ffmpy import FFExecutableNotFoundError, FFmpeg, FFRuntimeError
def test_invalid_executable_path():
ff = FFmpeg(executable="/tmp/foo/bar/ffmpeg")
with pytest.raises(FFExecutableNotFoundError) as exc_info:
ff.run()
assert ... | 33.52809 | 88 | 0.665214 | 804 | 5,968 | 4.80597 | 0.110697 | 0.100932 | 0.068323 | 0.074534 | 0.851449 | 0.832557 | 0.820652 | 0.79736 | 0.79736 | 0.752588 | 0 | 0.012372 | 0.214477 | 5,968 | 177 | 89 | 33.717514 | 0.81186 | 0 | 0 | 0.594406 | 0 | 0 | 0.332105 | 0.003519 | 0 | 0 | 0 | 0 | 0.216783 | 1 | 0.076923 | false | 0 | 0.041958 | 0 | 0.118881 | 0.090909 | 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 |
d27bf89e6938087054172df20a8c99c634e7a89d | 13,396 | py | Python | koapy/cli/utils/grpc_options.py | webclinic017/koapy | 0cdbfac6a10c70e83df800a3a4362872b8792aba | [
"MIT"
] | null | null | null | koapy/cli/utils/grpc_options.py | webclinic017/koapy | 0cdbfac6a10c70e83df800a3a4362872b8792aba | [
"MIT"
] | null | null | null | koapy/cli/utils/grpc_options.py | webclinic017/koapy | 0cdbfac6a10c70e83df800a3a4362872b8792aba | [
"MIT"
] | null | null | null | import click
from koapy.cli.extensions.functools import update_wrapper_with_click_params
from koapy.cli.extensions.parser import ClickArgumentParser
from koapy.cli.utils.verbose_option import full_verbose_option
from koapy.config import config
# grpc configs for default values
grpc_config = config.get("koapy.backend.... | 34.794805 | 105 | 0.689609 | 1,790 | 13,396 | 4.83743 | 0.069274 | 0.081072 | 0.106017 | 0.058205 | 0.892366 | 0.857258 | 0.828502 | 0.781499 | 0.751011 | 0.734727 | 0 | 0 | 0.217154 | 13,396 | 384 | 106 | 34.885417 | 0.825689 | 0.073305 | 0 | 0.479751 | 0 | 0.003115 | 0.2572 | 0.035902 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028037 | false | 0.009346 | 0.015576 | 0 | 0.071651 | 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 |
967d05cbf3f4da6ee46031647ef77ffc13ff3b67 | 74 | py | Python | src/dataset/__init__.py | pigmon/SqueezeDet_Win | beb88d5a5652d2b3088aa2f670e6680043d13ac3 | [
"BSD-2-Clause"
] | 2 | 2017-05-25T01:26:41.000Z | 2019-08-16T13:38:57.000Z | src/dataset/__init__.py | pigmon/SqueezeDet_Win | beb88d5a5652d2b3088aa2f670e6680043d13ac3 | [
"BSD-2-Clause"
] | null | null | null | src/dataset/__init__.py | pigmon/SqueezeDet_Win | beb88d5a5652d2b3088aa2f670e6680043d13ac3 | [
"BSD-2-Clause"
] | 1 | 2017-05-25T01:26:50.000Z | 2017-05-25T01:26:50.000Z | from dataset.kitti import kitti
from dataset.pascal_voc import pascal_voc
| 24.666667 | 41 | 0.864865 | 12 | 74 | 5.166667 | 0.5 | 0.354839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 42 | 37 | 0.939394 | 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 |
96b95b21313c44901627bb3bae017294e2625190 | 717 | py | Python | proxySTAR_V3/certbot/venv.1509389747.bak/lib/python2.7/site-packages/pylint/test/input/func_disable_linebased.py | mami-project/lurk | 98c293251e9b1e9c9a4b02789486c5ddaf46ba3c | [
"Apache-2.0"
] | 2 | 2017-07-05T09:57:33.000Z | 2017-11-14T23:05:53.000Z | Libraries/Python/pylint/v1.4.4/pylint/test/input/func_disable_linebased.py | davidbrownell/Common_Environment | 4015872aeac8d5da30a6aa7940e1035a6aa6a75d | [
"BSL-1.0"
] | 1 | 2019-01-17T14:26:22.000Z | 2019-01-17T22:56:26.000Z | Libraries/Python/pylint/v1.4.4/pylint/test/input/func_disable_linebased.py | davidbrownell/Common_Environment | 4015872aeac8d5da30a6aa7940e1035a6aa6a75d | [
"BSL-1.0"
] | 1 | 2017-08-31T14:33:03.000Z | 2017-08-31T14:33:03.000Z | # This is a very very very very very very very very very very very very very very very very very very very very very long line.
# pylint: disable=line-too-long, print-statement
"""Make sure enable/disable pragmas work for messages that are applied to lines and not syntax nodes.
A disable pragma for a message that ... | 47.8 | 128 | 0.760112 | 123 | 717 | 4.398374 | 0.495935 | 0.295749 | 0.421442 | 0.532348 | 0.155268 | 0.155268 | 0.155268 | 0.155268 | 0.155268 | 0.155268 | 0 | 0.001712 | 0.185495 | 717 | 14 | 129 | 51.214286 | 0.924658 | 0.772664 | 0 | 0 | 0 | 0.5 | 0.757143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
73d8c55f08cb7d2869165c3df287bf23c2c67303 | 97 | py | Python | model/__init__.py | GauravSarkar/BERT-CRF | 649c4f5fce7b887f3db9a9303e938d90c4b87677 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | GauravSarkar/BERT-CRF | 649c4f5fce7b887f3db9a9303e938d90c4b87677 | [
"Apache-2.0"
] | null | null | null | model/__init__.py | GauravSarkar/BERT-CRF | 649c4f5fce7b887f3db9a9303e938d90c4b87677 | [
"Apache-2.0"
] | null | null | null | from .modeling_jointbert import JointBERT
from .modeling_jointdistilbert import JointDistilBERT
| 24.25 | 53 | 0.886598 | 10 | 97 | 8.4 | 0.5 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 97 | 3 | 54 | 32.333333 | 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 |
fb7a2bb57fa2e2cf642c9d3d082afb6820613ddb | 5,207 | py | Python | Project Euler/013.py | terror/solutions | bbe5d30b21d6194666c6c09ecb43f777e12925fa | [
"CC0-1.0"
] | 2 | 2021-04-05T14:26:37.000Z | 2021-06-10T04:22:01.000Z | Project Euler/013.py | terror/solutions | bbe5d30b21d6194666c6c09ecb43f777e12925fa | [
"CC0-1.0"
] | null | null | null | Project Euler/013.py | terror/solutions | bbe5d30b21d6194666c6c09ecb43f777e12925fa | [
"CC0-1.0"
] | null | null | null | nums = """
37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539346171171980310421047513778063246676
89261670696623633820136378418383684178734361726757
281... | 50.067308 | 91 | 0.970616 | 118 | 5,207 | 42.830508 | 0.966102 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.98194 | 0.021702 | 5,207 | 103 | 92 | 50.553398 | 0.010208 | 0 | 0 | 0 | 0 | 0 | 0.980027 | 0.960246 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
fba2407ed479ddc386811b480a3326ca31ae7f97 | 43 | py | Python | toeicbert/__main__.py | graykode/BERT-TOEIC | da97af28e91e843025c8cfeabddd99ed1c0dbcc8 | [
"MIT"
] | 108 | 2019-04-29T18:27:07.000Z | 2021-12-11T13:19:01.000Z | toeicbert/__main__.py | graykode/BERT-TOEIC | da97af28e91e843025c8cfeabddd99ed1c0dbcc8 | [
"MIT"
] | 5 | 2019-05-09T20:18:33.000Z | 2020-06-15T13:40:12.000Z | toeicbert/__main__.py | graykode/BERT-TOEIC | da97af28e91e843025c8cfeabddd99ed1c0dbcc8 | [
"MIT"
] | 23 | 2019-04-30T01:34:39.000Z | 2021-11-06T19:07:06.000Z | from . import bert_toeic
bert_toeic.main() | 14.333333 | 24 | 0.790698 | 7 | 43 | 4.571429 | 0.714286 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 3 | 25 | 14.333333 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
83731a18f1190819c33c6a80b62f1ed098cc50be | 45 | py | Python | src/ui/handlers/__init__.py | Rabbithy/Fyks | 8a2e8fac75b445ae8a608dc873a732c6d66a0f6b | [
"MIT"
] | 1 | 2020-06-11T03:39:40.000Z | 2020-06-11T03:39:40.000Z | src/ui/handlers/__init__.py | Rabbithy/Fyks | 8a2e8fac75b445ae8a608dc873a732c6d66a0f6b | [
"MIT"
] | 6 | 2020-10-19T23:08:27.000Z | 2020-11-24T12:03:59.000Z | src/ui/handlers/__init__.py | Rabbithy/Fyks | 8a2e8fac75b445ae8a608dc873a732c6d66a0f6b | [
"MIT"
] | null | null | null | from .mousehandler import CustomMouseHandler
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 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 |
83b0a1de629ae27565f8477ee80bb6b31529cc16 | 49,653 | py | Python | preprocessing_image_datasets.py | neu-spiral/DeepSpectralRanking | dbdf320478002e247cb3293d34e9f56e9e1e9a21 | [
"MIT"
] | 1 | 2021-06-27T05:02:14.000Z | 2021-06-27T05:02:14.000Z | preprocessing_image_datasets.py | neu-spiral/DeepSpectralRanking | dbdf320478002e247cb3293d34e9f56e9e1e9a21 | [
"MIT"
] | null | null | null | preprocessing_image_datasets.py | neu-spiral/DeepSpectralRanking | dbdf320478002e247cb3293d34e9f56e9e1e9a21 | [
"MIT"
] | 1 | 2021-03-16T19:12:51.000Z | 2021-03-16T19:12:51.000Z | import pandas as pd
import numpy as np
import pickle
import argparse
from utils import *
from PIL import Image
from os.path import exists
from keras.preprocessing.image import load_img, img_to_array
from keras.layers import Input
from keras.models import Model
from googlenet_functional import *
from scipy.sp... | 51.884013 | 124 | 0.585967 | 6,236 | 49,653 | 4.399134 | 0.068954 | 0.018044 | 0.036489 | 0.021434 | 0.836511 | 0.810958 | 0.79645 | 0.784602 | 0.768746 | 0.755331 | 0 | 0.021477 | 0.310777 | 49,653 | 956 | 125 | 51.938285 | 0.780141 | 0.168469 | 0 | 0.642553 | 0 | 0 | 0.066143 | 0.025002 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019858 | false | 0 | 0.021277 | 0 | 0.043972 | 0.012766 | 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 |
83e72d18dbaf89deb20c7a6afca1160f6e1ba4f4 | 637 | py | Python | huaweicloud-sdk-hss/huaweicloudsdkhss/v1/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 64 | 2020-06-12T07:05:07.000Z | 2022-03-30T03:32:50.000Z | huaweicloud-sdk-hss/huaweicloudsdkhss/v1/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 11 | 2020-07-06T07:56:54.000Z | 2022-01-11T11:14:40.000Z | huaweicloud-sdk-hss/huaweicloudsdkhss/v1/__init__.py | huaweicloud/huaweicloud-sdk-python-v3 | 7a6270390fcbf192b3882bf763e7016e6026ef78 | [
"Apache-2.0"
] | 24 | 2020-06-08T11:42:13.000Z | 2022-03-04T06:44:08.000Z | # coding: utf-8
from __future__ import absolute_import
# import HssClient
from huaweicloudsdkhss.v1.hss_client import HssClient
from huaweicloudsdkhss.v1.hss_async_client import HssAsyncClient
# import models into sdk package
from huaweicloudsdkhss.v1.model.event import Event
from huaweicloudsdkhss.v1.model.host impo... | 39.8125 | 78 | 0.877551 | 80 | 637 | 6.7875 | 0.375 | 0.309392 | 0.338858 | 0.309392 | 0.427256 | 0.427256 | 0 | 0 | 0 | 0 | 0 | 0.015358 | 0.080063 | 637 | 15 | 79 | 42.466667 | 0.911263 | 0.095761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
83ff378862e436cd81a9cb109dc624c080d2dba5 | 240 | py | Python | simpleflow/signal.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | null | null | null | simpleflow/signal.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | null | null | null | simpleflow/signal.py | nstott/simpleflow | 483602deb745a09b59ad6e24052dd5096c54fad2 | [
"MIT"
] | null | null | null | from .base import Submittable
class WaitForSignal(Submittable):
"""
Mark the executor must wait on a signal.
"""
def __init__(self, signal_name):
self.signal_name = signal_name
def execute(self):
pass
| 18.461538 | 44 | 0.65 | 29 | 240 | 5.137931 | 0.689655 | 0.201342 | 0.187919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 240 | 12 | 45 | 20 | 0.846591 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
f7d9dc4a91a0901900f652e46c96b3ad07877a12 | 89 | py | Python | wntr/utils/__init__.py | yejustme/WNTR | 4228853c84217392b57e99c486e878ddf7959bbd | [
"BSD-3-Clause"
] | null | null | null | wntr/utils/__init__.py | yejustme/WNTR | 4228853c84217392b57e99c486e878ddf7959bbd | [
"BSD-3-Clause"
] | null | null | null | wntr/utils/__init__.py | yejustme/WNTR | 4228853c84217392b57e99c486e878ddf7959bbd | [
"BSD-3-Clause"
] | null | null | null | """
The wntr.utils package contains helper functions.
"""
from wntr.utils import logger
| 14.833333 | 49 | 0.752809 | 12 | 89 | 5.583333 | 0.833333 | 0.268657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 50 | 17.8 | 0.881579 | 0.550562 | 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 |
f7febaca2f57a1183dd1609bb06226e92d527c6b | 22 | py | Python | db_model/post-comment.py | UtkarshR8j/evolv-challenge | 81469c2eab27db140e2c7a369885b7e3b1584b77 | [
"MIT"
] | null | null | null | db_model/post-comment.py | UtkarshR8j/evolv-challenge | 81469c2eab27db140e2c7a369885b7e3b1584b77 | [
"MIT"
] | null | null | null | db_model/post-comment.py | UtkarshR8j/evolv-challenge | 81469c2eab27db140e2c7a369885b7e3b1584b77 | [
"MIT"
] | null | null | null | from . import crud_db
| 11 | 21 | 0.772727 | 4 | 22 | 4 | 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 |
791f0980ae88ddd85f910b412e3f7940e8eced9e | 164 | py | Python | src/Entity.py | andreuesteras/sim-port | a7d8bbe04abff890f10353a83e40e16d6db64415 | [
"Apache-1.1"
] | null | null | null | src/Entity.py | andreuesteras/sim-port | a7d8bbe04abff890f10353a83e40e16d6db64415 | [
"Apache-1.1"
] | null | null | null | src/Entity.py | andreuesteras/sim-port | a7d8bbe04abff890f10353a83e40e16d6db64415 | [
"Apache-1.1"
] | null | null | null | class Entity:
def __init__(self, operationType):
self.operationType = operationType
def getOperationType(self):
return self.operationType
| 20.5 | 42 | 0.70122 | 15 | 164 | 7.4 | 0.533333 | 0.459459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231707 | 164 | 7 | 43 | 23.428571 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 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 |
792a963a36ad0c981a1dc7d6232e2053616230af | 117 | py | Python | linkcheckerjs/checker/__init__.py | LeResKP/linkcheckerjs | 64a0f9da47781f324bd647546a273160ff4516fa | [
"MIT"
] | null | null | null | linkcheckerjs/checker/__init__.py | LeResKP/linkcheckerjs | 64a0f9da47781f324bd647546a273160ff4516fa | [
"MIT"
] | null | null | null | linkcheckerjs/checker/__init__.py | LeResKP/linkcheckerjs | 64a0f9da47781f324bd647546a273160ff4516fa | [
"MIT"
] | null | null | null | from .phantomjs import phantomjs_checker
from .requestspy import requests_checker
from .utils import standardize_url
| 29.25 | 40 | 0.871795 | 15 | 117 | 6.6 | 0.6 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 3 | 41 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f74741c069ee1b6a4ae1b7ff6d986f2ce19bf3a7 | 4,568 | py | Python | level3/prepare_the_bunnies_escape/solution.py | lcsm29/goog-foobar | 6ea44879d9d9f3483fa320d92d6c25b14565c899 | [
"MIT"
] | null | null | null | level3/prepare_the_bunnies_escape/solution.py | lcsm29/goog-foobar | 6ea44879d9d9f3483fa320d92d6c25b14565c899 | [
"MIT"
] | null | null | null | level3/prepare_the_bunnies_escape/solution.py | lcsm29/goog-foobar | 6ea44879d9d9f3483fa320d92d6c25b14565c899 | [
"MIT"
] | null | null | null | def count_step(m, w, h):
m = [[i for i in l] for l in m]
next_pos = [(0, 0)]
while next_pos:
x, y = next_pos.pop(0)
for i, j in ((-1, 0), (1, 0), (0, -1), (0, 1)):
x_, y_ = x + i, y + j
if 0 <= x_ < w and 0 <= y_ < h:
if not m[y_][x_]:
... | 39.042735 | 85 | 0.336033 | 890 | 4,568 | 1.677528 | 0.083146 | 0.277294 | 0.279303 | 0.246484 | 0.468185 | 0.45211 | 0.445412 | 0.438714 | 0.430676 | 0.399866 | 0 | 0.255633 | 0.436515 | 4,568 | 116 | 86 | 39.37931 | 0.324398 | 0 | 0 | 0.258929 | 0 | 0 | 0.044877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017857 | false | 0 | 0.008929 | 0 | 0.053571 | 0.017857 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f78a52d66eb4d8744e7efa1d98de0a71abdadb72 | 5,242 | py | Python | model.py | NarendraPatwardhan/gym_venv | 9c7456cc64d416556f1d1d8eca7a72df0821cf00 | [
"MIT"
] | null | null | null | model.py | NarendraPatwardhan/gym_venv | 9c7456cc64d416556f1d1d8eca7a72df0821cf00 | [
"MIT"
] | null | null | null | model.py | NarendraPatwardhan/gym_venv | 9c7456cc64d416556f1d1d8eca7a72df0821cf00 | [
"MIT"
] | null | null | null | import numpy as np
import mxnet as mx
import matplotlib.pyplot as plt
#-----------------------------------------------------------------------------
class StateModel(mx.gluon.Block):
def __init__(self,config):
super(StateModel, self).__init__()
self.config = config
x = mx.nd.array(self.con... | 42.274194 | 149 | 0.553987 | 629 | 5,242 | 4.459459 | 0.195548 | 0.081996 | 0.032086 | 0.034225 | 0.819608 | 0.790731 | 0.776471 | 0.757932 | 0.73369 | 0.732264 | 0 | 0.015206 | 0.259824 | 5,242 | 123 | 150 | 42.617886 | 0.707732 | 0.044067 | 0 | 0.605505 | 0 | 0 | 0.093269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055046 | false | 0 | 0.027523 | 0.018349 | 0.119266 | 0.027523 | 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 |
f79e8c283908eeb9288ef98cbffba38f1005acfc | 34 | py | Python | pga/basemodel/__init__.py | pgallen90/basemodel | ab453c43b121b393055929c6c0218b50c6c73fa2 | [
"MIT"
] | 2 | 2022-01-26T04:02:29.000Z | 2022-02-05T23:29:02.000Z | pga/basemodel/__init__.py | pgallen90/basemodel | ab453c43b121b393055929c6c0218b50c6c73fa2 | [
"MIT"
] | null | null | null | pga/basemodel/__init__.py | pgallen90/basemodel | ab453c43b121b393055929c6c0218b50c6c73fa2 | [
"MIT"
] | null | null | null | from .mixin import BaseModelMixin
| 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 |
e398027bfc38424c31b972070d2ac945cd629998 | 218 | py | Python | bots.sample/serial-entrepreneur/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | 39 | 2017-06-19T16:12:34.000Z | 2022-03-02T10:06:29.000Z | bots.sample/serial-entrepreneur/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | null | null | null | bots.sample/serial-entrepreneur/__init__.py | 0xdc/botfriend | 6157a873c4158ccfdda4bf021059bddf14217654 | [
"MIT"
] | 5 | 2018-08-27T19:49:56.000Z | 2020-10-22T02:31:04.000Z | from .entrepreneur import Announcements
from botfriend.bot import TextGeneratorBot
class EntrepreneurBot(TextGeneratorBot):
def generate_text(self):
return Announcements().choice()
Bot = EntrepreneurBot
| 21.8 | 42 | 0.788991 | 21 | 218 | 8.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 218 | 9 | 43 | 24.222222 | 0.919355 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
e3b0bc290719636377964132df80d1f15f8509de | 37 | py | Python | kora/s/losses.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 91 | 2020-05-26T05:54:51.000Z | 2022-03-09T07:33:44.000Z | kora/s/losses.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 12 | 2020-10-03T10:09:11.000Z | 2021-03-06T23:12:21.000Z | kora/s/losses.py | wannaphong/kora | 8a9034097d07b14094e077769c02a0b4857d179b | [
"MIT"
] | 16 | 2020-07-07T18:39:29.000Z | 2021-03-06T03:46:49.000Z | from tensorflow.keras.losses import * | 37 | 37 | 0.837838 | 5 | 37 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.911765 | 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 |
541a413a249a493df5734542608918483e11faf3 | 30 | py | Python | cursesqr/tools/__init__.py | Ruunyox/CursesQR | cd3be10eaae77f20eca765fc77c946a284712ad8 | [
"MIT"
] | 5 | 2020-11-01T17:19:25.000Z | 2020-11-05T20:28:21.000Z | cursesqr/tools/__init__.py | Ruunyox/CursesQR | cd3be10eaae77f20eca765fc77c946a284712ad8 | [
"MIT"
] | null | null | null | cursesqr/tools/__init__.py | Ruunyox/CursesQR | cd3be10eaae77f20eca765fc77c946a284712ad8 | [
"MIT"
] | null | null | null | from .cursesqr_tools import *
| 15 | 29 | 0.8 | 4 | 30 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.