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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a9023de7d582d01efc931308bf31016fe016fca | 426 | py | Python | libs/python-axolotl/axolotl/ecc/ec.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 4 | 2018-12-14T20:42:52.000Z | 2022-02-15T07:52:44.000Z | libs/python-axolotl/axolotl/ecc/ec.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 1 | 2019-09-19T00:46:55.000Z | 2019-09-19T00:46:55.000Z | libs/python-axolotl/axolotl/ecc/ec.py | akshitpradhan/TomHack | 837226e7b38de1140c19bc2d478eeb9e379ed1fd | [
"MIT"
] | 2 | 2019-01-16T04:02:34.000Z | 2020-02-26T20:46:19.000Z | # -*- coding: utf-8 -*-
import abc
class ECPublicKey(object):
__metaclass__ = abc.ABCMeta
KEY_SIZE = 33
@abc.abstractmethod
def serialize(self):
pass
@abc.abstractmethod
def getType(self):
pass
class ECPrivateKey(object):
__metaclass__ = abc.ABCMeta
@abc.abstract... | 14.2 | 31 | 0.619718 | 44 | 426 | 5.795455 | 0.454545 | 0.266667 | 0.313725 | 0.196078 | 0.564706 | 0.564706 | 0.564706 | 0.564706 | 0.564706 | 0.564706 | 0 | 0.009868 | 0.286385 | 426 | 29 | 32 | 14.689655 | 0.828947 | 0.049296 | 0 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.055556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
43c4ae1db638fd6d1079268f71ba0d004965fd06 | 2,504 | py | Python | tests/unit_tests/test_tethys_cli/test_uninstall_command.py | msouff/tethys | 45795d1e6561d5db8fddd838f4d1ae1d91dbb837 | [
"BSD-2-Clause"
] | 79 | 2015-10-05T13:13:28.000Z | 2022-02-01T12:30:33.000Z | tests/unit_tests/test_tethys_cli/test_uninstall_command.py | msouff/tethys | 45795d1e6561d5db8fddd838f4d1ae1d91dbb837 | [
"BSD-2-Clause"
] | 542 | 2015-08-12T22:11:32.000Z | 2022-03-29T22:18:08.000Z | tests/unit_tests/test_tethys_cli/test_uninstall_command.py | msouff/tethys | 45795d1e6561d5db8fddd838f4d1ae1d91dbb837 | [
"BSD-2-Clause"
] | 71 | 2016-01-16T01:03:41.000Z | 2022-03-31T17:55:54.000Z | import unittest
from unittest import mock
from tethys_cli.uninstall_command import uninstall_command
class UninstallCommandTests(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
@mock.patch('tethys_cli.uninstall_command.subprocess.call')
@mock.patch('tethys_cli.un... | 37.373134 | 94 | 0.721645 | 322 | 2,504 | 5.15528 | 0.149068 | 0.126506 | 0.093976 | 0.092169 | 0.86506 | 0.86506 | 0.86506 | 0.86506 | 0.86506 | 0.86506 | 0 | 0 | 0.186901 | 2,504 | 66 | 95 | 37.939394 | 0.815324 | 0 | 0 | 0.68 | 0 | 0 | 0.188498 | 0.105431 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.1 | false | 0.04 | 0.06 | 0 | 0.18 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
43cfd9cbe37ca3f9284fe47e4f88d6aad4973d68 | 327 | py | Python | core/models/__init__.py | JeremieMelo/L2ight | 67f93b66ddf8bb5a365834b84ed6acdbc4f48eaf | [
"MIT"
] | 7 | 2021-11-02T16:21:47.000Z | 2022-03-09T06:01:25.000Z | core/models/__init__.py | JeremieMelo/L2ight | 67f93b66ddf8bb5a365834b84ed6acdbc4f48eaf | [
"MIT"
] | null | null | null | core/models/__init__.py | JeremieMelo/L2ight | 67f93b66ddf8bb5a365834b84ed6acdbc4f48eaf | [
"MIT"
] | null | null | null | '''
Description:
Author: Jiaqi Gu (jqgu@utexas.edu)
Date: 2021-10-24 16:17:12
LastEditors: Jiaqi Gu (jqgu@utexas.edu)
LastEditTime: 2021-10-24 16:17:12
'''
from .sparse_bp_base import *
from .sparse_bp_mlp import *
from .sparse_bp_cnn import *
from .sparse_bp_vgg import *
from .sparse_bp_resnet import *
from .layers im... | 23.357143 | 39 | 0.755352 | 55 | 327 | 4.309091 | 0.472727 | 0.21097 | 0.253165 | 0.303797 | 0.28692 | 0.118143 | 0 | 0 | 0 | 0 | 0 | 0.097902 | 0.125382 | 327 | 13 | 40 | 25.153846 | 0.730769 | 0.449541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
605e849bc5ba625fb8cb6e54a7b35d281ad9b711 | 23,277 | py | Python | tests/ut/python/dataset/test_random_crop.py | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | tests/ut/python/dataset/test_random_crop.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | tests/ut/python/dataset/test_random_crop.py | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | # Copyright 2019 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 39.319257 | 98 | 0.715814 | 3,221 | 23,277 | 4.861223 | 0.076063 | 0.060672 | 0.054541 | 0.038894 | 0.880061 | 0.852599 | 0.812811 | 0.792119 | 0.774492 | 0.764976 | 0 | 0.030381 | 0.178416 | 23,277 | 591 | 99 | 39.385787 | 0.788381 | 0.176311 | 0 | 0.545205 | 0 | 0 | 0.08643 | 0.044523 | 0 | 0 | 0 | 0 | 0.016438 | 1 | 0.057534 | false | 0 | 0.024658 | 0 | 0.082192 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
60ea03f376138e8813484c59c1dd5b35ec3afbda | 206 | py | Python | immvis/utils/data/exceptions.py | imdavi/ImmVisWebsocketsServerPython | 6eb9e1166e97525ab1f252ef6ff176515f8dbbe8 | [
"MIT"
] | null | null | null | immvis/utils/data/exceptions.py | imdavi/ImmVisWebsocketsServerPython | 6eb9e1166e97525ab1f252ef6ff176515f8dbbe8 | [
"MIT"
] | null | null | null | immvis/utils/data/exceptions.py | imdavi/ImmVisWebsocketsServerPython | 6eb9e1166e97525ab1f252ef6ff176515f8dbbe8 | [
"MIT"
] | null | null | null | class DimensionNotAvailable(Exception):
pass
class DatasetNotAvailable(Exception):
pass
class NoDimensionsAvailableToMapOutliers(Exception):
pass
class UnknownDatasetType(Exception):
pass | 18.727273 | 52 | 0.796117 | 16 | 206 | 10.25 | 0.4375 | 0.317073 | 0.329268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 206 | 11 | 53 | 18.727273 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7166422076d4027b488306adb9f48bc6c2af1ca4 | 111 | py | Python | conf/__init__.py | LuoxinY/gateway | a17ecfafee1e8ace609c3da06a0111b5c266c00e | [
"MIT"
] | null | null | null | conf/__init__.py | LuoxinY/gateway | a17ecfafee1e8ace609c3da06a0111b5c266c00e | [
"MIT"
] | null | null | null | conf/__init__.py | LuoxinY/gateway | a17ecfafee1e8ace609c3da06a0111b5c266c00e | [
"MIT"
] | null | null | null | from .global_variable import VariableManager
from .global_variable import GlobalVariable
s = GlobalVariable()
| 22.2 | 44 | 0.846847 | 12 | 111 | 7.666667 | 0.583333 | 0.217391 | 0.391304 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 111 | 4 | 45 | 27.75 | 0.929293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
71e79fdbf13e30dde0ff131196f8da9227ac120f | 10,694 | py | Python | generated_antlr/typedef_dslLexer.py | jamiepenney/typedef | 1f27c321829400ade7ed4154db6efeb5ef82d925 | [
"MIT"
] | 3 | 2020-12-29T09:00:20.000Z | 2022-01-31T20:49:28.000Z | generated_antlr/typedef_dslLexer.py | jamiepenney/typedef | 1f27c321829400ade7ed4154db6efeb5ef82d925 | [
"MIT"
] | null | null | null | generated_antlr/typedef_dslLexer.py | jamiepenney/typedef | 1f27c321829400ade7ed4154db6efeb5ef82d925 | [
"MIT"
] | 2 | 2020-12-28T20:43:14.000Z | 2022-01-31T20:49:41.000Z | # Generated from ./typedef_dsl.g4 by ANTLR 4.8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\27")
buf.write("\u0104\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t... | 58.119565 | 103 | 0.567234 | 2,447 | 10,694 | 2.4434 | 0.160605 | 0.125439 | 0.078274 | 0.076267 | 0.226292 | 0.159057 | 0.078776 | 0.069577 | 0.066901 | 0.062385 | 0 | 0.300915 | 0.151954 | 10,694 | 183 | 104 | 58.437158 | 0.358364 | 0.004114 | 0 | 0.012121 | 1 | 0.466667 | 0.606425 | 0.528461 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012121 | false | 0 | 0.024242 | 0 | 0.224242 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e081329eab1a7f8a1e56a2f51e885f25db342d16 | 22,420 | py | Python | sdk/python/pulumi_openstack/vpnaas/site_connection.py | ederst/pulumi-openstack | e11af3f9ade3bc0de8b3feb9db5a9e86ad5ba989 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_openstack/vpnaas/site_connection.py | ederst/pulumi-openstack | e11af3f9ade3bc0de8b3feb9db5a9e86ad5ba989 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-03-11T09:01:32.000Z | 2021-03-11T09:01:32.000Z | sdk/python/pulumi_openstack/vpnaas/site_connection.py | ederst/pulumi-openstack | e11af3f9ade3bc0de8b3feb9db5a9e86ad5ba989 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilitie... | 52.261072 | 193 | 0.656512 | 2,852 | 22,420 | 4.979663 | 0.100982 | 0.06661 | 0.061118 | 0.038023 | 0.794325 | 0.759118 | 0.745247 | 0.739262 | 0.723419 | 0.709196 | 0 | 0.00506 | 0.259545 | 22,420 | 428 | 194 | 52.383178 | 0.850431 | 0.484344 | 0 | 0.312796 | 1 | 0 | 0.12763 | 0.011111 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109005 | false | 0.004739 | 0.033175 | 0.009479 | 0.251185 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e083054899d509336dd18e1bd140bdaf6209f853 | 2,803 | py | Python | app/views/member.py | lochuan/conos | 451808ccaf1b7a83b5249bc9ca8305a32e5bfc5f | [
"MIT"
] | null | null | null | app/views/member.py | lochuan/conos | 451808ccaf1b7a83b5249bc9ca8305a32e5bfc5f | [
"MIT"
] | null | null | null | app/views/member.py | lochuan/conos | 451808ccaf1b7a83b5249bc9ca8305a32e5bfc5f | [
"MIT"
] | null | null | null | from .. import app, db, auth, jwt_lt
from ..models import Board, User
from flask import request, jsonify, make_response, g, Blueprint
member = Blueprint('member', __name__)
@member.route('/', methods=['POST'])
@auth.login_required
def add_member():
g.board = None
repa = ('board_id', 'user_email')
if not request.js... | 30.139785 | 83 | 0.660364 | 390 | 2,803 | 4.633333 | 0.212821 | 0.039845 | 0.054787 | 0.084671 | 0.803542 | 0.803542 | 0.789153 | 0.75927 | 0.75927 | 0.649696 | 0 | 0.011683 | 0.175526 | 2,803 | 93 | 84 | 30.139785 | 0.770229 | 0 | 0 | 0.640449 | 0 | 0 | 0.193652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022472 | false | 0 | 0.033708 | 0 | 0.157303 | 0.022472 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e0a93a1dfc042cc619c3103ab207751f07bb612b | 105 | py | Python | src/datadog_export/click_argument_types/__init__.py | binxio/datadog-exporter | 3f0cc6c0bed2c5361a336a4899ee2823526c798a | [
"Apache-2.0"
] | 1 | 2020-03-17T18:40:23.000Z | 2020-03-17T18:40:23.000Z | src/datadog_export/click_argument_types/__init__.py | binxio/datadog-exporter | 3f0cc6c0bed2c5361a336a4899ee2823526c798a | [
"Apache-2.0"
] | 2 | 2021-02-02T22:39:21.000Z | 2021-06-02T01:16:11.000Z | src/datadog_export/click_argument_types/__init__.py | binxio/datadog-exporter | 3f0cc6c0bed2c5361a336a4899ee2823526c798a | [
"Apache-2.0"
] | null | null | null | from .click_duration import Duration
from .click_datetime import DateTime
from .click_regex import RegEx
| 26.25 | 36 | 0.857143 | 15 | 105 | 5.8 | 0.4 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 105 | 3 | 37 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e0fcf386d866f038c5a0b338df364a3fc63fb09d | 105 | py | Python | feeder_utilities/exceptions.py | LandRegistry/feeder-utilities | 580f2ba09a8aa62c52103e46c4c105210c05fcbb | [
"MIT"
] | null | null | null | feeder_utilities/exceptions.py | LandRegistry/feeder-utilities | 580f2ba09a8aa62c52103e46c4c105210c05fcbb | [
"MIT"
] | null | null | null | feeder_utilities/exceptions.py | LandRegistry/feeder-utilities | 580f2ba09a8aa62c52103e46c4c105210c05fcbb | [
"MIT"
] | 1 | 2021-04-11T05:25:09.000Z | 2021-04-11T05:25:09.000Z |
class RpcMessageProcessingException(Exception):
pass
class RegisterException(Exception):
pass
| 13.125 | 47 | 0.780952 | 8 | 105 | 10.25 | 0.625 | 0.317073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161905 | 105 | 7 | 48 | 15 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
4619c2a00209614d5062a4fc075c1509a99cb53b | 22 | py | Python | module/clustering/__init__.py | fightingnoble/Robust-ReRAM-NN | 22d14386a5298c7a9dd3dce894363c30896abd19 | [
"MIT"
] | null | null | null | module/clustering/__init__.py | fightingnoble/Robust-ReRAM-NN | 22d14386a5298c7a9dd3dce894363c30896abd19 | [
"MIT"
] | null | null | null | module/clustering/__init__.py | fightingnoble/Robust-ReRAM-NN | 22d14386a5298c7a9dd3dce894363c30896abd19 | [
"MIT"
] | null | null | null | from . import clq_new
| 11 | 21 | 0.772727 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1ce972df92c03e419169b66b706add4a51accb79 | 41 | py | Python | utils/kafka/__init__.py | jvsn19/tcc | 8ca9434deb50903ef23e712a079ed159dd7c28b6 | [
"MIT"
] | null | null | null | utils/kafka/__init__.py | jvsn19/tcc | 8ca9434deb50903ef23e712a079ed159dd7c28b6 | [
"MIT"
] | 1 | 2021-02-25T22:37:49.000Z | 2021-02-25T22:37:49.000Z | utils/kafka/__init__.py | jvsn19/tcc | 8ca9434deb50903ef23e712a079ed159dd7c28b6 | [
"MIT"
] | null | null | null | from .KafkaProducer import KafkaProducer
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1cec0055d523b1fb968642d42795a4dcef74db77 | 6,162 | py | Python | dqo/relational/tests/test_tree_optimzations.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/relational/tests/test_tree_optimzations.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | dqo/relational/tests/test_tree_optimzations.py | danield137/deep_query_optimzation | 01a25c966338007f15d14dea1b37e388e47bcfe3 | [
"MIT"
] | null | null | null | from dqo.relational.tree import parser, RelationalTree, merge_selections_
from dqo.relational.tree.node import ProjectionNode, SelectionNode, RelationNode, AliasNode, JoinNode, Operand
from dqo.relational.tree.testing import assert_equal, EqualityMode
def test_tree_subselect_push_down_selection():
query = """
... | 30.964824 | 110 | 0.483447 | 520 | 6,162 | 5.623077 | 0.15 | 0.107729 | 0.148769 | 0.210328 | 0.727086 | 0.727086 | 0.714774 | 0.706908 | 0.706908 | 0.660739 | 0 | 0.012113 | 0.397111 | 6,162 | 198 | 111 | 31.121212 | 0.774966 | 0 | 0 | 0.654971 | 0 | 0.011696 | 0.163746 | 0 | 0 | 0 | 0 | 0 | 0.040936 | 1 | 0.02924 | false | 0 | 0.017544 | 0 | 0.046784 | 0.040936 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e83654f74bd62fd96acb9fac26451dafb129536f | 36 | py | Python | widgets/SelectUnits/__init__.py | flatironinstitute/ephys-viz | 8da5f334e5b0cea41ad746872ef82ef858348fdf | [
"Apache-2.0"
] | 6 | 2019-10-23T03:11:53.000Z | 2021-09-23T01:08:49.000Z | widgets/SelectUnits/__init__.py | flatironinstitute/ephys-viz | 8da5f334e5b0cea41ad746872ef82ef858348fdf | [
"Apache-2.0"
] | 13 | 2018-05-16T19:08:39.000Z | 2019-12-31T04:40:32.000Z | widgets/SelectUnits/__init__.py | flatironinstitute/ephys-viz | 8da5f334e5b0cea41ad746872ef82ef858348fdf | [
"Apache-2.0"
] | 7 | 2018-05-08T15:32:12.000Z | 2021-09-23T01:08:50.000Z | from .SelectUnits import SelectUnits | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1c2dec8c24007e60bf500f4a92983eb7e68a347f | 262 | py | Python | charactertype.py | pawankumarsharm/Pythoncoding | f0e5f6c1d22b101e109088529640326dd5405a6a | [
"bzip2-1.0.6"
] | null | null | null | charactertype.py | pawankumarsharm/Pythoncoding | f0e5f6c1d22b101e109088529640326dd5405a6a | [
"bzip2-1.0.6"
] | null | null | null | charactertype.py | pawankumarsharm/Pythoncoding | f0e5f6c1d22b101e109088529640326dd5405a6a | [
"bzip2-1.0.6"
] | null | null | null | print('Durga786'.isalnum()) #True
print('durga786'.isalpha())#False
print('durga'.isalpha()) #True
print('durga'.islower()) #True
print('durga'.isupper()) #False
print('Durga Software Solutions'.istitle()) #True
print('Durga Software Solutions'.isspace()) #True
| 32.75 | 49 | 0.721374 | 32 | 262 | 5.90625 | 0.40625 | 0.26455 | 0.222222 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02449 | 0.064886 | 262 | 7 | 50 | 37.428571 | 0.746939 | 0.114504 | 0 | 0 | 0 | 0 | 0.351111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
1c38751248735d1b99301b3fdab6685abfcc16e0 | 15,654 | py | Python | experimental/language_structure/psl/psl_model_multiwoz_test.py | jaeikjeon9919/uncertainty-baselines | 15aad70bb585452d84c0afa74208338f5db5f70e | [
"Apache-2.0"
] | null | null | null | experimental/language_structure/psl/psl_model_multiwoz_test.py | jaeikjeon9919/uncertainty-baselines | 15aad70bb585452d84c0afa74208338f5db5f70e | [
"Apache-2.0"
] | null | null | null | experimental/language_structure/psl/psl_model_multiwoz_test.py | jaeikjeon9919/uncertainty-baselines | 15aad70bb585452d84c0afa74208338f5db5f70e | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2021 The Uncertainty Baselines Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | 41.855615 | 110 | 0.654401 | 1,951 | 15,654 | 4.951307 | 0.094823 | 0.112836 | 0.026915 | 0.027536 | 0.850828 | 0.818012 | 0.808696 | 0.773706 | 0.735197 | 0.735197 | 0 | 0.016142 | 0.232273 | 15,654 | 373 | 111 | 41.967828 | 0.787652 | 0.055194 | 0 | 0.674419 | 0 | 0 | 0.099621 | 0 | 0 | 0 | 0 | 0 | 0.083056 | 1 | 0.069767 | false | 0 | 0.016611 | 0 | 0.096346 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
1c64b101ae1252ea7d080eb1f5036450a228b780 | 48 | py | Python | tests/lif/eq_input_input.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | null | null | null | tests/lif/eq_input_input.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 1 | 2022-03-20T11:08:45.000Z | 2022-03-20T11:08:45.000Z | tests/lif/eq_input_input.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 6 | 2022-03-13T13:10:25.000Z | 2022-03-28T22:18:12.000Z | print(input_int() if 0 == input_int() else 777)
| 24 | 47 | 0.6875 | 9 | 48 | 3.444444 | 0.777778 | 0.516129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0.145833 | 48 | 1 | 48 | 48 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
1c85c6ebd641b6e536a284effb0a1858d1e0a504 | 207 | py | Python | examples/docs_snippets/docs_snippets_tests/overview_tests/io_manager_tests/test_subselection.py | chasleslr/dagster | 88907f9473fb8e7a9b1af9a0a8b349d42f4b8153 | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets/docs_snippets_tests/overview_tests/io_manager_tests/test_subselection.py | chasleslr/dagster | 88907f9473fb8e7a9b1af9a0a8b349d42f4b8153 | [
"Apache-2.0"
] | null | null | null | examples/docs_snippets/docs_snippets_tests/overview_tests/io_manager_tests/test_subselection.py | chasleslr/dagster | 88907f9473fb8e7a9b1af9a0a8b349d42f4b8153 | [
"Apache-2.0"
] | null | null | null | from docs_snippets.overview.io_managers.subselection import execute_full, execute_subselection
def test_execute_pipeline():
execute_full()
def test_execute_subselection():
execute_subselection()
| 20.7 | 94 | 0.821256 | 24 | 207 | 6.666667 | 0.541667 | 0.35625 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 207 | 9 | 95 | 23 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
1c93138c2c4b9c8223b5fb7accb4af8705bba6d0 | 38 | py | Python | src/__init__.py | davidjurgens/support | dd3c676a063998dd883abaab19afd23adb121895 | [
"MIT"
] | 4 | 2019-09-13T10:08:36.000Z | 2021-03-07T15:53:50.000Z | src/__init__.py | davidjurgens/support | dd3c676a063998dd883abaab19afd23adb121895 | [
"MIT"
] | 1 | 2020-04-21T14:02:57.000Z | 2020-04-21T14:02:57.000Z | src/__init__.py | davidjurgens/support | dd3c676a063998dd883abaab19afd23adb121895 | [
"MIT"
] | null | null | null | # TODO: make this a stand-alone class
| 19 | 37 | 0.736842 | 7 | 38 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 1 | 38 | 38 | 0.903226 | 0.921053 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 1 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
98e93ec88f6f25027404631714d8e67234b485cf | 6,516 | py | Python | test/test_stochastic.py | kguerda-idris/POT | 14c30d4cfac060ff0bf8c64d4c88c77df32aad86 | [
"MIT"
] | 1 | 2021-09-08T12:55:24.000Z | 2021-09-08T12:55:24.000Z | test/test_stochastic.py | kguerda-idris/POT | 14c30d4cfac060ff0bf8c64d4c88c77df32aad86 | [
"MIT"
] | null | null | null | test/test_stochastic.py | kguerda-idris/POT | 14c30d4cfac060ff0bf8c64d4c88c77df32aad86 | [
"MIT"
] | null | null | null | """
==========================
Stochastic test
==========================
This example is designed to test the stochatic optimization algorithms module
for descrete and semicontinous measures from the POT library.
"""
# Author: Kilian Fatras <kilian.fatras@gmail.com>
#
# License: MIT License
import numpy as np
impo... | 30.166667 | 84 | 0.525476 | 831 | 6,516 | 3.997593 | 0.146811 | 0.048766 | 0.081276 | 0.124624 | 0.831427 | 0.816075 | 0.779952 | 0.723058 | 0.704997 | 0.686033 | 0 | 0.030388 | 0.232351 | 6,516 | 215 | 85 | 30.306977 | 0.633747 | 0.278852 | 0 | 0.59434 | 0 | 0 | 0.00355 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0.04717 | false | 0 | 0.018868 | 0 | 0.066038 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c7185091eceb3bba0792fef8bace6497c8741f66 | 3,756 | py | Python | tests/functional/test_stories.py | jounile/nollanet | 7bea20934d3f5e09658a9d31c3b05c15416398a0 | [
"MIT"
] | 3 | 2019-10-13T08:37:13.000Z | 2020-02-16T12:24:11.000Z | tests/functional/test_stories.py | jounile/nollanet | 7bea20934d3f5e09658a9d31c3b05c15416398a0 | [
"MIT"
] | 5 | 2019-11-13T15:56:52.000Z | 2021-04-30T20:58:19.000Z | tests/functional/test_stories.py | jounile/nollanet | 7bea20934d3f5e09658a9d31c3b05c15416398a0 | [
"MIT"
] | 1 | 2020-04-08T21:09:52.000Z | 2020-04-08T21:09:52.000Z | import pytest
from requests import get
from urllib.parse import urljoin
def test_new_story_page(wait_for_api, login_user):
"""
GIVEN a user has logged in (login_user)
WHEN the '/stories/newstory' page is navigated to (GET)
THEN check the response is valid and page title is correct
"""
request_s... | 49.421053 | 173 | 0.738818 | 573 | 3,756 | 4.616056 | 0.136126 | 0.036295 | 0.045369 | 0.034026 | 0.932325 | 0.929301 | 0.903214 | 0.855577 | 0.841966 | 0.841966 | 0 | 0.011761 | 0.162407 | 3,756 | 75 | 174 | 50.08 | 0.828989 | 0.261182 | 0 | 0.432432 | 0 | 0 | 0.176917 | 0 | 0 | 0 | 0 | 0 | 0.324324 | 1 | 0.162162 | false | 0 | 0.081081 | 0 | 0.243243 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c768cd7e231d4720d3a5a397e84edca38c7bd1ad | 49 | py | Python | 13. Modules - Lab/math_operations/__init__.py | elenaborisova/Python-Advanced | 4c266d81f294372c3599741e8ba53f59fdc834c5 | [
"MIT"
] | 2 | 2021-04-04T06:26:13.000Z | 2022-02-18T22:21:49.000Z | 13. Modules - Lab/math_operations/__init__.py | elenaborisova/Python-Advanced | 4c266d81f294372c3599741e8ba53f59fdc834c5 | [
"MIT"
] | null | null | null | 13. Modules - Lab/math_operations/__init__.py | elenaborisova/Python-Advanced | 4c266d81f294372c3599741e8ba53f59fdc834c5 | [
"MIT"
] | 3 | 2021-02-01T12:32:03.000Z | 2021-04-12T13:45:20.000Z | from math_operations.operations import calculate
| 24.5 | 48 | 0.897959 | 6 | 49 | 7.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1bec03859061da7b021b0529ae27a93409a73584 | 326,555 | py | Python | Chess_v0_9_drag_piece.py | FizzyKing6002/chess-project | 5721ef9acb4b318a4bf3a04f30da7f579d947ce1 | [
"MIT"
] | null | null | null | Chess_v0_9_drag_piece.py | FizzyKing6002/chess-project | 5721ef9acb4b318a4bf3a04f30da7f579d947ce1 | [
"MIT"
] | null | null | null | Chess_v0_9_drag_piece.py | FizzyKing6002/chess-project | 5721ef9acb4b318a4bf3a04f30da7f579d947ce1 | [
"MIT"
] | null | null | null | import multiprocessing
import threading
import pygame
from pygame.locals import *
import os
import os.path
import random
import time
from tkinter import Tk
import math
from copy import deepcopy
import numpy
class Board():
def __init__(self):
self.dark_square = pygame.image.load(os.path.j... | 40.17655 | 789 | 0.461588 | 40,618 | 326,555 | 3.442489 | 0.007657 | 0.0345 | 0.028721 | 0.023336 | 0.949252 | 0.925823 | 0.901335 | 0.874288 | 0.851095 | 0.828638 | 0 | 0.038163 | 0.428522 | 326,555 | 8,127 | 790 | 40.181494 | 0.711101 | 0.002594 | 0 | 0.677745 | 0 | 0.000898 | 0.023246 | 0.003262 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009207 | false | 0.006512 | 0.002695 | 0 | 0.021783 | 0.00786 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
401be4a2696558502c73d0b9e6136299d654c2fc | 122 | py | Python | Storage/q_pack/q_credentials/oanda_cred.py | Bandit253/Microservices-Based-Algorithmic-Trading-System | 1a8851e4d0cba68e93f3c948278f30bb0b6a9bff | [
"BSD-3-Clause"
] | null | null | null | Storage/q_pack/q_credentials/oanda_cred.py | Bandit253/Microservices-Based-Algorithmic-Trading-System | 1a8851e4d0cba68e93f3c948278f30bb0b6a9bff | [
"BSD-3-Clause"
] | null | null | null | Storage/q_pack/q_credentials/oanda_cred.py | Bandit253/Microservices-Based-Algorithmic-Trading-System | 1a8851e4d0cba68e93f3c948278f30bb0b6a9bff | [
"BSD-3-Clause"
] | null | null | null | acc_id_practice="101-011-17589329-001"
token_practice="04f20c1b200078288a00de2fb12fb105-4522b8d3c9937fde2321a294937b9fc9"
| 40.666667 | 82 | 0.901639 | 11 | 122 | 9.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.508333 | 0.016393 | 122 | 2 | 83 | 61 | 0.383333 | 0 | 0 | 0 | 0 | 0 | 0.696721 | 0.532787 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
404cb897f2780297e575978a6f345449659e1664 | 533 | py | Python | mh_app/views.py | zncombs/mh_app | a3a7b14442c9dca361224dbd55a6befc1f42b638 | [
"MIT"
] | null | null | null | mh_app/views.py | zncombs/mh_app | a3a7b14442c9dca361224dbd55a6befc1f42b638 | [
"MIT"
] | null | null | null | mh_app/views.py | zncombs/mh_app | a3a7b14442c9dca361224dbd55a6befc1f42b638 | [
"MIT"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def index(request):
return render(request,"mh_app/index.html")
def blog(request):
return render(request,"mh_app/blog.html")
def dashboard(request):
return render(request,"mh_app/dashboard.html")
def signin(request):
r... | 18.37931 | 63 | 0.682927 | 69 | 533 | 5.188406 | 0.304348 | 0.217877 | 0.318436 | 0.435754 | 0.519553 | 0.519553 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198874 | 533 | 28 | 64 | 19.035714 | 0.838407 | 0.043152 | 0 | 0 | 0 | 0 | 0.220907 | 0.08284 | 0 | 0 | 0 | 0 | 0 | 1 | 0.461538 | false | 0 | 0.076923 | 0.461538 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
405c80b4f6fe687e78ca5c8bb3dcdba9ab01d868 | 48 | py | Python | assignments/nndl-exercise/chap14_reinforcement_learning/reversi/__init__.py | Cannizza-zzk/DL_review | 3a329742c4d90727ba341508afec0b4fb0123d5d | [
"Apache-2.0"
] | 1 | 2018-01-19T14:36:00.000Z | 2018-01-19T14:36:00.000Z | reversi/__init__.py | Gosicfly/Reversi_PolicyGradient | 57b8e69f17d71ae28a9df9d30bd3e6a09430fa2f | [
"MIT"
] | null | null | null | reversi/__init__.py | Gosicfly/Reversi_PolicyGradient | 57b8e69f17d71ae28a9df9d30bd3e6a09430fa2f | [
"MIT"
] | null | null | null | from gym.envs.reversi.reversi import ReversiEnv
| 24 | 47 | 0.854167 | 7 | 48 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 1 | 48 | 48 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
409f43ee78fb0ac1c17c45480bf137fa2e17dd8a | 30 | py | Python | sumo/__init__.py | Jeanselme/SuMo-net | b1cd45aef8537e14c31777e6f450e75ed2622fc7 | [
"MIT"
] | null | null | null | sumo/__init__.py | Jeanselme/SuMo-net | b1cd45aef8537e14c31777e6f450e75ed2622fc7 | [
"MIT"
] | null | null | null | sumo/__init__.py | Jeanselme/SuMo-net | b1cd45aef8537e14c31777e6f450e75ed2622fc7 | [
"MIT"
] | null | null | null | from sumo.sumo_api import SuMo | 30 | 30 | 0.866667 | 6 | 30 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
40ab4e28f7e4ce06d59e4f5e475b505f489b37cb | 2,216 | py | Python | data_generator.py | beerzyp/ECAC-Chain-Fusion | e630bbc43620f62de3e6199d7eae40a1b1d4615e | [
"MIT"
] | 2 | 2020-06-04T01:27:53.000Z | 2020-12-25T15:56:20.000Z | data_generator.py | beerzyp/ECAC-Bimodal_audiovisual_recognition | e630bbc43620f62de3e6199d7eae40a1b1d4615e | [
"MIT"
] | 2 | 2020-09-25T21:28:39.000Z | 2021-08-25T15:55:37.000Z | data_generator.py | beerzyp/ECAC-Chain-Fusion | e630bbc43620f62de3e6199d7eae40a1b1d4615e | [
"MIT"
] | null | null | null | import numpy as np
import keras
from keras.preprocessing.image import load_img, img_to_array
class MultimodalDataGenerator(keras.utils.Sequence) :
def __init__(self, images, tabular, labels, batch_size, target_size, directory) :
self.images = images
self.tabular = tabular
self.labels = labe... | 38.877193 | 116 | 0.662455 | 300 | 2,216 | 4.616667 | 0.15 | 0.14296 | 0.168953 | 0.090975 | 0.876534 | 0.876534 | 0.876534 | 0.876534 | 0.815884 | 0.815884 | 0 | 0.005269 | 0.229242 | 2,216 | 57 | 117 | 38.877193 | 0.805621 | 0 | 0 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139535 | false | 0 | 0.069767 | 0.046512 | 0.348837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40ddf35840cb183452d3aa3d65946da69aeba3a6 | 8,651 | py | Python | sensorAtlas/urls.py | iosefa/pyMatau | 7b3f768db578771ba55a912bc4a9b8be58619070 | [
"MIT"
] | 2 | 2021-05-28T10:26:17.000Z | 2021-07-03T03:11:22.000Z | sensorAtlas/urls.py | iosefa/pyMatau | 7b3f768db578771ba55a912bc4a9b8be58619070 | [
"MIT"
] | 2 | 2020-11-19T00:51:19.000Z | 2020-11-19T01:18:03.000Z | sensorAtlas/urls.py | sensoratlas/sensoratlas | 7b3f768db578771ba55a912bc4a9b8be58619070 | [
"MIT"
] | 1 | 2019-10-10T14:03:42.000Z | 2019-10-10T14:03:42.000Z | from django.urls import re_path, include
from sensorAtlas.router import Router
from .routers import LocationRouter
from .routers import ThingRouter
from .routers import DatastreamRouter
from .routers import HistoricalLocationRouter
from .routers import SensorRouter
from .routers import ObservedPropertyRouter
from .rout... | 41.591346 | 71 | 0.48399 | 732 | 8,651 | 5.463115 | 0.057377 | 0.076519 | 0.087522 | 0.100025 | 0.902226 | 0.902226 | 0.902226 | 0.902226 | 0.895974 | 0.895974 | 0 | 0.019227 | 0.398798 | 8,651 | 207 | 72 | 41.792271 | 0.749664 | 0 | 0 | 0.697561 | 0 | 0 | 0.121373 | 0.121373 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04878 | 0 | 0.04878 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
40deebce1864382149f56cb9fd4b7b80a2bc6fc3 | 441 | py | Python | datahub/dnb_api/tasks/__init__.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 6 | 2019-12-02T16:11:24.000Z | 2022-03-18T10:02:02.000Z | datahub/dnb_api/tasks/__init__.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 1,696 | 2019-10-31T14:08:37.000Z | 2022-03-29T12:35:57.000Z | datahub/dnb_api/tasks/__init__.py | Staberinde/data-hub-api | 3d0467dbceaf62a47158eea412a3dba827073300 | [
"MIT"
] | 9 | 2019-11-22T12:42:03.000Z | 2021-09-03T14:25:05.000Z | from datahub.dnb_api.tasks.sync import (
sync_company_with_dnb,
sync_company_with_dnb_rate_limited,
sync_outdated_companies_with_dnb,
)
from datahub.dnb_api.tasks.update import (
get_company_updates,
update_company_from_dnb_data,
)
__all__ = [
'sync_company_with_dnb',
'sync_company_with_dnb... | 24.5 | 42 | 0.777778 | 61 | 441 | 4.934426 | 0.295082 | 0.139535 | 0.199336 | 0.239203 | 0.916944 | 0.770764 | 0.770764 | 0.770764 | 0.498339 | 0.498339 | 0 | 0 | 0.147392 | 441 | 17 | 43 | 25.941176 | 0.800532 | 0 | 0 | 0 | 0 | 0 | 0.303855 | 0.260771 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 6 |
dc007f1cce6dce5c405c891168b0432890c9fff1 | 197 | py | Python | travello/admin.py | ksopan/Django_Travel_Agency | 22749a9b4bd5944bf9f002c653f45210f6fc392b | [
"MIT"
] | null | null | null | travello/admin.py | ksopan/Django_Travel_Agency | 22749a9b4bd5944bf9f002c653f45210f6fc392b | [
"MIT"
] | null | null | null | travello/admin.py | ksopan/Django_Travel_Agency | 22749a9b4bd5944bf9f002c653f45210f6fc392b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Destination
from .models import Detailed_desc
# Register your models here.
admin.site.register(Destination)
admin.site.register(Detailed_desc) | 24.625 | 34 | 0.832487 | 27 | 197 | 6 | 0.481481 | 0.123457 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101523 | 197 | 8 | 34 | 24.625 | 0.915254 | 0.13198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
dc0c5ed0fa0d4e564d4e6ac9f708e23e976d9aa4 | 112 | py | Python | quantbob/utils.py | AxlAlm/QuantBob | ff00cbe866478040365d8fa075bf51e1c9c2e906 | [
"MIT"
] | null | null | null | quantbob/utils.py | AxlAlm/QuantBob | ff00cbe866478040365d8fa075bf51e1c9c2e906 | [
"MIT"
] | null | null | null | quantbob/utils.py | AxlAlm/QuantBob | ff00cbe866478040365d8fa075bf51e1c9c2e906 | [
"MIT"
] | null | null | null |
import hashlib
def dict2uid(input_dict:dict) -> str:
hashlib.sha256(str(input_dict).encode()).hexdigest() | 18.666667 | 56 | 0.732143 | 15 | 112 | 5.333333 | 0.666667 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.116071 | 112 | 6 | 56 | 18.666667 | 0.767677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9056e8dc2b622496d80aa17eda876c7ba5d438d2 | 80 | py | Python | es2json/__init__.py | slub/es2json | be22a193c615043693d580ff73f89adf4c0fe8f1 | [
"Apache-2.0"
] | null | null | null | es2json/__init__.py | slub/es2json | be22a193c615043693d580ff73f89adf4c0fe8f1 | [
"Apache-2.0"
] | 1 | 2020-12-08T09:51:42.000Z | 2020-12-08T09:51:42.000Z | es2json/__init__.py | slub/es2json | be22a193c615043693d580ff73f89adf4c0fe8f1 | [
"Apache-2.0"
] | null | null | null | from .es2json import *
from .helperscripts import *
from .oldapi_calls import *
| 20 | 28 | 0.775 | 10 | 80 | 6.1 | 0.6 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.15 | 80 | 3 | 29 | 26.666667 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
90a2e9e3504d67d29da916bba6cf6e3cb40d1fc5 | 121 | py | Python | DataPreprocessing/_text_cleaners/__init__.py | vd1371/CBSA | f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47 | [
"MIT"
] | null | null | null | DataPreprocessing/_text_cleaners/__init__.py | vd1371/CBSA | f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47 | [
"MIT"
] | null | null | null | DataPreprocessing/_text_cleaners/__init__.py | vd1371/CBSA | f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47 | [
"MIT"
] | null | null | null | from .remove_space_from_all_samples import remove_space_from_all_samples
from .remove_stop_words import remove_stop_words | 60.5 | 72 | 0.92562 | 20 | 121 | 5 | 0.4 | 0.2 | 0.3 | 0.36 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057851 | 121 | 2 | 73 | 60.5 | 0.877193 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
90cd8e19b25302918d6688282f97f26c437170e8 | 13,654 | py | Python | qcdb/tests/old_tests/oldtest_lateral_mp2_grad.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 8 | 2019-03-28T11:54:59.000Z | 2022-03-19T03:31:37.000Z | qcdb/tests/old_tests/oldtest_lateral_mp2_grad.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 39 | 2018-10-31T23:02:18.000Z | 2021-12-12T22:11:37.000Z | qcdb/tests/old_tests/oldtest_lateral_mp2_grad.py | loriab/qccddb | d9e156ef8b313ac0633211fc6b841f84a3ddde24 | [
"BSD-3-Clause"
] | 9 | 2018-03-12T20:51:50.000Z | 2022-02-28T15:18:34.000Z | import os
import sys
import numpy as np
import pytest
import qcengine as qcng
import qcdb
from .addons import *
from .utils import *
@pytest.fixture
def h2o():
return """
O
H 1 R
H 1 R 2 A
R=0.958
A=104.5
symmetry c1
"""
@pytest.fixture
def nh2():
return """
0 2
N
H 1 ... | 43.623003 | 219 | 0.635491 | 1,916 | 13,654 | 4.335073 | 0.086117 | 0.06417 | 0.080063 | 0.061401 | 0.944739 | 0.941127 | 0.900433 | 0.893932 | 0.893932 | 0.869372 | 0 | 0.089516 | 0.187564 | 13,654 | 312 | 220 | 43.762821 | 0.659245 | 0.358503 | 0 | 0.405229 | 0 | 0 | 0.26186 | 0.009815 | 0 | 0 | 0 | 0.00641 | 0.052288 | 1 | 0.065359 | false | 0 | 0.052288 | 0.013072 | 0.130719 | 0.039216 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
90cf0454e5a0cc50ad6cfbd12cf84c6d9da18071 | 3,313 | py | Python | python-package/zen_publish/__init__.py | Zen-Reportz/ZenPublish | 6e3587fecfbe436e03b410c83d2e7e385d8c8877 | [
"Apache-2.0"
] | null | null | null | python-package/zen_publish/__init__.py | Zen-Reportz/ZenPublish | 6e3587fecfbe436e03b410c83d2e7e385d8c8877 | [
"Apache-2.0"
] | null | null | null | python-package/zen_publish/__init__.py | Zen-Reportz/ZenPublish | 6e3587fecfbe436e03b410c83d2e7e385d8c8877 | [
"Apache-2.0"
] | null | null | null | import click
import os
from zen_publish.support import cred
from zen_publish.core import publish as my_publish
from zen_publish.core import worker
@click.group()
def cli():
pass
@click.command()
@click.option('--key', prompt='what is your key?', help='What is your access key?')
@click.option('--secret', prompt... | 38.08046 | 131 | 0.71476 | 509 | 3,313 | 4.585462 | 0.121807 | 0.113111 | 0.051414 | 0.051842 | 0.814482 | 0.770351 | 0.766067 | 0.754927 | 0.689803 | 0.663668 | 0 | 0 | 0.115907 | 3,313 | 86 | 132 | 38.523256 | 0.796859 | 0 | 0 | 0.390625 | 0 | 0 | 0.333836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.140625 | false | 0.015625 | 0.078125 | 0.125 | 0.34375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
2952a5b5eaa5c128f18ea93421a3bf556d961bb4 | 31 | py | Python | DLFrameWork/backward/__init__.py | Mostafa-ashraf19/TourchPIP | a5090a0ec9cc81a91fe1fd6af41d77841361cec1 | [
"MIT"
] | null | null | null | DLFrameWork/backward/__init__.py | Mostafa-ashraf19/TourchPIP | a5090a0ec9cc81a91fe1fd6af41d77841361cec1 | [
"MIT"
] | null | null | null | DLFrameWork/backward/__init__.py | Mostafa-ashraf19/TourchPIP | a5090a0ec9cc81a91fe1fd6af41d77841361cec1 | [
"MIT"
] | null | null | null | from .backprob import Backward
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
464b3b9bfc3d659c20f8b7d3351d70088e783989 | 116 | py | Python | lib/solutions/ARRS/array_sum.py | DPNT-Sourcecode/CHK-tyjn01 | 4e82388efa0841ca871b41e61cc5c9fa9181dedd | [
"Apache-2.0"
] | null | null | null | lib/solutions/ARRS/array_sum.py | DPNT-Sourcecode/CHK-tyjn01 | 4e82388efa0841ca871b41e61cc5c9fa9181dedd | [
"Apache-2.0"
] | null | null | null | lib/solutions/ARRS/array_sum.py | DPNT-Sourcecode/CHK-tyjn01 | 4e82388efa0841ca871b41e61cc5c9fa9181dedd | [
"Apache-2.0"
] | null | null | null | from typing import List
# noinspection PyUnusedLocal
def compute(int_array: List[int]):
return sum(int_array)
| 16.571429 | 34 | 0.767241 | 16 | 116 | 5.4375 | 0.75 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 116 | 6 | 35 | 19.333333 | 0.887755 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
465b56aa4eb2f18539d28d421fcd8fcc75966c8a | 725 | py | Python | 6/cvicenie/higher_order_functions/hof_exercises.py | sevo/FLP-2020 | 6b5ecebc30f4a771aebdd8c147245557aa8901c8 | [
"MIT"
] | null | null | null | 6/cvicenie/higher_order_functions/hof_exercises.py | sevo/FLP-2020 | 6b5ecebc30f4a771aebdd8c147245557aa8901c8 | [
"MIT"
] | 1 | 2020-03-25T13:04:56.000Z | 2020-03-25T15:24:06.000Z | 6/cvicenie/higher_order_functions/hof_exercises.py | sevo/FLP-2020 | 6b5ecebc30f4a771aebdd8c147245557aa8901c8 | [
"MIT"
] | null | null | null | import operator as op
from functools import reduce
import re
import math
import collections as col
# Uloha 1:
def square(iterable):
pass
# Uloha 2:
def even(iterable):
pass
# Uloha 3:
def to_fahrenheit(iterable):
pass
# Uloha 4:
def arthur_speaking(file_path):
pass
# Uloha 5:
def arthur_speakin... | 10.661765 | 37 | 0.677241 | 110 | 725 | 4.318182 | 0.436364 | 0.227368 | 0.250526 | 0.178947 | 0.092632 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030576 | 0.233103 | 725 | 67 | 38 | 10.820896 | 0.823741 | 0.165517 | 0 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.419355 | false | 0.419355 | 0.16129 | 0 | 0.580645 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
467d17991f0d978e8acdb9d2c7e834b716f49a65 | 206,721 | py | Python | src/AlgoPlus/CTP/ApiStruct.py | yutiansut/AlgoPlus | 64259a3946c5283d226aabd7c3084d44c837a2c6 | [
"MIT"
] | 1 | 2020-03-21T02:34:55.000Z | 2020-03-21T02:34:55.000Z | src/AlgoPlus/CTP/ApiStruct.py | TouQi/AlgoPlus | c7f1b5f7692d357afae5a55e33c922fa55da5c78 | [
"MIT"
] | null | null | null | src/AlgoPlus/CTP/ApiStruct.py | TouQi/AlgoPlus | c7f1b5f7692d357afae5a55e33c922fa55da5c78 | [
"MIT"
] | 1 | 2021-12-22T16:15:13.000Z | 2021-12-22T16:15:13.000Z | # encoding:utf-8
# AlgoPlus量化投资开源框架
# 微信公众号:AlgoPlus
# 官网:http://algo.plus
from ctypes import *
from AlgoPlus.utils.base_field import BaseField
class LocalInputOrderField(BaseField):
_fields_ = [
('ExchangeID', c_char * 9), # 交易所代码
('InstrumentID', c_char * 31), # 合约代码
('OrderRef', c_c... | 34.447759 | 76 | 0.523827 | 20,220 | 206,721 | 5.128734 | 0.103462 | 0.138472 | 0.026962 | 0.036306 | 0.785512 | 0.764317 | 0.743913 | 0.739699 | 0.728234 | 0.721956 | 0 | 0.033028 | 0.306935 | 206,721 | 6,000 | 77 | 34.4535 | 0.690796 | 0.137122 | 0 | 0.794159 | 0 | 0 | 0.240907 | 0.012128 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000406 | false | 0.01379 | 0.000406 | 0 | 0.144393 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
469cc46e78ea32839a90ac8c84436ec9aaa117f3 | 146 | py | Python | seqbatchproducers/coordbased/coordstovals/__init__.py | AvantiShri/batchproducers | 150e72d84e734891365f9cc4ad2b3e55daf16842 | [
"MIT"
] | 12 | 2018-12-18T03:14:25.000Z | 2022-02-16T18:00:22.000Z | seqbatchproducers/coordbased/coordstovals/__init__.py | AvantiShri/batchproducers | 150e72d84e734891365f9cc4ad2b3e55daf16842 | [
"MIT"
] | 8 | 2019-01-25T01:42:32.000Z | 2020-02-17T20:50:45.000Z | seqbatchproducers/coordbased/coordstovals/__init__.py | AvantiShri/batchproducers | 150e72d84e734891365f9cc4ad2b3e55daf16842 | [
"MIT"
] | 6 | 2018-12-14T00:22:01.000Z | 2021-04-20T02:10:32.000Z | from __future__ import division, print_function, absolute_import
from . import bigwig
from . import fasta
from . import core
from . import lookup
| 24.333333 | 64 | 0.808219 | 20 | 146 | 5.6 | 0.55 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 146 | 5 | 65 | 29.2 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46a49fddcf2390506c5ba031d1c4dc258a948e30 | 254 | py | Python | rivr_rest/deserialization/__init__.py | rivrproject/rivr-rest | 4abd4df7968dce90c9e4fe5a345035779584178d | [
"BSD-2-Clause-FreeBSD"
] | 7 | 2015-03-28T10:23:15.000Z | 2018-09-01T11:31:03.000Z | rivr_rest/deserialization/__init__.py | rivrproject/rivr-rest | 4abd4df7968dce90c9e4fe5a345035779584178d | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2015-02-28T01:33:39.000Z | 2015-03-01T20:37:28.000Z | rivr_rest/deserialization/__init__.py | rivrproject/rivr-rest | 4abd4df7968dce90c9e4fe5a345035779584178d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from rivr_rest.deserialization.json_deserializer import deserialize_json
from rivr_rest.deserialization.hal import deserialize_hal
from rivr_rest.deserialization.siren import deserialize_siren
from rivr_rest.deserialization.html import deserialize_html
| 42.333333 | 72 | 0.901575 | 33 | 254 | 6.666667 | 0.333333 | 0.145455 | 0.218182 | 0.490909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066929 | 254 | 5 | 73 | 50.8 | 0.92827 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
46b466468c2b33a48e2f886e60cad7f65874d7c2 | 126 | py | Python | geometry.py | vitalka12345/python_training | b565bedb45bcf4296acad5fc2b745a41b72e3738 | [
"Apache-2.0"
] | null | null | null | geometry.py | vitalka12345/python_training | b565bedb45bcf4296acad5fc2b745a41b72e3738 | [
"Apache-2.0"
] | null | null | null | geometry.py | vitalka12345/python_training | b565bedb45bcf4296acad5fc2b745a41b72e3738 | [
"Apache-2.0"
] | null | null | null |
from geom2d.point import Point
a = Point(0, 0)
b = Point(3, 4)
print(a.distance(b))
print (a == b)
print (a == Point(0, 0)) | 14 | 30 | 0.611111 | 25 | 126 | 3.08 | 0.44 | 0.233766 | 0.181818 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 0.190476 | 126 | 9 | 31 | 14 | 0.686275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d3d32664898025025b71796dd8bd354fe99ac7a6 | 23,050 | py | Python | posthog/queries/test/test_lifecycle.py | zegl/posthog | 62846fd565e9eb6ff299bb81dd3b91f219bd0eeb | [
"MIT"
] | 1 | 2021-11-13T15:47:23.000Z | 2021-11-13T15:47:23.000Z | posthog/queries/test/test_lifecycle.py | zegl/posthog | 62846fd565e9eb6ff299bb81dd3b91f219bd0eeb | [
"MIT"
] | 1 | 2022-03-20T12:09:26.000Z | 2022-03-20T12:09:26.000Z | posthog/queries/test/test_lifecycle.py | zegl/posthog | 62846fd565e9eb6ff299bb81dd3b91f219bd0eeb | [
"MIT"
] | 4 | 2021-02-16T20:39:01.000Z | 2022-03-19T17:00:05.000Z | import json
from freezegun import freeze_time
from posthog.constants import TRENDS_LIFECYCLE
from posthog.models import Action, ActionStep, Cohort, Event, Filter, Person, Team
from posthog.queries.trends import Trends
from posthog.test.base import APIBaseTest, BaseTest
from posthog.utils import relative_date_parse
... | 42.216117 | 135 | 0.446941 | 2,376 | 23,050 | 4.231481 | 0.075758 | 0.049731 | 0.012234 | 0.071812 | 0.825144 | 0.807042 | 0.802168 | 0.798687 | 0.781182 | 0.763875 | 0 | 0.133439 | 0.397874 | 23,050 | 545 | 136 | 42.293578 | 0.590965 | 0.009241 | 0 | 0.587002 | 0 | 0 | 0.185441 | 0.00092 | 0 | 0 | 0 | 0 | 0.098532 | 1 | 0.025157 | false | 0.002096 | 0.014675 | 0 | 0.050314 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d3ea222a99df0c54f235e31f636bc6838eac1a44 | 178 | py | Python | clipper/scripts/start_clipper.py | g2des/17700_project | ccb7ff64574aa8e649d8a3e743755e61b070d1f9 | [
"MIT"
] | null | null | null | clipper/scripts/start_clipper.py | g2des/17700_project | ccb7ff64574aa8e649d8a3e743755e61b070d1f9 | [
"MIT"
] | null | null | null | clipper/scripts/start_clipper.py | g2des/17700_project | ccb7ff64574aa8e649d8a3e743755e61b070d1f9 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from clipper_admin import ClipperConnection, DockerContainerManager
clipper_conn = ClipperConnection(DockerContainerManager())
clipper_conn.start_clipper()
| 35.6 | 67 | 0.859551 | 18 | 178 | 8.277778 | 0.666667 | 0.52349 | 0.61745 | 0.671141 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061798 | 178 | 4 | 68 | 44.5 | 0.892216 | 0.11236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d3fa54670c5fab5401e3690d679f8d0cf106d359 | 1,005 | py | Python | tests/integration/test_accounts.py | lawrencealexander10/aio-plaid-python | 85bc199010bb2915b3d18b5827c361c330810a05 | [
"MIT"
] | null | null | null | tests/integration/test_accounts.py | lawrencealexander10/aio-plaid-python | 85bc199010bb2915b3d18b5827c361c330810a05 | [
"MIT"
] | null | null | null | tests/integration/test_accounts.py | lawrencealexander10/aio-plaid-python | 85bc199010bb2915b3d18b5827c361c330810a05 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.asyncio
async def test_get(setup_and_teardown_transactions_client):
access_token, client = setup_and_teardown_transactions_client
# get all accounts
response = await client.Accounts.get(access_token)
assert response['accounts'] is not None
# get selected accounts
ac... | 33.5 | 80 | 0.749254 | 129 | 1,005 | 5.581395 | 0.248062 | 0.091667 | 0.088889 | 0.155556 | 0.972222 | 0.972222 | 0.891667 | 0.891667 | 0.872222 | 0.872222 | 0 | 0.004711 | 0.155224 | 1,005 | 29 | 81 | 34.655172 | 0.843345 | 0.076617 | 0 | 0.555556 | 0 | 0 | 0.073673 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3103cf360279248ffdf875fbe0007a63686702d3 | 107 | py | Python | homeassistant/components/frontend/version.py | SKarthick5121995/karthickmaduraai | d5498dfb83e9bb57fff16db854ae3e15c1e15425 | [
"MIT"
] | null | null | null | homeassistant/components/frontend/version.py | SKarthick5121995/karthickmaduraai | d5498dfb83e9bb57fff16db854ae3e15c1e15425 | [
"MIT"
] | null | null | null | homeassistant/components/frontend/version.py | SKarthick5121995/karthickmaduraai | d5498dfb83e9bb57fff16db854ae3e15c1e15425 | [
"MIT"
] | null | null | null | """DO NOT MODIFY. Auto-generated by build_frontend script."""
VERSION = "49974cb3bb443751f7548e4e3b353304"
| 35.666667 | 61 | 0.794393 | 11 | 107 | 7.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247423 | 0.093458 | 107 | 2 | 62 | 53.5 | 0.618557 | 0.514019 | 0 | 0 | 1 | 0 | 0.695652 | 0.695652 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
310810992308ec076a2a55ab1e342c13bbcfa9f0 | 13 | py | Python | fenalib/__init__.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 2 | 2017-07-04T02:27:11.000Z | 2017-07-08T10:39:54.000Z | fenalib/__init__.py | Aquafina-water-bottle/Command-Compiler-Unlimited | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 6 | 2017-07-08T10:39:28.000Z | 2018-02-08T23:10:46.000Z | fenalib/__init__.py | Aquafina-water-bottle/Fena | 00a2b1dbc6f8abd968c46c637d6ad30d5fcde919 | [
"MIT"
] | 1 | 2017-07-24T23:52:43.000Z | 2017-07-24T23:52:43.000Z | """
butts
""" | 4.333333 | 5 | 0.384615 | 1 | 13 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 13 | 3 | 6 | 4.333333 | 0.454545 | 0.384615 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3174ce61f1eae12cbdb0646ecc72b3b3eb7078e9 | 144 | py | Python | tests/python_long/hello.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 362 | 2018-02-17T10:25:11.000Z | 2022-03-30T21:04:59.000Z | tests/python_long/hello.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 70 | 2018-02-17T04:00:14.000Z | 2019-08-21T18:01:52.000Z | tests/python_long/hello.py | hixio-mh/plugin-python | d59dca4b6166dc20eec3e7aa57b0649c072507ce | [
"MIT"
] | 36 | 2018-02-18T23:11:25.000Z | 2021-09-20T07:19:36.000Z | def this_is_a_long_function(this_is_a_long_parameter, this_is_another_long_parameter):
print("hello world", this_is_another_long_parameter)
| 48 | 86 | 0.868056 | 24 | 144 | 4.541667 | 0.458333 | 0.220183 | 0.12844 | 0.201835 | 0.477064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 144 | 2 | 87 | 72 | 0.813433 | 0 | 0 | 0 | 0 | 0 | 0.076389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3191bb6c5a6fa87da096d5941a65a2dd4ec9a848 | 3,334 | py | Python | Resources/OLD CB/seat_database_creator_old.py | KemAdrian/ArgumentationOnMeaning | f3e500848f0b8acdab6e41a23810bcab8c1259bb | [
"BSD-3-Clause"
] | null | null | null | Resources/OLD CB/seat_database_creator_old.py | KemAdrian/ArgumentationOnMeaning | f3e500848f0b8acdab6e41a23810bcab8c1259bb | [
"BSD-3-Clause"
] | null | null | null | Resources/OLD CB/seat_database_creator_old.py | KemAdrian/ArgumentationOnMeaning | f3e500848f0b8acdab6e41a23810bcab8c1259bb | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
filepath = ""
print "<<<< Welcome in the seat database creator >>>>"
print "Do you want to create an other file or use an old one?"
save = int(input("1-new 2-old \n"))
def new_seat():
answers = [0];
nb_answer = 0;
print "Which kind of seat will it be?"
answers[nb_answer] = string.lower... | 27.783333 | 108 | 0.674565 | 595 | 3,334 | 3.668908 | 0.189916 | 0.161246 | 0.151168 | 0.192396 | 0.769583 | 0.762712 | 0.747137 | 0.747137 | 0.666972 | 0.666972 | 0 | 0.046478 | 0.161068 | 3,334 | 120 | 109 | 27.783333 | 0.734001 | 0.006299 | 0 | 0.642857 | 0 | 0.059524 | 0.403684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ec57ffebe21971e059e5376cc36659dd99c3ff7 | 163 | py | Python | Ecommerce/admin.py | aryanshridhar/Ecommerce-Website | c582659e9b530555b9715ede7bb774c39f101c7e | [
"MIT"
] | 1 | 2020-06-01T16:41:33.000Z | 2020-06-01T16:41:33.000Z | Ecommerce/admin.py | aryanshridhar/Ecommerce-Website | c582659e9b530555b9715ede7bb774c39f101c7e | [
"MIT"
] | 4 | 2020-03-17T03:37:23.000Z | 2021-09-22T18:36:18.000Z | Ecommerce/admin.py | aryanshridhar/Ecommerce-Website | c582659e9b530555b9715ede7bb774c39f101c7e | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Product , Review , Cart
admin.site.register(Product)
admin.site.register(Review)
admin.site.register(Cart)
| 18.111111 | 43 | 0.791411 | 23 | 163 | 5.608696 | 0.478261 | 0.209302 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110429 | 163 | 8 | 44 | 20.375 | 0.889655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
73241182ef511969f325ba521cba15d1fec469ba | 12,542 | py | Python | cli.py | malteos/pytorch-bert-document-classification | 28a4f717823a2ed7a85adf24b2f5593a327b4bd9 | [
"MIT"
] | 138 | 2019-08-29T18:45:28.000Z | 2022-03-22T08:03:34.000Z | cli.py | diepinto30/pytorch-bert-document-classification | 28a4f717823a2ed7a85adf24b2f5593a327b4bd9 | [
"MIT"
] | 2 | 2020-03-16T17:29:20.000Z | 2020-03-24T22:19:38.000Z | cli.py | diepinto30/pytorch-bert-document-classification | 28a4f717823a2ed7a85adf24b2f5593a327b4bd9 | [
"MIT"
] | 22 | 2019-09-17T12:40:19.000Z | 2022-03-16T02:10:20.000Z |
"""
Run experiments for paper results
- for each experiment: sub-task A + B
- save model weights to disk
- save val results to disk
/experiments/
bert_extras/
weights/
config/
validation/
stats/
export BERT_MODELS_DIR="/home/mostendorf... | 35.936963 | 188 | 0.702121 | 1,733 | 12,542 | 4.77034 | 0.111368 | 0.036289 | 0.034837 | 0.036289 | 0.801984 | 0.782025 | 0.742591 | 0.72106 | 0.715737 | 0.703883 | 0 | 0.003344 | 0.189443 | 12,542 | 349 | 189 | 35.936963 | 0.809856 | 0.253229 | 0 | 0.459627 | 0 | 0 | 0.161189 | 0.090357 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012422 | false | 0 | 0.080745 | 0 | 0.093168 | 0.074534 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
735026d993915e99f38c269e552726412ca47397 | 182 | py | Python | .hypothesis/eval_source/hypothesis_temporary_module_9345cdfcc00c612f74fd583fd23cd20cd7a11cc7.py | keybar/keybar | 46bd0dee310ed4ac1d680f5fe75326aeb109aebc | [
"BSD-3-Clause"
] | 4 | 2015-06-17T07:44:29.000Z | 2021-03-06T01:29:17.000Z | .hypothesis/eval_source/hypothesis_temporary_module_9345cdfcc00c612f74fd583fd23cd20cd7a11cc7.py | keybar/keybar | 46bd0dee310ed4ac1d680f5fe75326aeb109aebc | [
"BSD-3-Clause"
] | 18 | 2015-01-12T20:57:26.000Z | 2022-03-11T23:11:38.000Z | .hypothesis/eval_source/hypothesis_temporary_module_9345cdfcc00c612f74fd583fd23cd20cd7a11cc7.py | keybar/keybar | 46bd0dee310ed4ac1d680f5fe75326aeb109aebc | [
"BSD-3-Clause"
] | 1 | 2015-01-19T07:24:00.000Z | 2015-01-19T07:24:00.000Z | from hypothesis.utils.conventions import not_set
def accept(f):
def recursive(base, extend, max_leaves=not_set):
return f(base, extend, max_leaves)
return recursive
| 26 | 52 | 0.736264 | 26 | 182 | 5 | 0.615385 | 0.092308 | 0.2 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181319 | 182 | 6 | 53 | 30.333333 | 0.872483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
7df832fc41586f09ad8199baed7e2d2652d76d30 | 139 | py | Python | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/{{cookiecutter.django_app}}/apps.py | hairmare/cookiecutter-django-json-api | d3c8f2f46e3c0669796d0d600f9bbb141c2b26ad | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/{{cookiecutter.django_app}}/apps.py | hairmare/cookiecutter-django-json-api | d3c8f2f46e3c0669796d0d600f9bbb141c2b26ad | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_name}}/{{cookiecutter.project_name}}/{{cookiecutter.django_app}}/apps.py | hairmare/cookiecutter-django-json-api | d3c8f2f46e3c0669796d0d600f9bbb141c2b26ad | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class DefaultConfig(AppConfig):
name = '{{cookiecutter.project_name}}.{{cookiecutter.django_app}}'
| 23.166667 | 70 | 0.76259 | 15 | 139 | 6.933333 | 0.733333 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107914 | 139 | 5 | 71 | 27.8 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.410072 | 0.410072 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b40d5fdd6a977afa90fb2dfb82ab9d6c79c6592c | 96 | py | Python | dataset/__init__.py | laferrieren/HoloClean | 8242e541c84f60d5ad09b6689b3982de1e1e57d3 | [
"Apache-2.0"
] | null | null | null | dataset/__init__.py | laferrieren/HoloClean | 8242e541c84f60d5ad09b6689b3982de1e1e57d3 | [
"Apache-2.0"
] | 1 | 2018-11-21T06:59:55.000Z | 2018-11-21T06:59:55.000Z | dataset/__init__.py | laferrieren/HoloClean | 8242e541c84f60d5ad09b6689b3982de1e1e57d3 | [
"Apache-2.0"
] | null | null | null | from .dataset import Dataset
from .dataset import AuxTables
__all__ = ['Dataset', 'AuxTables']
| 19.2 | 34 | 0.760417 | 11 | 96 | 6.272727 | 0.454545 | 0.318841 | 0.492754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 96 | 4 | 35 | 24 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b4260072dfa4581a012a5f5555b0d47eb6f8766a | 27 | py | Python | model_archs/text/__init__.py | ahmednasserswe/COSMOS | 9d2483816bcd77c58888ec829e273cbb5dd80a16 | [
"MIT"
] | 21 | 2021-04-27T09:56:50.000Z | 2022-02-22T08:52:32.000Z | model_archs/text/__init__.py | PhucThanh/COSMOS | 587ec9d1b6dd563eda8e407c09f84b83c0c04d64 | [
"MIT"
] | 6 | 2021-05-07T02:36:30.000Z | 2022-03-24T11:20:36.000Z | model_archs/text/__init__.py | PhucThanh/COSMOS | 587ec9d1b6dd563eda8e407c09f84b83c0c04d64 | [
"MIT"
] | 8 | 2021-05-20T16:21:08.000Z | 2022-02-10T14:12:06.000Z | from .text_models import *
| 13.5 | 26 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
b44fe82fab557e0bca7a0b912a084f9f58c5f9e5 | 185 | py | Python | chapter-04/exercise002.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-04/exercise002.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | chapter-04/exercise002.py | krastin/pp-cs3.0 | 502be9aac2d84215db176864e443c219e5e26591 | [
"MIT"
] | null | null | null | print("They’ll hibernate during the winter.")
print('“Absolutely not,” he said.')
print('''“He said, ‘Absolutely not,’” recalled Mel.''')
print('hydrogen sulfide')
print('left\\right')
| 30.833333 | 55 | 0.691892 | 25 | 185 | 5.12 | 0.68 | 0.203125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097297 | 185 | 5 | 56 | 37 | 0.766467 | 0 | 0 | 0 | 0 | 0 | 0.708108 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
b45ca9591c34aa6a8e36e317ec2807ba30d0aa72 | 12,882 | py | Python | tests/test_position_component.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | null | null | null | tests/test_position_component.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | null | null | null | tests/test_position_component.py | Leonardo767/Abmarl | 9fada5447b09174c6a70b6032b4a8d08b66c4589 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from abmarl.sim.components.state import GridPositionState, LifeState
from abmarl.sim.components.observer import GridPositionBasedObserver, \
GridPositionTeamBasedObserver, RelativePositionObserver
from abmarl.sim.components.agent import PositionObservingAgent, AgentObservingAgent, \
Componen... | 47.014599 | 99 | 0.485406 | 1,720 | 12,882 | 3.537209 | 0.036628 | 0.104208 | 0.124753 | 0.140697 | 0.831854 | 0.826759 | 0.820677 | 0.80835 | 0.784352 | 0.680309 | 0 | 0.100121 | 0.231641 | 12,882 | 273 | 100 | 47.186813 | 0.514548 | 0 | 0 | 0.59761 | 0 | 0 | 0.109921 | 0 | 0 | 0 | 0 | 0 | 0.207171 | 1 | 0.011952 | false | 0.011952 | 0.015936 | 0 | 0.039841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b47791de1e61809346b5e63a75548a80fd9d18a0 | 87 | py | Python | polyglotdb/acoustics/pitch/__init__.py | msonderegger/PolyglotDB | 583fd8ec14c2e34807b45b9f15fa19cffa130bfa | [
"MIT"
] | 25 | 2016-01-28T20:47:07.000Z | 2021-11-29T16:13:07.000Z | polyglotdb/acoustics/pitch/__init__.py | msonderegger/PolyglotDB | 583fd8ec14c2e34807b45b9f15fa19cffa130bfa | [
"MIT"
] | 120 | 2016-04-07T17:55:09.000Z | 2022-03-24T18:30:10.000Z | polyglotdb/acoustics/pitch/__init__.py | PhonologicalCorpusTools/PolyglotDB | 7640212c7062cf44ae911081241ce83a26ced2eb | [
"MIT"
] | 10 | 2015-12-03T20:06:58.000Z | 2021-02-11T03:02:48.000Z |
from .base import analyze_pitch, analyze_utterance_pitch, update_utterance_pitch_track | 43.5 | 86 | 0.896552 | 12 | 87 | 6 | 0.666667 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 87 | 2 | 86 | 43.5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c33d6ed9a869f735393b5894093e18c8e326a612 | 47 | py | Python | documentation_threading/01_threading_functions/example_05.py | software-foundations/learning-distributed-systems | b09f60742a88acf466fcf724e1368b95363682fa | [
"MIT"
] | null | null | null | documentation_threading/01_threading_functions/example_05.py | software-foundations/learning-distributed-systems | b09f60742a88acf466fcf724e1368b95363682fa | [
"MIT"
] | null | null | null | documentation_threading/01_threading_functions/example_05.py | software-foundations/learning-distributed-systems | b09f60742a88acf466fcf724e1368b95363682fa | [
"MIT"
] | null | null | null | import threading
print(threading.enumerate())
| 11.75 | 28 | 0.808511 | 5 | 47 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 3 | 29 | 15.666667 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c3492907d5dc608579634e5b2fcba9f53814b5a6 | 154 | py | Python | Python/03. Strings/008. Text Wrap.py | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 831 | 2018-05-12T19:06:09.000Z | 2022-03-31T19:33:54.000Z | Python/03. Strings/008. Text Wrap.py | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 2 | 2019-06-17T14:58:56.000Z | 2021-03-05T23:49:59.000Z | Python/03. Strings/008. Text Wrap.py | Snehakri022/HackerrankPractice | 15c2da0bfb4bce744b345c4a3613ae9a769f2676 | [
"MIT"
] | 457 | 2018-06-11T07:01:57.000Z | 2022-03-28T11:08:34.000Z | # Problem: https://www.hackerrank.com/challenges/text-wrap/problem
# Score: 10
def wrap(string, max_width):
return textwrap.fill(string, max_width)
| 22 | 66 | 0.746753 | 22 | 154 | 5.136364 | 0.772727 | 0.159292 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.116883 | 154 | 6 | 67 | 25.666667 | 0.816176 | 0.480519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
c35d6f607878cbd9655b5f570c249547009637ee | 35 | py | Python | pylinkage/generator/__init__.py | Drumato/pylinkage | 2033112c95a15722efcd9271c08fd919df635eae | [
"MIT"
] | null | null | null | pylinkage/generator/__init__.py | Drumato/pylinkage | 2033112c95a15722efcd9271c08fd919df635eae | [
"MIT"
] | null | null | null | pylinkage/generator/__init__.py | Drumato/pylinkage | 2033112c95a15722efcd9271c08fd919df635eae | [
"MIT"
] | null | null | null | from .script import ScriptGenerator | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6f0c3949d8c3867777b122e5001d9bc7bbd81a9b | 84 | py | Python | tests/flask_genshi_testapp/test_blueprint/__init__.py | mobius-medical/flask-genshi | 68cba6c9cb604272a25f5e4c74e5a127e3ac7854 | [
"BSD-3-Clause"
] | null | null | null | tests/flask_genshi_testapp/test_blueprint/__init__.py | mobius-medical/flask-genshi | 68cba6c9cb604272a25f5e4c74e5a127e3ac7854 | [
"BSD-3-Clause"
] | null | null | null | tests/flask_genshi_testapp/test_blueprint/__init__.py | mobius-medical/flask-genshi | 68cba6c9cb604272a25f5e4c74e5a127e3ac7854 | [
"BSD-3-Clause"
] | null | null | null | from flask import Blueprint
test_blueprint = Blueprint('test_blueprint', __name__)
| 21 | 54 | 0.821429 | 10 | 84 | 6.3 | 0.6 | 0.412698 | 0.698413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 3 | 55 | 28 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
6f48b9fc1b7e07e2f0f0987466baf53dd21cc7a0 | 1,890 | py | Python | leetcode/contests/weekly-contest-142/1-1093. Statistics from a Large Sample.py | palash24/algorithms-and-data-structures | 164be7d1a501a21af808673888964bbab36243a1 | [
"MIT"
] | 23 | 2018-11-06T03:54:00.000Z | 2022-03-14T13:30:40.000Z | leetcode/contests/weekly-contest-142/1-1093. Statistics from a Large Sample.py | palash24/algorithms-and-data-structures | 164be7d1a501a21af808673888964bbab36243a1 | [
"MIT"
] | null | null | null | leetcode/contests/weekly-contest-142/1-1093. Statistics from a Large Sample.py | palash24/algorithms-and-data-structures | 164be7d1a501a21af808673888964bbab36243a1 | [
"MIT"
] | 5 | 2019-05-24T16:56:45.000Z | 2022-03-10T17:29:10.000Z | # 1093. Statistics from a Large Sample
class Solution:
def sampleStats(self, count):
mn = 0
for i in range(len(count)):
if count[i]:
mn = i
break
mx = 0
for i in range(len(count)-1, -1, -1):
if count[i]:
... | 40.212766 | 544 | 0.385714 | 405 | 1,890 | 1.8 | 0.101235 | 0.696845 | 1.037037 | 1.371742 | 0.478738 | 0.478738 | 0.478738 | 0.422497 | 0.422497 | 0.422497 | 0 | 0.247764 | 0.408466 | 1,890 | 47 | 544 | 40.212766 | 0.404293 | 0.019048 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025641 | false | 0 | 0 | 0 | 0.076923 | 0.025641 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6f713fd199d0304bede546cbddf9ca47f88056f8 | 4,986 | py | Python | tests/sentry/api/endpoints/test_project_index.py | hieast/sentry | 1179b6b13e86f552d18da0578d7b3bc5d002c0d9 | [
"BSD-3-Clause"
] | 1 | 2019-05-28T06:18:03.000Z | 2019-05-28T06:18:03.000Z | tests/sentry/api/endpoints/test_project_index.py | c88888/sentry | 53837d9e8dad2443c3881fcd05f1b261bdd922fd | [
"BSD-3-Clause"
] | 6 | 2018-10-19T10:04:23.000Z | 2019-12-09T20:29:12.000Z | tests/sentry/api/endpoints/test_project_index.py | c88888/sentry | 53837d9e8dad2443c3881fcd05f1b261bdd922fd | [
"BSD-3-Clause"
] | 1 | 2020-07-03T00:52:19.000Z | 2020-07-03T00:52:19.000Z | from __future__ import absolute_import
import six
from sentry.models import Project, ProjectStatus
from sentry.testutils import APITestCase
class ProjectsListTest(APITestCase):
path = '/api/0/projects/'
def test_member_constraints(self):
user = self.create_user(is_superuser=True)
org = self... | 35.361702 | 91 | 0.645608 | 620 | 4,986 | 5.048387 | 0.116129 | 0.118211 | 0.076038 | 0.073802 | 0.830671 | 0.814058 | 0.804153 | 0.800319 | 0.797764 | 0.773163 | 0 | 0.018566 | 0.222222 | 4,986 | 140 | 92 | 35.614286 | 0.788551 | 0 | 0 | 0.650485 | 0 | 0 | 0.0357 | 0 | 0 | 0 | 0 | 0 | 0.281553 | 1 | 0.067961 | false | 0 | 0.038835 | 0 | 0.126214 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48ac83b3bb7b7cb2025d4ef6504816d36fadcdfe | 5,008 | py | Python | tests/test_0395-fix-numba-indexedarray.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0395-fix-numba-indexedarray.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | tests/test_0395-fix-numba-indexedarray.py | sjperkins/awkward-1.0 | 75dbd5d06a012ff9d1da56f898b747cea2b1d2a9 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/master/LICENSE
from __future__ import absolute_import
import sys
import pytest
import numpy
import awkward1
numba = pytest.importorskip("numba")
def test():
def reproduce(arrays):
out = numpy.zeros(len(arrays), numpy.int64)
... | 43.172414 | 123 | 0.672524 | 643 | 5,008 | 5.227061 | 0.125972 | 0.166617 | 0.09997 | 0.123773 | 0.806903 | 0.794406 | 0.794406 | 0.702172 | 0.702172 | 0.702172 | 0 | 0.104858 | 0.169728 | 5,008 | 115 | 124 | 43.547826 | 0.703463 | 0.017372 | 0 | 0.482353 | 0 | 0 | 0.001016 | 0 | 0 | 0 | 0 | 0 | 0.211765 | 1 | 0.070588 | false | 0 | 0.070588 | 0 | 0.176471 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
48d9558f675c232e45a4b8c62198818c6305032f | 461 | py | Python | tagger/optimizers/__init__.py | XMUNLP/Tagger | 02e1fd323ac747bfe5f7b8824c6b416fd90f33a1 | [
"BSD-3-Clause"
] | 335 | 2017-12-08T07:14:32.000Z | 2022-03-01T15:22:26.000Z | tagger/optimizers/__init__.py | XMUNLP/Tagger | 02e1fd323ac747bfe5f7b8824c6b416fd90f33a1 | [
"BSD-3-Clause"
] | 23 | 2018-03-27T01:59:19.000Z | 2022-02-15T16:15:57.000Z | tagger/optimizers/__init__.py | XMUNLP/Tagger | 02e1fd323ac747bfe5f7b8824c6b416fd90f33a1 | [
"BSD-3-Clause"
] | 91 | 2017-12-08T07:14:34.000Z | 2021-12-16T23:19:42.000Z | from tagger.optimizers.optimizers import AdamOptimizer
from tagger.optimizers.optimizers import AdadeltaOptimizer
from tagger.optimizers.optimizers import MultiStepOptimizer
from tagger.optimizers.optimizers import LossScalingOptimizer
from tagger.optimizers.schedules import LinearWarmupRsqrtDecay
from tagger.optimizer... | 51.222222 | 62 | 0.885033 | 48 | 461 | 8.416667 | 0.354167 | 0.173267 | 0.346535 | 0.29703 | 0.529703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075922 | 461 | 8 | 63 | 57.625 | 0.948357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48efbe0280fbd8b007a34dfa260898e1698ff0c8 | 62 | py | Python | template/new.py | sirhc/vim-profile | 957cdec7fe5bb4711950f9107e51b51f39d55dd1 | [
"MIT"
] | 1 | 2016-02-11T06:02:19.000Z | 2016-02-11T06:02:19.000Z | template/new.py | sirhc/vim-profile | 957cdec7fe5bb4711950f9107e51b51f39d55dd1 | [
"MIT"
] | null | null | null | template/new.py | sirhc/vim-profile | 957cdec7fe5bb4711950f9107e51b51f39d55dd1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from __future__ import print_function
| 12.4 | 37 | 0.790323 | 9 | 62 | 4.888889 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 4 | 38 | 15.5 | 0.814815 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 1 | 0 | 1 | 1 | 0 | 6 |
5b1cfe2848ae18ab21a5266593276e3bb386de7a | 162 | py | Python | pyspot/__init__.py | EdMan1022/PySpot | e48e1b2bfe2524dc85bff58475383768c1c65501 | [
"MIT"
] | null | null | null | pyspot/__init__.py | EdMan1022/PySpot | e48e1b2bfe2524dc85bff58475383768c1c65501 | [
"MIT"
] | null | null | null | pyspot/__init__.py | EdMan1022/PySpot | e48e1b2bfe2524dc85bff58475383768c1c65501 | [
"MIT"
] | null | null | null | from .auth import Auth
from .session import Session
from .user_auth import UserAuth
from .credentials_auth import CredentialsAuth
from .api_timer import ApiTimer
| 27 | 45 | 0.845679 | 23 | 162 | 5.826087 | 0.478261 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 162 | 5 | 46 | 32.4 | 0.943662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d28bd8ab861a42af293eb4fe6a8e5bf6dfb5c7eb | 59 | py | Python | pegasus/check_sample_indexes/__init__.py | michael-alperovich/pegasus | b0720dd79756ca7e81d0b5de77b98067ad2be7c5 | [
"BSD-3-Clause"
] | 40 | 2019-10-16T09:57:57.000Z | 2021-12-29T13:56:31.000Z | pegasus/check_sample_indexes/__init__.py | michael-alperovich/pegasus | b0720dd79756ca7e81d0b5de77b98067ad2be7c5 | [
"BSD-3-Clause"
] | 65 | 2019-10-16T02:15:00.000Z | 2022-03-10T17:13:32.000Z | pegasus/check_sample_indexes/__init__.py | michael-alperovich/pegasus | b0720dd79756ca7e81d0b5de77b98067ad2be7c5 | [
"BSD-3-Clause"
] | 16 | 2019-10-17T02:03:52.000Z | 2022-01-02T04:01:43.000Z | from .check_sample_indexes import run_check_sample_indexes
| 29.5 | 58 | 0.915254 | 9 | 59 | 5.444444 | 0.666667 | 0.44898 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 59 | 1 | 59 | 59 | 0.890909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d29c278f5a2cef69d5a1eada5ac04a5a84ff0d66 | 231 | py | Python | crocolinks/admin.py | abasha1/Djangoadmin | c91f1d8e61d4edc3d1cffd1e8e1a8b2b6d35f1e8 | [
"MIT"
] | null | null | null | crocolinks/admin.py | abasha1/Djangoadmin | c91f1d8e61d4edc3d1cffd1e8e1a8b2b6d35f1e8 | [
"MIT"
] | null | null | null | crocolinks/admin.py | abasha1/Djangoadmin | c91f1d8e61d4edc3d1cffd1e8e1a8b2b6d35f1e8 | [
"MIT"
] | null | null | null | from crocolinks.models import CrocoLink
from django.contrib import admin
from crocolinks.models import CrocoLink
class CrocoAdmin(admin.ModelAdmin):
list_display = ('title', 'link')
admin.site.register(CrocoLink, CrocoAdmin) | 25.666667 | 42 | 0.800866 | 28 | 231 | 6.571429 | 0.607143 | 0.152174 | 0.217391 | 0.282609 | 0.380435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112554 | 231 | 9 | 42 | 25.666667 | 0.897561 | 0 | 0 | 0.333333 | 0 | 0 | 0.038793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d2e574c33c5806698e3364db624d615091ff8600 | 223 | py | Python | demo4.py | Forever-CodingNoob/BrainFuck | be879e4c0ef9f3a711364f13c28b1f0c371ae700 | [
"MIT"
] | null | null | null | demo4.py | Forever-CodingNoob/BrainFuck | be879e4c0ef9f3a711364f13c28b1f0c371ae700 | [
"MIT"
] | null | null | null | demo4.py | Forever-CodingNoob/BrainFuck | be879e4c0ef9f3a711364f13c28b1f0c371ae700 | [
"MIT"
] | null | null | null | from brainFuckInterpreter import TEXT,text2bf,text2bf2,text2bf3
print(text2bf2(TEXT,print_output=True,limit=2))
# print(text2bf(TEXT,print_output=True,limit_a=2,limit_b=10))
# print(text2bf3(TEXT,print_output=True,limit=2)) | 55.75 | 63 | 0.825112 | 35 | 223 | 5.114286 | 0.428571 | 0.150838 | 0.251397 | 0.318436 | 0.413408 | 0.27933 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 0.035874 | 223 | 4 | 64 | 55.75 | 0.762791 | 0.479821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
961239210e7d724ca9669acfe41f087493a3885d | 3,570 | py | Python | web/app/ponthe/api/resources/routes.py | thomaschabal/Galeries | 7cbe21b33be962192ecd95f0ff3d613672b1a50b | [
"MIT"
] | null | null | null | web/app/ponthe/api/resources/routes.py | thomaschabal/Galeries | 7cbe21b33be962192ecd95f0ff3d613672b1a50b | [
"MIT"
] | null | null | null | web/app/ponthe/api/resources/routes.py | thomaschabal/Galeries | 7cbe21b33be962192ecd95f0ff3d613672b1a50b | [
"MIT"
] | null | null | null | from flask_restplus import Resource
from flask import send_file
from . import api
from ... import app
from ...services import FileService
from ...dao import FileDAO, GalleryDAO
ASSET_FOLDER = app.config['ASSET_ROOT']
SIZE_LARGE_THUMB = "630x500"
@api.route('/get-video/<gallery_slug>')
@api.doc(params={
'gallery_... | 39.230769 | 93 | 0.662185 | 465 | 3,570 | 4.913978 | 0.180645 | 0.105908 | 0.052516 | 0.028009 | 0.804376 | 0.794311 | 0.778556 | 0.76105 | 0.76105 | 0.67965 | 0 | 0.018385 | 0.222969 | 3,570 | 91 | 94 | 39.230769 | 0.805335 | 0.070868 | 0 | 0.671053 | 0 | 0 | 0.26054 | 0.043373 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.078947 | 0 | 0.276316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
82718e7843b1043f737452073cb759c337f079d1 | 49,609 | py | Python | src/openprocurement/framework/cfaua/tests/change_blanks.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 10 | 2020-02-18T01:56:21.000Z | 2022-03-28T00:32:57.000Z | src/openprocurement/framework/cfaua/tests/change_blanks.py | quintagroup/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 26 | 2018-07-16T09:30:44.000Z | 2021-02-02T17:51:30.000Z | src/openprocurement/framework/cfaua/tests/change_blanks.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 15 | 2019-08-08T10:50:47.000Z | 2022-02-05T14:13:36.000Z | # -*- coding: utf-8 -*-
from copy import deepcopy
from datetime import timedelta
from mock import patch
from openprocurement.api.utils import get_now
def no_items_agreement_change(self):
data = deepcopy(self.initial_data)
del data["items"]
response = self.app.post_json("/agreements", {"data": data})
... | 40.897774 | 131 | 0.612853 | 5,279 | 49,609 | 5.645198 | 0.049062 | 0.09248 | 0.12117 | 0.071172 | 0.900607 | 0.888896 | 0.859971 | 0.827489 | 0.805208 | 0.788833 | 0 | 0.01674 | 0.205265 | 49,609 | 1,212 | 132 | 40.931518 | 0.73903 | 0.006854 | 0 | 0.637127 | 0 | 0 | 0.261755 | 0.074874 | 0 | 0 | 0 | 0 | 0.211754 | 1 | 0.012127 | false | 0 | 0.003731 | 0 | 0.015858 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8293581cdd169780f30e1a297c867c6426845bdc | 234 | py | Python | install/lib/python2.7/dist-packages/multimaster_msgs_fkie/msg/__init__.py | MultiRobotUPenn/groundstation_ws_vio_swarm | 60e01af6bf32bafb5bc31626b055436278dc8311 | [
"MIT"
] | 1 | 2020-03-10T06:32:51.000Z | 2020-03-10T06:32:51.000Z | install/lib/python2.7/dist-packages/multimaster_msgs_fkie/msg/__init__.py | MultiRobotUPenn/groundstation_ws_vio_swarm | 60e01af6bf32bafb5bc31626b055436278dc8311 | [
"MIT"
] | null | null | null | install/lib/python2.7/dist-packages/multimaster_msgs_fkie/msg/__init__.py | MultiRobotUPenn/groundstation_ws_vio_swarm | 60e01af6bf32bafb5bc31626b055436278dc8311 | [
"MIT"
] | 1 | 2018-11-07T03:37:23.000Z | 2018-11-07T03:37:23.000Z | from ._Capability import *
from ._LinkState import *
from ._LinkStatesStamped import *
from ._MasterState import *
from ._ROSMaster import *
from ._SyncMasterInfo import *
from ._SyncServiceInfo import *
from ._SyncTopicInfo import *
| 26 | 33 | 0.794872 | 24 | 234 | 7.416667 | 0.416667 | 0.393258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 234 | 8 | 34 | 29.25 | 0.881188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8298088046e9d43c39b090325eea4ea97788b044 | 28,853 | py | Python | backend/tracim_backend/tests/functional/test_elasticsearch_search.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | backend/tracim_backend/tests/functional/test_elasticsearch_search.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | backend/tracim_backend/tests/functional/test_elasticsearch_search.py | lezardrouge/tracim | 713ff6066767554333e7e0b1de608ec1a7e4229c | [
"MIT"
] | null | null | null | from parameterized import parameterized
import pytest
import transaction
from tracim_backend.app_models.contents import content_type_list
from tracim_backend.lib.core.content import ContentApi
from tracim_backend.lib.core.group import GroupApi
from tracim_backend.lib.core.user import UserApi
from tracim_backend.lib.co... | 45.653481 | 165 | 0.648529 | 3,202 | 28,853 | 5.581199 | 0.058401 | 0.047899 | 0.051032 | 0.040289 | 0.889206 | 0.872643 | 0.850148 | 0.846455 | 0.814784 | 0.792905 | 0 | 0.006187 | 0.249402 | 28,853 | 631 | 166 | 45.725832 | 0.818996 | 0.023984 | 0 | 0.695578 | 0 | 0 | 0.145512 | 0.026295 | 0 | 0 | 0 | 0 | 0.119048 | 1 | 0.013605 | false | 0.013605 | 0.02551 | 0 | 0.045918 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d658a1185dab84d1952d0a1b0a7f52276a494dc | 22,889 | py | Python | src/the_tale/the_tale/game/cards/tests/test_logic.py | Alacrate/the-tale | 43b211f3a99e93964e95abc20a8ed649a205ffcf | [
"BSD-3-Clause"
] | 85 | 2017-11-21T12:22:02.000Z | 2022-03-27T23:07:17.000Z | src/the_tale/the_tale/game/cards/tests/test_logic.py | Alacrate/the-tale | 43b211f3a99e93964e95abc20a8ed649a205ffcf | [
"BSD-3-Clause"
] | 545 | 2017-11-04T14:15:04.000Z | 2022-03-27T14:19:27.000Z | src/the_tale/the_tale/game/cards/tests/test_logic.py | Alacrate/the-tale | 43b211f3a99e93964e95abc20a8ed649a205ffcf | [
"BSD-3-Clause"
] | 45 | 2017-11-11T12:36:30.000Z | 2022-02-25T06:10:44.000Z |
import smart_imports
smart_imports.all()
class CreateCardTest(utils_testcase.TestCase):
def setUp(self):
super().setUp()
game_logic.create_test_map()
def test_single_card(self):
card = logic.create_card(allow_premium_cards=False)
self.assertTrue(card.uid)
def test_simp... | 54.111111 | 149 | 0.619031 | 2,540 | 22,889 | 5.279528 | 0.074016 | 0.051007 | 0.047502 | 0.060925 | 0.849068 | 0.815436 | 0.79217 | 0.763609 | 0.725503 | 0.711633 | 0 | 0.010454 | 0.289571 | 22,889 | 422 | 150 | 54.239336 | 0.814218 | 0 | 0 | 0.563077 | 0 | 0 | 0.04806 | 0.043735 | 0 | 0 | 0 | 0 | 0.206154 | 1 | 0.116923 | false | 0 | 0.006154 | 0.003077 | 0.138462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7d7639e5f942ac4c26505f183a52ff1d19c5e50a | 29 | py | Python | app/api/broadcast/__init__.py | techouse/nordend | 9129c5dc75f338ba0b4fc6c6a8b6bfdc334264d4 | [
"MIT"
] | null | null | null | app/api/broadcast/__init__.py | techouse/nordend | 9129c5dc75f338ba0b4fc6c6a8b6bfdc334264d4 | [
"MIT"
] | 1 | 2020-03-03T07:58:56.000Z | 2020-03-03T07:58:56.000Z | app/api/broadcast/__init__.py | techouse/nordend | 9129c5dc75f338ba0b4fc6c6a8b6bfdc334264d4 | [
"MIT"
] | null | null | null | from . import authentication
| 14.5 | 28 | 0.827586 | 3 | 29 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7de126c2844c43a53f81751f24fe3178735a82a8 | 48 | py | Python | pyurlfetch/src/pyurlfetch/tests/__init__.py | rodaebel/urlfetch | e99301b6d4a042ac36dbc008550c122678517d31 | [
"Apache-2.0"
] | null | null | null | pyurlfetch/src/pyurlfetch/tests/__init__.py | rodaebel/urlfetch | e99301b6d4a042ac36dbc008550c122678517d31 | [
"Apache-2.0"
] | null | null | null | pyurlfetch/src/pyurlfetch/tests/__init__.py | rodaebel/urlfetch | e99301b6d4a042ac36dbc008550c122678517d31 | [
"Apache-2.0"
] | null | null | null | # Python package
from test_pyurlfetch import *
| 12 | 29 | 0.791667 | 6 | 48 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 30 | 16 | 0.925 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
815cf7ced3a30bd4e766018538c1b3beee359d53 | 7,807 | py | Python | cogs/mod.py | Sushiemaster/self123 | e94a7879e61492f5d0a193db071faf0caeec5d4e | [
"MIT"
] | null | null | null | cogs/mod.py | Sushiemaster/self123 | e94a7879e61492f5d0a193db071faf0caeec5d4e | [
"MIT"
] | null | null | null | cogs/mod.py | Sushiemaster/self123 | e94a7879e61492f5d0a193db071faf0caeec5d4e | [
"MIT"
] | null | null | null | import discord
import asyncio
from discord.ext import commands
from appuselfbot import bot_prefix
from cogs.utils.checks import *
'''Module for moderator commands.'''
class Mod:
def __init__(self, bot):
self.bot = bot
def are_overwrites_empty(self, overwrites):
"""There is ... | 49.100629 | 135 | 0.599206 | 925 | 7,807 | 4.924324 | 0.148108 | 0.053787 | 0.084303 | 0.084303 | 0.787925 | 0.776729 | 0.757849 | 0.745554 | 0.740724 | 0.710867 | 0 | 0.003347 | 0.311131 | 7,807 | 159 | 136 | 49.100629 | 0.843622 | 0.010631 | 0 | 0.618321 | 0 | 0 | 0.079602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022901 | false | 0.061069 | 0.038168 | 0 | 0.10687 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
819ddc675dc9f8a5d8c04bc4a7e9e655495a9733 | 227 | py | Python | services/__init__.py | michaeldannunzio/mavhawk | 24d912e7bfd4fc010bdd9135cd761c2bb489a4a0 | [
"MIT"
] | 1 | 2019-05-01T01:08:08.000Z | 2019-05-01T01:08:08.000Z | services/__init__.py | michaeldannunzio/mavhawk | 24d912e7bfd4fc010bdd9135cd761c2bb489a4a0 | [
"MIT"
] | null | null | null | services/__init__.py | michaeldannunzio/mavhawk | 24d912e7bfd4fc010bdd9135cd761c2bb489a4a0 | [
"MIT"
] | null | null | null | from services.webcam import Webcam
from services.relay import Relay
from services.potentiometer import Potentiometer
from services.powerController import PowerController
from services.voltageController import VoltageController
| 37.833333 | 56 | 0.889868 | 25 | 227 | 8.08 | 0.32 | 0.29703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088106 | 227 | 5 | 57 | 45.4 | 0.975845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
81d368e146e8c54ed1c7d77bef3597758de66048 | 26,614 | py | Python | tests/test_routes.py | nyu-devops-2022sp-inventory/inventory | e87ce22837a72d8e174e9e0d63798de7114a3b24 | [
"Apache-2.0"
] | 4 | 2022-02-21T20:22:53.000Z | 2022-03-08T02:28:00.000Z | tests/test_routes.py | nyu-devops-2022sp-inventory/inventory | e87ce22837a72d8e174e9e0d63798de7114a3b24 | [
"Apache-2.0"
] | 27 | 2022-02-21T18:38:09.000Z | 2022-03-30T00:44:30.000Z | tests/test_routes.py | nyu-devops-2022sp-inventory/inventory | e87ce22837a72d8e174e9e0d63798de7114a3b24 | [
"Apache-2.0"
] | null | null | null | """
TestProduct API Service Test Suite
Test cases can be run with the following:
nosetests -v --with-spec --spec-color
coverage report -m
"""
import os
import logging
from unittest import TestCase
from unittest.mock import MagicMock, patch
from urllib.parse import quote_plus
from werkzeug.exceptions import NotFoun... | 44.430718 | 138 | 0.652476 | 3,271 | 26,614 | 5.041272 | 0.076429 | 0.061371 | 0.029351 | 0.065191 | 0.839842 | 0.808672 | 0.772832 | 0.741904 | 0.732747 | 0.717223 | 0 | 0.012809 | 0.231457 | 26,614 | 598 | 139 | 44.505017 | 0.79339 | 0.13151 | 0 | 0.630531 | 0 | 0 | 0.079333 | 0.018482 | 0 | 0 | 0 | 0 | 0.170354 | 1 | 0.09292 | false | 0 | 0.024336 | 0 | 0.121681 | 0.024336 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c499582726cd6d9d3ec77fa891123677f1eeadb6 | 21 | py | Python | pyopt/__init__.py | vndee/python-options | f518ec4e13c529a12a997a9bddbb54f86e21b55d | [
"MIT"
] | 2 | 2020-11-19T03:17:27.000Z | 2020-11-19T10:19:37.000Z | option/__init__.py | zlasd/novelS | 44905ec0477806f8aee377e098d4311d65aabd18 | [
"MIT"
] | null | null | null | option/__init__.py | zlasd/novelS | 44905ec0477806f8aee377e098d4311d65aabd18 | [
"MIT"
] | 1 | 2020-11-19T10:11:43.000Z | 2020-11-19T10:11:43.000Z | from .option import * | 21 | 21 | 0.761905 | 3 | 21 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
c49b98962063b5aa01367e2adcfca9c18a8b3d93 | 158 | py | Python | test_metadata.py | Aletechdev/mutil | 30339f409723a2288c0e3575d466529555961305 | [
"MIT"
] | null | null | null | test_metadata.py | Aletechdev/mutil | 30339f409723a2288c0e3575d466529555961305 | [
"MIT"
] | null | null | null | test_metadata.py | Aletechdev/mutil | 30339f409723a2288c0e3575d466529555961305 | [
"MIT"
] | null | null | null | from metadata import get_condition_val_str
input_list = ['a', 'b', 'c']
assert(get_condition_val_str(input_list)=="b c")
assert(input_list==['a', 'b', 'c']) | 26.333333 | 48 | 0.696203 | 27 | 158 | 3.740741 | 0.481481 | 0.267327 | 0.29703 | 0.356436 | 0.683168 | 0.534653 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094937 | 158 | 6 | 49 | 26.333333 | 0.706294 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c4b53342f553a66fb6680d9dd9ec127b495cfb6c | 100 | py | Python | own_code/ch5-viewmodels/viewmodels/account/login_viewmodel.py | kuonat/web-applications-with-fastapi-course | 0930e351bd7fd8f01f1f85832780beea48c4fa38 | [
"MIT"
] | null | null | null | own_code/ch5-viewmodels/viewmodels/account/login_viewmodel.py | kuonat/web-applications-with-fastapi-course | 0930e351bd7fd8f01f1f85832780beea48c4fa38 | [
"MIT"
] | null | null | null | own_code/ch5-viewmodels/viewmodels/account/login_viewmodel.py | kuonat/web-applications-with-fastapi-course | 0930e351bd7fd8f01f1f85832780beea48c4fa38 | [
"MIT"
] | null | null | null | from viewmodels.shared.viewmodel import ViewModelBase
class LoginViewModel(ViewModelBase):
pass | 25 | 53 | 0.84 | 10 | 100 | 8.4 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11 | 100 | 4 | 54 | 25 | 0.94382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f20e9f6d1d122020a485534204ebe6424ac28122 | 176 | py | Python | suap_ead/auth/__init__.py | suap-ead/lib_suap_ead | 480027d2bd1682e6f707c0638155f53e19f0a225 | [
"MIT"
] | null | null | null | suap_ead/auth/__init__.py | suap-ead/lib_suap_ead | 480027d2bd1682e6f707c0638155f53e19f0a225 | [
"MIT"
] | 3 | 2020-10-02T16:47:06.000Z | 2021-11-04T00:55:30.000Z | suap_ead/auth/__init__.py | suap-ead/suap_ead | 480027d2bd1682e6f707c0638155f53e19f0a225 | [
"MIT"
] | null | null | null | # flake8: noqa: F401
from suap_ead.auth.drf import SecretDelegateAuthentication
from suap_ead.auth.jwt import suap_ead_user, PreExistentUserJwtBackend, CreateNewUserJwtBackend
| 44 | 95 | 0.869318 | 21 | 176 | 7.095238 | 0.666667 | 0.14094 | 0.147651 | 0.201342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.079545 | 176 | 3 | 96 | 58.666667 | 0.895062 | 0.102273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
4801fef96940aa9e1155bb41f5112ca5523685a7 | 117 | py | Python | clients/monitor.py | pondchamp/among_bots | d57eea79d0672aa596fcde6c58a0e636d04511ed | [
"Apache-2.0"
] | 4 | 2020-12-15T05:21:25.000Z | 2021-04-30T04:25:55.000Z | clients/monitor.py | pondchamp/among_bots | d57eea79d0672aa596fcde6c58a0e636d04511ed | [
"Apache-2.0"
] | null | null | null | clients/monitor.py | pondchamp/among_bots | d57eea79d0672aa596fcde6c58a0e636d04511ed | [
"Apache-2.0"
] | null | null | null | import win32gui as gui
def get_foreground_window() -> str:
return gui.GetWindowText(gui.GetForegroundWindow())
| 19.5 | 55 | 0.769231 | 14 | 117 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019802 | 0.136752 | 117 | 5 | 56 | 23.4 | 0.851485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 6 |
480770aaf5a7d6054243ec1db59360c07b77bfe8 | 15,030 | py | Python | azure-mgmt-web/azure/mgmt/web/operations/global_domain_registration_operations.py | CharaD7/azure-sdk-for-python | 9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c | [
"MIT"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/global_domain_registration_operations.py | CharaD7/azure-sdk-for-python | 9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c | [
"MIT"
] | null | null | null | azure-mgmt-web/azure/mgmt/web/operations/global_domain_registration_operations.py | CharaD7/azure-sdk-for-python | 9fdf0aac0cec8a15a5bb2a0ea27dd331dbfa2f5c | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 43.314121 | 144 | 0.658017 | 1,517 | 15,030 | 6.326961 | 0.12261 | 0.042717 | 0.025005 | 0.037508 | 0.772244 | 0.772244 | 0.772244 | 0.761513 | 0.734007 | 0.727026 | 0 | 0.003092 | 0.24684 | 15,030 | 346 | 145 | 43.439306 | 0.844788 | 0.247438 | 0 | 0.759777 | 0 | 0 | 0.151372 | 0.099926 | 0 | 0 | 0 | 0 | 0 | 1 | 0.044693 | false | 0 | 0.022346 | 0 | 0.139665 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
485159117d2ee89c294baba438cc06fe593f5cef | 24 | py | Python | env/base_world/__init__.py | intelligent-control-lab/Composable_Agent_Toolbox | 39d71cdc0475ae6901cb30b63d181737bea35889 | [
"MIT"
] | 4 | 2020-10-20T14:30:09.000Z | 2022-02-19T23:46:04.000Z | minecraft/world/__init__.py | AmyLucyRose/InfiniFuse | cb7a9adadabdcebece5620b36b937bd73ff74459 | [
"BSD-3-Clause"
] | null | null | null | minecraft/world/__init__.py | AmyLucyRose/InfiniFuse | cb7a9adadabdcebece5620b36b937bd73ff74459 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T10:46:38.000Z | 2022-03-12T10:46:38.000Z | from .world import World | 24 | 24 | 0.833333 | 4 | 24 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 24 | 1 | 24 | 24 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
48679074f2bf50ae09b8365429ffae094e512238 | 30 | py | Python | operation/forms.py | reBiocoder/bioforum | 08c8ff2f07ae667d37ce343f537e878d78ac8fe2 | [
"MIT"
] | 33 | 2018-09-16T15:31:53.000Z | 2021-02-16T06:27:43.000Z | operation/forms.py | reBiocoder/bioforum | 08c8ff2f07ae667d37ce343f537e878d78ac8fe2 | [
"MIT"
] | 1 | 2018-12-27T02:58:19.000Z | 2018-12-31T03:46:16.000Z | operation/forms.py | reBiocoder/bioforum | 08c8ff2f07ae667d37ce343f537e878d78ac8fe2 | [
"MIT"
] | 15 | 2018-10-12T08:52:14.000Z | 2020-09-30T03:22:37.000Z | from django import forms
| 7.5 | 27 | 0.7 | 4 | 30 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 30 | 3 | 28 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
486f3404926d4ac06205623be74cd1ba40be5802 | 2,270 | py | Python | tests/naif_pds4_bundler/utils/zz_slice_em16_release_04.py | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | tests/naif_pds4_bundler/utils/zz_slice_em16_release_04.py | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | tests/naif_pds4_bundler/utils/zz_slice_em16_release_04.py | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | """Private utility to slice INSIGHT data for the tests."""
from pds.naif_pds4_bundler.utils.zz_slicer import slice_kernels
def slice_em16_release_04():
"""Private utility to slice INSIGHT data for the tests."""
kernels_dir = "/Users/mcosta/pds/naif-pds4-bundler/tests/naif_pds4_bundler/" \
"d... | 42.037037 | 122 | 0.70793 | 374 | 2,270 | 3.997326 | 0.168449 | 0.12709 | 0.104348 | 0.056187 | 0.881605 | 0.862207 | 0.814716 | 0.78796 | 0.731104 | 0.673579 | 0 | 0.106688 | 0.170044 | 2,270 | 53 | 123 | 42.830189 | 0.686837 | 0.595154 | 0 | 0 | 0 | 0 | 0.465909 | 0.396591 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
6fd0052e8ee65941ac8eeabf291f193b363129b6 | 8,390 | py | Python | MovaviGenerator.py | kirill-pinigin/NeuralPhotoFilter | a28f136eca25958e1836994ee2d4dab08f7c2b9d | [
"MIT"
] | 1 | 2021-04-23T14:48:01.000Z | 2021-04-23T14:48:01.000Z | MovaviGenerator.py | kirill-pinigin/NeuralPhotoFilter | a28f136eca25958e1836994ee2d4dab08f7c2b9d | [
"MIT"
] | null | null | null | MovaviGenerator.py | kirill-pinigin/NeuralPhotoFilter | a28f136eca25958e1836994ee2d4dab08f7c2b9d | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
from NeuralBlocks import BaseBlock, ConvLayer, ResidualBlock, UpsampleDeConv
class MovaviGenerator(torch.nn.Module):
def __init__(self, dimension, deconv = UpsampleDeConv, activation = nn.LeakyReLU(), drop_out : float = 0.5):
super(MovaviGenerator, self).__init__()
... | 56.689189 | 198 | 0.639809 | 1,122 | 8,390 | 4.665775 | 0.066845 | 0.124355 | 0.088252 | 0.112321 | 0.855205 | 0.84107 | 0.836103 | 0.822541 | 0.801146 | 0.77001 | 0 | 0.093465 | 0.228486 | 8,390 | 147 | 199 | 57.07483 | 0.715279 | 0 | 0 | 0.546154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.069231 | false | 0 | 0.023077 | 0 | 0.161538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d2213cd48e9939dcccbe9e37bdecf9806d773db8 | 287 | py | Python | server/src/voodoo/gen/__init__.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | server/src/voodoo/gen/__init__.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | server/src/voodoo/gen/__init__.py | zstars/weblabdeusto | 09bd9d93d483671bca67ee5c70a9c412eb5d352f | [
"BSD-2-Clause"
] | null | null | null | from .parser import loads, load, load_dir
from .locator import Locator
from .address import CoordAddress
assert load is not None and loads is not None and load_dir is not None # Avoid pyflakes
assert Locator is not None # Avoid pyflakes
assert CoordAddress is not None # Avoid pyflakes
| 35.875 | 87 | 0.801394 | 47 | 287 | 4.851064 | 0.340426 | 0.109649 | 0.197368 | 0.184211 | 0.342105 | 0.245614 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170732 | 287 | 7 | 88 | 41 | 0.957983 | 0.15331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d23a96103d642d045b602e94f2cd328bbcd97c5e | 215 | py | Python | amocrm_asterisk_ng/scenario/impl/classic/functions/impl/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/scenario/impl/classic/functions/impl/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | amocrm_asterisk_ng/scenario/impl/classic/functions/impl/__init__.py | iqtek/amocrn_asterisk_ng | 429a8d0823b951c855a49c1d44ab0e05263c54dc | [
"MIT"
] | null | null | null | from .GetCallDirectionFunctionImpl import GetCallDirectionFunctionImpl
from .IsInternalNumberFunctionImpl import IsInternalNumberFunctionImpl
from .OriginationRequestCommandImpl import OriginationRequestCommandImpl
| 53.75 | 72 | 0.930233 | 12 | 215 | 16.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055814 | 215 | 3 | 73 | 71.666667 | 0.985222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d24adbcb381021323f3ebc66ece5cbed2ad4e150 | 121 | py | Python | declare_qtquick/widgets/api/qt3d/animation/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | 3 | 2021-11-02T03:45:27.000Z | 2022-03-27T05:33:36.000Z | declare_qtquick/widgets/api/qt3d/animation/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | declare_qtquick/widgets/api/qt3d/animation/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | from __declare_qtquick_internals__ import qml_imports
qml_imports.add("Qt3D.Animation")
from .__list__ import * # noqa
| 24.2 | 53 | 0.818182 | 16 | 121 | 5.4375 | 0.75 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.107438 | 121 | 4 | 54 | 30.25 | 0.796296 | 0.033058 | 0 | 0 | 0 | 0 | 0.121739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d260a1240aeb99730f143eafb3643e99560f7236 | 98 | py | Python | python-lib/dummy_module.py | dataiku/dss-plugin-digital-signal-processing | 3ec94e2b8ab805818da462fa5e8769705fd87cd6 | [
"Apache-2.0"
] | 6 | 2020-11-25T18:49:16.000Z | 2021-12-15T14:22:14.000Z | python-lib/dummy_module.py | dataiku/dss-plugin-digital-signal-processing | 3ec94e2b8ab805818da462fa5e8769705fd87cd6 | [
"Apache-2.0"
] | 4 | 2021-03-04T08:40:47.000Z | 2021-04-09T15:57:38.000Z | python-lib/dummy_module.py | dataiku/dss-plugin-digital-signal-processing | 3ec94e2b8ab805818da462fa5e8769705fd87cd6 | [
"Apache-2.0"
] | 1 | 2021-05-05T15:25:05.000Z | 2021-05-05T15:25:05.000Z | # -*- coding: utf-8 -*-
DUMMY_CONSTANT = "foo"
def dummy_function():
return DUMMY_CONSTANT
| 12.25 | 25 | 0.653061 | 12 | 98 | 5.083333 | 0.75 | 0.42623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.193878 | 98 | 7 | 26 | 14 | 0.759494 | 0.214286 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d27d0145c1ec9831a1389718ad4bce851586ea61 | 134,056 | py | Python | rest_serverV4.py | leandrou-technology-forward/ganimides_api_server | 8787927e2cf7568a070c1c65294ee76d89177908 | [
"MIT"
] | null | null | null | rest_serverV4.py | leandrou-technology-forward/ganimides_api_server | 8787927e2cf7568a070c1c65294ee76d89177908 | [
"MIT"
] | 1 | 2021-06-02T00:36:03.000Z | 2021-06-02T00:36:03.000Z | rest_serverV4.py | leandrou-technology-forward/ganimides_api_server | 8787927e2cf7568a070c1c65294ee76d89177908 | [
"MIT"
] | null | null | null | #@@@@@# -*- coding: utf-8 -*-
#!flask/bin/python
#@@@@@# -*- coding: utf-8 -*-
import os
import sys
if not (os.path.dirname(__file__) in sys.path): sys.path.append(os.path.dirname(__file__))
#print(sys.path)
import datetime
import secrets
import requests
import random
import time
from flask import Flask, jsonify, ab... | 55.099055 | 267 | 0.558774 | 13,182 | 134,056 | 5.405629 | 0.049689 | 0.023015 | 0.031997 | 0.037975 | 0.821561 | 0.796034 | 0.775026 | 0.747618 | 0.709165 | 0.685673 | 0 | 0.006783 | 0.135615 | 134,056 | 2,433 | 268 | 55.099055 | 0.608159 | 0.238132 | 0 | 0.607454 | 0 | 0.004758 | 0.206147 | 0.077138 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.001586 | 0.014274 | 0.001586 | 0.23632 | 0.011895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
96485ecb49973558c0c0e49e6836a02e14d3bd8c | 9,335 | py | Python | ckanext/example_igroupform/tests/test_controllers.py | Datatourisme/DATAtourisme.ma | 82c3f12ae93cd694fb8c064ea5d1eef4e3a3a21d | [
"Apache-2.0"
] | 58 | 2015-01-11T09:05:15.000Z | 2022-03-17T23:44:07.000Z | ckanext/example_igroupform/tests/test_controllers.py | Datatourisme/DATAtourisme.ma | 82c3f12ae93cd694fb8c064ea5d1eef4e3a3a21d | [
"Apache-2.0"
] | 1,467 | 2015-01-01T16:47:44.000Z | 2022-02-28T16:51:20.000Z | ckanext/example_igroupform/tests/test_controllers.py | Datatourisme/DATAtourisme.ma | 82c3f12ae93cd694fb8c064ea5d1eef4e3a3a21d | [
"Apache-2.0"
] | 17 | 2015-05-06T14:04:21.000Z | 2021-11-11T19:58:16.000Z | # encoding: utf-8
import pytest
import six
import bs4
from ckan.lib.helpers import url_for
import ckan.tests.helpers as helpers
import ckan.model as model
from ckan.tests import factories
custom_group_type = u"grup"
group_type = u"group"
def _get_group_new_page(app, group_type):
user = factories.User()
env... | 37.793522 | 79 | 0.652384 | 1,196 | 9,335 | 4.843645 | 0.119565 | 0.066805 | 0.072501 | 0.060418 | 0.864492 | 0.847229 | 0.824271 | 0.788193 | 0.776454 | 0.776454 | 0 | 0.002604 | 0.218318 | 9,335 | 246 | 80 | 37.947154 | 0.791284 | 0.027209 | 0 | 0.616162 | 0 | 0 | 0.163943 | 0.040958 | 0 | 0 | 0 | 0 | 0.126263 | 1 | 0.106061 | false | 0 | 0.035354 | 0 | 0.186869 | 0.005051 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9674e3dfc10381b470a24fa4486fb278a03decac | 2,969 | py | Python | test/exploits/hashes/collisions/test_adler32.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 107 | 2018-05-03T16:53:01.000Z | 2022-02-23T14:47:20.000Z | test/exploits/hashes/collisions/test_adler32.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 7 | 2019-04-28T00:41:35.000Z | 2021-05-04T20:35:54.000Z | test/exploits/hashes/collisions/test_adler32.py | drjerry/acsploit | fbe07fb0eb651e3c5fc27a0dbdfcd0ec4c674381 | [
"BSD-3-Clause"
] | 16 | 2019-03-29T12:39:16.000Z | 2021-03-03T11:09:45.000Z | import pytest
from exploits.hashes.collisions import adler32
from test.exploits.dummy_output import DummyOutput
def adler32_hash(bytes, hash_table_size):
v1 = 1
v2 = 0
for byte in bytes:
v1 = (v1 + ord(byte)) % 65521
v2 = (v2 + v1) % 65521
return (v2 * 65536 + v1) % hash_table_size
d... | 29.69 | 88 | 0.667565 | 376 | 2,969 | 5.050532 | 0.138298 | 0.184308 | 0.150606 | 0.073723 | 0.768299 | 0.768299 | 0.756187 | 0.74039 | 0.74039 | 0.74039 | 0 | 0.059483 | 0.218592 | 2,969 | 99 | 89 | 29.989899 | 0.759052 | 0 | 0 | 0.701149 | 0 | 0 | 0.097676 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 1 | 0.068966 | false | 0 | 0.034483 | 0 | 0.114943 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.