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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
74d3334ebb55121dccd40e38b5e8752128511830 | 145 | py | Python | ocp_resources/oauth.py | kbidarkar/openshift-python-wrapper | 3cd4d6d3b71c82ff87f032a51510d9c9d207f6cb | [
"Apache-2.0"
] | null | null | null | ocp_resources/oauth.py | kbidarkar/openshift-python-wrapper | 3cd4d6d3b71c82ff87f032a51510d9c9d207f6cb | [
"Apache-2.0"
] | null | null | null | ocp_resources/oauth.py | kbidarkar/openshift-python-wrapper | 3cd4d6d3b71c82ff87f032a51510d9c9d207f6cb | [
"Apache-2.0"
] | null | null | null | from ocp_resources.resource import Resource
class OAuth(Resource):
"""
OAuth object.
"""
api_version = Resource.ApiVersion.V1
| 14.5 | 43 | 0.682759 | 16 | 145 | 6.0625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.22069 | 145 | 9 | 44 | 16.111111 | 0.849558 | 0.089655 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 4 |
2d090eea061f7bbc49ae0a3dc6987a10c83be7d2 | 1,736 | py | Python | src/ssh_server_interface.py | ramonmeza/PythonSSHServerTutorial | f3e88792b44e59b706c71df9248b287935daa81d | [
"MIT"
] | 4 | 2020-11-02T11:15:45.000Z | 2022-03-24T03:45:02.000Z | src/ssh_server_interface.py | ramonmeza/PythonSSHServerTutorial | f3e88792b44e59b706c71df9248b287935daa81d | [
"MIT"
] | null | null | null | src/ssh_server_interface.py | ramonmeza/PythonSSHServerTutorial | f3e88792b44e59b706c71df9248b287935daa81d | [
"MIT"
] | null | null | null | import paramiko
class SshServerInterface(paramiko.ServerInterface):
# This will allow the SSH server to provide a
# channel for the client to communicate over.
# By default, this will return OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED,
# so we have to override it to return OPEN_SUCCEEDED
# when the ... | 42.341463 | 102 | 0.707373 | 233 | 1,736 | 5.180258 | 0.515021 | 0.026512 | 0.037283 | 0.059652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230991 | 1,736 | 41 | 103 | 42.341463 | 0.90412 | 0.515553 | 0 | 0.125 | 0 | 0 | 0.051095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.125 | 0.0625 | 0.1875 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
2d4029b1efd6f46c5e42ddad5574c60c914f19b6 | 3,401 | py | Python | application/forms.py | competencytestlvl/cs50final-myexpenses | 1f089b25c2b5b88aad01bd2fd2d61e45d0e7c11d | [
"MIT"
] | null | null | null | application/forms.py | competencytestlvl/cs50final-myexpenses | 1f089b25c2b5b88aad01bd2fd2d61e45d0e7c11d | [
"MIT"
] | null | null | null | application/forms.py | competencytestlvl/cs50final-myexpenses | 1f089b25c2b5b88aad01bd2fd2d61e45d0e7c11d | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField, SelectField, IntegerField, SubmitField, PasswordField
from wtforms.validators import DataRequired, EqualTo, InputRequired, Length
from wtforms.widgets import TextArea
class DataForm(FlaskForm):
type = SelectField(label='Type',
... | 49.289855 | 119 | 0.533079 | 250 | 3,401 | 7.224 | 0.252 | 0.070875 | 0.063123 | 0.066445 | 0.733112 | 0.733112 | 0.733112 | 0.665559 | 0.539313 | 0.496678 | 0 | 0.010719 | 0.341664 | 3,401 | 69 | 120 | 49.289855 | 0.795891 | 0 | 0 | 0.418182 | 0 | 0 | 0.163727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.072727 | 0 | 0.509091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
74243b7eb0d2d43c42a608d6bfd785bdfc5a41b9 | 124 | py | Python | seller/admin.py | bayloun/liban_ex | b7438cea178976a01959e2955d1702a425e6b42c | [
"MIT"
] | null | null | null | seller/admin.py | bayloun/liban_ex | b7438cea178976a01959e2955d1702a425e6b42c | [
"MIT"
] | null | null | null | seller/admin.py | bayloun/liban_ex | b7438cea178976a01959e2955d1702a425e6b42c | [
"MIT"
] | null | null | null | from django.contrib import admin
from seller.models import Seller
# Register your models here.
admin.site.register(Seller)
| 20.666667 | 32 | 0.814516 | 18 | 124 | 5.611111 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 33 | 24.8 | 0.926606 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
74379af739788836ed13bd068752b88fb0f5a34b | 224 | py | Python | python_modules/dagster/dagster/core/asset_defs/__init__.py | abkfenris/dagster | 7f35164535200cf904a4fdb18af207ccad09ad68 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/core/asset_defs/__init__.py | abkfenris/dagster | 7f35164535200cf904a4fdb18af207ccad09ad68 | [
"Apache-2.0"
] | null | null | null | python_modules/dagster/dagster/core/asset_defs/__init__.py | abkfenris/dagster | 7f35164535200cf904a4fdb18af207ccad09ad68 | [
"Apache-2.0"
] | 1 | 2019-09-11T03:02:27.000Z | 2019-09-11T03:02:27.000Z | from .asset import AssetsDefinition
from .asset_group import AssetGroup
from .asset_in import AssetIn
from .assets_job import build_assets_job
from .decorators import asset, multi_asset
from .source_asset import SourceAsset
| 32 | 42 | 0.857143 | 32 | 224 | 5.78125 | 0.46875 | 0.145946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111607 | 224 | 6 | 43 | 37.333333 | 0.929648 | 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 | 1 | 0 | 0 | 4 |
74522944449ee959ccc386db33d4b83c4e20eb00 | 810 | py | Python | pypsignifit/psignierrors.py | esc/Psignifit-3.x | 2a2a8a40f39d94f8fee99cb0ba4b9595ae216f88 | [
"MIT"
] | 6 | 2015-07-14T23:38:52.000Z | 2018-10-12T08:15:36.000Z | pypsignifit/psignierrors.py | esc/Psignifit-3.x | 2a2a8a40f39d94f8fee99cb0ba4b9595ae216f88 | [
"MIT"
] | null | null | null | pypsignifit/psignierrors.py | esc/Psignifit-3.x | 2a2a8a40f39d94f8fee99cb0ba4b9595ae216f88 | [
"MIT"
] | 5 | 2015-11-25T10:11:04.000Z | 2018-10-12T08:17:48.000Z | #!/usr/bin/env python
# vi: set ft=python sts=4 ts=4 sw=4 et:
######################################################################
#
# See COPYING file distributed along with the psignifit package for
# the copyright and license terms
#
######################################################################
__do... | 31.153846 | 87 | 0.548148 | 94 | 810 | 4.510638 | 0.617021 | 0.099057 | 0.09434 | 0.113208 | 0.391509 | 0.391509 | 0.240566 | 0.240566 | 0.240566 | 0.240566 | 0 | 0.004651 | 0.203704 | 810 | 25 | 88 | 32.4 | 0.652713 | 0.379012 | 0 | 0.727273 | 0 | 0 | 0.04611 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
74893b2d6d401130cc7132e8609798ef551b3272 | 450 | py | Python | Level.py | derzeiss/jump-n-run | c5b4f45a91eeea701b97ef595a11563cb774281c | [
"MIT"
] | null | null | null | Level.py | derzeiss/jump-n-run | c5b4f45a91eeea701b97ef595a11563cb774281c | [
"MIT"
] | null | null | null | Level.py | derzeiss/jump-n-run | c5b4f45a91eeea701b97ef595a11563cb774281c | [
"MIT"
] | null | null | null | import pygame
class Level:
def __init__(self, blocks: pygame.sprite.Group, length: int, player_spawn: (int, int)):
self.__blocks = blocks
self.__length = length
self.__player_spawn = player_spawn
def get_blocks(self) -> pygame.sprite.Group:
return self.__blocks
def get_le... | 25 | 91 | 0.657778 | 57 | 450 | 4.77193 | 0.280702 | 0.202206 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 450 | 17 | 92 | 26.470588 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
74abb37604b1268603c7173f1c0ed41f99b7dbee | 17,794 | py | Python | tests/test_core.py | nicolasmesa/context-cli | 2b4464b54c748d41515b53d38423d2234d74abb4 | [
"MIT"
] | null | null | null | tests/test_core.py | nicolasmesa/context-cli | 2b4464b54c748d41515b53d38423d2234d74abb4 | [
"MIT"
] | 5 | 2019-01-20T20:09:43.000Z | 2019-01-20T20:19:32.000Z | tests/test_core.py | nicolasmesa/context-cli | 2b4464b54c748d41515b53d38423d2234d74abb4 | [
"MIT"
] | null | null | null | from mock import patch, mock, ANY
from pathlib import Path
from context_cli.core import (
start_and_end_delimiter_context_factory_creator, single_delimiter_context_factory_creator,
get_context_factory_from_args, build_pipeline, construct_arg_parser,
parse_args, main
)
from context_cli.util import TypeArgDo... | 39.367257 | 138 | 0.789873 | 2,373 | 17,794 | 5.467341 | 0.05099 | 0.079158 | 0.049715 | 0.05827 | 0.823108 | 0.793741 | 0.754278 | 0.699707 | 0.67088 | 0.653692 | 0 | 0.001991 | 0.125155 | 17,794 | 451 | 139 | 39.454545 | 0.831438 | 0 | 0 | 0.502809 | 0 | 0 | 0.111342 | 0.091108 | 0 | 0 | 0 | 0 | 0.205056 | 1 | 0.075843 | false | 0 | 0.011236 | 0 | 0.087079 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
77aef8e80538b518dee2ebeb75dc913ac016f7e8 | 22,955 | py | Python | sgfparser.py | fantianwen/IGOTools | b8f4d4b92b228ab8bceae5b7cecf7ccfef4f456d | [
"MIT"
] | null | null | null | sgfparser.py | fantianwen/IGOTools | b8f4d4b92b228ab8bceae5b7cecf7ccfef4f456d | [
"MIT"
] | null | null | null | sgfparser.py | fantianwen/IGOTools | b8f4d4b92b228ab8bceae5b7cecf7ccfef4f456d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sgf
import matplotlib.pyplot as pyplot
import os
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
def parseWinrate(filePath):
winrates = []
with open(filePath) as f:
collection = sgf.parse(f.read())
children = collection.child... | 131.925287 | 1,484 | 0.793422 | 2,711 | 22,955 | 6.709701 | 0.433788 | 0.004948 | 0.002474 | 0.002859 | 0.15602 | 0.144585 | 0.141616 | 0.141616 | 0.141616 | 0.141616 | 0 | 0.768379 | 0.083293 | 22,955 | 174 | 1,485 | 131.925287 | 0.096041 | 0.606491 | 0 | 0 | 0 | 0 | 0.013259 | 0.004345 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013158 | false | 0 | 0.078947 | 0 | 0.105263 | 0.092105 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
77be40d6c0efff4c19f0c90a56ea2d6baae66818 | 459 | py | Python | max_profit/tests.py | aurelienlegrand/coding_challenges | af7da76374ed574892e66ab24d753543e3cb4c68 | [
"MIT"
] | null | null | null | max_profit/tests.py | aurelienlegrand/coding_challenges | af7da76374ed574892e66ab24d753543e3cb4c68 | [
"MIT"
] | null | null | null | max_profit/tests.py | aurelienlegrand/coding_challenges | af7da76374ed574892e66ab24d753543e3cb4c68 | [
"MIT"
] | null | null | null | from max_profit import max_profit
def test_simple():
stocks = [1, 2, 3, 4]
assert (max_profit(stocks) == [1, 4])
def test_empty():
stocks = []
assert (max_profit(stocks) == [])
def test_one_elt():
stocks = [1]
assert (max_profit(stocks) == [1, 1])
def test_medium():
stocks = [5, 10, 2, 5... | 21.857143 | 42 | 0.583878 | 69 | 459 | 3.695652 | 0.304348 | 0.247059 | 0.294118 | 0.411765 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0.233115 | 459 | 21 | 43 | 21.857143 | 0.644886 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3125 | 1 | 0.3125 | false | 0 | 0.0625 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
77ce8ed737cebe789d9a37bd92f424767f412af3 | 176 | py | Python | src/easy/merge_sorted_array_88.py | ahmet9cengiz/leetCode | 9e9a61f059072d7791dd19706b7a3e0d0a446669 | [
"MIT"
] | null | null | null | src/easy/merge_sorted_array_88.py | ahmet9cengiz/leetCode | 9e9a61f059072d7791dd19706b7a3e0d0a446669 | [
"MIT"
] | null | null | null | src/easy/merge_sorted_array_88.py | ahmet9cengiz/leetCode | 9e9a61f059072d7791dd19706b7a3e0d0a446669 | [
"MIT"
] | null | null | null | class Solution(object):
# Time Complexity: O(n)
@staticmethod
def merge_sorted_array():
if __name__ == '__main__':
s = Solution()
s.merge_sorted_array()
| 16 | 29 | 0.647727 | 21 | 176 | 4.857143 | 0.761905 | 0.215686 | 0.313725 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 176 | 10 | 30 | 17.6 | 0.75 | 0.119318 | 0 | 0 | 0 | 0 | 0.052288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
77f510250ee83fc0a9b85ab55a9eebe61d00c196 | 18 | py | Python | mwnn/__init__.py | slowkow/MWNN | bf70f5cf0d33f68f9a3848e0136ecf735a9458f8 | [
"MIT"
] | 2 | 2020-11-20T14:21:53.000Z | 2021-08-03T08:03:23.000Z | mwnn/__init__.py | slowkow/MWNN | bf70f5cf0d33f68f9a3848e0136ecf735a9458f8 | [
"MIT"
] | null | null | null | mwnn/__init__.py | slowkow/MWNN | bf70f5cf0d33f68f9a3848e0136ecf735a9458f8 | [
"MIT"
] | 2 | 2020-12-07T01:40:18.000Z | 2021-01-31T10:48:10.000Z | __all__ = ["mwnn"] | 18 | 18 | 0.611111 | 2 | 18 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 1 | 18 | 18 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
77f8f1170b9848c633cadb1aac40dd9a2290286d | 486 | py | Python | util/functions.py | knjcode/mxnet-finetuner | f5947a55f704b9cfba10a6f46cf288d191c7ae15 | [
"Apache-2.0"
] | 112 | 2017-08-10T05:51:13.000Z | 2022-01-10T08:22:36.000Z | util/functions.py | knjcode/mxnet-finetuner | f5947a55f704b9cfba10a6f46cf288d191c7ae15 | [
"Apache-2.0"
] | 7 | 2017-11-23T02:31:00.000Z | 2018-10-15T14:32:24.000Z | util/functions.py | knjcode/mxnet-finetuner | f5947a55f704b9cfba10a6f46cf288d191c7ae15 | [
"Apache-2.0"
] | 12 | 2017-08-18T01:24:05.000Z | 2021-04-19T03:07:55.000Z | #!/usr/bin/env python
# coding: utf-8
# Utility functions
def get_image_size(model_prefix):
if 'caffenet' in model_prefix:
return 227
elif 'squeezenet' in model_prefix:
return 227
elif 'alexnet' in model_prefix:
return 227
elif 'googlenet' in model_prefix:
return 299
elif 'inception-v3' in m... | 21.130435 | 45 | 0.705761 | 71 | 486 | 4.690141 | 0.450704 | 0.264264 | 0.273273 | 0.399399 | 0.615616 | 0.54955 | 0.315315 | 0 | 0 | 0 | 0 | 0.073491 | 0.216049 | 486 | 22 | 46 | 22.090909 | 0.800525 | 0.106996 | 0 | 0.411765 | 0 | 0 | 0.178654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.529412 | 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 | 1 | 0 | 0 | 4 |
77fcb515515abf58188da08626ac118efd58f8cb | 156 | py | Python | tests/test_cli.py | gitter-badger/dependenpy | db411b7bbd466b79064cbb419049f17cd3bff4c1 | [
"ISC"
] | null | null | null | tests/test_cli.py | gitter-badger/dependenpy | db411b7bbd466b79064cbb419049f17cd3bff4c1 | [
"ISC"
] | null | null | null | tests/test_cli.py | gitter-badger/dependenpy | db411b7bbd466b79064cbb419049f17cd3bff4c1 | [
"ISC"
] | null | null | null | import pytest
from dependenpy import cli
def test_main():
with pytest.raises(SystemExit) as exit:
cli.main([])
assert exit.code == 2
| 15.6 | 43 | 0.647436 | 21 | 156 | 4.761905 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.25641 | 156 | 9 | 44 | 17.333333 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | true | 0 | 0.333333 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7ac726d9b368153141287f4baf46701bf438f15b | 163 | py | Python | test/files/no_skip.py | faho/littlecheck | 12cad505fa6c3c4b45e5e2a0d25b043435ed0cee | [
"CC0-1.0"
] | 26 | 2019-06-08T22:04:46.000Z | 2022-01-11T22:08:04.000Z | test/files/no_skip.py | 0verk1ll/littlecheck | 5f6c024fbdf6654e7851d3fd756a6d56e167476e | [
"CC0-1.0"
] | 7 | 2019-06-24T15:36:59.000Z | 2022-01-28T11:10:00.000Z | test/files/no_skip.py | 0verk1ll/littlecheck | 5f6c024fbdf6654e7851d3fd756a6d56e167476e | [
"CC0-1.0"
] | 3 | 2019-06-24T15:38:18.000Z | 2021-03-21T21:24:28.000Z | #!/usr/bin/python
# Any system should have an sh capable of `command -v`
# REQUIRES: command -v sh
print("Oh, but it is!")
# CHECK: This should never be compared
| 23.285714 | 54 | 0.699387 | 28 | 163 | 4.071429 | 0.857143 | 0.140351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177914 | 163 | 6 | 55 | 27.166667 | 0.850746 | 0.797546 | 0 | 0 | 0 | 0 | 0.482759 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7ae67a1b1b96f390379d87e7cac415164a6181b2 | 870 | py | Python | Chapter01/Exercise1.04/bookr/reviews/tests.py | PacktPublishing/Web-Development-Projects-with-Django | 531bc4d58d614888cc81b7fd6f8ec859f5a65217 | [
"MIT"
] | 97 | 2021-03-01T12:54:30.000Z | 2022-03-28T02:57:26.000Z | Chapter01/Exercise1.04/bookr/reviews/tests.py | PacktPublishing/Web-Development-Projects-with-Django | 531bc4d58d614888cc81b7fd6f8ec859f5a65217 | [
"MIT"
] | 81 | 2020-08-27T04:56:04.000Z | 2022-03-12T00:53:40.000Z | Chapter01/Exercise1.04/bookr/reviews/tests.py | PacktPublishing/Web-Development-Projects-with-Django | 531bc4d58d614888cc81b7fd6f8ec859f5a65217 | [
"MIT"
] | 163 | 2020-12-25T14:38:38.000Z | 2022-03-30T10:31:40.000Z | from django.test import TestCase
from django.test import Client
class Exercise4TestCase(TestCase):
def test_template_content(self):
"""Test that the index view returns the set names from the paramaters, or defaults to 'world'"""
c = Client()
response = c.get('/')
self.assertEqual(r... | 36.25 | 104 | 0.65977 | 107 | 870 | 5.308411 | 0.336449 | 0.211268 | 0.323944 | 0.204225 | 0.591549 | 0.524648 | 0.524648 | 0.524648 | 0.524648 | 0.524648 | 0 | 0.01895 | 0.211494 | 870 | 23 | 105 | 37.826087 | 0.809038 | 0.103448 | 0 | 0.352941 | 0 | 0 | 0.112403 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 1 | 0.058824 | false | 0 | 0.117647 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb03e10e6c323ad03f8ad0ceb54acf2170f04bad | 110 | py | Python | GGDBFetch/ggdbfetch/__init__.py | pdhsulab/GeneGraphDB | f2754a596d08680f7f0b092391653d9dbf477ddd | [
"MIT"
] | 6 | 2021-08-28T07:03:07.000Z | 2022-02-22T03:34:11.000Z | GGDBFetch/ggdbfetch/__init__.py | pdhsulab/GeneGraphDB | f2754a596d08680f7f0b092391653d9dbf477ddd | [
"MIT"
] | null | null | null | GGDBFetch/ggdbfetch/__init__.py | pdhsulab/GeneGraphDB | f2754a596d08680f7f0b092391653d9dbf477ddd | [
"MIT"
] | null | null | null | CLUSTERS_DB = 'complete_clusters.db'
SAMPLE2PROTEIN_DB = 'sample2protein.db'
SAMPLE2PATH = 'sample2path.tsv'
| 22 | 39 | 0.8 | 12 | 110 | 7.083333 | 0.5 | 0.235294 | 0.423529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.090909 | 110 | 4 | 40 | 27.5 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0.477064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb0c536d5aeda0d40a3df6bbe7ad7c4f339b41a5 | 344 | py | Python | rewards/serializer.py | zizoubrown/Awards | 53af5e9706bdc18a949d49653a8abbf93fb4122d | [
"Unlicense"
] | null | null | null | rewards/serializer.py | zizoubrown/Awards | 53af5e9706bdc18a949d49653a8abbf93fb4122d | [
"Unlicense"
] | null | null | null | rewards/serializer.py | zizoubrown/Awards | 53af5e9706bdc18a949d49653a8abbf93fb4122d | [
"Unlicense"
] | null | null | null | from rest_framework import serializers
from .models import Profile,Image,Rating
class ProfileSerializer(serializers.ModelSerializer):
class Meta:
model=Profile
fields=('user.username','bio')
class ImageSerializer(serializers.ModelSerializer):
class Meta:
model=Image
fields=('na... | 28.666667 | 53 | 0.72093 | 35 | 344 | 7.057143 | 0.6 | 0.210526 | 0.251012 | 0.283401 | 0.323887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177326 | 344 | 12 | 54 | 28.666667 | 0.872792 | 0 | 0 | 0.2 | 0 | 0 | 0.098551 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 4 |
bb1ef0adff80f31ff5d085b0c1f3c0d4b69cae99 | 135 | py | Python | reddit2telegram/channels/r_kratom/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 187 | 2016-09-20T09:15:54.000Z | 2022-03-29T12:22:33.000Z | reddit2telegram/channels/r_kratom/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 84 | 2016-09-22T14:25:07.000Z | 2022-03-19T01:26:17.000Z | reddit2telegram/channels/r_kratom/app.py | mainyordle/reddit2telegram | 1163e15aed3b6ff0fba65b222d3d9798f644c386 | [
"MIT"
] | 172 | 2016-09-21T15:39:39.000Z | 2022-03-16T15:15:58.000Z | #encoding:utf-8
subreddit = 'kratom'
t_channel = '@r_kratom'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| 15 | 38 | 0.733333 | 19 | 135 | 5 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.140741 | 135 | 8 | 39 | 16.875 | 0.793103 | 0.103704 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
bb31130d736b3b8a9be2401baaa040078a44635c | 5,358 | py | Python | cogs/search.py | TFs-Eternal/MyAnimeList-discord-bot | ac1df931c36d03a39ef173bfdd5ed07765a7fd4d | [
"MIT"
] | 9 | 2021-09-06T18:06:09.000Z | 2022-03-25T17:05:38.000Z | cogs/search.py | TFs-Eternal/MyAnimeList-discord-bot | ac1df931c36d03a39ef173bfdd5ed07765a7fd4d | [
"MIT"
] | 1 | 2022-01-23T14:40:02.000Z | 2022-01-30T16:38:04.000Z | cogs/search.py | TFs-Eternal/MyAnimeList-discord-bot | ac1df931c36d03a39ef173bfdd5ed07765a7fd4d | [
"MIT"
] | 1 | 2022-01-23T14:15:48.000Z | 2022-01-23T14:15:48.000Z | import discord
from discord.ext import commands
from discord.ext.commands import MissingRequiredArgument
from cogs.getjson import jikanjson
from cogs.getname import getname
from cogs.results import results
from cogs.selection import selection
prefix = '+'
class Search(commands.Cog):
def __init__(self, client):
... | 35.72 | 224 | 0.656962 | 722 | 5,358 | 4.796399 | 0.186981 | 0.041582 | 0.067571 | 0.088363 | 0.751372 | 0.743286 | 0.729425 | 0.729425 | 0.699394 | 0.678602 | 0 | 0.007329 | 0.185144 | 5,358 | 149 | 225 | 35.959732 | 0.785845 | 0 | 0 | 0.666667 | 0 | 0.03252 | 0.210526 | 0.017357 | 0.01626 | 0 | 0.002986 | 0 | 0 | 1 | 0.01626 | false | 0.01626 | 0.056911 | 0 | 0.162602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb318dd3c47d148b99963cb81e543121f21788d9 | 204 | py | Python | medapp/deepmed/test/test.py | EmersonAlvaro/MedApp | e4203d05f69208badfda7c53b77f72ba48f45fc2 | [
"Apache-2.0"
] | null | null | null | medapp/deepmed/test/test.py | EmersonAlvaro/MedApp | e4203d05f69208badfda7c53b77f72ba48f45fc2 | [
"Apache-2.0"
] | null | null | null | medapp/deepmed/test/test.py | EmersonAlvaro/MedApp | e4203d05f69208badfda7c53b77f72ba48f45fc2 | [
"Apache-2.0"
] | null | null | null | from dataset.dataset import DataSet
from settings import model_dir
from model.xception import Xception
import tensorflow as tf
from pathlib import Path
class Test:
def __init__(self):
pass | 18.545455 | 35 | 0.77451 | 29 | 204 | 5.275862 | 0.62069 | 0.183007 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 204 | 11 | 36 | 18.545455 | 0.932927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.625 | 0 | 0.875 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
247951633c073aeb5861afc6c64f6ac8b788a884 | 768 | py | Python | src/face_check/settings/secrets.py | tarvitz/face-check | e468025c7a5615f4ec8ee24c06252ceeb8a2e129 | [
"BSD-4-Clause"
] | null | null | null | src/face_check/settings/secrets.py | tarvitz/face-check | e468025c7a5615f4ec8ee24c06252ceeb8a2e129 | [
"BSD-4-Clause"
] | 7 | 2019-01-01T17:13:06.000Z | 2021-06-10T17:42:54.000Z | src/face_check/settings/secrets.py | tarvitz/face-check | e468025c7a5615f4ec8ee24c06252ceeb8a2e129 | [
"BSD-4-Clause"
] | null | null | null | #: configuration keeping secrets keys separately to keep them in strict
#: form
#: reduce redundant imports
from . utils import get_env_string as _get_env_string
SOCIAL_AUTH_TWITCH_KEY = _get_env_string('SOCIAL_AUTH_TWITCH_KEY', '')
SOCIAL_AUTH_TWITCH_SECRET = _get_env_string('SOCIAL_AUTH_TWITCH_SECRET', '')
SOCIAL_A... | 38.4 | 76 | 0.770833 | 103 | 768 | 5.067961 | 0.31068 | 0.229885 | 0.206897 | 0.241379 | 0.565134 | 0.463602 | 0.249042 | 0 | 0 | 0 | 0 | 0.006107 | 0.147135 | 768 | 19 | 77 | 40.421053 | 0.79084 | 0.132813 | 0 | 0 | 0 | 0 | 0.268477 | 0.239819 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.076923 | 0 | 0.076923 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
24ac49fc4d87097dd5a527f5881221618dcc8ff8 | 1,920 | py | Python | Test_MatchStates.py | deanturpin/banter-bot | 8bd4734b7701c2bb5694299884c3abd22710bd3c | [
"Apache-2.0"
] | null | null | null | Test_MatchStates.py | deanturpin/banter-bot | 8bd4734b7701c2bb5694299884c3abd22710bd3c | [
"Apache-2.0"
] | 2 | 2022-03-27T10:44:38.000Z | 2022-03-28T19:24:39.000Z | Test_MatchStates.py | deanturpin/banter-bot | 8bd4734b7701c2bb5694299884c3abd22710bd3c | [
"Apache-2.0"
] | 1 | 2022-03-28T11:45:47.000Z | 2022-03-28T11:45:47.000Z | from Footy.MatchStates import (MatchState,
Drawing,
TeamLeadByOne,
TeamExtendingLead,
TeamLosingLead,
TeamDeficitOfOne,
TeamE... | 28.235294 | 53 | 0.720833 | 168 | 1,920 | 8.238095 | 0.14881 | 0.216763 | 0.212428 | 0.313584 | 0.787572 | 0.757948 | 0.683526 | 0.683526 | 0.683526 | 0.382948 | 0 | 0.017891 | 0.184896 | 1,920 | 67 | 54 | 28.656716 | 0.866454 | 0 | 0 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27451 | 1 | 0 | false | 0 | 0.019608 | 0 | 0.019608 | 0.27451 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
700549bb9bd9e97688cc65823fa761deb61478b5 | 43 | py | Python | ML-gane.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | 1 | 2018-07-21T15:41:40.000Z | 2018-07-21T15:41:40.000Z | ML-gane.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | null | null | null | ML-gane.py | HackerLion123/Machine-Learning | 71224ea97ba4aaded13a700e07b498469299964b | [
"MIT"
] | null | null | null | from sklearn import tree;
Test_data = [[]]
| 14.333333 | 25 | 0.697674 | 6 | 43 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 43 | 2 | 26 | 21.5 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
702db3e36a42259ea54b51a6a77b52b8e36dbd6f | 221 | py | Python | dskc/clean/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/clean/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/clean/__init__.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | from .clean import *
from .dates import *
from .dtype import *
from .string import *
from .row import *
from .columns import *
from .text import *
from .inputations import *
from .topic_modeling.topic_modeling import *
| 18.416667 | 44 | 0.742081 | 30 | 221 | 5.4 | 0.4 | 0.493827 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171946 | 221 | 11 | 45 | 20.090909 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 | 4 |
703f0318f80a46018f122108f121012e4b2eddc4 | 52 | py | Python | checksum.py | DexHunter/Think-Python-book-exercise-solutions | d0abae261eda1dca99043e17e8a1e614caad2140 | [
"CC-BY-4.0"
] | 24 | 2019-05-07T15:11:28.000Z | 2022-03-02T04:50:28.000Z | checksum.py | Dekzu/Think-Python-book-exercise-solutions | d0abae261eda1dca99043e17e8a1e614caad2140 | [
"CC-BY-4.0"
] | null | null | null | checksum.py | Dekzu/Think-Python-book-exercise-solutions | d0abae261eda1dca99043e17e8a1e614caad2140 | [
"CC-BY-4.0"
] | 19 | 2019-08-05T20:59:04.000Z | 2022-03-07T05:13:32.000Z | #This is for check duplicate file from exercise 14-3 | 52 | 52 | 0.807692 | 10 | 52 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.153846 | 52 | 1 | 52 | 52 | 0.886364 | 0.980769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7054234e51d4ae1f6f2e0b8847d61725a00c8c12 | 768 | py | Python | Level2/Lessons12911/wowo0709.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | null | null | null | Level2/Lessons12911/wowo0709.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | null | null | null | Level2/Lessons12911/wowo0709.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | 1 | 2021-04-05T07:35:59.000Z | 2021-04-05T07:35:59.000Z | # 다음 큰 숫자
def solution(n):
cnt = bin(n).count('1')
while True:
n += 1
if bin(n).count('1') == cnt: return n
'''
정확성 테스트
테스트 1 〉 통과 (0.01ms, 10.2MB)
테스트 2 〉 통과 (0.00ms, 10.2MB)
테스트 3 〉 통과 (0.00ms, 10.2MB)
테스트 4 〉 통과 (0.00ms, 10.2MB)
테스트 5 〉 통과 (0.01ms, 10.2MB)
테스트 6 〉 통과 (0.00ms, 10.3MB)
테스트 7... | 21.333333 | 45 | 0.554688 | 200 | 768 | 2.23 | 0.22 | 0.134529 | 0.179372 | 0.233184 | 0.730942 | 0.70852 | 0.672646 | 0.457399 | 0.457399 | 0.457399 | 0 | 0.276923 | 0.238281 | 768 | 36 | 46 | 21.333333 | 0.451282 | 0.009115 | 0 | 0 | 0 | 0 | 0.015873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 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 | 4 |
70548e4dc1ad1e5b387c79f6d7919b18ab3cfbe9 | 190 | py | Python | signaling/__init__.py | mdomke/signaling | c51d769d78b787fea5364027d7fd00b5d268ef2c | [
"MIT"
] | null | null | null | signaling/__init__.py | mdomke/signaling | c51d769d78b787fea5364027d7fd00b5d268ef2c | [
"MIT"
] | null | null | null | signaling/__init__.py | mdomke/signaling | c51d769d78b787fea5364027d7fd00b5d268ef2c | [
"MIT"
] | null | null | null | from pkg_resources import get_distribution
from signaling.signal import Signal
def version():
return get_distribution(__name__).version
__version__ = version()
__all__ = ['Signal']
| 15.833333 | 45 | 0.778947 | 22 | 190 | 6.045455 | 0.590909 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142105 | 190 | 11 | 46 | 17.272727 | 0.815951 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
70599c8e1408b1053b5812530394c96fa604afc7 | 406 | py | Python | tenants/admin.py | ibowditch/polls | 1428b87bf3a83c40083b0e248c1718a89078f11f | [
"MIT"
] | null | null | null | tenants/admin.py | ibowditch/polls | 1428b87bf3a83c40083b0e248c1718a89078f11f | [
"MIT"
] | 1 | 2021-06-10T21:51:24.000Z | 2021-06-10T21:51:24.000Z | tenants/admin.py | ibowditch/polls | 1428b87bf3a83c40083b0e248c1718a89078f11f | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib import admin
from django_tenants.admin import TenantAdminMixin
from .models import Client, Domain
@admin.register(Client)
class ClientAdmin(TenantAdminMixin, admin.ModelAdmin):
list_display = ('name', 'paid_until')
# @admin.register(Domain)
# class DomainAdmin... | 29 | 56 | 0.761084 | 47 | 406 | 6.468085 | 0.446809 | 0.098684 | 0.203947 | 0.230263 | 0.361842 | 0.361842 | 0.361842 | 0.361842 | 0 | 0 | 0 | 0 | 0.135468 | 406 | 13 | 57 | 31.230769 | 0.866097 | 0.305419 | 0 | 0 | 0 | 0 | 0.05036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7065d843df85bf0ed4418f2f79cf522907214a55 | 144 | py | Python | perfiles/apps.py | jlopez0591/SIGIA | e857e2273daa43ab64fa78df254275af2dbcc2a5 | [
"MIT"
] | null | null | null | perfiles/apps.py | jlopez0591/SIGIA | e857e2273daa43ab64fa78df254275af2dbcc2a5 | [
"MIT"
] | 7 | 2020-02-12T00:42:15.000Z | 2022-03-11T23:23:48.000Z | perfiles/apps.py | jlopez0591/SIGIA | e857e2273daa43ab64fa78df254275af2dbcc2a5 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PerfilesConfig(AppConfig):
name = 'perfiles'
def ready(self):
import perfiles.signals | 18 | 33 | 0.708333 | 16 | 144 | 6.375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215278 | 144 | 8 | 34 | 18 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0.055172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 4 |
7067af6c6816240c3ad10cb06f83d60905f4663b | 206 | py | Python | zorg/buildbot/commands/__init__.py | antiagainst/llvm-zorg | a5b58cdd800d0d45b1bdd1f7fe058db6acbfd918 | [
"Apache-2.0"
] | 1 | 2019-02-10T03:05:05.000Z | 2019-02-10T03:05:05.000Z | zorg/buildbot/commands/__init__.py | antiagainst/llvm-zorg | a5b58cdd800d0d45b1bdd1f7fe058db6acbfd918 | [
"Apache-2.0"
] | null | null | null | zorg/buildbot/commands/__init__.py | antiagainst/llvm-zorg | a5b58cdd800d0d45b1bdd1f7fe058db6acbfd918 | [
"Apache-2.0"
] | null | null | null | import AnalyzerCompareCommand
import BatchFileDownload
import LitTestCommand
import SuppressionDejaGNUCommand
import DejaGNUCommand
import GTestCommand
import NinjaCommand
import CmakeCommand
__all__ = []
| 18.727273 | 32 | 0.88835 | 17 | 206 | 10.529412 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097087 | 206 | 10 | 33 | 20.6 | 0.962366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 1 | 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 | 4 |
56720c46692e1092bb40026f35c265f2e4708424 | 159 | py | Python | teste/models.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | teste/models.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | teste/models.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | from django.db import models
class Teste(models.Model):
anything = models.CharField(max_length=100)
def __str__(self):
return self.anything
| 17.666667 | 47 | 0.710692 | 21 | 159 | 5.142857 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.201258 | 159 | 8 | 48 | 19.875 | 0.826772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
569297f047e3d0087fb233e3631ee7b27c1de664 | 92 | py | Python | revasbot/revas_calculations.py | iwo-strzebonski/SeleBot | 885b5b9ca264d9ee59200c4f7157250c85872fbe | [
"WTFPL"
] | null | null | null | revasbot/revas_calculations.py | iwo-strzebonski/SeleBot | 885b5b9ca264d9ee59200c4f7157250c85872fbe | [
"WTFPL"
] | null | null | null | revasbot/revas_calculations.py | iwo-strzebonski/SeleBot | 885b5b9ca264d9ee59200c4f7157250c85872fbe | [
"WTFPL"
] | null | null | null | class RevasCalculations:
'''Functions related to calculations go there
'''
pass
| 18.4 | 49 | 0.684783 | 9 | 92 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.23913 | 92 | 4 | 50 | 23 | 0.9 | 0.456522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
56a17b4efbac254af66f4eb570662a6b8ebf3e14 | 71 | py | Python | app/grandchallenge/algorithms/__init__.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | 1 | 2021-02-09T10:30:44.000Z | 2021-02-09T10:30:44.000Z | app/grandchallenge/algorithms/__init__.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | null | null | null | app/grandchallenge/algorithms/__init__.py | njmhendrix/grand-challenge.org | 9bc36f5e26561a78bd405e8ea5e4c0f86c95f011 | [
"Apache-2.0"
] | null | null | null | default_app_config = "grandchallenge.algorithms.apps.AlgorithmsConfig"
| 35.5 | 70 | 0.873239 | 7 | 71 | 8.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 71 | 1 | 71 | 71 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.661972 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b099d71b6eefc478bf7afddcc23159ef7466de7 | 99 | py | Python | technologies/apps.py | bemot/agritechnologies | 554eec7477a14f32a6fb40d3adcc0b9494fa240f | [
"MIT"
] | null | null | null | technologies/apps.py | bemot/agritechnologies | 554eec7477a14f32a6fb40d3adcc0b9494fa240f | [
"MIT"
] | 2 | 2021-12-28T22:16:15.000Z | 2022-02-14T04:59:18.000Z | technologies/apps.py | bemot/agritechnologies | 554eec7477a14f32a6fb40d3adcc0b9494fa240f | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class TechnologiesConfig(AppConfig):
name = 'technologies'
| 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 | 1 | 0 | 0 | 4 |
3b0c51436de76e236ea94ae2b3f95e7bb9069e59 | 326 | py | Python | packaging/config/stock.py | aisenyi/packaging | 6159432401c4eae890241732330f0bd6d2972384 | [
"MIT"
] | null | null | null | packaging/config/stock.py | aisenyi/packaging | 6159432401c4eae890241732330f0bd6d2972384 | [
"MIT"
] | null | null | null | packaging/config/stock.py | aisenyi/packaging | 6159432401c4eae890241732330f0bd6d2972384 | [
"MIT"
] | null | null | null | from frappe import _
def get_data():
return [
{
"label": _("Stock Transactions"),
"items": [
{
"type": "page",
"name": "packing-slip",
"label": _("Packing Slip")
}
]
},
... | 18.111111 | 46 | 0.312883 | 19 | 326 | 5.157895 | 0.842105 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555215 | 326 | 17 | 47 | 19.176471 | 0.675862 | 0 | 0 | 0 | 0 | 0 | 0.211656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0.071429 | 0.071429 | 0.214286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b25c93c78b2af83a6afd5fe5f7a8d8c14736f67 | 256 | py | Python | src/htsql/tweak/inet/signature.py | sirex/htsql | 52275f6a584b412c109822d2ed2a5e69ac522cdf | [
"Apache-2.0"
] | 15 | 2020-02-11T11:24:34.000Z | 2022-03-03T20:46:34.000Z | src/htsql/tweak/inet/signature.py | sirex/htsql | 52275f6a584b412c109822d2ed2a5e69ac522cdf | [
"Apache-2.0"
] | 1 | 2020-02-13T14:08:34.000Z | 2020-02-13T14:16:04.000Z | src/htsql/tweak/inet/signature.py | sirex/htsql | 52275f6a584b412c109822d2ed2a5e69ac522cdf | [
"Apache-2.0"
] | 2 | 2020-02-13T14:10:06.000Z | 2021-02-25T04:36:05.000Z | #
# Copyright (c) 2006-2013, Prometheus Research, LLC
#
from ...core.tr.fn.signature import AddSig, SubtractSig
class INetIncrementSig(AddSig):
pass
class INetDecrementSig(SubtractSig):
pass
class INetDifferenceSig(SubtractSig):
pass
| 12.190476 | 55 | 0.730469 | 27 | 256 | 6.925926 | 0.740741 | 0.096257 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037915 | 0.175781 | 256 | 20 | 56 | 12.8 | 0.848341 | 0.191406 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.428571 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3b37613b90f49ed3abf76d412e43eeea0e8fa27d | 66 | py | Python | yggdrasil/tests/scripts/python_model.py | astro-friedel/yggdrasil | 5ecbfd083240965c20c502b4795b6dc93d94b020 | [
"BSD-3-Clause"
] | 22 | 2019-02-05T15:20:07.000Z | 2022-02-25T09:00:40.000Z | yggdrasil/tests/scripts/python_model.py | astro-friedel/yggdrasil | 5ecbfd083240965c20c502b4795b6dc93d94b020 | [
"BSD-3-Clause"
] | 48 | 2019-02-15T20:41:24.000Z | 2022-03-16T20:52:02.000Z | yggdrasil/tests/scripts/python_model.py | astro-friedel/yggdrasil | 5ecbfd083240965c20c502b4795b6dc93d94b020 | [
"BSD-3-Clause"
] | 16 | 2019-04-27T03:36:40.000Z | 2021-12-02T09:47:06.000Z | from yggdrasil.tools import sleep
sleep(1)
print('Python model')
| 13.2 | 33 | 0.772727 | 10 | 66 | 5.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.121212 | 66 | 4 | 34 | 16.5 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3b4204e2f11d17b92922c050d3555fea394bddbe | 105 | py | Python | kinto_portier/utils.py | dstaley/kinto-portier | 14a70f3addac41aebb818fced7d6c2c0a8aab0d8 | [
"Apache-2.0"
] | 8 | 2016-12-12T22:10:51.000Z | 2019-09-03T02:16:21.000Z | kinto_portier/utils.py | dstaley/kinto-portier | 14a70f3addac41aebb818fced7d6c2c0a8aab0d8 | [
"Apache-2.0"
] | 38 | 2016-12-12T22:10:34.000Z | 2021-05-10T06:56:27.000Z | kinto_portier/utils.py | dstaley/kinto-portier | 14a70f3addac41aebb818fced7d6c2c0a8aab0d8 | [
"Apache-2.0"
] | 3 | 2018-12-23T20:04:34.000Z | 2021-10-04T07:54:14.000Z | def portier_conf(request, name):
key = 'portier.%s' % name
return request.registry.settings[key]
| 26.25 | 41 | 0.695238 | 14 | 105 | 5.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 3 | 42 | 35 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3b64a26cc9ea0033ebe0504ab8d52834355a22f5 | 93 | py | Python | backend/yggdrasil/apps.py | projectpai/paipass | 8b8e70b6808bf026cf957e240c7eed7bfcf4c55d | [
"MIT"
] | 3 | 2021-04-17T10:20:26.000Z | 2022-03-08T07:36:13.000Z | backend/yggdrasil/apps.py | projectpai/paipass | 8b8e70b6808bf026cf957e240c7eed7bfcf4c55d | [
"MIT"
] | null | null | null | backend/yggdrasil/apps.py | projectpai/paipass | 8b8e70b6808bf026cf957e240c7eed7bfcf4c55d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class YggdrasilConfig(AppConfig):
name = 'yggdrasil'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 | 1 | 0 | 0 | 4 |
3b757804d920b7466be73449480f34458e5d86b7 | 117 | py | Python | CodeWars/7 Kyu/Check if a triangle is an equable triangle!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Check if a triangle is an equable triangle!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | CodeWars/7 Kyu/Check if a triangle is an equable triangle!.py | anubhab-code/Competitive-Programming | de28cb7d44044b9e7d8bdb475da61e37c018ac35 | [
"MIT"
] | null | null | null | def equable_triangle(a, b, c):
p = a + b + c
d = p / 2
return (d * (d - a) * (d - b) * (d - c))**0.5 == p | 29.25 | 54 | 0.384615 | 24 | 117 | 1.833333 | 0.5 | 0.090909 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.367521 | 117 | 4 | 54 | 29.25 | 0.554054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3b75c9e21a59f06a0a71ac339b153e617a2a809f | 2,228 | py | Python | Store/AuthStore.py | uscope-platform/uscope_server | d8679c1aea0210ed80375a2b071b5971ce7a7232 | [
"Apache-2.0"
] | null | null | null | Store/AuthStore.py | uscope-platform/uscope_server | d8679c1aea0210ed80375a2b071b5971ce7a7232 | [
"Apache-2.0"
] | null | null | null | Store/AuthStore.py | uscope-platform/uscope_server | d8679c1aea0210ed80375a2b071b5971ce7a7232 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 University of Nottingham Ningbo China
# Author: Filippo Savi <filssavi@gmail.com>
#
# 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/LICEN... | 31.828571 | 109 | 0.714542 | 303 | 2,228 | 5.10231 | 0.40264 | 0.056921 | 0.071151 | 0.041397 | 0.096378 | 0.040103 | 0.040103 | 0 | 0 | 0 | 0 | 0.004432 | 0.189856 | 2,228 | 69 | 110 | 32.289855 | 0.852078 | 0.281867 | 0 | 0 | 0 | 0 | 0.041035 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.342857 | false | 0.085714 | 0.114286 | 0.114286 | 0.628571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
3b7b453bef64a0a3894df227a8aac9db2fa329cd | 430 | py | Python | app/controllers/receipts.py | theikkila/lopputili | 25842e54a272f12ae6bdafeb98c676da396cddf2 | [
"MIT"
] | null | null | null | app/controllers/receipts.py | theikkila/lopputili | 25842e54a272f12ae6bdafeb98c676da396cddf2 | [
"MIT"
] | null | null | null | app/controllers/receipts.py | theikkila/lopputili | 25842e54a272f12ae6bdafeb98c676da396cddf2 | [
"MIT"
] | null | null | null | from .listview import APIListView, APIDetailView
from ..models.receipt import Receipt, Commit
class ReceiptsListController(APIListView):
def getModel(self):
return Receipt
class ReceiptsDetailController(APIDetailView):
def getModel(self):
return Receipt
class CommitsListController(APIListView):
def getMod... | 18.695652 | 48 | 0.804651 | 43 | 430 | 8.046512 | 0.395349 | 0.127168 | 0.17341 | 0.242775 | 0.485549 | 0.190751 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125581 | 430 | 23 | 49 | 18.695652 | 0.920213 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
3b7d6c4b0c7dacc1bb29b9b78de8ff6c78cb6ea1 | 1,152 | py | Python | student-feedback-app/form/models.py | karthikvg/Student-feedback-app | 2cc948b08fb4fd2624093c8c7f21b8110b5c2c9e | [
"MIT"
] | null | null | null | student-feedback-app/form/models.py | karthikvg/Student-feedback-app | 2cc948b08fb4fd2624093c8c7f21b8110b5c2c9e | [
"MIT"
] | 6 | 2020-06-05T18:30:14.000Z | 2021-09-07T23:56:05.000Z | student-feedback-app/form/models.py | karthikvg/Student-feedback-app | 2cc948b08fb4fd2624093c8c7f21b8110b5c2c9e | [
"MIT"
] | null | null | null | from django.db import models
class Student(models.Model):
last_name = models.CharField(max_length=20)
middle_name = models.CharField(max_length=20)
first_name = models.CharField(max_length=20)
roll_no = models.CharField(max_length=20)
email_id = models.EmailField(max_length=30)
password=models... | 31.135135 | 75 | 0.751736 | 158 | 1,152 | 5.208861 | 0.272152 | 0.164034 | 0.284326 | 0.379101 | 0.648846 | 0.417983 | 0.157959 | 0.157959 | 0.157959 | 0.157959 | 0 | 0.039634 | 0.145833 | 1,152 | 36 | 76 | 32 | 0.796748 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.107143 | false | 0.035714 | 0.035714 | 0.107143 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8e974c9abe06b801d51218dd99ade875f3ad6833 | 45 | py | Python | inscripta/biocantor/util/__init__.py | InscriptaLabs/BioCantor | e0b240480e229c28d3e12ba629d80ae2e397fa8f | [
"MIT"
] | 19 | 2021-04-20T04:11:30.000Z | 2021-10-11T14:48:57.000Z | inscripta/biocantor/util/__init__.py | InscriptaLabs/BioCantor | e0b240480e229c28d3e12ba629d80ae2e397fa8f | [
"MIT"
] | 1 | 2021-08-10T23:13:38.000Z | 2021-08-11T18:45:45.000Z | inscripta/biocantor/util/__init__.py | InscriptaLabs/BioCantor | e0b240480e229c28d3e12ba629d80ae2e397fa8f | [
"MIT"
] | 2 | 2021-08-02T08:14:35.000Z | 2021-09-15T19:30:38.000Z | """
General utilities used by BioCantor.
"""
| 11.25 | 36 | 0.688889 | 5 | 45 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 37 | 15 | 0.815789 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8edd1b686facb631a12454e52b590a5c99a65550 | 209 | py | Python | glueball/__init__.py | glueball-css/glueball | 88ca97a9789246a86d19d2eb20838e77647f0cff | [
"MIT"
] | null | null | null | glueball/__init__.py | glueball-css/glueball | 88ca97a9789246a86d19d2eb20838e77647f0cff | [
"MIT"
] | null | null | null | glueball/__init__.py | glueball-css/glueball | 88ca97a9789246a86d19d2eb20838e77647f0cff | [
"MIT"
] | null | null | null |
__version__ = '0.0.1'
# Expose some core classes
from .core.breakpoints import Breakpoints
from .core.cssmodule import CssModule
from .core.stylesheet import StyleSheet
from .core.stylerule import StyleRule
| 23.222222 | 41 | 0.808612 | 28 | 209 | 5.892857 | 0.464286 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.124402 | 209 | 8 | 42 | 26.125 | 0.885246 | 0.114833 | 0 | 0 | 0 | 0 | 0.027473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d90e79a136d2efcde83b0ec195b4dc86fd1db5ca | 207 | py | Python | src/utils/globals.py | MarkKoz/TweetPnD | 73874afc84b4a48b006ec85f6402097346f0328f | [
"MIT"
] | 3 | 2019-04-09T07:03:41.000Z | 2020-02-13T17:10:20.000Z | src/utils/globals.py | MarkKoz/tweet-pnd | e93910f14a1fe4af8c81d1d76377afde32fa0fc2 | [
"MIT"
] | 7 | 2021-06-08T18:52:05.000Z | 2022-03-03T21:52:11.000Z | src/utils/globals.py | MarkKoz/tweet-pnd | e93910f14a1fe4af8c81d1d76377afde32fa0fc2 | [
"MIT"
] | 1 | 2019-04-09T07:04:28.000Z | 2019-04-09T07:04:28.000Z | from typing import List
import logging
from exchanges.exchange import Exchange
config: dict = {}
log: logging.Logger = None
exchanges: List[Exchange] = []
db = None # TODO: Forward reference type-hinting.
| 20.7 | 49 | 0.753623 | 27 | 207 | 5.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154589 | 207 | 9 | 50 | 23 | 0.891429 | 0.178744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d933572a91848a86a49e6c66c2fdfd96540ce4fa | 1,025 | py | Python | looking_for_group/gamer_profiles/admin.py | andrlik/looking-for-group | 0b1cecb37ef0f6d75692fd188130e2c60d09b7d2 | [
"BSD-3-Clause"
] | null | null | null | looking_for_group/gamer_profiles/admin.py | andrlik/looking-for-group | 0b1cecb37ef0f6d75692fd188130e2c60d09b7d2 | [
"BSD-3-Clause"
] | null | null | null | looking_for_group/gamer_profiles/admin.py | andrlik/looking-for-group | 0b1cecb37ef0f6d75692fd188130e2c60d09b7d2 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from . import models
# Register your models here.
class GamerCommunityAdmin(admin.ModelAdmin):
pass
class GamerProfileAdmin(admin.ModelAdmin):
pass
class CommunityMembershipAdmin(admin.ModelAdmin):
pass
class CommunityApplicationAdmin(admin.ModelAdmin):
pass
c... | 21.808511 | 75 | 0.816585 | 100 | 1,025 | 8.37 | 0.29 | 0.143369 | 0.181601 | 0.219833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101463 | 1,025 | 46 | 76 | 22.282609 | 0.908795 | 0.025366 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.307692 | 0.076923 | 0 | 0.384615 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d95d1cb5f51db48452d4a003e8a53bfe29d6f367 | 63 | py | Python | ggongsul/agreement/__init__.py | blc-cruise/ggongsul-api | 0cdfc09ea75688ffc297bc0c0f08897091896f3e | [
"MIT"
] | 2 | 2021-05-22T07:33:34.000Z | 2021-09-18T04:22:25.000Z | ggongsul/agreement/__init__.py | blc-cruise/ggongsul-api | 0cdfc09ea75688ffc297bc0c0f08897091896f3e | [
"MIT"
] | null | null | null | ggongsul/agreement/__init__.py | blc-cruise/ggongsul-api | 0cdfc09ea75688ffc297bc0c0f08897091896f3e | [
"MIT"
] | null | null | null | default_app_config = "ggongsul.agreement.apps.AgreementConfig"
| 31.5 | 62 | 0.857143 | 7 | 63 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 63 | 1 | 63 | 63 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d9704c8c7ba9b6be51294370ee6a5fd1484c1a85 | 996 | py | Python | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/events/CurrentState.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | 1 | 2022-02-17T19:14:46.000Z | 2022-02-17T19:14:46.000Z | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/events/CurrentState.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | null | null | null | src/negotiating_agent/venv/lib/python3.8/site-packages/geniusweb/events/CurrentState.py | HahaBill/CollaborativeAI | f771cd2f34774c74c58e49a7e983d6244ea35eff | [
"MIT"
] | null | null | null | from geniusweb.events.ProtocolEvent import ProtocolEvent
class CurrentState( ProtocolEvent ):
'''
Reports a NegoState as the latest state of the protocol. The negoState is
abstract because the state is not something that can be handled at this place
in the dependency hierarchy. The "real" implementations are inside... | 45.272727 | 78 | 0.791165 | 152 | 996 | 5.184211 | 0.625 | 0.027919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172691 | 996 | 21 | 79 | 47.428571 | 0.956311 | 0.876506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d982b29c6380ac7843d0fa427ba62ad9e38e47ad | 1,127 | py | Python | backend/youngun/youngun/apps/content/migrations/0004_auto_20200703_1702.py | aakashbajaj/Youngun-Campaign-Tracking | a3b4f283b22cefb92c72f7638ee2a9da72622de0 | [
"Apache-2.0"
] | null | null | null | backend/youngun/youngun/apps/content/migrations/0004_auto_20200703_1702.py | aakashbajaj/Youngun-Campaign-Tracking | a3b4f283b22cefb92c72f7638ee2a9da72622de0 | [
"Apache-2.0"
] | 1 | 2021-09-22T19:27:06.000Z | 2021-09-22T19:27:06.000Z | backend/youngun/youngun/apps/content/migrations/0004_auto_20200703_1702.py | aakashbajaj/Youngun-Campaign-Tracking | a3b4f283b22cefb92c72f7638ee2a9da72622de0 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.7 on 2020-07-03 17:02
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('content', '0003_facebookstory_instagramstory_twitterstory'),
]
operations = [
migrations.AlterModelOptions(
name='facebookpost',
... | 29.657895 | 70 | 0.595386 | 88 | 1,127 | 7.454545 | 0.431818 | 0.246951 | 0.283537 | 0.219512 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.291925 | 1,127 | 37 | 71 | 30.459459 | 0.798246 | 0.039929 | 0 | 0.387097 | 1 | 0 | 0.307407 | 0.042593 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7964891d72b78719709b0d98b2a9a7b27e495d06 | 158 | py | Python | tests/web_platform/CSS2/normal_flow/test_max_width_percentage.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/normal_flow/test_max_width_percentage.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/CSS2/normal_flow/test_max_width_percentage.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestMaxWidthPercentage(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'max-width-percentage-'))
| 26.333333 | 76 | 0.797468 | 17 | 158 | 7.117647 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.088608 | 158 | 5 | 77 | 31.6 | 0.819444 | 0 | 0 | 0 | 0 | 0 | 0.133758 | 0.133758 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
796668379bc38b4a8c8e986f444b104c77b336d4 | 121 | wsgi | Python | flask.wsgi | hariharshankar/pygeo | f87b5f117dd35e8c6491d1c627cc795e416df6f9 | [
"MIT"
] | 1 | 2017-09-03T14:39:26.000Z | 2017-09-03T14:39:26.000Z | flask.wsgi | hariharshankar/pygeo | f87b5f117dd35e8c6491d1c627cc795e416df6f9 | [
"MIT"
] | null | null | null | flask.wsgi | hariharshankar/pygeo | f87b5f117dd35e8c6491d1c627cc795e416df6f9 | [
"MIT"
] | null | null | null | import sys
import os
sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
from geo import app as application
| 20.166667 | 63 | 0.785124 | 21 | 121 | 4.333333 | 0.666667 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.107438 | 121 | 5 | 64 | 24.2 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
79a3edd509703ffffb8f3ce4d2634d81014a1874 | 523 | py | Python | pi_control/temperature/serializers.py | mhozza/pi-control | 0dce821b4702519fedc3950270ee0091ed484ef6 | [
"MIT"
] | null | null | null | pi_control/temperature/serializers.py | mhozza/pi-control | 0dce821b4702519fedc3950270ee0091ed484ef6 | [
"MIT"
] | 10 | 2020-03-14T21:04:36.000Z | 2022-03-03T21:51:07.000Z | pi_control/temperature/serializers.py | mhozza/pi-control | 0dce821b4702519fedc3950270ee0091ed484ef6 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Entry, MeasurementDevice
class EntrySerializer(serializers.ModelSerializer):
class Meta:
model = Entry
fields = ("time", "temperature", "humidity", "device")
class MeasurementDeviceSerializer(serializers.ModelSerializer):
class Meta... | 23.772727 | 63 | 0.692161 | 45 | 523 | 8.022222 | 0.488889 | 0.216066 | 0.257618 | 0.290859 | 0.493075 | 0.382271 | 0.382271 | 0.382271 | 0.382271 | 0 | 0 | 0 | 0.212237 | 523 | 21 | 64 | 24.904762 | 0.876214 | 0 | 0 | 0.5 | 0 | 0 | 0.078394 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 4 |
79d24eafa6745976ba25f8d0b98376a15002324e | 7,864 | py | Python | nyc_data/ppe/migrations/0010_auto_20200412_1539.py | nyccto-rapicastillo/nyc-ppe | e6d5ba45cf2815f7659298103d3b5bc7210ed8cf | [
"MIT"
] | 3 | 2020-04-16T03:24:17.000Z | 2020-09-11T22:12:31.000Z | nyc_data/ppe/migrations/0010_auto_20200412_1539.py | nyccto-rapicastillo/nyc-ppe | e6d5ba45cf2815f7659298103d3b5bc7210ed8cf | [
"MIT"
] | 47 | 2020-04-10T20:02:09.000Z | 2021-09-08T02:05:09.000Z | nyc_data/ppe/migrations/0010_auto_20200412_1539.py | nyccto-rapicastillo/nyc-ppe | e6d5ba45cf2815f7659298103d3b5bc7210ed8cf | [
"MIT"
] | 1 | 2020-04-22T19:10:24.000Z | 2020-04-22T19:10:24.000Z | # Generated by Django 3.0.5 on 2020-04-12 15:39
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
("ppe", "0009_auto_20200412_1517"),
]
operations = [
migrations.CreateModel(
name="Fa... | 38.738916 | 88 | 0.370677 | 470 | 7,864 | 5.959574 | 0.246809 | 0.048197 | 0.029989 | 0.047126 | 0.650839 | 0.650839 | 0.650839 | 0.650839 | 0.650839 | 0.650839 | 0 | 0.015336 | 0.519074 | 7,864 | 202 | 89 | 38.930693 | 0.725278 | 0.005722 | 0 | 0.704082 | 1 | 0 | 0.190994 | 0.040297 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.05102 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
79d958b600e90d13ae0328631fda94ccbb461559 | 17,830 | py | Python | tgen_jetstream_resources/phoenix_build_exome_capture_resources/formats/intervals/__init__.py | tgen/jetstream_containers | 80c71e51cdc04df8322487328fef34f0641f5b8f | [
"MIT"
] | 2 | 2020-03-11T20:24:08.000Z | 2020-09-24T17:59:05.000Z | tgen_jetstream_resources/phoenix_build_exome_capture_resources/formats/intervals/__init__.py | tgen/jetstream_containers | 80c71e51cdc04df8322487328fef34f0641f5b8f | [
"MIT"
] | 32 | 2020-03-07T21:19:37.000Z | 2021-12-27T20:32:59.000Z | tgen_jetstream_resources/phoenix_build_exome_capture_resources/formats/intervals/__init__.py | tgen/jetstream_containers | 80c71e51cdc04df8322487328fef34f0641f5b8f | [
"MIT"
] | 1 | 2020-04-27T17:44:14.000Z | 2020-04-27T17:44:14.000Z | """Intervals are a generalization of several file formats:
GFF
====
All GFF formats (GFF2, GFF3 and GTF) are tabular files with 9 fields per line,
separated by tabs. They all share the same structure for the first 7 fields,
while differing in the definition of the eighth field and in the content and
format of the nin... | 37.69556 | 87 | 0.754066 | 2,927 | 17,830 | 4.571233 | 0.240178 | 0.017937 | 0.010762 | 0.005232 | 0.141704 | 0.110613 | 0.088042 | 0.047235 | 0.020777 | 0.015546 | 0 | 0.017189 | 0.181043 | 17,830 | 472 | 88 | 37.775424 | 0.899123 | 0.909422 | 0 | 0.045455 | 0 | 0 | 0.065698 | 0 | 0 | 0 | 0 | 0.002119 | 0 | 1 | 0.227273 | false | 0 | 0.090909 | 0.136364 | 0.568182 | 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 | 1 | 0 | 0 | 4 |
79de87a3330b53cc1c1b948abce13c28bd7e1d5d | 765 | py | Python | tests/test_binary.py | nyimbi/faker_extras | 37967d9101af217f7671fc2ad071b49258711c29 | [
"MIT"
] | null | null | null | tests/test_binary.py | nyimbi/faker_extras | 37967d9101af217f7671fc2ad071b49258711c29 | [
"MIT"
] | null | null | null | tests/test_binary.py | nyimbi/faker_extras | 37967d9101af217f7671fc2ad071b49258711c29 | [
"MIT"
] | 1 | 2019-05-23T16:02:45.000Z | 2019-05-23T16:02:45.000Z |
def test_binary_byte_str_code(fake):
assert isinstance(fake.binary_byte_str(code=True), str)
def test_decimal_byte_str_code(fake):
assert isinstance(fake.decimal_byte_str(code=True), str)
def test_binary_byte_str(fake):
assert isinstance(fake.binary_byte_str(), str)
def test_decimal_byte_str(fake):
... | 21.25 | 60 | 0.711111 | 114 | 765 | 4.54386 | 0.157895 | 0.121622 | 0.30888 | 0.185328 | 0.530888 | 0.474903 | 0.401544 | 0 | 0 | 0 | 0 | 0.00774 | 0.155556 | 765 | 35 | 61 | 21.857143 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.4 | false | 0 | 0 | 0 | 0.4 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8dad96fdcff0c2d94cfe818564c667aa3740eeb5 | 46 | py | Python | tests/cmods/contracts/ctest.py | Akm0d/pop | 77d9f6e6de8e02aa2ee5520d0aa0052fabd53243 | [
"Apache-2.0"
] | 48 | 2019-05-21T16:10:49.000Z | 2021-12-04T18:02:20.000Z | tests/cmods/contracts/ctest.py | Akm0d/pop | 77d9f6e6de8e02aa2ee5520d0aa0052fabd53243 | [
"Apache-2.0"
] | 43 | 2019-05-21T22:39:44.000Z | 2020-02-07T16:37:29.000Z | tests/cmods/contracts/ctest.py | Akm0d/pop | 77d9f6e6de8e02aa2ee5520d0aa0052fabd53243 | [
"Apache-2.0"
] | 18 | 2019-05-21T16:10:42.000Z | 2019-12-13T16:28:36.000Z | def pre_cping(hub, ctx):
hub.CPING = True
| 15.333333 | 24 | 0.652174 | 8 | 46 | 3.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 46 | 2 | 25 | 23 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8db0168c2bf015bf7074951ad2bc118dd4de1de7 | 2,717 | py | Python | tests/test_models.py | jesserockz/forecast_solar | 84789e65fe044c3a0d29c06ea43c929d0ba8117f | [
"MIT"
] | 3 | 2021-06-24T20:48:41.000Z | 2021-09-26T09:31:41.000Z | tests/test_models.py | jesserockz/forecast_solar | 84789e65fe044c3a0d29c06ea43c929d0ba8117f | [
"MIT"
] | 9 | 2021-07-10T12:06:21.000Z | 2022-03-22T12:55:34.000Z | tests/test_models.py | jesserockz/forecast_solar | 84789e65fe044c3a0d29c06ea43c929d0ba8117f | [
"MIT"
] | 4 | 2022-02-18T20:29:54.000Z | 2022-03-21T17:49:51.000Z | """Test the models."""
from datetime import datetime
from forecast_solar import models
from . import PAYLOAD, patch_now, patch_previous_day, patch_near_end_today
def test_estimate_previous_day(patch_previous_day):
"""Test estimate."""
estimate = models.Estimate.from_dict(PAYLOAD)
assert estimate.timezone... | 33.9625 | 79 | 0.741627 | 348 | 2,717 | 5.514368 | 0.175287 | 0.262637 | 0.106305 | 0.143825 | 0.845232 | 0.742053 | 0.564878 | 0.564878 | 0.564878 | 0.564878 | 0 | 0.083479 | 0.157895 | 2,717 | 79 | 80 | 34.392405 | 0.755245 | 0.022451 | 0 | 0.377358 | 0 | 0 | 0.067552 | 0.037951 | 0 | 0 | 0 | 0 | 0.679245 | 1 | 0.056604 | false | 0 | 0.056604 | 0 | 0.113208 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c009c0d940a5fe1b6bf3033658a224f176da0a5 | 104 | py | Python | CertifiableBayesianInference/BayesKeras/__init__.py | Hongchenglong/colab | 9cc5c15abde536493cc3f12008e791caa1d00070 | [
"Apache-2.0"
] | null | null | null | CertifiableBayesianInference/BayesKeras/__init__.py | Hongchenglong/colab | 9cc5c15abde536493cc3f12008e791caa1d00070 | [
"Apache-2.0"
] | null | null | null | CertifiableBayesianInference/BayesKeras/__init__.py | Hongchenglong/colab | 9cc5c15abde536493cc3f12008e791caa1d00070 | [
"Apache-2.0"
] | null | null | null | # Author: Mathew Wicker
#import optimizers
#import analyzers
from .posteriormodel import PosteriorModel
| 20.8 | 42 | 0.836538 | 11 | 104 | 7.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 4 | 43 | 26 | 0.945652 | 0.519231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5c12fba0d4bec913ce49238d967173516b58572d | 4,589 | py | Python | annotation/state/States.py | jbudis/dante | 90177c33825d5f9ce3fba5463092fbcf20b72fe2 | [
"Apache-2.0"
] | 4 | 2018-09-28T14:50:47.000Z | 2021-08-09T12:46:12.000Z | annotation/state/States.py | jbudis/dante | 90177c33825d5f9ce3fba5463092fbcf20b72fe2 | [
"Apache-2.0"
] | 6 | 2019-01-02T13:08:31.000Z | 2021-03-25T21:45:40.000Z | annotation/state/States.py | jbudis/dante | 90177c33825d5f9ce3fba5463092fbcf20b72fe2 | [
"Apache-2.0"
] | 1 | 2017-12-12T10:38:26.000Z | 2017-12-12T10:38:26.000Z | CODE_GAP = '-'
CODE_BACKGROUND = '-'
class State:
"""
Node in the HMM architecture, with emission probability
"""
def __init__(self, emission, module_id, state_id):
"""
:param emission: Multinomial distribution of nucleotide generation, one float value for each nucleotide
:par... | 27.479042 | 111 | 0.639355 | 564 | 4,589 | 4.985816 | 0.141844 | 0.060455 | 0.032006 | 0.067212 | 0.725462 | 0.653627 | 0.629445 | 0.588193 | 0.501778 | 0.49111 | 0 | 0 | 0.286555 | 4,589 | 166 | 112 | 27.644578 | 0.858888 | 0.391371 | 0 | 0.701493 | 0 | 0 | 0.000843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.38806 | false | 0 | 0 | 0.164179 | 0.776119 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5c2b20f6a27fc7544fd77b0588496bf7dc87ce42 | 1,680 | py | Python | openmdao.units/openmdao/units/test/unit_compare.py | mjfwest/OpenMDAO-Framework | a5521f47ad7686c25b203de74e1c7dff5fd7a52b | [
"Apache-2.0"
] | 69 | 2015-01-02T19:10:08.000Z | 2021-11-14T04:42:28.000Z | openmdao.units/openmdao/units/test/unit_compare.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 3 | 2015-01-15T23:08:18.000Z | 2015-03-11T16:57:35.000Z | openmdao.units/openmdao/units/test/unit_compare.py | jcchin/OpenMDAO-Framework | 038e89b06da1c74f00918f4c6fbd8bd365e25657 | [
"Apache-2.0"
] | 31 | 2015-09-16T00:37:35.000Z | 2022-01-10T06:27:55.000Z | #Comparison between NASA units and Sicentific PhysicalQuantities in terms of speed
import Scientific.Physics.PhysicalQuantities as case1
import units as case2
import time
import cProfile
n = 20000
#x1 = case1.PhysicalQuantity('5cm')
#x2 = case2.PhysicalQuantity('5cm')
t1 = time.time()
for jj in xrange(n):
pq... | 18.26087 | 82 | 0.565476 | 254 | 1,680 | 3.708661 | 0.200787 | 0.138004 | 0.118896 | 0.169851 | 0.696391 | 0.696391 | 0.696391 | 0.687898 | 0.660297 | 0.660297 | 0 | 0.070132 | 0.278571 | 1,680 | 92 | 83 | 18.26087 | 0.707096 | 0.08869 | 0 | 0.857143 | 0 | 0 | 0.432963 | 0.105952 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.057143 | null | null | 0.042857 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c2bcd4ed223afbdd65630e5455fe53aa4024792 | 73 | py | Python | src/typhoonae/files/__init__.py | sprymak/typhoonae | fe31bcc7b21fc14f8aa97b36d66cd7671974543b | [
"Apache-2.0"
] | 1 | 2018-12-02T10:36:07.000Z | 2018-12-02T10:36:07.000Z | src/typhoonae/files/__init__.py | sprymak/typhoonae | fe31bcc7b21fc14f8aa97b36d66cd7671974543b | [
"Apache-2.0"
] | null | null | null | src/typhoonae/files/__init__.py | sprymak/typhoonae | fe31bcc7b21fc14f8aa97b36d66cd7671974543b | [
"Apache-2.0"
] | 1 | 2018-12-02T10:36:08.000Z | 2018-12-02T10:36:08.000Z | """This package contains TyphoonAE's implementation of the Files API."""
| 36.5 | 72 | 0.767123 | 10 | 73 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 1 | 73 | 73 | 0.875 | 0.90411 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c48ca86fc6c4920ea6acc9fd4f36d6e1d9e3ce3 | 125 | py | Python | 19/00/2/sub/Programmer.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | 19/00/2/sub/Programmer.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | 70 | 2017-06-01T11:02:51.000Z | 2017-06-30T00:35:32.000Z | 19/00/2/sub/Programmer.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | import super.Types.Human
class Programmer(super.Human.Types.Human):
def programming(self):
print('programming.')
| 25 | 42 | 0.72 | 15 | 125 | 6 | 0.666667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 4 | 43 | 31.25 | 0.849057 | 0 | 0 | 0 | 0 | 0 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a50b9d39ad26255cf3dcc5129e5a39d7001d0c79 | 329 | py | Python | tests/unit/test_categories.py | aeskincbr/kesher-backend | 57e0fd7410fc8ae6a6fe438b3633f191bb791072 | [
"MIT"
] | 1 | 2021-05-13T10:58:06.000Z | 2021-05-13T10:58:06.000Z | tests/unit/test_categories.py | aeskincbr/kesher-backend | 57e0fd7410fc8ae6a6fe438b3633f191bb791072 | [
"MIT"
] | null | null | null | tests/unit/test_categories.py | aeskincbr/kesher-backend | 57e0fd7410fc8ae6a6fe438b3633f191bb791072 | [
"MIT"
] | 2 | 2021-04-06T15:28:16.000Z | 2021-05-13T23:02:59.000Z | import json
from pytest_mock import MockerFixture
from service import report_category_handler
def test_get_report_categories_list(mocker: MockerFixture):
response = report_category_handler.get_report_categories_list(mocker.MagicMock(), mocker.MagicMock())
body = json.loads(response["body"])
assert body is... | 36.555556 | 105 | 0.81459 | 43 | 329 | 5.953488 | 0.55814 | 0.109375 | 0.164063 | 0.179688 | 0.226563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115502 | 329 | 9 | 106 | 36.555556 | 0.879725 | 0 | 0 | 0 | 0 | 0 | 0.012121 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eb70c2b08541a0020b3387eeeb52930d4fc83663 | 549 | py | Python | healthcheck/admin.py | rafilkmp3/healthcheck-as-a-service | a35be50ceff8ec7ab7e2c45ec49831d65807b51b | [
"BSD-3-Clause"
] | 29 | 2015-01-23T12:37:17.000Z | 2019-05-23T11:00:28.000Z | healthcheck/admin.py | rafilkmp3/healthcheck-as-a-service | a35be50ceff8ec7ab7e2c45ec49831d65807b51b | [
"BSD-3-Clause"
] | 8 | 2015-01-09T20:21:58.000Z | 2018-11-01T12:14:37.000Z | healthcheck/admin.py | rafilkmp3/healthcheck-as-a-service | a35be50ceff8ec7ab7e2c45ec49831d65807b51b | [
"BSD-3-Clause"
] | 16 | 2015-01-02T09:39:09.000Z | 2022-03-22T17:30:01.000Z | # Copyright 2014 healthcheck-as-a-service authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
from flask_admin import BaseView, expose
class HealthcheckAdmin(BaseView):
@expose('/')
def index(self):
return self.render('in... | 22.875 | 71 | 0.681239 | 72 | 549 | 5.180556 | 0.611111 | 0.150134 | 0.136729 | 0.176944 | 0.436997 | 0.436997 | 0.436997 | 0.436997 | 0.436997 | 0.436997 | 0 | 0.009112 | 0.200364 | 549 | 23 | 72 | 23.869565 | 0.840547 | 0.304189 | 0 | 0.692308 | 0 | 0 | 0.087302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.769231 | 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 | 1 | 1 | 0 | 0 | 4 |
eb8930f1b5116d9b2a575dee3e28e6e6e0470390 | 110 | py | Python | payments/models.py | closeair/one-eleven | 392e94a75d3d036d47528d51de6c97f591de63c7 | [
"MIT"
] | null | null | null | payments/models.py | closeair/one-eleven | 392e94a75d3d036d47528d51de6c97f591de63c7 | [
"MIT"
] | null | null | null | payments/models.py | closeair/one-eleven | 392e94a75d3d036d47528d51de6c97f591de63c7 | [
"MIT"
] | null | null | null | from django.db import models
class Invoice(models.Model):
pass
class InvoveItem(models.Mode):
pass
| 12.222222 | 30 | 0.727273 | 15 | 110 | 5.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190909 | 110 | 8 | 31 | 13.75 | 0.898876 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
eb908f00ddb43cb12ac67dbd1701fdfe18fc0779 | 261 | py | Python | great_expectations/cli/upgrade_helpers/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 6,451 | 2017-09-11T16:32:53.000Z | 2022-03-31T23:27:49.000Z | great_expectations/cli/upgrade_helpers/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 3,892 | 2017-09-08T18:57:50.000Z | 2022-03-31T23:15:20.000Z | great_expectations/cli/upgrade_helpers/__init__.py | victorcouste/great_expectations | 9ee46d83feb87e13c769e2ae35b899b3f18d73a4 | [
"Apache-2.0"
] | 1,023 | 2017-09-08T15:22:05.000Z | 2022-03-31T21:17:08.000Z | from great_expectations.cli.upgrade_helpers.upgrade_helper_v11 import UpgradeHelperV11
from great_expectations.cli.upgrade_helpers.upgrade_helper_v13 import UpgradeHelperV13
GE_UPGRADE_HELPER_VERSION_MAP = {
1: UpgradeHelperV11,
2: UpgradeHelperV13,
}
| 32.625 | 86 | 0.854406 | 31 | 261 | 6.806452 | 0.548387 | 0.184834 | 0.199052 | 0.227488 | 0.483412 | 0.483412 | 0.483412 | 0.483412 | 0 | 0 | 0 | 0.059322 | 0.095785 | 261 | 7 | 87 | 37.285714 | 0.834746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
ebbee70c7cf71e632d05ae50536d8e7d9f18f602 | 322 | py | Python | braintree/exceptions/server_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 182 | 2015-01-09T05:26:46.000Z | 2022-03-16T14:10:06.000Z | braintree/exceptions/server_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 95 | 2015-02-24T23:29:56.000Z | 2022-03-13T03:27:58.000Z | braintree/exceptions/server_error.py | futureironman/braintree_python | 26bb8a857bc29322a8bca2e8e0fe6d99cfe6a1ac | [
"MIT"
] | 93 | 2015-02-19T17:59:06.000Z | 2022-03-19T17:01:25.000Z | from braintree.exceptions.braintree_error import BraintreeError
class ServerError(BraintreeError):
"""
Raised when the gateway raises an error. Please contant support at support@getbraintree.com.
See https://developers.braintreepayments.com/reference/general/exceptions/python#server-error
"""
pas... | 32.2 | 97 | 0.776398 | 36 | 322 | 6.916667 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 322 | 9 | 98 | 35.777778 | 0.902174 | 0.583851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
ccda0e22aa91606aa6d861b11883265f0b06f398 | 186 | py | Python | apps/books/admin.py | michal-siedlecki/books | 31c477014a1438f962c9044859621eea32be209e | [
"MIT"
] | null | null | null | apps/books/admin.py | michal-siedlecki/books | 31c477014a1438f962c9044859621eea32be209e | [
"MIT"
] | 2 | 2021-06-09T18:04:55.000Z | 2021-06-10T20:04:29.000Z | apps/books/admin.py | michal-siedlecki/books | 31c477014a1438f962c9044859621eea32be209e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Book
@admin.register(Book)
class BookAdmin(admin.ModelAdmin):
list_display = [field.name for field in Book._meta.get_fields()]
| 23.25 | 68 | 0.774194 | 27 | 186 | 5.222222 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 186 | 7 | 69 | 26.571429 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
691b9e95be982703361b49a4230b315d8e9bd763 | 80 | py | Python | social/apps/django_app/context_processors.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 1,987 | 2015-01-01T16:12:45.000Z | 2022-03-29T14:24:25.000Z | social/apps/django_app/context_processors.py | raccoongang/python-social-auth | 81c0a542d158772bd3486d31834c10af5d5f08b0 | [
"BSD-3-Clause"
] | 731 | 2015-01-01T22:55:25.000Z | 2022-03-10T15:07:51.000Z | virtual/lib/python3.6/site-packages/social/apps/django_app/context_processors.py | dennismwaniki67/awards | 80ed10541f5f751aee5f8285ab1ad54cfecba95f | [
"MIT"
] | 1,082 | 2015-01-01T16:27:26.000Z | 2022-03-22T21:18:33.000Z | from social_django.context_processors import LazyDict, backends, login_redirect
| 40 | 79 | 0.8875 | 10 | 80 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 1 | 80 | 80 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
692214018531c95ce5488631bfda8916319a02eb | 68 | py | Python | lakshmi/__init__.py | sarvjeets/lakshmi | 8cd6e47f23a61c5b8c967f9fdc756df296f1e0d5 | [
"MIT"
] | 59 | 2021-09-07T05:19:30.000Z | 2022-02-24T18:29:49.000Z | lakshmi/__init__.py | sarvjeets/lakshmi | 8cd6e47f23a61c5b8c967f9fdc756df296f1e0d5 | [
"MIT"
] | 4 | 2021-08-01T18:32:51.000Z | 2022-02-26T19:14:37.000Z | lakshmi/__init__.py | sarvjeets/lakshmi | 8cd6e47f23a61c5b8c967f9fdc756df296f1e0d5 | [
"MIT"
] | 3 | 2021-08-01T04:35:07.000Z | 2022-03-23T21:48:51.000Z | from .lakshmi import * # noqa: F401,F403
del lakshmi # noqa: 821
| 17 | 41 | 0.676471 | 10 | 68 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0.220588 | 68 | 3 | 42 | 22.666667 | 0.698113 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 | 4 |
15c71000e76d57ad8d45942c856c701308a926d8 | 156 | py | Python | books_library/recomendation/apps.py | Ilyes-Hammadi/books-library | cba0df1ae95c3467b8d16caca16383c0af9a98cd | [
"MIT"
] | 9 | 2017-07-20T15:25:51.000Z | 2019-08-26T22:48:01.000Z | books_library/recomendation/apps.py | Ilyes-Hammadi/bookslib | cba0df1ae95c3467b8d16caca16383c0af9a98cd | [
"MIT"
] | null | null | null | books_library/recomendation/apps.py | Ilyes-Hammadi/bookslib | cba0df1ae95c3467b8d16caca16383c0af9a98cd | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class RecomendationConfig(AppConfig):
name = 'books_library.recomendation'
| 19.5 | 40 | 0.820513 | 17 | 156 | 7.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 7 | 41 | 22.285714 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 4 |
15d3af7ed96e93908da309aa72ded53ba043cac5 | 186 | py | Python | yt/frontends/adaptahop/api.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 360 | 2017-04-24T05:06:04.000Z | 2022-03-31T10:47:07.000Z | yt/frontends/adaptahop/api.py | Xarthisius/yt | 321643c3abff64a6f132d98d0747f3558f7552a3 | [
"BSD-3-Clause-Clear"
] | 2,077 | 2017-04-20T20:36:07.000Z | 2022-03-31T16:39:43.000Z | yt/frontends/adaptahop/api.py | stonnes/yt | aad3cfa3b4ebab7838352ab467275a27c26ff363 | [
"BSD-3-Clause-Clear"
] | 257 | 2017-04-19T20:52:28.000Z | 2022-03-29T12:23:52.000Z | """
API for AdaptaHOP frontend
"""
from . import tests
from .data_structures import AdaptaHOPDataset
from .fields import AdaptaHOPFieldInfo
from .io import IOHandlerAdaptaHOPBinary
| 14.307692 | 45 | 0.801075 | 20 | 186 | 7.4 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 186 | 12 | 46 | 15.5 | 0.930818 | 0.139785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
15d748c72a01f83a2ebd8154cdfff2b4e8b8fe0d | 1,493 | py | Python | fastapi-master-api/app/api/models/takeuchi_tfm_adapter.py | SionAbes/fullstack-porfolio | 6ca74da425a0f6e2d9b65b2aeb8d5452ff1565a9 | [
"MIT"
] | 1 | 2021-12-25T09:19:25.000Z | 2021-12-25T09:19:25.000Z | fastapi-master-api/app/api/models/takeuchi_tfm_adapter.py | SionAbes/fullstack-porfolio | 6ca74da425a0f6e2d9b65b2aeb8d5452ff1565a9 | [
"MIT"
] | null | null | null | fastapi-master-api/app/api/models/takeuchi_tfm_adapter.py | SionAbes/fullstack-porfolio | 6ca74da425a0f6e2d9b65b2aeb8d5452ff1565a9 | [
"MIT"
] | null | null | null | # coding: utf-8
from __future__ import annotations
import re # noqa: F401
from datetime import date, datetime # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401
from app.api.models.base_adapter import BaseAdapter
from app.api.models.base_takeuchi_tfm_adapter import BaseTakeuchiTfmAdapter
from ... | 32.456522 | 96 | 0.74347 | 193 | 1,493 | 5.559585 | 0.367876 | 0.055918 | 0.223672 | 0.072693 | 0.037279 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010952 | 0.204956 | 1,493 | 45 | 97 | 33.177778 | 0.893008 | 0.543202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.368421 | 0 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
15d8b90f94271b19185fc1777cca6c8eaccc7946 | 585 | py | Python | OpenGLCffi/EGL/EXT/KHR/stream.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/EGL/EXT/KHR/stream.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | OpenGLCffi/EGL/EXT/KHR/stream.py | cydenix/OpenGLCffi | c78f51ae5e6b655eb2ea98f072771cf69e2197f3 | [
"MIT"
] | null | null | null | from OpenGLCffi.EGL import params
@params(api='egl', prms=['dpy', 'attrib_list'])
def eglCreateStreamKHR(dpy, attrib_list):
pass
@params(api='egl', prms=['dpy', 'stream'])
def eglDestroyStreamKHR(dpy, stream):
pass
@params(api='egl', prms=['dpy', 'stream', 'attribute', 'value'])
def eglStreamAttribKHR(dpy, stream... | 21.666667 | 64 | 0.692308 | 71 | 585 | 5.676056 | 0.28169 | 0.17866 | 0.26799 | 0.198511 | 0.550868 | 0.503722 | 0.503722 | 0.431762 | 0.431762 | 0.431762 | 0 | 0.003831 | 0.107692 | 585 | 26 | 65 | 22.5 | 0.768199 | 0 | 0 | 0.5 | 0 | 0 | 0.183533 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.3125 | 0.0625 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
15f033aacc244949a27907736e45c38ce5995ddc | 322 | py | Python | integration_tests/ui/test_ui_sanity.py | yaelmi3/backslash | edf39caf97af2c926da01c340a83648f4874e97e | [
"BSD-3-Clause"
] | 17 | 2015-11-25T13:02:38.000Z | 2021-12-14T20:18:36.000Z | integration_tests/ui/test_ui_sanity.py | yaelmi3/backslash | edf39caf97af2c926da01c340a83648f4874e97e | [
"BSD-3-Clause"
] | 533 | 2015-11-24T12:47:13.000Z | 2022-02-12T07:59:08.000Z | integration_tests/ui/test_ui_sanity.py | parallelsystems/backslash | 577cdd18d5f665a8b493c4b2e2a605b7e0f6e11b | [
"BSD-3-Clause"
] | 15 | 2015-11-22T13:25:54.000Z | 2022-02-16T19:23:11.000Z | def test_logout(ui):
driver = ui.driver
driver.find_element_by_css_selector(".user-dropdown").click()
driver.find_element_by_css_selector(".logout-button").click()
assert driver.find_element_by_css_selector('.login-form')
def test_recorded_sessions_visible(ui_session):
assert ui_session is not Non... | 32.2 | 65 | 0.773292 | 47 | 322 | 4.914894 | 0.510638 | 0.12987 | 0.220779 | 0.246753 | 0.38961 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118012 | 322 | 9 | 66 | 35.777778 | 0.81338 | 0 | 0 | 0 | 0 | 0 | 0.121118 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c61fc6c9073a46f0b90f3db9b72060925b717e94 | 481 | py | Python | prmaya/scripts/prObjectSetUi/__init__.py | moChen0607/prmaya | 1b48f2b72b458d106752fee768846e1c172dd59a | [
"MIT"
] | 1 | 2020-01-14T10:20:32.000Z | 2020-01-14T10:20:32.000Z | prmaya/scripts/prObjectSetUi/__init__.py | moChen0607/prmaya | 1b48f2b72b458d106752fee768846e1c172dd59a | [
"MIT"
] | null | null | null | prmaya/scripts/prObjectSetUi/__init__.py | moChen0607/prmaya | 1b48f2b72b458d106752fee768846e1c172dd59a | [
"MIT"
] | null | null | null | """
https://github.com/parzival-roethlein/prmaya
# DESCRIPTION
Manage objectSet members (add, remove, reorder, export, import)
# USAGE
import prmaya.scripts.prObjectSetUi.utils
prmaya.scripts.prObjectSetUi.utils.ui()
# TODO
- export / import members
- avoid unwanted maya behavior (clean solutions only possible with ... | 30.0625 | 80 | 0.773389 | 61 | 481 | 6.098361 | 0.770492 | 0.064516 | 0.139785 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126819 | 481 | 16 | 81 | 30.0625 | 0.885714 | 0.983368 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.0625 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c6304949f134dc4c65cdb201421264a50bed87ad | 152 | py | Python | scenarios/dispute_show/executable.py | trenton42/txbalanced | 9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14 | [
"MIT"
] | null | null | null | scenarios/dispute_show/executable.py | trenton42/txbalanced | 9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14 | [
"MIT"
] | null | null | null | scenarios/dispute_show/executable.py | trenton42/txbalanced | 9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14 | [
"MIT"
] | null | null | null | import balanced
balanced.configure('ak-test-1o9QKwUCrwstHWO5sGxICtIJdQXFTjnrV')
dispute = balanced.Dispute.fetch('/disputes/DT7be1ZNkz2SkA9rhBqxynrA') | 30.4 | 70 | 0.848684 | 13 | 152 | 9.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048276 | 0.046053 | 152 | 5 | 70 | 30.4 | 0.841379 | 0 | 0 | 0 | 0 | 0 | 0.490196 | 0.490196 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d67581f527fd496e011ca518f7f5c1cc3153b44f | 359 | py | Python | src/app/datastore/queries/articles/article.py | RdevJ/headquater | 2da2290560b030f7ce365e1b71affd637fb9cab4 | [
"MIT"
] | null | null | null | src/app/datastore/queries/articles/article.py | RdevJ/headquater | 2da2290560b030f7ce365e1b71affd637fb9cab4 | [
"MIT"
] | null | null | null | src/app/datastore/queries/articles/article.py | RdevJ/headquater | 2da2290560b030f7ce365e1b71affd637fb9cab4 | [
"MIT"
] | null | null | null | from sqlalchemy.orm.session import Session
from app.models.article import Article
class ArticleQuery(object):
def __init__(self, article_slug: str):
self.article_slug = article_slug
def get_article(self, db: Session) -> Article:
return db.query(Article).filter(
Article.title_slug ... | 27.615385 | 51 | 0.693593 | 45 | 359 | 5.311111 | 0.511111 | 0.1841 | 0.188285 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211699 | 359 | 12 | 52 | 29.916667 | 0.844523 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 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 | 1 | 0 | 0 | 4 |
d69d07cd0b9c2d546d9af7b1455448296c57b961 | 219 | py | Python | prototorch/functions/__init__.py | codacy-badger/prototorch | 4158586cb93e195208fc397bda33d67385cf385f | [
"MIT"
] | null | null | null | prototorch/functions/__init__.py | codacy-badger/prototorch | 4158586cb93e195208fc397bda33d67385cf385f | [
"MIT"
] | null | null | null | prototorch/functions/__init__.py | codacy-badger/prototorch | 4158586cb93e195208fc397bda33d67385cf385f | [
"MIT"
] | null | null | null | """ProtoTorch functions."""
from .activations import identity, sigmoid_beta, swish_beta
from .competitions import knnc, wtac
__all__ = [
'identity',
'sigmoid_beta',
'swish_beta',
'knnc',
'wtac',
]
| 16.846154 | 59 | 0.6621 | 23 | 219 | 5.956522 | 0.565217 | 0.218978 | 0.277372 | 0.350365 | 0.408759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200913 | 219 | 12 | 60 | 18.25 | 0.782857 | 0.09589 | 0 | 0 | 0 | 0 | 0.197917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.222222 | 0 | 1 | 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 | 4 |
d6aa2b86ffa206c6141dce5d13bdb6c0cf2c89d5 | 283 | py | Python | backend/models/event/cloudwatchevent.py | crosspower/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 17 | 2019-01-23T04:37:43.000Z | 2019-10-15T01:42:31.000Z | backend/models/event/cloudwatchevent.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 1 | 2019-01-23T08:04:44.000Z | 2019-01-23T08:44:33.000Z | backend/models/event/cloudwatchevent.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 6 | 2019-01-23T09:10:59.000Z | 2020-12-02T04:15:41.000Z | class CloudWatchEvent:
def __init__(self,
schedule_expression: str,
is_active: bool,
name: str =None):
self.name = name
self.schedule_expression = schedule_expression
self.is_active = is_active
| 28.3 | 55 | 0.55477 | 27 | 283 | 5.444444 | 0.481481 | 0.367347 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.385159 | 283 | 9 | 56 | 31.444444 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6bdc5953cfe68275c0d5d09c14b3f4d2c277ef9 | 109 | py | Python | src/genome_assembly/apps.py | rbr7/compgenomics-2021-Team2_WebServer | 17a15fb4ee65f80a8b59df7d0731c9e20442ee5e | [
"MIT"
] | null | null | null | src/genome_assembly/apps.py | rbr7/compgenomics-2021-Team2_WebServer | 17a15fb4ee65f80a8b59df7d0731c9e20442ee5e | [
"MIT"
] | null | null | null | src/genome_assembly/apps.py | rbr7/compgenomics-2021-Team2_WebServer | 17a15fb4ee65f80a8b59df7d0731c9e20442ee5e | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GenomeAssemblyConfig(AppConfig):
name = 'genome_assembly'
| 18.166667 | 39 | 0.752294 | 11 | 109 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 109 | 5 | 40 | 21.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 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 | 1 | 0 | 0 | 4 |
ba3c1db4e049989fcf495f0222679e85764ac590 | 371 | py | Python | edm_web1/script/newlib/_signal.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | edm_web1/script/newlib/_signal.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | 18 | 2020-06-05T18:17:40.000Z | 2022-03-11T23:25:21.000Z | edm_web1/script/newlib/_signal.py | zhouli121018/nodejsgm | 0ccbc8acf61badc812f684dd39253d55c99f08eb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import signal
import gevent
import gevent.signal
# --------------信号量处理---------------
# 设置监听信号量
# 设置程序结束信号量
def init_gevent_signal(handler):
gevent.signal(signal.SIGINT, handler, 'sigint') # 处理 Ctrl-C
gevent.signal(signal.SIGTERM, handler, 'sigterm') # 处理 kill
gevent.signal(signa... | 28.538462 | 74 | 0.652291 | 44 | 371 | 5.454545 | 0.454545 | 0.25 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003145 | 0.142857 | 371 | 13 | 74 | 28.538462 | 0.751572 | 0.296496 | 0 | 0 | 0 | 0 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ba46f48e0207de0f69fe389e0b2c6e922ca55409 | 52 | py | Python | src/authentication/models.py | ppknUWr/backend-bbz | 5ee82737d4c65be109677ec9485ec7f59aae62bf | [
"Apache-2.0"
] | 1 | 2021-03-03T19:12:26.000Z | 2021-03-03T19:12:26.000Z | src/authentication/models.py | ppknUWr/backend-bbz | 5ee82737d4c65be109677ec9485ec7f59aae62bf | [
"Apache-2.0"
] | 10 | 2021-03-01T16:11:29.000Z | 2021-10-04T18:36:33.000Z | src/authentication/models.py | ppknUWr/backend-bbz | 5ee82737d4c65be109677ec9485ec7f59aae62bf | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create models here
| 10.4 | 28 | 0.769231 | 8 | 52 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192308 | 52 | 4 | 29 | 13 | 0.952381 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ba4b985b532c61b919cba18f2e4b40f76853316d | 73 | py | Python | interfaces/python/test/nodes_test.py | kernhanda/ELL | 370c0de4e4c190ca0cb43654b4246b3686bca464 | [
"MIT"
] | null | null | null | interfaces/python/test/nodes_test.py | kernhanda/ELL | 370c0de4e4c190ca0cb43654b4246b3686bca464 | [
"MIT"
] | null | null | null | interfaces/python/test/nodes_test.py | kernhanda/ELL | 370c0de4e4c190ca0cb43654b4246b3686bca464 | [
"MIT"
] | 1 | 2020-12-10T17:49:07.000Z | 2020-12-10T17:49:07.000Z | import ell
def test():
print("nodes_test.test -- TBD")
return 0
| 12.166667 | 35 | 0.616438 | 11 | 73 | 4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.246575 | 73 | 5 | 36 | 14.6 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0.30137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ba9112f0d2bc4c24f3431ed6555b7fa00712bb4d | 96 | py | Python | Tutorials/01. 10 Days of Statistics/011. Day 5 - Poisson Distribution II.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Tutorials/01. 10 Days of Statistics/011. Day 5 - Poisson Distribution II.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | Tutorials/01. 10 Days of Statistics/011. Day 5 - Poisson Distribution II.py | stonehengee/HackerrankPractice | ec052e7447391e40d1919cf0b641ff5023da3da3 | [
"MIT"
] | null | null | null | # Problem: https://www.hackerrank.com/challenges/s10-poisson-distribution-2/problem
# Score: 30
| 32 | 83 | 0.78125 | 13 | 96 | 5.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.0625 | 96 | 2 | 84 | 48 | 0.777778 | 0.947917 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bab3bada988756769c8b3327590eb6ad143eac63 | 35 | py | Python | DjangoStarter/DjangoStarter/__init__.py | QuinntyneBrown/DjangoStarter | 7c2f385546568604acbb4f18d8a473ecb3688202 | [
"MIT"
] | null | null | null | DjangoStarter/DjangoStarter/__init__.py | QuinntyneBrown/DjangoStarter | 7c2f385546568604acbb4f18d8a473ecb3688202 | [
"MIT"
] | null | null | null | DjangoStarter/DjangoStarter/__init__.py | QuinntyneBrown/DjangoStarter | 7c2f385546568604acbb4f18d8a473ecb3688202 | [
"MIT"
] | null | null | null | """
Package for DjangoStarter.
"""
| 8.75 | 26 | 0.657143 | 3 | 35 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 3 | 27 | 11.666667 | 0.766667 | 0.742857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bae560e156346abefb32ddd61fea1341e16ffced | 446 | py | Python | test/test_cmdline/test_tokens.py | Rudedog9d/pypsi | 38dda442b21b8deb569d61076ab0a19c0e78edc8 | [
"0BSD"
] | 18 | 2015-01-07T19:05:29.000Z | 2022-01-09T02:33:23.000Z | test/test_cmdline/test_tokens.py | Rudedog9d/pypsi | 38dda442b21b8deb569d61076ab0a19c0e78edc8 | [
"0BSD"
] | 30 | 2015-02-19T16:04:04.000Z | 2021-03-30T00:09:58.000Z | test/test_cmdline/test_tokens.py | Rudedog9d/pypsi | 38dda442b21b8deb569d61076ab0a19c0e78edc8 | [
"0BSD"
] | 7 | 2016-01-02T17:55:48.000Z | 2020-11-22T14:52:32.000Z |
import pytest
from pypsi.cmdline import *
class TestTokens(object):
@pytest.mark.parametrize('op', (';', '&&', '|', '||'))
def test_operator_is_chain(self, op):
token = OperatorToken(0, op)
assert token.is_chain_operator() is True
@pytest.mark.parametrize('op', ('>', '>>', '<'))
def... | 26.235294 | 58 | 0.623318 | 54 | 446 | 4.944444 | 0.444444 | 0.149813 | 0.157303 | 0.172285 | 0.749064 | 0.749064 | 0.749064 | 0.749064 | 0.449438 | 0.449438 | 0 | 0.00565 | 0.206278 | 446 | 16 | 59 | 27.875 | 0.748588 | 0 | 0 | 0.181818 | 0 | 0 | 0.031461 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.181818 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 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 | 4 |
240d5d8ee9116bcce10947cf1d8fb581564f01f1 | 69 | py | Python | replicator/tests/__init__.py | samcmill/ngc-container-replicator | b5502076c78bb2904f2e57681c8b5a86285b4c45 | [
"BSD-3-Clause"
] | 20 | 2019-02-01T18:22:47.000Z | 2022-02-09T07:35:48.000Z | replicator/tests/__init__.py | samcmill/ngc-container-replicator | b5502076c78bb2904f2e57681c8b5a86285b4c45 | [
"BSD-3-Clause"
] | 10 | 2019-06-03T19:25:17.000Z | 2022-01-11T03:56:38.000Z | replicator/tests/__init__.py | samcmill/ngc-container-replicator | b5502076c78bb2904f2e57681c8b5a86285b4c45 | [
"BSD-3-Clause"
] | 8 | 2019-05-10T14:43:26.000Z | 2021-06-28T20:53:19.000Z | # -*- coding: utf-8 -*-
"""Unit test package for ngc_replicator."""
| 17.25 | 43 | 0.608696 | 9 | 69 | 4.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.15942 | 69 | 3 | 44 | 23 | 0.689655 | 0.869565 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2434424390ffb89ab3ab1f08751be05ed66ad871 | 1,476 | py | Python | foodie1/permissions.py | Jay-davisphem/ecommerce-backend | f8802f9f14a64c25b78dc205e616858b88082102 | [
"MIT"
] | null | null | null | foodie1/permissions.py | Jay-davisphem/ecommerce-backend | f8802f9f14a64c25b78dc205e616858b88082102 | [
"MIT"
] | null | null | null | foodie1/permissions.py | Jay-davisphem/ecommerce-backend | f8802f9f14a64c25b78dc205e616858b88082102 | [
"MIT"
] | null | null | null | from rest_framework.permissions import BasePermission, SAFE_METHODS
class IsUserPermission(BasePermission):
def has_permission(self, request, view):
if view.action in ['list', 'retrieve']:
return True
elif view.action == 'create':
if request.user and request.user.groups.fil... | 36 | 81 | 0.685637 | 177 | 1,476 | 5.60452 | 0.288136 | 0.144153 | 0.148185 | 0.176411 | 0.582661 | 0.483871 | 0.483871 | 0.438508 | 0.393145 | 0.346774 | 0 | 0 | 0.219512 | 1,476 | 40 | 82 | 36.9 | 0.861111 | 0 | 0 | 0.387097 | 0 | 0 | 0.049458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.225806 | false | 0 | 0.032258 | 0.129032 | 0.774194 | 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 | 1 | 1 | 0 | 0 | 4 |
24424d62523f29650f5b7085aa668cfb477348be | 75 | py | Python | cli/src/rnpfind/__init__.py | mnahinkhan/rnpfind | 5aa956ddd528ab9ebd9588be845f78c449915b78 | [
"MIT"
] | 3 | 2021-06-08T03:55:03.000Z | 2021-06-15T07:33:08.000Z | cli/src/rnpfind/__init__.py | mnahinkhan/RNPFind | 8b561e087f943421c847dcb708ee386ee6439fa5 | [
"MIT"
] | 1 | 2022-02-24T15:34:24.000Z | 2022-03-04T09:59:10.000Z | cli/src/rnpfind/__init__.py | mnahinkhan/RNPFind | 8b561e087f943421c847dcb708ee386ee6439fa5 | [
"MIT"
] | 1 | 2021-07-22T04:13:34.000Z | 2021-07-22T04:13:34.000Z | """
test
"""
from .config import GENOME_VERSION
from .main import rnpfind
| 10.714286 | 34 | 0.733333 | 10 | 75 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 6 | 35 | 12.5 | 0.857143 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
244e366c907e38a81cc2bdd92296bd45bfa08bc1 | 373 | py | Python | emergency/registry/polls/models.py | michaelShriver/colte | ac2459c2ad8ea952b1b72e0187e36a6c5a43753b | [
"MIT"
] | 48 | 2018-02-22T18:57:17.000Z | 2021-11-09T11:17:15.000Z | emergency/registry/polls/models.py | michaelShriver/colte | ac2459c2ad8ea952b1b72e0187e36a6c5a43753b | [
"MIT"
] | 81 | 2018-08-06T07:48:40.000Z | 2022-03-31T05:35:06.000Z | emergency/registry/polls/models.py | michaelShriver/colte | ac2459c2ad8ea952b1b72e0187e36a6c5a43753b | [
"MIT"
] | 22 | 2018-03-12T03:36:39.000Z | 2021-12-18T06:27:24.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
# Create your models here.
class Person(models.Model):
name_text = models.CharField(max_length=50)
status = models.IntegerField(default=0)
phone_number = models.CharField(max_length=15)
location = models.CharField(max_len... | 26.642857 | 47 | 0.772118 | 53 | 373 | 5.150943 | 0.679245 | 0.164835 | 0.197802 | 0.263736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027439 | 0.120643 | 373 | 13 | 48 | 28.692308 | 0.804878 | 0.123324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0.111111 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
79f6ccbf465cd982608dbd56b9c78c6a1a0d4f5f | 51 | py | Python | lib/codegen/meta-python/base/__init__.py | Bobo1239/cranelift | aa3c3b0135d9127f53a5e1015b061e212e4c8057 | [
"Apache-2.0"
] | 2 | 2018-09-27T03:39:03.000Z | 2019-04-16T19:56:13.000Z | lib/codegen/meta-python/base/__init__.py | Bobo1239/cranelift | aa3c3b0135d9127f53a5e1015b061e212e4c8057 | [
"Apache-2.0"
] | 1 | 2018-10-11T22:37:33.000Z | 2018-10-12T00:09:02.000Z | lib/codegen/meta-python/base/__init__.py | Bobo1239/cranelift | aa3c3b0135d9127f53a5e1015b061e212e4c8057 | [
"Apache-2.0"
] | null | null | null | """Definitions for the base Cranelift language."""
| 25.5 | 50 | 0.745098 | 6 | 51 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 1 | 51 | 51 | 0.844444 | 0.862745 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
033b160867ae2b655c30a543f36d3697d6ca084a | 2,178 | py | Python | pyforms/terminal/Controls/ControlBase.py | Jess3Jane/pyforms | f34816db018f05c581ede42804771faa39e78824 | [
"MIT"
] | null | null | null | pyforms/terminal/Controls/ControlBase.py | Jess3Jane/pyforms | f34816db018f05c581ede42804771faa39e78824 | [
"MIT"
] | null | null | null | pyforms/terminal/Controls/ControlBase.py | Jess3Jane/pyforms | f34816db018f05c581ede42804771faa39e78824 | [
"MIT"
] | null | null | null | import os, pickle,uuid
class ControlBase(object):
_value = None
_label = None
_controlHTML = ""
def __init__(self, *args, **kwargs):
self._id = uuid.uuid4()
self._value = kwargs.get('default', None)
self._parent = 1
self._label = kwargs.get('label... | 25.325581 | 80 | 0.456841 | 202 | 2,178 | 4.752475 | 0.292079 | 0.1125 | 0.067708 | 0.065625 | 0.054167 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002375 | 0.226814 | 2,178 | 86 | 81 | 25.325581 | 0.567696 | 0.030303 | 0 | 0.113636 | 0 | 0 | 0.010835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.431818 | false | 0.159091 | 0.022727 | 0.136364 | 0.568182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
cee9ce6f35afe46df316f1cac17656c411a000a3 | 155 | py | Python | Python Fundamentals/Data types and Variables/Exercise/Task04.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | 1 | 2022-03-16T10:23:04.000Z | 2022-03-16T10:23:04.000Z | Python Fundamentals/Data types and Variables/Exercise/Task04.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | Python Fundamentals/Data types and Variables/Exercise/Task04.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | n = int(input())
total_sum = 0
for x in range(1, n + 1):
ascii_code = input()
total_sum += ord(ascii_code)
print(f"The sum equals: {total_sum}") | 17.222222 | 37 | 0.625806 | 28 | 155 | 3.285714 | 0.642857 | 0.26087 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 0.212903 | 155 | 9 | 37 | 17.222222 | 0.729508 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ceeaf19e4da9a5ce049c34c5c3203bae0ad3787b | 216 | py | Python | uam/entities/system.py | youyongsong/uam | a579752daa3e68ced97044a0aadef2ab37e387d2 | [
"MIT"
] | null | null | null | uam/entities/system.py | youyongsong/uam | a579752daa3e68ced97044a0aadef2ab37e387d2 | [
"MIT"
] | 86 | 2017-12-01T02:54:15.000Z | 2018-08-09T06:37:27.000Z | uam/entities/system.py | youyongsong/uam | a579752daa3e68ced97044a0aadef2ab37e387d2 | [
"MIT"
] | null | null | null | import re
def complete_shorten_address(address):
shorten_pattern = re.compile(r"^[\w\-_\.]+/[\w\-_\.]+$")
if shorten_pattern.match(address):
return f'git@github.com:{address}.git'
return address | 27 | 60 | 0.657407 | 28 | 216 | 4.857143 | 0.607143 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 216 | 8 | 61 | 27 | 0.747253 | 0 | 0 | 0 | 0 | 0 | 0.235023 | 0.235023 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cefdd4fef23552f88776b17cb33bcdb866fbab2b | 131 | py | Python | rllib/algorithms/mbmpo/__init__.py | kennethlien/ray | 2916c2c3d29f2f7e4bf53872d5ac8c5d866b0e45 | [
"Apache-2.0"
] | 1 | 2019-06-19T02:23:43.000Z | 2019-06-19T02:23:43.000Z | rllib/algorithms/mbmpo/__init__.py | kennethlien/ray | 2916c2c3d29f2f7e4bf53872d5ac8c5d866b0e45 | [
"Apache-2.0"
] | 73 | 2021-09-25T07:11:39.000Z | 2022-03-26T07:10:59.000Z | rllib/algorithms/mbmpo/__init__.py | kennethlien/ray | 2916c2c3d29f2f7e4bf53872d5ac8c5d866b0e45 | [
"Apache-2.0"
] | null | null | null | from ray.rllib.algorithms.mbmpo.mbmpo import MBMPOTrainer, DEFAULT_CONFIG
__all__ = [
"MBMPOTrainer",
"DEFAULT_CONFIG",
]
| 18.714286 | 73 | 0.740458 | 14 | 131 | 6.5 | 0.714286 | 0.417582 | 0.549451 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 6 | 74 | 21.833333 | 0.81982 | 0 | 0 | 0 | 0 | 0 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3004aa7d9d2d24b7da8e6f6d0e4b5f5558675714 | 30 | py | Python | hardware-testing/tests/gravimetric_test/__init__.py | Opentrons/protocol_framework | ebbd6b2fe984edd6ecfcbf1dbe040db7f7356b9f | [
"Apache-2.0"
] | null | null | null | hardware-testing/tests/gravimetric_test/__init__.py | Opentrons/protocol_framework | ebbd6b2fe984edd6ecfcbf1dbe040db7f7356b9f | [
"Apache-2.0"
] | null | null | null | hardware-testing/tests/gravimetric_test/__init__.py | Opentrons/protocol_framework | ebbd6b2fe984edd6ecfcbf1dbe040db7f7356b9f | [
"Apache-2.0"
] | null | null | null | """Gravimetric test tests."""
| 15 | 29 | 0.666667 | 3 | 30 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.740741 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3018767fdbc96b2ba4ecaf832e4c94ca83d84b5f | 146 | py | Python | VacationPy/api_keys.py | sashatherussian/python-api-challenge | 5ffffd136ff4d7775cb799db7f9ee1dfe2fa0002 | [
"ADSL"
] | null | null | null | VacationPy/api_keys.py | sashatherussian/python-api-challenge | 5ffffd136ff4d7775cb799db7f9ee1dfe2fa0002 | [
"ADSL"
] | null | null | null | VacationPy/api_keys.py | sashatherussian/python-api-challenge | 5ffffd136ff4d7775cb799db7f9ee1dfe2fa0002 | [
"ADSL"
] | null | null | null | # OpenWeatherMap API Key
weather_api_key = "68524e14c88fa47aab3ac62f9461f6d5"
# Google API Key
g_key = "AIzaSyAMvlEJHc05Plk9V6VOFt-ezMHPgo6BZSo"
| 24.333333 | 52 | 0.835616 | 14 | 146 | 8.5 | 0.642857 | 0.151261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19084 | 0.10274 | 146 | 5 | 53 | 29.2 | 0.717557 | 0.253425 | 0 | 0 | 0 | 0 | 0.669811 | 0.669811 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.