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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
beec5c42019bf790f7eff3d7e22e90a1e3ff9437 | 6,463 | py | Python | tests/test_layer.py | deppen8/prospect | fbde75e57fef967643ca0f4c43fe53004d11da70 | [
"MIT"
] | null | null | null | tests/test_layer.py | deppen8/prospect | fbde75e57fef967643ca0f4c43fe53004d11da70 | [
"MIT"
] | 9 | 2021-02-02T03:40:32.000Z | 2021-09-10T13:35:05.000Z | tests/test_layer.py | deppen8/prospect | fbde75e57fef967643ca0f4c43fe53004d11da70 | [
"MIT"
] | null | null | null | import pytest
from geopandas import GeoDataFrame
import prospect
def test_returns_Layer(a_layer):
assert isinstance(a_layer, prospect.Layer)
def test_has_desired_attributes(a_layer):
for a in ["name", "input_features", "df"]:
assert hasattr(a_layer, a)
def test_name_attribute_str(a_layer):
as... | 31.222222 | 88 | 0.792511 | 911 | 6,463 | 5.107574 | 0.065862 | 0.07608 | 0.103159 | 0.089835 | 0.863959 | 0.762949 | 0.656566 | 0.556845 | 0.526972 | 0.476252 | 0 | 0.005221 | 0.140647 | 6,463 | 206 | 89 | 31.373786 | 0.832553 | 0 | 0 | 0.257353 | 0 | 0 | 0.040229 | 0.021662 | 0 | 0 | 0 | 0 | 0.279412 | 1 | 0.235294 | false | 0 | 0.022059 | 0 | 0.257353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bef3255483f7d18f6ac80553cda527235082821e | 370 | py | Python | sigfeat/base/result.py | SiggiGue/sigfeat | 86bb94200dcd4b33c21de1abc01814bf85f97b38 | [
"BSD-3-Clause"
] | 8 | 2017-01-30T08:26:52.000Z | 2021-02-25T07:00:38.000Z | sigfeat/base/result.py | SiggiGue/sigfeat | 86bb94200dcd4b33c21de1abc01814bf85f97b38 | [
"BSD-3-Clause"
] | 1 | 2017-03-10T16:10:11.000Z | 2017-03-10T16:10:11.000Z | sigfeat/base/result.py | SiggiGue/sigfeat | 86bb94200dcd4b33c21de1abc01814bf85f97b38 | [
"BSD-3-Clause"
] | 5 | 2017-08-05T02:26:00.000Z | 2019-09-11T13:06:28.000Z | class Result(dict):
"""Result dict. Behaves 'immutable' to the Feature.process method.
Just a simple dict to hold the results from features.
"""
__slots__ = ()
def __setitem__(self, *args):
raise TypeError('`Result` object does not support item assignment.')
def _setitem(self, key, v... | 26.428571 | 76 | 0.659459 | 46 | 370 | 5.021739 | 0.695652 | 0.142857 | 0.121212 | 0.164502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232432 | 370 | 13 | 77 | 28.461538 | 0.81338 | 0.318919 | 0 | 0 | 0 | 0 | 0.207627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
bef4c0a269b4217ad30f786b0205e1ed1a85c404 | 1,431 | py | Python | mak/libs/pyxx/cxx/grammar/expression/compound/unary/general.py | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | mak/libs/pyxx/cxx/grammar/expression/compound/unary/general.py | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | null | null | null | mak/libs/pyxx/cxx/grammar/expression/compound/unary/general.py | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | """
unary-expression:
postfix-expression
unary-operator cast-expression
++ cast-expression
-- cast-expression
await-expression
sizeof unary-expression
sizeof ( type-id )
sizeof ... ( identifier )
alignof ( type-id )
noexcept-expression
new-expression
delete-expression
un... | 27.519231 | 66 | 0.66457 | 159 | 1,431 | 5.949686 | 0.207547 | 0.2537 | 0.178647 | 0.291755 | 0.538055 | 0.345666 | 0.201903 | 0.201903 | 0.117336 | 0.117336 | 0 | 0.004971 | 0.156534 | 1,431 | 51 | 67 | 28.058824 | 0.77879 | 0.310273 | 0 | 0.166667 | 0 | 0 | 0.551125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.166667 | 0 | 0.25 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
83081bf6f3aebf340e6cf5d826b30b2617d638d4 | 207 | py | Python | setup.py | Kiikurage/bash_with_display | 614ed6cd7f73e143a8f3aae491eeefdfd230d713 | [
"MIT"
] | 1 | 2017-07-06T23:24:03.000Z | 2017-07-06T23:24:03.000Z | setup.py | Kiikurage/bash_with_display | 614ed6cd7f73e143a8f3aae491eeefdfd230d713 | [
"MIT"
] | null | null | null | setup.py | Kiikurage/bash_with_display | 614ed6cd7f73e143a8f3aae491eeefdfd230d713 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='bash_with_display',
version='0.0.1',
author='Yuichiro Kikura',
author_email='y.kikura@gmail.com',
license='MIT', install_requires=['IPython']
)
| 20.7 | 47 | 0.681159 | 27 | 207 | 5.074074 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017341 | 0.164251 | 207 | 9 | 48 | 23 | 0.774566 | 0 | 0 | 0 | 0 | 0 | 0.31401 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
832fbb1d2eb003c1aa9ac4462f586cdd3fce574d | 657 | py | Python | testdriven-app/services/users/project/api/users/crud.py | felkost/flask_microservice | 46d8d14fc79bc6cbb457b56cb621c50c066a979b | [
"MIT"
] | null | null | null | testdriven-app/services/users/project/api/users/crud.py | felkost/flask_microservice | 46d8d14fc79bc6cbb457b56cb621c50c066a979b | [
"MIT"
] | 5 | 2021-04-08T21:59:04.000Z | 2022-02-10T14:19:59.000Z | testdriven-app/services/users/project/api/users/crud.py | felkost/flask_microservice | 46d8d14fc79bc6cbb457b56cb621c50c066a979b | [
"MIT"
] | null | null | null | from project import db
from project.api.users.models import User
def get_all_users():
return User.query.all()
def get_user_by_id(user_id):
return User.query.filter_by(id=user_id).first()
def get_user_by_email(email):
return User.query.filter_by(email=email).first()
def add_user(username, email):
... | 18.771429 | 52 | 0.707763 | 99 | 657 | 4.545455 | 0.242424 | 0.133333 | 0.1 | 0.14 | 0.3 | 0.197778 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179604 | 657 | 34 | 53 | 19.323529 | 0.834879 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.136364 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8335b3c0f664e05554ef2fd147b47d0f1be8a68a | 139 | py | Python | login/urls.py | Arpppit/data_leakage_detection | 2fa96782feda5b31efd15a25c1366865ccdca952 | [
"BSD-3-Clause"
] | 6 | 2020-05-03T12:03:21.000Z | 2020-09-07T08:33:58.000Z | login/urls.py | Arpppit/data_leakage_detection | 2fa96782feda5b31efd15a25c1366865ccdca952 | [
"BSD-3-Clause"
] | 3 | 2020-04-17T06:50:44.000Z | 2022-01-13T02:16:48.000Z | login/urls.py | shrey-c/DataLeakageDjango | a827c5a09e5501921f9fb97b656755671238dd63 | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.login_form),
url(r'^assign', views.login_assign),
] | 23.166667 | 37 | 0.71223 | 21 | 139 | 4.619048 | 0.571429 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122302 | 139 | 6 | 38 | 23.166667 | 0.795082 | 0 | 0 | 0 | 0 | 0 | 0.064286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
833cdcf98c09c582e98951d74d4bfe6a5d0d1c16 | 5,483 | py | Python | q13/q13_large_sum.py | vesteny77/proj_euler | d12d6c6a6e6c717b5ab9d0415005945d983eea53 | [
"MIT"
] | 1 | 2021-12-27T22:18:51.000Z | 2021-12-27T22:18:51.000Z | q13/q13_large_sum.py | vesteny77/proj_euler | d12d6c6a6e6c717b5ab9d0415005945d983eea53 | [
"MIT"
] | null | null | null | q13/q13_large_sum.py | vesteny77/proj_euler | d12d6c6a6e6c717b5ab9d0415005945d983eea53 | [
"MIT"
] | null | null | null | # Work out the first ten digits of the sum of
# the following one-hundred 50-digit numbers.
num_str = "37107287533902102798797998220837590246510135740250\
46376937677490009712648124896970078050417018260538\
74324986199524741059474233309513058123726617309629\
91942213363574161572522430563301811072406154908250\
23067588... | 47.678261 | 62 | 0.94255 | 148 | 5,483 | 34.837838 | 0.891892 | 0.001939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.944256 | 0.031552 | 5,483 | 114 | 63 | 48.096491 | 0.026742 | 0.015867 | 0 | 0 | 0 | 0 | 0.001483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009346 | false | 0 | 0 | 0 | 0.018692 | 0.009346 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8341b3fe0559496b4dde48fd334b03e214b5089a | 224 | py | Python | python/exception.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 21 | 2015-02-09T18:08:38.000Z | 2021-11-08T15:00:48.000Z | python/exception.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 7 | 2020-04-12T23:00:19.000Z | 2021-01-30T23:44:24.000Z | python/exception.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 27 | 2015-07-22T18:08:12.000Z | 2022-02-28T19:50:26.000Z | number_of_test_cases = int(input().strip())
for _ in range(number_of_test_cases):
try:
a, b = map(int, input().strip().split(" "))
print(a // b)
except Exception as e:
print("Error Code:", e)
| 28 | 51 | 0.580357 | 33 | 224 | 3.727273 | 0.666667 | 0.130081 | 0.195122 | 0.276423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 224 | 7 | 52 | 32 | 0.732143 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
835d245c3b08e0b280e276fdab31c8205b782158 | 528 | py | Python | pyoptix/__init__.py | juhyeonkim95/PyOptiX | e439e9bfeb1541720d254af2e062fd4940a784bf | [
"MIT"
] | 50 | 2016-06-24T23:48:54.000Z | 2021-11-08T16:10:46.000Z | pyoptix/__init__.py | LongerVision/PyOptiX | c7510ee9d967fe6c22fddcdcdd3b0127e075c8ba | [
"MIT"
] | 4 | 2017-02-04T18:48:49.000Z | 2018-10-02T14:13:45.000Z | pyoptix/__init__.py | LongerVision/PyOptiX | c7510ee9d967fe6c22fddcdcdd3b0127e075c8ba | [
"MIT"
] | 8 | 2018-04-19T11:37:11.000Z | 2021-03-04T19:16:47.000Z | from .acceleration import Acceleration
from .buffer import Buffer
from .compiler import Compiler
from .context import Context, current_context
from .entry_point import EntryPoint
from .geometry import Geometry
from .geometry_group import GeometryGroup
from .geometry_instance import GeometryInstance
from .group import G... | 33 | 47 | 0.854167 | 67 | 528 | 6.626866 | 0.373134 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11553 | 528 | 15 | 48 | 35.2 | 0.950749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
835dfc9afc14a562f07f04330d4af2c585f0bd5f | 1,518 | py | Python | Beat-Ai/BeatSaber-AI/BeatSaber-AI/phase2/createEvents.py | Codingmace/BeatSaber-AI | 1978c68ac983320996eb9161b603ab12be868d0c | [
"MIT"
] | null | null | null | Beat-Ai/BeatSaber-AI/BeatSaber-AI/phase2/createEvents.py | Codingmace/BeatSaber-AI | 1978c68ac983320996eb9161b603ab12be868d0c | [
"MIT"
] | null | null | null | Beat-Ai/BeatSaber-AI/BeatSaber-AI/phase2/createEvents.py | Codingmace/BeatSaber-AI | 1978c68ac983320996eb9161b603ab12be868d0c | [
"MIT"
] | null | null | null | # TODO
# Have not even started one bit but easy once get the other part done
# https://bsmg.wiki/mapping/map-format.html#events-2
# Get the Melograph
# Translate the graph to the events
# Write the results to the file
# Onset Can create a idea of where to put the beats
# https://librosa.org/doc/latest/generated/lib... | 52.344828 | 263 | 0.783926 | 264 | 1,518 | 4.5 | 0.526515 | 0.030303 | 0.025253 | 0.045455 | 0.153199 | 0.107744 | 0.06734 | 0 | 0 | 0 | 0 | 0.014173 | 0.163373 | 1,518 | 29 | 264 | 52.344828 | 0.92126 | 0.974967 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.034483 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
360ace8875cd29af2d5d4fc3b540dc758c14d22f | 6,741 | py | Python | tests/util/chem/test_chem_core.py | KarrLab/wc_utilities | a4c0e2e8b9bd88356729e38faf5c0d09d61ff921 | [
"MIT"
] | 1 | 2019-12-12T15:49:32.000Z | 2019-12-12T15:49:32.000Z | tests/util/chem/test_chem_core.py | KarrLab/wc_utilities | a4c0e2e8b9bd88356729e38faf5c0d09d61ff921 | [
"MIT"
] | 36 | 2017-03-14T18:59:21.000Z | 2019-12-18T04:08:43.000Z | tests/util/chem/test_chem_core.py | KarrLab/wc_utilities | a4c0e2e8b9bd88356729e38faf5c0d09d61ff921 | [
"MIT"
] | 1 | 2019-10-16T10:30:42.000Z | 2019-10-16T10:30:42.000Z | """ Tests of the chemistry utilities
:Author: Jonathan Karr <jonrkarr@gmail.com>
:Date: 2018-02-07
:Copyright: 2018, Karr Lab
:License: MIT
"""
from wc_utils.util import chem
import attrdict
import openbabel
import unittest
class EmpiricalFormulaTestCase(unittest.TestCase):
def test_EmpiricalFormula_constructo... | 32.723301 | 98 | 0.601098 | 806 | 6,741 | 4.930521 | 0.171216 | 0.226472 | 0.190237 | 0.066935 | 0.601661 | 0.568445 | 0.529693 | 0.458228 | 0.400856 | 0.356064 | 0 | 0.038551 | 0.238095 | 6,741 | 205 | 99 | 32.882927 | 0.735202 | 0.020175 | 0 | 0.342282 | 0 | 0.020134 | 0.088828 | 0.0191 | 0 | 0 | 0 | 0 | 0.402685 | 1 | 0.09396 | false | 0 | 0.026846 | 0 | 0.134228 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
361fcbc7922fe3ede148316d44de3c2b5071f839 | 1,622 | py | Python | tests/test_mappings.py | Naassila/bioptim | 511e7ba315de5ca8c3bdcc85decd43bac30676b9 | [
"MIT"
] | 34 | 2020-12-14T17:09:41.000Z | 2022-03-31T17:03:37.000Z | tests/test_mappings.py | Naassila/bioptim | 511e7ba315de5ca8c3bdcc85decd43bac30676b9 | [
"MIT"
] | 229 | 2020-09-30T16:53:40.000Z | 2022-03-29T21:11:46.000Z | tests/test_mappings.py | fbailly/bioptim | 3a5473ee7c39d645d960611596a45b044e8ccf58 | [
"MIT"
] | 15 | 2020-11-20T12:32:59.000Z | 2022-01-22T22:59:08.000Z | import pytest
import numpy as np
from bioptim import Mapping, BiMapping
def test_mapping():
obj_to_map = np.array([[0, 1, 2], [3, 4, 5], [6, 7, 8], [9, 10, 11]])
np.testing.assert_almost_equal(Mapping([0, 2]).map(obj_to_map), [[0, 1, 2], [6, 7, 8]])
np.testing.assert_almost_equal(Mapping([None, 2, None]... | 45.055556 | 111 | 0.658446 | 282 | 1,622 | 3.567376 | 0.163121 | 0.107356 | 0.178926 | 0.250497 | 0.769384 | 0.765408 | 0.587475 | 0.50994 | 0.405567 | 0.369781 | 0 | 0.071533 | 0.155364 | 1,622 | 35 | 112 | 46.342857 | 0.662774 | 0 | 0 | 0.076923 | 0 | 0 | 0.040074 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.192308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
362ec1f1ef00c47c15c61341104964e23324789f | 566 | py | Python | breadcrumbs/namedobject.py | hgrecco/breadcrumbs | e7fc4f8e9181b8140a0a4e8c533c415dc19e6f3f | [
"BSD-3-Clause"
] | 1 | 2021-11-17T04:04:02.000Z | 2021-11-17T04:04:02.000Z | breadcrumbs/namedobject.py | hgrecco/breadcrumbs | e7fc4f8e9181b8140a0a4e8c533c415dc19e6f3f | [
"BSD-3-Clause"
] | null | null | null | breadcrumbs/namedobject.py | hgrecco/breadcrumbs | e7fc4f8e9181b8140a0a4e8c533c415dc19e6f3f | [
"BSD-3-Clause"
] | null | null | null | """
breadcrumbs.namedobject
~~~~~~~~~~~~~~~~~~~~~~~
Sentinels with good representation.
:copyright: 2021 by breadcrumbs Authors, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
class NamedObject(object):
"""A class to construct named sentinels."""
def __in... | 19.517241 | 74 | 0.609541 | 63 | 566 | 5.15873 | 0.52381 | 0.098462 | 0.086154 | 0.110769 | 0.129231 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009592 | 0.263251 | 566 | 28 | 75 | 20.214286 | 0.769784 | 0.422261 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.363636 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
364a72b4e08e4de25012926b7cc0b093581ceb33 | 275 | py | Python | lfs/utils/views.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | 345 | 2015-01-03T19:19:27.000Z | 2022-03-20T11:00:50.000Z | lfs/utils/views.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | 73 | 2015-01-06T14:54:02.000Z | 2022-03-11T23:11:34.000Z | lfs/utils/views.py | michael-hahn/django-lfs | 26c3471a8f8d88269c84f714f507b952dfdb6397 | [
"BSD-3-Clause"
] | 148 | 2015-01-07T16:30:08.000Z | 2022-03-25T21:20:58.000Z | from django.http import HttpResponse
from django.shortcuts import render
def test(request):
return render(request, "test.html")
def upload_test(request):
if request.method == "GET":
return render(request, "testuploadform.html")
return HttpResponse()
| 19.642857 | 53 | 0.72 | 33 | 275 | 5.969697 | 0.515152 | 0.101523 | 0.192893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178182 | 275 | 13 | 54 | 21.153846 | 0.871681 | 0 | 0 | 0 | 0 | 0 | 0.112727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
365398e1f12ba599573c90a12216ab43d7f69f9b | 419 | py | Python | gramat/expressions/_true.py | gramat-lang/python-gramat | c3edb7cf045b109596bb4cfdf43d58e04763ac19 | [
"MIT"
] | null | null | null | gramat/expressions/_true.py | gramat-lang/python-gramat | c3edb7cf045b109596bb4cfdf43d58e04763ac19 | [
"MIT"
] | null | null | null | gramat/expressions/_true.py | gramat-lang/python-gramat | c3edb7cf045b109596bb4cfdf43d58e04763ac19 | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import List
from ._expression import Expression
from ._expression import EvalContext
class TrueExp(Expression):
def eval(self, ctx: EvalContext) -> bool:
return True
@property
def children(self) -> List[Expression]:
return []
def opti... | 18.217391 | 45 | 0.668258 | 46 | 419 | 5.869565 | 0.456522 | 0.103704 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.250597 | 419 | 22 | 46 | 19.045455 | 0.859873 | 0 | 0 | 0 | 0 | 0 | 0.009547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 0.928571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
36580042b222fa33af5ee3a3ea888b71f5ab157b | 73 | py | Python | src/lib/HTMLParser.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 10 | 2015-11-13T17:02:40.000Z | 2021-02-09T23:21:05.000Z | src/lib/HTMLParser.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 43 | 2015-06-03T17:59:23.000Z | 2021-09-17T10:45:21.000Z | src/lib/HTMLParser.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 13 | 2017-07-02T03:16:46.000Z | 2021-07-05T14:53:56.000Z | raise NotImplementedError("HTMLParser is not yet implemented in Skulpt")
| 36.5 | 72 | 0.835616 | 9 | 73 | 6.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 73 | 1 | 73 | 73 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0.589041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
366620816f8f19ebd63ab581b51dc9672e6d07ec | 332 | py | Python | output/models/nist_data/atomic/non_negative_integer/schema_instance/nistschema_sv_iv_atomic_non_negative_integer_max_exclusive_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/non_negative_integer/schema_instance/nistschema_sv_iv_atomic_non_negative_integer_max_exclusive_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/non_negative_integer/schema_instance/nistschema_sv_iv_atomic_non_negative_integer_max_exclusive_2_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.non_negative_integer.schema_instance.nistschema_sv_iv_atomic_non_negative_integer_max_exclusive_2_xsd.nistschema_sv_iv_atomic_non_negative_integer_max_exclusive_2 import NistschemaSvIvAtomicNonNegativeIntegerMaxExclusive2
__all__ = [
"NistschemaSvIvAtomicNonNegativeIntegerMaxExc... | 55.333333 | 257 | 0.918675 | 36 | 332 | 7.722222 | 0.583333 | 0.097122 | 0.183453 | 0.258993 | 0.366906 | 0.366906 | 0.366906 | 0.366906 | 0.366906 | 0.366906 | 0 | 0.012579 | 0.042169 | 332 | 5 | 258 | 66.4 | 0.861635 | 0 | 0 | 0 | 0 | 0 | 0.153614 | 0.153614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3679edd926a02ae42dcea31726e5e217b8265ea2 | 401 | py | Python | ProgramsToRead/ExercisesFromClasses/ex001agosto26.py | ItanuRomero/PythonStudyPrograms | 2b784b2af068b34e65ddf817ca8d99c1ca3a710e | [
"MIT"
] | null | null | null | ProgramsToRead/ExercisesFromClasses/ex001agosto26.py | ItanuRomero/PythonStudyPrograms | 2b784b2af068b34e65ddf817ca8d99c1ca3a710e | [
"MIT"
] | null | null | null | ProgramsToRead/ExercisesFromClasses/ex001agosto26.py | ItanuRomero/PythonStudyPrograms | 2b784b2af068b34e65ddf817ca8d99c1ca3a710e | [
"MIT"
] | null | null | null | vogais = {
'a': 0,
'e': 0,
'i': 0,
'o': 0,
'u': 0
}
texto = str(input('insira um texto: ')).strip().lower()
for letra in texto:
if letra in 'a':
vogais['a'] += 1
elif letra in 'e':
vogais['e'] += 1
elif letra in 'i':
vogais['i'] += 1
elif letra in 'o':
... | 18.227273 | 55 | 0.438903 | 60 | 401 | 2.933333 | 0.35 | 0.238636 | 0.227273 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.351621 | 401 | 21 | 56 | 19.095238 | 0.638462 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
367c7da870575b7776f56633757247388d4b4b70 | 794 | py | Python | film_details_searcher/tests/scrappers/test_filmweb_movie_service.py | tomaszkyc/film_details_searcher | e8e12bc739990324f6ab4110fdd363e6ef207f1a | [
"MIT"
] | null | null | null | film_details_searcher/tests/scrappers/test_filmweb_movie_service.py | tomaszkyc/film_details_searcher | e8e12bc739990324f6ab4110fdd363e6ef207f1a | [
"MIT"
] | null | null | null | film_details_searcher/tests/scrappers/test_filmweb_movie_service.py | tomaszkyc/film_details_searcher | e8e12bc739990324f6ab4110fdd363e6ef207f1a | [
"MIT"
] | null | null | null | import pytest
from film_details_searcher.models.movie import Movie
from film_details_searcher.scrappers.filmweb_movie_service import FilmwebMovieService
from film_details_searcher.scrappers.movie_service import MovieService
@pytest.fixture
def movie_service():
return FilmwebMovieService()
@pytest.fixture
def v... | 30.538462 | 94 | 0.81864 | 111 | 794 | 5.522523 | 0.441441 | 0.137031 | 0.073409 | 0.112561 | 0.104405 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015603 | 0.112091 | 794 | 26 | 95 | 30.538462 | 0.853901 | 0 | 0 | 0.117647 | 0 | 0 | 0.062893 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 1 | 0.235294 | false | 0 | 0.235294 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
368215c6fa360572b047c6c68b30aa2130b61391 | 2,623 | py | Python | src/web/backend/__init__.py | SubOptimal/seascope | 8a669e0e333801477c4624883bd1ab1823b71bbb | [
"BSD-3-Clause"
] | 8 | 2015-03-29T01:29:17.000Z | 2020-05-10T18:45:43.000Z | src/web/backend/__init__.py | SubOptimal/seascope | 8a669e0e333801477c4624883bd1ab1823b71bbb | [
"BSD-3-Clause"
] | 5 | 2015-12-04T10:53:35.000Z | 2021-01-03T05:39:55.000Z | src/web/backend/__init__.py | SubOptimal/seascope | 8a669e0e333801477c4624883bd1ab1823b71bbb | [
"BSD-3-Clause"
] | 9 | 2016-09-06T15:53:51.000Z | 2020-12-15T16:32:48.000Z | # Copyright (c) 2010 Anil Kumar
# All rights reserved.
#
# License: BSD
import os
import sys
import re
backend_plugins = []
backend_dict = {}
def _load_plugins(module, directory):
pluginImports = __import__(module, globals(), locals())
print('Scanning for backend plugins...')
plist = []
pdict = {}
for i in sor... | 20.984 | 86 | 0.711399 | 416 | 2,623 | 4.211538 | 0.230769 | 0.09589 | 0.085616 | 0.109589 | 0.276256 | 0.08105 | 0.067352 | 0.039954 | 0.039954 | 0 | 0 | 0.002269 | 0.159741 | 2,623 | 124 | 87 | 21.153226 | 0.79265 | 0.024018 | 0 | 0.057471 | 0 | 0 | 0.034456 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 1 | 0.275862 | false | 0.011494 | 0.068966 | 0.16092 | 0.563218 | 0.022989 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
36bc098a6276572944d43f25a44dfbc1c45b71d5 | 179 | py | Python | settings.py | dmitriypru/VK2TL | f662c9478928ca8d793592b69ade5a0d07e9b1de | [
"MIT"
] | null | null | null | settings.py | dmitriypru/VK2TL | f662c9478928ca8d793592b69ade5a0d07e9b1de | [
"MIT"
] | null | null | null | settings.py | dmitriypru/VK2TL | f662c9478928ca8d793592b69ade5a0d07e9b1de | [
"MIT"
] | null | null | null | class SETTINGS:
__slots__ = ("TOKEN","DB_NAME")
def __init__(self):
self.TOKEN = '415193750:AAFNBxqmF5ow24TwzuJlzYKpYSPmt_K5p_A'
self.DB_NAME = 'vk2tl.db'
| 29.833333 | 68 | 0.670391 | 20 | 179 | 5.4 | 0.7 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 0.206704 | 179 | 5 | 69 | 35.8 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 0.363128 | 0.251397 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
36ec2dc9e70d8727f25924d1ea377ed7fd2a3ac7 | 2,409 | py | Python | talleres_y_practicas/TAREA02-Patrones_estructurales/decorator.py | GabrielJHR/UADER_ISII_RAMOS | 380aac6759750330a18d114d213d717a898538d0 | [
"MIT"
] | null | null | null | talleres_y_practicas/TAREA02-Patrones_estructurales/decorator.py | GabrielJHR/UADER_ISII_RAMOS | 380aac6759750330a18d114d213d717a898538d0 | [
"MIT"
] | null | null | null | talleres_y_practicas/TAREA02-Patrones_estructurales/decorator.py | GabrielJHR/UADER_ISII_RAMOS | 380aac6759750330a18d114d213d717a898538d0 | [
"MIT"
] | null | null | null | #*--------------------------------------------------
#* decorator.py
#* excerpt from https://refactoring.guru/design-patterns/decorator/python/example
#* ejemplo obtenido desde el canal de youtube BettaTech: https://www.youtube.com/watch?v=Ab9HxiPLryg
#*--------------------------------------------------
# COMPONENTE
c... | 30.884615 | 107 | 0.669572 | 302 | 2,409 | 5.13245 | 0.261589 | 0.109032 | 0.077419 | 0.065806 | 0.492258 | 0.463871 | 0.426452 | 0.380645 | 0.271613 | 0.271613 | 0 | 0.006189 | 0.195102 | 2,409 | 77 | 108 | 31.285714 | 0.793192 | 0.221254 | 0 | 0.391304 | 0 | 0 | 0.139635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282609 | false | 0.043478 | 0 | 0.217391 | 0.652174 | 0.173913 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7feda00daae9b8843ed2775a8157d87f8ef8c221 | 6,088 | py | Python | PackGrid/categoryAdjacent/T_C_AmmBeen.py | whitegreen/PackingDone | b7f1d2966f1d62a052ca9c96ce70b314d694c9f1 | [
"MIT"
] | null | null | null | PackGrid/categoryAdjacent/T_C_AmmBeen.py | whitegreen/PackingDone | b7f1d2966f1d62a052ca9c96ce70b314d694c9f1 | [
"MIT"
] | null | null | null | PackGrid/categoryAdjacent/T_C_AmmBeen.py | whitegreen/PackingDone | b7f1d2966f1d62a052ca9c96ce70b314d694c9f1 | [
"MIT"
] | null | null | null | # the same results by categoryAdjacent/T_C_AmmBeen.java
import gurobipy as gp
from gurobipy import GRB, LinExpr
import M
DM = 4
P = [(-3, -3, -2, 0), (-3, -3, -2, 1), (-3, -3, -1, 1), (-3, -3, -1, 2), (-3, -3, 0, 2), (-3, -2, -1, 1),
(-3, -2, -1, 2), (-3, -2, 0, 1), (-3, -2, 0, 2), (-3, -2, 0, 3), (-3, -2, 1, 2),... | 47.937008 | 119 | 0.315867 | 1,222 | 6,088 | 1.567103 | 0.074468 | 0.125326 | 0.086162 | 0.071018 | 0.667363 | 0.648564 | 0.606266 | 0.54047 | 0.476762 | 0.398433 | 0 | 0.215046 | 0.336235 | 6,088 | 126 | 120 | 48.31746 | 0.258847 | 0.084428 | 0 | 0.304762 | 0 | 0 | 0.007554 | 0 | 0 | 0 | 0 | 0 | 0.019048 | 1 | 0.009524 | false | 0 | 0.028571 | 0 | 0.038095 | 0.028571 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d0c488ae9755a8d7e9479fe1e8f67fdbd016c84 | 121 | py | Python | 30_days_of_code/Day-7: Arrays.py | haneefnani/hackerrank | 795e4d1db0637baf610632aea5e9dd6b44777365 | [
"MIT"
] | null | null | null | 30_days_of_code/Day-7: Arrays.py | haneefnani/hackerrank | 795e4d1db0637baf610632aea5e9dd6b44777365 | [
"MIT"
] | null | null | null | 30_days_of_code/Day-7: Arrays.py | haneefnani/hackerrank | 795e4d1db0637baf610632aea5e9dd6b44777365 | [
"MIT"
] | null | null | null | n = int(input())
arr = list(map(int, input().rstrip().split()))
arr.reverse()
for num in arr:
print(num , end=" ")
| 15.125 | 46 | 0.578512 | 19 | 121 | 3.684211 | 0.736842 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 121 | 7 | 47 | 17.285714 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d10757799c62ba9c65059f2ccc61b3e9a6e6a56 | 87 | py | Python | warmup_scheduler/__init__.py | seo-95/pytorch-gradual-warmup-lr | 99ce139a003d117b256fe72b0d5f33f0597f771a | [
"MIT"
] | 803 | 2019-01-16T09:59:08.000Z | 2022-03-31T03:36:51.000Z | warmup_scheduler/__init__.py | seo-95/pytorch-gradual-warmup-lr | 99ce139a003d117b256fe72b0d5f33f0597f771a | [
"MIT"
] | 20 | 2019-03-09T04:04:48.000Z | 2021-11-24T09:10:00.000Z | warmup_scheduler/__init__.py | seo-95/pytorch-gradual-warmup-lr | 99ce139a003d117b256fe72b0d5f33f0597f771a | [
"MIT"
] | 120 | 2019-01-18T13:39:35.000Z | 2022-03-30T11:40:24.000Z |
from warmup_scheduler.scheduler import GradualWarmupScheduler
__version__ = '0.3.2'
| 14.5 | 61 | 0.816092 | 10 | 87 | 6.6 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038961 | 0.114943 | 87 | 5 | 62 | 17.4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3d1839f7928cc8f1097ec5b2cf25dbbab7da65bb | 701 | py | Python | Bite_77/uncommon.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | Bite_77/uncommon.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | 2 | 2020-09-24T11:25:29.000Z | 2021-06-25T15:43:35.000Z | Bite_77/uncommon.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | """
You want to find people who have as much exposure to different cultures as yourself.
Complete the uncommon_cities helper that takes the cities you have visited (my_cities) and the cities the other person has visited (other_cities) and returns the number of cities that both sequences do NOT have in common.
So give... | 43.8125 | 221 | 0.761769 | 122 | 701 | 4.295082 | 0.532787 | 0.061069 | 0.041985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001751 | 0.185449 | 701 | 15 | 222 | 46.733333 | 0.915937 | 0.813124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3d369882a105ff68b47b9d8f2e1286596bee8328 | 134 | py | Python | src/zbdb.py | ZigAnon/babadook | c27ba32681d2d6933408952b0496faf37a3eda58 | [
"MIT"
] | null | null | null | src/zbdb.py | ZigAnon/babadook | c27ba32681d2d6933408952b0496faf37a3eda58 | [
"MIT"
] | null | null | null | src/zbdb.py | ZigAnon/babadook | c27ba32681d2d6933408952b0496faf37a3eda58 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python3.6
def is_ztest(m):
if int(m.author.id) == int(zigID):
return True
else:
return False
| 19.142857 | 38 | 0.58209 | 21 | 134 | 3.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.268657 | 134 | 6 | 39 | 22.333333 | 0.765306 | 0.186567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
3d4403a2a1ba241e034f26570268a6d4a611eb8b | 228 | py | Python | ProcessingReviewAnalyse/viewInBoxSizes.py | RubberDuckDestroyer/enron | 748df96ee63bce98d9b566ed797a7cb7e32a1714 | [
"MIT"
] | 2 | 2020-04-27T11:48:26.000Z | 2020-04-27T11:58:57.000Z | ProcessingReviewAnalyse/viewInBoxSizes.py | RubberDuckDestroyer/enron | 748df96ee63bce98d9b566ed797a7cb7e32a1714 | [
"MIT"
] | null | null | null | ProcessingReviewAnalyse/viewInBoxSizes.py | RubberDuckDestroyer/enron | 748df96ee63bce98d9b566ed797a7cb7e32a1714 | [
"MIT"
] | null | null | null | import os
from email.parser import Parser
rootdir = "C:\\Users\\maxfr\\Desktop\\2020-Enron-Journal\\maildir\\lay-k"
for directory, subdirectory, filenames in os.walk(rootdir):
print(directory, subdirectory, len(filenames)) | 32.571429 | 73 | 0.758772 | 31 | 228 | 5.580645 | 0.774194 | 0.242775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019512 | 0.100877 | 228 | 7 | 74 | 32.571429 | 0.82439 | 0 | 0 | 0 | 0 | 0 | 0.266376 | 0.266376 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e9e47d30f365685a79b97e14ad9f2e66a2c6b956 | 1,357 | py | Python | ravenframework/Databases/__init__.py | dgarrett622/raven | f36cc108f7500b0e2717df4832b69b801b43960d | [
"Apache-2.0"
] | null | null | null | ravenframework/Databases/__init__.py | dgarrett622/raven | f36cc108f7500b0e2717df4832b69b801b43960d | [
"Apache-2.0"
] | null | null | null | ravenframework/Databases/__init__.py | dgarrett622/raven | f36cc108f7500b0e2717df4832b69b801b43960d | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Battelle Energy Alliance, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 30.840909 | 74 | 0.775239 | 173 | 1,357 | 6.052023 | 0.589595 | 0.057307 | 0.024833 | 0.030564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009582 | 0.154016 | 1,357 | 43 | 75 | 31.55814 | 0.902439 | 0.596905 | 0 | 0 | 0 | 0 | 0.01833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e9e63e975777f45769bdc25dfb5de68dccd19186 | 70 | py | Python | titanic data.py | ransherraj/Predictions-using-Titanic-Dataset- | 0bc175d9f85615489beab134fde039bda1c335b8 | [
"Apache-2.0"
] | null | null | null | titanic data.py | ransherraj/Predictions-using-Titanic-Dataset- | 0bc175d9f85615489beab134fde039bda1c335b8 | [
"Apache-2.0"
] | null | null | null | titanic data.py | ransherraj/Predictions-using-Titanic-Dataset- | 0bc175d9f85615489beab134fde039bda1c335b8 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
df = pd.read_csv('titanic.csv')
print(df.head()) | 23.333333 | 32 | 0.7 | 13 | 70 | 3.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 70 | 3 | 33 | 23.333333 | 0.786885 | 0 | 0 | 0 | 0 | 0 | 0.15942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e9fe5fa1b2d2c6cc461959149d8a65a6435a5779 | 145 | py | Python | app/data/schema/pydantic/token.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | 2 | 2022-02-14T23:53:00.000Z | 2022-03-24T12:19:49.000Z | app/data/schema/pydantic/token.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | null | null | null | app/data/schema/pydantic/token.py | lokaimoma/Bugza | 93ffe344cb0be7dc4c45965f52798e02d05d320b | [
"Unlicense"
] | null | null | null | # Created by Kelvin_Clark on 1/31/2022, 12:42 PM
from pydantic import BaseModel
class TokenData(BaseModel):
username: str
user_id: int
| 18.125 | 48 | 0.737931 | 23 | 145 | 4.565217 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 0.193103 | 145 | 7 | 49 | 20.714286 | 0.803419 | 0.317241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
180194eb7dce0c8168d47f447cf4eb4f25c278ca | 253 | py | Python | server/configure.py | shayanray/Memoirs | c0377b3467e79b7c653e04f47aca099ec53ac8a5 | [
"CNRI-Python"
] | 1 | 2018-09-15T14:57:57.000Z | 2018-09-15T14:57:57.000Z | server/configure.py | shayanray/Memoirs | c0377b3467e79b7c653e04f47aca099ec53ac8a5 | [
"CNRI-Python"
] | null | null | null | server/configure.py | shayanray/Memoirs | c0377b3467e79b7c653e04f47aca099ec53ac8a5 | [
"CNRI-Python"
] | null | null | null | from flask import Flask
import os
FLASK_NAME = os.environ.get("FLASK_NAME")
FLASK_SECRET_KEY = os.environ.get("FLASK_SECRET_KEY")
def create_app():
app = Flask(FLASK_NAME)
app.secret_key = FLASK_SECRET_KEY
return app
app = create_app()
| 16.866667 | 53 | 0.735178 | 40 | 253 | 4.35 | 0.325 | 0.206897 | 0.241379 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166008 | 253 | 14 | 54 | 18.071429 | 0.824645 | 0 | 0 | 0 | 0 | 0 | 0.102767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1822d9592112b5a3c272c252e66ed9f1db7d8db6 | 98 | py | Python | app.py | ijafri26/dashi | 2b21f166b0897ac25b2b4127391db17f9d33b80c | [
"MIT"
] | null | null | null | app.py | ijafri26/dashi | 2b21f166b0897ac25b2b4127391db17f9d33b80c | [
"MIT"
] | 7 | 2019-06-06T13:42:08.000Z | 2019-06-06T17:43:08.000Z | dashi/app.py | slazicoicr/dashi | ede0cebbd2c3490e9f8c4b56ba3f2e04b6576997 | [
"MIT"
] | null | null | null | import dash
app = dash.Dash()
server = app.server
app.config.suppress_callback_exceptions = True
| 16.333333 | 46 | 0.785714 | 14 | 98 | 5.357143 | 0.642857 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 98 | 5 | 47 | 19.6 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 3 |
1823214ec67111fb5e46a3d97c7acfe6d290c211 | 363 | py | Python | 2020/05/16/Adding Extra Fields On Many-To-Many Relationships in Django/many_to_many_extra/many_to_many_extra/example/migrations/0003_auto_20200516_1759.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 492 | 2019-06-25T12:54:31.000Z | 2022-03-30T12:38:28.000Z | 2020/05/16/Adding Extra Fields On Many-To-Many Relationships in Django/many_to_many_extra/many_to_many_extra/example/migrations/0003_auto_20200516_1759.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 23 | 2019-10-01T01:36:08.000Z | 2022-02-10T12:46:16.000Z | 2020/05/16/Adding Extra Fields On Many-To-Many Relationships in Django/many_to_many_extra/many_to_many_extra/example/migrations/0003_auto_20200516_1759.py | kenjitagawa/youtube_video_code | ef3c48b9e136b3745d10395d94be64cb0a1f1c97 | [
"Unlicense"
] | 1,734 | 2019-06-03T06:25:13.000Z | 2022-03-31T23:57:53.000Z | # Generated by Django 3.0.6 on 2020-05-16 17:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('example', '0002_course_students'),
]
operations = [
migrations.DeleteModel(
name='Course',
),
migrations.DeleteModel(
... | 18.15 | 47 | 0.570248 | 35 | 363 | 5.857143 | 0.771429 | 0.204878 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076613 | 0.316804 | 363 | 19 | 48 | 19.105263 | 0.75 | 0.123967 | 0 | 0.307692 | 1 | 0 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
182e06cef46a285d9a2d1ce99a77ccd40f9009ad | 156 | py | Python | config/api_keys.py | rupakc/Positron | 99c8a34d565b812411e5f26b3a60baffb512a1f2 | [
"Unlicense"
] | null | null | null | config/api_keys.py | rupakc/Positron | 99c8a34d565b812411e5f26b3a60baffb512a1f2 | [
"Unlicense"
] | null | null | null | config/api_keys.py | rupakc/Positron | 99c8a34d565b812411e5f26b3a60baffb512a1f2 | [
"Unlicense"
] | null | null | null | CURRENT_NEWS_API_KEY = '' # Replace with your news.org API keys
news = {
'api_key': '',
'base_everything_url': 'https://newsapi.org/v2/everything'
} | 31.2 | 63 | 0.679487 | 22 | 156 | 4.545455 | 0.681818 | 0.14 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0.160256 | 156 | 5 | 64 | 31.2 | 0.755725 | 0.224359 | 0 | 0 | 0 | 0 | 0.491667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
1845f462a7da2df21023bb7b8ed75fa7a5a9ee3b | 323 | py | Python | AutoDL_sample_code_submission/at_speech/__init__.py | dianjixz/AutoDL | 48db4eb04d55ce69e93d4a3bdc24592bdb34a868 | [
"Apache-2.0"
] | 1,044 | 2020-04-19T04:48:24.000Z | 2022-03-24T07:38:43.000Z | AutoDL_sample_code_submission/at_speech/__init__.py | dianjixz/AutoDL | 48db4eb04d55ce69e93d4a3bdc24592bdb34a868 | [
"Apache-2.0"
] | 39 | 2020-05-02T01:19:20.000Z | 2021-09-11T21:32:12.000Z | AutoDL_sample_code_submission/at_speech/__init__.py | dianjixz/AutoDL | 48db4eb04d55ce69e93d4a3bdc24592bdb34a868 | [
"Apache-2.0"
] | 203 | 2020-04-07T11:06:39.000Z | 2022-03-11T02:49:06.000Z | import os
from at_speech.data_space import DNpAugPreprocessor, MixupGenerator, TTAGenerator
from at_speech.backbones.thinresnet34 import build_tr34_model
from at_speech.data_space.examples_gen_maker import DataGenerator as Tr34DataGenerator
from at_speech.classifier import SLLRLiblinear, SLLRSag, ThinResnet34Classifie... | 40.375 | 86 | 0.888545 | 40 | 323 | 6.925 | 0.625 | 0.086643 | 0.173285 | 0.115523 | 0.151625 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026936 | 0.080495 | 323 | 7 | 87 | 46.142857 | 0.905724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 | 3 |
185a2863dde4a3d7e7f7d3ac618b13d805eda0f1 | 166 | py | Python | config.py | bandham-manikanta/latest-ipo-subscription-details-streamlit | 51ec999dcc6db807543b5576f9ec44fe770f68f2 | [
"MIT"
] | null | null | null | config.py | bandham-manikanta/latest-ipo-subscription-details-streamlit | 51ec999dcc6db807543b5576f9ec44fe770f68f2 | [
"MIT"
] | null | null | null | config.py | bandham-manikanta/latest-ipo-subscription-details-streamlit | 51ec999dcc6db807543b5576f9ec44fe770f68f2 | [
"MIT"
] | null | null | null | ENV='development'
DEBUG=True
SQLALCHEMY_DATABASE_URI='sqlite:///data_base.db'
#SQLALCHEMY_ECHO=True
SQLALCHEMY_TRACK_MODIFICATIONS=False
SCHEDULER_API_ENABLED = True
| 23.714286 | 48 | 0.855422 | 22 | 166 | 6.090909 | 0.818182 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 166 | 6 | 49 | 27.666667 | 0.848101 | 0.120482 | 0 | 0 | 0 | 0 | 0.227586 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 3 |
185d42a8695b7744f91ba6169ec2fe7bdc4fb73e | 2,931 | py | Python | scripts/cli_rebalance.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | scripts/cli_rebalance.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null | scripts/cli_rebalance.py | ramalingam-cb/testrunner | 81cea7a5a493cf0c67fca7f97c667cd3c6ad2142 | [
"Apache-2.0"
] | null | null | null |
import getopt
import copy
import logging
import sys
from threading import Thread
from datetime import datetime
import socket
import Queue
sys.path = [".", "lib"] + sys.path
import testconstants
import time
from builds.build_query import BuildQuery
import logging.config
from membase.api.exception import ServerUnavaila... | 36.185185 | 211 | 0.700102 | 364 | 2,931 | 5.513736 | 0.346154 | 0.041854 | 0.025909 | 0.026906 | 0.38864 | 0.310912 | 0.310912 | 0.310912 | 0.310912 | 0.310912 | 0 | 0.009475 | 0.207779 | 2,931 | 80 | 212 | 36.6375 | 0.854866 | 0.066189 | 0 | 0.177419 | 0 | 0 | 0.142439 | 0.064079 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.064516 | 0.322581 | null | null | 0.096774 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
185f1f449d6c6421dfa20d0eb34750c98ef71817 | 24,420 | py | Python | adversarial regularization/training_code/purchase_defended.py | inspire-group/membership-inference-evaluation | daa4b0c88a7eda36536abe5b9a2650623243a3c5 | [
"MIT"
] | 66 | 2020-03-25T06:10:23.000Z | 2022-03-29T13:27:32.000Z | adversarial regularization/training_code/purchase_defended.py | wjw950224/membership-inference-evaluation | daa4b0c88a7eda36536abe5b9a2650623243a3c5 | [
"MIT"
] | 5 | 2020-06-04T12:53:19.000Z | 2021-11-24T15:57:24.000Z | adversarial regularization/training_code/purchase_defended.py | wjw950224/membership-inference-evaluation | daa4b0c88a7eda36536abe5b9a2650623243a3c5 | [
"MIT"
] | 11 | 2020-09-02T22:16:05.000Z | 2022-02-08T08:34:12.000Z |
# coding: utf-8
# In[8]:
from __future__ import print_function
import argparse
import os
os.environ['CUDA_DEVICE_ORDER']="PCI_BUS_ID"
os.environ['CUDA_VISIBLE_DEVICES']='7'
import shutil
import time
import random
import torch.nn.functional as F
import torch
import pickle
import torch.nn as nn
import torch.nn.... | 31.632124 | 203 | 0.6043 | 3,071 | 24,420 | 4.577662 | 0.098339 | 0.03137 | 0.028382 | 0.017072 | 0.750747 | 0.718025 | 0.678688 | 0.663181 | 0.638071 | 0.619434 | 0 | 0.02468 | 0.264947 | 24,420 | 771 | 204 | 31.673152 | 0.758496 | 0.12068 | 0 | 0.576355 | 0 | 0.009852 | 0.037888 | 0.003248 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.054187 | null | null | 0.029557 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1865e2523008915367fdfb329906864ecba89d3d | 283 | py | Python | Commander-Rank/DAY-6/88A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | 2 | 2021-12-09T18:07:46.000Z | 2022-01-26T16:51:18.000Z | Commander-Rank/DAY-6/88A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | Commander-Rank/DAY-6/88A.py | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | n = ['C', 'C#', 'D', 'D#', 'E', 'F', 'F#', 'G', 'G#', 'A', 'B', 'H']
i = sorted(n.index(x) for x in input().split())
c = (i[1] - i[0], i[2] - i[1])
if c in ((4, 3), (3, 5), (5, 4)):
print('major')
elif c in ((3, 4), (4, 5), (5, 3)):
print('minor')
else:
print('strange')
| 28.3 | 68 | 0.39576 | 57 | 283 | 1.964912 | 0.526316 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072727 | 0.222615 | 283 | 9 | 69 | 31.444444 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0.116608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 1 | null | 0 | 0 | 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 | 3 |
187791d447dccbca890d596b06b38a232e1237e1 | 905 | py | Python | lifepath/__init__.py | jyurkiw/py_cyberpunk_2020_rest_api | f423761622c11b6f91556560a309697144a166a5 | [
"MIT"
] | null | null | null | lifepath/__init__.py | jyurkiw/py_cyberpunk_2020_rest_api | f423761622c11b6f91556560a309697144a166a5 | [
"MIT"
] | null | null | null | lifepath/__init__.py | jyurkiw/py_cyberpunk_2020_rest_api | f423761622c11b6f91556560a309697144a166a5 | [
"MIT"
] | null | null | null | # __all__
from .lifepath import LifepathRandomOriginsApi
from .lifepath import LifepathRandomFamilyApi
from .lifepath import LifepathRandomMotivationsApi
from .lifepath import LifepathRandomLifeEventsApi
from .lifepath import LifepathRandomCompleteApi
from .lifepath import LifepathRandomStyleAndMotivationsApi
... | 32.321429 | 59 | 0.823204 | 63 | 905 | 11.619048 | 0.285714 | 0.196721 | 0.172131 | 0.150273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134807 | 905 | 27 | 60 | 33.518519 | 0.934866 | 0.018785 | 0 | 0 | 0 | 0 | 0.227273 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
188376b6c2ef959e2c76d0f0fa90c2fd56f7318b | 284 | py | Python | ex14plus.py | Allwillcome/LearnPythontheHardWay | e974cd5dec37b9819fb324f4e66166160518277a | [
"PSF-2.0"
] | null | null | null | ex14plus.py | Allwillcome/LearnPythontheHardWay | e974cd5dec37b9819fb324f4e66166160518277a | [
"PSF-2.0"
] | null | null | null | ex14plus.py | Allwillcome/LearnPythontheHardWay | e974cd5dec37b9819fb324f4e66166160518277a | [
"PSF-2.0"
] | null | null | null | from sys import argv
# import moudle
script, user_name = argv
prompt = '>'
# define prompt
print "Hi %s, I am the %s script." %(user_name, script) #import user_name
print "I'd like to ask you a few questions."
print "Do you like me %s?" % user_name
likes = raw_input(prompt)
| 28.4 | 74 | 0.68662 | 49 | 284 | 3.877551 | 0.591837 | 0.168421 | 0.147368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204225 | 284 | 9 | 75 | 31.555556 | 0.840708 | 0.151408 | 0 | 0 | 0 | 0 | 0.355263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
43f00c97acf7c2d65ccdd1e74ab76a1a2caa016d | 16 | py | Python | constants.py | tomwhross/budget | c6382d1e03d2264df6306145563fc390c8def30f | [
"MIT"
] | null | null | null | constants.py | tomwhross/budget | c6382d1e03d2264df6306145563fc390c8def30f | [
"MIT"
] | 2 | 2020-11-10T00:50:30.000Z | 2020-11-10T14:35:52.000Z | constants.py | tomwhross/budget | c6382d1e03d2264df6306145563fc390c8def30f | [
"MIT"
] | null | null | null | DB = "budget.db" | 16 | 16 | 0.625 | 3 | 16 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 16 | 1 | 16 | 16 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
43f60a6723df437e84bd0266edfd5a7f5557c4be | 369 | py | Python | dynamicserialize/dstypes/com/raytheon/uf/common/auth/resp/UserNotAuthorized.py | srcarter3/python-awips | d981062662968cf3fb105e8e23d955950ae2497e | [
"BSD-3-Clause"
] | 33 | 2016-03-17T01:21:18.000Z | 2022-02-08T10:41:06.000Z | dynamicserialize/dstypes/com/raytheon/uf/common/auth/resp/UserNotAuthorized.py | srcarter3/python-awips | d981062662968cf3fb105e8e23d955950ae2497e | [
"BSD-3-Clause"
] | 15 | 2016-04-19T16:34:08.000Z | 2020-09-09T19:57:54.000Z | dynamicserialize/dstypes/com/raytheon/uf/common/auth/resp/UserNotAuthorized.py | Unidata/python-awips | 8459aa756816e5a45d2e5bea534d23d5b1dd1690 | [
"BSD-3-Clause"
] | 20 | 2016-03-12T01:46:58.000Z | 2022-02-08T06:53:22.000Z | from dynamicserialize.dstypes.com.raytheon.uf.common.auth.resp import AbstractFailedResponse
class UserNotAuthorized(AbstractFailedResponse):
def __init__(self):
super(UserNotAuthorized, self).__init__()
self.message = None
def getMessage(self):
return self.message
def setMessag... | 24.6 | 92 | 0.720867 | 37 | 369 | 6.972973 | 0.594595 | 0.170543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 369 | 14 | 93 | 26.357143 | 0.868687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
43fda8679ba7e215e4c59c298f4fddbf8481bf91 | 6,075 | py | Python | fillinblankgame.py | jaewrek/Fill-In-The-Blanks | ccd06dca48d9444459fe233b316dcdfadc2d934a | [
"Unlicense"
] | null | null | null | fillinblankgame.py | jaewrek/Fill-In-The-Blanks | ccd06dca48d9444459fe233b316dcdfadc2d934a | [
"Unlicense"
] | null | null | null | fillinblankgame.py | jaewrek/Fill-In-The-Blanks | ccd06dca48d9444459fe233b316dcdfadc2d934a | [
"Unlicense"
] | null | null | null | # IPND Stage 2 Final Project
# Jerrik Neri
# Intro to Programming ND
# Udacity
# Strings for different quiz levels
easy = """Heroes of the Storm is a game made by __1__ Entertainment. __1__ Entertainment is owned by their parent company __2__. Heroes of the Storm,
or HotS for short, is a __3__ type game, like DOTA2... | 55.733945 | 162 | 0.727572 | 907 | 6,075 | 4.699008 | 0.401323 | 0.027452 | 0.032848 | 0.011262 | 0.013139 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01184 | 0.207572 | 6,075 | 108 | 163 | 56.25 | 0.873494 | 0.07786 | 0 | 0.146667 | 0 | 0.24 | 0.677293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.12 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a101f1fa346a8ed0cfbbf1810589145730e11a83 | 120 | py | Python | Python Fundamentals/Functions/Lab/Task07.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | 1 | 2022-03-16T10:23:04.000Z | 2022-03-16T10:23:04.000Z | Python Fundamentals/Functions/Lab/Task07.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | Python Fundamentals/Functions/Lab/Task07.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | def rounding(numbers):
num = [round(float(x)) for x in numbers]
return num
print(rounding(input().split(" "))) | 20 | 44 | 0.641667 | 17 | 120 | 4.529412 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 120 | 6 | 45 | 20 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a10f47d5cede993d17b9822d0ccfb27a8574f423 | 61 | py | Python | sykepic/__init__.py | veot/syke-pic | c2bbf5f87b64348122fb7014ab4e19294ee90009 | [
"MIT"
] | null | null | null | sykepic/__init__.py | veot/syke-pic | c2bbf5f87b64348122fb7014ab4e19294ee90009 | [
"MIT"
] | null | null | null | sykepic/__init__.py | veot/syke-pic | c2bbf5f87b64348122fb7014ab4e19294ee90009 | [
"MIT"
] | null | null | null | from pathlib import Path
APP_DIR = Path.home() / ".sykepic"
| 15.25 | 34 | 0.704918 | 9 | 61 | 4.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 61 | 3 | 35 | 20.333333 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a114b10892cb4660be2dd372938e1b6346ae6a14 | 302 | py | Python | guanabara/Exercicios/mundo 1 _ aulas 01 a 12/006.py | pbittencourt/datasciencestudies | 85f0b2a4366fe7c6daa5628ed4bd2994355963c0 | [
"MIT"
] | null | null | null | guanabara/Exercicios/mundo 1 _ aulas 01 a 12/006.py | pbittencourt/datasciencestudies | 85f0b2a4366fe7c6daa5628ed4bd2994355963c0 | [
"MIT"
] | null | null | null | guanabara/Exercicios/mundo 1 _ aulas 01 a 12/006.py | pbittencourt/datasciencestudies | 85f0b2a4366fe7c6daa5628ed4bd2994355963c0 | [
"MIT"
] | null | null | null | # DOBRO, TRIPLO E RAIZ QUADRADA
"""Lê um número e exibe seu dobro, seu triplo e sua raiz quadrada"""
n = float(input('Digite um número: _ '))
print('O dobro de {} é {:.2f}'.format(n, n * 2))
print('O triplo de {} é {:.2f}'.format(n, n * 3))
print('A raiz quadrada de {} é {:.2f}'.format(n, n ** 0.5))
| 37.75 | 68 | 0.60596 | 56 | 302 | 3.25 | 0.464286 | 0.197802 | 0.082418 | 0.181319 | 0.214286 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0.02834 | 0.182119 | 302 | 7 | 69 | 43.142857 | 0.708502 | 0.307947 | 0 | 0 | 0 | 0 | 0.46798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a145f86b68f18596fb9ef4335d0248cddab180eb | 402 | py | Python | bot/entry.py | shauncameron/ChatBot | 0b3168204788e3e44369c0a96f8e0321f74790ad | [
"Unlicense"
] | null | null | null | bot/entry.py | shauncameron/ChatBot | 0b3168204788e3e44369c0a96f8e0321f74790ad | [
"Unlicense"
] | null | null | null | bot/entry.py | shauncameron/ChatBot | 0b3168204788e3e44369c0a96f8e0321f74790ad | [
"Unlicense"
] | null | null | null | import datetime
class Entry:
def __repr__(self):
return f'Entry @ {self.created}: {self.message}'
def __init__(self, message):
self.__message__ = message
self.__created__ = datetime.datetime.now()
self.read = False
@property
def message(self):
return self.... | 16.75 | 56 | 0.621891 | 43 | 402 | 5.255814 | 0.372093 | 0.19469 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283582 | 402 | 24 | 57 | 16.75 | 0.784722 | 0 | 0 | 0.142857 | 0 | 0 | 0.094293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0.214286 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a151a2b3a001b7432600b86d8fb1602274c6796a | 124 | py | Python | codeforces/a2oj/evenOdd.py | atpk/CP | 0eee3af02bb0466c85aeb8dd86cf3620567a354c | [
"MIT"
] | null | null | null | codeforces/a2oj/evenOdd.py | atpk/CP | 0eee3af02bb0466c85aeb8dd86cf3620567a354c | [
"MIT"
] | null | null | null | codeforces/a2oj/evenOdd.py | atpk/CP | 0eee3af02bb0466c85aeb8dd86cf3620567a354c | [
"MIT"
] | null | null | null | s=input()
s=s.split(" ")
n=int(s[0])
k=int(s[1])
m=n//2
if n%2==1:
m+=1
if k<=m:
print(2*k-1)
else:
k=k-m
print(2*k) | 10.333333 | 14 | 0.491935 | 36 | 124 | 1.694444 | 0.361111 | 0.131148 | 0.229508 | 0.262295 | 0.295082 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.177419 | 124 | 12 | 15 | 10.333333 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1669e10646a8341826e9f3515292f93a953b835 | 566 | py | Python | python/0013. romanToInt.py | whtahy/leetcode | a2955123d203b155455ceefe38514fd0077d6db9 | [
"CC0-1.0"
] | 1 | 2017-12-09T05:37:51.000Z | 2017-12-09T05:37:51.000Z | python/0013. romanToInt.py | whtahy/leetcode | a2955123d203b155455ceefe38514fd0077d6db9 | [
"CC0-1.0"
] | null | null | null | python/0013. romanToInt.py | whtahy/leetcode | a2955123d203b155455ceefe38514fd0077d6db9 | [
"CC0-1.0"
] | null | null | null | class Solution:
d = {
'I': 1,
'V': 5,
'X': 10,
'L': 50,
'C': 100,
'D': 500,
'M': 1000,
'IV': 4,
'IX': 9,
'XL': 40,
'XC': 90,
'CD': 400,
'CM': 900
}
def romanToInt(self, s):
n,i = 0,0
whil... | 20.214286 | 60 | 0.289753 | 75 | 566 | 2.186667 | 0.573333 | 0.219512 | 0.036585 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136882 | 0.535336 | 566 | 27 | 61 | 20.962963 | 0.486692 | 0 | 0 | 0 | 0 | 0 | 0.033569 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a18dda3f1d90d769fc71afd09617c5546df88079 | 3,684 | py | Python | misc/spathy_run_calibration.py | LukeEcomod/SpaFHy_v1_Pallas | bc8937a6aa72683a765506fc8f967916f81e0f12 | [
"MIT"
] | 3 | 2019-04-26T02:43:06.000Z | 2020-10-10T21:49:53.000Z | misc/spathy_run_calibration.py | LukeEcomod/SpaFHy_v1_Pallas | bc8937a6aa72683a765506fc8f967916f81e0f12 | [
"MIT"
] | null | null | null | misc/spathy_run_calibration.py | LukeEcomod/SpaFHy_v1_Pallas | bc8937a6aa72683a765506fc8f967916f81e0f12 | [
"MIT"
] | 6 | 2019-06-19T12:12:29.000Z | 2022-01-14T22:05:03.000Z | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Wed Mar 22 13:48:49 2017
@author: MG
"""
import os
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from spathy_calibration import sve_calibrations
# import matplotlib.lines as mlines
# import matplotlib.gridspe... | 46.05 | 125 | 0.604235 | 617 | 3,684 | 3.568882 | 0.358185 | 0.090827 | 0.076294 | 0.095368 | 0.313352 | 0.273388 | 0.267938 | 0.241599 | 0.241599 | 0 | 0 | 0.266667 | 0.169381 | 3,684 | 79 | 126 | 46.632911 | 0.452941 | 0.435668 | 0 | 0 | 0 | 0 | 0.409736 | 0.013185 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.139535 | null | null | 0.023256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1af0a5ad52f745ee4051a899c71c2dfdbddf09b | 153 | py | Python | pcdet/models/backbones_3d/__init__.py | TillBeemelmanns/OpenPCDet | b7553c879d0ba36477931efe07a55adbc39823b9 | [
"Apache-2.0"
] | 184 | 2021-03-09T12:19:49.000Z | 2022-03-31T09:19:05.000Z | pcdet/models/backbones_3d/__init__.py | TillBeemelmanns/OpenPCDet | b7553c879d0ba36477931efe07a55adbc39823b9 | [
"Apache-2.0"
] | 36 | 2021-03-23T08:42:38.000Z | 2022-03-31T09:14:41.000Z | pcdet/models/backbones_3d/__init__.py | TillBeemelmanns/OpenPCDet | b7553c879d0ba36477931efe07a55adbc39823b9 | [
"Apache-2.0"
] | 22 | 2021-03-10T09:32:27.000Z | 2022-03-28T05:01:45.000Z | from .spconv_backbone import VoxelBackBone8x
from .spconv_unet import UNetV2
__all__ = {
'VoxelBackBone8x': VoxelBackBone8x,
'UNetV2': UNetV2
}
| 19.125 | 44 | 0.75817 | 15 | 153 | 7.333333 | 0.533333 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.163399 | 153 | 7 | 45 | 21.857143 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a1b70102540f2ab980982842d6c947c41c36a7ec | 5,059 | py | Python | tests/test_csv.py | philippeitis/jc | d96b3a65a98bc135d21d4feafc0a43317b5a11fa | [
"MIT"
] | null | null | null | tests/test_csv.py | philippeitis/jc | d96b3a65a98bc135d21d4feafc0a43317b5a11fa | [
"MIT"
] | null | null | null | tests/test_csv.py | philippeitis/jc | d96b3a65a98bc135d21d4feafc0a43317b5a11fa | [
"MIT"
] | null | null | null | import os
import json
import unittest
import jc.parsers.csv
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
class MyTests(unittest.TestCase):
def setUp(self):
# input
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/generic/csv-biostats.csv'), 'r') as f:
self.generic... | 40.472 | 121 | 0.650721 | 734 | 5,059 | 4.288828 | 0.069482 | 0.171537 | 0.160102 | 0.080051 | 0.850064 | 0.756671 | 0.736341 | 0.609593 | 0.57338 | 0.57338 | 0 | 0.001988 | 0.204388 | 5,059 | 124 | 122 | 40.798387 | 0.780124 | 0.045464 | 0 | 0 | 0 | 0 | 0.156061 | 0.150433 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.15873 | false | 0 | 0.063492 | 0 | 0.238095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1ba4b682f35bf2e560b067d04b8487c386bd186 | 417 | py | Python | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/magpie/targets/nicta/generic_biguuid_n2_noabi_compat_target.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 77 | 2018-12-31T22:12:09.000Z | 2021-12-31T22:56:13.000Z | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/magpie/targets/nicta/generic_biguuid_n2_noabi_compat_target.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | null | null | null | okl4_kernel/okl4_2.1.1-patch.9/tools/magpie/magpie/targets/nicta/generic_biguuid_n2_noabi_compat_target.py | CyberQueenMara/baseband-research | e1605537e10c37e161fff1a3416b908c9894f204 | [
"MIT"
] | 24 | 2019-01-20T15:51:52.000Z | 2021-12-25T18:29:13.000Z | from magpie.targets.nicta import generic_n2_target as nictageneric_n2
from magpie.targets.idl4 import generic_biguuid_l4v4_target as idl4_biguuid
Generator = nictageneric_n2.Generator
class Templates(nictageneric_n2.Templates, idl4_biguuid.Templates):
client_function_body = 'v4nicta_generic/client_function_body_noab... | 46.333333 | 82 | 0.8753 | 56 | 417 | 6.142857 | 0.464286 | 0.122093 | 0.098837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028278 | 0.067146 | 417 | 8 | 83 | 52.125 | 0.856041 | 0 | 0 | 0 | 0 | 0 | 0.270983 | 0.270983 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a1d3396357adf0e73d684e9ffb2d4777cb1bffe8 | 43,705 | py | Python | bindings/python/capstone/x86_const.py | zchee/capstone | f278de39c1e8a9fca977b8dfeed99d6d1f8b82bf | [
"BSD-3-Clause"
] | 127 | 2017-08-29T17:32:53.000Z | 2022-03-31T16:58:44.000Z | bindings/python/capstone/x86_const.py | zchee/capstone | f278de39c1e8a9fca977b8dfeed99d6d1f8b82bf | [
"BSD-3-Clause"
] | 90 | 2017-08-31T04:44:38.000Z | 2022-03-31T15:58:29.000Z | bindings/python/capstone/x86_const.py | zchee/capstone | f278de39c1e8a9fca977b8dfeed99d6d1f8b82bf | [
"BSD-3-Clause"
] | 48 | 2017-08-29T11:34:01.000Z | 2022-03-31T15:39:28.000Z | # For Capstone Engine. AUTO-GENERATED FILE, DO NOT EDIT [x86_const.py]
X86_REG_INVALID = 0
X86_REG_AH = 1
X86_REG_AL = 2
X86_REG_AX = 3
X86_REG_BH = 4
X86_REG_BL = 5
X86_REG_BP = 6
X86_REG_BPL = 7
X86_REG_BX = 8
X86_REG_CH = 9
X86_REG_CL = 10
X86_REG_CS = 11
X86_REG_CX = 12
X86_REG_DH = 13
X86_REG_DI = 14
X86_REG_DIL ... | 21.962312 | 70 | 0.814667 | 8,188 | 43,705 | 3.842819 | 0.418051 | 0.290799 | 0.00839 | 0.002161 | 0.00089 | 0.00089 | 0 | 0 | 0 | 0 | 0 | 0.290392 | 0.136277 | 43,705 | 1,989 | 71 | 21.973353 | 0.54314 | 0.001556 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0.0011 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1e78a56fa6aa6ef2c6170fad57b77f5ea9d8689 | 66 | py | Python | Tensor.py | robbierobinette/rcv-tensorflow | 984852902f465bb6f61ba863e4b76092249911d0 | [
"MIT"
] | null | null | null | Tensor.py | robbierobinette/rcv-tensorflow | 984852902f465bb6f61ba863e4b76092249911d0 | [
"MIT"
] | null | null | null | Tensor.py | robbierobinette/rcv-tensorflow | 984852902f465bb6f61ba863e4b76092249911d0 | [
"MIT"
] | null | null | null | import tensorflow as tf
Tensor = tf.types.experimental.TensorLike
| 22 | 41 | 0.833333 | 9 | 66 | 6.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 42 | 33 | 0.932203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a1eab458ad0c6e5268522cdacc0dd3d8014517ef | 319 | py | Python | spec/construct/test_zlib_surrounded.py | generalmimon/kaitai_struct_tests | d6baf92e1e47404fcb904c698d627450ebe9b314 | [
"MIT"
] | null | null | null | spec/construct/test_zlib_surrounded.py | generalmimon/kaitai_struct_tests | d6baf92e1e47404fcb904c698d627450ebe9b314 | [
"MIT"
] | null | null | null | spec/construct/test_zlib_surrounded.py | generalmimon/kaitai_struct_tests | d6baf92e1e47404fcb904c698d627450ebe9b314 | [
"MIT"
] | null | null | null | # Autogenerated from KST: please remove this line if doing any edits by hand!
import unittest
from zlib_surrounded import _schema
class TestZlibSurrounded(unittest.TestCase):
def test_zlib_surrounded(self):
r = _schema.parse_file('src/zlib_surrounded.bin')
self.assertEqual(r.zlib.inflated, -1)
| 26.583333 | 77 | 0.755486 | 43 | 319 | 5.44186 | 0.744186 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003759 | 0.166144 | 319 | 11 | 78 | 29 | 0.87594 | 0.23511 | 0 | 0 | 1 | 0 | 0.095041 | 0.095041 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a1fc1fd7c54c70c42b70a8ca154892bcd2ec8bdc | 99 | py | Python | tests/test_find_forks/__init__.py | ivan2kh/find_forks | 409251282a85da48445afc03c5a1797df393ca95 | [
"MIT"
] | 41 | 2015-05-15T14:37:42.000Z | 2022-02-05T01:52:00.000Z | tests/test_find_forks/__init__.py | ivan2kh/find_forks | 409251282a85da48445afc03c5a1797df393ca95 | [
"MIT"
] | 12 | 2015-05-15T22:10:36.000Z | 2021-12-05T14:21:58.000Z | tests/test_find_forks/__init__.py | ivan2kh/find_forks | 409251282a85da48445afc03c5a1797df393ca95 | [
"MIT"
] | 16 | 2015-05-15T14:44:33.000Z | 2020-11-18T00:54:18.000Z | # coding: utf-8
"""Dummy."""
from os import path
BASEPATH = path.abspath(path.dirname(__file__))
| 14.142857 | 47 | 0.69697 | 14 | 99 | 4.642857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.131313 | 99 | 6 | 48 | 16.5 | 0.744186 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a1fe67272a9d8d60a3dd0a101ed388dbc262f480 | 171 | py | Python | yatsm/algorithms/__init__.py | bullocke/yatsm_nrt | b0ded56032bf9f9dcdf6b7b749f6554ade56de1e | [
"MIT"
] | 2 | 2018-04-25T02:10:30.000Z | 2021-07-30T03:57:49.000Z | yatsm/algorithms/__init__.py | bullocke/yatsm_nrt | b0ded56032bf9f9dcdf6b7b749f6554ade56de1e | [
"MIT"
] | null | null | null | yatsm/algorithms/__init__.py | bullocke/yatsm_nrt | b0ded56032bf9f9dcdf6b7b749f6554ade56de1e | [
"MIT"
] | 1 | 2017-04-01T16:11:52.000Z | 2017-04-01T16:11:52.000Z | """ Submodule for YATSM algorithms
Algorithms currently include:
- :py:class:`ccdc.CCDCesque`
"""
from .ccdc import CCDCesque # noqa
available = ['CCDCesque'] #:
| 17.1 | 35 | 0.690058 | 18 | 171 | 6.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 171 | 9 | 36 | 19 | 0.836879 | 0.590643 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b8062423f11b39f515f2542a845f269ad75bd7c2 | 99 | py | Python | gentelaadmin/apps.py | xuhairmeer/school-management | 36394c841a61e46bc00e1dc21bcfcdd5fa6f6918 | [
"bzip2-1.0.6"
] | null | null | null | gentelaadmin/apps.py | xuhairmeer/school-management | 36394c841a61e46bc00e1dc21bcfcdd5fa6f6918 | [
"bzip2-1.0.6"
] | 9 | 2021-03-19T08:15:07.000Z | 2022-03-12T00:13:19.000Z | gentelaadmin/apps.py | muhammadzuhair95/school-management | 36394c841a61e46bc00e1dc21bcfcdd5fa6f6918 | [
"bzip2-1.0.6"
] | null | null | null | from django.apps import AppConfig
class GentelaadminConfig(AppConfig):
name = 'gentelaadmin'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b809b4a12bddd7da35b7380d74eb18575ad6ea9f | 14,479 | py | Python | res/res/pub/database/models.py | onap/vfc-gvnfm-vnfres | 2ff32469650ac5b6dc6b65d99cc27f3f7aab4161 | [
"Apache-2.0"
] | 1 | 2021-10-15T15:26:31.000Z | 2021-10-15T15:26:31.000Z | res/res/pub/database/models.py | onap/vfc-gvnfm-vnfres | 2ff32469650ac5b6dc6b65d99cc27f3f7aab4161 | [
"Apache-2.0"
] | null | null | null | res/res/pub/database/models.py | onap/vfc-gvnfm-vnfres | 2ff32469650ac5b6dc6b65d99cc27f3f7aab4161 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 ZTE Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | 60.078838 | 142 | 0.754541 | 1,865 | 14,479 | 5.673458 | 0.131367 | 0.121728 | 0.199225 | 0.26954 | 0.575749 | 0.53133 | 0.478027 | 0.414895 | 0.406767 | 0.358473 | 0 | 0.032775 | 0.121279 | 14,479 | 240 | 143 | 60.329167 | 0.798868 | 0.076732 | 0 | 0.37766 | 0 | 0 | 0.111727 | 0.001873 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005319 | false | 0 | 0.005319 | 0.005319 | 0.946809 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
62adceeecfdd77a88bff6b8d206582291a0569cc | 8,407 | py | Python | branches/old/python/ansi-C-generator/build_executables_a4d.py | jeffhammond/spaghetty | e2dbe2dd2621110b899b21dff590906a579e8bf5 | [
"BSD-2-Clause"
] | 1 | 2018-01-05T16:13:08.000Z | 2018-01-05T16:13:08.000Z | branches/old/python/ansi-C-generator/build_executables_a4d.py | jeffhammond/spaghetty | e2dbe2dd2621110b899b21dff590906a579e8bf5 | [
"BSD-2-Clause"
] | null | null | null | branches/old/python/ansi-C-generator/build_executables_a4d.py | jeffhammond/spaghetty | e2dbe2dd2621110b899b21dff590906a579e8bf5 | [
"BSD-2-Clause"
] | null | null | null | import fileinput
import string
import sys
import os
c_compiler = 'icc'
c_link_flags = '-g -O1 -xT -march=core2 -mtune=core2 -align -strict-ansi'
c_opt_flags = '-g -O3 -xT -march=core2 -mtune=core2 -funroll-loops -align -strict-ansi'
#fortran_compiler = 'ifort'
#fortran_link_flags = '-g -O1 -xT -march=core2 -mtune=core... | 49.163743 | 145 | 0.59843 | 1,367 | 8,407 | 3.549378 | 0.114119 | 0.199918 | 0.293693 | 0.372012 | 0.692498 | 0.663232 | 0.564303 | 0.448681 | 0.396538 | 0.370981 | 0 | 0.025479 | 0.15499 | 8,407 | 170 | 146 | 49.452941 | 0.657517 | 0.177709 | 0 | 0.207692 | 0 | 0.038462 | 0.310706 | 0.07327 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.030769 | null | null | 0.107692 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62b112bfb912a435311d45858a5ef39209bd771c | 100 | py | Python | countdigit.py | Hrushabhs/My-Pycode | c27549b89a7848827117e42d324d383732adfac5 | [
"Apache-2.0"
] | null | null | null | countdigit.py | Hrushabhs/My-Pycode | c27549b89a7848827117e42d324d383732adfac5 | [
"Apache-2.0"
] | null | null | null | countdigit.py | Hrushabhs/My-Pycode | c27549b89a7848827117e42d324d383732adfac5 | [
"Apache-2.0"
] | null | null | null | n=int(input("Enetr number: "))
count=0
while(n>0):
dig=n%10
count+=1
n=n/10
print count
| 12.5 | 30 | 0.59 | 20 | 100 | 2.95 | 0.6 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089744 | 0.22 | 100 | 7 | 31 | 14.285714 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62da902e73beced86891224544cc228868991ddd | 315 | py | Python | src/restfx/util/md5.py | hyjiacan/restfx | 8ba70bc099e6ace0c9b3afe8909ea61a5ff82dec | [
"MIT",
"BSD-3-Clause"
] | 5 | 2021-01-25T11:09:41.000Z | 2021-04-28T07:17:21.000Z | src/restfx/util/md5.py | mgbin088/restfx | 86a499a9a4396829e2c40428feb8b2ee13406d52 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/restfx/util/md5.py | mgbin088/restfx | 86a499a9a4396829e2c40428feb8b2ee13406d52 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-01-28T00:53:37.000Z | 2021-01-28T00:53:37.000Z | import hashlib
def hash_bytes(s: (str, bytes)) -> bytes:
if isinstance(s, str):
s = s.encode(encoding='utf8')
return hashlib.md5(s).digest()
def hash_str(s: (str, bytes)) -> str:
if isinstance(s, str):
s = s.encode(encoding='utf8')
return hashlib.md5(s).hexdigest()
| 22.5 | 42 | 0.584127 | 44 | 315 | 4.136364 | 0.363636 | 0.087912 | 0.098901 | 0.175824 | 0.582418 | 0.582418 | 0.582418 | 0.582418 | 0.582418 | 0.582418 | 0 | 0.016949 | 0.250794 | 315 | 13 | 43 | 24.230769 | 0.754237 | 0 | 0 | 0.444444 | 0 | 0 | 0.02649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
62ff9078ea75c4139cf4fc59de6c0cad0c865a2d | 714 | py | Python | python/403.py | kylekanos/project-euler-1 | af7089356a4cea90f8ef331cfdc65e696def6140 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | python/403.py | kylekanos/project-euler-1 | af7089356a4cea90f8ef331cfdc65e696def6140 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | python/403.py | kylekanos/project-euler-1 | af7089356a4cea90f8ef331cfdc65e696def6140 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-09-17T00:55:58.000Z | 2019-09-17T00:55:58.000Z | #!/usr/bin/env python
N=10**12
R=int(N**.5)
mod = 10**8
def s(r,h):
return (h**3 + 3*h*r**2 + r**3 + (3*h**2 + 5)*r + 5*h + 6)//6%mod
def f(r,ph,qh):
return (-4*(ph - qh - 1)*r**3 - ph**4 + 2*ph**3 - 11*ph**2 + \
qh**4 - 6*(ph**2 - qh**2 - ph - qh)*r**2 + 2*qh**3 - 2*(2*ph**3 - 3*ph**2 - \
... | 28.56 | 96 | 0.462185 | 169 | 714 | 1.952663 | 0.207101 | 0.024242 | 0.063636 | 0.081818 | 0.342424 | 0.206061 | 0.206061 | 0 | 0 | 0 | 0 | 0.132597 | 0.239496 | 714 | 24 | 97 | 29.75 | 0.475138 | 0.028011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.052632 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1a2694058b0cd5e5a084ac2d4c13b8e15e9cc4d1 | 2,062 | py | Python | tests/test_single_file.py | alepuzio/listfiles | cddc329cf773016a4703946c338a6e16d81380f5 | [
"MIT"
] | null | null | null | tests/test_single_file.py | alepuzio/listfiles | cddc329cf773016a4703946c338a6e16d81380f5 | [
"MIT"
] | null | null | null | tests/test_single_file.py | alepuzio/listfiles | cddc329cf773016a4703946c338a6e16d81380f5 | [
"MIT"
] | 1 | 2021-06-13T12:44:31.000Z | 2021-06-13T12:44:31.000Z | import os
import unittest
from os.path import splitext
from list_files.physical_data import PhysicalData
from list_files.physical_data import PhysicalDataFake
from .test_filename import Filename
class SingleFile:
def __init__(self, new_physical_data):
self.physical = new_physical_data
self.filena... | 27.493333 | 117 | 0.608632 | 249 | 2,062 | 4.863454 | 0.261044 | 0.066061 | 0.04294 | 0.037159 | 0.28654 | 0.234517 | 0.17341 | 0.17341 | 0.11891 | 0.11891 | 0 | 0.005171 | 0.249758 | 2,062 | 74 | 118 | 27.864865 | 0.777634 | 0.108632 | 0 | 0.047619 | 0 | 0 | 0.064868 | 0.012629 | 0 | 0 | 0 | 0 | 0.047619 | 1 | 0.309524 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0.047619 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1a289619d08881edaf8f3c451d2b461d1329acc8 | 224 | py | Python | pages/themes/beginners/unicodeTopics/examples/unicode_escapes_in_strings.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/unicodeTopics/examples/unicode_escapes_in_strings.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | pages/themes/beginners/unicodeTopics/examples/unicode_escapes_in_strings.py | ProgressBG-Python-Course/ProgressBG-VC2-Python | 03b892a42ee1fad3d4f97e328e06a4b1573fd356 | [
"MIT"
] | null | null | null | # Unicode symbol in string:
print("Ѣ")
# Using the character name:
print("\N{Cyrillic Capital Letter Yat}")
# Using a 16-bit hex value code point:
print("\u0462")
# Using a 32-bit hex value code point:
print("\U00000462") | 20.363636 | 40 | 0.705357 | 36 | 224 | 4.388889 | 0.694444 | 0.075949 | 0.139241 | 0.189873 | 0.316456 | 0.316456 | 0 | 0 | 0 | 0 | 0 | 0.084656 | 0.15625 | 224 | 11 | 41 | 20.363636 | 0.751323 | 0.558036 | 0 | 0 | 0 | 0 | 0.505263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a7e30c19b82191d01543661cf87f800e6cda8984 | 2,244 | py | Python | tests/test_walk.py | asherf/flake8-os-walk | ba76c88783d3cb01bc25b497a2413ae2c8366790 | [
"MIT"
] | 1 | 2020-06-04T05:12:12.000Z | 2020-06-04T05:12:12.000Z | tests/test_walk.py | asherf/flake8-os-walk | ba76c88783d3cb01bc25b497a2413ae2c8366790 | [
"MIT"
] | null | null | null | tests/test_walk.py | asherf/flake8-os-walk | ba76c88783d3cb01bc25b497a2413ae2c8366790 | [
"MIT"
] | null | null | null | from ast import parse
from sys import version_info
from textwrap import dedent
from flake8_os_walk.checker import OsWalkVisitor
def test_os_walk_func_bad_usage():
tree = parse(
dedent(
"""\
import os
def hello_jerry():
for dir in os.walk('this-is-bad'):
... | 21.786408 | 88 | 0.561497 | 262 | 2,244 | 4.69084 | 0.240458 | 0.058584 | 0.029292 | 0.042311 | 0.780309 | 0.766477 | 0.745321 | 0.677787 | 0.677787 | 0.677787 | 0 | 0.023256 | 0.329323 | 2,244 | 102 | 89 | 22 | 0.793355 | 0 | 0 | 0.614035 | 0 | 0 | 0.110196 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 1 | 0.070175 | false | 0 | 0.070175 | 0 | 0.140351 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7e725954870b4ba9822c55d980736a0d2de89f2 | 36 | py | Python | tests/__init__.py | mosquito/python-lsm | a46cf4b6c661a4944dd61470e76fb6442352e501 | [
"Apache-2.0"
] | 6 | 2021-06-09T09:35:37.000Z | 2021-11-24T23:09:57.000Z | tests/__init__.py | mosquito/python-lsm | a46cf4b6c661a4944dd61470e76fb6442352e501 | [
"Apache-2.0"
] | 1 | 2021-11-15T15:52:10.000Z | 2021-11-16T16:40:56.000Z | tests/__init__.py | mosquito/python-lsm | a46cf4b6c661a4944dd61470e76fb6442352e501 | [
"Apache-2.0"
] | 1 | 2021-07-25T21:30:22.000Z | 2021-07-25T21:30:22.000Z | comp_algo = ["none", "lz4", "zstd"]
| 18 | 35 | 0.555556 | 5 | 36 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.138889 | 36 | 1 | 36 | 36 | 0.580645 | 0 | 0 | 0 | 0 | 0 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a7ef665f1ec6c10f7fa4fbcb59e0f9eef71b4aff | 646 | py | Python | dalme_app/utils/__init__.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 6 | 2019-05-07T01:06:04.000Z | 2021-02-19T20:45:09.000Z | dalme_app/utils/__init__.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 23 | 2018-09-14T18:01:42.000Z | 2021-12-29T17:25:18.000Z | dalme_app/utils/__init__.py | DALME/dalme | 46f9a0011fdb75c5098b552104fc73b1062e16e9 | [
"BSD-3-Clause"
] | 1 | 2020-02-10T16:20:57.000Z | 2020-02-10T16:20:57.000Z | from .async_middleware import AsyncMiddleware # NOQA
from .dalme_saml_processor import SAMLProcessor # NOQA
from .database_router import ModelDatabaseRouter # NOQA
from .date_time_helpers import FormatDalmeDate, round_timesince # NOQA
from .domain_middleware import SubdomainRedirectMiddleware # NOQA
from .dynamic_prefe... | 53.833333 | 80 | 0.854489 | 75 | 646 | 7.133333 | 0.533333 | 0.149533 | 0.085981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106811 | 646 | 11 | 81 | 58.727273 | 0.92721 | 0.083591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a7f6da8a7e6cc5f49f760883f09f74d397fe571c | 2,444 | py | Python | Modules/text.py | DaMuffinDev/ezruh | 7c57b8b77f01674c1f46c0adad661f234584e024 | [
"MIT"
] | null | null | null | Modules/text.py | DaMuffinDev/ezruh | 7c57b8b77f01674c1f46c0adad661f234584e024 | [
"MIT"
] | null | null | null | Modules/text.py | DaMuffinDev/ezruh | 7c57b8b77f01674c1f46c0adad661f234584e024 | [
"MIT"
] | null | null | null | from Resources.required_modules import pymodules
pymodules.install(pymodules.presets.modules("text"))
from pyautogui import typewrite, press
from keyboard import is_pressed
from time import sleep as wait
import random
inf = -1
def enter(): press("enter")
def spam_text_file_contents(text_file, delay, repeat_delay, r... | 35.941176 | 100 | 0.671031 | 354 | 2,444 | 4.525424 | 0.200565 | 0.061798 | 0.048689 | 0.041199 | 0.752185 | 0.752185 | 0.71598 | 0.687266 | 0.687266 | 0.687266 | 0 | 0.002746 | 0.25491 | 2,444 | 68 | 101 | 35.941176 | 0.876991 | 0.425532 | 0 | 0.416667 | 0 | 0 | 0.010778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.138889 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c50d9d31149a7b960c17e4041c2ab4d64c738cff | 1,332 | py | Python | Algorithms_easy/0944. Delete Columns to Make Sorted.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | 4 | 2020-08-11T20:45:15.000Z | 2021-03-12T00:33:34.000Z | Algorithms_easy/0944. Delete Columns to Make Sorted.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | Algorithms_easy/0944. Delete Columns to Make Sorted.py | VinceW0/Leetcode_Python_solutions | 09e9720afce21632372431606ebec4129eb79734 | [
"Xnet",
"X11"
] | null | null | null | """
0944. Delete Columns to Make Sorted
Easy
We are given an array A of N lowercase letter strings, all of the same length.
Now, we may choose any set of deletion indices, and for each string, we delete all the characters in those indices.
For example, if we have an array A = ["abcdef","uvwxyz"] and deletion indices... | 27.75 | 291 | 0.65015 | 233 | 1,332 | 3.716738 | 0.450644 | 0.051963 | 0.051963 | 0.072748 | 0.090069 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026777 | 0.186937 | 1,332 | 47 | 292 | 28.340426 | 0.772853 | 0.891141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
c5262761e5f3b58f60b2ce79889d60ea4397312d | 64 | py | Python | wrds2postgres/__init__.py | seanxwzhang/wrds2pg | 770bf6df20e3fbec8101f0dfc3da69a512683b0f | [
"MIT"
] | null | null | null | wrds2postgres/__init__.py | seanxwzhang/wrds2pg | 770bf6df20e3fbec8101f0dfc3da69a512683b0f | [
"MIT"
] | null | null | null | wrds2postgres/__init__.py | seanxwzhang/wrds2pg | 770bf6df20e3fbec8101f0dfc3da69a512683b0f | [
"MIT"
] | null | null | null | name = "wrds2postgres"
from wrds2postgres import wrds2postgres
| 16 | 39 | 0.828125 | 6 | 64 | 8.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.125 | 64 | 3 | 40 | 21.333333 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c52700780a73e91f57ce0e59ed0294f200ccc532 | 158 | py | Python | Python/parking.py | mimseyedi/Kattis | a99ea2112544e89cc466feb7d81ffe6eb017f7e2 | [
"MIT"
] | null | null | null | Python/parking.py | mimseyedi/Kattis | a99ea2112544e89cc466feb7d81ffe6eb017f7e2 | [
"MIT"
] | null | null | null | Python/parking.py | mimseyedi/Kattis | a99ea2112544e89cc466feb7d81ffe6eb017f7e2 | [
"MIT"
] | null | null | null | n = int(input())
for _ in range(n):
store = int(input())
loc = list(map(int, input().split()))
dist = 2 * (max(loc) - min(loc))
print(dist)
| 17.555556 | 41 | 0.525316 | 24 | 158 | 3.416667 | 0.666667 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008475 | 0.253165 | 158 | 8 | 42 | 19.75 | 0.686441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c53c4261965061481b197c48ebf397cf3c40f347 | 551 | py | Python | core/test/rule/naming_task.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | 3 | 2021-06-20T02:24:10.000Z | 2022-01-26T23:55:33.000Z | core/test/rule/naming_task.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | null | null | null | core/test/rule/naming_task.py | bogonets/answer | 57f892a9841980bcbc35fa1e27521b34cd94bc25 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from unittest import TestCase, main
from recc.rule.naming_task import naming_task, naming_task_volume, naming_task_network
class NamingTaskTestCase(TestCase):
def test_naming_task(self):
self.assertEqual("answer.container", naming_task("", "", ""))
def test_naming_task_volume... | 27.55 | 86 | 0.702359 | 66 | 551 | 5.454545 | 0.363636 | 0.277778 | 0.133333 | 0.141667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002151 | 0.15608 | 551 | 19 | 87 | 29 | 0.772043 | 0.038113 | 0 | 0 | 0 | 0 | 0.096591 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 1 | 0.272727 | false | 0 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c53c66e62fc2199bd0a8605bbf2edf22ea4026c6 | 152 | py | Python | locale/pot/api/utilities/_autosummary/pyvista-lines_from_points-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/utilities/_autosummary/pyvista-lines_from_points-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/core/helpers-3.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | import numpy as np
import pyvista
points = np.array([[0, 0, 0], [1, 0, 0], [1, 1, 0]])
poly = pyvista.lines_from_points(points)
poly.plot(line_width=5)
| 25.333333 | 52 | 0.677632 | 29 | 152 | 3.448276 | 0.551724 | 0.06 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 0.138158 | 152 | 5 | 53 | 30.4 | 0.687023 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c5416b818e6ca2407ccaa04271bad3a8b35151a4 | 971 | py | Python | utils/checks.py | Proxymiity/Alter | 9e31a5f89f5b7ad464255399de9312691c895635 | [
"Apache-2.0"
] | 3 | 2020-11-18T11:33:27.000Z | 2020-12-24T01:51:03.000Z | utils/checks.py | Proxymiity/Alter | 9e31a5f89f5b7ad464255399de9312691c895635 | [
"Apache-2.0"
] | 5 | 2021-02-16T13:00:22.000Z | 2021-03-05T23:42:12.000Z | utils/checks.py | Proxymiity/Alter | 9e31a5f89f5b7ad464255399de9312691c895635 | [
"Apache-2.0"
] | null | null | null | import discord
from discord.ext import commands
from utils.dataIO import dataIO
bot_owner_id = dataIO.load_json("data/config.json")["owner"]
def bot_owner():
return commands.check(bot_owner_raw)
def bot_owner_raw(ctx):
return ctx.message.author.id == bot_owner_id
def server_owner():
return commands.ch... | 22.068182 | 70 | 0.697219 | 136 | 971 | 4.808824 | 0.264706 | 0.073395 | 0.067278 | 0.077982 | 0.111621 | 0.076453 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209063 | 971 | 43 | 71 | 22.581395 | 0.851563 | 0 | 0 | 0.193548 | 0 | 0 | 0.021627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.096774 | 0.129032 | 0.709677 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c549d98d89c1141a2a21b7216219b1baeff55407 | 1,490 | py | Python | addon/import_vcap/amulet_nbt/amulet_nbt_py/nbt_types/string.py | Sam54123/mc-world-export | b82632d76f012121de389276880ddb2eed9e6661 | [
"MIT"
] | 2 | 2021-11-30T20:59:36.000Z | 2022-03-09T18:43:23.000Z | addon/import_vcap/amulet_nbt/amulet_nbt_py/nbt_types/string.py | Sam54123/mc-world-export | b82632d76f012121de389276880ddb2eed9e6661 | [
"MIT"
] | 2 | 2021-11-04T03:45:42.000Z | 2022-03-27T00:23:16.000Z | addon/import_vcap/amulet_nbt/amulet_nbt_py/nbt_types/string.py | Sam54123/mc-world-export | b82632d76f012121de389276880ddb2eed9e6661 | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import ClassVar, BinaryIO
from ..const import SNBTType
from .value import BaseImmutableTag
class TAG_String(BaseImmutableTag):
tag_id: ClassVar[int] = 8
_value: str
_data_type: ClassVar = str
@classmethod
def load_from(cls, context: BinaryIO, littl... | 27.090909 | 77 | 0.658389 | 177 | 1,490 | 5.112994 | 0.293785 | 0.079558 | 0.099448 | 0.125967 | 0.362431 | 0.362431 | 0.285083 | 0.212155 | 0.212155 | 0.212155 | 0 | 0.000855 | 0.215436 | 1,490 | 54 | 78 | 27.592593 | 0.773311 | 0 | 0 | 0.054054 | 0 | 0 | 0.032215 | 0.018792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.351351 | false | 0 | 0.108108 | 0.324324 | 0.891892 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c556fa6151eae3eacaa2d66a7bfce7ab898ba4d3 | 472 | py | Python | checkov/terraform/checks/data/aws/IAMCredentialsExposure.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 3 | 2021-04-19T17:17:21.000Z | 2021-09-06T06:31:09.000Z | checkov/terraform/checks/data/aws/IAMCredentialsExposure.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 16 | 2021-03-09T07:38:38.000Z | 2021-06-09T03:53:55.000Z | checkov/terraform/checks/data/aws/IAMCredentialsExposure.py | antonblr/checkov | 9415c6593c537945c08f7a19f28bdd8b96966f67 | [
"Apache-2.0"
] | 1 | 2022-01-06T08:04:56.000Z | 2022-01-06T08:04:56.000Z | from checkov.terraform.checks.data.BaseCloudsplainingIAMCheck import BaseCloudsplainingIAMCheck
class CloudSplainingCredentialsExposure(BaseCloudsplainingIAMCheck):
def __init__(self):
name = "Ensure IAM policies does not allow credentials exposure"
id = "CKV_AWS_107"
super().__init__(nam... | 29.5 | 95 | 0.769068 | 44 | 472 | 7.977273 | 0.704545 | 0.108262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007595 | 0.163136 | 472 | 15 | 96 | 31.466667 | 0.881013 | 0 | 0 | 0 | 0 | 0 | 0.139831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c55e0eda4e3e64446f0960b972543e6cf72327d9 | 102 | py | Python | Python Fundamentals/8. Text Processing/Exercise/05. Emoticon Finder.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python Fundamentals/8. Text Processing/Exercise/05. Emoticon Finder.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | Python Fundamentals/8. Text Processing/Exercise/05. Emoticon Finder.py | a-shiro/SoftUni-Courses | 7d0ca6401017a28b5ff7e7fa3e5df8bba8ddbe77 | [
"MIT"
] | null | null | null | text = input()
for i in range(len(text)):
if text[i] == ":":
print(text[i] + text[i + 1]) | 20.4 | 36 | 0.490196 | 17 | 102 | 2.941176 | 0.588235 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.27451 | 102 | 5 | 36 | 20.4 | 0.662162 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d7be59d3294497e1fe93058b832653c3e9260cd | 433 | py | Python | Inventario/cmp/migrations/0029_auto_20190926_2044.py | SYS0xWord/InventarioDjango_Udemy | 073b3edbf3495289251d3edf4d0437a813f5cfb4 | [
"MIT"
] | null | null | null | Inventario/cmp/migrations/0029_auto_20190926_2044.py | SYS0xWord/InventarioDjango_Udemy | 073b3edbf3495289251d3edf4d0437a813f5cfb4 | [
"MIT"
] | null | null | null | Inventario/cmp/migrations/0029_auto_20190926_2044.py | SYS0xWord/InventarioDjango_Udemy | 073b3edbf3495289251d3edf4d0437a813f5cfb4 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.2 on 2019-09-27 02:44
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('cmp', '0028_registro_lote'),
]
operations = [
migrations.RemoveField(
model_name='lote',
name='loteventa',
),
... | 19.681818 | 47 | 0.561201 | 42 | 433 | 5.666667 | 0.619048 | 0.016807 | 0.218487 | 0.252101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065068 | 0.325635 | 433 | 21 | 48 | 20.619048 | 0.75 | 0.103926 | 0 | 0.4 | 1 | 0 | 0.145078 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3da9bd10811a51cfe8654f9d77c60db67a78ca6f | 23 | py | Python | Lib/idlelib/idlever.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | null | null | null | Lib/idlelib/idlever.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | null | null | null | Lib/idlelib/idlever.py | deadsnakes/python2.3 | 0b4a6871ca57123c10aa48cc2a5d2b7c0ee3c849 | [
"PSF-2.0"
] | null | null | null | IDLE_VERSION = "1.0.7"
| 11.5 | 22 | 0.652174 | 5 | 23 | 2.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3dbb319a62a4ca69b922a3261d5a6e7a46d792fd | 687 | py | Python | 20170111.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | 20170111.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null | 20170111.py | JaeGyu/PythonEx_1 | e67053db6ca7431c3dd66351c190c53229e3f141 | [
"MIT"
] | null | null | null |
import re
p = re.compile("[a-z]")
m = p.match("zaa")
m2 = p.match("4")
print(m)
print(m2)
if m:
print("매치 됨 : ", m.group())
else:
print("매치 안됨")
p = re.compile("[abc]")
print(p.match("a"))
print(p.match("before"))
print(p.match("dude"))
print("-" * 60)
p = re.compile("[1-3]")
print(p.match("aa"))
print(p.... | 14.3125 | 31 | 0.55313 | 123 | 687 | 3.089431 | 0.300813 | 0.205263 | 0.318421 | 0.157895 | 0.465789 | 0.326316 | 0.276316 | 0.276316 | 0.276316 | 0.157895 | 0 | 0.06 | 0.126638 | 687 | 47 | 32 | 14.617021 | 0.573333 | 0.0131 | 0 | 0.342857 | 0 | 0 | 0.14095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.028571 | 0 | 0.028571 | 0.628571 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3dc509f4fba3a63a57bd67d52b225b53eff175b5 | 1,123 | py | Python | glhe/profiles/constant_temp.py | stianchris/GLHE | 80c3eecca81ffd50d5077f87027c9441292452f5 | [
"MIT"
] | 2 | 2018-11-06T08:04:04.000Z | 2020-10-09T14:52:36.000Z | glhe/profiles/constant_temp.py | stianchris/GLHE | 80c3eecca81ffd50d5077f87027c9441292452f5 | [
"MIT"
] | 68 | 2018-03-27T01:43:22.000Z | 2019-09-09T12:05:44.000Z | glhe/profiles/constant_temp.py | mitchute/GLHE | 80c3eecca81ffd50d5077f87027c9441292452f5 | [
"MIT"
] | 4 | 2018-05-24T03:02:44.000Z | 2021-08-16T13:54:09.000Z | from glhe.input_processor.component_types import ComponentTypes
from glhe.input_processor.input_processor import InputProcessor
from glhe.interface.entry import SimulationEntryPoint
from glhe.interface.response import SimulationResponse
from glhe.output_processor.output_processor import OutputProcessor
from glhe.outpu... | 41.592593 | 109 | 0.753339 | 128 | 1,123 | 6.421875 | 0.34375 | 0.058394 | 0.03163 | 0.053528 | 0.087591 | 0.087591 | 0.087591 | 0.087591 | 0.087591 | 0 | 0 | 0 | 0.147818 | 1,123 | 26 | 110 | 43.192308 | 0.858934 | 0 | 0 | 0 | 0 | 0 | 0.029386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.315789 | 0.105263 | 0.684211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
3dd3eeed55c5c54386f3543577c68e3b155b1308 | 321 | py | Python | dit/utils/__init__.py | Ejjaffe/dit | c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1 | [
"BSD-3-Clause"
] | 1 | 2020-03-13T10:30:11.000Z | 2020-03-13T10:30:11.000Z | dit/utils/__init__.py | Ejjaffe/dit | c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1 | [
"BSD-3-Clause"
] | null | null | null | dit/utils/__init__.py | Ejjaffe/dit | c9d206f03d1de5a0a298b1d0ea9d79ea5e789ee1 | [
"BSD-3-Clause"
] | null | null | null | """
Module providing miscellaneous functionality.
"""
from .bindargs import bindcallargs
from .context import cd, named_tempfile, tempdir
from .misc import *
from .latexarray import to_latex as pmf_to_latex, to_pdf as pmf_to_pdf
from .logger import basic_logger
from .table import build_table
from .units import unitful... | 26.75 | 70 | 0.813084 | 47 | 321 | 5.361702 | 0.553191 | 0.055556 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 321 | 11 | 71 | 29.181818 | 0.903226 | 0.140187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3ddded32bf52b633e3b0fc82177ada2e0b5635e2 | 27,727 | py | Python | plug-ins/_mpynode/_openmaya.py | mpynode/node-designer | ec620f1388337bc0a4e5664d80e1ea6ade8b410e | [
"Unlicense"
] | 63 | 2019-03-18T03:44:28.000Z | 2021-12-31T07:51:09.000Z | plug-ins/_mpynode/_openmaya.py | mpynode/node-designer | ec620f1388337bc0a4e5664d80e1ea6ade8b410e | [
"Unlicense"
] | 2 | 2019-03-19T10:39:02.000Z | 2020-02-25T06:39:12.000Z | plug-ins/_mpynode/_openmaya.py | mpynode/node-designer | ec620f1388337bc0a4e5664d80e1ea6ade8b410e | [
"Unlicense"
] | 19 | 2019-03-18T08:05:05.000Z | 2022-01-11T08:37:45.000Z | """
This module is for adding functionality to existing Maya API classes
"""
import maya.api.OpenMaya as om
class MAngle(om.MAngle):
"""
Override of the Maya API class of the same name to make
the data within the class 'picklable'
"""
def __init__(self, *args):
super(MAng... | 22.306516 | 160 | 0.598298 | 3,150 | 27,727 | 4.92254 | 0.095238 | 0.023539 | 0.03618 | 0.02412 | 0.66155 | 0.586483 | 0.555011 | 0.410422 | 0.296272 | 0.266091 | 0 | 0.001672 | 0.288203 | 27,727 | 1,242 | 161 | 22.324477 | 0.783999 | 0.190681 | 0 | 0.437788 | 0 | 0 | 0.022022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423963 | false | 0 | 0.002304 | 0.304147 | 0.864055 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3dfce6795d8180bb46d58bc36fe37426104cb5c5 | 551 | py | Python | bdi/result.py | keishinkickback/batch-document-inference | 3529810b02d596dd3cb76df2068682919f2f1857 | [
"MIT"
] | null | null | null | bdi/result.py | keishinkickback/batch-document-inference | 3529810b02d596dd3cb76df2068682919f2f1857 | [
"MIT"
] | null | null | null | bdi/result.py | keishinkickback/batch-document-inference | 3529810b02d596dd3cb76df2068682919f2f1857 | [
"MIT"
] | null | null | null | import abc
from typing import TypeVar
Result = TypeVar("Result")
class Result(metaclass=abc.ABCMeta):
@abc.abstractmethod
def __add__(self, new_result: Result) -> Result:
pass
@abc.abstractmethod
def add(self) -> None:
pass
@abc.abstractmethod
def to_dict(self) -> dict:
... | 21.192308 | 65 | 0.591652 | 71 | 551 | 4.352113 | 0.464789 | 0.165049 | 0.194175 | 0.148867 | 0.174757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261343 | 551 | 25 | 66 | 22.04 | 0.759214 | 0 | 0 | 0.333333 | 0 | 0 | 0.101633 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.166667 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9a7d1f2922512aacf7b45f9c182c5653fdfccfe4 | 4,476 | py | Python | tests/test__replacer.py | vsvandelik/cubbitt-fixer | eacab30975b9087b7f1a987402dc70bedb16c4bf | [
"MIT"
] | null | null | null | tests/test__replacer.py | vsvandelik/cubbitt-fixer | eacab30975b9087b7f1a987402dc70bedb16c4bf | [
"MIT"
] | null | null | null | tests/test__replacer.py | vsvandelik/cubbitt-fixer | eacab30975b9087b7f1a987402dc70bedb16c4bf | [
"MIT"
] | null | null | null | from fixer._finder import NumberUnitFinderResult
from fixer._languages import Languages
from fixer._replacer import Replacer
from fixer._units import units
def test_replace_unit_after_space():
result = Replacer.replace_unit(
"I went over the handlebars and flew a good 300 yards on the ground.",
Nu... | 41.444444 | 119 | 0.685433 | 615 | 4,476 | 4.793496 | 0.113821 | 0.067843 | 0.101764 | 0.118725 | 0.817503 | 0.77578 | 0.722185 | 0.646201 | 0.569539 | 0.457938 | 0 | 0.06798 | 0.194817 | 4,476 | 107 | 120 | 41.831776 | 0.748058 | 0 | 0 | 0.431818 | 0 | 0 | 0.211126 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 1 | 0.102273 | false | 0 | 0.045455 | 0 | 0.147727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a96e88736adeb2502586e8f473b85cf6acfc011 | 895 | py | Python | userauth/models.py | houston-igpp/pdsppi-review-website | 49a40d7b3b866008195259e8ccd27b62fd0210da | [
"Apache-2.0"
] | null | null | null | userauth/models.py | houston-igpp/pdsppi-review-website | 49a40d7b3b866008195259e8ccd27b62fd0210da | [
"Apache-2.0"
] | null | null | null | userauth/models.py | houston-igpp/pdsppi-review-website | 49a40d7b3b866008195259e8ccd27b62fd0210da | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
from django.core.validators import RegexValidator
from django.utils.translation import gettext_lazy as _
from django.urls import reverse
# Create your models here.
class CustomUser (AbstractUser):
display_name = models.CharField(ve... | 37.291667 | 148 | 0.731844 | 116 | 895 | 5.431034 | 0.612069 | 0.079365 | 0.069841 | 0.08254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007905 | 0.151955 | 895 | 23 | 149 | 38.913043 | 0.822134 | 0.026816 | 0 | 0 | 0 | 0 | 0.213134 | 0.034562 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.333333 | 0.133333 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
9a9c4aadc145f60bf2228e12490f7b8739f7d96b | 1,240 | py | Python | bitboards/masks.py | martinogden/chessval | 8e50f247e0b620bf1d216ab3865074d32575aba9 | [
"MIT"
] | null | null | null | bitboards/masks.py | martinogden/chessval | 8e50f247e0b620bf1d216ab3865074d32575aba9 | [
"MIT"
] | null | null | null | bitboards/masks.py | martinogden/chessval | 8e50f247e0b620bf1d216ab3865074d32575aba9 | [
"MIT"
] | null | null | null | FULL = 0xFFFFFFFFFFFFFFFFL
A1A8 = 0x00000000000000FFL
A1H1 = 0x0101010101010101L
A8H8 = 0x8080808080808080L
A1H8 = 0x8040201008040201L
A8H1 = 0x0102040810204080L
B1B8 = 0x0202020202020202L
C2H7 = 0x0080402010080400L
C7H2 = 0x0004081020408000L
A4H4 = 0x00000000FF000000L
A5H5 = 0x000000FF00000000L
RANK_MASK = (
A1A... | 17.222222 | 26 | 0.444355 | 153 | 1,240 | 3.575163 | 0.228758 | 0.127971 | 0.021938 | 0.036563 | 0.255942 | 0 | 0 | 0 | 0 | 0 | 0 | 0.437577 | 0.347581 | 1,240 | 71 | 27 | 17.464789 | 0.238566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9aa2dedfd56beaa17f7c8f96a2692ad82fb51a04 | 101 | gyp | Python | binding.gyp | digitalbazaar/node-posix | 33b25a191135872a52169ebc710390793e20a3bf | [
"MIT"
] | null | null | null | binding.gyp | digitalbazaar/node-posix | 33b25a191135872a52169ebc710390793e20a3bf | [
"MIT"
] | null | null | null | binding.gyp | digitalbazaar/node-posix | 33b25a191135872a52169ebc710390793e20a3bf | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "posix",
"sources": [ "src/posix.cc" ]
}
]
}
| 11.222222 | 35 | 0.39604 | 8 | 101 | 4.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.366337 | 101 | 8 | 36 | 12.625 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0.415842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9ad1b69f509e21f739495a7ac1a27711e7f5afdc | 413 | py | Python | mock/employees/static.py | vyahello/fake-data-parser | be04dedca8239282aa216e4d8ab927d708d0d250 | [
"MIT"
] | 1 | 2021-04-20T05:25:22.000Z | 2021-04-20T05:25:22.000Z | mock/employees/static.py | vyahello/fake-data-parser | be04dedca8239282aa216e4d8ab927d708d0d250 | [
"MIT"
] | 2 | 2019-09-19T10:09:22.000Z | 2020-11-07T08:51:54.000Z | mock/employees/static.py | vyahello/fake-data-parser | be04dedca8239282aa216e4d8ab927d708d0d250 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass(frozen=True)
class Endpoint:
"""The class represents WEB endpoint for API."""
address: str = "0.0.0.0"
port: int = 7777
debug: bool = False
@dataclass(frozen=True)
class Route:
"""The class represents API routes."""
home: str = "/"
search_by... | 20.65 | 52 | 0.656174 | 54 | 413 | 4.944444 | 0.574074 | 0.022472 | 0.142322 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024316 | 0.20339 | 413 | 19 | 53 | 21.736842 | 0.787234 | 0.181598 | 0 | 0.181818 | 0 | 0 | 0.168196 | 0.143731 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9ae0be019efe0fc3ae9e36d5d9749e28afaf23d7 | 1,048 | py | Python | stardist/__init__.py | mmvih/stardist | 810dec4727e8e8bf05bd9620f91a3a0dd70de289 | [
"BSD-3-Clause"
] | null | null | null | stardist/__init__.py | mmvih/stardist | 810dec4727e8e8bf05bd9620f91a3a0dd70de289 | [
"BSD-3-Clause"
] | null | null | null | stardist/__init__.py | mmvih/stardist | 810dec4727e8e8bf05bd9620f91a3a0dd70de289 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import, print_function
import warnings
import pathlib
def format_Warning(message, category, filename, lineno, line=''):
return f"{pathlib.Path(filename).name} ({lineno}): {message}\n"
warnings.formatwarning = format_Warning
from .version import __version__
# TODO: which functions t... | 52.4 | 123 | 0.842557 | 146 | 1,048 | 5.636986 | 0.547945 | 0.036452 | 0.076549 | 0.055893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005269 | 0.094466 | 1,048 | 19 | 124 | 55.157895 | 0.86196 | 0.040076 | 0 | 0 | 0 | 0 | 0.052789 | 0.028884 | 0 | 0 | 0 | 0.052632 | 0 | 1 | 0.066667 | false | 0 | 0.8 | 0.066667 | 0.933333 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b1074e35726499c0f9eeb395c227e1f0ebd034da | 143 | py | Python | server/server/chat/routing.py | Shadowsych/matchus | b66241a873ae6bf12b8b7380c42c9920de9c2110 | [
"AML"
] | 1 | 2021-01-10T04:46:12.000Z | 2021-01-10T04:46:12.000Z | server/server/chat/routing.py | Shadowsych/matchus | b66241a873ae6bf12b8b7380c42c9920de9c2110 | [
"AML"
] | null | null | null | server/server/chat/routing.py | Shadowsych/matchus | b66241a873ae6bf12b8b7380c42c9920de9c2110 | [
"AML"
] | null | null | null | from django.urls import path
from . import consumers
websocket_urlpatterns = [
path('ws/chat-room/<int:id>', consumers.ChatRoomConsumer)
] | 23.833333 | 61 | 0.755245 | 18 | 143 | 5.944444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125874 | 143 | 6 | 62 | 23.833333 | 0.856 | 0 | 0 | 0 | 0 | 0 | 0.145833 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b110d1f21969520b70132fce580dfcc89fcfd27f | 430 | py | Python | opendata/tests/test_flotteurs.py | entrepreneur-interet-general/predisauvetage | 4d985ee79355652709da322db48daffb3e5a895a | [
"MIT"
] | 6 | 2018-02-16T15:07:17.000Z | 2020-10-09T09:34:29.000Z | opendata/tests/test_flotteurs.py | entrepreneur-interet-general/predisauvetage | 4d985ee79355652709da322db48daffb3e5a895a | [
"MIT"
] | 107 | 2018-03-29T14:55:33.000Z | 2021-12-13T19:44:50.000Z | opendata/tests/test_flotteurs.py | entrepreneur-interet-general/predisauvetage | 4d985ee79355652709da322db48daffb3e5a895a | [
"MIT"
] | 1 | 2021-03-03T21:02:33.000Z | 2021-03-03T21:02:33.000Z | # -*- coding: utf-8 -*-
from transformers.flotteurs import FlotteursTransformer
from base import BaseTest
class TestFlotteursTransformer(BaseTest):
def test_basic_file(self):
in_file = self.filepath("tests/files/flotteurs.csv")
expected_file = self.filepath("tests/files/expected_flotteurs.csv")
... | 28.666667 | 75 | 0.734884 | 50 | 430 | 6.14 | 0.54 | 0.078176 | 0.104235 | 0.136808 | 0.169381 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002801 | 0.169767 | 430 | 14 | 76 | 30.714286 | 0.857143 | 0.048837 | 0 | 0 | 0 | 0 | 0.144963 | 0.144963 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b116784531827f5854ca5c5b2d99d3b281cf88e4 | 447 | py | Python | tool/models.py | zzattack/ccmaps-web | b431074219a82a4bf51336568aa0589ffa914169 | [
"MIT",
"Unlicense"
] | null | null | null | tool/models.py | zzattack/ccmaps-web | b431074219a82a4bf51336568aa0589ffa914169 | [
"MIT",
"Unlicense"
] | null | null | null | tool/models.py | zzattack/ccmaps-web | b431074219a82a4bf51336568aa0589ffa914169 | [
"MIT",
"Unlicense"
] | null | null | null | from django.db import models
class ProgramVersion(models.Model):
version = models.CharField(max_length=100, unique=True)
release_date = models.DateField(auto_now_add=True)
release_notes = models.CharField(max_length=100, unique=True)
version = models.CharField(max_length=100, unique=True)
file = models.F... | 29.8 | 63 | 0.753915 | 59 | 447 | 5.440678 | 0.576271 | 0.140187 | 0.168224 | 0.224299 | 0.389408 | 0.389408 | 0.389408 | 0.274143 | 0 | 0 | 0 | 0.023316 | 0.136465 | 447 | 14 | 64 | 31.928571 | 0.80829 | 0 | 0 | 0.2 | 0 | 0 | 0.036952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.1 | 0.1 | 0.1 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b116a1087ef968005cd6487abec57ccc007cb80d | 3,081 | py | Python | AS2101_Labwork/3.Trials-References/Task 3/Submission Codes/Bisection Method/bsm_plot/bsm_plot.py | kirtan2605/Coursework_Codes | 3455496e8ec0ae3a576cb3fc3b2ed01a055149c5 | [
"MIT"
] | null | null | null | AS2101_Labwork/3.Trials-References/Task 3/Submission Codes/Bisection Method/bsm_plot/bsm_plot.py | kirtan2605/Coursework_Codes | 3455496e8ec0ae3a576cb3fc3b2ed01a055149c5 | [
"MIT"
] | null | null | null | AS2101_Labwork/3.Trials-References/Task 3/Submission Codes/Bisection Method/bsm_plot/bsm_plot.py | kirtan2605/Coursework_Codes | 3455496e8ec0ae3a576cb3fc3b2ed01a055149c5 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
from values_bsm import *
"""
1. f : The function whose roots we want to find
2. a : lower bound on the root
3. b : upper bound on the root
4. e : permissible error in the value of root obtained
5. N_max : maximum number of iterations after which function stops.
"""
"... | 27.508929 | 84 | 0.676728 | 577 | 3,081 | 3.377816 | 0.169844 | 0.064649 | 0.098512 | 0.071832 | 0.735762 | 0.718317 | 0.715239 | 0.667522 | 0.661365 | 0.620318 | 0 | 0.079408 | 0.16618 | 3,081 | 111 | 85 | 27.756757 | 0.679253 | 0.147355 | 0 | 0.156863 | 0 | 0 | 0.087341 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.058824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b12ecc6608a4386c8f3b148789042e9e19e1b1ca | 152 | py | Python | py_pivot/pivotexample.py | mutazag/misc | dfef362cdd835ef4efd1f2d02e13ff5297ccfc0f | [
"MIT"
] | null | null | null | py_pivot/pivotexample.py | mutazag/misc | dfef362cdd835ef4efd1f2d02e13ff5297ccfc0f | [
"MIT"
] | null | null | null | py_pivot/pivotexample.py | mutazag/misc | dfef362cdd835ef4efd1f2d02e13ff5297ccfc0f | [
"MIT"
] | null | null | null | #%%
import pandas as pd
df = pd.read_csv('df1.csv')
# %%
df.melt(id_vars=['Index']).value.notna()
# %%
df.melt(id_vars=['Index']).value.dropna()
# %%
| 13.818182 | 41 | 0.598684 | 24 | 152 | 3.666667 | 0.625 | 0.136364 | 0.181818 | 0.272727 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.118421 | 152 | 10 | 42 | 15.2 | 0.649254 | 0.072368 | 0 | 0 | 0 | 0 | 0.124088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b150bc49db0ae27fc279c250bb282c701190234e | 4,789 | py | Python | design/migrations/0016_customerorderinfo_customerorderproduct.py | pincoin/iclover | 890fcbd836ebffa0de8cf9fbabee55f068b3bc8b | [
"MIT"
] | 1 | 2019-07-20T09:51:53.000Z | 2019-07-20T09:51:53.000Z | design/migrations/0016_customerorderinfo_customerorderproduct.py | pincoin/iclover | 890fcbd836ebffa0de8cf9fbabee55f068b3bc8b | [
"MIT"
] | 11 | 2019-07-26T02:23:52.000Z | 2022-03-11T23:41:09.000Z | design/migrations/0016_customerorderinfo_customerorderproduct.py | pincoin/iclover | 890fcbd836ebffa0de8cf9fbabee55f068b3bc8b | [
"MIT"
] | 1 | 2019-07-26T02:16:49.000Z | 2019-07-26T02:16:49.000Z | # Generated by Django 2.1.7 on 2019-09-30 06:52
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import model_utils.fields
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settin... | 69.405797 | 181 | 0.638755 | 569 | 4,789 | 5.210896 | 0.221441 | 0.133558 | 0.134907 | 0.161889 | 0.716358 | 0.687352 | 0.687352 | 0.687352 | 0.687352 | 0.639798 | 0 | 0.031034 | 0.212779 | 4,789 | 68 | 182 | 70.426471 | 0.755438 | 0.009397 | 0 | 0.258065 | 1 | 0 | 0.145297 | 0.009911 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.080645 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.