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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
825138a5db6ac3421b38f7af920a1a30640917ad | 97 | py | Python | demos/time/client.py | bbonf/rpyc | 2c66dd6936a0d9e6e36c1ba0cda1139676acf95c | [
"MIT"
] | 1 | 2016-09-09T19:42:06.000Z | 2016-09-09T19:42:06.000Z | demos/time/client.py | tvanzyl/rpyc | 1b7ea8b51fd459cf1c7035578068104de5e67e1c | [
"MIT"
] | null | null | null | demos/time/client.py | tvanzyl/rpyc | 1b7ea8b51fd459cf1c7035578068104de5e67e1c | [
"MIT"
] | 1 | 2019-01-27T19:59:30.000Z | 2019-01-27T19:59:30.000Z | import rpyc
c = rpyc.connect_by_service("TIME")
print( "server's time is", c.root.get_time())
| 13.857143 | 45 | 0.701031 | 17 | 97 | 3.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 97 | 6 | 46 | 16.166667 | 0.77381 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8262eb403a2ed44ba3bcb27f106af5399550b46e | 588 | py | Python | Leetcoding-Actions/Explore-Monthly-Challenges/2021-02/19-minimumRemoveToMakeValidParenthesis.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | 1 | 2020-11-14T18:28:13.000Z | 2020-11-14T18:28:13.000Z | Leetcoding-Actions/Explore-Monthly-Challenges/2021-02/19-minimumRemoveToMakeValidParenthesis.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | null | null | null | Leetcoding-Actions/Explore-Monthly-Challenges/2021-02/19-minimumRemoveToMakeValidParenthesis.py | shoaibur/SWE | 1e114a2750f2df5d6c50b48c8e439224894d65da | [
"MIT"
] | null | null | null | class Solution:
def minRemoveToMakeValid(self, s: str) -> str:
invalid_open = []
invalid_close = []
for i,char in enumerate(s):
if char == '(':
invalid_open.append(i)
elif char == ')':
if not invalid_open:
... | 30.947368 | 73 | 0.47619 | 65 | 588 | 4.184615 | 0.4 | 0.202206 | 0.198529 | 0.253676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.421769 | 588 | 18 | 74 | 32.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.003401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0 | 0 | 0.2 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8275a9dbe4c412180f653cd0064c34c1abb66f9f | 879 | py | Python | librosa/__init__.py | AlexMetsai/librosa | 7ce63a4364b6a8733163b4eae98aa1ab41db931d | [
"ISC"
] | 1 | 2019-10-15T19:30:27.000Z | 2019-10-15T19:30:27.000Z | librosa/__init__.py | AlexMetsai/librosa | 7ce63a4364b6a8733163b4eae98aa1ab41db931d | [
"ISC"
] | null | null | null | librosa/__init__.py | AlexMetsai/librosa | 7ce63a4364b6a8733163b4eae98aa1ab41db931d | [
"ISC"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Top-level module for librosa"""
import warnings
import re
from .version import version as __version__
from .version import show_versions
# And all the librosa sub-modules
from ._cache import cache
from . import core
from . import beat
from . import decompose
from . imp... | 26.636364 | 72 | 0.722412 | 114 | 879 | 5.482456 | 0.517544 | 0.176 | 0.0544 | 0.0864 | 0.1056 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002825 | 0.194539 | 879 | 32 | 73 | 27.46875 | 0.879944 | 0.321957 | 0 | 0 | 0 | 0 | 0.017123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
828a674463c56ca36009fa84551a97b7be78d774 | 264 | py | Python | bruges/attribute/__init__.py | mycarta/bruges | 4b7dd42e96d477ffaaedd9134f9f7b7b60dd7123 | [
"Apache-2.0"
] | 209 | 2015-07-16T18:23:42.000Z | 2022-02-27T02:59:46.000Z | bruges/attribute/__init__.py | mycarta/bruges | 4b7dd42e96d477ffaaedd9134f9f7b7b60dd7123 | [
"Apache-2.0"
] | 74 | 2015-07-12T16:12:01.000Z | 2022-02-22T14:27:26.000Z | bruges/attribute/__init__.py | mycarta/bruges | 4b7dd42e96d477ffaaedd9134f9f7b7b60dd7123 | [
"Apache-2.0"
] | 112 | 2015-08-07T14:12:11.000Z | 2022-02-10T14:12:50.000Z | # -*- coding: utf-8 -*-
"""
:copyright: 2015 Agile Geoscience
:license: Apache 2.0
"""
from .energy import energy
from .similarity import similarity
from .dipsteer import dipsteer
from .spectrogram import spectrogram
from .spectraldecomp import spectraldecomp
| 17.6 | 42 | 0.761364 | 31 | 264 | 6.483871 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030973 | 0.143939 | 264 | 14 | 43 | 18.857143 | 0.858407 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
828be8b790faeae611e80c8beac981b5e0cc59e2 | 108 | py | Python | Android/NDK/android-ndk-r16b-win/prebuilt/windows-x86_64/lib/python2.7/plat-win32/STDDEF.py | X018/CCTOOL | 989af4d7edab82bf540400eb72eca4e7447d722c | [
"MIT"
] | null | null | null | Android/NDK/android-ndk-r16b-win/prebuilt/windows-x86_64/lib/python2.7/plat-win32/STDDEF.py | X018/CCTOOL | 989af4d7edab82bf540400eb72eca4e7447d722c | [
"MIT"
] | null | null | null | Android/NDK/android-ndk-r16b-win/prebuilt/windows-x86_64/lib/python2.7/plat-win32/STDDEF.py | X018/CCTOOL | 989af4d7edab82bf540400eb72eca4e7447d722c | [
"MIT"
] | null | null | null | # Generated by h2py from /usr/lib/gcc/x86_64-w64-mingw32/4.8/include/stddef.h
__WCHAR_TYPE__ = int
NULL = 0
| 27 | 77 | 0.759259 | 21 | 108 | 3.619048 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.111111 | 108 | 3 | 78 | 36 | 0.666667 | 0.694444 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
828ca7d9d0555a3126d2d06d55be3141ab4300fd | 244 | py | Python | tools/openapi/__main__.py | arrdem/source | df9aae1253ed415ade3a2b59e8a0996ff659543d | [
"MIT"
] | 4 | 2021-08-17T15:47:38.000Z | 2021-10-06T01:59:32.000Z | tools/openapi/__main__.py | arrdem/source | df9aae1253ed415ade3a2b59e8a0996ff659543d | [
"MIT"
] | 8 | 2021-08-14T17:47:08.000Z | 2021-09-20T20:22:47.000Z | tools/openapi/__main__.py | arrdem/source | df9aae1253ed415ade3a2b59e8a0996ff659543d | [
"MIT"
] | 1 | 2021-10-09T21:24:35.000Z | 2021-10-09T21:24:35.000Z | """Shim for executing the openapi spec validator."""
import re
import sys
from openapi_spec_validator.__main__ import main
if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
| 20.333333 | 68 | 0.668033 | 36 | 244 | 4.138889 | 0.611111 | 0.147651 | 0.268456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.151639 | 244 | 11 | 69 | 22.181818 | 0.710145 | 0.188525 | 0 | 0 | 0 | 0 | 0.15625 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
82b976ed084ef4c6a61d62469d54fe302f37dee8 | 1,085 | py | Python | Keywords/DeliveryView/priming.py | cassie01/PumpLibrary | c2a4884a36f4c6c6552fa942143ae5d21c120b41 | [
"Apache-2.0"
] | null | null | null | Keywords/DeliveryView/priming.py | cassie01/PumpLibrary | c2a4884a36f4c6c6552fa942143ae5d21c120b41 | [
"Apache-2.0"
] | null | null | null | Keywords/DeliveryView/priming.py | cassie01/PumpLibrary | c2a4884a36f4c6c6552fa942143ae5d21c120b41 | [
"Apache-2.0"
] | null | null | null | # -*-coding:utf-8 -*-
from Keywords.keywordgroup import KeywordGroup
class Priming(KeywordGroup):
"""
This class is used to define all related methods with priming.
"""
def start_prime(self):
"""
This method is used to start prime.
:return: None
"""
request_co... | 35 | 106 | 0.58341 | 110 | 1,085 | 5.463636 | 0.381818 | 0.066556 | 0.146423 | 0.063228 | 0.745424 | 0.745424 | 0.745424 | 0.655574 | 0.655574 | 0.655574 | 0 | 0.004255 | 0.35023 | 1,085 | 30 | 107 | 36.166667 | 0.848227 | 0.167742 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82bd5e0ca26e05055857aadd363c281e773cc82c | 1,059 | py | Python | background/migrations/0003_auto_20210525_0907.py | BFlameSwift/AirplaneReservationSystem | bbabb0e258c72eb50fcbbf7ade437e38a39e6f02 | [
"MIT"
] | 3 | 2021-06-19T09:40:13.000Z | 2021-06-19T17:09:54.000Z | background/migrations/0003_auto_20210525_0907.py | BFlameSwift/AirplaneReservationSystem | bbabb0e258c72eb50fcbbf7ade437e38a39e6f02 | [
"MIT"
] | null | null | null | background/migrations/0003_auto_20210525_0907.py | BFlameSwift/AirplaneReservationSystem | bbabb0e258c72eb50fcbbf7ade437e38a39e6f02 | [
"MIT"
] | 1 | 2021-12-05T14:51:51.000Z | 2021-12-05T14:51:51.000Z | # Generated by Django 3.2.2 on 2021-05-25 09:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('background', '0002_auto_20210524_1900'),
]
operations = [
migrations.RenameField(
model_name='concrete_flight',
old_... | 27.153846 | 138 | 0.532578 | 105 | 1,059 | 5.133333 | 0.485714 | 0.083488 | 0.19295 | 0.222635 | 0.504638 | 0.437848 | 0.437848 | 0.350649 | 0.230056 | 0.230056 | 0 | 0.050633 | 0.328612 | 1,059 | 38 | 139 | 27.868421 | 0.707454 | 0.042493 | 0 | 0.625 | 1 | 0 | 0.166996 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82c30fda9732f6910fe53f720e3cff1cd5bb6b52 | 121 | py | Python | file/file.py | Vayne-Lover/Python | 79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1 | [
"Apache-2.0"
] | 1 | 2016-07-14T06:16:58.000Z | 2016-07-14T06:16:58.000Z | file/file.py | Vayne-Lover/Python | 79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1 | [
"Apache-2.0"
] | null | null | null | file/file.py | Vayne-Lover/Python | 79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1 | [
"Apache-2.0"
] | null | null | null | #!/usr/local/bin/python
import sys
text=sys.stdin.read()
words=text.split()
count=len(words)
print 'Words count: ',count
| 17.285714 | 27 | 0.735537 | 20 | 121 | 4.45 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082645 | 121 | 6 | 28 | 20.166667 | 0.801802 | 0.181818 | 0 | 0 | 0 | 0 | 0.132653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82c4d18e371394e351647e536d62157d644c4d04 | 1,320 | py | Python | Python_Connect_Four_Game/Winning_Condition.py | Hacker-Davinci/Python_Learning_Projects_And_Module_From_Youtube | afdf096e0bb139018f4ac0ff006980b4aa95fce9 | [
"MIT"
] | 1 | 2021-05-31T15:16:52.000Z | 2021-05-31T15:16:52.000Z | Python_Connect_Four_Game/Winning_Condition.py | Hacker-Davinci/Python_Learning_Projects_From_Youtube | afdf096e0bb139018f4ac0ff006980b4aa95fce9 | [
"MIT"
] | null | null | null | Python_Connect_Four_Game/Winning_Condition.py | Hacker-Davinci/Python_Learning_Projects_From_Youtube | afdf096e0bb139018f4ac0ff006980b4aa95fce9 | [
"MIT"
] | null | null | null |
def winning_move(board, piece):
# Check horizontal locations for win
# every possibility horizontal 4 in the board
for c in range(COLUMN_COUNT-3):
for r in range(ROW_COUNT):
if board[r][c] == piece and board[r][c+1] == piece\
and board[r][c+2] == piece and b... | 40 | 79 | 0.526515 | 201 | 1,320 | 3.412935 | 0.179104 | 0.139942 | 0.227405 | 0.244898 | 0.725948 | 0.725948 | 0.54519 | 0.511662 | 0.511662 | 0.511662 | 0 | 0.033721 | 0.348485 | 1,320 | 33 | 80 | 40 | 0.763953 | 0.175758 | 0 | 0.409091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82d719486cfe9d8dd74408c55f76fc598cac303a | 1,555 | py | Python | src/shared/error/exceptions.py | alercebroker/ztf-api-apf | 916f02009a07e43d6ed26bdb1e2b0ec7f41321f1 | [
"Apache-2.0"
] | null | null | null | src/shared/error/exceptions.py | alercebroker/ztf-api-apf | 916f02009a07e43d6ed26bdb1e2b0ec7f41321f1 | [
"Apache-2.0"
] | null | null | null | src/shared/error/exceptions.py | alercebroker/ztf-api-apf | 916f02009a07e43d6ed26bdb1e2b0ec7f41321f1 | [
"Apache-2.0"
] | null | null | null | class WrapperException(BaseException):
def __init__(self, original_e, subcode=None):
super().__init__()
self.original_exception = original_e
self.subcode = subcode
def __str__(self) -> str:
return self.original_exception.__str__()
class ClientErrorException(WrapperException):
... | 28.272727 | 78 | 0.681029 | 192 | 1,555 | 5.098958 | 0.276042 | 0.081716 | 0.05618 | 0.058223 | 0.407559 | 0.375894 | 0.328907 | 0.279877 | 0.279877 | 0.239019 | 0 | 0 | 0.230225 | 1,555 | 54 | 79 | 28.796296 | 0.817878 | 0.248875 | 0 | 0.5 | 0 | 0 | 0.090171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.115385 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7d57fcdc040f0d711cd9bff5f40bae622884b8b7 | 229 | py | Python | lib/model/utils/misc_utils.py | jennyabr/faster-rcnn.pytorch | 90639b26e9bcdbca0b3da140448913b5c41182e0 | [
"MIT"
] | null | null | null | lib/model/utils/misc_utils.py | jennyabr/faster-rcnn.pytorch | 90639b26e9bcdbca0b3da140448913b5c41182e0 | [
"MIT"
] | null | null | null | lib/model/utils/misc_utils.py | jennyabr/faster-rcnn.pytorch | 90639b26e9bcdbca0b3da140448913b5c41182e0 | [
"MIT"
] | null | null | null | import os
import re
def get_epoch_num_from_ckpt(ckpt_path):
filename = os.path.basename(ckpt_path)
fname_without_ext = filename.split('.')[0]
epoch_num = re.findall('\d+', fname_without_ext)[-1]
return epoch_num
| 25.444444 | 56 | 0.720524 | 36 | 229 | 4.25 | 0.583333 | 0.156863 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.152838 | 229 | 8 | 57 | 28.625 | 0.778351 | 0 | 0 | 0 | 0 | 0 | 0.017467 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7d69a8f311dd680993680baec2ad8f7948303eb7 | 612,458 | py | Python | Helper/svs/ttypesDefault.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | Helper/svs/ttypesDefault.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | Helper/svs/ttypesDefault.py | pratannaimjoi/tokenIpad | f03969c05427bc1804d05c42823a28725c7e38a0 | [
"Apache-2.0"
] | null | null | null | #
# Autogenerated by Thrift Compiler (0.9.3)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING!!
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
import sys
from thrift.transport import TTransport
from thrift.protocol import TBinar... | 32.760524 | 935 | 0.623277 | 66,366 | 612,458 | 5.564461 | 0.026474 | 0.017412 | 0.031341 | 0.041772 | 0.766382 | 0.719403 | 0.671798 | 0.660504 | 0.638876 | 0.632978 | 0 | 0.028527 | 0.263149 | 612,458 | 18,694 | 936 | 32.762277 | 0.789774 | 0.024834 | 0 | 0.660884 | 1 | 0 | 0.066001 | 0.021017 | 0 | 0 | 0 | 0 | 0 | 1 | 0.062426 | false | 0.001865 | 0.000311 | 0.026985 | 0.182802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7d78e0b16beba7f0e099fc59e44fd40b905e3f6a | 5,167 | py | Python | cartoframes/data/observatory/catalog/category.py | manmorjim/cartoframes | 4172e3dcdaedf207c10772a6dffe4f43b1993230 | [
"BSD-3-Clause"
] | null | null | null | cartoframes/data/observatory/catalog/category.py | manmorjim/cartoframes | 4172e3dcdaedf207c10772a6dffe4f43b1993230 | [
"BSD-3-Clause"
] | null | null | null | cartoframes/data/observatory/catalog/category.py | manmorjim/cartoframes | 4172e3dcdaedf207c10772a6dffe4f43b1993230 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
from .entity import CatalogEntity
from .repository.constants import CATEGORY_FILTER
from .repository.category_repo import get_category_repo
from .repository.dataset_repo import get_dataset_repo
from .repository.geography_repo import get_geography_repo
class Category(CatalogEnti... | 36.387324 | 114 | 0.638281 | 538 | 5,167 | 6.061338 | 0.174721 | 0.101196 | 0.175406 | 0.056424 | 0.74241 | 0.708065 | 0.696412 | 0.696412 | 0.615149 | 0.539405 | 0 | 0 | 0.279272 | 5,167 | 141 | 115 | 36.64539 | 0.875671 | 0.759048 | 0 | 0.176471 | 0 | 0 | 0.005806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.352941 | 0 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7d9210ea215860de3791d4981ad221bc175746b6 | 389 | py | Python | modules/config.py | Team-Fenris/tfcctrl | d7af8750fddb7d09f6ee3830d9703c5356b9ef13 | [
"Apache-2.0"
] | 1 | 2021-12-28T17:07:21.000Z | 2021-12-28T17:07:21.000Z | modules/config.py | Team-Fenris/tfcctrl | d7af8750fddb7d09f6ee3830d9703c5356b9ef13 | [
"Apache-2.0"
] | null | null | null | modules/config.py | Team-Fenris/tfcctrl | d7af8750fddb7d09f6ee3830d9703c5356b9ef13 | [
"Apache-2.0"
] | null | null | null | import config_with_yaml as config
class Config:
""" Base class for reading configuration parameters from config file. """
def __init__(self, filename='modules/config.yaml'):
""" Instance constructor
:param filename: configuration file (string)
"""
# Read config par... | 29.923077 | 78 | 0.652956 | 42 | 389 | 5.904762 | 0.595238 | 0.112903 | 0.16129 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262211 | 389 | 13 | 79 | 29.923077 | 0.864112 | 0.447301 | 0 | 0 | 0 | 0 | 0.109195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7dac02ec3e5a2396036df07537ffdf064857c8fd | 205 | py | Python | interface.py | mathsdada/mathsdada | dfffcc83bbf2cb68d95978ba6bec000d3ff9d3e7 | [
"MIT"
] | null | null | null | interface.py | mathsdada/mathsdada | dfffcc83bbf2cb68d95978ba6bec000d3ff9d3e7 | [
"MIT"
] | null | null | null | interface.py | mathsdada/mathsdada | dfffcc83bbf2cb68d95978ba6bec000d3ff9d3e7 | [
"MIT"
] | null | null | null | class Interface:
QUERY_SCHEDULE = "0"
QUERY_TEAM_STATS = "1"
# add new query type above this line
RESP_SCHEDULE = "0"
RESP_TEAM_STATS = "1"
# add new response type above this line
| 22.777778 | 43 | 0.658537 | 30 | 205 | 4.3 | 0.533333 | 0.139535 | 0.155039 | 0.20155 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.268293 | 205 | 8 | 44 | 25.625 | 0.833333 | 0.35122 | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7de0604a3f56691a131fd72b26ac8bdf8cb8c86c | 235 | py | Python | test_validity_log.py | yellcorp/floppy-recovery | 186dc0d6e2aca8baaa7431a28322c42f54975eee | [
"MIT"
] | 1 | 2019-03-19T21:22:54.000Z | 2019-03-19T21:22:54.000Z | test_validity_log.py | yellcorp/floppy-recovery | 186dc0d6e2aca8baaa7431a28322c42f54975eee | [
"MIT"
] | null | null | null | test_validity_log.py | yellcorp/floppy-recovery | 186dc0d6e2aca8baaa7431a28322c42f54975eee | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
import disklib.validity
if __name__ == '__main__':
for start, end in disklib.validity.read_validity_for_file(sys.argv[1]).itergood():
print("+ {0:#010x} {1:#010x}".format(start, end))
| 19.583333 | 86 | 0.676596 | 34 | 235 | 4.352941 | 0.705882 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050251 | 0.153191 | 235 | 11 | 87 | 21.363636 | 0.693467 | 0.089362 | 0 | 0 | 0 | 0 | 0.13615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7de4df0a366569422e06d273c3419e023b21d84b | 3,027 | py | Python | code4step3/feature_learner_model.py | yukeyi/MCDS-Capstone | f7ce48fc5d3f5f96c1f29556585ed2338683c7d2 | [
"MIT"
] | null | null | null | code4step3/feature_learner_model.py | yukeyi/MCDS-Capstone | f7ce48fc5d3f5f96c1f29556585ed2338683c7d2 | [
"MIT"
] | null | null | null | code4step3/feature_learner_model.py | yukeyi/MCDS-Capstone | f7ce48fc5d3f5f96c1f29556585ed2338683c7d2 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from model_util import conv_block_3d_feature_leaner
class featureLearner(nn.Module):
def __init__(self,channels):
super(featureLearner, self).__init__()
self.in_dim = 1
self.mid1_dim = channels[0]
self.mid2_dim = channels[1]
self.mid3_dim... | 32.548387 | 94 | 0.619095 | 447 | 3,027 | 3.914989 | 0.192394 | 0.037143 | 0.069143 | 0.113143 | 0.759429 | 0.706857 | 0.674857 | 0.674857 | 0.674857 | 0.641714 | 0 | 0.037711 | 0.255368 | 3,027 | 93 | 95 | 32.548387 | 0.738687 | 0.026429 | 0 | 0.56338 | 0 | 0 | 0.035314 | 0 | 0 | 0 | 0 | 0.010753 | 0 | 1 | 0.140845 | false | 0 | 0.042254 | 0 | 0.239437 | 0.028169 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7de82eb50efe277beead18abb86ea99d54c86514 | 2,330 | py | Python | nova/virt/baremetal/fake.py | bdelliott/nova | 3912d7aae21dfff5a42dd71bd45ef5c5f3b1a82b | [
"Apache-2.0"
] | null | null | null | nova/virt/baremetal/fake.py | bdelliott/nova | 3912d7aae21dfff5a42dd71bd45ef5c5f3b1a82b | [
"Apache-2.0"
] | null | null | null | nova/virt/baremetal/fake.py | bdelliott/nova | 3912d7aae21dfff5a42dd71bd45ef5c5f3b1a82b | [
"Apache-2.0"
] | null | null | null | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 NTT DOCOMO, INC.
# Copyright (c) 2011 University of Southern California / ISI
# 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 obta... | 27.411765 | 78 | 0.690558 | 283 | 2,330 | 5.522968 | 0.477032 | 0.035829 | 0.057582 | 0.088292 | 0.225208 | 0.204734 | 0.204734 | 0 | 0 | 0 | 0 | 0.008242 | 0.218884 | 2,330 | 84 | 79 | 27.738095 | 0.850549 | 0.33133 | 0 | 0.307692 | 0 | 0 | 0.03329 | 0.013708 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.25641 | 0.051282 | 0.025641 | 0.589744 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7ded6178420bfc86b4b8a07bf37cafdef9d746f6 | 240 | py | Python | ckplayerx/minify_rs.py | admin-ll55/html-m3u8-player | 3382a3ba5601f4aa3ffeea4328b3534e858bc87d | [
"Apache-2.0"
] | 4 | 2020-08-07T21:21:55.000Z | 2022-02-06T10:01:55.000Z | jwplayer/test/minify_rs.py | admin-ll55/hls | 3dac2b1e824c2fa131f763896dcc17183eeae87e | [
"Apache-2.0"
] | null | null | null | jwplayer/test/minify_rs.py | admin-ll55/hls | 3dac2b1e824c2fa131f763896dcc17183eeae87e | [
"Apache-2.0"
] | 5 | 2020-03-17T08:08:42.000Z | 2021-09-22T12:18:23.000Z | import re
import sys
if ".draft" not in sys.argv[1]:
sys.exit(1)
t = open(sys.argv[1], "rb").read().decode()
t = re.sub(r"(\n|\r)", "", t)
t = re.sub(r" +", " ", t)
open(sys.argv[1].replace(".draft", ""), "wb").write(t.encode())
| 26.666667 | 64 | 0.525 | 44 | 240 | 2.863636 | 0.5 | 0.166667 | 0.190476 | 0.190476 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.166667 | 240 | 8 | 65 | 30 | 0.61 | 0 | 0 | 0 | 0 | 0 | 0.116379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
815f7a155286f56a7443a50e248a6516aeb590ba | 178 | py | Python | cloudentries/fusioncompute/lifecycles/fc_rest_client/network/securitygroups.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/fusioncompute/lifecycles/fc_rest_client/network/securitygroups.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | null | null | null | cloudentries/fusioncompute/lifecycles/fc_rest_client/network/securitygroups.py | CloudChef/CloudEntries | a890e2eb96cc537db131e7ca8a0e6e1edc0b6ebd | [
"Apache-2.0"
] | 1 | 2021-03-26T05:45:00.000Z | 2021-03-26T05:45:00.000Z | # Copyright (c) 2021 Qianyun, Inc. All rights reserved.
from ..common import FusionComputeBase
class SecurityGroupClient(FusionComputeBase):
IDENTIFIER = 'securitygroups'
| 22.25 | 55 | 0.780899 | 17 | 178 | 8.176471 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.140449 | 178 | 7 | 56 | 25.428571 | 0.882353 | 0.297753 | 0 | 0 | 0 | 0 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
81708a13d9c08b9aff6c7bd2c487fc30c7266bbd | 142 | py | Python | tergus/utors/apps.py | adamiantorno/fluxapp | 2e1c1bd6bf94e5a06ded0248e59df412d5bf35e0 | [
"MIT"
] | null | null | null | tergus/utors/apps.py | adamiantorno/fluxapp | 2e1c1bd6bf94e5a06ded0248e59df412d5bf35e0 | [
"MIT"
] | null | null | null | tergus/utors/apps.py | adamiantorno/fluxapp | 2e1c1bd6bf94e5a06ded0248e59df412d5bf35e0 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class UtorsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'utors'
| 20.285714 | 56 | 0.753521 | 17 | 142 | 6.176471 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 142 | 6 | 57 | 23.666667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.239437 | 0.204225 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
81751b56c2d7d012a926463d09dec7a6db0fec4f | 698 | py | Python | solutions/problem_362.py | ksvr444/daily-coding-problem | 5d9f488f81c616847ee4e9e48974523ec2d598d7 | [
"MIT"
] | 1,921 | 2018-11-13T18:19:56.000Z | 2021-11-15T14:25:41.000Z | solutions/problem_362.py | MohitIndian/daily-coding-problem | 5d9f488f81c616847ee4e9e48974523ec2d598d7 | [
"MIT"
] | 2 | 2019-07-19T01:06:16.000Z | 2019-08-01T22:21:36.000Z | solutions/problem_362.py | MohitIndian/daily-coding-problem | 5d9f488f81c616847ee4e9e48974523ec2d598d7 | [
"MIT"
] | 1,066 | 2018-11-19T19:06:55.000Z | 2021-11-13T12:33:56.000Z | def get_strob_numbers(num_digits):
if not num_digits:
return [""]
elif num_digits == 1:
return ["0", "1", "8"]
smaller_strob_numbers = get_strob_numbers(num_digits - 2)
strob_numbers = list()
for x in smaller_strob_numbers:
strob_numbers.extend([
"1" + x + "1",
... | 27.92 | 73 | 0.489971 | 90 | 698 | 3.566667 | 0.455556 | 0.373832 | 0.233645 | 0.196262 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0.316619 | 698 | 24 | 74 | 29.083333 | 0.540881 | 0.007163 | 0 | 0 | 0 | 0 | 0.083936 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 1 | 0.052632 | false | 0 | 0 | 0 | 0.210526 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
817f632c7cf6ffce0677fdb9e018f3fcbff5f9c9 | 328 | py | Python | python-blackhat/chapter2/feature.py | yogithesymbian/bug-hunting-penetration-rgb-hat | e49b63f9a89fe429753ee55c5fdacea4276eefc7 | [
"Apache-2.0"
] | 7 | 2019-08-30T12:43:14.000Z | 2022-02-23T04:18:58.000Z | python-blackhat/chapter2/feature.py | yogithesymbian/bug-hunting-penetration-rgb-hat | e49b63f9a89fe429753ee55c5fdacea4276eefc7 | [
"Apache-2.0"
] | null | null | null | python-blackhat/chapter2/feature.py | yogithesymbian/bug-hunting-penetration-rgb-hat | e49b63f9a89fe429753ee55c5fdacea4276eefc7 | [
"Apache-2.0"
] | null | null | null | def sum(number_one, number_two):
number_one_int = convert_integer(number_one)
number_two_int = convert_integer(number_two)
result = number_one_int + number_two_int
return result
def convert_integer(number_string):
convert_integer = int(number_string)
return convert_integer
answer = sum("1... | 19.294118 | 48 | 0.743902 | 46 | 328 | 4.891304 | 0.304348 | 0.311111 | 0.266667 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.176829 | 328 | 16 | 49 | 20.5 | 0.825926 | 0 | 0 | 0 | 0 | 0 | 0.006098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81a16cd9c0efb966f0b8929b845fce0658c2f0c9 | 73 | py | Python | 10/00/4.py | pylangstudy/201710 | 139cad34d40f23beac85800633ec2ed63d530bfd | [
"CC0-1.0"
] | null | null | null | 10/00/4.py | pylangstudy/201710 | 139cad34d40f23beac85800633ec2ed63d530bfd | [
"CC0-1.0"
] | 25 | 2017-10-03T00:12:53.000Z | 2017-10-29T23:58:17.000Z | 10/00/4.py | pylangstudy/201710 | 139cad34d40f23beac85800633ec2ed63d530bfd | [
"CC0-1.0"
] | null | null | null | import os
from pathlib import *
p = PurePath('/etc')
print(os.fspath(p))
| 14.6 | 21 | 0.69863 | 12 | 73 | 4.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 4 | 22 | 18.25 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
81bac276adce9b115a15db423b74b0193af217bd | 168 | py | Python | Exam-Prep/Exam_22-Aug-20/project/appliances/stove.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | 1 | 2021-06-30T11:53:44.000Z | 2021-06-30T11:53:44.000Z | Exam-Prep/Exam_22-Aug-20/project/appliances/stove.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | Exam-Prep/Exam_22-Aug-20/project/appliances/stove.py | geodimitrov/PythonOOP_SoftUni | f1c6718c878b618b3ab3f174cd4d187bd178940b | [
"MIT"
] | null | null | null | from project.appliances.appliance import Appliance
class Stove(Appliance):
default_cost = 0.7
def __init__(self):
super().__init__(self.default_cost) | 21 | 50 | 0.72619 | 21 | 168 | 5.333333 | 0.714286 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.178571 | 168 | 8 | 51 | 21 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
81bdd11f433382a27f4bbd36dbd08e2172fe1e43 | 358 | py | Python | pytorch3d/renderer/points/__init__.py | hangg7/pytorcg3d | f7f363eeb8efeba0927f674c83ab927ad8ce3e32 | [
"BSD-3-Clause"
] | 1 | 2020-07-13T12:40:42.000Z | 2020-07-13T12:40:42.000Z | pytorch3d/renderer/points/__init__.py | hangg7/pytorch3d | f7f363eeb8efeba0927f674c83ab927ad8ce3e32 | [
"BSD-3-Clause"
] | null | null | null | pytorch3d/renderer/points/__init__.py | hangg7/pytorch3d | f7f363eeb8efeba0927f674c83ab927ad8ce3e32 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
from .compositor import AlphaCompositor, NormWeightedCompositor
from .rasterize_points import rasterize_points
from .rasterizer import PointsRasterizationSettings, PointsRasterizer
from .renderer import PointsRenderer
__all__ = [k for k in globa... | 35.8 | 71 | 0.810056 | 41 | 358 | 6.902439 | 0.731707 | 0.106007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117318 | 358 | 9 | 72 | 39.777778 | 0.89557 | 0.192737 | 0 | 0 | 0 | 0 | 0.003484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c48eac66f91c72bb93696ef0c0c08d8da0ea415e | 337 | py | Python | armstrong/apps/articles/tests/_utils.py | armstrong/armstrong.apps.articles | 6843156fba0fde2034b078478094509470a220c0 | [
"Apache-2.0"
] | null | null | null | armstrong/apps/articles/tests/_utils.py | armstrong/armstrong.apps.articles | 6843156fba0fde2034b078478094509470a220c0 | [
"Apache-2.0"
] | null | null | null | armstrong/apps/articles/tests/_utils.py | armstrong/armstrong.apps.articles | 6843156fba0fde2034b078478094509470a220c0 | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase as DjangoTestCase
from django.utils import unittest
from django.test.client import Client
import fudge
import random
from armstrong.dev.tests.utils import ArmstrongTestCase
from armstrong.hatband.tests._utils import HatbandTestMixin
class ArticlesTestCase(HatbandTestMixin, ArmstrongTes... | 30.636364 | 60 | 0.854599 | 41 | 337 | 7 | 0.512195 | 0.10453 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103858 | 337 | 10 | 61 | 33.7 | 0.950331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.777778 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
c4ba8f60745b2cfe35abe9ba7a58a6b31e10fe1e | 612 | py | Python | nautobot_device_lifecycle_mgmt/migrations/0009_software_remove_image_fields.py | jdrew82/nautobot-plugin-device-lifecycle-mgmt | 7ac9a479f7912b7c082f61cccc4b48e6aad16e46 | [
"Apache-2.0"
] | 21 | 2021-11-05T18:20:09.000Z | 2022-03-19T16:41:27.000Z | nautobot_device_lifecycle_mgmt/migrations/0009_software_remove_image_fields.py | jdrew82/nautobot-plugin-device-lifecycle-mgmt | 7ac9a479f7912b7c082f61cccc4b48e6aad16e46 | [
"Apache-2.0"
] | 34 | 2021-11-05T16:52:35.000Z | 2022-03-22T21:02:14.000Z | nautobot_device_lifecycle_mgmt/migrations/0009_software_remove_image_fields.py | jdrew82/nautobot-plugin-device-lifecycle-mgmt | 7ac9a479f7912b7c082f61cccc4b48e6aad16e46 | [
"Apache-2.0"
] | 8 | 2021-11-05T22:04:43.000Z | 2022-03-28T15:15:31.000Z | # Generated by Django 3.2.10 on 2022-02-18 15:20
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("nautobot_device_lifecycle_mgmt", "0008_software_image_data_migration"),
]
operations = [
migrations.RemoveField(
model_name="softwarelc... | 23.538462 | 81 | 0.598039 | 58 | 612 | 6.051724 | 0.62069 | 0.179487 | 0.222222 | 0.25641 | 0.435897 | 0.435897 | 0.307692 | 0.307692 | 0 | 0 | 0 | 0.046838 | 0.302288 | 612 | 25 | 82 | 24.48 | 0.775176 | 0.075163 | 0 | 0.473684 | 1 | 0 | 0.253546 | 0.113475 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c4bf3d5d08e13260c33f560059667dfd276862fc | 447 | py | Python | tests/test_pipeline.py | SmartDataAnalytics/LiteralKEEN | 55307a562d5a45f11da2d86c2b9b86937dae9449 | [
"MIT"
] | null | null | null | tests/test_pipeline.py | SmartDataAnalytics/LiteralKEEN | 55307a562d5a45f11da2d86c2b9b86937dae9449 | [
"MIT"
] | null | null | null | tests/test_pipeline.py | SmartDataAnalytics/LiteralKEEN | 55307a562d5a45f11da2d86c2b9b86937dae9449 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test pipeline."""
import unittest
from poem.pipeline import Pipeline
class PieplineTest(unittest.TestCase):
"""Class for testing utils for processing numeric literals"""
def test_run(self):
"""Test run function of pipeline."""
# input: configuration, output: exp... | 21.285714 | 65 | 0.659955 | 49 | 447 | 5.979592 | 0.653061 | 0.095563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002857 | 0.217002 | 447 | 20 | 66 | 22.35 | 0.834286 | 0.465324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c4d944791655a9eabf80d4d2461f452d7dd32550 | 101 | py | Python | zoo/datacenters/apps.py | uliana291/the-zoo | a15a4162c39553abe91224f4feff5d3b66f9413e | [
"MIT"
] | 90 | 2018-11-20T10:58:24.000Z | 2022-02-19T16:12:46.000Z | zoo/datacenters/apps.py | uliana291/the-zoo | a15a4162c39553abe91224f4feff5d3b66f9413e | [
"MIT"
] | 348 | 2018-11-21T09:22:31.000Z | 2021-11-03T13:45:08.000Z | zoo/datacenters/apps.py | aexvir/the-zoo | 7816afb9a0a26c6058b030b4a987c73e952d92bd | [
"MIT"
] | 11 | 2018-12-08T18:42:07.000Z | 2021-02-21T06:27:58.000Z | from django.apps import AppConfig
class DatacentersConfig(AppConfig):
name = "zoo.datacenters"
| 16.833333 | 35 | 0.772277 | 11 | 101 | 7.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 101 | 5 | 36 | 20.2 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f20092b491448ccce6d4c466ca23c5db7b17aa59 | 1,232 | py | Python | src/dispatch/application/service.py | jason-azze/dispatch | 56a9435d08b32429c6b44f83cb0f5aff5a8b6931 | [
"Apache-2.0"
] | 1 | 2020-07-21T20:07:27.000Z | 2020-07-21T20:07:27.000Z | src/dispatch/application/service.py | jason-azze/dispatch | 56a9435d08b32429c6b44f83cb0f5aff5a8b6931 | [
"Apache-2.0"
] | 2 | 2021-03-11T04:29:11.000Z | 2021-10-06T21:12:45.000Z | src/dispatch/application/service.py | jason-azze/dispatch | 56a9435d08b32429c6b44f83cb0f5aff5a8b6931 | [
"Apache-2.0"
] | null | null | null | from typing import Optional
from fastapi.encoders import jsonable_encoder
from .models import Application, ApplicationCreate, ApplicationUpdate
def get(*, db_session, app_id: int) -> Optional[Application]:
return db_session.query(Application).filter(Application.id == app_id).one_or_none()
def get_by_name(*, db... | 28.651163 | 87 | 0.727273 | 167 | 1,232 | 5.11976 | 0.263473 | 0.168421 | 0.05614 | 0.116959 | 0.442105 | 0.34152 | 0.34152 | 0.34152 | 0.34152 | 0.233918 | 0 | 0 | 0.159091 | 1,232 | 42 | 88 | 29.333333 | 0.82529 | 0 | 0 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.518519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f207f80dd54f382dfebd4ed7fdda43ea6ee0ce1e | 370 | py | Python | challenges/admin.py | randomowo/randomowo.ru | f00ddd1e6bfcd9cb30d2f164a4f2c0188e42f8f1 | [
"MIT"
] | null | null | null | challenges/admin.py | randomowo/randomowo.ru | f00ddd1e6bfcd9cb30d2f164a4f2c0188e42f8f1 | [
"MIT"
] | null | null | null | challenges/admin.py | randomowo/randomowo.ru | f00ddd1e6bfcd9cb30d2f164a4f2c0188e42f8f1 | [
"MIT"
] | null | null | null | """
"""
from django.contrib import admin
from challenges.models import Challenge
from challenges.models import FilmChallenge
class ChallengeAdmin(admin.ModelAdmin):
list_display = ["task"]
class FilmChallengeAdmin(admin.ModelAdmin):
list_display = ["film"]
admin.site.register(Challenge, ChallengeAdmin)
admin... | 24.666667 | 54 | 0.794595 | 39 | 370 | 7.487179 | 0.487179 | 0.09589 | 0.136986 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105405 | 370 | 14 | 55 | 26.428571 | 0.882175 | 0 | 0 | 0 | 0 | 0 | 0.022039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f2154fafe08e2ace8b8d45d7c6a199a2e1971afd | 85 | py | Python | docs/guide/code/WhatAge.py | deBubz/vpress-highschoolersguide | b80b2829f21a070c3fb02bba7102a5d0f5aebfa8 | [
"MIT"
] | null | null | null | docs/guide/code/WhatAge.py | deBubz/vpress-highschoolersguide | b80b2829f21a070c3fb02bba7102a5d0f5aebfa8 | [
"MIT"
] | 8 | 2021-03-01T20:36:00.000Z | 2022-02-26T13:57:07.000Z | docs/guide/code/WhatAge.py | deBubz/vuepress-highschoolersguide | b80b2829f21a070c3fb02bba7102a5d0f5aebfa8 | [
"MIT"
] | 1 | 2019-06-30T12:16:42.000Z | 2019-06-30T12:16:42.000Z | #!/usr/bin/env python
name = input("What's your name? ")
print("Hello thar " + name) | 21.25 | 34 | 0.647059 | 14 | 85 | 3.928571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 85 | 4 | 35 | 21.25 | 0.763889 | 0.235294 | 0 | 0 | 0 | 0 | 0.446154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
f2235f6f6842b62f7d80b34d10363252e8be4c2a | 1,137 | py | Python | log_api/tests/test_user.py | mpupo/oh-my-log | 36327bdcb5e2e7f36294a4893ea6b5327bedcb47 | [
"MIT"
] | null | null | null | log_api/tests/test_user.py | mpupo/oh-my-log | 36327bdcb5e2e7f36294a4893ea6b5327bedcb47 | [
"MIT"
] | 9 | 2020-07-09T01:24:52.000Z | 2020-07-14T03:18:57.000Z | log_api/tests/test_user.py | mpupo/oh-my-log | 36327bdcb5e2e7f36294a4893ea6b5327bedcb47 | [
"MIT"
] | null | null | null | import datetime
from django.test import TestCase
from django.urls import include, path, reverse
from rest_framework.test import APITestCase
from rest_framework.test import APIRequestFactory, URLPatternsTestCase
from rest_framework import status
from rest_framework.routers import DefaultRouter
from log_api.models import... | 32.485714 | 87 | 0.740545 | 143 | 1,137 | 5.741259 | 0.503497 | 0.038977 | 0.082826 | 0.051157 | 0.065773 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01367 | 0.163588 | 1,137 | 34 | 88 | 33.441176 | 0.849632 | 0.020229 | 0 | 0.12 | 0 | 0 | 0.047662 | 0 | 0 | 0 | 0 | 0 | 0.12 | 1 | 0.16 | false | 0.16 | 0.36 | 0 | 0.64 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
480d8bef78287af081570b0586ce3e8584e3462e | 1,866 | py | Python | otokon_form/form/views.py | bilbeyt/otokon-e_form | 3be5fc79b6bedc6cee81fc3b03cb86c9c19c2c12 | [
"MIT"
] | null | null | null | otokon_form/form/views.py | bilbeyt/otokon-e_form | 3be5fc79b6bedc6cee81fc3b03cb86c9c19c2c12 | [
"MIT"
] | null | null | null | otokon_form/form/views.py | bilbeyt/otokon-e_form | 3be5fc79b6bedc6cee81fc3b03cb86c9c19c2c12 | [
"MIT"
] | null | null | null | from django.shortcuts import render, render_to_response
from django.views.generic.edit import CreateView
from django.http import HttpResponseRedirect
from django.core.urlresolvers import reverse
from django.contrib import messages
from .models import Form
from .forms import FormCreateForm
from django.utils.translation ... | 33.927273 | 77 | 0.741158 | 219 | 1,866 | 6.228311 | 0.369863 | 0.080645 | 0.049853 | 0.033724 | 0.067449 | 0.067449 | 0.067449 | 0 | 0 | 0 | 0 | 0 | 0.161308 | 1,866 | 54 | 78 | 34.555556 | 0.871566 | 0 | 0 | 0.046512 | 0 | 0 | 0.092176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.116279 | false | 0.069767 | 0.302326 | 0.023256 | 0.651163 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
482f9c27d03a4a5a43d97a0bdecfc3d5be380e55 | 2,902 | py | Python | Admin_Users_Groups/models.py | apronotti/django-linux-users-control-panel | 799c2d7ffad74b298738ac6c394c8cf48e9f4018 | [
"BSD-3-Clause"
] | 4 | 2019-06-12T22:14:31.000Z | 2021-03-14T20:15:33.000Z | Admin_Users_Groups/models.py | apronotti/django-linux-users-control-panel | 799c2d7ffad74b298738ac6c394c8cf48e9f4018 | [
"BSD-3-Clause"
] | null | null | null | Admin_Users_Groups/models.py | apronotti/django-linux-users-control-panel | 799c2d7ffad74b298738ac6c394c8cf48e9f4018 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.utils.translation import gettext_lazy as _
from django.db import models
from .osprocess import osprocess
import sys
# Create your models here.
class User(models.Model):
name = models.CharField(max_length=128)
password = models.CharFi... | 32.606742 | 83 | 0.569607 | 312 | 2,902 | 5.205128 | 0.237179 | 0.123153 | 0.068966 | 0.059113 | 0.711207 | 0.711207 | 0.711207 | 0.614532 | 0.562808 | 0.562808 | 0 | 0.006423 | 0.30255 | 2,902 | 88 | 84 | 32.977273 | 0.795949 | 0.047898 | 0 | 0.625 | 0 | 0 | 0.063567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0.140625 | 0.078125 | 0.03125 | 0.421875 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
48308f1188b25a3364ddc581876fbf3cecf80476 | 7,365 | py | Python | q2_feature_table/tests/test_summarize.py | stevendbrown/q2-feature-table | 14ead90c8bf1a29cbbd8d35bf8c06329677e7642 | [
"BSD-3-Clause"
] | null | null | null | q2_feature_table/tests/test_summarize.py | stevendbrown/q2-feature-table | 14ead90c8bf1a29cbbd8d35bf8c06329677e7642 | [
"BSD-3-Clause"
] | null | null | null | q2_feature_table/tests/test_summarize.py | stevendbrown/q2-feature-table | 14ead90c8bf1a29cbbd8d35bf8c06329677e7642 | [
"BSD-3-Clause"
] | null | null | null | # ----------------------------------------------------------------------------
# Copyright (c) 2016-2018, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ------------------------------------------------... | 42.085714 | 78 | 0.544739 | 831 | 7,365 | 4.624549 | 0.167268 | 0.053084 | 0.035389 | 0.053084 | 0.748113 | 0.71949 | 0.701275 | 0.686183 | 0.653396 | 0.644288 | 0 | 0.028798 | 0.316361 | 7,365 | 174 | 79 | 42.327586 | 0.734459 | 0.083232 | 0 | 0.566929 | 0 | 0 | 0.074206 | 0.031167 | 0 | 0 | 0 | 0 | 0.204724 | 1 | 0.047244 | false | 0 | 0.07874 | 0 | 0.141732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
483b2459856971eed429dba5ed4fb477abd9463a | 4,007 | py | Python | src/core/pattern.py | thomasmf/nomenine | ead48185b150fdc07a5019499511f696c5326d45 | [
"MIT"
] | 1 | 2015-10-21T14:31:10.000Z | 2015-10-21T14:31:10.000Z | src/core/pattern.py | thomasmf/nomenine | ead48185b150fdc07a5019499511f696c5326d45 | [
"MIT"
] | null | null | null | src/core/pattern.py | thomasmf/nomenine | ead48185b150fdc07a5019499511f696c5326d45 | [
"MIT"
] | null | null | null |
class ARGA ( object ) :
def __init__( self ) :
pass
def __len__( self ) :
return 0
def build_primitive_dispatch( self ) :
return ''
class ARG( ARGA ) :
def __init__( self, *pattern ) :
self.pattern = pattern
CORE.register_pattern( self )
def __repr__( self ) :
return 'ARG[ ' ... | 31.304688 | 173 | 0.609683 | 460 | 4,007 | 4.958696 | 0.191304 | 0.074529 | 0.042964 | 0.042087 | 0.4121 | 0.348531 | 0.27751 | 0.247698 | 0.047348 | 0 | 0 | 0.000331 | 0.247068 | 4,007 | 127 | 174 | 31.551181 | 0.755718 | 0 | 0 | 0.270833 | 0 | 0 | 0.122408 | 0.028978 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.010417 | 0 | 0.21875 | 0.520833 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
484e2a485d1a81bff90d7582b8586db68a3b15e4 | 316 | py | Python | examples/switch/functions/sqrt/main.py | lzjzx1122/FaaSFlow | c4a32a04797770c21fe6a0dcacd85ac27a3d29ec | [
"Apache-2.0"
] | 24 | 2021-12-02T01:00:54.000Z | 2022-03-27T00:50:28.000Z | examples/switch/functions/sqrt/main.py | lzjzx1122/FaaSFlow | c4a32a04797770c21fe6a0dcacd85ac27a3d29ec | [
"Apache-2.0"
] | null | null | null | examples/switch/functions/sqrt/main.py | lzjzx1122/FaaSFlow | c4a32a04797770c21fe6a0dcacd85ac27a3d29ec | [
"Apache-2.0"
] | 3 | 2021-12-02T01:00:47.000Z | 2022-03-04T07:33:09.000Z | from Store import Store
import math
def main(function_name, request_id, runtime, input, output, to, keys):
store = Store(function_name, request_id, input, output, to, keys)
param = store.fetch(['x'])
x = int(param['x'])
res = {'sqrt_result': round(math.sqrt(x), 3)}
store.put(res, {})
| 31.6 | 71 | 0.632911 | 46 | 316 | 4.23913 | 0.543478 | 0.112821 | 0.194872 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004 | 0.208861 | 316 | 9 | 72 | 35.111111 | 0.776 | 0 | 0 | 0 | 0 | 0 | 0.042345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
486ef1ef23ac2c87e73a0a798bf66a0fcede26cf | 3,113 | py | Python | common/candle/__init__.py | rajeeja/Benchmarks | 4a9fcea5678388f225096988f6fd5c61cfb0441e | [
"MIT"
] | null | null | null | common/candle/__init__.py | rajeeja/Benchmarks | 4a9fcea5678388f225096988f6fd5c61cfb0441e | [
"MIT"
] | null | null | null | common/candle/__init__.py | rajeeja/Benchmarks | 4a9fcea5678388f225096988f6fd5c61cfb0441e | [
"MIT"
] | null | null | null | from __future__ import absolute_import
#__version__ = '0.0.0'
#import from data_utils
from data_utils import load_csv_data
from data_utils import load_Xy_one_hot_data2
from data_utils import load_Xy_data_noheader
from data_utils import drop_impute_and_scale_dataframe
from data_utils import discretize_dataframe
from d... | 33.836957 | 73 | 0.84645 | 449 | 3,113 | 5.518931 | 0.269488 | 0.253027 | 0.084746 | 0.112994 | 0.414044 | 0.17837 | 0.070218 | 0.032284 | 0 | 0 | 0 | 0.002618 | 0.141022 | 3,113 | 91 | 74 | 34.208791 | 0.924084 | 0.086412 | 0 | 0 | 0 | 0 | 0.037443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.938462 | 0 | 0.938462 | 0.030769 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6f8456cec01e6e7ed72b3c7f4940084a2350f6e7 | 26,257 | py | Python | resolwe/flow/executors/docker/seccomp.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 27 | 2015-12-07T18:29:12.000Z | 2022-03-16T08:01:47.000Z | resolwe/flow/executors/docker/seccomp.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 681 | 2015-12-01T11:52:24.000Z | 2022-03-21T07:43:37.000Z | resolwe/flow/executors/docker/seccomp.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 28 | 2015-12-01T08:32:57.000Z | 2021-12-14T00:04:16.000Z | """SECCOMP policy.
This policy is based on the default Docker SECCOMP policy profile. It
allows several syscalls, which are most commonly used. We make one major
change regarding the network-related ``socket`` syscall in that we only
allow AF_INET/AF_INET6 SOCK_DGRAM/SOCK_STREAM sockets for TCP and UDP
protocols.
"""
... | 57.455142 | 88 | 0.485966 | 2,590 | 26,257 | 4.624324 | 0.158687 | 0.184687 | 0.341905 | 0.473407 | 0.785923 | 0.782667 | 0.295066 | 0.108207 | 0.076062 | 0.068214 | 0 | 0.008926 | 0.257608 | 26,257 | 456 | 89 | 57.58114 | 0.605499 | 0.023994 | 0 | 0.184685 | 0 | 0 | 0.474457 | 0.002539 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6f9c5d036f3e92db498ad6c3517296e57ffe884d | 380 | py | Python | ctaplot/io/tests/test_dataset.py | vuillaut/CTAPLOT | 3a7757f6e2487806ca87e41fcd123ccfbd4b964c | [
"MIT"
] | 5 | 2018-07-03T16:13:29.000Z | 2021-02-22T13:59:57.000Z | ctaplot/io/tests/test_dataset.py | vuillaut/CTAPLOT | 3a7757f6e2487806ca87e41fcd123ccfbd4b964c | [
"MIT"
] | 39 | 2020-03-10T16:52:45.000Z | 2022-01-26T14:13:40.000Z | ctaplot/io/tests/test_dataset.py | vuillaut/CTAPLOT | 3a7757f6e2487806ca87e41fcd123ccfbd4b964c | [
"MIT"
] | 6 | 2019-11-22T10:01:23.000Z | 2021-09-20T12:32:34.000Z | from ctaplot.io.dataset import get, resources_list, load_any_resource
def test_get_datasets():
for file in resources_list:
assert get(file)
def test_resources_list():
for filename in resources_list:
get(filename)
def test_load_any_resource():
for filename in resources_list:
dat... | 22.352941 | 69 | 0.713158 | 53 | 380 | 4.830189 | 0.415094 | 0.253906 | 0.175781 | 0.171875 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003367 | 0.218421 | 380 | 17 | 70 | 22.352941 | 0.858586 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.272727 | false | 0 | 0.090909 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6fa0b417b9101cda6c7fe147762ffcb60aab6da0 | 306 | py | Python | qvapay/models/owner.py | codeshard/qvapay-python | 6483345e8b1236aacd9252743634e5f12ab3187b | [
"MIT"
] | 1 | 2021-08-29T01:09:08.000Z | 2021-08-29T01:09:08.000Z | qvapay/models/owner.py | codeshard/qvapay-python | 6483345e8b1236aacd9252743634e5f12ab3187b | [
"MIT"
] | null | null | null | qvapay/models/owner.py | codeshard/qvapay-python | 6483345e8b1236aacd9252743634e5f12ab3187b | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from uuid import UUID
from dataclasses_json import config, dataclass_json
@dataclass_json
@dataclass
class Owner:
id: UUID = field(metadata=config(field_name="uuid"))
username: str
name: str
lastname: str
logo: str
kyc: bool
bio: str
| 18 | 56 | 0.718954 | 41 | 306 | 5.268293 | 0.487805 | 0.138889 | 0.203704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212418 | 306 | 16 | 57 | 19.125 | 0.896266 | 0 | 0 | 0 | 0 | 0 | 0.013072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.230769 | 0 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6fa98e7373a214a4dc1e32a4d55e9cf483cc0cea | 2,166 | py | Python | backend/tests/usecases/test_control_operation_log.py | crosspower/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 17 | 2019-01-23T04:37:43.000Z | 2019-10-15T01:42:31.000Z | backend/tests/usecases/test_control_operation_log.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 1 | 2019-01-23T08:04:44.000Z | 2019-01-23T08:44:33.000Z | backend/tests/usecases/test_control_operation_log.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 6 | 2019-01-23T09:10:59.000Z | 2020-12-02T04:15:41.000Z | from django.core.exceptions import PermissionDenied
from django.test import TestCase
from unittest.mock import Mock, patch
from backend.usecases.control_operation_log import ControlOperationLog
class ControlOperationLogTestCase(TestCase):
# 正常系
@patch('backend.usecases.control_operation_log.Operatio... | 41.653846 | 87 | 0.738689 | 266 | 2,166 | 5.578947 | 0.18797 | 0.080863 | 0.075472 | 0.083558 | 0.774933 | 0.752022 | 0.728437 | 0.671833 | 0.652965 | 0.604447 | 0 | 0 | 0.187904 | 2,166 | 51 | 88 | 42.470588 | 0.843661 | 0.017082 | 0 | 0.567568 | 0 | 0 | 0.081003 | 0.081003 | 0 | 0 | 0 | 0 | 0.324324 | 1 | 0.081081 | false | 0 | 0.108108 | 0 | 0.216216 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6fb27850b7dceaa78f5b5d096d64c9b71d132e79 | 1,343 | py | Python | disjoint_set_test.py | HidetoshiIkeno/RootReconstruct | 55a5397d34e5bbb44cb6a87d7e78a3d9614177a1 | [
"MIT"
] | null | null | null | disjoint_set_test.py | HidetoshiIkeno/RootReconstruct | 55a5397d34e5bbb44cb6a87d7e78a3d9614177a1 | [
"MIT"
] | null | null | null | disjoint_set_test.py | HidetoshiIkeno/RootReconstruct | 55a5397d34e5bbb44cb6a87d7e78a3d9614177a1 | [
"MIT"
] | 1 | 2018-09-20T08:58:20.000Z | 2018-09-20T08:58:20.000Z | # coding: utf-8
from __future__ import division, print_function, unicode_literals
import unittest
from disjoint_set import DisjointSet
class TestDisjointSet(unittest.TestCase):
def test_no_merge(self):
s = DisjointSet(3)
self.assertEqual(s._parent, [-1, -1, -1])
self.assertEqual(s._root(0)... | 31.97619 | 65 | 0.59866 | 197 | 1,343 | 3.969543 | 0.192893 | 0.095908 | 0.204604 | 0.255754 | 0.676471 | 0.57289 | 0.350384 | 0.283887 | 0.248082 | 0.248082 | 0 | 0.055064 | 0.24274 | 1,343 | 41 | 66 | 32.756098 | 0.713864 | 0.00968 | 0 | 0.333333 | 0 | 0 | 0.006024 | 0 | 0 | 0 | 0 | 0 | 0.694444 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.166667 | 0.027778 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6fd4998c908a3e01ff987709d14a4a58108c1a13 | 124 | py | Python | example_site/settings/production.py | ephes/django-cast | 34b6aab98f7e9a750116ec2949e9cda4f2dcb127 | [
"BSD-3-Clause"
] | 11 | 2018-12-23T15:58:35.000Z | 2021-10-04T12:14:46.000Z | example_site/settings/production.py | ephes/django-cast | 34b6aab98f7e9a750116ec2949e9cda4f2dcb127 | [
"BSD-3-Clause"
] | 9 | 2018-11-18T12:12:29.000Z | 2022-02-27T09:51:36.000Z | example_site/settings/production.py | ephes/django-cast | 34b6aab98f7e9a750116ec2949e9cda4f2dcb127 | [
"BSD-3-Clause"
] | 12 | 2018-11-17T15:13:09.000Z | 2020-05-02T00:10:07.000Z | from .base import *
DEBUG = False
try:
from .local import *
except ImportError:
pass
ADMIN_URL = "hidden_admin/" | 11.272727 | 27 | 0.677419 | 16 | 124 | 5.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233871 | 124 | 11 | 27 | 11.272727 | 0.863158 | 0 | 0 | 0 | 0 | 0 | 0.104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
6fdfb0565715e052f26209a8e3ff348c9d26fdd5 | 276 | py | Python | tests/test_plugin_yaml.py | mikegribov/filedjson | ee9f8408edcf8a72b8ed415237789a602ee6b579 | [
"MIT"
] | null | null | null | tests/test_plugin_yaml.py | mikegribov/filedjson | ee9f8408edcf8a72b8ed415237789a602ee6b579 | [
"MIT"
] | null | null | null | tests/test_plugin_yaml.py | mikegribov/filedjson | ee9f8408edcf8a72b8ed415237789a602ee6b579 | [
"MIT"
] | null | null | null | import os
from ..xjson import XJson
def test_json_eq_xjson():
json = XJson(os.path.join("examples", "countries", "single_file.json"))
yaml_file = XJson(os.path.join("examples","countries", "single_file.yaml"))
assert json.structure == yaml_file.structure | 34.5 | 81 | 0.699275 | 38 | 276 | 4.894737 | 0.447368 | 0.075269 | 0.11828 | 0.16129 | 0.451613 | 0.451613 | 0.451613 | 0.451613 | 0 | 0 | 0 | 0 | 0.152174 | 276 | 8 | 82 | 34.5 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6fe5879d9f9b5c24cc69352e6ff3174a8de69f4b | 22 | py | Python | model/__init__.py | JulianStier/elman-srl | 1b28552e20e5f5d0428423bd1e290c51a7a6f5e9 | [
"MIT"
] | null | null | null | model/__init__.py | JulianStier/elman-srl | 1b28552e20e5f5d0428423bd1e290c51a7a6f5e9 | [
"MIT"
] | 1 | 2018-09-27T12:07:19.000Z | 2018-10-08T15:56:30.000Z | model/__init__.py | JulianStier/elman-srl | 1b28552e20e5f5d0428423bd1e290c51a7a6f5e9 | [
"MIT"
] | 1 | 2019-02-15T03:13:56.000Z | 2019-02-15T03:13:56.000Z | __author__ = 'julian'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d2173a8238aee1c984ed31678afc9e3db8d4e54a | 272 | py | Python | plynx/demo/__init__.py | khaxis/plynx | 20768470261fc5f29cb660c815c479b49765b2fe | [
"Apache-2.0"
] | 137 | 2018-11-14T07:13:33.000Z | 2020-02-03T12:32:35.000Z | plynx/demo/__init__.py | khaxis/plynx | 20768470261fc5f29cb660c815c479b49765b2fe | [
"Apache-2.0"
] | 10 | 2019-01-11T21:51:14.000Z | 2020-01-30T01:29:22.000Z | plynx/demo/__init__.py | khaxis/plynx | 20768470261fc5f29cb660c815c479b49765b2fe | [
"Apache-2.0"
] | 11 | 2018-11-14T15:05:54.000Z | 2019-09-09T15:45:49.000Z | """Basic Operations for the demo."""
from plynx.demo.basic_functions import GROUP as basic_group
from plynx.demo.hello_world import GROUP as hello_group
from plynx.demo.types import GROUP as types_group
COLLECTION = [
hello_group,
types_group,
basic_group,
]
| 24.727273 | 59 | 0.772059 | 41 | 272 | 4.926829 | 0.365854 | 0.133663 | 0.193069 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158088 | 272 | 10 | 60 | 27.2 | 0.882096 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d223b95abf04df2333605593ba54c5f90f4cd08a | 22 | py | Python | apps/__init__.py | amyhoo/django-oscar-alipay | eacad65416428c6e09974219487a206577d34312 | [
"BSD-3-Clause"
] | 59 | 2015-08-29T10:51:34.000Z | 2021-11-03T10:00:25.000Z | apps/__init__.py | amyhoo/django-oscar-alipay | eacad65416428c6e09974219487a206577d34312 | [
"BSD-3-Clause"
] | 4 | 2015-09-02T08:55:42.000Z | 2017-05-15T10:33:00.000Z | apps/__init__.py | amyhoo/django-oscar-alipay | eacad65416428c6e09974219487a206577d34312 | [
"BSD-3-Clause"
] | 22 | 2015-08-10T10:46:18.000Z | 2020-04-04T07:11:55.000Z | __author__ = 'yamhoo'
| 11 | 21 | 0.727273 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d23a34903bf2b101263a256b55f5398680e1320d | 839 | py | Python | mutant/compat.py | pombredanne/django-mutant | bb7ae91c0ceb77e1a4b98e8ba8892548f5d8c0f2 | [
"MIT"
] | 152 | 2015-02-08T05:34:06.000Z | 2022-03-10T01:06:27.000Z | mutant/compat.py | pombredanne/django-mutant | bb7ae91c0ceb77e1a4b98e8ba8892548f5d8c0f2 | [
"MIT"
] | 35 | 2015-01-03T17:21:38.000Z | 2021-09-30T21:09:21.000Z | mutant/compat.py | pombredanne/django-mutant | bb7ae91c0ceb77e1a4b98e8ba8892548f5d8c0f2 | [
"MIT"
] | 31 | 2015-04-25T14:49:07.000Z | 2021-12-28T17:53:47.000Z | from __future__ import unicode_literals
from operator import attrgetter
import django
get_remote_field = attrgetter('remote_field' if django.VERSION >= (1, 9) else 'rel')
if django.VERSION >= (1, 9):
def get_remote_field_model(field):
model = getattr(field, 'model', None)
if model:
r... | 27.064516 | 84 | 0.665077 | 114 | 839 | 4.649123 | 0.315789 | 0.103774 | 0.079245 | 0.060377 | 0.381132 | 0.316981 | 0.120755 | 0.120755 | 0 | 0 | 0 | 0.012365 | 0.228844 | 839 | 30 | 85 | 27.966667 | 0.806801 | 0 | 0 | 0.363636 | 0 | 0 | 0.035757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.136364 | 0.136364 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d244cff2599c54c709b71d5c0bdf1a6d47c8eabc | 446 | py | Python | constants.py | ilhamr0f11/OCR-IR-Bot | 17125b87c69c70a06a99735384b96f9a2a1655cf | [
"MIT"
] | 1 | 2021-12-22T05:51:52.000Z | 2021-12-22T05:51:52.000Z | constants.py | ilhamr0f11/OCR-IR-Bot | 17125b87c69c70a06a99735384b96f9a2a1655cf | [
"MIT"
] | null | null | null | constants.py | ilhamr0f11/OCR-IR-Bot | 17125b87c69c70a06a99735384b96f9a2a1655cf | [
"MIT"
] | null | null | null | welcome_text = 'Hi!\nWelcome to Optical Character Recognizer Bot.\nJust send a clear image to me and I will recognize the text in the image and send it as a message!\n\nChannel:@IrBotsUpdate'
reply_to_text_message = 'Hey, I\'m not designed to reply to text messages 😕\nHit /start and read the instructions!'
no_text_fou... | 111.5 | 191 | 0.753363 | 88 | 446 | 3.795455 | 0.659091 | 0.035928 | 0.065868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165919 | 446 | 3 | 192 | 148.666667 | 0.887097 | 0 | 0 | 0 | 0 | 0.333333 | 0.59417 | 0.073991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d24e11aaeb5e8f987b29c79dfc929b4860eb72c3 | 228 | py | Python | backend/user/permissions.py | open-home-iot/hint | b674f83ee61d7cc653acec15b92b98618f8e23b5 | [
"MIT"
] | null | null | null | backend/user/permissions.py | open-home-iot/hint | b674f83ee61d7cc653acec15b92b98618f8e23b5 | [
"MIT"
] | 3 | 2020-12-28T23:31:47.000Z | 2021-04-18T09:30:43.000Z | backend/user/permissions.py | megacorpincorporated/hint | 136700c743a647cc9bf35548a7baeaac238e3b1f | [
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission
class IsHume(BasePermission):
"""Permission check to ensure that a user is a HUME."""
def has_permission(self, request, view):
return request.user.is_hume
| 25.333333 | 59 | 0.741228 | 30 | 228 | 5.533333 | 0.766667 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179825 | 228 | 8 | 60 | 28.5 | 0.887701 | 0.214912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
d24f1d223cb1ea94a0944d158e1e05d2037ea1e1 | 114 | py | Python | dblog/apps.py | grantjenks/django-dblog | c064b8018b4221ee7d6260cf6430b7cfa8dccee8 | [
"Apache-2.0"
] | 2 | 2019-01-16T10:31:30.000Z | 2019-06-20T03:02:28.000Z | dblog/apps.py | grantjenks/django-dblog | c064b8018b4221ee7d6260cf6430b7cfa8dccee8 | [
"Apache-2.0"
] | 3 | 2019-01-29T06:37:36.000Z | 2019-01-29T06:43:50.000Z | dblog/apps.py | grantjenks/django-dblog | c064b8018b4221ee7d6260cf6430b7cfa8dccee8 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class DBLogConfig(AppConfig):
name = 'dblog'
verbose_name = 'Logging'
| 16.285714 | 33 | 0.719298 | 13 | 114 | 6.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192982 | 114 | 6 | 34 | 19 | 0.880435 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d2506e73fe3935e7c4b33548e5c4dd2ecbf67339 | 3,285 | py | Python | fabfile.py | mc706/django-mc-commands | 2f9cf97c77087c6287a43c31df74567a07b32782 | [
"MIT"
] | null | null | null | fabfile.py | mc706/django-mc-commands | 2f9cf97c77087c6287a43c31df74567a07b32782 | [
"MIT"
] | 1 | 2020-05-30T08:35:43.000Z | 2020-05-30T08:35:43.000Z | fabfile.py | mc706/django-mc-commands | 2f9cf97c77087c6287a43c31df74567a07b32782 | [
"MIT"
] | null | null | null | from fabric.api import local, settings
def bump_patch():
with open('angular_scaffold/_version.py', 'r') as f:
original = f.read()
version = original.split('=')[1].strip('\" \n\'')
major, minor, patch = version.split('.')
patch = int(patch) + 1
with open('angular_scaffold/_versi... | 30.416667 | 94 | 0.585693 | 428 | 3,285 | 4.364486 | 0.189252 | 0.014989 | 0.105996 | 0.115632 | 0.737687 | 0.723769 | 0.710921 | 0.678801 | 0.678801 | 0.678801 | 0 | 0.004034 | 0.245358 | 3,285 | 107 | 95 | 30.700935 | 0.749496 | 0 | 0 | 0.609195 | 0 | 0 | 0.317504 | 0.091933 | 0 | 0 | 0 | 0 | 0 | 1 | 0.114943 | false | 0.034483 | 0.011494 | 0 | 0.126437 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d263b4a1ac96806ce32bc7f71f48e84d7d3ffe5b | 306 | py | Python | concepts.py | disooqi/learn-with-corey-schafer | d76b4e30190ed4d514455ddbb07cae96e6ed4d2e | [
"MIT"
] | 2 | 2018-03-06T22:27:11.000Z | 2020-10-04T06:14:27.000Z | concepts.py | disooqi/learn-with-corey-schafer | d76b4e30190ed4d514455ddbb07cae96e6ed4d2e | [
"MIT"
] | null | null | null | concepts.py | disooqi/learn-with-corey-schafer | d76b4e30190ed4d514455ddbb07cae96e6ed4d2e | [
"MIT"
] | 1 | 2018-03-06T22:27:14.000Z | 2018-03-06T22:27:14.000Z | # Idenpotant
# Closure
def outer_function(tag):
pass
def add(x, y):
return x + y
def deco(orig_func):
def wrapper(*args, **kwargs):
print("That is to know that I ran the deco func")
return orig_func(*args, **kwargs)
return wrapper
add = deco(add)
print(add(3, 5))
| 12.75 | 57 | 0.611111 | 47 | 306 | 3.914894 | 0.574468 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008889 | 0.264706 | 306 | 23 | 58 | 13.304348 | 0.808889 | 0.058824 | 0 | 0 | 0 | 0 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0 | 0.090909 | 0.636364 | 0.181818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
d2791006a6b23284ae885b95f8f5fe5ae162b1d6 | 73 | py | Python | speech.py | soms98/Deep-Learning-based-Navigation-Aid | 43c7e1d91ac2bf8b3aa56c23ca30cfe91004be93 | [
"MIT"
] | 2 | 2020-06-21T14:59:57.000Z | 2021-05-18T07:22:15.000Z | speech.py | soms98/Deep-Learning-based-Navigation-Aid | 43c7e1d91ac2bf8b3aa56c23ca30cfe91004be93 | [
"MIT"
] | null | null | null | speech.py | soms98/Deep-Learning-based-Navigation-Aid | 43c7e1d91ac2bf8b3aa56c23ca30cfe91004be93 | [
"MIT"
] | null | null | null | def speak(msg):
os.system('espeak "{}" --stdout | aplay'.format(msg)) | 36.5 | 57 | 0.616438 | 10 | 73 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 57 | 36.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
962b2443a77961cbea5ee6e58a36448a7b9414d1 | 50 | py | Python | Z_ALL_FILE/Py/TS._1252020-1757.py | omikabir/omEngin | b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195 | [
"Apache-2.0"
] | null | null | null | Z_ALL_FILE/Py/TS._1252020-1757.py | omikabir/omEngin | b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195 | [
"Apache-2.0"
] | null | null | null | Z_ALL_FILE/Py/TS._1252020-1757.py | omikabir/omEngin | b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195 | [
"Apache-2.0"
] | 1 | 2021-04-29T21:46:02.000Z | 2021-04-29T21:46:02.000Z | from omsql.omsql import *
HELP()
x = mysql_dell() | 12.5 | 25 | 0.7 | 8 | 50 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 4 | 26 | 12.5 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9639ac760ea99f626115ff03ad2a8d05d1c3c704 | 92 | py | Python | blog_site/apps.py | MuhammadSalahAli/Vengeance-Blog | 4cba853ba791424c244c9c01b14e5fbd4bbed92d | [
"MIT"
] | 2 | 2021-01-18T11:58:18.000Z | 2021-01-22T12:31:40.000Z | blog_site/apps.py | MuhammadSalahAli/Vengeance-Blog | 4cba853ba791424c244c9c01b14e5fbd4bbed92d | [
"MIT"
] | 3 | 2021-09-08T03:31:05.000Z | 2022-03-12T00:59:41.000Z | blog_site/apps.py | MuhammadSalahAli/Vengeance-Blog | 4cba853ba791424c244c9c01b14e5fbd4bbed92d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BlogSiteConfig(AppConfig):
name = 'blog_site'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
96575461850da47b3b11fa0d0d07baa66e7a4b79 | 801 | py | Python | build.py | pigaov10/tree_manager | c85aa03d59536ebe6b8fac0407fd285094df3a65 | [
"Apache-2.0"
] | null | null | null | build.py | pigaov10/tree_manager | c85aa03d59536ebe6b8fac0407fd285094df3a65 | [
"Apache-2.0"
] | null | null | null | build.py | pigaov10/tree_manager | c85aa03d59536ebe6b8fac0407fd285094df3a65 | [
"Apache-2.0"
] | null | null | null | import os
from flask import Flask
from flask_migrate import Migrate
from flask_sqlalchemy import SQLAlchemy
from models.tree import configure as config_db_tree
from models.specie import configure as config_db_specie
from models.group import configure as config_db_group
from models.harvest import configure as con... | 30.807692 | 64 | 0.745318 | 114 | 801 | 4.947368 | 0.324561 | 0.113475 | 0.120567 | 0.163121 | 0.177305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181024 | 801 | 26 | 65 | 30.807692 | 0.859756 | 0.081149 | 0 | 0 | 0 | 0 | 0.129944 | 0.074859 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.5 | 0 | 0.611111 | 0.055556 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
965fccbddb24b7c014c63e8a2e270bd284c2b310 | 2,107 | py | Python | dolor/util/attr_dict.py | friedkeenan/dolor | 3e099ece2271ea920d0c9c61f91cf8fa89bb5639 | [
"0BSD"
] | 2 | 2020-12-16T11:53:11.000Z | 2020-12-17T10:17:47.000Z | dolor/util/attr_dict.py | friedkeenan/dolor | 3e099ece2271ea920d0c9c61f91cf8fa89bb5639 | [
"0BSD"
] | null | null | null | dolor/util/attr_dict.py | friedkeenan/dolor | 3e099ece2271ea920d0c9c61f91cf8fa89bb5639 | [
"0BSD"
] | null | null | null | """Contains :class:`~.AttrDict`"""
import collections
class AttrDict(collections.abc.MutableMapping):
"""A wrapper around :class:`dict` that also lets you access keys as attributes.
Parameters
----------
name_or_elems : :class:`str` or :class:`dict`, optional
If a :class:`str`, then it will g... | 23.674157 | 83 | 0.580921 | 245 | 2,107 | 4.636735 | 0.346939 | 0.087148 | 0.038732 | 0.007042 | 0.007042 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002023 | 0.296156 | 2,107 | 88 | 84 | 23.943182 | 0.763992 | 0.340769 | 0 | 0.105263 | 0 | 0 | 0.037471 | 0.028103 | 0 | 0 | 0 | 0 | 0 | 1 | 0.289474 | false | 0 | 0.026316 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
96660a257f9a494282f8d47da3399d791a4abed9 | 3,280 | py | Python | smsvk/services.py | Spec122/SmsVk-Wrapper | 24c62d336c40e705826a232208fe28af8845cdaa | [
"MIT"
] | 2 | 2020-06-25T08:12:42.000Z | 2021-06-22T21:11:35.000Z | smsvk/services.py | Spec122/SmsVk-Wrapper | 24c62d336c40e705826a232208fe28af8845cdaa | [
"MIT"
] | null | null | null | smsvk/services.py | Spec122/SmsVk-Wrapper | 24c62d336c40e705826a232208fe28af8845cdaa | [
"MIT"
] | null | null | null | class ServiceModel:
@property
def short_name(self):
return self.__service_short_name
@property
def count(self):
return self.__count_slot
@count.setter
def count(self, value):
self.__count_slot = int(value)
def object_factory(name, base_class, argnames):
... | 22.312925 | 101 | 0.495427 | 284 | 3,280 | 5.454225 | 0.239437 | 0.103292 | 0.126533 | 0.23499 | 0.358941 | 0.325371 | 0 | 0 | 0 | 0 | 0 | 0.000498 | 0.387195 | 3,280 | 146 | 102 | 22.465753 | 0.770149 | 0.114939 | 0 | 0.123457 | 0 | 0 | 0.080526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.246914 | false | 0 | 0 | 0.024691 | 0.506173 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
966f18a9a5acd1033627b603821522b576b82b04 | 120 | py | Python | control/test.py | Rexyyj/SMART-MUSEUM-MANAGEMENT-SYSTEM | 314cbe599323a26ee2ef9573e91c5e04af40a3e7 | [
"Apache-2.0"
] | null | null | null | control/test.py | Rexyyj/SMART-MUSEUM-MANAGEMENT-SYSTEM | 314cbe599323a26ee2ef9573e91c5e04af40a3e7 | [
"Apache-2.0"
] | null | null | null | control/test.py | Rexyyj/SMART-MUSEUM-MANAGEMENT-SYSTEM | 314cbe599323a26ee2ef9573e91c5e04af40a3e7 | [
"Apache-2.0"
] | 1 | 2021-03-10T12:17:16.000Z | 2021-03-10T12:17:16.000Z | import datetime
print(datetime.datetime.now().hour)
import time
timestamp = time.strftime('%H')
print(int(timestamp)) | 20 | 35 | 0.758333 | 16 | 120 | 5.6875 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 120 | 6 | 36 | 20 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9672ca258a688b86b4b46a0854e9959cf4e87587 | 170 | py | Python | hack-at-brown-2015/bigboard.py | hackatbrown/2015.hackatbrown.org | 6e6e10b010421228deb562909a1c8bb4272b759f | [
"MIT"
] | 24 | 2015-11-12T06:33:24.000Z | 2019-04-16T11:11:13.000Z | hack-at-brown-2015/bigboard.py | hackatbrown/2015.hackatbrown.org | 6e6e10b010421228deb562909a1c8bb4272b759f | [
"MIT"
] | 3 | 2015-11-12T22:16:22.000Z | 2021-08-09T07:00:27.000Z | hack-at-brown-2015/bigboard.py | hackatbrown/2015.hackatbrown.org | 6e6e10b010421228deb562909a1c8bb4272b759f | [
"MIT"
] | 7 | 2015-11-12T20:09:56.000Z | 2020-12-16T17:59:02.000Z | import webapp2
from template import template
class Handler(webapp2.RequestHandler):
def get(self):
param = {}
self.response.write(template("bigboard.html", params)) | 24.285714 | 56 | 0.764706 | 21 | 170 | 6.190476 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.117647 | 170 | 7 | 56 | 24.285714 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0.076023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
96855be9745befae4c157958b6c0ce334a1cbb1c | 1,324 | py | Python | app/tests.py | cqw1/palliassist_webportal | 649b2bfc1618c11cdbcd858eb7eea46f1ec09eea | [
"MIT"
] | null | null | null | app/tests.py | cqw1/palliassist_webportal | 649b2bfc1618c11cdbcd858eb7eea46f1ec09eea | [
"MIT"
] | null | null | null | app/tests.py | cqw1/palliassist_webportal | 649b2bfc1618c11cdbcd858eb7eea46f1ec09eea | [
"MIT"
] | null | null | null | """
This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".
"""
import django
from django.test import TestCase
from redcap import Project, RedcapError
# TODO: Configure your database in settings.py and sync before running tests.
class ViewTest(TestCase):
"""... | 30.090909 | 79 | 0.651813 | 155 | 1,324 | 5.516129 | 0.529032 | 0.024561 | 0.02807 | 0.051462 | 0.05848 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029762 | 0.238671 | 1,324 | 43 | 80 | 30.790698 | 0.818452 | 0.107251 | 0 | 0 | 0 | 0 | 0.172826 | 0.06087 | 0 | 0 | 0 | 0.023256 | 0.130435 | 0 | null | null | 0.130435 | 0.130435 | null | null | 0.130435 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
96acda4a4c00d20a9439cbdbf2362962c18cc827 | 393 | py | Python | gmalthgtparser/test/tools.py | gmalt/hgtparser | c26f5860141827d4c7c41fbe2077d851a7114c10 | [
"MIT"
] | 14 | 2018-08-30T13:40:28.000Z | 2022-03-28T18:17:32.000Z | gmalthgtparser/test/tools.py | gmalt/hgtparser | c26f5860141827d4c7c41fbe2077d851a7114c10 | [
"MIT"
] | 1 | 2018-11-12T14:08:11.000Z | 2018-11-12T14:55:33.000Z | gmalthgtparser/test/tools.py | gmalt/hgtparser | c26f5860141827d4c7c41fbe2077d851a7114c10 | [
"MIT"
] | 1 | 2019-02-07T19:49:34.000Z | 2019-02-07T19:49:34.000Z | class MockOpenedFile(object):
def __init__(self, value='value'):
self.seek_values = []
self.buf_values = []
self.value = value
def seek(self, offset):
self.seek_values.append(offset)
def read(self, buf):
self.buf_values.append(buf)
return self.value
def... | 23.117647 | 39 | 0.585242 | 47 | 393 | 4.680851 | 0.319149 | 0.127273 | 0.190909 | 0.163636 | 0.245455 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292621 | 393 | 16 | 40 | 24.5625 | 0.791367 | 0 | 0 | 0.307692 | 0 | 0 | 0.012723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0 | 0.461538 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
96b2287c39e5e02201fc632a5444390e46edbe53 | 4,649 | py | Python | sh_app/models.py | allenkim/skill-huddle | 5f2fab44f40df7dec889270ea18308b40b80478e | [
"MIT"
] | null | null | null | sh_app/models.py | allenkim/skill-huddle | 5f2fab44f40df7dec889270ea18308b40b80478e | [
"MIT"
] | null | null | null | sh_app/models.py | allenkim/skill-huddle | 5f2fab44f40df7dec889270ea18308b40b80478e | [
"MIT"
] | null | null | null | from django.conf import settings
from django.db import models
from django.contrib.auth.models import User
from django.utils import timezone
from django.core.exceptions import ValidationError
from django_countries.fields import CountryField
from localflavor.us.us_states import STATE_CHOICES
from localflavor.us.models i... | 32.739437 | 106 | 0.713702 | 609 | 4,649 | 5.200328 | 0.239737 | 0.056836 | 0.056836 | 0.075782 | 0.413956 | 0.353331 | 0.230818 | 0.18156 | 0.118724 | 0.099779 | 0 | 0.006674 | 0.194235 | 4,649 | 141 | 107 | 32.971631 | 0.838761 | 0.093138 | 0 | 0.176471 | 0 | 0 | 0.035506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.211765 | false | 0 | 0.094118 | 0.188235 | 0.917647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
96bb5b01beb72324e1829af24c361337f4f51d59 | 406 | py | Python | RecoMuon/MuonIdentification/python/muonShowerInformationProducer_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoMuon/MuonIdentification/python/muonShowerInformationProducer_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoMuon/MuonIdentification/python/muonShowerInformationProducer_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | from RecoMuon.MuonIdentification.muonShowerInformation_cfi import *
muonShowerInformation = cms.EDProducer("MuonShowerInformationProducer",
MuonServiceProxy,
muonCollection = cms.InputTag("muons1stStep"),
trackCollection = cms.InputTag("generalTracks"),
ShowerInfor... | 50.75 | 98 | 0.753695 | 22 | 406 | 13.863636 | 0.818182 | 0.072131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003003 | 0.179803 | 406 | 7 | 99 | 58 | 0.912913 | 0 | 0 | 0 | 0 | 0 | 0.133005 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
736d73cd9cf79cc643d17effb33e703657be9327 | 61 | py | Python | jupyterlab_zenodo/tests/__init__.py | ChameleonCloud/jupyterlab-zenodo | 94e1e7762ab9b5c0492e8bea5bbe464132e22793 | [
"Apache-2.0"
] | null | null | null | jupyterlab_zenodo/tests/__init__.py | ChameleonCloud/jupyterlab-zenodo | 94e1e7762ab9b5c0492e8bea5bbe464132e22793 | [
"Apache-2.0"
] | 2 | 2021-05-11T17:10:45.000Z | 2022-01-22T12:36:02.000Z | jupyterlab_zenodo/tests/__init__.py | ChameleonCloud/jupyterlab-zenodo | 94e1e7762ab9b5c0492e8bea5bbe464132e22793 | [
"Apache-2.0"
] | null | null | null | import os
TEST_API_TOKEN = os.getenv('ZENODO_ACCESS_TOKEN')
| 15.25 | 49 | 0.803279 | 10 | 61 | 4.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 61 | 3 | 50 | 20.333333 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.311475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
736f2af0f4547c035ac5a19cdc64ae1770b8e0ad | 312 | py | Python | osp/wrappers/sqlite_wrapper_session.py | tareq97/osp-core | d07d75629367420e14be12cee0277aa7f757bdca | [
"BSD-3-Clause"
] | null | null | null | osp/wrappers/sqlite_wrapper_session.py | tareq97/osp-core | d07d75629367420e14be12cee0277aa7f757bdca | [
"BSD-3-Clause"
] | null | null | null | osp/wrappers/sqlite_wrapper_session.py | tareq97/osp-core | d07d75629367420e14be12cee0277aa7f757bdca | [
"BSD-3-Clause"
] | 1 | 2020-10-18T17:34:07.000Z | 2020-10-18T17:34:07.000Z | import logging
from osp.wrappers.sqlite.sqlite_session import SqliteSession as SqliteWrapperSession # noqa: F401,E501
logger = logging.getLogger(__name__)
logger.warning("osp.wrappers.sqlite_wrapper_session.SqliteWrapperSession is "
"deprecated. Use osp.wrappers.sqlite.SqliteSession instead.")
| 44.571429 | 103 | 0.798077 | 35 | 312 | 6.914286 | 0.628571 | 0.136364 | 0.210744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0.121795 | 312 | 6 | 104 | 52 | 0.861314 | 0.048077 | 0 | 0 | 0 | 0 | 0.4 | 0.301695 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
737a1f845e0f674f902b5d1b2db9af21ba634d2e | 709 | py | Python | src/momblish/corpus.py | foobarbecue/momblish | 1db7908cff206dfe19f1f54e343c71ed850d0f91 | [
"MIT"
] | 5 | 2018-11-27T21:31:23.000Z | 2022-02-04T08:33:15.000Z | src/momblish/corpus.py | foobarbecue/momblish | 1db7908cff206dfe19f1f54e343c71ed850d0f91 | [
"MIT"
] | 2 | 2018-11-28T23:11:13.000Z | 2019-11-05T20:32:01.000Z | src/momblish/corpus.py | foobarbecue/momblish | 1db7908cff206dfe19f1f54e343c71ed850d0f91 | [
"MIT"
] | 4 | 2019-11-03T04:27:20.000Z | 2021-03-20T15:23:50.000Z | import json
class Corpus(object):
def __init__(self, weighted_bigrams={}, occurrences={}):
self.weighted_bigrams = weighted_bigrams
self.occurrences = occurrences
@classmethod
def load(cls, path):
with open(path, 'r') as f:
data = f.read()
return cls(**json.lo... | 26.259259 | 104 | 0.61213 | 80 | 709 | 5.2125 | 0.4 | 0.251799 | 0.182254 | 0.143885 | 0.16307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275035 | 709 | 26 | 105 | 27.269231 | 0.811284 | 0 | 0 | 0 | 0 | 0 | 0.040903 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0.052632 | 0.421053 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
738233669116c301e887d68a040f962bae125560 | 102 | py | Python | zpy/main.py | OlegBash599/ZCTS_BROWSER | 9056099a072f6ec9f020dd84fca7ec92c05694bb | [
"MIT"
] | 12 | 2019-11-02T22:17:58.000Z | 2020-12-21T18:34:25.000Z | zpy/main.py | OlegBash599/ZCTS_BROWSER | 9056099a072f6ec9f020dd84fca7ec92c05694bb | [
"MIT"
] | 2 | 2019-08-31T21:07:42.000Z | 2019-09-02T11:33:40.000Z | zpy/main.py | OlegBash599/ZCTS_BROWSER | 9056099a072f6ec9f020dd84fca7ec92c05694bb | [
"MIT"
] | 5 | 2019-09-02T06:23:54.000Z | 2020-12-20T13:45:33.000Z | import zpy as zpy
def do_main():
zpy.sh()
if __name__ == '__main__':
do_main()
| 9.272727 | 27 | 0.529412 | 14 | 102 | 3.142857 | 0.642857 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.343137 | 102 | 10 | 28 | 10.2 | 0.656716 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7395f65e53fb45e0cf512d5adc85cdc89e37d621 | 474 | py | Python | LeetCode/2019-08-04-389-Find-the-Difference.py | HeRuivio/-Algorithm | 1fbe6256630758fda3af68f469471ee246730afc | [
"MIT"
] | 5 | 2018-10-30T05:07:32.000Z | 2019-06-18T08:11:38.000Z | LeetCode/2019-08-04-389-Find-the-Difference.py | HeRuivio/-Algorithm | 1fbe6256630758fda3af68f469471ee246730afc | [
"MIT"
] | 1 | 2020-05-09T09:05:16.000Z | 2020-05-09T09:05:16.000Z | LeetCode/2019-08-04-389-Find-the-Difference.py | HeRuivio/-Algorithm | 1fbe6256630758fda3af68f469471ee246730afc | [
"MIT"
] | 2 | 2020-05-09T09:02:22.000Z | 2020-12-09T13:23:00.000Z | # -*- coding: utf-8 -*-
# @Author: 何睿
# @Create Date: 2019-08-04 23:09:19
# @Last Modified by: 何睿
# @Last Modified time: 2019-08-04 23:09:30
import operator
from functools import reduce
class Solution:
def findTheDifference(self, s: str, t: str) -> str:
return chr(reduce(operator.xor... | 24.947368 | 60 | 0.607595 | 72 | 474 | 4 | 0.541667 | 0.0625 | 0.055556 | 0.069444 | 0.388889 | 0.305556 | 0.305556 | 0.305556 | 0.305556 | 0.305556 | 0 | 0.085873 | 0.238397 | 474 | 18 | 61 | 26.333333 | 0.711911 | 0.318565 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
73a1201c88282e700252bb06a4c7bedae7ce2cf8 | 320 | py | Python | src/engine/datastore/models/paper_structure.py | thomasmauerhofer/search-engine | b4271d6dcec469fec2ecd7e5ca8f408ac9466251 | [
"MIT"
] | null | null | null | src/engine/datastore/models/paper_structure.py | thomasmauerhofer/search-engine | b4271d6dcec469fec2ecd7e5ca8f408ac9466251 | [
"MIT"
] | null | null | null | src/engine/datastore/models/paper_structure.py | thomasmauerhofer/search-engine | b4271d6dcec469fec2ecd7e5ca8f408ac9466251 | [
"MIT"
] | null | null | null | # encoding: utf-8
from abc import ABCMeta, abstractmethod
class PaperStructure(metaclass=ABCMeta):
@abstractmethod
def __str__(self):
"""Print the Data of the Object"""
return
@abstractmethod
def to_dict(self):
"""Creates an Dictionary with the objects Data"""
return
| 20 | 57 | 0.653125 | 36 | 320 | 5.666667 | 0.75 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004219 | 0.259375 | 320 | 15 | 58 | 21.333333 | 0.85654 | 0.278125 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
73a9a9f6e813f65744373677446ab246bcf86cf0 | 134 | py | Python | codeforces/math数学/800/4A分西瓜.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | codeforces/math数学/800/4A分西瓜.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | codeforces/math数学/800/4A分西瓜.py | yofn/pyacm | e573f8fdeea77513711f00c42f128795cbba65a6 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# https://codeforces.com/problemset/problem/4/A
n = int(input())
print('YES' if (n>2 and n%2==0) else 'NO')
| 16.75 | 47 | 0.641791 | 25 | 134 | 3.44 | 0.88 | 0.046512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 0.126866 | 134 | 7 | 48 | 19.142857 | 0.692308 | 0.5 | 0 | 0 | 0 | 0 | 0.078125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
73bc3e26aced66fda669f056a96b16b436297cbc | 95 | py | Python | bstools/__init__.py | kingslayer268/legendv3-cogs | ceab8fe065900b37a5f75c1a5f6a6bb3b220321d | [
"MIT"
] | 10 | 2020-05-25T13:32:30.000Z | 2022-02-01T12:33:07.000Z | bstools/__init__.py | kingslayer268/legendv3-cogs | ceab8fe065900b37a5f75c1a5f6a6bb3b220321d | [
"MIT"
] | 2 | 2020-05-23T22:53:07.000Z | 2020-08-09T11:28:12.000Z | bstools/__init__.py | kingslayer268/legendv3-cogs | ceab8fe065900b37a5f75c1a5f6a6bb3b220321d | [
"MIT"
] | 7 | 2020-05-18T17:37:33.000Z | 2022-01-13T04:08:05.000Z | from .bstools import BSTools
def setup(bot):
cog = BSTools(bot)
bot.add_cog(cog)
| 15.833333 | 29 | 0.642105 | 14 | 95 | 4.285714 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252632 | 95 | 5 | 30 | 19 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
73f091f24538accdba067a1ce74627f001a391fd | 269 | py | Python | Iterators_and_Generators/06_reverse_string.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | Iterators_and_Generators/06_reverse_string.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | Iterators_and_Generators/06_reverse_string.py | MNikov/Python-OOP-October-2020 | a53e4555758ec810605e31e7b2c71b65c49b2332 | [
"MIT"
] | null | null | null | def reverse_text(string):
return (x for x in string[::-1])
# for x in string[::-1]:
# yield x
# idx = len(string) - 1
# while idx >= 0:
# yield string[idx]
# idx -= 1
for char in reverse_text("step"):
print(char, end='')
| 17.933333 | 36 | 0.509294 | 39 | 269 | 3.461538 | 0.461538 | 0.155556 | 0.088889 | 0.177778 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027624 | 0.327138 | 269 | 14 | 37 | 19.214286 | 0.718232 | 0.39777 | 0 | 0 | 0 | 0 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
fb4898acb7b3ea28c978d328a4f18b93f741f42c | 281 | py | Python | tests/test_github.py | MSLNZ/msl-package-manager | 19d3e8624d4408c37d48c195a440cd2714d4765d | [
"MIT"
] | 3 | 2019-01-14T07:51:30.000Z | 2022-02-16T22:32:42.000Z | tests/test_github.py | MSLNZ/msl-package-manager | 19d3e8624d4408c37d48c195a440cd2714d4765d | [
"MIT"
] | 8 | 2018-06-01T22:00:52.000Z | 2021-10-18T00:59:00.000Z | tests/test_github.py | MSLNZ/msl-package-manager | 19d3e8624d4408c37d48c195a440cd2714d4765d | [
"MIT"
] | null | null | null | import msl.package_manager as pm
def test_github():
pkgs = pm.github()
assert pm._PKG_NAME in pkgs
pkg = pkgs[pm._PKG_NAME]
assert len(pkg['description']) > 0
assert len(pkg['version']) > 0
assert len(pkg['tags']) > 10
assert len(pkg['branches']) > 0
| 23.416667 | 38 | 0.633452 | 43 | 281 | 4 | 0.488372 | 0.209302 | 0.27907 | 0.151163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022831 | 0.220641 | 281 | 11 | 39 | 25.545455 | 0.762557 | 0 | 0 | 0 | 0 | 0 | 0.106762 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.111111 | false | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb52a2d812878fe888b96217cbceb4cd5a0ab9df | 928 | py | Python | essentials_kit_management/views/get_pay_through_details/tests/snapshots/snap_test_case_01.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | null | null | null | essentials_kit_management/views/get_pay_through_details/tests/snapshots/snap_test_case_01.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | 2 | 2021-09-07T07:06:00.000Z | 2021-09-07T07:24:26.000Z | essentials_kit_management/views/get_pay_through_details/tests/snapshots/snap_test_case_01.py | RajeshKumar1490/iB_hubs_mini_project | f7126092400fb9a62fb4bff643dae7cda3a8d9d2 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals
from snapshottest import Snapshot
snapshots = Snapshot()
snapshots['TestCase01GetPayThroughDetailsAPITestCase::test_case status'] = 200
snapshots['TestCase01GetPayThroughDetailsAPITestCase::test_case body'] =... | 23.2 | 92 | 0.642241 | 81 | 928 | 7.209877 | 0.555556 | 0.342466 | 0.369863 | 0.39726 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.215517 | 928 | 39 | 93 | 23.794872 | 0.748626 | 0.06681 | 0 | 0.133333 | 0 | 0 | 0.542294 | 0.24102 | 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 | 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 | 3 |
fb551deed0364afbaeb2a2f01189d6db7fca2bad | 14 | py | Python | src/components/__init__.py | ewanlee/mackrl | 6dd505aa09830f16c35a022f67e255db935c807e | [
"Apache-2.0"
] | 26 | 2019-10-28T09:01:45.000Z | 2021-09-20T08:56:12.000Z | src/components/__init__.py | umersheikh846/WQMIX | 3fbc088273c4ddb6876a352d18f057c50703546c | [
"Apache-1.1"
] | 1 | 2020-07-25T06:50:05.000Z | 2020-07-25T06:50:05.000Z | src/components/__init__.py | umersheikh846/WQMIX | 3fbc088273c4ddb6876a352d18f057c50703546c | [
"Apache-1.1"
] | 7 | 2020-08-05T21:12:11.000Z | 2021-04-12T14:23:43.000Z | REGISTRY = {}
| 7 | 13 | 0.571429 | 1 | 14 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 14 | 1 | 14 | 14 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb5c4500ecd2f19e56e4709adb79b49112785b67 | 563 | py | Python | tests/event/test_event_base.py | Arussil/salesmanago-python-api | d4e69a8356e98f5cf46b3e104abe8034ce99fc13 | [
"MIT"
] | 1 | 2021-04-20T17:19:13.000Z | 2021-04-20T17:19:13.000Z | tests/event/test_event_base.py | Arussil/salesmanago-python-api | d4e69a8356e98f5cf46b3e104abe8034ce99fc13 | [
"MIT"
] | 1 | 2021-02-18T14:25:34.000Z | 2021-10-14T09:52:56.000Z | tests/event/test_event_base.py | Arussil/salesmanago-python-api | d4e69a8356e98f5cf46b3e104abe8034ce99fc13 | [
"MIT"
] | 2 | 2021-02-18T11:40:38.000Z | 2021-10-14T09:56:39.000Z | from unittest import TestCase
from .text_data_mixin import EventTestDataMixin
from salesmanago_python_api.data.event import SalesManagoEventData
from salesmanago_python_api.data.client import SalesManagoClientData
class SalesManagoEventsTestsBase(TestCase, EventTestDataMixin):
def setUp(self) -> None:
se... | 33.117647 | 68 | 0.760213 | 61 | 563 | 6.819672 | 0.47541 | 0.072115 | 0.100962 | 0.115385 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16341 | 563 | 17 | 69 | 33.117647 | 0.883227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.083333 | 0.333333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
fb7a44faaed68e6bb0bfcf57eeaee7331bad8ce8 | 680 | py | Python | Sounds/sounds.py | acecpt/PyGames | 671a4a00061d5c6b4d1315dbc1468dcd78165c23 | [
"MIT"
] | null | null | null | Sounds/sounds.py | acecpt/PyGames | 671a4a00061d5c6b4d1315dbc1468dcd78165c23 | [
"MIT"
] | null | null | null | Sounds/sounds.py | acecpt/PyGames | 671a4a00061d5c6b4d1315dbc1468dcd78165c23 | [
"MIT"
] | null | null | null | import winsound #https://www.programcreek.com/python/example/74090/winsound.SND_FILENAME
from playsound import playsound
# If full Dir String, location independent
# FartArmy formatted for Windows Dir String
playsound('C:\\Users\\dczel\\Desktop\\Examples\\PY-CSV-Graph\\PYGames\\Sounds\\FartArmy.wav')
# Pong formatted ... | 48.571429 | 125 | 0.782353 | 93 | 680 | 5.677419 | 0.451613 | 0.083333 | 0.107955 | 0.113636 | 0.477273 | 0.477273 | 0.477273 | 0.477273 | 0.477273 | 0.477273 | 0 | 0.007862 | 0.064706 | 680 | 14 | 126 | 48.571429 | 0.822327 | 0.282353 | 0 | 0 | 0 | 0.428571 | 0.546392 | 0.486598 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fb88eae7e9d548f269b581b671196f009c83497d | 149 | py | Python | man/week2/gc.py | neilswainston/PythonClub | e7bf1ac83a71c9e67de825eb4d95a9d091bc36e7 | [
"MIT"
] | null | null | null | man/week2/gc.py | neilswainston/PythonClub | e7bf1ac83a71c9e67de825eb4d95a9d091bc36e7 | [
"MIT"
] | null | null | null | man/week2/gc.py | neilswainston/PythonClub | e7bf1ac83a71c9e67de825eb4d95a9d091bc36e7 | [
"MIT"
] | null | null | null | dna_seq1 = 'ACCTGATC'
gc_count = 0
for nucl in dna_seq1:
if nucl == 'G' or nucl == 'C':
gc_count += 1
print(gc_count / len(dna_seq1))
| 14.9 | 34 | 0.597315 | 26 | 149 | 3.192308 | 0.615385 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.261745 | 149 | 9 | 35 | 16.555556 | 0.709091 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
fbc2efe66452f743854a133ab42daa3d28becef7 | 177 | py | Python | xudo/commands/prune.py | Ostralyan/xudo | d4ab6ee01fef52e8799ff3e6a76234351620447e | [
"MIT"
] | 3 | 2017-04-05T17:30:13.000Z | 2018-09-18T02:14:40.000Z | xudo/commands/prune.py | Ostralyan/xudo | d4ab6ee01fef52e8799ff3e6a76234351620447e | [
"MIT"
] | null | null | null | xudo/commands/prune.py | Ostralyan/xudo | d4ab6ee01fef52e8799ff3e6a76234351620447e | [
"MIT"
] | 2 | 2017-05-30T17:42:31.000Z | 2017-12-14T20:14:31.000Z | from .base import Base
import os
class Prune(Base):
"""Prompts the user to prune their docker environment"""
def run(self):
os.system("docker system prune")
| 16.090909 | 60 | 0.666667 | 25 | 177 | 4.72 | 0.68 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231638 | 177 | 10 | 61 | 17.7 | 0.867647 | 0.282486 | 0 | 0 | 0 | 0 | 0.157025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fbcd365dd234d07554366089a2b40661f73907bd | 1,366 | py | Python | ocycle/util.py | beasteers/ocycle | 748e57d6ae3d4e49d68b4120566219f62aed3a79 | [
"MIT"
] | null | null | null | ocycle/util.py | beasteers/ocycle | 748e57d6ae3d4e49d68b4120566219f62aed3a79 | [
"MIT"
] | null | null | null | ocycle/util.py | beasteers/ocycle | 748e57d6ae3d4e49d68b4120566219f62aed3a79 | [
"MIT"
] | null | null | null |
def reset_io(buff):
buff.seek(0)
buff.truncate(0)
return buff
def truncate_io(buff, size):
# get the remainder value
buff.seek(size)
leftover = buff.read()
# remove the remainder
buff.seek(0)
buff.truncate(size)
return leftover
# def diesattheend(pool):
# import atexit
# ... | 23.551724 | 75 | 0.597365 | 169 | 1,366 | 4.64497 | 0.390533 | 0.019108 | 0.02293 | 0.033121 | 0.053503 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003055 | 0.281113 | 1,366 | 57 | 76 | 23.964912 | 0.796334 | 0.508053 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.083333 | 0 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
fbd7ca94bc9b104eb4cc0c253af26e5cccefb822 | 195 | py | Python | cli.py | amitjoshi9627/Trimports | bbde1c24e6b4b091b2ac16466684ff44a626b65c | [
"MIT"
] | null | null | null | cli.py | amitjoshi9627/Trimports | bbde1c24e6b4b091b2ac16466684ff44a626b65c | [
"MIT"
] | null | null | null | cli.py | amitjoshi9627/Trimports | bbde1c24e6b4b091b2ac16466684ff44a626b65c | [
"MIT"
] | null | null | null | from Trimports import trimport
from Trimports.arg_process import parse_argument
def main():
file_path = parse_argument()
trimport.run(file_path)
if __name__ == "__main__":
main()
| 16.25 | 48 | 0.733333 | 25 | 195 | 5.2 | 0.6 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 195 | 11 | 49 | 17.727273 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.041026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
fbe1ed6429dc6072e62ebf69990f2d87f77f3181 | 474 | py | Python | backend/db/entities/staging/lembur.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/staging/lembur.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | backend/db/entities/staging/lembur.py | R-N/sistem_gaji_vue_thrift | 9ba800b4d8e7849e2c6c4016cb32633caab087be | [
"MIT"
] | null | null | null | from sqlalchemy.orm import reconstructor
from sqlalchemy.ext.hybrid import hybrid_property
from .base import DbStagingEntity
from ..mixin import MxLembur, MxStaging
from .karyawan import DbKaryawan
class DbLembur(MxStaging, MxLembur, DbStagingEntity):
@hybrid_property
def real_enabled(self):
return ... | 26.333333 | 58 | 0.780591 | 57 | 474 | 6.368421 | 0.438596 | 0.151515 | 0.077135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160338 | 474 | 17 | 59 | 27.882353 | 0.91206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.416667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
837d20e79780a1d71342c36d4dbec7ad764d6931 | 479 | py | Python | aiohttp5paisa/constants/__init__.py | madhu-sagar/aiohttp5paisa | 46658fedf587b6362a480a459ec37adaaa215d47 | [
"MIT"
] | null | null | null | aiohttp5paisa/constants/__init__.py | madhu-sagar/aiohttp5paisa | 46658fedf587b6362a480a459ec37adaaa215d47 | [
"MIT"
] | null | null | null | aiohttp5paisa/constants/__init__.py | madhu-sagar/aiohttp5paisa | 46658fedf587b6362a480a459ec37adaaa215d47 | [
"MIT"
] | null | null | null | """
"""
from constants.Exchange import Exchange
from constants.ExchangeSegment import ExchangeSegment
from constants.BuySell import BuySell
from constants.OrderChannel import OrderChannel
from constants.Status import OrderStatus
from constants.OrderType import OrderType
from constants.OrderValidity import OrderValidity... | 31.933333 | 106 | 0.866388 | 49 | 479 | 8.387755 | 0.265306 | 0.253041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083507 | 479 | 14 | 107 | 34.214286 | 0.936219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8386a1cb4198d6d93223121ad041dd7dea56aa0e | 325 | py | Python | segregation/__init__.py | weikang9009/segregation | 403cc63772545f688308692d446c289ed2e7f99a | [
"BSD-3-Clause"
] | null | null | null | segregation/__init__.py | weikang9009/segregation | 403cc63772545f688308692d446c289ed2e7f99a | [
"BSD-3-Clause"
] | null | null | null | segregation/__init__.py | weikang9009/segregation | 403cc63772545f688308692d446c289ed2e7f99a | [
"BSD-3-Clause"
] | null | null | null | __version__ = "1.3.0"
"""
:mod:`segregation` --- Spatial/Aspatial Segregation Analysis
=================================================
"""
from . import aspatial
from . import spatial
from . import inference
from . import decomposition
from . import util
from . import network
from . import local
from . import comput... | 23.214286 | 60 | 0.633846 | 35 | 325 | 5.742857 | 0.514286 | 0.39801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.132308 | 325 | 14 | 61 | 23.214286 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0.024155 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
839b4972d72542ebe4b4c6220b2b3acc4c04706f | 443 | py | Python | tests/Network/test_Cellular.py | kevswims/hologram-python | f1dac5e7d461146120b4f077ecbe90ccb3f4adaa | [
"MIT"
] | 1 | 2019-04-23T11:36:46.000Z | 2019-04-23T11:36:46.000Z | tests/Network/test_Cellular.py | kevswims/hologram-python | f1dac5e7d461146120b4f077ecbe90ccb3f4adaa | [
"MIT"
] | null | null | null | tests/Network/test_Cellular.py | kevswims/hologram-python | f1dac5e7d461146120b4f077ecbe90ccb3f4adaa | [
"MIT"
] | null | null | null | # Author: Hologram <support@hologram.io>
#
# Copyright 2016 - Hologram (Konekt, Inc.)
#
# LICENSE: Distributed under the terms of the MIT License
#
# test_Cellular.py - This file implements unit tests for the Cellular class.
import sys
import pytest
sys.path.append(".")
sys.path.append("..")
sys.path.append("../..")
... | 21.095238 | 76 | 0.724605 | 59 | 443 | 5.372881 | 0.661017 | 0.066246 | 0.123028 | 0.100946 | 0.123028 | 0.123028 | 0 | 0 | 0 | 0 | 0 | 0.010667 | 0.153499 | 443 | 20 | 77 | 22.15 | 0.834667 | 0.474041 | 0 | 0 | 0 | 0 | 0.035556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
83a04c4e3422ef18cd6c8a83f18ff370951c5662 | 207 | py | Python | Leetcode/657. Robot Return to Origin/solution3.py | asanoviskhak/Outtalent | c500e8ad498f76d57eb87a9776a04af7bdda913d | [
"MIT"
] | 51 | 2020-07-12T21:27:47.000Z | 2022-02-11T19:25:36.000Z | Leetcode/657. Robot Return to Origin/solution3.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | null | null | null | Leetcode/657. Robot Return to Origin/solution3.py | CrazySquirrel/Outtalent | 8a10b23335d8e9f080e5c39715b38bcc2916ff00 | [
"MIT"
] | 32 | 2020-07-27T13:54:24.000Z | 2021-12-25T18:12:50.000Z | from collections import Counter
class Solution:
def judgeCircle(self, moves: str) -> bool:
counter = Counter(moves)
return counter['U'] == counter['D'] and counter['R'] == counter['L']
| 25.875 | 76 | 0.63285 | 25 | 207 | 5.24 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 207 | 7 | 77 | 29.571429 | 0.808642 | 0 | 0 | 0 | 0 | 0 | 0.019324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
83bc532f9ed10b57f19db42d001d556cbc8c4f0b | 937 | py | Python | regressions/mcsat/t4.py | muchang/z3test | e3e7739f98b7aa85427fcb8a39a4c675132a896e | [
"MIT"
] | 23 | 2015-04-20T08:51:00.000Z | 2021-11-15T12:20:59.000Z | regressions/mcsat/t4.py | muchang/z3test | e3e7739f98b7aa85427fcb8a39a4c675132a896e | [
"MIT"
] | 18 | 2016-03-02T15:17:42.000Z | 2021-12-16T22:10:05.000Z | regressions/mcsat/t4.py | muchang/z3test | e3e7739f98b7aa85427fcb8a39a4c675132a896e | [
"MIT"
] | 30 | 2015-05-30T15:29:17.000Z | 2022-02-25T15:58:58.000Z |
# Copyright (c) 2015 Microsoft Corporation
"""
>>> from z3 import *
>>> x = Int('x')
>>> s = MCSatCore()
>>> s.add_tactic('solve-eqs')
>>> s.freeze(x)
>>> s.add(x == 1)
>>> s.push()
>>> s
[x == 1]
>>> s = MCSatCore()
>>> s.add_tactic('solve-eqs')
>>> s.add(x == 1)
>>> s.push()
>>> s
[]
>>> y = Int('y')
>>> s = MCSatCo... | 16.732143 | 69 | 0.481323 | 155 | 937 | 2.825806 | 0.258065 | 0.091324 | 0.047945 | 0.063927 | 0.623288 | 0.614155 | 0.614155 | 0.573059 | 0.506849 | 0.506849 | 0 | 0.024161 | 0.204909 | 937 | 55 | 70 | 17.036364 | 0.563758 | 0.975454 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.018182 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
83c213a4d7c51b2e74437f40085f08960756b394 | 1,166 | py | Python | app/base/forms.py | neurotechbci/epilepsy-software | ac20cef01ebd0e4e6c3be2c0baefccbe5aab7974 | [
"MIT"
] | null | null | null | app/base/forms.py | neurotechbci/epilepsy-software | ac20cef01ebd0e4e6c3be2c0baefccbe5aab7974 | [
"MIT"
] | null | null | null | app/base/forms.py | neurotechbci/epilepsy-software | ac20cef01ebd0e4e6c3be2c0baefccbe5aab7974 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
"""
License: MIT
Copyright (c) 2019 - present AppSeed.us
"""
from flask_wtf import FlaskForm
from wtforms import TextField, PasswordField,DecimalField
from wtforms.validators import InputRequired, Email, DataRequired
## login and registration
class LoginForm(FlaskForm):
username = TextF... | 48.583333 | 109 | 0.67753 | 109 | 1,166 | 7.192661 | 0.357798 | 0.252551 | 0.072704 | 0.086735 | 0.19898 | 0.112245 | 0 | 0 | 0 | 0 | 0 | 0.005187 | 0.173242 | 1,166 | 24 | 110 | 48.583333 | 0.808091 | 0.085763 | 0 | 0 | 0 | 0 | 0.140965 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.285714 | 0.214286 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
83d8af35dbb0ba7c4ccb17c8f6e099f7cca4805c | 679 | py | Python | src/message/cl_request_base.py | the40san/unity_survival_shooter_multi_server_python | d20d9aa2204bca70d0787acbfe395277b776e92d | [
"MIT"
] | 3 | 2017-04-11T05:36:08.000Z | 2021-03-16T16:22:07.000Z | src/message/cl_request_base.py | the40san/unity_survival_shooter_multi_server_python | d20d9aa2204bca70d0787acbfe395277b776e92d | [
"MIT"
] | null | null | null | src/message/cl_request_base.py | the40san/unity_survival_shooter_multi_server_python | d20d9aa2204bca70d0787acbfe395277b776e92d | [
"MIT"
] | 1 | 2017-04-11T05:35:26.000Z | 2017-04-11T05:35:26.000Z | import struct
from logger import Logger
class ClRequestBase:
def __init__(self, payload):
self.message_id = struct.unpack("<B", payload[0:1])[0]
self.message_unique_id = struct.unpack("<H", payload[1:3])[0]
self.payload = payload
Logger.log("processing: " + type(self).__name__)
... | 25.148148 | 69 | 0.589102 | 79 | 679 | 4.911392 | 0.443038 | 0.123711 | 0.14433 | 0.237113 | 0.329897 | 0.260309 | 0.180412 | 0 | 0 | 0 | 0 | 0.012371 | 0.285714 | 679 | 26 | 70 | 26.115385 | 0.787629 | 0.162003 | 0 | 0.176471 | 0 | 0 | 0.029466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
83d8b8106a05b02399d766925fbd6405092d0cbf | 1,387 | py | Python | dev/demo_errors.py | jayvdb/xdoctest | 01872f8e393a816c5431f816f63e16fbe62fedfe | [
"Apache-2.0"
] | null | null | null | dev/demo_errors.py | jayvdb/xdoctest | 01872f8e393a816c5431f816f63e16fbe62fedfe | [
"Apache-2.0"
] | null | null | null | dev/demo_errors.py | jayvdb/xdoctest | 01872f8e393a816c5431f816f63e16fbe62fedfe | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This file contains doctests with errors. Executing xdoctest on this file will
demo how xdoctest reoprts errors. (It can also be used / was created for
debuging)
"""
from __future__ import absolute_import, division, print_function, unicode_literals
def demo1():
"""... | 19.263889 | 82 | 0.58832 | 151 | 1,387 | 5.231788 | 0.423841 | 0.091139 | 0.113924 | 0.144304 | 0.344304 | 0.344304 | 0.310127 | 0.310127 | 0.310127 | 0.131646 | 0 | 0.016162 | 0.286229 | 1,387 | 71 | 83 | 19.535211 | 0.781818 | 0.574621 | 0 | 0.307692 | 0 | 0 | 0.02381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.307692 | 0.153846 | 0 | 0.538462 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
83e571d3035ddf5c7f0ae9b43c2a188cd62ea3e8 | 1,259 | py | Python | term.py | zjuadstest/shakespeare-search-engine | daae589df16ad4c4a89fb3ccbbf70ee75d55103d | [
"MIT"
] | null | null | null | term.py | zjuadstest/shakespeare-search-engine | daae589df16ad4c4a89fb3ccbbf70ee75d55103d | [
"MIT"
] | null | null | null | term.py | zjuadstest/shakespeare-search-engine | daae589df16ad4c4a89fb3ccbbf70ee75d55103d | [
"MIT"
] | null | null | null | from bdict import BDict
class Term:
def __init__(self, term=None):
self.term = term
self.times = 0
self.occur = dict()
def jsonfy(self):
d = dict()
d['term'] = self.term
d['times'] = self.times
d['occur'] = self.occur
return d
def unjsonfy(s... | 23.754717 | 101 | 0.554408 | 167 | 1,259 | 4.017964 | 0.317365 | 0.107303 | 0.111773 | 0.14158 | 0.260805 | 0.260805 | 0.260805 | 0.260805 | 0 | 0 | 0 | 0.003488 | 0.316918 | 1,259 | 52 | 102 | 24.211538 | 0.776744 | 0.062748 | 0 | 0 | 0 | 0 | 0.046769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.27027 | false | 0 | 0.027027 | 0.135135 | 0.540541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
83ed48fe4caa4a09d342144fb1132fac323ed1e7 | 376 | py | Python | fdint/tests/__main__.py | jgukelberger/fdint | 0237323d6fd5d4161190ff7982811d8ae290f89e | [
"BSD-3-Clause"
] | 11 | 2015-10-25T18:51:55.000Z | 2021-02-26T13:05:07.000Z | fdint/tests/__main__.py | jgukelberger/fdint | 0237323d6fd5d4161190ff7982811d8ae290f89e | [
"BSD-3-Clause"
] | 19 | 2015-04-23T19:41:20.000Z | 2017-08-01T02:04:04.000Z | fdint/tests/__main__.py | jgukelberger/fdint | 0237323d6fd5d4161190ff7982811d8ae290f89e | [
"BSD-3-Clause"
] | 10 | 2017-05-31T07:27:16.000Z | 2021-08-28T15:34:09.000Z | # Copyright (c) 2015, Scott J Maddox. All rights reserved.
# Use of this source code is governed by the BSD-3-Clause
# license that can be found in the LICENSE file.
# Make sure we import the local package
import os
import sys
sys.path.insert(0,
os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')))
fr... | 28.923077 | 70 | 0.734043 | 63 | 376 | 4.31746 | 0.746032 | 0.066176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.154255 | 376 | 12 | 71 | 31.333333 | 0.836478 | 0.523936 | 0 | 0 | 0 | 0 | 0.028736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f7bf10323367322e324ba24cdc008b7025f3afc9 | 520 | py | Python | app/schemas/__init__.py | SanchithHegde/decrypto-api | a68b6a5285fba4eb556f375e18e87505677fa6dd | [
"MIT"
] | null | null | null | app/schemas/__init__.py | SanchithHegde/decrypto-api | a68b6a5285fba4eb556f375e18e87505677fa6dd | [
"MIT"
] | 2 | 2021-08-17T17:07:52.000Z | 2021-11-28T19:02:50.000Z | app/schemas/__init__.py | SanchithHegde/decrypto-api | a68b6a5285fba4eb556f375e18e87505677fa6dd | [
"MIT"
] | null | null | null | """
Pydantic schemas.
"""
from app.schemas.message import Message
from app.schemas.question import (
Answer,
Question,
QuestionAnswer,
QuestionCreate,
QuestionListItem,
QuestionUpdate,
)
from app.schemas.question_order_item import (
QuestionOrderItem,
QuestionOrderItemCreate,
Questi... | 23.636364 | 84 | 0.773077 | 52 | 520 | 7.692308 | 0.480769 | 0.105 | 0.21 | 0.11 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155769 | 520 | 21 | 85 | 24.761905 | 0.911162 | 0.032692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.352941 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f7c1f6733fde5d3537b7b99e28e605c66b708a50 | 1,112 | py | Python | aoi/task.py | Yat-o/Aoi | 51215c2f9fa2049ceee224ab8997e7673cb6e3d6 | [
"MIT"
] | 5 | 2020-10-18T02:25:47.000Z | 2021-07-01T04:58:58.000Z | aoi/task.py | Yat-o/Aoi | 51215c2f9fa2049ceee224ab8997e7673cb6e3d6 | [
"MIT"
] | 58 | 2020-09-26T03:16:23.000Z | 2021-11-01T18:41:56.000Z | aoi/task.py | Yat-o/Aoi | 51215c2f9fa2049ceee224ab8997e7673cb6e3d6 | [
"MIT"
] | 5 | 2020-11-25T09:07:11.000Z | 2021-08-21T10:25:31.000Z | import asyncio
from datetime import datetime
from typing import Callable
import discord
from discord.ext import commands
class AoiTask:
def __init__(self, task: asyncio.Task, ctx: commands.Context, status: Callable[[], str]):
self.task = task
self.ctx = ctx
self._status = status
s... | 28.512821 | 105 | 0.626799 | 145 | 1,112 | 4.703448 | 0.303448 | 0.082111 | 0.057185 | 0.046921 | 0.061584 | 0.061584 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23741 | 1,112 | 38 | 106 | 29.263158 | 0.804245 | 0 | 0 | 0.103448 | 0 | 0.068966 | 0.207734 | 0.133094 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.172414 | 0.172414 | 0.62069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.