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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6f9953500751c1afe2795b372074fdf6be1318e | 91 | py | Python | EOC/prototype/loss_functions/__init__.py | double-fire-0/SystemNoise | ab042dd54371482a18117eb13f816a7472e51590 | [
"Apache-2.0"
] | 8 | 2021-10-18T05:11:55.000Z | 2021-11-10T11:54:13.000Z | EOC/prototype/loss_functions/__init__.py | double-fire-0/SystemNoise | ab042dd54371482a18117eb13f816a7472e51590 | [
"Apache-2.0"
] | null | null | null | EOC/prototype/loss_functions/__init__.py | double-fire-0/SystemNoise | ab042dd54371482a18117eb13f816a7472e51590 | [
"Apache-2.0"
] | 1 | 2021-09-10T03:17:19.000Z | 2021-09-10T03:17:19.000Z | from .loss import LabelSmoothCELoss # noqa F401
from .nt_xent import NT_Xent # noqa F401
| 30.333333 | 48 | 0.78022 | 14 | 91 | 4.928571 | 0.571429 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.175824 | 91 | 2 | 49 | 45.5 | 0.84 | 0.208791 | 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 |
ba39a5b8a58477f6b2a404793ad4f77cd7b5b031 | 467 | py | Python | lib/log.py | Snapkitchen/concourse-cfssl-resources | 6faea341430a16cc37b920b46160d2e3ca3c5f8e | [
"MIT"
] | 1 | 2018-10-29T21:49:19.000Z | 2018-10-29T21:49:19.000Z | lib/log.py | Snapkitchen/concourse-cfssl-resources | 6faea341430a16cc37b920b46160d2e3ca3c5f8e | [
"MIT"
] | null | null | null | lib/log.py | Snapkitchen/concourse-cfssl-resources | 6faea341430a16cc37b920b46160d2e3ca3c5f8e | [
"MIT"
] | null | null | null | # stdlib
import sys
from typing import Any
# =============================================================================
#
# functions
#
# =============================================================================
# =============================================================================
# log
# ==========... | 25.944444 | 79 | 0.211991 | 21 | 467 | 4.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08137 | 467 | 17 | 80 | 27.470588 | 0.230769 | 0.710921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ba857798896a66e7e5ee232e771ed9b06bf4e8d4 | 132 | py | Python | azure-iot-device/azure/iot/device/provisioning/internal/__init__.py | necoh/azure-iot-sdk-python-preview | c17eccee9041d197e21c2f2df28b99014133960b | [
"MIT"
] | 35 | 2018-12-01T05:42:30.000Z | 2021-03-10T12:23:41.000Z | azure-iot-device/azure/iot/device/provisioning/internal/__init__.py | necoh/azure-iot-sdk-python-preview | c17eccee9041d197e21c2f2df28b99014133960b | [
"MIT"
] | 81 | 2018-11-20T20:01:43.000Z | 2019-09-06T23:57:17.000Z | azure-iot-device/azure/iot/device/provisioning/internal/__init__.py | necoh/azure-iot-sdk-python-preview | c17eccee9041d197e21c2f2df28b99014133960b | [
"MIT"
] | 18 | 2019-03-19T18:53:43.000Z | 2021-01-10T09:47:24.000Z | """Azure Provisioning Device Internal
This package provides internal classes for use within the Azure Provisioning Device SDK.
"""
| 26.4 | 88 | 0.80303 | 17 | 132 | 6.235294 | 0.764706 | 0.320755 | 0.433962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143939 | 132 | 4 | 89 | 33 | 0.938053 | 0.939394 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ba9b20eaabc28279597c2743f1b99c6b95ee61ea | 9,622 | py | Python | loss.py | mangye16/DDAG | 0c348d3da9897a0b6568701081d2a7b82211ecf4 | [
"MIT"
] | 59 | 2020-07-14T13:39:38.000Z | 2022-02-27T10:12:20.000Z | loss.py | mangye16/DDAG | 0c348d3da9897a0b6568701081d2a7b82211ecf4 | [
"MIT"
] | 8 | 2020-08-28T02:53:41.000Z | 2021-08-19T08:26:16.000Z | loss.py | mangye16/DDAG | 0c348d3da9897a0b6568701081d2a7b82211ecf4 | [
"MIT"
] | 9 | 2020-10-01T23:35:02.000Z | 2022-02-27T08:56:21.000Z | import torch
import numpy as np
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd.function import Function
from torch.autograd import Variable
class KLLoss(nn.Module):
def __init__(self):
super(KLLoss, self).__init__()
def forward(self, pred, label):
# pred: 2D matrix (b... | 37.585938 | 97 | 0.609852 | 1,318 | 9,622 | 4.312595 | 0.137329 | 0.029557 | 0.014075 | 0.01689 | 0.802428 | 0.78765 | 0.769704 | 0.765306 | 0.740324 | 0.716925 | 0 | 0.026301 | 0.268967 | 9,622 | 256 | 98 | 37.585938 | 0.781774 | 0.310434 | 0 | 0.621212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.045455 | 0 | 0.227273 | 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 |
ba9e72b05ae093943e3a25ceb4ae8b78c6a219a3 | 422 | py | Python | users/utils.py | amjadcp/bookingLine-grpA-miniProject | f57fc06f85edfb08f9c170757fddbf7b6de6f35a | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | users/utils.py | amjadcp/bookingLine-grpA-miniProject | f57fc06f85edfb08f9c170757fddbf7b6de6f35a | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | users/utils.py | amjadcp/bookingLine-grpA-miniProject | f57fc06f85edfb08f9c170757fddbf7b6de6f35a | [
"PostgreSQL",
"Unlicense",
"MIT"
] | null | null | null | def get_pic_upload_to(instance, filename):
return "static/profile/{}/pic/{}".format(instance.user, filename)
def get_aadhar_upload_to(instance, filename):
instance.filename = filename
return "static/profile/{}/aadhar/{}".format(instance.user, filename)
def get_passbook_upload_to(instance, filename):
i... | 42.2 | 74 | 0.748815 | 51 | 422 | 6.019608 | 0.27451 | 0.260586 | 0.156352 | 0.234528 | 0.644951 | 0.644951 | 0.436482 | 0.436482 | 0.436482 | 0.436482 | 0 | 0 | 0.106635 | 422 | 10 | 74 | 42.2 | 0.814324 | 0 | 0 | 0.25 | 0 | 0 | 0.189125 | 0.189125 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.25 | 0 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
bab28491017f0f3a98c7d8d096e4688aa802369e | 9,241 | py | Python | datashader/tests/test_quadmesh.py | tomwhite/datashader | 569520dc47493591ebdd058ab552e305420ac527 | [
"BSD-3-Clause"
] | null | null | null | datashader/tests/test_quadmesh.py | tomwhite/datashader | 569520dc47493591ebdd058ab552e305420ac527 | [
"BSD-3-Clause"
] | null | null | null | datashader/tests/test_quadmesh.py | tomwhite/datashader | 569520dc47493591ebdd058ab552e305420ac527 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import absolute_import
import numpy as np
from numpy import nan
import xarray as xr
import datashader as ds
import pytest
from collections import OrderedDict
from datashader.tests.test_pandas import assert_eq_xr
array_modules = [np]
try:
import cupy
array_modules.append(cupy)
except ImportErro... | 28.788162 | 101 | 0.475923 | 1,377 | 9,241 | 3.068991 | 0.071895 | 0.089446 | 0.112873 | 0.13062 | 0.882631 | 0.876242 | 0.858968 | 0.823 | 0.796498 | 0.779697 | 0 | 0.066884 | 0.304296 | 9,241 | 321 | 102 | 28.788162 | 0.59045 | 0.014609 | 0 | 0.64 | 0 | 0 | 0.03274 | 0 | 0 | 0 | 0 | 0 | 0.061818 | 1 | 0.029091 | false | 0 | 0.036364 | 0 | 0.065455 | 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 |
79eaab8cfcafcb4b804f5b282d827ec710de3182 | 6,562 | py | Python | pyproxy/pyproxy/coder_client.py | dburihabwa/recast | f7adbc344e174f48a919a651df54945ec9672201 | [
"MIT"
] | null | null | null | pyproxy/pyproxy/coder_client.py | dburihabwa/recast | f7adbc344e174f48a919a651df54945ec9672201 | [
"MIT"
] | 1 | 2020-11-08T20:21:13.000Z | 2020-11-08T20:21:13.000Z | pyproxy/pyproxy/coder_client.py | dburihabwa/recast | f7adbc344e174f48a919a651df54945ec9672201 | [
"MIT"
] | 3 | 2018-05-24T14:40:54.000Z | 2021-07-10T17:54:26.000Z | """
Client implementation and util functions to interact with EncoderDecoder service
"""
#TODO: Move encode and decode calls to the CoderClient class
import grpc
from pyproxy.playcloud_pb2 import DecodeRequest, EncodeRequest, File, FragmentsNeededRequest, ReconstructRequest, Strip
import pyproxy.coder.coding_servicer... | 37.930636 | 119 | 0.639134 | 756 | 6,562 | 5.395503 | 0.167989 | 0.082373 | 0.026477 | 0.029419 | 0.815151 | 0.808532 | 0.782545 | 0.776171 | 0.776171 | 0.749694 | 0 | 0.006832 | 0.286193 | 6,562 | 172 | 120 | 38.151163 | 0.864005 | 0.30128 | 0 | 0.682927 | 0 | 0 | 0.054627 | 0.014717 | 0 | 0 | 0 | 0.005814 | 0 | 1 | 0.121951 | false | 0 | 0.04878 | 0 | 0.317073 | 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 |
0322fae7c65d9a070b08e5dfca371579c9afdb9f | 46 | py | Python | syncify/__init__.py | carlba/syncify | c8dfea9ca886c83fb11e1393b613276c67427cfe | [
"MIT"
] | 1 | 2020-02-26T14:44:23.000Z | 2020-02-26T14:44:23.000Z | syncify/__init__.py | carlba/syncify | c8dfea9ca886c83fb11e1393b613276c67427cfe | [
"MIT"
] | 5 | 2019-10-04T12:33:57.000Z | 2020-03-27T23:19:33.000Z | syncify/__init__.py | carlba/syncify | c8dfea9ca886c83fb11e1393b613276c67427cfe | [
"MIT"
] | null | null | null | # coding=utf-8
from .core import store, load
| 11.5 | 29 | 0.717391 | 8 | 46 | 4.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 46 | 3 | 30 | 15.333333 | 0.842105 | 0.26087 | 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 |
03600cad7ea393df549e3cd23fa546ed3ee2efe4 | 37 | py | Python | qfitswidget/__init__.py | thusser/qfitswidget | e53c4fcb2d80cc1d8e362d8998f716219f2715c8 | [
"MIT"
] | 1 | 2019-05-13T21:40:05.000Z | 2019-05-13T21:40:05.000Z | qfitswidget/__init__.py | thusser/qfitsview | e53c4fcb2d80cc1d8e362d8998f716219f2715c8 | [
"MIT"
] | 1 | 2021-02-05T19:09:09.000Z | 2021-02-05T19:31:09.000Z | qfitswidget/__init__.py | thusser/qfitswidget | e53c4fcb2d80cc1d8e362d8998f716219f2715c8 | [
"MIT"
] | null | null | null | from .qfitswidget import QFitsWidget
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 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 |
3019de2f32c5e597ab7cca896bab05d4657bfe89 | 122 | py | Python | Lista 11/URI - 2786.py | Brenda-Werneck/Listas-CCF110 | 271b0930e6cce1aaa279f81378205c5b2d3fa0b6 | [
"MIT"
] | null | null | null | Lista 11/URI - 2786.py | Brenda-Werneck/Listas-CCF110 | 271b0930e6cce1aaa279f81378205c5b2d3fa0b6 | [
"MIT"
] | null | null | null | Lista 11/URI - 2786.py | Brenda-Werneck/Listas-CCF110 | 271b0930e6cce1aaa279f81378205c5b2d3fa0b6 | [
"MIT"
] | 1 | 2021-10-10T15:33:05.000Z | 2021-10-10T15:33:05.000Z | L = int(input())
C = int(input())
t2 = (((L - 1) + (C - 1)) * 2)
t1 = (L * C) + ((L - 1) * (C - 1))
print(f"{t1}\n{t2}") | 17.428571 | 34 | 0.360656 | 24 | 122 | 1.833333 | 0.458333 | 0.363636 | 0.136364 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0.262295 | 122 | 7 | 35 | 17.428571 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0.081301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 1 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
306497d97b54c1d2b694ebfd3bdc0f6af89c9a80 | 47 | py | Python | code/Python/helloWorld.py | foxbit19/Hello-World | 4ae6ad8618441c802afa302d81e46025fcb20a72 | [
"MIT"
] | 63 | 2019-09-30T16:16:19.000Z | 2021-06-17T17:23:06.000Z | code/Python/helloWorld.py | foxbit19/Hello-World | 4ae6ad8618441c802afa302d81e46025fcb20a72 | [
"MIT"
] | 242 | 2019-09-30T14:07:06.000Z | 2020-10-01T13:52:13.000Z | code/Python/helloWorld.py | foxbit19/Hello-World | 4ae6ad8618441c802afa302d81e46025fcb20a72 | [
"MIT"
] | 743 | 2019-09-30T13:58:42.000Z | 2021-12-29T21:58:28.000Z | # Prints "Hello World!"
print("Hello World!")
| 11.75 | 23 | 0.659574 | 6 | 47 | 5.166667 | 0.666667 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 47 | 3 | 24 | 15.666667 | 0.775 | 0.446809 | 0 | 0 | 0 | 0 | 0.5 | 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 |
307c78460f8c71a15f7a8476735c076aeb9d6cf4 | 4,176 | py | Python | 2020/12/part2.py | harnoldhouse-kmacewicz/adventofcode | b2d40f7b20f12a469a0eb43fc0f7a06e7d69be19 | [
"Apache-2.0"
] | null | null | null | 2020/12/part2.py | harnoldhouse-kmacewicz/adventofcode | b2d40f7b20f12a469a0eb43fc0f7a06e7d69be19 | [
"Apache-2.0"
] | null | null | null | 2020/12/part2.py | harnoldhouse-kmacewicz/adventofcode | b2d40f7b20f12a469a0eb43fc0f7a06e7d69be19 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
import re, sys
result = {
"N": 0,
"S": 0,
"E": 0,
"W": 0
}
direction = {
"N": 0,
"E": 90,
"S": 180,
"W": 270
}
direction_reverse = {
0: "N",
90: "E",
180: "S",
270: "W"
}
waypoint_position = {
"N": 1,
"E": 10,
"S": 0,
"W": 0
}
def ... | 43.051546 | 101 | 0.653017 | 494 | 4,176 | 5.220648 | 0.111336 | 0.294688 | 0.125242 | 0.04653 | 0.732842 | 0.717332 | 0.710353 | 0.710353 | 0.710353 | 0.621946 | 0 | 0.028302 | 0.213123 | 4,176 | 97 | 102 | 43.051546 | 0.756543 | 0.004071 | 0 | 0.348837 | 0 | 0 | 0.023804 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011628 | false | 0 | 0.011628 | 0 | 0.034884 | 0.011628 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0648a2d4d99783f4260d6e383bb0e1de4884ba57 | 102 | py | Python | spin/signals.py | DominikZabron/spin | d4c00d89eb1e569705dacb90c3f11f4960f198d3 | [
"MIT"
] | null | null | null | spin/signals.py | DominikZabron/spin | d4c00d89eb1e569705dacb90c3f11f4960f198d3 | [
"MIT"
] | null | null | null | spin/signals.py | DominikZabron/spin | d4c00d89eb1e569705dacb90c3f11f4960f198d3 | [
"MIT"
] | null | null | null | from bonuses import login_bonus
def apply_login_bonus(sender, user, **extra):
login_bonus(user)
| 17 | 45 | 0.764706 | 15 | 102 | 4.933333 | 0.666667 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 46 | 20.4 | 0.850575 | 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 |
0681db4d1d933546b70c03a3e9353c460858bc91 | 77,354 | py | Python | leases/tests/test_lease_mutations.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 3 | 2020-10-13T07:58:48.000Z | 2020-12-22T09:41:50.000Z | leases/tests/test_lease_mutations.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 422 | 2018-10-25T10:57:05.000Z | 2022-03-30T05:47:14.000Z | leases/tests/test_lease_mutations.py | City-of-Helsinki/berth-reservations | a3b1a8c2176f132505527acdf6da3a62199401db | [
"MIT"
] | 1 | 2020-04-03T07:38:03.000Z | 2020-04-03T07:38:03.000Z | import uuid
from random import randint
from unittest import mock
import pytest
from babel.dates import format_date
from dateutil.relativedelta import relativedelta
from dateutil.utils import today
from django.core import mail
from freezegun import freeze_time
from applications.enums import ApplicationStatus
from appl... | 31.663528 | 101 | 0.681581 | 8,219 | 77,354 | 6.086994 | 0.041611 | 0.060545 | 0.031981 | 0.021587 | 0.916628 | 0.8973 | 0.88007 | 0.851146 | 0.829559 | 0.808631 | 0 | 0.010635 | 0.211082 | 77,354 | 2,442 | 102 | 31.676495 | 0.809163 | 0.001461 | 0 | 0.672457 | 0 | 0 | 0.20921 | 0.033054 | 0 | 0 | 0 | 0 | 0.089826 | 1 | 0.036228 | false | 0 | 0.016873 | 0 | 0.053102 | 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 |
06a5a6e8db1e65af62865ef4e03a130ac9c88129 | 158 | py | Python | privacy_analytics/tasks.py | s0i/django-privacy-analytics | 4617742876956e8d2f8d6b8ca15496251868c530 | [
"Apache-2.0"
] | 7 | 2019-09-27T01:24:50.000Z | 2021-07-28T01:50:52.000Z | privacy_analytics/tasks.py | milesmcc/django-privacy-analytics | f1de9f69a432e0dc2a53fa1d79a87ab8db1ef38a | [
"Apache-2.0"
] | 5 | 2020-05-11T00:48:46.000Z | 2022-01-06T22:56:12.000Z | privacy_analytics/tasks.py | s0i/django-privacy-analytics | 4617742876956e8d2f8d6b8ca15496251868c530 | [
"Apache-2.0"
] | 1 | 2020-05-08T14:10:26.000Z | 2020-05-08T14:10:26.000Z | from celery import shared_task
from .models import PageView
@shared_task
def pageview_add_task(**request):
return PageView.create_for_request(**request) | 22.571429 | 49 | 0.810127 | 22 | 158 | 5.545455 | 0.590909 | 0.163934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 158 | 7 | 49 | 22.571429 | 0.871429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
23043d51551376efa6c4d81a36b6d82757ec8050 | 147 | py | Python | logs/admin.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 3 | 2020-04-26T06:28:50.000Z | 2021-04-05T08:02:26.000Z | logs/admin.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 10 | 2020-06-05T17:36:10.000Z | 2022-03-11T23:16:42.000Z | logs/admin.py | CMU-TRP/podd-api | 6eb5c4598f848f75d131287163cd9babf2a0a0fc | [
"MIT"
] | 5 | 2021-04-08T08:43:49.000Z | 2021-11-27T06:36:46.000Z |
from django.contrib import admin
from logs.models import LogAction
@admin.register(LogAction)
class LogActionAdmin(admin.ModelAdmin):
pass
| 14.7 | 39 | 0.795918 | 18 | 147 | 6.5 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 9 | 40 | 16.333333 | 0.92126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
23061e7e1d621c331e6d0cb9b07afceedfa16477 | 196 | py | Python | 2018-01/2018-01-23/test/test.py | wenjuanchendora/Python_Study | 02d08229210602edf4e1fa96fd7167356275e316 | [
"MIT"
] | null | null | null | 2018-01/2018-01-23/test/test.py | wenjuanchendora/Python_Study | 02d08229210602edf4e1fa96fd7167356275e316 | [
"MIT"
] | null | null | null | 2018-01/2018-01-23/test/test.py | wenjuanchendora/Python_Study | 02d08229210602edf4e1fa96fd7167356275e316 | [
"MIT"
] | null | null | null | # import animal.animal
import sys
sys.path.append("D:\\Auto_Test\\Python_Practice\\Python_Study\\2018-01\\2018-01-23")
# print(sys.path)
from animal.animal import run
# animal.animal.run()
run() | 21.777778 | 84 | 0.744898 | 32 | 196 | 4.46875 | 0.53125 | 0.251748 | 0.251748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077778 | 0.081633 | 196 | 9 | 85 | 21.777778 | 0.716667 | 0.285714 | 0 | 0 | 0 | 0 | 0.474453 | 0.474453 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
231557ff841dc71f8b7539d9ac58366d4c8e0e94 | 45,807 | py | Python | SmartDiff/solvers/element_op.py | SmartDiff/cs107-FinalProject | 1d5bcdc842e67edbb6b38537c50a1b8b7ea08b84 | [
"MIT"
] | 1 | 2020-11-20T04:25:25.000Z | 2020-11-20T04:25:25.000Z | SmartDiff/solvers/element_op.py | SmartDiff/cs107-FinalProject | 1d5bcdc842e67edbb6b38537c50a1b8b7ea08b84 | [
"MIT"
] | 2 | 2020-12-12T12:22:50.000Z | 2020-12-12T16:42:18.000Z | SmartDiff/solvers/element_op.py | SmartDiff/cs107-FinalProject | 1d5bcdc842e67edbb6b38537c50a1b8b7ea08b84 | [
"MIT"
] | 1 | 2020-11-19T23:41:57.000Z | 2020-11-19T23:41:57.000Z |
import numpy as np
from sympy import bell, binomial, symbols
from math import factorial
# Here contains the derivative calculation of elementary operations
# If the input 'x' is a scalar number, it will return the value of such operation evaluated at 'x',
# which is directly applied the operation.
# If the input is a... | 31.899025 | 120 | 0.523763 | 6,446 | 45,807 | 3.649085 | 0.050109 | 0.083326 | 0.044894 | 0.024658 | 0.818595 | 0.787688 | 0.769067 | 0.755208 | 0.720134 | 0.702491 | 0 | 0.034474 | 0.345842 | 45,807 | 1,435 | 121 | 31.921254 | 0.750509 | 0.468335 | 0 | 0.624339 | 0 | 0 | 0.045902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.079365 | false | 0 | 0.005291 | 0 | 0.199295 | 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 |
2358c654e9196546672b261e7b1d31c45ccc71ec | 100 | py | Python | functions.py | ankydv/Dice-Simulator | 17bd0ff32954783e978ab57d606503a19ee0f5ef | [
"MIT"
] | 1 | 2021-12-25T14:51:05.000Z | 2021-12-25T14:51:05.000Z | functions.py | ankydv/Dice-Simulator | 17bd0ff32954783e978ab57d606503a19ee0f5ef | [
"MIT"
] | 1 | 2021-12-26T08:30:39.000Z | 2021-12-26T08:30:39.000Z | functions.py | ankydv/Dice-Simulator | 17bd0ff32954783e978ab57d606503a19ee0f5ef | [
"MIT"
] | 1 | 2021-12-26T07:04:34.000Z | 2021-12-26T07:04:34.000Z | import webbrowser
def visitRepo():
webbrowser.open("https://github.com/ankydv/Dice-Simulator")
| 20 | 63 | 0.75 | 12 | 100 | 6.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 100 | 4 | 64 | 25 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
88ec567ecd9a432f4018426f13bfe15d4232cf66 | 274 | py | Python | python_village/strings_and_lists.py | Birdacious/rosalind-bioinformatics | f4f25cf29ab80088be638b8e5df3be4af79f283f | [
"MIT"
] | null | null | null | python_village/strings_and_lists.py | Birdacious/rosalind-bioinformatics | f4f25cf29ab80088be638b8e5df3be4af79f283f | [
"MIT"
] | null | null | null | python_village/strings_and_lists.py | Birdacious/rosalind-bioinformatics | f4f25cf29ab80088be638b8e5df3be4af79f283f | [
"MIT"
] | null | null | null | s = "kBNCR9joiFtdAv19AhJ0mHVKassinaPSifCT5bnIrindoudUarwnZxwclalDWjgYudhVD5Sf3Z7looEZCuKQaBIAYTEKn0kQnm2rbwp3KLYsemipalmatusENYyIr6BvCNbuYXeDPFh49tBZQg2Hhw7QrPrAVpyo4RMRRIulZUMBhVNnK1kHFdFM3wxVsvBo3Kq6."
a = 23
b = 29
c = 107
d = 118
print (s[a:b + 1] + " " + s[c:d + 1])
| 30.444444 | 203 | 0.817518 | 19 | 274 | 11.789474 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134146 | 0.10219 | 274 | 8 | 204 | 34.25 | 0.776423 | 0 | 0 | 0 | 0 | 0 | 0.722628 | 0.718978 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
00163e5ed4c59443591d2e342ae0a189033f91e1 | 30 | py | Python | pynuit/widgets.py | louisdevie/pynuit | 4add2277529be8f577457202da6146f722c03caf | [
"MIT"
] | null | null | null | pynuit/widgets.py | louisdevie/pynuit | 4add2277529be8f577457202da6146f722c03caf | [
"MIT"
] | null | null | null | pynuit/widgets.py | louisdevie/pynuit | 4add2277529be8f577457202da6146f722c03caf | [
"MIT"
] | null | null | null | from ._minuit_py import Label
| 15 | 29 | 0.833333 | 5 | 30 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.884615 | 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 |
cc588565a90a8b0e00a161fdc1eddc39812b8883 | 135 | py | Python | blinka/__main__.py | bcr/blinka-cli | 22f97b1bdb85525bfa56f56ca815539733891103 | [
"MIT"
] | 2 | 2020-11-21T12:44:42.000Z | 2020-11-21T13:32:33.000Z | blinka/__main__.py | bcr/blinka-cli | 22f97b1bdb85525bfa56f56ca815539733891103 | [
"MIT"
] | 11 | 2020-11-21T16:34:30.000Z | 2021-09-08T13:31:33.000Z | blinka/__main__.py | bcr/blinka-cli | 22f97b1bdb85525bfa56f56ca815539733891103 | [
"MIT"
] | 1 | 2020-11-21T14:01:33.000Z | 2020-11-21T14:01:33.000Z | import blinka.blinka
import sys
def main(args=None):
return blinka.blinka.main()
if __name__ == "__main__":
sys.exit(main())
| 15 | 31 | 0.688889 | 19 | 135 | 4.473684 | 0.578947 | 0.282353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17037 | 135 | 8 | 32 | 16.875 | 0.758929 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
cc8d4ebd14b7e6dcee521cc9d7279258f4d7ba58 | 241 | py | Python | unipy/stats/api.py | pydemia/unipy | 804dd0d8e717aba2544092c5532235a5a3a38e9d | [
"MIT"
] | 1 | 2017-01-10T14:55:49.000Z | 2017-01-10T14:55:49.000Z | unipy/stats/api.py | LogSigma/unipy | 57eba620795eefba6b97ad4e3cd3e56c35912f2a | [
"MIT"
] | null | null | null | unipy/stats/api.py | LogSigma/unipy | 57eba620795eefba6b97ad4e3cd3e56c35912f2a | [
"MIT"
] | 2 | 2019-09-20T15:25:01.000Z | 2021-02-27T02:47:08.000Z | # -*- coding: utf-8 -*-
"""
Created on Sun Jan 8 03:46:03 2017
@author: Young Ju Kim
"""
from unipy.stats.formula import *
from unipy.stats.hypo_test import *
from unipy.stats.feature_selection import *
from unipy.stats.metrics import *
| 18.538462 | 43 | 0.713693 | 38 | 241 | 4.473684 | 0.631579 | 0.211765 | 0.329412 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059113 | 0.157676 | 241 | 12 | 44 | 20.083333 | 0.778325 | 0.3361 | 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 |
aea1b7a7dca6b4bf15987f2bfbc2e06186d83e7c | 28 | py | Python | backend/apis/family_group/views/__init__.py | sango09/senasoft | d7e5b0fae620764b3af73955f7771dcee5746dfc | [
"MIT"
] | 1 | 2020-10-17T03:39:56.000Z | 2020-10-17T03:39:56.000Z | backend/apis/family_group/views/__init__.py | sango09/senasoft | d7e5b0fae620764b3af73955f7771dcee5746dfc | [
"MIT"
] | null | null | null | backend/apis/family_group/views/__init__.py | sango09/senasoft | d7e5b0fae620764b3af73955f7771dcee5746dfc | [
"MIT"
] | null | null | null | from .family_group import *
| 14 | 27 | 0.785714 | 4 | 28 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.875 | 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 |
aec2ed7337e44850322df77bcb57b97f68b64a80 | 154 | py | Python | pacotes/pacote_v3.py | C3As/COD3R-Curso-Python | 13e778108388e290da433db991838c307750a337 | [
"MIT"
] | null | null | null | pacotes/pacote_v3.py | C3As/COD3R-Curso-Python | 13e778108388e290da433db991838c307750a337 | [
"MIT"
] | null | null | null | pacotes/pacote_v3.py | C3As/COD3R-Curso-Python | 13e778108388e290da433db991838c307750a337 | [
"MIT"
] | null | null | null | from pacote1 import modulo1
from pacote2 import modulo1 as modulo1_sub
print('Soma', modulo1.soma(3, 2))
print('Subtração', modulo1_sub.subtracao(3, 2))
| 25.666667 | 47 | 0.772727 | 24 | 154 | 4.875 | 0.541667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080292 | 0.11039 | 154 | 5 | 48 | 30.8 | 0.773723 | 0 | 0 | 0 | 0 | 0 | 0.084416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
aecb24dab4501218e03eb5b91d156ef093d3efc4 | 828 | py | Python | client_apis/python/openapi_client/api/__init__.py | alikins/galaxy-api-swaggerhub | 5d6d4070cd6964c6d6217cad6743de89cf4eac24 | [
"MIT"
] | null | null | null | client_apis/python/openapi_client/api/__init__.py | alikins/galaxy-api-swaggerhub | 5d6d4070cd6964c6d6217cad6743de89cf4eac24 | [
"MIT"
] | 3 | 2020-07-17T10:18:45.000Z | 2022-01-22T05:24:05.000Z | client_apis/python/openapi_client/api/__init__.py | alikins/galaxy-api-swaggerhub | 5d6d4070cd6964c6d6217cad6743de89cf4eac24 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
# flake8: noqa
# import apis into api package
from openapi_client.api.client_mazer_api import ClientMazerApi
from openapi_client.api.collection_imports_api import CollectionImportsApi
from openapi_client.api.collection_versions_api import CollectionVersionsApi
from openapi_clien... | 43.578947 | 76 | 0.884058 | 119 | 828 | 5.865546 | 0.327731 | 0.204871 | 0.316619 | 0.372493 | 0.08596 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00657 | 0.080918 | 828 | 18 | 77 | 46 | 0.910644 | 0.049517 | 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 |
aed84aa0f64d04a33d26d834660ce9850f08e3df | 155 | py | Python | crawler/house_renting/proxies.py | bernssolg/house-renting-master | da1d882a6d1cde26a3bd7aa934f43165460daeae | [
"Apache-2.0"
] | 823 | 2018-05-13T15:47:32.000Z | 2022-03-26T06:09:18.000Z | crawler/house_renting/proxies.py | bernssolg/house-renting-master | da1d882a6d1cde26a3bd7aa934f43165460daeae | [
"Apache-2.0"
] | 27 | 2018-05-20T03:26:28.000Z | 2020-11-24T07:00:49.000Z | crawler/house_renting/proxies.py | bernssolg/house-renting-master | da1d882a6d1cde26a3bd7aa934f43165460daeae | [
"Apache-2.0"
] | 156 | 2018-05-19T14:04:50.000Z | 2022-03-01T06:57:19.000Z | # -*- coding: utf-8 -*-
proxies = (
# '115.229.93.123:9000',
# '114.249.116.183:9000',
# '14.118.252.68:6666',
# '115.229.93.123:9000',
)
| 17.222222 | 29 | 0.496774 | 24 | 155 | 3.208333 | 0.75 | 0.155844 | 0.207792 | 0.285714 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 0.504132 | 0.219355 | 155 | 8 | 30 | 19.375 | 0.132231 | 0.729032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
4e0cbf70bd5b5e8bb18168ae59fee778550136f1 | 20 | py | Python | med_social/views/__init__.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | null | null | null | med_social/views/__init__.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | 11 | 2020-06-06T00:04:26.000Z | 2022-03-12T00:57:41.000Z | med_social/views/__init__.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | 1 | 2020-10-09T12:57:51.000Z | 2020-10-09T12:57:51.000Z | from .site import *
| 10 | 19 | 0.7 | 3 | 20 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 1 | 20 | 20 | 0.875 | 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 |
9d71850ebcb1daa558664daf8d0c860546abd2e0 | 48 | py | Python | data_structures/linked_list/singly_linked/__init__.py | kwahome/data-structures-and-algos | 535b23c63bf384d63c1ebc08d1c32d3dd808297c | [
"Apache-2.0"
] | null | null | null | data_structures/linked_list/singly_linked/__init__.py | kwahome/data-structures-and-algos | 535b23c63bf384d63c1ebc08d1c32d3dd808297c | [
"Apache-2.0"
] | null | null | null | data_structures/linked_list/singly_linked/__init__.py | kwahome/data-structures-and-algos | 535b23c63bf384d63c1ebc08d1c32d3dd808297c | [
"Apache-2.0"
] | null | null | null | from .linked_list import Node, SinglyLinkedList
| 24 | 47 | 0.854167 | 6 | 48 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 48 | 1 | 48 | 48 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9dbd84dd1cced25a21c6ef0c72e7fab11a47bdb8 | 146 | py | Python | core/admin.py | ctlamy/account | 6723f9d032019e19133f048dc5dfc5c20ddb9f54 | [
"BSD-3-Clause"
] | null | null | null | core/admin.py | ctlamy/account | 6723f9d032019e19133f048dc5dfc5c20ddb9f54 | [
"BSD-3-Clause"
] | null | null | null | core/admin.py | ctlamy/account | 6723f9d032019e19133f048dc5dfc5c20ddb9f54 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from core.models import Entry
class EntryAdmin(admin.ModelAdmin):
pass
admin.site.register(Entry, EntryAdmin) | 18.25 | 38 | 0.815068 | 20 | 146 | 5.95 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 146 | 8 | 38 | 18.25 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
9de787170e98cd35a98e5509a46ac62974785e71 | 69 | py | Python | jacdac/rover/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-15T21:30:36.000Z | 2022-02-15T21:30:36.000Z | jacdac/rover/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | null | null | null | jacdac/rover/__init__.py | microsoft/jacdac-python | 712ad5559e29065f5eccb5dbfe029c039132df5a | [
"MIT"
] | 1 | 2022-02-08T19:32:45.000Z | 2022-02-08T19:32:45.000Z | # Autogenerated file.
from .client import RoverClient # type: ignore
| 23 | 46 | 0.782609 | 8 | 69 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 69 | 2 | 47 | 34.5 | 0.915254 | 0.463768 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1ae4c56e8f4a8533bd1c3cada1563ee1d3d902d | 87 | py | Python | pythonstudy/circle.py | yxdragon/my_python_study | 3da05d177d89ecdba71a496d0666416e954d0aa6 | [
"BSD-3-Clause"
] | null | null | null | pythonstudy/circle.py | yxdragon/my_python_study | 3da05d177d89ecdba71a496d0666416e954d0aa6 | [
"BSD-3-Clause"
] | null | null | null | pythonstudy/circle.py | yxdragon/my_python_study | 3da05d177d89ecdba71a496d0666416e954d0aa6 | [
"BSD-3-Clause"
] | null | null | null | from math import pi
def circle_length(r):
return r * 2 * pi
s = circle_length(5)
| 12.428571 | 21 | 0.666667 | 16 | 87 | 3.5 | 0.75 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.241379 | 87 | 6 | 22 | 14.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d1e70533068f3745bc5b06a1089da0df872cb7c5 | 60 | py | Python | skolbachev/toxic/tokenizers/spacy_tokenizers.py | ajing/toxic-1 | c4f50a0560d312da8ab60e2492a2e72c54cc3f55 | [
"Apache-2.0"
] | 83 | 2018-03-21T09:49:03.000Z | 2022-01-25T10:58:47.000Z | skolbachev/toxic/tokenizers/spacy_tokenizers.py | ajing/toxic-1 | c4f50a0560d312da8ab60e2492a2e72c54cc3f55 | [
"Apache-2.0"
] | 1 | 2018-09-26T13:09:52.000Z | 2018-09-26T13:09:52.000Z | skolbachev/toxic/tokenizers/spacy_tokenizers.py | thinline72/toxic | c4f50a0560d312da8ab60e2492a2e72c54cc3f55 | [
"Apache-2.0"
] | 35 | 2018-03-22T14:06:08.000Z | 2019-11-23T14:53:01.000Z | from __future__ import absolute_import
import spacy
# TODO | 12 | 38 | 0.833333 | 8 | 60 | 5.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 5 | 39 | 12 | 0.882353 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d1f312c6cbc13abf8c4a087997e2cd4f58db3058 | 34 | py | Python | test/run/t85.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 2,671 | 2015-01-03T08:23:25.000Z | 2022-03-31T06:15:48.000Z | test/run/t85.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 972 | 2015-01-05T08:11:00.000Z | 2022-03-29T13:47:15.000Z | test/run/t85.py | timmartin/skulpt | 2e3a3fbbaccc12baa29094a717ceec491a8a6750 | [
"MIT"
] | 845 | 2015-01-03T19:53:36.000Z | 2022-03-29T18:34:22.000Z | print "234".replace("\r\n", "\n")
| 17 | 33 | 0.529412 | 6 | 34 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0.088235 | 34 | 1 | 34 | 34 | 0.483871 | 0 | 0 | 0 | 0 | 0 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
d1fa9348a611ddfa8a09f77afc3c622a37d099a6 | 1,881 | py | Python | data-loader/tests/test_parser_unit.py | nud3l/smart-contract-analysis | 56aa52e5fc962c0a43598c34d1ae745b02729d1e | [
"MIT"
] | 4 | 2017-07-26T07:25:01.000Z | 2021-05-03T23:23:49.000Z | data-loader/tests/test_parser_unit.py | nud3l/smart-contract-analysis | 56aa52e5fc962c0a43598c34d1ae745b02729d1e | [
"MIT"
] | null | null | null | data-loader/tests/test_parser_unit.py | nud3l/smart-contract-analysis | 56aa52e5fc962c0a43598c34d1ae745b02729d1e | [
"MIT"
] | null | null | null | from context import SolidityParser
import json
from os import path
class TestParser:
def test_solidity_parser_no_input(self):
parser = SolidityParser.SolidityParser()
file_path = None
assert parser.parse(file_path) is None
def test_solidity_parser_simple_input(self):
parser = ... | 35.490566 | 71 | 0.701223 | 228 | 1,881 | 5.469298 | 0.20614 | 0.051323 | 0.068164 | 0.067362 | 0.838813 | 0.80433 | 0.80433 | 0.703288 | 0.703288 | 0.703288 | 0 | 0 | 0.21159 | 1,881 | 52 | 72 | 36.173077 | 0.840863 | 0.040936 | 0 | 0.6 | 0 | 0 | 0.052778 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.114286 | false | 0 | 0.085714 | 0 | 0.228571 | 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 |
ae3377873690aae8bbd5297a4a820ff647be6a05 | 107 | py | Python | __init__.py | ananswam/bootstrapping | 3dd412917751b4ea9295311881fe79851a9552b1 | [
"MIT"
] | null | null | null | __init__.py | ananswam/bootstrapping | 3dd412917751b4ea9295311881fe79851a9552b1 | [
"MIT"
] | null | null | null | __init__.py | ananswam/bootstrapping | 3dd412917751b4ea9295311881fe79851a9552b1 | [
"MIT"
] | null | null | null | import bootstrapping.random
bootstrapping.random.py_seed_random()
from bootstrapping.lib import bootstrap
| 21.4 | 39 | 0.869159 | 13 | 107 | 7 | 0.615385 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074766 | 107 | 4 | 40 | 26.75 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 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 |
ae5416a63a8bd4cff2dfe00a8a88bd3bd7877196 | 47,525 | py | Python | mdstudio/mdstudio/tests/db/test_fields.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 10 | 2017-09-14T07:26:15.000Z | 2021-04-01T09:33:03.000Z | mdstudio/mdstudio/tests/db/test_fields.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 117 | 2017-09-13T08:09:48.000Z | 2019-10-03T12:19:13.000Z | mdstudio/mdstudio/tests/db/test_fields.py | NLeSC/LIEStudio | 03c163b4a2590b4e2204621e1c941c28a9624887 | [
"Apache-2.0"
] | 1 | 2018-09-26T09:40:51.000Z | 2018-09-26T09:40:51.000Z | # coding=utf-8
import datetime
import pytz
from copy import deepcopy
from cryptography.fernet import Fernet
from mock import mock
from unittest2 import TestCase
from mdstudio.db.database import Fields
from mdstudio.db.exception import DatabaseException
from mdstudio.utc import now
# noinspection PyCompatibility
cla... | 32.730716 | 139 | 0.463482 | 4,459 | 47,525 | 4.78919 | 0.047096 | 0.050574 | 0.03896 | 0.040178 | 0.905128 | 0.884524 | 0.859518 | 0.841114 | 0.816717 | 0.78848 | 0 | 0.102141 | 0.396612 | 47,525 | 1,451 | 140 | 32.753274 | 0.642558 | 0.000863 | 0 | 0.617494 | 0 | 0 | 0.174891 | 0.072534 | 0 | 0 | 0 | 0 | 0.079318 | 1 | 0.065234 | false | 0 | 0.006672 | 0 | 0.072646 | 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 |
ae7923e2c9cad8125bdcdb5f1ce761041c39672f | 4,396 | py | Python | tests/test_lambda_resnets.py | titu1994/lambda_networks_pt | 326006a5ad3dcadc6bfb12da10b5f9530f2305c5 | [
"MIT"
] | 14 | 2021-02-22T00:37:48.000Z | 2022-03-03T02:19:45.000Z | tests/test_lambda_resnets.py | titu1994/lambda_networks_pt | 326006a5ad3dcadc6bfb12da10b5f9530f2305c5 | [
"MIT"
] | null | null | null | tests/test_lambda_resnets.py | titu1994/lambda_networks_pt | 326006a5ad3dcadc6bfb12da10b5f9530f2305c5 | [
"MIT"
] | 2 | 2021-08-05T01:56:02.000Z | 2022-01-04T10:49:15.000Z | import torch
import pytest
from lambda_networks import lambda_resnets
DEVICES = ['cpu']
if torch.cuda.is_available():
DEVICES.append("cuda")
@pytest.mark.parametrize("device", DEVICES)
def test_resnet_18(device):
input_dim = 224
model = lambda_resnets.resnet18(lambda_m=True, input_size=input_dim)
m... | 29.503356 | 84 | 0.690173 | 661 | 4,396 | 4.423601 | 0.107413 | 0.088919 | 0.071819 | 0.092339 | 0.954514 | 0.925787 | 0.864227 | 0.804378 | 0.804378 | 0.786936 | 0 | 0.065121 | 0.175614 | 4,396 | 148 | 85 | 29.702703 | 0.741722 | 0 | 0 | 0.68932 | 0 | 0 | 0.017061 | 0 | 0 | 0 | 0 | 0 | 0.194175 | 1 | 0.097087 | false | 0 | 0.029126 | 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 |
ae9a9745433b1ec49efcc9f16ca7b11d9a8d4da1 | 227 | py | Python | sql_gen/test/utils/package_example/module_example.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | null | null | null | sql_gen/test/utils/package_example/module_example.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | 84 | 2018-09-15T21:36:23.000Z | 2021-12-13T19:49:57.000Z | sql_gen/test/utils/package_example/module_example.py | vecin2/em_automation | b65bc498cc7c366d06425e51aaf04b970d581050 | [
"MIT"
] | null | null | null | def example_filter1(string):
return "Example1: " + string
def get_template_filter():
return example_filter1
def returns_string_passed(string):
return string
def title_string(string):
return string.title()
| 15.133333 | 34 | 0.735683 | 28 | 227 | 5.714286 | 0.428571 | 0.225 | 0.225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.180617 | 227 | 14 | 35 | 16.214286 | 0.844086 | 0 | 0 | 0 | 0 | 0 | 0.044053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.125 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 6 |
884360d3e2a6f11b62a45e9f7d12f5b642e64943 | 5,905 | py | Python | tests/test_waiter.py | leviable/explicit | 31635b94109f2d47e6140c3003de0aeb99e9c03d | [
"MIT"
] | 1 | 2020-07-18T23:14:56.000Z | 2020-07-18T23:14:56.000Z | tests/test_waiter.py | leviable/explicit | 31635b94109f2d47e6140c3003de0aeb99e9c03d | [
"MIT"
] | null | null | null | tests/test_waiter.py | leviable/explicit | 31635b94109f2d47e6140c3003de0aeb99e9c03d | [
"MIT"
] | null | null | null | try:
import mock
except ImportError:
from unittest import mock
from selenium.webdriver.common.keys import Keys
from explicit import waiter, CSS, ID, XPATH
def test_find_element_with_defaults(driver, element):
""" Verify the waiter can find and return an element
"""
mock_css_path = "div.mock-css-... | 35.787879 | 85 | 0.657409 | 791 | 5,905 | 4.628319 | 0.108723 | 0.050259 | 0.04507 | 0.059 | 0.892652 | 0.836657 | 0.785305 | 0.753892 | 0.7528 | 0.728489 | 0 | 0.006795 | 0.252329 | 5,905 | 164 | 86 | 36.006098 | 0.822424 | 0.115495 | 0 | 0.458333 | 0 | 0 | 0.030552 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.083333 | false | 0 | 0.052083 | 0 | 0.135417 | 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 |
31f66a1996fe799fb4f5aadf08330a0acbf3ec90 | 134 | py | Python | tests/conftest.py | JoshKarpel/when | 96b88144ffb73a614370c67f5ac2128ee0258141 | [
"MIT"
] | null | null | null | tests/conftest.py | JoshKarpel/when | 96b88144ffb73a614370c67f5ac2128ee0258141 | [
"MIT"
] | 6 | 2022-03-22T00:08:16.000Z | 2022-03-28T18:27:04.000Z | tests/conftest.py | JoshKarpel/when | 96b88144ffb73a614370c67f5ac2128ee0258141 | [
"MIT"
] | null | null | null | import pytest
from typer.testing import CliRunner
@pytest.fixture
def runner() -> CliRunner:
return CliRunner(mix_stderr=False)
| 16.75 | 38 | 0.776119 | 17 | 134 | 6.058824 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 134 | 7 | 39 | 19.142857 | 0.895652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
ee150e6491c52e5912ec4e590f5b243b957acaff | 36 | py | Python | skip-thought/skipthought/__init__.py | HimariO/VideoSum | 3a81276df3b429c24ebf9a1841b5a9168c0c3ccf | [
"MIT"
] | 95 | 2016-10-11T19:58:30.000Z | 2020-10-06T08:09:27.000Z | skip-thought/skipthought/__init__.py | HimariO/VideoSum | 3a81276df3b429c24ebf9a1841b5a9168c0c3ccf | [
"MIT"
] | 10 | 2017-03-13T09:55:01.000Z | 2022-02-09T23:33:03.000Z | skipthought/__init__.py | chandlervan/skip-thought-seq2seq | bd9196e80228c7f3d5411b89fb43bcf32b10b15a | [
"MIT"
] | 36 | 2016-11-01T14:19:27.000Z | 2020-08-15T21:27:58.000Z | from .model import SkipthoughtModel
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 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 |
ee6b04b4abe960e359a5af02632d0e1d0988b3b3 | 207 | py | Python | terrascript/ovh/d.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ovh/d.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | terrascript/ovh/d.py | vfoucault/python-terrascript | fe82b3d7e79ffa72b7871538f999828be0a115d0 | [
"BSD-2-Clause"
] | null | null | null | from terrascript import _data
class ovh_publiccloud_region(_data): pass
publiccloud_region = ovh_publiccloud_region
class ovh_publiccloud_regions(_data): pass
publiccloud_regions = ovh_publiccloud_regions
| 25.875 | 45 | 0.874396 | 26 | 207 | 6.461538 | 0.384615 | 0.333333 | 0.22619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 207 | 7 | 46 | 29.571429 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
ee7ce565d01210cdb084ff33baf5aa95a6e432dd | 162 | py | Python | scitbx/linalg/ext.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-03-18T12:31:57.000Z | 2022-03-14T06:27:06.000Z | scitbx/linalg/ext.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | null | null | null | scitbx/linalg/ext.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-03-26T12:52:30.000Z | 2021-03-26T12:52:30.000Z | from __future__ import absolute_import, division, print_function
import boost.python
boost.python.import_ext("scitbx_linalg_ext")
from scitbx_linalg_ext import *
| 32.4 | 64 | 0.858025 | 23 | 162 | 5.565217 | 0.521739 | 0.171875 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 162 | 4 | 65 | 40.5 | 0.85906 | 0 | 0 | 0 | 0 | 0 | 0.104938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 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 |
c990933d79a1995cd65bf6b96b985417c4f63ad4 | 20 | py | Python | lib/models/__init__.py | vlievin/dgm-template | 719d52378947d06d35e030f4bd967e833fa67dea | [
"MIT"
] | 1 | 2020-10-29T10:32:55.000Z | 2020-10-29T10:32:55.000Z | lib/models/__init__.py | vlievin/dgm-template | 719d52378947d06d35e030f4bd967e833fa67dea | [
"MIT"
] | null | null | null | lib/models/__init__.py | vlievin/dgm-template | 719d52378947d06d35e030f4bd967e833fa67dea | [
"MIT"
] | null | null | null | from .vae import Vae | 20 | 20 | 0.8 | 4 | 20 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.941176 | 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 |
c9aed390b542decdd266eac6c90bfb8b7e8b418c | 369 | py | Python | vutman/admin.py | daniellawrence/django-vutman | 6a30dee2fad0e19d1dbe8144ceee8075e5f57d1b | [
"MIT"
] | null | null | null | vutman/admin.py | daniellawrence/django-vutman | 6a30dee2fad0e19d1dbe8144ceee8075e5f57d1b | [
"MIT"
] | 1 | 2015-05-25T22:00:45.000Z | 2015-05-26T01:53:54.000Z | vutman/admin.py | daniellawrence/django-vutman | 6a30dee2fad0e19d1dbe8144ceee8075e5f57d1b | [
"MIT"
] | null | null | null | from django.contrib import admin
from vutman.models import EmailDomain, EmailServer, EmailUser, EmailAlias
from simple_history.admin import SimpleHistoryAdmin
admin.site.register(EmailDomain, SimpleHistoryAdmin)
admin.site.register(EmailServer, SimpleHistoryAdmin)
admin.site.register(EmailUser, SimpleHistoryAdmin)
adm... | 41 | 73 | 0.864499 | 39 | 369 | 8.153846 | 0.410256 | 0.289308 | 0.339623 | 0.440252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065041 | 369 | 8 | 74 | 46.125 | 0.921739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
a0079c8b5c1c41463872401a6b70136ee95f2b11 | 3,240 | py | Python | tests/test_check_util.py | long-long-float/py-videocore | f2a0ef174a936f7a6e11a9e24f34fb555acb84c7 | [
"MIT"
] | 783 | 2015-12-01T16:24:32.000Z | 2022-03-08T18:51:53.000Z | tests/test_check_util.py | long-long-float/py-videocore | f2a0ef174a936f7a6e11a9e24f34fb555acb84c7 | [
"MIT"
] | 49 | 2015-12-29T03:24:50.000Z | 2021-10-01T03:44:49.000Z | tests/test_check_util.py | long-long-float/py-videocore | f2a0ef174a936f7a6e11a9e24f34fb555acb84c7 | [
"MIT"
] | 94 | 2015-12-27T17:08:03.000Z | 2022-01-15T07:21:06.000Z | from videocore.assembler import Assembler, qpu
import videocore.checker as checker
import videocore.encoding as enc
@qpu
def prog1(asm):
mov (r1, r0)
@qpu
def prog2(asm):
mov (r1, r0).mov(r2, r3)
@qpu
def prog3(asm):
imul24(r0, r1, r2)
def test_get_outputs1():
asm = Assembler(sanity_check=True)
prog1(asm)... | 24.732824 | 62 | 0.644444 | 515 | 3,240 | 3.930097 | 0.116505 | 0.118577 | 0.094862 | 0.092391 | 0.837945 | 0.801877 | 0.79002 | 0.741601 | 0.701087 | 0.701087 | 0 | 0.04942 | 0.175617 | 3,240 | 130 | 63 | 24.923077 | 0.708349 | 0 | 0 | 0.672566 | 0 | 0 | 0.007407 | 0 | 0 | 0 | 0 | 0 | 0.274336 | 1 | 0.150442 | false | 0 | 0.026549 | 0 | 0.176991 | 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 |
4e4b94cea98da0e47f65fab82c094d3943e349a4 | 8,102 | py | Python | premium/backend/tests/baserow_premium/api/admin/groups/test_groups_admin_views.py | ashishdhngr/baserow | b098678d2165eb7c42930ee24dc6753a3cb520c3 | [
"MIT"
] | 1 | 2022-01-24T15:12:02.000Z | 2022-01-24T15:12:02.000Z | premium/backend/tests/baserow_premium/api/admin/groups/test_groups_admin_views.py | rasata/baserow | c6e1d7842c53f801e1c96b49f1377da2a06afaa9 | [
"MIT"
] | null | null | null | premium/backend/tests/baserow_premium/api/admin/groups/test_groups_admin_views.py | rasata/baserow | c6e1d7842c53f801e1c96b49f1377da2a06afaa9 | [
"MIT"
] | null | null | null | import pytest
from django.utils.timezone import make_aware, datetime, utc
from django.shortcuts import reverse
from django.test.utils import override_settings
from rest_framework.status import (
HTTP_200_OK,
HTTP_402_PAYMENT_REQUIRED,
HTTP_403_FORBIDDEN,
HTTP_404_NOT_FOUND,
HTTP_400_BAD_REQUEST,
)... | 35.379913 | 88 | 0.600592 | 924 | 8,102 | 4.949134 | 0.160173 | 0.052919 | 0.086595 | 0.089219 | 0.825279 | 0.786136 | 0.727312 | 0.727312 | 0.708506 | 0.68489 | 0 | 0.02813 | 0.289188 | 8,102 | 228 | 89 | 35.535088 | 0.765932 | 0.026413 | 0 | 0.608911 | 0 | 0 | 0.157681 | 0.061928 | 0 | 0 | 0 | 0 | 0.10396 | 1 | 0.014851 | false | 0 | 0.029703 | 0 | 0.044554 | 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 |
4e63b17f8311874c5bafeb3238ccbdaae248b0d7 | 32 | py | Python | lib/tackle/utils/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/tackle/utils/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | lib/tackle/utils/__init__.py | atomrq/simulab | 886f2d613ecbac711b41026887f6d9f7ac94b25f | [
"BSD-3-Clause"
] | null | null | null | from .distance import pbc, eigh
| 16 | 31 | 0.78125 | 5 | 32 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 32 | 1 | 32 | 32 | 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 |
14c27eb30faed0d40e3be53a7fef534aa23e985e | 96 | py | Python | venv/lib/python3.8/site-packages/virtualenv/activation/fish/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/virtualenv/activation/fish/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/virtualenv/activation/fish/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/84/39/09/ab53f5c0adaa9ba057c9d5d603d18c901a63f9369e8db29271e1671995 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.447917 | 0 | 96 | 1 | 96 | 96 | 0.447917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
14cabd91fd3ed52b5ccc580c439abbf3b6407cf1 | 42 | py | Python | exceptions/assertExcetion.py | stingbo/selenium_python_test | 9da8a6e01beb3dcfbbf3fee47dd747dc8b5e5966 | [
"MIT"
] | 26 | 2020-12-18T08:03:28.000Z | 2022-01-27T02:11:51.000Z | exceptions/assertExcetion.py | stingbo/selenium_python_test | 9da8a6e01beb3dcfbbf3fee47dd747dc8b5e5966 | [
"MIT"
] | 1 | 2021-11-25T11:07:22.000Z | 2022-01-19T10:39:13.000Z | exceptions/assertExcetion.py | stingbo/selenium_python_test | 9da8a6e01beb3dcfbbf3fee47dd747dc8b5e5966 | [
"MIT"
] | 7 | 2021-03-03T12:42:55.000Z | 2021-08-05T09:14:19.000Z | class AssertExcetion(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
09376718cf28793b47afba5ac79f5ebb4e1cdea1 | 142 | py | Python | bugtests/test233.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test233.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null | bugtests/test233.py | doom38/jython_v2.2.1 | 0803a0c953c294e6d14f9fc7d08edf6a3e630a15 | [
"CNRI-Jython"
] | null | null | null |
import support
try:
from test233s import foobar
except ImportError:
pass
else:
raise support.TestError("Should raise ImportError")
| 14.2 | 54 | 0.760563 | 17 | 142 | 6.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.183099 | 142 | 9 | 55 | 15.777778 | 0.905172 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.142857 | 0.571429 | 0 | 0.571429 | 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 |
117775a580b9024df6f646846c5c63a0e2e4c15b | 96 | py | Python | venv/lib/python3.8/site-packages/setuptools/_vendor/more_itertools/more.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/setuptools/_vendor/more_itertools/more.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/setuptools/_vendor/more_itertools/more.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/0e/56/5a/f2fe898a15707d0e731e274e03ec43134a2b710214cb156709a5280ca1 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.46875 | 0 | 96 | 1 | 96 | 96 | 0.427083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
11f93434307a41b84b80145b4cae2e2866483130 | 27 | py | Python | starwars/__init__.py | whaleygeek/mb_deathstar | f756b8b5b45927039c547d0f96f8e31a365b383b | [
"MIT"
] | null | null | null | starwars/__init__.py | whaleygeek/mb_deathstar | f756b8b5b45927039c547d0f96f8e31a365b383b | [
"MIT"
] | null | null | null | starwars/__init__.py | whaleygeek/mb_deathstar | f756b8b5b45927039c547d0f96f8e31a365b383b | [
"MIT"
] | null | null | null | from starwarscraft import * | 27 | 27 | 0.851852 | 3 | 27 | 7.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.958333 | 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 |
eee570c21b5feaaf9d30f64fcd0b48785d3db6b1 | 243 | py | Python | tests/test_chapter1.py | Ricyteach/asce7 | 65dc0a3011203fbcb2e3e4a5b31be8e2f124976f | [
"MIT"
] | null | null | null | tests/test_chapter1.py | Ricyteach/asce7 | 65dc0a3011203fbcb2e3e4a5b31be8e2f124976f | [
"MIT"
] | null | null | null | tests/test_chapter1.py | Ricyteach/asce7 | 65dc0a3011203fbcb2e3e4a5b31be8e2f124976f | [
"MIT"
] | null | null | null | import pytest
from asce7.v2016.chapter1 import importance_factor
@pytest.mark.parametrize("load_type", [
"S", "E", "Di"
], indirect=True)
def test_importance_factor(all_risk, load_type):
assert importance_factor(all_risk, load_type)
| 24.3 | 50 | 0.761317 | 34 | 243 | 5.176471 | 0.647059 | 0.272727 | 0.215909 | 0.261364 | 0.352273 | 0.352273 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.119342 | 243 | 9 | 51 | 27 | 0.794393 | 0 | 0 | 0 | 0 | 0 | 0.053498 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
e10013734a5c4ddc4aded31ba2e4e93f02f25e85 | 31 | py | Python | mkdocs_plugin_include/__init__.py | robobe/mkdocs-plugin-include | 8bc34568aa35adcc3c10c6e399d98ad7e85328c4 | [
"MIT"
] | null | null | null | mkdocs_plugin_include/__init__.py | robobe/mkdocs-plugin-include | 8bc34568aa35adcc3c10c6e399d98ad7e85328c4 | [
"MIT"
] | null | null | null | mkdocs_plugin_include/__init__.py | robobe/mkdocs-plugin-include | 8bc34568aa35adcc3c10c6e399d98ad7e85328c4 | [
"MIT"
] | null | null | null | from .plugin import CodeInclude | 31 | 31 | 0.870968 | 4 | 31 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.964286 | 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 |
01118a97fadb427748bda1a8655e66b6a504941b | 2,451 | py | Python | cogs/message_reaction_tracker.py | danya02/discord-logbot | a02cd660124319d3f7474fa90a8e4d0932555809 | [
"MIT"
] | null | null | null | cogs/message_reaction_tracker.py | danya02/discord-logbot | a02cd660124319d3f7474fa90a8e4d0932555809 | [
"MIT"
] | null | null | null | cogs/message_reaction_tracker.py | danya02/discord-logbot | a02cd660124319d3f7474fa90a8e4d0932555809 | [
"MIT"
] | null | null | null | from database import MessageReactionTimeSeries, MessageReactionEvent
from discord.ext import commands
import discord
from .common import *
class MessageReactionTracker(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
@requires_feature('MESSAGE_REACTION', lambda args,... | 43.767857 | 87 | 0.658099 | 272 | 2,451 | 5.669118 | 0.183824 | 0.081712 | 0.049287 | 0.070039 | 0.85214 | 0.85214 | 0.85214 | 0.798314 | 0.798314 | 0.798314 | 0 | 0.0022 | 0.258262 | 2,451 | 55 | 88 | 44.563636 | 0.845985 | 0 | 0 | 0.68 | 0 | 0 | 0.026112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.08 | 0 | 0.12 | 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 |
013e42773beea1d631b22fbcf22b52a1b3e1ba26 | 204 | py | Python | src/utils/Utils.py | 425776024/MOEAD | 4ac24e62e8e89698c292cb942004f386005fd71e | [
"Apache-2.0"
] | 91 | 2018-12-05T06:10:23.000Z | 2022-03-19T15:40:49.000Z | src/utils/Utils.py | HadwinLing/MOEAD | 4ac24e62e8e89698c292cb942004f386005fd71e | [
"Apache-2.0"
] | 1 | 2020-05-18T14:54:59.000Z | 2020-05-22T11:04:32.000Z | src/utils/Utils.py | HadwinLing/MOEAD | 4ac24e62e8e89698c292cb942004f386005fd71e | [
"Apache-2.0"
] | 31 | 2019-02-14T13:00:33.000Z | 2022-02-28T15:04:23.000Z | '''
工具包汇总调用
'''
from src.utils.Draw_Utils import *
import src.utils.GA_Utils as GA_Utils
import src.utils.DE_Utils as DE_Utils
from src.utils.Mean_Vector_Util import *
from src.utils.MOEAD_Utils import *
| 22.666667 | 40 | 0.794118 | 36 | 204 | 4.277778 | 0.361111 | 0.25974 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112745 | 204 | 8 | 41 | 25.5 | 0.850829 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
014e91f72ea94a546ff832a16a0125e42fd03b57 | 30 | py | Python | tests/__init__.py | badilladrian/QR_code_reader-creator | 750629378418b8b6fdca7887f03d78aa0a5a418b | [
"MIT"
] | null | null | null | tests/__init__.py | badilladrian/QR_code_reader-creator | 750629378418b8b6fdca7887f03d78aa0a5a418b | [
"MIT"
] | null | null | null | tests/__init__.py | badilladrian/QR_code_reader-creator | 750629378418b8b6fdca7887f03d78aa0a5a418b | [
"MIT"
] | null | null | null | from tests.basic_test import * | 30 | 30 | 0.833333 | 5 | 30 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 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 |
0156581699ed37a00d9477cc9497737bbc701112 | 250 | py | Python | nemesys/modelling/routers/router.py | suflaj/nemesys | 669fd4fd2e27d1923930643b9b2bed9e1ed600f3 | [
"Apache-2.0"
] | null | null | null | nemesys/modelling/routers/router.py | suflaj/nemesys | 669fd4fd2e27d1923930643b9b2bed9e1ed600f3 | [
"Apache-2.0"
] | 23 | 2021-10-21T00:46:22.000Z | 2022-01-04T00:11:44.000Z | nemesys/modelling/routers/router.py | Yalfoosh/nemesys | 669fd4fd2e27d1923930643b9b2bed9e1ed600f3 | [
"Apache-2.0"
] | null | null | null | from typing import Any, Iterable
class Router:
def route(self, inputs: Iterable[Any]) -> Iterable[Any]:
raise NotImplementedError
def __call__(self, inputs: Iterable[Any]) -> Iterable[Any]:
return self.route(inputs=inputs)
| 25 | 63 | 0.688 | 30 | 250 | 5.6 | 0.5 | 0.261905 | 0.214286 | 0.25 | 0.380952 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 250 | 9 | 64 | 27.777778 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
0158169988ec7460d38112c182ae815d937f564e | 230 | py | Python | handlers.py | anthill-gaming/environment | e681201ca5849b083ada2265488ead76a2bfb97d | [
"MIT"
] | null | null | null | handlers.py | anthill-gaming/environment | e681201ca5849b083ada2265488ead76a2bfb97d | [
"MIT"
] | null | null | null | handlers.py | anthill-gaming/environment | e681201ca5849b083ada2265488ead76a2bfb97d | [
"MIT"
] | null | null | null | from anthill.framework.handlers import RequestHandler
from anthill.platform.handlers import UserHandlerMixin
class DiscoverHandler(RequestHandler, UserHandlerMixin):
async def get(self, app_name, app_version):
pass
| 25.555556 | 56 | 0.804348 | 25 | 230 | 7.32 | 0.72 | 0.120219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13913 | 230 | 8 | 57 | 28.75 | 0.924242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
016527c87d080499ae468ed52523cbb2218e6d92 | 224 | py | Python | 29/08/3.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | 29/08/3.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | 38 | 2017-05-25T07:08:48.000Z | 2017-05-31T01:42:41.000Z | 29/08/3.py | pylangstudy/201705 | c69de524faa67fa2d96267d5a51ed9794208f0e4 | [
"CC0-1.0"
] | null | null | null | def Sum(value1, value2=200, value3=300):
return value1 + value2 + value3
print(Sum(10))
print(Sum(10, 20))
print(Sum(10, 20, 30))
print(Sum(10, value2=20))
print(Sum(10, value3=30))
print(Sum(10, value2=20, value3=30))
| 22.4 | 40 | 0.678571 | 40 | 224 | 3.8 | 0.3 | 0.315789 | 0.394737 | 0.157895 | 0.263158 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 0.125 | 224 | 9 | 41 | 24.888889 | 0.561224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0.125 | 0.25 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 6 |
6dd0fe7169042c220e310386749b949c3b9cdea1 | 153 | py | Python | mongonow/query_parser.py | AlexandreMahdhaoui/MongoNow | c971d63d350754196ac0bc6c7183cf283be657c8 | [
"MIT"
] | null | null | null | mongonow/query_parser.py | AlexandreMahdhaoui/MongoNow | c971d63d350754196ac0bc6c7183cf283be657c8 | [
"MIT"
] | null | null | null | mongonow/query_parser.py | AlexandreMahdhaoui/MongoNow | c971d63d350754196ac0bc6c7183cf283be657c8 | [
"MIT"
] | null | null | null | class QueryParser:
@classmethod
def _parse(cls, element, tokenized_query):
return all(eval(x.format(element)) for x in tokenized_query)
| 25.5 | 68 | 0.712418 | 20 | 153 | 5.3 | 0.8 | 0.264151 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 153 | 5 | 69 | 30.6 | 0.861789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6de0d27db0a379d0fe59c2bcff818e1761da7b4e | 9,190 | py | Python | mayan/apps/permissions/tests/test_api.py | Fourdee/mayan-edms | 39a94f8b4fed519a3b20ab419e920ea53c11eb84 | [
"Apache-2.0"
] | 4 | 2019-02-17T08:35:42.000Z | 2019-03-28T06:02:11.000Z | mayan/apps/permissions/tests/test_api.py | zhoubear/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 1 | 2018-10-11T13:01:34.000Z | 2018-10-11T13:01:34.000Z | mayan/apps/permissions/tests/test_api.py | prezi/mayan-edms | e9bc10a056c3379b57115c6e83022f48c6298e1d | [
"Apache-2.0"
] | 3 | 2019-01-29T13:21:57.000Z | 2019-10-27T03:20:15.000Z | from __future__ import unicode_literals
from django.contrib.auth.models import Group
from rest_framework import status
from rest_api.tests import BaseAPITestCase
from user_management.tests.literals import TEST_GROUP_2_NAME
from ..classes import Permission
from ..models import Role
from ..permissions import (
pe... | 37.056452 | 79 | 0.685745 | 1,137 | 9,190 | 5.157432 | 0.083553 | 0.097203 | 0.082367 | 0.084072 | 0.83339 | 0.794679 | 0.75324 | 0.732435 | 0.709754 | 0.675989 | 0 | 0.010405 | 0.215669 | 9,190 | 247 | 80 | 37.206478 | 0.803135 | 0.004679 | 0 | 0.520408 | 0 | 0 | 0.033034 | 0.002625 | 0 | 0 | 0 | 0 | 0.244898 | 1 | 0.127551 | false | 0 | 0.045918 | 0.005102 | 0.209184 | 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 |
09dc658a288fea2c3f9d24bd6f1efe126b81624c | 73 | py | Python | plugins/beebeeto/utils/payload/webshell/__init__.py | aliluyala/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 95 | 2016-07-05T12:44:25.000Z | 2022-01-24T09:16:44.000Z | plugins/beebeeto/utils/payload/webshell/__init__.py | sigma-random/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 2 | 2016-10-24T09:35:24.000Z | 2017-07-28T08:50:31.000Z | plugins/beebeeto/utils/payload/webshell/__init__.py | sigma-random/PocHunter | ff2d7e745eabd81ffb77920fe00813b17fc432cf | [
"MIT"
] | 39 | 2016-06-13T07:47:39.000Z | 2020-11-26T00:53:48.000Z | from asp import *
from aspx import *
from php import *
from jsp import * | 14.6 | 18 | 0.726027 | 12 | 73 | 4.416667 | 0.5 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 73 | 5 | 19 | 14.6 | 0.929825 | 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 |
09fa5067ee0817f7b8cc640667e10cb3df014e11 | 31 | py | Python | openvariant/plugins/basic/__init__.py | bbglab/openvariant | ea1e1b6edf0486b0dea34f43227ba333df1071cc | [
"BSD-3-Clause"
] | null | null | null | openvariant/plugins/basic/__init__.py | bbglab/openvariant | ea1e1b6edf0486b0dea34f43227ba333df1071cc | [
"BSD-3-Clause"
] | null | null | null | openvariant/plugins/basic/__init__.py | bbglab/openvariant | ea1e1b6edf0486b0dea34f43227ba333df1071cc | [
"BSD-3-Clause"
] | null | null | null | from .basic import BasicPlugin
| 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 |
09fb4f5122416734345f2f9f320edc51a47f4a61 | 2,381 | py | Python | files_rc.py | ErihKoh/calculator_python | 944af91c99d85f68a54a2184e8428d3cd6249ff0 | [
"MIT"
] | null | null | null | files_rc.py | ErihKoh/calculator_python | 944af91c99d85f68a54a2184e8428d3cd6249ff0 | [
"MIT"
] | null | null | null | files_rc.py | ErihKoh/calculator_python | 944af91c99d85f68a54a2184e8428d3cd6249ff0 | [
"MIT"
] | null | null | null | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 6.2.0
# WARNING! All changes made in this file will be lost!
from PySide6 import QtCore
qt_resource_data = b"\
\x00\x00\x00\xae\
\x89\
PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\
\x00\x00\x18\x00\x00\x00\x1... | 31.746667 | 96 | 0.726585 | 483 | 2,381 | 3.542443 | 0.42236 | 0.326125 | 0.326125 | 0.259497 | 0.312098 | 0.312098 | 0.310345 | 0.301578 | 0.301578 | 0.282291 | 0 | 0.293517 | 0.054179 | 2,381 | 75 | 97 | 31.746667 | 0.466252 | 0.068459 | 0 | 0.147541 | 0 | 0.360656 | 0 | 0 | 0 | 0 | 0.003613 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.016393 | 0 | 0.04918 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
61dbc3b8dc51c2c23016b3a4511f231eb8414514 | 98 | py | Python | web/ai_model.py | Ahuratus/AIwebservice | b004782e161ecec71fb16da8325d483736f4bbf7 | [
"MIT"
] | 20 | 2021-09-25T17:58:41.000Z | 2022-01-08T08:56:09.000Z | web/ai_model.py | Ahuratus/AIwebservice | b004782e161ecec71fb16da8325d483736f4bbf7 | [
"MIT"
] | 4 | 2021-09-06T16:13:29.000Z | 2021-10-08T12:06:26.000Z | web/ai_model.py | Ahuratus/Trajectory-Detection-Web-services | b004782e161ecec71fb16da8325d483736f4bbf7 | [
"MIT"
] | null | null | null | class AImodel:
def __init__(self):
pass
def process(self,input):
return -1 | 19.6 | 28 | 0.581633 | 12 | 98 | 4.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.326531 | 98 | 5 | 29 | 19.6 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 6 |
113ab9816e59072a9f67e2d416953408f2c746f2 | 166 | py | Python | Projects/PyPlantSIM/evaluation/analytic.py | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 2 | 2021-01-24T09:00:51.000Z | 2022-01-23T20:52:17.000Z | Projects/PyPlantSIM/evaluation/analytic.py | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 6 | 2020-02-29T01:59:03.000Z | 2022-02-15T10:25:40.000Z | Projects/PyPlantSIM/evaluation/analytic.py | fredmorcos/attic | 0da3b94aa525df59ddc977c32cb71c243ffd0dbd | [
"Unlicense"
] | 1 | 2019-03-22T14:41:21.000Z | 2019-03-22T14:41:21.000Z | def power_consumption():
pass
def deadlines():
pass
def idle_cranes():
pass
def idle_machines():
pass
def buffer_usage():
pass
def material_pickup():
pass
| 9.222222 | 24 | 0.716867 | 23 | 166 | 4.956522 | 0.521739 | 0.307018 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174699 | 166 | 17 | 25 | 9.764706 | 0.832117 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
febdaca3ca08a67ef0eb42e28e42501934fb7967 | 32 | py | Python | repository/user/__init__.py | 12lol12lol12lol/user-service | 16bdcdd9ae915b1a580a8f7bca2220f9980cce52 | [
"MIT"
] | null | null | null | repository/user/__init__.py | 12lol12lol12lol/user-service | 16bdcdd9ae915b1a580a8f7bca2220f9980cce52 | [
"MIT"
] | null | null | null | repository/user/__init__.py | 12lol12lol12lol/user-service | 16bdcdd9ae915b1a580a8f7bca2220f9980cce52 | [
"MIT"
] | 1 | 2021-11-29T06:03:07.000Z | 2021-11-29T06:03:07.000Z | from .user_repo import UserRepo
| 16 | 31 | 0.84375 | 5 | 32 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.928571 | 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 |
3a123614ad2b07c99b5ec7fd5c9a5ca02fc5e1a1 | 180 | py | Python | iReceipt_Lens/__init__.py | Ujjwalgutta/Project_PhotonCommerce | 2b654b95f024a80de71e5c6bca2d4b68d82c130e | [
"MIT"
] | null | null | null | iReceipt_Lens/__init__.py | Ujjwalgutta/Project_PhotonCommerce | 2b654b95f024a80de71e5c6bca2d4b68d82c130e | [
"MIT"
] | null | null | null | iReceipt_Lens/__init__.py | Ujjwalgutta/Project_PhotonCommerce | 2b654b95f024a80de71e5c6bca2d4b68d82c130e | [
"MIT"
] | null | null | null | from . import utils
from . import simple_receipt_parser
from . import generate_training_data
from . import receipt_data_extract
from . import train_spacy_ner
from . import predict
| 25.714286 | 36 | 0.833333 | 26 | 180 | 5.461538 | 0.538462 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 180 | 6 | 37 | 30 | 0.910256 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3a2f4c0c00a6acfa0cbf94c9ec8aa4dfc3a01b04 | 8,470 | py | Python | tests/fmm/test_r_and_s.py | jlmaurer/tectosaur | 7cc5606d814f061395b19754e7a4b6c5e4c236e5 | [
"MIT"
] | 17 | 2017-06-29T16:48:56.000Z | 2021-10-03T18:31:41.000Z | tests/fmm/test_r_and_s.py | jlmaurer/tectosaur | 7cc5606d814f061395b19754e7a4b6c5e4c236e5 | [
"MIT"
] | 4 | 2018-05-29T08:21:13.000Z | 2021-04-01T01:28:50.000Z | tests/fmm/test_r_and_s.py | jlmaurer/tectosaur | 7cc5606d814f061395b19754e7a4b6c5e4c236e5 | [
"MIT"
] | 8 | 2019-06-10T22:19:40.000Z | 2022-01-12T20:55:37.000Z | from tectosaur.fmm.ts_terms import *
def test_R():
y = (2.0,3.0,4.0)
n_max = 1
reala, imaga = Rdirect(n_max, y)
realb, imagb = R(n_max, y)
np.testing.assert_almost_equal(reala, realb)
np.testing.assert_almost_equal(imaga, imagb)
def test_R_storagefree():
order = 4
y = (1.0,2.0,3.0)
... | 38.675799 | 95 | 0.50673 | 1,294 | 8,470 | 3.178516 | 0.076507 | 0.04814 | 0.027231 | 0.046681 | 0.861901 | 0.817894 | 0.789691 | 0.789691 | 0.752735 | 0.747386 | 0 | 0.054937 | 0.320897 | 8,470 | 218 | 96 | 38.853211 | 0.660118 | 0.116293 | 0 | 0.682081 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046243 | 1 | 0.046243 | false | 0 | 0.00578 | 0 | 0.052023 | 0.057803 | 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 |
3a60e0306493af3ffa38341afa23e066554d2ee6 | 34 | py | Python | projects/06/app/__init__.py | Liquidibrium/nand2tetris | 927d222e7556b9aab0f5b4d2f28b92dce1cf2346 | [
"MIT"
] | null | null | null | projects/06/app/__init__.py | Liquidibrium/nand2tetris | 927d222e7556b9aab0f5b4d2f28b92dce1cf2346 | [
"MIT"
] | null | null | null | projects/06/app/__init__.py | Liquidibrium/nand2tetris | 927d222e7556b9aab0f5b4d2f28b92dce1cf2346 | [
"MIT"
] | null | null | null | from app.assemble import assemble
| 17 | 33 | 0.852941 | 5 | 34 | 5.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 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 |
3a72477e928bf9a9384b918f4a4d16f5d9fa8e36 | 48 | py | Python | scripts/portal/crane_SS.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/crane_SS.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/crane_SS.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # 200090310
sm.warp(200000141, 0)
sm.dispose()
| 9.6 | 21 | 0.708333 | 7 | 48 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.452381 | 0.125 | 48 | 4 | 22 | 12 | 0.357143 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3a7fface628f0c28ae8575acabd66a21134bb4df | 25 | py | Python | bin/__init__.py | hazzashirt/obsidian-service | fdc617900eb9390f36c18a5c3de3f277c84feff5 | [
"BSD-2-Clause"
] | null | null | null | bin/__init__.py | hazzashirt/obsidian-service | fdc617900eb9390f36c18a5c3de3f277c84feff5 | [
"BSD-2-Clause"
] | null | null | null | bin/__init__.py | hazzashirt/obsidian-service | fdc617900eb9390f36c18a5c3de3f277c84feff5 | [
"BSD-2-Clause"
] | null | null | null | from .core import service | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 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 |
3a8a69162715bc73e4fab91cc2610545c07833f1 | 60 | py | Python | tests/lif/if_eq_add.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | null | null | null | tests/lif/if_eq_add.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 1 | 2022-03-20T11:08:45.000Z | 2022-03-20T11:08:45.000Z | tests/lif/if_eq_add.py | Mieschendahl/assignment-final-stub | 19eea657fcc4f8a455c42028f34b918628514cc0 | [
"MIT"
] | 6 | 2022-03-13T13:10:25.000Z | 2022-03-28T22:18:12.000Z | print(777 if 1 == 0 else 2 + (40 if (1 + 1) == 2 else 775))
| 30 | 59 | 0.516667 | 14 | 60 | 2.214286 | 0.642857 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.325581 | 0.283333 | 60 | 1 | 60 | 60 | 0.395349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3aac4a1a793c47d823b9baa92aff213cb24830d0 | 167 | py | Python | cudarray/numpy_backend/nnet/__init__.py | gorenje/cudarray | a6d287fe371a93bcce2d3767925a5ea4e0a82e1a | [
"MIT"
] | 228 | 2015-01-03T17:31:54.000Z | 2021-01-21T22:23:17.000Z | cudarray/numpy_backend/nnet/__init__.py | maxosprojects/cudarray | a2cffbb1434db9a7e6ed83211300d23d47630d2e | [
"MIT"
] | 77 | 2015-01-03T20:23:19.000Z | 2022-03-23T11:56:27.000Z | cudarray/numpy_backend/nnet/__init__.py | maxosprojects/cudarray | a2cffbb1434db9a7e6ed83211300d23d47630d2e | [
"MIT"
] | 74 | 2015-01-06T17:07:06.000Z | 2021-05-14T12:41:05.000Z | from .activations import *
from .special import *
from .conv_bc01 import *
from .pool_bc01 import *
from .lrnorm_bc01 import *
from .conv import *
from .pool import *
| 20.875 | 26 | 0.748503 | 24 | 167 | 5.083333 | 0.333333 | 0.491803 | 0.344262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043165 | 0.167665 | 167 | 7 | 27 | 23.857143 | 0.834532 | 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 |
3ac8f0eeb46c62166c7d8b78143508ea28cce708 | 90 | py | Python | mmdet/models/utils/functions/__init__.py | MSiam/video_class_agnostic_segmentation | c4614fe675e8a5352012f603c15bc24fb43d690c | [
"Apache-2.0"
] | 15 | 2021-03-30T07:01:52.000Z | 2022-02-24T06:35:27.000Z | mmdet/models/utils/functions/__init__.py | MSiam/video_class_agnostic_segmentation | c4614fe675e8a5352012f603c15bc24fb43d690c | [
"Apache-2.0"
] | 1 | 2021-06-29T11:32:14.000Z | 2021-06-29T14:18:32.000Z | mmdet/models/utils/functions/__init__.py | MSiam/video_class_agnostic_segmentation | c4614fe675e8a5352012f603c15bc24fb43d690c | [
"Apache-2.0"
] | 3 | 2021-05-11T13:48:45.000Z | 2021-11-12T01:21:28.000Z | from .aggregation_zeropad import *
from .aggregation_refpad import *
from .utils import *
| 22.5 | 34 | 0.8 | 11 | 90 | 6.363636 | 0.545455 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 3 | 35 | 30 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 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 |
c906cbd2664f902db864a2a5d42f5ec711ddaf85 | 100 | py | Python | constructor_mb/generate_doc.py | mbargull/constructor | 7a391260f257b366092358fd19c8ff4c3b58ea3e | [
"BSD-3-Clause"
] | null | null | null | constructor_mb/generate_doc.py | mbargull/constructor | 7a391260f257b366092358fd19c8ff4c3b58ea3e | [
"BSD-3-Clause"
] | null | null | null | constructor_mb/generate_doc.py | mbargull/constructor | 7a391260f257b366092358fd19c8ff4c3b58ea3e | [
"BSD-3-Clause"
] | null | null | null | if __name__ == "__main__":
from constructor_mb.construct import generate_doc
generate_doc()
| 25 | 53 | 0.75 | 12 | 100 | 5.333333 | 0.833333 | 0.34375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | 100 | 3 | 54 | 33.333333 | 0.771084 | 0 | 0 | 0 | 1 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
c90d9898870e5c2d93e5d4f4a0593c5c099fe7b4 | 25 | py | Python | tests/__init__.py | timgates42/py-ga-mob | 523de72dbf4070d9de3e9b78aee8c9777bc53107 | [
"BSD-2-Clause-FreeBSD"
] | 66 | 2015-01-05T16:07:55.000Z | 2021-11-26T17:33:35.000Z | tests/__init__.py | timgates42/py-ga-mob | 523de72dbf4070d9de3e9b78aee8c9777bc53107 | [
"BSD-2-Clause-FreeBSD"
] | 20 | 2015-01-05T22:49:44.000Z | 2021-05-13T23:53:35.000Z | tests/__init__.py | timgates42/py-ga-mob | 523de72dbf4070d9de3e9b78aee8c9777bc53107 | [
"BSD-2-Clause-FreeBSD"
] | 30 | 2015-01-30T09:08:05.000Z | 2021-09-21T21:49:38.000Z | from .serialize import *
| 12.5 | 24 | 0.76 | 3 | 25 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.904762 | 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 |
c9455b59816f32dbef5481ef3bb87ce057469dac | 20 | py | Python | dsalib/Stack/__init__.py | rajeshberwal/dsalib | 951177325f10169491d3eacf059924c32124cd9e | [
"MIT"
] | 2 | 2020-08-05T17:11:31.000Z | 2020-08-09T07:50:52.000Z | dsalib/Stack/__init__.py | rajeshberwal/dsalib | 951177325f10169491d3eacf059924c32124cd9e | [
"MIT"
] | null | null | null | dsalib/Stack/__init__.py | rajeshberwal/dsalib | 951177325f10169491d3eacf059924c32124cd9e | [
"MIT"
] | null | null | null | from .Stack import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 |
c968570c44916526bcebcb010d38688dc6dc9a64 | 96 | py | Python | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/1f/17/a5/329342a3e758af67e2243c0cde1861466c5462d079b579b51a90004f86 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.489583 | 0 | 96 | 1 | 96 | 96 | 0.40625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a350afd828363ac39b9208e29431e34c725635d6 | 19 | py | Python | fython/unit/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 41 | 2016-01-21T05:14:45.000Z | 2021-11-24T20:37:21.000Z | fython/unit/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 5 | 2016-01-21T05:36:37.000Z | 2016-08-22T19:26:51.000Z | fython/unit/__init__.py | nicolasessisbreton/fython | 988f5a94cee8b16b0000501a22239195c73424a1 | [
"Apache-2.0"
] | 3 | 2016-01-23T04:03:44.000Z | 2016-08-21T15:58:38.000Z | from .unit import * | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 19 | 1 | 19 | 19 | 0.875 | 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 |
a365b9c52e3ebd269a572bfc789d3bbb8d46aae0 | 268 | py | Python | numpynet/__init__.py | ArvindSubramaniam/Neural-Nets-from-Scratch | cf4528801b1a1cdb8719ed79f643db1465b631c9 | [
"Apache-2.0"
] | null | null | null | numpynet/__init__.py | ArvindSubramaniam/Neural-Nets-from-Scratch | cf4528801b1a1cdb8719ed79f643db1465b631c9 | [
"Apache-2.0"
] | null | null | null | numpynet/__init__.py | ArvindSubramaniam/Neural-Nets-from-Scratch | cf4528801b1a1cdb8719ed79f643db1465b631c9 | [
"Apache-2.0"
] | null | null | null | from .layer import Dense
from .layer import ELU
from .layer import SoftmaxCrossEntropy
from .utils import Dataloader
from .utils import Dataset
from .utils import load_MNIST
from .utils import one_hot_encoding
from .function import Softmax
from .utils import save_csv
| 26.8 | 38 | 0.83209 | 40 | 268 | 5.475 | 0.45 | 0.205479 | 0.342466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134328 | 268 | 9 | 39 | 29.777778 | 0.943966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 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 |
a39b218bbf62810438778eb0b55c671a6007de27 | 107,068 | py | Python | google/streetview/publish/v1/streetview-publish-v1-py/tests/unit/gapic/publish_v1/test_street_view_publish_service.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 7 | 2021-02-21T10:39:41.000Z | 2021-12-07T07:31:28.000Z | google/streetview/publish/v1/streetview-publish-v1-py/tests/unit/gapic/publish_v1/test_street_view_publish_service.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 6 | 2021-02-02T23:46:11.000Z | 2021-11-15T01:46:02.000Z | google/streetview/publish/v1/streetview-publish-v1-py/tests/unit/gapic/publish_v1/test_street_view_publish_service.py | googleapis/googleapis-gen | d84824c78563d59b0e58d5664bfaa430e9ad7e7a | [
"Apache-2.0"
] | 4 | 2021-01-28T23:25:45.000Z | 2021-08-30T01:55:16.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 40.085361 | 261 | 0.694073 | 11,837 | 107,068 | 6.023148 | 0.037678 | 0.012567 | 0.017687 | 0.021853 | 0.896235 | 0.864663 | 0.845756 | 0.811013 | 0.791994 | 0.768921 | 0 | 0.003958 | 0.228285 | 107,068 | 2,670 | 262 | 40.100375 | 0.858919 | 0.18194 | 0 | 0.668259 | 0 | 0 | 0.073873 | 0.028717 | 0 | 0 | 0 | 0.000375 | 0.126858 | 1 | 0.049363 | false | 0.000531 | 0.015393 | 0.001062 | 0.065817 | 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 |
6e902e84c20d78eb1df206f6225431e5a4d12bd4 | 6,305 | py | Python | ex017-Catetos e Hipotenusa.py | portelaoliveira/Exercises | d6691abb129ea435c7986ab532117c765c72201e | [
"MIT"
] | 1 | 2020-05-17T00:03:42.000Z | 2020-05-17T00:03:42.000Z | ex017-Catetos e Hipotenusa.py | portelaoliveira/Exercises | d6691abb129ea435c7986ab532117c765c72201e | [
"MIT"
] | null | null | null | ex017-Catetos e Hipotenusa.py | portelaoliveira/Exercises | d6691abb129ea435c7986ab532117c765c72201e | [
"MIT"
] | null | null | null | '''
EXERCÍCIO 017: Catetos e Hipotenusa
Faça um programa que leia o comprimento do cateto oposto e do cateto adjacente de um triângulo retângulo, calcule e mostre o comprimento da hipotenusa.
Faça um programa que leia o comprimento do cateto oposto e do cateto adjacente
de um triângulo retângulo, calcule e mostre o c... | 28.529412 | 151 | 0.545123 | 874 | 6,305 | 3.895881 | 0.117849 | 0.052863 | 0.051689 | 0.049339 | 0.853157 | 0.850514 | 0.833774 | 0.82232 | 0.785609 | 0.701615 | 0 | 0.039826 | 0.307058 | 6,305 | 220 | 152 | 28.659091 | 0.739529 | 0.054084 | 0 | 0.637306 | 0 | 0.036269 | 0.3682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.072539 | false | 0 | 0.010363 | 0 | 0.082902 | 0.134715 | 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 |
6eb1d814f40fc6abf40c0e9907f73e595cf2627c | 220 | py | Python | gam/__backpack__.py | EnderDas/gam | f4aa2958badb032b2d115ccd1d5f8841b3cae502 | [
"Apache-2.0"
] | null | null | null | gam/__backpack__.py | EnderDas/gam | f4aa2958badb032b2d115ccd1d5f8841b3cae502 | [
"Apache-2.0"
] | null | null | null | gam/__backpack__.py | EnderDas/gam | f4aa2958badb032b2d115ccd1d5f8841b3cae502 | [
"Apache-2.0"
] | null | null | null | #__backpack__.py
"""
"""
class Backpack:
def __init__(self, Player):
self.player = Player
class View:
def __init__(self, Player):
self.player = Player
| 13.75 | 36 | 0.5 | 20 | 220 | 4.9 | 0.4 | 0.408163 | 0.22449 | 0.346939 | 0.673469 | 0.673469 | 0.673469 | 0 | 0 | 0 | 0 | 0 | 0.4 | 220 | 15 | 37 | 14.666667 | 0.742424 | 0.068182 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
6ebba8d23678031c33523fd41b5bf34ca190267d | 2,752 | py | Python | test_project/posts/tests.py | latticeaiinc/hipo-drf-exceptions | c135c8dc4313462496093900a45d920e62712765 | [
"Apache-2.0"
] | 17 | 2019-07-04T07:29:39.000Z | 2022-03-14T11:14:00.000Z | test_project/posts/tests.py | latticeaiinc/hipo-drf-exceptions | c135c8dc4313462496093900a45d920e62712765 | [
"Apache-2.0"
] | 20 | 2019-07-09T08:03:57.000Z | 2021-04-19T11:24:34.000Z | test_project/posts/tests.py | latticeaiinc/hipo-drf-exceptions | c135c8dc4313462496093900a45d920e62712765 | [
"Apache-2.0"
] | 6 | 2019-08-02T13:12:11.000Z | 2022-03-10T22:02:52.000Z | from django.contrib.auth.models import User
from django.test import TestCase
from rest_framework import status
from rest_framework.test import APITestCase, APIClient
class CustomExceptionErrorTestCases(TestCase):
@classmethod
def setUpTestData(cls):
cls.client = APIClient()
def test_post_creation... | 37.189189 | 94 | 0.634811 | 291 | 2,752 | 5.841924 | 0.216495 | 0.063529 | 0.06 | 0.067059 | 0.824706 | 0.824706 | 0.821176 | 0.785882 | 0.711765 | 0.711765 | 0 | 0.004388 | 0.254724 | 2,752 | 73 | 95 | 37.69863 | 0.824476 | 0 | 0 | 0.59375 | 0 | 0 | 0.206759 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.09375 | false | 0 | 0.0625 | 0 | 0.203125 | 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 |
6ee623cc28367c51de682f596296368113e09ee3 | 190 | py | Python | FusionIIIT/applications/academic_procedures/admin.py | paras11agarwal/FusionIIIT | 8332811dcec475176c15e6a3a00e5bdd9074fa49 | [
"Apache-2.0"
] | null | null | null | FusionIIIT/applications/academic_procedures/admin.py | paras11agarwal/FusionIIIT | 8332811dcec475176c15e6a3a00e5bdd9074fa49 | [
"Apache-2.0"
] | 6 | 2020-02-12T00:40:35.000Z | 2022-03-11T23:19:42.000Z | FusionIIIT/applications/academic_procedures/admin.py | paras11agarwal/FusionIIIT | 8332811dcec475176c15e6a3a00e5bdd9074fa49 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import FinalRegistrations, Register, Thesis
admin.site.register(Thesis)
admin.site.register(Register)
admin.site.register(FinalRegistrations)
| 23.75 | 56 | 0.836842 | 23 | 190 | 6.913043 | 0.434783 | 0.169811 | 0.320755 | 0.289308 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 190 | 7 | 57 | 27.142857 | 0.908571 | 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 | 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 |
6ee67283d2de6749d551a4da0f0f7753461bb29b | 25 | py | Python | E03 - Learning programs and models/Architectures/config/__init__.py | mialona/Stomatal-segmentation | 149d469ec572c41a13d62149d7d62d6805d19697 | [
"MIT"
] | 654 | 2019-11-16T16:12:06.000Z | 2022-03-31T16:55:34.000Z | segmentron/config/__init__.py | djx2726889/Trans2Seg | 3972916bba7f985ca1aabc047fea56bdec9e9e5d | [
"Apache-2.0"
] | 66 | 2019-11-25T02:15:33.000Z | 2021-11-15T02:54:49.000Z | segmentron/config/__init__.py | djx2726889/Trans2Seg | 3972916bba7f985ca1aabc047fea56bdec9e9e5d | [
"Apache-2.0"
] | 145 | 2019-11-16T16:12:10.000Z | 2022-03-31T07:21:09.000Z | from .settings import cfg | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 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 |
42b577d33c0cdbb7556066d28e0433426cecc6f1 | 11 | py | Python | python/main.py | mooleetzi/lab | 57df24f6e4f439eb4fad3f2217d3b8fd6f609a6b | [
"MIT"
] | 2 | 2019-06-24T05:32:04.000Z | 2019-07-04T12:15:20.000Z | python/main.py | mooleetzi/lab | 57df24f6e4f439eb4fad3f2217d3b8fd6f609a6b | [
"MIT"
] | null | null | null | python/main.py | mooleetzi/lab | 57df24f6e4f439eb4fad3f2217d3b8fd6f609a6b | [
"MIT"
] | null | null | null | a=(1,2,3,4) | 11 | 11 | 0.454545 | 5 | 11 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0 | 11 | 1 | 11 | 11 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
42c8214ad521499644b9011231e01676c26509b6 | 160 | py | Python | hirearefugee/blog/views.py | maximilianharr/hirearefugee | 307afb512af86128d5ce011f1779964dd71976fd | [
"Apache-2.0"
] | 1 | 2020-09-07T07:20:04.000Z | 2020-09-07T07:20:04.000Z | hirearefugee/blog/views.py | maximilianharr/hirearefugee | 307afb512af86128d5ce011f1779964dd71976fd | [
"Apache-2.0"
] | 2 | 2020-09-14T18:13:55.000Z | 2020-09-14T21:21:28.000Z | hirearefugee/blog/views.py | maximilianharr/hirearefugee | 307afb512af86128d5ce011f1779964dd71976fd | [
"Apache-2.0"
] | null | null | null | from django.contrib.auth.decorators import login_required
from django.shortcuts import render
def blog(request):
return render(request, 'blog/blog.html')
| 22.857143 | 57 | 0.79375 | 22 | 160 | 5.727273 | 0.681818 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11875 | 160 | 6 | 58 | 26.666667 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 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 |
42df9ccb33d95e1fad88de0113542e8af71549b9 | 3,886 | py | Python | basic.py | iceihehe/union-pay | 613df50106f66658266f490cb04e91b2fb88d788 | [
"MIT"
] | 3 | 2019-01-07T11:36:52.000Z | 2020-05-29T09:20:56.000Z | basic.py | iceihehe/union-pay | 613df50106f66658266f490cb04e91b2fb88d788 | [
"MIT"
] | 1 | 2020-05-29T09:27:51.000Z | 2020-05-29T09:27:51.000Z | basic.py | iceihehe/union-pay | 613df50106f66658266f490cb04e91b2fb88d788 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import OpenSSL.crypto
import base64
import urllib
import hashlib
class ChinaPay(object):
def __init__(self, MerId, pfx_path, pfx_pwd, cer_path):
"""
:param MerId: 商户号
:param pfx_path: 交易证书路径
:param pfx_pwd: 交易证书密码
:param cer_path: 验签证书路径
""... | 26.435374 | 79 | 0.572568 | 482 | 3,886 | 4.377593 | 0.186722 | 0.080095 | 0.056872 | 0.036967 | 0.778199 | 0.76872 | 0.76872 | 0.76872 | 0.75545 | 0.709953 | 0 | 0.01375 | 0.307514 | 3,886 | 146 | 80 | 26.616438 | 0.770346 | 0.122491 | 0 | 0.710526 | 0 | 0 | 0.023014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.052632 | 0 | 0.394737 | 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 |
42e5635c2d26e553eaa9bad7cc19b1eabaf1e9af | 10,674 | py | Python | test/test_locked_shelf.py | cristoper/feedfetch | 180aa2d02f9fa9ece93f72d9303a0cbc3b652b81 | [
"WTFPL"
] | 5 | 2020-01-23T04:16:35.000Z | 2021-04-13T02:11:43.000Z | test/test_locked_shelf.py | cristoper/shelfcache | 180aa2d02f9fa9ece93f72d9303a0cbc3b652b81 | [
"WTFPL"
] | null | null | null | test/test_locked_shelf.py | cristoper/shelfcache | 180aa2d02f9fa9ece93f72d9303a0cbc3b652b81 | [
"WTFPL"
] | null | null | null | from shelfcache.locked_shelf import MutexShelf, RWShelf
import shelve
import unittest
import os
import time
import threading
import multiprocessing
import logging
logger = logging.getLogger(__name__)
#logging.basicConfig(level=logging.INFO)
TEST_DB = 'test_locked.db'
def remove_db(filename):
# Some implementation... | 35.698997 | 83 | 0.5727 | 1,209 | 10,674 | 4.930521 | 0.105045 | 0.046972 | 0.032713 | 0.050327 | 0.838618 | 0.807079 | 0.781245 | 0.746855 | 0.704077 | 0.669854 | 0 | 0.002052 | 0.315252 | 10,674 | 298 | 84 | 35.818792 | 0.813518 | 0.11336 | 0 | 0.680365 | 0 | 0 | 0.076623 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 1 | 0.114155 | false | 0.018265 | 0.03653 | 0 | 0.178082 | 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 |
6e0e6c06f91546776ffe6adf0d82f4b2ac25add1 | 86 | py | Python | OLD.dir/bad.py | romchegue/Python | 444476088e64d5da66cb00174f3d1d30ebbe38f6 | [
"bzip2-1.0.6"
] | null | null | null | OLD.dir/bad.py | romchegue/Python | 444476088e64d5da66cb00174f3d1d30ebbe38f6 | [
"bzip2-1.0.6"
] | null | null | null | OLD.dir/bad.py | romchegue/Python | 444476088e64d5da66cb00174f3d1d30ebbe38f6 | [
"bzip2-1.0.6"
] | null | null | null | def gobad(x, y):
return x / y
def gosouth(x):
print(gobad(x, 0))
gosouth(1)
| 10.75 | 22 | 0.569767 | 16 | 86 | 3.0625 | 0.5625 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.255814 | 86 | 7 | 23 | 12.285714 | 0.734375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.6 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
6e22d578371cb87d05fd647081df3c72606653fa | 166 | py | Python | pyCHAMP/optimizer/opt_base.py | NLESC-JCER/pyCHAMP | 97523237b3521a426d664b6e2972257045ff8f5e | [
"Apache-2.0"
] | 4 | 2019-05-15T13:09:23.000Z | 2021-03-28T09:10:11.000Z | pyCHAMP/optimizer/opt_base.py | NLESC-JCER/pyCHAMP | 97523237b3521a426d664b6e2972257045ff8f5e | [
"Apache-2.0"
] | 14 | 2019-04-23T15:05:07.000Z | 2019-08-14T13:21:07.000Z | pyCHAMP/optimizer/opt_base.py | NLESC-JCER/pyCHAMP | 97523237b3521a426d664b6e2972257045ff8f5e | [
"Apache-2.0"
] | 1 | 2019-09-30T22:55:53.000Z | 2019-09-30T22:55:53.000Z |
class OptBase:
def __init__(self):
pass
def set_func(self, func):
self.func = func
def set_grad(self, func):
self.grad = func
| 13.833333 | 29 | 0.560241 | 22 | 166 | 3.954545 | 0.409091 | 0.275862 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.343373 | 166 | 11 | 30 | 15.090909 | 0.798165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
2811fac96d60d5b2a6a41debf0e0d9163dcbd674 | 2,163 | py | Python | tests/render-out/Drawing10.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | 1 | 2020-05-21T23:34:55.000Z | 2020-05-21T23:34:55.000Z | tests/render-out/Drawing10.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | tests/render-out/Drawing10.py | debragail/reportlab-mirror | 1e5814e1313ed50d5abb65487b207711cb4f7595 | [
"BSD-3-Clause"
] | null | null | null | #Autogenerated by ReportLab guiedit do not edit
from reportlab.graphics.shapes import _DrawingEditorMixin, Drawing, Group, Rect, String
from reportlab.lib.colors import Color, CMYKColor, PCMYKColor
class ExplodedDrawing_Drawing(_DrawingEditorMixin,Drawing):
def __init__(self,width=400,height=200,*args,**kw):
Drawin... | 65.545455 | 213 | 0.744337 | 374 | 2,163 | 4.235294 | 0.203209 | 0.035354 | 0.028409 | 0.040404 | 0.755051 | 0.746843 | 0.746843 | 0.746843 | 0.732323 | 0.732323 | 0 | 0.096711 | 0.058252 | 2,163 | 32 | 214 | 67.59375 | 0.680903 | 0.02589 | 0 | 0.357143 | 1 | 0 | 0.064608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.071429 | 0 | 0.142857 | 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 |
2822a4994b84e528123917d43fbfa815b37acf65 | 48 | py | Python | yql/__init__.py | yashbonde/yQL | d09368ed85e10fd011c05ea920770007d19dfbf0 | [
"MIT"
] | 1 | 2022-03-21T09:09:12.000Z | 2022-03-21T09:09:12.000Z | yql/__init__.py | yashbonde/yQL | d09368ed85e10fd011c05ea920770007d19dfbf0 | [
"MIT"
] | null | null | null | yql/__init__.py | yashbonde/yQL | d09368ed85e10fd011c05ea920770007d19dfbf0 | [
"MIT"
] | null | null | null | from .common import *
from .rest_pb2 import Echo | 24 | 26 | 0.791667 | 8 | 48 | 4.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.145833 | 48 | 2 | 26 | 24 | 0.878049 | 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 |
956b5c224e1c6953236eb4c3b98b3810f1b986e4 | 45 | py | Python | massive_mail_receiver_bundle/__init__.py | maxpowel/massive-email-receiver | 341f80e29a375f5cae9b6ea0fb2d3ad3a3d27dd0 | [
"Apache-2.0"
] | null | null | null | massive_mail_receiver_bundle/__init__.py | maxpowel/massive-email-receiver | 341f80e29a375f5cae9b6ea0fb2d3ad3a3d27dd0 | [
"Apache-2.0"
] | null | null | null | massive_mail_receiver_bundle/__init__.py | maxpowel/massive-email-receiver | 341f80e29a375f5cae9b6ea0fb2d3ad3a3d27dd0 | [
"Apache-2.0"
] | null | null | null | from .bundle import MassiveEmailServerBundle
| 22.5 | 44 | 0.888889 | 4 | 45 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.97561 | 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 |
95a2a5ac53d28bcc9a026676364d4e6bee41e37d | 5,697 | py | Python | tests/pytests/unit/modules/napalm/test_mod.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 1 | 2022-03-12T00:03:19.000Z | 2022-03-12T00:03:19.000Z | tests/pytests/unit/modules/napalm/test_mod.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | 2 | 2022-03-02T16:11:35.000Z | 2022-03-03T08:04:30.000Z | tests/pytests/unit/modules/napalm/test_mod.py | tomdoherty/salt | f87d5d7abbf9777773c4d91fdafecb8b1a728e76 | [
"Apache-2.0"
] | null | null | null | """
:codeauthor: :email:`David Murphy <damurphy@vmware.com>`
"""
import logging
import pytest
import salt.modules.napalm_mod as napalm_mod
import tests.support.napalm as napalm_test_support
from tests.support.mock import MagicMock, patch
log = logging.getLogger(__file__)
@pytest.fixture
def configure_loader_mod... | 27.521739 | 85 | 0.552572 | 585 | 5,697 | 5.068376 | 0.145299 | 0.047218 | 0.066105 | 0.064755 | 0.781788 | 0.762901 | 0.762901 | 0.762901 | 0.762901 | 0.762901 | 0 | 0.015613 | 0.3142 | 5,697 | 206 | 86 | 27.65534 | 0.743281 | 0.00983 | 0 | 0.717391 | 0 | 0 | 0.220821 | 0.041037 | 0 | 0 | 0 | 0 | 0.076087 | 1 | 0.043478 | false | 0.038043 | 0.027174 | 0 | 0.076087 | 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.