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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
908e40233fdc76df4ebadf33cf21a585a85c74c8 | 149 | py | Python | src/cogs/ide/dialogs/__init__.py | Nipa-Code/Jarvide | 7a0f036f3c88f0818bbd2a5a2bc714885ac01f12 | [
"MIT"
] | 27 | 2021-12-30T14:47:03.000Z | 2022-03-10T19:34:13.000Z | src/cogs/ide/dialogs/__init__.py | Nipa-Code/Jarvide | 7a0f036f3c88f0818bbd2a5a2bc714885ac01f12 | [
"MIT"
] | 61 | 2021-12-31T00:13:58.000Z | 2022-03-04T09:38:24.000Z | src/cogs/ide/dialogs/__init__.py | Nipa-Code/Jarvide | 7a0f036f3c88f0818bbd2a5a2bc714885ac01f12 | [
"MIT"
] | 40 | 2021-12-30T14:58:24.000Z | 2022-02-15T14:12:30.000Z | from .open_view import OpenView
from .file_view import FileView
from .edit_view import EditView
from .navigated_saved import OpenFromSaved, SaveFile
| 29.8 | 52 | 0.852349 | 21 | 149 | 5.857143 | 0.619048 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114094 | 149 | 4 | 53 | 37.25 | 0.931818 | 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 |
90b2eda0cff340037cc7c47acc64a78c2f0185fa | 2,245 | py | Python | windows/winproxy/apis/winhttp.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | null | null | null | windows/winproxy/apis/winhttp.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | null | null | null | windows/winproxy/apis/winhttp.py | IMULMUL/PythonForWindows | 61e027a678d5b87aa64fcf8a37a6661a86236589 | [
"BSD-3-Clause"
] | null | null | null | import ctypes
import windows.generated_def as gdef
from ..apiproxy import ApiProxy, NeededParameter
from ..error import (fail_on_zero)
class WinHTTPProxy(ApiProxy):
APIDLL = "winhttp"
default_error_check = staticmethod(fail_on_zero)
@WinHTTPProxy()
def WinHttpOpen(pszAgentW, dwAccessType, pszProxyW, pszPro... | 43.173077 | 141 | 0.835189 | 185 | 2,245 | 10.043243 | 0.356757 | 0.080732 | 0.071044 | 0.048439 | 0.324004 | 0.234661 | 0.170075 | 0 | 0 | 0 | 0 | 0 | 0.088641 | 2,245 | 51 | 142 | 44.019608 | 0.908113 | 0 | 0 | 0.27027 | 1 | 0 | 0.003118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0.054054 | 0.108108 | 0.27027 | 0.72973 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
2900d5364180aeca5c36ac9c981d3e364d577cb3 | 7,625 | py | Python | habitica_slack/tests/test_views.py | niteshpatel/slack-to-habitica | 343ebd830fe5fc68c99e84245bee06239e5e9dee | [
"MIT"
] | 6 | 2016-09-22T08:01:44.000Z | 2020-10-10T16:31:12.000Z | habitica_slack/tests/test_views.py | niteshpatel/slack-to-habitica | 343ebd830fe5fc68c99e84245bee06239e5e9dee | [
"MIT"
] | null | null | null | habitica_slack/tests/test_views.py | niteshpatel/slack-to-habitica | 343ebd830fe5fc68c99e84245bee06239e5e9dee | [
"MIT"
] | 3 | 2016-12-22T19:47:21.000Z | 2019-03-14T19:53:19.000Z | import json
import os
import mock
from django.test import TestCase
from habitica_slack import views
class ViewsTestCase(TestCase):
def setUp(self):
os.environ['SLACK_CHANNEL_ID'] = 'my_channel'
def test_sync_message_to_habitica_with_valid_challenge_returns_ok(self):
# arrange
dummy_... | 31.25 | 99 | 0.59882 | 784 | 7,625 | 5.42602 | 0.112245 | 0.101551 | 0.079925 | 0.059238 | 0.819229 | 0.809826 | 0.784438 | 0.754349 | 0.720733 | 0.688293 | 0 | 0.004519 | 0.303475 | 7,625 | 243 | 100 | 31.378601 | 0.79646 | 0.029246 | 0 | 0.670588 | 0 | 0 | 0.141153 | 0.035254 | 0 | 0 | 0 | 0 | 0.123529 | 1 | 0.064706 | false | 0 | 0.029412 | 0 | 0.105882 | 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 |
465236c4242b3029edcc8d5f4377861fdf9343af | 134 | py | Python | scrapli_community/cisco/cbs/__init__.py | dptashnik/scrapli_community | 758cbc26b65d246b5c13e63674a3f23570fe5f69 | [
"MIT"
] | null | null | null | scrapli_community/cisco/cbs/__init__.py | dptashnik/scrapli_community | 758cbc26b65d246b5c13e63674a3f23570fe5f69 | [
"MIT"
] | null | null | null | scrapli_community/cisco/cbs/__init__.py | dptashnik/scrapli_community | 758cbc26b65d246b5c13e63674a3f23570fe5f69 | [
"MIT"
] | null | null | null | """scrapli_community.cisco.cbs"""
from scrapli_community.cisco.cbs.cisco_cbs import SCRAPLI_PLATFORM
__all__ = ("SCRAPLI_PLATFORM",)
| 26.8 | 66 | 0.80597 | 17 | 134 | 5.823529 | 0.470588 | 0.242424 | 0.424242 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067164 | 134 | 4 | 67 | 33.5 | 0.792 | 0.201493 | 0 | 0 | 0 | 0 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
4663c5ba3ca4dee22b5d4f1d14413bfcf7d01c71 | 1,006 | py | Python | hashize/models/dict/value.py | Seniatical/Hashables | 2eb2e45c60179679d6740c582eee67ca1366414a | [
"MIT"
] | null | null | null | hashize/models/dict/value.py | Seniatical/Hashables | 2eb2e45c60179679d6740c582eee67ca1366414a | [
"MIT"
] | null | null | null | hashize/models/dict/value.py | Seniatical/Hashables | 2eb2e45c60179679d6740c582eee67ca1366414a | [
"MIT"
] | 1 | 2021-03-20T13:26:37.000Z | 2021-03-20T13:26:37.000Z | from typing import Any
class DictValueSet:
def __init__(self, values: list) -> None:
self.values = values
def __repr__(self) -> str:
return 'DictValueSet({})'.format(self.values)
def __len__(self) -> int:
return len(self.values)
def __contains__(self, other) -> bool:
return... | 25.794872 | 58 | 0.610338 | 125 | 1,006 | 4.528 | 0.256 | 0.24735 | 0.206714 | 0.234982 | 0.45053 | 0.408127 | 0.408127 | 0.408127 | 0.212014 | 0 | 0 | 0 | 0.266402 | 1,006 | 39 | 59 | 25.794872 | 0.766938 | 0 | 0 | 0 | 0 | 0 | 0.015889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0 | 0.037037 | 0.37037 | 0.925926 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
46a9b594acef9609a93f8b278f651edcd6e44a48 | 463 | py | Python | J_Mathematical_Modeling/Section 2/solutionQuestion10.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | 7 | 2019-07-03T07:41:55.000Z | 2022-02-06T20:25:37.000Z | J_Mathematical_Modeling/Section 2/solutionQuestion10.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | 9 | 2019-03-14T15:15:09.000Z | 2019-08-01T14:18:21.000Z | J_Mathematical_Modeling/Section 2/solutionQuestion10.py | sylvain2002/CBM101 | 4d9dc4264ce81cc2af58ceaff96fd0ed7a570af5 | [
"MIT"
] | 11 | 2019-03-12T10:43:11.000Z | 2021-10-05T12:15:00.000Z | print("No, we could do this in a stochastic model. But if we want to write a continuous model, we have to assume that the system is homogeneous at the microscopic scale. In other words, rather than writing equations for the growth and shrinkage of every microtubule which would be conceptually equivalent to write the eq... | 463 | 463 | 0.805616 | 79 | 463 | 4.721519 | 0.708861 | 0.016086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168467 | 463 | 1 | 463 | 463 | 0.968831 | 0 | 0 | 0 | 0 | 1 | 0.978448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d3b14288a33f7e05f02501ecd4cebb1412280f3b | 61 | py | Python | models/__init__.py | BA-Transform/BAT-Video-Classification | bc395dce0eae426bf0ddf76bf5a683fbe57f708b | [
"Apache-2.0"
] | 9 | 2021-01-31T06:50:38.000Z | 2021-06-08T08:17:44.000Z | models/__init__.py | BA-Transform/BAT-Video-Classification | bc395dce0eae426bf0ddf76bf5a683fbe57f708b | [
"Apache-2.0"
] | null | null | null | models/__init__.py | BA-Transform/BAT-Video-Classification | bc395dce0eae426bf0ddf76bf5a683fbe57f708b | [
"Apache-2.0"
] | 1 | 2021-07-02T20:49:12.000Z | 2021-07-02T20:49:12.000Z | from .resnet import c2d_resnet50, i3d_resnet50, i3d_resnet18
| 30.5 | 60 | 0.852459 | 9 | 61 | 5.444444 | 0.777778 | 0.44898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163636 | 0.098361 | 61 | 1 | 61 | 61 | 0.727273 | 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 |
d3d4fd0b159eb932f9d8bf4bd6c46d0c135eaa60 | 30 | py | Python | python-backend/settings.py | PuSuEngine/pusu-testing | 1c39de9101d92d255078ad9e77f80be1a73e503f | [
"MIT"
] | 1 | 2016-07-04T07:50:58.000Z | 2016-07-04T07:50:58.000Z | python-backend/settings.py | PuSuEngine/pusu-testing | 1c39de9101d92d255078ad9e77f80be1a73e503f | [
"MIT"
] | null | null | null | python-backend/settings.py | PuSuEngine/pusu-testing | 1c39de9101d92d255078ad9e77f80be1a73e503f | [
"MIT"
] | null | null | null | PUSUD = "ws://127.0.0.1/pusu"
| 15 | 29 | 0.566667 | 7 | 30 | 2.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.1 | 30 | 1 | 30 | 30 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0.633333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3161d5a984e32d2b87a7ae3dfd6e3d2f9e7dcf87 | 91 | py | Python | blog/users/__init__.py | DerrickOdhiambo/Personal-Blog | 5470e07125669c6f45301acdc30f3f74dc9ed742 | [
"MIT"
] | null | null | null | blog/users/__init__.py | DerrickOdhiambo/Personal-Blog | 5470e07125669c6f45301acdc30f3f74dc9ed742 | [
"MIT"
] | null | null | null | blog/users/__init__.py | DerrickOdhiambo/Personal-Blog | 5470e07125669c6f45301acdc30f3f74dc9ed742 | [
"MIT"
] | null | null | null | from flask import Blueprint
users = Blueprint('users', __name__)
from . import forms, views | 30.333333 | 36 | 0.78022 | 12 | 91 | 5.583333 | 0.666667 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131868 | 91 | 3 | 37 | 30.333333 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.054348 | 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 |
31b0962d15ef4f640c4441176bc0de0d7a23aab6 | 44 | py | Python | recursion.py | KundanChakka/Butter | 0013b64665bea13250fd1b1a806acb73a7008515 | [
"MIT"
] | 3 | 2021-08-08T10:35:34.000Z | 2022-01-09T04:58:48.000Z | recursion.py | KundanChakka/Butter | 0013b64665bea13250fd1b1a806acb73a7008515 | [
"MIT"
] | null | null | null | recursion.py | KundanChakka/Butter | 0013b64665bea13250fd1b1a806acb73a7008515 | [
"MIT"
] | 3 | 2021-10-01T06:31:47.000Z | 2021-10-01T08:17:24.000Z | def recur():
print('hi')
return recur()
| 11 | 16 | 0.590909 | 6 | 44 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 44 | 3 | 17 | 14.666667 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
9ecc4e8a919bdf81454cece7e74568827cb48ca0 | 72 | py | Python | test/conftest.py | New-Math-Data/gytrash | 5ed28cc9bddf009caef347a883cb30b5e01cc8f9 | [
"Apache-2.0"
] | null | null | null | test/conftest.py | New-Math-Data/gytrash | 5ed28cc9bddf009caef347a883cb30b5e01cc8f9 | [
"Apache-2.0"
] | 8 | 2021-07-03T22:23:05.000Z | 2021-07-06T01:06:20.000Z | test/conftest.py | trejas/gytrash | 5ed28cc9bddf009caef347a883cb30b5e01cc8f9 | [
"Apache-2.0"
] | null | null | null | import pytest
@pytest.fixture
def mock_test_data():
return "data"
| 10.285714 | 21 | 0.722222 | 10 | 72 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180556 | 72 | 6 | 22 | 12 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
b40d531900540323f29b7eb43867288bf34fb8d7 | 370 | py | Python | robosuite/models/arenas/__init__.py | Won-Ryeol/robosuite | 2a28f2edb5b21443f2d70644c16722b5aa83c35d | [
"MIT"
] | 1 | 2022-03-31T06:48:04.000Z | 2022-03-31T06:48:04.000Z | robosuite/models/arenas/__init__.py | Won-Ryeol/robosuite | 2a28f2edb5b21443f2d70644c16722b5aa83c35d | [
"MIT"
] | null | null | null | robosuite/models/arenas/__init__.py | Won-Ryeol/robosuite | 2a28f2edb5b21443f2d70644c16722b5aa83c35d | [
"MIT"
] | null | null | null | from .arena import Arena
from .bins_arena import BinsArena
from .empty_arena import EmptyArena
from .pegs_arena import PegsArena
from .table_arena import TableArena
from .height_table_arena import HeightTableArena
from .wipe_force_table_arena import WipeForceTableArena
from .wiping_table_arena import WipingTableArena
f... | 37 | 55 | 0.878378 | 49 | 370 | 6.367347 | 0.408163 | 0.317308 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097297 | 370 | 9 | 56 | 41.111111 | 0.934132 | 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 | 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 |
b45206f9694f62608cf38b3c1b118c5342b0c70b | 206 | py | Python | Release/6.2.7.0/Console/Script/PyScript/Lib/ReferenceLib.py | wenhulove333/ScutServer | 338a50ff577c0e2ef2276a2883a8bfe28517c79b | [
"MIT"
] | 2 | 2017-05-27T13:32:28.000Z | 2019-05-28T15:11:33.000Z | Release/6.2.7.0/Console/Script/PyScript/Lib/ReferenceLib.py | wenhulove333/ScutServer | 338a50ff577c0e2ef2276a2883a8bfe28517c79b | [
"MIT"
] | null | null | null | Release/6.2.7.0/Console/Script/PyScript/Lib/ReferenceLib.py | wenhulove333/ScutServer | 338a50ff577c0e2ef2276a2883a8bfe28517c79b | [
"MIT"
] | 4 | 2016-08-27T05:26:16.000Z | 2019-12-27T07:07:09.000Z | import clr, sys
clr.AddReference('ZyGames.Framework.Common')
clr.AddReference('ZyGames.Framework')
clr.AddReference('ZyGames.Framework.Game')
clr.AddReference('zt3mntet')
clr.AddReference('qlmxrcpx')
| 29.428571 | 45 | 0.781553 | 23 | 206 | 7 | 0.434783 | 0.465839 | 0.409938 | 0.57764 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.067961 | 206 | 6 | 46 | 34.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.395 | 0.23 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
81e8868f445e59296215920ac983bbdb66530de8 | 31,224 | py | Python | tests/ClientServer/interop_tools/client_discovery_server_services.py | workerVA/S2OPC | 9a5b6008559501f46a4bc079beea2d6655b1bfe5 | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2018-09-28T16:03:55.000Z | 2021-09-23T09:07:10.000Z | tests/ClientServer/interop_tools/client_discovery_server_services.py | workerVA/S2OPC | 9a5b6008559501f46a4bc079beea2d6655b1bfe5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tests/ClientServer/interop_tools/client_discovery_server_services.py | workerVA/S2OPC | 9a5b6008559501f46a4bc079beea2d6655b1bfe5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed to Systerel under one or more contributor license
# agreements. See the NOTICE file distributed with this work
# for additional information regarding copyright ownership.
# Systerel licenses this file to you under the Apache
# License, Version 2.0 (the "License... | 52.832487 | 206 | 0.662183 | 3,145 | 31,224 | 6.489666 | 0.08903 | 0.030867 | 0.044586 | 0.054875 | 0.846546 | 0.81612 | 0.774816 | 0.753209 | 0.734934 | 0.687947 | 0 | 0.020469 | 0.247406 | 31,224 | 590 | 207 | 52.922034 | 0.848079 | 0.096656 | 0 | 0.605664 | 0 | 0.010893 | 0.279403 | 0.029643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013072 | false | 0 | 0.006536 | 0.002179 | 0.021786 | 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 |
c32424b0d62770aea895cde2624383459d7d5237 | 276 | py | Python | src/Python/helloWorld.py | apoorva-25/Learning-Git | 0b2676b18a8198355e6075fae28233cfedd4ee5e | [
"MIT"
] | null | null | null | src/Python/helloWorld.py | apoorva-25/Learning-Git | 0b2676b18a8198355e6075fae28233cfedd4ee5e | [
"MIT"
] | 2 | 2020-09-24T11:36:34.000Z | 2020-09-30T14:17:53.000Z | src/Python/helloWorld.py | apoorva-25/Learning-Git | 0b2676b18a8198355e6075fae28233cfedd4ee5e | [
"MIT"
] | 5 | 2020-09-21T13:21:08.000Z | 2021-10-03T17:10:01.000Z | print("Hello World")
print("Adding Update")
print('hello world again')
print('Adding more updates')
print('Adding further more updates')
print('Adding more further updates')
print('Added update')
print('Sorted the issue')
print('added a new line')
print('Hello world again!')
| 25.090909 | 36 | 0.742754 | 40 | 276 | 5.125 | 0.4 | 0.214634 | 0.219512 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 276 | 10 | 37 | 27.6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.637681 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5ee26e9b2e1aef850820b4473a5c0504c0df6fb6 | 26,808 | py | Python | veros/core/friction.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/friction.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | veros/core/friction.py | madsbk/veros | 00d2c33e28f0bd098a81bd6ac48436067e7eb8f5 | [
"MIT"
] | null | null | null | import math
from .. import veros_method
from . import numerics, utilities, cyclic
@veros_method
def explicit_vert_friction(vs):
"""
explicit vertical friction
dissipation is calculated and added to K_diss_v
"""
diss = np.zeros((vs.nx + 4, vs.ny + 4, vs.nz), dtype=vs.default_float_type)
"""
... | 54.934426 | 146 | 0.47318 | 4,528 | 26,808 | 2.711793 | 0.032244 | 0.040557 | 0.02883 | 0.019546 | 0.950159 | 0.939246 | 0.932649 | 0.90952 | 0.88346 | 0.845427 | 0 | 0.072153 | 0.260706 | 26,808 | 487 | 147 | 55.047228 | 0.547404 | 0.024769 | 0 | 0.502941 | 0 | 0 | 0.000564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023529 | false | 0 | 0.008824 | 0 | 0.032353 | 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 |
6f34888207bc09f07f8375e817ebae1f47d178e1 | 7,478 | py | Python | pyteck/validation.py | vayner-s/PyTeCK | 0b180cd8679a16a204e780f6a6dc87df0a7256f1 | [
"MIT"
] | 10 | 2019-04-28T12:56:12.000Z | 2021-12-06T15:23:40.000Z | pyteck/validation.py | vayner-s/PyTeCK | 0b180cd8679a16a204e780f6a6dc87df0a7256f1 | [
"MIT"
] | 11 | 2019-02-23T22:03:57.000Z | 2022-02-28T14:45:00.000Z | pyteck/validation.py | vayner-s/PyTeCK | 0b180cd8679a16a204e780f6a6dc87df0a7256f1 | [
"MIT"
] | 5 | 2019-08-12T16:10:14.000Z | 2022-02-19T22:08:49.000Z | """Validation functions for values.
Based on validation module of pyrk (https://github.com/pyrk).
.. moduleauthor:: Kyle Niemeyer <kyle.niemeyer@gmail.com>
"""
# Python 2 compatibility
from __future__ import print_function
from __future__ import division
import sys
if sys.version_info > (3,):
long = int
import ... | 32.942731 | 79 | 0.508291 | 742 | 7,478 | 5.022911 | 0.165768 | 0.057955 | 0.021733 | 0.031393 | 0.835256 | 0.808425 | 0.801717 | 0.768178 | 0.768178 | 0.726053 | 0 | 0.000453 | 0.409869 | 7,478 | 226 | 80 | 33.088496 | 0.844097 | 0.248462 | 0 | 0.612403 | 0 | 0 | 0.155349 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.031008 | false | 0.007752 | 0.03876 | 0 | 0.108527 | 0.007752 | 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 |
6f39a30b286150c455390b99a4a6bdcca642e704 | 206 | py | Python | autokeras/__init__.py | S4iz/beta | 21994919156aac15558f77555538346fb702bcbc | [
"MIT"
] | null | null | null | autokeras/__init__.py | S4iz/beta | 21994919156aac15558f77555538346fb702bcbc | [
"MIT"
] | null | null | null | autokeras/__init__.py | S4iz/beta | 21994919156aac15558f77555538346fb702bcbc | [
"MIT"
] | null | null | null | from autokeras.image.image_supervised import ImageClassifier, ImageRegressor
from autokeras.text.text_supervised import TextClassifier, TextRegressor
from autokeras.net_module import CnnGenerator, MlpModule | 68.666667 | 76 | 0.893204 | 23 | 206 | 7.869565 | 0.608696 | 0.21547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 206 | 3 | 77 | 68.666667 | 0.942708 | 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 |
6f43ffa139335d58dd6647517a2146610393f834 | 10,901 | py | Python | mogp_emulator/tests/test_fitting.py | EXAUQ/mogp-emulator | 9d5772135498bdf5b95b44b4afb065c2c266f899 | [
"MIT"
] | null | null | null | mogp_emulator/tests/test_fitting.py | EXAUQ/mogp-emulator | 9d5772135498bdf5b95b44b4afb065c2c266f899 | [
"MIT"
] | null | null | null | mogp_emulator/tests/test_fitting.py | EXAUQ/mogp-emulator | 9d5772135498bdf5b95b44b4afb065c2c266f899 | [
"MIT"
] | null | null | null | import numpy as np
import pytest
from numpy.testing import assert_allclose
from ..GaussianProcess import GaussianProcess
from ..GaussianProcessGPU import GaussianProcessGPU
from ..LibGPGPU import gpu_usable
from ..MultiOutputGP import MultiOutputGP
from ..fitting import fit_GP_MAP, _fit_single_GP_MAP, _fit_MOGP_MAP
GP... | 27.737913 | 150 | 0.653793 | 1,692 | 10,901 | 4.015957 | 0.084515 | 0.046358 | 0.064754 | 0.04415 | 0.877999 | 0.866078 | 0.837969 | 0.8 | 0.757763 | 0.726858 | 0 | 0.036657 | 0.204201 | 10,901 | 392 | 151 | 27.808673 | 0.746628 | 0.088341 | 0 | 0.642241 | 0 | 0 | 0.069915 | 0.005754 | 0 | 0 | 0 | 0 | 0.237069 | 1 | 0.047414 | false | 0 | 0.034483 | 0.00431 | 0.086207 | 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 |
6f6291a7b0aff4a3676842d5149e2e6c5c4737d9 | 443 | py | Python | learnergy/models/bernoulli/__init__.py | anukaal/learnergy | 704fc2b3fcb80df41ed28d750dc4e6475df23315 | [
"Apache-2.0"
] | 39 | 2020-02-27T00:47:45.000Z | 2022-03-28T14:57:26.000Z | learnergy/models/bernoulli/__init__.py | anukaal/learnergy | 704fc2b3fcb80df41ed28d750dc4e6475df23315 | [
"Apache-2.0"
] | 5 | 2021-05-11T08:23:37.000Z | 2022-01-20T12:50:59.000Z | learnergy/models/bernoulli/__init__.py | anukaal/learnergy | 704fc2b3fcb80df41ed28d750dc4e6475df23315 | [
"Apache-2.0"
] | 6 | 2020-04-15T00:23:13.000Z | 2022-01-29T16:22:05.000Z | """A package contaning bernoulli-based models (networks) for all common learnergy modules.
"""
from learnergy.models.bernoulli.rbm import RBM
from learnergy.models.bernoulli.conv_rbm import ConvRBM
from learnergy.models.bernoulli.discriminative_rbm import DiscriminativeRBM, HybridDiscriminativeRBM
from learnergy.model... | 49.222222 | 100 | 0.860045 | 54 | 443 | 6.962963 | 0.462963 | 0.172872 | 0.25266 | 0.37234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079007 | 443 | 8 | 101 | 55.375 | 0.921569 | 0.196388 | 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 |
488aad85c48d6ea00c03dc123d6ac035e1dcbef3 | 3,436 | py | Python | deexbroker/model.py | deginner/de-exchange-broker | 8f491d7a86b13294404fab3f045fd832861c7eda | [
"MIT"
] | 1 | 2019-03-03T13:06:49.000Z | 2019-03-03T13:06:49.000Z | deexbroker/model.py | TradeGuild/de-broker | 8f491d7a86b13294404fab3f045fd832861c7eda | [
"MIT"
] | 7 | 2015-11-09T15:15:50.000Z | 2015-11-09T15:54:39.000Z | deexbroker/model.py | TradeGuild/de-broker | 8f491d7a86b13294404fab3f045fd832861c7eda | [
"MIT"
] | null | null | null | import sqlalchemy as sa
import sqlalchemy.orm as orm
from flask.ext.login import UserMixin
from sqlalchemy_login_models.model import Base, UserKey, User as SLM_User
__all__ = ['Quote', 'Currency']
class QuoteRequest(Base):
"""A Request for a quote to convert one currency to another."""
__tablename__ = "quot... | 33.686275 | 81 | 0.666764 | 456 | 3,436 | 4.752193 | 0.16886 | 0.13844 | 0.06922 | 0.058145 | 0.800185 | 0.791878 | 0.718966 | 0.718966 | 0.718966 | 0.718966 | 0 | 0.002277 | 0.23312 | 3,436 | 101 | 82 | 34.019802 | 0.820114 | 0.123981 | 0 | 0.684932 | 0 | 0 | 0.065261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027397 | false | 0 | 0.054795 | 0 | 0.479452 | 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 |
48ac200db54d5adf09e3b44b0e4fada9df88a665 | 117 | py | Python | enthought/envisage/ui/single_project/editor/project_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/envisage/ui/single_project/editor/project_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/envisage/ui/single_project/editor/project_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from envisage.ui.single_project.editor.project_editor import *
| 29.25 | 62 | 0.854701 | 16 | 117 | 5.8125 | 0.6875 | 0.27957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 117 | 3 | 63 | 39 | 0.877358 | 0.102564 | 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 |
48bd3665836c3983a98b50ea7798d64be1c814bc | 31 | py | Python | src/mega/__init__.py | YoilyL/mega.py | 8b795082e229c936ea900a5f3a26dac815a06a54 | [
"Apache-2.0"
] | 163 | 2020-06-27T02:46:47.000Z | 2022-03-23T02:47:57.000Z | src/mega/__init__.py | YoilyL/mega.py | 8b795082e229c936ea900a5f3a26dac815a06a54 | [
"Apache-2.0"
] | 65 | 2020-06-25T20:16:24.000Z | 2022-03-13T02:49:36.000Z | src/mega/__init__.py | YoilyL/mega.py | 8b795082e229c936ea900a5f3a26dac815a06a54 | [
"Apache-2.0"
] | 87 | 2020-07-17T03:06:08.000Z | 2022-03-29T14:23:53.000Z | from .mega import Mega # noqa
| 15.5 | 30 | 0.709677 | 5 | 31 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225806 | 31 | 1 | 31 | 31 | 0.916667 | 0.129032 | 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 |
48d41bf60cebe04316b448ad4779f53203284976 | 26 | py | Python | bindings/python/modsecurity/__init__.py | WuZhiChengHF/modsec_waf | b12fdb4d48d22812cacda836a4eb490fc22c5adc | [
"Apache-2.0"
] | null | null | null | bindings/python/modsecurity/__init__.py | WuZhiChengHF/modsec_waf | b12fdb4d48d22812cacda836a4eb490fc22c5adc | [
"Apache-2.0"
] | null | null | null | bindings/python/modsecurity/__init__.py | WuZhiChengHF/modsec_waf | b12fdb4d48d22812cacda836a4eb490fc22c5adc | [
"Apache-2.0"
] | null | null | null | from modsecurity import *
| 13 | 25 | 0.807692 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.954545 | 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 |
5b0558e90882ae84f17b3a2addc9e397c15f2837 | 131 | py | Python | calc.py | hilaltrfllu/Android-Calculator | 01a9cc407f84854573dac2645557b72f035f1bb4 | [
"MIT"
] | null | null | null | calc.py | hilaltrfllu/Android-Calculator | 01a9cc407f84854573dac2645557b72f035f1bb4 | [
"MIT"
] | null | null | null | calc.py | hilaltrfllu/Android-Calculator | 01a9cc407f84854573dac2645557b72f035f1bb4 | [
"MIT"
] | null | null | null | def add(x,y):
pass
def subtract(x,y):
return x-y
def multiply(x,y):
return x*x
def divide(x,y):
return x/y
def square(x):
pass | 13.1 | 18 | 0.664122 | 30 | 131 | 2.9 | 0.333333 | 0.137931 | 0.275862 | 0.310345 | 0.298851 | 0.298851 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 131 | 10 | 19 | 13.1 | 0.798165 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.2 | 0 | 0.3 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
5b07172c6361dc401ad798e88d35eddf9fe078b7 | 5,702 | py | Python | B2G/gecko/dom/bindings/parser/tests/test_interface.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/dom/bindings/parser/tests/test_interface.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/dom/bindings/parser/tests/test_interface.py | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | import WebIDL
def WebIDLTest(parser, harness):
parser.parse("interface Foo { };")
results = parser.finish()
harness.ok(True, "Empty interface parsed without error.")
harness.check(len(results), 1, "Should be one production")
harness.ok(isinstance(results[0], WebIDL.IDLInterface),
"Sh... | 30.169312 | 111 | 0.568222 | 612 | 5,702 | 5.294118 | 0.130719 | 0.044444 | 0.074074 | 0.061111 | 0.780864 | 0.74321 | 0.724074 | 0.721914 | 0.714506 | 0.714506 | 0 | 0.005641 | 0.316029 | 5,702 | 188 | 112 | 30.329787 | 0.825128 | 0 | 0 | 0.722892 | 0 | 0 | 0.448264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006024 | false | 0 | 0.006024 | 0 | 0.012048 | 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 |
d292fd47aa9b1eace55b2e1e8a41d227fc8a2d30 | 2,298 | py | Python | test_davidson.py | jjgoings/davidson | bc4117150b9c133fea1bfc16d810686b59854caa | [
"MIT"
] | 1 | 2021-11-10T16:05:57.000Z | 2021-11-10T16:05:57.000Z | test_davidson.py | jjgoings/davidson | bc4117150b9c133fea1bfc16d810686b59854caa | [
"MIT"
] | null | null | null | test_davidson.py | jjgoings/davidson | bc4117150b9c133fea1bfc16d810686b59854caa | [
"MIT"
] | null | null | null | """ Testing Davidson implementation vs NumPy builtin linear algebra """
import numpy as np
from davidson import davidson
def test_h6_1p00_chain():
""" FCI Hamiltonian for H6 chain w/ interatomic spacing of 1.0 A in STO-6G basis """
num_roots = 10
hamiltonian = np.loadtxt('data/h6_1p00_chain.txt')
da... | 27.357143 | 88 | 0.70148 | 358 | 2,298 | 4.234637 | 0.134078 | 0.094987 | 0.063325 | 0.075198 | 0.924802 | 0.924802 | 0.924802 | 0.924802 | 0.924802 | 0.924802 | 0 | 0.04521 | 0.191471 | 2,298 | 83 | 89 | 27.686747 | 0.770721 | 0.229765 | 0 | 0.681818 | 0 | 0 | 0.074783 | 0.074783 | 0 | 0 | 0 | 0 | 0.136364 | 1 | 0.136364 | false | 0 | 0.045455 | 0 | 0.181818 | 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 |
828b4c801d59c65b9dc8d9596e0b71f4390442f0 | 448 | py | Python | main.py | punto1/crestify | 7353979118a0a86b2431d21090444d31215d4cbb | [
"BSD-3-Clause"
] | 214 | 2016-02-26T11:51:32.000Z | 2019-08-13T01:33:03.000Z | main.py | punto1/crestify | 7353979118a0a86b2431d21090444d31215d4cbb | [
"BSD-3-Clause"
] | 29 | 2017-04-10T08:15:11.000Z | 2019-03-09T08:46:50.000Z | main.py | dhamaniasad/crestify | 7ee095d7a8ccecc902edf3fd143f7051b67ef229 | [
"BSD-3-Clause"
] | 25 | 2016-03-22T15:18:29.000Z | 2019-07-16T05:48:18.000Z | from crestify import app
from crestify.models import db
from crestify.security import *
from crestify.views.manager import *
from crestify.views.settings import *
from crestify.views.site import *
from crestify.views.apiservice import *
from crestify.views.public import *
from crestify.tasks import *
from crestify.sign... | 26.352941 | 39 | 0.799107 | 61 | 448 | 5.721311 | 0.344262 | 0.412607 | 0.412607 | 0.329513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131696 | 448 | 16 | 40 | 28 | 0.897172 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
829cf285376b5083108c6ef577652431044c8035 | 166 | py | Python | gamelayer/__init__.py | Windspar/Gamelayer | 65e1cf11548bc02bc49348eb265c209172c14844 | [
"MIT"
] | null | null | null | gamelayer/__init__.py | Windspar/Gamelayer | 65e1cf11548bc02bc49348eb265c209172c14844 | [
"MIT"
] | null | null | null | gamelayer/__init__.py | Windspar/Gamelayer | 65e1cf11548bc02bc49348eb265c209172c14844 | [
"MIT"
] | null | null | null | from .boilerplates import *
from .geometry import *
from .graphics import *
from .uitools import *
from .util import *
from .tile import *
from .sprite import Sprite
| 20.75 | 27 | 0.753012 | 22 | 166 | 5.681818 | 0.409091 | 0.48 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 166 | 7 | 28 | 23.714286 | 0.905797 | 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 |
82a5f3a1d091f9cd6119c74f36ba07fd46fbf4fd | 685 | py | Python | venv/Lib/site-packages/numpy/typing/tests/data/fail/ufunclike.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 603 | 2020-12-23T13:49:32.000Z | 2022-03-31T23:38:03.000Z | venv/Lib/site-packages/numpy/typing/tests/data/fail/ufunclike.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 387 | 2020-12-15T14:54:04.000Z | 2022-03-31T07:00:21.000Z | venv/Lib/site-packages/numpy/typing/tests/data/fail/ufunclike.py | ajayiagbebaku/NFL-Model | afcc67a85ca7138c58c3334d45988ada2da158ed | [
"MIT"
] | 35 | 2021-03-26T03:12:04.000Z | 2022-03-23T10:15:10.000Z | from typing import List, Any
import numpy as np
AR_c: np.ndarray[Any, np.dtype[np.complex128]]
AR_m: np.ndarray[Any, np.dtype[np.timedelta64]]
AR_M: np.ndarray[Any, np.dtype[np.datetime64]]
AR_O: np.ndarray[Any, np.dtype[np.object_]]
np.fix(AR_c) # E: incompatible type
np.fix(AR_m) # E: incompatible type
np.fix(AR_... | 31.136364 | 47 | 0.732847 | 122 | 685 | 3.983607 | 0.196721 | 0.294239 | 0.384774 | 0.390947 | 0.823045 | 0.783951 | 0.627572 | 0.627572 | 0.50823 | 0.50823 | 0 | 0.011785 | 0.132847 | 685 | 21 | 48 | 32.619048 | 0.806397 | 0.335766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.117647 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82a7d47efb90710cee1867aa8168bd8efe2f3b88 | 31 | py | Python | src/morphforgecontrib/simulation/channels/hh_style/summarisers/__init__.py | mikehulluk/morphforge | 2a95096f144ed4ea487decb735ce66706357d3c7 | [
"BSD-2-Clause"
] | 1 | 2021-01-21T11:31:59.000Z | 2021-01-21T11:31:59.000Z | src/morphforgecontrib/simulation/channels/hh_style/summarisers/__init__.py | mikehulluk/morphforge | 2a95096f144ed4ea487decb735ce66706357d3c7 | [
"BSD-2-Clause"
] | null | null | null | src/morphforgecontrib/simulation/channels/hh_style/summarisers/__init__.py | mikehulluk/morphforge | 2a95096f144ed4ea487decb735ce66706357d3c7 | [
"BSD-2-Clause"
] | null | null | null |
import alphabeta
import leak
| 6.2 | 16 | 0.806452 | 4 | 31 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 31 | 4 | 17 | 7.75 | 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 |
82bdb499013e0afdc0fa797404a4685ecab9815d | 340 | py | Python | peg_solitaire.py | akarbstein/peg_solitaire | d0a4c734fed4ff5106ffe3c12c822c6db4c541e3 | [
"MIT"
] | null | null | null | peg_solitaire.py | akarbstein/peg_solitaire | d0a4c734fed4ff5106ffe3c12c822c6db4c541e3 | [
"MIT"
] | null | null | null | peg_solitaire.py | akarbstein/peg_solitaire | d0a4c734fed4ff5106ffe3c12c822c6db4c541e3 | [
"MIT"
] | null | null | null | class Game():
def __init__(self):
x = "x"
self.playing_field = [
[x, x, 1, 1, 1, x, x],
[x, x, 1, 1, 1, x, x],
[1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 0, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1],
[x, x, 1, 1, 1, x, x],
[x, x, 1, 1, ... | 26.153846 | 34 | 0.270588 | 59 | 340 | 1.474576 | 0.169492 | 0.597701 | 0.689655 | 0.643678 | 0.551724 | 0.551724 | 0.551724 | 0.551724 | 0.551724 | 0.551724 | 0 | 0.196429 | 0.505882 | 340 | 12 | 35 | 28.333333 | 0.321429 | 0 | 0 | 0.5 | 0 | 0 | 0.002941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
82dd21ba00f77885f3e365009b9cea210331e92f | 40 | py | Python | scrum/views/__init__.py | aneesahmed/gameplan2 | 7f7acd9c02c951ee1b25131334199d5a72073b66 | [
"Apache-2.0"
] | null | null | null | scrum/views/__init__.py | aneesahmed/gameplan2 | 7f7acd9c02c951ee1b25131334199d5a72073b66 | [
"Apache-2.0"
] | null | null | null | scrum/views/__init__.py | aneesahmed/gameplan2 | 7f7acd9c02c951ee1b25131334199d5a72073b66 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
from scrum.views import * | 20 | 25 | 0.75 | 7 | 40 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.125 | 40 | 2 | 25 | 20 | 0.828571 | 0.3 | 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 |
82e39ce3efc5f95fde91f6d789298cff11d8aeb4 | 35 | py | Python | pybot/plugins/airtable/__init__.py | harikrishnana2021/operationcode-pybot | 6e78e069c274281d50dcb71b98b9f485afb012fc | [
"MIT"
] | null | null | null | pybot/plugins/airtable/__init__.py | harikrishnana2021/operationcode-pybot | 6e78e069c274281d50dcb71b98b9f485afb012fc | [
"MIT"
] | null | null | null | pybot/plugins/airtable/__init__.py | harikrishnana2021/operationcode-pybot | 6e78e069c274281d50dcb71b98b9f485afb012fc | [
"MIT"
] | null | null | null | from .plugin import AirtablePlugin
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
7dbfcc0f5d773c1f5c9503552e0717559a2ee6f4 | 86 | py | Python | utils/__init__.py | Jerrynicki/stalkbot-rewrite | 98a132c60cf9fb3791b89f609bc8230321dc9faa | [
"BSD-3-Clause"
] | null | null | null | utils/__init__.py | Jerrynicki/stalkbot-rewrite | 98a132c60cf9fb3791b89f609bc8230321dc9faa | [
"BSD-3-Clause"
] | null | null | null | utils/__init__.py | Jerrynicki/stalkbot-rewrite | 98a132c60cf9fb3791b89f609bc8230321dc9faa | [
"BSD-3-Clause"
] | null | null | null | from . import emojis
from . import timeouts
from . import functions
from . import gui
| 17.2 | 23 | 0.767442 | 12 | 86 | 5.5 | 0.5 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 86 | 4 | 24 | 21.5 | 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 |
816c51f62f45f652d5334e09cfab1617a975f169 | 184 | py | Python | tests/test_tweet_sentiment_analyzer.py | tedmdelacruz/hashtag-sentiment-analyzer | 9e867e47dc460c247cba8fa0d23b8c774747f6b8 | [
"MIT"
] | null | null | null | tests/test_tweet_sentiment_analyzer.py | tedmdelacruz/hashtag-sentiment-analyzer | 9e867e47dc460c247cba8fa0d23b8c774747f6b8 | [
"MIT"
] | null | null | null | tests/test_tweet_sentiment_analyzer.py | tedmdelacruz/hashtag-sentiment-analyzer | 9e867e47dc460c247cba8fa0d23b8c774747f6b8 | [
"MIT"
] | 2 | 2019-02-24T03:37:08.000Z | 2019-03-15T08:13:06.000Z | from unittest import TestCase
# from func import tweet_sentiment_analyzer
class TestTweetSentimentAnalyzer(TestCase):
def test_lambda_handler(self):
# @TODO
pass
| 20.444444 | 43 | 0.744565 | 20 | 184 | 6.65 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206522 | 184 | 8 | 44 | 23 | 0.910959 | 0.255435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
81db445ee3d1fe16ace3746334d19e0b64d93c27 | 9,731 | py | Python | contentcuration/contentcuration/tests/viewsets/test_channel.py | mokie-H/studio | 12b182287dc148a73d8bbefe4fb5c3386e801e37 | [
"MIT"
] | null | null | null | contentcuration/contentcuration/tests/viewsets/test_channel.py | mokie-H/studio | 12b182287dc148a73d8bbefe4fb5c3386e801e37 | [
"MIT"
] | null | null | null | contentcuration/contentcuration/tests/viewsets/test_channel.py | mokie-H/studio | 12b182287dc148a73d8bbefe4fb5c3386e801e37 | [
"MIT"
] | 1 | 2020-10-20T05:21:56.000Z | 2020-10-20T05:21:56.000Z | from __future__ import absolute_import
import uuid
from django.core.urlresolvers import reverse
from contentcuration import models
from contentcuration.tests import testdata
from contentcuration.tests.base import StudioAPITestCase
from contentcuration.viewsets.sync.constants import CHANNEL
from contentcuration.views... | 36.582707 | 88 | 0.623985 | 1,060 | 9,731 | 5.601887 | 0.09717 | 0.074436 | 0.087572 | 0.0581 | 0.85197 | 0.836645 | 0.829909 | 0.794207 | 0.721623 | 0.721623 | 0 | 0.009694 | 0.268523 | 9,731 | 265 | 89 | 36.720755 | 0.824529 | 0 | 0 | 0.643777 | 0 | 0 | 0.07471 | 0.007399 | 0 | 0 | 0 | 0 | 0.085837 | 1 | 0.064378 | false | 0.017167 | 0.042918 | 0.012876 | 0.128755 | 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 |
c4cdd207e9eb283521a5378c5378f74b8a269c4a | 3,555 | py | Python | binance/futures/__init__.py | revanthstrakz/binance-futures-connector-python | a43df760e8660c05f75acca9f1a6af027ba3d1b7 | [
"MIT"
] | null | null | null | binance/futures/__init__.py | revanthstrakz/binance-futures-connector-python | a43df760e8660c05f75acca9f1a6af027ba3d1b7 | [
"MIT"
] | null | null | null | binance/futures/__init__.py | revanthstrakz/binance-futures-connector-python | a43df760e8660c05f75acca9f1a6af027ba3d1b7 | [
"MIT"
] | null | null | null | from binance.api import API
class Futures(API):
def __init__(self, key=None, secret=None, **kwargs):
if "base_url" not in kwargs:
kwargs["base_url"] = "https://fapi.binance.com"
super().__init__(key, secret, **kwargs)
# MARKETS
from binance.futures.market import ping
from ... | 46.168831 | 71 | 0.800563 | 479 | 3,555 | 5.732777 | 0.196242 | 0.236344 | 0.380189 | 0.282229 | 0.80153 | 0.667881 | 0.331755 | 0.098689 | 0.034596 | 0 | 0 | 0.000666 | 0.154712 | 3,555 | 76 | 72 | 46.776316 | 0.913145 | 0.014627 | 0 | 0 | 0 | 0 | 0.011432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.015625 | false | 0 | 0.921875 | 0 | 0.953125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c4ce9a42233b46df378122e0a4320ce1ed4a7f6b | 156 | py | Python | alvonCV/__init__.py | alvon-X/alvonCV | 4501d09cef5b80100b858001a6499a50408bd5de | [
"MIT"
] | 2 | 2021-05-08T22:09:26.000Z | 2021-05-10T12:13:57.000Z | alvonCV/__init__.py | alvon-X/alvonCV | 4501d09cef5b80100b858001a6499a50408bd5de | [
"MIT"
] | null | null | null | alvonCV/__init__.py | alvon-X/alvonCV | 4501d09cef5b80100b858001a6499a50408bd5de | [
"MIT"
] | null | null | null | from alvonCV.FaceMeshModule import FaceMeshDetector
from alvonCV.FaceDetectionModule import FaceDetector
from alvonCV.HandTrackingModule import HandDetector | 52 | 52 | 0.910256 | 15 | 156 | 9.466667 | 0.6 | 0.232394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070513 | 156 | 3 | 53 | 52 | 0.97931 | 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 |
487504c0ef1c916f7bacfa54b8b48228ad8eb8e4 | 186 | py | Python | src/kgmk/dsa/misc/online_update_query/set_point_get_range/xor_xor/fenwick/jit.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/dsa/misc/online_update_query/set_point_get_range/xor_xor/fenwick/jit.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/dsa/misc/online_update_query/set_point_get_range/xor_xor/fenwick/jit.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | # TODO cut below
import numba as nb
@nb.njit
def fw_op(a: int, b: int) -> int: return a ^ b
@nb.njit
def fw_e() -> int: return 0
@nb.njit
def fw_inverse(a: int) -> int: return a | 15.5 | 46 | 0.623656 | 38 | 186 | 2.973684 | 0.473684 | 0.159292 | 0.238938 | 0.292035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.231183 | 186 | 12 | 47 | 15.5 | 0.783217 | 0.075269 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
48847fb4fedb805e7a1446effe5eeec29b355e45 | 9,702 | py | Python | tests/test_items.py | kakaemma/BucketList | 759b09234118ea73c5f19827f4ec5a121718e838 | [
"MIT"
] | null | null | null | tests/test_items.py | kakaemma/BucketList | 759b09234118ea73c5f19827f4ec5a121718e838 | [
"MIT"
] | 9 | 2019-11-04T20:20:58.000Z | 2021-06-10T22:12:40.000Z | tests/test_items.py | kakaemma/bucketlist | 759b09234118ea73c5f19827f4ec5a121718e838 | [
"MIT"
] | null | null | null | from api.bucket import app
from flask import jsonify,json
from instance.config import application_config
import unittest
class TestItem(unittest.TestCase):
def setUp(self):
app.config.from_object(application_config['TestingEnv'])
self.client = app.test_client()
self.item = json.dumps({
... | 45.336449 | 74 | 0.511132 | 912 | 9,702 | 5.304825 | 0.111842 | 0.062009 | 0.098388 | 0.134353 | 0.816453 | 0.808805 | 0.788136 | 0.755891 | 0.718272 | 0.709177 | 0 | 0.013982 | 0.388167 | 9,702 | 213 | 75 | 45.549296 | 0.801044 | 0.012575 | 0 | 0.647059 | 0 | 0 | 0.150941 | 0 | 0 | 0 | 0 | 0 | 0.139037 | 1 | 0.080214 | false | 0.010695 | 0.032086 | 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 |
6f99ebe3580eea853b36b3e1e0054d09534d577a | 46 | py | Python | tensorflow_probability/my_tfp_bdl/models/bayesian_vgg.py | zhoudoao-bayes/tf-probability | 2c8975cad9ab4103f4fb2b277c4ed0763a488796 | [
"Apache-2.0"
] | null | null | null | tensorflow_probability/my_tfp_bdl/models/bayesian_vgg.py | zhoudoao-bayes/tf-probability | 2c8975cad9ab4103f4fb2b277c4ed0763a488796 | [
"Apache-2.0"
] | null | null | null | tensorflow_probability/my_tfp_bdl/models/bayesian_vgg.py | zhoudoao-bayes/tf-probability | 2c8975cad9ab4103f4fb2b277c4ed0763a488796 | [
"Apache-2.0"
] | null | null | null | # Todo: add bayesian vgg model. -2020.5.26
| 23 | 45 | 0.652174 | 8 | 46 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 0.217391 | 46 | 1 | 46 | 46 | 0.638889 | 0.934783 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6fc0507968979f9dea801a1ef3c8cdc29002edf7 | 261 | py | Python | iBott/__init__.py | ecrespo66/wsqsdd | 2c41efecb291fdbf88f8878ba5750b83d2ba7c6c | [
"Apache-2.0"
] | 1 | 2021-04-26T08:27:31.000Z | 2021-04-26T08:27:31.000Z | iBott/__init__.py | ecrespo66/wsqsdd | 2c41efecb291fdbf88f8878ba5750b83d2ba7c6c | [
"Apache-2.0"
] | null | null | null | iBott/__init__.py | ecrespo66/wsqsdd | 2c41efecb291fdbf88f8878ba5750b83d2ba7c6c | [
"Apache-2.0"
] | 2 | 2021-03-09T21:52:07.000Z | 2021-07-22T11:59:27.000Z | if not __name__ == '__main__':
from .excel_activities import *
from. browser_activities import *
from .word_activities import *
from .files_activities import*
from .ocr_activities import *
from .email_activities import *
from .robot_activities import *
| 26.1 | 34 | 0.773946 | 32 | 261 | 5.84375 | 0.4375 | 0.59893 | 0.641711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153257 | 261 | 9 | 35 | 29 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 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 | 1 | 0 | 0 | 6 |
6fcc98d3a8cf9f61e6cd1405c78cc5c1513e669f | 74 | py | Python | lowball/models/provider_models/__init__.py | EmersonElectricCo/lowball | 7cd2e33a2495d83bbcf1ae45cd40493f9576da9c | [
"Apache-2.0"
] | 3 | 2021-05-05T23:47:38.000Z | 2021-05-06T14:44:00.000Z | lowball/models/provider_models/__init__.py | EmersonElectricCo/lowball | 7cd2e33a2495d83bbcf1ae45cd40493f9576da9c | [
"Apache-2.0"
] | 5 | 2021-06-18T18:28:08.000Z | 2022-01-14T15:47:02.000Z | lowball/models/provider_models/__init__.py | EmersonElectricCo/lowball | 7cd2e33a2495d83bbcf1ae45cd40493f9576da9c | [
"Apache-2.0"
] | null | null | null | from .auth_db import AuthDatabase
from .auth_provider import AuthProvider
| 24.666667 | 39 | 0.864865 | 10 | 74 | 6.2 | 0.7 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 74 | 2 | 40 | 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 |
6fd429c587611098b6a7626fc404ce22b26cae65 | 88 | py | Python | destinyRequests.py | dsconnell/DestinyArmorSearcher | 7cd22838a799a9ba7b993fa3a1214a75cb5008bf | [
"MIT"
] | null | null | null | destinyRequests.py | dsconnell/DestinyArmorSearcher | 7cd22838a799a9ba7b993fa3a1214a75cb5008bf | [
"MIT"
] | null | null | null | destinyRequests.py | dsconnell/DestinyArmorSearcher | 7cd22838a799a9ba7b993fa3a1214a75cb5008bf | [
"MIT"
] | null | null | null | import requests
def requestPlayerInv():
pass
def requestPlayerProfile():
pass
| 11 | 27 | 0.727273 | 8 | 88 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204545 | 88 | 7 | 28 | 12.571429 | 0.914286 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
6fe48fa317fa6d5720a83b9483ec043585fc04f5 | 107 | py | Python | scigym/envs/quantum_physics/quantum_computing/teleportation/__init__.py | DaveDRoberts/scigym | 8930158a158efdbbf1bf611e1d6c02fc087acad8 | [
"MIT"
] | 12 | 2019-01-25T18:25:21.000Z | 2021-05-18T17:18:53.000Z | scigym/envs/quantum_physics/quantum_computing/teleportation/__init__.py | DaveDRoberts/scigym | 8930158a158efdbbf1bf611e1d6c02fc087acad8 | [
"MIT"
] | 15 | 2019-02-22T11:24:30.000Z | 2021-06-23T10:35:07.000Z | scigym/envs/quantum_physics/quantum_computing/teleportation/__init__.py | DaveDRoberts/scigym | 8930158a158efdbbf1bf611e1d6c02fc087acad8 | [
"MIT"
] | 6 | 2019-02-15T15:02:22.000Z | 2021-04-21T16:17:45.000Z | from scigym.envs.quantum_physics.quantum_computing.teleportation.teleportation_env import TeleportationEnv
| 53.5 | 106 | 0.915888 | 12 | 107 | 7.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037383 | 107 | 1 | 107 | 107 | 0.92233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b5011925b522d76c34a97c0eb5a30508fb11ba02 | 22,008 | py | Python | examples/psets/rawsim_cfg.py | fsetti/ProjectMetis | e4db9a5f8048e54582a382dcff5b15526085ff0b | [
"MIT"
] | null | null | null | examples/psets/rawsim_cfg.py | fsetti/ProjectMetis | e4db9a5f8048e54582a382dcff5b15526085ff0b | [
"MIT"
] | null | null | null | examples/psets/rawsim_cfg.py | fsetti/ProjectMetis | e4db9a5f8048e54582a382dcff5b15526085ff0b | [
"MIT"
] | null | null | null | # Auto generated configuration file
# using:
# Revision: 1.19
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
# with command line options: step1 --filein gensim.root --fileout file:rawsim.root --pileup_input dbs:/Neutrino_E-10_gun/RunIISummer17PrePremix-PUAutumn18_102X_upgrade2... | 169.292308 | 16,457 | 0.846874 | 2,982 | 22,008 | 6.015426 | 0.241784 | 0.08613 | 0.137808 | 0.155034 | 0.604359 | 0.587189 | 0.585015 | 0.585015 | 0.578994 | 0.578994 | 0 | 0.19786 | 0.031579 | 22,008 | 129 | 16,458 | 170.604651 | 0.643785 | 0.067112 | 0 | 0.024096 | 1 | 1.204819 | 0.838787 | 0.81972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.096386 | 0 | 0.096386 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82f4739284b37add75562402de52219b35e0cd94 | 84 | py | Python | login.py | xiaoshuaihuo718/test007 | f11ff86aa022f6e96e6c2f3046ef4bd1eac5cdb7 | [
"MIT"
] | null | null | null | login.py | xiaoshuaihuo718/test007 | f11ff86aa022f6e96e6c2f3046ef4bd1eac5cdb7 | [
"MIT"
] | null | null | null | login.py | xiaoshuaihuo718/test007 | f11ff86aa022f6e96e6c2f3046ef4bd1eac5cdb7 | [
"MIT"
] | null | null | null | a = 1
def index():
return 'hello world'
def hello():
return 'hello 2018'
c = 3
| 8.4 | 21 | 0.607143 | 14 | 84 | 3.642857 | 0.714286 | 0.431373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.25 | 84 | 9 | 22 | 9.333333 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
82f5ea5042604c0dc3c84fdec5d760bcdfd0eb49 | 23,604 | py | Python | actnn/actnn/layers.py | yachuan/actnn | e01575263c61723651e998a3b27918e0e1b687b7 | [
"MIT"
] | 162 | 2021-04-29T04:11:55.000Z | 2022-03-29T10:31:24.000Z | actnn/actnn/layers.py | yachuan/actnn | e01575263c61723651e998a3b27918e0e1b687b7 | [
"MIT"
] | 27 | 2021-07-13T11:12:16.000Z | 2022-03-30T07:51:32.000Z | actnn/actnn/layers.py | yachuan/actnn | e01575263c61723651e998a3b27918e0e1b687b7 | [
"MIT"
] | 18 | 2021-07-09T10:39:00.000Z | 2022-02-27T13:13:40.000Z | # The code is compatible with PyTorch 1.6/1.7
from typing import List, Optional
import warnings
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.distributed
from torch import Tensor
from torch.nn.modules.pooling import _size_2_t, _single, _pair, _triple, _MaxPoolNd, _AvgPoolNd
from actn... | 45.655706 | 120 | 0.645738 | 2,990 | 23,604 | 4.885284 | 0.081271 | 0.036284 | 0.041076 | 0.023003 | 0.801054 | 0.774629 | 0.753543 | 0.750531 | 0.736907 | 0.733689 | 0 | 0.010661 | 0.276775 | 23,604 | 516 | 121 | 45.744186 | 0.845 | 0.074903 | 0 | 0.643617 | 0 | 0 | 0.027027 | 0.002079 | 0 | 0 | 0 | 0.007752 | 0.010638 | 1 | 0.079787 | false | 0 | 0.037234 | 0.005319 | 0.265957 | 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 |
82fbe59618e50bb63652beba71d061ca6d58e4f2 | 40 | py | Python | basic_functions(nltk).py | Mudasir-IIIT-Bangalore/Emotion-based-Gender-Prediction-in-OSNs | 39edd249e4197cc4941dd3d96357d7afa2af5612 | [
"BSD-2-Clause"
] | 1 | 2022-01-31T12:13:52.000Z | 2022-01-31T12:13:52.000Z | basic_functions(nltk).py | Mudasir-IIIT-Bangalore/Emotion-based-Gender-Prediction-in-OSNs | 39edd249e4197cc4941dd3d96357d7afa2af5612 | [
"BSD-2-Clause"
] | null | null | null | basic_functions(nltk).py | Mudasir-IIIT-Bangalore/Emotion-based-Gender-Prediction-in-OSNs | 39edd249e4197cc4941dd3d96357d7afa2af5612 | [
"BSD-2-Clause"
] | null | null | null | from nltk.tokenize import TweetTokenizer | 40 | 40 | 0.9 | 5 | 40 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 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 |
d25ad97f74f0379934e34282cf2e9c2611d00ac1 | 28 | py | Python | pixhostuploader/__init__.py | martinsik/pixhost-uploader | e6d2717e47e3ed4098ac0693dceb309def5280ce | [
"MIT"
] | 1 | 2020-11-14T10:18:56.000Z | 2020-11-14T10:18:56.000Z | pixhostuploader/__init__.py | martinsik/pixhost-uploader | e6d2717e47e3ed4098ac0693dceb309def5280ce | [
"MIT"
] | null | null | null | pixhostuploader/__init__.py | martinsik/pixhost-uploader | e6d2717e47e3ed4098ac0693dceb309def5280ce | [
"MIT"
] | null | null | null | from .pixhost import upload
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 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 |
96a451f17e2393071595964746b15b935ea28614 | 117 | py | Python | Meal_Planner/users/models.py | Mastamint/capstone | 16f5a9a5066f2ce78c7a897b852967d1872d23b0 | [
"MIT"
] | null | null | null | Meal_Planner/users/models.py | Mastamint/capstone | 16f5a9a5066f2ce78c7a897b852967d1872d23b0 | [
"MIT"
] | null | null | null | Meal_Planner/users/models.py | Mastamint/capstone | 16f5a9a5066f2ce78c7a897b852967d1872d23b0 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
class MyUser(AbstractUser):
... | 23.4 | 51 | 0.786325 | 15 | 117 | 6.133333 | 0.666667 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 117 | 5 | 52 | 23.4 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
fbabd70b62c8e78f51afee4839cb3cf052c7202a | 211 | py | Python | frictionless/program/__init__.py | aborruso/frictionless-py | 2b27d87ac042119d93320051c5be78d9ebf954b6 | [
"MIT"
] | null | null | null | frictionless/program/__init__.py | aborruso/frictionless-py | 2b27d87ac042119d93320051c5be78d9ebf954b6 | [
"MIT"
] | null | null | null | frictionless/program/__init__.py | aborruso/frictionless-py | 2b27d87ac042119d93320051c5be78d9ebf954b6 | [
"MIT"
] | null | null | null | from .api import program_api
from .main import program
from .describe import program_describe
from .extract import program_extract
from .transform import program_transform
from .validate import program_validate
| 30.142857 | 40 | 0.85782 | 29 | 211 | 6.068966 | 0.310345 | 0.443182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113744 | 211 | 6 | 41 | 35.166667 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
fbc81f2b21a908b8ef567bd76b78a2270a3b7763 | 104 | py | Python | srcs/parser/tokens/comma_token.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/parser/tokens/comma_token.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/parser/tokens/comma_token.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | from srcs.parser.tokens.abstract_token import AbstractToken
class CommaToken(AbstractToken):
pass
| 17.333333 | 59 | 0.817308 | 12 | 104 | 7 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 5 | 60 | 20.8 | 0.923077 | 0 | 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 |
fbd629672be05349a38da44b03d4bb966aac5ae9 | 226 | py | Python | lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 765 | 2015-12-03T16:44:59.000Z | 2022-03-07T12:41:10.000Z | lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 1,815 | 2015-12-11T23:56:05.000Z | 2020-01-10T19:28:43.000Z | lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 284 | 2015-12-03T16:47:25.000Z | 2022-03-12T05:39:48.000Z | from lldbsuite.test import lldbinline
from lldbsuite.test import decorators
lldbinline.MakeInlineTest(__file__, globals(),
[decorators.skipUnlessHasCallSiteInfo,
decorators.skipIf(dwarf_version=['<', '4'])])
| 32.285714 | 54 | 0.752212 | 21 | 226 | 7.857143 | 0.666667 | 0.157576 | 0.206061 | 0.278788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.137168 | 226 | 6 | 55 | 37.666667 | 0.841026 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
fbd8a7ef34fa2dcb779e7d29c2352cf0b0370a1f | 177 | py | Python | characters/Kazuma.py | paulsupo/Say_my_name_acm | 5c6ece46d6b25ad0353ccc9fc6acd3ab052e40c4 | [
"Apache-2.0"
] | null | null | null | characters/Kazuma.py | paulsupo/Say_my_name_acm | 5c6ece46d6b25ad0353ccc9fc6acd3ab052e40c4 | [
"Apache-2.0"
] | 1 | 2021-06-12T23:21:29.000Z | 2021-06-12T23:21:29.000Z | characters/Kazuma.py | raymond1242/ucsp-git | 9cda2bf330629af1663f4fa1f4f0c15aef4f482b | [
"Apache-2.0"
] | 5 | 2021-06-12T22:32:41.000Z | 2021-06-12T22:34:12.000Z | class Kazuma:
def SayName(self):
print("Kazuma: It has been a life full of idiocies, although I am governed by my desire, the only thing that remains is sadness. ")
| 44.25 | 139 | 0.706215 | 29 | 177 | 4.310345 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225989 | 177 | 3 | 140 | 59 | 0.912409 | 0 | 0 | 0 | 0 | 0.333333 | 0.689266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
fbdd8096a48c4012ecaad9cfad811f6aadcde146 | 192 | py | Python | snorkel/learning/pytorch/__init__.py | cperreault11/snorkel-extraction | 25bf97c97b790c0488871e4aa7115af327615a10 | [
"Apache-2.0"
] | null | null | null | snorkel/learning/pytorch/__init__.py | cperreault11/snorkel-extraction | 25bf97c97b790c0488871e4aa7115af327615a10 | [
"Apache-2.0"
] | null | null | null | snorkel/learning/pytorch/__init__.py | cperreault11/snorkel-extraction | 25bf97c97b790c0488871e4aa7115af327615a10 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .logistic_regression import LogisticRegression
from .noise_aware_model import TorchNoiseAwareModel
from .rnn import LSTM
from .rnn import LSTM_orig | 32 | 51 | 0.875 | 25 | 192 | 6.36 | 0.56 | 0.08805 | 0.163522 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 192 | 6 | 52 | 32 | 0.924419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 |
8377b2d0f9733d55687052b613d7fcdd5e1ca5b5 | 183 | py | Python | Operators/Mutation/__init__.py | mjbogusz/TSPGen | 4916cf6276fda41b73ebdf24a7969167c63d0650 | [
"MIT"
] | null | null | null | Operators/Mutation/__init__.py | mjbogusz/TSPGen | 4916cf6276fda41b73ebdf24a7969167c63d0650 | [
"MIT"
] | null | null | null | Operators/Mutation/__init__.py | mjbogusz/TSPGen | 4916cf6276fda41b73ebdf24a7969167c63d0650 | [
"MIT"
] | null | null | null | from Operators.Mutation.Mutator import Mutator
from Operators.Mutation.DisplacementMutator import DisplacementMutator
from Operators.Mutation.InversionMutator import InversionMutator
| 45.75 | 70 | 0.901639 | 18 | 183 | 9.166667 | 0.388889 | 0.236364 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 183 | 3 | 71 | 61 | 0.964912 | 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 |
839f4c115f9103babf12dae322a4d769974d177a | 6,831 | py | Python | test/test_math.py | knowledge-technologies/spyct | 058e7380f353a06bf312613472e82fc5abd65315 | [
"BSD-3-Clause"
] | 2 | 2020-11-27T15:05:52.000Z | 2021-10-14T16:01:25.000Z | test/test_math.py | knowledge-technologies/spyct | 058e7380f353a06bf312613472e82fc5abd65315 | [
"BSD-3-Clause"
] | null | null | null | test/test_math.py | knowledge-technologies/spyct | 058e7380f353a06bf312613472e82fc5abd65315 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import hypothesis.strategies as strat
from hypothesis import given, assume, note
import utils
import spyct._math as smath
from scipy.special import expit
@given(utils.pair_of_same_size_real_vectors())
def test_vector_dot_vector(vectors):
vec1, vec2 = vectors
assert smath.vector_dot_vector(v... | 37.532967 | 133 | 0.753916 | 937 | 6,831 | 5.204909 | 0.105656 | 0.066024 | 0.037318 | 0.058643 | 0.802748 | 0.799877 | 0.7927 | 0.750871 | 0.701251 | 0.701251 | 0 | 0.014566 | 0.125604 | 6,831 | 181 | 134 | 37.740331 | 0.801942 | 0 | 0 | 0.510949 | 0 | 0 | 0.047731 | 0.006149 | 0 | 0 | 0 | 0 | 0.160584 | 1 | 0.131387 | false | 0 | 0.043796 | 0 | 0.175182 | 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 |
83c0523b9b55f22209c996e3a5378a5b5e1c6981 | 5,670 | py | Python | Hapi/java_functions.py | GonzaloForero/HAPI | cc83081307be546a5824e6ee5013a06bd7a9ba89 | [
"MIT"
] | 1 | 2021-09-03T04:11:33.000Z | 2021-09-03T04:11:33.000Z | Hapi/java_functions.py | GonzaloForero/HAPI | cc83081307be546a5824e6ee5013a06bd7a9ba89 | [
"MIT"
] | null | null | null | Hapi/java_functions.py | GonzaloForero/HAPI | cc83081307be546a5824e6ee5013a06bd7a9ba89 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu May 10 16:45:09 2018
@author: Mostafa
"""
#%links
#%library
# functions
#%%
def javaupload():
"""
# =============================================================================
# javaupload()
# ====================================... | 27.259615 | 97 | 0.473192 | 493 | 5,670 | 5.365112 | 0.275862 | 0.027221 | 0.024953 | 0.023819 | 0.777316 | 0.777316 | 0.777316 | 0.777316 | 0.777316 | 0.777316 | 0 | 0.013908 | 0.365961 | 5,670 | 208 | 98 | 27.259615 | 0.721836 | 0.119577 | 0 | 0.520833 | 0 | 0.020833 | 0.93135 | 0.166631 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0 | 0 | 0.055556 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83cf35c55ca1b240870c26936c885d36f19d49a7 | 3,929 | py | Python | multimedia/gui/image/demo_draw_font/image_draw_font.py | 708yamaguchi/MaixPy_scripts | 5f1774e739fb7eecab344d619c0cd63a71ff3d4f | [
"MIT"
] | 485 | 2019-03-18T10:53:59.000Z | 2022-03-27T09:02:08.000Z | multimedia/gui/image/demo_draw_font/image_draw_font.py | 708yamaguchi/MaixPy_scripts | 5f1774e739fb7eecab344d619c0cd63a71ff3d4f | [
"MIT"
] | 110 | 2019-04-04T09:07:39.000Z | 2022-03-03T08:08:19.000Z | multimedia/gui/image/demo_draw_font/image_draw_font.py | 708yamaguchi/MaixPy_scripts | 5f1774e739fb7eecab344d619c0cd63a71ff3d4f | [
"MIT"
] | 379 | 2019-03-18T04:48:46.000Z | 2022-03-30T00:29:29.000Z | import lcd, time
import image
lcd.init(freq=15000000)
##lcd.direction(lcd.YX_RLDU)
##img = image.Image("ts.bmp")
img = image.Image()
# img.draw_rectangle((0,0,240,240), fill=True, color=(30,30,30))
#img.draw_string(60, 100, "hello \nmaixpy", scale=4)
#img.draw_rectangle((120,120,30,30))
#img.draw_circle((150,140, 80)... | 53.094595 | 521 | 0.684398 | 897 | 3,929 | 2.960981 | 0.15942 | 0.219127 | 0.243976 | 0.23494 | 0.473645 | 0.445407 | 0.378389 | 0.344503 | 0.292545 | 0.196536 | 0 | 0.300055 | 0.072029 | 3,929 | 73 | 522 | 53.821918 | 0.428415 | 0.258081 | 0 | 0 | 0 | 0.2 | 0.542185 | 0.542185 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
83f6f41df9b7b16b04021c9084f90a3e798d44f2 | 220 | py | Python | stockgeist/__init__.py | stockgeist/stockgeist-client-python | 82465ecb29f7470de330b5587a8c8b27b17057a0 | [
"MIT"
] | 1 | 2021-08-03T09:07:58.000Z | 2021-08-03T09:07:58.000Z | stockgeist/__init__.py | stockgeist/stockgeist-client-python | 82465ecb29f7470de330b5587a8c8b27b17057a0 | [
"MIT"
] | 1 | 2022-01-19T04:37:17.000Z | 2022-01-24T14:23:17.000Z | stockgeist/__init__.py | stockgeist/stockgeist-client-python | 82465ecb29f7470de330b5587a8c8b27b17057a0 | [
"MIT"
] | null | null | null | from .client import StockGeistClient
from .responses import MessageMetricsResponse, ArticleMetricsResponse, PriceMetricsResponse, \
TopicMetricsResponse, RankingMetricsResponse, SymbolsResponse, FundamentalsResponse
| 55 | 94 | 0.872727 | 14 | 220 | 13.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086364 | 220 | 3 | 95 | 73.333333 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
860071ad60a2b7249014a940a62caf957f2062e5 | 88,422 | py | Python | functions.py | travers-bryan/Hero-Town | 6cc54cbb803d2aece2646a36e0dd43a6d57a374b | [
"MIT"
] | null | null | null | functions.py | travers-bryan/Hero-Town | 6cc54cbb803d2aece2646a36e0dd43a6d57a374b | [
"MIT"
] | null | null | null | functions.py | travers-bryan/Hero-Town | 6cc54cbb803d2aece2646a36e0dd43a6d57a374b | [
"MIT"
] | null | null | null | import pygame
from pygame.locals import *
pygame.init()
import random
import classes
#This code contains all of the functions that are used by the game
def check_building_progress(current_player, towns):
'''
check_building_progress(Town, list) --> None
The purpose of this function is to c... | 62.889047 | 687 | 0.670026 | 10,577 | 88,422 | 5.272856 | 0.043774 | 0.258037 | 0.110272 | 0.057234 | 0.838698 | 0.788331 | 0.734019 | 0.700579 | 0.67103 | 0.622044 | 0 | 0.014548 | 0.257617 | 88,422 | 1,405 | 688 | 62.933808 | 0.835062 | 0.084266 | 0 | 0.45 | 0 | 0 | 0.025842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010526 | false | 0.037719 | 0.003509 | 0 | 0.019298 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f7adc93e5fe6f6ed4eb3f8afc5364cbbd0ee8e0e | 2,903 | py | Python | __init__.py | nidadu/ClarkeErrorGrid | dabf7028db396da47824dfb819a5ff8b7101fc17 | [
"MIT"
] | null | null | null | __init__.py | nidadu/ClarkeErrorGrid | dabf7028db396da47824dfb819a5ff8b7101fc17 | [
"MIT"
] | null | null | null | __init__.py | nidadu/ClarkeErrorGrid | dabf7028db396da47824dfb819a5ff8b7101fc17 | [
"MIT"
] | null | null | null | #%%
import matplotlib.pyplot as plt
import numpy as np
from ClarkeErrorGrid import clarke_error_grid
# accuchek
path = r'C:\Users\nidad\Documents\Ukai\Unis\IIB\IIB Modules\4I14 Biosensors and bioelectronics\Coursework 1\error grid\ClarkeErrorGrid\accuchek_50.txt'
my_file = open(path, "r")
content5 = my_file.read().sp... | 43.984848 | 152 | 0.757837 | 449 | 2,903 | 4.77951 | 0.144766 | 0.067102 | 0.022367 | 0.041007 | 0.878844 | 0.878844 | 0.83877 | 0.82013 | 0.799627 | 0.799627 | 0 | 0.051193 | 0.105064 | 2,903 | 65 | 153 | 44.661538 | 0.774827 | 0.008612 | 0 | 0.545455 | 0 | 0.145455 | 0.390745 | 0.280445 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.054545 | 0 | 0.054545 | 0.072727 | 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 |
f70e727f4e717264e86bbe1a91c9c30f9e0495d9 | 126 | py | Python | testwebsite/music/views.py | omar2535/Django | 9faf368deee5324593ab87f9960e2e72433e2fae | [
"Unlicense"
] | null | null | null | testwebsite/music/views.py | omar2535/Django | 9faf368deee5324593ab87f9960e2e72433e2fae | [
"Unlicense"
] | null | null | null | testwebsite/music/views.py | omar2535/Django | 9faf368deee5324593ab87f9960e2e72433e2fae | [
"Unlicense"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse("<h1> This is the music app homepage </h1>") | 31.5 | 68 | 0.746032 | 18 | 126 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.150794 | 126 | 4 | 68 | 31.5 | 0.859813 | 0 | 0 | 0 | 0 | 0 | 0.322835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
f72958c3092e5fbc2e266cb6c554d971f5957e0b | 204 | py | Python | hls4ml/writer/__init__.py | ngpaladi/hls4ml | 54861d0f611ee72f779a8f739b5fac571f3e79c2 | [
"Apache-2.0"
] | 1 | 2022-02-05T14:20:22.000Z | 2022-02-05T14:20:22.000Z | hls4ml/writer/__init__.py | ngpaladi/hls4ml | 54861d0f611ee72f779a8f739b5fac571f3e79c2 | [
"Apache-2.0"
] | 2 | 2020-12-04T15:38:30.000Z | 2021-04-27T13:54:43.000Z | hls4ml/writer/__init__.py | ngpaladi/hls4ml | 54861d0f611ee72f779a8f739b5fac571f3e79c2 | [
"Apache-2.0"
] | 2 | 2021-02-16T21:15:53.000Z | 2021-04-01T03:51:52.000Z | from __future__ import absolute_import
from hls4ml.writer.writers import Writer, register_writer, get_writer
from hls4ml.writer.vivado_writer import VivadoWriter
register_writer('Vivado', VivadoWriter)
| 29.142857 | 69 | 0.857843 | 26 | 204 | 6.384615 | 0.423077 | 0.120482 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.088235 | 204 | 6 | 70 | 34 | 0.88172 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 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 |
f741bf5b1ab789f3f69dba4394b6c567b8432545 | 59 | py | Python | src/neuralkg/utils/__init__.py | zjukg/NeuralKG | 9fe97c29496ed08bc72c76e4dd71e72cbfbe5afa | [
"Apache-2.0"
] | 52 | 2022-01-19T09:08:07.000Z | 2022-03-31T07:02:17.000Z | src/neuralkg/utils/__init__.py | zjukg/NeuralKG | 9fe97c29496ed08bc72c76e4dd71e72cbfbe5afa | [
"Apache-2.0"
] | 2 | 2022-03-08T20:47:38.000Z | 2022-03-18T09:52:33.000Z | src/neuralkg/utils/__init__.py | zjukg/NeuralKG | 9fe97c29496ed08bc72c76e4dd71e72cbfbe5afa | [
"Apache-2.0"
] | 10 | 2022-02-28T07:54:14.000Z | 2022-03-23T14:06:33.000Z | from .setup_parser import setup_parser
from .tools import * | 29.5 | 38 | 0.830508 | 9 | 59 | 5.222222 | 0.555556 | 0.468085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 39 | 29.5 | 0.903846 | 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 |
f7458deb730a807b3c7db235ac0eea38dbbc1b53 | 185 | py | Python | CursoEmVideo/107Cev/moeda.py | yazdejesus/FirstLessons-Python | e2c2d75c3aba459669c972a3c959b18ecc82e030 | [
"MIT"
] | null | null | null | CursoEmVideo/107Cev/moeda.py | yazdejesus/FirstLessons-Python | e2c2d75c3aba459669c972a3c959b18ecc82e030 | [
"MIT"
] | 1 | 2021-01-28T17:06:06.000Z | 2021-01-30T15:13:03.000Z | CursoEmVideo/107Cev/moeda.py | yazdejesus/FirstLessons-Python | e2c2d75c3aba459669c972a3c959b18ecc82e030 | [
"MIT"
] | null | null | null | def metade(num):
return num/2
def dobro(num):
return num*2
def aumentar(num, perc):
perc /= 100
return num + num*perc
def diminuir(num, perc):
perc /= 100
return num - num*perc | 14.230769 | 24 | 0.675676 | 32 | 185 | 3.90625 | 0.3125 | 0.288 | 0.192 | 0.208 | 0.736 | 0.48 | 0.48 | 0.48 | 0 | 0 | 0 | 0.053691 | 0.194595 | 185 | 13 | 25 | 14.230769 | 0.785235 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f7622587221f9b8c2e93c5025ff2aac94b1469a2 | 320 | py | Python | units/temperature/kelvin.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/temperature/kelvin.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | units/temperature/kelvin.py | putridparrot/PyUnits | 4f1095c6fc0bee6ba936921c391913dbefd9307c | [
"MIT"
] | null | null | null | # <auto-generated>
# This code was generated by the UnitCodeGenerator tool
#
# Changes to this file will be lost if the code is regenerated
# </auto-generated>
def to_celsius(value):
return value - 273.15
def to_fahrenheit(value):
return ((value - 273.15) * 1.8) + 32.0
def to_rankine(value):
return value * 1.8
| 22.857143 | 62 | 0.7125 | 52 | 320 | 4.326923 | 0.576923 | 0.066667 | 0.213333 | 0.168889 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064639 | 0.178125 | 320 | 13 | 63 | 24.615385 | 0.790875 | 0.465625 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
f77ef0a36f9523b89557195e6633716d6e3b99fa | 126 | py | Python | .config/python/profile.py | damienflament/.dotfiles | 0cc357c28a17341d3c6f06e65719ca0da8ef41f6 | [
"Unlicense"
] | null | null | null | .config/python/profile.py | damienflament/.dotfiles | 0cc357c28a17341d3c6f06e65719ca0da8ef41f6 | [
"Unlicense"
] | null | null | null | .config/python/profile.py | damienflament/.dotfiles | 0cc357c28a17341d3c6f06e65719ca0da8ef41f6 | [
"Unlicense"
] | 1 | 2020-06-27T16:17:49.000Z | 2020-06-27T16:17:49.000Z | import pprint
import sys
sys.ps1 = "\033[0;34m>>> \033[0m"
sys.ps2 = "\033[1;34m... \033[0m"
sys.displayhook = pprint.pprint
| 18 | 33 | 0.65873 | 22 | 126 | 3.772727 | 0.5 | 0.144578 | 0.192771 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.126984 | 126 | 6 | 34 | 21 | 0.554545 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.4 | 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 |
e39fadb86b233c93c991725f6be550ab8b3cddfa | 39 | py | Python | pompous/__init__.py | russolsen/pompous | 9db57987b95f242ff2efb7ce12a2a1c323813552 | [
"BSD-2-Clause"
] | null | null | null | pompous/__init__.py | russolsen/pompous | 9db57987b95f242ff2efb7ce12a2a1c323813552 | [
"BSD-2-Clause"
] | null | null | null | pompous/__init__.py | russolsen/pompous | 9db57987b95f242ff2efb7ce12a2a1c323813552 | [
"BSD-2-Clause"
] | null | null | null | from .core import main, assemble, run
| 13 | 37 | 0.74359 | 6 | 39 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 2 | 38 | 19.5 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e3a1738e38433c6a512ec369689679ea0bc9e37a | 93 | py | Python | hpl2netCDF_client/hpl_files/__init__.py | achho/dl_toolbox | 3c15fe7b373ac3f7e601c96be2d98248d73b3b6e | [
"BSD-3-Clause"
] | 5 | 2020-06-09T06:30:15.000Z | 2021-12-29T09:16:11.000Z | hpl2netCDF_client/hpl_files/__init__.py | achho/dl_toolbox | 3c15fe7b373ac3f7e601c96be2d98248d73b3b6e | [
"BSD-3-Clause"
] | null | null | null | hpl2netCDF_client/hpl_files/__init__.py | achho/dl_toolbox | 3c15fe7b373ac3f7e601c96be2d98248d73b3b6e | [
"BSD-3-Clause"
] | 3 | 2020-07-12T03:47:19.000Z | 2021-12-08T16:29:23.000Z | import hpl2netCDF_client.hpl2netCDF_client
from hpl2netCDF_client.hpl_files import hpl_files | 46.5 | 49 | 0.913978 | 13 | 93 | 6.153846 | 0.461538 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.064516 | 93 | 2 | 49 | 46.5 | 0.885057 | 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 |
e3c6c9ec5055096221eec0a90f1e2cb9ad6a0ca5 | 151 | py | Python | aptwe/addons/__init__.py | phuelsdunk/aptwe | 5b7a1ba94ea43eedc5047e4f6984551497bf95b7 | [
"MIT"
] | null | null | null | aptwe/addons/__init__.py | phuelsdunk/aptwe | 5b7a1ba94ea43eedc5047e4f6984551497bf95b7 | [
"MIT"
] | null | null | null | aptwe/addons/__init__.py | phuelsdunk/aptwe | 5b7a1ba94ea43eedc5047e4f6984551497bf95b7 | [
"MIT"
] | null | null | null | '''
Defines commonly used parsers.
'''
from .char_parsers import alnum_, alpha_, digit_, lower_, upper_, space_
from .num_parsers import int_, float_
| 21.571429 | 72 | 0.761589 | 20 | 151 | 5.25 | 0.8 | 0.247619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139073 | 151 | 6 | 73 | 25.166667 | 0.807692 | 0.198676 | 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 |
54073a6316a41280b93ed06aede7c7cb03320859 | 2,049 | py | Python | epytope/Data/pssms/smmpmbec/mat/A_26_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smmpmbec/mat/A_26_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smmpmbec/mat/A_26_01_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_26_01_8 = {0: {'A': 0.02, 'C': 0.018, 'E': -0.006, 'D': 0.01, 'G': 0.029, 'F': 0.003, 'I': -0.068, 'H': 0.025, 'K': 0.051, 'M': -0.06, 'L': -0.087, 'N': -0.014, 'Q': -0.021, 'P': 0.012, 'S': 0.021, 'R': 0.094, 'T': 0.0, 'W': 0.011, 'V': -0.068, 'Y': 0.028}, 1: {'A': 0.046, 'C': 0.002, 'E': 0.018, 'D': 0.014, 'G': -0.... | 2,049 | 2,049 | 0.393363 | 496 | 2,049 | 1.618952 | 0.177419 | 0.044832 | 0.007472 | 0.009963 | 0.094645 | 0 | 0 | 0 | 0 | 0 | 0 | 0.372161 | 0.16203 | 2,049 | 1 | 2,049 | 2,049 | 0.095515 | 0 | 0 | 0 | 0 | 0 | 0.079512 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
541d7c260380aec209e1e5e7d812d037401cc1ef | 1,460 | py | Python | src/dynamic_programming/python/climbing_stairs/tests/test_climb.py | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | 2 | 2021-05-31T13:01:33.000Z | 2021-12-20T19:48:18.000Z | src/dynamic_programming/python/climbing_stairs/tests/test_climb.py | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | null | null | null | src/dynamic_programming/python/climbing_stairs/tests/test_climb.py | djeada/GraphAlgorithms | 0961303ec20430f90053a4efb9074185f96dfddc | [
"MIT"
] | null | null | null | import unittest
import os
import sys
file_dir = os.path.dirname(os.path.dirname(__file__))
sys.path.append(file_dir + "/src")
from climb import climb_basic, climb_memo
class TestClimbBasic(unittest.TestCase):
def test_with_0(self):
num = 0
result = 1
self.assertEqual(climb_basic(num), r... | 21.470588 | 53 | 0.608904 | 191 | 1,460 | 4.413613 | 0.183246 | 0.083037 | 0.130486 | 0.151839 | 0.781732 | 0.781732 | 0.749703 | 0.749703 | 0.749703 | 0.728351 | 0 | 0.050339 | 0.292466 | 1,460 | 67 | 54 | 21.791045 | 0.765731 | 0 | 0 | 0.8 | 0 | 0 | 0.008219 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.08 | 0 | 0.32 | 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 |
5426f2e5935863820073f99e71b44ff70f458bf6 | 937 | py | Python | src/descriptor_tools/find_descriptors.py | sad2project/descriptor-tools | ebeaba07e8519dbda25ddaa34ce9a9c49891e2bb | [
"CC0-1.0"
] | 10 | 2015-12-15T02:17:49.000Z | 2021-08-15T12:25:06.000Z | src/descriptor_tools/find_descriptors.py | sad2project/descriptor-tools | ebeaba07e8519dbda25ddaa34ce9a9c49891e2bb | [
"CC0-1.0"
] | 1 | 2016-06-26T22:21:08.000Z | 2016-06-27T05:29:53.000Z | src/descriptor_tools/find_descriptors.py | sad2project/descriptor-tools | ebeaba07e8519dbda25ddaa34ce9a9c49891e2bb | [
"CC0-1.0"
] | 3 | 2017-11-19T01:16:30.000Z | 2019-10-08T23:22:29.000Z | import inspect
__author__ = 'Jake'
__all__ = ['get_descriptor', 'get_descriptor_from']
def get_descriptor(cls, descname):
"""
Returns the descriptor object that is stored under *descname* instead of
whatever the descriptor would have returned from its `__get__()` method.
:param cls: class to find the... | 34.703704 | 76 | 0.728922 | 119 | 937 | 5.537815 | 0.310924 | 0.197269 | 0.115326 | 0.084977 | 0.710167 | 0.710167 | 0.710167 | 0.710167 | 0.710167 | 0.710167 | 0 | 0 | 0.192102 | 937 | 26 | 77 | 36.038462 | 0.870542 | 0.630736 | 0 | 0 | 0 | 0 | 0.130742 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
58422b10712721784898f55cc315a33d36f50766 | 158 | py | Python | toolkit/pythonit_toolkit/emails/templates.py | pythonitalia/pycon | 14e03b2158916f9437fdbde70e48e5bf5266997e | [
"MIT"
] | 56 | 2018-01-20T17:18:40.000Z | 2022-03-28T22:42:04.000Z | toolkit/pythonit_toolkit/emails/templates.py | pythonitalia/pycon | 14e03b2158916f9437fdbde70e48e5bf5266997e | [
"MIT"
] | 2,029 | 2018-01-20T11:37:24.000Z | 2022-03-31T04:10:51.000Z | toolkit/pythonit_toolkit/emails/templates.py | pythonitalia/pycon | 14e03b2158916f9437fdbde70e48e5bf5266997e | [
"MIT"
] | 17 | 2018-03-17T09:44:28.000Z | 2021-12-27T19:57:35.000Z | from enum import Enum
class EmailTemplate(str, Enum):
RESET_PASSWORD = "reset-password"
def __str__(self) -> str:
return str.__str__(self)
| 17.555556 | 37 | 0.677215 | 20 | 158 | 4.9 | 0.55 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221519 | 158 | 8 | 38 | 19.75 | 0.796748 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
5860a6d36225c8a6ef0a0f0932370fdc3b75b652 | 618 | py | Python | backend/flask/app/website/__init__.py | tvdhout/twitchess | 398e6390a456d432893a7e1e1c880c92cdcadf7c | [
"MIT"
] | 1 | 2022-01-08T05:55:37.000Z | 2022-01-08T05:55:37.000Z | backend/flask/app/website/__init__.py | tvdhout/twitchess | 398e6390a456d432893a7e1e1c880c92cdcadf7c | [
"MIT"
] | 1 | 2022-01-08T05:53:49.000Z | 2022-01-28T15:03:33.000Z | backend/flask/app/website/__init__.py | tvdhout/twitchess | 398e6390a456d432893a7e1e1c880c92cdcadf7c | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template
website_blueprint = Blueprint('website', __name__, template_folder='templates', static_folder='static')
@website_blueprint.route('/')
def index():
return render_template("homepage.html")
@website_blueprint.route('/setup')
def setup():
return render_template("set... | 21.310345 | 103 | 0.742718 | 74 | 618 | 5.945946 | 0.310811 | 0.190909 | 0.238636 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108414 | 618 | 28 | 104 | 22.071429 | 0.798548 | 0 | 0 | 0 | 0 | 0 | 0.177994 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.294118 | 0.647059 | 0.411765 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 6 |
5877dc0d129fb3f3dc27a1a88528a50365b44f8b | 45 | py | Python | tests/test.py | urtho/bqup | 0a6b6bed4fea0978cab26813e7def5c125886ab5 | [
"MIT"
] | 28 | 2019-03-01T10:58:25.000Z | 2021-12-07T09:02:01.000Z | tests/test.py | urtho/bqup | 0a6b6bed4fea0978cab26813e7def5c125886ab5 | [
"MIT"
] | 21 | 2019-03-01T11:40:21.000Z | 2021-08-25T15:24:27.000Z | tests/test.py | urtho/bqup | 0a6b6bed4fea0978cab26813e7def5c125886ab5 | [
"MIT"
] | 8 | 2019-11-21T07:31:55.000Z | 2021-08-24T14:07:28.000Z | import pytest
def test_stuff():
assert True | 11.25 | 17 | 0.777778 | 7 | 45 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 4 | 18 | 11.25 | 0.894737 | 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 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
543514b3a0895fd8e0af23cb1ebd8466e56b974e | 13,788 | py | Python | ee/clickhouse/models/test/test_property.py | FarazPatankar/posthog | dddf2644376d0fd6836ed96c139f6a825c74202f | [
"MIT"
] | 1 | 2021-04-09T09:13:23.000Z | 2021-04-09T09:13:23.000Z | ee/clickhouse/models/test/test_property.py | FarazPatankar/posthog | dddf2644376d0fd6836ed96c139f6a825c74202f | [
"MIT"
] | 1 | 2021-10-13T10:05:26.000Z | 2021-10-13T10:05:26.000Z | ee/clickhouse/models/test/test_property.py | FarazPatankar/posthog | dddf2644376d0fd6836ed96c139f6a825c74202f | [
"MIT"
] | 1 | 2021-06-17T02:18:43.000Z | 2021-06-17T02:18:43.000Z | from typing import List
from uuid import UUID, uuid4
import pytest
from ee.clickhouse.client import sync_execute
from ee.clickhouse.models.event import create_event
from ee.clickhouse.models.property import parse_prop_clauses, prop_filter_json_extract
from ee.clickhouse.util import ClickhouseTestMixin
from posthog.mo... | 42.555556 | 120 | 0.579272 | 1,545 | 13,788 | 4.954045 | 0.10356 | 0.042853 | 0.064803 | 0.105304 | 0.818788 | 0.786517 | 0.783381 | 0.774236 | 0.749804 | 0.724588 | 0 | 0.009022 | 0.244343 | 13,788 | 323 | 121 | 42.687307 | 0.725597 | 0.009066 | 0 | 0.424125 | 0 | 0 | 0.196017 | 0.00227 | 0 | 0 | 0 | 0 | 0.128405 | 1 | 0.050584 | false | 0 | 0.046693 | 0.003891 | 0.132296 | 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 |
5471e77c2fc57bf38a92e0f2d0d3bbde0aa15dc2 | 113 | py | Python | sotodlib/coords/__init__.py | nad-dch/sotodlib | 1a88233ea1be1a5bdebe08df057574e4cfe95298 | [
"MIT"
] | null | null | null | sotodlib/coords/__init__.py | nad-dch/sotodlib | 1a88233ea1be1a5bdebe08df057574e4cfe95298 | [
"MIT"
] | null | null | null | sotodlib/coords/__init__.py | nad-dch/sotodlib | 1a88233ea1be1a5bdebe08df057574e4cfe95298 | [
"MIT"
] | null | null | null | from .pmat import P
from .helpers import get_radec, get_horiz, get_footprint, get_wcs_kernel, get_supergeom, DEG
| 37.666667 | 92 | 0.823009 | 19 | 113 | 4.578947 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115044 | 113 | 2 | 93 | 56.5 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
547f5c5e66b4281dfe7d2e7c90aa4b421bee011b | 16,791 | py | Python | tests/test_projects.py | platiagro/pipeline-generator | d84b9512c39970c469154eaed56f08780ebf21eb | [
"Apache-2.0"
] | 1 | 2020-05-19T14:57:55.000Z | 2020-05-19T14:57:55.000Z | tests/test_projects.py | platiagro/pipelines | d84b9512c39970c469154eaed56f08780ebf21eb | [
"Apache-2.0"
] | 93 | 2020-04-25T21:10:49.000Z | 2020-12-15T18:25:49.000Z | tests/test_projects.py | platiagro/pipelines | d84b9512c39970c469154eaed56f08780ebf21eb | [
"Apache-2.0"
] | 6 | 2019-09-05T12:37:59.000Z | 2020-08-08T00:08:25.000Z | # -*- coding: utf-8 -*-
from json import dumps
from unittest import TestCase
from pipelines.api.main import app
from pipelines.database import engine
from pipelines.object_storage import BUCKET_NAME
from pipelines.utils import uuid_alpha
DEPLOYMENT_ID = str(uuid_alpha())
DEPLOYMENT_ID_2 = str(uuid_alpha())
EXPERIMENT... | 40.953659 | 222 | 0.550295 | 1,676 | 16,791 | 5.357399 | 0.087112 | 0.042098 | 0.033077 | 0.045105 | 0.816127 | 0.791291 | 0.757768 | 0.737944 | 0.709767 | 0.67914 | 0 | 0.014451 | 0.319993 | 16,791 | 409 | 223 | 41.05379 | 0.771939 | 0.003514 | 0 | 0.638889 | 0 | 0.016667 | 0.321836 | 0.09624 | 0 | 0 | 0 | 0 | 0.15 | 1 | 0.022222 | false | 0 | 0.016667 | 0 | 0.041667 | 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 |
54b25d051650189b72c91da06b1dbf7677935cfd | 5,719 | py | Python | src/hydratk/extensions/security/translation/cs/help.py | hydratk/hydratk-ext-security | 620acd849dd61c7c30b22b14973adf76b81b394a | [
"BSD-3-Clause"
] | null | null | null | src/hydratk/extensions/security/translation/cs/help.py | hydratk/hydratk-ext-security | 620acd849dd61c7c30b22b14973adf76b81b394a | [
"BSD-3-Clause"
] | null | null | null | src/hydratk/extensions/security/translation/cs/help.py | hydratk/hydratk-ext-security | 620acd849dd61c7c30b22b14973adf76b81b394a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""This code is a part of Hydra Toolkit
.. module:: hydratk.extensions.security.translation.cs.help
:platform: Unix
:synopsis: Czech language translation for Security extension help generator
.. moduleauthor:: Petr Rašek <bowman@hydratk.org>
"""
language = {
'name': 'Čeština',
'... | 85.358209 | 178 | 0.598007 | 702 | 5,719 | 4.868946 | 0.178063 | 0.12639 | 0.094792 | 0.044763 | 0.833528 | 0.791106 | 0.781451 | 0.757461 | 0.675834 | 0.61849 | 0 | 0.010462 | 0.147578 | 5,719 | 66 | 179 | 86.651515 | 0.690667 | 0.06085 | 0 | 0 | 0 | 0 | 0.731175 | 0.018825 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
49b05f70075cad3108917a1642d9360f59ca27a8 | 95 | py | Python | qy/member/__init__.py | v2up/queyue | 0e6c034cb9eec8f4ab2f3e8983e78cb609a2af1d | [
"MIT"
] | null | null | null | qy/member/__init__.py | v2up/queyue | 0e6c034cb9eec8f4ab2f3e8983e78cb609a2af1d | [
"MIT"
] | null | null | null | qy/member/__init__.py | v2up/queyue | 0e6c034cb9eec8f4ab2f3e8983e78cb609a2af1d | [
"MIT"
] | null | null | null | from flask import Blueprint
member = Blueprint('member', __name__)
from . import views, forms | 19 | 38 | 0.768421 | 12 | 95 | 5.75 | 0.666667 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147368 | 95 | 5 | 39 | 19 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 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 |
49d3596a697ad99e4b7bf64568e413f5f47d6526 | 35 | py | Python | union/utils/response_handler.py | fsi-sandbox/fsi-sdk-python | 6387cc5ac0fbd0a1eff5ff07b52df574c3857f28 | [
"MIT"
] | 1 | 2020-03-09T23:15:27.000Z | 2020-03-09T23:15:27.000Z | union/utils/response_handler.py | fsi-sandbox/fsi-sdk-python | 6387cc5ac0fbd0a1eff5ff07b52df574c3857f28 | [
"MIT"
] | 2 | 2020-03-09T12:18:45.000Z | 2021-06-02T00:59:26.000Z | union/utils/response_handler.py | fsi-sandbox/fsi-sdk-python | 6387cc5ac0fbd0a1eff5ff07b52df574c3857f28 | [
"MIT"
] | 3 | 2020-03-07T09:42:59.000Z | 2020-03-26T21:58:46.000Z | def response(data):
return data | 17.5 | 19 | 0.714286 | 5 | 35 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 2 | 20 | 17.5 | 0.892857 | 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 |
3fb3f1bfe550f65a084a3cf6fc372050380aac20 | 191 | py | Python | sns/admin.py | tosa-yusuke/denden11 | f9f65683bd88697a3a344ab4485380de3a49451b | [
"MIT"
] | null | null | null | sns/admin.py | tosa-yusuke/denden11 | f9f65683bd88697a3a344ab4485380de3a49451b | [
"MIT"
] | null | null | null | sns/admin.py | tosa-yusuke/denden11 | f9f65683bd88697a3a344ab4485380de3a49451b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Message,Friend,Group,Good
admin.site.register(Message)
admin.site.register(Friend)
admin.site.register(Group)
admin.site.register(Good)
| 21.222222 | 45 | 0.816754 | 28 | 191 | 5.571429 | 0.428571 | 0.230769 | 0.435897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073298 | 191 | 8 | 46 | 23.875 | 0.881356 | 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 |
3ff9ccf4a67a1949909b19a79867cfb49d0e0524 | 147 | py | Python | Firmware/buildroot/share/PlatformIO/scripts/mks_robin_mini.py | jhNsXO/UnifiedFirmware | a3649d67d9fa6219c7fb58ab9e18594b1b0a24df | [
"Info-ZIP"
] | 97 | 2020-09-14T13:35:17.000Z | 2022-03-28T20:15:49.000Z | Firmware/buildroot/share/PlatformIO/scripts/mks_robin_mini.py | jhNsXO/UnifiedFirmware | a3649d67d9fa6219c7fb58ab9e18594b1b0a24df | [
"Info-ZIP"
] | 8 | 2020-11-11T21:01:38.000Z | 2022-01-22T01:22:10.000Z | Firmware/buildroot/share/PlatformIO/scripts/mks_robin_mini.py | jhNsXO/UnifiedFirmware | a3649d67d9fa6219c7fb58ab9e18594b1b0a24df | [
"Info-ZIP"
] | 49 | 2020-09-22T09:33:37.000Z | 2022-03-19T21:23:04.000Z | #
# buildroot/share/PlatformIO/scripts/mks_robin_mini.py
#
import marlin
marlin.prepare_robin("0x08007000", "mks_robin_mini.ld", "Robin_mini.bin")
| 24.5 | 73 | 0.795918 | 21 | 147 | 5.285714 | 0.666667 | 0.243243 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.061224 | 147 | 5 | 74 | 29.4 | 0.73913 | 0.353742 | 0 | 0 | 0 | 0 | 0.450549 | 0 | 0 | 0 | 0.10989 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
b206ccd883b224aa0ea8fa99fa6570ffe9409705 | 74 | py | Python | onboard/scripts/switch_keyboard_language.py | NikitaKarnauhov/htpc-awesome | 36e0e8722fadab5a0d25101c294e6acf92a858b3 | [
"MIT"
] | null | null | null | onboard/scripts/switch_keyboard_language.py | NikitaKarnauhov/htpc-awesome | 36e0e8722fadab5a0d25101c294e6acf92a858b3 | [
"MIT"
] | null | null | null | onboard/scripts/switch_keyboard_language.py | NikitaKarnauhov/htpc-awesome | 36e0e8722fadab5a0d25101c294e6acf92a858b3 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import os
def run():
os.system("xkb-switch -n")
| 9.25 | 30 | 0.608108 | 12 | 74 | 3.75 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.189189 | 74 | 7 | 31 | 10.571429 | 0.733333 | 0.22973 | 0 | 0 | 0 | 0 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b748535643887c5372ab83afcff6fbb4cedf4d08 | 80 | py | Python | sel_map_segmentation/mit_semseg_wrapper/src/mit_semseg_wrapper/__init__.py | roahmlab/sel_map | 51c5ac738eb7475f409f826c0d30f555f98757b3 | [
"MIT"
] | 2 | 2022-02-24T21:10:32.000Z | 2022-03-11T20:00:09.000Z | sel_map_segmentation/mit_semseg_wrapper/src/mit_semseg_wrapper/__init__.py | roahmlab/sel_map | 51c5ac738eb7475f409f826c0d30f555f98757b3 | [
"MIT"
] | null | null | null | sel_map_segmentation/mit_semseg_wrapper/src/mit_semseg_wrapper/__init__.py | roahmlab/sel_map | 51c5ac738eb7475f409f826c0d30f555f98757b3 | [
"MIT"
] | null | null | null | from .semsegNetwork import SemanticSegmentationNetwork as SemsegNetworkWrapper
| 26.666667 | 78 | 0.9 | 6 | 80 | 12 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 80 | 2 | 79 | 40 | 0.986301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b769f2497bff1635ae39cb48406a9849290c049c | 10,678 | py | Python | Psience/DVR/ColbertMiller.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | Psience/DVR/ColbertMiller.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | Psience/DVR/ColbertMiller.py | McCoyGroup/Coordinerds | 058a4f5b29f157e499cec3c8f2da8b216f0210ef | [
"MIT"
] | null | null | null | """
Provides implementations of the Colbert-Miller DVR types defined in
http://xbeams.chem.yale.edu/~batista/v572/ColbertMiller.pdf
"""
import numpy as np
from .BaseDVR import BaseDVR
__all__ = [
"CartesianDVR",
"RingDVR",
"RadialDVR",
"PolarDVR",
]
class CartesianDVR(BaseDVR):
"""
Provides ... | 30.595989 | 125 | 0.50384 | 1,495 | 10,678 | 3.494314 | 0.108361 | 0.042879 | 0.025268 | 0.027374 | 0.871172 | 0.837672 | 0.812787 | 0.800919 | 0.771631 | 0.738515 | 0 | 0.027478 | 0.36608 | 10,678 | 349 | 126 | 30.595989 | 0.744275 | 0.315977 | 0 | 0.657343 | 0 | 0 | 0.024882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083916 | false | 0 | 0.013986 | 0 | 0.195804 | 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 |
b7bb7be5d0b83be9305441fd77dad6ca41228c2c | 30 | py | Python | sound/filters/vocoder.py | liuyangyang2015/PythonDemo | a72c009a31ff833dd12405bb97e688ae91ceda6c | [
"MIT"
] | null | null | null | sound/filters/vocoder.py | liuyangyang2015/PythonDemo | a72c009a31ff833dd12405bb97e688ae91ceda6c | [
"MIT"
] | null | null | null | sound/filters/vocoder.py | liuyangyang2015/PythonDemo | a72c009a31ff833dd12405bb97e688ae91ceda6c | [
"MIT"
] | null | null | null | from sound.effects import echo | 30 | 30 | 0.866667 | 5 | 30 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 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 |
b7df9b1b18a475dd6ee32ed71024ade1d876a334 | 25 | py | Python | neattext/explainer/__init__.py | Jcharis/neattext | 9a6b104f478bb33e48f24fc0f6724279564313b7 | [
"MIT"
] | 32 | 2020-03-18T18:36:54.000Z | 2022-03-29T03:11:34.000Z | neattext/explainer/__init__.py | Jcharis/neattext | 9a6b104f478bb33e48f24fc0f6724279564313b7 | [
"MIT"
] | 2 | 2020-07-22T11:09:52.000Z | 2021-03-04T04:34:16.000Z | neattext/explainer/__init__.py | Jcharis/neattext | 9a6b104f478bb33e48f24fc0f6724279564313b7 | [
"MIT"
] | 6 | 2020-09-30T18:08:50.000Z | 2021-11-01T07:00:38.000Z | from .explainer import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b7e0452e35f506646f504107d64609f35781352b | 2,993 | py | Python | tests/atlas/test_atlas_webhook_packer.py | byorgey/irc-hooky | e78942b7e13ce273c40815863d0384dddfa52243 | [
"MIT"
] | 19 | 2016-01-26T18:36:38.000Z | 2022-03-12T02:32:01.000Z | tests/atlas/test_atlas_webhook_packer.py | byorgey/irc-hooky | e78942b7e13ce273c40815863d0384dddfa52243 | [
"MIT"
] | 3 | 2016-01-29T19:43:25.000Z | 2019-03-11T20:21:11.000Z | tests/atlas/test_atlas_webhook_packer.py | byorgey/irc-hooky | e78942b7e13ce273c40815863d0384dddfa52243 | [
"MIT"
] | 2 | 2016-03-01T09:23:07.000Z | 2020-04-01T21:53:51.000Z | import unittest
from irc_hooky.atlas.atlas_webhook import AtlasWebhook
class TestAtlasWebhookPacker(unittest.TestCase):
def test_unknown_packer_event(self):
payload = {
"packer_alert": {
"build_configuration": "marvinpinto/packer-test",
"number": 2,
... | 31.505263 | 90 | 0.516539 | 267 | 2,993 | 5.602996 | 0.187266 | 0.066176 | 0.120321 | 0.140374 | 0.802139 | 0.802139 | 0.783422 | 0.757353 | 0.757353 | 0.757353 | 0 | 0.002615 | 0.361176 | 2,993 | 94 | 91 | 31.840426 | 0.779812 | 0.001336 | 0 | 0.632184 | 0 | 0 | 0.226649 | 0.0385 | 0 | 0 | 0 | 0 | 0.114943 | 1 | 0.057471 | false | 0 | 0.022989 | 0 | 0.091954 | 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 |
b7f698494405fc1d493a1551615929aba4dfa242 | 2,952 | py | Python | tests/test_card_stats.py | JaDogg/sbx | 6865cc307fb1c2049e71d79d1741eed0bd635746 | [
"MIT"
] | 4 | 2020-10-03T22:37:13.000Z | 2022-01-08T22:43:54.000Z | tests/test_card_stats.py | JaDogg/sbx | 6865cc307fb1c2049e71d79d1741eed0bd635746 | [
"MIT"
] | 1 | 2020-10-02T09:54:00.000Z | 2020-10-02T09:54:00.000Z | tests/test_card_stats.py | JaDogg/sbx | 6865cc307fb1c2049e71d79d1741eed0bd635746 | [
"MIT"
] | null | null | null | import os
from unittest import TestCase
from sbx.core.card import Card, CardMeta, Sm2
from .utility import BOX_PATH
class TestCardMeta(TestCase):
def test_new_card_can_be_studied_today(self):
card = Card("new_card.md")
self.assertTrue(card.today)
def test_new_card_is_not_leech(self):
... | 30.43299 | 69 | 0.64126 | 409 | 2,952 | 4.388753 | 0.146699 | 0.075209 | 0.133705 | 0.12702 | 0.854039 | 0.84234 | 0.815042 | 0.769916 | 0.711421 | 0.644011 | 0 | 0.012653 | 0.250339 | 2,952 | 96 | 70 | 30.75 | 0.798464 | 0 | 0 | 0.676056 | 0 | 0 | 0.050813 | 0.007791 | 0 | 0 | 0 | 0 | 0.253521 | 1 | 0.098592 | false | 0 | 0.056338 | 0 | 0.169014 | 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 |
4d003645c77f0d118e94b8626f69a1f0ad179c3a | 75 | py | Python | mosviz/widgets/__init__.py | rosteen/mosviz | 90f8ac095b3b41117917878be51b9a6d6afa9595 | [
"BSD-3-Clause"
] | null | null | null | mosviz/widgets/__init__.py | rosteen/mosviz | 90f8ac095b3b41117917878be51b9a6d6afa9595 | [
"BSD-3-Clause"
] | null | null | null | mosviz/widgets/__init__.py | rosteen/mosviz | 90f8ac095b3b41117917878be51b9a6d6afa9595 | [
"BSD-3-Clause"
] | null | null | null | from .plots import *
from .toolbars import *
from .viewer_options import *
| 18.75 | 29 | 0.76 | 10 | 75 | 5.6 | 0.6 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 30 | 25 | 0.888889 | 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 |
4d41563c51386544e2905fae65ddd01ed8e39024 | 3,122 | py | Python | rltoolkit/test/test_evals.py | raznem/sac_ppo | c18e9bd32a70fcc4bc413565c6b885d7560b8b5a | [
"MIT"
] | null | null | null | rltoolkit/test/test_evals.py | raznem/sac_ppo | c18e9bd32a70fcc4bc413565c6b885d7560b8b5a | [
"MIT"
] | null | null | null | rltoolkit/test/test_evals.py | raznem/sac_ppo | c18e9bd32a70fcc4bc413565c6b885d7560b8b5a | [
"MIT"
] | null | null | null | from rltoolkit import (
DDPG,
PPO,
SAC,
DDPG_AcM,
EvalsWrapper,
EvalsWrapperACM,
PPO_AcM,
SAC_AcM,
)
ITERATIONS = 3
MAX_FRAMES = 2e2
STATS_FREQ = 1
EVALS = 2
ENV = "Pendulum-v0"
BATCH_SIZE = 100
ACM_PRETRAIN_SAMPLES = 10
ACM_PRETRAIN_EPOCHS = 2
OFF_POLICY_BUFFER_SIZE = 100
def test_pp... | 24.976 | 51 | 0.674247 | 371 | 3,122 | 5.218329 | 0.123989 | 0.11157 | 0.052686 | 0.07438 | 0.880165 | 0.829029 | 0.768595 | 0.768595 | 0.768595 | 0.768595 | 0 | 0.008994 | 0.252082 | 3,122 | 124 | 52 | 25.177419 | 0.820128 | 0 | 0 | 0.666667 | 0 | 0 | 0.02082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.009009 | 0 | 0.063063 | 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 |
12861264c06cb4061c8ffbf3486c86ba83290662 | 276 | py | Python | src/astrild/power_spectra/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 3 | 2021-07-27T14:45:58.000Z | 2022-01-31T21:09:46.000Z | src/astrild/power_spectra/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 1 | 2021-11-03T10:47:45.000Z | 2021-11-03T10:47:45.000Z | src/astrild/power_spectra/__init__.py | Christovis/wys-ars | bb15f2d392842f9b32de12b5db5c86079bc97105 | [
"MIT"
] | 1 | 2021-11-03T10:17:34.000Z | 2021-11-03T10:17:34.000Z | from . import utils
from .powmes import PowMes
from .angular_power_spectrum import AngularPowerSpectrum
from .linear_angular_power_spectrum import LinearAngularPowerSpectrum
from .power_spectrum_3d import PowerSpectrum3D
from .linear_power_spectrum import LinearPowerSpectrum
| 39.428571 | 69 | 0.891304 | 32 | 276 | 7.40625 | 0.40625 | 0.219409 | 0.240506 | 0.219409 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.086957 | 276 | 6 | 70 | 46 | 0.93254 | 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 |
128e4922c5febb792e00504b8746cbf3c7df279e | 28,044 | py | Python | testproject/django_file_form_example/tests/live/test_with_ajax.py | mbraak/django-file-form | 3d410fcc246e558f8a822a365c3483e171d0c0cd | [
"Apache-2.0"
] | 133 | 2015-01-22T09:01:58.000Z | 2022-03-24T07:24:52.000Z | testproject/django_file_form_example/tests/live/test_with_ajax.py | mbraak/django-file-form | 3d410fcc246e558f8a822a365c3483e171d0c0cd | [
"Apache-2.0"
] | 371 | 2015-01-14T01:34:45.000Z | 2022-03-23T12:16:01.000Z | testproject/django_file_form_example/tests/live/test_with_ajax.py | mbraak/django-file-form | 3d410fcc246e558f8a822a365c3483e171d0c0cd | [
"Apache-2.0"
] | 42 | 2015-01-21T11:24:42.000Z | 2022-03-22T12:10:01.000Z | from pathlib import Path
from django.conf import settings
from django.core.files.base import ContentFile
from django.test import override_settings
from django_file_form.models import TemporaryUploadedFile
from django_file_form_example.tests.utils.base_live_testcase import BaseLiveTestCase
from django_file_form_exampl... | 32.234483 | 87 | 0.664741 | 3,386 | 28,044 | 5.174247 | 0.059953 | 0.054795 | 0.033562 | 0.045548 | 0.859304 | 0.830993 | 0.801199 | 0.756336 | 0.714897 | 0.691495 | 0 | 0.012777 | 0.22971 | 28,044 | 869 | 88 | 32.271577 | 0.798259 | 0.004636 | 0 | 0.652961 | 0 | 0 | 0.099122 | 0.039706 | 0 | 0 | 0 | 0 | 0.215461 | 1 | 0.054276 | false | 0.009868 | 0.014803 | 0 | 0.072368 | 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 |
129dd4fe81fd0298b330cbb5dead30605587cd84 | 272,711 | py | Python | Demos/PrimarySchoolMath/PSMath01.py | sheiun/ArticutAPI | f6c07b9d048b1493e1c73bf7f858454cee6f6b1d | [
"MIT"
] | null | null | null | Demos/PrimarySchoolMath/PSMath01.py | sheiun/ArticutAPI | f6c07b9d048b1493e1c73bf7f858454cee6f6b1d | [
"MIT"
] | null | null | null | Demos/PrimarySchoolMath/PSMath01.py | sheiun/ArticutAPI | f6c07b9d048b1493e1c73bf7f858454cee6f6b1d | [
"MIT"
] | null | null | null | """
Loki Template For Python3
Request:
{
"username": "your_username",
"api_key": "your_articut_key",
"input_str": "your_sentence",
"version": "latest", # Articut Version
"loki_key": "your_loki_key"
}
Response:
{
... | 83.833692 | 582 | 0.544089 | 28,381 | 272,711 | 5.114055 | 0.039216 | 0.154139 | 0.165149 | 0.111036 | 0.941685 | 0.924632 | 0.912079 | 0.89945 | 0.882088 | 0.868281 | 0 | 0.011393 | 0.220497 | 272,711 | 3,253 | 583 | 83.833692 | 0.67136 | 0.025892 | 0 | 0.555278 | 0 | 0.139235 | 0.372074 | 0.33013 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007897 | false | 0 | 0.002078 | 0.001663 | 0.01995 | 0.001663 | 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 |
12ce92059ef6c2fda10aec519aec284a72d0c362 | 17,110 | py | Python | vmware_nsx/tests/unit/services/vpnaas/test_nsxv_vpnaas.py | yebinama/vmware-nsx | 5f59ce8d4668c24e0f4f934898fb4b4e63f1c2f4 | [
"Apache-2.0"
] | null | null | null | vmware_nsx/tests/unit/services/vpnaas/test_nsxv_vpnaas.py | yebinama/vmware-nsx | 5f59ce8d4668c24e0f4f934898fb4b4e63f1c2f4 | [
"Apache-2.0"
] | null | null | null | vmware_nsx/tests/unit/services/vpnaas/test_nsxv_vpnaas.py | yebinama/vmware-nsx | 5f59ce8d4668c24e0f4f934898fb4b4e63f1c2f4 | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 VMware, 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 applica... | 50.922619 | 79 | 0.598422 | 1,914 | 17,110 | 4.942006 | 0.10815 | 0.046517 | 0.034887 | 0.052225 | 0.788984 | 0.778624 | 0.774923 | 0.767312 | 0.758748 | 0.751136 | 0 | 0.002743 | 0.318293 | 17,110 | 335 | 80 | 51.074627 | 0.808213 | 0.072063 | 0 | 0.739437 | 0 | 0 | 0.089066 | 0.044028 | 0 | 0 | 0 | 0 | 0.119718 | 1 | 0.045775 | false | 0 | 0.042254 | 0 | 0.091549 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.