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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a6e8baaf935cb1fb97c7952c5c619c34a74f6e26 | 130 | py | Python | autographql/monkeypatch.py | ehsu0407/django-autographql | 95147501b2e542ee2a4b7903546665fb84d5115e | [
"MIT"
] | 1 | 2021-11-20T03:52:51.000Z | 2021-11-20T03:52:51.000Z | autographql/monkeypatch.py | ehsu0407/django-autographql | 95147501b2e542ee2a4b7903546665fb84d5115e | [
"MIT"
] | null | null | null | autographql/monkeypatch.py | ehsu0407/django-autographql | 95147501b2e542ee2a4b7903546665fb84d5115e | [
"MIT"
] | null | null | null | from graphene_django import registry
from autographql.registry import Registry
# Monkey patch this
registry.Registry = Registry
| 18.571429 | 41 | 0.838462 | 16 | 130 | 6.75 | 0.5625 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 6 | 42 | 21.666667 | 0.955752 | 0.130769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a6eb2a8d7c9fe3b007e5562b9481744d5a9c7ed8 | 154 | py | Python | nxtools/__init__.py | immstudios/nxtools | 3a9e911fe141b989d8163cf50327a2c190a248bd | [
"MIT"
] | 2 | 2020-02-24T18:43:17.000Z | 2022-02-15T12:32:50.000Z | nxtools/__init__.py | immstudios/nxtools | 3a9e911fe141b989d8163cf50327a2c190a248bd | [
"MIT"
] | null | null | null | nxtools/__init__.py | immstudios/nxtools | 3a9e911fe141b989d8163cf50327a2c190a248bd | [
"MIT"
] | 2 | 2020-04-27T22:12:33.000Z | 2020-08-04T03:53:38.000Z | from .common import *
from .files import *
from .logging import *
from .text import *
from .timeutils import *
from .media import *
from .caspar import *
| 19.25 | 24 | 0.727273 | 21 | 154 | 5.333333 | 0.428571 | 0.535714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 154 | 7 | 25 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5b2d34705beaa3cdef2f62a1b9c2ec9e9a63bc9a | 14 | py | Python | data/studio21_generated/introductory/4986/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4986/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4986/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def f(n, m):
| 7 | 12 | 0.428571 | 4 | 14 | 1.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 14 | 2 | 13 | 7 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b598a4fd6770857438f1a42a8750fd2618370d5 | 204 | py | Python | start_scrpy.py | Goolo2/LFD2021-Final | 36be9a8e6951c4259b333dbd3a4737bdfb4b7e49 | [
"Apache-2.0"
] | null | null | null | start_scrpy.py | Goolo2/LFD2021-Final | 36be9a8e6951c4259b333dbd3a4737bdfb4b7e49 | [
"Apache-2.0"
] | null | null | null | start_scrpy.py | Goolo2/LFD2021-Final | 36be9a8e6951c4259b333dbd3a4737bdfb4b7e49 | [
"Apache-2.0"
] | null | null | null |
import os
os.system('taskkill /IM scrcpy.exe /F')
os.system('taskkill /IM adb.exe /F')
# os.system('adb connect emulator-5554')
os.system('adb connect 127.0.0.1:7555')
os.system("scrcpy --max-size 960") | 25.5 | 40 | 0.70098 | 37 | 204 | 3.864865 | 0.513514 | 0.27972 | 0.223776 | 0.251748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092896 | 0.102941 | 204 | 8 | 41 | 25.5 | 0.688525 | 0.186275 | 0 | 0 | 0 | 0 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b78cc09a15ec0c09870e9eb5c558d32598ee736 | 144 | py | Python | unsorted/pythonsnippets_0028.py | fiddlerwoaroof/sandbox | 652acaf710a8b60f005769bde317e7bbf548cc2b | [
"BSD-3-Clause"
] | null | null | null | unsorted/pythonsnippets_0028.py | fiddlerwoaroof/sandbox | 652acaf710a8b60f005769bde317e7bbf548cc2b | [
"BSD-3-Clause"
] | null | null | null | unsorted/pythonsnippets_0028.py | fiddlerwoaroof/sandbox | 652acaf710a8b60f005769bde317e7bbf548cc2b | [
"BSD-3-Clause"
] | null | null | null | db._DBProxy__ctxid = 'b85246688f24c14712e0a7dfb93413f5defd50c4'
db.getrecord(0)
db.checkcontext()
dbtree.get_children()
dbtree.get_children([1]) | 28.8 | 63 | 0.833333 | 16 | 144 | 7.1875 | 0.6875 | 0.156522 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 0.041667 | 144 | 5 | 64 | 28.8 | 0.630435 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5bad753c30ab21f0f6c51b5d4d524f6a583eef68 | 125 | py | Python | shopify/__init__.py | SachinTitus/shopify_python_api | 134de8e61639957050c73da1eddbaec847c4b8cd | [
"MIT"
] | null | null | null | shopify/__init__.py | SachinTitus/shopify_python_api | 134de8e61639957050c73da1eddbaec847c4b8cd | [
"MIT"
] | null | null | null | shopify/__init__.py | SachinTitus/shopify_python_api | 134de8e61639957050c73da1eddbaec847c4b8cd | [
"MIT"
] | null | null | null | from shopify.version import VERSION
from shopify.session import Session, ValidationException
from shopify.resources import *
| 31.25 | 56 | 0.856 | 15 | 125 | 7.133333 | 0.466667 | 0.308411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104 | 125 | 3 | 57 | 41.666667 | 0.955357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5bb08e55b422d73f3d7a065b6568e1c349f67709 | 97 | py | Python | sk_processor/src/setup.py | walterjgsp/meaning | 71fd69eab430d364baefb31096c866999de9b4dd | [
"MIT"
] | null | null | null | sk_processor/src/setup.py | walterjgsp/meaning | 71fd69eab430d364baefb31096c866999de9b4dd | [
"MIT"
] | null | null | null | sk_processor/src/setup.py | walterjgsp/meaning | 71fd69eab430d364baefb31096c866999de9b4dd | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(name="sk_processor", packages=find_packages()) | 32.333333 | 52 | 0.824742 | 13 | 97 | 5.923077 | 0.692308 | 0.311688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 97 | 3 | 52 | 32.333333 | 0.855556 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5bfa61390475236c4993c3b6316a2ef8babf7c6f | 75 | py | Python | models/__init__.py | whxf/nlp_api | a63b67287e9a90381cac14bb1c5b723ccbeb14a3 | [
"MIT"
] | 13 | 2019-11-06T02:37:28.000Z | 2022-03-21T06:16:18.000Z | models/__init__.py | whxf/nlp_api | a63b67287e9a90381cac14bb1c5b723ccbeb14a3 | [
"MIT"
] | null | null | null | models/__init__.py | whxf/nlp_api | a63b67287e9a90381cac14bb1c5b723ccbeb14a3 | [
"MIT"
] | 4 | 2020-05-07T10:49:32.000Z | 2021-12-31T04:03:19.000Z | """
@author: Li Xi
@file: __init__.py.py
@time: 2019/10/29 16:20
@desc:
""" | 12.5 | 23 | 0.613333 | 14 | 75 | 3 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 0.133333 | 75 | 6 | 24 | 12.5 | 0.461538 | 0.893333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7500efb4303ca8f17d9fd9ba3450b59609942923 | 119 | py | Python | lec2.py | DgBrooks3/IA241 | 8087201bbe7b8361c077d5e79234691bb0e4ef9e | [
"MIT"
] | null | null | null | lec2.py | DgBrooks3/IA241 | 8087201bbe7b8361c077d5e79234691bb0e4ef9e | [
"MIT"
] | null | null | null | lec2.py | DgBrooks3/IA241 | 8087201bbe7b8361c077d5e79234691bb0e4ef9e | [
"MIT"
] | null | null | null | """
this is a regional comment
"""
print('hello world') # this is a single line comment
print('Hello, World'.upper())
| 17 | 52 | 0.680672 | 18 | 119 | 4.5 | 0.611111 | 0.148148 | 0.17284 | 0.54321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 119 | 6 | 53 | 19.833333 | 0.81 | 0.478992 | 0 | 0 | 0 | 0 | 0.425926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7504019d59b5fb7f3187b697894a40511e4f30da | 75 | py | Python | home/kwatters/harry/gestures/headfront.py | rv8flyboy/pyrobotlab | 4e04fb751614a5cb6044ea15dcfcf885db8be65a | [
"Apache-2.0"
] | 63 | 2015-02-03T18:49:43.000Z | 2022-03-29T03:52:24.000Z | home/kwatters/harry/gestures/headfront.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 16 | 2016-01-26T19:13:29.000Z | 2018-11-25T21:20:51.000Z | home/kwatters/harry/gestures/headfront.py | hirwaHenryChristian/pyrobotlab | 2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9 | [
"Apache-2.0"
] | 151 | 2015-01-03T18:55:54.000Z | 2022-03-04T07:04:23.000Z | def headfront():
i01.head.neck.moveTo(90)
i01.head.rothead.moveTo(90)
| 15 | 29 | 0.706667 | 12 | 75 | 4.416667 | 0.666667 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0.12 | 75 | 4 | 30 | 18.75 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7529c15bd18d3d466eaeca57ddbf1b0368acaf9c | 133 | py | Python | code/pyFoamUpgradeDictionariesTo17.py | sosohungry/pyfoam | b19e40a0ef1f41268930122226660414722178e6 | [
"MIT"
] | null | null | null | code/pyFoamUpgradeDictionariesTo17.py | sosohungry/pyfoam | b19e40a0ef1f41268930122226660414722178e6 | [
"MIT"
] | null | null | null | code/pyFoamUpgradeDictionariesTo17.py | sosohungry/pyfoam | b19e40a0ef1f41268930122226660414722178e6 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
from PyFoam.Applications.UpgradeDictionariesTo17 import UpgradeDictionariesTo17
UpgradeDictionariesTo17()
| 19 | 79 | 0.842105 | 11 | 133 | 10.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049587 | 0.090226 | 133 | 6 | 80 | 22.166667 | 0.876033 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
45fd29268f245e6adf0f3f178a822df6e49b9e44 | 229 | py | Python | pycat/geometry/region.py | cmorace/pycat | 7abc53f90a03b4961c10003eaca2c01efec9e4d2 | [
"MIT"
] | null | null | null | pycat/geometry/region.py | cmorace/pycat | 7abc53f90a03b4961c10003eaca2c01efec9e4d2 | [
"MIT"
] | null | null | null | pycat/geometry/region.py | cmorace/pycat | 7abc53f90a03b4961c10003eaca2c01efec9e4d2 | [
"MIT"
] | null | null | null | def point_in_region(lower_left_corner, upper_right_corner, x, y):
return (
x >= lower_left_corner.x
and x <= upper_right_corner.x
and y >= lower_left_corner.y
and y <= upper_right_corner.y) | 38.166667 | 65 | 0.646288 | 36 | 229 | 3.722222 | 0.361111 | 0.201493 | 0.335821 | 0.253731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266376 | 229 | 6 | 66 | 38.166667 | 0.797619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
344097347d47587f965f766eed7066179c42fd55 | 42 | py | Python | hello.py | adi9er/cs3240-labdemo | 464a84cc4e6e41f153d1c79782e0cc7140275805 | [
"MIT"
] | null | null | null | hello.py | adi9er/cs3240-labdemo | 464a84cc4e6e41f153d1c79782e0cc7140275805 | [
"MIT"
] | null | null | null | hello.py | adi9er/cs3240-labdemo | 464a84cc4e6e41f153d1c79782e0cc7140275805 | [
"MIT"
] | null | null | null | def main():
print('hello world!')
main() | 10.5 | 22 | 0.619048 | 6 | 42 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 4 | 23 | 10.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.333333 | 0.333333 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cace46728655e03881bd019502d84e4c7b19348d | 202 | py | Python | src/python/twitter/common/python/http/tracer.py | wfarner/commons | 42988a7a49f012665174538cca53604c7846ee86 | [
"Apache-2.0"
] | 1 | 2019-12-20T14:13:27.000Z | 2019-12-20T14:13:27.000Z | src/python/twitter/common/python/http/tracer.py | wfarner/commons | 42988a7a49f012665174538cca53604c7846ee86 | [
"Apache-2.0"
] | null | null | null | src/python/twitter/common/python/http/tracer.py | wfarner/commons | 42988a7a49f012665174538cca53604c7846ee86 | [
"Apache-2.0"
] | 1 | 2019-12-20T14:13:29.000Z | 2019-12-20T14:13:29.000Z | from twitter.common.python.tracer import Tracer
__all__ = ('TRACER',)
TRACER = Tracer(predicate=Tracer.env_filter('TWITTER_COMMON_PYTHON_HTTP'),
prefix='twitter.common.python.http: ')
| 28.857143 | 74 | 0.722772 | 24 | 202 | 5.75 | 0.5 | 0.282609 | 0.413043 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 202 | 6 | 75 | 33.666667 | 0.802326 | 0 | 0 | 0 | 0 | 0 | 0.29703 | 0.262376 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cadc7e73affd3bb1ba6b28204c2e3773d7d9b33c | 593 | py | Python | libraries/morflessLibs.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | libraries/morflessLibs.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | libraries/morflessLibs.py | MickyHCorbett/MorfLess | 9761197d7767c250cc27262e1ab41adf21c59333 | [
"MIT"
] | null | null | null | # master morfless libraries from libraries import
from libraries import constants
from libraries import globals
from libraries import schematics
from libraries import header
from libraries import footer
from libraries import main
from libraries import before_after
from libraries import html_elements
from libraries impo... | 31.210526 | 49 | 0.876897 | 79 | 593 | 6.468354 | 0.341772 | 0.432485 | 0.632094 | 0.105675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121417 | 593 | 18 | 50 | 32.944444 | 0.980806 | 0.079258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
1b0ffb5c74bb3e8a3d3dd9a153ff75ee5b45f74f | 166 | py | Python | days/55-57-uplink/my_demo/uplink_helpers.py | pgmilenkov/100daysofcode-with-python-course | ee8e828dea3095e3d8196397ac6d770fd001e73e | [
"MIT"
] | null | null | null | days/55-57-uplink/my_demo/uplink_helpers.py | pgmilenkov/100daysofcode-with-python-course | ee8e828dea3095e3d8196397ac6d770fd001e73e | [
"MIT"
] | null | null | null | days/55-57-uplink/my_demo/uplink_helpers.py | pgmilenkov/100daysofcode-with-python-course | ee8e828dea3095e3d8196397ac6d770fd001e73e | [
"MIT"
] | null | null | null | import requests
import uplink
@uplink.response_handler
def raise_for_status(response: requests.models.Response):
response.raise_for_status()
return response
| 20.75 | 57 | 0.813253 | 21 | 166 | 6.190476 | 0.52381 | 0.123077 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 166 | 7 | 58 | 23.714286 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b164d81a7151d2b85b30216d89bc502e7d612d7 | 323 | py | Python | trainer/trainer.py | WeijieChen2017/MMIPS | 1e4cd1f1d046b50e73233065acb4ecc5150bff31 | [
"MIT"
] | null | null | null | trainer/trainer.py | WeijieChen2017/MMIPS | 1e4cd1f1d046b50e73233065acb4ecc5150bff31 | [
"MIT"
] | null | null | null | trainer/trainer.py | WeijieChen2017/MMIPS | 1e4cd1f1d046b50e73233065acb4ecc5150bff31 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
from basic_class.basic_class import basic_class
class trainer_supervisor(basic_class):
def __init__(self, conf_file):
super().__init__()
self.conf_file = conf_file
def train_exp(self):
pass
def excute(self):
pass
return N... | 19 | 47 | 0.634675 | 42 | 323 | 4.47619 | 0.571429 | 0.212766 | 0.12766 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004167 | 0.256966 | 323 | 17 | 48 | 19 | 0.779167 | 0.117647 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0.1 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
1b200b5739f6316aa5ce001f613b56cfe54b88f6 | 66 | py | Python | tapis_cli/commands/taccapis/v2/actors/manage/__init__.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 8 | 2020-10-18T22:48:23.000Z | 2022-01-10T09:16:14.000Z | tapis_cli/commands/taccapis/v2/actors/manage/__init__.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 238 | 2019-09-04T14:37:54.000Z | 2020-04-15T16:24:24.000Z | tapis_cli/commands/taccapis/v2/actors/manage/__init__.py | bpachev/tapis-cli | c3128fb5b63ef74e06b737bbd95ef28fb24f0d32 | [
"BSD-3-Clause"
] | 5 | 2019-09-20T04:23:49.000Z | 2020-01-16T17:45:14.000Z | from .create import ActorsCreate
from .update import ActorsUpdate
| 22 | 32 | 0.848485 | 8 | 66 | 7 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 2 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b2ac11a8382edaa979260ba4cbb9241af578a26 | 190 | py | Python | src/app/database/__init__.py | SergioMartinezUCLM/sergio_martinez_cid_practicas_sma_2021 | b248d6562ee0485e65ecb29747813992cb696888 | [
"MIT"
] | null | null | null | src/app/database/__init__.py | SergioMartinezUCLM/sergio_martinez_cid_practicas_sma_2021 | b248d6562ee0485e65ecb29747813992cb696888 | [
"MIT"
] | null | null | null | src/app/database/__init__.py | SergioMartinezUCLM/sergio_martinez_cid_practicas_sma_2021 | b248d6562ee0485e65ecb29747813992cb696888 | [
"MIT"
] | null | null | null | # pylint: disable=unused-import
from .database import db
from .base_url import BaseUrl
from .functionality_regex import FunctionalityRegex
from .joke import Joke
from .answer import Answer
| 27.142857 | 51 | 0.826316 | 26 | 190 | 5.961538 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 190 | 6 | 52 | 31.666667 | 0.933735 | 0.152632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b96c6182bcb79419b458c4ca6c0191ba6f46a85 | 32 | py | Python | config/custom_components/hydroquebec/__init__.py | llluis/home-assistant | 29f6569141db7353355f74655daf8f5ac8b2762e | [
"Apache-2.0"
] | 3 | 2020-01-03T01:39:32.000Z | 2020-07-26T23:25:16.000Z | config/custom_components/hydroquebec/__init__.py | llluis/home-assistant | 29f6569141db7353355f74655daf8f5ac8b2762e | [
"Apache-2.0"
] | 1 | 2020-02-28T23:55:43.000Z | 2020-02-28T23:55:43.000Z | config/custom_components/hydroquebec/__init__.py | llluis/home-assistant | 29f6569141db7353355f74655daf8f5ac8b2762e | [
"Apache-2.0"
] | 2 | 2020-02-13T03:19:49.000Z | 2021-02-05T17:34:42.000Z | """The hydroquebec component.""" | 32 | 32 | 0.71875 | 3 | 32 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 32 | 1 | 32 | 32 | 0.766667 | 0.8125 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ba85ad9ff4612544606610d9db280abb42e38b3 | 52 | py | Python | sums/sumodds.py | dmoney/seeandsay | f930c305d8bb9d8d07bdc33dd4d699d7e6beb8eb | [
"MIT"
] | null | null | null | sums/sumodds.py | dmoney/seeandsay | f930c305d8bb9d8d07bdc33dd4d699d7e6beb8eb | [
"MIT"
] | null | null | null | sums/sumodds.py | dmoney/seeandsay | f930c305d8bb9d8d07bdc33dd4d699d7e6beb8eb | [
"MIT"
] | null | null | null | print(sum(i for i in range(1000000) if i % 2 != 0))
| 26 | 51 | 0.615385 | 12 | 52 | 2.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0.211538 | 52 | 1 | 52 | 52 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9433cb517b084b9fa090bdfb13c181d37e02c432 | 12,332 | py | Python | tests_python/tests_alpha/test_legacy_snapshots.py | daachi/tezos | 00118e91ff13bb54ff658907ed8ffc1c4d3d2266 | [
"MIT"
] | null | null | null | tests_python/tests_alpha/test_legacy_snapshots.py | daachi/tezos | 00118e91ff13bb54ff658907ed8ffc1c4d3d2266 | [
"MIT"
] | null | null | null | tests_python/tests_alpha/test_legacy_snapshots.py | daachi/tezos | 00118e91ff13bb54ff658907ed8ffc1c4d3d2266 | [
"MIT"
] | null | null | null | import shutil
import pytest
from tools import utils, paths, constants
PARAMS = constants.NODE_PARAMS
# Defines the number of blocks to bake in the following test. This
# constant should be higher than max_op_ttl and should be a multiple
# of the cycle length (8 in sandboxed mode)
BATCH = 160
HOME = paths.TEZOS_HOME
... | 34.836158 | 79 | 0.630636 | 1,356 | 12,332 | 5.385693 | 0.101032 | 0.042722 | 0.102698 | 0.084897 | 0.798165 | 0.782829 | 0.758045 | 0.758045 | 0.733945 | 0.720115 | 0 | 0.008859 | 0.276922 | 12,332 | 353 | 80 | 34.934844 | 0.810138 | 0.084252 | 0 | 0.673759 | 0 | 0 | 0.060823 | 0.011149 | 0 | 0 | 0 | 0 | 0.014184 | 1 | 0.078014 | false | 0 | 0.046099 | 0 | 0.12766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
944cff0eb7232cf24f9f26c3ebdf4a4810951ef8 | 149 | py | Python | bettermqtt/__init__.py | David-Lor/Python-Enhanced-MQTT-Client | 71fed874618d92f01efba8bc40068a8d78013d82 | [
"Apache-2.0"
] | 2 | 2020-01-17T22:34:09.000Z | 2021-01-14T18:45:17.000Z | bettermqtt/__init__.py | David-Lor/Python-Enhanced-MQTT-Client | 71fed874618d92f01efba8bc40068a8d78013d82 | [
"Apache-2.0"
] | null | null | null | bettermqtt/__init__.py | David-Lor/Python-Enhanced-MQTT-Client | 71fed874618d92f01efba8bc40068a8d78013d82 | [
"Apache-2.0"
] | 1 | 2020-01-17T22:36:17.000Z | 2020-01-17T22:36:17.000Z | from .client import MQTTClient
from paho.mqtt.client import MQTTMessage, MQTTMessageInfo
__all__ = ("MQTTClient", "MQTTMessage", "MQTTMessageInfo")
| 29.8 | 58 | 0.798658 | 15 | 149 | 7.666667 | 0.6 | 0.208696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100671 | 149 | 4 | 59 | 37.25 | 0.858209 | 0 | 0 | 0 | 0 | 0 | 0.241611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9471f8f0cc4fd9e4977ad74f3ee6b36d60771410 | 106 | py | Python | tcex/inputs/__init__.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 18 | 2017-01-09T22:17:49.000Z | 2022-01-24T20:46:42.000Z | tcex/inputs/__init__.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 84 | 2017-04-11T13:47:49.000Z | 2022-03-21T20:12:57.000Z | tcex/inputs/__init__.py | kdeltared/tcex | 818c0d09256764f871e42d9ca5916f92d941d882 | [
"Apache-2.0"
] | 43 | 2017-01-05T20:40:26.000Z | 2022-03-31T19:18:02.000Z | """Inputs module for TcEx Framework"""
# flake8: noqa
# first-party
from tcex.inputs.inputs import Inputs
| 21.2 | 38 | 0.754717 | 15 | 106 | 5.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01087 | 0.132075 | 106 | 4 | 39 | 26.5 | 0.858696 | 0.54717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
94734e5a623a9eb0db41f7b66775d104800b4602 | 113 | py | Python | trailscraper/record_sources/__init__.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | 497 | 2018-01-08T15:36:05.000Z | 2022-03-30T14:11:54.000Z | trailscraper/record_sources/__init__.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | 97 | 2017-11-26T13:52:20.000Z | 2022-02-07T01:36:10.000Z | trailscraper/record_sources/__init__.py | ocefpaf/trailscraper | 1db91df5738f19d022760eda08ef310c73090b57 | [
"Apache-2.0"
] | 26 | 2019-04-04T21:37:29.000Z | 2022-02-18T10:23:07.000Z | """Package containing classes that represent a source of CloudTrail records, e.g. from an API or disk storage"""
| 56.5 | 112 | 0.769912 | 18 | 113 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150442 | 113 | 1 | 113 | 113 | 0.90625 | 0.938053 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
84b4a9fb15c5c40c77a719929c27806d444d7498 | 46 | py | Python | fbgbp/errors.py | Lioscro/fbgbp | 83ecc78fa5a3cd38b7f4706eb2342edb34057281 | [
"MIT"
] | null | null | null | fbgbp/errors.py | Lioscro/fbgbp | 83ecc78fa5a3cd38b7f4706eb2342edb34057281 | [
"MIT"
] | 1 | 2022-01-04T21:19:50.000Z | 2022-01-16T18:56:53.000Z | fbgbp/errors.py | Lioscro/fbgbp | 83ecc78fa5a3cd38b7f4706eb2342edb34057281 | [
"MIT"
] | null | null | null | class BeliefPropagationError(Exception): pass
| 23 | 45 | 0.869565 | 4 | 46 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 46 | 1 | 46 | 46 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
84cfc78b09062475d34c0d34783ba1dbc11cf49a | 513 | py | Python | stubs/ev3_pybricks_v1_0_0/websocket.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/ev3_pybricks_v1_0_0/websocket.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | stubs/ev3_pybricks_v1_0_0/websocket.py | mattytrentini/micropython-stubs | 4d596273823b69e9e5bcf5fa67f249c374ee0bbc | [
"MIT"
] | null | null | null | """
Module: 'websocket' on LEGO EV3 v1.0.0
"""
# MCU: sysname=ev3, nodename=ev3, release=('v1.0.0',), version=('0.0.0',), machine=ev3
# Stubber: 1.3.2 - updated
from typing import Any
class websocket:
""""""
def close(self, *argv) -> Any:
pass
def ioctl(self, *argv) -> Any:
pass
def... | 17.689655 | 86 | 0.538012 | 70 | 513 | 3.942857 | 0.471429 | 0.173913 | 0.23913 | 0.326087 | 0.326087 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043716 | 0.28655 | 513 | 28 | 87 | 18.321429 | 0.710383 | 0.290448 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.428571 | 0.071429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
ca0b9a3cda2b18eff2a8cdfd6eb9447c883e559a | 4,839 | py | Python | backend/api/migrations/0090_modelyearreport_modelyearreportconfirmation_modelyearreporthistory_modelyearreportmake.py | kuanfan99/zeva | 57b506a108fe57438506569d5503c90c52216b2f | [
"Apache-2.0"
] | 3 | 2020-03-25T03:06:20.000Z | 2021-01-20T23:36:03.000Z | backend/api/migrations/0090_modelyearreport_modelyearreportconfirmation_modelyearreporthistory_modelyearreportmake.py | kuanfan99/zeva | 57b506a108fe57438506569d5503c90c52216b2f | [
"Apache-2.0"
] | 740 | 2019-12-16T15:53:39.000Z | 2022-03-26T08:25:10.000Z | backend/api/migrations/0090_modelyearreport_modelyearreportconfirmation_modelyearreporthistory_modelyearreportmake.py | kuanfan99/zeva | 57b506a108fe57438506569d5503c90c52216b2f | [
"Apache-2.0"
] | 11 | 2019-11-28T20:39:15.000Z | 2022-01-31T17:53:31.000Z | # Generated by Django 3.0.7 on 2021-02-10 20:45
import api.models.model_year_report_statuses
import db_comments.model_mixins
from django.db import migrations, models
import django.db.models.deletion
import enumfields.fields
class Migration(migrations.Migration):
dependencies = [
('api', '0089_auto_20210... | 56.267442 | 196 | 0.633602 | 503 | 4,839 | 5.842942 | 0.202783 | 0.045934 | 0.071453 | 0.087104 | 0.776114 | 0.765567 | 0.724736 | 0.724736 | 0.687649 | 0.636271 | 0 | 0.018664 | 0.235999 | 4,839 | 85 | 197 | 56.929412 | 0.776305 | 0.009299 | 0 | 0.582278 | 1 | 0 | 0.184474 | 0.065735 | 0 | 0 | 0 | 0 | 0.012658 | 1 | 0 | false | 0 | 0.063291 | 0 | 0.101266 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 5 |
ca168e2932e77320a9892485ad0a4fda4e24377a | 53 | py | Python | app/orders/domain/exceptions/product_option_does_not_exist.py | jcazallasc/burriking-citibox | 30f0a4520bedb6b9ba613e8cf279b37f0cc60704 | [
"MIT"
] | null | null | null | app/orders/domain/exceptions/product_option_does_not_exist.py | jcazallasc/burriking-citibox | 30f0a4520bedb6b9ba613e8cf279b37f0cc60704 | [
"MIT"
] | null | null | null | app/orders/domain/exceptions/product_option_does_not_exist.py | jcazallasc/burriking-citibox | 30f0a4520bedb6b9ba613e8cf279b37f0cc60704 | [
"MIT"
] | null | null | null | class ProductOptionDoesNotExist(Exception):
pass
| 17.666667 | 43 | 0.811321 | 4 | 53 | 10.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 44 | 26.5 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ca60181056496f0e6a552fce5f145220e8021420 | 426 | py | Python | dataset/rename_tfrecords.py | bw2color/bw2color | b8451ac6aa5dd9475c9722dc13009a9ea629b676 | [
"MIT"
] | 23 | 2018-08-16T12:50:01.000Z | 2021-12-27T13:13:10.000Z | dataset/rename_tfrecords.py | bw2color/bw2color | b8451ac6aa5dd9475c9722dc13009a9ea629b676 | [
"MIT"
] | 22 | 2018-08-27T04:49:57.000Z | 2022-03-11T23:43:18.000Z | dataset/rename_tfrecords.py | bw2color/bw2color | b8451ac6aa5dd9475c9722dc13009a9ea629b676 | [
"MIT"
] | 7 | 2018-08-27T15:32:59.000Z | 2020-04-20T14:48:40.000Z | import os
import hashlib
path = '/root/imagenet/tf_val/lab_images_'
'.tfrecord'
count = 16
for num in range(count):
print('/root/imagenet/tf_val/lab_images_' + str(num) + ".tfrecord")
print('/root/imagenet/tf_val/val_lab_images_' + str(num) + ".tfrecord")
os.rename('/root/imagenet/tf_val/lab_images_' ... | 30.428571 | 79 | 0.669014 | 61 | 426 | 4.393443 | 0.327869 | 0.223881 | 0.261194 | 0.317164 | 0.753731 | 0.716418 | 0.619403 | 0.619403 | 0.619403 | 0.320896 | 0 | 0.005571 | 0.157277 | 426 | 14 | 79 | 30.428571 | 0.740947 | 0 | 0 | 0 | 0 | 0 | 0.510539 | 0.405152 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0476c57ed5b65a8d127de73526f870ecc995f8f0 | 69 | py | Python | py/swap.py | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | null | null | null | py/swap.py | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | 1 | 2020-04-12T07:48:18.000Z | 2020-04-12T07:49:29.000Z | py/swap.py | coalpha/coalpha.github.io | 8a620314a5c0bcbe2225d29f733379d181534430 | [
"Apache-2.0"
] | 1 | 2020-09-30T05:27:07.000Z | 2020-09-30T05:27:07.000Z | def swap(data, a, b) -> None:
data[a], data[b] = data[b], data[a]
| 23 | 38 | 0.536232 | 14 | 69 | 2.642857 | 0.428571 | 0.405405 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 69 | 2 | 39 | 34.5 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0491dfb78cf2bd6977c591b36b406b65b7fe9a24 | 69 | py | Python | quantbt/__init__.py | helloiamivan/quantbt | c1cc801379c4da288f8e662300cadac811b66835 | [
"MIT"
] | null | null | null | quantbt/__init__.py | helloiamivan/quantbt | c1cc801379c4da288f8e662300cadac811b66835 | [
"MIT"
] | null | null | null | quantbt/__init__.py | helloiamivan/quantbt | c1cc801379c4da288f8e662300cadac811b66835 | [
"MIT"
] | null | null | null | from .portfolio import *
from .analytics import *
from .data import * | 23 | 24 | 0.753623 | 9 | 69 | 5.777778 | 0.555556 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 69 | 3 | 25 | 23 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
04e097b57072fc1eeadfd6f144c3c543561d7412 | 607 | py | Python | flask_admin/tests/test_tools.py | caffeinatedMike/flask-admin | 6058c0759d288bf5b72f9c8a1041a680e1d6c1e0 | [
"BSD-3-Clause"
] | 4,440 | 2015-04-20T20:02:33.000Z | 2022-03-30T15:53:57.000Z | flask_admin/tests/test_tools.py | caffeinatedMike/flask-admin | 6058c0759d288bf5b72f9c8a1041a680e1d6c1e0 | [
"BSD-3-Clause"
] | 1,214 | 2015-04-20T15:34:53.000Z | 2022-03-31T15:34:39.000Z | flask_admin/tests/test_tools.py | caffeinatedMike/flask-admin | 6058c0759d288bf5b72f9c8a1041a680e1d6c1e0 | [
"BSD-3-Clause"
] | 1,551 | 2015-04-24T09:18:48.000Z | 2022-03-31T01:38:44.000Z | from flask_admin import tools
def test_encode_decode():
assert tools.iterdecode(tools.iterencode([1, 2, 3])) == (u'1', u'2', u'3')
assert tools.iterdecode(tools.iterencode([',', ',', ','])) == (u',', u',', u',')
assert tools.iterdecode(tools.iterencode(['.hello.,', ',', ','])) == (u'.hello.,', u',', u',... | 33.722222 | 99 | 0.545305 | 66 | 607 | 4.969697 | 0.348485 | 0.234756 | 0.448171 | 0.396341 | 0.567073 | 0.457317 | 0.231707 | 0 | 0 | 0 | 0 | 0.011605 | 0.14827 | 607 | 17 | 100 | 35.705882 | 0.622824 | 0.054366 | 0 | 0 | 0 | 0 | 0.120629 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 1 | 0.111111 | true | 0 | 0.111111 | 0 | 0.222222 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b6bf35ffa3f3813e9ee453954d0b5871eb1c00a3 | 33 | py | Python | chpt-1/test.py | apocryphalOzy/neural-networks-from-scratch | 433cf21c7355c737975609fa1c0fd029ad6c3165 | [
"MIT"
] | null | null | null | chpt-1/test.py | apocryphalOzy/neural-networks-from-scratch | 433cf21c7355c737975609fa1c0fd029ad6c3165 | [
"MIT"
] | null | null | null | chpt-1/test.py | apocryphalOzy/neural-networks-from-scratch | 433cf21c7355c737975609fa1c0fd029ad6c3165 | [
"MIT"
] | null | null | null | print(input('Whats your name'));
| 16.5 | 32 | 0.69697 | 5 | 33 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 33 | 1 | 33 | 33 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
8e4a6d2c84b3d2956adc0638df8fcb9aa0b8567e | 93 | py | Python | 03/3.py | benhaney/Project-Euler | 16c396d9018179bd00f79150e1c4e1a84ff863b5 | [
"CC0-1.0"
] | null | null | null | 03/3.py | benhaney/Project-Euler | 16c396d9018179bd00f79150e1c4e1a84ff863b5 | [
"CC0-1.0"
] | null | null | null | 03/3.py | benhaney/Project-Euler | 16c396d9018179bd00f79150e1c4e1a84ff863b5 | [
"CC0-1.0"
] | null | null | null | d, n = 3, 600851475143
while (d * d < n):
if n % d == 0: n /= d
else: d += 2
print n
| 15.5 | 25 | 0.451613 | 19 | 93 | 2.210526 | 0.526316 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254237 | 0.365591 | 93 | 5 | 26 | 18.6 | 0.457627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d1114e92633dba0e73e90376bafc6fe261f3b35 | 85 | py | Python | ETCetera/exceptions/parser_exceptions/__init__.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | null | null | null | ETCetera/exceptions/parser_exceptions/__init__.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | null | null | null | ETCetera/exceptions/parser_exceptions/__init__.py | ggleizer/ETCetera | 8fa9f3c82fd1944507a0c02d52a236244821f3ca | [
"MIT"
] | 1 | 2022-03-11T11:15:20.000Z | 2022-03-11T11:15:20.000Z | from .general_parser_exception import *
from .symbolic_expression_exceptions import * | 42.5 | 45 | 0.870588 | 10 | 85 | 7 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082353 | 85 | 2 | 45 | 42.5 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d1d083e613fb6a5826cfe7d963f66defff01e97 | 45 | py | Python | tests/__init__.py | ppalazon/pyclip2org | c89fe2127b3ba1d04f09db73a5e19d643ba47385 | [
"MIT"
] | 1 | 2021-06-28T05:18:53.000Z | 2021-06-28T05:18:53.000Z | tests/__init__.py | ppalazon/pyclip2org | c89fe2127b3ba1d04f09db73a5e19d643ba47385 | [
"MIT"
] | 43 | 2020-12-16T04:59:14.000Z | 2021-06-28T05:25:12.000Z | tests/__init__.py | ppalazon/pyclip2org | c89fe2127b3ba1d04f09db73a5e19d643ba47385 | [
"MIT"
] | null | null | null | """Test suite for the pyclip2org package."""
| 22.5 | 44 | 0.711111 | 6 | 45 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.133333 | 45 | 1 | 45 | 45 | 0.794872 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6d3f7651d7fcc69fb2d15c32ebc6a478e5a447f0 | 1,958 | py | Python | test/run.py | RomainAmuat/apt_project | 520281a09756816f6297e3f35b42bce2ab12973b | [
"MIT"
] | null | null | null | test/run.py | RomainAmuat/apt_project | 520281a09756816f6297e3f35b42bce2ab12973b | [
"MIT"
] | null | null | null | test/run.py | RomainAmuat/apt_project | 520281a09756816f6297e3f35b42bce2ab12973b | [
"MIT"
] | null | null | null | import requests
import json
print("Player 1 creation ...")
r = requests.post("http://127.0.0.1:9080/player")
j = json.loads(r.text)
print(r)
i1 = str(j["id_player"])
print("Player 1 read ...")
r = requests.get("http://127.0.0.1:9080/player/" + i1)
j = json.loads(r.text)
print(r)
print("Player 2 creation ...")
r = re... | 22 | 78 | 0.604188 | 344 | 1,958 | 3.369186 | 0.125 | 0.067299 | 0.08283 | 0.093184 | 0.839517 | 0.788611 | 0.788611 | 0.710095 | 0.710095 | 0.592752 | 0 | 0.090416 | 0.152707 | 1,958 | 89 | 79 | 22 | 0.608198 | 0 | 0 | 0.631579 | 0 | 0 | 0.39612 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.026316 | 0.315789 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed8d9b1119f5b42c062476a00d65a8ca72986690 | 12,422 | py | Python | tests/management/commands/test_drop_test_database.py | dankgen-tobias/django-extensions | eb2ca8b773eb2badaa72590813b0f9b19ec8c8e8 | [
"MIT"
] | 4,057 | 2015-01-01T17:56:25.000Z | 2022-03-31T16:32:40.000Z | tests/management/commands/test_drop_test_database.py | dankgen-tobias/django-extensions | eb2ca8b773eb2badaa72590813b0f9b19ec8c8e8 | [
"MIT"
] | 1,115 | 2015-01-01T14:59:38.000Z | 2022-03-28T22:05:55.000Z | tests/management/commands/test_drop_test_database.py | dankgen-tobias/django-extensions | eb2ca8b773eb2badaa72590813b0f9b19ec8c8e8 | [
"MIT"
] | 951 | 2015-01-02T16:57:26.000Z | 2022-03-28T21:42:22.000Z | # -*- coding: utf-8 -*-
from io import StringIO
from unittest.mock import MagicMock, Mock, PropertyMock, call, patch
from django.core.management import CommandError, call_command
from django.test import TestCase
from django.test.utils import override_settings
# Database testing configurations
UNKOWN_ENGINE = {
... | 40.070968 | 117 | 0.633553 | 1,413 | 12,422 | 5.298655 | 0.122435 | 0.027781 | 0.03633 | 0.035528 | 0.855082 | 0.805396 | 0.750902 | 0.724189 | 0.692534 | 0.692534 | 0 | 0.007692 | 0.256963 | 12,422 | 309 | 118 | 40.200647 | 0.803467 | 0.080824 | 0 | 0.608333 | 0 | 0 | 0.251187 | 0.040693 | 0 | 0 | 0 | 0 | 0.079167 | 1 | 0.054167 | false | 0.0125 | 0.020833 | 0 | 0.083333 | 0.008333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eda5a9ea9aa40a6c6c86f42404761194695cc0c7 | 18,061 | py | Python | test.py | yzyouzhang/HBAS_chapter_voice3 | 95c34a5a315252eb7de26ed27b890e6a6429efa2 | [
"MIT"
] | null | null | null | test.py | yzyouzhang/HBAS_chapter_voice3 | 95c34a5a315252eb7de26ed27b890e6a6429efa2 | [
"MIT"
] | null | null | null | test.py | yzyouzhang/HBAS_chapter_voice3 | 95c34a5a315252eb7de26ed27b890e6a6429efa2 | [
"MIT"
] | null | null | null | import logging
import os
import torch
from torch.utils.model_zoo import tqdm
import random
import numpy as np
from dataset import *
from torch.utils.data import DataLoader
import torch.nn.functional as F
import eval_metrics as em
from evaluate_tDCF_asvspoof19 import compute_eer_and_tdcf
from utils import setup_seed
imp... | 45.379397 | 117 | 0.599247 | 2,285 | 18,061 | 4.5186 | 0.108534 | 0.044455 | 0.036513 | 0.048426 | 0.729588 | 0.713898 | 0.71293 | 0.711186 | 0.707893 | 0.705472 | 0 | 0.021594 | 0.27695 | 18,061 | 397 | 118 | 45.493703 | 0.769048 | 0.061015 | 0 | 0.679365 | 0 | 0 | 0.103727 | 0.028826 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022222 | false | 0 | 0.04127 | 0 | 0.08254 | 0.006349 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
edd8c77f046a0276bd0ff1615fc829e4189157d0 | 60 | py | Python | rested/validation/converters/integer.py | mochi-ai/rested | 94a8961f2297fd4a941417f4be47047d91a4aa00 | [
"MIT"
] | 1 | 2020-09-07T22:04:05.000Z | 2020-09-07T22:04:05.000Z | rested/validation/converters/integer.py | mochi-ai/rested | 94a8961f2297fd4a941417f4be47047d91a4aa00 | [
"MIT"
] | null | null | null | rested/validation/converters/integer.py | mochi-ai/rested | 94a8961f2297fd4a941417f4be47047d91a4aa00 | [
"MIT"
] | null | null | null | def integer(v, accept=None, reject=None):
return int(v)
| 20 | 41 | 0.683333 | 10 | 60 | 4.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 2 | 42 | 30 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
edeb7998f258d2c6807537d59fa48212f8633947 | 45 | py | Python | a.py | navinmoore/testspace | 6daf4a8fd09d4d029668b4b1fc42bd7e4741cb04 | [
"MIT"
] | null | null | null | a.py | navinmoore/testspace | 6daf4a8fd09d4d029668b4b1fc42bd7e4741cb04 | [
"MIT"
] | null | null | null | a.py | navinmoore/testspace | 6daf4a8fd09d4d029668b4b1fc42bd7e4741cb04 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
print("b")
print("a")
| 11.25 | 22 | 0.488889 | 7 | 45 | 3.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.133333 | 45 | 3 | 23 | 15 | 0.538462 | 0.444444 | 0 | 0 | 0 | 0 | 0.086957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b61dee763f9c8be6dad4826e2cac00474732409e | 240 | py | Python | Classes.py | Skyjaheim2/Sky-Reviews | de8e365e1a7d88ad35d131b899b59a03d873e5d9 | [
"MIT"
] | null | null | null | Classes.py | Skyjaheim2/Sky-Reviews | de8e365e1a7d88ad35d131b899b59a03d873e5d9 | [
"MIT"
] | null | null | null | Classes.py | Skyjaheim2/Sky-Reviews | de8e365e1a7d88ad35d131b899b59a03d873e5d9 | [
"MIT"
] | null | null | null | from datetime import date, timedelta, tzinfo, datetime
class EST(tzinfo):
def utcoffset(self, dt):
return timedelta(hours = -5)
def tzname(self, dt):
return "EST"
def dst(self, dt):
return timedelta(0) | 21.818182 | 54 | 0.625 | 31 | 240 | 4.83871 | 0.580645 | 0.12 | 0.24 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.266667 | 240 | 11 | 55 | 21.818182 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.012448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b65adbc70eb4bbb2e2bbfa8b45d660479ddd8c0c | 43 | py | Python | tests/components/cpuspeed/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/cpuspeed/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/cpuspeed/__init__.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the CPU Speed integration."""
| 21.5 | 42 | 0.697674 | 6 | 43 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 1 | 43 | 43 | 0.810811 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fcf3b90d4e8549266944de02f512e12ab4e089cf | 235 | py | Python | mumax3c/tests/test_init.py | ubermag/mumaxc | 73098ada436cb4e16699f33068a8391a679b49e9 | [
"BSD-3-Clause"
] | null | null | null | mumax3c/tests/test_init.py | ubermag/mumaxc | 73098ada436cb4e16699f33068a8391a679b49e9 | [
"BSD-3-Clause"
] | null | null | null | mumax3c/tests/test_init.py | ubermag/mumaxc | 73098ada436cb4e16699f33068a8391a679b49e9 | [
"BSD-3-Clause"
] | null | null | null | import mumax3c as mc
def test_version():
assert isinstance(mc.__version__, str)
assert "." in mc.__version__
def test_dependencies():
assert isinstance(mc.__dependencies__, list)
assert len(mc.__dependencies__) > 0
| 19.583333 | 48 | 0.72766 | 29 | 235 | 5.275862 | 0.517241 | 0.091503 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0.178723 | 235 | 11 | 49 | 21.363636 | 0.782383 | 0 | 0 | 0 | 0 | 0 | 0.004255 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 0 | 1 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1e18223c9cd4e2060789dacaa6bd80e6d00916de | 115 | py | Python | website/server/codenames/game/localcoopgame.py | mderijk/codenames | 7133a8e85243550dddf4a64e90c9550f3b9e2cb4 | [
"MIT"
] | 2 | 2021-06-10T20:53:06.000Z | 2021-06-11T10:45:16.000Z | website/server/codenames/game/localcoopgame.py | mderijk/codenames | 7133a8e85243550dddf4a64e90c9550f3b9e2cb4 | [
"MIT"
] | null | null | null | website/server/codenames/game/localcoopgame.py | mderijk/codenames | 7133a8e85243550dddf4a64e90c9550f3b9e2cb4 | [
"MIT"
] | 1 | 2021-07-26T07:05:38.000Z | 2021-07-26T07:05:38.000Z |
from . import game
class TwoPlayerGame(game.Game):
def __init__(self, users, possible_words, teams=None):
pass | 19.166667 | 55 | 0.756522 | 16 | 115 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 115 | 6 | 56 | 19.166667 | 0.828283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
1e8484613e8d44977202ca9b0b974cad63f59b16 | 162 | py | Python | pygismeteo/__init__.py | monosans/pygismeteo | f6238ffd7811aefa3366b73c6c082395682b3d27 | [
"MIT"
] | 5 | 2021-11-12T21:58:42.000Z | 2021-12-25T11:40:27.000Z | pygismeteo/__init__.py | monosans/pygismeteo | f6238ffd7811aefa3366b73c6c082395682b3d27 | [
"MIT"
] | 16 | 2021-11-15T17:52:54.000Z | 2022-03-25T15:26:28.000Z | pygismeteo/__init__.py | monosans/pygismeteo | f6238ffd7811aefa3366b73c6c082395682b3d27 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from pygismeteo._exceptions import LocalityNotFound
from pygismeteo._gismeteo import Gismeteo
__all__ = ("Gismeteo", "LocalityNotFound")
| 27 | 51 | 0.771605 | 16 | 162 | 7.4375 | 0.625 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.111111 | 162 | 5 | 52 | 32.4 | 0.819444 | 0.12963 | 0 | 0 | 0 | 0 | 0.172662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1e8fc089022112cd025dca2bfae6cf4fbebaa74d | 18,227 | py | Python | bot/codec_smiles.py | rombintu/project12 | a127b8c697cb6e7cc07ff9528a79888f72c4c4ca | [
"MIT"
] | null | null | null | bot/codec_smiles.py | rombintu/project12 | a127b8c697cb6e7cc07ff9528a79888f72c4c4ca | [
"MIT"
] | null | null | null | bot/codec_smiles.py | rombintu/project12 | a127b8c697cb6e7cc07ff9528a79888f72c4c4ca | [
"MIT"
] | null | null | null | smile_dict = [b"\xF0\x9F\x98\x81",
b"\xF0\x9F\x98\x82",
b"\xF0\x9F\x98\x83",
b"\xF0\x9F\x98\x84",
b"\xF0\x9F\x98\x85",
b"\xF0\x9F\x98\x86",
b"\xF0\x9F\x98\x89",
b"\xF0\x9F\x98\x8A",
b"\xF0\x9F\x98\x8B",
b"\xF0\x9F\x98\x8C",
b"\xF0\x9F\x98\x8D",
b"\xF0\x9F\x98\x8F",
b"\xF0\x9F\x98\x92",
b"\xF0\x9F\x98\x93",... | 21.62159 | 37 | 0.588248 | 4,134 | 18,227 | 2.593372 | 0.019836 | 0.405746 | 0.466841 | 0.059696 | 0.045518 | 0.007649 | 0.007649 | 0.004104 | 0 | 0 | 0 | 0.239163 | 0.0925 | 18,227 | 843 | 38 | 21.62159 | 0.408984 | 0 | 0 | 0 | 0 | 0 | 0.721966 | 0.017555 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1e96862607d9d93600087090ac0c7a1fc56022fa | 57 | py | Python | python/testData/selectWord/word/before.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/selectWord/word/before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/selectWord/word/before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | import os
def f(arg):
print a<caret>rg
print "a" | 11.4 | 20 | 0.596491 | 11 | 57 | 3.090909 | 0.818182 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 57 | 5 | 21 | 11.4 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
949986518f3cbb9f9fe4b2f65f197da4ca04396e | 184 | py | Python | molsysmt/tools/mdtraj_Topology/is_mdtraj_Topology.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/mdtraj_Topology/is_mdtraj_Topology.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | molsysmt/tools/mdtraj_Topology/is_mdtraj_Topology.py | dprada/molsysmt | 83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d | [
"MIT"
] | null | null | null | _item_fullname_='mdtraj.Topology'
def is_mdtraj_Topology(item):
item_fullname = item.__class__.__module__+'.'+item.__class__.__name__
return _item_fullname_==item_fullname
| 20.444444 | 73 | 0.788043 | 22 | 184 | 5.409091 | 0.454545 | 0.403361 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 184 | 8 | 74 | 23 | 0.72561 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
94b3b0bf6a360175df431fe9de8252c19009d467 | 124 | py | Python | inclearn/models/__init__.py | yaoyao-liu/POD-AANets | 01f10e8d66dfd78d9e6bd6dfcf8c95b10577045c | [
"MIT"
] | 5 | 2022-02-20T12:32:22.000Z | 2022-02-22T08:15:09.000Z | inclearn/models/__init__.py | yaoyao-liu/POD-AANets | 01f10e8d66dfd78d9e6bd6dfcf8c95b10577045c | [
"MIT"
] | null | null | null | inclearn/models/__init__.py | yaoyao-liu/POD-AANets | 01f10e8d66dfd78d9e6bd6dfcf8c95b10577045c | [
"MIT"
] | null | null | null | # flake8: noqa
from .base import IncrementalLearner
from .new_base import NewIncrementalLearner
from .rmm import RMMLearner
| 24.8 | 43 | 0.83871 | 15 | 124 | 6.866667 | 0.666667 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.120968 | 124 | 4 | 44 | 31 | 0.93578 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
94ddf2ff627f9203801017e77c920ddf44915359 | 268 | py | Python | tests/test_utils.py | ansrivas/docker-volume-manager | 42dd2424926d5cf1ce9f4dbbb6e609a5c7aa38de | [
"MIT"
] | 5 | 2017-06-02T08:27:08.000Z | 2019-03-14T13:56:02.000Z | tests/test_utils.py | ansrivas/docker-volume-manager | 42dd2424926d5cf1ce9f4dbbb6e609a5c7aa38de | [
"MIT"
] | 2 | 2017-06-13T16:16:32.000Z | 2020-09-28T04:18:08.000Z | tests/test_utils.py | ansrivas/docker-volume-manager | 42dd2424926d5cf1ce9f4dbbb6e609a5c7aa38de | [
"MIT"
] | null | null | null | # !/usr/bin/env python
# -*- coding: utf-8 -*-
"""Initialize test modules."""
import os
from app import utils
def test_get_filename_from_path():
"""Test filename."""
assert ["/abc/bcd", "test.tar.gz"] == utils.get_filename_from_path("/abc/bcd/test.tar.gz")
| 22.333333 | 94 | 0.660448 | 40 | 268 | 4.25 | 0.6 | 0.129412 | 0.176471 | 0.223529 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004329 | 0.13806 | 268 | 11 | 95 | 24.363636 | 0.731602 | 0.309701 | 0 | 0 | 0 | 0 | 0.225434 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
94f823a6c1fbd7b6d452b54582f430b7712f8860 | 199 | py | Python | app/grandchallenge/core/exceptions.py | Tommos0/grand-challenge.org | 187cd857f6a7c9651b7bda8c42c54801f071dd7c | [
"Apache-2.0"
] | null | null | null | app/grandchallenge/core/exceptions.py | Tommos0/grand-challenge.org | 187cd857f6a7c9651b7bda8c42c54801f071dd7c | [
"Apache-2.0"
] | null | null | null | app/grandchallenge/core/exceptions.py | Tommos0/grand-challenge.org | 187cd857f6a7c9651b7bda8c42c54801f071dd7c | [
"Apache-2.0"
] | null | null | null | class ComicException(Exception):
pass
class PathResolutionException(ComicException):
""" A path given to a COMIC template tag contained variables that could not
be resolved
"""
| 22.111111 | 79 | 0.718593 | 22 | 199 | 6.5 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221106 | 199 | 8 | 80 | 24.875 | 0.922581 | 0.417085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
a214f5437a483f4ffd13643c775a5294ed1de0c7 | 203 | py | Python | packages/pyright-internal/src/tests/samples/super8.py | Jasha10/pyright | 0ce0cfa10fe7faa41071a2cc417bb449cf8276fe | [
"MIT"
] | 3,934 | 2019-03-22T09:26:41.000Z | 2019-05-06T21:03:08.000Z | packages/pyright-internal/src/tests/samples/super8.py | Jasha10/pyright | 0ce0cfa10fe7faa41071a2cc417bb449cf8276fe | [
"MIT"
] | 107 | 2019-03-24T04:09:37.000Z | 2019-05-06T17:00:04.000Z | packages/pyright-internal/src/tests/samples/super8.py | Jasha10/pyright | 0ce0cfa10fe7faa41071a2cc417bb449cf8276fe | [
"MIT"
] | 119 | 2019-03-23T10:48:04.000Z | 2019-05-06T08:57:56.000Z | # This sample tests the case where super() is used within a metaclass
# __init__ method.
class Metaclass(type):
def __init__(self, name, bases, attrs):
super().__init__(name, bases, attrs)
| 25.375 | 69 | 0.699507 | 28 | 203 | 4.642857 | 0.75 | 0.138462 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197044 | 203 | 7 | 70 | 29 | 0.797546 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
bf697916cde5655bbca4ad5f1b86120aab2648f5 | 268 | py | Python | src/app/network/broker.py | acatalfano/distributed-systems-assignment-1 | 442510f14f2ae167b95a18bb458c2cf64f5caa87 | [
"MIT"
] | null | null | null | src/app/network/broker.py | acatalfano/distributed-systems-assignment-1 | 442510f14f2ae167b95a18bb458c2cf64f5caa87 | [
"MIT"
] | null | null | null | src/app/network/broker.py | acatalfano/distributed-systems-assignment-1 | 442510f14f2ae167b95a18bb458c2cf64f5caa87 | [
"MIT"
] | null | null | null | from abc import ABC
# TODO: need to also add a "connect" port (and "connect" method for host) so it can get a response to know
# if config is DIRECT or INDIRECT
class Broker(ABC):
# TODO: implement the "connect" port logic here (described above)
pass
| 26.8 | 106 | 0.697761 | 44 | 268 | 4.25 | 0.818182 | 0.074866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235075 | 268 | 9 | 107 | 29.777778 | 0.912195 | 0.768657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
bfbeb943846b4934485509a3d709b7c6140f62cd | 194 | py | Python | Engine/views.py | tosh99/DjangoStarter | f2e9a70caa0e5bd91e37ff5b361a4424e3f61e51 | [
"Apache-2.0"
] | null | null | null | Engine/views.py | tosh99/DjangoStarter | f2e9a70caa0e5bd91e37ff5b361a4424e3f61e51 | [
"Apache-2.0"
] | null | null | null | Engine/views.py | tosh99/DjangoStarter | f2e9a70caa0e5bd91e37ff5b361a4424e3f61e51 | [
"Apache-2.0"
] | null | null | null | from django.views.decorators.csrf import csrf_exempt
from Engine.apimanager.ApiManager import APIManager
@csrf_exempt
def resolveapi(request):
return APIManager().resolve_context(request)
| 24.25 | 52 | 0.829897 | 24 | 194 | 6.583333 | 0.625 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097938 | 194 | 7 | 53 | 27.714286 | 0.902857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
bfcd1a1d17dc4246a1737fb2edaa6245477f882d | 27 | py | Python | aliyun-python-sdk-dts/aliyunsdkdts/__init__.py | hetw/aliyun-openapi-python-sdk | 7443eacee9fbbaa93c7975c6dbec92d3c364c577 | [
"Apache-2.0"
] | 1 | 2020-12-05T03:03:46.000Z | 2020-12-05T03:03:46.000Z | aliyun-python-sdk-dts/aliyunsdkdts/__init__.py | hetw/aliyun-openapi-python-sdk | 7443eacee9fbbaa93c7975c6dbec92d3c364c577 | [
"Apache-2.0"
] | null | null | null | aliyun-python-sdk-dts/aliyunsdkdts/__init__.py | hetw/aliyun-openapi-python-sdk | 7443eacee9fbbaa93c7975c6dbec92d3c364c577 | [
"Apache-2.0"
] | null | null | null | __version__ = '5.0.96.19.5' | 27 | 27 | 0.666667 | 6 | 27 | 2.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0.074074 | 27 | 1 | 27 | 27 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
44b548b26f26fa1d0b1a3d62d0b8ecdbfb1f0c5f | 103 | py | Python | users_app/admin.py | mrm1415/users | eac1ae65460a9a020de5b7113c7e476f8c6e4243 | [
"MIT"
] | null | null | null | users_app/admin.py | mrm1415/users | eac1ae65460a9a020de5b7113c7e476f8c6e4243 | [
"MIT"
] | null | null | null | users_app/admin.py | mrm1415/users | eac1ae65460a9a020de5b7113c7e476f8c6e4243 | [
"MIT"
] | null | null | null | from django.contrib import admin
from users_app import models
admin.site.register(models.UserProfile)
| 20.6 | 39 | 0.84466 | 15 | 103 | 5.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 103 | 4 | 40 | 25.75 | 0.924731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
44ddaa4b3e0a2708220e0001ef5aadb4b70c32cd | 86 | py | Python | erpx_prulia/api/test.py | nickgandhi33/erpx-prulia | fbe41f5252c949d23683dccd98aa0837c0173b72 | [
"MIT"
] | null | null | null | erpx_prulia/api/test.py | nickgandhi33/erpx-prulia | fbe41f5252c949d23683dccd98aa0837c0173b72 | [
"MIT"
] | null | null | null | erpx_prulia/api/test.py | nickgandhi33/erpx-prulia | fbe41f5252c949d23683dccd98aa0837c0173b72 | [
"MIT"
] | null | null | null | import frappe
@frappe.whitelist()
def check_cors(test_data):
return test_data | 17.2 | 27 | 0.744186 | 12 | 86 | 5.083333 | 0.75 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174419 | 86 | 5 | 28 | 17.2 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
44fd9640f1a76b8308b5595590906be3686f701c | 146 | py | Python | src/poliastro/plotting/__init__.py | azlkiniue/poliastro | fedec503390fcb7ee375e278d1c9d7b2c570506f | [
"MIT"
] | null | null | null | src/poliastro/plotting/__init__.py | azlkiniue/poliastro | fedec503390fcb7ee375e278d1c9d7b2c570506f | [
"MIT"
] | 1 | 2019-04-09T17:42:55.000Z | 2019-04-19T22:48:14.000Z | src/poliastro/plotting/__init__.py | azlkiniue/poliastro | fedec503390fcb7ee375e278d1c9d7b2c570506f | [
"MIT"
] | null | null | null | from .core import OrbitPlotter2D, OrbitPlotter3D
from .static import OrbitPlotter
__all__ = ["OrbitPlotter2D", "OrbitPlotter3D", "OrbitPlotter"]
| 29.2 | 62 | 0.80137 | 13 | 146 | 8.692308 | 0.615385 | 0.495575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030534 | 0.10274 | 146 | 4 | 63 | 36.5 | 0.832061 | 0 | 0 | 0 | 0 | 0 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
781519b9e17ef695da6afe60c225584d678da8c4 | 161 | py | Python | serverapp/admin.py | khavitidala/tubes-sisterpar-gRPC | d4afc880216deab80a1cf61839dd8aa8d4197947 | [
"MIT"
] | null | null | null | serverapp/admin.py | khavitidala/tubes-sisterpar-gRPC | d4afc880216deab80a1cf61839dd8aa8d4197947 | [
"MIT"
] | null | null | null | serverapp/admin.py | khavitidala/tubes-sisterpar-gRPC | d4afc880216deab80a1cf61839dd8aa8d4197947 | [
"MIT"
] | null | null | null | from django.contrib import admin
from serverapp.models import NIK, Penduduk
# Register your models here.
admin.site.register(NIK)
admin.site.register(Penduduk)
| 23 | 42 | 0.813665 | 23 | 161 | 5.695652 | 0.565217 | 0.137405 | 0.259542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10559 | 161 | 6 | 43 | 26.833333 | 0.909722 | 0.161491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
783ab95a9b70934f55c3b5262d5536e48c33c478 | 40 | py | Python | tests/__init__.py | hemna/vmwaretool | 5cdafee63c51614b87351b0beb8ae96f084a2459 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | hemna/vmwaretool | 5cdafee63c51614b87351b0beb8ae96f084a2459 | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | hemna/vmwaretool | 5cdafee63c51614b87351b0beb8ae96f084a2459 | [
"Apache-2.0"
] | null | null | null | """Unit test package for vmwaretool."""
| 20 | 39 | 0.7 | 5 | 40 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 40 | 1 | 40 | 40 | 0.8 | 0.825 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
78470a09dec03942152a0280b71641121fac6a0f | 71 | py | Python | slime/py/shell.py | kkiningh/slime | 85853115e284bda35b3da10957823d23428b65d3 | [
"Apache-2.0"
] | null | null | null | slime/py/shell.py | kkiningh/slime | 85853115e284bda35b3da10957823d23428b65d3 | [
"Apache-2.0"
] | null | null | null | slime/py/shell.py | kkiningh/slime | 85853115e284bda35b3da10957823d23428b65d3 | [
"Apache-2.0"
] | null | null | null | from slime.rtl.bindings import verilator
import ipdb
ipdb.set_trace()
| 14.2 | 40 | 0.816901 | 11 | 71 | 5.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 4 | 41 | 17.75 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
785186fd28710d8d027647de6366d5bddc2760cb | 151 | py | Python | AppServer/lib/django-1.5/django/contrib/localflavor/__init__.py | loftwah/appscale | 586fc1347ebc743d7a632de698f4dbfb09ae38d6 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | AppServer/lib/django-1.5/django/contrib/localflavor/__init__.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | AppServer/lib/django-1.5/django/contrib/localflavor/__init__.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | import warnings
warnings.warn("django.contrib.localflavor is deprecated. Use the separate django-localflavor-* packages instead.", DeprecationWarning)
| 50.333333 | 134 | 0.834437 | 17 | 151 | 7.411765 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 151 | 2 | 135 | 75.5 | 0.906475 | 0 | 0 | 0 | 0 | 0 | 0.642384 | 0.172185 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
78746c8fd9c1751b362b982a0b1204963012b834 | 125 | py | Python | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/lynx/calculators/calc_rail.py | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 69 | 2021-12-16T01:34:09.000Z | 2022-03-31T08:27:39.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/lynx/calculators/calc_rail.py | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 6 | 2022-01-12T18:22:08.000Z | 2022-03-25T10:19:27.000Z | platform/radio/efr32_multiphy_configurator/pyradioconfig/parts/lynx/calculators/calc_rail.py | SiliconLabs/gecko_sdk | 310814a9016b60a8012d50c62cc168a783ac102b | [
"Zlib"
] | 21 | 2021-12-20T09:05:45.000Z | 2022-03-28T02:52:28.000Z | from pyradioconfig.parts.panther.calculators.calc_rail import CalcRailPanther
class CalcRailLynx(CalcRailPanther):
pass
| 25 | 77 | 0.848 | 13 | 125 | 8.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096 | 125 | 4 | 78 | 31.25 | 0.929204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
78b1b66aecf7d5c6b7b0ba8c415ab2b786d8197e | 118 | py | Python | CodeWars/Python/7 kyu/Descending Order/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/7 kyu/Descending Order/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/7 kyu/Descending Order/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | def Descending_Order(num):
return int(''.join([str(x) for x in sorted([int(x) for x in str(num)], reverse=True)])) | 59 | 91 | 0.661017 | 22 | 118 | 3.5 | 0.636364 | 0.103896 | 0.12987 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 2 | 91 | 59 | 0.754902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
78bcdab8ba114f9afdeb7eba6861017292717c69 | 60 | py | Python | app/pages/controllers/default_controller.py | ClintonMorrison/personal-website | 043a3bf596f55d2ce8f9db24c3c445fa01e1f8e5 | [
"Apache-2.0"
] | null | null | null | app/pages/controllers/default_controller.py | ClintonMorrison/personal-website | 043a3bf596f55d2ce8f9db24c3c445fa01e1f8e5 | [
"Apache-2.0"
] | 1 | 2021-03-25T23:25:22.000Z | 2021-03-25T23:25:22.000Z | app/pages/controllers/default_controller.py | ClintonMorrison/personal-website | 043a3bf596f55d2ce8f9db24c3c445fa01e1f8e5 | [
"Apache-2.0"
] | null | null | null |
def get_page_data(path, get, post, variables):
return {}
| 15 | 46 | 0.7 | 9 | 60 | 4.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 3 | 47 | 20 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 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 | 1 | 0 | 0 | 5 |
78c9d6a3ec35e2bcfeba997b6705c2432157371f | 48 | py | Python | deepethogram/flow_generator/models/__init__.py | pwang724/deepethogram | d807b756a55778cafff6a102dc255b8fc1ee1198 | [
"FSFAP"
] | 65 | 2020-09-25T17:36:36.000Z | 2022-03-24T10:57:01.000Z | deepethogram/flow_generator/models/__init__.py | beng-ern/deepethogram | e2df19669a90882ded0795a2a47ce8f144b1326a | [
"FSFAP"
] | 97 | 2020-09-25T19:40:00.000Z | 2022-03-31T06:42:57.000Z | deepethogram/flow_generator/models/__init__.py | beng-ern/deepethogram | e2df19669a90882ded0795a2a47ce8f144b1326a | [
"FSFAP"
] | 19 | 2020-09-25T19:39:48.000Z | 2022-03-28T15:28:02.000Z | from . import FlowNetS, MotionNet, TinyMotionNet | 48 | 48 | 0.833333 | 5 | 48 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
78cf2e900996e5800ca378d8e3f691f3019566a1 | 10,493 | py | Python | python_crisp/resources/website.py | lvillis/python-crisp-api | da03583d7c891f3b75e056071339ea36b2b199ef | [
"MIT"
] | null | null | null | python_crisp/resources/website.py | lvillis/python-crisp-api | da03583d7c891f3b75e056071339ea36b2b199ef | [
"MIT"
] | null | null | null | python_crisp/resources/website.py | lvillis/python-crisp-api | da03583d7c891f3b75e056071339ea36b2b199ef | [
"MIT"
] | null | null | null | ##
# python-crisp-api
#
# Copyright 2018, Valerian Saliou
# Author: Valerian Saliou <valerian@valeriansaliou.name>
##
import urllib.parse
class WebsiteResource(object):
SEARCH_CONVERSATIONS_QUERY_PARAMETERS = [
"search_query",
"search_type",
"search_operator",
"include_empty",
... | 46.635556 | 114 | 0.726675 | 1,377 | 10,493 | 5.124909 | 0.088598 | 0.144112 | 0.099476 | 0.109678 | 0.74876 | 0.738274 | 0.714185 | 0.671107 | 0.605923 | 0.545699 | 0 | 0.000454 | 0.159535 | 10,493 | 224 | 115 | 46.84375 | 0.799751 | 0.009816 | 0 | 0.013158 | 0 | 0 | 0.10394 | 0.040362 | 0 | 0 | 0 | 0 | 0 | 1 | 0.381579 | false | 0 | 0.006579 | 0.368421 | 0.776316 | 0.013158 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1589d68a5104ee1518cae10d7f6c95ad64e812f9 | 121 | py | Python | yc159/495.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc159/495.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | yc159/495.py | c-yan/yukicoder | cdbbd65402177225dd989df7fe01f67908484a69 | [
"MIT"
] | null | null | null | S = input()
t = 0
for i in range(0, len(S), 5):
if S[i:i + 5] == '(^^*)':
t += 1
print(t, len(S) // 5 - t)
| 13.444444 | 29 | 0.371901 | 25 | 121 | 1.8 | 0.52 | 0.177778 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.338843 | 121 | 8 | 30 | 15.125 | 0.4875 | 0 | 0 | 0 | 0 | 0 | 0.041322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
158a0dc61f9e410e47de98d43884024aec2a876d | 47 | py | Python | ML/FaceGen/instance_normalization/__init__.py | AlongWY/HIT-WorkShop | 7169666a3e04c087e4760b119bf375f798466e43 | [
"MIT"
] | 4 | 2019-10-16T13:06:11.000Z | 2021-08-15T09:19:05.000Z | ML/FaceGen/instance_normalization/__init__.py | AlongWY/HIT-WorkShop | 7169666a3e04c087e4760b119bf375f798466e43 | [
"MIT"
] | null | null | null | ML/FaceGen/instance_normalization/__init__.py | AlongWY/HIT-WorkShop | 7169666a3e04c087e4760b119bf375f798466e43 | [
"MIT"
] | 2 | 2019-11-22T08:11:42.000Z | 2019-12-29T10:20:36.000Z | from .link import InstanceNormalization # NOQA | 47 | 47 | 0.829787 | 5 | 47 | 7.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12766 | 47 | 1 | 47 | 47 | 0.95122 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
158cf81f989ed59b5f6f01cf798f9fe7c2c4826c | 19 | py | Python | build/__init__.py | dantegates/dantegates.github.io | ef81968a060cdd6c107c1ce865866a87947ad547 | [
"MIT"
] | null | null | null | build/__init__.py | dantegates/dantegates.github.io | ef81968a060cdd6c107c1ce865866a87947ad547 | [
"MIT"
] | null | null | null | build/__init__.py | dantegates/dantegates.github.io | ef81968a060cdd6c107c1ce865866a87947ad547 | [
"MIT"
] | 1 | 2018-07-25T20:16:56.000Z | 2018-07-25T20:16:56.000Z | from . import build | 19 | 19 | 0.789474 | 3 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
15bf486d4eedbb0c3781559788babd79d01aaf1b | 139 | py | Python | library/MQTTMessages/__init__.py | GeekyTim/MQTT-Messages | f4fe84090d817773055b934b22e49373b01f6cb3 | [
"MIT"
] | null | null | null | library/MQTTMessages/__init__.py | GeekyTim/MQTT-Messages | f4fe84090d817773055b934b22e49373b01f6cb3 | [
"MIT"
] | null | null | null | library/MQTTMessages/__init__.py | GeekyTim/MQTT-Messages | f4fe84090d817773055b934b22e49373b01f6cb3 | [
"MIT"
] | null | null | null | """
.. module:: MQTT-MQTTMessages
:platform: Unix
:synopsis: For handling MQTT messages.
"""
from .MQTTMessages import MQTTMessages
| 17.375 | 41 | 0.71223 | 14 | 139 | 7.071429 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165468 | 139 | 7 | 42 | 19.857143 | 0.853448 | 0.647482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ec6dd3edc28e01fac0c4ed6561c2e00e86e01158 | 45 | py | Python | example/marketprice/messages/nile/__init__.py | jcoates/avro2py | 410bd4da92bd2673c616dfb02ba6db6f8af4ab95 | [
"MIT"
] | 2 | 2020-12-08T00:23:48.000Z | 2021-09-29T07:43:49.000Z | example/marketprice/messages/nile/__init__.py | jcoates/avro2py | 410bd4da92bd2673c616dfb02ba6db6f8af4ab95 | [
"MIT"
] | 8 | 2020-12-02T22:36:38.000Z | 2021-12-02T17:48:03.000Z | example/marketprice/messages/nile/__init__.py | jcoates/avro2py | 410bd4da92bd2673c616dfb02ba6db6f8af4ab95 | [
"MIT"
] | 4 | 2021-03-10T19:52:29.000Z | 2021-12-10T12:02:26.000Z | """`marketprice.messages.nile` namespace."""
| 22.5 | 44 | 0.711111 | 4 | 45 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 45 | 1 | 45 | 45 | 0.744186 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ec7389508ffef1391a95dbe6c382033ec8246f08 | 155 | py | Python | b_lambda_layer_common_test/integration/app.py | gMatas/B.LambdaLayerCommon | 442321f8f1ec3026463768e922d9af4dc100d7dc | [
"Apache-2.0"
] | null | null | null | b_lambda_layer_common_test/integration/app.py | gMatas/B.LambdaLayerCommon | 442321f8f1ec3026463768e922d9af4dc100d7dc | [
"Apache-2.0"
] | null | null | null | b_lambda_layer_common_test/integration/app.py | gMatas/B.LambdaLayerCommon | 442321f8f1ec3026463768e922d9af4dc100d7dc | [
"Apache-2.0"
] | null | null | null | from aws_cdk.core import App
from b_lambda_layer_common_test.integration.infrastructure import Infrastructure
app = App()
Infrastructure(app)
app.synth()
| 22.142857 | 80 | 0.83871 | 22 | 155 | 5.681818 | 0.636364 | 0.272 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 155 | 6 | 81 | 25.833333 | 0.886525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ec9569060404bd2019e6a2c71fea3b7d6172c541 | 52 | py | Python | mysite/models.py | vlasy/skool_app | e6b54facf3c58df7adaa8b4a539bd1045d595a49 | [
"MIT"
] | null | null | null | mysite/models.py | vlasy/skool_app | e6b54facf3c58df7adaa8b4a539bd1045d595a49 | [
"MIT"
] | 14 | 2015-06-15T10:34:50.000Z | 2015-06-15T11:05:46.000Z | mysite/models.py | daeatel/skool_app | e6b54facf3c58df7adaa8b4a539bd1045d595a49 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from skool.models import *
| 13 | 26 | 0.596154 | 7 | 52 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.192308 | 52 | 3 | 27 | 17.333333 | 0.714286 | 0.403846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ecab36767cb3d72a21affc8e56426afe834bb065 | 107 | py | Python | djrest_wrapper/interfaces/__init__.py | almohress/djrest-wrapper | 48f6e413fc9d8c8e22585133af7b344185398c4a | [
"MIT"
] | null | null | null | djrest_wrapper/interfaces/__init__.py | almohress/djrest-wrapper | 48f6e413fc9d8c8e22585133af7b344185398c4a | [
"MIT"
] | null | null | null | djrest_wrapper/interfaces/__init__.py | almohress/djrest-wrapper | 48f6e413fc9d8c8e22585133af7b344185398c4a | [
"MIT"
] | null | null | null | from .basemodel import BaseModel
from .baseservice import BaseService
from .baseviewset import BaseViewSet
| 26.75 | 36 | 0.859813 | 12 | 107 | 7.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11215 | 107 | 3 | 37 | 35.666667 | 0.968421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
01b36e81c1f97e990a63db785455624677acfb6f | 135 | py | Python | schedule/transformData/transformData.py | JaviMiot/employeeSchedule | 0ace8086ba8aeb1426f0252558b307e0e03bc7d8 | [
"MIT"
] | null | null | null | schedule/transformData/transformData.py | JaviMiot/employeeSchedule | 0ace8086ba8aeb1426f0252558b307e0e03bc7d8 | [
"MIT"
] | null | null | null | schedule/transformData/transformData.py | JaviMiot/employeeSchedule | 0ace8086ba8aeb1426f0252558b307e0e03bc7d8 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class TransformData(ABC):
@abstractmethod
def convertDict(self,data: dict()):
pass | 22.5 | 39 | 0.703704 | 15 | 135 | 6.333333 | 0.8 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207407 | 135 | 6 | 40 | 22.5 | 0.88785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
01be320ee1c65286ec29eb8e8eb87af5ba6c409e | 416 | py | Python | src/compas_fea/app/__init__.py | yijiangh/compas_fea | 632542da6a3794f6a82c30131c61a421a10a9aa8 | [
"MIT"
] | null | null | null | src/compas_fea/app/__init__.py | yijiangh/compas_fea | 632542da6a3794f6a82c30131c61a421a10a9aa8 | [
"MIT"
] | null | null | null | src/compas_fea/app/__init__.py | yijiangh/compas_fea | 632542da6a3794f6a82c30131c61a421a10a9aa8 | [
"MIT"
] | null | null | null | """
.. _compas_fea.app:
********************************************************************************
app
********************************************************************************
.. module:: compas_fea.app
The compas_fea package PyQt and Vtk application.
app
===
.. currentmodule:: compas_fea.app.app
:... | 14.857143 | 80 | 0.396635 | 32 | 416 | 4.84375 | 0.5 | 0.290323 | 0.309677 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120192 | 416 | 27 | 81 | 15.407407 | 0.423497 | 0.942308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
01bf56e6c03b64b2e3c493e2eb12a7b30426a19e | 64 | py | Python | src/__init__.py | KushajveerSingh/Photorealistic-Style-Transfer | 6c9c90fa9610117b8ad85aaec801ca1b020421c2 | [
"Apache-2.0"
] | 30 | 2019-05-06T10:10:50.000Z | 2021-12-12T12:04:29.000Z | src/__init__.py | KushajveerSingh/Photorealistic-Style-Transfer | 6c9c90fa9610117b8ad85aaec801ca1b020421c2 | [
"Apache-2.0"
] | 1 | 2020-06-25T14:18:21.000Z | 2020-06-25T14:18:21.000Z | src/__init__.py | KushajveerSingh/Photorealistic-Style-Transfer | 6c9c90fa9610117b8ad85aaec801ca1b020421c2 | [
"Apache-2.0"
] | 5 | 2019-05-10T07:32:08.000Z | 2021-02-23T16:37:01.000Z | from utils import *
from hrnet import HRNet
from config import * | 21.333333 | 23 | 0.796875 | 10 | 64 | 5.1 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 3 | 24 | 21.333333 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
01c5923097e7d43398b1e0a6668ae8c3d4456d1a | 240,848 | py | Python | lib/Cabler.py | breezykermo/maya-telegeometry-cabler | 51cd3a5bed5d01a9e8e0794cbf9eebda6012214d | [
"MIT"
] | null | null | null | lib/Cabler.py | breezykermo/maya-telegeometry-cabler | 51cd3a5bed5d01a9e8e0794cbf9eebda6012214d | [
"MIT"
] | null | null | null | lib/Cabler.py | breezykermo/maya-telegeometry-cabler | 51cd3a5bed5d01a9e8e0794cbf9eebda6012214d | [
"MIT"
] | null | null | null | from pygeodesy.sphericalNvector import LatLon, Nvector, meanOf
from pygeodesy.utils import degrees
import math
import numpy as np
class Cabler:
"""
A cabler takes ids from submarinecablemap.com's data and produces geometry in Maya.
The raw data is encapuslated as an instance variable, so that the code can be cop... | 944.501961 | 231,041 | 0.667799 | 34,703 | 240,848 | 4.578768 | 0.158603 | 0.077975 | 0.009113 | 0.015746 | 0.6038 | 0.602963 | 0.602013 | 0.601528 | 0.572931 | 0.561559 | 0 | 0.237767 | 0.102658 | 240,848 | 254 | 231,042 | 948.220472 | 0.497448 | 0.002246 | 0 | 0.525 | 0 | 0.05625 | 0.496366 | 0.107169 | 0 | 0 | 0 | 0 | 0.00625 | 0 | null | null | 0 | 0.025 | null | null | 0.0125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
01d1eb766eca00f20de3608b1002abf1e791e161 | 118 | py | Python | scripts/fabfile.py | FlowersOfChina/You-Money | b62de8cbc36e127940c282fa802186044b018208 | [
"MIT"
] | null | null | null | scripts/fabfile.py | FlowersOfChina/You-Money | b62de8cbc36e127940c282fa802186044b018208 | [
"MIT"
] | null | null | null | scripts/fabfile.py | FlowersOfChina/You-Money | b62de8cbc36e127940c282fa802186044b018208 | [
"MIT"
] | null | null | null | from fabric.api import env, run
def deploy():
pass
def check_env():
pass
def install_dependency():
pass | 11.8 | 31 | 0.669492 | 17 | 118 | 4.529412 | 0.705882 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 118 | 10 | 32 | 11.8 | 0.855556 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | true | 0.428571 | 0.142857 | 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 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
01ea17d8e177bbf8b8b5ddb5476e32725b2314d3 | 79 | py | Python | sound/speak.py | Rembut/ev3devDemos | 8a69e75981802d3b20eb960c5a954103eb6b40b1 | [
"MIT"
] | null | null | null | sound/speak.py | Rembut/ev3devDemos | 8a69e75981802d3b20eb960c5a954103eb6b40b1 | [
"MIT"
] | null | null | null | sound/speak.py | Rembut/ev3devDemos | 8a69e75981802d3b20eb960c5a954103eb6b40b1 | [
"MIT"
] | null | null | null | from ev3dev2.sound import Sound
sound = Sound()
sound.speak('Hello world!');
| 13.166667 | 31 | 0.721519 | 11 | 79 | 5.181818 | 0.636364 | 0.526316 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.139241 | 79 | 5 | 32 | 15.8 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bf01de6b0532cfaa017d156ae865b847bd905509 | 120 | py | Python | standalone_django_project/context_processors.py | boldprogressives/actionkit-csv-events | e72e26c979be6e23916c0f450b2eed8fbd904ffc | [
"BSD-3-Clause"
] | 1 | 2017-02-14T18:21:48.000Z | 2017-02-14T18:21:48.000Z | standalone_django_project/context_processors.py | boldprogressives/actionkit-csv-events | e72e26c979be6e23916c0f450b2eed8fbd904ffc | [
"BSD-3-Clause"
] | null | null | null | standalone_django_project/context_processors.py | boldprogressives/actionkit-csv-events | e72e26c979be6e23916c0f450b2eed8fbd904ffc | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
def globals(request):
return {
'SITE_NAME': settings.SITE_NAME,
}
| 17.142857 | 40 | 0.641667 | 14 | 120 | 5.357143 | 0.785714 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 120 | 6 | 41 | 20 | 0.852273 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
bf2b72b5e5f8eadcdde8fdf77a87b50df683563d | 96 | py | Python | pyscreenshot/plugins/__init__.py | liftoff/pyscreenshot | f0b464998bb9b7ca6a9813268ac40f136c889243 | [
"BSD-2-Clause"
] | 1 | 2019-07-20T08:35:43.000Z | 2019-07-20T08:35:43.000Z | pyscreenshot/plugins/__init__.py | vrosnet/pyscreenshot | f0b464998bb9b7ca6a9813268ac40f136c889243 | [
"BSD-2-Clause"
] | null | null | null | pyscreenshot/plugins/__init__.py | vrosnet/pyscreenshot | f0b464998bb9b7ca6a9813268ac40f136c889243 | [
"BSD-2-Clause"
] | 2 | 2017-01-15T07:05:08.000Z | 2019-03-04T13:24:29.000Z | import gtkpixbuf
import imagemagick
import pil
import qtgrabwindow
import scrot
import wxscreen
| 13.714286 | 19 | 0.875 | 12 | 96 | 7 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 96 | 6 | 20 | 16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bf2bb1cd90255e7a35cd3a0151c2e440a3a3faf2 | 98,885 | py | Python | src/zope/datetime/timezones.py | zopefoundation/zope.datetime | eb7878255bcddfc0a83566d357aeff04cadd5a0c | [
"ZPL-2.1"
] | 2 | 2015-05-04T10:39:40.000Z | 2017-08-16T08:36:25.000Z | src/zope/datetime/timezones.py | zopefoundation/zope.datetime | eb7878255bcddfc0a83566d357aeff04cadd5a0c | [
"ZPL-2.1"
] | 9 | 2016-04-13T06:46:27.000Z | 2021-07-02T13:19:00.000Z | src/zope/datetime/timezones.py | zopefoundation/zope.datetime | eb7878255bcddfc0a83566d357aeff04cadd5a0c | [
"ZPL-2.1"
] | 1 | 2015-04-03T08:35:45.000Z | 2015-04-03T08:35:45.000Z | ##############################################################################
#
# Copyright (c) 2003 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOF... | 81.926263 | 983 | 0.532002 | 9,132 | 98,885 | 5.757556 | 0.318879 | 0.209403 | 0.308798 | 0.408536 | 0.592719 | 0.589258 | 0.586785 | 0.581935 | 0.581935 | 0.579406 | 0 | 0.642418 | 0.274764 | 98,885 | 1,206 | 984 | 81.994196 | 0.090734 | 0.005481 | 0 | 0.447547 | 0 | 0.025381 | 0.56003 | 0.159716 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000846 | false | 0 | 0.001692 | 0 | 0.002538 | 0.007614 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bf306a4237a9f50a3f8840642484374306ad67e5 | 81 | py | Python | tests/empty_test.py | alus20x/fall_guys_ping_estimate | 286310c740acd7f569de0f1069fdfb4f7b8b2cf5 | [
"MIT"
] | 18 | 2021-07-22T02:19:51.000Z | 2022-03-11T14:31:22.000Z | tests/empty_test.py | alus20x/fall_guys_ping_estimate | 286310c740acd7f569de0f1069fdfb4f7b8b2cf5 | [
"MIT"
] | 24 | 2021-07-18T17:41:31.000Z | 2022-03-23T23:44:55.000Z | tests/empty_test.py | alus20x/fall_guys_ping_estimate | 286310c740acd7f569de0f1069fdfb4f7b8b2cf5 | [
"MIT"
] | 5 | 2021-07-22T07:03:25.000Z | 2022-01-29T06:05:16.000Z | def test_empty():
"""
I should learn how to write tests
"""
pass
| 13.5 | 37 | 0.54321 | 11 | 81 | 3.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.345679 | 81 | 5 | 38 | 16.2 | 0.811321 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
173f7a3dbd5e063087609834f7f8ab64cc1b1bcc | 88 | py | Python | torchio/transforms/augmentation/__init__.py | NunoEdgarGFlowHub/torchio | 656e96c8863ecff0bb29bf880af054675bbb30fd | [
"MIT"
] | 1 | 2020-03-19T08:30:18.000Z | 2020-03-19T08:30:18.000Z | torchio/transforms/augmentation/__init__.py | NunoEdgarGFlowHub/torchio | 656e96c8863ecff0bb29bf880af054675bbb30fd | [
"MIT"
] | null | null | null | torchio/transforms/augmentation/__init__.py | NunoEdgarGFlowHub/torchio | 656e96c8863ecff0bb29bf880af054675bbb30fd | [
"MIT"
] | null | null | null | from ..interpolation import Interpolation
from .random_transform import RandomTransform
| 29.333333 | 45 | 0.875 | 9 | 88 | 8.444444 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 46 | 44 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1787241d7c479152776527b5d29cac61dbe2a638 | 128 | py | Python | src/crowdai/model.py | kristijanbartol/DeepMusicClassifier | f47295c3171e77733be5b80ddcec9790dfc3165b | [
"MIT"
] | 64 | 2017-11-23T09:43:30.000Z | 2021-12-22T12:41:53.000Z | src/crowdai/model.py | kristijanbartol/DeepMusicClassifier | f47295c3171e77733be5b80ddcec9790dfc3165b | [
"MIT"
] | null | null | null | src/crowdai/model.py | kristijanbartol/DeepMusicClassifier | f47295c3171e77733be5b80ddcec9790dfc3165b | [
"MIT"
] | 7 | 2018-04-11T07:29:47.000Z | 2020-04-11T21:14:13.000Z | def build_model():
pass
def save_model():
pass
def load_model(model_path):
pass
def load_best_model():
pass
| 9.846154 | 27 | 0.65625 | 19 | 128 | 4.105263 | 0.421053 | 0.346154 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 128 | 12 | 28 | 10.666667 | 0.8125 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
bd5d24101f42cdde0117b08a64a83613b1c2790b | 47 | py | Python | example_pkg/__init__.py | rnowotniak/python-packaging-example | 1ae47c2675e05246a621a83e06828a5fd9834b27 | [
"MIT"
] | null | null | null | example_pkg/__init__.py | rnowotniak/python-packaging-example | 1ae47c2675e05246a621a83e06828a5fd9834b27 | [
"MIT"
] | null | null | null | example_pkg/__init__.py | rnowotniak/python-packaging-example | 1ae47c2675e05246a621a83e06828a5fd9834b27 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# test
print('test!')
| 6.714286 | 21 | 0.595745 | 7 | 47 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 6 | 22 | 7.833333 | 0.717949 | 0.531915 | 0 | 0 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
bd61723adb504e2998f2ff3c54bf2b90255dea8b | 59 | py | Python | beyond/frames/__init__.py | priyatharsan/beyond | 1061b870407d316d43e4d1351a7ec026629685ae | [
"MIT"
] | 33 | 2017-08-23T06:21:29.000Z | 2022-03-14T07:39:45.000Z | beyond/frames/__init__.py | priyatharsan/beyond | 1061b870407d316d43e4d1351a7ec026629685ae | [
"MIT"
] | 22 | 2017-03-12T17:22:40.000Z | 2022-02-04T11:25:46.000Z | beyond/frames/__init__.py | galactics/space-api | 334a37202a7138050e46d97f719f81a4350987b5 | [
"MIT"
] | 7 | 2018-11-18T16:53:34.000Z | 2021-12-01T08:12:59.000Z | from .frames import *
from .stations import create_station
| 19.666667 | 36 | 0.813559 | 8 | 59 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 37 | 29.5 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bd88251843b95088c64dcba7893d5c4f965e717d | 391 | py | Python | ec2/fabfile.py | XComp/docker-hadoop-cluster | c0317a18f0794d5aecd1b56f9e8a498ef9ae0ea6 | [
"Apache-2.0"
] | 98 | 2015-09-21T15:25:19.000Z | 2022-03-26T17:44:36.000Z | ec2/fabfile.py | WorldException/docker-hadoop-cluster | 08595a947946d83971a0fc6573904dab7ceaa782 | [
"Apache-2.0"
] | 4 | 2017-02-18T01:32:06.000Z | 2017-10-08T19:45:26.000Z | ec2/fabfile.py | WorldException/docker-hadoop-cluster | 08595a947946d83971a0fc6573904dab7ceaa782 | [
"Apache-2.0"
] | 78 | 2015-12-03T03:18:25.000Z | 2022-01-18T04:26:06.000Z | #!/usr/bin/env python
from fabric.api import sudo, run
def uname():
run('uname')
def prepare():
sudo('yum install git docker -y')
sudo('service docker start')
sudo('gpasswd -a ec2-user docker')
def install_docker_hadoop_cluster():
run('git clone https://github.com/Lewuathe/docker-hadoop-cluster.... | 20.578947 | 74 | 0.690537 | 55 | 391 | 4.8 | 0.581818 | 0.136364 | 0.215909 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.168798 | 391 | 18 | 75 | 21.722222 | 0.809231 | 0.051151 | 0 | 0 | 0 | 0 | 0.375676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.083333 | 0.083333 | 0 | 0.416667 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
bd9fad22c92c40c3de5b80417f4986511b4f3f11 | 1,730 | py | Python | legged_gym/scripts/plot_log.py | DARoSLab/legged_gym_pat | b258408e2b5ed243e9099dfd25be7a2733144527 | [
"BSD-3-Clause"
] | null | null | null | legged_gym/scripts/plot_log.py | DARoSLab/legged_gym_pat | b258408e2b5ed243e9099dfd25be7a2733144527 | [
"BSD-3-Clause"
] | null | null | null | legged_gym/scripts/plot_log.py | DARoSLab/legged_gym_pat | b258408e2b5ed243e9099dfd25be7a2733144527 | [
"BSD-3-Clause"
] | 1 | 2021-12-26T02:56:34.000Z | 2021-12-26T02:56:34.000Z | import matplotlib.pyplot as plt
import numpy as np
import pickle
from legged_gym.envs.pat.pat_config import PatCfg
_swing_height = PatCfg.foot_placement.swing_height
with open('log.pickle', 'rb') as handle:
log = pickle.load(handle)
plt.plot(log['_t_stamp'], np.array(log['_rf_position'])[:, 2], label="rf")
plt.plo... | 52.424242 | 107 | 0.693642 | 290 | 1,730 | 3.834483 | 0.17931 | 0.107014 | 0.152878 | 0.138489 | 0.745504 | 0.726619 | 0.726619 | 0.726619 | 0.726619 | 0.726619 | 0 | 0.008658 | 0.065318 | 1,730 | 32 | 108 | 54.0625 | 0.679035 | 0.17341 | 0 | 0.384615 | 0 | 0 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bdc05a45a11513530a10e2e0b2051ee3243d9e73 | 75 | py | Python | PyOptionTree/__init__.py | FredClvz/PyOptionTree | 312866244baad7ec60f28fe64943a9175b7bae46 | [
"MIT"
] | null | null | null | PyOptionTree/__init__.py | FredClvz/PyOptionTree | 312866244baad7ec60f28fe64943a9175b7bae46 | [
"MIT"
] | null | null | null | PyOptionTree/__init__.py | FredClvz/PyOptionTree | 312866244baad7ec60f28fe64943a9175b7bae46 | [
"MIT"
] | null | null | null | from pyoptiontree import PyOptionTree
from pyoptiontreeexceptions import *
| 25 | 37 | 0.88 | 7 | 75 | 9.428571 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 38 | 37.5 | 0.985075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
da2601ed8fdec314834a7ddcfb9e00689d808c7c | 247 | py | Python | tests/src/page/gallery/training_analysis/models/test_athlete.py | mycarta/awesome-panel | dae17d11f686daaedd48b8e74ac4307c89e2b031 | [
"Apache-2.0"
] | 1 | 2020-05-08T21:44:37.000Z | 2020-05-08T21:44:37.000Z | tests/src/page/gallery/training_analysis/models/test_athlete.py | mycarta/awesome-panel | dae17d11f686daaedd48b8e74ac4307c89e2b031 | [
"Apache-2.0"
] | null | null | null | tests/src/page/gallery/training_analysis/models/test_athlete.py | mycarta/awesome-panel | dae17d11f686daaedd48b8e74ac4307c89e2b031 | [
"Apache-2.0"
] | null | null | null | """In this module we test the Athlete model"""
from src.pages.gallery.training_analysis.models.athlete import Athlete
def test_constructor():
"""An Athlete model exists and can be constructed"""
assert Athlete(name="Olga").name
| 27.444444 | 71 | 0.720648 | 34 | 247 | 5.176471 | 0.794118 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174089 | 247 | 8 | 72 | 30.875 | 0.862745 | 0.352227 | 0 | 0 | 0 | 0 | 0.028369 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
da506a3b9f56423a1898b544928893b1df2e1774 | 151 | py | Python | ismo/optimizers/__init__.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 6 | 2020-10-20T14:03:50.000Z | 2021-11-02T15:08:55.000Z | ismo/optimizers/__init__.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-11-13T19:04:10.000Z | 2022-02-10T02:12:18.000Z | ismo/optimizers/__init__.py | kjetil-lye/iterative_surrogate_optimization | f5de412daab1180612837f4c950203ad87d62f7e | [
"MIT"
] | 3 | 2020-10-20T14:03:53.000Z | 2021-03-19T23:11:34.000Z | from .numpy_optimizer import NumpyOptimizer
from .optimizer_factory import create_optimizer
from .optimize_samples import optimize_samples, make_bounds | 50.333333 | 59 | 0.89404 | 19 | 151 | 6.789474 | 0.578947 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07947 | 151 | 3 | 59 | 50.333333 | 0.928058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
da5d655305d9092b78385eea4f00e467952d4ef0 | 218 | py | Python | gym_fortattack/__init__.py | renos/Emergent-Multiagent-Strategies | afaf6acfdd6d505668f06ac23dfb33e872ab2872 | [
"MIT"
] | 23 | 2020-07-05T11:13:00.000Z | 2022-01-28T00:24:41.000Z | gym_fortattack/__init__.py | renos/Emergent-Multiagent-Strategies | afaf6acfdd6d505668f06ac23dfb33e872ab2872 | [
"MIT"
] | 2 | 2020-09-07T19:09:40.000Z | 2021-06-02T02:21:51.000Z | gym_fortattack/__init__.py | renos/Emergent-Multiagent-Strategies | afaf6acfdd6d505668f06ac23dfb33e872ab2872 | [
"MIT"
] | 8 | 2020-07-06T07:24:37.000Z | 2021-09-27T20:28:25.000Z | from gym.envs.registration import register
register(id='fortattack-v0',
entry_point='gym_fortattack.envs:FortAttackEnv',
)
register(id='fortattack-v1',
entry_point='gym_fortattack.envs:FortAttackEnvV1',
) | 27.25 | 55 | 0.766055 | 26 | 218 | 6.269231 | 0.538462 | 0.122699 | 0.245399 | 0.282209 | 0.331288 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.105505 | 218 | 8 | 56 | 27.25 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0.429224 | 0.310502 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
da72fab45d7dcf80a2c08dca58ab65a11ae381fb | 45 | py | Python | andromeda/modules/technical_support/serializers/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | 1 | 2021-09-08T18:58:16.000Z | 2021-09-08T18:58:16.000Z | andromeda/modules/technical_support/serializers/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | null | null | null | andromeda/modules/technical_support/serializers/__init__.py | sango09/andromeda_api_rest | b4a3267146f4f9a985fb3f512e652d4ff354bba2 | [
"MIT"
] | null | null | null | from .rating import *
from .support import *
| 15 | 22 | 0.733333 | 6 | 45 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 45 | 2 | 23 | 22.5 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
da8ad8907b75613bef5f49fe712de36ea27d94d8 | 79 | py | Python | ising/despats/__init__.py | cgbriggs99/ising | 656d570140f0e385a4fae906224acfffa98f9b23 | [
"BSD-3-Clause"
] | null | null | null | ising/despats/__init__.py | cgbriggs99/ising | 656d570140f0e385a4fae906224acfffa98f9b23 | [
"BSD-3-Clause"
] | 8 | 2022-03-03T18:14:41.000Z | 2022-03-23T04:56:32.000Z | ising/despats/__init__.py | cgbriggs99/ising | 656d570140f0e385a4fae906224acfffa98f9b23 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python3
"""
Contains design patterns.
"""
from .singleton import *
| 11.285714 | 25 | 0.683544 | 9 | 79 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.139241 | 79 | 6 | 26 | 13.166667 | 0.779412 | 0.544304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e50a8edf7061a0537f9450934bccae675c2c91e5 | 150 | py | Python | hello.py | SerryJohns/cloud9 | 96d7d0c4c2de8786be25a04d6d6e4c832a5cccd0 | [
"Apache-2.0"
] | null | null | null | hello.py | SerryJohns/cloud9 | 96d7d0c4c2de8786be25a04d6d6e4c832a5cccd0 | [
"Apache-2.0"
] | null | null | null | hello.py | SerryJohns/cloud9 | 96d7d0c4c2de8786be25a04d6d6e4c832a5cccd0 | [
"Apache-2.0"
] | null | null | null | """Demonstrate docstrings and does nothing really."""
def myfunc():
"""Simple function to demonstrate circleci."""
return 1
print(myfunc())
| 18.75 | 53 | 0.686667 | 17 | 150 | 6.058824 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.173333 | 150 | 7 | 54 | 21.428571 | 0.822581 | 0.586667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.